PageSourceSearch

https://smiled.ai/assets/index-DCgr8Zd0.js

js smiled.ai collected 2026-10-05 15:06:20 UTC 203,897 bytes, 31 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/WhyExistsSection-CsVeRQ1V.js","assets/radix-vendor-DAYUD6Cr.js","assets/react-vendor-DJcYfsJ3.js","assets/eye-CAIXVqZo.js","assets/PipelineSection-C9QPoGr0.js","assets/UseCasesSection-k8ITmKlU.js","assets/shield-BuEELnWR.js","assets/FeaturesSection-CVY1H2Yl.js","assets/circle-check-big-CW9MJcEb.js","assets/IntegrationsSection-C0fSq0fH.js","assets/DemoCTA-D5OqtfIX.js","assets/ContactSection-DQF7g67F.js","assets/api-DVVosKSC.js","assets/PricingPage-BoFvGDTy.js","assets/PrivacyPolicy-Dy_lk56W.js","assets/TermsOfService-Czrp5pj8.js","assets/CookiePolicy-CyyS6T0T.js","assets/DocumentationPage-DfcigzpC.js"])))=>i.map(i=>d[i]);
2import{r as t,R as e,j as n,c as o}from"./radix-vendor-DAYUD6Cr.js";import{a as i}from"./react-vendor-DJcYfsJ3.js";!function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const t of document.querySelectorAll('link[rel="modulepreload"]'))e(t);new MutationObserver(t=>{for(const n of t)if("childList"===n.type)for(const t of n.addedNodes)"LINK"===t.tagName&&"modulepreload"===t.rel&&e(t)}).observe(document,{childList:!0,subtree:!0})}function e(t){if(t.ep)return;t.ep=!0;const e=function(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),"use-credentials"===t.crossOrigin?e.credentials="include":"anonymous"===t.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}(t);fetch(t.href,e)}}();var r,s={};var a=function(){if(r)return s;r=1;var t=i();return s.createRoot=t.createRoot,s.hydrateRoot=t.hydrateRoot,s}();const l={},c=function(t,e,n){let o=Promise.resolve();if(e&&e.length>0){let t=function(t){return Promise.all(t.map(t=>Promise.resolve(t).then(t=>({status:"fulfilled",value:t}),t=>({status:"rejected",reason:t}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),i=n?.nonce||n?.getAttribute("nonce");o=t(e.map(t=>{if((t=function(t){return"/"+t}(t))in l)return;l[t]=!0;const e=t.endsWith(".css"),n=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${n}`))return;const o=document.createElement("link");return o.rel=e?"stylesheet":"modulepreload",e||(o.as="script"),o.crossOrigin="",o.href=t,i&&o.setAttribute("nonce",i),document.head.appendChild(o),e?new Promise((e,n)=>{o.addEventListener("load",e),o.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}))}function i(t){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=t,window.dispatchEvent(e),!e.defaultPrevented)throw t}return o.then(e=>{for(const t of e||[])"rejected"===t.status&&i(t.reason);return t().catch(i)})},u=t=>{const e=(t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,n)=>n?n.toUpperCase():e.toLowerCase()))(t);return e.charAt(0).toUpperCase()+e.slice(1)},h=(...t)=>t.filter((t,e,n)=>Boolean(t)&&""!==t.trim()&&n.indexOf(t)===e).join(" ").trim();
3/**
4 * @license lucide-react v0.487.0 - ISC
5 *
6 * This source code is licensed under the ISC license.
7 * See the LICENSE file in the root directory of this source tree.
8 */
9var d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
10/**
11 * @license lucide-react v0.487.0 - ISC
12 *
13 * This source code is licensed under the ISC license.
14 * See the LICENSE file in the root directory of this source tree.
15 */const p=t.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:r="",children:s,iconNode:a,...l},c)=>t.createElement("svg",{ref:c,...d,width:n,height:n,stroke:e,strokeWidth:i?24*Number(o)/Number(n):o,className:h("lucide",r),...l},[...a.map(([e,n])=>t.createElement(e,n)),...Array.isArray(s)?s:[s]])),m=(e,n)=>{const o=t.forwardRef(({className:o,...i},r)=>{return t.createElement(p,{ref:r,iconNode:n,className:h(`lucide-${s=u(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...i});var s});return o.displayName=u(e),o},f=m("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]),g=m("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),y=m("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]),v=m("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,622 bytes, lines 15-21
15],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);
16/**
17 * @license lucide-react v0.487.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */var x=Symbol.for("react.lazy"),b=e[" use ".trim().toString()];function w(t){return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===x&&"_payload"in t&&("object"==typeof(e=t._payload)&&null!==e&&"then"in e);var e}function k(e){const o=T(e),i=t.forwardRef((e,i)=>{let{children:r,...s}=e;w(r)&&"function"==typeof b&&(r=b(r._payload));const a=t.Children.toArray(r),l=a.find(E);if(l){const e=l.props.children,r=a.map(n=>n===l?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return n.jsx(o,{...s,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return n.jsx(o,{...s,ref:i,children:r})});return i.displayName=`${e}.Slot`,i}var S=k("Slot");function T(e){const n=t.forwardRef((e,n)=>{let{children:i,...r}=e;if(w(i)&&"function"==typeof b&&(i=b(i._payload)),t.isValidElement(i)){const e=function(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;if(n)return t.ref;if(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n)return t.props.ref;return t.props.ref||t.ref}(i),s=function(t,e){const n={...e};for(const o in e){const i=t[o],r=e[o];/^on[A-Z]/.test(o)?i&&r?n[o]=(...t)=>{const e=r(...t);return i(...t),e}:i&&(n[o]=i):"style"===o?n[o]={...i,...r}:"className"===o&&(n[o]=[i,r].filter(Boolean).join(" "))}return{...t,...n}}(r,i.props);return i.type!==t.Fragment&&(s.ref=n?o(n,e):e),t.cloneElement(i,s)}return t.Children.count(i)>1?t.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var P=Symbol("radix.slottable");function E(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===P}function C(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=C(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function R(){for(var t,e,n=0,o="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=C(t))&&(o&&(o+=" "),o+=e);return o}const M=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,j=R,A=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),D="-",V=[],L=t=>{const e=N(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]"))return B(t);const n=t.split(D),o=""===n[0]&&n.length>1?1:0;return F(n,o,e)},getConflictingClassGroupIds:(t,e)=>{if(e){const e=o[t],i=n[t];return e?i?((t,e)=>{const n=new Array(t.length+e.length);for(let o=0;o<t.length;o++)n[o]=t[o];for(let o=0;o<e.length;o++)n[t.length+o]=e[o];return n})(i,e):e:i||V}return n[t]||V}}},F=(t,e,n)=>{if(0===t.length-e)return n.classGroupId;const o=t[e],i=n.nextPart.get(o);if(i){const n=F(t,e+1,i);if(n)return n}const r=n.validators;if(null===r)return;const s=0===e?t.join(D):t.slice(e).join(D),a=r.length;for(let l=0;l<a;l++){const t=r[l];if(t.validator(s))return t.classGroupId}},B=t=>-1===t.slice(1,-1).indexOf(":")?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),o=e.slice(0,n);return o?"arbitrary.."+o:void 0})(),N=t=>{const{theme:e,classGroups:n}=t;return O(n,e)},O=(t,e)=>{const n=A();for(const o in t){const i=t[o];I(i,n,o,e)}return n},I=(t,e,n,o)=>{const i=t.length;for(let r=0;r<i;r++){const i=t[r];$(i,e,n,o)}},$=(t,e,n,o)=>{"string"!=typeof t?"function"!=typeof t?U(t,e,n,o):_(t,e,n,o):z(t,e,n)},z=(t,e,n)=>{(""===t?e:W(e,t)).classGroupId=n},_=(t,e,n,o)=>{Y(t)?I(t(o),e,n,o):(null===e.validators&&(e.validators=[]),e.validators.push(((t,e)=>({classGroupId:t,validator:e}))(n,t)))},U=(t,e,n,o)=>{const i=Object.entries(t),r=i.length;for(let s=0;s<r;s++){const[t,r]=i[s];I(r,W(e,t),n,o)}},W=(t,e)=>{let n=t;const o=e.split(D),i=o.length;for(let r=0;r<i;r++){const t=o[r];let e=n.nextPart.get(t);e||(e=A(),n.nextPart.set(t,e)),n=e}return n},Y=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,H=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),o=Object.create(null);const i=(i,r)=>{n[i]=r,e++,e>t&&(e=0,o=n,n=Object.create(null))};return{get(t){let e=n[t];return void 0!==e?e:void 0!==(e=o[t])?(i(t,e),e):void 0},set(t,e){t in n?n[t]=e:i(t,e)}}},K=[],G=(t,e,n,o,i)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:o,isExternal:i}),X=t=>{const{prefix:e,experimentalParseClassName:n}=t;let o=t=>{const e=[];let n,o=0,i=0,r=0;const s=t.length;for(let u=0;u<s;u++){const s=t[u];
vendor: 10,499 bytes, line 21
21if(0===o&&0===i){if(":"===s){e.push(t.slice(r,u)),r=u+1;continue}if("/"===s){n=u;continue}}"["===s?o++:"]"===s?o--:"("===s?i++:")"===s&&i--}const a=0===e.length?t:t.slice(r);let l=a,c=!1;a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0);return G(e,c,l,n&&n>r?n-r:void 0)};if(e){const t=e+":",n=o;o=e=>e.startsWith(t)?n(e.slice(t.length)):G(K,!1,e,void 0,!0)}if(n){const t=o;o=e=>n({className:e,parseClassName:t})}return o},Z=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((t,n)=>{e.set(t,1e6+n)}),t=>{const n=[];let o=[];for(let i=0;i<t.length;i++){const r=t[i],s="["===r[0],a=e.has(r);s||a?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(r)):o.push(r)}return o.length>0&&(o.sort(),n.push(...o)),n}},q=/\s+/,J=t=>{if("string"==typeof t)return t;let e,n="";for(let o=0;o<t.length;o++)t[o]&&(e=J(t[o]))&&(n&&(n+=" "),n+=e);return n},Q=(t,...e)=>{let n,o,i,r;const s=t=>{const e=o(t);if(e)return e;const r=((t,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:r}=e,s=[],a=t.trim().split(q);let l="";for(let c=a.length-1;c>=0;c-=1){const t=a[c],{isExternal:e,modifiers:u,hasImportantModifier:h,baseClassName:d,maybePostfixModifierPosition:p}=n(t);if(e){l=t+(l.length>0?" "+l:l);continue}let m=!!p,f=o(m?d.substring(0,p):d);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=o(d),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=0===u.length?"":1===u.length?u[0]:r(u).join(":"),y=h?g+"!":g,v=y+f;if(s.indexOf(v)>-1)continue;s.push(v);const x=i(f,m);for(let n=0;n<x.length;++n){const t=x[n];s.push(y+t)}l=t+(l.length>0?" "+l:l)}return l})(t,n);return i(t,r),r};return r=a=>{const l=e.reduce((t,e)=>e(t),t());return n=(t=>({cache:H(t.cacheSize),parseClassName:X(t),sortModifiers:Z(t),...L(t)}))(l),o=n.cache.get,i=n.cache.set,r=s,s(a)},(...t)=>r(((...t)=>{let e,n,o=0,i="";for(;o<t.length;)(e=t[o++])&&(n=J(e))&&(i&&(i+=" "),i+=n);return i})(...t))},tt=[],et=t=>{const e=e=>e[t]||tt;return e.isThemeGetter=!0,e},nt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ot=/^\((?:(\w[\w-]*):)?(.+)\)$/i,it=/^\d+\/\d+$/,rt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,st=/\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$/,at=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,lt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ct=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ut=t=>it.test(t),ht=t=>!!t&&!Number.isNaN(Number(t)),dt=t=>!!t&&Number.isInteger(Number(t)),pt=t=>t.endsWith("%")&&ht(t.slice(0,-1)),mt=t=>rt.test(t),ft=()=>!0,gt=t=>st.test(t)&&!at.test(t),yt=()=>!1,vt=t=>lt.test(t),xt=t=>ct.test(t),bt=t=>!kt(t)&&!Rt(t),wt=t=>Ft(t,It,yt),kt=t=>nt.test(t),St=t=>Ft(t,$t,gt),Tt=t=>Ft(t,zt,ht),Pt=t=>Ft(t,Nt,yt),Et=t=>Ft(t,Ot,xt),Ct=t=>Ft(t,Ut,vt),Rt=t=>ot.test(t),Mt=t=>Bt(t,$t),jt=t=>Bt(t,_t),At=t=>Bt(t,Nt),Dt=t=>Bt(t,It),Vt=t=>Bt(t,Ot),Lt=t=>Bt(t,Ut,!0),Ft=(t,e,n)=>{const o=nt.exec(t);return!!o&&(o[1]?e(o[1]):n(o[2]))},Bt=(t,e,n=!1)=>{const o=ot.exec(t);return!!o&&(o[1]?e(o[1]):n)},Nt=t=>"position"===t||"percentage"===t,Ot=t=>"image"===t||"url"===t,It=t=>"length"===t||"size"===t||"bg-size"===t,$t=t=>"length"===t,zt=t=>"number"===t,_t=t=>"family-name"===t,Ut=t=>"shadow"===t,Wt=Q(()=>{const t=et("color"),e=et("font"),n=et("text"),o=et("font-weight"),i=et("tracking"),r=et("leading"),s=et("breakpoint"),a=et("container"),l=et("spacing"),c=et("radius"),u=et("shadow"),h=et("inset-shadow"),d=et("text-shadow"),p=et("drop-shadow"),m=et("blur"),f=et("perspective"),g=et("aspect"),y=et("ease"),v=et("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Rt,kt],b=()=>[Rt,kt,l],w=()=>[ut,"full","auto",...b()],k=()=>[dt,"none","subgrid",Rt,kt],S=()=>["auto",{span:["full",dt,Rt,kt]},dt,Rt,kt],T=()=>[dt,"auto",Rt,kt],P=()=>["auto","min","max","fr",Rt,kt],E=()=>["auto",...b()],C=()=>[ut,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],R=()=>[t,Rt,kt],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",At,Pt,{position:[Rt,kt]}],j=()=>["auto","cover","contain",Dt,wt,{size:[Rt,kt]}],A=()=>[pt,Mt,St],D=()=>["","none","full",c,Rt,kt],V=()=>["",ht,Mt,St],L=()=>[ht,pt,At,Pt],F=()=>["","none",m,Rt,kt],B=()=>["none",ht,Rt,kt],N=()=>["none",ht,Rt,kt],O=()=>[ht,Rt,kt],I=()=>[ut,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[mt],breakpoint:[mt],color:[ft],container:[mt],"drop-shadow":[mt],ease:["in","out","in-out"],font:[bt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[mt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[mt],shadow:[mt],spacing:["px",ht],text:[mt],"text-shadow":[mt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ut,kt,Rt,g]}],container:["container"],columns:[{columns:[ht,kt,Rt,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[dt,"auto",Rt,kt]}],basis:[{basis:[ut,"full","auto",a,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ht,ut,"auto","initial","none",kt]}],grow:[{grow:["",ht,Rt,kt]}],shrink:[{shrink:["",ht,Rt,kt]}],order:[{order:[dt,"first","last","none",Rt,kt]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:C()}],w:[{w:[a,"screen",...C()]}],"min-w":[{"min-w":[a,"screen","none",...C()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...C()]}],h:[{h:["screen","lh",...C()]}],"min-h":[{"min-h":["screen","lh","none",...C()]}],"max-h":[{"max-h":["screen","lh",...C()]}],"font-size":[{text:["base",n,Mt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Rt,Tt]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",pt,kt]}],"font-family":[{font:[jt,kt,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:[i,Rt,kt]}],"line-clamp":[{"line-clamp":[ht,"none",Rt,Tt]}],leading:[{leading:[r,...b()]}],"list-image":[{"list-image":["none",Rt,kt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Rt,kt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","
21wavy"]}],"text-decoration-thickness":[{decoration:[ht,"from-font","auto",Rt,St]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[ht,"auto",Rt,kt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Rt,kt]}],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",Rt,kt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dt,Rt,kt],radial:["",Rt,kt],conic:[dt,Rt,kt]},Vt,Et]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:A()}],"gradient-via-pos":[{via:A()}],"gradient-to-pos":[{to:A()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}
vendor: 6,275 bytes, line 21
21],"divide-color":[{divide:R()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ht,Rt,kt]}],"outline-w":[{outline:["",ht,Mt,St]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",u,Lt,Ct]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",h,Lt,Ct]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[ht,St]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",d,Lt,Ct]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[ht,Rt,kt]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[ht]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[Rt,kt]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ht]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Rt,kt]}],filter:[{filter:["","none",Rt,kt]}],blur:[{blur:F()}],brightness:[{brightness:[ht,Rt,kt]}],contrast:[{contrast:[ht,Rt,kt]}],"drop-shadow":[{"drop-shadow":["","none",p,Lt,Ct]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",ht,Rt,kt]}],"hue-rotate":[{"hue-rotate":[ht,Rt,kt]}],invert:[{invert:["",ht,Rt,kt]}],saturate:[{saturate:[ht,Rt,kt]}],sepia:[{sepia:["",ht,Rt,kt]}],"backdrop-filter":[{"backdrop-filter":["","none",Rt,kt]}],"backdrop-blur":[{"backdrop-blur":F()}],"backdrop-brightness":[{"backdrop-brightness":[ht,Rt,kt]}],"backdrop-contrast":[{"backdrop-contrast":[ht,Rt,kt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ht,Rt,kt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ht,Rt,kt]}],"backdrop-invert":[{"backdrop-invert":["",ht,Rt,kt]}],"backdrop-opacity":[{"backdrop-opacity":[ht,Rt,kt]}],"backdrop-saturate":[{"backdrop-saturate":[ht,Rt,kt]}],"backdrop-sepia":[{"backdrop-sepia":["",ht,Rt,kt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Rt,kt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ht,"initial",Rt,kt]}],ease:[{ease:["linear","initial",y,Rt,kt]}],delay:[{delay:[ht,Rt,kt]}],animate:[{animate:["none",v,Rt,kt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Rt,kt]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:B()}],"rotate-x":[{"rotate-x":B()}],"rotate-y":[{"rotate-y":B()}],"rotate-z":[{"rotate-z":B()}],scale:[{scale:N()}],"scale-x":[{"scale-x":N()}],"scale-y":[{"scale-y":N()}],"scale-z":[{"scale-z":N()}],"scale-3d":["scale-3d"],skew:[{skew:O()}],"skew-x":[{"skew-x":O()}],"skew-y":[{"skew-y":O()}],transform:[{transform:[Rt,kt,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:I()}],"translate-x":[{"translate-x":I()}],"translate-y":[{"translate-y":I()}],"translate-z":[{"translate-z":I()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}
vendor: 4,460 bytes, line 21
21],"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",Rt,kt]}],"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":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",Rt,kt]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[ht,Mt,St,Tt]}],stroke:[{stroke:["none",...R()]}],"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 Yt(...t){return Wt(R(t))}
vendor: 1,580 bytes, line 21
21const Ht=(Kt="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",Gt={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9 rounded-md"}},defaultVariants:{variant:"default",size:"default"}},t=>{var e;if(null==(null==Gt?void 0:Gt.variants))return j(Kt,null==t?void 0:t.class,null==t?void 0:t.className);const{variants:n,defaultVariants:o}=Gt,i=Object.keys(n).map(e=>{const i=null==t?void 0:t[e],r=null==o?void 0:o[e];if(null===i)return null;const s=M(i)||M(r);return n[e][s]}
21),r=t&&Object.entries(t).reduce((t,e)=>{let[n,o]=e;return void 0===o||(t[n]=o),t},{}),s=null==Gt||null===(e=Gt.compoundVariants)||void 0===e?void 0:e.reduce((t,e)=>{let{class:n,className:i,...s}=e;return Object.entries(s).every(t=>{let[e,n]=t;return Array.isArray(n)?n.includes({...o,...r}[e]):{...o,...r}[e]===n})?[...t,n,i]:t},[]);return j(Kt,i,s,null==t?void 0:t.class,null==t?void 0:t.className)});var Kt,Gt;function Xt({className:t,variant:e,size:o,asChild:i=!1,...r}){const s=i?S:"button";return n.jsx(s,{"data-slot":"button",className:Yt(Ht({variant:e,size:o,className:t})),...r})}
22/**
23 * react-router v7.12.0
24 *
25 * Copyright (c) Remix Software Inc.
26 *
27 * This source code is licensed under the MIT license found in the
28 * LICENSE.md file in the root directory of this source tree.
29 *
30 * @license MIT
31 */var Zt="popstate";function qt(t={}){return function(t,e,n,o={}){let{window:i=document.defaultView,v5Compat:r=!1}=o,s=i.history,a="POP",l=null,c=u();null==c&&(c=0,s.replaceState({...s.state,idx:c},""));function u(){return(s.state||{idx:null}).idx}function h(){a="POP";let t=u(),e=null==t?null:t-c;c=t,l&&l({action:a,location:f.location,delta:e})}function d(t,e){a="PUSH";let n=ee(f.location,t,e);c=u()+1;let o=te(n,c),h=f.createHref(n);try{s.pushState(o,"",h)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;i.location.assign(h)}r&&l&&l({action:a,location:f.location,delta:1})}function p(t,e){a="REPLACE";let n=ee(f.location,t,e);c=u();let o=te(n,c),i=f.createHref(n);s.replaceState(o,"",i),r&&l&&l({action:a,location:f.location,delta:0})}function m(t){return function(t,e=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href);Jt(n,"No window.location.(origin|href) available to create URL");let o="string"==typeof t?t:ne(t);o=o.replace(/ $/,"%20"),!e&&o.startsWith("//")&&(o=n+o);return new URL(o,n)}(t)}let f={get action(){return a},get location(){return t(i,s)},listen(t){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Zt,h),l=t,()=>{i.removeEventListener(Zt,h),l=null}},createHref:t=>e(i,t),createURL:m,encodeLocation(t){let e=m(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:d,replace:p,go:t=>s.go(t)};return f}(function(t,e){let{pathname:n,search:o,hash:i}=t.location;return ee("",{pathname:n,search:o,hash:i},e.state&&e.state.usr||null,e.state&&e.state.key||"default")},function(t,e){return"string"==typeof e?e:ne(e)},0,t)}function Jt(t,e){if(!1===t||null==t)throw new Error(e)}function Qt(t,e){if(!t)try{throw new Error(e)}catch(n){}}function te(t,e){return{usr:t.state,key:t.key,idx:e}}function ee(t,e,n=null,o){return{pathname:"string"==typeof t?t:t.pathname,search:"",hash:"",..."string"==typeof e?oe(e):e,state:n,key:e&&e.key||o||Math.random().toString(36).substring(2,10)}}function ne({pathname:t="/",search:e="",hash:n=""}){return e&&"?"!==e&&(t+="?"===e.charAt(0)?e:"?"+e),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function oe(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let o=t.indexOf("?");o>=0&&(e.search=t.substring(o),t=t.substring(0,o)),t&&(e.pathname=t)}return e}function ie(t,e,n="/"){return function(t,e,n,o){let i="string"==typeof e?oe(e):e,r=ve(i.pathname||"/",n);if(null==r)return null;let s=re(t);!function(t){t.sort((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){let n=t.length===e.length&&t.slice(0,-1).every((t,n)=>t===e[n]);return n?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map(t=>t.childrenIndex),e.routesMeta.map(t=>t.childrenIndex)))}(s);let a=null;for(let l=0;null==a&&l<s.length;++l){let t=ye(r);a=fe(s[l],t,o)}return a}(t,e,n,!1)}function re(t,e=[],n=[],o="",i=!1){let r=(t,r,s=i,a)=>{let l={relativePath:void 0===a?t.path||"":a,caseSensitive:!0===t.caseSensitive,childrenIndex:r,route:t};if(l.relativePath.startsWith("/")){if(!l.relativePath.startsWith(o)&&s)return;Jt(l.relativePath.startsWith(o),`Absolute route path "${l.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(o.length)}let c=Pe([o,l.relativePath]),u=n.concat(l);t.children&&t.children.length>0&&(Jt(!0!==t.index,`Index routes must not have child routes. Please remove all child routes from route path "${c}
31".`),re(t.children,e,u,c,s)),(null!=t.path||t.index)&&e.push({path:c,score:me(c,t.index),routesMeta:u})};return t.forEach((t,e)=>{if(""!==t.path&&t.path?.includes("?"))for(let n of se(t.path))r(t,e,!0,n);else r(t,e)}),e}function se(t){let e=t.split("/");if(0===e.length)return[];let[n,...o]=e,i=n.endsWith("?"),r=n.replace(/\?$/,"");if(0===o.length)return i?[r,""]:[r];let s=se(o.join("/")),a=[];return a.push(...s.map(t=>""===t?r:[r,t].join("/"))),i&&a.push(...s),a.map(e=>t.startsWith("/")&&""===e?"/":e)}var ae=/^:[\w-]+$/,le=3,ce=2,ue=1,he=10,de=-2,pe=t=>"*"===t;function me(t,e){let n=t.split("/"),o=n.length;return n.some(pe)&&(o+=de),e&&(o+=ce),n.filter(t=>!pe(t)).reduce((t,e)=>t+(ae.test(e)?le:""===e?ue:he),o)}function fe(t,e,n=!1){let{routesMeta:o}=t,i={},r="/",s=[];for(let a=0;a<o.length;++a){let t=o[a],l=a===o.length-1,c="/"===r?e:e.slice(r.length)||"/",u=ge({path:t.relativePath,caseSensitive:t.caseSensitive,end:l},c),h=t.route;if(!u&&l&&n&&!o[o.length-1].route.index&&(u=ge({path:t.relativePath,caseSensitive:t.caseSensitive,end:!1},c)),!u)return null;
31Object.assign(i,u.params),s.push({params:i,pathname:Pe([r,u.pathname]),pathnameBase:Ee(Pe([r,u.pathnameBase])),route:h}),"/"!==u.pathnameBase&&(r=Pe([r,u.pathnameBase]))}return s}function ge(t,e){"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[n,o]=function(t,e=!1,n=!0){Qt("*"===t||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let o=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(t,e,n)=>(o.push({paramName:e,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");t.endsWith("*")?(o.push({paramName:"*"}),i+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==t&&"/"!==t&&(i+="(?:(?=\\/|$))");let r=new RegExp(i,e?void 0:"i");return[r,o]}(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let r=i[0],s=r.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:o.reduce((t,{paramName:e,isOptional:n},o)=>{if("*"===e){let t=a[o]||"";s=r.slice(0,r.length-t.length).replace(/(.)\/+$/,"$1")}const i=a[o];return t[e]=n&&!i?void 0:(i||"").replace(/%2F/g,"/"),t},{}),pathname:r,pathnameBase:s,pattern:t}}function ye(t){try{return t.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(e){return Qt(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function ve(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,o=t.charAt(n);return o&&"/"!==o?null:t.slice(n)||"/"}var xe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function be(t,e="/"){let n,{pathname:o,search:i="",hash:r=""}="string"==typeof t?oe(t):t;if(o)if(s=o,xe.test(s))n=o;else{if(o.includes("//")){let t=o;o=o.replace(/\/\/+/g,"/"),Qt(!1,`Pathnames cannot have embedded double slashes - normalizing ${t} -> ${o}`)}n=o.startsWith("/")?we(o.substring(1),"/"):we(o,e)}else n=e;var s;return{pathname:n,search:Ce(i),hash:Re(r)}}function we(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)}),n.length>1?n.join("/"):"/"}function ke(t,e,n,o){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Se(t){let e=function(t){return t.filter((t,e)=>0===e||t.route.path&&t.route.path.length>0)}(t);return e.map((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)}function Te(t,e,n,o=!1){let i;"string"==typeof t?i=oe(t):(i={...t},Jt(!i.pathname||!i.pathname.includes("?"),ke("?","pathname","search",i)),Jt(!i.pathname||!i.pathname.includes("#"),ke("#","pathname","hash",i)),Jt(!i.search||!i.search.includes("#"),ke("#","search","hash",i)));let r,s=""===t||""===i.pathname,a=s?"/":i.pathname;if(null==a)r=n;else{let t=e.length-1;if(!o&&a.startsWith("..")){let e=a.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}r=t>=0?e[t]:"/"}let l=be(i,r),c=a&&"/"!==a&&a.endsWith("/"),u=(s||"."===a)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}var Pe=t=>t.join("/").replace(/\/\/+/g,"/"),Ee=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Ce=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",Re=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"",Me=class{constructor(t,e,n,o=!1){this.status=t,this.statusText=e||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function je(t){return t.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ae="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function De(t,e){let n=t;if("string"!=typeof n||!xe.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let o=n,i=!1;if(Ae)try{let t=new URL(window.location.href),o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),r=ve(o.pathname,e);o.origin===t.origin&&null!=r?n=r+o.search+o.hash:i=!0}catch(r){Qt(!1,`<Link to="${n}">
31 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ve=["POST","PUT","PATCH","DELETE"];new Set(Ve);var Le=["GET",...Ve];new Set(Le);var Fe=t.createContext(null);Fe.displayName="DataRouter";var Be=t.createContext(null);Be.displayName="DataRouterState";var Ne=t.createContext(!1),Oe=t.createContext({isTransitioning:!1});Oe.displayName="ViewTransition",t.createContext(new Map).displayName="Fetchers",t.createContext(null).displayName="Await";var Ie=t.createContext(null);Ie.displayName="Navigation";var $e=t.createContext(null);$e.displayName="Location";var ze=t.createContext({outlet:null,matches:[],isDataRoute:!1});ze.displayName="Route";var _e=t.createContext(null);_e.displayName="RouteError";var Ue="REACT_ROUTER_ERROR";function We(){return null!=t.useContext($e)}function Ye(){return Jt(We(),"useLocation() may be used only in the context of a <Router> component."),t.useContext($e).location}var He="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ke(e){t.useContext(Ie).static||t.useLayoutEffect(e)}function Ge(){let{isDataRoute:e}=t.useContext(ze);return e?function(){let{router:e}=function(e){let n=t.useContext(Fe);return Jt(n,on(e)),n}("useNavigate"),n=rn("useNavigate"),o=t.useRef(!1);Ke(()=>{o.current=!0});let i=t.useCallback(async(t,i={})=>{Qt(o.current,He),o.current&&("number"==typeof t?await e.navigate(t):await e.navigate(t,{fromRouteId:n,...i}))},[e,n]);return i}():function(){Jt(We(),"useNavigate() may be used only in the context of a <Router> component.");let e=t.useContext(Fe),{basename:n,navigator:o}=t.useContext(Ie),{matches:i}=t.useContext(ze),{pathname:r}=Ye(),s=JSON.stringify(Se(i)),a=t.useRef(!1);return Ke(()=>{a.current=!0}),t.useCallback((t,i={})=>{if(Qt(a.current,He),!a.current)return;if("number"==typeof t)return void o.go(t);let l=Te(t,JSON.parse(s),r,"path"===i.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:Pe([n,l.pathname])),(i.replace?o.replace:o.push)(l,i.state,i)},[n,o,s,r,e])}()}function Xe(e,{relative:n}={}){let{matches:o}=t.useContext(ze),{pathname:i}=Ye(),r=JSON.stringify(Se(o));return t.useMemo(()=>Te(e,JSON.parse(r),i,"path"===n),[e,r,i,n])}function Ze(e,n,o,i,r){Jt(We(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=t.useContext(Ie),{matches:a}=t.useContext(ze),l=a[a.length-1],c=l?l.params:{},u=l?l.pathname:"/",h=l?l.pathnameBase:"/",d=l&&l.route;{let t=d&&d.path||"";an(u,!d||t.endsWith("*")||t.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${t}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${t}"> to <Route path="${"/"===t?"*":`${t}/*`}">.`)}let p,m=Ye();if(n){let t="string"==typeof n?oe(n):n;Jt("/"===h||t.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${t.pathname}" was given in the \`location\` prop.`),p=t}else p=m;let f=p.pathname||"/",g=f;if("/"!==h){let t=h.replace(/^\//,"").split("/");g="/"+f.replace(/^\//,"").split("/").slice(t.length).join("/")}let y=ie(e,{pathname:g});Qt(d||null!=y,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),Qt(null==y||void 0!==y[y.length-1].route.element||void 0!==y[y.length-1].route.Component||void 0!==y[y.length-1].route.lazy,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let v=function(e,n=[],o=null,i=null){if(null==e){if(!o)return null;if(o.errors)e=o.matches;else{if(0!==n.length||o.initialized||!(o.matches.length>0))return null;e=o.matches}}let r=e,s=o?.errors;if(null!=s){let t=r.findIndex(t=>t.route.id&&void 0!==s?.[t.route.id]);Jt(t>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),r=r.slice(0,Math.min(r.length,t+1))}let a=!1,l=-1;if(o)for(let t=0;t<r.length;t++){let e=r[t];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(l=t),e.route.id){let{loaderData:t,errors:n}
31=o,i=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!n||void 0===n[e.route.id]);if(e.route.lazy||i){a=!0,r=l>=0?r.slice(0,l+1):[r[0]];break}}}let c=o&&i?(t,e)=>{i(t,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:je(o.matches),errorInfo:e})}:void 0;return r.reduceRight((e,i,u)=>{let h,d=!1,p=null,m=null;o&&(h=s&&i.route.id?s[i.route.id]:void 0,p=i.route.errorElement||Je,a&&(l<0&&0===u?(an("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,m=null):l===u&&(d=!0,m=i.route.hydrateFallbackElement||null)));let f=n.concat(r.slice(0,u+1)),g=()=>{let n;return n=h?p:d?m:i.route.Component?t.createElement(i.route.Component,null):i.route.element?i.route.element:e,t.createElement(nn,{match:i,routeContext:{outlet:e,matches:f,isDataRoute:null!=o},children:n})};return o&&(i.route.ErrorBoundary||i.route.errorElement||0===u)?t.createElement(Qe,{location:o.location,revalidation:o.revalidation,component:p,error:h,children:g(),routeContext:{outlet:null,matches:f,isDataRoute:!0},onError:c}):g()},null)}(y&&y.map(t=>Object.assign({},t,{params:Object.assign({},c,t.params),pathname:Pe([h,s.encodeLocation?s.encodeLocation(t.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:t.pathname]),pathnameBase:"/"===t.pathnameBase?h:Pe([h,s.encodeLocation?s.encodeLocation(t.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:t.pathnameBase])})),a,o,i,r);return n&&v?t.createElement($e.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},v):v}function qe(){let e=function(){let e=t.useContext(_e),n=function(e){let n=t.useContext(Be);return Jt(n,on(e)),n}("useRouteError"),o=rn("useRouteError");if(void 0!==e)return e;return n.errors?.[o]}(),n=function(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),o=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},a=null;return a=t.createElement(t.Fragment,null,t.createElement("p",null,"💿 Hey developer 👋"),t.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",t.createElement("code",{style:s},"ErrorBoundary")," or"," ",t.createElement("code",{style:s},"errorElement")," prop on your route.")),t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),o?t.createElement("pre",{style:r},o):null,a)}t.createContext(null);var Je=t.createElement(qe,null),Qe=class extends t.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||"idle"!==e.revalidation&&"idle"===t.revalidation?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:void 0!==t.error?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError&&this.props.onError(t,e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(t){if(t.startsWith(`${Ue}:ROUTE_ERROR_RESPONSE:{`))try{let e=JSON.parse(t.slice(40));if("object"==typeof e&&e&&"number"==typeof e.status&&"string"==typeof e.statusText)return new Me(e.status,e.statusText,e.data)}catch{}}(e.digest);t&&(e=t)}let n=void 0!==e?t.createElement(ze.Provider,{value:this.props.routeContext},t.createElement(_e.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?t.createElement(en,{error:e},n):n}};Qe.contextType=Ne;var tn=new WeakMap;function en({children:e,error:n}){let{basename:o}=t.useContext(Ie);if("object"==typeof n&&n&&"digest"in n&&"string"==typeof n.digest){let e=function(t){if(t.startsWith(`${Ue}:REDIRECT:{`))try{let e=JSON.parse(t.slice(28));if("object"==typeof e&&e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"string"==typeof e.location&&"boolean"==typeof e.reloadDocument&&"boolean"==typeof e.replace)return e}catch{}}(n.digest);if(e){let i=tn.get(n);if(i)throw i;let r=De(e.location,o);if(Ae&&!tn.get(n)){if(!r.isExternal&&!e.reloadDocument){const t=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(r.to,{replace:e.replace}));throw tn.set(n,t),t}window.location.href=r.absoluteURL||r.to}return t.createElement("meta",{httpEquiv:"refresh",content:`0;url=${r.absoluteURL||r.to}`})}}return e}function nn({routeContext:e,match:n,children:o}){let i=t.useContext(Fe);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),t.createElement(ze.Provider,{value:e},o)}function on(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function rn(e){let n=function(e){let n=t.useContext(ze);return Jt(n,on(e)),n}(e),o=n.matches[n.matches.length-1];return Jt(o.route.id,`${e} can only be used on routes that contain a unique "id"`),o.route.id}var sn={};function an(t,e,n){e||sn[t]||(sn[t]=!0,Qt(!1,n))}function ln({to:e,replace:n,state:o,relative:i}){Jt(We(),"<Navigate> may be used only in the context of a <Router> component.");let{static:r}=t.useContext(Ie);Qt(!r,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=t.useContext(ze),{pathname:a}=Ye(),l=Ge(),c=Te(e,Se(s),a,"path"===i),u=JSON.stringify(c);return t.useEffect(()=>{l(JSON.parse(u),{replace:n,state:o,relative:i})},[l,u,i,n,o]),null}function cn(t){Jt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function un({basename:e="/",children:n=null,location:o,navigationType:i="POP",navigator:r,static:s=!1,unstable_useTransitions:a}){Jt(!We(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),c=t.useMemo(()=>({basename:l,navigator:r,static:s,unstable_useTransitions:a,future:{}}),[l,r,s,a]);"string"==typeof o&&(o=oe(o));
31let{pathname:u="/",search:h="",hash:d="",state:p=null,key:m="default"}=o,f=t.useMemo(()=>{let t=ve(u,l);return null==t?null:{location:{pathname:t,search:h,hash:d,state:p,key:m},navigationType:i}},[l,u,h,d,p,m,i]);return Qt(null!=f,`<Router basename="${l}"> is not able to match the URL "${u}${h}${d}" because it does not start with the basename, so the <Router> won't render anything.`),null==f?null:t.createElement(Ie.Provider,{value:c},t.createElement($e.Provider,{children:n,value:f}))}function hn({children:t,location:e}){return Ze(dn(t),e)}function dn(e,n=[]){let o=[];return t.Children.forEach(e,(e,i)=>{if(!t.isValidElement(e))return;let r=[...n,i];if(e.type===t.Fragment)return void o.push.apply(o,dn(e.props.children,r));Jt(e.type===cn,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Jt(!e.props.index||!e.props.children,"An index route cannot have child routes.");let s={id:e.props.id||r.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=dn(e.props.children,r)),o.push(s)}),o}t.memo(function({routes:t,future:e,state:n,onError:o}){return Ze(t,void 0,n,o,e)});var pn="get",mn="application/x-www-form-urlencoded";function fn(t){return"undefined"!=typeof HTMLElement&&t instanceof HTMLElement}var gn=null;var yn=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function vn(t){return null==t||yn.has(t)?t:(Qt(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${mn}"`),null)}function xn(t,e){let n,o,i,r,s;if(fn(a=t)&&"form"===a.tagName.toLowerCase()){let s=t.getAttribute("action");o=s?ve(s,e):null,n=t.getAttribute("method")||pn,i=vn(t.getAttribute("enctype"))||mn,r=new FormData(t)}else if(function(t){return fn(t)&&"button"===t.tagName.toLowerCase()}(t)||function(t){return fn(t)&&"input"===t.tagName.toLowerCase()}(t)&&("submit"===t.type||"image"===t.type)){let s=t.form;if(null==s)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let a=t.getAttribute("formaction")||s.getAttribute("action");if(o=a?ve(a,e):null,n=t.getAttribute("formmethod")||s.getAttribute("method")||pn,i=vn(t.getAttribute("formenctype"))||vn(s.getAttribute("enctype"))||mn,r=new FormData(s,t),!function(){if(null===gn)try{new FormData(document.createElement("form"),0),gn=!1}catch(t){gn=!0}return gn}()){let{name:e,type:n,value:o}=t;if("image"===n){let t=e?`${e}.`:"";r.append(`${t}x`,"0"),r.append(`${t}y`,"0")}else e&&r.append(e,o)}}else{if(fn(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=pn,o=null,i=mn,s=t}var a;return r&&"text/plain"===i&&(s=r,r=void 0),{action:o,method:n.toLowerCase(),encType:i,formData:r,body:s}}function bn(t,e){if(!1===t||null==t)throw new Error(e)}function wn(t){return null!=t&&(null==t.href?"preload"===t.rel&&"string"==typeof t.imageSrcSet&&"string"==typeof t.imageSizes:"string"==typeof t.rel&&"string"==typeof t.href)}async function kn(t,e,n){return function(t,e){let n=new Set;return new Set(e),t.reduce((t,e)=>{let o=JSON.stringify(function(t){let e={},n=Object.keys(t).sort();for(let o of n)e[o]=t[o];return e}(e));return n.has(o)||(n.add(o),t.push({key:o,link:e})),t},[])}((await Promise.all(t.map(async t=>{let o=e.routes[t.route.id];if(o){let t=await async function(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(o,n);return t.links?t.links():[]}return[]}))).flat(1).filter(wn).filter(t=>"stylesheet"===t.rel||"preload"===t.rel).map(t=>"stylesheet"===t.rel?{...t,rel:"prefetch",as:"style"}:{...t,rel:"prefetch"}))}function Sn(t,e,n,o,i,r){let s=(t,e)=>!n[e]||t.route.id!==n[e].route.id,a=(t,e)=>n[e].pathname!==t.pathname||n[e].route.path?.endsWith("*")&&n[e].params["*"]!==t.params["*"];return"assets"===r?e.filter((t,e)=>s(t,e)||a(t,e)):"data"===r?e.filter((e,r)=>{let l=o.routes[e.route.id];if(!l||!l.hasLoader)return!1;if(s(e,r)||a(e,r))return!0;
31if(e.route.shouldRevalidate){let o=e.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof o)return o}return!0}):[]}function Tn(t,e,{includeHydrateFallback:n}={}){return o=t.map(t=>{let o=e.routes[t.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1),[...new Set(o)];var o}function Pn(){let e=t.useContext(Fe);return bn(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var En=t.createContext(void 0);function Cn(){let e=t.useContext(En);return bn(e,"You must render this element inside a <HydratedRouter> element"),e}function Rn(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function Mn({page:e,...n}){let{router:o}=Pn(),i=t.useMemo(()=>ie(o.routes,e,o.basename),[o.routes,e,o.basename]);return i?t.createElement(jn,{page:e,matches:i,...n}):null}function jn({page:e,matches:n,...o}){let i=Ye(),{future:r,manifest:s,routeModules:a}=Cn(),{basename:l}=Pn(),{loaderData:c,matches:u}=function(){let e=t.useContext(Be);return bn(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),h=t.useMemo(()=>Sn(e,n,u,s,i,"data"),[e,n,u,s,i]),d=t.useMemo(()=>Sn(e,n,u,s,i,"assets"),[e,n,u,s,i]),p=t.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let t=new Set,o=!1;if(n.forEach(e=>{let n=s.routes[e.route.id];n&&n.hasLoader&&(!h.some(t=>t.route.id===e.route.id)&&e.route.id in c&&a[e.route.id]?.shouldRevalidate||n.hasClientLoader?o=!0:t.add(e.route.id))}),0===t.size)return[];let u=function(t,e,n,o){let i="string"==typeof t?new URL(t,"undefined"==typeof window?"server://singlefetch/":window.location.origin):t;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${o}`:i.pathname=`${i.pathname}.${o}`:"/"===i.pathname?i.pathname=`_root.${o}`:e&&"/"===ve(i.pathname,e)?i.pathname=`${e.replace(/\/$/,"")}/_root.${o}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${o}`,i}(e,l,r.unstable_trailingSlashAwareDataRequests,"data");return o&&t.size>0&&u.searchParams.set("_routes",n.filter(e=>t.has(e.route.id)).map(t=>t.route.id).join(",")),[u.pathname+u.search]},[l,r.unstable_trailingSlashAwareDataRequests,c,i,s,h,n,e,a]),m=t.useMemo(()=>Tn(d,s),[d,s]),f=function(e){let{manifest:n,routeModules:o}=Cn(),[i,r]=t.useState([]);return t.useEffect(()=>{let t=!1;return kn(e,n,o).then(e=>{t||r(e)}),()=>{t=!0}},[e,n,o]),i}(d);return t.createElement(t.Fragment,null,p.map(e=>t.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...o})),m.map(e=>t.createElement("link",{key:e,rel:"modulepreload",href:e,...o})),f.map(({key:e,link:n})=>t.createElement("link",{key:e,nonce:o.nonce,...n})))}function An(...t){return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}En.displayName="FrameworkContext";var Dn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Dn&&(window.__reactRouterVersion="7.12.0")}catch(gh){}function Vn({basename:e,children:n,unstable_useTransitions:o,window:i}){let r=t.useRef();null==r.current&&(r.current=qt({window:i,v5Compat:!0}));let s=r.current,[a,l]=t.useState({action:s.action,location:s.location}),c=t.useCallback(e=>{!1===o?l(e):t.startTransition(()=>l(e))},[o]);return t.useLayoutEffect(()=>s.listen(c),[s,c]),t.createElement(un,{basename:e,children:n,location:a.location,navigationType:a.action,navigator:s,unstable_useTransitions:o})}var Ln=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fn=t.forwardRef(function({onClick:e,discover:n="render",prefetch:o="none",relative:i,reloadDocument:r,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:h,unstable_defaultShouldRevalidate:d,...p},m){let{basename:f,unstable_useTransitions:g}=t.useContext(Ie),y="string"==typeof c&&Ln.test(c),v=De(c,f),x=function(e,{relative:n}={}){Jt(We(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:i}=t.useContext(Ie),{hash:r,pathname:s,search:a}=Xe(e,{relative:n}),l=s;return"/"!==o&&(l="/"===s?o:Pe([o,s])),i.createHref({pathname:l,search:a,hash:r})}(c=v.to,{relative:i}),[b,w,k]=function(e,n){let o=t.useContext(En),[i,r]=t.useState(!1),[s,a]=t.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:h,onTouchStart:d}=n,p=t.useRef(null);t.useEffect(()=>{if("render"===e&&a(!0),"viewport"===e){let t=new IntersectionObserver(t=>{t.forEach(t=>{a(t.isIntersecting)})},{threshold:.5});return p.current&&t.observe(p.current),()=>{t.disconnect()}}},[e]),t.useEffect(()=>{if(i){let t=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(t)}}},[i]);let m=()=>{r(!0)},f=()=>{r(!1),a(!1)};return o?"intent"!==e?[s,p,{}]:[s,p,{onFocus:Rn(l,m),onBlur:Rn(c,f),onMouseEnter:Rn(u,m),onMouseLeave:Rn(h,f),onTouchStart:Rn(d,m)}]:[!1,p,{}]}(o,p),S=function(e,{target:n,replace:o,state:i,preventScrollReset:r,relative:s,viewTransition:a,unstable_defaultShouldRevalidate:l,unstable_useTransitions:c}={}){let u=Ge(),h=Ye(),d=Xe(e,{relative:s});return t.useCallback(p=>{if(function(t,e){return!(0!==t.button||e&&"_self"!==e||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t))}(p,n)){p.preventDefault();let n=void 0!==o?o:ne(h)===ne(d),m=()=>u(e,{replace:n,state:i,preventScrollReset:r,relative:s,viewTransition:a,unstable_defaultShouldRevalidate:l});c?t.startTransition(()=>m()):m()}},[h,u,d,o,i,n,e,r,s,a,l,c])}(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:i,viewTransition:h,unstable_defaultShouldRevalidate:d,unstable_useTransitions:g});let T=t.createElement("a",{...p,...k,href:v.absoluteURL||x,onClick:v.isExternal||r?e:function(t){e&&e(t),t.defaultPrevented||S(t)},ref:An(m,w),target:l,"data-discover":y||"render"!==n?void 0:"true"});return b&&!y?t.createElement(t.Fragment,null,T,t.createElement(Mn,{page:x})):T});function Bn(e){let n=t.useContext(Fe);return Jt(n,function(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),n}Fn.displayName="Link",t.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:o="",end:i=!1,style:r,to:s,viewTransition:a,children:l,...c},u){let h=Xe(s,{relative:c.relative}),d=Ye(),p=t.useContext(Be),{navigator:m,basename:f}=t.useContext(Ie),g=null!=p&&function(e,{relative:n}={}){let o=t.useContext(Oe);Jt(null!=o,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Bn("useViewTransitionState"),r=Xe(e,{relative:n});if(!o.isTransitioning)return!1;let s=ve(o.currentLocation.pathname,i)||o.currentLocation.pathname,a=ve
31(o.nextLocation.pathname,i)||o.nextLocation.pathname;return null!=ge(r.pathname,a)||null!=ge(r.pathname,s)}(h)&&!0===a,y=m.encodeLocation?m.encodeLocation(h).pathname:h.pathname,v=d.pathname,x=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(v=v.toLowerCase(),x=x?x.toLowerCase():null,y=y.toLowerCase()),x&&f&&(x=ve(x,f)||x);const b="/"!==y&&y.endsWith("/")?y.length-1:y.length;let w,k=v===y||!i&&v.startsWith(y)&&"/"===v.charAt(b),S=null!=x&&(x===y||!i&&x.startsWith(y)&&"/"===x.charAt(y.length)),T={isActive:k,isPending:S,isTransitioning:g},P=k?e:void 0;w="function"==typeof o?o(T):[o,k?"active":null,S?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let E="function"==typeof r?r(T):r;return t.createElement(Fn,{...c,"aria-current":P,className:w,ref:u,style:E,to:s,viewTransition:a},"function"==typeof l?l(T):l)}).displayName="NavLink",t.forwardRef(({discover:e="render",fetcherKey:n,navigate:o,reloadDocument:i,replace:r,state:s,method:a=pn,action:l,onSubmit:c,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:p,...m},f)=>{let{unstable_useTransitions:g}=t.useContext(Ie),y=function(){let{router:e}=Bn("useSubmit"),{basename:n}=t.useContext(Ie),o=rn("useRouteId"),i=e.fetch,r=e.navigate;return t.useCallback(async(t,e={})=>{let{action:s,method:a,encType:l,formData:c,body:u}=xn(t,n);if(!1===e.navigate){let t=e.fetcherKey||On();await i(t,o,e.action||s,{unstable_defaultShouldRevalidate:e.unstable_defaultShouldRevalidate,preventScrollReset:e.preventScrollReset,formData:c,body:u,formMethod:e.method||a,formEncType:e.encType||l,flushSync:e.flushSync})}else await r(e.action||s,{unstable_defaultShouldRevalidate:e.unstable_defaultShouldRevalidate,preventScrollReset:e.preventScrollReset,formData:c,body:u,formMethod:e.method||a,formEncType:e.encType||l,replace:e.replace,state:e.state,fromRouteId:o,flushSync:e.flushSync,viewTransition:e.viewTransition})},[i,r,n,o])}(),v=function(e,{relative:n}={}){let{basename:o}=t.useContext(Ie),i=t.useContext(ze);Jt(i,"useFormAction must be used inside a RouteContext");let[r]=i.matches.slice(-1),s={...Xe(e||".",{relative:n})},a=Ye();if(null==e){s.search=a.search;let t=new URLSearchParams(s.search),e=t.getAll("index");if(e.some(t=>""===t)){t.delete("index"),e.filter(t=>t).forEach(e=>t.append("index",e));let n=t.toString();s.search=n?`?${n}`:""}}e&&"."!==e||!r.route.index||(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index");"/"!==o&&(s.pathname="/"===s.pathname?o:Pe([o,s.pathname]));return ne(s)}(l,{relative:u}),x="get"===a.toLowerCase()?"get":"post",b="string"==typeof l&&Ln.test(l);return t.createElement("form",{ref:f,method:x,action:v,onSubmit:i?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let i=e.nativeEvent.submitter,l=i?.getAttribute("formmethod")||a,m=()=>y(i||e.currentTarget,{fetcherKey:n,method:l,navigate:o,replace:r,state:s,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:p});g&&!1!==o?t.startTransition(()=>m()):m()},...m,"data-discover":b||"render"!==e?void 0:"true"})}).displayName="Form";var Nn=0,On=()=>`__${String(++Nn)}__`;const In=[{label:"Home",href:"/",section:"#home"},{label:"Product",href:"/",section:"#product"},{label:"Use Cases",href:"/",section:"#use-cases"},{label:"Technology",href:"/",section:"#technology"},{label:"Documentation",href:"/documentation",section:null},{label:"Contact",href:"/contact",section:null}];function $n(){const[e,o]=t.useState(!1),i=Ge(),r=Ye(),s=t.useCallback((t,e)=>{if(t.section)if(e.preventDefault(),"/"!==r.pathname)i("/"),setTimeout(()=>{const e=document.querySelector(t.section);e?.scrollIntoView({behavior:"smooth"})},100);else{const e=document.querySelector(t.section);e?.scrollIntoView({behavior:"smooth"})}else e.preventDefault(),i(t.href),window.scrollTo(0,0)},[i,r.pathname]),a=t.useCallback(()=>{o(t=>!t)},[]),l=t.useCallback(()=>{i("/contact"),window.scrollTo(0,0)},[i]),c=t.useCallback(()=>{i("/"),window.scrollTo(0,0)},[i]);return n.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 glass bg-[rgba(11,15,25,0.85)]",style:{backdropFilter:"blur(20px)"},children:[n.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-[#D6DF23]",style:{boxShadow:"0 0 10px rgba(214, 223, 35, 0.5)"}}),n.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:n.jsxs("div",{className:"flex justify-between items-center h-20",children:[n.jsx("div",{className:"flex-shrink-0",children:n.jsx("img",{src:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2095.79%2020.87'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23d6df23;%20}%20.cls-1,%20.cls-2%20{%20stroke-width:%200px;%20}%20.cls-2%20{%20fill:%20%23fff;%20}%20%3c/style%3e%3c/defs%3e%3cg%3e%3cpath%20class='cls-2'%20d='M22.28,11.32V3.57h9.15v2.28h-6.59v3.29h6.59v7.75h-9.15v-2.28h6.74v-3.29h-6.74Z'/%3e%3cpath%20class='cls-2'%20d='M36.36,16.9h-2.56V3.57h2.56l2.6,7.3,2.7-7.3h2.4v13.32h-2.4v-5.58l-1.86,5.58h-1.5l-1.93-5.58v5.58Z'/%3e%3cpath%20class='cls-1'%20d='M47.13,14.61h1.43V5.86h-1.43v-2.28h3.81v13.32s-3.81,0-3.81,0v-2.28Z'/%3e%3cpath%20class='cls-1'%20d='M57.6,16.9h-3.82V3.57h3.82v2.28h-1.43v8.76h1.43v2.28Z'/%3e%3cpath%20class='cls-2'%20d='M62.99,14.61h6.59v2.28h-9.15V3.57h2.56v11.04Z'/%3e%3cpath%20class='cls-2'%20d='M74.5,5.86v3.29h6.59v2.17h-6.59v3.29h6.59v2.28h-9.15V3.57h9.15v2.28h-6.59Z'/%3e%3cpath%20class='cls-2'%20d='M83.46,16.9V3.57h8.18l.96,1.17v10.98l-.96,1.17h-8.19ZM90.2,5.86h-4.18v8.76h4.18V5.86Z'/%3e%3c/g%3e%3cg%20id='l8eEmSBFOcmw1ibNhYYHkJ'%3e%3cg%3e%3cpath%20id='pG3WOJsv4'%20class='cls-2'%20d='M6.03,19.13l-3.01-1.74v-6.98l1.12-.65c.62-.36,1.14-.65,1.16-.66.02,0,.04,1.56.04,3.48v3.49s2.97,1.71,2.97,1.71c1.63.94,2.97,1.72,2.99,1.74.02.02-.69.45-2.06,1.23l-.21.12-3.01-1.74Z'/%3e%3cpath%20id='p4Je10uOz'%20class='cls-2'%20d='M8.98,17.41l-3.01-1.74v-2.67l.09.05s1.4.81,3,1.74c2.55,1.47,2.93,1.68,3,1.65.06-.03,4.05-2.32,5.83-3.35l.16-.09v2.67s-3.01,1.73-3.01,1.73c-1.65.95-3.02,1.74-3.03,1.74s-1.38-.78-3.03-1.73Z'/%3e%3cpath%20id='pBmxDnJ8k'%20class='cls-2'%20d='M1.16,16.28L.02,15.63v-3.48s-.02-3.48-.02-3.48l3.02-1.74,3.02-1.74,1.05.6c.58.34,1.1.63,1.16.67l.1.06-3.02,1.74-3.02,1.74v3.47s-.02,3.47-.02,3.47l-1.14-.66Z'/%3e%3cpath%20id='p
31Zxz0q9Cy'%20class='cls-2'%20d='M10.86,15.06c-.62-.36-1.13-.66-1.13-.68,0-.01,1.35-.8,3-1.75l3-1.73v-3.47s.02-3.47.02-3.47l1.14.66,1.15.66v3.48s-.02,3.48-.02,3.48l-2.93,1.69c-1.61.93-2.97,1.71-3.02,1.74-.09.04-.16,0-1.22-.61Z'/%3e%3cpath%20id='pvcrcg7sc'%20class='cls-2'%20d='M12.75,8.3v-3.48l-3-1.73c-1.65-.95-3-1.74-3-1.75,0-.01.51-.32,1.14-.68l1.14-.66,3.02,1.74,3.02,1.74v6.97l-.94.54c-.51.3-1.04.6-1.16.66l-.22.12v-3.48Z'/%3e%3cpath%20id='pm8mM1Qc1'%20class='cls-2'%20d='M0,6.56v-1.33l3.02-1.74,3.02-1.74.13.08c.07.04,1.43.82,3.01,1.73l2.87,1.66v1.33c.01.73.01,1.33,0,1.33-.02,0-5.77-3.32-5.93-3.41-.07-.04-.35.1-3.1,1.7l-3.03,1.75v-1.33Z'/%3e%3c/g%3e%3c/g%3e%3cpath%20class='cls-2'%20d='M94.67,4.67c-.3,0-.58-.11-.79-.32-.44-.43-.44-1.12-.02-1.57.21-.22.51-.33.81-.33s.58.11.79.33c.22.21.33.49.33.79,0,.62-.49,1.11-1.09,1.11t-.03-.02h0ZM94.67,2.6c-.25,0-.49.09-.66.28-.36.38-.36.98,0,1.36.17.19.41.28.66.28.52,0,.95-.43.95-.95,0-.25-.09-.51-.28-.68-.17-.21-.43-.3-.66-.3h0ZM95.02,4.25l-.17-.35c-.03-.08-.08-.16-.14-.22-.05-.03-.09-.06-.16-.06h-.13v.62h-.19v-1.42h.43c.13,0,.27.03.36.11.09.06.14.16.14.27,0,.22-.13.35-.38.4h0c.08.02.16.11.24.25l.19.4-.19.02ZM94.42,2.97v.51h.24c.08,0,.16-.02.24-.06.06-.05.09-.13.08-.19,0-.17-.13-.25-.35-.25h-.21Z'/%3e%3c/svg%3e",alt:"Smiled Logo",className:"h-10 w-auto cursor-pointer",onClick:c})}),n.jsx("nav",{className:"hidden lg:flex items-center space-x-8",children:In.map(t=>n.jsx("a",{href:t.href,className:"text-[#B8C1CC] hover:text-white transition-colors duration-200 cursor-pointer",onClick:e=>s(t,e),children:t.label},t.label))}),n.jsx("div",{className:"hidden lg:block",children:n.jsx(Xt,{className:"bg-transparent border-2 border-[#D6DF23] text-[#D6DF23] hover:bg-[#D6DF23] hover:text-[#0B0F19] transition-all duration-300",onClick:l,children:"Request Demo"})}),n.jsx("button",{className:"lg:hidden p-2 text-white cursor-pointer",onClick:a,"aria-label":e?"Close menu":"Open menu","aria-expanded":e,children:e?n.jsx(v,{size:24}):n.jsx(g,{size:24})})]})}),e&&n.jsx("div",{className:"lg:hidden glass border-t border-white/10",children:n.jsxs("div",{className:"px-4 pt-2 pb-6 space-y-3",children:[In.map(t=>n.jsx("a",{href:t.href,className:"block py-2 text-[#B8C1CC] hover:text-white transition-colors cursor-pointer",onClick:e=>{s(t,e),o(!1)},children:t.label},t.label)),n.jsx(Xt,{className:"w-full mt-4 bg-transparent border-2 border-[#D6DF23] text-[#D6DF23] hover:bg-[#D6DF23] hover:text-[#0B0F19]",onClick:()=>{l(),o(!1)},children:"Request Demo"})]})})]})}const zn=t.createContext({});const _n="undefined"!=typeof window,Un=_n?t.useLayoutEffect:t.useEffect,Wn=t.createContext(null);function Yn(t,e){-1===t.indexOf(e)&&t.push(e)}function Hn(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Kn=(t,e,n)=>n>e?e:n<t?t:n;const Gn={},Xn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Zn(t){return"object"==typeof t&&null!==t}const qn=t=>/^0[^.\s]+$/u.test(t);function Jn(t){let e;return()=>(void 0===e&&(e=t()),e)}const Qn=t=>t,to=(t,e)=>n=>e(t(n)),eo=(...t)=>t.reduce(to),no=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o};class oo{constructor(){this.subscriptions=[]}add(t){return Yn(this.subscriptions,t),()=>Hn(this.subscriptions,t)}notify(t,e,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](t,e,n);else for(let i=0;i<o;i++){const o=this.subscriptions[i];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const io=t=>1e3*t,ro=t=>t/1e3;function so(t,e){return e?t*(1e3/e):0}const ao=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function lo(t,e,n,o){if(t===e&&n===o)return Qn;const i=e=>function(t,e,n,o,i){let r,s,a=0;do{s=e+(n-e)/2,r=ao(s,o,i)-t,r>0?n=s:e=s}while(Math.abs(r)>1e-7&&++a<12);return s}(e,0,1,t,n);return t=>0===t||1===t?t:ao(i(t),e,o)}const co=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,uo=t=>e=>1-t(1-e),ho=lo(.33,1.53,.69,.99),po=uo(ho),mo=co(po),fo=t=>(t*=2)<1?.5*po(t):.5*(2-Math.pow(2,-10*(t-1))),go=t=>1-Math.sin(Math.acos(t)),yo=uo(go),vo=co(go),xo=lo(.42,0,1,1),bo=lo(0,0,.58,1),wo=lo(.42,0,.58,1),ko=t=>Array.isArray(t)&&"number"==typeof t[0],So={linear:Qn,easeIn:xo,easeInOut:wo,easeOut:bo,circIn:go,circInOut:vo,circOut:yo,backIn:po,backInOut:mo,backOut:ho,anticipate:fo},To=t=>{if(ko(t)){t.length;const[e,n,o,i]=t;return lo(e,n,o,i)}return"string"==typeof t?So[t]:t},Po=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Eo(t,e){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=Po.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,o=!1,i=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(e){r.has(e)&&(l.schedule(e),t()),e(s)}const l={schedule:(t,i=!1,s=!1)=>{const a=s&&o?e:n;return i&&r.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),r.delete(t)},process:t=>{s=t,o?i=!0:(o=!0,[e,n]=[n,e],e.forEach(a),e.clear(),o=!1,i&&(i=!1,l.process(t)))}};return l}(r),t),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:d,render:p,postRender:m}=s,f=()=>{const r=Gn.useManualTiming?i.timestamp:performance.now();n=!1,Gn.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(r-i.timestamp,40),1)),i.timestamp=r,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),h.process(i),d.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&e&&(o=!1,t(f))};return{schedule:Po.reduce((e,r)=>{const a=s[r];return e[r]=(e,r=!1,s=!1)=>(n||(n=!0,o=!0,i.isProcessing||t(f)),a.schedule(e,r,s)),e},{}),cancel:t=>{for(let e=0;e<Po.length;e++)s[Po[e]].cancel(t)},state:i,steps:s}}const{schedule:Co,cancel:Ro,state:Mo,steps:jo}=Eo("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Qn,!0);let Ao;function Do(){Ao=void 0}const Vo={now:()=>(void 0===Ao&&Vo.set(Mo.isProcessing||Gn.useManualTiming?Mo.timestamp:performance.now()),Ao),set:t=>{Ao=t,queueMicrotask(Do)}},Lo=t=>e=>"string"==typeof e&&e.startsWith(t),Fo=Lo("--"),Bo=Lo("var(--"),No=t=>!!Bo(t)&&Oo.test(t.split("/*")[0].trim()),Oo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Io(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}const $o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},zo={...$o,transform:t=>Kn(0,1,t)},_o={...$o,default:1},Uo=t=>Math.round(1e5*t)/1e5,Wo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Yo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ho=(t,e)=>n=>Boolean("string"==typeof n&&Yo.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),Ko=(t,e,n)=>o=>{if("string"!=typeof o)return o;const[i,r,s,a]=o.match(Wo);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Go={...$o,transform:t=>Math.round((t=>Kn(0,255,t))(t))},Xo={test:Ho("rgb","red"),parse:Ko("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:o=1})=>"rgba("+Go.transform(t)+", "+Go.transform(e)+", "+Go.transform(n)+", "+Uo(zo.transform(o))+")"};const Zo={test:Ho("#"),parse:function(t){let e="",n="",o="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),o=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),o=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,o+=o,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(o,16),alph
vendor: 16,666 bytes, line 31
31a:i?parseInt(i,16)/255:1}},transform:Xo.transform},qo=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),Jo=qo("deg"),Qo=qo("%"),ti=qo("px"),ei=qo("vh"),ni=qo("vw"),oi=(()=>({...Qo,parse:t=>Qo.parse(t)/100,transform:t=>Qo.transform(100*t)}))(),ii={test:Ho("hsl","hue"),parse:Ko("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+Qo.transform(Uo(e))+", "+Qo.transform(Uo(n))+", "+Uo(zo.transform(o))+")"},ri={test:t=>Xo.test(t)||Zo.test(t)||ii.test(t),parse:t=>Xo.test(t)?Xo.parse(t):ii.test(t)?ii.parse(t):Zo.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?Xo.transform(t):ii.transform(t),getAnimatableNone:t=>{const e=ri.parse(t);return e.alpha=0,ri.transform(e)}},si=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const ai="number",li="color",ci=/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 ui(t){const e=t.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const s=e.replace(ci,t=>(ri.test(t)?(o.color.push(r),i.push(li),n.push(ri.parse(t))):t.startsWith("var(")?(o.var.push(r),i.push("var"),n.push(t)):(o.number.push(r),i.push(ai),n.push(parseFloat(t))),++r,"${}")).split("${}");return{values:n,split:s,indexes:o,types:i}}function hi(t){return ui(t).values}function di(t){const{split:e,types:n}=ui(t),o=e.length;return t=>{let i="";for(let r=0;r<o;r++)if(i+=e[r],void 0!==t[r]){const e=n[r];i+=e===ai?Uo(t[r]):e===li?ri.transform(t[r]):t[r]}return i}}const pi=t=>"number"==typeof t?0:ri.test(t)?ri.getAnimatableNone(t):t;const mi={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(Wo)?.length||0)+(t.match(si)?.length||0)>0},parse:hi,createTransformer:di,getAnimatableNone:function(t){const e=hi(t);return di(t)(e.map(pi))}};function fi(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function gi(t,e){return n=>n>0?e:t}const yi=(t,e,n)=>t+(e-t)*n,vi=(t,e,n)=>{const o=t*t,i=n*(e*e-o)+o;return i<0?0:Math.sqrt(i)},xi=[Zo,Xo,ii];function bi(t){const e=(n=t,xi.find(t=>t.test(n)));var n;if(!Boolean(e))return!1;let o=e.parse(t);return e===ii&&(o=function({hue:t,saturation:e,lightness:n,alpha:o}){t/=360,n/=100;let i=0,r=0,s=0;if(e/=100){const o=n<.5?n*(1+e):n+e-n*e,a=2*n-o;i=fi(a,o,t+1/3),r=fi(a,o,t),s=fi(a,o,t-1/3)}else i=r=s=n;return{red:Math.round(255*i),green:Math.round(255*r),blue:Math.round(255*s),alpha:o}}(o)),o}const wi=(t,e)=>{const n=bi(t),o=bi(e);if(!n||!o)return gi(t,e);const i={...n};return t=>(i.red=vi(n.red,o.red,t),i.green=vi(n.green,o.green,t),i.blue=vi(n.blue,o.blue,t),i.alpha=yi(n.alpha,o.alpha,t),Xo.transform(i))},ki=new Set(["none","hidden"]);function Si(t,e){return n=>yi(t,e,n)}function Ti(t){return"number"==typeof t?Si:"string"==typeof t?No(t)?gi:ri.test(t)?wi:Ci:Array.isArray(t)?Pi:"object"==typeof t?ri.test(t)?wi:Ei:gi}function Pi(t,e){const n=[...t],o=n.length,i=t.map((t,n)=>Ti(t)(t,e[n]));return t=>{for(let e=0;e<o;e++)n[e]=i[e](t);return n}}function Ei(t,e){const n={...t,...e},o={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(o[i]=Ti(t[i])(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}}const Ci=(t,e)=>{const n=mi.createTransformer(e),o=ui(t),i=ui(e);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?ki.has(t)&&!i.values.length||ki.has(e)&&!o.values.length?function(t,e){return ki.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):eo(Pi(function(t,e){const n=[],o={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const r=e.types[i],s=t.indexes[r][o[r]],a=t.values[s]??0;n[i]=a,o[r]++}return n}(o,i),i.values),n):gi(t,e)};function Ri(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return yi(t,e,n);return Ti(t)(t,e)}const Mi=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>Co.update(e,t),stop:()=>Ro(e),now:()=>Mo.isProcessing?Mo.timestamp:Vo.now()}},ji=(t,e,n=10)=>{let o="";const i=Math.max(Math.round(e/n),2);for(let r=0;r<i;r++)o+=Math.round(1e4*t(r/(i-1)))/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Ai=2e4;function Di(t){let e=0;let n=t.next(e);for(;!n.done&&e<Ai;)e+=50,n=t.next(e);return e>=Ai?1/0:e}function Vi(t,e,n){const o=Math.max(e-5,0);return so(n-t(o),e-o)}const Li=100,Fi=10,Bi=1,Ni=0,Oi=800,Ii=.3,$i=.3,zi={granular:.01,default:2},_i={granular:.005,default:.5},Ui=.01,Wi=10,Yi=.05,Hi=1,Ki=.001;function Gi({duration:t=Oi,bounce:e=Ii,velocity:n=Ni,mass:o=Bi}){let i,r,s=1-e;s=Kn(Yi,Hi,s),t=Kn(Ui,Wi,ro(t)),s<1?(i=e=>{const o=e*s,i=o*t,r=o-n,a=Zi(e,s),l=Math.exp(-i);return Ki-r/a*l},r=e=>{const o=e*s*t,r=o*n+n,a=Math.pow(s,2)*Math.pow(e,2)*t,l=Math.exp(-o),c=Zi(Math.pow(e,2),s);return(-i(e)+Ki>0?-1:1)*((r-a)*l)/c}):(i=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let o=n;for(let i=1;i<Xi;i++)o-=t(o)/e(o);return o}(i,r,5/t);if(t=io(t),isNaN(a))return{stiffness:Li,damping:Fi,duration:t};{const e=Math.pow(a,2)*o;return{stiffness:e,damping:2*s*Math.sqrt(o*e),duration:t}}}const Xi=12;function Zi(t,e){return t*Math.sqrt(1-e*e)}const qi=["duration","bounce"],Ji=["stiffness","damping","mass"];function Qi(t,e){return e.some(e=>void 0!==t[e])}function tr(t=$i,e=Ii){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:o,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:h,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:Ni,stiffness:Li,damping:Fi,mass:Bi,isResolvedFromDuration:!1,...t};if(!Qi(t,Ji)&&Qi(t,qi))if(t.visualDuration){const n=t.visualDuration,o=2*Math.PI/(1.2*n),i=o*o,r=2*Kn(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:Bi,stiffness:i,damping:r}}else{const n=Gi(t);e={...e,...n,mass:Bi},e.isResolvedFromDuration=!0}return e}({...n,velocity:-ro(n.velocity||0)}),m=d||0,f=c/(2*Math.sqrt(l*u)),g=s-r,y=ro(Math.sqrt(l/u)),v=Math.abs(g)<5;let x;if(o||(o=v?zi.granular:zi.default),i||(i=v?_i.granular:_i.default),f<1){const t=Zi(y,f);x=e=>{const n=Math.exp(-f*y*e);return s-n*((m+f*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===f)x=t=>s-Math.exp(-y*t)*(g+(m+y*g)*t);else{const t=y*Math.sqrt(f*f-1);x=e=>{const n=Math.exp(-f*y*e),o=Math.min(t*e,300);return s-n*((m+f*y*g)*Math.sinh(o)+t*g*Math.cosh(o))/t}}const b={calculatedDuration:p&&h||null,next:t=>{const e=x(t);if(p)a.done=t>=h;else{let n=0===t?m:0;f<1&&(n=0===t?io(m):Vi(x,t,e));const r=Math.abs(n)<=o,l=Math.abs(s-e)<=i;a.done=r&&l}return a.value=a.done?s:e,a},toString:()=>{const t=Math.min(Di(b),Ai),e=ji(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function er({keyframes:t,velocity:e=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=h+m,g=void 0===s?f:s(f);g!==f&&(m=g-h);const y=t=>-m*Math.exp(-t/o),v=t=>g+y(t),x=t=>{const e=y(t),n=v(t);d.done=Math.abs(e)<=c,d.value=d.done?g:n};let b,w;const k=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(b=t,w=tr({keyframes:[d.value,p(d.value)],velocity:Vi(v,t,d.value),damping:i,stiffness:r,restDelta:c,restSpeed:u}))};return k(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==b||(e=!0,x(t),k(t)),void 0!==b&&t>=b?w.next(t-b):(!e&&x(t),d)}}}function nr(t,e,{clamp:n=!0,ease:o,mixer:i}={}){const r=t.length;if(e.length,1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];const s=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const o=[],i=n||Gn.mix||Ri,r=t.length-1;for(let s=0;s<r;s++){let n=i(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]||Qn:e;n=eo(t,n)}o.push(n)}return o}(e,o,i),l=a.length,c=n=>{if(s&&n<t[0])return e[0];let o=0;if(l>1)for(;o<t.length-2&&!(n<t[o+1]);o++);const i=no(t[o],t[o+1],n);return a[o](i)};return n?e=>c(Kn(t[0],t[r-1],e)):c}function or(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const i=no(0,e,o);t.push(yi(n,1,i))}}(e,t.length-1),e}function ir({duration:t=300,keyframes:e,times:n,ease:o="easeInOut"}){const i=(t=>Array.isArray(t)&&"number"!=typeof t[0])(o)?o.map(To):To(o),r={done:!1,value:e[0]},s=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:or(e),t),a=nr(s,e,{ease:Array.isArray(i)?i:(l=e,c=i,l.map(()=>c||wo).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(r.value=a(e),r.done=e>=t,r)}}tr.applyToOptions=t=>{const e=function(t,e=100,n){const o=n({...t,keyframes:[0,e]}),i=Math.min(Di(o),Ai);return{type:"keyframes",ease:t=>o.next(i*t).value/e,duration:ro(i)}}(t,100,tr);return t.ease=e.ease,t.duration=io(e.duration),t.type="keyframes",t};const rr=t=>null!==t;function sr(t,{repeat:e,repeatType:n="loop"},o,i=1){const r=t.filter(rr),s=i<0||e&&"loop"!==n&&e%2==1?0:r.length-1;return s&&void 0!==o?o:r[s]}const ar={decay:er,inertia:er,tween:ir,keyframes:ir,spring:tr};function lr(t){"string"==typeof t.type&&(t.type=ar[t.type])}class cr{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)}}const ur=t=>t/100;class hr extends cr{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==Vo.now()&&this.tick(Vo.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;lr(t);const{type:e=ir,repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:r=0}=t;let{keyframes:s}=t;const a=e||ir;a!==ir&&"number"!=typeof s[0]&&(this.mixKeyframes=eo(ur,Ri(s[0],s[1])),s=[0,100]);const l=a({...t,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=Di(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:o,mixKeyframes:i,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:h,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>o;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=o);let v=this.currentTime,x=n;if(u){const t=Math.min(this.currentTime,o)/s;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,u+1);Boolean(e%2)&&("reverse"===h?(n=1-n,d&&(n-=d/s)):"mirror"===h&&(x=r)),v=Kn(0,1,n)*s}const b=y?{done:!1,value:c[0]}:x.next(v);i&&(b.value=i(b.value));let{done:w}=b;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&p!==er&&(b.value=sr(c,this.options,f,this.speed)),m&&m(b.value),k&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return ro(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ro(t)}get time(){return ro(this.currentTime)}set time(t){t=io(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(Vo.now());const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=ro(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Mi,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(Vo.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}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)}}const dr=t=>180*t/Math.PI,pr=t=>{const e=dr(Math.atan2(t[1],t[0]));return fr(e)},mr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:pr,rotateZ:pr,skewX:t=>dr(Math.atan(t[1])),skewY:t=>dr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},fr=t=>((t%=360)<0&&(t+=360),t),gr=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),yr=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),vr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:gr,scaleY:yr,scale:t=>(gr(t)+yr(t))/2,rotateX:t=>fr(dr(Math.atan2(t[6],t[5]))),rotateY:t=>fr(dr(Math.atan2(-t[2],t[0]))),rotateZ:pr,rotate:pr,skewX:t=>dr(Math.atan(t[4])),skewY:t=>dr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function xr(t){return t.includes("scale")?1:0}function br(t,e){if(!t||"none"===t)return xr(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=vr,i=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=mr,i=e}if(!i)return xr(e);const r=o[e],s=i[1].split(",").map(wr);return"function"==typeof r?r(s):s[r]}function wr(t){return parseFloat(t.trim())}const kr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Sr=(()=>new Set(kr))(),Tr=t=>t===$o||t===ti,Pr=new Set(["x","y","z"]),Er=kr.filter(t=>!Pr.has(t));const Cr={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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})=>br(e,"x"),y:(t,{transform:e})=>br(e,"y")};Cr.translateX=Cr.x,Cr.translateY=Cr.y;const Rr=new Set;let Mr=!1,jr=!1,Ar=!1;function Dr(){if(jr){const t=Array.from(Rr).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Er.forEach(n=>{const o=t.getValue(n);void 0!==o&&(e.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}jr=!1,Mr=!1,Rr.forEach(t=>t.complete(Ar)),Rr.clear()}function Vr(){Rr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(jr=!0)})}class Lr{constructor(t,e,n,o,i,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=o,this.element=i,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Rr.add(this),Mr||(Mr=!0,Co.read(Vr),Co.resolveKeyframes(Dr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:o}=this;
vendor: 4,592 bytes, line 31
31if(null===t[0]){const i=o?.get(),r=t[t.length-1];if(void 0!==i)t[0]=i;else if(n&&e){const o=n.readValue(e,r);null!=o&&(t[0]=o)}void 0===t[0]&&(t[0]=r),o&&void 0===i&&o.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Rr.delete(this)}cancel(){"scheduled"===this.state&&(Rr.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const Fr=Jn(()=>void 0!==window.ScrollTimeline),Br={};function Nr(t,e){const n=Jn(t);return()=>Br[e]??n()}const Or=Nr(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(gh){return!1}return!0},"linearEasing"),Ir=([t,e,n,o])=>`cubic-bezier(${t}, ${e}, ${n}, ${o})`,$r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ir([0,.65,.55,1]),circOut:Ir([.55,0,1,.45]),backIn:Ir([.31,.01,.66,-.59]),backOut:Ir([.33,1.53,.69,.99])};function zr(t,e){return t?"function"==typeof t?Or()?ji(t,e):"ease-out":ko(t)?Ir(t):Array.isArray(t)?t.map(t=>zr(t,e)||$r.easeOut):$r[t]:void 0}function _r(t,e,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const h=zr(a,i);Array.isArray(h)&&(u.easing=h);const d={delay:o,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"};c&&(d.pseudoElement=c);return t.animate(u,d)}function Ur(t){return"function"==typeof t&&"applyToOptions"in t}class Wr extends cr{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:o,pseudoElement:i,allowFlatten:r=!1,finalKeyframe:s,onComplete:a}=t;this.isPseudoElement=Boolean(i),this.allowFlatten=r,this.options=t,t.type;const l=function({type:t,...e}){return Ur(t)&&Or()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=_r(e,n,o,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const t=sr(o,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}(e,n,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(gh){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{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(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return ro(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ro(t)}get time(){return ro(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=io(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&&Fr()?(this.animation.timeline=t,Qn):e(this)}}const Yr={anticipate:fo,backInOut:mo,circInOut:vo};function Hr(t){"string"==typeof t.ease&&t.ease in Yr&&(t.ease=Yr[t.ease])}class Kr extends Wr{constructor(t){Hr(t),lr(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:o,element:i,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const s=new hr({...r,autoplay:!1}),a=Math.max(10,Vo.now()-this.startTime),l=Kn(0,10,a-10);e.setWithVelocity(s.sample(Math.max(0,a-l)).value,s.sample(a).value,l),s.stop()}}const Gr=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!mi.test(t)&&"0"!==t||t.startsWith("url(")));function Xr(t){t.duration=0,t.type="keyframes"}
vendor: 25,991 bytes, line 31
31const Zr=new Set(["opacity","clipPath","filter","transform"]),qr=Jn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class Jr extends cr{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:r="loop",keyframes:s,name:a,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Vo.now();const h={autoplay:t,delay:e,type:n,repeat:o,repeatDelay:i,repeatType:r,name:a,motionValue:l,element:c,...u},d=c?.KeyframeResolver||Lr;this.keyframeResolver=new d(s,(t,e,n)=>this.onKeyframesResolved(t,e,h,!n),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,o){this.keyframeResolver=void 0;const{name:i,type:r,velocity:s,delay:a,isHandoff:l,onUpdate:c}=n;this.resolvedAt=Vo.now(),function(t,e,n,o){const i=t[0];if(null===i)return!1;if("display"===e||"visibility"===e)return!0;const r=t[t.length-1],s=Gr(i,e),a=Gr(r,e);return!(!s||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||Ur(n))&&o)}(t,i,r,s)||(!Gn.instantAnimations&&a||c?.(sr(t,n,e)),t[0]=t[t.length-1],Xr(n),n.repeat=0);const u={startTime:o?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},h=!l&&function(t){const{motionValue:e,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=t,a=e?.owner?.current;if(!(a instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return qr()&&n&&Zr.has(n)&&("transform"!==n||!c)&&!l&&!o&&"mirror"!==i&&0!==r&&"inertia"!==s}(u)?new Kr({...u,element:u.motionValue.owner.current}):new hr(u);h.finished.then(()=>this.notifyFinished()).catch(Qn),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}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(),Ar=!0,Vr(),Dr(),Ar=!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()}}const Qr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ts(t,e,n=1){const[o,i]=function(t){const e=Qr.exec(t);if(!e)return[,];const[,n,o,i]=e;return[`--${n??o}`,i]}(t);if(!o)return;const r=window.getComputedStyle(e).getPropertyValue(o);if(r){const t=r.trim();return Xn(t)?parseFloat(t):t}return No(i)?ts(i,e,n+1):i}function es(t,e){return t?.[e]??t?.default??t}const ns=new Set(["width","height","top","left","right","bottom",...kr]),os=t=>e=>e.test(t),is=[$o,ti,Qo,Jo,ni,ei,{test:t=>"auto"===t,parse:t=>t}],rs=t=>is.find(os(t));function ss(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||qn(t))}const as=new Set(["brightness","contrast","saturate","opacity"]);function ls(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[o]=n.match(Wo)||[];if(!o)return t;const i=n.replace(o,"");let r=as.has(e)?1:0;return o!==n&&(r*=100),e+"("+r+i+")"}const cs=/\b([a-z-]*)\(.*?\)/gu,us={...mi,getAnimatableNone:t=>{const e=t.match(cs);return e?e.map(ls).join(" "):t}},hs={...$o,transform:Math.round},ds={borderWidth:ti,borderTopWidth:ti,borderRightWidth:ti,borderBottomWidth:ti,borderLeftWidth:ti,borderRadius:ti,radius:ti,borderTopLeftRadius:ti,borderTopRightRadius:ti,borderBottomRightRadius:ti,borderBottomLeftRadius:ti,width:ti,maxWidth:ti,height:ti,maxHeight:ti,top:ti,right:ti,bottom:ti,left:ti,inset:ti,insetBlock:ti,insetBlockStart:ti,insetBlockEnd:ti,insetInline:ti,insetInlineStart:ti,insetInlineEnd:ti,padding:ti,paddingTop:ti,paddingRight:ti,paddingBottom:ti,paddingLeft:ti,paddingBlock:ti,paddingBlockStart:ti,paddingBlockEnd:ti,paddingInline:ti,paddingInlineStart:ti,paddingInlineEnd:ti,margin:ti,marginTop:ti,marginRight:ti,marginBottom:ti,marginLeft:ti,marginBlock:ti,marginBlockStart:ti,marginBlockEnd:ti,marginInline:ti,marginInlineStart:ti,marginInlineEnd:ti,backgroundPositionX:ti,backgroundPositionY:ti,...{rotate:Jo,rotateX:Jo,rotateY:Jo,rotateZ:Jo,scale:_o,scaleX:_o,scaleY:_o,scaleZ:_o,skew:Jo,skewX:Jo,skewY:Jo,distance:ti,translateX:ti,translateY:ti,translateZ:ti,x:ti,y:ti,z:ti,perspective:ti,transformPerspective:ti,opacity:zo,originX:oi,originY:oi,originZ:ti},zIndex:hs,fillOpacity:zo,strokeOpacity:zo,numOctaves:hs},ps={...ds,color:ri,backgroundColor:ri,outlineColor:ri,fill:ri,stroke:ri,borderColor:ri,borderTopColor:ri,borderRightColor:ri,borderBottomColor:ri,borderLeftColor:ri,filter:us,WebkitFilter:us},ms=t=>ps[t];function fs(t,e){let n=ms(t);return n!==us&&(n=mi),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const gs=new Set(["auto","none","0"]);class ys extends Lr{constructor(t,e,n,o,i){super(t,e,n,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"==typeof n&&(n=n.trim(),No(n))){const o=ts(n,e.current);void 0!==o&&(t[a]=o),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ns.has(n)||2!==t.length)return;const[o,i]=t,r=rs(o),s=rs(i);if(Io(o)!==Io(i)&&Cr[n])this.needsMeasurement=!0;else if(r!==s)if(Tr(r)&&Tr(s))for(let a=0;a<t.length;a++){const e=t[a];"string"==typeof e&&(t[a]=parseFloat(e))}else Cr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let o=0;o<t.length;o++)(null===t[o]||ss(t[o]))&&n.push(o);n.length&&function(t,e,n){let o,i=0;for(;i<t.length&&!o;){const e=t[i];"string"==typeof e&&!gs.has(e)&&ui(e).values.length&&(o=t[i]),i++}if(o&&n)for(const r of e)t[r]=fs(n,o)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const o=e[e.length-1];void 0!==o&&t.getValue(n,o).jump(o,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const o=t.getValue(e);o&&o.jump(this.measuredOrigin,!1);const i=n.length-1,r=n[i];n[i]=Cr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const vs=(t,e)=>e&&"number"==typeof t?e.transform(t):t;class xs{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=Vo.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(const n of this.dependents)n.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=Vo.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 oo);const n=this.events[t].add(e);return"change"===t?()=>{n(),Co.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 this.current}getPrevious(){return this.prev}getVelocity(){const t=Vo.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return so(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}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 bs(t,e){return new xs(t,e)}const{schedule:ws}=Eo(queueMicrotask,!1),ks={x:!1,y:!1};function Ss(){return ks.x||ks.y}function Ts(t,e){const n=function(t,e,n){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document;const o=n?.[t]??e.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}(t),o=new AbortController;return[n,{passive:!0,...e,signal:o.signal},()=>o.abort()]}function Ps(t){return!("touch"===t.pointerType||Ss())}const Es=(t,e)=>!!e&&(t===e||Es(t,e.parentElement)),Cs=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,Rs=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Ms(t){return Rs.has(t.tagName)||!0===t.isContentEditable}const js=new WeakSet;function As(t){return e=>{"Enter"===e.key&&t(e)}}function Ds(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Vs(t){return Cs(t)&&!Ss()}function Ls(t,e,n={}){const[o,i,r]=Ts(t,n),s=t=>{const o=t.currentTarget;if(!Vs(t))return;js.add(o);const r=e(o,t),s=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),js.has(o)&&js.delete(o),Vs(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{s(t,o===window||o===document||n.useGlobalTarget||Es(o,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return o.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,i),Zn(e=t)&&"offsetHeight"in e&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const o=As(()=>{if(js.has(n))return;Ds(n,"down");const t=As(()=>{Ds(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Ds(n,"cancel"),e)});n.addEventListener("keydown",o,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),e)})(t,i)),Ms(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}function Fs(t){return Zn(t)&&"ownerSVGElement"in t}const Bs=t=>Boolean(t&&t.getVelocity),Ns=[...is,ri,mi],Os=t.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});const Is=t.createContext({strict:!1}),$s={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"]},zs={};for(const yh in $s)zs[yh]={isEnabled:t=>$s[yh].some(e=>!!t[e])};const _s=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 Us(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||_s.has(t)}let Ws=t=>!Us(t);try{"function"==typeof(Ys=require("@emotion/is-prop-valid").default)&&(Ws=t=>t.startsWith("on")?!Us(t):Ys(t))}catch{}var Ys;const Hs=t.createContext({});function Ks(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function Gs(t){return"string"==typeof t||Array.isArray(t)}const Xs=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zs=["initial",...Xs];function qs(t){return Ks(t.animate)||Zs.some(e=>Gs(t[e]))}function Js(t){return Boolean(qs(t)||t.variants)}function Qs(e){const{initial:n,animate:o}=function(t,e){if(qs(t)){const{initial:e,animate:n}=t;return{initial:!1===e||Gs(e)?e:void 0,animate:Gs(n)?n:void 0}}return!1!==t.inherit?e:{}}(e,t.useContext(Hs));return t.useMemo(()=>({initial:n,animate:o}),[ta(n),ta(o)])}function ta(t){return Array.isArray(t)?t.join(" "):t}function ea(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const na={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ti.test(t))return t;t=parseFloat(t)}return`${ea(t,e.target.x)}% ${ea(t,e.target.y)}%`}},oa={correct:(t,{treeScale:e,projectionDelta:n})=>{const o=t,i=mi.parse(t);if(i.length>5)return o;const r=mi.createTransformer(t),s="number"!=typeof i[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+s]/=a,i[1+s]/=l;const c=yi(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),r(i)}},ia={borderRadius:{...na,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:na,borderTopRightRadius:na,borderBottomLeftRadius:na,borderBottomRightRadius:na,boxShadow:oa};function ra(t,{layout:e,layoutId:n}){return Sr.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!ia[t]||"opacity"===t)}const sa={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},aa=kr.length;function la(t,e,n){const{style:o,vars:i,transformOrigin:r}=t;let s=!1,a=!1;for(const l in e){const t=e[l];if(Sr.has(l))s=!0;else if(Fo(l))i[l]=t;else{const e=vs(t,ds[l]);l.startsWith("origin")?(a=!0,r[l]=e):o[l]=e}}if(e.transform||(s||n?o.transform=function(t,e,n){let o="",i=!0;for(let r=0;r<aa;r++){const s=kr[r],a=t[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const t=vs(a,ds[s]);l||(i=!1,o+=`${sa[s]||s}(${t}) `),n&&(e[s]=t)}}return o=o.trim(),n?o=n(e,i?"":o):i&&(o="none"),o}(e,t.transform,n):o.transform&&(o.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=r;o.transformOrigin=`${t} ${e} ${n}`}}const ca=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ua(t,e,n){for(const o in e)Bs(e[o])||ra(o,n)||(t[o]=e[o])}function ha(e,n){const o={};return ua(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},n){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return la(t,n,e),Object.assign({},t.vars,t.style)},[n])}(e,n)),o}function da(t,e){const n={},o=ha(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n}const pa={offset:"stroke-dashoffset",array:"stroke-dasharray"},ma={offset:"strokeDashoffset",array:"strokeDasharray"};const fa=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ga(t,{attrX:e,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...a},l,c,u){if(la(t,a,c),l)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const p of fa)void 0!==h[p]&&(d[p]=h[p],delete h[p]);void 0!==e&&(h.x=e),void 0!==n&&(h.y=n),void 0!==o&&(h.scale=o),void 0!==i&&function(t,e,n=1,o=0,i=!0){t.pathLength=1;const r=i?pa:ma;t[r.offset]=ti.transform(-o);const s=ti.transform(e),a=ti.transform(n);t[r.array]=`${s} ${a}`}(h,i,r,s,!1)}const ya=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),va=t=>"string"==typeof t&&"svg"===t.toLowerCase();function xa(e,n,o,i){const r=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ga(t,n,va(i),e.transformTemplate,e.style),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};ua(t,e.style,e),r.style={...t,...r.style}}return r}const ba=["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 wa(t){return"string"==typeof t&&!t.includes("-")&&!!(ba.indexOf(t)>-1||/[A-Z]/u.test(t))}function ka(e,n,o,{latestValues:i},r,s=!1,a){const l=(a??wa(e)?xa:da)(n,i,r,e),c=function(t,e,n){const o={};for(const i in t)"values"===i&&"object"==typeof t.values||(Ws(i)||!0===n&&Us(i)||!e&&!Us(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}(n,"string"==typeof e,s),u=e!==t.Fragment?{...c,...l,ref:o}:{},{children:h}=n,d=t.useMemo(()=>Bs(h)?h.get():h,[h]);return t.createElement(e,{...u,children:d})}function Sa(t){const e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function Ta(t,e,n,o){if("function"==typeof e){const[i,r]=Sa(o);e=e(void 0!==n?n:t.custom,i,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[i,r]=Sa(o);e=e(void 0!==n?n:t.custom,i,r)}return e}function Pa(t){return Bs(t)?t.get():t}function Ea(t,e,n,o){const i={},r=o(t,{});for(const d in r)i[d]=Pa(r[d]);let{initial:s,animate:a}=t;const l=qs(t),c=Js(t);e&&c&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const h=u?a:s;if(h&&"boolean"!=typeof h&&!Ks(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const o=Ta(t,e[n]);if(o){const{transitionEnd:t,transition:e,...n}=o;for(const o in n){let t=n[o];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[o]=t)}for(const o in t)i[o]=t[o]}}}return i}const Ca=e=>(n,o)=>{const i=t.useContext(Hs),r=t.useContext(Wn),s=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,o,i){return{latestValues:Ea(n,o,i,t),renderState:e()}}(e,n,i,r);return o?s():function(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}(s)};function Ra(t,e,n){const{style:o}=t,i={};for(const r in o)(Bs(o[r])||e.style&&Bs(e.style[r])||ra(r,t)||void 0!==n?.getValue(r)?.liveStyle)&&(i[r]=o[r]);return i}const Ma=Ca({scrapeMotionValuesFromProps:Ra,createRenderState:ca});function ja(t,e,n){const o=Ra(t,e,n);for(const i in t)if(Bs(t[i])||Bs(e[i])){o[-1!==kr.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]}return o}const Aa=Ca({scrapeMotionValuesFromProps:ja,createRenderState:ya}),Da=Symbol.for("motionComponentSymbol");function Va(e,n,o){const i=t.useRef(o);t.useInsertionEffect(()=>{i.current=o});const r=t.useRef(null);return t.useCallback(t=>{t&&e.onMount?.(t),n&&(t?n.mount(t):n.unmount());const o=i.current;if("function"==typeof o)if(t){const e=o(t);"function"==typeof e&&(r.current=e)}else r.current?(r.current(),r.current=null):o(t);else o&&(o.current=t)},[n])}const La=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Fa="data-"+La("framerAppearId"),Ba=t.createContext({});function Na(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function Oa(e,n,o,i,r,s){const{visualElement:a}=t.useContext(Hs),l=t.useContext(Is),c=t.useContext(Wn),u=t.useContext(Os).reducedMotion,h=t.useRef(null);i=i||l.renderer,!h.current&&i&&(h.current=i(e,{visualState:n,parent:a,props:o,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:u,isSVG:s}));const d=h.current,p=t.useContext(Ba);!d||d.projection||!r||"html"!==d.type&&"svg"!==d.type||function(t,e,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ia(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:Boolean(s)||a&&Na(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:c})}(h.current,o,r,p);const m=t.useRef(!1);t.useInsertionEffect(()=>{d&&m.current&&d.update(o,c)});const f=o[Fa],g=t.useRef(Boolean(f)&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return Un(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),g.current&&d.animationState&&d.animationState.animateChanges())}),t.useEffect(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),g.current=!1),d.enteringChildren=void 0)}),d}function Ia(t){if(t)return!1!==t.options.allowProjection?t.projection:Ia(t.parent)}function $a(e,{forwardMotionProps:o=!1,type:i}={},r,s){r&&function(t){for(const e in t)zs[e]={...zs[e],...t[e]}}(r);const a=i?"svg"===i:wa(e),l=a?Aa:Ma;function c(i,r){let c;const u={...t.useContext(Os),...i,layoutId:za(i)},{isStatic:h}=u,d=Qs(i),p=l(i,h);if(!h&&_n){t.useContext(Is).strict;const n=function(t){const{drag:e,layout:n}=zs;if(!e&&!n)return{};const o={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(u);c=n.MeasureLayout,d.visualElement=Oa(e,p,u,s,n.ProjectionNode,a)}return n.jsxs(Hs.Provider,{value:d,children:[c&&d.visualElement?n.jsx(c,{visualElement:d.visualElement,...u}):null,ka(e,i,Va(p,d.visualElement,r),p,h,o,a)]})}c.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const u=t.forwardRef(c);return u[Da]=e,u}function za({layoutId:e}){const n=t.useContext(zn).id;return n&&void 0!==e?n+"-"+e:e}function _a(t,e){if("undefined"==typeof Proxy)return $a;const n=new Map,o=(n,o)=>$a(n,o,t,e);return new Proxy((t,e)=>o(t,e),{get:(i,r)=>"create"===r?o:(n.has(r)||n.set(r,$a(r,void 0,t,e)),n.get(r))})}function Ua({top:t,left:e,right:n,bottom:o}){return{x:{min:e,max:n},y:{min:t,max:o}}}function Wa(t){return void 0===t||1===t}function Ya({scale:t,scaleX:e,scaleY:n}){return!Wa(t)||!Wa(e)||!Wa(n)}function Ha(t){return Ya(t)||Ka(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ka(t){return Ga(t.x)||Ga(t.y)}function Ga(t){return t&&"0%"!==t}function Xa(t,e,n){return n+e*(t-n)}function Za(t,e,n,o,i){return void 0!==i&&(t=Xa(t,i,o)),Xa(t,n,o)+e}function qa(t,e=0,n=1,o,i){t.min=Za(t.min,e,n,o,i),t.max=Za(t.max,e,n,o,i)}function Ja(t,{x:e,y:n}){qa(t.x,e.translate,e.scale,e.originPoint),qa(t.y,n.translate,n.scale,n.originPoint)}const Qa=.999999999999,tl=1.0000000000001;function el(t,e){t.min=t.min+e,t.max=t.max+e}function nl(t,e,n,o,i=.5){qa(t,e,n,yi(t.min,t.max,i),o)}function ol(t,e){nl(t.x,e.x,e.scaleX,e.scale,e.originX),nl(t.y,e.y,e.scaleY,e.scale,e.originY)}function il(t,e){return Ua(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),o=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(t.getBoundingClientRect(),e))}const rl=()=>({x:{min:0,max:0},y:{min:0,max:0}}),sl={current:null},al={current:!1};const ll=new WeakMap;const cl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ul{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Lr,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=()=>{const t=Vo.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,Co.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=r;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=qs(e),this.isVariantNode=Js(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(const h in u){const t=u[h];void 0!==a[h]&&Bs(t)&&t.set(a[h])}}mount(t){this.current=t,ll.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.forEac
vendor: 4,477 bytes, line 31
31h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(al.current||function(){if(al.current=!0,_n)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>sl.current=t.matches;t.addEventListener("change",e),e()}else sl.current=!1}(),this.shouldReduceMotion=sl.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Ro(this.notifyUpdate),Ro(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const 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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=Sr.has(t);n&&this.onBindTransform&&this.onBindTransform();const o=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Co.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{o(),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 zs){const e=zs[t];if(!e)continue;const{isEnabled:n,Feature:o}=e;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){const 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:{min:0,max:0},y:{min:0,max:0}}}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 n=0;n<cl.length;n++){const e=cl[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const o=t["on"+e];o&&(this.propEventSubscriptions[e]=this.on(e,o))}this.prevMotionValues=function(t,e,n){for(const o in e){const i=e[o],r=n[o];if(Bs(i))t.addValue(o,i);else if(Bs(r))t.addValue(o,bs(i,{owner:t}));else if(r!==i)if(t.hasValue(o)){const e=t.getValue(o);!0===e.liveStyle?e.jump(i):e.hasAnimated||e.set(i)}else{const e=t.getStaticValue(o);t.addValue(o,bs(void 0!==e?e:i,{owner:t}))}}for(const o in n)void 0===e[o]&&t.removeValue(o);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){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=bs(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var o;
vendor: 11,071 bytes, line 31
31return null!=n&&("string"==typeof n&&(Xn(n)||qn(n))?n=parseFloat(n):(o=n,!Ns.find(os(o))&&mi.test(e)&&(n=fs(t,e))),this.setBaseTarget(t,Bs(n)?n.get():n)),Bs(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const o=Ta(this.props,e,this.presenceContext?.custom);o&&(n=o[t])}if(e&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||Bs(o)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new oo),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ws.render(this.render)}}class hl extends ul{constructor(){super(...arguments),this.KeyframeResolver=ys}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Bs(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function dl(t,{style:e,vars:n},o,i){const r=t.style;let s;for(s in e)r[s]=e[s];for(s in i?.applyProjectionStyles(r,o),n)r.setProperty(s,n[s])}class pl extends hl{constructor(){super(...arguments),this.type="html",this.renderInstance=dl}readValueFromInstance(t,e){if(Sr.has(e))return this.projection?.isProjecting?xr(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return br(n,e)})(t,e);{const o=(n=t,window.getComputedStyle(n)),i=(Fo(e)?o.getPropertyValue(e):o[e])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return il(t,e)}build(t,e,n){la(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Ra(t,e,n)}}const ml=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"]);class fl extends hl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rl}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Sr.has(e)){const t=ms(e);return t&&t.default||0}return e=ml.has(e)?e:La(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return ja(t,e,n)}build(t,e,n){ga(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,o){!function(t,e,n,o){dl(t,e,void 0,o);for(const i in e.attrs)t.setAttribute(ml.has(i)?i:La(i),e.attrs[i])}(t,e,0,o)}mount(t){this.isSVGTag=va(t.tagName),super.mount(t)}}const gl=(e,n)=>n.isSVG??wa(e)?new fl(n):new pl(n,{allowProjection:e!==t.Fragment});function yl(t,e,n){const o=t.getProps();return Ta(o,e,void 0!==n?n:o.custom,t)}const vl=t=>Array.isArray(t);function xl(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,bs(n))}function bl(t){return vl(t)?t[t.length-1]||0:t}function wl(t,e){const n=t.getValue("willChange");if(o=n,Boolean(Bs(o)&&o.add))return n.add(e);if(!n&&Gn.WillChange){const n=new Gn.WillChange("auto");t.addValue("willChange",n),n.add(e)}var o}function kl(t){return t.props[Fa]}const Sl=t=>null!==t;const Tl={type:"spring",stiffness:500,damping:25,restSpeed:10},Pl={type:"keyframes",duration:.8},El={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Cl=(t,{keyframes:e})=>e.length>2?Pl:Sr.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Tl:El;const Rl=(t,e,n,o={},i,r)=>s=>{const a=es(o,t)||{},l=a.delay||o.delay||0;let{elapsed:c=0}=o;c-=io(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};(function({when:t,delay:e,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||Object.assign(u,Cl(t,u)),u.duration&&(u.duration=io(u.duration)),u.repeatDelay&&(u.repeatDelay=io(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(Xr(u),0===u.delay&&(h=!0)),(Gn.instantAnimations||Gn.skipAnimations)&&(h=!0,Xr(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,h&&!r&&void 0!==e.get()){const t=function(t,{repeat:e,repeatType:n="loop"}){const o=t.filter(Sl);return o[e&&"loop"!==n&&e%2==1?0:o.length-1]}(u.keyframes,a);if(void 0!==t)return void Co.update(()=>{u.onUpdate(t),u.onComplete()})}return a.isSync?new hr(u):new Jr(u)};function Ml({protectedKeys:t,needsAnimating:e},n){const o=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,o}function jl(t,e,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:s,...a}=e;o&&(r=o);const l=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const u in a){const e=t.getValue(u,t.latestValues[u]??null),o=a[u];if(void 0===o||c&&Ml(c,u))continue;const i={delay:n,...es(r||{},u)},s=e.get();if(void 0!==s&&!e.isAnimating&&!Array.isArray(o)&&o===s&&!i.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){const e=kl(t);if(e){const t=window.MotionHandoffAnimation(e,u,Co);null!==t&&(i.startTime=t,h=!0)}}wl(t,u),e.start(Rl(u,e,o,t.shouldReduceMotion&&ns.has(u)?{type:!1}:i,t,h));const d=e.animation;d&&l.push(d)}return s&&Promise.all(l).then(()=>{Co.update(()=>{s&&function(t,e){const n=yl(t,e);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r)xl(t,s,bl(r[s]))}(t,s)})}),l}function Al(t,e,n,o=0,i=1){const r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),s=t.size,a=(s-1)*o;return"function"==typeof n?n(r,s):1===i?r*o:a-r*o}function Dl(t,e,n={}){const o=yl(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all(jl(t,o,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(o=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,n=0,o=0,i=0,r=1,s){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Dl(l,e,{...s,delay:n+("function"==typeof o?0:o)+Al(t.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,o,r,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[t,e]="beforeChildren"===a?[r,s]:[s,r];return t().then(()=>e())}return Promise.all([r(),s(n.delay)])}function Vl(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(e[o]!==t[o])return!1;return!0}const Ll=Zs.length;function Fl(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&Fl(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Ll;n++){const o=Zs[n],i=t.props[o];(Gs(i)||!1===i)&&(e[o]=i)}return e}const Bl=[...Xs].reverse(),Nl=Xs.length;function Ol(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let o;if(t.notify("AnimationStart",e),Array.isArray(e)){const i=e.map(e=>Dl(t,e,n));o=Promise.all(i)}else if("string"==typeof e)o=Dl(t,e,n);else{const i="function"==typeof e?yl(t,e,n.custom):e;o=Promise.all(jl(t,i,n))}return o.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function Il(t){let e=Ol(t),n=_l(),o=!0;const i=e=>(n,o)=>{const i=yl(t,o,"exit"===e?t.presenceContext?.custom:void 0);if(i){const{transition:t,transitionEnd:e,...o}=i;n={...n,...o,...e}}return n};function r(r){const{props:s}=t,a=Fl(t.parent)||{},l=[],c=new Set;let u={},h=1/0;for(let e=0;e<Nl;e++){const d=Bl[e],p=n[d],m=void 0!==s[d]?s[d]:a[d],f=Gs(m),g=d===r?p.isActive:null;!1===g&&(h=e);let y=m===a[d]&&m!==s[d]&&f;if(y&&o&&t.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...u},!p.isActive&&null===g||!m&&!p.prevProp||Ks(m)||"boolean"==typeof m)continue;const v=$l(p.prevProp,m);let x=v||d===r&&p.isActive&&!y&&f||e>h&&f,b=!1;const w=Array.isArray(m)?m:[m];let k=w.reduce(i(d),{});!1===g&&(k={});const{prevResolvedValues:S={}}=p,T={...S,...k},P=e=>{x=!0,c.has(e)&&(b=!0,c.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in T){const e=k[t],n=S[t];if(u.hasOwnProperty(t))continue;let o=!1;o=vl(e)&&vl(n)?!Vl(e,n):e!==n,o?null!=e?P(t):c.add(t):void 0!==e&&c.has(t)?P(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=k,p.isActive&&(u={...u,...k}),o&&t.blockInitialAnimation&&(x=!1);const E=y&&v;x&&(!E||b)&&l.push(...w.map(e=>{const n={type:d};if("string"==typeof e&&o&&!E&&t.manuallyAnimateOnMount&&t.parent){const{parent:o}=t,i=yl(o,e);if(o.enteringChildren&&i){const{delayChildren:e}=i.transition||{};n.delay=Al(o.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(c.size){const e={};if("boolean"!=typeof s.initial){const n=yl(t,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(e.transition=n.transition)}c.forEach(n=>{const o=t.getBaseTarget(n),i=t.getValue(n);i&&(i.liveStyle=!0),e[n]=o??null}),l.push({animation:e})}let d=Boolean(l.length);return!o||!1!==s.initial&&s.initial!==s.animate||t.manuallyAnimateOnMount||(d=!1),o=!1,d?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,o){if(n[e].isActive===o)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,o)),n[e].isActive=o;const i=r(e);for(const t in n)n[t].protectedKeys={};return i},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=_l()}}}function $l(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Vl(e,t)}function zl(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _l(){return{animate:zl(!0),whileInView:zl(),whileHover:zl(),whileTap:zl(),whileDrag:zl(),whileFocus:zl(),exit:zl()}}class Ul{constructor(t){this.isMounted=!1,this.node=t}update(){}}let Wl=0;const Yl={animation:{Feature:class extends Ul{constructor(t){super(t),t.animationState||(t.animationState=Il(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ks(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{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 Ul{constructor(){super(...arguments),this.id=Wl++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const o=this.node.animationState.setActive("exit",!t);e&&!t&&o.then(()=>{e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};
vendor: 9,973 bytes, line 31
31e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};function Hl(t,e,n,o={passive:!0}){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n)}function Kl(t){return{point:{x:t.pageX,y:t.pageY}}}function Gl(t,e,n,o){return Hl(t,e,(t=>e=>Cs(e)&&t(e,Kl(e)))(n),o)}function Xl(t){return t.max-t.min}function Zl(t,e,n,o=.5){t.origin=o,t.originPoint=yi(e.min,e.max,t.origin),t.scale=Xl(n)/Xl(e),t.translate=yi(n.min,n.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 ql(t,e,n,o){Zl(t.x,e.x,n.x,o?o.originX:void 0),Zl(t.y,e.y,n.y,o?o.originY:void 0)}function Jl(t,e,n){t.min=n.min+e.min,t.max=t.min+Xl(e)}function Ql(t,e,n){t.min=e.min-n.min,t.max=t.min+Xl(e)}function tc(t,e,n){Ql(t.x,e.x,n.x),Ql(t.y,e.y,n.y)}function ec(t){return[t("x"),t("y")]}const nc=({current:t})=>t?t.ownerDocument.defaultView:null,oc=(t,e)=>Math.abs(t-e);const ic=new Set(["auto","scroll"]);class rc{constructor(t,e,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:r=3,element:s}={}){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=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=lc(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=oc(t.x,e.x),o=oc(t.y,e.y);return Math.sqrt(n**2+o**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=Mo;this.history.push({...o,timestamp:i});const{onStart:r,onMove:s}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=sc(e,this.transformPagePoint),Co.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:o,resumeAnimation:i}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=lc("pointercancel"===t.type?this.lastMoveEventInfo:sc(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,r),o&&o(t,r)},!Cs(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=r,this.contextWindow=o||window;const a=sc(Kl(t),this.transformPagePoint),{point:l}=a,{timestamp:c}=Mo;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=e;u&&u(t,lc(a,this.history)),this.removeListeners=eo(Gl(this.contextWindow,"pointermove",this.handlePointerMove),Gl(this.contextWindow,"pointerup",this.handlePointerUp),Gl(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(ic.has(t.overflowX)||ic.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){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,o=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i=o.x-e.x,r=o.y-e.y;0===i&&0===r||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i,this.lastMoveEventInfo.point.y+=r):this.history.length>0&&(this.history[0].x-=i,this.history[0].y-=r),this.scrollPositions.set(t,o),Co.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ro(this.updatePoint)}}function sc(t,e){return e?{point:e(t.point)}:t}function ac(t,e){return{x:t.x-e.x,y:t.y-e.y}}function lc({point:t},e){return{point:t,delta:ac(t,uc(e)),offset:ac(t,cc(e)),velocity:hc(e,.1)}}function cc(t){return t[0]}function uc(t){return t[t.length-1]}function hc(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,o=null;const i=uc(t);for(;n>=0&&(o=t[n],!(i.timestamp-o.timestamp>io(e)));)n--;if(!o)return{x:0,y:0};const r=ro(i.timestamp-o.timestamp);if(0===r)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function dc(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function pc(t,e){let n=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,o]=[o,n]),{min:n,max:o}}const mc=.35;function fc(t,e,n){return{min:gc(t,e),max:gc(t,n)}}function gc(t,e){return"number"==typeof t?t:t[e]||0}const yc=new WeakMap;class vc{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:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:o}=this.visualElement;if(o&&!1===o.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new rc(t,{onSessionStart:t=>{e?(this.stopAnimation(),this.snapToCursor(Kl(t).point)):this.pauseAnimation()},onStart:(t,e)=>{this.stopAnimation();const{drag:n,dragPropagation:o,onDragStart:i}=this.getProps();if(n&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=n)||"y"===r?ks[r]?null:(ks[r]=!0,()=>{ks[r]=!1}):ks.x||ks.y?null:(ks.x=ks.y=!0,()=>{ks.x=ks.y=!1}),!this.openDragLock))return;var r;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),ec(t=>{let e=this.getAxisMotionValue(t).get()||0;if(Qo.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[t];if(o){e=Xl(o)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),i&&Co.postRender(()=>i(t,e)),wl(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=e;if(o&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(s),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),r&&r(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>ec(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:nc(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,o=e||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!n)return;const{velocity:r}=o;this.startAnimation(r);const{onDragEnd:s}=this.getProps();s&&Co.postRender(()=>s(n,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:o}=this.getProps();if(!n||!xc(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:n},o){return void 0!==e&&t<e?t=o?yi(e,t,o.min):Math.max(t,e):void 0!==n&&t>n&&(t=o?yi(n,t,o.max):Math.min(t,n)),t}(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Na(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:o,right:i}){return{x:dc(t.x,n,i),y:dc(t.y,e,o)}}(n.layoutBox,t),this.elastic=function(t=mc){return!1===t?t=0:!0===t&&(t=mc),{x:fc(t,"left","right"),y:fc(t,"top","bottom")}}(e),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ec(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Na(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=function(t,e,n){const o=il(t,n),{scroll:i}=e;return i&&(el(o.x,i.offset.x),el(o.y,i.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:pc(t.x,e.x),y:pc(t.y,e.y)}}(o.layout.layoutBox,i);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(r));this.hasMutatedConstraints=!!t,t&&(r=Ua(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=ec(s=>
vendor: 24,209 bytes, line 31
31{if(!xc(s,e,this.currentDirection))return;let l=a&&a[s]||{};r&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,h={type:"inertia",velocity:n?t[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,h)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return wl(this.visualElement,t),n.start(Rl(t,n,0,e,this.visualElement,!1))}stopAnimation(){ec(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ec(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),o=n[e];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){ec(e=>{const{drag:n}=this.getProps();if(!xc(e,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(e);if(o&&o.layout){const{min:n,max:r}=o.layout.layoutBox[e],s=i.get()||0;i.set(t[e]-yi(n,r,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Na(e)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ec(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();o[t]=function(t,e){let n=.5;const o=Xl(t),i=Xl(e);return i>o?n=no(e.min,e.max-o,t.min):o>i&&(n=no(t.min,t.max-i,e.min)),Kn(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ec(e=>{if(!xc(e,t,null))return;const n=this.getAxisMotionValue(e),{min:i,max:r}=this.constraints[e];n.set(yi(i,r,o[e]))})}addListeners(){if(!this.visualElement.current)return;yc.set(this.visualElement,this);const t=Gl(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&!Ms(t.target)&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();Na(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),Co.read(e);const i=Hl(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ec(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),o(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=mc,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:s}}}function xc(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const bc=t=>(e,n)=>{t&&Co.postRender(()=>t(e,n))};const wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let kc=!1;class Sc extends t.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;i&&(e.group&&e.group.add(i),n&&n.register&&o&&n.register(i),kc&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:o,isPresent:i}=this.props,{projection:r}=n;return r?(r.isPresent=i,kc=!0,o||t.layoutDependency!==e||void 0===e||t.isPresent!==i?r.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?r.promote():r.relegate()||Co.postRender(()=>{const t=r.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ws.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:o}=t;kc=!0,o&&(o.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Tc(e){const[o,i]=function(e=!0){const n=t.useContext(Wn);if(null===n)return[!0,null];const{isPresent:o,onExitComplete:i,register:r}=n,s=t.useId();t.useEffect(()=>{if(e)return r(s)},[e]);const a=t.useCallback(()=>e&&i&&i(s),[s,i,e]);return!o&&i?[!1,a]:[!0]}(),r=t.useContext(zn);return n.jsx(Sc,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(Ba),isPresent:o,safeToRemove:i})}const Pc=(t,e)=>t.depth-e.depth;class Ec{constructor(){this.children=[],this.isDirty=!1}add(t){Yn(this.children,t),this.isDirty=!0}remove(t){Hn(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Pc),this.isDirty=!1,this.children.forEach(t)}}const Cc=["TopLeft","TopRight","BottomLeft","BottomRight"],Rc=Cc.length,Mc=t=>"string"==typeof t?parseFloat(t):t,jc=t=>"number"==typeof t||ti.test(t);function Ac(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Dc=Lc(0,.5,yo),Vc=Lc(.5,.95,Qn);function Lc(t,e,n){return o=>o<t?0:o>e?1:n(no(t,e,o))}function Fc(t,e){t.min=e.min,t.max=e.max}function Bc(t,e){Fc(t.x,e.x),Fc(t.y,e.y)}function Nc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Oc(t,e,n,o,i){return t=Xa(t-=e,1/n,o),void 0!==i&&(t=Xa(t,1/i,o)),t}function Ic(t,e,[n,o,i],r,s){!function(t,e=0,n=1,o=.5,i,r=t,s=t){Qo.test(e)&&(e=parseFloat(e),e=yi(s.min,s.max,e/100)-s.min);if("number"!=typeof e)return;let a=yi(r.min,r.max,o);t===r&&(a-=e),t.min=Oc(t.min,e,n,a,i),t.max=Oc(t.max,e,n,a,i)}(t,e[n],e[o],e[i],e.scale,r,s)}const $c=["x","scaleX","originX"],zc=["y","scaleY","originY"];function _c(t,e,n,o){Ic(t.x,e,$c,n?n.x:void 0,o?o.x:void 0),Ic(t.y,e,zc,n?n.y:void 0,o?o.y:void 0)}function Uc(t){return 0===t.translate&&1===t.scale}function Wc(t){return Uc(t.x)&&Uc(t.y)}function Yc(t,e){return t.min===e.min&&t.max===e.max}function Hc(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Kc(t,e){return Hc(t.x,e.x)&&Hc(t.y,e.y)}function Gc(t){return Xl(t.x)/Xl(t.y)}function Xc(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Zc{constructor(){this.members=[]}add(t){Yn(this.members,t),t.scheduleRender()}remove(t){if(Hn(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let o=e;o>=0;o--){const t=this.members[o];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const qc=["","X","Y","Z"];let Jc=0;function Qc(t,e,n,o){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),o&&(o[t]=0))}function tu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=kl(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Co,!(e||o))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&tu(o)}function eu({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(t={},n=e?.()){this.id=Jc++,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(iu),this.nodes.forEach(hu),this.nodes.forEach(du),this.nodes.forEach(ru)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ec)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new oo),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;var n;this.isSVG=Fs(e)&&!(Fs(n=e)&&"svg"===n.tagName),this.instance=e;const{layoutId:o,layout:i,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||o)&&(this.isLayoutDirty=!0),t){let n,o=0;const i=()=>this.root.updateBlockedByResize=!1;Co.read(()=>{o=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==o&&(o=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=Vo.now(),o=({timestamp:i})=>{const r=i-n;r>=e&&(Ro(o),t(r-e))};return Co.setup(o,!0),()=>Ro(o)}(i,250),wc.hasAnimatedSinceResize&&(wc.hasAnimatedSinceResize=!1,this.nodes.forEach(uu)))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&r&&(o||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||r.getDefaultTransition()||vu,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!Kc(this.targetLayout,o),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...es(i,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c)}else e||uu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ro(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(pu),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&tu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){const t=this.path[i];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(au);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(lu);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(cu),this.nodes.forEach(nu),this.nodes.forEach(ou)):this.nodes.forEach(lu),this.clearAllSnapshots();const t=Vo.now();Mo.delta=Kn(0,1e3/60,t-Mo.timestamp),Mo.timestamp=t,Mo.isProcessing=!0,jo.update.process(Mo),jo.preRender.process(Mo),jo.render.process(Mo),Mo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ws.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(su),this.sharedNodes.forEach(mu)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Co.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Co.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Xl(this.snapshot.measuredBox.x)||Xl(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=o(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!i)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Wc(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,r=o!==this.prevTransformTemplateValue;t&&this.instance&&(e||Ha(this.latestValues)||r)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var o;return t&&(n=this.removeTransform(n)),wu((o=n).x),wu(o.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Su))){const{scroll:t}=this.root;t&&(el(e.x,t.offset.x),el(e.y,t.offset.y))}return e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};if(Bc(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:i,options:r}=o;o!==this.root&&i&&r.layoutScroll&&(i.wasRoot&&Bc(e,t),el(e.x,i.offset.x),el(e.y,i.offset.y))}return e}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Bc(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&ol(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),Ha(t.latestValues)&&ol(n,t.latestValues)}return Ha(this.latestValues)&&ol(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Bc(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!Ha(t.latestValues))continue;Ya(t.latestValues)&&t.updateSnapshot();const o=rl();Bc(o,t.measurePageBox()),_c(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,o)}return Ha(this.latestValues)&&_c(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!==Mo.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(!this.layout||!o&&!i)return;this.resolvedRelativeTargetAt=Mo.timestamp;const r=this.getClosestProjectingParent();var s,a,l;(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Jl(s.x,a.x,l.x),Jl(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Bc(this.target,this.layout.layoutBox),Ja(this.target,this.targetDelta)):Bc(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,r&&Boolean(r.resumingFrom)===Boolean(this.resumingFrom)&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(this.parent&&!Ya(this.parent.latestValues)&&!Ka(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},tc(this.relativeTargetOrigin,e,n),Bc(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Mo.timestamp&&(n=!1),n)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Bc(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,s=this.treeScale.y;!function(t,e,n,o=!1){const i=n.length;if(!i)return;let r,s;e.x=e.y=1;for(let a=0;a<i;a++){r=n[a],s=r.projectionDelta;const{visualElement:i}=r.options;i&&i.props.style&&"contents"===i.props.style.display||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&ol(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,Ja(t,s)),o&&Ha(r.latestValues)&&ol(t,r.latestValues))}e.x<tl&&e.x>Qa&&(e.x=1),e.y<tl&&e.y>Qa&&(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:{min:0,max:0},y:{min:0,max:0}});const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(Nc(this.prevProjectionDelta.x,this.projectionDelta.x),Nc(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ql(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===s&&Xc(this.projectionDelta.x,this.prevProjectionDelta.x)&&Xc(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1){const n=this.snapshot,o=n?n.latestValues:{},i={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(yu));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,g;fu(r.x,t.x,n),fu(r.y,t.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tc(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=s,g=n,gu(p.x,m.x,f.x,g),gu(p.y,m.y,f.y,g),h&&(l=this.relativeTarget,d=h,Yc(l.x,d.x)&&Yc(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),Bc(h,this.relativeTarget)),a&&(this.animationValues=i,function(t,e,n,o,i,r){i?(t.opacity=yi(0,n.opacity??1,Dc(o)),t.opacityExit=yi(e.opacity??1,0,Vc(o))):r&&(t.opacity=yi(e.opacity??1,n.opacity??1,o));for(let s=0;s<Rc;s++){const i=`border${Cc[s]}Radius`;let r=Ac(e,i),a=Ac(n,i);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||jc(r)===jc(a)?(t[i]=Math.max(yi(Mc(r),Mc(a),o),0),(Qo.test(a)||Qo.test(r))&&(t[i]+="%")):t[i]=a)}(e.rotate||n.rotate)&&(t.rotate=yi(e.rotate||0,n.rotate||0,o))}(i,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(
vendor: 1,901 bytes, line 31
31Ro(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Co.update(()=>{wc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=bs(0)),this.currentAnimation=function(t,e,n){const o=Bs(t)?t:bs(t);return o.start(Rl("",o,e,n)),o.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:o,latestValues:i}=t;if(e&&n&&o){if(this!==t&&this.layout&&o&&ku(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=Xl(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const o=Xl(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+o}Bc(e,n),ol(e,i),ql(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Zc);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;
vendor: 2,165 bytes, line 31
31return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const o={};n.z&&Qc("z",t,o,this.animationValues);for(let i=0;i<qc.length;i++)Qc(`rotate${qc[i]}`,t,o,this.animationValues),Qc(`skew${qc[i]}`,t,o,this.animationValues);t.render();for(const i in o)t.setStaticValue(i,o[i]),this.animationValues&&(this.animationValues[i]=o[i]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=Pa(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Pa(e?.pointerEvents)||""),void(this.hasProjected&&!Ha(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const i=o.animationValues||o.latestValues;this.applyTransformsToTarget();let r=function(t,e,n){let o="";const i=t.x.translate/e.x,r=t.y.translate/e.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),1===e.x&&1===e.y||(o+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:i,rotateY:r,skewX:s,skewY:a}=n;t&&(o=`perspective(${t}px) ${o}`),e&&(o+=`rotate(${e}deg) `),i&&(o+=`rotateX(${i}deg) `),r&&(o+=`rotateY(${r}deg) `),s&&(o+=`skewX(${s}deg) `),a&&(o+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;
vendor: 6,212 bytes, line 31
31return 1===a&&1===l||(o+=`scale(${a}, ${l})`),o||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(r=n(i,r)),t.transform=r;const{x:s,y:a}=this.projectionDelta;t.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,o.animationValues?t.opacity=o===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const l in ia){if(void 0===i[l])continue;const{correct:e,applyTo:n,isCSSVariable:s}=ia[l],a="none"===r?i[l]:e(i[l],o);if(n){const e=n.length;for(let o=0;o<e;o++)t[n[o]]=a}else s?this.options.visualElement.renderState.vars[l]=a:t[l]=a}this.options.layoutId&&(t.pointerEvents=o===this?Pa(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(au),this.root.sharedNodes.clear()}}}function nu(t){t.updateLayout()}function ou(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=t.layout,{animationType:i}=t.options,r=e.source!==t.layout.source;"size"===i?ec(t=>{const o=r?e.measuredBox[t]:e.layoutBox[t],i=Xl(o);o.min=n[t].min,o.max=o.min+i}):ku(i,e.layoutBox,n)&&ec(o=>{const i=r?e.measuredBox[o]:e.layoutBox[o],s=Xl(n[o]);i.max=i.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[o].max=t.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ql(s,n,e.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?ql(a,t.applyTransform(o,!0),e.measuredBox):ql(a,n,e.layoutBox);const l=!Wc(s);let c=!1;if(!t.resumeFrom){const o=t.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:i,layout:r}=o;if(i&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};tc(s,e.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};tc(a,n,r.layoutBox),Kc(s,a)||(c=!0),o.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=o)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iu(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ru(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function su(t){t.clearSnapshot()}function au(t){t.clearMeasurements()}function lu(t){t.isLayoutDirty=!1}function cu(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function uu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function hu(t){t.resolveTargetDelta()}function du(t){t.calcProjection()}function pu(t){t.resetSkewAndRotation()}function mu(t){t.removeLeadSnapshot()}function fu(t,e,n){t.translate=yi(e.translate,0,n),t.scale=yi(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function gu(t,e,n,o){t.min=yi(e.min,n.min,o),t.max=yi(e.max,n.max,o)}function yu(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const vu={duration:.45,ease:[.4,0,.1,1]},xu=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),bu=xu("applewebkit/")&&!xu("chrome/")?Math.round:Qn;function wu(t){t.min=bu(t.min),t.max=bu(t.max)}function ku(t,e,n){return"position"===t||"preserve-aspect"===t&&(o=Gc(e),i=Gc(n),r=.2,!(Math.abs(o-i)<=r));var o,i,r}function Su(t){return t!==t.root&&t.scroll?.wasRoot}const Tu=eu({attachResizeListener:(t,e)=>Hl(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Pu={current:void 0},Eu=eu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Pu.current){const t=new Tu({});t.mount(window),t.setOptions({layoutScroll:!0}),Pu.current=t}return Pu.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Cu={pan:{Feature:class extends Ul{constructor(){super(...arguments),this.removePointerDownListener=Qn}onPointerDown(t){this.session=new rc(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nc(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:bc(t),onStart:bc(e),onMove:n,onEnd:(t,e)=>{delete this.session,o&&Co.postRender(()=>o(t,e))}}}mount(){this.removePointerDownListener=Gl(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 Ul{constructor(t){super(t),this.removeGroupControls=Qn,this.removeListeners=Qn,this.controls=new vc(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qn}update(){const{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()}},ProjectionNode:Eu,MeasureLayout:Tc}};function Ru(t,e,n){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover","Start"===n);const i=o["onHover"+n];i&&Co.postRender(()=>i(e,Kl(e)))}function Mu(t,e,n){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap","Start"===n);
31const i=o["onTap"+("End"===n?"":n)];i&&Co.postRender(()=>i(e,Kl(e)))}const ju=new WeakMap,Au=new WeakMap,Du=t=>{const e=ju.get(t.target);e&&e(t)},Vu=t=>{t.forEach(Du)};function Lu(t,e,n){const o=function({root:t,...e}){const n=t||document;Au.has(n)||Au.set(n,{});const o=Au.get(n),i=JSON.stringify(e);return o[i]||(o[i]=new IntersectionObserver(Vu,{root:t,...e})),o[i]}(e);return ju.set(t,n),o.observe(t),()=>{ju.delete(t),o.unobserve(t)}}const Fu={some:0,all:1};const Bu=_a({...Yl,...{inView:{Feature:class extends Ul{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:o="some",once:i}=t,r={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:Fu[o]};return Lu(this.node.current,r,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,i&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),r=e?n:o;r&&r(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ul{mount(){const{current:t}=this.node;t&&(this.unmount=Ls(t,(t,e)=>(Mu(this.node,e,"Start"),(t,{success:e})=>Mu(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Ul{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(gh){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=eo(Hl(this.node.current,"focus",()=>this.onFocus()),Hl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ul{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[o,i,r]=Ts(t,n),s=t=>{if(!Ps(t))return;const{target:n}=t,o=e(n,t);if("function"!=typeof o||!n)return;const r=t=>{Ps(t)&&(o(t),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,i)};return o.forEach(t=>{t.addEventListener("pointerenter",s,i)}),r}(t,(t,e)=>(Ru(this.node,e,"Start"),t=>Ru(this.node,t,"End"))))}unmount(){}}}},...Cu,...{layout:{ProjectionNode:Eu,MeasureLayout:Tc}}},gl),Nu={large:8,medium:15,small:25,tiny:12},Ou={sizeRange:{min:2,max:4},durationRange:{min:8,max:14},maxDelay:5,movement:{y:40,x:10},opacity:{min:.3,max:.9}},Iu={sizeRange:{min:1,max:2.5},durationRange:{min:4,max:8},maxDelay:3,movement:{y:25},opacity:{min:.2,max:.7}},$u={sizeRange:{min:.5,max:1.3},durationRange:{min:2,max:5},maxDelay:2,opacity:{min:.1,max:.6},scale:{min:.8,max:1.3}},zu={sizeRange:{min:.3,max:.8},durationRange:{min:5,max:10},maxDelay:5,opacity:{min:.2,max:.4}},_u="#4CC3FF",Uu="#D6DF23";function Wu({particles:e=Nu,className:o=""}){const i={...Nu,...e},r=t.useMemo(()=>Array.from({length:i.large},(t,e)=>{const{sizeRange:n,durationRange:o,maxDelay:i,movement:r,opacity:s}=Ou;return{key:`large-${e}`,size:n.min+Math.random()*(n.max-n.min),duration:o.min+Math.random()*(o.max-o.min),delay:Math.random()*i,color:Math.random()>.5?_u:Uu,left:100*Math.random()+"%",top:100*Math.random()+"%",blur:.5*Math.random(),movement:r,opacity:s}}),[i.large]),s=t.useMemo(()=>Array.from({length:i.medium},(t,e)=>{const{sizeRange:n,durationRange:o,maxDelay:i,movement:r,opacity:s}=Iu;return{key:`medium-${e}`,size:n.min+Math.random()*(n.max-n.min),duration:o.min+Math.random()*(o.max-o.min),delay:Math.random()*i,color:Math.random()>.6?_u:Uu,left:100*Math.random()+"%",top:100*Math.random()+"%",movement:r,opacity:s}}),[i.medium]),a=t.useMemo(()=>Array.from({length:i.small},(t,e)=>{const{sizeRange:n,durationRange:o,maxDelay:i,opacity:r,scale:s}=$u;return{key:`small-${e}`,size:n.min+Math.random()*(n.max-n.min),duration:o.min+Math.random()*(o.max-o.min),delay:Math.random()*i,color:Math.random()>.5?_u:Uu,left:100*Math.random()+"%",top:100*Math.random()+"%",initialOpacity:.4,opacity:r,scale:s}}),[i.small]),l=t.useMemo(()=>Array.from({length:i.tiny},(t,e)=>{const{sizeRange:n,durationRange:o,maxDelay:i,opacity:r}=zu;return{key:`tiny-${e}`,size:n.min+Math.random()*(n.max-n.min),duration:o.min+Math.random()*(o.max-o.min),delay:Math.random()*i,left:100*Math.random()+"%",top:100*Math.random()+"%",opacity:r}}),[i.tiny]);return n.jsxs("div",{className:`absolute inset-0 overflow-hidden pointer-events-none ${o}`,children:[r.map(t=>n.jsx(Bu.div,{className:"absolute rounded-full",style:{width:`${t.size}px`,height:`${t.size}px`,backgroundColor:t.color,left:t.left,top:t.top,filter:`blur(${t.blur}px)`},animate:{y:[0,-t.movement.y,0],x:[0,Math.random()*t.movement.x-t.movement.x/2,0],opacity:[t.opacity.min,t.opacity.max,t.opacity.min],scale:[1,1.2,1]},transition:{duration:t.duration,repeat:1/0,delay:t.delay,ease:"easeInOut"}},t.key)),s.map(t=>n.jsx(Bu.div,{className:"absolute rounded-full",style:{width:`${t.size}px`,height:`${t.size}px`,backgroundColor:t.color,left:t.left,top:t.top},animate:{y:[0,-t.movement.y,0],opacity:[t.opacity.min,t.opacity.max,t.opacity.min]},transition:{duration:t.duration,repeat:1/0,delay:t.delay,ease:"easeInOut"}},t.key)),a.map(t=>n.jsx(Bu.div,{className:"absolute rounded-full",style:{width:`${t.size}px`,height:`${t.size}px`,backgroundColor:t.color,left:t.left,top:t.top,opacity:t.initialOpacity}
31,animate:{opacity:[t.opacity.min,t.opacity.max,t.opacity.min],scale:[t.scale.min,t.scale.max,t.scale.min]},transition:{duration:t.duration,repeat:1/0,delay:t.delay,ease:"easeInOut"}},t.key)),l.map(t=>n.jsx(Bu.div,{className:"absolute rounded-full bg-white/30",style:{width:`${t.size}px`,height:`${t.size}px`,left:t.left,top:t.top},animate:{opacity:[t.opacity.min,t.opacity.max,t.opacity.min]},transition:{duration:t.duration,repeat:1/0,delay:t.delay,ease:"linear"}},t.key))]})}const Yu=t.memo(function(){return n.jsxs("section",{id:"home",className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-20",children:[n.jsx("div",{className:"absolute inset-0 gradient-dark"}),n.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-b from-transparent via-[#0B0F19]/50 to-[#0B0F19] pointer-events-none z-20"}),n.jsx(Wu,{}),n.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:n.jsx("div",{className:"flex flex-col items-center justify-center text-center min-h-[700px] max-w-5xl mx-auto",children:n.jsxs(Bu.div,{initial:{opacity:0,y:-30},animate:{opacity:1,y:0},transition:{duration:.8},className:"w-full",children:[n.jsxs(Bu.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"inline-flex items-center gap-2 px-6 py-3 rounded-full glass mb-10",children:[n.jsx(y,{className:"w-4 h-4 text-[#D6DF23]"}),n.jsx("span",{className:"text-base text-[#B8C1CC]",children:"AI-Powered Document Intelligence"})]}),n.jsxs(Bu.h1,{className:"text-6xl lg:text-7xl mb-8 text-white",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},children:["SM][LED: The AI That Takes Charge of Your Documents and Automates Your"," ",n.jsx("span",{className:"text-[#D6DF23]",children:"Entreprise"})]}),n.jsxs(Bu.p,{className:"text-2xl text-[#B8C1CC] mb-12 max-w-3xl mx-auto leading-relaxed",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2},children:["Vision. Templating. Search.",n.jsx("br",{}),"The AI that handles your documents as your best expert would."]}),n.jsxs(Bu.div,{className:"flex flex-wrap gap-6 justify-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},children:[n.jsx(Xt,{size:"lg",className:"bg-[#D6DF23] text-[#0B0F19] hover:bg-[#D6DF23]/90 shadow-lg hover:shadow-[#D6DF23]/50 transition-all duration-300 px-10 py-7 text-lg",onClick:()=>window.location.hash="#demo",children:"Request a Demo"}),n.jsx(Xt,{size:"lg",variant:"outline",className:"border-2 border-[#D6DF23] text-[#D6DF23] bg-transparent hover:bg-[#D6DF23]/10 px-10 py-7 text-lg",onClick:()=>window.location.hash="#product",children:"See How It Works"})]})]})})})]})});function Hu(){return n.jsxs("footer",{id:"footer",className:"relative bg-[#06070D]",children:[n.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-[#D6DF23]/50 to-transparent"}),n.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:n.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[n.jsxs("div",{className:"flex flex-col items-center md:items-start gap-1",children:[n.jsx("span",{className:"text-[#B8C1CC] text-sm",children:"© 2026 Smiled AI — All rights reserved."}),n.jsx("span",{className:"text-[#B8C1CC]/60 text-xs",children:"Website hosted on Microsoft Azure"})]}),n.jsxs("div",{className:"flex gap-6",children:[n.jsx(Fn,{to:"/privacy-policy",className:"text-[#B8C1CC] hover:text-[#D6DF23] transition-colors text-sm cursor-pointer",onClick:()=>window.scrollTo(0,0),children:"Privacy Policy"}),n.jsx(Fn,{to:"/terms-of-service",className:"text-[#B8C1CC] hover:text-[#D6DF23] transition-colors text-sm cursor-pointer",onClick:()=>window.scrollTo(0,0),children:"Terms of Service"}),n.jsx(Fn,{to:"/cookie-policy",className:"text-[#B8C1CC] hover:text-[#D6DF23] transition-colors text-sm cursor-pointer",onClick:()=>window.scrollTo(0,0),children:"Cookie Policy"})]})]})})]})}function Ku(){const[e,o]=t.useState(!1);t.useEffect(()=>{localStorage.getItem("cookieConsent")||setTimeout(()=>
31o(!0),500)},[]);return e?n.jsx("div",{style:{position:"fixed",bottom:"24px",right:"24px",width:"400px",maxWidth:"calc(100vw - 48px)",zIndex:99999,pointerEvents:"auto"},children:n.jsxs("div",{style:{position:"relative",background:"linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%)",border:"2px solid #D6DF23",borderRadius:"12px",padding:"20px",boxShadow:"0 0 40px rgba(214, 223, 35, 0.4), 0 20px 50px rgba(0, 0, 0, 0.8)"},children:[n.jsx("button",{onClick:()=>{localStorage.setItem("cookieConsent","declined"),o(!1)},"aria-label":"Close cookie banner",style:{position:"absolute",top:"8px",right:"8px",padding:"6px",color:"white",background:"transparent",border:"none",cursor:"pointer",borderRadius:"4px",transition:"all 0.2s"},onMouseEnter:t=>t.currentTarget.style.color="#D6DF23",onMouseLeave:t=>t.currentTarget.style.color="white",children:n.jsx(v,{size:18})}),n.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"16px",paddingRight:"32px"},children:[n.jsx("div",{style:{flexShrink:0},children:n.jsx("div",{style:{width:"48px",height:"48px",borderRadius:"50%",background:"rgba(214, 223, 35, 0.15)",display:"flex",alignItems:"center",justifyContent:"center"},children:n.jsx(f,{style:{width:"24px",height:"24px",color:"#D6DF23"}})})}),n.jsxs("div",{style:{flex:1},children:[n.jsx("h3",{style:{fontSize:"16px",fontWeight:600,color:"white",marginBottom:"8px",marginTop:0},children:"We use cookies"}),n.jsxs("p",{style:{fontSize:"14px",color:"#B8C1CC",marginBottom:"16px",lineHeight:"1.6",marginTop:0},children:["We only use cookies for analytics to improve your experience."," ",n.jsx(Fn,{to:"/cookie-policy",style:{color:"#D6DF23",textDecoration:"underline",transition:"color 0.2s"},onClick:()=>window.scrollTo(0,0),children:"Learn more"})]}),n.jsx("button",{onClick:()=>{localStorage.setItem("cookieConsent","accepted"),o(!1)},style:{width:"100%",padding:"10px 20px",background:"#D6DF23",color:"#0B0F19",border:"none",borderRadius:"8px",fontSize:"14px",fontWeight:600,cursor:"pointer",transition:"all 0.3s",boxShadow:"0 0 25px rgba(214, 223, 35, 0.4)"},onMouseEnter:t=>{t.currentTarget.style.background="#E5EE55",t.currentTarget.style.boxShadow="0 0 35px rgba(214, 223, 35, 0.6)"},onMouseLeave:t=>{t.currentTarget.style.background="#D6DF23",t.currentTarget.style.boxShadow="0 0 25px rgba(214, 223, 35, 0.4)"},children:"I'm okay"})]})]})]})}):null}const Gu=t.lazy(()=>c(()=>import("./WhyExistsSection-CsVeRQ1V.js"),__vite__mapDeps([0,1,2,3])).then(t=>({default:t.WhyExistsSection}))),Xu=t.lazy(()=>c(()=>import("./PipelineSection-C9QPoGr0.js"),__vite__mapDeps([4,1,2,3])).then(t=>({default:t.PipelineSection}))),Zu=t.lazy(()=>c(()=>import("./UseCasesSection-k8ITmKlU.js"),__vite__mapDeps([5,1,2,6])).then(t=>({default:t.UseCasesSection}))),qu=t.lazy(()=>c(()=>import("./FeaturesSection-CVY1H2Yl.js"),__vite__mapDeps([7,1,2,8,6])).then(t=>({default:t.FeaturesSection}))),Ju=t.lazy(()=>c(()=>import("./IntegrationsSection-C0fSq0fH.js"),__vite__mapDeps([9,1,2])).then(t=>({default:t.IntegrationsSection}))),Qu=t.lazy(()=>c(()=>import("./DemoCTA-D5OqtfIX.js"),__vite__mapDeps([10,1,2])).then(t=>({default:t.DemoCTA}))),th=t.lazy(()=>c(()=>import("./ContactSection-DQF7g67F.js"),__vite__mapDeps([11,1,2,12,8])).then(t=>({default:t.ContactSection}))),eh=t.lazy(()=>c(()=>import("./PricingPage-BoFvGDTy.js"),__vite__mapDeps([13,1,2,12,8])).then(t=>({default:t.PricingPage}))),nh=t.lazy(()=>c(()=>import("./PrivacyPolicy-Dy_lk56W.js"),__vite__mapDeps([14,1,2])).then(t=>({default:t.PrivacyPolicy}))),oh=t.lazy(()=>c(()=>import("./TermsOfService-Czrp5pj8.js"),__vite__mapDeps([15,1,2])).then(t=>({default:t.TermsOfService}))),ih=t.lazy(()=>c(()=>import("./CookiePolicy-CyyS6T0T.js"),__vite__mapDeps([16,1,2])).then(t=>({default:t.CookiePolicy}))),rh=t.lazy(()=>c(()=>import("./DocumentationPage-DfcigzpC.js"),__vite__mapDeps([17,1,2])).then(t=>({default:t.DocumentationPage}))),sh=()=>n.jsx("div",{className:"flex items-center justify-center py-20",children:n.jsx("div",{className:"animate-pulse text-[#D6DF23]",children:"Loading..."})});
31function ah(){const t=Ge();return n.jsxs(n.Fragment,{children:[n.jsx(Yu,{}),n.jsx(Gu,{}),n.jsx(Xu,{}),n.jsx(Zu,{}),n.jsx(qu,{}),n.jsx(Ju,{}),n.jsx(Qu,{onNavigate:()=>t("/contact")}),n.jsx(Hu,{})]})}function lh(){return n.jsxs(n.Fragment,{children:[n.jsx(th,{}),n.jsx(Hu,{})]})}function ch(){const t=Ge();return n.jsxs(n.Fragment,{children:[n.jsx(eh,{onNavigate:()=>t("/contact")}),n.jsx(Hu,{})]})}function uh(){return n.jsxs(n.Fragment,{children:[n.jsx(nh,{}),n.jsx(Hu,{})]})}function hh(){return n.jsxs(n.Fragment,{children:[n.jsx(oh,{}),n.jsx(Hu,{})]})}function dh(){return n.jsxs(n.Fragment,{children:[n.jsx(ih,{}),n.jsx(Hu,{})]})}function ph(){return n.jsxs(n.Fragment,{children:[n.jsx(rh,{}),n.jsx(Hu,{})]})}function mh(){return n.jsxs("div",{className:"min-h-screen bg-[#0B0F19] text-white",children:[n.jsx($n,{}),n.jsx(t.Suspense,{fallback:n.jsx(sh,{}),children:n.jsxs(hn,{children:[n.jsx(cn,{path:"/",element:n.jsx(ah,{})}),n.jsx(cn,{path:"/contact",element:n.jsx(lh,{})}),n.jsx(cn,{path:"/demo",element:n.jsx(ln,{to:"/contact",replace:!0})}),n.jsx(cn,{path:"/pricing",element:n.jsx(ch,{})}),n.jsx(cn,{path:"/privacy-policy",element:n.jsx(uh,{})}),n.jsx(cn,{path:"/terms-of-service",element:n.jsx(hh,{})}),n.jsx(cn,{path:"/cookie-policy",element:n.jsx(dh,{})}),n.jsx(cn,{path:"/documentation",element:n.jsx(ph,{})})]})}),n.jsx(Ku,{})]})}function fh(){return n.jsx(Vn,{children:n.jsx(mh,{})})}a.createRoot(document.getElementById("root")).render(n.jsx(fh,{}));export{Wu as A,Xt as B,y as S,m as c,Bu as m};

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.