1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[827],{4695:(e,t,r)=>{r.d(t,{QP:()=>eS});let n=(e,t)=>{let r=Array(e.length+t.length);for(let t=0;t<e.length;t++)r[t]=e[t];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},i=(e,t)=>({classGroupId:e,validator:t}),o=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),a=[],s=e=>{let t=d(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return u(e);let r=e.split("-"),n=+(""===r[0]&&r.length>1);return l(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=i[e],o=r[e];return t?o?n(o,t):t:o||a}return r[e]||a}}},l=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=l(e,t+1,i);if(r)return r}let o=r.validators;if(null===o)return;let a=0===t?e.join("-"):e.slice(t).join("-"),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(a))return t.classGroupId}},u=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?"arbitrary.."+n:void 0})(),d=e=>{let{theme:t,classGroups:r}=e;return c(r,t)},c=(e,t)=>{let r=o();for(let n in e)h(e[n],r,n,t);return r},h=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)p(e[o],t,r,n)},p=(e,t,r,n)=>"string"==typeof e?void f(e,t,r):"function"==typeof e?void m(e,t,r,n):void g(e,t,r,n),f=(e,t,r)=>{(""===e?t:y(t,e)).classGroupId=r},m=(e,t,r,n)=>{if(v(e))return void h(e(n),t,r,n);null===t.validators&&(t.validators=[]),t.validators.push(i(r,e))},g=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,a]=i[e];h(a,y(t,o),r,n)}},y=(e,t)=>{let r=e,n=t.split("-"),i=n.length;for(let e=0;e<i;e++){let t=n[e],i=r.nextPart.get(t);i||(i=o(),r.nextPart.set(t,i)),r=i}return r},v=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,b=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}},x=[],w=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),k=e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,a=e.length;for(let s=0;s<a;s++){let a=e[s];if(0===n&&0===i){if(":"===a){r.push(e.slice(o,s)),o=s+1;continue}if("/"===a){t=s;continue}}"["===a?n++:"]"===a?n--:"("===a?i++:")"===a&&i--}let s=0===r.length?e:e.slice(o),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),w(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):w(x,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n},S=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{let r=[],n=[];for(let i=0;i<e.length;i++){let o=e[i],a="["===o[0],s=t.has(o);a||s?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(o)):n.push(o)}return n.length>0&&(n.sort(),r.push(...n)),r}},T=e=>({cache:b(e.cacheSize),parseClassName:k(e),sortModifiers:S(e),...s(e)}),P=/\s+/,E=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(P),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:d,hasImportantModifier:c,baseClassName:h,maybePostfixModifierPosition:p}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!p,m=n(f?h.substring(0,p):h);if(!m){if(!f||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}f=!1}let g=0===d.length?"":1===d.length?d[0]:o(d).join(":"),y=c?g+"!":g,v=y+m;if(a.indexOf(v)>-1)continue;a.push(v);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];a.push(y+t)}l=t+(l.length>0?" "+l:l)}return l},C=(...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=M(t))&&(i&&(i+=" "),i+=r);return i},M=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=M(e[n]))&&(r&&(r+=" "),r+=t);return r},A=[],j=e=>{let t=t=>t[e]||A;return t.isThemeGetter=!0,t},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,V=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\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$/,I=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,B=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>V.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),z=e=>!!e&&Number.isInteger(Number(e)),U=e=>e.endsWith("%")&&_(e.slice(0,-1)),$=e=>D.test(e),W=()=>!0,G=e=>O.test(e)&&!I.test(e),H=()=>!1,q=e=>B.test(e),X=e=>N.test(e),Y=e=>!Q(e)&&!eo(e),K=e=>ep(e,ey,H),Q=e=>R.test(e),Z=e=>ep(e,ev,G),J=e=>ep(e,eb,_),ee=e=>ep(e,ew,W),et=e=>ep(e,ex,H),er=e=>ep(e,em,H),en=e=>ep(e,eg,X),ei=e=>ep(e,ek,q),eo=e=>L.test(e),ea=e=>ef(e,ev),es=e=>ef(e,ex),el=e=>ef(e,em),eu=e=>ef(e,ey),ed=e=>ef(e,eg),ec=e=>ef(e,ek,!0),eh=e=>ef(e,ew,!0),ep=(e,t,r)=>{let n=R.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},ef=(e,t,r=!1)=>{let n=L.exec(e);return!!n&&(n[1]?t(n[1]):r)},em=e=>"position"===e||"percentage"===e,eg=e=>"image"===e||"url"===e,ey=e=>"length"===e||"size"===e||"bg-size"===e,ev=e=>"length"===e,eb=e=>"number"===e,ex=e=>"family-name"===e,ew=e=>"number"===e||"weight"===e,ek=e=>"shadow"===e;Symbol.toStringTag;let eS=((e,...t)=>{let r,n,i,o,a=e=>{let t=n(e);if(t)return t;let o=E(e,r);return i(e,o),o};return o=s=>(n=(r=T(t.reduce((e,t)=>
vendor: 4,394 bytes, line 1
1t(e),e()))).cache.get,i=r.cache.set,o=a,a(s)),(...e)=>o(C(...e))})(()=>{let e=j("color"),t=j("font"),r=j("text"),n=j("font-weight"),i=j("tracking"),o=j("leading"),a=j("breakpoint"),s=j("container"),l=j("spacing"),u=j("radius"),d=j("shadow"),c=j("inset-shadow"),h=j("text-shadow"),p=j("drop-shadow"),f=j("blur"),m=j("perspective"),g=j("aspect"),y=j("ease"),v=j("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...x(),eo,Q],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],T=()=>[eo,Q,l],P=()=>[F,"full","auto",...T()],E=()=>[z,"none","subgrid",eo,Q],C=()=>["auto",{span:["full",z,eo,Q]},z,eo,Q],M=()=>[z,"auto",eo,Q],A=()=>["auto","min","max","fr",eo,Q],R=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],V=()=>["auto",...T()],D=()=>[F,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],O=()=>[F,"screen","full","dvw","lvw","svw","min","max","fit",...T()],I=()=>[F,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],B=()=>[e,eo,Q],N=()=>[...x(),el,er,{position:[eo,Q]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",eu,K,{size:[eo,Q]}],q=()=>[U,ea,Z],X=()=>["","none","full",u,eo,Q],ep=()=>["",_,ea,Z],ef=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[_,U,el,er],ey=()=>["","none",f,eo,Q],ev=()=>["none",_,eo,Q],eb=()=>["none",_,eo,Q],ex=()=>[_,eo,Q],ew=()=>[F,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[W],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[Y],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",_],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",F,Q,eo,g]}],container:["container"],columns:[{columns:[_,Q,eo,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"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:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[z,"auto",eo,Q]}],basis:[{basis:[F,"full","auto",s,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,F,"auto","initial","none",Q]}],grow:[{grow:["",_,eo,Q]}],shrink:[{shrink:["",_,eo,Q]}],order:[{order:[z,"first","last","none",eo,Q]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":M()}
vendor: 4,174 bytes, line 1
1],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...R(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...R()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":R()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mbs:[{mbs:V()}],mbe:[{mbe:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...I()]}],"min-block-size":[{"min-block":["auto",...I()]}],"max-block-size":[{"max-block":["none",...I()]}],w:[{w:[s,"screen",...D()]}],"min-w":[{"min-w":[s,"screen","none",...D()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",r,ea,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,eh,ee]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",U,Q]}],"font-family":[{font:[es,et,t]}],"font-features":[{"font-features":[Q]}],"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,eo,Q]}],"line-clamp":[{"line-clamp":[_,"none",eo,J]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",eo,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eo,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",eo,Z]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[_,"auto",eo,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eo,Q]}],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",eo,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},z,eo,Q],radial:["",eo,Q],conic:[z,eo,Q]},ed,en]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:q()}
1],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:ep()}],"border-w-x":[{"border-x":ep()}],"border-w-y":[{"border-y":ep()}],"border-w-s":[{"border-s":ep()}],"border-w-e":[{"border-e":ep()}],"border-w-bs":[{"border-bs":ep()}],"border-w-be":[{"border-be":ep()}],"border-w-t":[{"border-t":ep()}],"border-w-r":[{"border-r":ep()}],"border-w-b":[{"border-b":ep()}],"border-w-l":[{"border-l":ep()}],"divide-x":[{"divide-x":ep()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ep()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-bs":[{"border-bs":B()}],"border-color-be":[{"border-be":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,702 bytes, line 1
1],"divide-color":[{divide:B()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,eo,Q]}],"outline-w":[{outline:["",_,ea,Z]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",d,ec,ei]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",c,ec,ei]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:ep()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[_,Z]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":ep()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",h,ec,ei]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[_,eo,Q]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"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":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[eo,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eo,Q]}],filter:[{filter:["","none",eo,Q]}],blur:[{blur:ey()}],brightness:[{brightness:[_,eo,Q]}],contrast:[{contrast:[_,eo,Q]}],"drop-shadow":[{"drop-shadow":["","none",p,ec,ei]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",_,eo,Q]}],"hue-rotate":[{"hue-rotate":[_,eo,Q]}],invert:[{invert:["",_,eo,Q]}],saturate:[{saturate:[_,eo,Q]}],sepia:[{sepia:["",_,eo,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",eo,Q]}],"backdrop-blur":[{"backdrop-blur":ey()}],"backdrop-brightness":[{"backdrop-brightness":[_,eo,Q]}],"backdrop-contrast":[{"backdrop-contrast":[_,eo,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,eo,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,eo,Q]}],"backdrop-invert":[{"backdrop-invert":["",_,eo,Q]}],"backdrop-opacity":[{"backdrop-opacity":[_,eo,Q]}],"backdrop-saturate":[{"backdrop-saturate":[_,eo,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",_,eo,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eo,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",eo,Q]}],ease:[{ease:["linear","initial",y,eo,Q]}],delay:[{delay:[_,eo,Q]}],animate:[{animate:["none",v,eo,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,eo,Q]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ex()}],"skew-x":[{"skew-x":ex()}],"skew-y":[{"skew-y":ex()}],transform:[{transform:[eo,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ew()}],"translate-x":[{"translate-x":ew()}],"translate-y":[{"translate-y":ew()}],"translate-z":[{"translate-z":ew()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
1],"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",eo,Q]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eo,Q]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[_,ea,Z,J]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},5722:(e,t,r)=>{r.d(t,{g:()=>o});var n=r(88147),i=r(21206);function o(e,t){let r=e.getValue("willChange");if((0,i.S)(r)&&r.add)return r.add(t);if(!r&&n.W.WillChange){let r=new n.W.WillChange("auto");e.addValue("willChange",r),r.add(t)}}},10007:(e,t,r)=>{r.d(t,{$:()=>o,q:()=>a});var n=r(70683);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>r=>!!("string"==typeof r&&i.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),a=(e,t,r)=>i=>{if("string"!=typeof i)return i;let[o,a,s,l]=i.match(n.S);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},10070:(e,t,r)=>{r.d(t,{q:()=>n});let n=(e,t,r)=>r>t?t:r<e?e:r},10215:(e,t,r)=>{r.d(t,{U:()=>n,f:()=>i});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(n)},10632:(e,t,r)=>{r.d(t,{po:()=>o,tn:()=>s,yT:()=>a});var n=r(33933),i=r(13244);let o=e=>1-Math.sin(Math.acos(e)),a=(0,i.G)(o),s=(0,n.V)(o)},10644:(e,t,r)=>{var n=r(79556);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},10979:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},useLinkStatus:function(){return v}});let n=r(79410),i=r(44406),o=n._(r(83190)),a=r(44846),s=r(49608),l=r(63375),u=r(74299),d=r(17120),c=r(69058);r(32181);let h=r(92179),p=r(75415),f=r(30567);function m(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}function g(e){let t,r,n,[a,g]=(0,o.useOptimistic)(h.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:b,as:x,children:w,prefetch:k=null,passHref:S,replace:T,shallow:P,scroll:E,onClick:C,onMouseEnter:M,onTouchStart:A,legacyBehavior:j=!1,onNavigate:R,ref:L,unstable_dynamicOnHover:V,...D}=e;t=w,j&&("string"==typeof t||"number"==typeof t)&&(t=(0,i.jsx)("a",{children:t}));let O=o.default.useContext(s.AppRouterContext),I=!1!==k,B=null===k?l.PrefetchKind.AUTO:l.PrefetchKind.FULL,{href:N,as:F}=o.default.useMemo(()=>{let e=m(b);return{href:e,as:x?m(x):e}},[b,x]);j&&(r=o.default.Children.only(t));let _=j?r&&"object"==typeof r&&r.ref:L,z=o.default.useCallback(e=>(null!==O&&(v.current=(0,h.mountLinkInstance)(e,N,O,B,I,g)),()=>{v.current&&((0,h.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,N,O,B,g]),U={ref:(0,u.useMergedRef)(z,_),onClick(e){j||"function"!=typeof C||C(e),j&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),O&&(e.defaultPrevented||function(e,t,r,n,i,a,s){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),o.default.startTransition(()=>{if(s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}
1(0,f.dispatchNavigateAction)(r||t,i?"replace":"push",null==a||a,n.current)})}}(e,N,F,v,T,E,R))},onMouseEnter(e){j||"function"!=typeof M||M(e),j&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),O&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===V)},onTouchStart:function(e){j||"function"!=typeof A||A(e),j&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),O&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===V)}};return(0,d.isAbsoluteUrl)(F)?U.href=F:j&&!S&&("a"!==r.type||"href"in r.props)||(U.href=(0,c.addBasePath)(F)),n=j?o.default.cloneElement(r,U):(0,i.jsx)("a",{...D,...U,children:t}),(0,i.jsx)(y.Provider,{value:a,children:n})}r(24765);let y=(0,o.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(y);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11771:(e,t,r)=>{r.d(t,{l:()=>n});let n=e=>e},11951:(e,t,r)=>{r.d(t,{a6:()=>i,am:()=>a,vT:()=>o});var n=r(44779);let i=(0,n.A)(.42,0,1,1),o=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1)},12402:(e,t,r)=>{r.d(t,{s:()=>i});var n=r(90415);function i(e){return(0,n.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}},13244:(e,t,r)=>{r.d(t,{G:()=>n});let n=e=>t=>1-e(1-t)},13915:(e,t,r)=>{function n(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function i(e,t,r,i){if("function"==typeof t){let[o,a]=n(i);t=t(void 0!==r?r:e.custom,o,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[o,a]=n(i);t=t(void 0!==r?r:e.custom,o,a)}return t}r.d(t,{a:()=>i})},16200:(e,t,r)=>{r.d(t,{xQ:()=>o});var n=r(83190),i=r(32415);function o(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,n.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:a}=t,s=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return a(s)},[e]);let l=(0,n.useCallback)(()=>e&&o&&o(s),[s,o,e]);return!r&&o?[!1,l]:[!0]}},17120:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return f},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return h},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return s},isAbsoluteUrl:function(){return o},isResSent:function(){return u},loadGetInitialProps:function(){return c},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return r||(r=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>i.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function c(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await c(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let h="undefined"!=typeof performance,p=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class f extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}
1class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},17822:(e,t,r)=>{r.d(t,{DX:()=>c,TL:()=>d});var n,i=r(83190),o=r(90121),a=r(44406),s=Symbol.for("react.lazy"),l=(n||(n=r.t(i,2)))[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function d(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(u(r)&&"function"==typeof l&&(r=l(r._payload)),i.isValidElement(r)){var a;let e,s,l=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,o.t)(t,l):l),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:n,...o}=e;u(n)&&"function"==typeof l&&(n=l(n._payload));let s=i.Children.toArray(n),d=s.find(p);if(d){let e=d.props.children,n=s.map(t=>
1t!==d?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,a.jsx)(t,{...o,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var c=d("Slot"),h=Symbol("radix.slottable");function p(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}},19077:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(29570),i=r(67577);function o(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let a=(0,n.q)(0,t,o);e.push((0,i.k)(r,1,a))}}(t,e.length-1),t}},19251:(e,t,r)=>{r.d(t,{f:()=>n});function n(e,t){return t?1e3/t*e:0}},20248:(e,t,r)=>{r.d(t,{Uu:()=>o});var n=r(95991);let i="undefined"!=typeof window;function o(){if(n.r.current=!0,i)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>n.O.current=e.matches;e.addEventListener("change",t),t()}else n.O.current=!1}},20337:(e,t,r)=>{function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{A:()=>i});var i=function e(t,r){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},21206:(e,t,r)=>{r.d(t,{S:()=>n});let n=e=>!!(e&&e.getVelocity)},22830:(e,t,r)=>{r.d(t,{j:()=>P});var n=r(83247),i=r(86806),o=r(70743),a=r(25893),s=r(31461),l=r(43414),u=r(38287);function d(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var c=r(34819);function h(e,t){return r=>r>0?t:e}var p=r(67577);let f=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},m=[l.u,c.B,u.V],g=e=>m.find(t=>t.test(e));function y(e){let t=g(e);if((0,i.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===u.V&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=d(s,n,e+1/3),o=d(s,n,e),a=d(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let v=(e,t)=>{let r=y(e),n=y(t);if(!r||!n)return h(e,t);let i={...r};return e=>(i.red=f(r.red,n.red,e),i.green=f(r.green,n.green,e),i.blue=f(r.blue,n.blue,e),i.alpha=(0,p.k)(r.alpha,n.alpha,e),c.B.transform(i))},b=new Set(["none","hidden"]);function x(e,t){return r=>(0,p.k)(e,t,r)}function w(e){return"number"==typeof e?x:"string"==typeof e?(0,o.pG)(e)?h:a.y.test(e)?v:T:Array.isArray(e)?k:"object"==typeof e?a.y.test(e)?v:S:h}function k(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>w(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function S(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let T=(e,t)=>{let r=s.f.createTransformer(t),o=(0,s.V)(e),a=(0,s.V)(t);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?b.has(e)&&!a.values.length||b.has(t)&&!o.values.length?function(e,t){return b.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):(0,n.F)(k(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],a=e.indexes[o][n[o]],s=e.values[a]??0;r[i]=s,n[o]++}return r}(o,a),a.values),r):((0,i.$)(!0,`Complex values '${e}' and '${t}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),h(e,t))};function P(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,p.k)(e,t,r):w(e)(e,t)}},23078:(e,t,r)=>{r.d(t,{Gt:()=>i,PP:()=>s,WG:()=>o,uv:()=>a});var n=r(11771);let{schedule:i,cancel:o,state:a,steps:s}=(0,r(98561).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},23499:(e,t,r)=>{r.d(t,{J:()=>i,d:()=>o});var n=r(84467);let i=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),o=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},23934:(e,t,r)=>{r.d(t,{I:()=>n});function n(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}},23992:(e,t,r)=>{let n;r.d(t,{k:()=>s});var i=r(88147),o=r(23078);function a(){n=void 0}let s={now:()=>(void 0===n&&s.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(a)}}},24765:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},25829:(e,t,r)=>{r.d(t,{W:()=>n});function n(e){return"function"==typeof e&&"applyToOptions"in e}},25893:(e,t,r)=>{r.d(t,{y:()=>a});var n=r(43414),i=r(38287),o=r(34819);let a={test:e=>o.B.test(e)||n.u.test(e)||i.V.test(e),parse:e=>o.B.test(e)?o.B.parse(e):i.V.test(e)?i.V.parse(e):n.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.B.transform(e):i.V.transform(e),getAnimatableNone:e=>{let t=a.parse(e);return t.alpha=0,a.transform(t)}}},26409:(e,t,r)=>{let n;r.d(t,{Gp:()=>eB,eF:()=>ez,oE:()=>eF});let i="opt-in",o="opt-out",a="show--consent",s="show--preferences",l="disable--interaction",u="data-category",d="button",c="aria-hidden",h="btn-group",p="click",f="data-role",m="consentModal",g="preferencesModal";class y{constructor(){this.t={mode:i,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],G:[],J:!1,U:!1,$:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},ne:[]},this.oe={se:{},ae:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}}let v=new y,b=(e,t)=>e.indexOf(t),x=(e,t)=>-1!==b(e,t),w=e=>Array.isArray(e),k=e=>"string"==typeof e,S=e=>!!e&&"object"==typeof e&&!w(e),T=e=>"function"==typeof e,P=e=>Object.keys(e),E=e=>Array.from(new Set(e)),C=()=>document.activeElement,M=e=>e.preventDefault(),A=(e,t)=>e.querySelectorAll(t),j=e=>{let t=document.createElement(e);return e===d&&(t.type=e),t},R=(e,t,r)=>e.setAttribute(t,r),L=(e,t,r)=>{e.removeAttribute(r?"data-"+t:t)},V=(e,t,r)=>e.getAttribute(r?"data-"+t:t),D=(e,t)=>e.appendChild(t),O=(e,t)=>e.classList.add(t),I=(e,t)=>O(e,"cm__"+t),B=(e,t)=>O(e,"pm__"+t),N=(e,t)=>e.classList.remove(t),F=e=>{if("object"!=typeof e)return e;if(e instanceof Date)return new Date(e.getTime());let t=Array.isArray(e)?[]:{};for(let r in e){let n=e[r];t[r]=F(n)}return t},_=()=>{let e={},{O:t,X:r,Y:n}=v.o;for(let i of t)e[i]=W(n[i],P(r[i]));return e},z=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),U=(e,t,r,n)=>{e.addEventListener(t,r),n&&v.o.m.push({pe:e,me:t,ge:r})},$=()=>{let e=v.t.cookie.expiresAfterDays;return T(e)?e(v.o.F):e},W=(e,t)=>{let r=e||[],n=t||[];return r.filter(e=>!x(n,e)).concat(n.filter(e=>!x(r,e)))},G=e=>{v.o.R=E(e),v.o.F=(()=>{let e="custom",{R:t,O:r,B:n}=v.o,i=t.length;return i===r.length?e="all":i===n.length&&(e="necessary"),e})()},H=(e,t,r,n)=>{let i="accept-",{show:o,showPreferences:a,hide:s,hidePreferences:l,acceptCategory:u}=t,d=e||document,c=e=>A(d,`[data-cc="${e}"]`),h=(e,t)=>{M(e),u(t),l(),s()},f=c("show-preferencesModal"),m=c("show-consentModal"),g=c(i+"all"),y=c(i+"necessary"),b=c(i+"custom"),x=v.t.lazyHtmlGeneration;for(let e of f)R(e,"aria-haspopup","dialog"),U(e,p,e=>{M(e),a()}),x&&(U(e,"mouseenter",e=>{M(e),v.o.N||r(t,n)},!0),U(e,"focus",()=>{v.o.N||r(t,n)}
1));for(let e of m)R(e,"aria-haspopup","dialog"),U(e,p,e=>{M(e),o(!0)},!0);for(let e of g)U(e,p,e=>{h(e,"all")},!0);for(let e of b)U(e,p,e=>{h(e)},!0);for(let e of y)U(e,p,e=>{h(e,[])},!0)},q=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},X=(e,t)=>{let r=n=>{n.target.removeEventListener("transitionend",r),"opacity"===n.propertyName&&"1"===getComputedStyle(e).opacity&&q(1===t?v.oe.be:v.oe.ve)};U(e,"transitionend",r)},Y=e=>{clearTimeout(n),e?O(v.oe.ye,l):n=setTimeout(()=>{N(v.oe.ye,l)},500)},K=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],Q=(e=0,t=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${t}"><path d="${K[e]}"/></svg>`,Z=e=>{let t=v.oe,r=v.o;(e=>{let n=e===t.he;U(r.i.disablePageInteraction?t.ye:n?t.Ce:t.ye,"keydown",t=>{if("Tab"!==t.key||!(n?r.k&&!r.A:r.A))return;let i=C(),o=n?r.q:r.K;0!==o.length&&(t.shiftKey?i!==o[0]&&e.contains(i)||(M(t),q(o[1])):i!==o[1]&&e.contains(i)||(M(t),q(o[0])))},!0)})(e)},J=["[href]",d,"input","details","[tabindex]"].map(e=>e+':not([tabindex="-1"])').join(","),ee=e=>{let{o:t,oe:r}=v,n=(e,t)=>{let r=A(e,J);t[0]=r[0],t[1]=r[r.length-1]};1===e&&t.T&&n(r.he,t.q),2===e&&t.N&&n(r.we,t.K)},et=(e,t,r)=>{let{de:n,le:i,ie:o,_e:a,ue:s,fe:l}=v.ce,u=v.re;if(t){let n={modalName:t};return e===u.fe?T(l)&&l(n):e===u._e?T(a)&&a(n):(n.modal=r,T(s)&&s(n)),z(e,n)}let d={cookie:v.o.p};
1e===u.ie?T(o)&&o(F(d)):e===u.le?T(i)&&i(F(d)):(d.changedCategories=v.o.L,d.changedServices=v.o.ee,T(n)&&n(F(d))),z(e,F(d))},er=(e,t)=>{try{return e()}catch(e){return t||console.warn("CookieConsent:",e),!1}},en=e=>{let{Y:t,ee:r,O:n,X:i,ne:o,p:a,L:s}=v.o;for(let e of n)for(let n of r[e]||t[e]||[]){let r=i[e][n];if(!r)continue;let{onAccept:o,onReject:a}=r;!r.Se&&x(t[e],n)&&T(o)?(r.Se=!0,o()):r.Se&&!x(t[e],n)&&T(a)&&(r.Se=!1,a())}if(!v.t.manageScriptTags)return;let l=e||a.categories||[],d=(e,n)=>{if(n>=e.length)return;let i=o[n];if(i.xe)return d(e,n+1);let a=i.Me,c=i.De,h=i.Te,p=x(l,c),f=!!h&&x(t[c],h);if(!h&&!i.ke&&p||!h&&i.ke&&!p&&x(s,c)||h&&!i.ke&&f||h&&i.ke&&!f&&x(r[c]||[],h)){i.xe=!0;let t=V(a,"type",!0);L(a,"type",!!t),L(a,u);let r=V(a,"src",!0);r&&L(a,"src",!0);let o=j("script");for(let{nodeName:e}of(o.textContent=a.innerHTML,a.attributes))R(o,e,a[e]||V(a,e));t&&(o.type=t),r?o.src=r:r=a.src;let s=!!r&&(!t||["text/javascript","module"].includes(t));if(s&&(o.onload=o.onerror=()=>{d(e,++n)}),a.replaceWith(o),s)return}d(e,++n)};d(o,0)}
1,ei="bottom",eo="left",ea="center",es="right",el="inline",eu="wide",ed="pm--",ec=["middle","top",ei],eh=[eo,ea,es],ep={box:{Ae:[eu,el],Ee:ec,Ne:eh,He:ei,Ve:es},cloud:{Ae:[el],Ee:ec,Ne:eh,He:ei,Ve:ea},bar:{Ae:[el],Ee:ec.slice(1),Ne:[],He:ei,Ve:""}},ef={box:{Ae:[],Ee:[],Ne:[],He:"",Ve:""},bar:{Ae:[eu],Ee:[],Ne:[eo,es],He:"",Ve:eo}},em=e=>{let t=v.o.i.guiOptions,r=t&&t.consentModal,n=t&&t.preferencesModal;0===e&&eg(v.oe.he,ep,r,"cm--","box","cm"),1===e&&eg(v.oe.we,ef,n,ed,"box","pm")},eg=(e,t,r,n,i,o)=>{e.className=o;let a=r&&r.layout,s=r&&r.position,l=r&&r.flipButtons,u=!r||!1!==r.equalWeightButtons,d=a&&a.split(" ")||[],c=d[0],h=d[1],p=c in t?c:i,f=t[p],m=x(f.Ae,h)&&h,g=s&&s.split(" ")||[],y=g[0],b=n===ed?g[0]:g[1],w=x(f.Ee,y)?y:f.He,k=x(f.Ne,b)?b:f.Ve,S=t=>{t&&O(e,n+t)};S(p),S(m),S(w),S(k),l&&S("flip");let T=o+"__btn--secondary";if("cm"===o){let{Ie:e,Le:t}=v.oe;e&&(u?N(e,T):O(e,T)),t&&(u?N(t,T):O(t,T))}else{let{je:e}=v.oe;e&&(u?N(e,T):O(e,T))}},ey=(e,t)=>{let r,n=v.o,i=v.oe,{hide:o,hidePreferences:a,acceptCategory:s}=e,l=e=>{s(e),a(),o()},u=n.u&&n.u.preferencesModal;if(!u)return;let m=u.title,y=u.closeIconLabel,b=u.acceptAllBtn,x=u.acceptNecessaryBtn,w=u.savePreferencesBtn,T=u.sections||[],E=b||x||w;if(i.Fe)i.Pe=j("div"),B(i.Pe,"body");else{i.Fe=j("div"),O(i.Fe,"pm-wrapper");let e=j("div");O(e,"pm-overlay"),D(i.Fe,e),U(e,p,a),i.we=j("div"),O(i.we,"pm"),R(i.we,"role","dialog"),R(i.we,c,!0),R(i.we,"aria-modal",!0),R(i.we,"aria-labelledby","pm__title"),U(i.ye,"keydown",e=>{27===e.keyCode&&a()},!0),i.Oe=j("div"),B(i.Oe,"header"),i.Re=j("h2"),B(i.Re,"title"),i.Re.id="pm__title",i.Be=j(d),B(i.Be,"close-btn"),R(i.Be,"aria-label",u.closeIconLabel||""),U(i.Be,p,a),i.Ge=j("span"),i.Ge.innerHTML=Q(),D(i.Be,i.Ge),i.Je=j("div"),B(i.Je,"body"),i.Ue=j("div"),B(i.Ue,"footer"),O(j("div"),"btns");var C=j("div"),M=j("div");B(C,h),B(M,h),D(i.Ue,C),D(i.Ue,M),D(i.Oe,i.Re),D(i.Oe,i.Be),i.ve=j("div"),R(i.ve,"tabIndex",-1),D(i.we,i.ve),D(i.we,i.Oe),D(i.we,i.Je),E&&D(i.we,i.Ue),D(i.Fe,i.we)}m&&(i.Re.innerHTML=m,y&&R(i.Be,"aria-label",y)),T.forEach((e,t)=>{let o=e.title,a=e.description,s=e.linkedCategory,l=s&&n.P[s],h=e.cookieTable,f=h&&h.body,m=h&&h.caption,g=f&&f.length>0,y=!!l,v=y&&n.X[s],b=S(v)&&P(v)||[],x=y&&(!!a||!!g||P(v).length>0);var w=j("div");if(B(w,"section"),x||a){var T=j("div");B(T,"section-desc-wrapper")}let E=b.length;if(x&&E>0){let e=j("div");for(let t of(B(e,"section-services"),b)){let r=v[t],n=r&&r.label||t,i=j("div"),o=j("div"),a=j("div"),u=j("div");B(i,"service"),B(u,"service-title"),B(o,"service-header"),B(a,"service-icon");let d=ev(n,t,l,!0,s);u.innerHTML=n,D(o,a),D(o,u),D(i,o),D(i,d),D(e,i)}D(T,e)}if(o){var C=j("div"),M=j(y?d:"div");if(B(C,"section-title-wrapper"),B(M,"section-title"),M.innerHTML=o,D(C,M),y){let e=j("span");e.innerHTML=Q(2,3.5),B(e,"section-arrow"),D(C,e),w.className+="--toggle";let t=ev(o,s,l),r=u.serviceCounterLabel;if(E>0&&k(r)){let e=j("span");B(e,"badge"),B(e,"service-counter"),R(e,c,!0),R(e,"data-servicecounter",E),r&&R(e,"data-counterlabel",r=(r=r.split("|")).length>1&&E>1?r[1]:r[0]),e.innerHTML=E+(r?" "+r:""),D(M,e)}if(x){B(w,"section--expandable");var A=s+"-desc";R(M,"aria-expanded",!1),R(M,"aria-controls",A)}D(C,t)}else R(M,"role","heading"),R(M,"aria-level","3");D(w,C)}if(a){var L=j("p");B(L,"section-desc"),L.innerHTML=a,D(T,L)}if(x&&(R(T,c,"true"),T.id=A,((e,t,r)=>{U(M,p,()=>{t.classList.contains("is-expanded")?(N(t,"is-expanded"),R(r,"aria-expanded","false"),R(e,c,"true")):(O(t,"is-expanded"),R(r,"aria-expanded","true"),R(e,c,"false"))})})(T,w,M),g)){let e=j("table"),r=j("thead"),n=j("tbody");if(m){let t=j("caption");B(t,"table-caption"),t.innerHTML=m,e.appendChild(t)}B(e,"section-table"),B(r,"table-head"),B(n,"table-body");let o=h.headers,a=P(o),s=i.$e.createDocumentFragment(),l=j("tr");for(let e of a){let r=o[e],n=j("th");n.id="cc__row-"+r+t,R(n,"scope","col"),B(n,"table-th"),n.innerHTML=r,D(s,n)}D(l,s),D(r,l);let u=i.$e.createDocumentFragment();for(let e of f){let r=j("tr");for(let n of(B(r,"table-tr"),a)){let i=o[n],a=e[n],s=j("td"),l=j("div");B(s,"table-td"),R(s,"data-column",i),R(s,"headers","cc__row-"+i+t),l.insertAdjacentHTML("beforeend",a),D(s,l),D(r,s)}D(u,r)}D(n,u),D(e,r),D(e,n),D(T,e)}(x||a)&&D(w,T);let V=i.Pe||i.Je;y?(r||B(r=j("div"),"section-toggles"),r.appendChild(w)):r=null,D(V,r||w)}),b&&(i.ze||(i.ze=j(d),B(i.ze,"btn"),R(i.ze,f,"all"),D(C,i.ze),U(i.ze,p,()=>l("all"))),i.ze.innerHTML=b),x&&(i.je||(i.je=j(d),B(i.je,"btn"),R(i.je,f,"necessary"),D(C,i.je),U(i.je,p,()=>l([]))),i.je.innerHTML=x),w&&(i.qe||(i.qe=j(d),B(i.qe,"btn"),B(i.qe,"btn--secondary"),R(i.qe,f,"save"),D(M,i.qe),U(i.qe,p,()=>l())),i.qe.innerHTML=w),i.Pe&&(i.we.replaceChild(i.Pe,i.Je),i.Je=i.Pe),em(1),n.N||(n.N=!0,et(v.re.ue,g,i.we),t(e),D(i.Ce,i.Fe),Z(i.we),setTimeout(()=>O(i.Fe,"cc--anim"),100)),ee(2)};function ev(e,t,r,n,i){let o=v.o,a=v.oe,s=j("label"),l=j("input"),d=j("span"),h=j("span"),f=j("span"),m=j("span"),g=j("span");if(m.innerHTML=Q(1,3),g.innerHTML=Q(0,3),l.type="checkbox",O(s,"section__toggle-wrapper"),O(l,"section__toggle"),O(m,"toggle__icon-on"),O(g,"toggle__icon-off"),O(d,"toggle__icon"),O(h,"toggle__icon-circle"),O(f,"toggle__label"),R(d,c,"true"),n?(O(s,"toggle-service"),R(l,u,i),a.ae[i][t]=l):a.se[t]=l,n?U(l,"change",()=>{let e=a.ae[i],t=a.se[i];for(let t in o.Z[i]=[],e){let r=e[t];r.checked&&o.Z[i].push(r.value)}t.checked=o.Z[i].length>0}):U(l,p,()=>{let e=a.ae[t],r=l.checked;for(let n in o.Z[t]=[],e)e[n].checked=r,r&&o.Z[t].push(n)}),l.value=t,f.textContent=e.replace(/<.*>.*<\/.*>/gm,""),D(h,g),D(h,m),D(d,h),o.D)(r.readOnly||r.enabled)&&(l.checked=!0);else if(n){let e=o.Y[i];l.checked=r.readOnly||x(e,t)}else x(o.R,t)&&(l.checked=!0);return r.readOnly&&(l.disabled=!0),D(s,l),D(s,d),D(s,f),s}let eb=()=>{let e=j("span");return v.oe.Ke||(v.oe.Ke=e),e},ex=(e,t)=>{let r=v.o,n=v.oe,{hide:i,showPreferences:o,acceptCategory:a}=e,s=r.u&&r.u.consentModal;if(!s)return;let l=s.acceptAllBtn,u=s.acceptNecessaryBtn,g=s.showPreferencesBtn,y=s.closeIconLabel,b=s.footer,x=s.label,w=s.title,k=e=>{i(),a(e)};if(!n.Qe){n.Qe=j("div"),n.he=j("div"),n.We=j("div"),n.Xe=j("div"),n.Ye=j("div"),O(n.Qe,"cm-wrapper"),O(n.he,"cm"),I(n.We,"body"),I(n.Xe,"texts"),I(n.Ye,"btns"),R(n.he,"role","dialog"),R(n.he,"aria-modal","true"),R(n.he,c,"false"),R(n.he,"aria-describedby","cm__desc"),x?R(n.he,"aria-label",x):w&&R(n.he,"aria-labelledby","cm__title");let e=r.i.guiOptions,t=e&&e.consentModal,i="box"===(t&&t.layout||"box").split(" ")[0];w&&y&&i&&(n.Le||(n.Le=j(d),n.Le.innerHTML=Q(),I(n.Le,"btn"),I(n.Le,"btn--close"),U(n.Le,p,()=>{k([])}),D(n.We,n.Le)),R(n.Le,"aria-label",y)),D(n.We,n.Xe),(l||u||g)&&D(n.We,n.Ye),n.be=j("div"),R(n.be,"tabIndex",-1),D(n.he,n.be),D(n.he,n.We),D(n.Qe,n.he)}w&&(n.Ze||(n.Ze=j("h2"),n.Ze.className=n.Ze.id="cm__title",D(n.Xe,n.Ze)),n.Ze.innerHTML=w);let S=s.description;if(S&&(r.V&&(S=S.replace("{{revisionMessage}}",r.I?"":s.revisionMessage||"")),n.et||(n.et=j("p"),n.et.className=n.et.id="cm__desc",D(n.Xe,n.et)),n.et.innerHTML=S),l&&(n.tt||(n.tt=j(d),D(n.tt,eb()),I(n.tt,"btn"),R(n.tt,f,"all"),U(n.tt,p,()=>{k("all")})),n.tt.firstElementChild.innerHTML=l),u&&(n.Ie||(n.Ie=j(d),D(n.Ie,eb()),I(n.Ie,"btn"),R(n.Ie,f,"necessary"),U(n.Ie,p,()=>{k([])}
1)),n.Ie.firstElementChild.innerHTML=u),g&&(n.nt||(n.nt=j(d),D(n.nt,eb()),I(n.nt,"btn"),I(n.nt,"btn--secondary"),R(n.nt,f,"show"),U(n.nt,"mouseenter",()=>{r.N||ey(e,t)}),U(n.nt,p,o)),n.nt.firstElementChild.innerHTML=g),n.ot||(n.ot=j("div"),I(n.ot,h),l&&D(n.ot,n.tt),u&&D(n.ot,n.Ie),(l||u)&&D(n.We,n.ot),D(n.Ye,n.ot)),n.nt&&!n.st&&(n.st=j("div"),n.Ie&&n.tt?(I(n.st,h),D(n.st,n.nt),D(n.Ye,n.st)):(D(n.ot,n.nt),I(n.ot,h+"--uneven"))),b){if(!n.ct){let e=j("div"),t=j("div");n.ct=j("div"),I(e,"footer"),I(t,"links"),I(n.ct,"link-group"),D(t,n.ct),D(e,t),D(n.he,e)}n.ct.innerHTML=b}em(0),r.T||(r.T=!0,et(v.re.ue,m,n.he),t(e),D(n.Ce,n.Qe),Z(n.he),setTimeout(()=>O(n.Qe,"cc--anim"),100)),ee(1),H(n.We,e,ey,t)},ew=e=>{if(!k(e))return null;if(e in v.o._)return e;let t=e.slice(0,2);return t in v.o._?t:null},ek=()=>v.o.l||v.o.i.language.default,eS=e=>{e&&(v.o.l=e)},eT=async e=>{let t=v.o,r=ew(e)?e:ek(),n=t._[r];if(!n)return!1;if(k(n)){let e=await (async e=>{try{let t=await fetch(e);return await t.json()}catch(e){return console.error(e),!1}})(n);if(!e)return!1;n=e}return t.u=n,eS(r),!0},eP=()=>{let e=v.o.i.language.rtl,t=v.oe.Ce;e&&t&&(w(e)||(e=[e]),x(e,v.o.l)?O(t,"cc--rtl"):N(t,"cc--rtl"))},eE=()=>{let e=v.oe;if(e.Ce)return;e.Ce=j("div"),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),eP();let t=v.o.i.root;t&&k(t)&&(t=document.querySelector(t)),(t||e.$e.body).appendChild(e.Ce)},eC=e=>er(()=>localStorage.removeItem(e)),eM=(e,t)=>{if(t instanceof RegExp)return e.filter(e=>t.test(e));{let r=b(e,t);return r>-1?[e[r]]:[]}},eA=e=>{let{hostname:t,protocol:r}=location,{name:n,path:i,domain:o,sameSite:a,useLocalStorage:s}=v.t.cookie,l=e?(()=>{let e=v.o.S,t=e?new Date-e:0;return 864e5*$()-t})():864e5*$(),u=new Date;u.setTime(u.getTime()+l),v.o.p.expirationTime=u.getTime();let d=JSON.stringify(v.o.p),c=n+"="+encodeURIComponent(d)+(0!==l?"; expires="+u.toUTCString():"")+"; Path="+i+"; SameSite="+a;x(t,".")&&(c+="; Domain="+o),"https:"===r&&(c+="; Secure"),s?er(()=>localStorage.setItem(n,d)):document.cookie=c,v.o.p},ej=(e,t,r)=>{if(0===e.length)return;let n=r||v.t.cookie.domain,i=t||v.t.cookie.path,o="www."===n.slice(0,4),a=o&&n.substring(4),s=(e,t)=>{document.cookie=e+"=; path="+i+(t?"; domain=."+t:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(let t of e)s(t),s(t,n),o&&s(t,a)},eR=e=>{let t=e||v.t.cookie.name,r=v.t.cookie.useLocalStorage;return((e,t)=>er(()=>JSON.parse(t?e:decodeURIComponent(e)),!0)||{})(r?er(()=>localStorage.getItem(t))||"":eL(t,!0),r)},eL=(e,t)=>{let r=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return r?t?r.pop():e:""},eV=e=>{let t=document.cookie.split(/;\s*/),r=[];for(let n of t){let t=n.split("=")[0];e?er(()=>{e.test(t)&&r.push(t)}):r.push(t)}return r},eD=e=>x(v.o.D?[]:v.o.R,e),eO=(e,t)=>x(v.o.D?[]:v.o.Y[t],e),eI=e=>{let{oe:t,o:r}=v;if(!r.k){if(!r.T){if(!e)return;ex(eN,eE)}r.k=!0,r.U=C(),r.v&&Y(!0),X(t.he,1),O(t.ye,a),R(t.he,c,"false"),setTimeout(()=>{q(v.oe.be)},100),et(v.re.fe,m)}},eB=()=>{let e=v.o;e.A||(e.N||ey(eN,eE),e.A=!0,e.k?e.$=C():e.U=C(),X(v.oe.we,2),O(v.oe.ye,s),R(v.oe.we,c,"false"),setTimeout(()=>{q(v.oe.ve)},100),et(v.re.fe,g))};var eN={show:eI,hide:()=>{let{oe:e,o:t,re:r}=v;t.k&&(t.k=!1,t.v&&Y(),q(e.Ke,!0),N(e.ye,a),R(e.he,c,"true"),q(t.U),t.U=null,et(r._e,m))},showPreferences:eB,hidePreferences:()=>{let e=v.o;e.A&&(e.A=!1,(()=>{let e=e_(),t=v.o.P,r=v.oe.se,n=v.oe.ae,i=e=>x(v.o.G,e);for(let o in r){let a=!!t[o].readOnly;for(let t in r[o].checked=a||(e?eD(o):i(o)),n[o])n[o][t].checked=a||(e?eO(t,o):i(o))}})(),q(v.oe.Ge,!0),N(v.oe.ye,s),R(v.oe.we,c,"true"),e.k?(q(e.$),e.$=null):(q(e.U),e.U=null),et(v.re._e,g))},acceptCategory:(e,t=[])=>{((e,t)=>
1{let{O:r,R:n,B:i,N:o,Z:a,X:s}=v.o,l=[];if(e)for(let t of(w(e)?l.push(...e):k(e)&&(l="all"===e?r:[e]),r))a[t]=x(l,t)?P(s[t]):[];else l=n,o&&(l=(()=>{let e=v.oe.se;if(!e)return[];let t=[];for(let r in e)e[r].checked&&t.push(r);return t})());(l=l.filter(e=>!x(r,e)||!x(t,e))).push(...i),G(l)})(e,t),(e=>{let t=v.o,{Z:r,B:n,Y:i,X:o,O:a}=t;for(let e of(t.te=F(i),a)){let t=P(o[e]),a=r[e]&&r[e].length>0,s=x(n,e);if(0!==t.length){if(i[e]=[],s)i[e].push(...t);else if(a){let t=r[e];i[e].push(...t)}else i[e]=[];i[e]=E(i[e])}}})(),(()=>{let e=v.o;e.L=v.t.mode===o&&e.D?W(e.G,e.R):W(e.R,e.p.categories);let t=e.L.length>0,r=!1;for(let t of e.O)e.ee[t]=W(e.Y[t],e.te[t]),e.ee[t].length>0&&(r=!0);let n=v.oe.se;for(let t in n)n[t].checked=x(e.R,t);for(let t of e.O){let r=v.oe.ae[t],n=e.Y[t];for(let e in r)r[e].checked=x(n,e)}e.C||(e.C=new Date),e.M||(e.M="10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))),e.p={categories:F(e.R),revision:v.t.revision,data:e.h,consentTimestamp:e.C.toISOString(),consentId:e.M,services:F(e.Y)};let a=!1,s=t||r;(e.D||s)&&(e.D&&(e.D=!1,a=!0),e.S=e.S?new Date:e.C,e.p.lastConsentTimestamp=e.S.toISOString(),eA(),v.t.autoClearCookies&&(a||s)&&(e=>{let t=v.o,r=eV(),n=(e=>{let t=v.o;return(e?t.O:t.L).filter(e=>{let r=t.P[e];return!!r&&!r.readOnly&&!!r.autoClear})})(e);for(let e in t.ee)for(let n of t.ee[e]){let i=t.X[e][n].cookies;if(!x(t.Y[e],n)&&i)for(let e of i)ej(eM(r,e.name),e.path,e.domain)}for(let i of n){let n=t.P[i].autoClear,o=n&&n.cookies||[],a=x(t.L,i),s=!x(t.R,i),l=a&&s;if(e?s:l)for(let e of(n.reloadPage&&l&&(t.j=!0),o))ej(eM(r,e.name),e.path,e.domain)}})(a),en()),a&&(et(v.re.ie),et(v.re.le),v.t.mode===i)||(s&&et(v.re.de),e.j&&(e.j=!1,location.reload()))})()}};let eF=()=>{let{F:e,Y:t}=v.o,{accepted:r,rejected:n}=(()=>{let{D:e,R:t,O:r}=v.o;return{accepted:t,rejected:e?[]:r.filter(e=>!x(t,e))}})();return F({acceptType:e,acceptedCategories:r,rejectedCategories:n,acceptedServices:t,rejectedServices:_()})},e_=()=>!v.o.D,ez=async e=>{let{o:t,t:r,re:n}=v,i=window;if(!i._ccRun){if(i._ccRun=!0,(e=>{let{oe:t,t:r,o:n}=v,{cookie:i}=r,a=v.ce,s=e.cookie,l=e.categories,d=P(l)||[],c=navigator,h=document;t.$e=h,t.ye=h.documentElement,i.domain=location.hostname,n.i=e,n.P=l,n.O=d,n._=e.language.translations,n.v=!!e.disablePageInteraction,a.ie=e.onFirstConsent,a.le=e.onConsent,a.de=e.onChange,a._e=e.onModalHide,a.fe=e.onModalShow,a.ue=e.onModalReady;let{mode:p,autoShow:f,lazyHtmlGeneration:m,autoClearCookies:g,revision:y,manageScriptTags:b,hideFromBots:w}=e;p===o&&(r.mode=p),"boolean"==typeof g&&(r.autoClearCookies=g),"boolean"==typeof b&&(r.manageScriptTags=b),"number"==typeof y&&y>=0&&(r.revision=y,n.V=!0),"boolean"==typeof f&&(r.autoShow=f),"boolean"==typeof m&&(r.lazyHtmlGeneration=m),!1===w&&(r.hideFromBots=!1),!0===r.hideFromBots&&c&&(n.J=c.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(c.userAgent)||c.webdriver),S(s)&&(r.cookie={...i,...s}),r.autoClearCookies,n.V,r.manageScriptTags,(e=>{let{P:t,X:r,Y:n,Z:i,B:o}=v.o;for(let a of e){let e=t[a],s=e.services||{},l=S(s)&&P(s)||[];for(let t of(r[a]={},n[a]=[],i[a]=[],e.readOnly&&(o.push(a),n[a]=l),v.oe.ae[a]={},l)){let e=s[t];e.Se=!1,r[a][t]=e}}})(d),(()=>{if(!v.t.manageScriptTags)return;let e=v.o;for(let t of A(document,"script["+u+"]")){let r=V(t,u),n=t.dataset.service||"",i=!1;if(r&&"!"===r.charAt(0)&&(r=r.slice(1),i=!0),"!"===n.charAt(0)&&(n=n.slice(1),i=!0),x(e.O,r)&&(e.ne.push({Me:t,xe:!1,ke:i,De:r,Te:n}),n)){let t=e.X[r];t[n]||(t[n]={Se:!1})}}})(),eS((()=>{let e=v.o.i.language.autoDetect;if(e){let t=ew({browser:navigator.language,document:document.documentElement.lang}[e]);if(t)return t}return ek()})())})(e),t.J)return;(()=>{let e=v.o,t=v.t,r=eR(),{categories:n,services:i,consentId:a,consentTimestamp:s,lastConsentTimestamp:l,data:u,revision:d}=r,c=w(n);e.p=r,e.M=a;let h=!!a&&k(a);e.C=s,e.C&&(e.C=new Date(s)),e.S=l,e.S&&(e.S=new Date(l)),e.h=void 0!==u?u:null,e.V&&h&&d!==t.revision&&(e.I=!1),e.D=!(h&&e.I&&e.C&&e.S&&c),t.cookie.useLocalStorage&&!e.D&&(e.D=(new Date).getTime()>(r.expirationTime||0),e.D&&eC(t.cookie.name)),e.D,(()=>{let e=v.o;for(let t of e.O){let r=e.P[t];if(r.readOnly||r.enabled&&e.i.mode===o){e.G.push(t);let r=e.X[t]||{};for(let n in r)e.Y[t].push(n)}}})(),e.D?t.mode===o&&(e.R=[...e.G]):(e.Y={...e.Y,...i},G([...e.B,...n])),e.Z={...e.Y}})();let a=e_();if(!await eT())return!1;if(H(null,eN,ey,eE),v.o.D&&ex(eN,eE),v.t.lazyHtmlGeneration||ey(eN,eE),r.autoShow&&!a&&eI(!0),a)return en(),et(n.le);r.mode===o&&en(t.G)}}},26751:(e,t,r)=>{r.d(t,{q:()=>n});
1class n{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)}}},27173:(e,t,r)=>{r.d(t,{l$:()=>S,oR:()=>v});var n=r(83190),i=r(43971);let o=e=>{switch(e){case"success":return l;case"info":return d;case"warning":return u;case"error":return c;default:return null}},a=Array(12).fill(0),s=e=>{let{visible:t,className:r}=e;return n.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":t},n.createElement("div",{className:"sonner-spinner"},a.map((e,t)=>n.createElement("div",{className:"sonner-loading-bar",key:"spinner-bar-".concat(t)}))))},l=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),u=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),d=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),c=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),h=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),p=()=>{let[e,t]=n.useState(document.hidden);return n.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},f=1;class m{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:f++,o=this.toasts.find(e=>e.id===i),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:r}),{...t,...e,id:i,dismissible:a,title:r}):t):this.addToast({title:r,...n,dismissible:a,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
1this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let r,i;if(!t)return;void 0!==t.loading&&(i=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=Promise.resolve(e instanceof Function?e():e),a=void 0!==i,s=o.then(async e=>{if(r=["resolve",e],n.isValidElement(e))a=!1,this.create({id:i,type:"default",message:e});else if(y(e)&&!e.ok){a=!1;let r="function"==typeof t.error?await t.error("HTTP error! status: ".concat(e.status)):t.error,o="function"==typeof t.description?await t.description("HTTP error! status: ".concat(e.status)):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:i,type:"error",description:o,...s})}else if(e instanceof Error){a=!1;let r="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:i,type:"error",description:o,...s})}else if(void 0!==t.success){a=!1;let r="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:i,type:"success",description:o,...s})}}).catch(async e=>{if(r=["reject",e],void 0!==t.error){a=!1;let r="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof r||n.isValidElement(r)?{message:r}:r;this.create({id:i,type:"error",description:o,...s})}}).finally(()=>{a&&(this.dismiss(i),i=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===r[0]?t(r[1]):e(r[1])).catch(t));return"string"!=typeof i&&"number"!=typeof i?{unwrap:l}:Object.assign(i,{unwrap:l})},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||f++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let g=new m,y=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,v=Object.assign((e,t)=>{let r=(null==t?void 0:t.id)||f++;return g.addToast({title:e,...t,id:r}),r},{success:g.success,info:g.info,warning:g.warning,error:g.error,custom:g.custom,message:g.message,promise:g.promise,dismiss:g.dismiss,loading:g.loading},{getHistory:()=>g.toasts,getToasts:()=>g.getActiveToasts()});function b(e){return void 0!==e.label}function x(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 1
1("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
1let w=e=>{var t,r,i,a,l,u,d,c,f,m,g;let{invert:y,toast:v,unstyled:w,interacting:k,setHeights:S,visibleToasts:T,heights:P,index:E,toasts:C,expanded:M,removeToast:A,defaultRichColors:j,closeButton:R,style:L,cancelButtonStyle:V,actionButtonStyle:D,className:O="",descriptionClassName:I="",duration:B,position:N,gap:F,expandByDefault:_,classNames:z,icons:U,closeButtonAriaLabel:$="Close toast"}=e,[W,G]=n.useState(null),[H,q]=n.useState(null),[X,Y]=n.useState(!1),[K,Q]=n.useState(!1),[Z,J]=n.useState(!1),[ee,et]=n.useState(!1),[er,en]=n.useState(!1),[ei,eo]=n.useState(0),[ea,es]=n.useState(0),el=n.useRef(v.duration||B||4e3),eu=n.useRef(null),ed=n.useRef(null),ec=0===E,eh=E+1<=T,ep=v.type,ef=!1!==v.dismissible,em=v.className||"",eg=v.descriptionClassName||"",ey=n.useMemo(()=>P.findIndex(e=>e.toastId===v.id)||0,[P,v.id]),ev=n.useMemo(()=>{var e;return null!=(e=v.closeButton)?e:R},[v.closeButton,R]),eb=n.useMemo(()=>v.duration||B||4e3,[v.duration,B]),ex=n.useRef(0),ew=n.useRef(0),ek=n.useRef(0),eS=n.useRef(null),[eT,eP]=N.split("-"),eE=n.useMemo(()=>P.reduce((e,t,r)=>r>=ey?e:e+t.height,0),[P,ey]),eC=p(),eM=v.invert||y,eA="loading"===ep;ew.current=n.useMemo(()=>ey*F+eE,[ey,eE]),n.useEffect(()=>{el.current=eb},[eb]),n.useEffect(()=>{Y(!0)},[]),n.useEffect(()=>{let e=ed.current;if(e){let t=e.getBoundingClientRect().height;return es(t),S(e=>[{toastId:v.id,height:t,position:v.position},...e]),()=>S(e=>e.filter(e=>e.toastId!==v.id))}},[S,v.id]),n.useLayoutEffect(()=>{if(!X)return;let e=ed.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,es(r),S(e=>e.find(e=>e.toastId===v.id)?e.map(e=>e.toastId===v.id?{...e,height:r}:e):[{toastId:v.id,height:r,position:v.position},...e])},[X,v.title,v.description,S,v.id,v.jsx,v.action,v.cancel]);let ej=n.useCallback(()=>{Q(!0),eo(ew.current),S(e=>e.filter(e=>e.toastId!==v.id)),setTimeout(()=>{A(v)},200)},[v,A,S,ew]);n.useEffect(()=>{let e;if((!v.promise||"loading"!==ep)&&v.duration!==1/0&&"loading"!==v.type)return M||k||eC?(()=>{if(ek.current<ex.current){let e=new Date().getTime()-ex.current;el.current=el.current-e}ek.current=new Date().getTime()})():el.current!==1/0&&(ex.current=new Date().getTime(),e=setTimeout(()=>{null==v.onAutoClose||v.onAutoClose.call(v,v),ej()},el.current)),()=>clearTimeout(e)},[M,k,v,ep,eC,ej]),n.useEffect(()=>{v.delete&&(ej(),null==v.onDismiss||v.onDismiss.call(v,v))},[ej,v.delete]);let eR=v.icon||(null==U?void 0:U[ep])||o(ep);return n.createElement("li",{tabIndex:0,ref:ed,className:x(O,em,null==z?void 0:z.toast,null==v||null==(t=v.classNames)?void 0:t.toast,null==z?void 0:z.default,null==z?void 0:z[ep],null==v||null==(r=v.classNames)?void 0:r[ep]),"data-sonner-toast":"","data-rich-colors":null!=(m=v.richColors)?m:j,"data-styled":!(v.jsx||v.unstyled||w),"data-mounted":X,"data-promise":!!v.promise,"data-swiped":er,"data-removed":K,"data-visible":eh,"data-y-position":eT,"data-x-position":eP,"data-index":E,"data-front":ec,"data-swiping":Z,"data-dismissible":ef,"data-type":ep,"data-invert":eM,"data-swipe-out":ee,"data-swipe-direction":H,"data-expanded":!!(M||_&&X),"data-testid":v.testId,style:{"--index":E,"--toasts-before":E,"--z-index":C.length-E,"--offset":"".concat(K?ei:ew.current,"px"),"--initial-height":_?"auto":"".concat(ea,"px"),...L,...v.style},onDragEnd:()=>{J(!1),G(null),eS.current=null},onPointerDown:e=>{2!==e.button&&!eA&&ef&&(eu.current=new Date,eo(ew.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(J(!0),eS.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n,i;if(ee||!ef)return;eS.current=null;let o=Number((null==(e=ed.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),a=Number((null==(t=ed.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(r=eu.current)?void 0:r.getTime()),l="x"===W?o:a,u=Math.abs(l)/s;if(Math.abs(l)>=45||u>.11){eo(ew.current),null==v.onDismiss||v.onDismiss.call(v,v),"x"===W?q(o>0?"right":"left"):q(a>0?"down":"up"),ej(),et(!0);return}null==(n=ed.current)||n.style.setProperty("--swipe-amount-x","0px"),null==(i=ed.current)||i.style.setProperty("--swipe-amount-y","0px"),en(!1),J(!1),G(null)},onPointerMove:t=>{var r,n,i,o;if(!eS.current||!ef||(null==(r=window.getSelection())?void 0:r.toString().length)>0)return;let a=t.clientY-eS.current.y,s=t.clientX-eS.current.x,l=null!=(o=e.swipeDirections)?o:function(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}(N);!W&&(Math.abs(s)>1||Math.abs(a)>1)&&G(Math.abs(s)>Math.abs(a)?"x":"y");let u={x:0,y:0},d=e=>1/(1.5+Math.abs(e)/20);if("y"===W){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&a<0||l.includes("bottom")&&a>0)u.y=a;else{let e=a*d(a);u.y=Math.abs(e)<Math.abs(a)?e:a}}else if("x"===W&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&s<0||l.includes("right")&&s>0)u.x=s;else{let e=s*d(s);u.x=Math.abs(e)<Math.abs(s)?e:s}(Math.abs(u.x)>0||Math.abs(u.y)>0)&&en(!0),null==(n=ed.current)||n.style.setProperty("--swipe-amount-x","".concat(u.x,"px")),null==(i=ed.current)||i.style.setProperty("--swipe-amount-y","".concat(u.y,"px"))}},ev&&!v.jsx&&"loading"!==ep?n.createElement("button",{"aria-label":$,"data-disabled":eA,"data-close-button":!0,onClick:eA||!ef?()=>{}:()=>{ej(),null==v.onDismiss||v.onDismiss.call(v,v)},className:x(null==z?void 0:z.closeButton,null==v||null==(i=v.classNames)?void 0:i.closeButton)},null!=(g=null==U?void 0:U.close)?g:h):null,(ep||v.icon||v.promise)&&null!==v.icon&&((null==U?void 0:U[ep])!==null||v.
1icon)?n.createElement("div",{"data-icon":"",className:x(null==z?void 0:z.icon,null==v||null==(a=v.classNames)?void 0:a.icon)},v.promise||"loading"===v.type&&!v.icon?v.icon||function(){var e,t;return(null==U?void 0:U.loading)?n.createElement("div",{className:x(null==z?void 0:z.loader,null==v||null==(t=v.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===ep},U.loading):n.createElement(s,{className:x(null==z?void 0:z.loader,null==v||null==(e=v.classNames)?void 0:e.loader),visible:"loading"===ep})}():null,"loading"!==v.type?eR:null):null,n.createElement("div",{"data-content":"",className:x(null==z?void 0:z.content,null==v||null==(l=v.classNames)?void 0:l.content)},n.createElement("div",{"data-title":"",className:x(null==z?void 0:z.title,null==v||null==(u=v.classNames)?void 0:u.title)},v.jsx?v.jsx:"function"==typeof v.title?v.title():v.title),v.description?n.createElement("div",{"data-description":"",className:x(I,eg,null==z?void 0:z.description,null==v||null==(d=v.classNames)?void 0:d.description)},"function"==typeof v.description?v.description():v.description):null),n.isValidElement(v.cancel)?v.cancel:v.cancel&&b(v.cancel)?n.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||V,onClick:e=>{b(v.cancel)&&ef&&(null==v.cancel.onClick||v.cancel.onClick.call(v.cancel,e),ej())},className:x(null==z?void 0:z.cancelButton,null==v||null==(c=v.classNames)?void 0:c.cancelButton)},v.cancel.label):null,n.isValidElement(v.action)?v.action:v.action&&b(v.action)?n.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||D,onClick:e=>{b(v.action)&&(null==v.action.onClick||v.action.onClick.call(v.action,e),e.defaultPrevented||ej())},className:x(null==z?void 0:z.actionButton,null==v||null==(f=v.classNames)?void 0:f.actionButton)},v.action.label):null)};function k(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let S=n.forwardRef(function(e,t){let{id:r,invert:o,position:a="bottom-right",hotkey:s=["altKey","KeyT"],expand:l,closeButton:u,className:d,offset:c,mobileOffset:h,theme:p="light",richColors:f,duration:m,style:y,visibleToasts:v=3,toastOptions:b,dir:x=k(),gap:S=14,icons:T,containerAriaLabel:P="Notifications"}=e,[E,C]=n.useState([]),M=n.useMemo(()=>r?E.filter(e=>e.toasterId===r):E.filter(e=>!e.toasterId),[E,r]),A=n.useMemo(()=>Array.from(new Set([a].concat(M.filter(e=>e.position).map(e=>e.position)))),[M,a]),[j,R]=n.useState([]),[L,V]=n.useState(!1),[D,O]=n.useState(!1),[I,B]=n.useState("system"!==p?p:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),N=n.useRef(null),F=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=n.useRef(null),z=n.useRef(!1),U=n.useCallback(e=>{C(t=>{var r;return(null==(r=t.find(t=>t.id===e.id))?void 0:r.delete)||g.dismiss(e.id),t.filter(t=>{let{id:r}=t;return r!==e.id})})},[]);return n.useEffect(()=>g.subscribe(e=>{if(e.dismiss)return void requestAnimationFrame(()=>{C(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))});setTimeout(()=>{i.flushSync(()=>{C(t=>{let r=t.findIndex(t=>t.id===e.id);return -1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]})})})}),[E]),n.useEffect(()=>{if("system"!==p)return void B(p);if("system"===p&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",e=>{let{matches:t}=e;t?B("dark"):B("light")})}catch(t){e.addListener(e=>{let{matches:t}=e;try{t?B("dark"):B("light")}catch(e){console.error(e)}})}},[p]),n.useEffect(()=>{E.length<=1&&V(!1)},[E]),n.useEffect(()=>{let e=e=>{var t,r;s.every(t=>e[t]||e.code===t)&&(V(!0),null==(r=N.current)||r.focus()),"Escape"===e.code&&(document.activeElement===N.current||(null==(t=N.current)?void 0:t.contains(document.activeElement)))&&V(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),n.useEffect(()=>{if(N.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,z.current=!1)}},[N.current]),n.createElement("section",{ref:t,"aria-label":"".concat(P," ").concat(F),tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map((t,r)=>{var i;let[a,s]=t.split("-");return M.length?n.createElement("ol",{key:t,dir:"auto"===x?k():x,tabIndex:-1,ref:N,className:d,"data-sonner-toaster":!0,"data-sonner-theme":I,"data-y-position":a,"data-x-position":s,style:{"--front-toast-height":"".concat((null==(i=j[0])?void 0:i.height)||0,"px"),"--width":"".concat(356,"px"),"--gap":"".concat(S,"px"),...y,...function(e,t){let r={};return[e,t].forEach((e,t)=>{let n=1===t,i=n?"--mobile-offset":"--offset",o=n?"16px":"24px";function a(e){["top","right","bottom","left"].forEach(t=>{r["".concat(i,"-").concat(t)]="number"==typeof e?"".concat(e,"px"):e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?r["".concat(i,"-").concat(t)]=o:r["".concat(i,"-").concat(t)]="number"==typeof e[t]?"".concat(e[t],"px"):e[t]}):a(o)}),r}(c,h)},onBlur:e=>{z.current&&!e.currentTarget.contains(e.relatedTarget)&&(z.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:e=>{!(e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible)&&(z.current||(z.current=!0,_.current=e.relatedTarget))},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{D||V(!1)},onDragEnd:()=>V(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||O(!0)},onPointerUp:()=>O(!1)},M.filter(e=>!e.position&&0===r||e.position===t).map((r,i)=>{var a,s;return n.createElement(w,{key:r.id,icons:T,index:i,toast:r,defaultRichColors:f,duration:null!=(a=null==b?void 0:b.duration)?a:m,className:null==b?void 0:b.className,descriptionClassName:null==b?void 0:b.descriptionClassName,invert:o,visibleToasts:v,closeButton:null!=(s=null==b?void 0:b.closeButton)?s:u,interacting:D,position:t,style:null==b?void 0:b.style,unstyled:null==b?void 0:b.unstyled,classNames:null==b?void 0:b.classNames,cancelButtonStyle:null==b?void 0:b.cancelButtonStyle,actionButtonStyle:null==b?void 0:b.actionButtonStyle,closeButtonAriaLabel:null==b?void 0:b.closeButtonAriaLabel,removeToast:U,toasts:M.filter(e=>e.position==r.position),heights:j.filter(e=>e.position==r.position),setHeights:R,expandByDefault:l,gap:S,expanded:L,swipeDirections:e.swipeDirections})})):null}))})},27378:(e,t,r)=>{r.d(t,{p:()=>n});function n(e){let t;return()=>(void 0===t&&(t=e()),t)}},29567:(e,t,r)=>{r.d(t,{OQ:()=>d,bt:()=>l});var n=r(92530),i=r(19251),o=r(23992),a=r(23078);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>
1{let t=o.k.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=o.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(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 n.v);let r=this.events[e].add(t);return"change"===e?()=>{r(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}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||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(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 d(e,t){return new u(e,t)}},29570:(e,t,r)=>{r.d(t,{q:()=>n});let n=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n}},29890:(e,t,r)=>{r.d(t,{r:()=>i});var n=r(98294);function i(e,t){let r=e?.[t]??e?.default??e;return r!==e?(0,n.K)(r,e):r}},31097:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(90415);function i(e){return(0,n.G)(e)&&"ownerSVGElement"in e}},31461:(e,t,r)=>{r.d(t,{V:()=>d,f:()=>f});var n=r(25893);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=r(70683),a=r(59126);let s="number",l="color",u=/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 d(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},o=[],a=0,d=t.replace(u,e=>(n.y.test(e)?(i.color.push(a),o.push(l),r.push(n.y.parse(e))):e.startsWith("var(")?(i.var.push(a),o.push("var"),r.push(e)):(i.number.push(a),o.push(s),r.push(parseFloat(e))),++a,"${}")).split("${}");return{values:r,split:d,indexes:i,types:o}}function c({split:e,types:t}){let r=e.length;return i=>{let o="";for(let u=0;u<r;u++)if(o+=e[u],void 0!==i[u]){let e=t[u];e===s?o+=(0,a.a)(i[u]):e===l?o+=n.y.transform(i[u]):o+=i[u]}return o}}let h=e=>"number"==typeof e?0:n.y.test(e)?n.y.getAnimatableNone(e):e,p=(e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:h(e),f={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(o.S)?.length||0)+(e.match(i)?.length||0)>0},parse:function(e){return d(e).values},createTransformer:function(e){return c(d(e))},getAnimatableNone:function(e){let t=d(e);return c(t)(t.values.map((e,r)=>p(e,t.split[r])))}}},31509:(e,t,r)=>{r.d(t,{e:()=>i});let n=e=>e.startsWith("--");function i(e,t,r){n(t)?e.style.setProperty(t,r):e.style[t]=r}},32415:(e,t,r)=>{r.d(t,{t:()=>n});let n=(0,r(83190).createContext)(null)},33933:(e,t,r)=>{r.d(t,{V:()=>n});let n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},34819:(e,t,r)=>{r.d(t,{B:()=>u});var n=r(10070),i=r(82038),o=r(59126),a=r(10007);let s=e=>(0,n.q)(0,255,e),l={...i.ai,transform:e=>Math.round(s(e))},u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(r)+", "+(0,o.a)(i.X4.transform(n))+")"}},37290:(e,t,r)=>{r.d(t,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...r(10215).U])},37295:(e,t,r)=>{r.d(t,{K:()=>i});var n=r(13915);function i(e,t,r){let i=e.getProps();return(0,n.a)(i,t,void 0!==r?r:i.custom,e)}},38287:(e,t,r)=>{r.d(t,{V:()=>s});var n=r(82038),i=r(68747),o=r(59126),a=r(10007);let s={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,o.a)(t))+", "+i.KN.transform((0,o.a)(r))+", "+(0,o.a)(n.X4.transform(a))+")"}},38362:(e,t,r)=>{r.d(t,{L:()=>n});function n(e,t,r,i=0,o=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),s=e.size,l=(s-1)*i;return"function"==typeof r?r(a,s):1===o?a*i:l-a*i}},39105:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[o,a]of Object.entries(t)){if(!t.hasOwnProperty(o)||n.includes(o)||void 0===a)continue;let s=r[o]||o.toLowerCase();"SCRIPT"===e.tagName&&i(s)?e[s]=!!a:e.setAttribute(s,String(a)),(!1===a||"SCRIPT"===e.tagName&&i(s)&&(!a||"false"===a))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40331:(e,t,r)=>{r.d(t,{P:()=>nM});var n=r(10215),i=r(25893),o=r(31461),a=r(70683);let s=new Set(["brightness","contrast","saturate","opacity"]);function l(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(a.S)||[];if(!n)return e;let i=r.replace(n,""),o=+!!s.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let u=/\b([a-z-]*)\(.*?\)/gu,d={...o.f,getAnimatableNone:e=>{let t=e.match(u);return t?t.map(l).join(" "):e}},c={...o.f,getAnimatableNone:e=>{let t=o.f.parse(e);return o.f.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}};var h=r(82038);let p={...h.ai,transform:Math.round};var f=r(68747);let m={rotate:f.uj,rotateX:f.uj,rotateY:f.uj,rotateZ:f.uj,scale:h.hs,scaleX:h.hs,scaleY:h.hs,scaleZ:h.hs,skew:f.uj,skewX:f.uj,skewY:f.uj,distance:f.px,translateX:f.px,translateY:f.px,translateZ:f.px,x:f.px,y:f.px,z:f.px,perspective:f.px,transformPerspective:f.px,opacity:h.X4,originX:f.gQ,originY:f.gQ,originZ:f.px},g={borderWidth:f.px,borderTopWidth:f.px,borderRightWidth:f.px,borderBottomWidth:f.px,borderLeftWidth:f.px,borderRadius:f.px,borderTopLeftRadius:f.px,borderTopRightRadius:f.px,borderBottomRightRadius:f.px,borderBottomLeftRadius:f.px,width:f.px,maxWidth:f.px,height:f.px,maxHeight:f.px,top:f.px,right:f.px,bottom:f.px,left:f.px,inset:f.px,insetBlock:f.px,insetBlockStart:f.px,insetBlockEnd:f.px,insetInline:f.px,insetInlineStart:f.px,insetInlineEnd:f.px,padding:f.px,paddingTop:f.px,paddingRight:f.px,paddingBottom:f.px,paddingLeft:f.px,paddingBlock:f.px,paddingBlockStart:f.px,paddingBlockEnd:f.px,paddingInline:f.px,paddingInlineStart:f.px,paddingInlineEnd:f.px,margin:f.px,marginTop:f.px,marginRight:f.px,marginBottom:f.px,marginLeft:f.px,marginBlock:f.px,marginBlockStart:f.px,marginBlockEnd:f.px,marginInline:f.px,marginInlineStart:f.px,marginInlineEnd:f.px,fontSize:f.px,backgroundPositionX:f.px,backgroundPositionY:f.px,...m,zIndex:p,fillOpacity:h.X4,strokeOpacity:h.X4,numOctaves:p},y={...g,color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:d,WebkitFilter:d,mask:c,WebkitMask:c},v=e=>y[e],b=()=>({translate:0,scale:1,origin:0,originPoint:0}),x=()=>({x:b(),y:b()}),w=()=>({min:0,max:0}),k=()=>({x:w(),y:w()});var S=r(21206),T=r(37290);let P=e=>t=>t.test(e),E=[h.ai,f.px,f.KN,f.uj,f.vw,f.vh,{test:e=>"auto"===e,parse:e=>e}],C=e=>E.find(P(e));var M=r(86806);let A=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var j=r(70743);let R=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var L=r(81572);let V=e=>/^0[^.\s]+$/u.test(e),D=new Set([d,c]);function O(e,t){let r=v(e);return D.has(r)||(r=o.f),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let I=new Set(["auto","none","0"]);var B=r(84561);class N extends L.h{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&(n=n.trim(),(0,j.pG)(n))){let i=function e(t,r,n=1){(0,M.V)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=R.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let e=a.trim();return A(e)?parseFloat(e):e}return(0,j.pG)(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!T.$.has(r)||2!==e.length)return;let[n,i]=e,o=C(n),a=C(i);if((0,j.rm)(n)!==(0,j.rm)(i)&&B.Hr[r]){this.needsMeasurement=!0;return}if(o!==a)if((0,B.E4)(o)&&(0,B.E4)(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else B.Hr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;(null===e[t]||("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||V(n)))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!I.has(t)&&(0,o.V)(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=O(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=B.Hr[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,o=r[i];r[i]=B.Hr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}var F=r(56407),_=r(92530),z=r(70451),U=r(99982);let{schedule:$}=(0,r(98561).I)(queueMicrotask,!1);var W=r(23992),G=r(29567);let H=[...E,i.y,o.f],q=e=>H.find(P(e)),X=new WeakMap;function Y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function K(e){return"string"==typeof e||Array.isArray(e)}let Q=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Z=["initial",...Q];function J(e){return Y(e.animate)||Z.some(t=>K(e[t]))}function ee(e){return!!(J(e)||e.variants)}var et=r(20248),er=r(13915),en=r(95991),ei=r(23078);let eo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ea={};class es{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:a},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=L.h,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=W.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ei.Gt.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=J(t),this.isVariantNode=ee(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:d,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==l[e]&&(0,S.S)(t)&&t.set(l[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,X.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(en.r.current||(0,et.Uu)(),this.shouldReduceMotion=en.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,ei.WG)(this.notifyUpdate),(0,ei.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),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??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&U.M.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:a}=t.accelerate,s=new z.m({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:(0,F.f)(a)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let i=n.f.has(e);i&&this.onBindTransform&&this.onBindTransform();let o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ei.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{o(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ea){let t=ea[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(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):k()}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<eo.length;t++){let r=eo[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],o=r[n];if((0,S.S)(i))e.addValue(n,i);else if((0,S.S)(o))e.addValue(n,(0,G.OQ)(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,(0,G.OQ)(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(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 r=this.values.get(e);t!==r&&(r&&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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,G.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(A(r)||V(r))?r=parseFloat(r):!q(r)&&o.f.test(t)&&(r=O(e,t)),this.setBaseTarget(e,(0,S.S)(r)?r.get():r)),(0,S.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=(0,er.a)(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||(0,S.S)(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new _.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){$.render(this.render)}}class el extends es{constructor(){super(...arguments),this.KeyframeResolver=N}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,S.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var eu=r(23934);let ed=(e,t)=>t&&"number"==typeof e?t.transform(e):e,ec={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eh=n.U.length;function ep(e,t,r){let{style:i,vars:o,transformOrigin:a}=e,s=!1,l=!1;for(let e in t){let r=t[e];if(n.f.has(e)){s=!0;continue}if((0,j.j4)(e)){o[e]=r;continue}{let t=ed(r,g[e]);e.startsWith("origin")?(l=!0,a[e]=t):i[e]=t}}if(!t.transform&&(s||r?i.transform=function(e,t,r){let i="",o=!0;for(let a=0;a<eh;a++){let s=n.U[a],l=e[s];if(void 0===l)continue;let u=!0;
1if("number"==typeof l)u=l===+!!s.startsWith("scale");else{let e=parseFloat(l);u=s.startsWith("scale")?1===e:0===e}if(!u||r){let e=ed(l,g[s]);if(!u){o=!1;let t=ec[s]||s;i+=`${t}(${e}) `}r&&(t[s]=e)}}return i=i.trim(),r?i=r(t,o?"":i):o&&(i="none"),i}(t,e.transform,r):i.transform&&(i.transform="none")),l){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;i.transformOrigin=`${e} ${t} ${r}`}}let ef={offset:"stroke-dashoffset",array:"stroke-dasharray"},em={offset:"strokeDashoffset",array:"strokeDasharray"},eg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ey(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,u,d){if(ep(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:h}=e;for(let e of(c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete c.transformBox),eg))void 0!==c[e]&&(h[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==r&&(c.y=r),void 0!==n&&(c.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?ef:em;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(c,i,o,a,!1)}let ev=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"]),eb=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ex(e,{style:t,vars:r},n,i){let o,a=e.style;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,n),r)a.setProperty(o,r[o])}function ew(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ek={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!f.px.test(e))return e;else e=parseFloat(e);let r=ew(e,t.target.x),n=ew(e,t.target.y);return`${r}% ${n}%`}};var eS=r(67577);let eT={borderRadius:{...ek,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ek,borderTopRightRadius:ek,borderBottomLeftRadius:ek,borderBottomRightRadius:ek,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=o.f.parse(e);if(n.length>5)return e;let i=o.f.createTransformer(e),a=+("number"!=typeof n[0]),s=r.x.scale*t.x,l=r.y.scale*t.y;n[0+a]/=s,n[1+a]/=l;let u=(0,eS.k)(s,l,.5);return"number"==typeof n[2+a]&&(n[2+a]/=u),"number"==typeof n[3+a]&&(n[3+a]/=u),i(n)}}};function eP(e,{layout:t,layoutId:r}){return n.f.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!eT[e]||"opacity"===e)}function eE(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)((0,S.S)(n[t])||i&&(0,S.S)(i[t])||eP(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function eC(e,t,r){let i=eE(e,t,r);for(let r in e)((0,S.S)(e[r])||(0,S.S)(t[r]))&&(i[-1!==n.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}class eM extends el{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=k}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(n.f.has(t)){let e=v(t);return e&&e.default||0}return t=ev.has(t)?t:(0,eu.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return eC(e,t,r)}build(e,t,r){ey(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in ex(e,t,void 0,n),t.attrs)e.setAttribute(ev.has(r)?r:(0,eu.I)(r),t.attrs[r])}mount(e){this.isSVGTag=eb(e.tagName),super.mount(e)}}var eA=r(62051);function ej({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function eR(e){return void 0===e||1===e}function eL({scale:e,scaleX:t,scaleY:r}){return!eR(e)||!eR(t)||!eR(r)}function eV(e){return eL(e)||eD(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function eD(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function eO(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function eI(e,t=0,r=1,n,i){e.min=eO(e.min,t,r,n,i),e.max=eO(e.max,t,r,n,i)}function eB(e,{x:t,y:r}){eI(e.x,t.translate,t.scale,t.originPoint),eI(e.y,r.translate,r.scale,r.originPoint)}function eN(e,t){e.min+=t,e.max+=t}function eF(e,t,r,n,i=.5){let o=(0,eS.k)(e.min,e.max,i);eI(e,t,r,o,n)}function e_(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function ez(e,t,r){let n=r??e;eF(e.x,e_(t.x,n.x),t.scaleX,t.scale,t.originX),eF(e.y,e_(t.y,n.y),t.scaleY,t.scale,t.originY)}function eU(e,t){return ej(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class e$ extends el{constructor(){super(...arguments),this.type="html",this.renderInstance=ex}readValueFromInstance(e,t){if(n.f.has(t))return this.projection?.isProjecting?(0,eA.zs)(t):(0,eA.Ib)(e,t);{let r=window.getComputedStyle(e),n=((0,j.j4)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return eU(e,t)}build(e,t,r){ep(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return eE(e,t,r)}}var eW=r(83190);let eG=["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 eH(e){if("string"!=typeof e||e.includes("-"));else if(eG.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var eq=r(44406),eX=r(60515);let eY=(0,eW.createContext)({strict:!1});var eK=r(88094);let eQ=(0,eW.createContext)({});function eZ(e){return Array.isArray(e)?e.join(" "):e}let eJ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e0(e,t,r){for(let n in t)(0,S.S)(t[n])||eP(n,r)||(e[n]=t[n])}let e1=()=>({...eJ(),attrs:{}}),e2=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"]);function e5(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||e2.has(e)}let e4=e=>!e5(e);try{!function(e){"function"==typeof e&&(e4=t=>t.startsWith("on")?!e5(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}function e9(e){return(0,S.S)(e)?e.get():e}var e3=r(32415),e7=r(76455);let e8=e=>(t,r)=>{let n=(0,eW.useContext)(eQ),i=(0,eW.useContext)(e3.t),o=()=>(function(e,t,r,n){let{scrapeMotionValuesFromProps:i,createRenderState:o}=e;return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=e9(o[e]);let{initial:a,animate:s}=e,l=J(e),u=ee(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!r&&!1===r.initial,c=(d=d||!1===a)?s:a;if(c&&"boolean"!=typeof c&&!Y(c)){let t=Array.isArray(c)?c:[c];for(let r=0;r<t.length;r++){let n=(0,er.a)(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(t,r,n,i),renderState:o()}})(e,t,n,i);return r?o():(0,e7.M)(o)},e6=e8({scrapeMotionValuesFromProps:eE,createRenderState:eJ}),te=e8({scrapeMotionValuesFromProps:eC,createRenderState:e1}),tt={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"]},tr=!1;function tn(){return!function(){if(tr)return;let e={};for(let t in tt)e[t]={isEnabled:e=>tt[t].some(t=>!!e[t])};ea=e,tr=!0}(),ea}let ti=Symbol.for("motionComponentSymbol");var to=r(54464);let ta=(0,eW.createContext)({});function ts(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var tl=r(71316);function tu(e){var t,r;let{forwardMotionProps:n=!1,type:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;o&&function(e){let t=tn();for(let r in e)t[r]={...t[r],...e[r]};ea=t}(o);let s=i?"svg"===i:eH(e),l=s?te:e6;function u(t,r){let i,o={...(0,eW.useContext)(eK.Q),...t,layoutId:function(e){let{layoutId:t}=e,r=(0,eW.useContext)(eX.L).id;return r&&void 0!==t?r+"-"+t:t}(t)},{isStatic:u}=o,d=function(e){let{initial:t,animate:r}=function(e,t){if(J(e)){let{initial:t,animate:r}=e;return{initial:!1===t||K(t)?t:void 0,animate:K(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,eW.useContext)(eQ));return(0,eW.useMemo)(()=>({initial:t,animate:r}),[eZ(t),eZ(r)])}(t),c=l(t,u);if(!u&&"undefined"!=typeof window){var h,p;h=0,p=0,(0,eW.useContext)(eY).strict;let t=function(e){let{drag:t,layout:r}=tn();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(o);i=t.MeasureLayout,d.visualElement=function(e,t,r,n,i,o){var a,s,l,u;let{visualElement:d}=(0,eW.useContext)(eQ),c=(0,eW.useContext)(eY),h=(0,eW.useContext)(e3.t),p=(0,eW.useContext)(eK.Q),f=p.reducedMotion,m=p.skipAnimations,g=(0,eW.useRef)(null),y=(0,eW.useRef)(!1);n=n||c.renderer,!g.current&&n&&(g.current=n(e,{visualState:t,parent:d,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:f,skipAnimations:m,isSVG:o}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let v=g.current,b=(0,eW.useContext)(ta);v&&!v.projection&&i&&("html"===v.type||"svg"===v.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&ts(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}(g.current,r,i,b);let x=(0,eW.useRef)(!1);(0,eW.useInsertionEffect)(()=>{v&&x.current&&v.update(r,h)});let w=r[to.n],k=(0,eW.useRef)(!!w&&"undefined"!=typeof window&&!(null==(a=(s=window).MotionHandoffIsComplete)?void 0:a.call(s,w))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,w)));return(0,tl.E)(()=>{y.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),k.current&&v.animationState&&v.animationState.animateChanges())}),(0,eW.useEffect)(()=>{v&&(!k.current&&v.animationState&&v.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var e,t;null==(e=(t=window).MotionHandoffMarkAsComplete)||e.call(t,w)}),k.current=!1),v.enteringChildren=void 0)}),v}(e,c,o,a,t.ProjectionNode,s)}return(0,eq.jsxs)(eQ.Provider,{value:d,children:[i&&d.visualElement?(0,eq.jsx)(i,{visualElement:d.visualElement,...o}):null,function(e,t,r,n,i){let{latestValues:o}=n,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0,l=((null!=s?s:eH(e))?function(e,t,r,n){let i=(0,eW.useMemo)(()=>{let r=e1();return ey(r,t,eb(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};e0(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return e0(n,r,e),Object.assign(n,function(e,t){let{transformTemplate:r}=e;return(0,eW.useMemo)(()=>{let e=eJ();return ep(e,t,r),Object.assign({},e.vars,e.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(t,o,i,e),u=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!(0,S.S)(e[i])&&(e4(i)||!0===r&&e5(i)||!t&&!e5(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,a),d=e!==eW.Fragment?{...u,...l,ref:r}:{},{children:c}=t,h=(0,eW.useMemo)(()=>(0,S.S)(c)?c.get():c,[c]);return(0,eW.createElement)(e,{...d,children:h})}(e,t,function(e,t,r){let n=(0,eW.useRef)(r);(0,eW.useInsertionEffect)(()=>{n.current=r});let i=(0,eW.useRef)(null);return(0,eW.useCallback)(r=>{if(r){var o;null==(o=e.onMount)||o.call(e,r)}let a=n.current;if("function"==typeof a)if(r){let e=a(r);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):a(r);else a&&(a.current=r);t&&(r?t.mount(r):t.unmount())},[t])}(c,d.visualElement,r),c,u,n,s)]})}u.displayName="motion.".concat("string"==typeof e?e:"create(".concat(null!=(r=null!=(t=e.displayName)?t:e.name)?r:"",")"));let d=(0,eW.forwardRef)(u);return d[ti]=e,d}class td{constructor(e){this.isMounted=!1,this.node=e}update(){}}var tc=r(87630),th=r(38362);let tp=Z.length;var tf=r(69440),tm=r(37295);function tg(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let ty=[...Q].reverse(),tv=Q.length;function tb(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tx(){return{animate:tb(!0),whileInView:tb(),whileHover:tb(),whileTap:tb(),whileDrag:tb(),whileFocus:tb(),exit:tb()}}class tw extends td{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(0,tc._)(e,t,r))),r=tx(),n=!0,i=!1,o=t=>(r,n)=>{let i=(0,tm.K)(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function a(a){let{props:s}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<tp;e++){let n=Z[e],i=t.props[n];
1(K(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],d=new Set,c={},h=1/0;for(let t=0;t<tv;t++){var p,f;let m=ty[t],g=r[m],y=void 0!==s[m]?s[m]:l[m],v=K(y),b=m===a?g.isActive:null;!1===b&&(h=t);let x=y===l[m]&&y!==s[m]&&v;if(x&&(n||i)&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...c},!g.isActive&&null===b||!y&&!g.prevProp||Y(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!tg(f,p)),k=w||m===a&&g.isActive&&!x&&v||t>h&&v,S=!1,T=Array.isArray(y)?y:[y],P=T.reduce(o(m),{});!1===b&&(P={});let{prevResolvedValues:E={}}=g,C={...E,...P},M=t=>{k=!0,d.has(t)&&(S=!0,d.delete(t)),g.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in C){let t=P[e],r=E[e];if(c.hasOwnProperty(e))continue;let n=!1;((0,tf.p)(t)&&(0,tf.p)(r)?tg(t,r):t===r)?void 0!==t&&d.has(e)?M(e):g.protectedKeys[e]=!0:null!=t?M(e):d.add(e)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(c={...c,...P}),(n||i)&&e.blockInitialAnimation&&(k=!1);let A=x&&w,j=!A||S;k&&j&&u.push(...T.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!A&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=(0,tm.K)(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=(0,th.L)(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(d.size){let t={};if("boolean"!=typeof s.initial){let r=(0,tm.K)(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}d.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:a,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=a(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=tx(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Y(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?.()}}let tk=0;class tS extends td{constructor(){super(...arguments),this.id=tk++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=(0,tm.K)(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.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(){}}var tT=r(11771);let tP={x:!1,y:!1};function tE(e){return[e("x"),e("y")]}function tC(e){return e.max-e.min}function tM(e,t,r,n=.5){e.origin=n,e.originPoint=(0,eS.k)(t.min,t.max,e.origin),e.scale=tC(r)/tC(t),e.translate=(0,eS.k)(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function tA(e,t,r,n){tM(e.x,t.x,r.x,n?n.originX:void 0),tM(e.y,t.y,r.y,n?n.originY:void 0)}function tj(e,t,r,n=0){e.min=(n?(0,eS.k)(r.min,r.max,n):r.min)+t.min,e.max=e.min+tC(t)}function tR(e,t,r,n=0){let i=n?(0,eS.k)(r.min,r.max,n):r.min;e.min=t.min-i,e.max=e.min+tC(t)}function tL(e,t,r,n){tR(e.x,t.x,r.x,n?.x),tR(e.y,t.y,r.y,n?.y)}var tV=r(5722),tD=r(62986);let tO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tI=new Set(["INPUT","SELECT","TEXTAREA"]);function tB(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var tN=r(45229);let tF=e=>
1"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function t_(e){return{point:{x:e.pageX,y:e.pageY}}}let tz=e=>t=>tF(t)&&e(t,t_(t));function tU(e,t,r,n){return tB(e,t,tz(r),n)}let t$=({current:e})=>e?e.ownerDocument.defaultView:null;var tW=r(83247);let tG=(e,t)=>Math.abs(e-t),tH=new Set(["auto","scroll"]);class tq{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){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=tX(this.lastRawMoveEventInfo,this.transformPagePoint));let e=tK(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){return Math.sqrt(tG(e.x,t.x)**2+tG(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!r)return;let{point:n}=e,{timestamp:i}=ei.uv;this.history.push({...n,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=tX(t,this.transformPagePoint),ei.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=tK("pointercancel"===e.type?this.lastMoveEventInfo:tX(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!tF(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;let s=tX(t_(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=ei.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:d}=t;d&&d(e,tK(s,this.history)),this.removeListeners=(0,tW.F)(tU(this.contextWindow,"pointermove",this.handlePointerMove),tU(this.contextWindow,"pointerup",this.handlePointerUp),tU(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(tH.has(e.overflowX)||tH.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 r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?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,n),ei.Gt.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,ei.WG)(this.updatePoint)}}function tX(e,t){return t?{point:t(e.point)}:e}function tY(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tK({point:e},t){return{point:e,delta:tY(e,tQ(t)),offset:tY(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=tQ(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>(0,F.f)(.1)));)r--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&i.timestamp-n.timestamp>2*(0,F.f)(t)&&(n=e[1]);let o=(0,F.X)(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,.1)}}function tQ(e){return e[e.length-1]}var tZ=r(29570),tJ=r(10070);function t0(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function t1(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function t2(e,t,r){return{min:t5(e,t),max:t5(e,r)}}function t5(e,t){return"number"==typeof e?e:e[t]||0}let t4=new WeakMap;class t9{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=k(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new tq(e,{onSessionStart:e=>{t&&this.snapToCursor(t_(e).point),this.stopAnimation()},onStart:(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(tP[e])return null;else return tP[e]=!0,()=>{tP[e]=!1};return tP.x||tP.y?null:(tP.x=tP.y=!0,()=>{tP.x=tP.y=!1})}(r),!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),tE(e=>{let t=this.getAxisMotionValue(e).get()||0;if(f.KN.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=tC(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&ei.Gt.update(()=>i(e,t),!1,!0),(0,tV.g)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&ei.Gt.update(()=>o(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:r,contextWindow:t$(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:a}=this.getProps();a&&ei.Gt.postRender(()=>a(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&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,r){let{drag:n}=this.getProps();if(!r||!t7(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?(0,eS.k)(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?(0,eS.k)(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&ts(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:t0(e.x,r,i),y:t0(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:t2(e,"left","right"),y:t2(e,"top","bottom")}}(t),n!==this.constraints&&!ts(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&tE(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ts(t))return!1;let n=t.current;(0,M.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=eU(e,r),{scroll:i}=t;return i&&(eN(n.x,i.offset.x),eN(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a=(e=i.layout.layoutBox,{x:t1(e.x,o.x),y:t1(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=ej(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(tE(a=>{if(!t7(a,t,this.currentDirection))return;let l=s&&s[a]||{};(!0===o||o===a)&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return(0,tV.g)(this.visualElement,e),r.start((0,tD.f)(e,r,0,t,this.visualElement,!1))}stopAnimation(){tE(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){tE(t=>{let{drag:r}=this.getProps();if(!t7(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],a=i.get()||0;i.set(e[t]-(0,eS.k)(r,o,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!ts(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tE(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=function(e,t){let r=.5,n=tC(e),i=tC(t);return i>n?r=(0,tZ.q)(t.min,t.max-n,e.min):n>i&&(r=(0,tZ.q)(e.min,e.max-i,t.min)),(0,tJ.q)(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),tE(t=>{if(!t7(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set((0,eS.k)(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;t4.set(this.visualElement,this);let t=this.visualElement.current,r=tU(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}
1=this.getProps(),i=e.target,o=i!==t&&(tI.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{let{dragConstraints:r}=this.getProps();ts(r)&&r.current&&(this.constraints=this.resolveRefConstraints(),e||(e=function(e,t,r){let n=(0,tN.X)(e,t3(r)),i=(0,tN.X)(t,t3(r));return()=>{n(),i()}}(t,r.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ei.Gt.read(n);let a=tB(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(tE(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),r(),o(),s&&s(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function t3(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function t7(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class t8 extends td{constructor(e){super(e),this.removeGroupControls=tT.l,this.removeListeners=tT.l,this.controls=new t9(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tT.l}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()}}let t6=e=>(t,r)=>{e&&ei.Gt.update(()=>e(t,r),!1,!0)};class re extends td{constructor(){super(...arguments),this.removePointerDownListener=tT.l}onPointerDown(e){this.session=new tq(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t$(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:t6(e),onStart:t6(t),onMove:t6(r),onEnd:(e,t)=>{delete this.session,n&&ei.Gt.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=tU(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rr=r(16200);let rn=!1;class ri extends eW.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),rn&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),rn=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||ei.Gt.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),$.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;rn=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ro(e){let[t,r]=(0,rr.xQ)(),n=(0,eW.useContext)(eX.L);return(0,eq.jsx)(ri,{...e,layoutGroup:n,switchLayoutGroup:(0,eW.useContext)(ta),isPresent:t,safeToRemove:r})}var ra=r(99866),rs=r(29890),rl=r(72989),ru=r(41299),rd=r(31097),rc=r(10632);let rh=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],rp=rh.length,rf=e=>"string"==typeof e?parseFloat(e):e,rm=e=>"number"==typeof e||f.px.test(e);function rg(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ry=rb(0,.5,rc.yT),rv=rb(.5,.95,tT.l);function rb(e,t,r){return n=>n<e?0:n>t?1:r((0,tZ.q)(e,t,n))}function rx(e,t){e.min=t.min,e.max=t.max}function rw(e,t){rx(e.x,t.x),rx(e.y,t.y)}function rk(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rS(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function rT(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(f.KN.test(t)&&(t=parseFloat(t),t=(0,eS.k)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=(0,eS.k)(o.min,o.max,n);e===o&&(s-=t),e.min=rS(e.min,t,r,s,i),e.max=rS(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let rP=["x","scaleX","originX"],rE=["y","scaleY","originY"];function rC(e,t,r,n){rT(e.x,t,rP,r?r.x:void 0,n?n.x:void 0),rT(e.y,t,rE,r?r.y:void 0,n?n.y:void 0)}function rM(e){return 0===e.translate&&1===e.scale}function rA(e){return rM(e.x)&&rM(e.y)}function rj(e,t){return e.min===t.min&&e.max===t.max}function rR(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rL(e,t){return rR(e.x,t.x)&&rR(e.y,t.y)}function rV(e){return tC(e.x)/tC(e.y)}function rD(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var rO=r(88564);class rI{constructor(){this.members=[]}add(e){(0,rO.Kq)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||((0,rO.Ai)(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if((0,rO.Ai)(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(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isU
1pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.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)}}let rB=(e,t)=>e.depth-t.depth;class rN{constructor(){this.children=[],this.isDirty=!1}add(e){(0,rO.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,rO.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rB),this.isDirty=!1,this.children.forEach(e)}}let rF={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},r_=["","X","Y","Z"],rz=0;function rU(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function r$({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=rz++,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,ru.Q.value&&(rF.nodes=rF.calculatedTargetDeltas=rF.calculatedProjections=0),this.nodes.forEach(rH),this.nodes.forEach(r1),this.nodes.forEach(r2),this.nodes.forEach(rq),ru.Q.addProjectionMetrics&&ru.Q.addProjectionMetrics(rF)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rN)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new _.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,rd.x)(t)&&(!(0,rd.x)(t)||"svg"!==t.tagName),this.instance=t;let{layoutId:r,layout:n,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&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;ei.Gt.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=W.k.now(),n=({timestamp:i})=>{let o=i-r;o>=250&&((0,ei.WG)(n),e(o-t))};return ei.Gt.setup(n,!0),()=>(0,ei.WG)(n)}(i,250),rt.hasAnimatedSinceResize&&(rt.hasAnimatedSinceResize=!1,this.nodes.forEach(r0)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||r8,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!rL(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,rs.r)(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||r0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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(),(0,ei.WG)(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.forEac
1h(r5),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&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=(0,ra.P)(r);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ei.Gt,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(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,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(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(rK),this.nodes.forEach(rY);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rQ);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rZ),this.nodes.forEach(rJ),this.nodes.forEach(rW),this.nodes.forEach(rG)):this.nodes.forEach(rQ),this.clearAllSnapshots();let e=W.k.now();ei.uv.delta=(0,tJ.q)(0,1e3/60,e-ei.uv.timestamp),ei.uv.timestamp=e,ei.uv.isProcessing=!0,ei.PP.update.process(ei.uv),ei.PP.preRender.process(ei.uv),ei.PP.render.process(ei.uv),ei.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rX),this.sharedNodes.forEach(r4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ei.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ei.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tC(this.snapshot.measuredBox.x)||tC(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||(this.layoutCorrected=k()),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=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(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&&!rA(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||eV(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),nt((t=n).x),nt(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return k();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nn))){let{scroll:e}=this.root;e&&(eN(t.x,e.offset.x),eN(t.y,e.offset.y))}return t}removeElementScroll(e){let t=k();if(rw(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&rw(t,e),eN(t.x,i.offset.x),eN(t.y,i.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||k();rw(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(eN(n.x,-r.scroll.offset.x),eN(n.y,-r.scroll.offset.y)),eV(r.latestValues)&&ez(n,r.latestValues,r.layout?.layoutBox)}return eV(this.latestValues)&&ez(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=k();rw(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];eV(n.latestValues)&&(n.instance&&(eL(n.latestValues)&&n.updateSnapshot(),rw(r=k(),n.measurePageBox())),rC(t,n.latestValues,n.snapshot?.layoutBox,r))}return eV(this.latestValues)&&rC(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||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!==ei.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=ei.uv.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=k(),this.targetWithTransforms=k()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,s,l,u;this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,tj(a.x,s.x,l.x,u?.x),tj(a.y,s.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rw(this.target,this.layout.layoutBox),eB(this.target,this.targetDelta)):rw(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),ru.Q.value&&rF.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||eL(this.parent.latestValues)||eD(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=k(),this.relativeTargetOrigin=k(),tL(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),rw(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===ei.uv.timestamp&&(r=!1),r)return;let{layout:n,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||!(n||i))return;rw(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,r,n=!1){let i,o,a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let{visualElement:a}=i.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(eN(e.x,-i.scroll.offset.x),eN(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,eB(e,o)),n&&eV(i.latestValues)&&ez(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=k());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rk(this.prevProjectionDelta.x,this.projectionDelta.x),rk(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tA(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&rD(this.projectionDelta.x,this.prevProjectionDelta.x)&&rD(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),ru.Q.value&&rF.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=x(),this.projectionDelta=x(),this.projectionDeltaWithTransform=x()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=x();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=k(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(r7));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(r9(a.x,e.x,n),r9(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,m,g,y;tL(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,g=s,y=n,r3(p.x,m.x,g.x,y),r3(p.y,m.y,g.y,y),r&&(u=this.relativeTarget,h=r,rj(u.x,h.x)&&rj(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=k()),rw(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=(0,eS.k)(0,r.opacity??1,ry(n)),e.opacityExit=(0,eS.k)(t.opacity??1,0,rv(n))):o&&(e.opacity=(0,eS.k)(t.opacity??1,r.opacity??1,n));for(let i=0;i<rp;i++){let o=rh[i],a=rg(t,o),s=rg(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||rm(a)===rm(s)?(e[o]=Math.max((0,eS.k)(rf(a),rf(s),n),0),(f.KN.test(s)||f.KN.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=(0,eS.k)(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,c,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ei.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ei.Gt.update(()=>{rt.hasAnimatedSinceResize=!0,rl.q.layout++,this.motionValue||(this.motionValue=(0,G.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,r){let n=(0,S.S)(e)?e:(0,G.OQ)(e);return n.start((0,tD.f)("",n,t,r)),n.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{rl.q.layout--},onComplete:()=>{rl.q.layout--,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(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&nr(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||k();let t=tC(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=tC(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}rw(t,r),ez(t,i),tA(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rI),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.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:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&rU("z",e,n,this.animationValues);for(let t=0;t<r_.length;t++)rU(`rotate${r_[t]}`,e,n,this.animationValues),rU(`skew${r_[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=e9(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=e9(t?.pointerEvents)||""),this.hasProjected&&!eV(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();
1let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,a=r?.z||0;if((i||o||a)&&(n=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:a,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,eT){if(void 0===i[t])continue;let{correct:r,applyTo:a,isCSSVariable:s}=eT[t],l="none"===o?i[t]:r(i[t],n);if(a){let t=a.length;for(let r=0;r<t;r++)e[a[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?e9(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(rY),this.root.sharedNodes.clear()}}}function rW(e){e.updateLayout()}function rG(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)tE(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=tC(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";rx(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else nr(i,t.layoutBox,r)&&tE(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],a=tC(r[n]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=x();tA(a,r,t.layoutBox);let s=x();o?tA(s,e.applyTransform(n,!0),t.measuredBox):tA(s,r,t.layoutBox);let l=!rA(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=e.options.layoutAnchor||void 0,s=k();tL(s,t.layoutBox,i.layoutBox,a);let l=k();tL(l,r,o.layoutBox,a),rL(s,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rH(e){ru.Q.value&&rF.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rq(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rX(e){e.clearSnapshot()}function rY(e){e.clearMeasurements()}function rK(e){e.isLayoutDirty=!0,e.updateLayout()}function rQ(e){e.isLayoutDirty=!1}function rZ(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function rJ(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r1(e){e.resolveTargetDelta()}function r2(e){e.calcProjection()}function r5(e){e.resetSkewAndRotation()}function r4(e){e.removeLeadSnapshot()}function r9(e,t,r){e.translate=(0,eS.k)(t.translate,0,r),e.scale=(0,eS.k)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function r3(e,t,r,n){e.min=(0,eS.k)(t.min,r.min,n),e.max=(0,eS.k)(t.max,r.max,n)}function r7(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let r8={duration:.45,ease:[.4,0,.1,1]},r6=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ne=r6("applewebkit/")&&!r6("chrome/")?Math.round:tT.l;function nt(e){e.min=ne(e.min),e.max=ne(e.max)}function nr(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rV(t)-rV(r)))}function nn(e){return e!==e.root&&e.scroll?.wasRoot}let ni=r$({attachResizeListener:(e,t)=>tB(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),no={current:void 0},na=r$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!no.current){let e=new ni({});e.mount(window),e.setOptions({layoutScroll:!0}),no.current=e}return no.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var ns=r(89657);function nl(e,t){let r=(0,ns.K)(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function nu(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&ei.Gt.postRender(()=>i(t,t_(t)))}class nd extends td{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=nl(e,r);return n.forEach(e=>{let r,n=!1,o=!1,a=()=>{e.removeEventListener("pointerleave",u)},s=e=>{r&&(r(e),r=void 0),a()},l=e=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),o&&(o=!1,s(e))},u=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||tP.x||tP.y)return;o=!1;let a=t(e,n);"function"==typeof a&&(r=a,e.addEventListener("pointerleave",u,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,i),window.addEventListener("pointercancel",l,i)},i)}),o}(e,(e,t)=>(nu(this.node,t,"Start"),e=>nu(this.node,e,"End"))))}unmount(){}}class nc extends td{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=(0,tW.F)(tB(this.node.current,"focus",()=>this.onFocus()),tB(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var nh=r(12402);let np=(e,t)=>!!t&&(e===t||np(e,t.parentElement)),nf=new WeakSet;function nm(e){return t=>{"Enter"===t.key&&e(t)}}function ng(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let ny=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=nm(()=>{if(nf.has(r))return;ng(r,"down");let e=nm(()=>{ng(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>ng(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function nv(e){return tF(e)&&!(tP.x||tP.y)}let nb=new WeakSet;function nx(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&ei.Gt.postRender(()=>i(t,t_(t)))}class nw extends td{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=nl(e,r),a=e=>{let n=e.currentTarget;if(!nv(e)||nb.has(e))return;nf.add(n),r.stopPropagation&&nb.add(e);let o=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),nf.has(n)&&nf.delete(n),nv(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{a(e,n===window||n===document||r.useGlobalTarget||np(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),(0,nh.s)(e))&&(e.addEventListener("focus",e=>ny(e,i)),tO.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(nx(this.node,t,"Start"),(e,{success:t})=>nx(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let nk=new WeakMap,nS=new WeakMap,nT=e=>{let t=nk.get(e.target);t&&t(e)},nP=e=>{e.forEach(nT)},nE={some:0,all:1};
1class nC extends td{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:nE[n]};this.stopObserver=function(e,t,r){let n=function({root:e,...t}){let r=e||document;nS.has(r)||nS.set(r,{});let n=nS.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(nP,{root:e,...t})),n[i]}(t);return nk.set(e,r),n.observe(e),()=>{nk.delete(e),n.unobserve(e)}}(this.node.current,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:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let nM=function(e,t){if("undefined"==typeof Proxy)return tu;let r=new Map,n=(r,n)=>tu(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,tu(o,void 0,e,t)),r.get(o))})}({animation:{Feature:tw},exit:{Feature:tS},inView:{Feature:nC},tap:{Feature:nw},focus:{Feature:nc},hover:{Feature:nd},pan:{Feature:re},drag:{Feature:t8,ProjectionNode:na,MeasureLayout:ro},layout:{ProjectionNode:na,MeasureLayout:ro}},(e,t)=>t.isSVG??eH(e)?new eM(t):new e$(t,{allowProjection:e!==eW.Fragment}))},41299:(e,t,r)=>{r.d(t,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},43414:(e,t,r)=>{r.d(t,{u:()=>i});var n=r(34819);let i={test:(0,r(10007).$)("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:n.B.transform}},44509:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44779:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11771);let i=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function o(e,t,r,o){if(e===t&&r===o)return n.l;let a=t=>(function(e,t,r,n,o){let a,s,l=0;do(a=i(s=t+(r-t)/2,n,o)-e)>0?r=s:t=s;while(Math.abs(a)>1e-7&&++l<12);return s})(t,0,1,e,r);return e=>0===e||1===e?e:i(a(e),t,o)}},44846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return o},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}});let n=r(79410)._(r(92846)),i=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let d=e.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||i.test(o))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),""+o+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(d=d.replace("#","%23"))+s}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return o(e)}},45229:(e,t,r)=>{let n,i;r.d(t,{X:()=>f});var o=r(31097),a=r(89657);let s=new WeakMap,l=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:(0,o.x)(n)&&"getBBox"in n?n.getBBox()[t]:n[r],u=l("inline","width","offsetWidth"),d=l("block","height","offsetHeight");function c({target:e,borderBoxSize:t}){s.get(e)?.forEach(r=>{r(e,{get width(){return u(e,t)},get height(){return d(e,t)}})})}function h(e){e.forEach(c)}let p=new Set;function f(e,t){return"function"==typeof e?(p.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{p.delete(e),p.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):function(e,t){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(h));let r=(0,a.K)(e);
1return r.forEach(e=>{let r=s.get(e);r||(r=new Set,s.set(e,r)),r.add(t),n?.observe(e)}),()=>{r.forEach(e=>{let r=s.get(e);r?.delete(t),r?.size||n?.unobserve(e)})}}(e,t)}},45650:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return v},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return g}});let n=r(12921),i=r(79410),o=r(44406),a=n._(r(43971)),s=i._(r(83190)),l=r(42465),u=r(39105),d=r(44509),c=new Map,h=new Set,p=e=>{if(a.default.preinit)return void e.forEach(e=>{a.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},f=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:s="afterInteractive",onError:l,stylesheets:d}=e,f=r||t;if(f&&h.has(f))return;if(c.has(t)){h.add(f),c.get(t).then(n,l);return}let m=()=>{i&&i(),h.add(f)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});o?(g.innerHTML=o.__html||"",m()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",m()):t&&(g.src=t,c.set(t,y)),(0,u.setAttributesFromProps)(g,e),"worker"===s&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",s),d&&p(d),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(e))}):f(e)}function g(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:c,stylesheets:p,...m}=e,{updateScripts:g,scripts:y,getIsSsr:v,appDir:b,nonce:x}=(0,s.useContext)(l.HeadManagerContext),w=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;w.current||(i&&e&&h.has(e)&&i(),w.current=!0)},[i,t,r]);let k=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!k.current){if("afterInteractive"===u)f(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(e))}));k.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(g?(y[u]=(y[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:c,...m}]),g(y)):v&&v()?h.add(t||r):v&&!v()&&f(e)),b){if(p&&p.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:t}])+")"}});else return a.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:x,crossOrigin:m.crossOrigin}:{as:"script",nonce:x,crossOrigin:m.crossOrigin}),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...m,id:t}])+")"}});"afterInteractive"===u&&r&&a.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:x,crossOrigin:m.crossOrigin}:{as:"script",nonce:x,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let v=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54464:(e,t,r)=>{r.d(t,{n:()=>n});let n="data-"+(0,r(23934).I)("framerAppearId")},56407:(e,t,r)=>{r.d(t,{X:()=>i,f:()=>n});let n=e=>1e3*e,i=e=>e/1e3},59126:(e,t,r)=>{r.d(t,{a:()=>n});let n=e=>Math.round(1e5*e)/1e5},60515:(e,t,r)=>{r.d(t,{L:()=>n});let n=(0,r(83190).createContext)({})},62051:(e,t,r)=>{r.d(t,{Ib:()=>h,ry:()=>c,zs:()=>d});let n=e=>180*e/Math.PI,i=e=>a(n(Math.atan2(e[1],e[0]))),o={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:i,rotateZ:i,skewX:e=>n(Math.atan(e[1])),skewY:e=>n(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},a=e=>((e%=360)<0&&(e+=360),e),s=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),l=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:s,scaleY:l,scale:e=>(s(e)+l(e))/2,rotateX:e=>a(n(Math.atan2(e[6],e[5]))),rotateY:e=>a(n(Math.atan2(-e[2],e[0]))),rotateZ:i,rotate:i,skewX:e=>n(Math.atan(e[4])),skewY:e=>n(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function d(e){return+!!e.includes("scale")}function c(e,t){let r,n;if(!e||"none"===e)return d(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=u,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=o,n=t}if(!n)return d(t);let a=r[t],s=n[1].split(",").map(p);return"function"==typeof a?a(s):s[a]}let h=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return c(r,t)};function p(e){return parseFloat(e.trim())}},62986:(e,t,r)=>{r.d(t,{f:()=>ey});var n=r(56407),i=r(88147),o=r(11771),a=r(23992),s=r(83247),l=r(10070),u=r(72989),d=r(22830),c=r(23078);let h=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>c.Gt.update(t,e),stop:()=>(0,c.WG)(t),now:()=>c.uv.isProcessing?c.uv.timestamp:a.k.now()}};var p=r(86806),f=r(85778);function m(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let g={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 y(e,t){return e*Math.sqrt(1-t*t)}let v=["duration","bounce"],b=["stiffness","damping","mass"];function x(e,t){return t.some(t=>void 0!==e[t])}function w(e=g.visualDuration,t=g.bounce){let r,i,o,a,s,u,d="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:h}=d,k=d.keyframes[0],S=d.keyframes[d.keyframes.length-1],T={done:!1,value:k},{stiffness:P,damping:E,mass:C,duration:M,velocity:A,isResolvedFromDuration:j}=function(e){let t={velocity:g.velocity,stiffness:g.stiffness,damping:g.damping,mass:g.mass,isResolvedFromDuration:!1,...e};if(!x(e,b)&&x(e,v))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*(0,l.q)(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:g.mass,stiffness:n,damping:i}}else{let r=function({duration:e=g.duration,bounce:t=g.bounce,velocity:r=g.velocity,mass:i=g.mass}){let o,a;(0,p.$)(e<=(0,n.f)(g.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=(0,l.q)(g.minDamping,g.maxDamping,s),e=(0,l.q)(g.minDuration,g.maxDuration,(0,n.X)(e)),s<1?(o=t=>{let n=t*s,i=n*e;return .001-(n-r)/y(t,s)*Math.exp(-i)},a=t=>{let n=t*s*e,i=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=y(Math.pow(t,2),s);return(n*r+r-i)*a*(-o(t)+.001>0?-1:1)/l}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),a=t=>e*e*(r-t)*Math.exp(-t*e));let u=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(o,a,5/e);if(e=(0,n.f)(e),isNaN(u))return{stiffness:g.stiffness,damping:g.damping,duration:e};{let t=Math.pow(u,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:g.mass}).isResolvedFromDuration=!0}return t}({...d,velocity:-(0,n.X)(d.velocity||0)}),R=A||0,L=E/(2*Math.sqrt(P*C)),V=S-k,D=(0,n.X)(Math.sqrt(P/C)),O=5>Math.abs(V);if(c||(c=O?g.restSpeed.granular:g.restSpeed.default),h||(h=O?g.restDelta.granular:g.restDelta.default),L<1)o=y(D,L),a=(R+L*D*V)/o,r=e=>S-Math.exp(-L*D*e)*(a*Math.sin(o*e)+V*Math.cos(o*e)),s=L*D*a+V*o,u=L*D*V-a*o,i=e=>Math.exp(-L*D*e)*(s*Math.sin(o*e)+u*Math.cos(o*e));else if(1===L){r=e=>
1S-Math.exp(-D*e)*(V+(R+D*V)*e);let e=R+D*V;i=t=>Math.exp(-D*t)*(D*e*t-R)}else{let e=D*Math.sqrt(L*L-1);r=t=>{let r=Math.exp(-L*D*t),n=Math.min(e*t,300);return S-r*((R+L*D*V)*Math.sinh(n)+e*V*Math.cosh(n))/e};let t=(R+L*D*V)/e,n=L*D*t-V*e,o=L*D*V-t*e;i=t=>{let r=Math.exp(-L*D*t),i=Math.min(e*t,300);return r*(n*Math.sinh(i)+o*Math.cosh(i))}}let I={calculatedDuration:j&&M||null,velocity:e=>(0,n.f)(i(e)),next:e=>{if(!j&&L<1){let t=Math.exp(-L*D*e),r=Math.sin(o*e),i=Math.cos(o*e),l=S-t*(a*r+V*i);return T.done=Math.abs((0,n.f)(t*(s*r+u*i)))<=c&&Math.abs(S-l)<=h,T.value=T.done?S:l,T}let t=r(e);return j?T.done=e>=M:T.done=Math.abs((0,n.f)(i(e)))<=c&&Math.abs(S-t)<=h,T.value=T.done?S:t,T},toString:()=>{let e=Math.min(m(I),2e4),t=(0,f.K)(t=>I.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return I}w.applyToOptions=e=>{let t=function(e,t=100,r){let i=r({...e,keyframes:[0,t]}),o=Math.min(m(i),2e4);return{type:"keyframes",ease:e=>i.next(o*e).value/t,duration:(0,n.X)(o)}}(e,100,w);return e.ease=t.ease,e.duration=(0,n.f)(t.duration),e.type="keyframes",e};var k=r(19251);function S(e,t,r){let n=Math.max(t-5,0);return(0,k.f)(r-e(n),t-n)}function T({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:d}){let c,h,p=e[0],f={done:!1,value:p},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l,y=r*t,v=p+y,b=void 0===a?v:a(v);b!==v&&(y=b-p);let x=e=>-y*Math.exp(-e/n),k=e=>b+x(e),T=e=>{let t=x(e),r=k(e);f.done=Math.abs(t)<=u,f.value=f.done?b:r},P=e=>{m(f.value)&&(c=e,h=w({keyframes:[f.value,g(f.value)],velocity:S(k,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:d}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==c||(t=!0,T(e),P(e)),void 0!==c&&e>=c)?h.next(e-c):(t||T(e),f)}}}var P=r(11951);let E=e=>Array.isArray(e)&&"number"!=typeof e[0];var C=r(44779),M=r(33933),A=r(13244);let j=(0,C.A)(.33,1.53,.69,.99),R=(0,A.G)(j),L=(0,M.V)(R),V=e=>e>=1?1:(e*=2)<1?.5*R(e):.5*(2-Math.pow(2,-10*(e-1)));var D=r(10632),O=r(78629);let I={linear:o.l,easeIn:P.a6,easeInOut:P.am,easeOut:P.vT,circIn:D.po,circInOut:D.tn,circOut:D.yT,backIn:R,backInOut:L,backOut:j,anticipate:V},B=e=>"string"==typeof e,N=e=>{if((0,O.D)(e)){(0,p.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return(0,C.A)(t,r,n,i)}return B(e)?((0,p.V)(void 0!==I[e],`Invalid easing type '${e}'`,"invalid-easing-type"),I[e]):e};var F=r(77354),_=r(19077);function z({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o=E(n)?n.map(N):N(n),a={done:!1,value:t[0]},s=(i=r&&r.length===t.length?r:(0,_.Z)(t),i.map(t=>t*e)),l=(0,F.G)(s,t,{ease:Array.isArray(o)?o:t.map(()=>o||P.am).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}var U=r(92327);let $={decay:T,inertia:T,tween:z,keyframes:z,spring:w};function W(e){"string"==typeof e.type&&(e.type=$[e.type])}var G=r(26751);let H=e=>e/100;class q extends G.q{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!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;W(e);let{type:t=z,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:a}=e,l=t||z;l!==z&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,s.F)(H,(0,d.j)(a[0],a[1])),a=[0,100]);let u=l({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=m(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=u}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:d=0,keyframes:c,repeat:h,repeatType:p,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x=this.currentTime,w=n;if(h){let e=Math.min(this.currentTime,i)/s,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/s)):"mirror"===p&&(w=a)),x=(0,l.q)(0,1,r)*s}b?(this.delayState.value=c[0],r=this.delayState):r=w.next(x),o&&!b&&(r.value=o(r.value));let{done:k}=r;b||null===u||(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&m!==T&&(r.value=(0,U.X)(c,this.options,y,this.speed)),g&&g(r.value),S&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,n.X)(e)}get time(){return(0,n.X)(this.currentTime)}set time(e){e=(0,n.f)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?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 S(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(a.k.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=h,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&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,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=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)}}var X=r(81572),Y=r(31509),K=r(70451);let Q={anticipate:V,backInOut:L,circInOut:D.tn};class Z extends K.m{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in Q&&(e.ease=Q[e.ease])}(e),W(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new q({...o,autoplay:!1}),u=Math.max(10,a.k.now()-this.startTime),d=(0,l.q)(0,10,u-10),c=s.sample(u).value,{name:h}=this.options;i&&h&&(0,Y.e)(i,h,c),t.setWithVelocity(s.sample(Math.max(0,u-d)).value,c,d),s.stop()}}var J=r(25829),ee=r(31461);let et=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(ee.f.test(e)||"0"===e)&&!e.startsWith("url("));function er(e){e.duration=0,e.type="keyframes"}var en=r(27378),ei=r(99982);let eo=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,ea=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),es=(0,en.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class el extends G.q{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:
1o="loop",keyframes:s,name:l,motionValue:u,element:d,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a.k.now();let h={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:l,motionValue:u,element:d,...c},p=d?.KeyframeResolver||X.h;this.keyframeResolver=new p(s,(e,t,r)=>this.onKeyframesResolved(e,t,h,!r),l,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let s;this.keyframeResolver=void 0;let{name:l,type:u,velocity:d,delay:c,isHandoff:h,onUpdate:f}=r;this.resolvedAt=a.k.now();let m=!0;!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=et(i,t),s=et(o,t);return(0,p.$)(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||(0,J.W)(r))&&n)}(e,l,u,d)&&(m=!1,(i.W.instantAnimations||!c)&&f?.((0,U.X)(e,r,t)),e[0]=e[e.length-1],er(r),r.repeat=0);let g={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},y=m&&!h&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:a,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return es()&&r&&(ei.M.has(r)||ea.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&eo.test(e[t]))return!0;return!1}(s))&&("transform"!==r||!u)&&!l&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}(g),v=g.motionValue?.owner?.current;if(y)try{s=new Z({...g,element:v})}catch{s=new q(g)}else s=new q(g);s.finished.then(()=>{this.notifyFinished()}).catch(o.l),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}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(),(0,X.q)()),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()}}var eu=r(29890),ed=r(10215);let ec={type:"spring",stiffness:500,damping:25,restSpeed:10},eh=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ep={type:"keyframes",duration:.8},ef={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},em=(e,{keyframes:t})=>t.length>2?ep:ed.f.has(e)?e.startsWith("scale")?eh(t[1]):ec:ef,eg=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),ey=(e,t,r,o={},a,s)=>l=>{let u=(0,eu.r)(o,e)||{},d=u.delay||o.delay||0,{elapsed:h=0}=o;h-=(0,n.f)(d);let p={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-h,onUpdate:e=>{t.set(e),u.onUpdate&&u.onUpdate(e)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:s?void 0:a};!function(e){for(let t in e)if(!eg.has(t))return!0;return!1}(u)&&Object.assign(p,em(e,p)),p.duration&&(p.duration=(0,n.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,n.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let f=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(er(p),0===p.delay&&(f=!0)),(i.W.instantAnimations||i.W.skipAnimations||a?.shouldSkipAnimations)&&(f=!0,er(p),p.delay=0),p.allowFlatten=!u.type&&!u.ease,f&&!s&&void 0!==t.get()){let e=(0,U.X)(
1p.keyframes,u);if(void 0!==e)return void c.Gt.update(()=>{p.onUpdate(e),p.onComplete()})}return u.isSync?new q(p):new el(p)}},63657:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i.a});var n=r(45650),i=r.n(n),o={};for(let e in n)"default"!==e&&(o[e]=()=>n[e]);r.d(t,o)},63792:(e,t,r)=>{r.d(t,{G3:()=>h,_Y:()=>p});var n,i=r(83190),o=r(47536),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},l=function(e,t){s(t),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+e);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&r.remove()},u=function(e){var t=e.render,r=e.onLoadCallbackName,n=e.language,i=e.onLoad,o=e.useRecaptchaNet,a=e.useEnterprise,s=e.scriptProps,l=void 0===s?{}:s,u=l.nonce,d=void 0===u?"":u,c=l.defer,h=l.async,p=l.id,f=l.appendTo,m=(void 0===p?"":p)||"google-recaptcha-v3";if(document.querySelector("#"+m))i();else{var g,y="https://www."+((g={useEnterprise:a,useRecaptchaNet:o}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(g.useEnterprise?"enterprise.js":"api.js"),v=document.createElement("script");
1v.id=m,v.src=y+"?render="+t+("explicit"===t?"&onload="+r:"")+(n?"&hl="+n:""),d&&(v.nonce=d),v.defer=!!(void 0!==c&&c),v.async=!!(void 0!==h&&h),v.onload=i,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(v)}},d=function(e){void 0===o||o.env,console.warn(e)};(n||(n={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var c=(0,i.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function h(e){var t=e.reCaptchaKey,r=e.useEnterprise,o=void 0!==r&&r,s=e.useRecaptchaNet,h=void 0!==s&&s,p=e.scriptProps,f=e.language,m=e.container,g=e.children,y=(0,i.useState)(null),v=y[0],b=y[1],x=(0,i.useRef)(t),w=JSON.stringify(p),k=JSON.stringify(null==m?void 0:m.parameters);(0,i.useEffect)(function(){if(t){var e=(null==p?void 0:p.id)||"google-recaptcha-v3",r=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[r]=function(){var e=o?window.grecaptcha.enterprise:window.grecaptcha,r=a({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});x.current=e.render(null==m?void 0:m.element,r)},u({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:r,useEnterprise:o,useRecaptchaNet:h,scriptProps:p,language:f,onLoad:function(){if(window&&window.grecaptcha){var e=o?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){b(e)})}else d("<GoogleRecaptchaProvider /> "+n.SCRIPT_NOT_AVAILABLE)},onError:function(){d("Error loading google recaptcha script")}}),function(){l(e,null==m?void 0:m.element)}}d("<GoogleReCaptchaProvider /> recaptcha key not provided")},[o,h,w,k,f,t,null==m?void 0:m.element]);var S=(0,i.useCallback)(function(e){if(!v||!v.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return v.execute(x.current,{action:e})},[v,x]),T=(0,i.useMemo)(function(){return{executeRecaptcha:v?S:void 0,container:null==m?void 0:m.element}},[S,v,null==m?void 0:m.element]);return i.createElement(c.Provider,{value:T},g)}c.Consumer;var p=function(){return(0,i.useContext)(c)};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var m="function"==typeof Symbol&&Symbol.for,g=m?Symbol.for("react.element"):60103,y=m?Symbol.for("react.portal"):60106,v=m?Symbol.for("react.fragment"):60107,b=m?Symbol.for("react.strict_mode"):60108,x=m?Symbol.for("react.profiler"):60114,
1w=m?Symbol.for("react.provider"):60109,k=m?Symbol.for("react.context"):60110,S=m?Symbol.for("react.async_mode"):60111,T=m?Symbol.for("react.concurrent_mode"):60111,P=m?Symbol.for("react.forward_ref"):60112,E=m?Symbol.for("react.suspense"):60113,C=m?Symbol.for("react.suspense_list"):60120,M=m?Symbol.for("react.memo"):60115,A=m?Symbol.for("react.lazy"):60116,j=m?Symbol.for("react.block"):60121,R=m?Symbol.for("react.fundamental"):60117,L=m?Symbol.for("react.responder"):60118,V=m?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case g:switch(e=e.type){case S:case T:case v:case x:case b:case E:return e;default:switch(e=e&&e.$$typeof){case k:case P:case A:case M:case w:return e;default:return t}}case y:return t}}}function O(e){return D(e)===T}var I={AsyncMode:S,ConcurrentMode:T,ContextConsumer:k,ContextProvider:w,Element:g,ForwardRef:P,Fragment:v,Lazy:A,Memo:M,Portal:y,Profiler:x,StrictMode:b,Suspense:E,isAsyncMode:function(e){return O(e)||D(e)===S},isConcurrentMode:O,isContextConsumer:function(e){return D(e)===k},isContextProvider:function(e){return D(e)===w},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g},isForwardRef:function(e){return D(e)===P},isFragment:function(e){return D(e)===v},isLazy:function(e){return D(e)===A},isMemo:function(e){return D(e)===M},isPortal:function(e){return D(e)===y},isProfiler:function(e){return D(e)===x},isStrictMode:function(e){return D(e)===b},isSuspense:function(e){return D(e)===E},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===v||e===T||e===x||e===b||e===E||e===C||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===M||e.$$typeof===w||e.$$typeof===k||e.$$typeof===P||e.$$typeof===R||e.$$typeof===L||e.$$typeof===V||e.$$typeof===j)},typeOf:D},B=f(function(e,t){}),N=(B.AsyncMode,B.ConcurrentMode,B.ContextConsumer,B.ContextProvider,B.Element,B.ForwardRef,B.Fragment,B.Lazy,B.Memo,B.Portal,B.Profiler,B.StrictMode,B.Suspense,B.isAsyncMode,B.isConcurrentMode,B.isContextConsumer,B.isContextProvider,B.isElement,B.isForwardRef,B.isFragment,B.isLazy,B.isMemo,B.isPortal,B.isProfiler,B.isStrictMode,B.isSuspense,B.isValidElementType,B.typeOf,f(function(e){e.exports=I})),F={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},z={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},U={};function $(e){return N.isMemo(e)?z:U[e.$$typeof]||F}U[N.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},U[N.Memo]=z;var W=Object.defineProperty,G=Object.getOwnPropertyNames,H=Object.getOwnPropertySymbols,q=Object.getOwnPropertyDescriptor,X=Object.getPrototypeOf,Y=Object.prototype},67577:(e,t,r)=>{r.d(t,{k:()=>n});let n=(e,t,r)=>e+(t-e)*r},68747:(e,t,r)=>{r.d(t,{KN:()=>o,gQ:()=>u,px:()=>a,uj:()=>i,vh:()=>s,vw:()=>l});let n=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=n("deg"),o=n("%"),a=n("px"),s=n("vh"),l=n("vw"),u={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},69440:(e,t,r)=>{r.d(t,{p:()=>n});let n=e=>Array.isArray(e)},70451:(e,t,r)=>{r.d(t,{m:()=>v});var n=r(86806),i=r(56407),o=r(11771),a=r(31509),s=r(23499),l=r(92327),u=r(26751),d=r(72989),c=r(41299),h=r(78629);let p=(0,r(84467).J)(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var f=r(85778);let m=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,g={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:m([0,.65,.55,1]),circOut:m([.55,0,1,.45]),backIn:m([.31,.01,.66,-.59]),backOut:m([.33,1.53,.69,.99])};var y=r(25829);class v extends u.q{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:r,keyframes:i,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:u,onComplete:v}=e;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=e,(0,n.V)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let b=function({type:e,...t}){return(0,y.W)(e)&&p()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u){let y={[t]:r};l&&(y.offset=l);let v=function e(t,r){if(t)return"function"==typeof t?p()?(0,f.K)(t,r):"ease-out":(0,h.D)(t)?m(t):Array.isArray(t)?t.map(t=>e(t,r)||g.easeOut):g[t]}(s,i);Array.isArray(v)&&(y.easing=v),c.Q.value&&d.q.waapi++;let b={delay:n,duration:i,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};u&&(b.pseudoElement=u);let x=e.animate(y,b);return c.Q.value&&x.finished.finally(()=>{d.q.waapi--}),x}(t,r,i,b,o),!1===b.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){let e=(0,l.X)(i,this.options,u,this.speed);this.updateMotionValue&&this.updateMotionValue(e),(0,a.e)(t,r,e),this.animation.cancel()}v?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(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(0,i.X)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,i.X)(e)}get time(){return(0,i.X)(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.f)(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 null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,s.J)())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),o.l):n(this)}}},70683:(e,t,r)=>{r.d(t,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},70743:(e,t,r)=>{r.d(t,{j4:()=>i,pG:()=>a,rm:()=>l});let n=e=>t=>"string"==typeof t&&t.startsWith(e),i=n("--"),o=n("var(--"),a=e=>!!o(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}},71316:(e,t,r)=>{r.d(t,{E:()=>i});var n=r(83190);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},71838:(e,t,r)=>{r.d(t,{U:()=>a});var n=r(29567),i=r(37295),o=r(69440);function a(e,t){let{transitionEnd:r={},transition:a={},...s}=(0,i.K)(e,t)||{};for(let t in s={...s,...r}){var l;let r=(l=s[t],(0,o.p)(l)?l[l.length-1]||0:l);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,n.OQ)(r))}}},72989:(e,t,r)=>{r.d(t,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},73058:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(81968);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let o=i(t)||i(n);return a[e][o]}),u=r&&Object.entries(r).reduce((e,t)=>
1{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},74299:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(83190);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75415:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(17120),i=r(89145);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},76455:(e,t,r)=>{r.d(t,{M:()=>i});var n=r(83190);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},77354:(e,t,r)=>{r.d(t,{G:()=>d});var n=r(88147),i=r(11771),o=r(83247),a=r(86806),s=r(29570),l=r(10070),u=r(22830);function d(e,t,{clamp:r=!0,ease:c,mixer:h}={}){let p=e.length;if((0,a.V)(p===t.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>t[0];if(2===p&&t[0]===t[1])return()=>t[1];let f=e[0]===e[1];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());let m=function(e,t,r){let a=[],s=r||n.W.mix||u.j,l=e.length-1;for(let r=0;r<l;r++){let n=s(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||i.l:t;n=(0,o.F)(e,n)}a.push(n)}return a}(t,c,h),g=m.length,y=r=>{if(f&&r<e[0])return t[0];let n=0;if(g>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=(0,s.q)(e[n],e[n+1],r);return m[n](i)};return r?t=>y((0,l.q)(e[0],e[p-1],t)):y}},78629:(e,t,r)=>{r.d(t,{D:()=>n});let n=e=>Array.isArray(e)&&"number"==typeof e[0]},81572:(e,t,r)=>{r.d(t,{h:()=>h,q:()=>c});var n=r(84561),i=r(23078);let o=new Set,a=!1,s=!1,l=!1;function u(){if(s){let e=Array.from(o).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=(0,n.W9)(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}s=!1,a=!1,o.forEach(e=>e.complete(l)),o.clear()}function d(){o.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(s=!0)})}function c(){l=!0,d(),u(),l=!1}class h{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),a||(a=!0,i.Gt.read(d),i.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},81968:(e,t,r)=>{r.d(t,{$:()=>n});function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},82038:(e,t,r)=>{r.d(t,{X4:()=>o,ai:()=>i,hs:()=>a});var n=r(10070);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,n.q)(0,1,e)},a={...i,default:1}},83247:(e,t,r)=>{r.d(t,{F:()=>i});let n=(e,t)=>r=>
1t(e(r)),i=(...e)=>e.reduce(n)},84467:(e,t,r)=>{r.d(t,{J:()=>o});var n=r(27378);let i={};function o(e,t){let r=(0,n.p)(e);return()=>i[t]??r()}},84561:(e,t,r)=>{r.d(t,{E4:()=>s,Hr:()=>c,W9:()=>d});var n=r(62051),i=r(10215),o=r(82038),a=r(68747);let s=e=>e===o.ai||e===a.px,l=new Set(["x","y","z"]),u=i.U.filter(e=>!l.has(e));function d(e){let t=[];return u.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t}let c={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},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})=>(0,n.ry)(t,"x"),y:(e,{transform:t})=>(0,n.ry)(t,"y")};c.translateX=c.x,c.translateY=c.y},85778:(e,t,r)=>{r.d(t,{K:()=>n});let n=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},86806:(e,t,r)=>{r.d(t,{$:()=>n,V:()=>i}),r(47536);let n=()=>{},i=()=>{}},87630:(e,t,r)=>{r.d(t,{_:()=>m});var n=r(37295),i=r(29890),o=r(98294),a=r(37290),s=r(71838),l=r(5722),u=r(99866),d=r(62986),c=r(23078);function h(e,t,{delay:r=0,transitionOverride:n,type:p}={}){let{transition:f,transitionEnd:m,...g}=t,y=e.getDefaultTransition();f=f?(0,o.K)(f,y):y;let v=f?.reduceMotion;n&&(f=n);let b=[],x=p&&e.animationState&&e.animationState.getState()[p];for(let t in g){let n=e.getValue(t,e.latestValues[t]??null),o=g[t];if(void 0===o||x&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(x,t))continue;let s={delay:r,...(0,i.r)(f||{},t)},h=n.get();if(void 0!==h&&!n.isAnimating()&&!Array.isArray(o)&&o===h&&!s.velocity){c.Gt.update(()=>n.set(o));continue}let p=!1;if(window.MotionHandoffAnimation){let r=(0,u.P)(e);if(r){let e=window.MotionHandoffAnimation(r,t,c.Gt);null!==e&&(s.startTime=e,p=!0)}}(0,l.g)(e,t);let m=v??e.shouldReduceMotion;n.start((0,d.f)(t,n,o,m&&a.$.has(t)?{type:!1}:s,e,p));let y=n.animation;y&&b.push(y)}if(m){let t=()=>c.Gt.update(()=>{m&&(0,s.U)(e,m)});b.length?Promise.all(b).then(t):t()}return b}var p=r(38362);function f(e,t,r={}){let i=(0,n.K)(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>Promise.all(h(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,i=0,o=1,a){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(f(l,t,{...a,delay:r+("function"==typeof n?0:n)+(0,p.L)(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,i,a,s,r)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function m(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>f(e,t,r)));else if("string"==typeof t)i=f(e,t,r);else{let o="function"==typeof t?(0,n.K)(e,t,r.custom):t;i=Promise.all(h(e,o,r))}return i.then(()=>{e.notify("AnimationComplete",t)})}},88094:(e,t,r)=>{r.d(t,{Q:()=>n});let n=(0,r(83190).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},88147:(e,t,r)=>{r.d(t,{W:()=>n});let n={}},88564:(e,t,r)=>{function n(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{Ai:()=>i,Kq:()=>n})},89657:(e,t,r)=>{r.d(t,{K:()=>n});function n(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}},90121:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>o});var n=r(83190);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function a(...e){return n.useCallback(o(...e),e)}},90415:(e,t,r)=>{r.d(t,{G:()=>n});function n(e){return"object"==typeof e&&null!==e}},92327:(e,t,r)=>{r.d(t,{X:()=>i});let n=e=>null!==e;function i(e,{repeat:t,repeatType:r="loop"},o,a=1){let s=e.filter(n),l=a<0||t&&"loop"!==r&&t%2==1?0:s.length-1;return l&&void 0!==o?o:s[l]}},92530:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(88564);class i{constructor(){this.subscriptions=[]}add(e){return(0,n.Kq)(this.subscriptions,e),()=>(0,n.Ai)(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},92846:(e,t)=>{function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,n(e));else t.set(r,n(i));return t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return o},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},95991:(e,t,r)=>{r.d(t,{O:()=>n,r:()=>i});let n={current:null},i={current:!1}},98294:(e,t,r)=>{r.d(t,{K:()=>n});function n(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}},98561:(e,t,r)=>{r.d(t,{I:()=>a});var n=r(88147);let i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var o=r(41299);function a(e,t){let r=!1,a=!0,s={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=i.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,a=!1,s=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function d(t){s.has(t)&&(c.schedule(t),e()),u++,t(l)}let c={schedule:(e,t=!1,o=!1)=>{let a=o&&i?r:n;return t&&s.add(e),a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(l=e,i){a=!0;return}i=!0;let s=r;r=n,n=s,r.forEach(d),t&&o.Q.value&&o.Q.value.frameloop[t].push(u),u=0,r.clear(),i=!1,a&&(a=!1,c.process(e))}};return c}(l,t?r:void 0),e),{}),{setup:d,read:c,resolveKeyframes:h,preUpdate:p,update:f,preRender:m,render:g,postRender:y}=u,v=()=>{let i=n.W.useManualTiming,o=i?s.timestamp:performance.now();r=!1,i||(s.delta=a?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,d.process(s),c.process(s),h.process(s),p.process(s),f.process(s),m.process(s),g.process(s),y.process(s),s.isProcessing=!1,r&&t&&(a=!1,e(v))},b=()=>{r=!0,a=!0,s.isProcessing||e(v)};return{schedule:i.reduce((e,t)=>{let n=u[t];return e[t]=(e,t=!1,i=!1)=>(r||b(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)u[i[t]].cancel(e)},state:s,steps:u}}},99866:(e,t,r)=>{r.d(t,{P:()=>i});var n=r(54464);function i(e){return e.props[n.n]}},99982:(e,t,r)=>{r.d(t,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])}}]);
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.