1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3220,t=>{"use strict";t.s(["featureFlags",0,{pageMode:"full",titoMode:"b"}])},96998,t=>{"use strict";t.s(["siteConfig",0,{name:"SAP Inside Track Weinheim 2026",shortName:"SITWHM 2026",url:"https://sitwhm.de",description:"SAP Inside Track Weinheim (#sitWHM) 2026 - Free community tech conference for SAP developers, architects, and consultants. Join us September 19, 2026 at Syntax Auditorium, Weinheim, Germany for sessions on BTP, ABAP, Fiori, AI, and more.",event:{date:"September 19th, 2026",time:"9:00 AM - 6:00 PM",venue:"Syntax Auditorium",city:"Weinheim an der BergstraÃe",country:"Germany",capacity:150},registration:{url:"https://ti.to/sitwhm/sitwhm2026",titoEventId:"sitwhm/sitwhm2026",price:"Free",releases:[],discountCode:void 0},codejam:{url:"https://ti.to/sitwhm/codejam-whm",titoEventId:"sitwhm/codejam-whm",infoUrl:"https://community.sap.com/t5/sap-codejam/hands-on-with-cap-cds/ec-p/14380407",topic:"Hands-on with CAP CDS",instructor:"DJ Adams (SAP Developer Advocate)"},social:{github:"sitwhm/sitwhm-web"}}])},47163,t=>{"use strict";let e=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),i=[],r=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let s=t[e],n=i.nextPart.get(s);if(n){let i=r(t,e+1,n);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t<l;t++){let e=o[t];if(e.validator(a))return e.classGroupId}},s=(t,i)=>{let r=e();for(let e in t)n(t[e],r,e,i);return r},n=(t,e,i,r)=>{let s=t.length;for(let n=0;n<s;n++)o(t[n],e,i,r)},o=(t,e,i,r)=>{"string"==typeof t?a(t,e,i):"function"==typeof t?l(t,e,i,r):h(t,e,i,r)},a=(t,e,i)=>{(""===t?e:u(e,t)).classGroupId=i},l=(t,e,i,r)=>{d(t)?n(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},h=(t,e,i,r)=>{let s=Object.entries(t),o=s.length;for(let t=0;t<o;t++){let[o,a]=s[t];n(a,u(e,o),i,r)}},u=(t,i)=>{let r=t,s=i.split("-"),n=s.length;for(let t=0;t<n;t++){let i=s[t],n=r.nextPart.get(i);n||(n=e(),r.nextPart.set(i,n)),r=n}return r},d=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,c=[],m=(t,e,i,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:s}),p=/\s+/,f=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=f(t[r]))&&(i&&(i+=" "),i+=e);return i},g=[],y=t=>{let e=e=>e[t]||g;return e.isThemeGetter=!0,e},v=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+\/\d+$/,b=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\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$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=t=>w.test(t),M=t=>!!t&&!Number.isNaN(Number(t)),V=t=>!!t&&Number.isInteger(Number(t)),A=t=>t.endsWith("%")&&M(t.slice(0,-1)),E=t=>b.test(t),L=()=>!0,R=t=>k.test(t)&&!T.test(t),D=()=>!1,j=t=>C.test(t),B=t=>P.test(t),F=t=>!O(t)&&!$(t),I=t=>_(t,te,D),O=t=>v.test(t),N=t=>_(t,ti,R),z=t=>_(t,tr,M),H=t=>_(t,Q,D),U=t=>_(t,tt,B),W=t=>_(t,tn,j),$=t=>x.test(t),Z=t=>J(t,ti),Y=t=>J(t,ts),X=t=>J(t,Q),G=t=>J(t,te),K=t=>J(t,tt),q=t=>J(t,tn,!0),_=(t,e,i)=>{let r=v.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},J=(t,e,i=!1)=>{let r=x.exec(t);return!!r&&(r[1]?e(r[1]):i)},Q=t=>"position"===t||"percentage"===t,tt=t=>"image"===t||"url"===t,te=t=>"length"===t||"size"===t||"bg-size"===t,ti=t=>"length"===t,tr=t=>"number"===t,ts=t=>"family-name"===t,tn=t=>"shadow"===t,to=((t,...e)=>{let n,o,a,l,h=t=>{let e=o(t);if(e)return e;let i=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:n}=e,o=[],a=t.trim().split(p),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:h,modifiers:u,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:m}=i(e);if(h){l=e+(l.length>0?" "+l:l);continue}let p=!!m,f=r(p?c.substring(0,m):c);if(!f){if(!p||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}p=!1}let g=0===u.length?"":1===u.length?u[0]:n(u).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=s(f,p);for(let t=0;t<x.length;++t){let e=x[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,n);return a(t,i),i};return l=u=>{var d;let p;return o=(n={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),s=(s,n)=>{i[s]=n,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(s(t,e),e):void 0},set(t,e){t in i?i[t]=e:s(t,e)}}})((d=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,s=0,n=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===s){if(":"===o){i.push(t.slice(n,a)),n=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?s++:")"===o&&s--}let a=0===i.length?t:t.slice(n),l=a,h=!1;return a.endsWith("!")?(l=a.slice(0,-1),h=!0):a.startsWith("!")&&(l=a.slice(1),h=!0),m(i,h,l,e&&e>n?e-n:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):m(c,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r}
1)(d),sortModifiers:(p=new Map,d.orderSensitiveModifiers.forEach((t,e)=>{p.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let s=t[r],n="["===s[0],o=p.has(s);n||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(s)):i.push(s)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return s(i,e)})(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,s;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(s=e.slice(0,r))?"arbitrary.."+s:void 0)}let s=t.split("-"),n=+(""===s[0]&&s.length>1);return r(s,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=o[t],r=n[t];if(e){if(r){let t=Array(r.length+e.length);for(let e=0;e<r.length;e++)t[e]=r[e];for(let i=0;i<e.length;i++)t[r.length+i]=e[i];return t}return e}return r||i}return n[t]||i}}})(d)}).cache.get,a=n.cache.set,l=h,h(u)},(...t)=>l(((...t)=>{let e,i,r=0,s="";for(;r<t.length;)(e=t[r++])&&(i=f(e))&&(s&&(s+=" "),s+=i);return s})(...t))})(()=>{let t=y("color"),e=y("font"),i=y("text"),r=y("font-weight"),s=y("tracking"),n=y("leading"),o=y("breakpoint"),a=y("container"),l=y("spacing"),h=y("radius"),u=y("shadow"),d=y("inset-shadow"),c=y("text-shadow"),m=y("drop-shadow"),p=y("blur"),f=y("perspective"),g=y("aspect"),v=y("ease"),x=y("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...b(),$,O],T=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],P=()=>[$,O,l],R=()=>[S,"full","auto",...P()],D=()=>[V,"none","subgrid",$,O],j=()=>["auto",{span:["full",V,$,O]},V,$,O],B=()=>[V,"auto",$,O],_=()=>["auto","min","max","fr",$,O],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...P()],te=()=>[S,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],ti=()=>[t,$,O],tr=()=>[...b(),X,H,{position:[$,O]}],ts=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tn=()=>["auto","cover","contain",G,I,{size:[$,O]}],to=()=>[A,Z,N],ta=()=>["","none","full",h,$,O],tl=()=>["",M,Z,N],th=()=>["solid","dashed","dotted","double"],tu=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[M,A,X,H],tc=()=>["","none",p,$,O],tm=()=>["none",M,$,O],tp=()=>["none",M,$,O],tf=()=>[M,$,O],tg=()=>[S,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[E],breakpoint:[E],color:[L],container:[E],"drop-shadow":[E],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[E],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[E],shadow:[E],spacing:["px",M],text:[E],"text-shadow":[E],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",S,O,$,g]}],container:["container"],columns:[{columns:[M,O,$,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:k()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}
vendor: 11,538 bytes, line 1
1],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[V,"auto",$,O]}],basis:[{basis:[S,"full","auto",a,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,S,"auto","initial","none",O]}],grow:[{grow:["",M,$,O]}],shrink:[{shrink:["",M,$,O]}],order:[{order:[V,"first","last","none",$,O]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,Z,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$,z]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",A,O]}],"font-family":[{font:[Y,O,e]}],"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:[s,$,O]}],"line-clamp":[{"line-clamp":[M,"none",$,z]}],leading:[{leading:[n,...P()]}],"list-image":[{"list-image":["none",$,O]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...th(),"wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",$,N]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[M,"auto",$,O]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,O]}],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",$,O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:ts()}],"bg-size":[{bg:tn()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},V,$,O],radial:["",$,O],conic:[V,$,O]},K,U]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...th(),"hidden","none"]}],"divide-style":[{divide:[...th(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...th(),"none","hidden"]}],"outline-offset":[{"outline-offset":[M,$,O]}],"outline-w":[{outline:["",M,Z,N]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",u,q,W]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",d,q,W]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[M,N]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",c,q,W]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[M,$,O]}],"mix-blend":[{"mix-blend":[...tu(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tu()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[$,O]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:ts()}],"mask-size":[{mask:tn()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,O]}],filter:[{filter:["","none",$,O]}],blur:[{blur:tc()}],brightness:[{brightness:[M,$,O]}],contrast:[{contrast:[M,$,O]}],"drop-shadow":[{"drop-shadow":["","none",m,q,W]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",M,$,O]}],"hue-rotate":[{"hue-rotate":[M,$,O]}],invert:[{invert:["",M,$,O]}],saturate:[{saturate:[M,$,O]}],sepia:[{sepia:["",M,$,O]}],"backdrop-filter":[{"backdrop-filter":["","none",$,O]}],"backdrop-blur":[{"backdrop-blur":tc()}],"backdrop-brightness":[{"backdrop-brightness":[M,$,O]}],"backdrop-contrast":[{"backdrop-contrast":[M,$,O]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,$,O]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,$,O]}],"backdrop-invert":[{"backdrop-invert":["",M,$,O]}],"backdrop-opacity":[{"backdrop-opacity":[M,$,O]}],"backdrop-saturate":[{"backdrop-saturate":[M,$,O]}],"backdrop-sepia":[{"backdrop-sepia":["",M,$,O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,O]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",$,O]}],ease:[{ease:["linear","initial",v,$,O]}],delay:[{delay:[M,$,O]}],animate:[{animate:["none",x,$,O]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,$,O]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:tm()}],"rotate-x":[{"rotate-x":tm()}],"rotate-y":[{"rotate-y":tm()}],"rotate-z":[{"rotate-z":tm()}],scale:[{scale:tp()}],"scale-x":[{"scale-x":tp()}],"scale-y":[{"scale-y":tp()}],"scale-z":[{"scale-z":tp()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[$,O,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}
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",$,O]}],"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":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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",$,O]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[M,Z,N,z]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ta(...t){return to(function(){for(var t,e,i=0,r="",s=arguments.length;i<s;i++)(t=arguments[i])&&(e=function t(e){var i,r,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(i=0;i<n;i++)e[i]&&(r=t(e[i]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}(t))&&(r&&(r+=" "),r+=e);return r}(t))}t.s(["cn",()=>ta],47163)},76525,t=>{"use strict";var e=t.i(43476),i=t.i(47163);let r=(0,t.i(71645).forwardRef)(({className:t,variant:r="primary",size:s="md",children:n,...o},a)=>(0,e.jsx)("button",{ref:a,className:(0,i.cn)("inline-flex items-center justify-center rounded-lg font-semibold transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-syntax-blue/40 focus:ring-offset-2 cursor-pointer",{primary:"bg-syntax-blue text-white hover:bg-[#052885] shadow-md hover:shadow-lg active:scale-[0.98]",secondary:"bg-white text-syntax-blue border border-gray-200 hover:border-syntax-blue/30 hover:bg-syntax-blue/5 shadow-sm hover:shadow-md active:scale-[0.98]"}[r],{sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-sm",lg:"px-8 py-3.5 text-sm sm:text-lg"}[s],t),...o,children:n}));r.displayName="Button",t.s(["Button",0,r])},56866,t=>{"use strict";var e=t.i(71645);let i=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"})),r=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218
119.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"})),s=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"})),n=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"})),o=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M9.85802 19.71L12 16H5.07026C6.10692 17.7921 7.8188 19.1447 9.85802 19.71ZM4.25204 14H8.5359L5.07103 7.99867C4.38987 9.17566 4 10.5423 4 12C4 12.6906 4.08751 13.3608 4.25204 14ZM6.39496 6.29179L8.5359 10L12 4C9.8171 4 7.8384 4.87429 6.39496 6.29179ZM14.142 4.28998L12 8H18.9297C17.8931 6.20791 16.1812 4.85529 14.142 4.28998ZM19.748 10H15.4641L18.929 16.0013C19.6101 14.8243 20 13.4577 20 12C20 11.3094 19.9125 10.6392 19.748 10ZM17.605 17.7082L15.4641 14L12 20C14.1829 20 16.1616 19.1257 17.605 17.7082ZM12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM13.1547 10H10.8453L9.6906 12L10.8453 14H13.1547L14.3094 12L13.1547 10Z"})),a=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"})),l=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z"})),h=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"})),u=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M16 13V5H6V13C6 14.1046 6.89543 15 8 15H14C15.1046 15 16 14.1046 16 13ZM5 3H20C21.1046 3 22 3.89543 22 5V8C22 9.10457 21.1046 10 20 10H18V13C18 15.2091 16.2091 17 14 17H8C5.79086 17 4 15.2091 4 13V4C4 3.44772 4.44772 3 5 3ZM18 5V8H20V5H18ZM2 19H20V21H2V19Z"})),d=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M18.3362 18.339H15.6707V14.1622C15.6707 13.1662 15.6505 11.8845 14.2817 11.8845C12.892 11.8845 12.6797 12.9683 12.6797 14.0887V18.339H10.0142V9.75H12.5747V10.9207H12.6092C12.967 10.2457 13.837 9.53325 15.1367 9.53325C17.8375 9.53325 18.337 11.3108 18.337 13.6245V18.339H18.3362ZM7.00373 8.57475C6.14573 8.57475 5.45648 7.88025 5.45648 7.026C5.45648 6.1725 6.14648 5.47875 7.00373 5.47875C7.85873 5.47875 8.55173 6.1725 8.55173 7.026C8.55173 7.88025 7.85798 8.57475 7.00373 8.57475ZM8.34023 18.339H5.66723V9.75H8.34023V18.339ZM19.6697 3H4.32923C3.59498 3 3.00098 3.5805 3.00098 4.29675V19.7033C3.00098 20.4202 3.59498 21 4.32923 21H19.6675C20.401 21 21.001 20.4202 21.001 19.7033V4.29675C21.001 3.5805 20.401 3 19.6675 3H19.6697Z"})),c=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM20 7.23792L12.0718 14.338L4 7.21594V19H20V7.23792ZM4.51146 5L12.0619 11.662L19.501 5H4.51146Z"})),m=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M12 20.8995L16.9497 15.9497C19.6834 13.2161 19.6834 8.78392 16.9497 6.05025C14.2161 3.31658 9.78392 3.31658 7.05025 6.05025C4.31658 8.78392 4.31658 13.2161 7.05025 15.9497L12 20.8995ZM12 23.7279L5.63604 17.364C2.12132 13.8492 2.12132 8.15076 5.63604 4.63604C9.15076 1.12132 14.8492 1.12132 18.364 4.63604C21.8787 8.15076 21.8787 13.8492 18.364 17.364L12 23.7279ZM12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13ZM12 15C9.79086 15 8 13.2091 8 11C8 8.79086 9.79086 7 12 7C14.2091 7 16 8.79086 16 11C16 13.2091 14.2091 15 12 15Z"})),p=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"})),f=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM13 12H17V14H11V7H13V12Z"})),g=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748ZM10 10V7H12V10H15V12H12V15H10V12H7V10H10Z"})),y=({color:t="currentColor",size:i=24,className:r,...s})=>e.default.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:t,...s,className:"remixicon "+(r||"")},e.default.createElement("path",{d:"M9 17C9 17 16 18 19 21H20C20.5523 21 21 20.5523 21 20V13.937C21.8626 13.715 22.5 12.9319 22.5 12C22.5 11.0681 21.8626 10.285 21 10.063V4C21 3.44772 20.5523 3 20 3H19C16 6 9 7 9 7H5C3.89543 7 3 7.89543 3 9V15C3 16.1046 3.89543 17 5 17H6L7 22H9V17ZM11 8.6612C11.6833 8.5146 12.5275 8.31193 13.4393 8.04373C15.1175 7.55014 17.25 6.77262 19 5.57458V18.4254C17.25 17.2274 15.1175 16.4499 13.4393 15.9563C12.5275 15.6881 11.6833 15.4854 11 15.3388V8.6612ZM5 9H9V15H5V9Z"}));t.s(["RiArrowDownSLine",()=>i,"RiArrowRightLine",()=>r,"RiArrowRightSLine",()=>s,"RiCalendarLine",()=>n,"RiCameraLensLine",()=>o,"RiCheckLine",()=>a,"RiCheckboxCircleLine",()=>
1l,"RiCloseLine",()=>h,"RiCupLine",()=>u,"RiLinkedinBoxFill",()=>d,"RiMailLine",()=>c,"RiMapPinLine",()=>m,"RiMegaphoneLine",()=>y,"RiMenuLine",()=>p,"RiTimeLine",()=>f,"RiZoomInLine",()=>g])},46932,31178,37806,21476,47414,74008,64978,72846,t=>{"use strict";let e,i,r,s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(s),o=(t,e,i)=>i>e?e:i<t?t:i,a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>o(0,1,t)},h={...a,default:1},u=t=>Math.round(1e5*t)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(t,e)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),p=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,n,o,a]=r.match(d);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:t=>Math.round(o(0,255,t))},g={test:m("rgb","red"),parse:p("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+f.transform(t)+", "+f.transform(e)+", "+f.transform(i)+", "+u(l.transform(r))+")"},y={test:m("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:g.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),w=v("%"),b=v("px"),k=v("vh"),T=v("vw"),C={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},P={test:m("hsl","hue"),parse:p("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+w.transform(u(e))+", "+w.transform(u(i))+", "+u(l.transform(r))+")"},S={test:t=>g.test(t)||y.test(t)||P.test(t),parse:t=>g.test(t)?g.parse(t):P.test(t)?P.parse(t):y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?g.transform(t):P.transform(t),getAnimatableNone:t=>{let e=S.parse(t);return e.alpha=0,S.transform(e)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,V="number",A="color",E=/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 L(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(E,t=>(S.test(t)?(r.color.push(n),s.push(A),i.push(S.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(V),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function R(t){return L(t).values}function D(t){let{split:e,types:i}=L(t),r=e.length;return t=>{let s="";for(let n=0;n<r;n++)if(s+=e[n],void 0!==t[n]){let e=i[n];e===V?s+=u(t[n]):e===A?s+=S.transform(t[n]):s+=t[n]}return s}}let j=t=>"number"==typeof t?0:S.test(t)?S.getAnimatableNone(t):t,B={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(d)?.length||0)+(t.match(M)?.length||0)>0},parse:R,createTransformer:D,getAnimatableNone:function(t){let e=R(t);return D(t)(e.map(j))}},F=new Set(["brightness","contrast","saturate","opacity"]);function I(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(d)||[];if(!r)return t;let s=i.replace(r,""),n=+!!F.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let O=/\b([a-z-]*)\(.*?\)/gu,N={...B,getAnimatableNone:t=>{let e=t.match(O);return e?e.map(I).join(" "):t}},z={...a,transform:Math.round},H={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,radius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,backgroundPositionX:b,backgroundPositionY:b,rotate:
1x,rotateX:x,rotateY:x,rotateZ:x,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:x,skewX:x,skewY:x,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:l,originX:C,originY:C,originZ:b,zIndex:z,fillOpacity:l,strokeOpacity:l,numOctaves:z},U={...H,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:N,WebkitFilter:N},W=t=>U[t],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),Z=()=>({x:$(),y:$()}),Y=()=>({min:0,max:0}),X=()=>({x:Y(),y:Y()}),G=t=>!!(t&&t.getVelocity),K=new Set(["width","height","top","left","right","bottom",...s]),q=t=>e=>e.test(t),_=[a,b,w,x,T,k,{test:t=>"auto"===t,parse:t=>t}],J=t=>_.find(q(t));var Q,tt=t.i(47167);let te=()=>{},ti=()=>{};tt.default;let tr=t=>e=>"string"==typeof e&&e.startsWith(t),ts=tr("--"),tn=tr("var(--"),to=t=>!!tn(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tl(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let th=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,td=t=>tm(tu(Math.atan2(t[1],t[0]))),tc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:td,rotateZ:td,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tm=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tf=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tf,scale:t=>(tp(t)+tf(t))/2,rotateX:t=>tm(tu(Math.atan2(t[6],t[5]))),rotateY:t=>tm(tu(Math.atan2(-t[2],t[0]))),rotateZ:td,rotate:td,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tv(t,e){let i,r;if(!t||"none"===t)return ty(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tg,r=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tc,r=e}if(!r)return ty(e);let n=i[e],o=r[1].split(",").map(tx);return"function"==typeof n?n(o):o[n]}function tx(t){return parseFloat(t.trim())}let tw=t=>t===a||t===b,tb=new Set(["x","y","z"]),tk=s.filter(t=>!tb.has(t)),tT={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tv(e,"x"),y:(t,{transform:e})=>tv(e,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tC=t=>t,tP={},tS=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tM(t,e){let i=!1,r=!0,s={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,o=tS.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,s=!1,n=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){o.has(e)&&(u.schedule(e),t()),l++,e(a)}let u={schedule:(t,e=!1,n=!1)=>{let a=n&&s?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,s){n=!0;return}s=!0,[i,r]=[r,i],i.forEach(h),e,l=0,i.clear(),s=!1,n&&(n=!1,u.process(t))}};return u}(n,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:m,postRender:p}=o,f=()=>{let n=tP.useManualTiming?s.timestamp:performance.now();i=!1,tP.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(n-s.timestamp,40),1)),s.timestamp=n,s.isProcessing=!0,a.process(s),l.process(s),h.process(s),u.process(s),d.process(s),c.process(s),m.process(s),p.process(s),s.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tS.reduce((e,n)=>{let a=o[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,r=!0,s.isProcessing||t(f)),a.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<tS.length;e++)o[tS[e]].cancel(t)},state:s,steps:o}}let{schedule:tV,cancel:tA,state:tE,steps:tL}=tM("u">typeof requestAnimationFrame?requestAnimationFrame:tC,!0),tR=new Set,tD=!1,tj=!1,tB=!1;function tF(){if(tj){let t=Array.from(tR).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>
1{let e,r=(e=[],tk.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tj=!1,tD=!1,tR.forEach(t=>t.complete(tB)),tR.clear()}function tI(){tR.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tj=!0)})}class tO{constructor(t,e,i,r,s,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(tR.add(this),tD||(tD=!0,tV.read(tI),tV.resolveKeyframes(tF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let s=r?.get(),n=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let r=i.readValue(e,n);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=n),r&&void 0===s&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tR.delete(this)}cancel(){"scheduled"===this.state&&(tR.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function tN(t,e){let i=W(t);return i!==N&&(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tz=new Set(["auto","none","0"]);class tH extends tO{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&to(r=r.trim())){let s=function t(e,i,r=1){ti(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,n]=function(t){let e=th.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${i??r}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return to(n)?t(n,i,r+1):n}(r,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!K.has(i)||2!==t.length)return;let[r,s]=t,n=J(r),o=J(s);if(tl(r)!==tl(s)&&tT[i]){this.needsMeasurement=!0;return}if(n!==o)if(tw(n)&&tw(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tT[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!tz.has(e)&&L(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=tN(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tT[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,n=i[s];i[s]=tT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function tU(t,e){-1===t.indexOf(e)&&t.push(e)}function tW(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t${constructor(){this.subscriptions=[]}add(t){return tU(this.subscriptions,t),()=>tW(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let{schedule:tZ}=tM(queueMicrotask,!1);function tY(){i=void 0}let tX={now:()=>(void 0===i&&tX.set(tE.isProcessing||tP.useManualTiming?tE.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(tY)}};class tG{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tX.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tX.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t$);let i=this.events[t].add(e);return"change"===t?()=>{i(),tV.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return e&&e.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tX.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 tK(t,e){return new tG(t,e)}let tq=[..._,S,B],t_={current:null},tJ={current:!1},tQ="u">typeof window,t0=new WeakMap;function t1(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function t2(t){return"string"==typeof t||Array.isArray(t)}let t5=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],t3=["initial",...t5];function t4(t){return t1(t.animate)||t3.some(e=>t2(t[e]))}function t7(t){return!!(t4(t)||t.variants)}function t9(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function t6(t,e,i,r){if("function"==typeof e){let[s,n]=t9(r);e=e(void 0!==i?i:t.custom,s,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,n]=t9(r);e=e(void 0!==i?i:t.custom,s,n)}return e}let t8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],et={};
1class ee{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tO,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 t=tX.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tV.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=n;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=t4(e),this.isVariantNode=t7(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in u){const e=u[t];void 0!==a[t]&&G(e)&&e.set(a[t])}}mount(t){this.current=t,t0.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tJ.current||function(){if(tJ.current=!0,tQ)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>t_.current=t.matches;t.addEventListener("change",e),e()}else t_.current=!1}(),this.shouldReduceMotion=t_.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tA(this.notifyUpdate),tA(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=n.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tV.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in et){let e=et[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<t8.length;e++){let i=t8[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if(G(s))t.addValue(r,s);else if(G(n))t.addValue(r,tK(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,tK(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tK(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,s;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let r;r=i,!tq.find(q(r))&&B.test(e)&&(i=tN(t,e))}this.setBaseTarget(t,G(i)?i.get():i)}return G(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=t6(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||G(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new t$),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tZ.render(this.render)}}class ei extends ee{constructor(){super(...arguments),this.KeyframeResolver=tH}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;G(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function er(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let es=(t,e)=>e&&"number"==typeof t?e.transform(t):t,en={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eo=s.length;function ea(t,e,i){let{style:r,vars:o,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(n.has(t)){l=!0;continue}if(ts(t)){o[t]=i;continue}{let e=es(i,H[t]);t.startsWith("origin")?(h=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",n=!0;for(let o=0;o<eo;o++){let a=s[o],l=t[a];if(void 0===l)continue;let h=!0;if(!(h="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||i){let t=es(l,H[a]);if(!h){n=!1;let e=en[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let el={offset:"stroke-dashoffset",array:"stroke-dasharray"},eh={offset:"strokeDashoffset",array:"strokeDasharray"},eu=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ed(t,{attrX:e,attrY:i,attrScale:r,pathLength:s,pathSpacing:n=1,pathOffset:o=0,...a}
1,l,h,u){if(ea(t,a,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),eu))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==s&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?el:eh;t[n.offset]=`${-r}`,t[n.array]=`${e} ${i}`}(d,s,n,o,!1)}let ec=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"]),em=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ep(t,{style:e,vars:i},r,s){let n,o=t.style;for(n in e)o[n]=e[n];for(n in s?.applyProjectionStyles(o,r),i)o.setProperty(n,i[n])}function ef(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eg={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=ef(t,e.target.x),r=ef(t,e.target.y);return`${i}% ${r}%`}},ey=(t,e,i)=>t+(e-t)*i,ev={borderRadius:{...eg,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eg,borderTopRightRadius:eg,borderBottomLeftRadius:eg,borderBottomRightRadius:eg,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=B.parse(t);if(r.length>5)return t;let s=B.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=ey(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};function ex(t,{layout:e,layoutId:i}){return n.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ev[t]||"opacity"===t)}function ew(t,e,i){let r=t.style,s=e?.style,n={};if(!r)return n;for(let e in r)(G(r[e])||s&&G(s[e])||ex(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(n[e]=r[e]);return n}function eb(t,e,i){let r=ew(t,e,i);for(let i in t)(G(t[i])||G(e[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class ek extends ei{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.has(e)){let t=W(e);return t&&t.default||0}return e=ec.has(e)?e:er(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eb(t,e,i)}build(t,e,i){ed(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in ep(t,e,void 0,r),e.attrs)t.setAttribute(ec.has(i)?i:er(i),e.attrs[i])}mount(t){this.isSVGTag=em(t.tagName),super.mount(t)}}function eT({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function eC(t){return void 0===t||1===t}function eP({scale:t,scaleX:e,scaleY:i}){return!eC(t)||!eC(e)||!eC(i)}function eS(t){return eP(t)||eM(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eM(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eV(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function eA(t,e=0,i=1,r,s){t.min=eV(t.min,e,i,r,s),t.max=eV(t.max,e,i,r,s)}function eE(t,{x:e,y:i}){eA(t.x,e.translate,e.scale,e.originPoint),eA(t.y,i.translate,i.scale,i.originPoint)}function eL(t,e){t.min=t.min+e,t.max=t.max+e}function eR(t,e,i,r,s=.5){let n=ey(t.min,t.max,s);eA(t,e,i,n,r)}function eD(t,e){eR(t.x,e.x,e.scaleX,e.scale,e.originX),eR(t.y,e.y,e.scaleY,e.scale,e.originY)}function ej(t,e){return eT(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}class eB extends ei{constructor(){super(...arguments),this.type="html",this.renderInstance=ep}readValueFromInstance(t,e){if(n.has(e))return this.projection?.isProjecting?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tv(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(ts(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ej(t,e)}
1build(t,e,i){ea(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return ew(t,e,i)}}var eF=t.i(71645);let eI=["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 eO(t){if("string"!=typeof t||t.includes("-"));else if(eI.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eN=t.i(43476);let ez=(0,eF.createContext)({});t.s(["LayoutGroupContext",()=>ez],31178);let eH=(0,eF.createContext)({strict:!1}),eU=(0,eF.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>eU],37806);let eW=(0,eF.createContext)({});function e$(t){return Array.isArray(t)?t.join(" "):t}let eZ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eY(t,e,i){for(let r in e)G(e[r])||ex(r,i)||(t[r]=e[r])}let eX=()=>({...eZ(),attrs:{}}),eG=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","ignoreStrict","viewport"]);function eK(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eG.has(t)}let eq=t=>!eK(t);try{Q=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof Q&&(eq=t=>t.startsWith("on")?!eK(t):Q(t))}catch{}function e_(t){return G(t)?t.get():t}let eJ=(0,eF.createContext)(null);function eQ(t){let e=(0,eF.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",()=>eJ],21476),t.s(["useConstant",()=>eQ],47414);let e0=t=>(e,i)=>{let r=(0,eF.useContext)(eW),s=(0,eF.useContext)(eJ),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,s){return{latestValues:function(t,e,i,r){let s={},n=r(t,{});for(let t in n)s[t]=e_(n[t]);let{initial:o,animate:a}=t,l=t4(t),h=t7(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!t1(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=t6(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,r,s,t),renderState:e()}})(t,e,r,s);return i?n():eQ(n)},e1=e0({scrapeMotionValuesFromProps:ew,createRenderState:eZ}),e2=e0({scrapeMotionValuesFromProps:eb,createRenderState:eX}),e5="u">typeof window,e3={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"]},e4=!1;function e7(){return!function(){if(e4)return;let t={};for(let e in e3)t[e]={isEnabled:t=>e3[e].some(e=>!!t[e])};et=t,e4=!0}(),et}let e9=Symbol.for("motionComponentSymbol"),e6="data-"+er("framerAppearId"),e8=(0,eF.createContext)({});function it(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ie=e5?eF.useLayoutEffect:eF.useEffect;function ii(t,{forwardMotionProps:e=!1,type:i}={},r,s){r&&function(t){let e=e7();for(let i in t)e[i]={...e[i],...t[i]};et=e}(r);let n=i?"svg"===i:eO(t),o=n?e2:e1;function a(i,r){var a;let l,h,u,d={...(0,eF.useContext)(eU),...i,layoutId:function({layoutId:t}){let e=(0,eF.useContext)(ez).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,m=function(t){let{initial:e,animate:i}=function(t,e){if(t4(t)){let{initial:e,animate:i}=t;return{initial:!1===e||t2(e)?e:void 0,animate:t2(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,eF.useContext)(eW));return(0,eF.useMemo)(()=>({initial:e,animate:i}),[e$(e),e$(i)])}(i),p=o(i,c);if(!c&&e5){(0,eF.useContext)(eH).strict;let e=function(t){let{drag:e,layout:i}=e7();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(d);l=e.MeasureLayout,m.visualElement=function(t,e,i,r,s,n){let{visualElement:o}=(0,eF.useContext)(eW),a=(0,eF.useContext)(eH),l=(0,eF.useContext)(eJ),h=(0,eF.useContext)(eU).reducedMotion,u=(0,eF.useRef)(null);r=r||a.renderer,!u.current&&r&&(u.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,isSVG:n}));let d=u.current,c=(0,eF.useContext)(e8);d&&!d.projection&&s&&("html"===d.type||"svg"===d.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!o||a&&it(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:h})}(u.current,i,s,c);let m=(0,eF.useRef)(!1);(0,eF.useInsertionEffect)(()=>{d&&m.current&&d.update(i,l)});let p=i[e6],f=(0,eF.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return ie(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),f.current&&d.animationState&&d.animationState.animateChanges())}),(0,eF.useEffect)(()=>{d&&(!f.current&&d.animationState&&d.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),f.current=!1),d.enteringChildren=void 0)}),d}(t,p,d,s,e.ProjectionNode,n)}return(0,eN.jsxs)(eW.Provider,{value:m,children:[l&&m.visualElement?(0,eN.jsx)(l,{visualElement:m.visualElement,...d}):null,function(t,e,i,{latestValues:r},s,n=!1,o){let a=(o??eO(t)?function(t,e,i,r){let s=(0,eF.useMemo)(()=>{let i=eX();return ed(i,e,em(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eY(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,r,s={},n=(i=t.style||{},eY(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,eF.useMemo)(()=>{let i=eZ();return ea(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=n,s})(e,r,s,t),l=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(eq(s)||!0===i&&eK(s)||!e&&!eK(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,n),h=t!==eF.Fragment?{...l,...a,ref:i}
1:{},{children:u}=e,d=(0,eF.useMemo)(()=>G(u)?u.get():u,[u]);return(0,eF.createElement)(t,{...h,children:d})}(t,i,(a=m.visualElement,h=(0,eF.useRef)(r),(0,eF.useInsertionEffect)(()=>{h.current=r}),u=(0,eF.useRef)(null),(0,eF.useCallback)(t=>{t&&p.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t)},[a])),p,c,e,n)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,eF.forwardRef)(a);return l[e9]=t,l}t.s(["useIsomorphicLayoutEffect",()=>ie],74008);class ir{constructor(t){this.isMounted=!1,this.node=t}update(){}}function is(t,e,i){let r=t.getProps();return t6(r,e,void 0!==i?i:r.custom,t)}function io(t,e){return t?.[e]??t?.default??t}let ia=t=>Array.isArray(t);function il(t,e){let i=t.getValue("willChange");if(G(i)&&i.add)return i.add(e);if(!i&&tP.WillChange){let i=new tP.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let ih=t=>1e3*t,iu=(t,e)=>i=>e(t(i)),id=(...t)=>t.reduce(iu),ic={layout:0,mainThread:0,waapi:0};function im(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ip(t,e){return i=>i>0?e:t}let ig=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},iy=[y,g,P];function iv(t){let e=iy.find(e=>e.test(t));if(te(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===P&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;s=im(a,r,t+1/3),n=im(a,r,t),o=im(a,r,t-1/3)}else s=n=o=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*o),alpha:r}}(i)),i}let ix=(t,e)=>{let i=iv(t),r=iv(e);if(!i||!r)return ip(t,e);let s={...i};return t=>(s.red=ig(i.red,r.red,t),s.green=ig(i.green,r.green,t),s.blue=ig(i.blue,r.blue,t),s.alpha=ey(i.alpha,r.alpha,t),g.transform(s))},iw=new Set(["none","hidden"]);function ib(t,e){return i=>ey(t,e,i)}function ik(t){return"number"==typeof t?ib:"string"==typeof t?to(t)?ip:S.test(t)?ix:iP:Array.isArray(t)?iT:"object"==typeof t?S.test(t)?ix:iC:ip}function iT(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>ik(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function iC(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=ik(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let iP=(t,e)=>{let i=B.createTransformer(e),r=L(t),s=L(e);if(!(r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length))return te(!0,`Complex values '${t}' and '${e}' 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"),ip(t,e);if(iw.has(t)&&!s.values.length||iw.has(e)&&!r.values.length)return iw.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return id(iT(function(t,e){let i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let n=e.types[s],o=t.indexes[n][r[n]],a=t.values[o]??0;i[s]=a,r[n]++}return i}(r,s),s.values),i)};function iS(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?ey(t,e,i):ik(t)(t,e)}let iM=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tV.update(e,t),stop:()=>tA(e),now:()=>tE.isProcessing?tE.timestamp:tX.now()}},iV=(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function iA(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iE(t,e,i){var r,s;let n=Math.max(e-5,0);return r=i-t(n),(s=e-n)?1e3/s*r:0}let iL=.01,iR=2,iD=.005,ij=.5;function iB(t,e){return t*Math.sqrt(1-e*e)}let iF=["duration","bounce"],iI=["stiffness","damping","mass"];function iO(t,e){return e.some(e=>void 0!==t[e])}function iN(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:n}=r,a=r.keyframes[0],l=r.keyframes[r.keyframes.length-1],h={done:!1,value:a},{stiffness:u,damping:d,mass:c,duration:m,velocity:p,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iO(t,iI)&&iO(t,iF))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let s,n;te(t<=ih(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=o(.05,1,a),t=o(.01,10,t/1e3),a<1?(s=e=>{let r=e*a,s=r*t;return .001-(r-i)/iB(e,a)*Math.exp(-s)},n=e=>{let r=e*a*t,n=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-r),l=iB(Math.pow(e,2),a);return(r*i+i-n)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));
1let l=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(s,n,5/t);if(t=ih(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-((r.velocity||0)/1e3)}),g=p||0,y=d/(2*Math.sqrt(u*c)),v=l-a,x=Math.sqrt(u/c)/1e3,w=5>Math.abs(v);if(s||(s=w?iL:iR),n||(n=w?iD:ij),y<1){let t=iB(x,y);i=e=>l-Math.exp(-y*x*e)*((g+y*x*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===y)i=t=>l-Math.exp(-x*t)*(v+(g+x*v)*t);else{let t=x*Math.sqrt(y*y-1);i=e=>{let i=Math.exp(-y*x*e),r=Math.min(t*e,300);return l-i*((g+y*x*v)*Math.sinh(r)+t*v*Math.cosh(r))/t}}let b={calculatedDuration:f&&m||null,next:t=>{let e=i(t);if(f)h.done=t>=m;else{let r=0===t?g:0;y<1&&(r=0===t?ih(g):iE(i,t,e));let o=Math.abs(l-e)<=n;h.done=Math.abs(r)<=s&&o}return h.value=h.done?l:e,h},toString:()=>{let t=Math.min(iA(b),2e4),e=iV(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function iz({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,y=void 0===o?g:o(g);y!==g&&(f=y-m);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),w=t=>{let e=v(t),i=x(t);p.done=Math.abs(e)<=h,p.value=p.done?y:i},b=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=iN({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iE(x,t,p.value),damping:s,stiffness:n,restDelta:h,restSpeed:u})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),b(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),p)}}}iN.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min(iA(r),2e4);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:s/1e3}}(t,100,iN);return t.ease=e.ease,t.duration=ih(e.duration),t.type="keyframes",t};let iH=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iU(t,e,i,r){return t===e&&i===r?tC:s=>0===s||1===s?s:iH(function(t,e,i,r,s){let n,o,a=0;do(n=iH(o=e+(i-e)/2,r,s)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(s,0,1,t,i),e,r)}let iW=iU(.42,0,1,1),i$=iU(0,0,.58,1),iZ=iU(.42,0,.58,1),iY=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iX=t=>e=>1-t(1-e),iG=iU(.33,1.53,.69,.99),iK=iX(iG),iq=iY(iK),i_=t=>(t*=2)<1?.5*iK(t):.5*(2-Math.pow(2,-10*(t-1))),iJ=t=>1-Math.sin(Math.acos(t)),iQ=iX(iJ),i0=iY(iJ),i1=t=>Array.isArray(t)&&"number"==typeof t[0],i2={linear:tC,easeIn:iW,easeInOut:iZ,easeOut:i$,circIn:iJ,circInOut:i0,circOut:iQ,backIn:iK,backInOut:iq,backOut:iG,anticipate:i_},i5=t=>{if(i1(t)){ti(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return iU(e,i,r,s)}return"string"==typeof t?(ti(void 0!==i2[t],`Invalid easing type '${t}'`,"invalid-easing-type"),i2[t]):t},i3=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function i4({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n,a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(i5):i5(r),l={done:!1,value:e[0]},h=function(t,e,{clamp:i=!0,ease:r,mixer:s}={}){let n=t.length;if(ti(n===e.length,"Both input and output ranges must be the same length","range-length"),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let r=[],s=i||tP.mix||iS,n=t.length-1;for(let i=0;i<n;i++){let n=s(t[i],t[i+1]);e&&(n=id(Array.isArray(e)?e[i]||tC:e,n)),r.push(n)}return r}(e,r,s),h=l.length,u=i=>{if(a&&i<t[0])return e[0];let r=0;if(h>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let s=i3(t[r],t[r+1],i);return l[r](s)};return i?e=>u(o(t[0],t[n-1],e)):u}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=i3(0,e,r);t.push(ey(i,1,s))}}(n=[0],e.length-1),n),s.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||iZ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}let i7=t=>null!==t;function i9(t,{repeat:e,repeatType:i="loop"},r,s=1){let n=t.filter(i7),o=s<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return o&&void 0!==r?r:n[o]}let i6={decay:iz,inertia:iz,tween:i4,keyframes:i4,spring:iN};function i8(t){"string"==typeof t.type&&(t.type=i6[t.type])}class rt{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let re=t=>t/100;class ri extends rt{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tX.now()&&this.tick(tX.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ic.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;i8(t);let{type:e=i4,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:n=0}=t,{keyframes:o}=t,a=e||i4;a!==i4&&"number"!=typeof o[0]&&(this.mixKeyframes=id(re,iS(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-n})),null===l.calculatedDuration&&(l.calculatedDuration=iA(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:s,mirroredGenerator:n,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);
1let{delay:h=0,keyframes:u,repeat:d,repeatType:c,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,m&&(i-=m/a)):"mirror"===c&&(w=n)),x=o(0,1,i)*a}let b=v?{done:!1,value:u[0]}:w.next(x);s&&(b.value=s(b.value));let{done:k}=b;v||null===l||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return T&&p!==iz&&(b.value=i9(u,this.options,g,this.speed)),f&&f(b.value),T&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=ih(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tX.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iM,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"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(tX.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,ic.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function rr(t){let e;return()=>(void 0===e&&(e=t()),e)}let rs=rr(()=>void 0!==window.ScrollTimeline),rn={},ro=(r=rr(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>rn.linearEasing??r()),ra=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,rl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ra([0,.65,.55,1]),circOut:ra([.55,0,1,.45]),backIn:ra([.31,.01,.66,-.59]),backOut:ra([.33,1.53,.69,.99])};function rh(t){return"function"==typeof t&&"applyToOptions"in t}class ru extends rt{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:n=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=n,this.options=t,ti("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return rh(t)&&ro()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:s=300,repeat:n=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?ro()?iV(e,i):"ease-out":i1(e)?ra(e):Array.isArray(e)?e.map(e=>t(e,i)||rl.easeOut):rl[e]}(a,s);Array.isArray(d)&&(u.easing=d);let c={delay:r,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"};h&&(c.pseudoElement=h);let m=t.animate(u,c);return m}(e,i,r,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=i9(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),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(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ih(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&rs())?(this.animation.timeline=t,tC):e(this)}}let rd={anticipate:i_,backInOut:iq,circInOut:i0};class rc extends ru{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rd&&(t.ease=rd[t.ease])}(t),i8(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:s,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new ri({...n,autoplay:!1}),l=Math.max(10,tX.now()-this.startTime),h=o(0,10,l-10);e.setWithVelocity(a.sample(Math.max(0,l-h)).value,a.sample(l).value,h),a.stop()}}let rm=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.test(t)||"0"===t)&&!t.startsWith("url("));function rp(t){t.duration=0,t.type="keyframes"}let rf=new Set(["opacity","clipPath","filter","transform"]),rg=rr(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ry extends rt{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tX.now();const d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tO;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:s,type:n,velocity:o,delay:a,isHandoff:l,onUpdate:h}=i;
1this.resolvedAt=tX.now(),!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=rm(s,e),a=rm(n,e);return te(o===a,`You are trying to animate ${e} from "${s}" to "${n}". "${o?n:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||rh(i))&&r)}(t,s,n,o)&&((tP.instantAnimations||!a)&&h?.(i9(t,i,e)),t[0]=t[t.length-1],rp(i),i.repeat=0);let u={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return rg()&&i&&rf.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}(u),c=u.motionValue?.owner?.current,m=d?new rc({...u,element:c}):new ri(u);m.finished.then(()=>{this.notifyFinished()}).catch(tC),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tB=!0,tI(),tF(),tB=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rv={type:"spring",stiffness:500,damping:25,restSpeed:10},rx={type:"keyframes",duration:.8},rw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rb=t=>null!==t,rk=(t,e,i,r={},s,o)=>a=>{let l=io(r,t)||{},h=l.delay||r.delay||0,{elapsed:u=0}=r;u-=ih(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:s,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?rx:n.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rv:rw)(t,d)),d.duration&&(d.duration=ih(d.duration)),d.repeatDelay&&(d.repeatDelay=ih(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(rp(d),0===d.delay&&(c=!0)),(tP.instantAnimations||tP.skipAnimations)&&(c=!0,rp(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!o&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(rb),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return s[n]}(d.keyframes,l);if(void 0!==t)return void tV.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new ri(d):new ry(d)};function rT(t,e,{delay:i=0,transitionOverride:r,type:s}={}){let{transition:n=t.getDefaultTransition(),transitionEnd:o,...a}=e;r&&(n=r);let l=[],h=s&&t.animationState&&t.animationState.getState()[s];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,...io(n||{},e)},u=r.get();if(void 0!==u&&!r.isAnimating&&!Array.isArray(s)&&s===u&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[e6];if(i){let t=window.MotionHandoffAnimation(i,e,tV);null!==t&&(o.startTime=t,d=!0)}}il(t,e),r.start(rk(e,r,s,t.shouldReduceMotion&&K.has(e)?{type:!1}:o,t,d));let c=r.animation;c&&l.push(c)}return o&&Promise.all(l).then(()=>{tV.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=is(t,e)||{};for(let e in s={...s,...i}){var n;let i=ia(n=s[e])?n[n.length-1]||0:n;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tK(i))}}(t,o)})}),l}function rC(t,e,i,r=0,s=1){let n=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(n,o):1===s?n*r:a-n*r}function rP(t,e,i={}){let r=is(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let n=r?()=>Promise.all(rT(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;
1return function(t,e,i=0,r=0,s=0,n=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(rP(l,e,{...o,delay:i+("function"==typeof r?0:r)+rC(t.variantChildren,l,r,s,n)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,n,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([n(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[n,o]:[o,n];return t().then(()=>e())}}let rS=t3.length;function rM(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let rV=[...t5].reverse(),rA=t5.length;function rE(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rL(){return{animate:rE(!0),whileInView:rE(),whileHover:rE(),whileTap:rE(),whileDrag:rE(),whileFocus:rE(),exit:rE()}}let rR=0;function rD(t){return[t("x"),t("y")]}let rj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rB(t){return rj.has(t.tagName)||!0===t.isContentEditable}function rF(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let rI={x:!1,y:!1};function rO(t){return t.max-t.min}function rN(t,e,i,r=.5){t.origin=r,t.originPoint=ey(e.min,e.max,t.origin),t.scale=rO(i)/rO(e),t.translate=ey(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rz(t,e,i,r){rN(t.x,e.x,i.x,r?r.originX:void 0),rN(t.y,e.y,i.y,r?r.originY:void 0)}function rH(t,e,i){t.min=i.min+e.min,t.max=t.min+rO(e)}function rU(t,e,i){t.min=e.min-i.min,t.max=t.min+rO(e)}function rW(t,e,i){rU(t.x,e.x,i.x),rU(t.y,e.y,i.y)}let r$=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rZ(t){return{point:{x:t.pageX,y:t.pageY}}}function rY(t,e,i,r){return rF(t,e,t=>r$(t)&&i(t,rZ(t)),r)}let rX=({current:t})=>t?t.ownerDocument.defaultView:null,rG=(t,e)=>Math.abs(t-e),rK=new Set(["auto","scroll"]);class rq{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:n=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=rQ(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(rG(t.x,e.x)**2+rG(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=tE;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=r_(e,this.transformPagePoint),tV.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=rQ("pointercancel"===t.type?this.lastMoveEventInfo:r_(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!r$(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=r||window;const a=r_(rZ(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=tE;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,rQ(a,this.history)),this.removeListeners=id(rY(this.contextWindow,"pointermove",this.handlePointerMove),rY(this.contextWindow,"pointerup",this.handlePointerUp),rY(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(rK.has(t.overflowX)||rK.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:r.x-e.x,y:r.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,r),tV.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tA(this.updatePoint)}}function r_(t,e){return e?{point:e(t.point)}:t}function rJ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rQ({point:t},e){return{point:t,delta:rJ(t,r0(e)),offset:rJ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,s=r0(t);for(;i>=0&&(r=t[i],!(s.timestamp-r.timestamp>ih(.1)));)i--;if(!r)return{x:0,y:0};let n=(s.timestamp-r.timestamp)/1e3;if(0===n)return{x:0,y:0};let o={x:(s.x-r.x)/n,y:(s.y-r.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function r0(t){return t[t.length-1]}function r1(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function r2(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}
1function r5(t,e,i){return{min:r3(t,e),max:r3(t,i)}}function r3(t,e){return"number"==typeof t?t:t[e]||0}let r4=new WeakMap;class r7{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let s=t=>{e?(this.stopAnimation(),this.snapToCursor(rZ(t).point)):this.pauseAnimation()},n=(t,e)=>{this.stopAnimation();let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rI[t])return null;else return rI[t]=!0,()=>{rI[t]=!1};return rI.x||rI.y?null:(rI.x=rI.y=!0,()=>{rI.x=rI.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rD(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rO(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tV.postRender(()=>s(t,e)),il(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>rD(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:h}=this.getProps();this.panSession=new rq(t,{onSessionStart:s,onStart:n,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:rX(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!i)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:o}=this.getProps();o&&tV.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!r9(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?ey(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?ey(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&it(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:r1(t.x,i,s),y:r1(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:r5(t,"left","right"),y:r5(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rD(t=>{var e,r;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],s={},void 0!==r.min&&(s.min=r.min-e.min),void 0!==r.max&&(s.max=r.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!it(e))return!1;let r=e.current;ti(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;
1let n=function(t,e,i){let r=ej(t,i),{scroll:s}=e;return s&&(eL(r.x,s.offset.x),eL(r.y,s.offset.y)),r}(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:r2(t.x,n.x),y:r2(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eT(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rD(o=>{if(!r9(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return il(this.visualElement,t),i.start(rk(t,i,0,e,this.visualElement,!1))}stopAnimation(){rD(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rD(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rD(e=>{let{drag:i}=this.getProps();if(!r9(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-ey(i,n,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!it(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rD(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,a,l,h=e.get();r[t]=(i={min:h,max:h},s=this.constraints[t],n=.5,a=rO(i),(l=rO(s))>a?n=i3(s.min,s.max-a,i.min):a>l&&(n=i3(i.min,i.max-l,s.min)),o(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rD(e=>{if(!r9(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set(ey(s,n,r[e]))})}addListeners(){if(!this.visualElement.current)return;r4.set(this.visualElement,this);let t=this.visualElement.current,e=rY(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),s=e.target,n=s!==t&&rB(s);i&&r&&!n&&this.start(e)}),i=()=>{let{dragConstraints:t}=this.getProps();it(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tV.read(i);let n=rF(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rD(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),e(),s(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function r9(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let r6=t=>(e,i)=>{t&&tV.postRender(()=>t(e,i))},r8={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var st=eF;function se(t=!0){let e=(0,eF.useContext)(eJ);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:s}=e,n=(0,eF.useId)();(0,eF.useEffect)(()=>{if(t)return s(n)},[t]);let o=(0,eF.useCallback)(()=>t&&r&&r(n),[n,r,t]);return!i&&r?[!1,o]:[!0]}t.s(["usePresence",()=>se],64978);let si=!1;class sr extends st.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),si&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),r8.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,{projection:n}=i;return n&&(n.isPresent=s,si=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==s?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||tV.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tZ.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;si=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ss(t){let[e,i]=se(),r=(0,st.useContext)(ez);return(0,eN.jsx)(sr,{...t,layoutGroup:r,switchLayoutGroup:(0,st.useContext)(e8),isPresent:e,safeToRemove:i})}
1function sn(t,e,i,r,s){return t-=e,t=r+1/i*(t-r),void 0!==s&&(t=r+1/s*(t-r)),t}function so(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=ey(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=ey(n.min,n.max,r);t===n&&(a-=e),t.min=sn(t.min,e,i,a,s),t.max=sn(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let sa=["x","scaleX","originX"],sl=["y","scaleY","originY"];function sh(t,e,i,r){so(t.x,e,sa,i?i.x:void 0,r?r.x:void 0),so(t.y,e,sl,i?i.y:void 0,r?r.y:void 0)}function su(t,e){t.min=e.min,t.max=e.max}function sd(t,e){su(t.x,e.x),su(t.y,e.y)}function sc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function sm(t){return 0===t.translate&&1===t.scale}function sp(t){return sm(t.x)&&sm(t.y)}function sf(t,e){return t.min===e.min&&t.max===e.max}function sg(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function sy(t,e){return sg(t.x,e.x)&&sg(t.y,e.y)}function sv(t){return rO(t.x)/rO(t.y)}function sx(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}let sw=["TopLeft","TopRight","BottomLeft","BottomRight"],sb=sw.length,sk=t=>"string"==typeof t?parseFloat(t):t,sT=t=>"number"==typeof t||b.test(t);function sC(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sP=sM(0,.5,iQ),sS=sM(.5,.95,tC);function sM(t,e,i){return r=>r<t?0:r>e?1:i(i3(t,e,r))}function sV(t){return"object"==typeof t&&null!==t}function sA(t){return sV(t)&&"ownerSVGElement"in t}let sE=(t,e)=>t.depth-e.depth;class sL{constructor(){this.children=[],this.isDirty=!1}add(t){tU(this.children,t),this.isDirty=!0}remove(t){tW(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sE),this.isDirty=!1,this.children.forEach(t)}}class sR{constructor(){this.members=[]}add(t){tU(this.members,t),t.scheduleRender()}remove(t){if(tW(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let sD=["","X","Y","Z"],sj=0;function sB(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function sF({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=sj++,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,this.nodes.forEach(sN),this.nodes.forEach(sY),this.nodes.forEach(sX),this.nodes.forEach(sz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new sL)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t$),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=sA(e)&&!(sA(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,s=()=>this.root.updateBlockedByResize=!1;tV.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,n;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=tX.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&(tA(n),s(i-250))},tV.setup(n,!0),i=()=>tA(n),r8.hasAnimatedSinceResize&&(r8.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(sZ))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||sQ,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!sy(this.targetLayout,r),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...io(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||sZ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tA(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sG),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[e6];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tV,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(sU);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(sW);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(s$),this.nodes.forEach(sI),this.nodes.forEach(sO)):this.nodes.forEach(sW),this.clearAllSnapshots();let t=tX.now();tE.delta=o(0,1e3/60,t-tE.timestamp),tE.timestamp=t,tE.isProcessing=!0,tL.update.process(tE),tL.preRender.process(tE),tL.render.process(tE),tE.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tZ.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sH),this.sharedNodes.forEach(sK)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tV.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tV.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rO(this.snapshot.measuredBox.x)||rO(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!sp(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||eS(this.latestValues)||n)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),s2((e=r).x),s2(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return X();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(s3))){let{scroll:t}=this.root;t&&(eL(e.x,t.offset.x),eL(e.y,t.offset.y))}return e}removeElementScroll(t){let e=X();if(sd(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&sd(e,t),eL(e.x,s.offset.x),eL(e.y,s.offset.y))}return e}applyTransform(t,e=!1){let i=X();sd(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eD(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),eS(r.latestValues)&&eD(i,r.latestValues)}return eS(this.latestValues)&&eD(i,this.latestValues),i}removeTransform(t){let e=X();sd(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eS(i.latestValues))continue;eP(i.latestValues)&&i.updateSnapshot();let r=X();sd(r,i.measurePageBox()),sh(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return eS(this.latestValues)&&sh(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==tE.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:s}=this.options;if(!this.layout||!(r||s))return;this.resolvedRelativeTargetAt=tE.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,rH(o.x,a.x,l.x),rH(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):sd(this.target,this.layout.layoutBox),eE(this.target,this.targetDelta)):sd(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eP(this.parent.latestValues)||eM(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(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),rW(this.relativeTargetOrigin,e,i),sd(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tE.timestamp&&(i=!1),i)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;sd(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let s,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&eD(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,eE(t,n)),r&&eS(s.latestValues)&&eD(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=X());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(sc(this.prevProjectionDelta.x,this.projectionDelta.x),sc(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rz(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===o&&sx(this.projectionDelta.x,this.prevProjectionDelta.x)&&sx(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Z(),this.projectionDelta=Z(),this.projectionDeltaWithTransform=Z()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,s=r?r.latestValues:{},n={...this.latestValues},o=Z();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=X(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(sJ));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(sq(o.x,t.x,r),sq(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,m,p,f,g;rW(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=r,s_(m.x,p.x,f.x,g),s_(m.y,p.y,f.y,g),i&&(h=this.relativeTarget,c=i,sf(h.x,c.x)&&sf(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=X()),sd(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=ey(0,i.opacity??1,sP(r)),t.opacityExit=ey(e.opacity??1,0,sS(r))):n&&(t.opacity=ey(e.opacity??1,i.opacity??1,r));for(let s=0;s<sb;s++){let n=`border${sw[s]}Radius`,o=sC(e,n),a=sC(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||sT(o)===sT(a)?(t[n]=Math.max(ey(sk(o),sk(a),r),0),(w.test(a)||w.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=ey(e.rotate||0,i.rotate||0,r))}(n,s,this.latestValues,r,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tA(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tV.update(()=>{var e,i,r;let s;r8.hasAnimatedSinceResize=!0,ic.layout++,this.motionValue||(this.motionValue=tK(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ic.layout--},onComplete:()=>{ic.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=G(e)?e:tK(e)).start(rk("",s,i,r)),s.animation),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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&s5(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||X();let e=rO(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rO(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}sd(e,i),eD(e,s),rz(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sR),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&sB("z",t,r,this.animationValues);for(let e=0;e<sD.length;e++)sB(`rotate${sD[e]}`,t,r,this.animationValues),sB(`skew${sD[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=e_(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=e_(e?.pointerEvents)||""),this.hasProjected&&!eS(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=r.animationValues||r.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=i?.z||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:n,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotateX(${s}deg) `),n&&(r+=`rotateY(${n}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(n=i(s,n)),t.transform=n;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,ev){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ev[e],l="none"===n?s[e]:i(s[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?e_(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(sU),this.root.sharedNodes.clear()}}}function sI(t){t.updateLayout()}function sO(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,n=e.source!==t.layout.source;"size"===s?rD(t=>{let r=n?e.measuredBox[t]:e.layoutBox[t],s=rO(r);r.min=i[t].min,r.max=r.min+s}):s5(s,e.layoutBox,i)&&rD(r=>{let s=n?e.measuredBox[r]:e.layoutBox[r],o=rO(i[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=Z();rz(o,i,e.layoutBox);let a=Z();n?rz(a,t.applyTransform(r,!0),e.measuredBox):rz(a,i,e.layoutBox);let l=!sp(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=X();rW(o,e.layoutBox,s.layoutBox);let a=X();rW(a,i,n.layoutBox),sy(o,a)||(h=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function sN(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sz(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function sH(t){t.clearSnapshot()}function sU(t){t.clearMeasurements()}function sW(t){t.isLayoutDirty=!1}function s$(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sZ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sY(t){t.resolveTargetDelta()}function sX(t){t.calcProjection()}function sG(t){t.resetSkewAndRotation()}function sK(t){t.removeLeadSnapshot()}function sq(t,e,i){t.translate=ey(e.translate,0,i),t.scale=ey(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function s_(t,e,i,r){t.min=ey(e.min,i.min,r),t.max=ey(e.max,i.max,r)}function sJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let sQ={duration:.45,ease:[.4,0,.1,1]},s0=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),s1=s0("applewebkit/")&&!s0("chrome/")?Math.round:tC;function s2(t){t.min=s1(t.min),t.max=s1(t.max)}function s5(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(sv(e)-sv(i)))}function s3(t){return t!==t.root&&t.scroll?.wasRoot}let s4=sF({attachResizeListener:(t,e)=>rF(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),s7={current:void 0},s9=sF({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!s7.current){let t=new s4({});t.mount(window),t.setOptions({layoutScroll:!0}),s7.current=t}return s7.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function s6(t,e){let i=function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(t=>null!=t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function s8(t){return!("touch"===t.pointerType||rI.x||rI.y)}function nt(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&tV.postRender(()=>s(e,rZ(e)))}function ne(t){return sV(t)&&"offsetHeight"in t}t.s(["isHTMLElement",()=>ne],72846);let ni=(t,e)=>!!e&&(t===e||ni(t,e.parentElement)),nr=new WeakSet;function ns(t){return e=>{"Enter"===e.key&&t(e)}}function nn(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function no(t){return r$(t)&&!(rI.x||rI.y)}function na(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&tV.postRender(()=>s(e,rZ(e)))}let nl=new WeakMap,nh=new WeakMap,nu=t=>{let e=nl.get(t.target);e&&e(t)},nd=t=>{t.forEach(nu)},nc={some:0,all:1},nm=function(t,e){if("u"<typeof Proxy)return ii;let i=new Map,r=(i,r)=>ii(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,n)=>"create"===n?r:(i.has(n)||i.set(n,ii(n,void 0,t,e)),i.get(n))})}({animation:{Feature:class extends ir{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>rP(t,e,i)));else if("string"==typeof e)r=rP(t,e,i);else{let s="function"==typeof e?is(t,e,i.custom):e;r=Promise.all(rT(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rL(),r=!0,s=e=>(i,r)=>{let s=is(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...r}=s;i={...i,...r,...e}}return i};function n(n){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<rS;t++){let r=t3[t],s=e.props[r];(t2(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e<rA;e++){var c,m;let p=rV[e],f=i[p],g=void 0!==o[p]?o[p]:a[p],y=t2(g),v=p===n?f.isActive:null;!1===v&&(d=e);let x=g===a[p]&&g!==o[p]&&y;if(x&&r&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...u},!f.isActive&&null===v||!g&&!f.prevProp||t1(g)||"boolean"==typeof g)continue;let w=(c=f.prevProp,"string"==typeof(m=g)?m!==c:!!Array.isArray(m)&&!rM(m,c)),b=w||p===n&&f.isActive&&!x&&y||e>d&&y,k=!1,T=Array.isArray(g)?g:[g],C=T.reduce(s(p),{});!1===v&&(C={});let{prevResolvedValues:P={}}=f,S={...P,...C},M=e=>{b=!0,h.has(e)&&(k=!0,h.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in S){let e=C[t],i=P[t];if(!u.hasOwnProperty(t))(ia(e)&&ia(i)?rM(e,i):e===i)?void 0!==e&&h.has(t)?M(t):f.protectedKeys[t]=!0:null!=e?M(t):h.add(t)}f.prevProp=g,f.prevResolvedValues=C,f.isActive&&(u={...u,...C}),r&&t.blockInitialAnimation&&(b=!1);let V=x&&w,A=!V||k;b&&A&&l.push(...T.map(e=>{let i={type:p};if("string"==typeof e&&r&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,s=is(r,e);if(r.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=rC(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=is(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let p=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),r=!1,p?e(l):Promise.resolve()}return{animateChanges:n,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let s=n(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rL()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();t1(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ir{constructor(){super(...arguments),this.id=rR++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends ir{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:nc[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;nh.has(i)||nh.set(i,{});let r=nh.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(nd,{root:t,...e})),r[s]}(a),nl.set(t,l),e.observe(t),()=>{nl.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=s6(t,i),o=t=>{let r=t.currentTarget;if(!no(t))return;nr.add(r);let n=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),nr.has(r)&&nr.delete(r),no(t)&&"function"==typeof n&&n(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||ni(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),ne(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=ns(()=>{if(nr.has(i))return;nn(i,"down");let t=ns(()=>{nn(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nn(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s)),rB(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(na(this.node,e,"Start"),(t,{success:e})=>na(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends ir{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=id(rF(this.node.current,"focus",()=>this.onFocus()),rF(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=s6(t,i),o=t=>{if(!s8(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let n=t=>{s8(t)&&(r(t),i.removeEventListener("pointerleave",n))};i.addEventListener("pointerleave",n,s)};return r.forEach(t=>{t.addEventListener("pointerenter",o,s)}),n}(t,(t,e)=>(nt(this.node,e,"Start"),t=>nt(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends ir{constructor(){super(...arguments),this.removePointerDownListener=tC}onPointerDown(t){this.session=new rq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rX(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:r6(t),onStart:r6(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&tV.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=rY(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ir{constructor(t){super(t),this.removeGroupControls=tC,this.removeListeners=tC,this.controls=new r7(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tC}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.endPanSession()}},ProjectionNode:s9,MeasureLayout:ss},layout:{ProjectionNode:s9,MeasureLayout:ss}},(t,e)=>e.isSVG??eO(t)?new ek(e):new eB(e,{allowProjection:t!==eF.Fragment}));t.s(["motion",()=>nm],46932)}]);
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.