From ae24597cad51afd000391d901b929ed1fec43c64 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:19:08 +0000 Subject: [PATCH] deploy: f2ae5abdfc13cad470e18d2bfb461d322244f602 --- .../{index-Bw22S-GI.js => index-CfnpADP9.js} | 18 +++++++++--------- index.html | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) rename assets/{index-Bw22S-GI.js => index-CfnpADP9.js} (83%) diff --git a/assets/index-Bw22S-GI.js b/assets/index-CfnpADP9.js similarity index 83% rename from assets/index-Bw22S-GI.js rename to assets/index-CfnpADP9.js index e136168..39f050d 100644 --- a/assets/index-Bw22S-GI.js +++ b/assets/index-CfnpADP9.js @@ -80,7 +80,7 @@ Error generating stack: `+s.message+` `)},hC=0,Or=[];function mC(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),i=x.useState(hC++)[0],s=x.useState(j1)[0],o=x.useRef(e);x.useEffect(function(){o.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=IE([e.lockRef.current],(e.shards||[]).map(_m),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(g,w){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var p=Vo(g),h=n.current,v="deltaX"in g?g.deltaX:h[0]-p[0],b="deltaY"in g?g.deltaY:h[1]-p[1],E,C=g.target,k=Math.abs(v)>Math.abs(b)?"h":"v";if("touches"in g&&k==="h"&&C.type==="range")return!1;var T=Tm(k,C);if(!T)return!0;if(T?E=k:(E=k==="v"?"h":"v",T=Tm(k,C)),!T)return!1;if(!r.current&&"changedTouches"in g&&(v||b)&&(r.current=E),!E)return!0;var j=r.current||E;return fC(j,w,g,j==="h"?v:b)},[]),l=x.useCallback(function(g){var w=g;if(!(!Or.length||Or[Or.length-1]!==s)){var p="deltaY"in w?Pm(w):Vo(w),h=t.current.filter(function(E){return E.name===w.type&&(E.target===w.target||w.target===E.shadowParent)&&dC(E.delta,p)})[0];if(h&&h.should){w.cancelable&&w.preventDefault();return}if(!h){var v=(o.current.shards||[]).map(_m).filter(Boolean).filter(function(E){return E.contains(w.target)}),b=v.length>0?a(w,v[0]):!o.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=x.useCallback(function(g,w,p,h){var v={name:g,delta:w,target:p,should:h,shadowParent:gC(p)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(b){return b!==v})},1)},[]),c=x.useCallback(function(g){n.current=Vo(g),r.current=void 0},[]),f=x.useCallback(function(g){u(g.type,Pm(g),g.target,a(g,e.lockRef.current))},[]),d=x.useCallback(function(g){u(g.type,Vo(g),g.target,a(g,e.lockRef.current))},[]);x.useEffect(function(){return Or.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Mr),document.addEventListener("touchmove",l,Mr),document.addEventListener("touchstart",c,Mr),function(){Or=Or.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,Mr),document.removeEventListener("touchmove",l,Mr),document.removeEventListener("touchstart",c,Mr)}},[]);var m=e.removeScrollBar,y=e.inert;return x.createElement(x.Fragment,null,y?x.createElement(s,{styles:pC(i)}):null,m?x.createElement(iC,{gapMode:e.gapMode}):null)}function gC(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yC=HE(R1,mC);var I1=x.forwardRef(function(e,t){return x.createElement(Cl,Wt({},e,{ref:t,sideCar:yC}))});I1.classNames=Cl.classNames;function ot(e){return Object.keys(e)}function ju(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Xd(e,t){const n={...e},r=t;return ju(e)&&ju(t)&&Object.keys(t).forEach(i=>{ju(r[i])&&i in e?n[i]=Xd(n[i],r[i]):n[i]=r[i]}),n}function vC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function wC(e){var t;return typeof e!="string"||!e.includes("var(--mantine-scale)")?e:(t=e.match(/^calc\((.*?)\)$/))==null?void 0:t[1].split("*")[0].trim()}function Us(e){const t=wC(e);return typeof t=="number"?t:typeof t=="string"?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?Number(t.replace("rem",""))*16:t.includes("em")?Number(t.replace("em",""))*16:Number(t):NaN}function Mu(e){return e==="0rem"?"0rem":`calc(${e} * var(--mantine-scale))`}function D1(e,{shouldScale:t=!1}={}){function n(r){if(r===0||r==="0")return`0${e}`;if(typeof r=="number"){const i=`${r/16}${e}`;return t?Mu(i):i}if(typeof r=="string"){if(r===""||r.startsWith("calc(")||r.startsWith("clamp(")||r.includes("rgba("))return r;if(r.includes(","))return r.split(",").map(s=>n(s)).join(",");if(r.includes(" "))return r.split(" ").map(s=>n(s)).join(" ");if(r.includes(e))return t?Mu(r):r;const i=r.replace("px","");if(!Number.isNaN(Number(i))){const s=`${Number(i)/16}${e}`;return t?Mu(s):s}}return r}return n}const A=D1("rem",{shouldScale:!0}),Am=D1("em");function ao(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[n]=e[n]),t),{})}function F1(e){if(typeof e=="number")return!0;if(typeof e=="string"){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&e.trim()!=="")return!0;const t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(r=>t.test(r))}return!1}function SC(e){return Array.isArray(e)||e===null?!1:typeof e=="object"?e.type!==x.Fragment:!1}function Qd(e){const t=x.createContext(null);return[({children:i,value:s})=>S.jsx(t.Provider,{value:s,children:i}),()=>{const i=x.useContext(t);if(i===null)throw new Error(e);return i}]}function Zd(e=null){const t=x.createContext(e);return[({children:i,value:s})=>S.jsx(t.Provider,{value:s,children:i}),()=>x.useContext(t)]}const xC={app:100,modal:200,popover:300,overlay:400,max:9999};function Ni(e){return xC[e]}function Wn(e,t="size",n=!0){if(e!==void 0)return F1(e)?n?A(e):e:`var(--${t}-${e})`}function $n(e){return Wn(e,"mantine-spacing")}function lo(e){return e===void 0?"var(--mantine-radius-default)":Wn(e,"mantine-radius")}function hr(e){return Wn(e,"mantine-font-size")}function V1(e){if(e)return Wn(e,"mantine-shadow",!1)}function bC(e,t){return e in t?Us(t[e]):Us(e)}function EC(e,t){const n=e.map(r=>({value:r,px:bC(r,t)}));return n.sort((r,i)=>r.px-i.px),n}function Ha(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function CC(e,t,n){return n===void 0?Math.max(e,t):Math.min(Math.max(e,t),n)}function kC(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}function TC(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function PC(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function _C(e,t,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[r,i]=x.useState(n?t:PC(e)),s=x.useRef(null);return x.useEffect(()=>{if("matchMedia"in window)return s.current=window.matchMedia(e),i(s.current.matches),TC(s.current,o=>i(o.matches))},[e]),r}const uo=typeof document<"u"?x.useLayoutEffect:x.useEffect;function $1(e,t){const n=x.useRef(!1);x.useEffect(()=>()=>{n.current=!1},[]),x.useEffect(()=>{if(n.current)return e();n.current=!0},t)}function AC({opened:e,shouldReturnFocus:t=!0}){const n=x.useRef(null),r=()=>{var i;n.current&&"focus"in n.current&&typeof n.current.focus=="function"&&((i=n.current)==null||i.focus({preventScroll:!0}))};return $1(()=>{let i=-1;const s=o=>{o.key==="Tab"&&window.clearTimeout(i)};return document.addEventListener("keydown",s),e?n.current=document.activeElement:t&&(i=window.setTimeout(r,10)),()=>{window.clearTimeout(i),document.removeEventListener("keydown",s)}},[e,t]),r}const NC=/input|select|textarea|button|object/,B1="a, input, select, textarea, button, object, [tabindex]";function RC(e){return e.style.display==="none"}function jC(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let n=e;for(;n&&!(n===document.body||n.nodeType===11);){if(RC(n))return!1;n=n.parentNode}return!0}function z1(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function nf(e){const t=e.nodeName.toLowerCase(),n=!Number.isNaN(z1(e));return(NC.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&jC(e)}function U1(e){const t=z1(e);return(Number.isNaN(t)||t>=0)&&nf(e)}function MC(e){return Array.from(e.querySelectorAll(B1)).filter(U1)}function OC(e,t){const n=MC(e);if(!n.length){t.preventDefault();return}const r=n[t.shiftKey?0:n.length-1],i=e.getRootNode();let s=r===i.activeElement||e===i.activeElement;const o=i.activeElement;if(o.tagName==="INPUT"&&o.getAttribute("type")==="radio"&&(s=n.filter(c=>c.getAttribute("type")==="radio"&&c.getAttribute("name")===o.getAttribute("name")).includes(r)),!s)return;t.preventDefault();const l=n[t.shiftKey?n.length-1:0];l&&l.focus()}function LC(e=!0){const t=x.useRef(null),n=i=>{let s=i.querySelector("[data-autofocus]");if(!s){const o=Array.from(i.querySelectorAll(B1));s=o.find(U1)||o.find(nf)||null,!s&&nf(i)&&(s=i)}s&&s.focus({preventScroll:!0})},r=x.useCallback(i=>{e&&i!==null&&t.current!==i&&(i?(setTimeout(()=>{i.getRootNode()&&n(i)}),t.current=i):t.current=null)},[e]);return x.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>n(t.current));const i=s=>{s.key==="Tab"&&t.current&&OC(t.current,s)};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[e]),r}const IC=ll.useId||(()=>{});function DC(){const e=IC();return e?`mantine-${e.replace(/:/g,"")}`:""}function W1(e){const t=DC(),[n,r]=x.useState(t);return uo(()=>{r(kC())},[]),typeof e=="string"?e:typeof window>"u"?t:n}function Ws(e,t,n){x.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}function rf(e,t){if(typeof e=="function")return e(t);typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}function FC(...e){const t=new Map;return n=>{if(e.forEach(r=>{const i=rf(r,n);i&&t.set(r,i)}),t.size>0)return()=>{e.forEach(r=>{const i=t.get(r);i?i():rf(r,null)}),t.clear()}}}function VC(...e){return x.useCallback(FC(...e),e)}function H1(e,t){return _C("(prefers-reduced-motion: reduce)",e,t)}const Nm={passive:!0};function $C(){const[e,t]=x.useState({width:0,height:0}),n=x.useCallback(()=>{t({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return Ws("resize",n,Nm),Ws("orientationchange",n,Nm),x.useEffect(n,[]),e}function Ou(){return typeof window<"u"?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function BC({x:e,y:t}){if(typeof window<"u"){const n={behavior:"smooth"};typeof e=="number"&&(n.left=e),typeof t=="number"&&(n.top=t),window.scrollTo(n)}}function zC(){const[e,t]=x.useState({x:0,y:0});return Ws("scroll",()=>t(Ou())),Ws("resize",()=>t(Ou())),x.useEffect(()=>{t(Ou())},[]),[e,BC]}function Rm(e){return/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i.test(e)}function UC(e){return/(iPhone)|(iPad)|(iPod)/i.test(e)}function WC(e){return/(Win32)|(Win64)|(Windows)|(WinCE)/i.test(e)}function HC(e){return/Android/i.test(e)}function qC(e){return/Linux/i.test(e)}function jm(){if(typeof window>"u")return"undetermined";const{userAgent:e}=window.navigator;return UC(e)||Rm(e)&&"ontouchend"in document?"ios":Rm(e)?"macos":WC(e)?"windows":HC(e)?"android":qC(e)?"linux":"undetermined"}function KC(e={getValueInEffect:!0}){const[t,n]=x.useState(e.getValueInEffect?"undetermined":jm());return uo(()=>{e.getValueInEffect&&n(jm)},[]),t}function YC(e=!1,t){const{onOpen:n,onClose:r}={},[i,s]=x.useState(e),o=x.useCallback(()=>{s(u=>u||(n==null||n(),!0))},[n]),a=x.useCallback(()=>{s(u=>u&&(r==null||r(),!1))},[r]),l=x.useCallback(()=>{i?a():o()},[a,o,i]);return[i,{open:o,close:a,toggle:l}]}function q1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{Object.entries(n).forEach(([r,i])=>{t[r]?t[r]=Qt(t[r],i):t[r]=i})}),t}function kl({theme:e,classNames:t,props:n,stylesCtx:r}){const s=(Array.isArray(t)?t:[t]).map(o=>typeof o=="function"?o(e,n,r):o||GC);return XC(s)}function qa({theme:e,styles:t,props:n,stylesCtx:r}){return(Array.isArray(t)?t:[t]).reduce((s,o)=>typeof o=="function"?{...s,...o(e,n,r)}:{...s,...o},{})}const K1=x.createContext(null);function Ar(){const e=x.useContext(K1);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function QC(){return Ar().cssVariablesResolver}function ZC(){return Ar().classNamesPrefix}function Jd(){return Ar().getStyleNonce}function JC(){return Ar().withStaticClasses}function ek(){return Ar().headless}function tk(){var e;return(e=Ar().stylesTransform)==null?void 0:e.sx}function nk(){var e;return(e=Ar().stylesTransform)==null?void 0:e.styles}function rk(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)}function ik(e){let t=e.replace("#","");if(t.length===3){const o=t.split("");t=[o[0],o[0],o[1],o[1],o[2],o[2]].join("")}if(t.length===8){const o=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:o}}const n=parseInt(t,16),r=n>>16&255,i=n>>8&255,s=n&255;return{r,g:i,b:s,a:1}}function sk(e){const[t,n,r,i]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:t,g:n,b:r,a:i||1}}function ok(e){const t=/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i,n=e.match(t);if(!n)return{r:0,g:0,b:0,a:1};const r=parseInt(n[1],10),i=parseInt(n[2],10)/100,s=parseInt(n[3],10)/100,o=n[5]?parseFloat(n[5]):void 0,a=(1-Math.abs(2*s-1))*i,l=r/60,u=a*(1-Math.abs(l%2-1)),c=s-a/2;let f,d,m;return l>=0&&l<1?(f=a,d=u,m=0):l>=1&&l<2?(f=u,d=a,m=0):l>=2&&l<3?(f=0,d=a,m=u):l>=3&&l<4?(f=0,d=u,m=a):l>=4&&l<5?(f=u,d=0,m=a):(f=a,d=0,m=u),{r:Math.round((f+c)*255),g:Math.round((d+c)*255),b:Math.round((m+c)*255),a:o||1}}function ep(e){return rk(e)?ik(e):e.startsWith("rgb")?sk(e):e.startsWith("hsl")?ok(e):{r:0,g:0,b:0,a:1}}function $o(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${t*100}%)`;const{r:n,g:r,b:i,a:s}=ep(e),o=1-t,a=l=>Math.round(l*o);return`rgba(${a(n)}, ${a(r)}, ${a(i)}, ${s})`}function Hs(e,t){return typeof e.primaryShade=="number"?e.primaryShade:t==="dark"?e.primaryShade.dark:e.primaryShade.light}function Lu(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function ak(e){const t=e.match(/oklch\((.*?)%\s/);return t?parseFloat(t[1]):null}function lk(e){if(e.startsWith("oklch("))return(ak(e)||0)/100;const{r:t,g:n,b:r}=ep(e),i=t/255,s=n/255,o=r/255,a=Lu(i),l=Lu(s),u=Lu(o);return .2126*a+.7152*l+.0722*u}function Yi(e,t=.179){return e.startsWith("var(")?!1:lk(e)>t}function co({color:e,theme:t,colorScheme:n}){if(typeof e!="string")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if(e==="bright")return{color:e,value:n==="dark"?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:Yi(n==="dark"?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if(e==="dimmed")return{color:e,value:n==="dark"?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:Yi(n==="dark"?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if(e==="white"||e==="black")return{color:e,value:e==="white"?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:Yi(e==="white"?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};const[r,i]=e.split("."),s=i?Number(i):void 0,o=r in t.colors;if(o){const a=s!==void 0?t.colors[r][s]:t.colors[r][Hs(t,n||"light")];return{color:r,value:a,shade:s,isThemeColor:o,isLight:Yi(a,t.luminanceThreshold),variable:i?`--mantine-color-${r}-${s}`:`--mantine-color-${r}-filled`}}return{color:e,value:e,isThemeColor:o,isLight:Yi(e,t.luminanceThreshold),shade:s,variable:void 0}}function Mm(e,t){const n=co({color:e||t.primaryColor,theme:t});return n.variable?`var(${n.variable})`:e}function Om(e,t){const n={from:(e==null?void 0:e.from)||t.defaultGradient.from,to:(e==null?void 0:e.to)||t.defaultGradient.to,deg:(e==null?void 0:e.deg)||t.defaultGradient.deg||0},r=Mm(n.from,t),i=Mm(n.to,t);return`linear-gradient(${n.deg}deg, ${r} 0%, ${i} 100%)`}function Bt(e,t){if(typeof e!="string"||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var(")){const s=(1-t)*100;return`color-mix(in srgb, ${e}, transparent ${s}%)`}if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);const{r:n,g:r,b:i}=ep(e);return`rgba(${n}, ${r}, ${i}, ${t})`}const Lr=Bt,uk=({color:e,theme:t,variant:n,gradient:r,autoContrast:i})=>{const s=co({color:e,theme:t}),o=typeof i=="boolean"?i:t.autoContrast;if(n==="filled"){const a=o&&s.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return s.isThemeColor?s.shade===void 0?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:a,border:`${A(1)} solid transparent`}:{background:`var(--mantine-color-${s.color}-${s.shade})`,hover:`var(--mantine-color-${s.color}-${s.shade===9?8:s.shade+1})`,color:a,border:`${A(1)} solid transparent`}:{background:e,hover:$o(e,.1),color:a,border:`${A(1)} solid transparent`}}if(n==="light"){if(s.isThemeColor){if(s.shade===void 0)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${A(1)} solid transparent`};const a=t.colors[s.color][s.shade];return{background:Bt(a,.1),hover:Bt(a,.12),color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${A(1)} solid transparent`}}return{background:Bt(e,.1),hover:Bt(e,.12),color:e,border:`${A(1)} solid transparent`}}if(n==="outline")return s.isThemeColor?s.shade===void 0?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${A(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:Bt(t.colors[s.color][s.shade],.05),color:`var(--mantine-color-${s.color}-${s.shade})`,border:`${A(1)} solid var(--mantine-color-${s.color}-${s.shade})`}:{background:"transparent",hover:Bt(e,.05),color:e,border:`${A(1)} solid ${e}`};if(n==="subtle"){if(s.isThemeColor){if(s.shade===void 0)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${A(1)} solid transparent`};const a=t.colors[s.color][s.shade];return{background:"transparent",hover:Bt(a,.12),color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${A(1)} solid transparent`}}return{background:"transparent",hover:Bt(e,.12),color:e,border:`${A(1)} solid transparent`}}return n==="transparent"?s.isThemeColor?s.shade===void 0?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${A(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${A(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${A(1)} solid transparent`}:n==="white"?s.isThemeColor?s.shade===void 0?{background:"var(--mantine-color-white)",hover:$o(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${A(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:$o(t.white,.01),color:`var(--mantine-color-${s.color}-${s.shade})`,border:`${A(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:$o(t.white,.01),color:e,border:`${A(1)} solid transparent`}:n==="gradient"?{background:Om(r,t),hover:Om(r,t),color:"var(--mantine-color-white)",border:"none"}:n==="default"?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${A(1)} solid var(--mantine-color-default-border)`}:{}},ck={dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},Lm="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",tp={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:ck,primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:uk,autoContrast:!1,luminanceThreshold:.3,fontFamily:Lm,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:Lm,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:A(34),lineHeight:"1.3"},h2:{fontSize:A(26),lineHeight:"1.35"},h3:{fontSize:A(22),lineHeight:"1.4"},h4:{fontSize:A(18),lineHeight:"1.45"},h5:{fontSize:A(16),lineHeight:"1.5"},h6:{fontSize:A(14),lineHeight:"1.5"}}},fontSizes:{xs:A(12),sm:A(14),md:A(16),lg:A(18),xl:A(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:A(2),sm:A(4),md:A(8),lg:A(16),xl:A(32)},spacing:{xs:A(10),sm:A(12),md:A(16),lg:A(20),xl:A(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${A(1)} ${A(3)} rgba(0, 0, 0, 0.05), 0 ${A(1)} ${A(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${A(1)} ${A(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${A(10)} ${A(15)} ${A(-5)}, rgba(0, 0, 0, 0.04) 0 ${A(7)} ${A(7)} ${A(-5)}`,md:`0 ${A(1)} ${A(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${A(20)} ${A(25)} ${A(-5)}, rgba(0, 0, 0, 0.04) 0 ${A(10)} ${A(10)} ${A(-5)}`,lg:`0 ${A(1)} ${A(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${A(28)} ${A(23)} ${A(-7)}, rgba(0, 0, 0, 0.04) 0 ${A(12)} ${A(12)} ${A(-7)}`,xl:`0 ${A(1)} ${A(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${A(36)} ${A(28)} ${A(-7)}, rgba(0, 0, 0, 0.04) 0 ${A(17)} ${A(17)} ${A(-7)}`},other:{},components:{}};function Im(e){return e==="auto"||e==="dark"||e==="light"}function fk({key:e="mantine-color-scheme-value"}={}){let t;return{get:n=>{if(typeof window>"u")return n;try{const r=window.localStorage.getItem(e);return Im(r)?r:n}catch{return n}},set:n=>{try{window.localStorage.setItem(e,n)}catch(r){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",r)}},subscribe:n=>{t=r=>{r.storageArea===window.localStorage&&r.key===e&&Im(r.newValue)&&n(r.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}const dk="[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color",Dm="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function Iu(e){return e<0||e>9?!1:parseInt(e.toString(),10)===e}function Fm(e){if(!(e.primaryColor in e.colors))throw new Error(dk);if(typeof e.primaryShade=="object"&&(!Iu(e.primaryShade.dark)||!Iu(e.primaryShade.light)))throw new Error(Dm);if(typeof e.primaryShade=="number"&&!Iu(e.primaryShade))throw new Error(Dm)}function pk(e,t){var r;if(!t)return Fm(e),e;const n=Xd(e,t);return t.fontFamily&&!((r=t.headings)!=null&&r.fontFamily)&&(n.headings.fontFamily=t.fontFamily),Fm(n),n}const np=x.createContext(null),hk=()=>x.useContext(np)||tp;function vn(){const e=x.useContext(np);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function Y1({theme:e,children:t,inherit:n=!0}){const r=hk(),i=x.useMemo(()=>pk(n?r:tp,e),[e,r,n]);return S.jsx(np.Provider,{value:i,children:t})}Y1.displayName="@mantine/core/MantineThemeProvider";function mk(){const e=vn(),t=Jd(),n=ot(e.breakpoints).reduce((r,i)=>{const s=e.breakpoints[i].includes("px"),o=Us(e.breakpoints[i]),a=s?`${o-.1}px`:Am(o-.1),l=s?`${o}px`:Am(o);return`${r}@media (max-width: ${a}) {.mantine-visible-from-${i} {display: none !important;}}@media (min-width: ${l}) {.mantine-hidden-from-${i} {display: none !important;}}`},"");return S.jsx("style",{"data-mantine-styles":"classes",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:n}})}function Du(e){return Object.entries(e).map(([t,n])=>`${t}: ${n};`).join("")}function Gi(e,t){return(Array.isArray(e)?e:[e]).reduce((r,i)=>`${i}{${r}}`,t)}function gk(e,t){const n=Du(e.variables),r=n?Gi(t,n):"",i=Du(e.dark),s=Du(e.light),o=i?Gi(t===":host"?`${t}([data-mantine-color-scheme="dark"])`:`${t}[data-mantine-color-scheme="dark"]`,i):"",a=s?Gi(t===":host"?`${t}([data-mantine-color-scheme="light"])`:`${t}[data-mantine-color-scheme="light"]`,s):"";return`${r}${o}${a}`}function yk({color:e,theme:t,autoContrast:n}){return(typeof n=="boolean"?n:t.autoContrast)&&co({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function Vm(e,t){return yk({color:e.colors[e.primaryColor][Hs(e,t)],theme:e,autoContrast:null})}function Bo({theme:e,color:t,colorScheme:n,name:r=t,withColorValues:i=!0}){if(!e.colors[t])return{};if(n==="light"){const a=Hs(e,"light"),l={[`--mantine-color-${r}-text`]:`var(--mantine-color-${r}-filled)`,[`--mantine-color-${r}-filled`]:`var(--mantine-color-${r}-${a})`,[`--mantine-color-${r}-filled-hover`]:`var(--mantine-color-${r}-${a===9?8:a+1})`,[`--mantine-color-${r}-light`]:Lr(e.colors[t][a],.1),[`--mantine-color-${r}-light-hover`]:Lr(e.colors[t][a],.12),[`--mantine-color-${r}-light-color`]:`var(--mantine-color-${r}-${a})`,[`--mantine-color-${r}-outline`]:`var(--mantine-color-${r}-${a})`,[`--mantine-color-${r}-outline-hover`]:Lr(e.colors[t][a],.05)};return i?{[`--mantine-color-${r}-0`]:e.colors[t][0],[`--mantine-color-${r}-1`]:e.colors[t][1],[`--mantine-color-${r}-2`]:e.colors[t][2],[`--mantine-color-${r}-3`]:e.colors[t][3],[`--mantine-color-${r}-4`]:e.colors[t][4],[`--mantine-color-${r}-5`]:e.colors[t][5],[`--mantine-color-${r}-6`]:e.colors[t][6],[`--mantine-color-${r}-7`]:e.colors[t][7],[`--mantine-color-${r}-8`]:e.colors[t][8],[`--mantine-color-${r}-9`]:e.colors[t][9],...l}:l}const s=Hs(e,"dark"),o={[`--mantine-color-${r}-text`]:`var(--mantine-color-${r}-4)`,[`--mantine-color-${r}-filled`]:`var(--mantine-color-${r}-${s})`,[`--mantine-color-${r}-filled-hover`]:`var(--mantine-color-${r}-${s===9?8:s+1})`,[`--mantine-color-${r}-light`]:Lr(e.colors[t][Math.max(0,s-2)],.15),[`--mantine-color-${r}-light-hover`]:Lr(e.colors[t][Math.max(0,s-2)],.2),[`--mantine-color-${r}-light-color`]:`var(--mantine-color-${r}-${Math.max(s-5,0)})`,[`--mantine-color-${r}-outline`]:`var(--mantine-color-${r}-${Math.max(s-4,0)})`,[`--mantine-color-${r}-outline-hover`]:Lr(e.colors[t][Math.max(s-4,0)],.05)};return i?{[`--mantine-color-${r}-0`]:e.colors[t][0],[`--mantine-color-${r}-1`]:e.colors[t][1],[`--mantine-color-${r}-2`]:e.colors[t][2],[`--mantine-color-${r}-3`]:e.colors[t][3],[`--mantine-color-${r}-4`]:e.colors[t][4],[`--mantine-color-${r}-5`]:e.colors[t][5],[`--mantine-color-${r}-6`]:e.colors[t][6],[`--mantine-color-${r}-7`]:e.colors[t][7],[`--mantine-color-${r}-8`]:e.colors[t][8],[`--mantine-color-${r}-9`]:e.colors[t][9],...o}:o}function vk(e){return!!e&&typeof e=="object"&&"mantine-virtual-color"in e}function Ir(e,t,n){ot(t).forEach(r=>Object.assign(e,{[`--mantine-${n}-${r}`]:t[r]}))}const G1=e=>{const t=Hs(e,"light"),n=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:A(e.defaultRadius),r={variables:{"--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-color-scheme":"light dark","--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":n,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-primary-color-contrast":Vm(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)"},dark:{"--mantine-primary-color-contrast":Vm(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)"}};Ir(r.variables,e.breakpoints,"breakpoint"),Ir(r.variables,e.spacing,"spacing"),Ir(r.variables,e.fontSizes,"font-size"),Ir(r.variables,e.lineHeights,"line-height"),Ir(r.variables,e.shadows,"shadow"),Ir(r.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((s,o)=>{r.variables[`--mantine-primary-color-${o}`]=`var(--mantine-color-${e.primaryColor}-${o})`}),ot(e.colors).forEach(s=>{const o=e.colors[s];if(vk(o)){Object.assign(r.light,Bo({theme:e,name:o.name,color:o.light,colorScheme:"light",withColorValues:!0})),Object.assign(r.dark,Bo({theme:e,name:o.name,color:o.dark,colorScheme:"dark",withColorValues:!0}));return}o.forEach((a,l)=>{r.variables[`--mantine-color-${s}-${l}`]=a}),Object.assign(r.light,Bo({theme:e,color:s,colorScheme:"light",withColorValues:!1})),Object.assign(r.dark,Bo({theme:e,color:s,colorScheme:"dark",withColorValues:!1}))});const i=e.headings.sizes;return ot(i).forEach(s=>{r.variables[`--mantine-${s}-font-size`]=i[s].fontSize,r.variables[`--mantine-${s}-line-height`]=i[s].lineHeight,r.variables[`--mantine-${s}-font-weight`]=i[s].fontWeight||e.headings.fontWeight}),r};function wk({theme:e,generator:t}){const n=G1(e),r=t==null?void 0:t(e);return r?Xd(n,r):n}const Fu=G1(tp);function Sk(e){const t={variables:{},light:{},dark:{}};return ot(e.variables).forEach(n=>{Fu.variables[n]!==e.variables[n]&&(t.variables[n]=e.variables[n])}),ot(e.light).forEach(n=>{Fu.light[n]!==e.light[n]&&(t.light[n]=e.light[n])}),ot(e.dark).forEach(n=>{Fu.dark[n]!==e.dark[n]&&(t.dark[n]=e.dark[n])}),t}function xk(e){return` ${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; } ${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; } -`}function X1({cssVariablesSelector:e,deduplicateCssVariables:t}){const n=vn(),r=Jd(),i=QC(),s=wk({theme:n,generator:i}),o=e===":root"&&t,a=o?Sk(s):s,l=gk(a,e);return l?S.jsx("style",{"data-mantine-styles":!0,nonce:r==null?void 0:r(),dangerouslySetInnerHTML:{__html:`${l}${o?"":xk(e)}`}}):null}X1.displayName="@mantine/CssVariables";function bk(){const e=console.error;console.error=(...t)=>{t.length>1&&typeof t[0]=="string"&&t[0].toLowerCase().includes("extra attributes from the server")&&typeof t[1]=="string"&&t[1].toLowerCase().includes("data-mantine-color-scheme")||e(...t)}}function Dr(e,t){var i,s;const n=typeof window<"u"&&"matchMedia"in window&&((i=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:i.matches),r=e!=="auto"?e:n?"dark":"light";(s=t())==null||s.setAttribute("data-mantine-color-scheme",r)}function Ek({manager:e,defaultColorScheme:t,getRootElement:n,forceColorScheme:r}){const i=x.useRef(null),[s,o]=x.useState(()=>e.get(t)),a=r||s,l=x.useCallback(c=>{r||(Dr(c,n),o(c),e.set(c))},[e.set,a,r]),u=x.useCallback(()=>{o(t),Dr(t,n),e.clear()},[e.clear,t]);return x.useEffect(()=>(e.subscribe(l),e.unsubscribe),[e.subscribe,e.unsubscribe]),uo(()=>{Dr(e.get(t),n)},[]),x.useEffect(()=>{var f;if(r)return Dr(r,n),()=>{};r===void 0&&Dr(s,n),typeof window<"u"&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));const c=d=>{s==="auto"&&Dr(d.matches?"dark":"light",n)};return(f=i.current)==null||f.addEventListener("change",c),()=>{var d;return(d=i.current)==null?void 0:d.removeEventListener("change",c)}},[s,r]),{colorScheme:a,setColorScheme:l,clearColorScheme:u}}function Ck({respectReducedMotion:e,getRootElement:t}){uo(()=>{var n;e&&((n=t())==null||n.setAttribute("data-respect-reduced-motion","true"))},[e])}bk();function Q1({theme:e,children:t,getStyleNonce:n,withStaticClasses:r=!0,withGlobalClasses:i=!0,deduplicateCssVariables:s=!0,withCssVariables:o=!0,cssVariablesSelector:a=":root",classNamesPrefix:l="mantine",colorSchemeManager:u=fk(),defaultColorScheme:c="light",getRootElement:f=()=>document.documentElement,cssVariablesResolver:d,forceColorScheme:m,stylesTransform:y}){const{colorScheme:g,setColorScheme:w,clearColorScheme:p}=Ek({defaultColorScheme:c,forceColorScheme:m,manager:u,getRootElement:f});return Ck({respectReducedMotion:(e==null?void 0:e.respectReducedMotion)||!1,getRootElement:f}),S.jsx(K1.Provider,{value:{colorScheme:g,setColorScheme:w,clearColorScheme:p,getRootElement:f,classNamesPrefix:l,getStyleNonce:n,cssVariablesResolver:d,cssVariablesSelector:a,withStaticClasses:r,stylesTransform:y},children:S.jsxs(Y1,{theme:e,children:[o&&S.jsx(X1,{cssVariablesSelector:a,deduplicateCssVariables:s}),i&&S.jsx(mk,{}),t]})})}Q1.displayName="@mantine/core/MantineProvider";function kk({classNames:e,styles:t,props:n,stylesCtx:r}){const i=vn();return{resolvedClassNames:kl({theme:i,classNames:e,props:n,stylesCtx:r||void 0}),resolvedStyles:qa({theme:i,styles:t,props:n,stylesCtx:r||void 0})}}const Tk={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function Pk({theme:e,options:t,unstyled:n}){return Qt((t==null?void 0:t.focusable)&&!n&&(e.focusClassName||Tk[e.focusRing]),(t==null?void 0:t.active)&&!n&&e.activeClassName)}function _k({selector:e,stylesCtx:t,options:n,props:r,theme:i}){return kl({theme:i,classNames:n==null?void 0:n.classNames,props:(n==null?void 0:n.props)||r,stylesCtx:t})[e]}function $m({selector:e,stylesCtx:t,theme:n,classNames:r,props:i}){return kl({theme:n,classNames:r,props:i,stylesCtx:t})[e]}function Ak({rootSelector:e,selector:t,className:n}){return e===t?n:void 0}function Nk({selector:e,classes:t,unstyled:n}){return n?void 0:t[e]}function Rk({themeName:e,classNamesPrefix:t,selector:n,withStaticClass:r}){return r===!1?[]:e.map(i=>`${t}-${i}-${n}`)}function jk({themeName:e,theme:t,selector:n,props:r,stylesCtx:i}){return e.map(s=>{var o,a;return(a=kl({theme:t,classNames:(o=t.components[s])==null?void 0:o.classNames,props:r,stylesCtx:i}))==null?void 0:a[n]})}function Mk({options:e,classes:t,selector:n,unstyled:r}){return e!=null&&e.variant&&!r?t[`${n}--${e.variant}`]:void 0}function Ok({theme:e,options:t,themeName:n,selector:r,classNamesPrefix:i,classNames:s,classes:o,unstyled:a,className:l,rootSelector:u,props:c,stylesCtx:f,withStaticClasses:d,headless:m,transformedStyles:y}){return Qt(Pk({theme:e,options:t,unstyled:a||m}),jk({theme:e,themeName:n,selector:r,props:c,stylesCtx:f}),Mk({options:t,classes:o,selector:r,unstyled:a}),$m({selector:r,stylesCtx:f,theme:e,classNames:s,props:c}),$m({selector:r,stylesCtx:f,theme:e,classNames:y,props:c}),_k({selector:r,stylesCtx:f,options:t,props:c,theme:e}),Ak({rootSelector:u,selector:r,className:l}),Nk({selector:r,classes:o,unstyled:a||m}),d&&!m&&Rk({themeName:n,classNamesPrefix:i,selector:r,withStaticClass:t==null?void 0:t.withStaticClass}),t==null?void 0:t.className)}function Lk({theme:e,themeName:t,props:n,stylesCtx:r,selector:i}){return t.map(s=>{var o;return qa({theme:e,styles:(o=e.components[s])==null?void 0:o.styles,props:n,stylesCtx:r})[i]}).reduce((s,o)=>({...s,...o}),{})}function sf({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((n,r)=>({...n,...sf({style:r,theme:t})}),{}):typeof e=="function"?e(t):e??{}}function Ik(e){return e.reduce((t,n)=>(n&&Object.keys(n).forEach(r=>{t[r]={...t[r],...ao(n[r])}}),t),{})}function Dk({vars:e,varsResolver:t,theme:n,props:r,stylesCtx:i,selector:s,themeName:o,headless:a}){var l;return(l=Ik([a?{}:t==null?void 0:t(n,r,i),...o.map(u=>{var c,f,d;return(d=(f=(c=n.components)==null?void 0:c[u])==null?void 0:f.vars)==null?void 0:d.call(f,n,r,i)}),e==null?void 0:e(n,r,i)]))==null?void 0:l[s]}function Fk({theme:e,themeName:t,selector:n,options:r,props:i,stylesCtx:s,rootSelector:o,styles:a,style:l,vars:u,varsResolver:c,headless:f,withStylesTransform:d}){return{...!d&&Lk({theme:e,themeName:t,props:i,stylesCtx:s,selector:n}),...!d&&qa({theme:e,styles:a,props:i,stylesCtx:s})[n],...!d&&qa({theme:e,styles:r==null?void 0:r.styles,props:(r==null?void 0:r.props)||i,stylesCtx:s})[n],...Dk({theme:e,props:i,stylesCtx:s,vars:u,varsResolver:c,selector:n,themeName:t,headless:f}),...o===n?sf({style:l,theme:e}):null,...sf({style:r==null?void 0:r.style,theme:e})}}function Vk({props:e,stylesCtx:t,themeName:n}){var o;const r=vn(),i=(o=nk())==null?void 0:o();return{getTransformedStyles:a=>i?[...a.map(u=>i(u,{props:e,theme:r,ctx:t})),...n.map(u=>{var c;return i((c=r.components[u])==null?void 0:c.styles,{props:e,theme:r,ctx:t})})].filter(Boolean):[],withStylesTransform:!!i}}function yt({name:e,classes:t,props:n,stylesCtx:r,className:i,style:s,rootSelector:o="root",unstyled:a,classNames:l,styles:u,vars:c,varsResolver:f}){const d=vn(),m=ZC(),y=JC(),g=ek(),w=(Array.isArray(e)?e:[e]).filter(v=>v),{withStylesTransform:p,getTransformedStyles:h}=Vk({props:n,stylesCtx:r,themeName:w});return(v,b)=>({className:Ok({theme:d,options:b,themeName:w,selector:v,classNamesPrefix:m,classNames:l,classes:t,unstyled:a,className:i,rootSelector:o,props:n,stylesCtx:r,withStaticClasses:y,headless:g,transformedStyles:h([b==null?void 0:b.styles,u])}),style:Fk({theme:d,themeName:w,selector:v,options:b,props:n,stylesCtx:r,rootSelector:o,styles:u,style:s,vars:c,varsResolver:f,headless:g,withStylesTransform:p})})}function le(e,t,n){var o;const r=vn(),i=(o=r.components[e])==null?void 0:o.defaultProps,s=typeof i=="function"?i(r):i;return{...t,...s,...ao(n)}}function Vu(e){return ot(e).reduce((t,n)=>e[n]!==void 0?`${t}${vC(n)}:${e[n]};`:t,"").trim()}function $k({selector:e,styles:t,media:n,container:r}){const i=t?Vu(t):"",s=Array.isArray(n)?n.map(a=>`@media${a.query}{${e}{${Vu(a.styles)}}}`):[],o=Array.isArray(r)?r.map(a=>`@container ${a.query}{${e}{${Vu(a.styles)}}}`):[];return`${i?`${e}{${i}}`:""}${s.join("")}${o.join("")}`.trim()}function rp(e){const t=Jd();return S.jsx("style",{"data-mantine-styles":"inline",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:$k(e)}})}function ip(e){const{m:t,mx:n,my:r,mt:i,mb:s,ml:o,mr:a,me:l,ms:u,p:c,px:f,py:d,pt:m,pb:y,pl:g,pr:w,pe:p,ps:h,bd:v,bg:b,c:E,opacity:C,ff:k,fz:T,fw:j,lts:L,ta:U,lh:te,fs:Y,tt:Q,td:ae,w:Z,miw:K,maw:_,h:I,mih:V,mah:q,bgsz:ee,bgp:ne,bgr:se,bga:O,pos:$,top:D,left:W,bottom:ie,right:M,inset:J,display:ge,flex:he,hiddenFrom:Ne,visibleFrom:Zt,lightHidden:bn,darkHidden:er,sx:Rr,...Fi}=e;return{styleProps:ao({m:t,mx:n,my:r,mt:i,mb:s,ml:o,mr:a,me:l,ms:u,p:c,px:f,py:d,pt:m,pb:y,pl:g,pr:w,pe:p,ps:h,bd:v,bg:b,c:E,opacity:C,ff:k,fz:T,fw:j,lts:L,ta:U,lh:te,fs:Y,tt:Q,td:ae,w:Z,miw:K,maw:_,h:I,mih:V,mah:q,bgsz:ee,bgp:ne,bgr:se,bga:O,pos:$,top:D,left:W,bottom:ie,right:M,inset:J,display:ge,flex:he,hiddenFrom:Ne,visibleFrom:Zt,lightHidden:bn,darkHidden:er,sx:Rr}),rest:Fi}}const Bk={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function sp(e,t){const n=co({color:e,theme:t});return n.color==="dimmed"?"var(--mantine-color-dimmed)":n.color==="bright"?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}function zk(e,t){const n=co({color:e,theme:t});return n.isThemeColor&&n.shade===void 0?`var(--mantine-color-${n.color}-text)`:sp(e,t)}function Uk(e,t){if(typeof e=="number")return A(e);if(typeof e=="string"){const[n,r,...i]=e.split(" ").filter(o=>o.trim()!=="");let s=`${A(n)}`;return r&&(s+=` ${r}`),i.length>0&&(s+=` ${sp(i.join(" "),t)}`),s.trim()}return e}const Bm={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function Wk(e){return typeof e=="string"&&e in Bm?Bm[e]:e}const Hk=["h1","h2","h3","h4","h5","h6"];function qk(e,t){return typeof e=="string"&&e in t.fontSizes?`var(--mantine-font-size-${e})`:typeof e=="string"&&Hk.includes(e)?`var(--mantine-${e}-font-size)`:typeof e=="number"||typeof e=="string"?A(e):e}function Kk(e){return e}const Yk=["h1","h2","h3","h4","h5","h6"];function Gk(e,t){return typeof e=="string"&&e in t.lineHeights?`var(--mantine-line-height-${e})`:typeof e=="string"&&Yk.includes(e)?`var(--mantine-${e}-line-height)`:e}function Xk(e){return typeof e=="number"?A(e):e}function Qk(e,t){if(typeof e=="number")return A(e);if(typeof e=="string"){const n=e.replace("-","");if(!(n in t.spacing))return A(e);const r=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${r}) * -1)`:`var(${r})`}return e}const $u={color:sp,textColor:zk,fontSize:qk,spacing:Qk,identity:Kk,size:Xk,lineHeight:Gk,fontFamily:Wk,border:Uk};function zm(e){return e.replace("(min-width: ","").replace("em)","")}function Zk({media:e,...t}){const r=Object.keys(e).sort((i,s)=>Number(zm(i))-Number(zm(s))).map(i=>({query:i,styles:e[i]}));return{...t,media:r}}function Jk(e){if(typeof e!="object"||e===null)return!1;const t=Object.keys(e);return!(t.length===1&&t[0]==="base")}function eT(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function tT(e){return typeof e=="object"&&e!==null?ot(e).filter(t=>t!=="base"):[]}function nT(e,t){return typeof e=="object"&&e!==null&&t in e?e[t]:e}function rT({styleProps:e,data:t,theme:n}){return Zk(ot(e).reduce((r,i)=>{if(i==="hiddenFrom"||i==="visibleFrom"||i==="sx")return r;const s=t[i],o=Array.isArray(s.property)?s.property:[s.property],a=eT(e[i]);if(!Jk(e[i]))return o.forEach(u=>{r.inlineStyles[u]=$u[s.type](a,n)}),r;r.hasResponsiveStyles=!0;const l=tT(e[i]);return o.forEach(u=>{a&&(r.styles[u]=$u[s.type](a,n)),l.forEach(c=>{const f=`(min-width: ${n.breakpoints[c]})`;r.media[f]={...r.media[f],[u]:$u[s.type](nT(e[i],c),n)}})}),r},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function Z1(){return`__m__-${x.useId().replace(/:/g,"")}`}function J1(e){return e.startsWith("data-")?e:`data-${e}`}function iT(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return r===void 0||r===""||r===!1||r===null||(t[J1(n)]=e[n]),t},{})}function ew(e){return e?typeof e=="string"?{[J1(e)]:!0}:Array.isArray(e)?[...e].reduce((t,n)=>({...t,...ew(n)}),{}):iT(e):null}function of(e,t){return Array.isArray(e)?[...e].reduce((n,r)=>({...n,...of(r,t)}),{}):typeof e=="function"?e(t):e??{}}function sT({theme:e,style:t,vars:n,styleProps:r}){const i=of(t,e),s=of(n,e);return{...i,...s,...r}}const tw=x.forwardRef(({component:e,style:t,__vars:n,className:r,variant:i,mod:s,size:o,hiddenFrom:a,visibleFrom:l,lightHidden:u,darkHidden:c,renderRoot:f,__size:d,...m},y)=>{var T;const g=vn(),w=e||"div",{styleProps:p,rest:h}=ip(m),v=tk(),b=(T=v==null?void 0:v())==null?void 0:T(p.sx),E=Z1(),C=rT({styleProps:p,theme:g,data:Bk}),k={ref:y,style:sT({theme:g,style:t,vars:n,styleProps:C.inlineStyles}),className:Qt(r,b,{[E]:C.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":c,[`mantine-hidden-from-${a}`]:a,[`mantine-visible-from-${l}`]:l}),"data-variant":i,"data-size":F1(o)?void 0:o||void 0,size:d,...ew(s),...h};return S.jsxs(S.Fragment,{children:[C.hasResponsiveStyles&&S.jsx(rp,{selector:`.${E}`,styles:C.styles,media:C.media}),typeof f=="function"?f(k):S.jsx(w,{...k})]})});tw.displayName="@mantine/core/Box";const ze=tw;function nw(e){return e}function Me(e){const t=x.forwardRef(e);return t.extend=nw,t.withProps=n=>{const r=x.forwardRef((i,s)=>S.jsx(t,{...n,...i,ref:s}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}function Ri(e){const t=x.forwardRef(e);return t.withProps=n=>{const r=x.forwardRef((i,s)=>S.jsx(t,{...n,...i,ref:s}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=nw,t}const oT=x.createContext({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function aT(){return x.useContext(oT)}var rw={root:"m_87cf2631"};const lT={__staticSelector:"UnstyledButton"},di=Ri((e,t)=>{const n=le("UnstyledButton",lT,e),{className:r,component:i="button",__staticSelector:s,unstyled:o,classNames:a,styles:l,style:u,...c}=n,f=yt({name:s,props:n,classes:rw,className:r,style:u,classNames:a,styles:l,unstyled:o});return S.jsx(ze,{...f("root",{focusable:!0}),component:i,ref:t,type:i==="button"?"button":void 0,...c})});di.classes=rw;di.displayName="@mantine/core/UnstyledButton";var iw={root:"m_515a97f8"};const uT={},op=Me((e,t)=>{const n=le("VisuallyHidden",uT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,...u}=n,c=yt({name:"VisuallyHidden",classes:iw,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a});return S.jsx(ze,{component:"span",ref:t,...c("root"),...u})});op.classes=iw;op.displayName="@mantine/core/VisuallyHidden";var sw={root:"m_1b7284a3"};const cT={},fT=(e,{radius:t,shadow:n})=>({root:{"--paper-radius":t===void 0?void 0:lo(t),"--paper-shadow":V1(n)}}),ap=Ri((e,t)=>{const n=le("Paper",cT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,withBorder:l,vars:u,radius:c,shadow:f,variant:d,mod:m,...y}=n,g=yt({name:"Paper",props:n,classes:sw,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:u,varsResolver:fT});return S.jsx(ze,{ref:t,mod:[{"data-with-border":l},m],...g("root"),variant:d,...y})});ap.classes=sw;ap.displayName="@mantine/core/Paper";var ow={root:"m_9814e45f"};const dT={zIndex:Ni("modal")},pT=(e,{gradient:t,color:n,backgroundOpacity:r,blur:i,radius:s,zIndex:o})=>({root:{"--overlay-bg":t||(n!==void 0||r!==void 0)&&Bt(n||"#000",r??.6)||void 0,"--overlay-filter":i?`blur(${A(i)})`:void 0,"--overlay-radius":s===void 0?void 0:lo(s),"--overlay-z-index":o==null?void 0:o.toString()}}),lp=Ri((e,t)=>{const n=le("Overlay",dT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,fixed:u,center:c,children:f,radius:d,zIndex:m,gradient:y,blur:g,color:w,backgroundOpacity:p,mod:h,...v}=n,b=yt({name:"Overlay",props:n,classes:ow,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:pT});return S.jsx(ze,{ref:t,...b("root"),mod:[{center:c,fixed:u},h],...v,children:f})});lp.classes=ow;lp.displayName="@mantine/core/Overlay";function hT(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),typeof e.className=="string"&&t.classList.add(...e.className.split(" ").filter(Boolean)),typeof e.style=="object"&&Object.assign(t.style,e.style),typeof e.id=="string"&&t.setAttribute("id",e.id),t}const mT={},aw=x.forwardRef((e,t)=>{const{children:n,target:r,...i}=le("Portal",mT,e),[s,o]=x.useState(!1),a=x.useRef(null);return uo(()=>(o(!0),a.current=r?typeof r=="string"?document.querySelector(r):r:hT(i),rf(t,a.current),!r&&a.current&&document.body.appendChild(a.current),()=>{!r&&a.current&&document.body.removeChild(a.current)}),[r]),!s||!a.current?null:Gd.createPortal(S.jsx(S.Fragment,{children:n}),a.current)});aw.displayName="@mantine/core/Portal";function lw({withinPortal:e=!0,children:t,...n}){return e?S.jsx(aw,{...n,children:t}):S.jsx(S.Fragment,{children:t})}lw.displayName="@mantine/core/OptionalPortal";const Xi=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${e==="bottom"?10:-10}px)`},transitionProperty:"transform, opacity"}),zo={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...Xi("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...Xi("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...Xi("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...Xi("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...Xi("top"),common:{transformOrigin:"top right"}}},Um={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function gT({transition:e,state:t,duration:n,timingFunction:r}){const i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return typeof e=="string"?e in zo?{transitionProperty:zo[e].transitionProperty,...i,...zo[e].common,...zo[e][Um[t]]}:{}:{transitionProperty:e.transitionProperty,...i,...e.common,...e[Um[t]]}}function yT({duration:e,exitDuration:t,timingFunction:n,mounted:r,onEnter:i,onExit:s,onEntered:o,onExited:a,enterDelay:l,exitDelay:u}){const c=vn(),f=H1(),d=c.respectReducedMotion?f:!1,[m,y]=x.useState(d?0:e),[g,w]=x.useState(r?"entered":"exited"),p=x.useRef(-1),h=x.useRef(-1),v=x.useRef(-1),b=C=>{const k=C?i:s,T=C?o:a;window.clearTimeout(p.current);const j=d?0:C?e:t;y(j),j===0?(typeof k=="function"&&k(),typeof T=="function"&&T(),w(C?"entered":"exited")):v.current=requestAnimationFrame(()=>{LE.flushSync(()=>{w(C?"pre-entering":"pre-exiting")}),v.current=requestAnimationFrame(()=>{typeof k=="function"&&k(),w(C?"entering":"exiting"),p.current=window.setTimeout(()=>{typeof T=="function"&&T(),w(C?"entered":"exited")},j)})})},E=C=>{if(window.clearTimeout(h.current),typeof(C?l:u)!="number"){b(C);return}h.current=window.setTimeout(()=>{b(C)},C?l:u)};return $1(()=>{E(r)},[r]),x.useEffect(()=>()=>{window.clearTimeout(p.current),cancelAnimationFrame(v.current)},[]),{transitionDuration:m,transitionStatus:g,transitionTimingFunction:n||"ease"}}function up({keepMounted:e,transition:t="fade",duration:n=250,exitDuration:r=n,mounted:i,children:s,timingFunction:o="ease",onExit:a,onEntered:l,onEnter:u,onExited:c,enterDelay:f,exitDelay:d}){const{transitionDuration:m,transitionStatus:y,transitionTimingFunction:g}=yT({mounted:i,exitDuration:r,duration:n,timingFunction:o,onExit:a,onEntered:l,onEnter:u,onExited:c,enterDelay:f,exitDelay:d});return m===0?i?S.jsx(S.Fragment,{children:s({})}):e?s({display:"none"}):null:y==="exited"?e?s({display:"none"}):null:S.jsx(S.Fragment,{children:s(gT({transition:t,duration:m,state:y,timingFunction:g}))})}up.displayName="@mantine/core/Transition";function cp({children:e,active:t=!0,refProp:n="ref",innerRef:r}){const i=LC(t),s=VC(i,r);return SC(e)?x.cloneElement(e,{[n]:s}):e}function uw(e){return S.jsx(op,{tabIndex:-1,"data-autofocus":!0,...e})}cp.displayName="@mantine/core/FocusTrap";uw.displayName="@mantine/core/FocusTrapInitialFocus";cp.InitialFocus=uw;const cw=x.forwardRef(({size:e="var(--cb-icon-size, 70%)",style:t,...n},r)=>S.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:r,...n,children:S.jsx("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));cw.displayName="@mantine/core/CloseIcon";var fw={root:"m_86a44da5","root--subtle":"m_220c80f2"};const vT={variant:"subtle"},wT=(e,{size:t,radius:n,iconSize:r})=>({root:{"--cb-size":Wn(t,"cb-size"),"--cb-radius":n===void 0?void 0:lo(n),"--cb-icon-size":A(r)}}),Tl=Ri((e,t)=>{const n=le("CloseButton",vT,e),{iconSize:r,children:i,vars:s,radius:o,className:a,classNames:l,style:u,styles:c,unstyled:f,"data-disabled":d,disabled:m,variant:y,icon:g,mod:w,__staticSelector:p,...h}=n,v=yt({name:p||"CloseButton",props:n,className:a,style:u,classes:fw,classNames:l,styles:c,unstyled:f,vars:s,varsResolver:wT});return S.jsxs(di,{ref:t,...h,unstyled:f,variant:y,disabled:m,mod:[{disabled:m||d},w],...v("root",{variant:y,active:!m&&!d}),children:[g||S.jsx(cw,{}),i]})});Tl.classes=fw;Tl.displayName="@mantine/core/CloseButton";const[ST,wn]=Qd("ModalBase component was not found in tree");function xT({opened:e,transitionDuration:t}){const[n,r]=x.useState(e),i=x.useRef(-1),o=H1()?0:t;return x.useEffect(()=>(e?(r(!0),window.clearTimeout(i.current)):o===0?r(!1):i.current=window.setTimeout(()=>r(!1),o),()=>window.clearTimeout(i.current)),[e,o]),n}function bT({id:e,transitionProps:t,opened:n,trapFocus:r,closeOnEscape:i,onClose:s,returnFocus:o}){const a=W1(e),[l,u]=x.useState(!1),[c,f]=x.useState(!1),d=typeof(t==null?void 0:t.duration)=="number"?t==null?void 0:t.duration:200,m=xT({opened:n,transitionDuration:d});return Ws("keydown",y=>{var g;y.key==="Escape"&&i&&n&&((g=y.target)==null?void 0:g.getAttribute("data-mantine-stop-propagation"))!=="true"&&s()},{capture:!0}),AC({opened:n,shouldReturnFocus:r&&o}),{_id:a,titleMounted:l,bodyMounted:c,shouldLockScroll:m,setTitleMounted:u,setBodyMounted:f}}const dw=x.forwardRef(({keepMounted:e,opened:t,onClose:n,id:r,transitionProps:i,onExitTransitionEnd:s,onEnterTransitionEnd:o,trapFocus:a,closeOnEscape:l,returnFocus:u,closeOnClickOutside:c,withinPortal:f,portalProps:d,lockScroll:m,children:y,zIndex:g,shadow:w,padding:p,__vars:h,unstyled:v,removeScrollProps:b,...E},C)=>{const{_id:k,titleMounted:T,bodyMounted:j,shouldLockScroll:L,setTitleMounted:U,setBodyMounted:te}=bT({id:r,transitionProps:i,opened:t,trapFocus:a,closeOnEscape:l,onClose:n,returnFocus:u}),{key:Y,...Q}=b||{};return S.jsx(lw,{...d,withinPortal:f,children:S.jsx(ST,{value:{opened:t,onClose:n,closeOnClickOutside:c,onExitTransitionEnd:s,onEnterTransitionEnd:o,transitionProps:{...i,keepMounted:e},getTitleId:()=>`${k}-title`,getBodyId:()=>`${k}-body`,titleMounted:T,bodyMounted:j,setTitleMounted:U,setBodyMounted:te,trapFocus:a,closeOnEscape:l,zIndex:g,unstyled:v},children:S.jsx(I1,{enabled:L&&m,...Q,children:S.jsx(ze,{ref:C,...E,__vars:{...h,"--mb-z-index":(g||Ni("modal")).toString(),"--mb-shadow":V1(w),"--mb-padding":$n(p)},children:y})},Y)})})});dw.displayName="@mantine/core/ModalBase";function ET(){const e=wn();return x.useEffect(()=>(e.setBodyMounted(!0),()=>e.setBodyMounted(!1)),[]),e.getBodyId()}var xi={title:"m_615af6c9",header:"m_b5489c3c",inner:"m_60c222c7",content:"m_fd1ab0aa",close:"m_606cb269",body:"m_5df29311"};const pw=x.forwardRef(({className:e,...t},n)=>{const r=ET(),i=wn();return S.jsx(ze,{ref:n,...t,id:r,className:Qt({[xi.body]:!i.unstyled},e)})});pw.displayName="@mantine/core/ModalBaseBody";const hw=x.forwardRef(({className:e,onClick:t,...n},r)=>{const i=wn();return S.jsx(Tl,{ref:r,...n,onClick:s=>{i.onClose(),t==null||t(s)},className:Qt({[xi.close]:!i.unstyled},e),unstyled:i.unstyled})});hw.displayName="@mantine/core/ModalBaseCloseButton";const mw=x.forwardRef(({transitionProps:e,className:t,innerProps:n,onKeyDown:r,style:i,...s},o)=>{const a=wn();return S.jsx(up,{mounted:a.opened,transition:"pop",...a.transitionProps,onExited:()=>{var l,u,c;(l=a.onExitTransitionEnd)==null||l.call(a),(c=(u=a.transitionProps)==null?void 0:u.onExited)==null||c.call(u)},onEntered:()=>{var l,u,c;(l=a.onEnterTransitionEnd)==null||l.call(a),(c=(u=a.transitionProps)==null?void 0:u.onEntered)==null||c.call(u)},...e,children:l=>S.jsx("div",{...n,className:Qt({[xi.inner]:!a.unstyled},n.className),children:S.jsx(cp,{active:a.opened&&a.trapFocus,innerRef:o,children:S.jsx(ap,{...s,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":a.bodyMounted?a.getBodyId():void 0,"aria-labelledby":a.titleMounted?a.getTitleId():void 0,style:[i,l],className:Qt({[xi.content]:!a.unstyled},t),unstyled:a.unstyled,children:s.children})})})})});mw.displayName="@mantine/core/ModalBaseContent";const gw=x.forwardRef(({className:e,...t},n)=>{const r=wn();return S.jsx(ze,{component:"header",ref:n,className:Qt({[xi.header]:!r.unstyled},e),...t})});gw.displayName="@mantine/core/ModalBaseHeader";const CT={duration:200,timingFunction:"ease",transition:"fade"};function kT(e){const t=wn();return{...CT,...t.transitionProps,...e}}const yw=x.forwardRef(({onClick:e,transitionProps:t,style:n,visible:r,...i},s)=>{const o=wn(),a=kT(t);return S.jsx(up,{mounted:r!==void 0?r:o.opened,...a,transition:"fade",children:l=>S.jsx(lp,{ref:s,fixed:!0,style:[n,l],zIndex:o.zIndex,unstyled:o.unstyled,onClick:u=>{e==null||e(u),o.closeOnClickOutside&&o.onClose()},...i})})});yw.displayName="@mantine/core/ModalBaseOverlay";function TT(){const e=wn();return x.useEffect(()=>(e.setTitleMounted(!0),()=>e.setTitleMounted(!1)),[]),e.getTitleId()}const vw=x.forwardRef(({className:e,...t},n)=>{const r=TT(),i=wn();return S.jsx(ze,{component:"h2",ref:n,className:Qt({[xi.title]:!i.unstyled},e),...t,id:r})});vw.displayName="@mantine/core/ModalBaseTitle";function PT({children:e}){return S.jsx(S.Fragment,{children:e})}const[_T,AT]=Zd({size:"sm"}),NT={},ww=Me((e,t)=>{const n=le("InputClearButton",NT,e),{size:r,variant:i,vars:s,classNames:o,styles:a,...l}=n,u=AT(),{resolvedClassNames:c,resolvedStyles:f}=kk({classNames:o,styles:a,props:n});return S.jsx(Tl,{variant:i||"transparent",ref:t,size:r||(u==null?void 0:u.size)||"sm",classNames:c,styles:f,__staticSelector:"InputClearButton",...l})});ww.displayName="@mantine/core/InputClearButton";const[RT,Pl]=Zd({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var _t={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const Wm={},jT=(e,{size:t})=>({description:{"--input-description-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),_l=Me((e,t)=>{const n=le("InputDescription",Wm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,__staticSelector:c,__inheritStyles:f=!0,variant:d,...m}=le("InputDescription",Wm,n),y=Pl(),g=yt({name:["InputWrapper",c],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"description",vars:l,varsResolver:jT}),w=f&&(y==null?void 0:y.getStyles)||g;return S.jsx(ze,{component:"p",ref:t,variant:d,size:u,...w("description",y!=null&&y.getStyles?{className:i,style:s}:void 0),...m})});_l.classes=_t;_l.displayName="@mantine/core/InputDescription";const MT={},OT=(e,{size:t})=>({error:{"--input-error-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),Al=Me((e,t)=>{const n=le("InputError",MT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,__staticSelector:c,__inheritStyles:f=!0,variant:d,...m}=n,y=yt({name:["InputWrapper",c],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"error",vars:l,varsResolver:OT}),g=Pl(),w=f&&(g==null?void 0:g.getStyles)||y;return S.jsx(ze,{component:"p",ref:t,variant:d,size:u,...w("error",g!=null&&g.getStyles?{className:i,style:s}:void 0),...m})});Al.classes=_t;Al.displayName="@mantine/core/InputError";const Hm={labelElement:"label"},LT=(e,{size:t})=>({label:{"--input-label-size":hr(t),"--input-asterisk-color":void 0}}),Nl=Me((e,t)=>{const n=le("InputLabel",Hm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,labelElement:u,size:c,required:f,htmlFor:d,onMouseDown:m,children:y,__staticSelector:g,variant:w,mod:p,...h}=le("InputLabel",Hm,n),v=yt({name:["InputWrapper",g],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"label",vars:l,varsResolver:LT}),b=Pl(),E=(b==null?void 0:b.getStyles)||v;return S.jsxs(ze,{...E("label",b!=null&&b.getStyles?{className:i,style:s}:void 0),component:u,variant:w,size:c,ref:t,htmlFor:u==="label"?d:void 0,mod:[{required:f},p],onMouseDown:C=>{m==null||m(C),!C.defaultPrevented&&C.detail>1&&C.preventDefault()},...h,children:[y,f&&S.jsx("span",{...E("required"),"aria-hidden":!0,children:" *"})]})});Nl.classes=_t;Nl.displayName="@mantine/core/InputLabel";const qm={},fp=Me((e,t)=>{const n=le("InputPlaceholder",qm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,__staticSelector:u,variant:c,error:f,mod:d,...m}=le("InputPlaceholder",qm,n),y=yt({name:["InputPlaceholder",u],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"placeholder"});return S.jsx(ze,{...y("placeholder"),mod:[{error:!!f},d],component:"span",variant:c,ref:t,...m})});fp.classes=_t;fp.displayName="@mantine/core/InputPlaceholder";function IT(e,{hasDescription:t,hasError:n}){const r=e.findIndex(l=>l==="input"),i=e.slice(0,r),s=e.slice(r+1),o=t&&i.includes("description")||n&&i.includes("error");return{offsetBottom:t&&s.includes("description")||n&&s.includes("error"),offsetTop:o}}const DT={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},FT=(e,{size:t})=>({label:{"--input-label-size":hr(t),"--input-asterisk-color":void 0},error:{"--input-error-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`},description:{"--input-description-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),dp=Me((e,t)=>{const n=le("InputWrapper",DT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,variant:c,__staticSelector:f,inputContainer:d,inputWrapperOrder:m,label:y,error:g,description:w,labelProps:p,descriptionProps:h,errorProps:v,labelElement:b,children:E,withAsterisk:C,id:k,required:T,__stylesApiProps:j,mod:L,...U}=n,te=yt({name:["InputWrapper",f],props:j||n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:FT}),Y={size:u,variant:c,__staticSelector:f},Q=W1(k),ae=typeof C=="boolean"?C:T,Z=(v==null?void 0:v.id)||`${Q}-error`,K=(h==null?void 0:h.id)||`${Q}-description`,_=Q,I=!!g&&typeof g!="boolean",V=!!w,q=`${I?Z:""} ${V?K:""}`,ee=q.trim().length>0?q.trim():void 0,ne=(p==null?void 0:p.id)||`${Q}-label`,se=y&&S.jsx(Nl,{labelElement:b,id:ne,htmlFor:_,required:ae,...Y,...p,children:y},"label"),O=V&&S.jsx(_l,{...h,...Y,size:(h==null?void 0:h.size)||Y.size,id:(h==null?void 0:h.id)||K,children:w},"description"),$=S.jsx(x.Fragment,{children:d(E)},"input"),D=I&&x.createElement(Al,{...v,...Y,size:(v==null?void 0:v.size)||Y.size,key:"error",id:(v==null?void 0:v.id)||Z},g),W=m.map(ie=>{switch(ie){case"label":return se;case"input":return $;case"description":return O;case"error":return D;default:return null}});return S.jsx(RT,{value:{getStyles:te,describedBy:ee,inputId:_,labelId:ne,...IT(m,{hasDescription:V,hasError:I})},children:S.jsx(ze,{ref:t,variant:c,size:u,mod:[{error:!!g},L],...te("root"),...U,children:W})})});dp.classes=_t;dp.displayName="@mantine/core/InputWrapper";const VT={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},$T=(e,t,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":Wn(t.size,"input-height"),"--input-fz":hr(t.size),"--input-radius":t.radius===void 0?void 0:lo(t.radius),"--input-left-section-width":t.leftSectionWidth!==void 0?A(t.leftSectionWidth):void 0,"--input-right-section-width":t.rightSectionWidth!==void 0?A(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?Wn(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}}),Pt=Ri((e,t)=>{const n=le("Input",VT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,required:l,__staticSelector:u,__stylesApiProps:c,size:f,wrapperProps:d,error:m,disabled:y,leftSection:g,leftSectionProps:w,leftSectionWidth:p,rightSection:h,rightSectionProps:v,rightSectionWidth:b,rightSectionPointerEvents:E,leftSectionPointerEvents:C,variant:k,vars:T,pointer:j,multiline:L,radius:U,id:te,withAria:Y,withErrorStyles:Q,mod:ae,inputSize:Z,__clearSection:K,__clearable:_,__defaultRightSection:I,...V}=n,{styleProps:q,rest:ee}=ip(V),ne=Pl(),se={offsetBottom:ne==null?void 0:ne.offsetBottom,offsetTop:ne==null?void 0:ne.offsetTop},O=yt({name:["Input",u],props:c||n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,stylesCtx:se,rootSelector:"wrapper",vars:T,varsResolver:$T}),$=Y?{required:l,disabled:y,"aria-invalid":!!m,"aria-describedby":ne==null?void 0:ne.describedBy,id:(ne==null?void 0:ne.inputId)||te}:{},D=h||_&&K||I;return S.jsx(_T,{value:{size:f||"sm"},children:S.jsxs(ze,{...O("wrapper"),...q,...d,mod:[{error:!!m&&Q,pointer:j,disabled:y,multiline:L,"data-with-right-section":!!h,"data-with-left-section":!!g},ae],variant:k,size:f,children:[g&&S.jsx("div",{...w,"data-position":"left",...O("section",{className:w==null?void 0:w.className,style:w==null?void 0:w.style}),children:g}),S.jsx(ze,{component:"input",...ee,...$,ref:t,required:l,mod:{disabled:y,error:!!m&&Q},variant:k,__size:Z,...O("input")}),D&&S.jsx("div",{...v,"data-position":"right",...O("section",{className:v==null?void 0:v.className,style:v==null?void 0:v.style}),children:D})]})})});Pt.classes=_t;Pt.Wrapper=dp;Pt.Label=Nl;Pt.Error=Al;Pt.Description=_l;Pt.Placeholder=fp;Pt.ClearButton=ww;Pt.displayName="@mantine/core/Input";function BT(e,t,n){const r=le(e,t,n),{label:i,description:s,error:o,required:a,classNames:l,styles:u,className:c,unstyled:f,__staticSelector:d,__stylesApiProps:m,errorProps:y,labelProps:g,descriptionProps:w,wrapperProps:p,id:h,size:v,style:b,inputContainer:E,inputWrapperOrder:C,withAsterisk:k,variant:T,vars:j,mod:L,...U}=r,{styleProps:te,rest:Y}=ip(U),Q={label:i,description:s,error:o,required:a,classNames:l,className:c,__staticSelector:d,__stylesApiProps:m||r,errorProps:y,labelProps:g,descriptionProps:w,unstyled:f,styles:u,size:v,style:b,inputContainer:E,inputWrapperOrder:C,withAsterisk:k,variant:T,id:h,mod:L,...p};return{...Y,classNames:l,styles:u,unstyled:f,wrapperProps:{...Q,...te},inputProps:{required:a,classNames:l,styles:u,unstyled:f,size:v,__staticSelector:d,__stylesApiProps:m||r,error:o,variant:T,id:h}}}const zT={__staticSelector:"InputBase",withAria:!0},Rl=Ri((e,t)=>{const{inputProps:n,wrapperProps:r,...i}=BT("InputBase",zT,e);return S.jsx(Pt.Wrapper,{...r,children:S.jsx(Pt,{...n,...i,ref:t})})});Rl.classes={...Pt.classes,...Pt.Wrapper.classes};Rl.displayName="@mantine/core/InputBase";function af({style:e,size:t=16,...n}){return S.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...e,width:A(t),height:A(t),display:"block"},...n,children:S.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}af.displayName="@mantine/core/AccordionChevron";const[UT,ji]=Qd("Modal component was not found in tree");var Sn={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};const WT={},jl=Me((e,t)=>{const n=le("ModalBody",WT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(pw,{ref:t,...u.getStyles("body",{classNames:r,style:s,styles:o,className:i}),...l})});jl.classes=Sn;jl.displayName="@mantine/core/ModalBody";const HT={},Ml=Me((e,t)=>{const n=le("ModalCloseButton",HT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(hw,{ref:t,...u.getStyles("close",{classNames:r,style:s,styles:o,className:i}),...l})});Ml.classes=Sn;Ml.displayName="@mantine/core/ModalCloseButton";const qT={},Ol=Me((e,t)=>{const n=le("ModalContent",qT,e),{classNames:r,className:i,style:s,styles:o,vars:a,children:l,__hidden:u,...c}=n,f=ji(),d=f.scrollAreaComponent||PT;return S.jsx(mw,{...f.getStyles("content",{className:i,style:s,styles:o,classNames:r}),innerProps:f.getStyles("inner",{className:i,style:s,styles:o,classNames:r}),"data-full-screen":f.fullScreen||void 0,"data-modal-content":!0,"data-hidden":u||void 0,ref:t,...c,children:S.jsx(d,{style:{maxHeight:f.fullScreen?"100dvh":`calc(100dvh - (${A(f.yOffset)} * 2))`},children:l})})});Ol.classes=Sn;Ol.displayName="@mantine/core/ModalContent";const KT={},Ll=Me((e,t)=>{const n=le("ModalHeader",KT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(gw,{ref:t,...u.getStyles("header",{classNames:r,style:s,styles:o,className:i}),...l})});Ll.classes=Sn;Ll.displayName="@mantine/core/ModalHeader";const YT={},Il=Me((e,t)=>{const n=le("ModalOverlay",YT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(yw,{ref:t,...u.getStyles("overlay",{classNames:r,style:s,styles:o,className:i}),...l})});Il.classes=Sn;Il.displayName="@mantine/core/ModalOverlay";const GT={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Ni("modal"),transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},XT=(e,{radius:t,size:n,yOffset:r,xOffset:i})=>({root:{"--modal-radius":t===void 0?void 0:lo(t),"--modal-size":Wn(n,"modal-size"),"--modal-y-offset":A(r),"--modal-x-offset":A(i)}}),Dl=Me((e,t)=>{const n=le("ModalRoot",GT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,yOffset:u,scrollAreaComponent:c,radius:f,fullScreen:d,centered:m,xOffset:y,__staticSelector:g,...w}=n,p=yt({name:g,classes:Sn,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:XT});return S.jsx(UT,{value:{yOffset:u,scrollAreaComponent:c,getStyles:p,fullScreen:d},children:S.jsx(dw,{ref:t,...p("root"),"data-full-screen":d||void 0,"data-centered":m||void 0,unstyled:a,...w})})});Dl.classes=Sn;Dl.displayName="@mantine/core/ModalRoot";const[QT,ZT]=Zd();function Sw({children:e}){const[t,n]=x.useState([]),[r,i]=x.useState(Ni("modal"));return S.jsx(QT,{value:{stack:t,addModal:(s,o)=>{n(a=>[...new Set([...a,s])]),i(a=>typeof o=="number"&&typeof a=="number"?Math.max(a,o):a)},removeModal:s=>n(o=>o.filter(a=>a!==s)),getZIndex:s=>`calc(${r} + ${t.indexOf(s)} + 1)`,currentId:t[t.length-1],maxZIndex:r},children:e})}Sw.displayName="@mantine/core/ModalStack";const JT={},Fl=Me((e,t)=>{const n=le("ModalTitle",JT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(vw,{ref:t,...u.getStyles("title",{classNames:r,style:s,styles:o,className:i}),...l})});Fl.classes=Sn;Fl.displayName="@mantine/core/ModalTitle";const eP={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Ni("modal"),transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},Fe=Me((e,t)=>{const{title:n,withOverlay:r,overlayProps:i,withCloseButton:s,closeButtonProps:o,children:a,radius:l,opened:u,stackId:c,zIndex:f,...d}=le("Modal",eP,e),m=ZT(),y=!!n||s,g=m&&c?{closeOnEscape:m.currentId===c,trapFocus:m.currentId===c,zIndex:m.getZIndex(c)}:{},w=r===!1?!1:c&&m?m.currentId===c:u;return x.useEffect(()=>{m&&c&&(u?m.addModal(c,f||Ni("modal")):m.removeModal(c))},[u,c,f]),S.jsxs(Dl,{ref:t,radius:l,opened:u,zIndex:m&&c?m.getZIndex(c):f,...d,...g,children:[r&&S.jsx(Il,{visible:w,transitionProps:m&&c?{duration:0}:void 0,...i}),S.jsxs(Ol,{radius:l,__hidden:m&&c&&u?c!==m.currentId:!1,children:[y&&S.jsxs(Ll,{children:[n&&S.jsx(Fl,{children:n}),s&&S.jsx(Ml,{...o})]}),S.jsx(jl,{children:a})]})]})});Fe.classes=Sn;Fe.displayName="@mantine/core/Modal";Fe.Root=Dl;Fe.Overlay=Il;Fe.Content=Ol;Fe.Body=jl;Fe.Header=Ll;Fe.Title=Fl;Fe.CloseButton=Ml;Fe.Stack=Sw;const tP={},vs=Me((e,t)=>{const n=le("TextInput",tP,e);return S.jsx(Rl,{component:"input",ref:t,...n,__staticSelector:"TextInput"})});vs.classes=Rl.classes;vs.displayName="@mantine/core/TextInput";const nP="/assets/website-logo-BW3MCZ3l.svg",Km="/assets/cloud_a-BYRBgBfe.svg",Ym="/assets/cloud_b-Dm1AxUKP.svg",xw="/assets/balloon-BtL5O-K4.svg";function rP(e){if(!/^[0-9a-zA-Z-]+$/.test(e))throw new Error(`[@mantine/use-form] Form name "${e}" is invalid, it should contain only letters, numbers and dashes`)}const iP=typeof window<"u"?x.useLayoutEffect:x.useEffect;function Le(e,t){iP(()=>{if(e)return window.addEventListener(e,t),()=>window.removeEventListener(e,t)},[e])}function sP(e,t){e&&rP(e),Le(`mantine-form:${e}:set-field-value`,n=>t.setFieldValue(n.detail.path,n.detail.value)),Le(`mantine-form:${e}:set-values`,n=>t.setValues(n.detail)),Le(`mantine-form:${e}:set-initial-values`,n=>t.setInitialValues(n.detail)),Le(`mantine-form:${e}:set-errors`,n=>t.setErrors(n.detail)),Le(`mantine-form:${e}:set-field-error`,n=>t.setFieldError(n.detail.path,n.detail.error)),Le(`mantine-form:${e}:clear-field-error`,n=>t.clearFieldError(n.detail)),Le(`mantine-form:${e}:clear-errors`,t.clearErrors),Le(`mantine-form:${e}:reset`,t.reset),Le(`mantine-form:${e}:validate`,t.validate),Le(`mantine-form:${e}:validate-field`,n=>t.validateField(n.detail)),Le(`mantine-form:${e}:reorder-list-item`,n=>t.reorderListItem(n.detail.path,n.detail.payload)),Le(`mantine-form:${e}:remove-list-item`,n=>t.removeListItem(n.detail.path,n.detail.index)),Le(`mantine-form:${e}:insert-list-item`,n=>t.insertListItem(n.detail.path,n.detail.item,n.detail.index)),Le(`mantine-form:${e}:set-dirty`,n=>t.setDirty(n.detail)),Le(`mantine-form:${e}:set-touched`,n=>t.setTouched(n.detail)),Le(`mantine-form:${e}:reset-dirty`,n=>t.resetDirty(n.detail)),Le(`mantine-form:${e}:reset-touched`,t.resetTouched)}function oP(e){return t=>{if(!t)e(t);else if(typeof t=="function")e(t);else if(typeof t=="object"&&"nativeEvent"in t){const{currentTarget:n}=t;n instanceof HTMLInputElement?n.type==="checkbox"?e(n.checked):e(n.value):(n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&e(n.value)}else e(t)}}function lf(e){return e===null||typeof e!="object"?{}:Object.keys(e).reduce((t,n)=>{const r=e[n];return r!=null&&r!==!1&&(t[n]=r),t},{})}function aP(e){const[t,n]=x.useState(lf(e)),r=x.useRef(t),i=x.useCallback(l=>{n(u=>{const c=lf(typeof l=="function"?l(u):l);return r.current=c,c})},[]),s=x.useCallback(()=>i({}),[]),o=x.useCallback(l=>{r.current[l]!==void 0&&i(u=>{const c={...u};return delete c[l],c})},[t]),a=x.useCallback((l,u)=>{u==null||u===!1?o(l):r.current[l]!==u&&i(c=>({...c,[l]:u}))},[t]);return{errorsState:t,setErrors:i,clearErrors:s,setFieldError:a,clearFieldError:o}}function uf(e,t){if(t===null||typeof t!="object")return{};const n={...t};return Object.keys(t).forEach(r=>{r.includes(`${String(e)}.`)&&delete n[r]}),n}function Gm(e,t){const n=e.substring(t.length+1).split(".")[0];return parseInt(n,10)}function Xm(e,t,n,r){if(t===void 0)return n;const i=`${String(e)}`;let s=n;r===-1&&(s=uf(`${i}.${t}`,s));const o={...s},a=new Set;return Object.entries(s).filter(([l])=>{if(!l.startsWith(`${i}.`))return!1;const u=Gm(l,i);return Number.isNaN(u)?!1:u>=t}).forEach(([l,u])=>{const c=Gm(l,i),f=l.replace(`${i}.${c}`,`${i}.${c+r}`);o[f]=u,a.add(f),a.has(l)||delete o[l]}),o}function lP(e,{from:t,to:n},r){const i=`${e}.${t}`,s=`${e}.${n}`,o={...r};return Object.keys(r).every(a=>{let l,u;if(a.startsWith(i)&&(l=a,u=a.replace(i,s)),a.startsWith(s)&&(l=a.replace(s,i),u=a),l&&u){const c=o[l],f=o[u];return f===void 0?delete o[l]:o[l]=f,c===void 0?delete o[u]:o[u]=c,!1}return!0}),o}function Qm(e,t,n){typeof n.value=="object"&&(n.value=Qr(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Qr(e){if(typeof e!="object")return e;var t=0,n,r,i,s=Object.prototype.toString.call(e);if(s==="[object Object]"?i=Object.create(e.__proto__||null):s==="[object Array]"?i=Array(e.length):s==="[object Set]"?(i=new Set,e.forEach(function(o){i.add(Qr(o))})):s==="[object Map]"?(i=new Map,e.forEach(function(o,a){i.set(Qr(a),Qr(o))})):s==="[object Date]"?i=new Date(+e):s==="[object RegExp]"?i=new RegExp(e.source,e.flags):s==="[object DataView]"?i=new e.constructor(Qr(e.buffer)):s==="[object ArrayBuffer]"?i=e.slice(0):s.slice(-6)==="Array]"&&(i=new e.constructor(e)),i){for(r=Object.getOwnPropertySymbols(e);ts!==t),n):n}function dP(e,t,n,r){const i=Ve(e,r);if(!Array.isArray(i)||i.length<=n)return r;const s=[...i];return s[n]=t,fo(e,s,r)}function pP({$values:e,$errors:t,$status:n}){const r=x.useCallback((a,l)=>{n.clearFieldDirty(a),t.setErrors(u=>lP(a,l,u)),e.setValues({values:uP(a,l,e.refValues.current),updateState:!0})},[]),i=x.useCallback((a,l)=>{n.clearFieldDirty(a),t.setErrors(u=>Xm(a,l,u,-1)),e.setValues({values:fP(a,l,e.refValues.current),updateState:!0})},[]),s=x.useCallback((a,l,u)=>{n.clearFieldDirty(a),t.setErrors(c=>Xm(a,u,c,1)),e.setValues({values:cP(a,l,u,e.refValues.current),updateState:!0})},[]),o=x.useCallback((a,l,u)=>{n.clearFieldDirty(a),e.setValues({values:dP(a,u,l,e.refValues.current),updateState:!0})},[]);return{reorderListItem:r,removeListItem:i,insertListItem:s,replaceListItem:o}}var hP=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=r;i--!==0;){var o=s[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n};const Uo=ol(hP);function Qi(e,t){const n=Object.keys(e);if(typeof t=="string"){const r=n.filter(i=>i.startsWith(`${t}.`));return e[t]||r.some(i=>e[i])||!1}return n.some(r=>e[r])}function mP({initialDirty:e,initialTouched:t,mode:n,$values:r}){const[i,s]=x.useState(t),[o,a]=x.useState(e),l=x.useRef(t),u=x.useRef(e),c=x.useCallback(C=>{const k=typeof C=="function"?C(l.current):C;l.current=k,n==="controlled"&&s(k)},[]),f=x.useCallback((C,k=!1)=>{const T=typeof C=="function"?C(u.current):C;u.current=T,(n==="controlled"||k)&&a(T)},[]),d=x.useCallback(()=>c({}),[]),m=x.useCallback(C=>{const k=C?{...r.refValues.current,...C}:r.refValues.current;r.setValuesSnapshot(k),f({})},[]),y=x.useCallback((C,k)=>{c(T=>Qi(T,C)===k?T:{...T,[C]:k})},[]),g=x.useCallback((C,k,T)=>{f(j=>Qi(j,C)===k?j:{...j,[C]:k},T)},[]),w=x.useCallback((C,k)=>{const T=Qi(u.current,C),j=!Uo(Ve(C,r.getValuesSnapshot()),k),L=uf(C,u.current);L[C]=j,f(L,T!==j)},[]),p=x.useCallback(C=>Qi(l.current,C),[]),h=x.useCallback(C=>f(k=>{if(typeof C!="string")return k;const T=uf(C,k);return delete T[C],Uo(T,k)?k:T}),[]),v=x.useCallback(C=>{if(C){const T=Ve(C,u.current);if(typeof T=="boolean")return T;const j=Ve(C,r.refValues.current),L=Ve(C,r.valuesSnapshot.current);return!Uo(j,L)}return Object.keys(u.current).length>0?Qi(u.current):!Uo(r.refValues.current,r.valuesSnapshot.current)},[]),b=x.useCallback(()=>u.current,[]),E=x.useCallback(()=>l.current,[]);return{touchedState:i,dirtyState:o,touchedRef:l,dirtyRef:u,setTouched:c,setDirty:f,resetDirty:m,resetTouched:d,isTouched:p,setFieldTouched:y,setFieldDirty:g,setTouchedState:s,setDirtyState:a,clearFieldDirty:h,isDirty:v,getDirty:b,getTouched:E,setCalculatedFieldDirty:w}}function gP({initialValues:e,onValuesChange:t,mode:n}){const r=x.useRef(!1),[i,s]=x.useState(e||{}),o=x.useRef(i),a=x.useRef(i),l=x.useCallback(({values:g,subscribers:w,updateState:p=!0,mergeWithPreviousValues:h=!0})=>{const v=o.current,b=g instanceof Function?g(o.current):g,E=h?{...v,...b}:b;o.current=E,p&&s(E),t==null||t(E,v),w==null||w.filter(Boolean).forEach(C=>C({updatedValues:E,previousValues:v}))},[t]),u=x.useCallback(g=>{var h;const w=Ve(g.path,o.current),p=g.value instanceof Function?g.value(w):g.value;if(w!==p){const v=o.current,b=fo(g.path,p,o.current);l({values:b,updateState:g.updateState}),(h=g.subscribers)==null||h.filter(Boolean).forEach(E=>E({path:g.path,updatedValues:b,previousValues:v}))}},[l]),c=x.useCallback(g=>{a.current=g},[]),f=x.useCallback((g,w)=>{r.current||(r.current=!0,l({values:g,updateState:n==="controlled"}),c(g),w())},[l]),d=x.useCallback(()=>{l({values:a.current,updateState:!0,mergeWithPreviousValues:!1})},[l]),m=x.useCallback(()=>o.current,[]),y=x.useCallback(()=>a.current,[]);return{initialized:r,stateValues:i,refValues:o,valuesSnapshot:a,setValues:l,setFieldValue:u,resetValues:d,setValuesSnapshot:c,initialize:f,getValues:m,getValuesSnapshot:y}}function yP({$status:e}){const t=x.useRef({}),n=x.useCallback((i,s)=>{x.useEffect(()=>(t.current[i]=t.current[i]||[],t.current[i].push(s),()=>{t.current[i]=t.current[i].filter(o=>o!==s)}),[s])},[]),r=x.useCallback(i=>t.current[i]?t.current[i].map(s=>o=>s({previousValue:Ve(i,o.previousValues),value:Ve(i,o.updatedValues),touched:e.isTouched(i),dirty:e.isDirty(i)})):[],[]);return{subscribers:t,watch:n,getFieldSubscribers:r}}function Zm(e,t){return e?`${e}-${t.toString()}`:t.toString()}function Jm(e){const t=lf(e);return{hasErrors:Object.keys(t).length>0,errors:t}}function cf(e,t,n="",r={}){return typeof e!="object"||e===null?r:Object.keys(e).reduce((i,s)=>{const o=e[s],a=`${n===""?"":`${n}.`}${s}`,l=Ve(a,t);let u=!1;return typeof o=="function"&&(i[a]=o(l,t,a)),typeof o=="object"&&Array.isArray(l)&&(u=!0,l.forEach((c,f)=>cf(o,t,`${a}.${f}`,i))),typeof o=="object"&&typeof l=="object"&&l!==null&&(u||cf(o,t,a,i)),i},r)}function ff(e,t){return Jm(typeof e=="function"?e(t):cf(e,t))}function Wo(e,t,n){if(typeof e!="string")return{hasError:!1,error:null};const r=ff(t,n),i=Object.keys(r.errors).find(s=>e.split(".").every((o,a)=>o===s.split(".")[a]));return{hasError:!!i,error:i?r.errors[i]:null}}const vP="__MANTINE_FORM_INDEX__";function eg(e,t){return t?typeof t=="boolean"?t:Array.isArray(t)?t.includes(e.replace(/[.][0-9]+/g,`.${vP}`)):!1:!1}function wP({name:e,mode:t="controlled",initialValues:n,initialErrors:r={},initialDirty:i={},initialTouched:s={},clearInputErrorOnChange:o=!0,validateInputOnChange:a=!1,validateInputOnBlur:l=!1,onValuesChange:u,transformValues:c=g=>g,enhanceGetInputProps:f,validate:d,onSubmitPreventDefault:m="always",touchTrigger:y="change"}={}){const g=aP(r),w=gP({initialValues:n,onValuesChange:u,mode:t}),p=mP({initialDirty:i,initialTouched:s,$values:w,mode:t}),h=pP({$values:w,$errors:g,$status:p}),v=yP({$status:p}),[b,E]=x.useState(0),[C,k]=x.useState({}),[T,j]=x.useState(!1),L=x.useCallback(()=>{w.resetValues(),g.clearErrors(),p.resetDirty(),p.resetTouched(),t==="uncontrolled"&&E(O=>O+1)},[]),U=x.useCallback(O=>{o&&g.clearErrors(),t==="uncontrolled"&&E($=>$+1),Object.keys(v.subscribers.current).forEach($=>{const D=Ve($,w.refValues.current),W=Ve($,O);D!==W&&v.getFieldSubscribers($).forEach(ie=>ie({previousValues:O,updatedValues:w.refValues.current}))})},[o]),te=x.useCallback(O=>{const $=w.refValues.current;w.initialize(O,()=>t==="uncontrolled"&&E(D=>D+1)),U($)},[U]),Y=x.useCallback((O,$,D)=>{const W=eg(O,a),ie=$ instanceof Function?$(Ve(O,w.refValues.current)):$;p.setCalculatedFieldDirty(O,ie),y==="change"&&p.setFieldTouched(O,!0),!W&&o&&g.clearFieldError(O),w.setFieldValue({path:O,value:$,updateState:t==="controlled",subscribers:[...v.getFieldSubscribers(O),W?M=>{const J=Wo(O,d,M.updatedValues);J.hasError?g.setFieldError(O,J.error):g.clearFieldError(O)}:null,(D==null?void 0:D.forceUpdate)!==!1&&t!=="controlled"?()=>k(M=>({...M,[O]:(M[O]||0)+1})):null]})},[u,d]),Q=x.useCallback(O=>{const $=w.refValues.current;w.setValues({values:O,updateState:t==="controlled"}),U($)},[u,U]),ae=x.useCallback(()=>{const O=ff(d,w.refValues.current);return g.setErrors(O.errors),O},[d]),Z=x.useCallback(O=>{const $=Wo(O,d,w.refValues.current);return $.hasError?g.setFieldError(O,$.error):g.clearFieldError(O),$},[d]),K=(O,{type:$="input",withError:D=!0,withFocus:W=!0,...ie}={})=>{const J={onChange:oP(ge=>Y(O,ge,{forceUpdate:!1})),"data-path":Zm(e,O)};return D&&(J.error=g.errorsState[O]),$==="checkbox"?J[t==="controlled"?"checked":"defaultChecked"]=Ve(O,w.refValues.current):J[t==="controlled"?"value":"defaultValue"]=Ve(O,w.refValues.current),W&&(J.onFocus=()=>p.setFieldTouched(O,!0),J.onBlur=()=>{if(eg(O,l)){const ge=Wo(O,d,w.refValues.current);ge.hasError?g.setFieldError(O,ge.error):g.clearFieldError(O)}}),Object.assign(J,f==null?void 0:f({inputProps:J,field:O,options:{type:$,withError:D,withFocus:W,...ie},form:se}))},_=(O,$)=>D=>{m==="always"&&(D==null||D.preventDefault());const W=ae();if(W.hasErrors)m==="validation-failed"&&(D==null||D.preventDefault()),$==null||$(W.errors,w.refValues.current,D);else{const ie=O==null?void 0:O(c(w.refValues.current),D);ie instanceof Promise&&(j(!0),ie.finally(()=>j(!1)))}},I=O=>c(O||w.refValues.current),V=x.useCallback(O=>{O.preventDefault(),L()},[]),q=x.useCallback(O=>O?!Wo(O,d,w.refValues.current).hasError:!ff(d,w.refValues.current).hasErrors,[d]),ee=O=>`${b}-${O}-${C[O]||0}`,ne=x.useCallback(O=>document.querySelector(`[data-path="${Zm(e,O)}"]`),[]),se={watch:v.watch,initialized:w.initialized.current,values:w.stateValues,getValues:w.getValues,setInitialValues:w.setValuesSnapshot,initialize:te,setValues:Q,setFieldValue:Y,submitting:T,setSubmitting:j,errors:g.errorsState,setErrors:g.setErrors,setFieldError:g.setFieldError,clearFieldError:g.clearFieldError,clearErrors:g.clearErrors,resetDirty:p.resetDirty,setTouched:p.setTouched,setDirty:p.setDirty,isTouched:p.isTouched,resetTouched:p.resetTouched,isDirty:p.isDirty,getTouched:p.getTouched,getDirty:p.getDirty,reorderListItem:h.reorderListItem,insertListItem:h.insertListItem,removeListItem:h.removeListItem,replaceListItem:h.replaceListItem,reset:L,validate:ae,validateField:Z,getInputProps:K,onSubmit:_,onReset:V,isValid:q,getTransformedValues:I,key:ee,getInputNode:ne};return sP(e,se),se}function Ew(e,t){return function(){return e.apply(t,arguments)}}const{toString:SP}=Object.prototype,{getPrototypeOf:pp}=Object,Vl=(e=>t=>{const n=SP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dt=e=>(e=e.toLowerCase(),t=>Vl(t)===e),$l=e=>t=>typeof t===e,{isArray:Mi}=Array,qs=$l("undefined");function xP(e){return e!==null&&!qs(e)&&e.constructor!==null&&!qs(e.constructor)&&ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Cw=Dt("ArrayBuffer");function bP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Cw(e.buffer),t}const EP=$l("string"),ft=$l("function"),kw=$l("number"),Bl=e=>e!==null&&typeof e=="object",CP=e=>e===!0||e===!1,da=e=>{if(Vl(e)!=="object")return!1;const t=pp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},kP=Dt("Date"),TP=Dt("File"),PP=Dt("Blob"),_P=Dt("FileList"),AP=e=>Bl(e)&&ft(e.pipe),NP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ft(e.append)&&((t=Vl(e))==="formdata"||t==="object"&&ft(e.toString)&&e.toString()==="[object FormData]"))},RP=Dt("URLSearchParams"),[jP,MP,OP,LP]=["ReadableStream","Request","Response","Headers"].map(Dt),IP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function po(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Mi(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pw=e=>!qs(e)&&e!==ur;function df(){const{caseless:e}=Pw(this)&&this||{},t={},n=(r,i)=>{const s=e&&Tw(t,i)||i;da(t[s])&&da(r)?t[s]=df(t[s],r):da(r)?t[s]=df({},r):Mi(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(po(t,(i,s)=>{n&&ft(i)?e[s]=Ew(i,n):e[s]=i},{allOwnKeys:r}),e),FP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),VP=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$P=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&pp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},BP=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zP=e=>{if(!e)return null;if(Mi(e))return e;let t=e.length;if(!kw(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},UP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pp(Uint8Array)),WP=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},HP=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},qP=Dt("HTMLFormElement"),KP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),tg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),YP=Dt("RegExp"),_w=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};po(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},GP=e=>{_w(e,(t,n)=>{if(ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ft(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XP=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Mi(e)?r(e):r(String(e).split(t)),n},QP=()=>{},ZP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Bu="abcdefghijklmnopqrstuvwxyz",ng="0123456789",Aw={DIGIT:ng,ALPHA:Bu,ALPHA_DIGIT:Bu+Bu.toUpperCase()+ng},JP=(e=16,t=Aw.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function e_(e){return!!(e&&ft(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const t_=e=>{const t=new Array(10),n=(r,i)=>{if(Bl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=Mi(r)?[]:{};return po(r,(o,a)=>{const l=n(o,i+1);!qs(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},n_=Dt("AsyncFunction"),r_=e=>e&&(Bl(e)||ft(e))&&ft(e.then)&&ft(e.catch),Nw=((e,t)=>e?setImmediate:t?((n,r)=>(ur.addEventListener("message",({source:i,data:s})=>{i===ur&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),ur.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ft(ur.postMessage)),i_=typeof queueMicrotask<"u"?queueMicrotask.bind(ur):typeof process<"u"&&process.nextTick||Nw,P={isArray:Mi,isArrayBuffer:Cw,isBuffer:xP,isFormData:NP,isArrayBufferView:bP,isString:EP,isNumber:kw,isBoolean:CP,isObject:Bl,isPlainObject:da,isReadableStream:jP,isRequest:MP,isResponse:OP,isHeaders:LP,isUndefined:qs,isDate:kP,isFile:TP,isBlob:PP,isRegExp:YP,isFunction:ft,isStream:AP,isURLSearchParams:RP,isTypedArray:UP,isFileList:_P,forEach:po,merge:df,extend:DP,trim:IP,stripBOM:FP,inherits:VP,toFlatObject:$P,kindOf:Vl,kindOfTest:Dt,endsWith:BP,toArray:zP,forEachEntry:WP,matchAll:HP,isHTMLForm:qP,hasOwnProperty:tg,hasOwnProp:tg,reduceDescriptors:_w,freezeMethods:GP,toObjectSet:XP,toCamelCase:KP,noop:QP,toFiniteNumber:ZP,findKey:Tw,global:ur,isContextDefined:Pw,ALPHABET:Aw,generateString:JP,isSpecCompliantForm:e_,toJSONObject:t_,isAsyncFn:n_,isThenable:r_,setImmediate:Nw,asap:i_};function H(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}P.inherits(H,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}});const Rw=H.prototype,jw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jw[e]={value:e}});Object.defineProperties(H,jw);Object.defineProperty(Rw,"isAxiosError",{value:!0});H.from=(e,t,n,r,i,s)=>{const o=Object.create(Rw);return P.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),H.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const s_=null;function pf(e){return P.isPlainObject(e)||P.isArray(e)}function Mw(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function rg(e,t,n){return e?e.concat(t).map(function(i,s){return i=Mw(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function o_(e){return P.isArray(e)&&!e.some(pf)}const a_=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function zl(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!P.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(P.isDate(y))return y.toISOString();if(!l&&P.isBlob(y))throw new H("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(y)||P.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,g,w){let p=y;if(y&&!w&&typeof y=="object"){if(P.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(P.isArray(y)&&o_(y)||(P.isFileList(y)||P.endsWith(g,"[]"))&&(p=P.toArray(y)))return g=Mw(g),p.forEach(function(v,b){!(P.isUndefined(v)||v===null)&&t.append(o===!0?rg([g],b,s):o===null?g:g+"[]",u(v))}),!1}return pf(y)?!0:(t.append(rg(w,g,s),u(y)),!1)}const f=[],d=Object.assign(a_,{defaultVisitor:c,convertValue:u,isVisitable:pf});function m(y,g){if(!P.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(y),P.forEach(y,function(p,h){(!(P.isUndefined(p)||p===null)&&i.call(t,p,P.isString(h)?h.trim():h,g,d))===!0&&m(p,g?g.concat(h):[h])}),f.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return m(e),t}function ig(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hp(e,t){this._pairs=[],e&&zl(e,this,t)}const Ow=hp.prototype;Ow.append=function(t,n){this._pairs.push([t,n])};Ow.toString=function(t){const n=t?function(r){return t.call(this,r,ig)}:ig;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function l_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lw(e,t,n){if(!t)return e;const r=n&&n.encode||l_;P.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(t,n):s=P.isURLSearchParams(t)?t.toString():new hp(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class sg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Iw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u_=typeof URLSearchParams<"u"?URLSearchParams:hp,c_=typeof FormData<"u"?FormData:null,f_=typeof Blob<"u"?Blob:null,d_={isBrowser:!0,classes:{URLSearchParams:u_,FormData:c_,Blob:f_},protocols:["http","https","file","blob","url","data"]},mp=typeof window<"u"&&typeof document<"u",hf=typeof navigator=="object"&&navigator||void 0,p_=mp&&(!hf||["ReactNative","NativeScript","NS"].indexOf(hf.product)<0),h_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",m_=mp&&window.location.href||"http://localhost",g_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:mp,hasStandardBrowserEnv:p_,hasStandardBrowserWebWorkerEnv:h_,navigator:hf,origin:m_},Symbol.toStringTag,{value:"Module"})),Ke={...g_,...d_};function y_(e,t){return zl(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ke.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function v_(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function w_(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&P.isArray(i[o])&&(i[o]=w_(i[o])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,i)=>{t(v_(r),i,n,0)}),n}return null}function S_(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const ho={transitional:Iw,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=P.isObject(t);if(s&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return i?JSON.stringify(Dw(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y_(t,this.formSerializer).toString();if((a=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return zl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),S_(t)):t}],transformResponse:[function(t){const n=this.transitional||ho.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{ho.headers[e]={}});const x_=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),b_=e=>{const t={};let n,r,i;return e&&e.split(` +`}function X1({cssVariablesSelector:e,deduplicateCssVariables:t}){const n=vn(),r=Jd(),i=QC(),s=wk({theme:n,generator:i}),o=e===":root"&&t,a=o?Sk(s):s,l=gk(a,e);return l?S.jsx("style",{"data-mantine-styles":!0,nonce:r==null?void 0:r(),dangerouslySetInnerHTML:{__html:`${l}${o?"":xk(e)}`}}):null}X1.displayName="@mantine/CssVariables";function bk(){const e=console.error;console.error=(...t)=>{t.length>1&&typeof t[0]=="string"&&t[0].toLowerCase().includes("extra attributes from the server")&&typeof t[1]=="string"&&t[1].toLowerCase().includes("data-mantine-color-scheme")||e(...t)}}function Dr(e,t){var i,s;const n=typeof window<"u"&&"matchMedia"in window&&((i=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:i.matches),r=e!=="auto"?e:n?"dark":"light";(s=t())==null||s.setAttribute("data-mantine-color-scheme",r)}function Ek({manager:e,defaultColorScheme:t,getRootElement:n,forceColorScheme:r}){const i=x.useRef(null),[s,o]=x.useState(()=>e.get(t)),a=r||s,l=x.useCallback(c=>{r||(Dr(c,n),o(c),e.set(c))},[e.set,a,r]),u=x.useCallback(()=>{o(t),Dr(t,n),e.clear()},[e.clear,t]);return x.useEffect(()=>(e.subscribe(l),e.unsubscribe),[e.subscribe,e.unsubscribe]),uo(()=>{Dr(e.get(t),n)},[]),x.useEffect(()=>{var f;if(r)return Dr(r,n),()=>{};r===void 0&&Dr(s,n),typeof window<"u"&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));const c=d=>{s==="auto"&&Dr(d.matches?"dark":"light",n)};return(f=i.current)==null||f.addEventListener("change",c),()=>{var d;return(d=i.current)==null?void 0:d.removeEventListener("change",c)}},[s,r]),{colorScheme:a,setColorScheme:l,clearColorScheme:u}}function Ck({respectReducedMotion:e,getRootElement:t}){uo(()=>{var n;e&&((n=t())==null||n.setAttribute("data-respect-reduced-motion","true"))},[e])}bk();function Q1({theme:e,children:t,getStyleNonce:n,withStaticClasses:r=!0,withGlobalClasses:i=!0,deduplicateCssVariables:s=!0,withCssVariables:o=!0,cssVariablesSelector:a=":root",classNamesPrefix:l="mantine",colorSchemeManager:u=fk(),defaultColorScheme:c="light",getRootElement:f=()=>document.documentElement,cssVariablesResolver:d,forceColorScheme:m,stylesTransform:y}){const{colorScheme:g,setColorScheme:w,clearColorScheme:p}=Ek({defaultColorScheme:c,forceColorScheme:m,manager:u,getRootElement:f});return Ck({respectReducedMotion:(e==null?void 0:e.respectReducedMotion)||!1,getRootElement:f}),S.jsx(K1.Provider,{value:{colorScheme:g,setColorScheme:w,clearColorScheme:p,getRootElement:f,classNamesPrefix:l,getStyleNonce:n,cssVariablesResolver:d,cssVariablesSelector:a,withStaticClasses:r,stylesTransform:y},children:S.jsxs(Y1,{theme:e,children:[o&&S.jsx(X1,{cssVariablesSelector:a,deduplicateCssVariables:s}),i&&S.jsx(mk,{}),t]})})}Q1.displayName="@mantine/core/MantineProvider";function kk({classNames:e,styles:t,props:n,stylesCtx:r}){const i=vn();return{resolvedClassNames:kl({theme:i,classNames:e,props:n,stylesCtx:r||void 0}),resolvedStyles:qa({theme:i,styles:t,props:n,stylesCtx:r||void 0})}}const Tk={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function Pk({theme:e,options:t,unstyled:n}){return Qt((t==null?void 0:t.focusable)&&!n&&(e.focusClassName||Tk[e.focusRing]),(t==null?void 0:t.active)&&!n&&e.activeClassName)}function _k({selector:e,stylesCtx:t,options:n,props:r,theme:i}){return kl({theme:i,classNames:n==null?void 0:n.classNames,props:(n==null?void 0:n.props)||r,stylesCtx:t})[e]}function $m({selector:e,stylesCtx:t,theme:n,classNames:r,props:i}){return kl({theme:n,classNames:r,props:i,stylesCtx:t})[e]}function Ak({rootSelector:e,selector:t,className:n}){return e===t?n:void 0}function Nk({selector:e,classes:t,unstyled:n}){return n?void 0:t[e]}function Rk({themeName:e,classNamesPrefix:t,selector:n,withStaticClass:r}){return r===!1?[]:e.map(i=>`${t}-${i}-${n}`)}function jk({themeName:e,theme:t,selector:n,props:r,stylesCtx:i}){return e.map(s=>{var o,a;return(a=kl({theme:t,classNames:(o=t.components[s])==null?void 0:o.classNames,props:r,stylesCtx:i}))==null?void 0:a[n]})}function Mk({options:e,classes:t,selector:n,unstyled:r}){return e!=null&&e.variant&&!r?t[`${n}--${e.variant}`]:void 0}function Ok({theme:e,options:t,themeName:n,selector:r,classNamesPrefix:i,classNames:s,classes:o,unstyled:a,className:l,rootSelector:u,props:c,stylesCtx:f,withStaticClasses:d,headless:m,transformedStyles:y}){return Qt(Pk({theme:e,options:t,unstyled:a||m}),jk({theme:e,themeName:n,selector:r,props:c,stylesCtx:f}),Mk({options:t,classes:o,selector:r,unstyled:a}),$m({selector:r,stylesCtx:f,theme:e,classNames:s,props:c}),$m({selector:r,stylesCtx:f,theme:e,classNames:y,props:c}),_k({selector:r,stylesCtx:f,options:t,props:c,theme:e}),Ak({rootSelector:u,selector:r,className:l}),Nk({selector:r,classes:o,unstyled:a||m}),d&&!m&&Rk({themeName:n,classNamesPrefix:i,selector:r,withStaticClass:t==null?void 0:t.withStaticClass}),t==null?void 0:t.className)}function Lk({theme:e,themeName:t,props:n,stylesCtx:r,selector:i}){return t.map(s=>{var o;return qa({theme:e,styles:(o=e.components[s])==null?void 0:o.styles,props:n,stylesCtx:r})[i]}).reduce((s,o)=>({...s,...o}),{})}function sf({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((n,r)=>({...n,...sf({style:r,theme:t})}),{}):typeof e=="function"?e(t):e??{}}function Ik(e){return e.reduce((t,n)=>(n&&Object.keys(n).forEach(r=>{t[r]={...t[r],...ao(n[r])}}),t),{})}function Dk({vars:e,varsResolver:t,theme:n,props:r,stylesCtx:i,selector:s,themeName:o,headless:a}){var l;return(l=Ik([a?{}:t==null?void 0:t(n,r,i),...o.map(u=>{var c,f,d;return(d=(f=(c=n.components)==null?void 0:c[u])==null?void 0:f.vars)==null?void 0:d.call(f,n,r,i)}),e==null?void 0:e(n,r,i)]))==null?void 0:l[s]}function Fk({theme:e,themeName:t,selector:n,options:r,props:i,stylesCtx:s,rootSelector:o,styles:a,style:l,vars:u,varsResolver:c,headless:f,withStylesTransform:d}){return{...!d&&Lk({theme:e,themeName:t,props:i,stylesCtx:s,selector:n}),...!d&&qa({theme:e,styles:a,props:i,stylesCtx:s})[n],...!d&&qa({theme:e,styles:r==null?void 0:r.styles,props:(r==null?void 0:r.props)||i,stylesCtx:s})[n],...Dk({theme:e,props:i,stylesCtx:s,vars:u,varsResolver:c,selector:n,themeName:t,headless:f}),...o===n?sf({style:l,theme:e}):null,...sf({style:r==null?void 0:r.style,theme:e})}}function Vk({props:e,stylesCtx:t,themeName:n}){var o;const r=vn(),i=(o=nk())==null?void 0:o();return{getTransformedStyles:a=>i?[...a.map(u=>i(u,{props:e,theme:r,ctx:t})),...n.map(u=>{var c;return i((c=r.components[u])==null?void 0:c.styles,{props:e,theme:r,ctx:t})})].filter(Boolean):[],withStylesTransform:!!i}}function yt({name:e,classes:t,props:n,stylesCtx:r,className:i,style:s,rootSelector:o="root",unstyled:a,classNames:l,styles:u,vars:c,varsResolver:f}){const d=vn(),m=ZC(),y=JC(),g=ek(),w=(Array.isArray(e)?e:[e]).filter(v=>v),{withStylesTransform:p,getTransformedStyles:h}=Vk({props:n,stylesCtx:r,themeName:w});return(v,b)=>({className:Ok({theme:d,options:b,themeName:w,selector:v,classNamesPrefix:m,classNames:l,classes:t,unstyled:a,className:i,rootSelector:o,props:n,stylesCtx:r,withStaticClasses:y,headless:g,transformedStyles:h([b==null?void 0:b.styles,u])}),style:Fk({theme:d,themeName:w,selector:v,options:b,props:n,stylesCtx:r,rootSelector:o,styles:u,style:s,vars:c,varsResolver:f,headless:g,withStylesTransform:p})})}function le(e,t,n){var o;const r=vn(),i=(o=r.components[e])==null?void 0:o.defaultProps,s=typeof i=="function"?i(r):i;return{...t,...s,...ao(n)}}function Vu(e){return ot(e).reduce((t,n)=>e[n]!==void 0?`${t}${vC(n)}:${e[n]};`:t,"").trim()}function $k({selector:e,styles:t,media:n,container:r}){const i=t?Vu(t):"",s=Array.isArray(n)?n.map(a=>`@media${a.query}{${e}{${Vu(a.styles)}}}`):[],o=Array.isArray(r)?r.map(a=>`@container ${a.query}{${e}{${Vu(a.styles)}}}`):[];return`${i?`${e}{${i}}`:""}${s.join("")}${o.join("")}`.trim()}function rp(e){const t=Jd();return S.jsx("style",{"data-mantine-styles":"inline",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:$k(e)}})}function ip(e){const{m:t,mx:n,my:r,mt:i,mb:s,ml:o,mr:a,me:l,ms:u,p:c,px:f,py:d,pt:m,pb:y,pl:g,pr:w,pe:p,ps:h,bd:v,bg:b,c:E,opacity:C,ff:k,fz:T,fw:j,lts:L,ta:U,lh:te,fs:Y,tt:Q,td:ae,w:Z,miw:K,maw:_,h:I,mih:V,mah:q,bgsz:ee,bgp:ne,bgr:se,bga:O,pos:$,top:D,left:W,bottom:ie,right:M,inset:J,display:ge,flex:he,hiddenFrom:Ne,visibleFrom:Zt,lightHidden:bn,darkHidden:er,sx:Rr,...Fi}=e;return{styleProps:ao({m:t,mx:n,my:r,mt:i,mb:s,ml:o,mr:a,me:l,ms:u,p:c,px:f,py:d,pt:m,pb:y,pl:g,pr:w,pe:p,ps:h,bd:v,bg:b,c:E,opacity:C,ff:k,fz:T,fw:j,lts:L,ta:U,lh:te,fs:Y,tt:Q,td:ae,w:Z,miw:K,maw:_,h:I,mih:V,mah:q,bgsz:ee,bgp:ne,bgr:se,bga:O,pos:$,top:D,left:W,bottom:ie,right:M,inset:J,display:ge,flex:he,hiddenFrom:Ne,visibleFrom:Zt,lightHidden:bn,darkHidden:er,sx:Rr}),rest:Fi}}const Bk={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function sp(e,t){const n=co({color:e,theme:t});return n.color==="dimmed"?"var(--mantine-color-dimmed)":n.color==="bright"?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}function zk(e,t){const n=co({color:e,theme:t});return n.isThemeColor&&n.shade===void 0?`var(--mantine-color-${n.color}-text)`:sp(e,t)}function Uk(e,t){if(typeof e=="number")return A(e);if(typeof e=="string"){const[n,r,...i]=e.split(" ").filter(o=>o.trim()!=="");let s=`${A(n)}`;return r&&(s+=` ${r}`),i.length>0&&(s+=` ${sp(i.join(" "),t)}`),s.trim()}return e}const Bm={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function Wk(e){return typeof e=="string"&&e in Bm?Bm[e]:e}const Hk=["h1","h2","h3","h4","h5","h6"];function qk(e,t){return typeof e=="string"&&e in t.fontSizes?`var(--mantine-font-size-${e})`:typeof e=="string"&&Hk.includes(e)?`var(--mantine-${e}-font-size)`:typeof e=="number"||typeof e=="string"?A(e):e}function Kk(e){return e}const Yk=["h1","h2","h3","h4","h5","h6"];function Gk(e,t){return typeof e=="string"&&e in t.lineHeights?`var(--mantine-line-height-${e})`:typeof e=="string"&&Yk.includes(e)?`var(--mantine-${e}-line-height)`:e}function Xk(e){return typeof e=="number"?A(e):e}function Qk(e,t){if(typeof e=="number")return A(e);if(typeof e=="string"){const n=e.replace("-","");if(!(n in t.spacing))return A(e);const r=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${r}) * -1)`:`var(${r})`}return e}const $u={color:sp,textColor:zk,fontSize:qk,spacing:Qk,identity:Kk,size:Xk,lineHeight:Gk,fontFamily:Wk,border:Uk};function zm(e){return e.replace("(min-width: ","").replace("em)","")}function Zk({media:e,...t}){const r=Object.keys(e).sort((i,s)=>Number(zm(i))-Number(zm(s))).map(i=>({query:i,styles:e[i]}));return{...t,media:r}}function Jk(e){if(typeof e!="object"||e===null)return!1;const t=Object.keys(e);return!(t.length===1&&t[0]==="base")}function eT(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function tT(e){return typeof e=="object"&&e!==null?ot(e).filter(t=>t!=="base"):[]}function nT(e,t){return typeof e=="object"&&e!==null&&t in e?e[t]:e}function rT({styleProps:e,data:t,theme:n}){return Zk(ot(e).reduce((r,i)=>{if(i==="hiddenFrom"||i==="visibleFrom"||i==="sx")return r;const s=t[i],o=Array.isArray(s.property)?s.property:[s.property],a=eT(e[i]);if(!Jk(e[i]))return o.forEach(u=>{r.inlineStyles[u]=$u[s.type](a,n)}),r;r.hasResponsiveStyles=!0;const l=tT(e[i]);return o.forEach(u=>{a&&(r.styles[u]=$u[s.type](a,n)),l.forEach(c=>{const f=`(min-width: ${n.breakpoints[c]})`;r.media[f]={...r.media[f],[u]:$u[s.type](nT(e[i],c),n)}})}),r},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function Z1(){return`__m__-${x.useId().replace(/:/g,"")}`}function J1(e){return e.startsWith("data-")?e:`data-${e}`}function iT(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return r===void 0||r===""||r===!1||r===null||(t[J1(n)]=e[n]),t},{})}function ew(e){return e?typeof e=="string"?{[J1(e)]:!0}:Array.isArray(e)?[...e].reduce((t,n)=>({...t,...ew(n)}),{}):iT(e):null}function of(e,t){return Array.isArray(e)?[...e].reduce((n,r)=>({...n,...of(r,t)}),{}):typeof e=="function"?e(t):e??{}}function sT({theme:e,style:t,vars:n,styleProps:r}){const i=of(t,e),s=of(n,e);return{...i,...s,...r}}const tw=x.forwardRef(({component:e,style:t,__vars:n,className:r,variant:i,mod:s,size:o,hiddenFrom:a,visibleFrom:l,lightHidden:u,darkHidden:c,renderRoot:f,__size:d,...m},y)=>{var T;const g=vn(),w=e||"div",{styleProps:p,rest:h}=ip(m),v=tk(),b=(T=v==null?void 0:v())==null?void 0:T(p.sx),E=Z1(),C=rT({styleProps:p,theme:g,data:Bk}),k={ref:y,style:sT({theme:g,style:t,vars:n,styleProps:C.inlineStyles}),className:Qt(r,b,{[E]:C.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":c,[`mantine-hidden-from-${a}`]:a,[`mantine-visible-from-${l}`]:l}),"data-variant":i,"data-size":F1(o)?void 0:o||void 0,size:d,...ew(s),...h};return S.jsxs(S.Fragment,{children:[C.hasResponsiveStyles&&S.jsx(rp,{selector:`.${E}`,styles:C.styles,media:C.media}),typeof f=="function"?f(k):S.jsx(w,{...k})]})});tw.displayName="@mantine/core/Box";const ze=tw;function nw(e){return e}function Me(e){const t=x.forwardRef(e);return t.extend=nw,t.withProps=n=>{const r=x.forwardRef((i,s)=>S.jsx(t,{...n,...i,ref:s}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}function Ri(e){const t=x.forwardRef(e);return t.withProps=n=>{const r=x.forwardRef((i,s)=>S.jsx(t,{...n,...i,ref:s}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=nw,t}const oT=x.createContext({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function aT(){return x.useContext(oT)}var rw={root:"m_87cf2631"};const lT={__staticSelector:"UnstyledButton"},di=Ri((e,t)=>{const n=le("UnstyledButton",lT,e),{className:r,component:i="button",__staticSelector:s,unstyled:o,classNames:a,styles:l,style:u,...c}=n,f=yt({name:s,props:n,classes:rw,className:r,style:u,classNames:a,styles:l,unstyled:o});return S.jsx(ze,{...f("root",{focusable:!0}),component:i,ref:t,type:i==="button"?"button":void 0,...c})});di.classes=rw;di.displayName="@mantine/core/UnstyledButton";var iw={root:"m_515a97f8"};const uT={},op=Me((e,t)=>{const n=le("VisuallyHidden",uT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,...u}=n,c=yt({name:"VisuallyHidden",classes:iw,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a});return S.jsx(ze,{component:"span",ref:t,...c("root"),...u})});op.classes=iw;op.displayName="@mantine/core/VisuallyHidden";var sw={root:"m_1b7284a3"};const cT={},fT=(e,{radius:t,shadow:n})=>({root:{"--paper-radius":t===void 0?void 0:lo(t),"--paper-shadow":V1(n)}}),ap=Ri((e,t)=>{const n=le("Paper",cT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,withBorder:l,vars:u,radius:c,shadow:f,variant:d,mod:m,...y}=n,g=yt({name:"Paper",props:n,classes:sw,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:u,varsResolver:fT});return S.jsx(ze,{ref:t,mod:[{"data-with-border":l},m],...g("root"),variant:d,...y})});ap.classes=sw;ap.displayName="@mantine/core/Paper";var ow={root:"m_9814e45f"};const dT={zIndex:Ni("modal")},pT=(e,{gradient:t,color:n,backgroundOpacity:r,blur:i,radius:s,zIndex:o})=>({root:{"--overlay-bg":t||(n!==void 0||r!==void 0)&&Bt(n||"#000",r??.6)||void 0,"--overlay-filter":i?`blur(${A(i)})`:void 0,"--overlay-radius":s===void 0?void 0:lo(s),"--overlay-z-index":o==null?void 0:o.toString()}}),lp=Ri((e,t)=>{const n=le("Overlay",dT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,fixed:u,center:c,children:f,radius:d,zIndex:m,gradient:y,blur:g,color:w,backgroundOpacity:p,mod:h,...v}=n,b=yt({name:"Overlay",props:n,classes:ow,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:pT});return S.jsx(ze,{ref:t,...b("root"),mod:[{center:c,fixed:u},h],...v,children:f})});lp.classes=ow;lp.displayName="@mantine/core/Overlay";function hT(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),typeof e.className=="string"&&t.classList.add(...e.className.split(" ").filter(Boolean)),typeof e.style=="object"&&Object.assign(t.style,e.style),typeof e.id=="string"&&t.setAttribute("id",e.id),t}const mT={},aw=x.forwardRef((e,t)=>{const{children:n,target:r,...i}=le("Portal",mT,e),[s,o]=x.useState(!1),a=x.useRef(null);return uo(()=>(o(!0),a.current=r?typeof r=="string"?document.querySelector(r):r:hT(i),rf(t,a.current),!r&&a.current&&document.body.appendChild(a.current),()=>{!r&&a.current&&document.body.removeChild(a.current)}),[r]),!s||!a.current?null:Gd.createPortal(S.jsx(S.Fragment,{children:n}),a.current)});aw.displayName="@mantine/core/Portal";function lw({withinPortal:e=!0,children:t,...n}){return e?S.jsx(aw,{...n,children:t}):S.jsx(S.Fragment,{children:t})}lw.displayName="@mantine/core/OptionalPortal";const Xi=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${e==="bottom"?10:-10}px)`},transitionProperty:"transform, opacity"}),zo={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...Xi("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...Xi("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...Xi("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...Xi("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...Xi("top"),common:{transformOrigin:"top right"}}},Um={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function gT({transition:e,state:t,duration:n,timingFunction:r}){const i={transitionDuration:`${n}ms`,transitionTimingFunction:r};return typeof e=="string"?e in zo?{transitionProperty:zo[e].transitionProperty,...i,...zo[e].common,...zo[e][Um[t]]}:{}:{transitionProperty:e.transitionProperty,...i,...e.common,...e[Um[t]]}}function yT({duration:e,exitDuration:t,timingFunction:n,mounted:r,onEnter:i,onExit:s,onEntered:o,onExited:a,enterDelay:l,exitDelay:u}){const c=vn(),f=H1(),d=c.respectReducedMotion?f:!1,[m,y]=x.useState(d?0:e),[g,w]=x.useState(r?"entered":"exited"),p=x.useRef(-1),h=x.useRef(-1),v=x.useRef(-1),b=C=>{const k=C?i:s,T=C?o:a;window.clearTimeout(p.current);const j=d?0:C?e:t;y(j),j===0?(typeof k=="function"&&k(),typeof T=="function"&&T(),w(C?"entered":"exited")):v.current=requestAnimationFrame(()=>{LE.flushSync(()=>{w(C?"pre-entering":"pre-exiting")}),v.current=requestAnimationFrame(()=>{typeof k=="function"&&k(),w(C?"entering":"exiting"),p.current=window.setTimeout(()=>{typeof T=="function"&&T(),w(C?"entered":"exited")},j)})})},E=C=>{if(window.clearTimeout(h.current),typeof(C?l:u)!="number"){b(C);return}h.current=window.setTimeout(()=>{b(C)},C?l:u)};return $1(()=>{E(r)},[r]),x.useEffect(()=>()=>{window.clearTimeout(p.current),cancelAnimationFrame(v.current)},[]),{transitionDuration:m,transitionStatus:g,transitionTimingFunction:n||"ease"}}function up({keepMounted:e,transition:t="fade",duration:n=250,exitDuration:r=n,mounted:i,children:s,timingFunction:o="ease",onExit:a,onEntered:l,onEnter:u,onExited:c,enterDelay:f,exitDelay:d}){const{transitionDuration:m,transitionStatus:y,transitionTimingFunction:g}=yT({mounted:i,exitDuration:r,duration:n,timingFunction:o,onExit:a,onEntered:l,onEnter:u,onExited:c,enterDelay:f,exitDelay:d});return m===0?i?S.jsx(S.Fragment,{children:s({})}):e?s({display:"none"}):null:y==="exited"?e?s({display:"none"}):null:S.jsx(S.Fragment,{children:s(gT({transition:t,duration:m,state:y,timingFunction:g}))})}up.displayName="@mantine/core/Transition";function cp({children:e,active:t=!0,refProp:n="ref",innerRef:r}){const i=LC(t),s=VC(i,r);return SC(e)?x.cloneElement(e,{[n]:s}):e}function uw(e){return S.jsx(op,{tabIndex:-1,"data-autofocus":!0,...e})}cp.displayName="@mantine/core/FocusTrap";uw.displayName="@mantine/core/FocusTrapInitialFocus";cp.InitialFocus=uw;const cw=x.forwardRef(({size:e="var(--cb-icon-size, 70%)",style:t,...n},r)=>S.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:r,...n,children:S.jsx("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));cw.displayName="@mantine/core/CloseIcon";var fw={root:"m_86a44da5","root--subtle":"m_220c80f2"};const vT={variant:"subtle"},wT=(e,{size:t,radius:n,iconSize:r})=>({root:{"--cb-size":Wn(t,"cb-size"),"--cb-radius":n===void 0?void 0:lo(n),"--cb-icon-size":A(r)}}),Tl=Ri((e,t)=>{const n=le("CloseButton",vT,e),{iconSize:r,children:i,vars:s,radius:o,className:a,classNames:l,style:u,styles:c,unstyled:f,"data-disabled":d,disabled:m,variant:y,icon:g,mod:w,__staticSelector:p,...h}=n,v=yt({name:p||"CloseButton",props:n,className:a,style:u,classes:fw,classNames:l,styles:c,unstyled:f,vars:s,varsResolver:wT});return S.jsxs(di,{ref:t,...h,unstyled:f,variant:y,disabled:m,mod:[{disabled:m||d},w],...v("root",{variant:y,active:!m&&!d}),children:[g||S.jsx(cw,{}),i]})});Tl.classes=fw;Tl.displayName="@mantine/core/CloseButton";const[ST,wn]=Qd("ModalBase component was not found in tree");function xT({opened:e,transitionDuration:t}){const[n,r]=x.useState(e),i=x.useRef(-1),o=H1()?0:t;return x.useEffect(()=>(e?(r(!0),window.clearTimeout(i.current)):o===0?r(!1):i.current=window.setTimeout(()=>r(!1),o),()=>window.clearTimeout(i.current)),[e,o]),n}function bT({id:e,transitionProps:t,opened:n,trapFocus:r,closeOnEscape:i,onClose:s,returnFocus:o}){const a=W1(e),[l,u]=x.useState(!1),[c,f]=x.useState(!1),d=typeof(t==null?void 0:t.duration)=="number"?t==null?void 0:t.duration:200,m=xT({opened:n,transitionDuration:d});return Ws("keydown",y=>{var g;y.key==="Escape"&&i&&n&&((g=y.target)==null?void 0:g.getAttribute("data-mantine-stop-propagation"))!=="true"&&s()},{capture:!0}),AC({opened:n,shouldReturnFocus:r&&o}),{_id:a,titleMounted:l,bodyMounted:c,shouldLockScroll:m,setTitleMounted:u,setBodyMounted:f}}const dw=x.forwardRef(({keepMounted:e,opened:t,onClose:n,id:r,transitionProps:i,onExitTransitionEnd:s,onEnterTransitionEnd:o,trapFocus:a,closeOnEscape:l,returnFocus:u,closeOnClickOutside:c,withinPortal:f,portalProps:d,lockScroll:m,children:y,zIndex:g,shadow:w,padding:p,__vars:h,unstyled:v,removeScrollProps:b,...E},C)=>{const{_id:k,titleMounted:T,bodyMounted:j,shouldLockScroll:L,setTitleMounted:U,setBodyMounted:te}=bT({id:r,transitionProps:i,opened:t,trapFocus:a,closeOnEscape:l,onClose:n,returnFocus:u}),{key:Y,...Q}=b||{};return S.jsx(lw,{...d,withinPortal:f,children:S.jsx(ST,{value:{opened:t,onClose:n,closeOnClickOutside:c,onExitTransitionEnd:s,onEnterTransitionEnd:o,transitionProps:{...i,keepMounted:e},getTitleId:()=>`${k}-title`,getBodyId:()=>`${k}-body`,titleMounted:T,bodyMounted:j,setTitleMounted:U,setBodyMounted:te,trapFocus:a,closeOnEscape:l,zIndex:g,unstyled:v},children:S.jsx(I1,{enabled:L&&m,...Q,children:S.jsx(ze,{ref:C,...E,__vars:{...h,"--mb-z-index":(g||Ni("modal")).toString(),"--mb-shadow":V1(w),"--mb-padding":$n(p)},children:y})},Y)})})});dw.displayName="@mantine/core/ModalBase";function ET(){const e=wn();return x.useEffect(()=>(e.setBodyMounted(!0),()=>e.setBodyMounted(!1)),[]),e.getBodyId()}var xi={title:"m_615af6c9",header:"m_b5489c3c",inner:"m_60c222c7",content:"m_fd1ab0aa",close:"m_606cb269",body:"m_5df29311"};const pw=x.forwardRef(({className:e,...t},n)=>{const r=ET(),i=wn();return S.jsx(ze,{ref:n,...t,id:r,className:Qt({[xi.body]:!i.unstyled},e)})});pw.displayName="@mantine/core/ModalBaseBody";const hw=x.forwardRef(({className:e,onClick:t,...n},r)=>{const i=wn();return S.jsx(Tl,{ref:r,...n,onClick:s=>{i.onClose(),t==null||t(s)},className:Qt({[xi.close]:!i.unstyled},e),unstyled:i.unstyled})});hw.displayName="@mantine/core/ModalBaseCloseButton";const mw=x.forwardRef(({transitionProps:e,className:t,innerProps:n,onKeyDown:r,style:i,...s},o)=>{const a=wn();return S.jsx(up,{mounted:a.opened,transition:"pop",...a.transitionProps,onExited:()=>{var l,u,c;(l=a.onExitTransitionEnd)==null||l.call(a),(c=(u=a.transitionProps)==null?void 0:u.onExited)==null||c.call(u)},onEntered:()=>{var l,u,c;(l=a.onEnterTransitionEnd)==null||l.call(a),(c=(u=a.transitionProps)==null?void 0:u.onEntered)==null||c.call(u)},...e,children:l=>S.jsx("div",{...n,className:Qt({[xi.inner]:!a.unstyled},n.className),children:S.jsx(cp,{active:a.opened&&a.trapFocus,innerRef:o,children:S.jsx(ap,{...s,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":a.bodyMounted?a.getBodyId():void 0,"aria-labelledby":a.titleMounted?a.getTitleId():void 0,style:[i,l],className:Qt({[xi.content]:!a.unstyled},t),unstyled:a.unstyled,children:s.children})})})})});mw.displayName="@mantine/core/ModalBaseContent";const gw=x.forwardRef(({className:e,...t},n)=>{const r=wn();return S.jsx(ze,{component:"header",ref:n,className:Qt({[xi.header]:!r.unstyled},e),...t})});gw.displayName="@mantine/core/ModalBaseHeader";const CT={duration:200,timingFunction:"ease",transition:"fade"};function kT(e){const t=wn();return{...CT,...t.transitionProps,...e}}const yw=x.forwardRef(({onClick:e,transitionProps:t,style:n,visible:r,...i},s)=>{const o=wn(),a=kT(t);return S.jsx(up,{mounted:r!==void 0?r:o.opened,...a,transition:"fade",children:l=>S.jsx(lp,{ref:s,fixed:!0,style:[n,l],zIndex:o.zIndex,unstyled:o.unstyled,onClick:u=>{e==null||e(u),o.closeOnClickOutside&&o.onClose()},...i})})});yw.displayName="@mantine/core/ModalBaseOverlay";function TT(){const e=wn();return x.useEffect(()=>(e.setTitleMounted(!0),()=>e.setTitleMounted(!1)),[]),e.getTitleId()}const vw=x.forwardRef(({className:e,...t},n)=>{const r=TT(),i=wn();return S.jsx(ze,{component:"h2",ref:n,className:Qt({[xi.title]:!i.unstyled},e),...t,id:r})});vw.displayName="@mantine/core/ModalBaseTitle";function PT({children:e}){return S.jsx(S.Fragment,{children:e})}const[_T,AT]=Zd({size:"sm"}),NT={},ww=Me((e,t)=>{const n=le("InputClearButton",NT,e),{size:r,variant:i,vars:s,classNames:o,styles:a,...l}=n,u=AT(),{resolvedClassNames:c,resolvedStyles:f}=kk({classNames:o,styles:a,props:n});return S.jsx(Tl,{variant:i||"transparent",ref:t,size:r||(u==null?void 0:u.size)||"sm",classNames:c,styles:f,__staticSelector:"InputClearButton",...l})});ww.displayName="@mantine/core/InputClearButton";const[RT,Pl]=Zd({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var _t={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const Wm={},jT=(e,{size:t})=>({description:{"--input-description-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),_l=Me((e,t)=>{const n=le("InputDescription",Wm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,__staticSelector:c,__inheritStyles:f=!0,variant:d,...m}=le("InputDescription",Wm,n),y=Pl(),g=yt({name:["InputWrapper",c],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"description",vars:l,varsResolver:jT}),w=f&&(y==null?void 0:y.getStyles)||g;return S.jsx(ze,{component:"p",ref:t,variant:d,size:u,...w("description",y!=null&&y.getStyles?{className:i,style:s}:void 0),...m})});_l.classes=_t;_l.displayName="@mantine/core/InputDescription";const MT={},OT=(e,{size:t})=>({error:{"--input-error-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),Al=Me((e,t)=>{const n=le("InputError",MT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,__staticSelector:c,__inheritStyles:f=!0,variant:d,...m}=n,y=yt({name:["InputWrapper",c],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"error",vars:l,varsResolver:OT}),g=Pl(),w=f&&(g==null?void 0:g.getStyles)||y;return S.jsx(ze,{component:"p",ref:t,variant:d,size:u,...w("error",g!=null&&g.getStyles?{className:i,style:s}:void 0),...m})});Al.classes=_t;Al.displayName="@mantine/core/InputError";const Hm={labelElement:"label"},LT=(e,{size:t})=>({label:{"--input-label-size":hr(t),"--input-asterisk-color":void 0}}),Nl=Me((e,t)=>{const n=le("InputLabel",Hm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,labelElement:u,size:c,required:f,htmlFor:d,onMouseDown:m,children:y,__staticSelector:g,variant:w,mod:p,...h}=le("InputLabel",Hm,n),v=yt({name:["InputWrapper",g],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"label",vars:l,varsResolver:LT}),b=Pl(),E=(b==null?void 0:b.getStyles)||v;return S.jsxs(ze,{...E("label",b!=null&&b.getStyles?{className:i,style:s}:void 0),component:u,variant:w,size:c,ref:t,htmlFor:u==="label"?d:void 0,mod:[{required:f},p],onMouseDown:C=>{m==null||m(C),!C.defaultPrevented&&C.detail>1&&C.preventDefault()},...h,children:[y,f&&S.jsx("span",{...E("required"),"aria-hidden":!0,children:" *"})]})});Nl.classes=_t;Nl.displayName="@mantine/core/InputLabel";const qm={},fp=Me((e,t)=>{const n=le("InputPlaceholder",qm,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,__staticSelector:u,variant:c,error:f,mod:d,...m}=le("InputPlaceholder",qm,n),y=yt({name:["InputPlaceholder",u],props:n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,rootSelector:"placeholder"});return S.jsx(ze,{...y("placeholder"),mod:[{error:!!f},d],component:"span",variant:c,ref:t,...m})});fp.classes=_t;fp.displayName="@mantine/core/InputPlaceholder";function IT(e,{hasDescription:t,hasError:n}){const r=e.findIndex(l=>l==="input"),i=e.slice(0,r),s=e.slice(r+1),o=t&&i.includes("description")||n&&i.includes("error");return{offsetBottom:t&&s.includes("description")||n&&s.includes("error"),offsetTop:o}}const DT={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},FT=(e,{size:t})=>({label:{"--input-label-size":hr(t),"--input-asterisk-color":void 0},error:{"--input-error-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`},description:{"--input-description-size":t===void 0?void 0:`calc(${hr(t)} - ${A(2)})`}}),dp=Me((e,t)=>{const n=le("InputWrapper",DT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,size:u,variant:c,__staticSelector:f,inputContainer:d,inputWrapperOrder:m,label:y,error:g,description:w,labelProps:p,descriptionProps:h,errorProps:v,labelElement:b,children:E,withAsterisk:C,id:k,required:T,__stylesApiProps:j,mod:L,...U}=n,te=yt({name:["InputWrapper",f],props:j||n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:FT}),Y={size:u,variant:c,__staticSelector:f},Q=W1(k),ae=typeof C=="boolean"?C:T,Z=(v==null?void 0:v.id)||`${Q}-error`,K=(h==null?void 0:h.id)||`${Q}-description`,_=Q,I=!!g&&typeof g!="boolean",V=!!w,q=`${I?Z:""} ${V?K:""}`,ee=q.trim().length>0?q.trim():void 0,ne=(p==null?void 0:p.id)||`${Q}-label`,se=y&&S.jsx(Nl,{labelElement:b,id:ne,htmlFor:_,required:ae,...Y,...p,children:y},"label"),O=V&&S.jsx(_l,{...h,...Y,size:(h==null?void 0:h.size)||Y.size,id:(h==null?void 0:h.id)||K,children:w},"description"),$=S.jsx(x.Fragment,{children:d(E)},"input"),D=I&&x.createElement(Al,{...v,...Y,size:(v==null?void 0:v.size)||Y.size,key:"error",id:(v==null?void 0:v.id)||Z},g),W=m.map(ie=>{switch(ie){case"label":return se;case"input":return $;case"description":return O;case"error":return D;default:return null}});return S.jsx(RT,{value:{getStyles:te,describedBy:ee,inputId:_,labelId:ne,...IT(m,{hasDescription:V,hasError:I})},children:S.jsx(ze,{ref:t,variant:c,size:u,mod:[{error:!!g},L],...te("root"),...U,children:W})})});dp.classes=_t;dp.displayName="@mantine/core/InputWrapper";const VT={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},$T=(e,t,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":Wn(t.size,"input-height"),"--input-fz":hr(t.size),"--input-radius":t.radius===void 0?void 0:lo(t.radius),"--input-left-section-width":t.leftSectionWidth!==void 0?A(t.leftSectionWidth):void 0,"--input-right-section-width":t.rightSectionWidth!==void 0?A(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?Wn(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}}),Pt=Ri((e,t)=>{const n=le("Input",VT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,required:l,__staticSelector:u,__stylesApiProps:c,size:f,wrapperProps:d,error:m,disabled:y,leftSection:g,leftSectionProps:w,leftSectionWidth:p,rightSection:h,rightSectionProps:v,rightSectionWidth:b,rightSectionPointerEvents:E,leftSectionPointerEvents:C,variant:k,vars:T,pointer:j,multiline:L,radius:U,id:te,withAria:Y,withErrorStyles:Q,mod:ae,inputSize:Z,__clearSection:K,__clearable:_,__defaultRightSection:I,...V}=n,{styleProps:q,rest:ee}=ip(V),ne=Pl(),se={offsetBottom:ne==null?void 0:ne.offsetBottom,offsetTop:ne==null?void 0:ne.offsetTop},O=yt({name:["Input",u],props:c||n,classes:_t,className:i,style:s,classNames:r,styles:o,unstyled:a,stylesCtx:se,rootSelector:"wrapper",vars:T,varsResolver:$T}),$=Y?{required:l,disabled:y,"aria-invalid":!!m,"aria-describedby":ne==null?void 0:ne.describedBy,id:(ne==null?void 0:ne.inputId)||te}:{},D=h||_&&K||I;return S.jsx(_T,{value:{size:f||"sm"},children:S.jsxs(ze,{...O("wrapper"),...q,...d,mod:[{error:!!m&&Q,pointer:j,disabled:y,multiline:L,"data-with-right-section":!!h,"data-with-left-section":!!g},ae],variant:k,size:f,children:[g&&S.jsx("div",{...w,"data-position":"left",...O("section",{className:w==null?void 0:w.className,style:w==null?void 0:w.style}),children:g}),S.jsx(ze,{component:"input",...ee,...$,ref:t,required:l,mod:{disabled:y,error:!!m&&Q},variant:k,__size:Z,...O("input")}),D&&S.jsx("div",{...v,"data-position":"right",...O("section",{className:v==null?void 0:v.className,style:v==null?void 0:v.style}),children:D})]})})});Pt.classes=_t;Pt.Wrapper=dp;Pt.Label=Nl;Pt.Error=Al;Pt.Description=_l;Pt.Placeholder=fp;Pt.ClearButton=ww;Pt.displayName="@mantine/core/Input";function BT(e,t,n){const r=le(e,t,n),{label:i,description:s,error:o,required:a,classNames:l,styles:u,className:c,unstyled:f,__staticSelector:d,__stylesApiProps:m,errorProps:y,labelProps:g,descriptionProps:w,wrapperProps:p,id:h,size:v,style:b,inputContainer:E,inputWrapperOrder:C,withAsterisk:k,variant:T,vars:j,mod:L,...U}=r,{styleProps:te,rest:Y}=ip(U),Q={label:i,description:s,error:o,required:a,classNames:l,className:c,__staticSelector:d,__stylesApiProps:m||r,errorProps:y,labelProps:g,descriptionProps:w,unstyled:f,styles:u,size:v,style:b,inputContainer:E,inputWrapperOrder:C,withAsterisk:k,variant:T,id:h,mod:L,...p};return{...Y,classNames:l,styles:u,unstyled:f,wrapperProps:{...Q,...te},inputProps:{required:a,classNames:l,styles:u,unstyled:f,size:v,__staticSelector:d,__stylesApiProps:m||r,error:o,variant:T,id:h}}}const zT={__staticSelector:"InputBase",withAria:!0},Rl=Ri((e,t)=>{const{inputProps:n,wrapperProps:r,...i}=BT("InputBase",zT,e);return S.jsx(Pt.Wrapper,{...r,children:S.jsx(Pt,{...n,...i,ref:t})})});Rl.classes={...Pt.classes,...Pt.Wrapper.classes};Rl.displayName="@mantine/core/InputBase";function af({style:e,size:t=16,...n}){return S.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...e,width:A(t),height:A(t),display:"block"},...n,children:S.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}af.displayName="@mantine/core/AccordionChevron";const[UT,ji]=Qd("Modal component was not found in tree");var Sn={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};const WT={},jl=Me((e,t)=>{const n=le("ModalBody",WT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(pw,{ref:t,...u.getStyles("body",{classNames:r,style:s,styles:o,className:i}),...l})});jl.classes=Sn;jl.displayName="@mantine/core/ModalBody";const HT={},Ml=Me((e,t)=>{const n=le("ModalCloseButton",HT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(hw,{ref:t,...u.getStyles("close",{classNames:r,style:s,styles:o,className:i}),...l})});Ml.classes=Sn;Ml.displayName="@mantine/core/ModalCloseButton";const qT={},Ol=Me((e,t)=>{const n=le("ModalContent",qT,e),{classNames:r,className:i,style:s,styles:o,vars:a,children:l,__hidden:u,...c}=n,f=ji(),d=f.scrollAreaComponent||PT;return S.jsx(mw,{...f.getStyles("content",{className:i,style:s,styles:o,classNames:r}),innerProps:f.getStyles("inner",{className:i,style:s,styles:o,classNames:r}),"data-full-screen":f.fullScreen||void 0,"data-modal-content":!0,"data-hidden":u||void 0,ref:t,...c,children:S.jsx(d,{style:{maxHeight:f.fullScreen?"100dvh":`calc(100dvh - (${A(f.yOffset)} * 2))`},children:l})})});Ol.classes=Sn;Ol.displayName="@mantine/core/ModalContent";const KT={},Ll=Me((e,t)=>{const n=le("ModalHeader",KT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(gw,{ref:t,...u.getStyles("header",{classNames:r,style:s,styles:o,className:i}),...l})});Ll.classes=Sn;Ll.displayName="@mantine/core/ModalHeader";const YT={},Il=Me((e,t)=>{const n=le("ModalOverlay",YT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(yw,{ref:t,...u.getStyles("overlay",{classNames:r,style:s,styles:o,className:i}),...l})});Il.classes=Sn;Il.displayName="@mantine/core/ModalOverlay";const GT={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Ni("modal"),transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},XT=(e,{radius:t,size:n,yOffset:r,xOffset:i})=>({root:{"--modal-radius":t===void 0?void 0:lo(t),"--modal-size":Wn(n,"modal-size"),"--modal-y-offset":A(r),"--modal-x-offset":A(i)}}),Dl=Me((e,t)=>{const n=le("ModalRoot",GT,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,yOffset:u,scrollAreaComponent:c,radius:f,fullScreen:d,centered:m,xOffset:y,__staticSelector:g,...w}=n,p=yt({name:g,classes:Sn,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:XT});return S.jsx(UT,{value:{yOffset:u,scrollAreaComponent:c,getStyles:p,fullScreen:d},children:S.jsx(dw,{ref:t,...p("root"),"data-full-screen":d||void 0,"data-centered":m||void 0,unstyled:a,...w})})});Dl.classes=Sn;Dl.displayName="@mantine/core/ModalRoot";const[QT,ZT]=Zd();function Sw({children:e}){const[t,n]=x.useState([]),[r,i]=x.useState(Ni("modal"));return S.jsx(QT,{value:{stack:t,addModal:(s,o)=>{n(a=>[...new Set([...a,s])]),i(a=>typeof o=="number"&&typeof a=="number"?Math.max(a,o):a)},removeModal:s=>n(o=>o.filter(a=>a!==s)),getZIndex:s=>`calc(${r} + ${t.indexOf(s)} + 1)`,currentId:t[t.length-1],maxZIndex:r},children:e})}Sw.displayName="@mantine/core/ModalStack";const JT={},Fl=Me((e,t)=>{const n=le("ModalTitle",JT,e),{classNames:r,className:i,style:s,styles:o,vars:a,...l}=n,u=ji();return S.jsx(vw,{ref:t,...u.getStyles("title",{classNames:r,style:s,styles:o,className:i}),...l})});Fl.classes=Sn;Fl.displayName="@mantine/core/ModalTitle";const eP={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Ni("modal"),transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},Fe=Me((e,t)=>{const{title:n,withOverlay:r,overlayProps:i,withCloseButton:s,closeButtonProps:o,children:a,radius:l,opened:u,stackId:c,zIndex:f,...d}=le("Modal",eP,e),m=ZT(),y=!!n||s,g=m&&c?{closeOnEscape:m.currentId===c,trapFocus:m.currentId===c,zIndex:m.getZIndex(c)}:{},w=r===!1?!1:c&&m?m.currentId===c:u;return x.useEffect(()=>{m&&c&&(u?m.addModal(c,f||Ni("modal")):m.removeModal(c))},[u,c,f]),S.jsxs(Dl,{ref:t,radius:l,opened:u,zIndex:m&&c?m.getZIndex(c):f,...d,...g,children:[r&&S.jsx(Il,{visible:w,transitionProps:m&&c?{duration:0}:void 0,...i}),S.jsxs(Ol,{radius:l,__hidden:m&&c&&u?c!==m.currentId:!1,children:[y&&S.jsxs(Ll,{children:[n&&S.jsx(Fl,{children:n}),s&&S.jsx(Ml,{...o})]}),S.jsx(jl,{children:a})]})]})});Fe.classes=Sn;Fe.displayName="@mantine/core/Modal";Fe.Root=Dl;Fe.Overlay=Il;Fe.Content=Ol;Fe.Body=jl;Fe.Header=Ll;Fe.Title=Fl;Fe.CloseButton=Ml;Fe.Stack=Sw;const tP={},vs=Me((e,t)=>{const n=le("TextInput",tP,e);return S.jsx(Rl,{component:"input",ref:t,...n,__staticSelector:"TextInput"})});vs.classes=Rl.classes;vs.displayName="@mantine/core/TextInput";const nP="/website2025/assets/website-logo-BW3MCZ3l.svg",Km="/website2025/assets/cloud_a-BYRBgBfe.svg",Ym="/website2025/assets/cloud_b-Dm1AxUKP.svg",xw="/website2025/assets/balloon-BtL5O-K4.svg";function rP(e){if(!/^[0-9a-zA-Z-]+$/.test(e))throw new Error(`[@mantine/use-form] Form name "${e}" is invalid, it should contain only letters, numbers and dashes`)}const iP=typeof window<"u"?x.useLayoutEffect:x.useEffect;function Le(e,t){iP(()=>{if(e)return window.addEventListener(e,t),()=>window.removeEventListener(e,t)},[e])}function sP(e,t){e&&rP(e),Le(`mantine-form:${e}:set-field-value`,n=>t.setFieldValue(n.detail.path,n.detail.value)),Le(`mantine-form:${e}:set-values`,n=>t.setValues(n.detail)),Le(`mantine-form:${e}:set-initial-values`,n=>t.setInitialValues(n.detail)),Le(`mantine-form:${e}:set-errors`,n=>t.setErrors(n.detail)),Le(`mantine-form:${e}:set-field-error`,n=>t.setFieldError(n.detail.path,n.detail.error)),Le(`mantine-form:${e}:clear-field-error`,n=>t.clearFieldError(n.detail)),Le(`mantine-form:${e}:clear-errors`,t.clearErrors),Le(`mantine-form:${e}:reset`,t.reset),Le(`mantine-form:${e}:validate`,t.validate),Le(`mantine-form:${e}:validate-field`,n=>t.validateField(n.detail)),Le(`mantine-form:${e}:reorder-list-item`,n=>t.reorderListItem(n.detail.path,n.detail.payload)),Le(`mantine-form:${e}:remove-list-item`,n=>t.removeListItem(n.detail.path,n.detail.index)),Le(`mantine-form:${e}:insert-list-item`,n=>t.insertListItem(n.detail.path,n.detail.item,n.detail.index)),Le(`mantine-form:${e}:set-dirty`,n=>t.setDirty(n.detail)),Le(`mantine-form:${e}:set-touched`,n=>t.setTouched(n.detail)),Le(`mantine-form:${e}:reset-dirty`,n=>t.resetDirty(n.detail)),Le(`mantine-form:${e}:reset-touched`,t.resetTouched)}function oP(e){return t=>{if(!t)e(t);else if(typeof t=="function")e(t);else if(typeof t=="object"&&"nativeEvent"in t){const{currentTarget:n}=t;n instanceof HTMLInputElement?n.type==="checkbox"?e(n.checked):e(n.value):(n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&e(n.value)}else e(t)}}function lf(e){return e===null||typeof e!="object"?{}:Object.keys(e).reduce((t,n)=>{const r=e[n];return r!=null&&r!==!1&&(t[n]=r),t},{})}function aP(e){const[t,n]=x.useState(lf(e)),r=x.useRef(t),i=x.useCallback(l=>{n(u=>{const c=lf(typeof l=="function"?l(u):l);return r.current=c,c})},[]),s=x.useCallback(()=>i({}),[]),o=x.useCallback(l=>{r.current[l]!==void 0&&i(u=>{const c={...u};return delete c[l],c})},[t]),a=x.useCallback((l,u)=>{u==null||u===!1?o(l):r.current[l]!==u&&i(c=>({...c,[l]:u}))},[t]);return{errorsState:t,setErrors:i,clearErrors:s,setFieldError:a,clearFieldError:o}}function uf(e,t){if(t===null||typeof t!="object")return{};const n={...t};return Object.keys(t).forEach(r=>{r.includes(`${String(e)}.`)&&delete n[r]}),n}function Gm(e,t){const n=e.substring(t.length+1).split(".")[0];return parseInt(n,10)}function Xm(e,t,n,r){if(t===void 0)return n;const i=`${String(e)}`;let s=n;r===-1&&(s=uf(`${i}.${t}`,s));const o={...s},a=new Set;return Object.entries(s).filter(([l])=>{if(!l.startsWith(`${i}.`))return!1;const u=Gm(l,i);return Number.isNaN(u)?!1:u>=t}).forEach(([l,u])=>{const c=Gm(l,i),f=l.replace(`${i}.${c}`,`${i}.${c+r}`);o[f]=u,a.add(f),a.has(l)||delete o[l]}),o}function lP(e,{from:t,to:n},r){const i=`${e}.${t}`,s=`${e}.${n}`,o={...r};return Object.keys(r).every(a=>{let l,u;if(a.startsWith(i)&&(l=a,u=a.replace(i,s)),a.startsWith(s)&&(l=a.replace(s,i),u=a),l&&u){const c=o[l],f=o[u];return f===void 0?delete o[l]:o[l]=f,c===void 0?delete o[u]:o[u]=c,!1}return!0}),o}function Qm(e,t,n){typeof n.value=="object"&&(n.value=Qr(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function Qr(e){if(typeof e!="object")return e;var t=0,n,r,i,s=Object.prototype.toString.call(e);if(s==="[object Object]"?i=Object.create(e.__proto__||null):s==="[object Array]"?i=Array(e.length):s==="[object Set]"?(i=new Set,e.forEach(function(o){i.add(Qr(o))})):s==="[object Map]"?(i=new Map,e.forEach(function(o,a){i.set(Qr(a),Qr(o))})):s==="[object Date]"?i=new Date(+e):s==="[object RegExp]"?i=new RegExp(e.source,e.flags):s==="[object DataView]"?i=new e.constructor(Qr(e.buffer)):s==="[object ArrayBuffer]"?i=e.slice(0):s.slice(-6)==="Array]"&&(i=new e.constructor(e)),i){for(r=Object.getOwnPropertySymbols(e);ts!==t),n):n}function dP(e,t,n,r){const i=Ve(e,r);if(!Array.isArray(i)||i.length<=n)return r;const s=[...i];return s[n]=t,fo(e,s,r)}function pP({$values:e,$errors:t,$status:n}){const r=x.useCallback((a,l)=>{n.clearFieldDirty(a),t.setErrors(u=>lP(a,l,u)),e.setValues({values:uP(a,l,e.refValues.current),updateState:!0})},[]),i=x.useCallback((a,l)=>{n.clearFieldDirty(a),t.setErrors(u=>Xm(a,l,u,-1)),e.setValues({values:fP(a,l,e.refValues.current),updateState:!0})},[]),s=x.useCallback((a,l,u)=>{n.clearFieldDirty(a),t.setErrors(c=>Xm(a,u,c,1)),e.setValues({values:cP(a,l,u,e.refValues.current),updateState:!0})},[]),o=x.useCallback((a,l,u)=>{n.clearFieldDirty(a),e.setValues({values:dP(a,u,l,e.refValues.current),updateState:!0})},[]);return{reorderListItem:r,removeListItem:i,insertListItem:s,replaceListItem:o}}var hP=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=r;i--!==0;){var o=s[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n};const Uo=ol(hP);function Qi(e,t){const n=Object.keys(e);if(typeof t=="string"){const r=n.filter(i=>i.startsWith(`${t}.`));return e[t]||r.some(i=>e[i])||!1}return n.some(r=>e[r])}function mP({initialDirty:e,initialTouched:t,mode:n,$values:r}){const[i,s]=x.useState(t),[o,a]=x.useState(e),l=x.useRef(t),u=x.useRef(e),c=x.useCallback(C=>{const k=typeof C=="function"?C(l.current):C;l.current=k,n==="controlled"&&s(k)},[]),f=x.useCallback((C,k=!1)=>{const T=typeof C=="function"?C(u.current):C;u.current=T,(n==="controlled"||k)&&a(T)},[]),d=x.useCallback(()=>c({}),[]),m=x.useCallback(C=>{const k=C?{...r.refValues.current,...C}:r.refValues.current;r.setValuesSnapshot(k),f({})},[]),y=x.useCallback((C,k)=>{c(T=>Qi(T,C)===k?T:{...T,[C]:k})},[]),g=x.useCallback((C,k,T)=>{f(j=>Qi(j,C)===k?j:{...j,[C]:k},T)},[]),w=x.useCallback((C,k)=>{const T=Qi(u.current,C),j=!Uo(Ve(C,r.getValuesSnapshot()),k),L=uf(C,u.current);L[C]=j,f(L,T!==j)},[]),p=x.useCallback(C=>Qi(l.current,C),[]),h=x.useCallback(C=>f(k=>{if(typeof C!="string")return k;const T=uf(C,k);return delete T[C],Uo(T,k)?k:T}),[]),v=x.useCallback(C=>{if(C){const T=Ve(C,u.current);if(typeof T=="boolean")return T;const j=Ve(C,r.refValues.current),L=Ve(C,r.valuesSnapshot.current);return!Uo(j,L)}return Object.keys(u.current).length>0?Qi(u.current):!Uo(r.refValues.current,r.valuesSnapshot.current)},[]),b=x.useCallback(()=>u.current,[]),E=x.useCallback(()=>l.current,[]);return{touchedState:i,dirtyState:o,touchedRef:l,dirtyRef:u,setTouched:c,setDirty:f,resetDirty:m,resetTouched:d,isTouched:p,setFieldTouched:y,setFieldDirty:g,setTouchedState:s,setDirtyState:a,clearFieldDirty:h,isDirty:v,getDirty:b,getTouched:E,setCalculatedFieldDirty:w}}function gP({initialValues:e,onValuesChange:t,mode:n}){const r=x.useRef(!1),[i,s]=x.useState(e||{}),o=x.useRef(i),a=x.useRef(i),l=x.useCallback(({values:g,subscribers:w,updateState:p=!0,mergeWithPreviousValues:h=!0})=>{const v=o.current,b=g instanceof Function?g(o.current):g,E=h?{...v,...b}:b;o.current=E,p&&s(E),t==null||t(E,v),w==null||w.filter(Boolean).forEach(C=>C({updatedValues:E,previousValues:v}))},[t]),u=x.useCallback(g=>{var h;const w=Ve(g.path,o.current),p=g.value instanceof Function?g.value(w):g.value;if(w!==p){const v=o.current,b=fo(g.path,p,o.current);l({values:b,updateState:g.updateState}),(h=g.subscribers)==null||h.filter(Boolean).forEach(E=>E({path:g.path,updatedValues:b,previousValues:v}))}},[l]),c=x.useCallback(g=>{a.current=g},[]),f=x.useCallback((g,w)=>{r.current||(r.current=!0,l({values:g,updateState:n==="controlled"}),c(g),w())},[l]),d=x.useCallback(()=>{l({values:a.current,updateState:!0,mergeWithPreviousValues:!1})},[l]),m=x.useCallback(()=>o.current,[]),y=x.useCallback(()=>a.current,[]);return{initialized:r,stateValues:i,refValues:o,valuesSnapshot:a,setValues:l,setFieldValue:u,resetValues:d,setValuesSnapshot:c,initialize:f,getValues:m,getValuesSnapshot:y}}function yP({$status:e}){const t=x.useRef({}),n=x.useCallback((i,s)=>{x.useEffect(()=>(t.current[i]=t.current[i]||[],t.current[i].push(s),()=>{t.current[i]=t.current[i].filter(o=>o!==s)}),[s])},[]),r=x.useCallback(i=>t.current[i]?t.current[i].map(s=>o=>s({previousValue:Ve(i,o.previousValues),value:Ve(i,o.updatedValues),touched:e.isTouched(i),dirty:e.isDirty(i)})):[],[]);return{subscribers:t,watch:n,getFieldSubscribers:r}}function Zm(e,t){return e?`${e}-${t.toString()}`:t.toString()}function Jm(e){const t=lf(e);return{hasErrors:Object.keys(t).length>0,errors:t}}function cf(e,t,n="",r={}){return typeof e!="object"||e===null?r:Object.keys(e).reduce((i,s)=>{const o=e[s],a=`${n===""?"":`${n}.`}${s}`,l=Ve(a,t);let u=!1;return typeof o=="function"&&(i[a]=o(l,t,a)),typeof o=="object"&&Array.isArray(l)&&(u=!0,l.forEach((c,f)=>cf(o,t,`${a}.${f}`,i))),typeof o=="object"&&typeof l=="object"&&l!==null&&(u||cf(o,t,a,i)),i},r)}function ff(e,t){return Jm(typeof e=="function"?e(t):cf(e,t))}function Wo(e,t,n){if(typeof e!="string")return{hasError:!1,error:null};const r=ff(t,n),i=Object.keys(r.errors).find(s=>e.split(".").every((o,a)=>o===s.split(".")[a]));return{hasError:!!i,error:i?r.errors[i]:null}}const vP="__MANTINE_FORM_INDEX__";function eg(e,t){return t?typeof t=="boolean"?t:Array.isArray(t)?t.includes(e.replace(/[.][0-9]+/g,`.${vP}`)):!1:!1}function wP({name:e,mode:t="controlled",initialValues:n,initialErrors:r={},initialDirty:i={},initialTouched:s={},clearInputErrorOnChange:o=!0,validateInputOnChange:a=!1,validateInputOnBlur:l=!1,onValuesChange:u,transformValues:c=g=>g,enhanceGetInputProps:f,validate:d,onSubmitPreventDefault:m="always",touchTrigger:y="change"}={}){const g=aP(r),w=gP({initialValues:n,onValuesChange:u,mode:t}),p=mP({initialDirty:i,initialTouched:s,$values:w,mode:t}),h=pP({$values:w,$errors:g,$status:p}),v=yP({$status:p}),[b,E]=x.useState(0),[C,k]=x.useState({}),[T,j]=x.useState(!1),L=x.useCallback(()=>{w.resetValues(),g.clearErrors(),p.resetDirty(),p.resetTouched(),t==="uncontrolled"&&E(O=>O+1)},[]),U=x.useCallback(O=>{o&&g.clearErrors(),t==="uncontrolled"&&E($=>$+1),Object.keys(v.subscribers.current).forEach($=>{const D=Ve($,w.refValues.current),W=Ve($,O);D!==W&&v.getFieldSubscribers($).forEach(ie=>ie({previousValues:O,updatedValues:w.refValues.current}))})},[o]),te=x.useCallback(O=>{const $=w.refValues.current;w.initialize(O,()=>t==="uncontrolled"&&E(D=>D+1)),U($)},[U]),Y=x.useCallback((O,$,D)=>{const W=eg(O,a),ie=$ instanceof Function?$(Ve(O,w.refValues.current)):$;p.setCalculatedFieldDirty(O,ie),y==="change"&&p.setFieldTouched(O,!0),!W&&o&&g.clearFieldError(O),w.setFieldValue({path:O,value:$,updateState:t==="controlled",subscribers:[...v.getFieldSubscribers(O),W?M=>{const J=Wo(O,d,M.updatedValues);J.hasError?g.setFieldError(O,J.error):g.clearFieldError(O)}:null,(D==null?void 0:D.forceUpdate)!==!1&&t!=="controlled"?()=>k(M=>({...M,[O]:(M[O]||0)+1})):null]})},[u,d]),Q=x.useCallback(O=>{const $=w.refValues.current;w.setValues({values:O,updateState:t==="controlled"}),U($)},[u,U]),ae=x.useCallback(()=>{const O=ff(d,w.refValues.current);return g.setErrors(O.errors),O},[d]),Z=x.useCallback(O=>{const $=Wo(O,d,w.refValues.current);return $.hasError?g.setFieldError(O,$.error):g.clearFieldError(O),$},[d]),K=(O,{type:$="input",withError:D=!0,withFocus:W=!0,...ie}={})=>{const J={onChange:oP(ge=>Y(O,ge,{forceUpdate:!1})),"data-path":Zm(e,O)};return D&&(J.error=g.errorsState[O]),$==="checkbox"?J[t==="controlled"?"checked":"defaultChecked"]=Ve(O,w.refValues.current):J[t==="controlled"?"value":"defaultValue"]=Ve(O,w.refValues.current),W&&(J.onFocus=()=>p.setFieldTouched(O,!0),J.onBlur=()=>{if(eg(O,l)){const ge=Wo(O,d,w.refValues.current);ge.hasError?g.setFieldError(O,ge.error):g.clearFieldError(O)}}),Object.assign(J,f==null?void 0:f({inputProps:J,field:O,options:{type:$,withError:D,withFocus:W,...ie},form:se}))},_=(O,$)=>D=>{m==="always"&&(D==null||D.preventDefault());const W=ae();if(W.hasErrors)m==="validation-failed"&&(D==null||D.preventDefault()),$==null||$(W.errors,w.refValues.current,D);else{const ie=O==null?void 0:O(c(w.refValues.current),D);ie instanceof Promise&&(j(!0),ie.finally(()=>j(!1)))}},I=O=>c(O||w.refValues.current),V=x.useCallback(O=>{O.preventDefault(),L()},[]),q=x.useCallback(O=>O?!Wo(O,d,w.refValues.current).hasError:!ff(d,w.refValues.current).hasErrors,[d]),ee=O=>`${b}-${O}-${C[O]||0}`,ne=x.useCallback(O=>document.querySelector(`[data-path="${Zm(e,O)}"]`),[]),se={watch:v.watch,initialized:w.initialized.current,values:w.stateValues,getValues:w.getValues,setInitialValues:w.setValuesSnapshot,initialize:te,setValues:Q,setFieldValue:Y,submitting:T,setSubmitting:j,errors:g.errorsState,setErrors:g.setErrors,setFieldError:g.setFieldError,clearFieldError:g.clearFieldError,clearErrors:g.clearErrors,resetDirty:p.resetDirty,setTouched:p.setTouched,setDirty:p.setDirty,isTouched:p.isTouched,resetTouched:p.resetTouched,isDirty:p.isDirty,getTouched:p.getTouched,getDirty:p.getDirty,reorderListItem:h.reorderListItem,insertListItem:h.insertListItem,removeListItem:h.removeListItem,replaceListItem:h.replaceListItem,reset:L,validate:ae,validateField:Z,getInputProps:K,onSubmit:_,onReset:V,isValid:q,getTransformedValues:I,key:ee,getInputNode:ne};return sP(e,se),se}function Ew(e,t){return function(){return e.apply(t,arguments)}}const{toString:SP}=Object.prototype,{getPrototypeOf:pp}=Object,Vl=(e=>t=>{const n=SP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dt=e=>(e=e.toLowerCase(),t=>Vl(t)===e),$l=e=>t=>typeof t===e,{isArray:Mi}=Array,qs=$l("undefined");function xP(e){return e!==null&&!qs(e)&&e.constructor!==null&&!qs(e.constructor)&&ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Cw=Dt("ArrayBuffer");function bP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Cw(e.buffer),t}const EP=$l("string"),ft=$l("function"),kw=$l("number"),Bl=e=>e!==null&&typeof e=="object",CP=e=>e===!0||e===!1,da=e=>{if(Vl(e)!=="object")return!1;const t=pp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},kP=Dt("Date"),TP=Dt("File"),PP=Dt("Blob"),_P=Dt("FileList"),AP=e=>Bl(e)&&ft(e.pipe),NP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ft(e.append)&&((t=Vl(e))==="formdata"||t==="object"&&ft(e.toString)&&e.toString()==="[object FormData]"))},RP=Dt("URLSearchParams"),[jP,MP,OP,LP]=["ReadableStream","Request","Response","Headers"].map(Dt),IP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function po(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Mi(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pw=e=>!qs(e)&&e!==ur;function df(){const{caseless:e}=Pw(this)&&this||{},t={},n=(r,i)=>{const s=e&&Tw(t,i)||i;da(t[s])&&da(r)?t[s]=df(t[s],r):da(r)?t[s]=df({},r):Mi(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(po(t,(i,s)=>{n&&ft(i)?e[s]=Ew(i,n):e[s]=i},{allOwnKeys:r}),e),FP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),VP=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$P=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&pp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},BP=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zP=e=>{if(!e)return null;if(Mi(e))return e;let t=e.length;if(!kw(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},UP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&pp(Uint8Array)),WP=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},HP=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},qP=Dt("HTMLFormElement"),KP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),tg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),YP=Dt("RegExp"),_w=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};po(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},GP=e=>{_w(e,(t,n)=>{if(ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ft(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XP=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Mi(e)?r(e):r(String(e).split(t)),n},QP=()=>{},ZP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Bu="abcdefghijklmnopqrstuvwxyz",ng="0123456789",Aw={DIGIT:ng,ALPHA:Bu,ALPHA_DIGIT:Bu+Bu.toUpperCase()+ng},JP=(e=16,t=Aw.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function e_(e){return!!(e&&ft(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const t_=e=>{const t=new Array(10),n=(r,i)=>{if(Bl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=Mi(r)?[]:{};return po(r,(o,a)=>{const l=n(o,i+1);!qs(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},n_=Dt("AsyncFunction"),r_=e=>e&&(Bl(e)||ft(e))&&ft(e.then)&&ft(e.catch),Nw=((e,t)=>e?setImmediate:t?((n,r)=>(ur.addEventListener("message",({source:i,data:s})=>{i===ur&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),ur.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ft(ur.postMessage)),i_=typeof queueMicrotask<"u"?queueMicrotask.bind(ur):typeof process<"u"&&process.nextTick||Nw,P={isArray:Mi,isArrayBuffer:Cw,isBuffer:xP,isFormData:NP,isArrayBufferView:bP,isString:EP,isNumber:kw,isBoolean:CP,isObject:Bl,isPlainObject:da,isReadableStream:jP,isRequest:MP,isResponse:OP,isHeaders:LP,isUndefined:qs,isDate:kP,isFile:TP,isBlob:PP,isRegExp:YP,isFunction:ft,isStream:AP,isURLSearchParams:RP,isTypedArray:UP,isFileList:_P,forEach:po,merge:df,extend:DP,trim:IP,stripBOM:FP,inherits:VP,toFlatObject:$P,kindOf:Vl,kindOfTest:Dt,endsWith:BP,toArray:zP,forEachEntry:WP,matchAll:HP,isHTMLForm:qP,hasOwnProperty:tg,hasOwnProp:tg,reduceDescriptors:_w,freezeMethods:GP,toObjectSet:XP,toCamelCase:KP,noop:QP,toFiniteNumber:ZP,findKey:Tw,global:ur,isContextDefined:Pw,ALPHABET:Aw,generateString:JP,isSpecCompliantForm:e_,toJSONObject:t_,isAsyncFn:n_,isThenable:r_,setImmediate:Nw,asap:i_};function H(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}P.inherits(H,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}});const Rw=H.prototype,jw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jw[e]={value:e}});Object.defineProperties(H,jw);Object.defineProperty(Rw,"isAxiosError",{value:!0});H.from=(e,t,n,r,i,s)=>{const o=Object.create(Rw);return P.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),H.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const s_=null;function pf(e){return P.isPlainObject(e)||P.isArray(e)}function Mw(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function rg(e,t,n){return e?e.concat(t).map(function(i,s){return i=Mw(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function o_(e){return P.isArray(e)&&!e.some(pf)}const a_=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function zl(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!P.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(P.isDate(y))return y.toISOString();if(!l&&P.isBlob(y))throw new H("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(y)||P.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,g,w){let p=y;if(y&&!w&&typeof y=="object"){if(P.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(P.isArray(y)&&o_(y)||(P.isFileList(y)||P.endsWith(g,"[]"))&&(p=P.toArray(y)))return g=Mw(g),p.forEach(function(v,b){!(P.isUndefined(v)||v===null)&&t.append(o===!0?rg([g],b,s):o===null?g:g+"[]",u(v))}),!1}return pf(y)?!0:(t.append(rg(w,g,s),u(y)),!1)}const f=[],d=Object.assign(a_,{defaultVisitor:c,convertValue:u,isVisitable:pf});function m(y,g){if(!P.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(y),P.forEach(y,function(p,h){(!(P.isUndefined(p)||p===null)&&i.call(t,p,P.isString(h)?h.trim():h,g,d))===!0&&m(p,g?g.concat(h):[h])}),f.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return m(e),t}function ig(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hp(e,t){this._pairs=[],e&&zl(e,this,t)}const Ow=hp.prototype;Ow.append=function(t,n){this._pairs.push([t,n])};Ow.toString=function(t){const n=t?function(r){return t.call(this,r,ig)}:ig;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function l_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lw(e,t,n){if(!t)return e;const r=n&&n.encode||l_;P.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(t,n):s=P.isURLSearchParams(t)?t.toString():new hp(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class sg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Iw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u_=typeof URLSearchParams<"u"?URLSearchParams:hp,c_=typeof FormData<"u"?FormData:null,f_=typeof Blob<"u"?Blob:null,d_={isBrowser:!0,classes:{URLSearchParams:u_,FormData:c_,Blob:f_},protocols:["http","https","file","blob","url","data"]},mp=typeof window<"u"&&typeof document<"u",hf=typeof navigator=="object"&&navigator||void 0,p_=mp&&(!hf||["ReactNative","NativeScript","NS"].indexOf(hf.product)<0),h_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",m_=mp&&window.location.href||"http://localhost",g_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:mp,hasStandardBrowserEnv:p_,hasStandardBrowserWebWorkerEnv:h_,navigator:hf,origin:m_},Symbol.toStringTag,{value:"Module"})),Ke={...g_,...d_};function y_(e,t){return zl(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ke.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function v_(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function w_(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&P.isArray(i[o])&&(i[o]=w_(i[o])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,i)=>{t(v_(r),i,n,0)}),n}return null}function S_(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const ho={transitional:Iw,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=P.isObject(t);if(s&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return i?JSON.stringify(Dw(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y_(t,this.formSerializer).toString();if((a=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return zl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),S_(t)):t}],transformResponse:[function(t){const n=this.transitional||ho.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{ho.headers[e]={}});const x_=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),b_=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&x_[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},og=Symbol("internals");function Zi(e){return e&&String(e).trim().toLowerCase()}function pa(e){return e===!1||e==null?e:P.isArray(e)?e.map(pa):String(e)}function E_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const C_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zu(e,t,n,r,i){if(P.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function k_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function T_(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class at{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=Zi(l);if(!c)throw new Error("header name must be a non-empty string");const f=P.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=pa(a))}const o=(a,l)=>P.forEach(a,(u,c)=>s(u,c,l));if(P.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(P.isString(t)&&(t=t.trim())&&!C_(t))o(b_(t),n);else if(P.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Zi(t),t){const r=P.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return E_(i);if(P.isFunction(n))return n.call(this,i,r);if(P.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Zi(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||zu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=Zi(o),o){const a=P.findKey(r,o);a&&(!n||zu(r,r[a],a,n))&&(delete r[a],i=!0)}}return P.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||zu(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return P.forEach(this,(i,s)=>{const o=P.findKey(r,s);if(o){n[o]=pa(i),delete n[s];return}const a=t?k_(s):String(s).trim();a!==s&&delete n[s],n[a]=pa(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[og]=this[og]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=Zi(o);r[a]||(T_(i,o),r[a]=!0)}return P.isArray(t)?t.forEach(s):s(t),this}}at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.reduceDescriptors(at.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});P.freezeMethods(at);function Uu(e,t){const n=this||ho,r=t||n,i=at.from(r.headers);let s=r.data;return P.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Fw(e){return!!(e&&e.__CANCEL__)}function Oi(e,t,n){H.call(this,e??"canceled",H.ERR_CANCELED,t,n),this.name="CanceledError"}P.inherits(Oi,H,{__CANCEL__:!0});function Vw(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function P_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function __(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let f=s,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{n=c,i=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?o(u,c):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},r-f)))},()=>i&&o(i)]}const Ka=(e,t,n=3)=>{let r=0;const i=__(50,250);return A_(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-r,u=i(l),c=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},ag=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},lg=e=>(...t)=>P.asap(()=>e(...t)),N_=Ke.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ke.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,R_=Ke.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];P.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),P.isString(r)&&o.push("path="+r),P.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function j_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $w(e,t){return e&&!j_(t)?M_(e,t):t}const ug=e=>e instanceof at?{...e}:e;function Cr(e,t){t=t||{};const n={};function r(u,c,f,d){return P.isPlainObject(u)&&P.isPlainObject(c)?P.merge.call({caseless:d},u,c):P.isPlainObject(c)?P.merge({},c):P.isArray(c)?c.slice():c}function i(u,c,f,d){if(P.isUndefined(c)){if(!P.isUndefined(u))return r(void 0,u,f,d)}else return r(u,c,f,d)}function s(u,c){if(!P.isUndefined(c))return r(void 0,c)}function o(u,c){if(P.isUndefined(c)){if(!P.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c,f)=>i(ug(u),ug(c),f,!0)};return P.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||i,d=f(e[c],t[c],c);P.isUndefined(d)&&f!==a||(n[c]=d)}),n}const Bw=e=>{const t=Cr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=t;t.headers=o=at.from(o),t.url=Lw($w(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(P.isFormData(n)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ke.hasStandardBrowserEnv&&(r&&P.isFunction(r)&&(r=r(t)),r||r!==!1&&N_(t.url))){const u=i&&s&&R_.read(s);u&&o.set(i,u)}return t},O_=typeof XMLHttpRequest<"u",L_=O_&&function(e){return new Promise(function(n,r){const i=Bw(e);let s=i.data;const o=at.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=i,c,f,d,m,y;function g(){m&&m(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function p(){if(!w)return;const v=at.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:v,config:e,request:w};Vw(function(k){n(k),g()},function(k){r(k),g()},E),w=null}"onloadend"in w?w.onloadend=p:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(p)},w.onabort=function(){w&&(r(new H("Request aborted",H.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new H("Network Error",H.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||Iw;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),r(new H(b,E.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,w)),w=null},s===void 0&&o.setContentType(null),"setRequestHeader"in w&&P.forEach(o.toJSON(),function(b,E){w.setRequestHeader(E,b)}),P.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),u&&([d,y]=Ka(u,!0),w.addEventListener("progress",d)),l&&w.upload&&([f,m]=Ka(l),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(c=v=>{w&&(r(!v||v.type?new Oi(null,e,w):v),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const h=P_(i.url);if(h&&Ke.protocols.indexOf(h)===-1){r(new H("Unsupported protocol "+h+":",H.ERR_BAD_REQUEST,e));return}w.send(s||null)})},I_=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const s=function(u){if(!i){i=!0,a();const c=u instanceof Error?u:this.reason;r.abort(c instanceof H?c:new Oi(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,s(new H(`timeout ${t} of ms exceeded`,H.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>P.asap(a),l}},D_=function*(e,t){let n=e.byteLength;if(n{const i=F_(e,t);let s=0,o,a=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let d=s+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},Ul=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",zw=Ul&&typeof ReadableStream=="function",$_=Ul&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Uw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},B_=zw&&Uw(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),fg=64*1024,mf=zw&&Uw(()=>P.isReadableStream(new Response("").body)),Ya={stream:mf&&(e=>e.body)};Ul&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ya[t]&&(Ya[t]=P.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new H(`Response type '${t}' is not supported`,H.ERR_NOT_SUPPORT,r)})})})(new Response);const z_=async e=>{if(e==null)return 0;if(P.isBlob(e))return e.size;if(P.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(P.isArrayBufferView(e)||P.isArrayBuffer(e))return e.byteLength;if(P.isURLSearchParams(e)&&(e=e+""),P.isString(e))return(await $_(e)).byteLength},U_=async(e,t)=>{const n=P.toFiniteNumber(e.getContentLength());return n??z_(t)},W_=Ul&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Bw(e);u=u?(u+"").toLowerCase():"text";let m=I_([i,s&&s.toAbortSignal()],o),y;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let w;try{if(l&&B_&&n!=="get"&&n!=="head"&&(w=await U_(c,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(P.isFormData(r)&&(C=E.headers.get("content-type"))&&c.setContentType(C),E.body){const[k,T]=ag(w,Ka(lg(l)));r=cg(E.body,fg,k,T)}}P.isString(f)||(f=f?"include":"omit");const p="credentials"in Request.prototype;y=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:p?f:void 0});let h=await fetch(y);const v=mf&&(u==="stream"||u==="response");if(mf&&(a||v&&g)){const E={};["status","statusText","headers"].forEach(j=>{E[j]=h[j]});const C=P.toFiniteNumber(h.headers.get("content-length")),[k,T]=a&&ag(C,Ka(lg(a),!0))||[];h=new Response(cg(h.body,fg,k,()=>{T&&T(),g&&g()}),E)}u=u||"text";let b=await Ya[P.findKey(Ya,u)||"text"](h,e);return!v&&g&&g(),await new Promise((E,C)=>{Vw(E,C,{data:b,headers:at.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:y})})}catch(p){throw g&&g(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new H("Network Error",H.ERR_NETWORK,e,y),{cause:p.cause||p}):H.from(p,p&&p.code,e,y)}}),gf={http:s_,xhr:L_,fetch:W_};P.forEach(gf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const dg=e=>`- ${e}`,H_=e=>P.isFunction(e)||e===null||e===!1,Ww={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : `+s.map(dg).join(` @@ -93,11 +93,11 @@ Error generating stack: `+s.message+` top: ${l}px !important; left: ${u}px !important; } - `),()=>{document.head.removeChild(c)}},[t]),S.jsx(X_,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const Z_=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const a=vp(J_),l=x.useId(),u=x.useCallback(f=>{a.set(f,!0);for(const d of a.values())if(!d)return;r&&r()},[a,r]),c=x.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(a.set(f,!1),()=>a.delete(f))}),s?[Math.random(),u]:[n,u]);return x.useMemo(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),x.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),o==="popLayout"&&(e=S.jsx(Q_,{isPresent:n,children:e})),S.jsx(Hl.Provider,{value:c,children:e})};function J_(){return new Map}function Kw(e=!0){const t=x.useContext(Hl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=x.useId();x.useEffect(()=>{e&&i(s)},[e]);const o=x.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Ho=e=>e.key||"";function mg(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const Sp=typeof window<"u",Yw=Sp?x.useLayoutEffect:x.useEffect,eA=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{const[a,l]=Kw(o),u=x.useMemo(()=>mg(e),[e]),c=o&&!a?[]:u.map(Ho),f=x.useRef(!0),d=x.useRef(u),m=vp(()=>new Map),[y,g]=x.useState(u),[w,p]=x.useState(u);Yw(()=>{f.current=!1,d.current=u;for(let b=0;b{const E=Ho(b),C=o&&!a?!1:u===w||c.includes(E),k=()=>{if(m.has(E))m.set(E,!0);else return;let T=!0;m.forEach(j=>{j||(T=!1)}),T&&(v==null||v(),p(d.current),o&&(l==null||l()),r&&r())};return S.jsx(Z_,{isPresent:C,initial:!f.current||n?void 0:!1,custom:C?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:C?void 0:k,children:b},E)})})},dt=e=>e;let vf=dt;const tA={skipAnimations:!1,useManualTiming:!1};function nA(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&r?t:n;return c&&s.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const qo=["read","resolveKeyframes","update","preRender","render","postRender"],rA=40;function Gw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=qo.reduce((p,h)=>(p[h]=nA(s),p),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:f,postRender:d}=o,m=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,rA),1),i.timestamp=p,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},y=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:qo.reduce((p,h)=>{const v=o[h];return p[h]=(b,E=!1,C=!1)=>(n||y(),v.schedule(b,E,C)),p},{}),cancel:p=>{for(let h=0;hgg[e].some(n=>!!t[n])};function iA(e){for(const t in e)bi[t]={...bi[t],...e[t]}}const sA=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 Ga(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sA.has(e)}let Qw=e=>!Ga(e);function oA(e){e&&(Qw=t=>t.startsWith("on")?!Ga(t):e(t))}try{oA(require("@emotion/is-prop-valid").default)}catch{}function aA(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Qw(i)||n===!0&&Ga(i)||!t&&!Ga(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function lA(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const ql=x.createContext({});function Ks(e){return typeof e=="string"||Array.isArray(e)}function Kl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const xp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bp=["initial",...xp];function Yl(e){return Kl(e.animate)||bp.some(t=>Ks(e[t]))}function Zw(e){return!!(Yl(e)||e.variants)}function uA(e,t){if(Yl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ks(n)?n:void 0,animate:Ks(r)?r:void 0}}return e.inherit!==!1?t:{}}function cA(e){const{initial:t,animate:n}=uA(e,x.useContext(ql));return x.useMemo(()=>({initial:t,animate:n}),[yg(t),yg(n)])}function yg(e){return Array.isArray(e)?e.join(" "):e}const fA=Symbol.for("motionComponentSymbol");function Zr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dA(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Zr(n)&&(n.current=r))},[t])}const Ep=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pA="framerAppearId",Jw="data-"+Ep(pA),{schedule:Cp,cancel:OO}=Gw(queueMicrotask,!1),eS=x.createContext({});function hA(e,t,n,r,i){var s,o;const{visualElement:a}=x.useContext(ql),l=x.useContext(Xw),u=x.useContext(Hl),c=x.useContext(wp).reducedMotion,f=x.useRef(null);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,m=x.useContext(eS);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&mA(f.current,n,i,m);const y=x.useRef(!1);x.useInsertionEffect(()=>{d&&y.current&&d.update(n,u)});const g=n[Jw],w=x.useRef(!!g&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return Yw(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Cp.render(d.render),w.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!w.current&&d.animationState&&d.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)===null||p===void 0||p.call(window,g)}),w.current=!1))}),d}function mA(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tS(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&Zr(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function tS(e){if(e)return e.options.allowProjection!==!1?e.projection:tS(e.parent)}function gA({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var s,o;e&&iA(e);function a(u,c){let f;const d={...x.useContext(wp),...u,layoutId:yA(u)},{isStatic:m}=d,y=cA(u),g=r(u,m);if(!m&&Sp){vA();const w=wA(d);f=w.MeasureLayout,y.visualElement=hA(i,g,d,t,w.ProjectionNode)}return S.jsxs(ql.Provider,{value:y,children:[f&&y.visualElement?S.jsx(f,{visualElement:y.visualElement,...d}):null,n(i,u,dA(g,y.visualElement,c),g,m,y.visualElement)]})}a.displayName=`motion.${typeof i=="string"?i:`create(${(o=(s=i.displayName)!==null&&s!==void 0?s:i.name)!==null&&o!==void 0?o:""})`}`;const l=x.forwardRef(a);return l[fA]=i,l}function yA({layoutId:e}){const t=x.useContext(yp).id;return t&&e!==void 0?t+"-"+e:e}function vA(e,t){x.useContext(Xw).strict}function wA(e){const{drag:t,layout:n}=bi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const SA=["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 kp(e){return typeof e!="string"||e.includes("-")?!1:!!(SA.indexOf(e)>-1||/[A-Z]/u.test(e))}function vg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Tp(e,t,n,r){if(typeof t=="function"){const[i,s]=vg(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=vg(r);t=t(n!==void 0?n:e.custom,i,s)}return t}const wf=e=>Array.isArray(e),xA=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),bA=e=>wf(e)?e[e.length-1]||0:e,Ye=e=>!!(e&&e.getVelocity);function ma(e){const t=Ye(e)?e.get():e;return xA(t)?t.toValue():t}function EA({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,s){const o={latestValues:CA(r,i,s,e),renderState:t()};return n&&(o.onMount=a=>n({props:r,current:a,...o}),o.onUpdate=a=>n(a)),o}const nS=e=>(t,n)=>{const r=x.useContext(ql),i=x.useContext(Hl),s=()=>EA(e,t,r,i);return n?s():vp(s)};function CA(e,t,n,r){const i={},s=r(e,{});for(const d in s)i[d]=ma(s[d]);let{initial:o,animate:a}=e;const l=Yl(e),u=Zw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?a:o;if(f&&typeof f!="boolean"&&!Kl(f)){const d=Array.isArray(f)?f:[f];for(let m=0;mt=>typeof t=="string"&&t.startsWith(e),iS=rS("--"),kA=rS("var(--"),Pp=e=>kA(e)?TA.test(e.split("/*")[0].trim()):!1,TA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,sS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,hn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Ys={...Ii,transform:e=>hn(0,1,e)},Ko={...Ii,default:1},mo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=mo("deg"),Gt=mo("%"),z=mo("px"),PA=mo("vh"),_A=mo("vw"),wg={...Gt,parse:e=>Gt.parse(e)/100,transform:e=>Gt.transform(e*100)},AA={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,backgroundPositionX:z,backgroundPositionY:z},NA={rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:Ko,scaleX:Ko,scaleY:Ko,scaleZ:Ko,skew:kn,skewX:kn,skewY:kn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Ys,originX:wg,originY:wg,originZ:z},Sg={...Ii,transform:Math.round},_p={...AA,...NA,zIndex:Sg,size:z,fillOpacity:Ys,strokeOpacity:Ys,numOctaves:Sg},RA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jA=Li.length;function MA(e,t,n){let r="",i=!0;for(let s=0;s({style:{},transform:{},transformOrigin:{},vars:{}}),oS=()=>({...Rp(),attrs:{}}),jp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function aS(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const lS=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"]);function uS(e,t,n,r){aS(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(lS.has(i)?i:Ep(i),t.attrs[i])}const Xa={};function FA(e){Object.assign(Xa,e)}function cS(e,{layout:t,layoutId:n}){return Nr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Xa[e]||e==="opacity")}function Mp(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(Ye(i[o])||t.style&&Ye(t.style[o])||cS(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function fS(e,t,n){const r=Mp(e,t,n);for(const i in e)if(Ye(e[i])||Ye(t[i])){const s=Li.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function VA(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const bg=["x","y","width","height","cx","cy","r"],$A={useVisualState:nS({scrapeMotionValuesFromProps:fS,createRenderState:oS,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let s=!!e.drag;if(!s){for(const a in i)if(Nr.has(a)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let a=0;a{VA(n,r),pe.render(()=>{Np(r,i,jp(n.tagName),e.transformTemplate),uS(n,r)})})}})},BA={useVisualState:nS({scrapeMotionValuesFromProps:Mp,createRenderState:Rp})};function dS(e,t,n){for(const r in t)!Ye(t[r])&&!cS(r,n)&&(e[r]=t[r])}function zA({transformTemplate:e},t){return x.useMemo(()=>{const n=Rp();return Ap(n,t,e),Object.assign({},n.vars,n.style)},[t])}function UA(e,t){const n=e.style||{},r={};return dS(r,n,e),Object.assign(r,zA(e,t)),r}function WA(e,t){const n={},r=UA(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function HA(e,t,n,r){const i=x.useMemo(()=>{const s=oS();return Np(s,t,jp(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};dS(s,e.style,e),i.style={...s,...i.style}}return i}function qA(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(kp(n)?HA:WA)(r,s,o,n),u=aA(r,typeof n=="string",e),c=n!==x.Fragment?{...u,...l,ref:i}:{},{children:f}=r,d=x.useMemo(()=>Ye(f)?f.get():f,[f]);return x.createElement(n,{...c,children:d})}}function KA(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...kp(r)?$A:BA,preloadedFeatures:e,useRender:qA(i),createVisualElement:t,Component:r};return gA(o)}}function pS(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r(ga===void 0&&Xt.set(De.isProcessing||tA.useManualTiming?De.timestamp:performance.now()),ga),set:e=>{ga=e,queueMicrotask(YA)}};function Lp(e,t){e.indexOf(t)===-1&&e.push(t)}function Ip(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Dp{constructor(){this.subscriptions=[]}add(t){return Lp(this.subscriptions,t),()=>Ip(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s!isNaN(parseFloat(e));class XA{constructor(t,n={}){this.version="11.18.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=Xt.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=GA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Dp);const r=this.events[t].add(n);return t==="change"?()=>{r(),pe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Eg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Eg);return mS(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gs(e,t){return new XA(e,t)}function QA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Gs(n))}function ZA(e,t){const n=Gl(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=bA(s[o]);QA(e,o,a)}}function JA(e){return!!(Ye(e)&&e.add)}function Sf(e,t){const n=e.getValue("willChange");if(JA(n))return n.add(t)}function gS(e){return e.props[Jw]}function Fp(e){let t;return()=>(t===void 0&&(t=e()),t)}const e3=Fp(()=>window.ScrollTimeline!==void 0);class t3{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r{if(e3()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,s)=>{i&&i(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class n3 extends t3{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const an=e=>e*1e3,ln=e=>e/1e3;function Vp(e){return typeof e=="function"}function Cg(e,t){e.timeline=t,e.onfinish=null}const $p=e=>Array.isArray(e)&&typeof e[0]=="number",r3={linearEasing:void 0};function i3(e,t){const n=Fp(e);return()=>{var r;return(r=r3[t])!==null&&r!==void 0?r:n()}}const Qa=i3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ei=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},yS=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:is([0,.65,.55,1]),circOut:is([.55,0,1,.45]),backIn:is([.31,.01,.66,-.59]),backOut:is([.33,1.53,.69,.99])};function wS(e,t){if(e)return typeof e=="function"&&Qa()?yS(e,t):$p(e)?is(e):Array.isArray(e)?e.map(n=>wS(n,t)||xf.easeOut):xf[e]}const SS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,s3=1e-7,o3=12;function a3(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=SS(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>s3&&++aa3(s,0,1,e,n);return s=>s===0||s===1?s:SS(i(s),t,r)}const xS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,bS=e=>t=>1-e(1-t),ES=go(.33,1.53,.69,.99),Bp=bS(ES),CS=xS(Bp),kS=e=>(e*=2)<1?.5*Bp(e):.5*(2-Math.pow(2,-10*(e-1))),zp=e=>1-Math.sin(Math.acos(e)),TS=bS(zp),PS=xS(zp),_S=e=>/^0[^.\s]+$/u.test(e);function l3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_S(e):!0}const ws=e=>Math.round(e*1e5)/1e5,Up=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function u3(e){return e==null}const c3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wp=(e,t)=>n=>!!(typeof n=="string"&&c3.test(n)&&n.startsWith(e)||t&&!u3(n)&&Object.prototype.hasOwnProperty.call(n,t)),AS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Up);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},f3=e=>hn(0,255,e),qu={...Ii,transform:e=>Math.round(f3(e))},cr={test:Wp("rgb","red"),parse:AS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qu.transform(e)+", "+qu.transform(t)+", "+qu.transform(n)+", "+ws(Ys.transform(r))+")"};function d3(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const bf={test:Wp("#"),parse:d3,transform:cr.transform},Jr={test:Wp("hsl","hue"),parse:AS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Gt.transform(ws(t))+", "+Gt.transform(ws(n))+", "+ws(Ys.transform(r))+")"},He={test:e=>cr.test(e)||bf.test(e)||Jr.test(e),parse:e=>cr.test(e)?cr.parse(e):Jr.test(e)?Jr.parse(e):bf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?cr.transform(e):Jr.transform(e)},p3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function h3(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Up))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(p3))===null||n===void 0?void 0:n.length)||0)>0}const NS="number",RS="color",m3="var",g3="var(",kg="${}",y3=/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 Xs(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(y3,l=>(He.test(l)?(r.color.push(s),i.push(RS),n.push(He.parse(l))):l.startsWith(g3)?(r.var.push(s),i.push(m3),n.push(l)):(r.number.push(s),i.push(NS),n.push(parseFloat(l))),++s,kg)).split(kg);return{values:n,split:a,indexes:r,types:i}}function jS(e){return Xs(e).values}function MS(e){const{split:t,types:n}=Xs(e),r=t.length;return i=>{let s="";for(let o=0;otypeof e=="number"?0:e;function w3(e){const t=jS(e);return MS(e)(t.map(v3))}const qn={test:h3,parse:jS,createTransformer:MS,getAnimatableNone:w3},S3=new Set(["brightness","contrast","saturate","opacity"]);function x3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Up)||[];if(!r)return e;const i=n.replace(r,"");let s=S3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const b3=/\b([a-z-]*)\(.*?\)/gu,Ef={...qn,getAnimatableNone:e=>{const t=e.match(b3);return t?t.map(x3).join(" "):e}},E3={..._p,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:Ef,WebkitFilter:Ef},Hp=e=>E3[e];function OS(e,t){let n=Hp(e);return n!==Ef&&(n=qn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const C3=new Set(["auto","none","0"]);function k3(e,t,n){let r=0,i;for(;re===Ii||e===z,Pg=(e,t)=>parseFloat(e.split(", ")[t]),_g=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Pg(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?Pg(s[1],e):0}},T3=new Set(["x","y","z"]),P3=Li.filter(e=>!T3.has(e));function _3(e){const t=[];return P3.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ci={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:_g(4,13),y:_g(5,14)};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const gr=new Set;let Cf=!1,kf=!1;function LS(){if(kf){const e=Array.from(gr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=_3(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}kf=!1,Cf=!1,gr.forEach(e=>e.complete()),gr.clear()}function IS(){gr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kf=!0)})}function A3(){IS(),LS()}class qp{constructor(t,n,r,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(gr.add(this),Cf||(Cf=!0,pe.read(IS),pe.resolveKeyframes(LS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;s/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),N3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function R3(e){const t=N3.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function FS(e,t,n=1){const[r,i]=R3(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return DS(o)?parseFloat(o):o}return Pp(i)?FS(i,t,n+1):i}const VS=e=>t=>t.test(e),j3={test:e=>e==="auto",parse:e=>e},$S=[Ii,z,Gt,kn,_A,PA,j3],Ag=e=>$S.find(VS(e));class BS extends qp{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const Ng=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(qn.test(e)||e==="0")&&!e.startsWith("url("));function M3(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function Xl(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(L3),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const I3=40;class zS{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Xt.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>I3?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&A3(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Xt.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:s,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!O3(t,r,i,s))if(o)this.options.duration=0;else{l==null||l(Xl(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Tf=2e4;function US(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Tf?1/0:t}const ve=(e,t,n)=>e+(t-e)*n;function Ku(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function D3({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Ku(l,a,e+1/3),s=Ku(l,a,e),o=Ku(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Za(e,t){return n=>n>0?t:e}const Yu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},F3=[bf,cr,Jr],V3=e=>F3.find(t=>t.test(e));function Rg(e){const t=V3(e);if(!t)return!1;let n=t.parse(e);return t===Jr&&(n=D3(n)),n}const jg=(e,t)=>{const n=Rg(e),r=Rg(t);if(!n||!r)return Za(e,t);const i={...n};return s=>(i.red=Yu(n.red,r.red,s),i.green=Yu(n.green,r.green,s),i.blue=Yu(n.blue,r.blue,s),i.alpha=ve(n.alpha,r.alpha,s),cr.transform(i))},$3=(e,t)=>n=>t(e(n)),yo=(...e)=>e.reduce($3),Pf=new Set(["none","hidden"]);function B3(e,t){return Pf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function z3(e,t){return n=>ve(e,t,n)}function Kp(e){return typeof e=="number"?z3:typeof e=="string"?Pp(e)?Za:He.test(e)?jg:H3:Array.isArray(e)?WS:typeof e=="object"?He.test(e)?jg:U3:Za}function WS(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Kp(s)(s,t[o]));return s=>{for(let o=0;o{for(const s in r)n[s]=r[s](i);return n}}function W3(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s{const n=qn.createTransformer(t),r=Xs(e),i=Xs(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pf.has(e)&&!i.values.length||Pf.has(t)&&!r.values.length?B3(e,t):yo(WS(W3(r,i),i.values),n):Za(e,t)};function HS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):Kp(e)(e,t)}const q3=5;function qS(e,t,n){const r=Math.max(t-q3,0);return mS(n-e(r),t-r)}const xe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Mg=.001;function K3({duration:e=xe.duration,bounce:t=xe.bounce,velocity:n=xe.velocity,mass:r=xe.mass}){let i,s,o=1-t;o=hn(xe.minDamping,xe.maxDamping,o),e=hn(xe.minDuration,xe.maxDuration,ln(e)),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,m=_f(u,o),y=Math.exp(-f);return Mg-d/m*y},s=u=>{const f=u*o*e,d=f*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-f),g=_f(Math.pow(u,2),o);return(-i(u)+Mg>0?-1:1)*((d-m)*y)/g}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-.001+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=G3(i,s,a);if(e=an(e),isNaN(l))return{stiffness:xe.stiffness,damping:xe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Y3=12;function G3(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Z3(e){let t={velocity:xe.velocity,stiffness:xe.stiffness,damping:xe.damping,mass:xe.mass,isResolvedFromDuration:!1,...e};if(!Og(e,Q3)&&Og(e,X3))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*hn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:xe.mass,stiffness:i,damping:s}}else{const n=K3(e);t={...t,...n,mass:xe.mass},t.isResolvedFromDuration=!0}return t}function KS(e=xe.visualDuration,t=xe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=Z3({...n,velocity:-ln(n.velocity||0)}),y=d||0,g=u/(2*Math.sqrt(l*c)),w=o-s,p=ln(Math.sqrt(l/c)),h=Math.abs(w)<5;r||(r=h?xe.restSpeed.granular:xe.restSpeed.default),i||(i=h?xe.restDelta.granular:xe.restDelta.default);let v;if(g<1){const E=_f(p,g);v=C=>{const k=Math.exp(-g*p*C);return o-k*((y+g*p*w)/E*Math.sin(E*C)+w*Math.cos(E*C))}}else if(g===1)v=E=>o-Math.exp(-p*E)*(w+(y+p*w)*E);else{const E=p*Math.sqrt(g*g-1);v=C=>{const k=Math.exp(-g*p*C),T=Math.min(E*C,300);return o-k*((y+g*p*w)*Math.sinh(T)+E*w*Math.cosh(T))/E}}const b={calculatedDuration:m&&f||null,next:E=>{const C=v(E);if(m)a.done=E>=f;else{let k=0;g<1&&(k=E===0?an(y):qS(v,E,C));const T=Math.abs(k)<=r,j=Math.abs(o-C)<=i;a.done=T&&j}return a.value=a.done?o:C,a},toString:()=>{const E=Math.min(US(b),Tf),C=yS(k=>b.next(E*k).value,E,30);return E+"ms "+C}};return b}function Lg({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},m=T=>a!==void 0&&Tl,y=T=>a===void 0?l:l===void 0||Math.abs(a-T)-g*Math.exp(-T/r),v=T=>p+h(T),b=T=>{const j=h(T),L=v(T);d.done=Math.abs(j)<=u,d.value=d.done?p:L};let E,C;const k=T=>{m(d.value)&&(E=T,C=KS({keyframes:[d.value,y(d.value)],velocity:qS(v,T,d.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:T=>{let j=!1;return!C&&E===void 0&&(j=!0,b(T),k(T)),E!==void 0&&T>=E?C.next(T-E):(!j&&b(T),d)}}}const J3=go(.42,0,1,1),eN=go(0,0,.58,1),YS=go(.42,0,.58,1),tN=e=>Array.isArray(e)&&typeof e[0]!="number",Ig={linear:dt,easeIn:J3,easeInOut:YS,easeOut:eN,circIn:zp,circInOut:PS,circOut:TS,backIn:Bp,backInOut:CS,backOut:ES,anticipate:kS},Dg=e=>{if($p(e)){vf(e.length===4);const[t,n,r,i]=e;return go(t,n,r,i)}else if(typeof e=="string")return vf(Ig[e]!==void 0),Ig[e];return e};function nN(e,t,n){const r=[],i=n||HS,s=e.length-1;for(let o=0;ot[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=nN(t,r,i),l=a.length,u=c=>{if(o&&c1)for(;fu(hn(e[0],e[s-1],c)):u}function iN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ei(0,t,r);e.push(ve(n,1,i))}}function sN(e){const t=[0];return iN(t,e.length-1),t}function oN(e,t){return e.map(n=>n*t)}function aN(e,t){return e.map(()=>t||YS).splice(0,e.length-1)}function Ja({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=tN(r)?r.map(Dg):Dg(r),s={done:!1,value:t[0]},o=oN(n&&n.length===t.length?n:sN(t),e),a=rN(o,t,{ease:Array.isArray(i)?i:aN(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const lN=e=>{const t=({timestamp:n})=>e(n);return{start:()=>pe.update(t,!0),stop:()=>Hn(t),now:()=>De.isProcessing?De.timestamp:Xt.now()}},uN={decay:Lg,inertia:Lg,tween:Ja,keyframes:Ja,spring:KS},cN=e=>e/100;class Yp extends zS{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:i,keyframes:s}=this.options,o=(i==null?void 0:i.KeyframeResolver)||qp,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(s,a,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,a=Vp(n)?n:uN[n]||Ja;let l,u;a!==Ja&&typeof t[0]!="number"&&(l=yo(cN,HS(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=US(c));const{calculatedDuration:f}=c,d=f+i,m=d*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return s.next(0);const{delay:d,repeat:m,repeatType:y,repeatDelay:g,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-d*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,b=s;if(m){const T=Math.min(this.currentTime,c)/f;let j=Math.floor(T),L=T%1;!L&&T>=1&&(L=1),L===1&&j--,j=Math.min(j,m+1),!!(j%2)&&(y==="reverse"?(L=1-L,g&&(L-=g/f)):y==="mirror"&&(b=o)),v=hn(0,1,L)*f}const E=h?{done:!1,value:l[0]}:b.next(v);a&&(E.value=a(E.value));let{done:C}=E;!h&&u!==null&&(C=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return k&&i!==void 0&&(E.value=Xl(l,this.options,i)),w&&w(E.value),k&&this.finish(),E}get duration(){const{resolved:t}=this;return t?ln(t.calculatedDuration):0}get time(){return ln(this.currentTime)}set time(t){t=an(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=ln(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=lN,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const fN=new Set(["opacity","clipPath","filter","transform"]);function dN(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=wS(a,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const pN=Fp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),el=10,hN=2e4;function mN(e){return Vp(e.type)||e.type==="spring"||!vS(e.ease)}function gN(e,t){const n=new Yp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&sthis.onKeyframesResolved(o,a),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof o=="string"&&Qa()&&yN(o)&&(o=GS[o]),mN(this.options)){const{onComplete:d,onUpdate:m,motionValue:y,element:g,...w}=this.options,p=gN(t,w);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,s=p.times,o=p.ease,a="keyframes"}const f=dN(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return f.startTime=c??this.calcStartTime(),this.pendingTimeline?(Cg(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;l.set(Xl(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:i,times:s,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return ln(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ln(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=an(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return dt;const{animation:r}=n;Cg(r,t)}return dt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:s,ease:o,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...m}=this.options,y=new Yp({...m,keyframes:r,duration:i,type:s,ease:o,times:a,isGenerator:!0}),g=an(this.time);u.setWithVelocity(y.sample(g-el).value,y.sample(g).value,el)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:s,damping:o,type:a}=t;return pN()&&r&&fN.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&a!=="inertia"}}const vN={type:"spring",stiffness:500,damping:25,restSpeed:10},wN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),SN={type:"keyframes",duration:.8},xN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bN=(e,{keyframes:t})=>t.length>2?SN:Nr.has(e)?e.startsWith("scale")?wN(t[1]):vN:xN;function EN({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Gp=(e,t,n,r={},i,s)=>o=>{const a=Op(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-an(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};EN(a)||(c={...c,...bN(e,c)}),c.duration&&(c.duration=an(c.duration)),c.repeatDelay&&(c.repeatDelay=an(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const d=Xl(c.keyframes,a);if(d!==void 0)return pe.update(()=>{c.onUpdate(d),c.onComplete()}),new n3([])}return!s&&Fg.supports(c)?new Fg(c):new Yp(c)};function CN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function XS(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),m=l[f];if(m===void 0||c&&CN(c,f))continue;const y={delay:n,...Op(o||{},f)};let g=!1;if(window.MotionHandoffAnimation){const p=gS(e);if(p){const h=window.MotionHandoffAnimation(p,f,pe);h!==null&&(y.startTime=h,g=!0)}}Sf(e,f),d.start(Gp(f,d,m,e.shouldReduceMotion&&hS.has(f)?{type:!1}:y,e,g));const w=d.animation;w&&u.push(w)}return a&&Promise.all(u).then(()=>{pe.update(()=>{a&&ZA(e,a)})}),u}function Af(e,t,n={}){var r;const i=Gl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(XS(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=s;return kN(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function kN(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(TN).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Af(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function TN(e,t){return e.sortNodePosition(t)}function PN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Af(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Af(e,t,n);else{const i=typeof t=="function"?Gl(e,t,n.custom):t;r=Promise.all(XS(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const _N=bp.length;function QS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?QS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<_N;n++){const r=bp[n],i=e.props[r];(Ks(i)||i===!1)&&(t[r]=i)}return t}const AN=[...xp].reverse(),NN=xp.length;function RN(e){return t=>Promise.all(t.map(({animation:n,options:r})=>PN(e,n,r)))}function jN(e){let t=RN(e),n=Vg(),r=!0;const i=l=>(u,c)=>{var f;const d=Gl(e,c,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:m,transitionEnd:y,...g}=d;u={...u,...g,...y}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=QS(e.parent)||{},f=[],d=new Set;let m={},y=1/0;for(let w=0;wy&&b,j=!1;const L=Array.isArray(v)?v:[v];let U=L.reduce(i(p),{});E===!1&&(U={});const{prevResolvedValues:te={}}=h,Y={...te,...U},Q=K=>{T=!0,d.has(K)&&(j=!0,d.delete(K)),h.needsAnimating[K]=!0;const _=e.getValue(K);_&&(_.liveStyle=!1)};for(const K in Y){const _=U[K],I=te[K];if(m.hasOwnProperty(K))continue;let V=!1;wf(_)&&wf(I)?V=!pS(_,I):V=_!==I,V?_!=null?Q(K):d.add(K):_!==void 0&&d.has(K)?Q(K):h.protectedKeys[K]=!0}h.prevProp=v,h.prevResolvedValues=U,h.isActive&&(m={...m,...U}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(C&&k)||j)&&f.push(...L.map(K=>({animation:K,options:{type:p}})))}if(d.size){const w={};d.forEach(p=>{const h=e.getBaseTarget(p),v=e.getValue(p);v&&(v.liveStyle=!0),w[p]=h??null}),f.push({animation:w})}let g=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),n[l].isActive=u;const f=o(l);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Vg(),r=!0}}}function MN(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!pS(t,e):!1}function tr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vg(){return{animate:tr(!0),whileInView:tr(),whileHover:tr(),whileTap:tr(),whileDrag:tr(),whileFocus:tr(),exit:tr()}}class Jn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ON extends Jn{constructor(t){super(t),t.animationState||(t.animationState=jN(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Kl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let LN=0;class IN extends Jn{constructor(){super(...arguments),this.id=LN++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const DN={animation:{Feature:ON},exit:{Feature:IN}},Nt={x:!1,y:!1};function ZS(){return Nt.x||Nt.y}function FN(e){return e==="x"||e==="y"?Nt[e]?null:(Nt[e]=!0,()=>{Nt[e]=!1}):Nt.x||Nt.y?null:(Nt.x=Nt.y=!0,()=>{Nt.x=Nt.y=!1})}const Xp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Qs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function vo(e){return{point:{x:e.pageX,y:e.pageY}}}const VN=e=>t=>Xp(t)&&e(t,vo(t));function Ss(e,t,n,r){return Qs(e,t,VN(n),r)}const $g=(e,t)=>Math.abs(e-t);function $N(e,t){const n=$g(e.x,t.x),r=$g(e.y,t.y);return Math.sqrt(n**2+r**2)}class JS{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Xu(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,m=$N(f.offset,{x:0,y:0})>=3;if(!d&&!m)return;const{point:y}=f,{timestamp:g}=De;this.history.push({...y,timestamp:g});const{onStart:w,onMove:p}=this.handlers;d||(w&&w(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Gu(d,this.transformPagePoint),pe.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:m,onSessionEnd:y,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Xu(f.type==="pointercancel"?this.lastMoveEventInfo:Gu(d,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,w),y&&y(f,w)},!Xp(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=vo(t),a=Gu(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=De;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Xu(a,this.history)),this.removeListeners=yo(Ss(this.contextWindow,"pointermove",this.handlePointerMove),Ss(this.contextWindow,"pointerup",this.handlePointerUp),Ss(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Hn(this.updatePoint)}}function Gu(e,t){return t?{point:t(e.point)}:e}function Bg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Xu({point:e},t){return{point:e,delta:Bg(e,ex(t)),offset:Bg(e,BN(t)),velocity:zN(t,.1)}}function BN(e){return e[0]}function ex(e){return e[e.length-1]}function zN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ex(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>an(t)));)n--;if(!r)return{x:0,y:0};const s=ln(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const tx=1e-4,UN=1-tx,WN=1+tx,nx=.01,HN=0-nx,qN=0+nx;function ht(e){return e.max-e.min}function KN(e,t,n){return Math.abs(e-t)<=n}function zg(e,t,n,r=.5){e.origin=r,e.originPoint=ve(t.min,t.max,e.origin),e.scale=ht(n)/ht(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=UN&&e.scale<=WN||isNaN(e.scale))&&(e.scale=1),(e.translate>=HN&&e.translate<=qN||isNaN(e.translate))&&(e.translate=0)}function xs(e,t,n,r){zg(e.x,t.x,n.x,r?r.originX:void 0),zg(e.y,t.y,n.y,r?r.originY:void 0)}function Ug(e,t,n){e.min=n.min+t.min,e.max=e.min+ht(t)}function YN(e,t,n){Ug(e.x,t.x,n.x),Ug(e.y,t.y,n.y)}function Wg(e,t,n){e.min=t.min-n.min,e.max=e.min+ht(t)}function bs(e,t,n){Wg(e.x,t.x,n.x),Wg(e.y,t.y,n.y)}function GN(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?ve(n,e,r.max):Math.min(e,n)),e}function Hg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function XN(e,{top:t,left:n,bottom:r,right:i}){return{x:Hg(e.x,n,i),y:Hg(e.y,t,r)}}function qg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Ei(t.min,t.max-r,e.min):r>i&&(n=Ei(e.min,e.max-i,t.min)),hn(0,1,n)}function JN(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Nf=.35;function eR(e=Nf){return e===!1?e=0:e===!0&&(e=Nf),{x:Kg(e,"left","right"),y:Kg(e,"top","bottom")}}function Kg(e,t,n){return{min:Yg(e,t),max:Yg(e,n)}}function Yg(e,t){return typeof e=="number"?e:e[t]||0}const Gg=()=>({translate:0,scale:1,origin:0,originPoint:0}),ei=()=>({x:Gg(),y:Gg()}),Xg=()=>({min:0,max:0}),Ce=()=>({x:Xg(),y:Xg()});function St(e){return[e("x"),e("y")]}function rx({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function tR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function nR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Qu(e){return e===void 0||e===1}function Rf({scale:e,scaleX:t,scaleY:n}){return!Qu(e)||!Qu(t)||!Qu(n)}function ir(e){return Rf(e)||ix(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ix(e){return Qg(e.x)||Qg(e.y)}function Qg(e){return e&&e!=="0%"}function tl(e,t,n){const r=e-n,i=t*r;return n+i}function Zg(e,t,n,r,i){return i!==void 0&&(e=tl(e,i,r)),tl(e,n,r)+t}function jf(e,t=0,n=1,r,i){e.min=Zg(e.min,t,n,r,i),e.max=Zg(e.max,t,n,r,i)}function sx(e,{x:t,y:n}){jf(e.x,t.translate,t.scale,t.originPoint),jf(e.y,n.translate,n.scale,n.originPoint)}const Jg=.999999999999,ey=1.0000000000001;function rR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;aJg&&(t.x=1),t.yJg&&(t.y=1)}function ti(e,t){e.min=e.min+t,e.max=e.max+t}function ty(e,t,n,r,i=.5){const s=ve(e.min,e.max,i);jf(e,t,n,s,r)}function ni(e,t){ty(e.x,t.x,t.scaleX,t.scale,t.originX),ty(e.y,t.y,t.scaleY,t.scale,t.originY)}function ox(e,t){return rx(nR(e.getBoundingClientRect(),t))}function iR(e,t,n){const r=ox(e,n),{scroll:i}=t;return i&&(ti(r.x,i.offset.x),ti(r.y,i.offset.y)),r}const ax=({current:e})=>e?e.ownerDocument.defaultView:null,sR=new WeakMap;class oR{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=Ce(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(vo(c).point)},s=(c,f)=>{const{drag:d,dragPropagation:m,onDragStart:y}=this.getProps();if(d&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=FN(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St(w=>{let p=this.getAxisMotionValue(w).get()||0;if(Gt.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const v=h.layout.layoutBox[w];v&&(p=ht(v)*(parseFloat(p)/100))}}this.originPoint[w]=p}),y&&pe.postRender(()=>y(c,f)),Sf(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,f)=>{const{dragPropagation:d,dragDirectionLock:m,onDirectionLock:y,onDrag:g}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:w}=f;if(m&&this.currentDirection===null){this.currentDirection=aR(w),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,w),this.updateAxis("y",f.point,w),this.visualElement.render(),g&&g(c,f)},a=(c,f)=>this.stop(c,f),l=()=>St(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new JS(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:ax(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&pe.postRender(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Yo(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=GN(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&Zr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=XN(i.layoutBox,n):this.constraints=!1,this.elastic=eR(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=JN(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Zr(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=iR(r,i.root,this.visualElement.getTransformPagePoint());let o=QN(i.layout.layoutBox,s);if(n){const a=n(tR(o));this.hasMutatedConstraints=!!a,a&&(o=rx(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=St(c=>{if(!Yo(c,n,this.currentDirection))return;let f=l[c]||{};o&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Sf(this.visualElement,t),r.start(Gp(t,r,0,n,this.visualElement,!1))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){St(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){St(n=>{const{drag:r}=this.getProps();if(!Yo(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-ve(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Zr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};St(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=ZN({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),St(o=>{if(!Yo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ve(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;sR.set(this.visualElement,this);const t=this.visualElement.current,n=Ss(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Zr(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),pe.read(r);const o=Qs(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(St(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Nf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Yo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function aR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class lR extends Jn{constructor(t){super(t),this.removeGroupControls=dt,this.removeListeners=dt,this.controls=new oR(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ny=e=>(t,n)=>{e&&pe.postRender(()=>e(t,n))};class uR extends Jn{constructor(){super(...arguments),this.removePointerDownListener=dt}onPointerDown(t){this.session=new JS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ax(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ny(t),onStart:ny(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&pe.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ss(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ry(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ji={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=ry(e,t.target.x),r=ry(e,t.target.y);return`${n}% ${r}%`}},cR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=qn.parse(e);if(i.length>5)return r;const s=qn.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=ve(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class fR extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;FA(dR),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),ya.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||pe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Cp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lx(e){const[t,n]=Kw(),r=x.useContext(yp);return S.jsx(fR,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(eS),isPresent:t,safeToRemove:n})}const dR={borderRadius:{...Ji,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ji,borderTopRightRadius:Ji,borderBottomLeftRadius:Ji,borderBottomRightRadius:Ji,boxShadow:cR};function pR(e,t,n){const r=Ye(e)?e:Gs(e);return r.start(Gp("",r,t,n)),r.animation}function hR(e){return e instanceof SVGElement&&e.tagName!=="svg"}const mR=(e,t)=>e.depth-t.depth;class gR{constructor(){this.children=[],this.isDirty=!1}add(t){Lp(this.children,t),this.isDirty=!0}remove(t){Ip(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(mR),this.isDirty=!1,this.children.forEach(t)}}function yR(e,t){const n=Xt.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Hn(r),e(s-t))};return pe.read(r,!0),()=>Hn(r)}const ux=["TopLeft","TopRight","BottomLeft","BottomRight"],vR=ux.length,iy=e=>typeof e=="string"?parseFloat(e):e,sy=e=>typeof e=="number"||z.test(e);function wR(e,t,n,r,i,s){i?(e.opacity=ve(0,n.opacity!==void 0?n.opacity:1,SR(r)),e.opacityExit=ve(t.opacity!==void 0?t.opacity:1,0,xR(r))):s&&(e.opacity=ve(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Ei(e,t,r))}function ay(e,t){e.min=t.min,e.max=t.max}function wt(e,t){ay(e.x,t.x),ay(e.y,t.y)}function ly(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function uy(e,t,n,r,i){return e-=t,e=tl(e,1/n,r),i!==void 0&&(e=tl(e,1/i,r)),e}function bR(e,t=0,n=1,r=.5,i,s=e,o=e){if(Gt.test(t)&&(t=parseFloat(t),t=ve(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ve(s.min,s.max,r);e===s&&(a-=t),e.min=uy(e.min,t,n,a,i),e.max=uy(e.max,t,n,a,i)}function cy(e,t,[n,r,i],s,o){bR(e,t[n],t[r],t[i],t.scale,s,o)}const ER=["x","scaleX","originX"],CR=["y","scaleY","originY"];function fy(e,t,n,r){cy(e.x,t,ER,n?n.x:void 0,r?r.x:void 0),cy(e.y,t,CR,n?n.y:void 0,r?r.y:void 0)}function dy(e){return e.translate===0&&e.scale===1}function fx(e){return dy(e.x)&&dy(e.y)}function py(e,t){return e.min===t.min&&e.max===t.max}function kR(e,t){return py(e.x,t.x)&&py(e.y,t.y)}function hy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function dx(e,t){return hy(e.x,t.x)&&hy(e.y,t.y)}function my(e){return ht(e.x)/ht(e.y)}function gy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class TR{constructor(){this.members=[]}add(t){Lp(this.members,t),t.scheduleRender()}remove(t){if(Ip(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function PR(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:m,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),y&&(r+=`skewY(${y}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const sr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ss=typeof window<"u"&&window.MotionDebug!==void 0,Zu=["","X","Y","Z"],_R={visibility:"hidden"},yy=1e3;let AR=0;function Ju(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function px(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=gS(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pe,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&px(r)}function hx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=AR++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ss&&(sr.totalNodes=sr.resolvedTargetDeltas=sr.recalculatedProjection=0),this.nodes.forEach(jR),this.nodes.forEach(DR),this.nodes.forEach(FR),this.nodes.forEach(MR),ss&&window.MotionDebug.record(sr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=yR(d,250),ya.hasAnimatedSinceResize&&(ya.hasAnimatedSinceResize=!1,this.nodes.forEach(wy))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||UR,{onLayoutAnimationStart:w,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!dx(this.targetLayout,y)||m,v=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);const b={...Op(g,"layout"),onPlay:w,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else d||wy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Hn(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(VR),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&px(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const E=b/1e3;Sy(f.x,o.x,E),Sy(f.y,o.y,E),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(bs(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),BR(this.relativeTarget,this.relativeTargetOrigin,d,E),v&&kR(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ce()),wt(v,this.relativeTarget)),g&&(this.animationValues=c,wR(c,u,this.latestValues,E,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Hn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pe.update(()=>{ya.hasAnimatedSinceResize=!0,this.currentAnimation=pR(0,yy,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&mx(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const f=ht(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const d=ht(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+d}wt(a,l),ni(a,c),xs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new TR),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ju("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(vy),this.root.sharedNodes.clear()}}}function NR(e){e.updateLayout()}function RR(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?St(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],m=ht(d);d.min=r[f].min,d.max=d.min+m}):mx(s,n.layoutBox,r)&&St(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],m=ht(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const a=ei();xs(a,r,n.layoutBox);const l=ei();o?xs(l,e.applyTransform(i,!0),n.measuredBox):xs(l,r,n.layoutBox);const u=!fx(a);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const y=Ce();bs(y,n.layoutBox,d.layoutBox);const g=Ce();bs(g,r,m.layoutBox),dx(y,g)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function jR(e){ss&&sr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function MR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OR(e){e.clearSnapshot()}function vy(e){e.clearMeasurements()}function LR(e){e.isLayoutDirty=!1}function IR(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function wy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function DR(e){e.resolveTargetDelta()}function FR(e){e.calcProjection()}function VR(e){e.resetSkewAndRotation()}function $R(e){e.removeLeadSnapshot()}function Sy(e,t,n){e.translate=ve(t.translate,0,n),e.scale=ve(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xy(e,t,n,r){e.min=ve(t.min,n.min,r),e.max=ve(t.max,n.max,r)}function BR(e,t,n,r){xy(e.x,t.x,n.x,r),xy(e.y,t.y,n.y,r)}function zR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const UR={duration:.45,ease:[.4,0,.1,1]},by=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ey=by("applewebkit/")&&!by("chrome/")?Math.round:dt;function Cy(e){e.min=Ey(e.min),e.max=Ey(e.max)}function WR(e){Cy(e.x),Cy(e.y)}function mx(e,t,n){return e==="position"||e==="preserve-aspect"&&!KN(my(t),my(n),.2)}function HR(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const qR=hx({attachResizeListener:(e,t)=>Qs(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ec={current:void 0},gx=hx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ec.current){const e=new qR({});e.mount(window),e.setOptions({layoutScroll:!0}),ec.current=e}return ec.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),KR={pan:{Feature:uR},drag:{Feature:lR,ProjectionNode:gx,MeasureLayout:lx}};function YR(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const s=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function yx(e,t){const n=YR(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function ky(e){return t=>{t.pointerType==="touch"||ZS()||e(t)}}function GR(e,t,n={}){const[r,i,s]=yx(e,n),o=ky(a=>{const{target:l}=a,u=t(a);if(typeof u!="function"||!l)return;const c=ky(f=>{u(f),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,i)});return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}function Ty(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&pe.postRender(()=>s(t,vo(t)))}class XR extends Jn{mount(){const{current:t}=this.node;t&&(this.unmount=GR(t,n=>(Ty(this.node,n,"Start"),r=>Ty(this.node,r,"End"))))}unmount(){}}class QR extends Jn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{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=yo(Qs(this.node.current,"focus",()=>this.onFocus()),Qs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const vx=(e,t)=>t?e===t?!0:vx(e,t.parentElement):!1,ZR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function JR(e){return ZR.has(e.tagName)||e.tabIndex!==-1}const os=new WeakSet;function Py(e){return t=>{t.key==="Enter"&&e(t)}}function tc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const e4=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Py(()=>{if(os.has(n))return;tc(n,"down");const i=Py(()=>{tc(n,"up")}),s=()=>tc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function _y(e){return Xp(e)&&!ZS()}function t4(e,t,n={}){const[r,i,s]=yx(e,n),o=a=>{const l=a.currentTarget;if(!_y(a)||os.has(l))return;os.add(l);const u=t(a),c=(m,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),!(!_y(m)||!os.has(l))&&(os.delete(l),typeof u=="function"&&u(m,{success:y}))},f=m=>{c(m,n.useGlobalTarget||vx(l,m.target))},d=m=>{c(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return r.forEach(a=>{!JR(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),a.addEventListener("focus",u=>e4(u,i),i)}),s}function Ay(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&pe.postRender(()=>s(t,vo(t)))}class n4 extends Jn{mount(){const{current:t}=this.node;t&&(this.unmount=t4(t,n=>(Ay(this.node,n,"Start"),(r,{success:i})=>Ay(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Mf=new WeakMap,nc=new WeakMap,r4=e=>{const t=Mf.get(e.target);t&&t(e)},i4=e=>{e.forEach(r4)};function s4({root:e,...t}){const n=e||document;nc.has(n)||nc.set(n,{});const r=nc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(i4,{root:e,...t})),r[i]}function o4(e,t,n){const r=s4(t);return Mf.set(e,n),r.observe(e),()=>{Mf.delete(e),r.unobserve(e)}}const a4={some:0,all:1};class l4 extends Jn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:a4[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(l)};return o4(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(u4(t,n))&&this.startObserver()}unmount(){}}function u4({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const c4={inView:{Feature:l4},tap:{Feature:n4},focus:{Feature:QR},hover:{Feature:XR}},f4={layout:{ProjectionNode:gx,MeasureLayout:lx}},Of={current:null},wx={current:!1};function d4(){if(wx.current=!0,!!Sp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Of.current=e.matches;e.addListener(t),t()}else Of.current=!1}const p4=[...$S,He,qn],h4=e=>p4.find(VS(e)),Ny=new WeakMap;function m4(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ye(i))e.addValue(r,i);else if(Ye(s))e.addValue(r,Gs(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Gs(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ry=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class g4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qp,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 m=Xt.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),wx.current||d4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Of.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ny.delete(this.current),this.projection&&this.projection.unmount(),Hn(this.notifyUpdate),Hn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Nr.has(t),i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&pe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bi){const n=bi[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Gs(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(DS(i)||_S(i))?i=parseFloat(i):!h4(i)&&qn.test(n)&&(i=OS(t,n)),this.setBaseTarget(t,Ye(i)?i.get():i)),Ye(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=Tp(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ye(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Dp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Sx extends g4{constructor(){super(...arguments),this.KeyframeResolver=BS}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ye(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function y4(e){return window.getComputedStyle(e)}class v4 extends Sx{constructor(){super(...arguments),this.type="html",this.renderInstance=aS}readValueFromInstance(t,n){if(Nr.has(n)){const r=Hp(n);return r&&r.default||0}else{const r=y4(t),i=(iS(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ox(t,n)}build(t,n,r){Ap(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Mp(t,n,r)}}class w4 extends Sx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Nr.has(n)){const r=Hp(n);return r&&r.default||0}return n=lS.has(n)?n:Ep(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return fS(t,n,r)}build(t,n,r){Np(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){uS(t,n,r,i)}mount(t){this.isSVGTag=jp(t.tagName),super.mount(t)}}const S4=(e,t)=>kp(e)?new w4(t):new v4(t,{allowProjection:e!==x.Fragment}),x4=KA({...DN,...c4,...KR,...f4},S4),nn=lA(x4),b4=()=>S.jsxs("div",{className:"header__box",children:[S.jsxs("div",{id:"header__big_container",children:[S.jsxs(nn.div,{id:"header__logo_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:[S.jsx("img",{id:"cloud",src:Km,alt:"A cloud"}),S.jsx("img",{src:nP,alt:"Wildhacks 2025 logo"}),S.jsx("img",{id:"cloud",src:Ym,alt:"A cloud"})]}),S.jsx(nn.div,{className:"header__splash_words",id:"header__logo_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:S.jsx("span",{children:"April 4-6, 2025"})}),S.jsx(nn.div,{id:"header__email_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:S.jsx(G_,{})})]}),S.jsxs(nn.div,{id:"header__backdrop",initial:{opacity:.4,scale:.6},animate:{opacity:1,scale:1},transition:{duration:.4,scale:{type:"spring",visualDuration:.4,bounce:.6}},children:[S.jsx(nn.div,{id:"header__balloon_container",initial:{transform:"translateX(0px)"},animate:{transform:"translateX(-1000px)",visibility:"hidden"},transition:{duration:3,delay:.1,scale:{type:"spring",visualDuration:.4,bounce:.6},ease:"easeOut"},children:S.jsx("img",{src:xw,alt:"A cloud"})}),S.jsxs(nn.div,{id:"header__clouds_container",initial:{transform:"translateX(0px)"},animate:{transform:"translateX(800px)",visibility:"hidden"},transition:{duration:4,delay:.12,scale:{type:"spring",visualDuration:.4,bounce:.6},ease:"easeOut"},children:[S.jsx("div",{style:{transform:"translateX(25px)"},children:S.jsx("img",{src:Km,alt:"A cloud"})}),S.jsx("div",{children:S.jsx("img",{src:Ym,alt:"A cloud"})})]})]})]});/*! + `),()=>{document.head.removeChild(c)}},[t]),S.jsx(X_,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const Z_=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const a=vp(J_),l=x.useId(),u=x.useCallback(f=>{a.set(f,!0);for(const d of a.values())if(!d)return;r&&r()},[a,r]),c=x.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(a.set(f,!1),()=>a.delete(f))}),s?[Math.random(),u]:[n,u]);return x.useMemo(()=>{a.forEach((f,d)=>a.set(d,!1))},[n]),x.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),o==="popLayout"&&(e=S.jsx(Q_,{isPresent:n,children:e})),S.jsx(Hl.Provider,{value:c,children:e})};function J_(){return new Map}function Kw(e=!0){const t=x.useContext(Hl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=x.useId();x.useEffect(()=>{e&&i(s)},[e]);const o=x.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Ho=e=>e.key||"";function mg(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const Sp=typeof window<"u",Yw=Sp?x.useLayoutEffect:x.useEffect,eA=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1})=>{const[a,l]=Kw(o),u=x.useMemo(()=>mg(e),[e]),c=o&&!a?[]:u.map(Ho),f=x.useRef(!0),d=x.useRef(u),m=vp(()=>new Map),[y,g]=x.useState(u),[w,p]=x.useState(u);Yw(()=>{f.current=!1,d.current=u;for(let b=0;b{const E=Ho(b),C=o&&!a?!1:u===w||c.includes(E),k=()=>{if(m.has(E))m.set(E,!0);else return;let T=!0;m.forEach(j=>{j||(T=!1)}),T&&(v==null||v(),p(d.current),o&&(l==null||l()),r&&r())};return S.jsx(Z_,{isPresent:C,initial:!f.current||n?void 0:!1,custom:C?void 0:t,presenceAffectsLayout:i,mode:s,onExitComplete:C?void 0:k,children:b},E)})})},dt=e=>e;let vf=dt;const tA={skipAnimations:!1,useManualTiming:!1};function nA(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){s.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&r?t:n;return c&&s.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(u))}};return l}const qo=["read","resolveKeyframes","update","preRender","render","postRender"],rA=40;function Gw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=qo.reduce((p,h)=>(p[h]=nA(s),p),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:f,postRender:d}=o,m=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,rA),1),i.timestamp=p,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},y=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:qo.reduce((p,h)=>{const v=o[h];return p[h]=(b,E=!1,C=!1)=>(n||y(),v.schedule(b,E,C)),p},{}),cancel:p=>{for(let h=0;hgg[e].some(n=>!!t[n])};function iA(e){for(const t in e)bi[t]={...bi[t],...e[t]}}const sA=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 Ga(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sA.has(e)}let Qw=e=>!Ga(e);function oA(e){e&&(Qw=t=>t.startsWith("on")?!Ga(t):e(t))}try{oA(require("@emotion/is-prop-valid").default)}catch{}function aA(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Qw(i)||n===!0&&Ga(i)||!t&&!Ga(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function lA(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const ql=x.createContext({});function Ks(e){return typeof e=="string"||Array.isArray(e)}function Kl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const xp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bp=["initial",...xp];function Yl(e){return Kl(e.animate)||bp.some(t=>Ks(e[t]))}function Zw(e){return!!(Yl(e)||e.variants)}function uA(e,t){if(Yl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ks(n)?n:void 0,animate:Ks(r)?r:void 0}}return e.inherit!==!1?t:{}}function cA(e){const{initial:t,animate:n}=uA(e,x.useContext(ql));return x.useMemo(()=>({initial:t,animate:n}),[yg(t),yg(n)])}function yg(e){return Array.isArray(e)?e.join(" "):e}const fA=Symbol.for("motionComponentSymbol");function Zr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dA(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Zr(n)&&(n.current=r))},[t])}const Ep=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pA="framerAppearId",Jw="data-"+Ep(pA),{schedule:Cp,cancel:OO}=Gw(queueMicrotask,!1),eS=x.createContext({});function hA(e,t,n,r,i){var s,o;const{visualElement:a}=x.useContext(ql),l=x.useContext(Xw),u=x.useContext(Hl),c=x.useContext(wp).reducedMotion,f=x.useRef(null);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,m=x.useContext(eS);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&mA(f.current,n,i,m);const y=x.useRef(!1);x.useInsertionEffect(()=>{d&&y.current&&d.update(n,u)});const g=n[Jw],w=x.useRef(!!g&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return Yw(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Cp.render(d.render),w.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!w.current&&d.animationState&&d.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)===null||p===void 0||p.call(window,g)}),w.current=!1))}),d}function mA(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tS(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&Zr(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function tS(e){if(e)return e.options.allowProjection!==!1?e.projection:tS(e.parent)}function gA({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var s,o;e&&iA(e);function a(u,c){let f;const d={...x.useContext(wp),...u,layoutId:yA(u)},{isStatic:m}=d,y=cA(u),g=r(u,m);if(!m&&Sp){vA();const w=wA(d);f=w.MeasureLayout,y.visualElement=hA(i,g,d,t,w.ProjectionNode)}return S.jsxs(ql.Provider,{value:y,children:[f&&y.visualElement?S.jsx(f,{visualElement:y.visualElement,...d}):null,n(i,u,dA(g,y.visualElement,c),g,m,y.visualElement)]})}a.displayName=`motion.${typeof i=="string"?i:`create(${(o=(s=i.displayName)!==null&&s!==void 0?s:i.name)!==null&&o!==void 0?o:""})`}`;const l=x.forwardRef(a);return l[fA]=i,l}function yA({layoutId:e}){const t=x.useContext(yp).id;return t&&e!==void 0?t+"-"+e:e}function vA(e,t){x.useContext(Xw).strict}function wA(e){const{drag:t,layout:n}=bi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const SA=["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 kp(e){return typeof e!="string"||e.includes("-")?!1:!!(SA.indexOf(e)>-1||/[A-Z]/u.test(e))}function vg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Tp(e,t,n,r){if(typeof t=="function"){const[i,s]=vg(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=vg(r);t=t(n!==void 0?n:e.custom,i,s)}return t}const wf=e=>Array.isArray(e),xA=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),bA=e=>wf(e)?e[e.length-1]||0:e,Ye=e=>!!(e&&e.getVelocity);function ma(e){const t=Ye(e)?e.get():e;return xA(t)?t.toValue():t}function EA({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,s){const o={latestValues:CA(r,i,s,e),renderState:t()};return n&&(o.onMount=a=>n({props:r,current:a,...o}),o.onUpdate=a=>n(a)),o}const nS=e=>(t,n)=>{const r=x.useContext(ql),i=x.useContext(Hl),s=()=>EA(e,t,r,i);return n?s():vp(s)};function CA(e,t,n,r){const i={},s=r(e,{});for(const d in s)i[d]=ma(s[d]);let{initial:o,animate:a}=e;const l=Yl(e),u=Zw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?a:o;if(f&&typeof f!="boolean"&&!Kl(f)){const d=Array.isArray(f)?f:[f];for(let m=0;mt=>typeof t=="string"&&t.startsWith(e),iS=rS("--"),kA=rS("var(--"),Pp=e=>kA(e)?TA.test(e.split("/*")[0].trim()):!1,TA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,sS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,hn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Ys={...Ii,transform:e=>hn(0,1,e)},Ko={...Ii,default:1},mo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=mo("deg"),Gt=mo("%"),z=mo("px"),PA=mo("vh"),_A=mo("vw"),wg={...Gt,parse:e=>Gt.parse(e)/100,transform:e=>Gt.transform(e*100)},AA={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,backgroundPositionX:z,backgroundPositionY:z},NA={rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:Ko,scaleX:Ko,scaleY:Ko,scaleZ:Ko,skew:kn,skewX:kn,skewY:kn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Ys,originX:wg,originY:wg,originZ:z},Sg={...Ii,transform:Math.round},_p={...AA,...NA,zIndex:Sg,size:z,fillOpacity:Ys,strokeOpacity:Ys,numOctaves:Sg},RA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jA=Li.length;function MA(e,t,n){let r="",i=!0;for(let s=0;s({style:{},transform:{},transformOrigin:{},vars:{}}),oS=()=>({...Rp(),attrs:{}}),jp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function aS(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const lS=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"]);function uS(e,t,n,r){aS(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(lS.has(i)?i:Ep(i),t.attrs[i])}const Xa={};function FA(e){Object.assign(Xa,e)}function cS(e,{layout:t,layoutId:n}){return Nr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Xa[e]||e==="opacity")}function Mp(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(Ye(i[o])||t.style&&Ye(t.style[o])||cS(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function fS(e,t,n){const r=Mp(e,t,n);for(const i in e)if(Ye(e[i])||Ye(t[i])){const s=Li.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function VA(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const bg=["x","y","width","height","cx","cy","r"],$A={useVisualState:nS({scrapeMotionValuesFromProps:fS,createRenderState:oS,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let s=!!e.drag;if(!s){for(const a in i)if(Nr.has(a)){s=!0;break}}if(!s)return;let o=!t;if(t)for(let a=0;a{VA(n,r),pe.render(()=>{Np(r,i,jp(n.tagName),e.transformTemplate),uS(n,r)})})}})},BA={useVisualState:nS({scrapeMotionValuesFromProps:Mp,createRenderState:Rp})};function dS(e,t,n){for(const r in t)!Ye(t[r])&&!cS(r,n)&&(e[r]=t[r])}function zA({transformTemplate:e},t){return x.useMemo(()=>{const n=Rp();return Ap(n,t,e),Object.assign({},n.vars,n.style)},[t])}function UA(e,t){const n=e.style||{},r={};return dS(r,n,e),Object.assign(r,zA(e,t)),r}function WA(e,t){const n={},r=UA(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function HA(e,t,n,r){const i=x.useMemo(()=>{const s=oS();return Np(s,t,jp(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};dS(s,e.style,e),i.style={...s,...i.style}}return i}function qA(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(kp(n)?HA:WA)(r,s,o,n),u=aA(r,typeof n=="string",e),c=n!==x.Fragment?{...u,...l,ref:i}:{},{children:f}=r,d=x.useMemo(()=>Ye(f)?f.get():f,[f]);return x.createElement(n,{...c,children:d})}}function KA(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...kp(r)?$A:BA,preloadedFeatures:e,useRender:qA(i),createVisualElement:t,Component:r};return gA(o)}}function pS(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r(ga===void 0&&Xt.set(De.isProcessing||tA.useManualTiming?De.timestamp:performance.now()),ga),set:e=>{ga=e,queueMicrotask(YA)}};function Lp(e,t){e.indexOf(t)===-1&&e.push(t)}function Ip(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Dp{constructor(){this.subscriptions=[]}add(t){return Lp(this.subscriptions,t),()=>Ip(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s!isNaN(parseFloat(e));class XA{constructor(t,n={}){this.version="11.18.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=Xt.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=GA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Dp);const r=this.events[t].add(n);return t==="change"?()=>{r(),pe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Eg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Eg);return mS(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gs(e,t){return new XA(e,t)}function QA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Gs(n))}function ZA(e,t){const n=Gl(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=bA(s[o]);QA(e,o,a)}}function JA(e){return!!(Ye(e)&&e.add)}function Sf(e,t){const n=e.getValue("willChange");if(JA(n))return n.add(t)}function gS(e){return e.props[Jw]}function Fp(e){let t;return()=>(t===void 0&&(t=e()),t)}const e3=Fp(()=>window.ScrollTimeline!==void 0);class t3{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r{if(e3()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,s)=>{i&&i(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class n3 extends t3{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const an=e=>e*1e3,ln=e=>e/1e3;function Vp(e){return typeof e=="function"}function Cg(e,t){e.timeline=t,e.onfinish=null}const $p=e=>Array.isArray(e)&&typeof e[0]=="number",r3={linearEasing:void 0};function i3(e,t){const n=Fp(e);return()=>{var r;return(r=r3[t])!==null&&r!==void 0?r:n()}}const Qa=i3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ei=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},yS=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:is([0,.65,.55,1]),circOut:is([.55,0,1,.45]),backIn:is([.31,.01,.66,-.59]),backOut:is([.33,1.53,.69,.99])};function wS(e,t){if(e)return typeof e=="function"&&Qa()?yS(e,t):$p(e)?is(e):Array.isArray(e)?e.map(n=>wS(n,t)||xf.easeOut):xf[e]}const SS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,s3=1e-7,o3=12;function a3(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=SS(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>s3&&++aa3(s,0,1,e,n);return s=>s===0||s===1?s:SS(i(s),t,r)}const xS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,bS=e=>t=>1-e(1-t),ES=go(.33,1.53,.69,.99),Bp=bS(ES),CS=xS(Bp),kS=e=>(e*=2)<1?.5*Bp(e):.5*(2-Math.pow(2,-10*(e-1))),zp=e=>1-Math.sin(Math.acos(e)),TS=bS(zp),PS=xS(zp),_S=e=>/^0[^.\s]+$/u.test(e);function l3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_S(e):!0}const ws=e=>Math.round(e*1e5)/1e5,Up=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function u3(e){return e==null}const c3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wp=(e,t)=>n=>!!(typeof n=="string"&&c3.test(n)&&n.startsWith(e)||t&&!u3(n)&&Object.prototype.hasOwnProperty.call(n,t)),AS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Up);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},f3=e=>hn(0,255,e),qu={...Ii,transform:e=>Math.round(f3(e))},cr={test:Wp("rgb","red"),parse:AS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qu.transform(e)+", "+qu.transform(t)+", "+qu.transform(n)+", "+ws(Ys.transform(r))+")"};function d3(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const bf={test:Wp("#"),parse:d3,transform:cr.transform},Jr={test:Wp("hsl","hue"),parse:AS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Gt.transform(ws(t))+", "+Gt.transform(ws(n))+", "+ws(Ys.transform(r))+")"},He={test:e=>cr.test(e)||bf.test(e)||Jr.test(e),parse:e=>cr.test(e)?cr.parse(e):Jr.test(e)?Jr.parse(e):bf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?cr.transform(e):Jr.transform(e)},p3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function h3(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Up))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(p3))===null||n===void 0?void 0:n.length)||0)>0}const NS="number",RS="color",m3="var",g3="var(",kg="${}",y3=/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 Xs(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(y3,l=>(He.test(l)?(r.color.push(s),i.push(RS),n.push(He.parse(l))):l.startsWith(g3)?(r.var.push(s),i.push(m3),n.push(l)):(r.number.push(s),i.push(NS),n.push(parseFloat(l))),++s,kg)).split(kg);return{values:n,split:a,indexes:r,types:i}}function jS(e){return Xs(e).values}function MS(e){const{split:t,types:n}=Xs(e),r=t.length;return i=>{let s="";for(let o=0;otypeof e=="number"?0:e;function w3(e){const t=jS(e);return MS(e)(t.map(v3))}const qn={test:h3,parse:jS,createTransformer:MS,getAnimatableNone:w3},S3=new Set(["brightness","contrast","saturate","opacity"]);function x3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Up)||[];if(!r)return e;const i=n.replace(r,"");let s=S3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const b3=/\b([a-z-]*)\(.*?\)/gu,Ef={...qn,getAnimatableNone:e=>{const t=e.match(b3);return t?t.map(x3).join(" "):e}},E3={..._p,color:He,backgroundColor:He,outlineColor:He,fill:He,stroke:He,borderColor:He,borderTopColor:He,borderRightColor:He,borderBottomColor:He,borderLeftColor:He,filter:Ef,WebkitFilter:Ef},Hp=e=>E3[e];function OS(e,t){let n=Hp(e);return n!==Ef&&(n=qn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const C3=new Set(["auto","none","0"]);function k3(e,t,n){let r=0,i;for(;re===Ii||e===z,Pg=(e,t)=>parseFloat(e.split(", ")[t]),_g=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Pg(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?Pg(s[1],e):0}},T3=new Set(["x","y","z"]),P3=Li.filter(e=>!T3.has(e));function _3(e){const t=[];return P3.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ci={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:_g(4,13),y:_g(5,14)};Ci.translateX=Ci.x;Ci.translateY=Ci.y;const gr=new Set;let Cf=!1,kf=!1;function LS(){if(kf){const e=Array.from(gr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=_3(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}kf=!1,Cf=!1,gr.forEach(e=>e.complete()),gr.clear()}function IS(){gr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kf=!0)})}function A3(){IS(),LS()}class qp{constructor(t,n,r,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(gr.add(this),Cf||(Cf=!0,pe.read(IS),pe.resolveKeyframes(LS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;s/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),N3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function R3(e){const t=N3.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function FS(e,t,n=1){const[r,i]=R3(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return DS(o)?parseFloat(o):o}return Pp(i)?FS(i,t,n+1):i}const VS=e=>t=>t.test(e),j3={test:e=>e==="auto",parse:e=>e},$S=[Ii,z,Gt,kn,_A,PA,j3],Ag=e=>$S.find(VS(e));class BS extends qp{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const Ng=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(qn.test(e)||e==="0")&&!e.startsWith("url("));function M3(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function Xl(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(L3),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const I3=40;class zS{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Xt.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>I3?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&A3(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Xt.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:s,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!O3(t,r,i,s))if(o)this.options.duration=0;else{l==null||l(Xl(t,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Tf=2e4;function US(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Tf?1/0:t}const ve=(e,t,n)=>e+(t-e)*n;function Ku(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function D3({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Ku(l,a,e+1/3),s=Ku(l,a,e),o=Ku(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Za(e,t){return n=>n>0?t:e}const Yu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},F3=[bf,cr,Jr],V3=e=>F3.find(t=>t.test(e));function Rg(e){const t=V3(e);if(!t)return!1;let n=t.parse(e);return t===Jr&&(n=D3(n)),n}const jg=(e,t)=>{const n=Rg(e),r=Rg(t);if(!n||!r)return Za(e,t);const i={...n};return s=>(i.red=Yu(n.red,r.red,s),i.green=Yu(n.green,r.green,s),i.blue=Yu(n.blue,r.blue,s),i.alpha=ve(n.alpha,r.alpha,s),cr.transform(i))},$3=(e,t)=>n=>t(e(n)),yo=(...e)=>e.reduce($3),Pf=new Set(["none","hidden"]);function B3(e,t){return Pf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function z3(e,t){return n=>ve(e,t,n)}function Kp(e){return typeof e=="number"?z3:typeof e=="string"?Pp(e)?Za:He.test(e)?jg:H3:Array.isArray(e)?WS:typeof e=="object"?He.test(e)?jg:U3:Za}function WS(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Kp(s)(s,t[o]));return s=>{for(let o=0;o{for(const s in r)n[s]=r[s](i);return n}}function W3(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s{const n=qn.createTransformer(t),r=Xs(e),i=Xs(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pf.has(e)&&!i.values.length||Pf.has(t)&&!r.values.length?B3(e,t):yo(WS(W3(r,i),i.values),n):Za(e,t)};function HS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):Kp(e)(e,t)}const q3=5;function qS(e,t,n){const r=Math.max(t-q3,0);return mS(n-e(r),t-r)}const xe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Mg=.001;function K3({duration:e=xe.duration,bounce:t=xe.bounce,velocity:n=xe.velocity,mass:r=xe.mass}){let i,s,o=1-t;o=hn(xe.minDamping,xe.maxDamping,o),e=hn(xe.minDuration,xe.maxDuration,ln(e)),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,m=_f(u,o),y=Math.exp(-f);return Mg-d/m*y},s=u=>{const f=u*o*e,d=f*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-f),g=_f(Math.pow(u,2),o);return(-i(u)+Mg>0?-1:1)*((d-m)*y)/g}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-.001+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=G3(i,s,a);if(e=an(e),isNaN(l))return{stiffness:xe.stiffness,damping:xe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Y3=12;function G3(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Z3(e){let t={velocity:xe.velocity,stiffness:xe.stiffness,damping:xe.damping,mass:xe.mass,isResolvedFromDuration:!1,...e};if(!Og(e,Q3)&&Og(e,X3))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*hn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:xe.mass,stiffness:i,damping:s}}else{const n=K3(e);t={...t,...n,mass:xe.mass},t.isResolvedFromDuration=!0}return t}function KS(e=xe.visualDuration,t=xe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=Z3({...n,velocity:-ln(n.velocity||0)}),y=d||0,g=u/(2*Math.sqrt(l*c)),w=o-s,p=ln(Math.sqrt(l/c)),h=Math.abs(w)<5;r||(r=h?xe.restSpeed.granular:xe.restSpeed.default),i||(i=h?xe.restDelta.granular:xe.restDelta.default);let v;if(g<1){const E=_f(p,g);v=C=>{const k=Math.exp(-g*p*C);return o-k*((y+g*p*w)/E*Math.sin(E*C)+w*Math.cos(E*C))}}else if(g===1)v=E=>o-Math.exp(-p*E)*(w+(y+p*w)*E);else{const E=p*Math.sqrt(g*g-1);v=C=>{const k=Math.exp(-g*p*C),T=Math.min(E*C,300);return o-k*((y+g*p*w)*Math.sinh(T)+E*w*Math.cosh(T))/E}}const b={calculatedDuration:m&&f||null,next:E=>{const C=v(E);if(m)a.done=E>=f;else{let k=0;g<1&&(k=E===0?an(y):qS(v,E,C));const T=Math.abs(k)<=r,j=Math.abs(o-C)<=i;a.done=T&&j}return a.value=a.done?o:C,a},toString:()=>{const E=Math.min(US(b),Tf),C=yS(k=>b.next(E*k).value,E,30);return E+"ms "+C}};return b}function Lg({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},m=T=>a!==void 0&&Tl,y=T=>a===void 0?l:l===void 0||Math.abs(a-T)-g*Math.exp(-T/r),v=T=>p+h(T),b=T=>{const j=h(T),L=v(T);d.done=Math.abs(j)<=u,d.value=d.done?p:L};let E,C;const k=T=>{m(d.value)&&(E=T,C=KS({keyframes:[d.value,y(d.value)],velocity:qS(v,T,d.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:T=>{let j=!1;return!C&&E===void 0&&(j=!0,b(T),k(T)),E!==void 0&&T>=E?C.next(T-E):(!j&&b(T),d)}}}const J3=go(.42,0,1,1),eN=go(0,0,.58,1),YS=go(.42,0,.58,1),tN=e=>Array.isArray(e)&&typeof e[0]!="number",Ig={linear:dt,easeIn:J3,easeInOut:YS,easeOut:eN,circIn:zp,circInOut:PS,circOut:TS,backIn:Bp,backInOut:CS,backOut:ES,anticipate:kS},Dg=e=>{if($p(e)){vf(e.length===4);const[t,n,r,i]=e;return go(t,n,r,i)}else if(typeof e=="string")return vf(Ig[e]!==void 0),Ig[e];return e};function nN(e,t,n){const r=[],i=n||HS,s=e.length-1;for(let o=0;ot[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=nN(t,r,i),l=a.length,u=c=>{if(o&&c1)for(;fu(hn(e[0],e[s-1],c)):u}function iN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ei(0,t,r);e.push(ve(n,1,i))}}function sN(e){const t=[0];return iN(t,e.length-1),t}function oN(e,t){return e.map(n=>n*t)}function aN(e,t){return e.map(()=>t||YS).splice(0,e.length-1)}function Ja({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=tN(r)?r.map(Dg):Dg(r),s={done:!1,value:t[0]},o=oN(n&&n.length===t.length?n:sN(t),e),a=rN(o,t,{ease:Array.isArray(i)?i:aN(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const lN=e=>{const t=({timestamp:n})=>e(n);return{start:()=>pe.update(t,!0),stop:()=>Hn(t),now:()=>De.isProcessing?De.timestamp:Xt.now()}},uN={decay:Lg,inertia:Lg,tween:Ja,keyframes:Ja,spring:KS},cN=e=>e/100;class Yp extends zS{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:i,keyframes:s}=this.options,o=(i==null?void 0:i.KeyframeResolver)||qp,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(s,a,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,a=Vp(n)?n:uN[n]||Ja;let l,u;a!==Ja&&typeof t[0]!="number"&&(l=yo(cN,HS(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=US(c));const{calculatedDuration:f}=c,d=f+i,m=d*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:m}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return s.next(0);const{delay:d,repeat:m,repeatType:y,repeatDelay:g,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-d*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,b=s;if(m){const T=Math.min(this.currentTime,c)/f;let j=Math.floor(T),L=T%1;!L&&T>=1&&(L=1),L===1&&j--,j=Math.min(j,m+1),!!(j%2)&&(y==="reverse"?(L=1-L,g&&(L-=g/f)):y==="mirror"&&(b=o)),v=hn(0,1,L)*f}const E=h?{done:!1,value:l[0]}:b.next(v);a&&(E.value=a(E.value));let{done:C}=E;!h&&u!==null&&(C=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return k&&i!==void 0&&(E.value=Xl(l,this.options,i)),w&&w(E.value),k&&this.finish(),E}get duration(){const{resolved:t}=this;return t?ln(t.calculatedDuration):0}get time(){return ln(this.currentTime)}set time(t){t=an(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=ln(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=lN,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const fN=new Set(["opacity","clipPath","filter","transform"]);function dN(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=wS(a,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const pN=Fp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),el=10,hN=2e4;function mN(e){return Vp(e.type)||e.type==="spring"||!vS(e.ease)}function gN(e,t){const n=new Yp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&sthis.onKeyframesResolved(o,a),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof o=="string"&&Qa()&&yN(o)&&(o=GS[o]),mN(this.options)){const{onComplete:d,onUpdate:m,motionValue:y,element:g,...w}=this.options,p=gN(t,w);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,s=p.times,o=p.ease,a="keyframes"}const f=dN(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return f.startTime=c??this.calcStartTime(),this.pendingTimeline?(Cg(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;l.set(Xl(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:i,times:s,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return ln(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ln(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=an(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return dt;const{animation:r}=n;Cg(r,t)}return dt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:s,ease:o,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...m}=this.options,y=new Yp({...m,keyframes:r,duration:i,type:s,ease:o,times:a,isGenerator:!0}),g=an(this.time);u.setWithVelocity(y.sample(g-el).value,y.sample(g).value,el)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:s,damping:o,type:a}=t;return pN()&&r&&fN.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&a!=="inertia"}}const vN={type:"spring",stiffness:500,damping:25,restSpeed:10},wN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),SN={type:"keyframes",duration:.8},xN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bN=(e,{keyframes:t})=>t.length>2?SN:Nr.has(e)?e.startsWith("scale")?wN(t[1]):vN:xN;function EN({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Gp=(e,t,n,r={},i,s)=>o=>{const a=Op(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-an(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};EN(a)||(c={...c,...bN(e,c)}),c.duration&&(c.duration=an(c.duration)),c.repeatDelay&&(c.repeatDelay=an(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const d=Xl(c.keyframes,a);if(d!==void 0)return pe.update(()=>{c.onUpdate(d),c.onComplete()}),new n3([])}return!s&&Fg.supports(c)?new Fg(c):new Yp(c)};function CN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function XS(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),m=l[f];if(m===void 0||c&&CN(c,f))continue;const y={delay:n,...Op(o||{},f)};let g=!1;if(window.MotionHandoffAnimation){const p=gS(e);if(p){const h=window.MotionHandoffAnimation(p,f,pe);h!==null&&(y.startTime=h,g=!0)}}Sf(e,f),d.start(Gp(f,d,m,e.shouldReduceMotion&&hS.has(f)?{type:!1}:y,e,g));const w=d.animation;w&&u.push(w)}return a&&Promise.all(u).then(()=>{pe.update(()=>{a&&ZA(e,a)})}),u}function Af(e,t,n={}){var r;const i=Gl(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(XS(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=s;return kN(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function kN(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(TN).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Af(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function TN(e,t){return e.sortNodePosition(t)}function PN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Af(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Af(e,t,n);else{const i=typeof t=="function"?Gl(e,t,n.custom):t;r=Promise.all(XS(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const _N=bp.length;function QS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?QS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<_N;n++){const r=bp[n],i=e.props[r];(Ks(i)||i===!1)&&(t[r]=i)}return t}const AN=[...xp].reverse(),NN=xp.length;function RN(e){return t=>Promise.all(t.map(({animation:n,options:r})=>PN(e,n,r)))}function jN(e){let t=RN(e),n=Vg(),r=!0;const i=l=>(u,c)=>{var f;const d=Gl(e,c,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:m,transitionEnd:y,...g}=d;u={...u,...g,...y}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=QS(e.parent)||{},f=[],d=new Set;let m={},y=1/0;for(let w=0;wy&&b,j=!1;const L=Array.isArray(v)?v:[v];let U=L.reduce(i(p),{});E===!1&&(U={});const{prevResolvedValues:te={}}=h,Y={...te,...U},Q=K=>{T=!0,d.has(K)&&(j=!0,d.delete(K)),h.needsAnimating[K]=!0;const _=e.getValue(K);_&&(_.liveStyle=!1)};for(const K in Y){const _=U[K],I=te[K];if(m.hasOwnProperty(K))continue;let V=!1;wf(_)&&wf(I)?V=!pS(_,I):V=_!==I,V?_!=null?Q(K):d.add(K):_!==void 0&&d.has(K)?Q(K):h.protectedKeys[K]=!0}h.prevProp=v,h.prevResolvedValues=U,h.isActive&&(m={...m,...U}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(C&&k)||j)&&f.push(...L.map(K=>({animation:K,options:{type:p}})))}if(d.size){const w={};d.forEach(p=>{const h=e.getBaseTarget(p),v=e.getValue(p);v&&(v.liveStyle=!0),w[p]=h??null}),f.push({animation:w})}let g=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(l,u)}),n[l].isActive=u;const f=o(l);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Vg(),r=!0}}}function MN(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!pS(t,e):!1}function tr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vg(){return{animate:tr(!0),whileInView:tr(),whileHover:tr(),whileTap:tr(),whileDrag:tr(),whileFocus:tr(),exit:tr()}}class Jn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ON extends Jn{constructor(t){super(t),t.animationState||(t.animationState=jN(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Kl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let LN=0;class IN extends Jn{constructor(){super(...arguments),this.id=LN++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const DN={animation:{Feature:ON},exit:{Feature:IN}},Nt={x:!1,y:!1};function ZS(){return Nt.x||Nt.y}function FN(e){return e==="x"||e==="y"?Nt[e]?null:(Nt[e]=!0,()=>{Nt[e]=!1}):Nt.x||Nt.y?null:(Nt.x=Nt.y=!0,()=>{Nt.x=Nt.y=!1})}const Xp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Qs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function vo(e){return{point:{x:e.pageX,y:e.pageY}}}const VN=e=>t=>Xp(t)&&e(t,vo(t));function Ss(e,t,n,r){return Qs(e,t,VN(n),r)}const $g=(e,t)=>Math.abs(e-t);function $N(e,t){const n=$g(e.x,t.x),r=$g(e.y,t.y);return Math.sqrt(n**2+r**2)}class JS{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Xu(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,m=$N(f.offset,{x:0,y:0})>=3;if(!d&&!m)return;const{point:y}=f,{timestamp:g}=De;this.history.push({...y,timestamp:g});const{onStart:w,onMove:p}=this.handlers;d||(w&&w(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Gu(d,this.transformPagePoint),pe.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:m,onSessionEnd:y,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Xu(f.type==="pointercancel"?this.lastMoveEventInfo:Gu(d,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,w),y&&y(f,w)},!Xp(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=vo(t),a=Gu(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=De;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Xu(a,this.history)),this.removeListeners=yo(Ss(this.contextWindow,"pointermove",this.handlePointerMove),Ss(this.contextWindow,"pointerup",this.handlePointerUp),Ss(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Hn(this.updatePoint)}}function Gu(e,t){return t?{point:t(e.point)}:e}function Bg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Xu({point:e},t){return{point:e,delta:Bg(e,ex(t)),offset:Bg(e,BN(t)),velocity:zN(t,.1)}}function BN(e){return e[0]}function ex(e){return e[e.length-1]}function zN(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ex(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>an(t)));)n--;if(!r)return{x:0,y:0};const s=ln(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const tx=1e-4,UN=1-tx,WN=1+tx,nx=.01,HN=0-nx,qN=0+nx;function ht(e){return e.max-e.min}function KN(e,t,n){return Math.abs(e-t)<=n}function zg(e,t,n,r=.5){e.origin=r,e.originPoint=ve(t.min,t.max,e.origin),e.scale=ht(n)/ht(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=UN&&e.scale<=WN||isNaN(e.scale))&&(e.scale=1),(e.translate>=HN&&e.translate<=qN||isNaN(e.translate))&&(e.translate=0)}function xs(e,t,n,r){zg(e.x,t.x,n.x,r?r.originX:void 0),zg(e.y,t.y,n.y,r?r.originY:void 0)}function Ug(e,t,n){e.min=n.min+t.min,e.max=e.min+ht(t)}function YN(e,t,n){Ug(e.x,t.x,n.x),Ug(e.y,t.y,n.y)}function Wg(e,t,n){e.min=t.min-n.min,e.max=e.min+ht(t)}function bs(e,t,n){Wg(e.x,t.x,n.x),Wg(e.y,t.y,n.y)}function GN(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?ve(n,e,r.max):Math.min(e,n)),e}function Hg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function XN(e,{top:t,left:n,bottom:r,right:i}){return{x:Hg(e.x,n,i),y:Hg(e.y,t,r)}}function qg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Ei(t.min,t.max-r,e.min):r>i&&(n=Ei(e.min,e.max-i,t.min)),hn(0,1,n)}function JN(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Nf=.35;function eR(e=Nf){return e===!1?e=0:e===!0&&(e=Nf),{x:Kg(e,"left","right"),y:Kg(e,"top","bottom")}}function Kg(e,t,n){return{min:Yg(e,t),max:Yg(e,n)}}function Yg(e,t){return typeof e=="number"?e:e[t]||0}const Gg=()=>({translate:0,scale:1,origin:0,originPoint:0}),ei=()=>({x:Gg(),y:Gg()}),Xg=()=>({min:0,max:0}),Ce=()=>({x:Xg(),y:Xg()});function St(e){return[e("x"),e("y")]}function rx({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function tR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function nR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Qu(e){return e===void 0||e===1}function Rf({scale:e,scaleX:t,scaleY:n}){return!Qu(e)||!Qu(t)||!Qu(n)}function ir(e){return Rf(e)||ix(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ix(e){return Qg(e.x)||Qg(e.y)}function Qg(e){return e&&e!=="0%"}function tl(e,t,n){const r=e-n,i=t*r;return n+i}function Zg(e,t,n,r,i){return i!==void 0&&(e=tl(e,i,r)),tl(e,n,r)+t}function jf(e,t=0,n=1,r,i){e.min=Zg(e.min,t,n,r,i),e.max=Zg(e.max,t,n,r,i)}function sx(e,{x:t,y:n}){jf(e.x,t.translate,t.scale,t.originPoint),jf(e.y,n.translate,n.scale,n.originPoint)}const Jg=.999999999999,ey=1.0000000000001;function rR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;aJg&&(t.x=1),t.yJg&&(t.y=1)}function ti(e,t){e.min=e.min+t,e.max=e.max+t}function ty(e,t,n,r,i=.5){const s=ve(e.min,e.max,i);jf(e,t,n,s,r)}function ni(e,t){ty(e.x,t.x,t.scaleX,t.scale,t.originX),ty(e.y,t.y,t.scaleY,t.scale,t.originY)}function ox(e,t){return rx(nR(e.getBoundingClientRect(),t))}function iR(e,t,n){const r=ox(e,n),{scroll:i}=t;return i&&(ti(r.x,i.offset.x),ti(r.y,i.offset.y)),r}const ax=({current:e})=>e?e.ownerDocument.defaultView:null,sR=new WeakMap;class oR{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=Ce(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(vo(c).point)},s=(c,f)=>{const{drag:d,dragPropagation:m,onDragStart:y}=this.getProps();if(d&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=FN(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St(w=>{let p=this.getAxisMotionValue(w).get()||0;if(Gt.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const v=h.layout.layoutBox[w];v&&(p=ht(v)*(parseFloat(p)/100))}}this.originPoint[w]=p}),y&&pe.postRender(()=>y(c,f)),Sf(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,f)=>{const{dragPropagation:d,dragDirectionLock:m,onDirectionLock:y,onDrag:g}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:w}=f;if(m&&this.currentDirection===null){this.currentDirection=aR(w),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,w),this.updateAxis("y",f.point,w),this.visualElement.render(),g&&g(c,f)},a=(c,f)=>this.stop(c,f),l=()=>St(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new JS(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:ax(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&pe.postRender(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Yo(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=GN(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&Zr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=XN(i.layoutBox,n):this.constraints=!1,this.elastic=eR(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=JN(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Zr(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=iR(r,i.root,this.visualElement.getTransformPagePoint());let o=QN(i.layout.layoutBox,s);if(n){const a=n(tR(o));this.hasMutatedConstraints=!!a,a&&(o=rx(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=St(c=>{if(!Yo(c,n,this.currentDirection))return;let f=l[c]||{};o&&(f={min:0,max:0});const d=i?200:1e6,m=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Sf(this.visualElement,t),r.start(Gp(t,r,0,n,this.visualElement,!1))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){St(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){St(n=>{const{drag:r}=this.getProps();if(!Yo(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-ve(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Zr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};St(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=ZN({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),St(o=>{if(!Yo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ve(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;sR.set(this.visualElement,this);const t=this.visualElement.current,n=Ss(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Zr(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),pe.read(r);const o=Qs(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(St(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Nf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Yo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function aR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class lR extends Jn{constructor(t){super(t),this.removeGroupControls=dt,this.removeListeners=dt,this.controls=new oR(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ny=e=>(t,n)=>{e&&pe.postRender(()=>e(t,n))};class uR extends Jn{constructor(){super(...arguments),this.removePointerDownListener=dt}onPointerDown(t){this.session=new JS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ax(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ny(t),onStart:ny(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&pe.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ss(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ya={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ry(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ji={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=ry(e,t.target.x),r=ry(e,t.target.y);return`${n}% ${r}%`}},cR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=qn.parse(e);if(i.length>5)return r;const s=qn.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=ve(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class fR extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;FA(dR),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),ya.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||pe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Cp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lx(e){const[t,n]=Kw(),r=x.useContext(yp);return S.jsx(fR,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(eS),isPresent:t,safeToRemove:n})}const dR={borderRadius:{...Ji,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ji,borderTopRightRadius:Ji,borderBottomLeftRadius:Ji,borderBottomRightRadius:Ji,boxShadow:cR};function pR(e,t,n){const r=Ye(e)?e:Gs(e);return r.start(Gp("",r,t,n)),r.animation}function hR(e){return e instanceof SVGElement&&e.tagName!=="svg"}const mR=(e,t)=>e.depth-t.depth;class gR{constructor(){this.children=[],this.isDirty=!1}add(t){Lp(this.children,t),this.isDirty=!0}remove(t){Ip(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(mR),this.isDirty=!1,this.children.forEach(t)}}function yR(e,t){const n=Xt.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Hn(r),e(s-t))};return pe.read(r,!0),()=>Hn(r)}const ux=["TopLeft","TopRight","BottomLeft","BottomRight"],vR=ux.length,iy=e=>typeof e=="string"?parseFloat(e):e,sy=e=>typeof e=="number"||z.test(e);function wR(e,t,n,r,i,s){i?(e.opacity=ve(0,n.opacity!==void 0?n.opacity:1,SR(r)),e.opacityExit=ve(t.opacity!==void 0?t.opacity:1,0,xR(r))):s&&(e.opacity=ve(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Ei(e,t,r))}function ay(e,t){e.min=t.min,e.max=t.max}function wt(e,t){ay(e.x,t.x),ay(e.y,t.y)}function ly(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function uy(e,t,n,r,i){return e-=t,e=tl(e,1/n,r),i!==void 0&&(e=tl(e,1/i,r)),e}function bR(e,t=0,n=1,r=.5,i,s=e,o=e){if(Gt.test(t)&&(t=parseFloat(t),t=ve(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ve(s.min,s.max,r);e===s&&(a-=t),e.min=uy(e.min,t,n,a,i),e.max=uy(e.max,t,n,a,i)}function cy(e,t,[n,r,i],s,o){bR(e,t[n],t[r],t[i],t.scale,s,o)}const ER=["x","scaleX","originX"],CR=["y","scaleY","originY"];function fy(e,t,n,r){cy(e.x,t,ER,n?n.x:void 0,r?r.x:void 0),cy(e.y,t,CR,n?n.y:void 0,r?r.y:void 0)}function dy(e){return e.translate===0&&e.scale===1}function fx(e){return dy(e.x)&&dy(e.y)}function py(e,t){return e.min===t.min&&e.max===t.max}function kR(e,t){return py(e.x,t.x)&&py(e.y,t.y)}function hy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function dx(e,t){return hy(e.x,t.x)&&hy(e.y,t.y)}function my(e){return ht(e.x)/ht(e.y)}function gy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class TR{constructor(){this.members=[]}add(t){Lp(this.members,t),t.scheduleRender()}remove(t){if(Ip(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function PR(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:m,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),m&&(r+=`skewX(${m}deg) `),y&&(r+=`skewY(${y}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const sr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ss=typeof window<"u"&&window.MotionDebug!==void 0,Zu=["","X","Y","Z"],_R={visibility:"hidden"},yy=1e3;let AR=0;function Ju(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function px(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=gS(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pe,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&px(r)}function hx({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=AR++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ss&&(sr.totalNodes=sr.resolvedTargetDeltas=sr.recalculatedProjection=0),this.nodes.forEach(jR),this.nodes.forEach(DR),this.nodes.forEach(FR),this.nodes.forEach(MR),ss&&window.MotionDebug.record(sr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=yR(d,250),ya.hasAnimatedSinceResize&&(ya.hasAnimatedSinceResize=!1,this.nodes.forEach(wy))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:m,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||UR,{onLayoutAnimationStart:w,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!dx(this.targetLayout,y)||m,v=!d&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,v);const b={...Op(g,"layout"),onPlay:w,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else d||wy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Hn(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(VR),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&px(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const E=b/1e3;Sy(f.x,o.x,E),Sy(f.y,o.y,E),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(bs(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),BR(this.relativeTarget,this.relativeTargetOrigin,d,E),v&&kR(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ce()),wt(v,this.relativeTarget)),g&&(this.animationValues=c,wR(c,u,this.latestValues,E,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Hn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pe.update(()=>{ya.hasAnimatedSinceResize=!0,this.currentAnimation=pR(0,yy,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&mx(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ce();const f=ht(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const d=ht(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+d}wt(a,l),ni(a,c),xs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new TR),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ju("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(vy),this.root.sharedNodes.clear()}}}function NR(e){e.updateLayout()}function RR(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?St(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],m=ht(d);d.min=r[f].min,d.max=d.min+m}):mx(s,n.layoutBox,r)&&St(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],m=ht(r[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const a=ei();xs(a,r,n.layoutBox);const l=ei();o?xs(l,e.applyTransform(i,!0),n.measuredBox):xs(l,r,n.layoutBox);const u=!fx(a);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:m}=f;if(d&&m){const y=Ce();bs(y,n.layoutBox,d.layoutBox);const g=Ce();bs(g,r,m.layoutBox),dx(y,g)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function jR(e){ss&&sr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function MR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OR(e){e.clearSnapshot()}function vy(e){e.clearMeasurements()}function LR(e){e.isLayoutDirty=!1}function IR(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function wy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function DR(e){e.resolveTargetDelta()}function FR(e){e.calcProjection()}function VR(e){e.resetSkewAndRotation()}function $R(e){e.removeLeadSnapshot()}function Sy(e,t,n){e.translate=ve(t.translate,0,n),e.scale=ve(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xy(e,t,n,r){e.min=ve(t.min,n.min,r),e.max=ve(t.max,n.max,r)}function BR(e,t,n,r){xy(e.x,t.x,n.x,r),xy(e.y,t.y,n.y,r)}function zR(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const UR={duration:.45,ease:[.4,0,.1,1]},by=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ey=by("applewebkit/")&&!by("chrome/")?Math.round:dt;function Cy(e){e.min=Ey(e.min),e.max=Ey(e.max)}function WR(e){Cy(e.x),Cy(e.y)}function mx(e,t,n){return e==="position"||e==="preserve-aspect"&&!KN(my(t),my(n),.2)}function HR(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const qR=hx({attachResizeListener:(e,t)=>Qs(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ec={current:void 0},gx=hx({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ec.current){const e=new qR({});e.mount(window),e.setOptions({layoutScroll:!0}),ec.current=e}return ec.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),KR={pan:{Feature:uR},drag:{Feature:lR,ProjectionNode:gx,MeasureLayout:lx}};function YR(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const s=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function yx(e,t){const n=YR(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function ky(e){return t=>{t.pointerType==="touch"||ZS()||e(t)}}function GR(e,t,n={}){const[r,i,s]=yx(e,n),o=ky(a=>{const{target:l}=a,u=t(a);if(typeof u!="function"||!l)return;const c=ky(f=>{u(f),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,i)});return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}function Ty(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&pe.postRender(()=>s(t,vo(t)))}class XR extends Jn{mount(){const{current:t}=this.node;t&&(this.unmount=GR(t,n=>(Ty(this.node,n,"Start"),r=>Ty(this.node,r,"End"))))}unmount(){}}class QR extends Jn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{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=yo(Qs(this.node.current,"focus",()=>this.onFocus()),Qs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const vx=(e,t)=>t?e===t?!0:vx(e,t.parentElement):!1,ZR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function JR(e){return ZR.has(e.tagName)||e.tabIndex!==-1}const os=new WeakSet;function Py(e){return t=>{t.key==="Enter"&&e(t)}}function tc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const e5=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Py(()=>{if(os.has(n))return;tc(n,"down");const i=Py(()=>{tc(n,"up")}),s=()=>tc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function _y(e){return Xp(e)&&!ZS()}function t5(e,t,n={}){const[r,i,s]=yx(e,n),o=a=>{const l=a.currentTarget;if(!_y(a)||os.has(l))return;os.add(l);const u=t(a),c=(m,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),!(!_y(m)||!os.has(l))&&(os.delete(l),typeof u=="function"&&u(m,{success:y}))},f=m=>{c(m,n.useGlobalTarget||vx(l,m.target))},d=m=>{c(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return r.forEach(a=>{!JR(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),a.addEventListener("focus",u=>e5(u,i),i)}),s}function Ay(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&pe.postRender(()=>s(t,vo(t)))}class n5 extends Jn{mount(){const{current:t}=this.node;t&&(this.unmount=t5(t,n=>(Ay(this.node,n,"Start"),(r,{success:i})=>Ay(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Mf=new WeakMap,nc=new WeakMap,r5=e=>{const t=Mf.get(e.target);t&&t(e)},i5=e=>{e.forEach(r5)};function s5({root:e,...t}){const n=e||document;nc.has(n)||nc.set(n,{});const r=nc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(i5,{root:e,...t})),r[i]}function o5(e,t,n){const r=s5(t);return Mf.set(e,n),r.observe(e),()=>{Mf.delete(e),r.unobserve(e)}}const a5={some:0,all:1};class l5 extends Jn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:a5[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(l)};return o5(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(u5(t,n))&&this.startObserver()}unmount(){}}function u5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const c5={inView:{Feature:l5},tap:{Feature:n5},focus:{Feature:QR},hover:{Feature:XR}},f5={layout:{ProjectionNode:gx,MeasureLayout:lx}},Of={current:null},wx={current:!1};function d5(){if(wx.current=!0,!!Sp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Of.current=e.matches;e.addListener(t),t()}else Of.current=!1}const p5=[...$S,He,qn],h5=e=>p5.find(VS(e)),Ny=new WeakMap;function m5(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ye(i))e.addValue(r,i);else if(Ye(s))e.addValue(r,Gs(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Gs(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ry=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class g5{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qp,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 m=Xt.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),wx.current||d5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Of.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ny.delete(this.current),this.projection&&this.projection.unmount(),Hn(this.notifyUpdate),Hn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Nr.has(t),i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&pe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bi){const n=bi[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Gs(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(DS(i)||_S(i))?i=parseFloat(i):!h5(i)&&qn.test(n)&&(i=OS(t,n)),this.setBaseTarget(t,Ye(i)?i.get():i)),Ye(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=Tp(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ye(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Dp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Sx extends g5{constructor(){super(...arguments),this.KeyframeResolver=BS}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ye(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function y5(e){return window.getComputedStyle(e)}class v5 extends Sx{constructor(){super(...arguments),this.type="html",this.renderInstance=aS}readValueFromInstance(t,n){if(Nr.has(n)){const r=Hp(n);return r&&r.default||0}else{const r=y5(t),i=(iS(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ox(t,n)}build(t,n,r){Ap(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Mp(t,n,r)}}class w5 extends Sx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Nr.has(n)){const r=Hp(n);return r&&r.default||0}return n=lS.has(n)?n:Ep(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return fS(t,n,r)}build(t,n,r){Np(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){uS(t,n,r,i)}mount(t){this.isSVGTag=jp(t.tagName),super.mount(t)}}const S5=(e,t)=>kp(e)?new w5(t):new v5(t,{allowProjection:e!==x.Fragment}),x5=KA({...DN,...c5,...KR,...f5},S5),nn=lA(x5),b5=()=>S.jsxs("div",{className:"header__box",children:[S.jsxs("div",{id:"header__big_container",children:[S.jsxs(nn.div,{id:"header__logo_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:[S.jsx("img",{id:"cloud",src:Km,alt:"A cloud"}),S.jsx("img",{src:nP,alt:"Wildhacks 2025 logo"}),S.jsx("img",{id:"cloud",src:Ym,alt:"A cloud"})]}),S.jsx(nn.div,{className:"header__splash_words",id:"header__logo_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:S.jsx("span",{children:"April 4-6, 2025"})}),S.jsx(nn.div,{id:"header__email_container",initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.8,scale:{type:"spring",visualDuration:.3,bounce:.8}},children:S.jsx(G_,{})})]}),S.jsxs(nn.div,{id:"header__backdrop",initial:{opacity:.4,scale:.6},animate:{opacity:1,scale:1},transition:{duration:.4,scale:{type:"spring",visualDuration:.4,bounce:.6}},children:[S.jsx(nn.div,{id:"header__balloon_container",initial:{transform:"translateX(0px)"},animate:{transform:"translateX(-1000px)",visibility:"hidden"},transition:{duration:3,delay:.1,scale:{type:"spring",visualDuration:.4,bounce:.6},ease:"easeOut"},children:S.jsx("img",{src:xw,alt:"A cloud"})}),S.jsxs(nn.div,{id:"header__clouds_container",initial:{transform:"translateX(0px)"},animate:{transform:"translateX(800px)",visibility:"hidden"},transition:{duration:4,delay:.12,scale:{type:"spring",visualDuration:.4,bounce:.6},ease:"easeOut"},children:[S.jsx("div",{style:{transform:"translateX(25px)"},children:S.jsx("img",{src:Km,alt:"A cloud"})}),S.jsx("div",{children:S.jsx("img",{src:Ym,alt:"A cloud"})})]})]})]});/*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. - */function E4(e,t,n){return(t=k4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t{};let Qp={},xx={},bx=null,Ex={mark:My,measure:My};try{typeof window<"u"&&(Qp=window),typeof document<"u"&&(xx=document),typeof MutationObserver<"u"&&(bx=MutationObserver),typeof performance<"u"&&(Ex=performance)}catch{}const{userAgent:Oy=""}=Qp.navigator||{},Kn=Qp,de=xx,Ly=bx,Go=Ex;Kn.document;const xn=!!de.documentElement&&!!de.head&&typeof de.addEventListener=="function"&&typeof de.createElement=="function",Cx=~Oy.indexOf("MSIE")||~Oy.indexOf("Trident/");var T4=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,P4=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,kx={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},_4={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Tx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Xe="classic",Ql="duotone",A4="sharp",N4="sharp-duotone",Px=[Xe,Ql,A4,N4],R4={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},j4={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},M4=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),O4={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},L4=["fak","fa-kit","fakd","fa-kit-duotone"],Iy={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},I4=["kit"],D4={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},F4=["fak","fakd"],V4={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Dy={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Xo={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},$4=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],B4=["fak","fa-kit","fakd","fa-kit-duotone"],z4={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},U4={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},W4={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Lf={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},H4=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],If=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...$4,...H4],q4=["solid","regular","light","thin","duotone","brands"],_x=[1,2,3,4,5,6,7,8,9,10],K4=_x.concat([11,12,13,14,15,16,17,18,19,20]),Y4=[...Object.keys(W4),...q4,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Xo.GROUP,Xo.SWAP_OPACITY,Xo.PRIMARY,Xo.SECONDARY].concat(_x.map(e=>"".concat(e,"x"))).concat(K4.map(e=>"w-".concat(e))),G4={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mn="___FONT_AWESOME___",Df=16,Ax="fa",Nx="svg-inline--fa",kr="data-fa-i2svg",Ff="data-fa-pseudo-element",X4="data-fa-pseudo-element-pending",Zp="data-prefix",Jp="data-icon",Fy="fontawesome-i2svg",Q4="async",Z4=["HTML","HEAD","STYLE","SCRIPT"],Rx=(()=>{try{return!0}catch{return!1}})();function wo(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Xe]}})}const jx=N({},kx);jx[Xe]=N(N(N(N({},{"fa-duotone":"duotone"}),kx[Xe]),Iy.kit),Iy["kit-duotone"]);const J4=wo(jx),Vf=N({},O4);Vf[Xe]=N(N(N(N({},{duotone:"fad"}),Vf[Xe]),Dy.kit),Dy["kit-duotone"]);const Vy=wo(Vf),$f=N({},Lf);$f[Xe]=N(N({},$f[Xe]),V4.kit);const eh=wo($f),Bf=N({},U4);Bf[Xe]=N(N({},Bf[Xe]),D4.kit);wo(Bf);const ej=T4,Mx="fa-layers-text",tj=P4,nj=N({},R4);wo(nj);const rj=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],rc=_4,ij=[...I4,...Y4],Es=Kn.FontAwesomeConfig||{};function sj(e){var t=de.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function oj(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}de&&typeof de.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const i=oj(sj(n));i!=null&&(Es[r]=i)});const Ox={styleDefault:"solid",familyDefault:Xe,cssPrefix:Ax,replacementClass:Nx,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Es.familyPrefix&&(Es.cssPrefix=Es.familyPrefix);const ki=N(N({},Ox),Es);ki.autoReplaceSvg||(ki.observeMutations=!1);const B={};Object.keys(Ox).forEach(e=>{Object.defineProperty(B,e,{enumerable:!0,set:function(t){ki[e]=t,Cs.forEach(n=>n(B))},get:function(){return ki[e]}})});Object.defineProperty(B,"familyPrefix",{enumerable:!0,set:function(e){ki.cssPrefix=e,Cs.forEach(t=>t(B))},get:function(){return ki.cssPrefix}});Kn.FontAwesomeConfig=B;const Cs=[];function aj(e){return Cs.push(e),()=>{Cs.splice(Cs.indexOf(e),1)}}const Cn=Df,Ht={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function lj(e){if(!e||!xn)return;const t=de.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=de.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}return de.head.insertBefore(t,r),e}const uj="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Zs(){let e=12,t="";for(;e-- >0;)t+=uj[Math.random()*62|0];return t}function Di(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function th(e){return e.classList?Di(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function Lx(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function cj(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(Lx(e[n]),'" '),"").trim()}function Zl(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function nh(e){return e.size!==Ht.size||e.x!==Ht.x||e.y!==Ht.y||e.rotate!==Ht.rotate||e.flipX||e.flipY}function fj(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(o," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function dj(e){let{transform:t,width:n=Df,height:r=Df,startCentered:i=!1}=e,s="";return i&&Cx?s+="translate(".concat(t.x/Cn-n/2,"em, ").concat(t.y/Cn-r/2,"em) "):i?s+="translate(calc(-50% + ".concat(t.x/Cn,"em), calc(-50% + ").concat(t.y/Cn,"em)) "):s+="translate(".concat(t.x/Cn,"em, ").concat(t.y/Cn,"em) "),s+="scale(".concat(t.size/Cn*(t.flipX?-1:1),", ").concat(t.size/Cn*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var pj=`:root, :host { + */function E5(e,t,n){return(t=k5(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t{};let Qp={},xx={},bx=null,Ex={mark:My,measure:My};try{typeof window<"u"&&(Qp=window),typeof document<"u"&&(xx=document),typeof MutationObserver<"u"&&(bx=MutationObserver),typeof performance<"u"&&(Ex=performance)}catch{}const{userAgent:Oy=""}=Qp.navigator||{},Kn=Qp,de=xx,Ly=bx,Go=Ex;Kn.document;const xn=!!de.documentElement&&!!de.head&&typeof de.addEventListener=="function"&&typeof de.createElement=="function",Cx=~Oy.indexOf("MSIE")||~Oy.indexOf("Trident/");var T5=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,P5=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,kx={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},_5={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Tx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Xe="classic",Ql="duotone",A5="sharp",N5="sharp-duotone",Px=[Xe,Ql,A5,N5],R5={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},j5={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},M5=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),O5={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},L5=["fak","fa-kit","fakd","fa-kit-duotone"],Iy={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},I5=["kit"],D5={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},F5=["fak","fakd"],V5={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Dy={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Xo={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},$5=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],B5=["fak","fa-kit","fakd","fa-kit-duotone"],z5={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},U5={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},W5={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Lf={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},H5=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],If=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...$5,...H5],q5=["solid","regular","light","thin","duotone","brands"],_x=[1,2,3,4,5,6,7,8,9,10],K5=_x.concat([11,12,13,14,15,16,17,18,19,20]),Y5=[...Object.keys(W5),...q5,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Xo.GROUP,Xo.SWAP_OPACITY,Xo.PRIMARY,Xo.SECONDARY].concat(_x.map(e=>"".concat(e,"x"))).concat(K5.map(e=>"w-".concat(e))),G5={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mn="___FONT_AWESOME___",Df=16,Ax="fa",Nx="svg-inline--fa",kr="data-fa-i2svg",Ff="data-fa-pseudo-element",X5="data-fa-pseudo-element-pending",Zp="data-prefix",Jp="data-icon",Fy="fontawesome-i2svg",Q5="async",Z5=["HTML","HEAD","STYLE","SCRIPT"],Rx=(()=>{try{return!0}catch{return!1}})();function wo(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Xe]}})}const jx=N({},kx);jx[Xe]=N(N(N(N({},{"fa-duotone":"duotone"}),kx[Xe]),Iy.kit),Iy["kit-duotone"]);const J5=wo(jx),Vf=N({},O5);Vf[Xe]=N(N(N(N({},{duotone:"fad"}),Vf[Xe]),Dy.kit),Dy["kit-duotone"]);const Vy=wo(Vf),$f=N({},Lf);$f[Xe]=N(N({},$f[Xe]),V5.kit);const eh=wo($f),Bf=N({},U5);Bf[Xe]=N(N({},Bf[Xe]),D5.kit);wo(Bf);const e4=T5,Mx="fa-layers-text",t4=P5,n4=N({},R5);wo(n4);const r4=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],rc=_5,i4=[...I5,...Y5],Es=Kn.FontAwesomeConfig||{};function s4(e){var t=de.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function o4(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}de&&typeof de.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const i=o4(s4(n));i!=null&&(Es[r]=i)});const Ox={styleDefault:"solid",familyDefault:Xe,cssPrefix:Ax,replacementClass:Nx,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Es.familyPrefix&&(Es.cssPrefix=Es.familyPrefix);const ki=N(N({},Ox),Es);ki.autoReplaceSvg||(ki.observeMutations=!1);const B={};Object.keys(Ox).forEach(e=>{Object.defineProperty(B,e,{enumerable:!0,set:function(t){ki[e]=t,Cs.forEach(n=>n(B))},get:function(){return ki[e]}})});Object.defineProperty(B,"familyPrefix",{enumerable:!0,set:function(e){ki.cssPrefix=e,Cs.forEach(t=>t(B))},get:function(){return ki.cssPrefix}});Kn.FontAwesomeConfig=B;const Cs=[];function a4(e){return Cs.push(e),()=>{Cs.splice(Cs.indexOf(e),1)}}const Cn=Df,Ht={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function l4(e){if(!e||!xn)return;const t=de.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=de.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}return de.head.insertBefore(t,r),e}const u4="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Zs(){let e=12,t="";for(;e-- >0;)t+=u4[Math.random()*62|0];return t}function Di(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function th(e){return e.classList?Di(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function Lx(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function c4(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(Lx(e[n]),'" '),"").trim()}function Zl(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function nh(e){return e.size!==Ht.size||e.x!==Ht.x||e.y!==Ht.y||e.rotate!==Ht.rotate||e.flipX||e.flipY}function f4(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(o," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function d4(e){let{transform:t,width:n=Df,height:r=Df,startCentered:i=!1}=e,s="";return i&&Cx?s+="translate(".concat(t.x/Cn-n/2,"em, ").concat(t.y/Cn-r/2,"em) "):i?s+="translate(calc(-50% + ".concat(t.x/Cn,"em), calc(-50% + ").concat(t.y/Cn,"em)) "):s+="translate(".concat(t.x/Cn,"em, ").concat(t.y/Cn,"em) "),s+="scale(".concat(t.size/Cn*(t.flipX?-1:1),", ").concat(t.size/Cn*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var p4=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; @@ -650,15 +650,15 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { .svg-inline--fa mask .fa-primary, .svg-inline--fa mask .fa-secondary { fill: black; -}`;function Ix(){const e=Ax,t=Nx,n=B.cssPrefix,r=B.replacementClass;let i=pj;if(n!==e||r!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return i}let $y=!1;function ic(){B.autoAddCss&&!$y&&(lj(Ix()),$y=!0)}var hj={mixout(){return{dom:{css:Ix,insertCss:ic}}},hooks(){return{beforeDOMElementCreation(){ic()},beforeI2svg(){ic()}}}};const gn=Kn||{};gn[mn]||(gn[mn]={});gn[mn].styles||(gn[mn].styles={});gn[mn].hooks||(gn[mn].hooks={});gn[mn].shims||(gn[mn].shims=[]);var qt=gn[mn];const Dx=[],Fx=function(){de.removeEventListener("DOMContentLoaded",Fx),nl=1,Dx.map(e=>e())};let nl=!1;xn&&(nl=(de.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(de.readyState),nl||de.addEventListener("DOMContentLoaded",Fx));function mj(e){xn&&(nl?setTimeout(e,0):Dx.push(e))}function So(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?Lx(e):"<".concat(t," ").concat(cj(n),">").concat(r.map(So).join(""),"")}function By(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var sc=function(t,n,r,i){var s=Object.keys(t),o=s.length,a=n,l,u,c;for(r===void 0?(l=1,c=t[s[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function zy(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Uf(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=zy(t);typeof qt.hooks.addPack=="function"&&!r?qt.hooks.addPack(e,zy(t)):qt.styles[e]=N(N({},qt.styles[e]||{}),i),e==="fas"&&Uf("fa",t)}const{styles:Js,shims:vj}=qt,Vx=Object.keys(eh),wj=Vx.reduce((e,t)=>(e[t]=Object.keys(eh[t]),e),{});let rh=null,$x={},Bx={},zx={},Ux={},Wx={};function Sj(e){return~ij.indexOf(e)}function xj(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Sj(i)?i:null}const Hx=()=>{const e=r=>sc(Js,(i,s,o)=>(i[o]=sc(s,r,{}),i),{});$x=e((r,i,s)=>(i[3]&&(r[i[3]]=s),i[2]&&i[2].filter(a=>typeof a=="number").forEach(a=>{r[a.toString(16)]=s}),r)),Bx=e((r,i,s)=>(r[s]=s,i[2]&&i[2].filter(a=>typeof a=="string").forEach(a=>{r[a]=s}),r)),Wx=e((r,i,s)=>{const o=i[2];return r[s]=s,o.forEach(a=>{r[a]=s}),r});const t="far"in Js||B.autoFetchSvg,n=sc(vj,(r,i)=>{const s=i[0];let o=i[1];const a=i[2];return o==="far"&&!t&&(o="fas"),typeof s=="string"&&(r.names[s]={prefix:o,iconName:a}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:o,iconName:a}),r},{names:{},unicodes:{}});zx=n.names,Ux=n.unicodes,rh=Jl(B.styleDefault,{family:B.familyDefault})};aj(e=>{rh=Jl(e.styleDefault,{family:B.familyDefault})});Hx();function ih(e,t){return($x[e]||{})[t]}function bj(e,t){return(Bx[e]||{})[t]}function fr(e,t){return(Wx[e]||{})[t]}function qx(e){return zx[e]||{prefix:null,iconName:null}}function Ej(e){const t=Ux[e],n=ih("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Yn(){return rh}const Kx=()=>({prefix:null,iconName:null,rest:[]});function Cj(e){let t=Xe;const n=Vx.reduce((r,i)=>(r[i]="".concat(B.cssPrefix,"-").concat(i),r),{});return Px.forEach(r=>{(e.includes(n[r])||e.some(i=>wj[r].includes(i)))&&(t=r)}),t}function Jl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Xe}=t,r=J4[n][e];if(n===Ql&&!e)return"fad";const i=Vy[n][e]||Vy[n][r],s=e in qt.styles?e:null;return i||s||null}function kj(e){let t=[],n=null;return e.forEach(r=>{const i=xj(B.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function Uy(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function eu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const i=If.concat(B4),s=Uy(e.filter(f=>i.includes(f))),o=Uy(e.filter(f=>!If.includes(f))),a=s.filter(f=>(r=f,!Tx.includes(f))),[l=null]=a,u=Cj(s),c=N(N({},kj(o)),{},{prefix:Jl(l,{family:u})});return N(N(N({},c),Aj({values:e,family:u,styles:Js,config:B,canonical:c,givenPrefix:r})),Tj(n,r,c))}function Tj(e,t,n){let{prefix:r,iconName:i}=n;if(e||!r||!i)return{prefix:r,iconName:i};const s=t==="fa"?qx(i):{},o=fr(r,i);return i=s.iconName||o||i,r=s.prefix||r,r==="far"&&!Js.far&&Js.fas&&!B.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}const Pj=Px.filter(e=>e!==Xe||e!==Ql),_j=Object.keys(Lf).filter(e=>e!==Xe).map(e=>Object.keys(Lf[e])).flat();function Aj(e){const{values:t,family:n,canonical:r,givenPrefix:i="",styles:s={},config:o={}}=e,a=n===Ql,l=t.includes("fa-duotone")||t.includes("fad"),u=o.familyDefault==="duotone",c=r.prefix==="fad"||r.prefix==="fa-duotone";if(!a&&(l||u||c)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&Pj.includes(n)&&(Object.keys(s).find(d=>_j.includes(d))||o.autoFetchSvg)){const d=M4.get(n).defaultShortPrefixId;r.prefix=d,r.iconName=fr(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||i==="fa")&&(r.prefix=Yn()||"fas"),r}class Nj{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r{this.definitions[s]=N(N({},this.definitions[s]||{}),i[s]),Uf(s,i[s]);const o=eh[Xe][s];o&&Uf(o,i[s]),Hx()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(i=>{const{prefix:s,iconName:o,icon:a}=r[i],l=a[2];t[s]||(t[s]={}),l.length>0&&l.forEach(u=>{typeof u=="string"&&(t[s][u]=a)}),t[s][o]=a}),t}}let Wy=[],ri={};const pi={},Rj=Object.keys(pi);function jj(e,t){let{mixoutsTo:n}=t;return Wy=e,ri={},Object.keys(pi).forEach(r=>{Rj.indexOf(r)===-1&&delete pi[r]}),Wy.forEach(r=>{const i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(s=>{typeof i[s]=="function"&&(n[s]=i[s]),typeof i[s]=="object"&&Object.keys(i[s]).forEach(o=>{n[s]||(n[s]={}),n[s][o]=i[s][o]})}),r.hooks){const s=r.hooks();Object.keys(s).forEach(o=>{ri[o]||(ri[o]=[]),ri[o].push(s[o])})}r.provides&&r.provides(pi)}),n}function Wf(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i{t=o.apply(null,[t,...r])}),t}function Tr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{s.apply(null,n)})}function Gn(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return pi[e]?pi[e].apply(null,t):void 0}function Hf(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Yn();if(t)return t=fr(n,t)||t,By(Yx.definitions,n,t)||By(qt.styles,n,t)}const Yx=new Nj,Mj=()=>{B.autoReplaceSvg=!1,B.observeMutations=!1,Tr("noAuto")},Oj={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return xn?(Tr("beforeI2svg",e),Gn("pseudoElements2svg",e),Gn("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;B.autoReplaceSvg===!1&&(B.autoReplaceSvg=!0),B.observeMutations=!0,mj(()=>{Ij({autoReplaceSvgRoot:t}),Tr("watch",e)})}},Lj={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:fr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=Jl(e[0]);return{prefix:n,iconName:fr(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(B.cssPrefix,"-"))>-1||e.match(ej))){const t=eu(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Yn(),iconName:fr(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Yn();return{prefix:t,iconName:fr(t,e)||e}}}},vt={noAuto:Mj,config:B,dom:Oj,parse:Lj,library:Yx,findIconDefinition:Hf,toHtml:So},Ij=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=de}=e;(Object.keys(qt.styles).length>0||B.autoFetchSvg)&&xn&&B.autoReplaceSvg&&vt.dom.i2svg({node:t})};function tu(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>So(n))}}),Object.defineProperty(e,"node",{get:function(){if(!xn)return;const n=de.createElement("div");return n.innerHTML=e.html,n.children}}),e}function Dj(e){let{children:t,main:n,mask:r,attributes:i,styles:s,transform:o}=e;if(nh(o)&&n.found&&!r.found){const{width:a,height:l}=n,u={x:a/l/2,y:.5};i.style=Zl(N(N({},s),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Fj(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:s}=e;const o=s===!0?"".concat(t,"-").concat(B.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:N(N({},i),{},{id:o}),children:r}]}]}function sh(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:s,symbol:o,title:a,maskId:l,titleId:u,extra:c,watchable:f=!1}=e,{width:d,height:m}=n.found?n:t,y=F4.includes(r),g=[B.replacementClass,i?"".concat(B.cssPrefix,"-").concat(i):""].filter(E=>c.classes.indexOf(E)===-1).filter(E=>E!==""||!!E).concat(c.classes).join(" ");let w={children:[],attributes:N(N({},c.attributes),{},{"data-prefix":r,"data-icon":i,class:g,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};const p=y&&!~c.classes.indexOf("fa-fw")?{width:"".concat(d/m*16*.0625,"em")}:{};f&&(w.attributes[kr]=""),a&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(u||Zs())},children:[a]}),delete w.attributes.title);const h=N(N({},w),{},{prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:s,symbol:o,styles:N(N({},p),c.styles)}),{children:v,attributes:b}=n.found&&t.found?Gn("generateAbstractMask",h)||{children:[],attributes:{}}:Gn("generateAbstractIcon",h)||{children:[],attributes:{}};return h.children=v,h.attributes=b,o?Fj(h):Dj(h)}function Hy(e){const{content:t,width:n,height:r,transform:i,title:s,extra:o,watchable:a=!1}=e,l=N(N(N({},o.attributes),s?{title:s}:{}),{},{class:o.classes.join(" ")});a&&(l[kr]="");const u=N({},o.styles);nh(i)&&(u.transform=dj({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);const c=Zl(u);c.length>0&&(l.style=c);const f=[];return f.push({tag:"span",attributes:l,children:[t]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f}function Vj(e){const{content:t,title:n,extra:r}=e,i=N(N(N({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Zl(r.styles);s.length>0&&(i.style=s);const o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}const{styles:oc}=qt;function qf(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return Array.isArray(r)?i={tag:"g",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.PRIMARY),fill:"currentColor",d:r[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const $j={found:!1,width:512,height:512};function Bj(e,t){!Rx&&!B.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Kf(e,t){let n=t;return t==="fa"&&B.styleDefault!==null&&(t=Yn()),new Promise((r,i)=>{if(n==="fa"){const s=qx(e);e=s.iconName||e,t=s.prefix||t}if(e&&t&&oc[t]&&oc[t][e]){const s=oc[t][e];return r(qf(s))}Bj(e,t),r(N(N({},$j),{},{icon:B.showMissingIcons&&e?Gn("missingIconAbstract")||{}:{}}))})}const qy=()=>{},Yf=B.measurePerformance&&Go&&Go.mark&&Go.measure?Go:{mark:qy,measure:qy},as='FA "6.7.2"',zj=e=>(Yf.mark("".concat(as," ").concat(e," begins")),()=>Gx(e)),Gx=e=>{Yf.mark("".concat(as," ").concat(e," ends")),Yf.measure("".concat(as," ").concat(e),"".concat(as," ").concat(e," begins"),"".concat(as," ").concat(e," ends"))};var oh={begin:zj,end:Gx};const va=()=>{};function Ky(e){return typeof(e.getAttribute?e.getAttribute(kr):null)=="string"}function Uj(e){const t=e.getAttribute?e.getAttribute(Zp):null,n=e.getAttribute?e.getAttribute(Jp):null;return t&&n}function Wj(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(B.replacementClass)}function Hj(){return B.autoReplaceSvg===!0?wa.replace:wa[B.autoReplaceSvg]||wa.replace}function qj(e){return de.createElementNS("http://www.w3.org/2000/svg",e)}function Kj(e){return de.createElement(e)}function Xx(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?qj:Kj}=t;if(typeof e=="string")return de.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){r.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){r.appendChild(Xx(s,{ceFn:n}))}),r}function Yj(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const wa={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Xx(n),t)}),t.getAttribute(kr)===null&&B.keepOriginalSource){let n=de.createComment(Yj(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~th(t).indexOf(B.replacementClass))return wa.replace(e);const r=new RegExp("".concat(B.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((o,a)=>(a===B.replacementClass||a.match(r)?o.toSvg.push(a):o.toNode.push(a),o),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const i=n.map(s=>So(s)).join(` -`);t.setAttribute(kr,""),t.innerHTML=i}};function Yy(e){e()}function Qx(e,t){const n=typeof t=="function"?t:va;if(e.length===0)n();else{let r=Yy;B.mutateApproach===Q4&&(r=Kn.requestAnimationFrame||Yy),r(()=>{const i=Hj(),s=oh.begin("mutate");e.map(i),s(),n()})}}let ah=!1;function Zx(){ah=!0}function Gf(){ah=!1}let rl=null;function Gy(e){if(!Ly||!B.observeMutations)return;const{treeCallback:t=va,nodeCallback:n=va,pseudoElementsCallback:r=va,observeMutationsRoot:i=de}=e;rl=new Ly(s=>{if(ah)return;const o=Yn();Di(s).forEach(a=>{if(a.type==="childList"&&a.addedNodes.length>0&&!Ky(a.addedNodes[0])&&(B.searchPseudoElements&&r(a.target),t(a.target)),a.type==="attributes"&&a.target.parentNode&&B.searchPseudoElements&&r(a.target.parentNode),a.type==="attributes"&&Ky(a.target)&&~rj.indexOf(a.attributeName))if(a.attributeName==="class"&&Uj(a.target)){const{prefix:l,iconName:u}=eu(th(a.target));a.target.setAttribute(Zp,l||o),u&&a.target.setAttribute(Jp,u)}else Wj(a.target)&&n(a.target)})}),xn&&rl.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Gj(){rl&&rl.disconnect()}function Xj(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const s=i.split(":"),o=s[0],a=s.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function Qj(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=eu(th(e));return i.prefix||(i.prefix=Yn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=bj(i.prefix,e.innerText)||ih(i.prefix,zf(e.innerText))),!i.iconName&&B.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Zj(e){const t=Di(e.attributes).reduce((i,s)=>(i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return B.autoA11y&&(n?t["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(r||Zs()):(t["aria-hidden"]="true",t.focusable="false")),t}function Jj(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ht,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Xy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Qj(e),s=Zj(e),o=Wf("parseNodeAttributes",{},e);let a=t.styleParser?Xj(e):[];return N({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Ht,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:a,attributes:s}},o)}const{styles:eM}=qt;function Jx(e){const t=B.autoReplaceSvg==="nest"?Xy(e,{styleParser:!1}):Xy(e);return~t.extra.classes.indexOf(Mx)?Gn("generateLayersText",e,t):Gn("generateSvgReplacementMutation",e,t)}function tM(){return[...L4,...If]}function Qy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!xn)return Promise.resolve();const n=de.documentElement.classList,r=c=>n.add("".concat(Fy,"-").concat(c)),i=c=>n.remove("".concat(Fy,"-").concat(c)),s=B.autoFetchSvg?tM():Tx.concat(Object.keys(eM));s.includes("fa")||s.push("fa");const o=[".".concat(Mx,":not([").concat(kr,"])")].concat(s.map(c=>".".concat(c,":not([").concat(kr,"])"))).join(", ");if(o.length===0)return Promise.resolve();let a=[];try{a=Di(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),i("complete");else return Promise.resolve();const l=oh.begin("onTree"),u=a.reduce((c,f)=>{try{const d=Jx(f);d&&c.push(d)}catch(d){Rx||d.name==="MissingIcon"&&console.error(d)}return c},[]);return new Promise((c,f)=>{Promise.all(u).then(d=>{Qx(d,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(d=>{l(),f(d)})})}function nM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Jx(e).then(n=>{n&&Qx([n],t)})}function rM(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:Hf(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:Hf(i||{})),e(r,N(N({},n),{},{mask:i}))}}const iM=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Ht,symbol:r=!1,mask:i=null,maskId:s=null,title:o=null,titleId:a=null,classes:l=[],attributes:u={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:d,icon:m}=e;return tu(N({type:"icon"},e),()=>(Tr("beforeDOMElementCreation",{iconDefinition:e,params:t}),B.autoA11y&&(o?u["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(a||Zs()):(u["aria-hidden"]="true",u.focusable="false")),sh({icons:{main:qf(m),mask:i?qf(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:d,transform:N(N({},Ht),n),symbol:r,title:o,maskId:s,titleId:a,extra:{attributes:u,styles:c,classes:l}})))};var sM={mixout(){return{icon:rM(iM)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Qy,e.nodeCallback=nM,e}}},provides(e){e.i2svg=function(t){const{node:n=de,callback:r=()=>{}}=t;return Qy(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:i,titleId:s,prefix:o,transform:a,symbol:l,mask:u,maskId:c,extra:f}=n;return new Promise((d,m)=>{Promise.all([Kf(r,o),u.iconName?Kf(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(y=>{let[g,w]=y;d([t,sh({icons:{main:g,mask:w},prefix:o,iconName:r,transform:a,symbol:l,maskId:c,title:i,titleId:s,extra:f,watchable:!0})])}).catch(m)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:i,transform:s,styles:o}=t;const a=Zl(o);a.length>0&&(r.style=a);let l;return nh(s)&&(l=Gn("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:r}}}},oM={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return tu({type:"layer"},()=>{Tr("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(i=>{Array.isArray(i)?i.map(s=>{r=r.concat(s.abstract)}):r=r.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(B.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},aM={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:s={}}=t;return tu({type:"counter",content:e},()=>(Tr("beforeDOMElementCreation",{content:e,params:t}),Vj({content:e.toString(),title:n,extra:{attributes:i,styles:s,classes:["".concat(B.cssPrefix,"-layers-counter"),...r]}})))}}}},lM={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Ht,title:r=null,classes:i=[],attributes:s={},styles:o={}}=t;return tu({type:"text",content:e},()=>(Tr("beforeDOMElementCreation",{content:e,params:t}),Hy({content:e,transform:N(N({},Ht),n),title:r,extra:{attributes:s,styles:o,classes:["".concat(B.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:i,extra:s}=n;let o=null,a=null;if(Cx){const l=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();o=u.width/l,a=u.height/l}return B.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,Hy({content:t.innerHTML,width:o,height:a,transform:i,title:r,extra:s,watchable:!0})])}}};const uM=new RegExp('"',"ug"),Zy=[1105920,1112319],Jy=N(N(N(N({},{FontAwesome:{normal:"fas",400:"fas"}}),j4),G4),z4),Xf=Object.keys(Jy).reduce((e,t)=>(e[t.toLowerCase()]=Jy[t],e),{}),cM=Object.keys(Xf).reduce((e,t)=>{const n=Xf[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function fM(e){const t=e.replace(uM,""),n=yj(t,0),r=n>=Zy[0]&&n<=Zy[1],i=t.length===2?t[0]===t[1]:!1;return{value:zf(i?t[0]:t),isSecondary:r||i}}function dM(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Xf[n]||{})[i]||cM[n]}function ev(e,t){const n="".concat(X4).concat(t.replace(":","-"));return new Promise((r,i)=>{if(e.getAttribute(n)!==null)return r();const o=Di(e.children).filter(d=>d.getAttribute(Ff)===t)[0],a=Kn.getComputedStyle(e,t),l=a.getPropertyValue("font-family"),u=l.match(tj),c=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(o&&!u)return e.removeChild(o),r();if(u&&f!=="none"&&f!==""){const d=a.getPropertyValue("content");let m=dM(l,c);const{value:y,isSecondary:g}=fM(d),w=u[0].startsWith("FontAwesome");let p=ih(m,y),h=p;if(w){const v=Ej(y);v.iconName&&v.prefix&&(p=v.iconName,m=v.prefix)}if(p&&!g&&(!o||o.getAttribute(Zp)!==m||o.getAttribute(Jp)!==h)){e.setAttribute(n,h),o&&e.removeChild(o);const v=Jj(),{extra:b}=v;b.attributes[Ff]=t,Kf(p,m).then(E=>{const C=sh(N(N({},v),{},{icons:{main:E,mask:Kx()},prefix:m,iconName:h,extra:b,watchable:!0})),k=de.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(k,e.firstChild):e.appendChild(k),k.outerHTML=C.map(T=>So(T)).join(` -`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function pM(e){return Promise.all([ev(e,"::before"),ev(e,"::after")])}function hM(e){return e.parentNode!==document.head&&!~Z4.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ff)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function tv(e){if(xn)return new Promise((t,n)=>{const r=Di(e.querySelectorAll("*")).filter(hM).map(pM),i=oh.begin("searchPseudoElements");Zx(),Promise.all(r).then(()=>{i(),Gf(),t()}).catch(()=>{i(),Gf(),n()})})}var mM={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=tv,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=de}=t;B.searchPseudoElements&&tv(n)}}};let nv=!1;var gM={mixout(){return{dom:{unwatch(){Zx(),nv=!0}}}},hooks(){return{bootstrap(){Gy(Wf("mutationObserverCallbacks",{}))},noAuto(){Gj()},watch(e){const{observeMutationsRoot:t}=e;nv?Gf():Gy(Wf("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const rv=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),s=i[0];let o=i.slice(1).join("-");if(s&&o==="h")return n.flipX=!0,n;if(s&&o==="v")return n.flipY=!0,n;if(o=parseFloat(o),isNaN(o))return n;switch(s){case"grow":n.size=n.size+o;break;case"shrink":n.size=n.size-o;break;case"left":n.x=n.x-o;break;case"right":n.x=n.x+o;break;case"up":n.y=n.y-o;break;case"down":n.y=n.y+o;break;case"rotate":n.rotate=n.rotate+o;break}return n},t)};var yM={mixout(){return{parse:{transform:e=>rv(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=rv(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:s}=t;const o={transform:"translate(".concat(i/2," 256)")},a="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),c={transform:"".concat(a," ").concat(l," ").concat(u)},f={transform:"translate(".concat(s/2*-1," -256)")},d={outer:o,inner:c,path:f};return{tag:"g",attributes:N({},d.outer),children:[{tag:"g",attributes:N({},d.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:N(N({},n.icon.attributes),d.path)}]}]}}}};const ac={x:0,y:0,width:"100%",height:"100%"};function iv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function vM(e){return e.tag==="g"?e.children:[e]}var wM={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?eu(n.split(" ").map(i=>i.trim())):Kx();return r.prefix||(r.prefix=Yn()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:s,maskId:o,transform:a}=t;const{width:l,icon:u}=i,{width:c,icon:f}=s,d=fj({transform:a,containerWidth:c,iconWidth:l}),m={tag:"rect",attributes:N(N({},ac),{},{fill:"white"})},y=u.children?{children:u.children.map(iv)}:{},g={tag:"g",attributes:N({},d.inner),children:[iv(N({tag:u.tag,attributes:N(N({},u.attributes),d.path)},y))]},w={tag:"g",attributes:N({},d.outer),children:[g]},p="mask-".concat(o||Zs()),h="clip-".concat(o||Zs()),v={tag:"mask",attributes:N(N({},ac),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,w]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:vM(f)},v]};return n.push(b,{tag:"rect",attributes:N({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(p,")")},ac)}),{children:n,attributes:r}}}},SM={provides(e){let t=!1;Kn.matchMedia&&(t=Kn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:N(N({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=N(N({},i),{},{attributeName:"opacity"}),o={tag:"circle",attributes:N(N({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:N(N({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:N(N({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(o),n.push({tag:"path",attributes:N(N({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:N(N({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:N(N({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:N(N({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},xM={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},bM=[hj,sM,oM,aM,lM,mM,gM,yM,wM,SM,xM];jj(bM,{mixoutsTo:vt});vt.noAuto;vt.config;vt.library;vt.dom;const Qf=vt.parse;vt.findIconDefinition;vt.toHtml;const EM=vt.icon;vt.layer;vt.text;vt.counter;var e2={exports:{}},CM="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",kM=CM,TM=kM;function t2(){}function n2(){}n2.resetWarningCache=t2;var PM=function(){function e(r,i,s,o,a,l){if(l!==TM){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n2,resetWarningCache:t2};return n.PropTypes=n,n};e2.exports=PM();var _M=e2.exports;const G=ol(_M);function sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function NM(e,t){if(e==null)return{};var n=AM(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zf(e){return RM(e)||jM(e)||MM(e)||OM()}function RM(e){if(Array.isArray(e))return Jf(e)}function jM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MM(e,t){if(e){if(typeof e=="string")return Jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jf(e,t)}}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return i2(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,u){var c=t.attributes[u];switch(u){case"class":l.attrs.className=c,delete t.attributes.class;break;case"style":l.attrs.style=VM(c);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=c:l.attrs[r2(u)]=c}return l},{attrs:{}}),s=n.style,o=s===void 0?{}:s,a=NM(n,DM);return i.attrs.style=zt(zt({},i.attrs.style),o),e.apply(void 0,[t.tag,zt(zt({},i.attrs),a)].concat(Zf(r)))}var s2=!1;try{s2=!0}catch{}function $M(){if(!s2&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ov(e){if(e&&il(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Qf.icon)return Qf.icon(e);if(e===null)return null;if(e&&il(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function lc(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ii({},e,t):{}}var av={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},ks=ll.forwardRef(function(e,t){var n=zt(zt({},av),e),r=n.icon,i=n.mask,s=n.symbol,o=n.className,a=n.title,l=n.titleId,u=n.maskId,c=ov(r),f=lc("classes",[].concat(Zf(LM(n)),Zf((o||"").split(" ")))),d=lc("transform",typeof n.transform=="string"?Qf.transform(n.transform):n.transform),m=lc("mask",ov(i)),y=EM(c,zt(zt(zt(zt({},f),d),m),{},{symbol:s,title:a,titleId:l,maskId:u}));if(!y)return $M("Could not find icon",c),null;var g=y.abstract,w={ref:t};return Object.keys(n).forEach(function(p){av.hasOwnProperty(p)||(w[p]=n[p])}),BM(g[0],w)});ks.displayName="FontAwesomeIcon";ks.propTypes={beat:G.bool,border:G.bool,beatFade:G.bool,bounce:G.bool,className:G.string,fade:G.bool,flash:G.bool,mask:G.oneOfType([G.object,G.array,G.string]),maskId:G.string,fixedWidth:G.bool,inverse:G.bool,flip:G.oneOf([!0,!1,"horizontal","vertical","both"]),icon:G.oneOfType([G.object,G.array,G.string]),listItem:G.bool,pull:G.oneOf(["right","left"]),pulse:G.bool,rotation:G.oneOf([0,90,180,270]),shake:G.bool,size:G.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:G.bool,spinPulse:G.bool,spinReverse:G.bool,symbol:G.oneOfType([G.bool,G.string]),title:G.string,titleId:G.string,transform:G.oneOfType([G.string,G.object]),swapOpacity:G.bool};var BM=i2.bind(null,ll.createElement);/*! +}`;function Ix(){const e=Ax,t=Nx,n=B.cssPrefix,r=B.replacementClass;let i=p4;if(n!==e||r!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return i}let $y=!1;function ic(){B.autoAddCss&&!$y&&(l4(Ix()),$y=!0)}var h4={mixout(){return{dom:{css:Ix,insertCss:ic}}},hooks(){return{beforeDOMElementCreation(){ic()},beforeI2svg(){ic()}}}};const gn=Kn||{};gn[mn]||(gn[mn]={});gn[mn].styles||(gn[mn].styles={});gn[mn].hooks||(gn[mn].hooks={});gn[mn].shims||(gn[mn].shims=[]);var qt=gn[mn];const Dx=[],Fx=function(){de.removeEventListener("DOMContentLoaded",Fx),nl=1,Dx.map(e=>e())};let nl=!1;xn&&(nl=(de.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(de.readyState),nl||de.addEventListener("DOMContentLoaded",Fx));function m4(e){xn&&(nl?setTimeout(e,0):Dx.push(e))}function So(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?Lx(e):"<".concat(t," ").concat(c4(n),">").concat(r.map(So).join(""),"")}function By(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var sc=function(t,n,r,i){var s=Object.keys(t),o=s.length,a=n,l,u,c;for(r===void 0?(l=1,c=t[s[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function zy(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Uf(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=zy(t);typeof qt.hooks.addPack=="function"&&!r?qt.hooks.addPack(e,zy(t)):qt.styles[e]=N(N({},qt.styles[e]||{}),i),e==="fas"&&Uf("fa",t)}const{styles:Js,shims:v4}=qt,Vx=Object.keys(eh),w4=Vx.reduce((e,t)=>(e[t]=Object.keys(eh[t]),e),{});let rh=null,$x={},Bx={},zx={},Ux={},Wx={};function S4(e){return~i4.indexOf(e)}function x4(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!S4(i)?i:null}const Hx=()=>{const e=r=>sc(Js,(i,s,o)=>(i[o]=sc(s,r,{}),i),{});$x=e((r,i,s)=>(i[3]&&(r[i[3]]=s),i[2]&&i[2].filter(a=>typeof a=="number").forEach(a=>{r[a.toString(16)]=s}),r)),Bx=e((r,i,s)=>(r[s]=s,i[2]&&i[2].filter(a=>typeof a=="string").forEach(a=>{r[a]=s}),r)),Wx=e((r,i,s)=>{const o=i[2];return r[s]=s,o.forEach(a=>{r[a]=s}),r});const t="far"in Js||B.autoFetchSvg,n=sc(v4,(r,i)=>{const s=i[0];let o=i[1];const a=i[2];return o==="far"&&!t&&(o="fas"),typeof s=="string"&&(r.names[s]={prefix:o,iconName:a}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:o,iconName:a}),r},{names:{},unicodes:{}});zx=n.names,Ux=n.unicodes,rh=Jl(B.styleDefault,{family:B.familyDefault})};a4(e=>{rh=Jl(e.styleDefault,{family:B.familyDefault})});Hx();function ih(e,t){return($x[e]||{})[t]}function b4(e,t){return(Bx[e]||{})[t]}function fr(e,t){return(Wx[e]||{})[t]}function qx(e){return zx[e]||{prefix:null,iconName:null}}function E4(e){const t=Ux[e],n=ih("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Yn(){return rh}const Kx=()=>({prefix:null,iconName:null,rest:[]});function C4(e){let t=Xe;const n=Vx.reduce((r,i)=>(r[i]="".concat(B.cssPrefix,"-").concat(i),r),{});return Px.forEach(r=>{(e.includes(n[r])||e.some(i=>w4[r].includes(i)))&&(t=r)}),t}function Jl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Xe}=t,r=J5[n][e];if(n===Ql&&!e)return"fad";const i=Vy[n][e]||Vy[n][r],s=e in qt.styles?e:null;return i||s||null}function k4(e){let t=[],n=null;return e.forEach(r=>{const i=x4(B.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function Uy(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function eu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const i=If.concat(B5),s=Uy(e.filter(f=>i.includes(f))),o=Uy(e.filter(f=>!If.includes(f))),a=s.filter(f=>(r=f,!Tx.includes(f))),[l=null]=a,u=C4(s),c=N(N({},k4(o)),{},{prefix:Jl(l,{family:u})});return N(N(N({},c),A4({values:e,family:u,styles:Js,config:B,canonical:c,givenPrefix:r})),T4(n,r,c))}function T4(e,t,n){let{prefix:r,iconName:i}=n;if(e||!r||!i)return{prefix:r,iconName:i};const s=t==="fa"?qx(i):{},o=fr(r,i);return i=s.iconName||o||i,r=s.prefix||r,r==="far"&&!Js.far&&Js.fas&&!B.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}const P4=Px.filter(e=>e!==Xe||e!==Ql),_4=Object.keys(Lf).filter(e=>e!==Xe).map(e=>Object.keys(Lf[e])).flat();function A4(e){const{values:t,family:n,canonical:r,givenPrefix:i="",styles:s={},config:o={}}=e,a=n===Ql,l=t.includes("fa-duotone")||t.includes("fad"),u=o.familyDefault==="duotone",c=r.prefix==="fad"||r.prefix==="fa-duotone";if(!a&&(l||u||c)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&P4.includes(n)&&(Object.keys(s).find(d=>_4.includes(d))||o.autoFetchSvg)){const d=M5.get(n).defaultShortPrefixId;r.prefix=d,r.iconName=fr(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||i==="fa")&&(r.prefix=Yn()||"fas"),r}class N4{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r{this.definitions[s]=N(N({},this.definitions[s]||{}),i[s]),Uf(s,i[s]);const o=eh[Xe][s];o&&Uf(o,i[s]),Hx()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(i=>{const{prefix:s,iconName:o,icon:a}=r[i],l=a[2];t[s]||(t[s]={}),l.length>0&&l.forEach(u=>{typeof u=="string"&&(t[s][u]=a)}),t[s][o]=a}),t}}let Wy=[],ri={};const pi={},R4=Object.keys(pi);function j4(e,t){let{mixoutsTo:n}=t;return Wy=e,ri={},Object.keys(pi).forEach(r=>{R4.indexOf(r)===-1&&delete pi[r]}),Wy.forEach(r=>{const i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(s=>{typeof i[s]=="function"&&(n[s]=i[s]),typeof i[s]=="object"&&Object.keys(i[s]).forEach(o=>{n[s]||(n[s]={}),n[s][o]=i[s][o]})}),r.hooks){const s=r.hooks();Object.keys(s).forEach(o=>{ri[o]||(ri[o]=[]),ri[o].push(s[o])})}r.provides&&r.provides(pi)}),n}function Wf(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i{t=o.apply(null,[t,...r])}),t}function Tr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{s.apply(null,n)})}function Gn(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return pi[e]?pi[e].apply(null,t):void 0}function Hf(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Yn();if(t)return t=fr(n,t)||t,By(Yx.definitions,n,t)||By(qt.styles,n,t)}const Yx=new N4,M4=()=>{B.autoReplaceSvg=!1,B.observeMutations=!1,Tr("noAuto")},O4={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return xn?(Tr("beforeI2svg",e),Gn("pseudoElements2svg",e),Gn("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;B.autoReplaceSvg===!1&&(B.autoReplaceSvg=!0),B.observeMutations=!0,m4(()=>{I4({autoReplaceSvgRoot:t}),Tr("watch",e)})}},L4={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:fr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=Jl(e[0]);return{prefix:n,iconName:fr(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(B.cssPrefix,"-"))>-1||e.match(e4))){const t=eu(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Yn(),iconName:fr(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Yn();return{prefix:t,iconName:fr(t,e)||e}}}},vt={noAuto:M4,config:B,dom:O4,parse:L4,library:Yx,findIconDefinition:Hf,toHtml:So},I4=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=de}=e;(Object.keys(qt.styles).length>0||B.autoFetchSvg)&&xn&&B.autoReplaceSvg&&vt.dom.i2svg({node:t})};function tu(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>So(n))}}),Object.defineProperty(e,"node",{get:function(){if(!xn)return;const n=de.createElement("div");return n.innerHTML=e.html,n.children}}),e}function D4(e){let{children:t,main:n,mask:r,attributes:i,styles:s,transform:o}=e;if(nh(o)&&n.found&&!r.found){const{width:a,height:l}=n,u={x:a/l/2,y:.5};i.style=Zl(N(N({},s),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function F4(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:s}=e;const o=s===!0?"".concat(t,"-").concat(B.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:N(N({},i),{},{id:o}),children:r}]}]}function sh(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:s,symbol:o,title:a,maskId:l,titleId:u,extra:c,watchable:f=!1}=e,{width:d,height:m}=n.found?n:t,y=F5.includes(r),g=[B.replacementClass,i?"".concat(B.cssPrefix,"-").concat(i):""].filter(E=>c.classes.indexOf(E)===-1).filter(E=>E!==""||!!E).concat(c.classes).join(" ");let w={children:[],attributes:N(N({},c.attributes),{},{"data-prefix":r,"data-icon":i,class:g,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};const p=y&&!~c.classes.indexOf("fa-fw")?{width:"".concat(d/m*16*.0625,"em")}:{};f&&(w.attributes[kr]=""),a&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(u||Zs())},children:[a]}),delete w.attributes.title);const h=N(N({},w),{},{prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:s,symbol:o,styles:N(N({},p),c.styles)}),{children:v,attributes:b}=n.found&&t.found?Gn("generateAbstractMask",h)||{children:[],attributes:{}}:Gn("generateAbstractIcon",h)||{children:[],attributes:{}};return h.children=v,h.attributes=b,o?F4(h):D4(h)}function Hy(e){const{content:t,width:n,height:r,transform:i,title:s,extra:o,watchable:a=!1}=e,l=N(N(N({},o.attributes),s?{title:s}:{}),{},{class:o.classes.join(" ")});a&&(l[kr]="");const u=N({},o.styles);nh(i)&&(u.transform=d4({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);const c=Zl(u);c.length>0&&(l.style=c);const f=[];return f.push({tag:"span",attributes:l,children:[t]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f}function V4(e){const{content:t,title:n,extra:r}=e,i=N(N(N({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Zl(r.styles);s.length>0&&(i.style=s);const o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}const{styles:oc}=qt;function qf(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return Array.isArray(r)?i={tag:"g",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(B.cssPrefix,"-").concat(rc.PRIMARY),fill:"currentColor",d:r[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const $4={found:!1,width:512,height:512};function B4(e,t){!Rx&&!B.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Kf(e,t){let n=t;return t==="fa"&&B.styleDefault!==null&&(t=Yn()),new Promise((r,i)=>{if(n==="fa"){const s=qx(e);e=s.iconName||e,t=s.prefix||t}if(e&&t&&oc[t]&&oc[t][e]){const s=oc[t][e];return r(qf(s))}B4(e,t),r(N(N({},$4),{},{icon:B.showMissingIcons&&e?Gn("missingIconAbstract")||{}:{}}))})}const qy=()=>{},Yf=B.measurePerformance&&Go&&Go.mark&&Go.measure?Go:{mark:qy,measure:qy},as='FA "6.7.2"',z4=e=>(Yf.mark("".concat(as," ").concat(e," begins")),()=>Gx(e)),Gx=e=>{Yf.mark("".concat(as," ").concat(e," ends")),Yf.measure("".concat(as," ").concat(e),"".concat(as," ").concat(e," begins"),"".concat(as," ").concat(e," ends"))};var oh={begin:z4,end:Gx};const va=()=>{};function Ky(e){return typeof(e.getAttribute?e.getAttribute(kr):null)=="string"}function U4(e){const t=e.getAttribute?e.getAttribute(Zp):null,n=e.getAttribute?e.getAttribute(Jp):null;return t&&n}function W4(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(B.replacementClass)}function H4(){return B.autoReplaceSvg===!0?wa.replace:wa[B.autoReplaceSvg]||wa.replace}function q4(e){return de.createElementNS("http://www.w3.org/2000/svg",e)}function K4(e){return de.createElement(e)}function Xx(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?q4:K4}=t;if(typeof e=="string")return de.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){r.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){r.appendChild(Xx(s,{ceFn:n}))}),r}function Y4(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const wa={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Xx(n),t)}),t.getAttribute(kr)===null&&B.keepOriginalSource){let n=de.createComment(Y4(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~th(t).indexOf(B.replacementClass))return wa.replace(e);const r=new RegExp("".concat(B.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((o,a)=>(a===B.replacementClass||a.match(r)?o.toSvg.push(a):o.toNode.push(a),o),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const i=n.map(s=>So(s)).join(` +`);t.setAttribute(kr,""),t.innerHTML=i}};function Yy(e){e()}function Qx(e,t){const n=typeof t=="function"?t:va;if(e.length===0)n();else{let r=Yy;B.mutateApproach===Q5&&(r=Kn.requestAnimationFrame||Yy),r(()=>{const i=H4(),s=oh.begin("mutate");e.map(i),s(),n()})}}let ah=!1;function Zx(){ah=!0}function Gf(){ah=!1}let rl=null;function Gy(e){if(!Ly||!B.observeMutations)return;const{treeCallback:t=va,nodeCallback:n=va,pseudoElementsCallback:r=va,observeMutationsRoot:i=de}=e;rl=new Ly(s=>{if(ah)return;const o=Yn();Di(s).forEach(a=>{if(a.type==="childList"&&a.addedNodes.length>0&&!Ky(a.addedNodes[0])&&(B.searchPseudoElements&&r(a.target),t(a.target)),a.type==="attributes"&&a.target.parentNode&&B.searchPseudoElements&&r(a.target.parentNode),a.type==="attributes"&&Ky(a.target)&&~r4.indexOf(a.attributeName))if(a.attributeName==="class"&&U4(a.target)){const{prefix:l,iconName:u}=eu(th(a.target));a.target.setAttribute(Zp,l||o),u&&a.target.setAttribute(Jp,u)}else W4(a.target)&&n(a.target)})}),xn&&rl.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function G4(){rl&&rl.disconnect()}function X4(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const s=i.split(":"),o=s[0],a=s.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function Q4(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=eu(th(e));return i.prefix||(i.prefix=Yn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=b4(i.prefix,e.innerText)||ih(i.prefix,zf(e.innerText))),!i.iconName&&B.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Z4(e){const t=Di(e.attributes).reduce((i,s)=>(i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return B.autoA11y&&(n?t["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(r||Zs()):(t["aria-hidden"]="true",t.focusable="false")),t}function J4(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ht,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Xy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Q4(e),s=Z4(e),o=Wf("parseNodeAttributes",{},e);let a=t.styleParser?X4(e):[];return N({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Ht,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:a,attributes:s}},o)}const{styles:ej}=qt;function Jx(e){const t=B.autoReplaceSvg==="nest"?Xy(e,{styleParser:!1}):Xy(e);return~t.extra.classes.indexOf(Mx)?Gn("generateLayersText",e,t):Gn("generateSvgReplacementMutation",e,t)}function tj(){return[...L5,...If]}function Qy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!xn)return Promise.resolve();const n=de.documentElement.classList,r=c=>n.add("".concat(Fy,"-").concat(c)),i=c=>n.remove("".concat(Fy,"-").concat(c)),s=B.autoFetchSvg?tj():Tx.concat(Object.keys(ej));s.includes("fa")||s.push("fa");const o=[".".concat(Mx,":not([").concat(kr,"])")].concat(s.map(c=>".".concat(c,":not([").concat(kr,"])"))).join(", ");if(o.length===0)return Promise.resolve();let a=[];try{a=Di(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),i("complete");else return Promise.resolve();const l=oh.begin("onTree"),u=a.reduce((c,f)=>{try{const d=Jx(f);d&&c.push(d)}catch(d){Rx||d.name==="MissingIcon"&&console.error(d)}return c},[]);return new Promise((c,f)=>{Promise.all(u).then(d=>{Qx(d,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(d=>{l(),f(d)})})}function nj(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Jx(e).then(n=>{n&&Qx([n],t)})}function rj(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:Hf(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:Hf(i||{})),e(r,N(N({},n),{},{mask:i}))}}const ij=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Ht,symbol:r=!1,mask:i=null,maskId:s=null,title:o=null,titleId:a=null,classes:l=[],attributes:u={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:d,icon:m}=e;return tu(N({type:"icon"},e),()=>(Tr("beforeDOMElementCreation",{iconDefinition:e,params:t}),B.autoA11y&&(o?u["aria-labelledby"]="".concat(B.replacementClass,"-title-").concat(a||Zs()):(u["aria-hidden"]="true",u.focusable="false")),sh({icons:{main:qf(m),mask:i?qf(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:d,transform:N(N({},Ht),n),symbol:r,title:o,maskId:s,titleId:a,extra:{attributes:u,styles:c,classes:l}})))};var sj={mixout(){return{icon:rj(ij)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Qy,e.nodeCallback=nj,e}}},provides(e){e.i2svg=function(t){const{node:n=de,callback:r=()=>{}}=t;return Qy(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:i,titleId:s,prefix:o,transform:a,symbol:l,mask:u,maskId:c,extra:f}=n;return new Promise((d,m)=>{Promise.all([Kf(r,o),u.iconName?Kf(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(y=>{let[g,w]=y;d([t,sh({icons:{main:g,mask:w},prefix:o,iconName:r,transform:a,symbol:l,maskId:c,title:i,titleId:s,extra:f,watchable:!0})])}).catch(m)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:i,transform:s,styles:o}=t;const a=Zl(o);a.length>0&&(r.style=a);let l;return nh(s)&&(l=Gn("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:r}}}},oj={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return tu({type:"layer"},()=>{Tr("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(i=>{Array.isArray(i)?i.map(s=>{r=r.concat(s.abstract)}):r=r.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(B.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},aj={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:s={}}=t;return tu({type:"counter",content:e},()=>(Tr("beforeDOMElementCreation",{content:e,params:t}),V4({content:e.toString(),title:n,extra:{attributes:i,styles:s,classes:["".concat(B.cssPrefix,"-layers-counter"),...r]}})))}}}},lj={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Ht,title:r=null,classes:i=[],attributes:s={},styles:o={}}=t;return tu({type:"text",content:e},()=>(Tr("beforeDOMElementCreation",{content:e,params:t}),Hy({content:e,transform:N(N({},Ht),n),title:r,extra:{attributes:s,styles:o,classes:["".concat(B.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:i,extra:s}=n;let o=null,a=null;if(Cx){const l=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();o=u.width/l,a=u.height/l}return B.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,Hy({content:t.innerHTML,width:o,height:a,transform:i,title:r,extra:s,watchable:!0})])}}};const uj=new RegExp('"',"ug"),Zy=[1105920,1112319],Jy=N(N(N(N({},{FontAwesome:{normal:"fas",400:"fas"}}),j5),G5),z5),Xf=Object.keys(Jy).reduce((e,t)=>(e[t.toLowerCase()]=Jy[t],e),{}),cj=Object.keys(Xf).reduce((e,t)=>{const n=Xf[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function fj(e){const t=e.replace(uj,""),n=y4(t,0),r=n>=Zy[0]&&n<=Zy[1],i=t.length===2?t[0]===t[1]:!1;return{value:zf(i?t[0]:t),isSecondary:r||i}}function dj(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Xf[n]||{})[i]||cj[n]}function ev(e,t){const n="".concat(X5).concat(t.replace(":","-"));return new Promise((r,i)=>{if(e.getAttribute(n)!==null)return r();const o=Di(e.children).filter(d=>d.getAttribute(Ff)===t)[0],a=Kn.getComputedStyle(e,t),l=a.getPropertyValue("font-family"),u=l.match(t4),c=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(o&&!u)return e.removeChild(o),r();if(u&&f!=="none"&&f!==""){const d=a.getPropertyValue("content");let m=dj(l,c);const{value:y,isSecondary:g}=fj(d),w=u[0].startsWith("FontAwesome");let p=ih(m,y),h=p;if(w){const v=E4(y);v.iconName&&v.prefix&&(p=v.iconName,m=v.prefix)}if(p&&!g&&(!o||o.getAttribute(Zp)!==m||o.getAttribute(Jp)!==h)){e.setAttribute(n,h),o&&e.removeChild(o);const v=J4(),{extra:b}=v;b.attributes[Ff]=t,Kf(p,m).then(E=>{const C=sh(N(N({},v),{},{icons:{main:E,mask:Kx()},prefix:m,iconName:h,extra:b,watchable:!0})),k=de.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(k,e.firstChild):e.appendChild(k),k.outerHTML=C.map(T=>So(T)).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function pj(e){return Promise.all([ev(e,"::before"),ev(e,"::after")])}function hj(e){return e.parentNode!==document.head&&!~Z5.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ff)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function tv(e){if(xn)return new Promise((t,n)=>{const r=Di(e.querySelectorAll("*")).filter(hj).map(pj),i=oh.begin("searchPseudoElements");Zx(),Promise.all(r).then(()=>{i(),Gf(),t()}).catch(()=>{i(),Gf(),n()})})}var mj={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=tv,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=de}=t;B.searchPseudoElements&&tv(n)}}};let nv=!1;var gj={mixout(){return{dom:{unwatch(){Zx(),nv=!0}}}},hooks(){return{bootstrap(){Gy(Wf("mutationObserverCallbacks",{}))},noAuto(){G4()},watch(e){const{observeMutationsRoot:t}=e;nv?Gf():Gy(Wf("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const rv=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),s=i[0];let o=i.slice(1).join("-");if(s&&o==="h")return n.flipX=!0,n;if(s&&o==="v")return n.flipY=!0,n;if(o=parseFloat(o),isNaN(o))return n;switch(s){case"grow":n.size=n.size+o;break;case"shrink":n.size=n.size-o;break;case"left":n.x=n.x-o;break;case"right":n.x=n.x+o;break;case"up":n.y=n.y-o;break;case"down":n.y=n.y+o;break;case"rotate":n.rotate=n.rotate+o;break}return n},t)};var yj={mixout(){return{parse:{transform:e=>rv(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=rv(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:s}=t;const o={transform:"translate(".concat(i/2," 256)")},a="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),c={transform:"".concat(a," ").concat(l," ").concat(u)},f={transform:"translate(".concat(s/2*-1," -256)")},d={outer:o,inner:c,path:f};return{tag:"g",attributes:N({},d.outer),children:[{tag:"g",attributes:N({},d.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:N(N({},n.icon.attributes),d.path)}]}]}}}};const ac={x:0,y:0,width:"100%",height:"100%"};function iv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function vj(e){return e.tag==="g"?e.children:[e]}var wj={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?eu(n.split(" ").map(i=>i.trim())):Kx();return r.prefix||(r.prefix=Yn()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:s,maskId:o,transform:a}=t;const{width:l,icon:u}=i,{width:c,icon:f}=s,d=f4({transform:a,containerWidth:c,iconWidth:l}),m={tag:"rect",attributes:N(N({},ac),{},{fill:"white"})},y=u.children?{children:u.children.map(iv)}:{},g={tag:"g",attributes:N({},d.inner),children:[iv(N({tag:u.tag,attributes:N(N({},u.attributes),d.path)},y))]},w={tag:"g",attributes:N({},d.outer),children:[g]},p="mask-".concat(o||Zs()),h="clip-".concat(o||Zs()),v={tag:"mask",attributes:N(N({},ac),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,w]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:vj(f)},v]};return n.push(b,{tag:"rect",attributes:N({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(p,")")},ac)}),{children:n,attributes:r}}}},Sj={provides(e){let t=!1;Kn.matchMedia&&(t=Kn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:N(N({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=N(N({},i),{},{attributeName:"opacity"}),o={tag:"circle",attributes:N(N({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:N(N({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:N(N({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(o),n.push({tag:"path",attributes:N(N({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:N(N({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:N(N({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:N(N({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},xj={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},bj=[h4,sj,oj,aj,lj,mj,gj,yj,wj,Sj,xj];j4(bj,{mixoutsTo:vt});vt.noAuto;vt.config;vt.library;vt.dom;const Qf=vt.parse;vt.findIconDefinition;vt.toHtml;const Ej=vt.icon;vt.layer;vt.text;vt.counter;var e2={exports:{}},Cj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",kj=Cj,Tj=kj;function t2(){}function n2(){}n2.resetWarningCache=t2;var Pj=function(){function e(r,i,s,o,a,l){if(l!==Tj){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n2,resetWarningCache:t2};return n.PropTypes=n,n};e2.exports=Pj();var _j=e2.exports;const G=ol(_j);function sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Nj(e,t){if(e==null)return{};var n=Aj(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zf(e){return Rj(e)||jj(e)||Mj(e)||Oj()}function Rj(e){if(Array.isArray(e))return Jf(e)}function jj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mj(e,t){if(e){if(typeof e=="string")return Jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jf(e,t)}}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return i2(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,u){var c=t.attributes[u];switch(u){case"class":l.attrs.className=c,delete t.attributes.class;break;case"style":l.attrs.style=Vj(c);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=c:l.attrs[r2(u)]=c}return l},{attrs:{}}),s=n.style,o=s===void 0?{}:s,a=Nj(n,Dj);return i.attrs.style=zt(zt({},i.attrs.style),o),e.apply(void 0,[t.tag,zt(zt({},i.attrs),a)].concat(Zf(r)))}var s2=!1;try{s2=!0}catch{}function $j(){if(!s2&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ov(e){if(e&&il(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Qf.icon)return Qf.icon(e);if(e===null)return null;if(e&&il(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function lc(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ii({},e,t):{}}var av={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},ks=ll.forwardRef(function(e,t){var n=zt(zt({},av),e),r=n.icon,i=n.mask,s=n.symbol,o=n.className,a=n.title,l=n.titleId,u=n.maskId,c=ov(r),f=lc("classes",[].concat(Zf(Lj(n)),Zf((o||"").split(" ")))),d=lc("transform",typeof n.transform=="string"?Qf.transform(n.transform):n.transform),m=lc("mask",ov(i)),y=Ej(c,zt(zt(zt(zt({},f),d),m),{},{symbol:s,title:a,titleId:l,maskId:u}));if(!y)return $j("Could not find icon",c),null;var g=y.abstract,w={ref:t};return Object.keys(n).forEach(function(p){av.hasOwnProperty(p)||(w[p]=n[p])}),Bj(g[0],w)});ks.displayName="FontAwesomeIcon";ks.propTypes={beat:G.bool,border:G.bool,beatFade:G.bool,bounce:G.bool,className:G.string,fade:G.bool,flash:G.bool,mask:G.oneOfType([G.object,G.array,G.string]),maskId:G.string,fixedWidth:G.bool,inverse:G.bool,flip:G.oneOf([!0,!1,"horizontal","vertical","both"]),icon:G.oneOfType([G.object,G.array,G.string]),listItem:G.bool,pull:G.oneOf(["right","left"]),pulse:G.bool,rotation:G.oneOf([0,90,180,270]),shake:G.bool,size:G.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:G.bool,spinPulse:G.bool,spinReverse:G.bool,symbol:G.oneOfType([G.bool,G.string]),title:G.string,titleId:G.string,transform:G.oneOfType([G.string,G.object]),swapOpacity:G.bool};var Bj=i2.bind(null,ll.createElement);/*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. - */const zM={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},UM={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]};/*! + */const zj={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Uj={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]};/*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. - */const WM={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},HM="/assets/wildhacks-logo-square-0S7FZDLz.svg",qM="/assets/northwestern-logo-CyJnrrxO.svg",KM=()=>S.jsxs("div",{id:"footer__wrapper",children:[" ",S.jsxs("div",{id:"footer",children:[S.jsxs("div",{className:"footer__flexbox",children:[S.jsx("div",{className:"footer__image",children:S.jsx("img",{src:HM,alt:"Wildhacks 2025 logo"})}),S.jsx("h2",{children:"WildHacks 2025"})]}),S.jsx("div",{children:S.jsxs("div",{className:"footer__flexbox",id:"icons__flexbox",children:[S.jsx("a",{href:"https://www.instagram.com/wildhacks/",rel:"noreferrer",children:S.jsx(ks,{icon:UM,size:"2xl"})}),S.jsx("a",{href:"https://www.linkedin.com/company/wildhacks/",rel:"noreferrer",children:S.jsx(ks,{icon:zM,size:"2xl"})}),S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:S.jsx(ks,{icon:WM,size:"2xl"})})]})}),S.jsx("div",{className:"footer__flexbox footer__school_image",children:S.jsx("a",{href:"https://www.northwestern.edu",children:S.jsx("img",{src:qM,alt:"Northwestern University logo"})})})]})]}),YM="/assets/logo-no-padding-DTfERa_P.svg",GM=({children:e})=>{const[t,n]=x.useState(!1),{width:r}=$C();let i=r<800;return S.jsxs("div",{className:"hamburger__main_wrapper",children:[i&&S.jsxs("div",{onClick:()=>{n(!t)},className:`hamburger_menu${t?" hamburger_menu__active":""}`,children:[S.jsx("div",{className:"hamburger_menu__bun"}),S.jsx("div",{className:"hamburger_menu__meat"}),S.jsx("div",{className:"hamburger_menu__bun"})]}),S.jsx(eA,{initial:!1,children:(t||!i)&&e})]})},Qo=({children:e})=>S.jsx(nn.div,{initial:{opacity:.5,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:0},transition:{delay:.1,duration:.4,scale:{type:"spring",visualDuration:.5,bounce:.2}},children:e}),XM=e=>2-2/(1+Math.exp(-1*e)),QM=()=>{const[e,t]=zC(),r=e.y/1500,i=XM(r);return S.jsxs("div",{id:"navigation__main_wrapper",style:{backgroundColor:`rgb(175, 213, 240, ${i})`},children:[S.jsx("div",{className:"navigation__logo_wrapper",children:S.jsx("a",{href:"/#landing",children:S.jsx("img",{src:YM,alt:"Wildhacks 2025 logo"})})}),S.jsx(GM,{children:S.jsxs("div",{className:"navigation__bar_wrapper",children:[S.jsx(Qo,{children:S.jsx("button",{className:"button-A",children:S.jsxs("div",{className:"button__inner_div",children:[S.jsx("div",{className:"button__bar"}),"Dashboard",S.jsx("div",{className:"button__bar"})]})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#faq",children:S.jsx("button",{className:"button-B",children:"FAQ"})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#sponsors",children:S.jsx("button",{className:"button-B",children:"Sponsors"})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#about",children:S.jsx("button",{className:"button-B",children:"About"})})})]})})]})},ZM=({children:e})=>S.jsx("div",{className:"wrapper__div",children:e}),JM="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23736dad;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M51.57,46.75s-2.6,25.08-20.98,20.7c-18.38-4.38-8.66-16.3-8.66-16.3,0,0-18.27,3.25-18.66-14.34-.39-17.59,19.33-15.3,19.33-15.3,0,0-7.88-6.94-1.53-14.84,6.35-7.9,14.41,7.9,14.41,7.9,0,0,20.23-22.6,25.83-1.58,5.61,21.02-8.75,14.94-8.75,14.94,0,0,22.54,9.72,14.42,19.48-8.12,9.77-15.41-.66-15.41-.66Z'/%3e%3ccircle%20class='cls-1'%20cx='34.7'%20cy='33.98'%20r='8.63'/%3e%3c/svg%3e",e5="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23b16d84;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M21.25,26.91s-.13-25.02,18.48-22.67c18.61,2.35,10.3,15.16,10.3,15.16,0,0,17.68-5.16,19.95,12.15,2.27,17.31-17.43,17.17-17.43,17.17,0,0,8.52,6.01,3.1,14.48-5.41,8.47-15.06-6.25-15.06-6.25,0,0-19.46,21.24-26.38,4.6-6.45-15.53,8.09-15.96,8.09-15.96,0,0-23.28-7.17-16.32-17.68,6.96-10.51,15.27-1.01,15.27-1.01Z'/%3e%3ccircle%20class='cls-1'%20cx='37.42'%20cy='36'%20r='12.11'/%3e%3c/svg%3e",t5="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23004d35;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M22.79,23.14S28.16-1.49,45.94,4.9c17.78,6.4,6.8,17.16,6.8,17.16,0,0,18.52-1.2,16.95,16.33-1.56,17.52-20.91,13.06-20.91,13.06,0,0,7.06,7.78-.13,14.92-7.18,7.14-13.44-9.45-13.44-9.45,0,0-22.61,20.21-25.85-1.3-3.24-21.51,10.36-13.88,10.36-13.88,0,0-21.32-12.16-12.17-20.96,9.15-8.81,15.24,2.36,15.24,2.36Z'/%3e%3ccircle%20class='cls-1'%20cx='38.13'%20cy='37.71'%20r='8.63'/%3e%3c/svg%3e",n5=()=>{let e=[JM,e5,t5],t=Math.round(Math.random()*2);return e[t]},lv=({question:e,answer:t})=>{const[n,r]=x.useState(!1);return S.jsxs("div",{className:"q",children:[S.jsxs("div",{onClick:()=>{r(!n)},className:`q__question_text ${n&&"q__question_text__active"}`,children:[S.jsx("img",{src:n5(),alt:"A flower"}),e]}),S.jsx("div",{className:`q__container_bar ${n&&"q__container_bar__active"}`}),n&&S.jsx("div",{className:"q__answer_text",children:t})]})},uv=({header:e,questions:t})=>{let n=t.slice(0,t.length/2),r=t.slice(t.length/2);return S.jsx("div",{className:"faq__questionlist",children:S.jsxs("div",{children:[S.jsx("div",{className:"faq__subheader",children:e}),S.jsxs("div",{className:"faq__questions_container",children:[S.jsx("div",{className:"faq__questions_column",children:n.map((i,s)=>S.jsx(lv,{question:i.question,answer:i.answer},`questionlist_${i.question}_${s}`))}),S.jsx("div",{className:"faq__questions_column",children:r.map((i,s)=>S.jsx(lv,{question:i.question,answer:i.answer},`questionlist_${i.question}_${s}`))})]})]})})},cv=[{header:"General",questions:[{question:"What is WildHacks?",answer:S.jsxs("div",{children:["WildHacks is a ",S.jsx("span",{children:"weekend-long event"})," where students work together to create cool software projects! You can expect"," ",S.jsx("span",{children:"workshops"}),","," ",S.jsx("span",{children:"free food from Evanston restaurants"}),","," ",S.jsx("span",{children:"fun social and de-stress events"}),", ",S.jsx("span",{children:"free swag"}),", and more!"]})},{question:"When is WildHacks?",answer:S.jsxs("div",{children:["WildHacks 2024 will take place from"," ",S.jsx("span",{children:"Friday, April 4, 2025"})," to"," ",S.jsx("span",{children:"Sunday, April 6, 2025"}),". However, hacking won't start until the tracks are released on ",S.jsx("span",{children:"April 5"})," at"," ",S.jsx("span",{children:"11:00 AM"}),", with check in for the event starting at"," ",S.jsx("span",{children:"9:00 AM"})," that same day."]})},{question:"Where is WildHacks?",answer:S.jsx("div",{children:"WildHacks will take place on the Northwestern University campus. More details will be released closer to the event."})},{question:"Is this hackathon purely coding-based?",answer:S.jsxs("div",{children:["The hackathon will be ",S.jsx("span",{children:"software-focused"}),", but don't worry if you don't have prior coding experience. We'll send out resources and have workshops to help you learn how to code."]})},{question:"Where can I find an event schedule?",answer:S.jsxs("div",{children:["The full schedule will be released closer to the event, but check-in will begin at ",S.jsx("span",{children:"9:00 AM"})," on"," ",S.jsx("span",{children:"Saturday, April 5, 2025"})," with the opening ceremony starting at ",S.jsx("span",{children:"11:00 AM"}),", and the closing ceremony will end at ",S.jsx("span",{children:"5:00 PM"})," on ",S.jsx("span",{children:"Sunday, April 6, 2025"}),"."]})},{question:"What will I build?",answer:S.jsx("div",{children:"We'll release a set of tracks at the start of the event, and your project must be related to one of them. The tracks will be broad enough to give you some creative freedom in what you develop but specific enough to give you some direction and prevent members from submitting things developed outside of the hackathon period."})},{question:"What will I submit?",answer:S.jsxs("div",{children:["At the end of the hackathon, you'll submit your project's"," ",S.jsx("span",{children:"source code"}),", a ",S.jsx("span",{children:"2-minute video pitch"}),", and any other relevant resources to the WildHacks Dashboard. Top projects will be selected to ",S.jsx("span",{children:"demo live on stage"})," to win prizes. A detailed rubric will be released during the event."]})}]},{header:"Registration / Teams",questions:[{question:"Who is eligible to participate?",answer:S.jsxs("div",{children:["All ",S.jsx("span",{children:"university students"})," are eligible to participate in WildHacks! High school students are unfortunately not eligible to participate in WildHacks."]})},{question:"What if I've never coded before?",answer:S.jsxs("div",{children:["WildHacks is open to students of ",S.jsx("span",{children:"all experience levels"}),"! We'll send out resources with beginner-friendly tutorials and workshops, and we'll will have a Discord server on which you can ask questions."]})},{question:"How will teams work?",answer:S.jsxs("div",{children:["Teams can consist of up to ",S.jsx("span",{children:"4 members"}),"! We strongly encourage you to work with others."]})},{question:"Are you required to have a team to register?",answer:S.jsxs("div",{children:[S.jsx("span",{children:"No, you are not required to register with a team."})," At the start of the event, if you don't already have a team in mind, you can choose find a team to join or be randomly assigned to one. There will be time during the event to find team members, but you can also find members on the Discord server."]})}]},{header:"Logistics",questions:[{question:"Will there be sleeping / showering accommodations?",answer:S.jsx("div",{children:"There will be a room reserved overnight dedicated to sleeping on Saturday night only. Friday night will not have this accommodation. However, we recommend bringing pillows and blankets. There are showers at Mudd Library, so make sure to bring shower gel, shampoo, a towel, and other things you might need. However, you're welcome to come to and go from the event as you please."})},{question:"Will transportation be reimbursed?",answer:"Transportation will not be reimbursed."},{question:"Do I have to come to workshop night?",answer:S.jsxs("div",{children:[S.jsx("span",{children:"Workshop Night is optional!"})," The actual hacking portion of the hackathon will not start until the morning of April 6. However, if you're interested in learning some skills to help you with your hackathon project, we recommend coming to Workshop Night. We'll provide food!"]})},{question:"Do I have to stay for the full event?",answer:S.jsx("div",{children:"No, you are free to leave the event before the hackathon ends! However, in order to claim prizes, you must be present at the closing ceremony on Sunday, April 7 at 4:00 PM."})}]},{header:"Support",questions:[{question:"How can I get in touch?",answer:S.jsxs("div",{children:["Send us an email at"," ",S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:"wildhacks@northwestern.edu"}),"! We'd be happy to answer any questions about the event or steps to get involved."]})},{question:"I'm interested in sponsoring WildHacks. Who should I contact?",answer:S.jsxs("div",{children:["Send us an email at"," ",S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:"wildhacks@northwestern.edu"}),"! We'd be happy to talk!"]})}]}],r5=()=>{const e=KC();return e==="ios"||e==="android"?S.jsx("div",{style:{display:"block"},children:S.jsx("div",{className:"faq__wrapper",children:S.jsxs("div",{className:"faq__right_side",children:[S.jsx("div",{className:"faq__header",children:"Frequently Asked Questions"}),cv.map((t,n)=>S.jsx(uv,{header:t.header,questions:t.questions},`questionlist__${n}`))]})})}):S.jsx("div",{children:S.jsx("div",{className:"faq__wrapper",children:S.jsxs("div",{className:"faq__right_side",children:[S.jsx("div",{className:"faq__header",children:"Frequently Asked Questions"}),cv.map((t,n)=>S.jsx(uv,{header:t.header,questions:t.questions},`questionlist__${n}`))]})})})},i5="/assets/tree-B1G-DJWu.svg",s5="/assets/nucs-CqqRCIYL.png",o5="/assets/the-garage-qQcsYMLj.png",a5="/assets/omnistack-DgBAWmwv.png",l5="/assets/google-D-XZq09G.png",Sa=({color:e,waviness:t,flip:n=!1,otherColor:r="#00000000"})=>{let i={fill:e},s={fill:r},c=[S.jsx("path",{d:"M0,100h1000v-20.92h0c-226.65-32.3-344.51-51.74-731.25-19.85L0,79.08v20.92Z",style:i}),S.jsx("path",{d:"M0,100h1000v-21.14h0C742.62,0,262.14,0,0,78.86h0v21.14Z",style:i}),S.jsx("path",{d:"M0,100h1000v-62.62h0c-158.83-28.7-113.16-28.7-509.82,19.94C201.72,92.7,272.85,23.56,0,23.56h0v76.44Z",style:i}),S.jsx("path",{d:"M0,100h1000v-62.62h0c-250.54,69.26-244.8,40.85-485.56-6.35C229.65-24.8,267.27,118.01,0,23.56h0v76.44Z",style:i})];return S.jsx("div",{className:"wave_vector__wrapper",children:S.jsxs("svg",{className:`${n&&"upside_down"}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",children:[S.jsx("rect",{x:"0",y:"0",width:"1000",height:"90",style:s}),c[t]]})})},Fr={light:"#dfefef",very_dark_green:"#1e301b",dark_green:"#269449",light_green:"#67e67c",cloud_blue:"#afd5f0",sky_blue:"#ace3ee",yellow_1:"#fbe369",yellow_2:"#d3914a",brown:"#684c28",rocks:"#9e9282"},u5=()=>S.jsx(S.Fragment,{children:S.jsxs("div",{className:"sponsors__backdrop",children:[S.jsx("div",{className:"sponsors__tree",children:S.jsx("img",{src:i5})}),S.jsx("div",{id:"sponsors__wave",children:S.jsx(Sa,{color:Fr.very_dark_green,otherColor:"#00000000",waviness:0})}),S.jsxs("div",{className:"sponsors__inner_wrapper",children:[S.jsx("div",{className:"sponsors__header",children:"Thank You To Our Sponsors"}),S.jsxs("div",{className:"sponsors__flexbox",children:[S.jsx("div",{children:S.jsx("img",{src:s5})}),S.jsx("div",{children:S.jsx("img",{src:a5})}),S.jsx("div",{children:S.jsx("img",{src:o5})})]}),S.jsx("div",{className:"sponsors__subheader",children:"and Our Partners"}),S.jsx("div",{className:"sponsors__flexbox",children:S.jsx("div",{children:S.jsx("img",{src:l5})})})]})]})}),c5="/assets/picture_1-CdAXxSJv.jpg",f5="/assets/picture_2-DIaQf9__.jpg",d5="/assets/picture_3-wsNeIiCt.jpg",p5="/assets/picture_4-BAzDOhbd.jpg",h5="/assets/picture_5-Cx0cJYMV.jpg",m5="/assets/picture_6-ybOQjbvx.jpg",g5="/assets/picture_7-CCcI2sfF.jpg",y5="/assets/picture_8-BobUvcRS.jpg",v5="/assets/picture_9-CR6DUL1K.jpg",w5="/assets/picture_10-DkP9utvF.jpg",S5="/assets/picture_11-BHD8EMfs.jpg",x5="/assets/picture_12-BV5FcUiT.jpg",b5="/assets/picture_13-DUBQC7aF.jpg",E5="/assets/picture_14-NIm9F2O8.jpg",C5="/assets/picture_15-CiAywOw6.jpg",k5="/assets/picture_16-wo2KMZ-x.jpg",T5="/assets/picture_17-COP5HOI4.jpg",P5="/assets/picture_18-WVilPHub.jpg",_5="/assets/picture_19-Y7Skl4w9.jpg",A5="/assets/picture_20-CBGmnDzf.jpg",N5="/assets/picture_21-CMC_meSE.jpg",R5="/assets/picture_22-fhiNvT6_.jpg",j5="/assets/picture_23-CxWavYDG.jpg",M5="/assets/picture_24-D9u8hHpY.jpg",O5="/assets/picture_25-v3hS6syN.jpg",L5="/assets/picture_26-DwQQKo8-.jpg",I5="/assets/picture_27-BUs_cv8I.jpg",D5="/assets/picture_28-B8JhBNsu.jpg",F5="/assets/picture_29-C26MtoMD.jpg",V5="/assets/picture_30-aaABfqhy.jpg",$5="/assets/picture_31-fwKyfRlI.jpg",B5="/assets/picture_32-fsY5EEHn.jpg",z5="/assets/picture_33-DB6VVxoo.jpg",U5="/assets/picture_34-u8WZOHSu.jpg",W5="/assets/picture_35-CZeoSUXm.jpg",H5="/assets/picture_36-CnLpwRvT.jpg";function q5(e,t,n,r,i){return r+(i-r)*((e-t)/(n-t))}function lh(e){return typeof e=="number"}function fv(e){return typeof e=="string"}function ed(e){return Object.prototype.toString.call(e)==="[object Object]"}function K5(e){return Array.isArray(e)}function dv(e){return ed(e)||K5(e)}function Ee(e){return Math.abs(e)}function uh(e){return e?e/Ee(e):0}function ls(e,t){return Ee(e-t)}function Y5(e,t){if(e===0||t===0||Ee(e)<=Ee(t))return 0;var n=ls(Ee(e),Ee(t));return Ee(n/e)}function G5(e){var t=Math.pow(10,e);return function(n){return Math.round(n*t)/t}}function eo(e){return yr(e).map(Number)}function un(e){return e[nu(e)]}function nu(e){return Math.max(0,e.length-1)}function yr(e){return Object.keys(e)}function o2(e,t){return[e,t].reduce(function(n,r){return yr(r).forEach(function(i){var s=n[i],o=r[i],a=ed(s)&&ed(o);n[i]=a?o2(s,o):o}),n},{})}function a2(e,t){var n=yr(e),r=yr(t);return n.length!==r.length?!1:n.every(function(i){var s=e[i],o=t[i];return typeof s=="function"?"".concat(s)==="".concat(o):!dv(s)||!dv(o)?s===o:a2(s,o)})}function X5(e,t){var n={start:r,center:i,end:s};function r(){return 0}function i(u){return s(u)/2}function s(u){return t-u}function o(){return t*Number(e)}function a(u){return lh(e)?o():n[e](u)}var l={measure:a};return l}function Q5(e){var t=0;function n(o,a){return function(){o===!!t&&a()}}function r(){t=window.requestAnimationFrame(e)}function i(){window.cancelAnimationFrame(t),t=0}var s={proceed:n(!0,r),start:n(!1,r),stop:n(!0,i)};return s}function Z5(e,t){var n=e==="y"?"y":"x",r=e==="y"?"x":"y",i=a(),s=l();function o(c){var f=c.width,d=c.height;return n==="x"?f:d}function a(){return n==="y"?"top":t==="rtl"?"right":"left"}function l(){return n==="y"?"bottom":t==="rtl"?"left":"right"}var u={scroll:n,cross:r,startEdge:i,endEdge:s,measureSize:o};return u}function Ti(e,t){var n=Ee(e-t);function r(u){return ut}function s(u){return r(u)||i(u)}function o(u){return s(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}var l={length:n,max:t,min:e,constrain:o,reachedAny:s,reachedMax:i,reachedMin:r,removeOffset:a};return l}function l2(e,t,n){var r=Ti(0,e),i=r.min,s=r.constrain,o=e+1,a=l(t);function l(y){return n?Ee((o+y)%o):s(y)}function u(){return a}function c(y){return a=l(y),m}function f(y){return c(u()+y)}function d(){return l2(e,u(),n)}var m={add:f,clone:d,get:u,set:c,min:i,max:e};return m}function J5(e){var t=e==="rtl"?-1:1;function n(i){return i*t}var r={apply:n};return r}function sl(){var e=[];function t(i,s,o,a){return a===void 0&&(a={passive:!0}),i.addEventListener(s,o,a),e.push(function(){return i.removeEventListener(s,o,a)}),r}function n(){return e=e.filter(function(i){return i()}),r}var r={add:t,removeAll:n};return r}function Bn(e){var t=e;function n(){return t}function r(f){return t=u(f),c}function i(f){return t+=u(f),c}function s(f){return t-=u(f),c}function o(f){return t*=f,c}function a(f){return t/=f,c}function l(){return t!==0&&a(t),c}function u(f){return lh(f)?f:f.get()}var c={add:i,divide:a,get:n,multiply:o,normalize:l,set:r,subtract:s};return c}function eO(e,t,n,r,i,s,o,a,l,u,c,f,d,m,y,g){var w=e.cross,p=["INPUT","SELECT","TEXTAREA"],h={passive:!1},v=Bn(0),b=sl(),E=sl(),C=d.measure(20),k={mouse:300,touch:400},T={mouse:500,touch:600},j=y?5:16,L=1,U=0,te=0,Y=!1,Q=!1,ae=!1,Z=!1;function K(){var M=n;b.add(M,"dragstart",function(J){return J.preventDefault()},h).add(M,"touchmove",function(){},h).add(M,"touchend",function(){}).add(M,"touchstart",ne).add(M,"mousedown",ne).add(M,"touchcancel",O).add(M,"contextmenu",O).add(M,"click",$,!0)}function _(){var M=Z?document:n;E.add(M,"touchmove",se,h).add(M,"touchend",O).add(M,"mousemove",se,h).add(M,"mouseup",O)}function I(){b.removeAll(),E.removeAll()}function V(M){var J=M.nodeName||"";return p.indexOf(J)>-1}function q(){var M=y?T:k,J=Z?"mouse":"touch";return M[J]}function ee(M,J){var ge=c.clone().add(uh(M)*-1),he=ge.get()===c.min||ge.get()===c.max,Ne=u.byDistance(M,!y).distance;return y||Ee(M)=2,ge=Z||!J;Y=!0,i.pointerDown(M),v.set(r),r.set(s),l.useBaseMass().useSpeed(80),_(),U=i.readPoint(M),te=i.readPoint(M,w),f.emit("pointerDown"),ge&&(ae=!1)}}function se(M){if(!Q&&!Z){if(!M.cancelable)return O(M);var J=i.readPoint(M),ge=i.readPoint(M,w),he=ls(J,U),Ne=ls(ge,te);if(Q=he>Ne,!Q&&!ae)return O(M)}var Zt=i.pointerMove(M);!ae&&Zt&&(ae=!0),o.start(),r.add(t.apply(Zt)),M.preventDefault()}function O(M){var J=u.byDistance(0,!1),ge=J.index!==c.get(),he=i.pointerUp(M)*q(),Ne=ee(t.apply(he),ge),Zt=Y5(he,Ne),bn=ls(r.get(),v.get())>=.5,er=ge&&Zt>.75,Rr=Ee(he)t;return r=f,m&&(n=f),d}function u(f){if(!n||!r)return 0;var d=o(r)-o(n),m=s(f)-s(n),y=s(f)-s(r)>t,g=d/m,w=m&&!y&&Ee(g)>.1;return w?g:0}var c={isTouchEvent:i,pointerDown:a,pointerMove:l,pointerUp:u,readPoint:o};return c}function nO(e){function t(r){return e*(r/100)}var n={measure:t};return n}function rO(e,t,n){var r=G5(2),i=Bn(0),s=Bn(0),o=Bn(0),a=0,l=t,u=n;function c(){i.add(s),e.add(i),s.multiply(0)}function f(b){b.divide(u),s.add(b)}function d(b){o.set(b).subtract(e);var E=q5(o.get(),0,100,0,l);return a=uh(o.get()),o.normalize().multiply(E).subtract(i),f(o),v}function m(b){var E=b.get()-e.get(),C=!r(E);return C&&e.set(b),C}function y(){return a}function g(){return p(t)}function w(){return h(n)}function p(b){return l=b,v}function h(b){return u=b,v}var v={direction:y,seek:d,settle:m,update:c,useBaseMass:w,useBaseSpeed:g,useMass:h,useSpeed:p};return v}function iO(e,t,n,r,i){var s=i.measure(10),o=i.measure(50),a=.85,l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(m){if(u()){var y=e.reachedMin(t.get())?"min":"max",g=Ee(e[y]-t.get()),w=n.get()-t.get(),p=Math.min(g/o,a);n.subtract(w*p),!m&&Ee(w)0?k.concat([T]):k},[])}function y(E,C){var k=C==="start",T=k?-r:r,j=o.findSlideBounds([T]);return E.map(function(L){var U=k?0:-r,te=k?r:0,Y=j.filter(function(I){return I.index===L})[0],Q=Y[k?"end":"start"],ae=Bn(-1),Z=Bn(-1),K=u2(e,t,l[L]),_=function(){return ae.set(a.get()>Q?U:te)};return{index:L,location:Z,translate:K,target:_}})}function g(){var E=s[0]-1,C=m(c,E);return y(C,"end")}function w(){var E=n-s[0]-1,C=m(u,E);return y(C,"start")}function p(){return f.every(function(E){var C=E.index,k=u.filter(function(T){return T!==C});return d(k,n)<=.1})}function h(){f.forEach(function(E){var C=E.target,k=E.translate,T=E.location,j=C();j.get()!==T.get()&&(j.get()===0?k.clear():k.to(j),T.set(j))})}function v(){f.forEach(function(E){return E.translate.clear()})}var b={canLoop:p,clear:v,loop:h,loopPoints:f};return b}function pO(e,t,n,r,i,s,o){var a=i.removeOffset,l=i.constrain,u=.5,c=s?[0,t,-t]:[0],f=m(c,o);function d(w){var p=w||0;return n.map(function(h){var v=Ti(u,h-u);return v.constrain(h*p)})}function m(w,p){var h=w||c,v=d(p);return h.reduce(function(b,E){var C=r.map(function(k,T){return{start:k-n[T]+v[T]+E,end:k+e-v[T]+E,index:T}});return b.concat(C)},[])}function y(w,p){var h=s?a(w):l(w),v=p||f;return v.reduce(function(b,E){var C=E.index,k=E.start,T=E.end,j=b.indexOf(C)!==-1,L=kh;return!j&&L?b.concat([C]):b},[])}var g={check:y,findSlideBounds:m};return g}function hO(e,t,n,r,i){var s=e.measureSize,o=e.startEdge,a=e.endEdge,l=n[0]&&i,u=m(),c=y(),f=n.map(s),d=g();function m(){if(!l)return 0;var p=n[0];return Ee(t[o]-p[o])}function y(){if(!l)return 0;var p=window.getComputedStyle(un(r));return parseFloat(p.getPropertyValue("margin-".concat(a)))}function g(){return n.map(function(p,h,v){var b=!h,E=h===nu(v);return b?f[h]+u:E?f[h]+c:v[h+1][o]-p[o]}).map(Ee)}var w={slideSizes:f,slideSizesWithGaps:d};return w}function mO(e,t,n){var r=lh(n);function i(l,u){return eo(l).filter(function(c){return c%u===0}).map(function(c){return l.slice(c,c+u)})}function s(l){return eo(l).reduce(function(u,c){var f=t.slice(un(u),c+1),d=f.reduce(function(m,y){return m+y},0);return!c||d>e?u.concat(c):u},[]).map(function(u,c,f){return l.slice(u,f[c+1])})}function o(l){return r?i(l,n):s(l)}var a={groupSlides:o};return a}function gO(e,t,n,r,i){var s=r.align,o=r.axis,a=r.direction,l=r.startIndex,u=r.inViewThreshold,c=r.loop,f=r.speed,d=r.dragFree,m=r.slidesToScroll,y=r.skipSnaps,g=r.containScroll,w=t.getBoundingClientRect(),p=n.map(function(Ne){return Ne.getBoundingClientRect()}),h=J5(a),v=Z5(o,a),b=v.measureSize(w),E=nO(b),C=X5(s,b),k=!c&&g!=="",T=c||g!=="",j=hO(v,w,p,n,T),L=j.slideSizes,U=j.slideSizesWithGaps,te=mO(b,U,m),Y=uO(v,C,w,p,U,te,k),Q=Y.snaps,ae=Y.snapsAligned,Z=-un(Q)+un(U),K=sO(b,Z,ae,g).snapsContained,_=k?K:ae,I=oO(Z,_,c).limit,V=l2(nu(_),l,c),q=V.clone(),ee=eo(n),ne=function(){c||he.scrollBounds.constrain(he.dragHandler.pointerDown()),he.scrollBody.seek(D).update();var Ne=he.scrollBody.settle(D);Ne&&!he.dragHandler.pointerDown()&&(he.animation.stop(),i.emit("settle")),Ne||i.emit("scroll"),c&&(he.scrollLooper.loop(he.scrollBody.direction()),he.slideLooper.loop()),he.translate.to($),he.animation.proceed()},se=Q5(ne),O=_[V.get()],$=Bn(O),D=Bn(O),W=rO($,f,1),ie=cO(c,_,Z,I,D),M=fO(se,V,q,ie,D,i),J=pO(b,Z,L,Q,I,c,u),ge=eO(v,h,e,D,tO(v),$,se,M,W,ie,V,i,E,c,d,y),he={containerRect:w,slideRects:p,animation:se,axis:v,direction:h,dragHandler:ge,eventStore:sl(),percentOfView:E,index:V,indexPrevious:q,limit:I,location:$,options:r,scrollBody:W,scrollBounds:iO(I,$,D,W,E),scrollLooper:aO(Z,I,$,[$,D]),scrollProgress:lO(I),scrollSnaps:_,scrollTarget:ie,scrollTo:M,slideLooper:dO(v,h,b,Z,U,_,J,$,n),slidesToScroll:te,slidesInView:J,slideIndexes:ee,target:D,translate:u2(v,h,t)};return he}function yO(){var e={};function t(o){return e[o]||[]}function n(o){return t(o).forEach(function(a){return a(o)}),s}function r(o,a){return e[o]=t(o).concat([a]),s}function i(o,a){return e[o]=t(o).filter(function(l){return l!==a}),s}var s={emit:n,off:i,on:r};return s}var vO={align:"center",axis:"x",container:null,slides:null,containScroll:"",direction:"ltr",slidesToScroll:1,breakpoints:{},dragFree:!1,draggable:!0,inViewThreshold:0,loop:!1,skipSnaps:!1,speed:10,startIndex:0,active:!0};function ch(){function e(i,s){return o2(i,s||{})}function t(i,s){var o=JSON.stringify(yr(i.breakpoints||{})),a=JSON.stringify(yr(s.breakpoints||{}));return o!==a?!1:a2(i,s)}function n(i){var s=i.breakpoints||{},o=yr(s).filter(function(a){return window.matchMedia(a).matches}).map(function(a){return s[a]}).reduce(function(a,l){return e(a,l)},{});return e(i,o)}var r={merge:e,areEqual:t,atMedia:n};return r}function wO(){var e=ch(),t=e.atMedia,n=e.areEqual,r=[],i=[];function s(){return i.some(function(c){return c()})}function o(c){var f=t(c.options);return function(){return!n(f,t(c.options))}}function a(c,f){return i=c.map(o),r=c.filter(function(d){return t(d.options).active}),r.forEach(function(d){return d.init(f)}),c.reduce(function(d,m){var y;return Object.assign(d,(y={},y[m.name]=m,y))},{})}function l(){r=r.filter(function(c){return c.destroy()})}var u={init:a,destroy:l,haveChanged:s};return u}function vr(e,t,n){var r=sl(),i=ch(),s=wO(),o=yO(),a=o.on,l=o.off,u=E,c=!1,f,d=i.merge(vO,vr.globalOptions),m=i.merge(d),y=[],g,w=0,p,h;function v(){var D=m.container,W=m.slides,ie=fv(D)?e.querySelector(D):D;p=ie||e.children[0];var M=fv(W)?p.querySelectorAll(W):W;h=[].slice.call(M||p.children)}function b(D,W){if(!c){if(d=i.merge(d,D),m=i.atMedia(d),v(),f=gO(e,p,h,m,o),w=f.axis.measureSize(e.getBoundingClientRect()),!m.active)return C();if(f.translate.to(f.location),y=W||y,g=s.init(y,$),m.loop){if(!f.slideLooper.canLoop()){C(),b({loop:!1},W),d=i.merge(d,{loop:!0});return}f.slideLooper.loop()}m.draggable&&p.offsetParent&&h.length&&f.dragHandler.addActivationEvents()}}function E(D,W){var ie=_();C(),b(i.merge({startIndex:ie},D),W),o.emit("reInit")}function C(){f.dragHandler.removeAllEvents(),f.animation.stop(),f.eventStore.removeAll(),f.translate.clear(),f.slideLooper.clear(),s.destroy()}function k(){c||(c=!0,r.removeAll(),C(),o.emit("destroy"))}function T(){var D=i.atMedia(d),W=!i.areEqual(D,m),ie=f.axis.measureSize(e.getBoundingClientRect()),M=w!==ie,J=s.haveChanged();(M||W||J)&&E(),o.emit("resize")}function j(D){var W=f[D?"target":"location"].get(),ie=m.loop?"removeOffset":"constrain";return f.slidesInView.check(f.limit[ie](W))}function L(D){var W=j(D);return f.slideIndexes.filter(function(ie){return W.indexOf(ie)===-1})}function U(D,W,ie){!m.active||c||(f.scrollBody.useBaseMass().useSpeed(W?100:m.speed),f.scrollTo.index(D,ie||0))}function te(D){var W=f.index.clone().add(1);U(W.get(),D===!0,-1)}function Y(D){var W=f.index.clone().add(-1);U(W.get(),D===!0,1)}function Q(){var D=f.index.clone().add(1);return D.get()!==_()}function ae(){var D=f.index.clone().add(-1);return D.get()!==_()}function Z(){return f.scrollSnaps.map(f.scrollProgress.get)}function K(){return f.scrollProgress.get(f.location.get())}function _(){return f.index.get()}function I(){return f.indexPrevious.get()}function V(){return f.dragHandler.clickAllowed()}function q(){return g}function ee(){return f}function ne(){return e}function se(){return p}function O(){return h}var $={canScrollNext:Q,canScrollPrev:ae,clickAllowed:V,containerNode:se,internalEngine:ee,destroy:k,off:l,on:a,plugins:q,previousScrollSnap:I,reInit:u,rootNode:ne,scrollNext:te,scrollPrev:Y,scrollProgress:K,scrollSnapList:Z,scrollTo:U,selectedScrollSnap:_,slideNodes:O,slidesInView:j,slidesNotInView:L};return b(t,n),r.add(window,"resize",T),setTimeout(function(){return o.emit("init")},0),$}vr.globalOptions=void 0;vr.optionsHandler=ch;function SO(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function pv(e){return e.concat().sort(function(t,n){return t.name>n.name?1:-1}).map(function(t){return t.options})}function xO(e,t){if(e.length!==t.length)return!1;var n=vr.optionsHandler().areEqual,r=pv(e),i=pv(t);return r.every(function(s,o){var a=i[o];return n(s,a)})}function fh(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=x.useRef(vr.optionsHandler()),r=x.useRef(e),i=x.useRef(t),s=x.useState(),o=s[0],a=s[1],l=x.useState(),u=l[0],c=l[1],f=x.useCallback(function(){o&&o.reInit(r.current,i.current)},[o]);return x.useEffect(function(){if(SO()&&u){vr.globalOptions=fh.globalOptions;var d=vr(u,r.current,i.current);return a(d),function(){return d.destroy()}}else a(void 0)},[u,a]),x.useEffect(function(){n.current.areEqual(r.current,e)||(r.current=e,f())},[e,f]),x.useEffect(function(){xO(i.current,t)||(i.current=t,f())},[t,f]),[c,o]}fh.globalOptions=void 0;const[bO,EO]=Qd("Carousel component was not found in tree");var dh={root:"m_17884d0f",viewport:"m_a2dae653",container:"m_fcd81474",controls:"m_39bc3463",control:"m_64f58e10",indicators:"m_71ea3ab1",indicator:"m_eae68602",slide:"m_d98df724"};const CO={},ph=Me((e,t)=>{const{classNames:n,className:r,style:i,styles:s,vars:o,mod:a,...l}=le("CarouselSlide",CO,e),u=EO();return S.jsx(ze,{ref:t,mod:[{orientation:u.orientation},a],...u.getStyles("slide",{className:r,style:i,classNames:n,styles:s}),...l})});ph.classes=dh;ph.displayName="@mantine/carousel/CarouselSlide";function kO({slideGap:e,slideSize:t,selector:n}){const r=vn(),i=ao({"--carousel-slide-gap":$n(Ha(e)),"--carousel-slide-size":A(Ha(t))}),s=ot(r.breakpoints).reduce((l,u)=>(l[u]||(l[u]={}),typeof e=="object"&&e[u]!==void 0&&(l[u]["--carousel-slide-gap"]=$n(e[u])),typeof t=="object"&&t[u]!==void 0&&(l[u]["--carousel-slide-size"]=$n(t[u])),l),{}),a=EC(ot(s),r.breakpoints).filter(l=>ot(s[l.value]).length>0).map(l=>({query:`(min-width: ${r.breakpoints[l.value]})`,styles:s[l.value]}));return S.jsx(rp,{styles:i,media:a,selector:n})}function hv(e){return typeof e=="object"&&e!==null?ot(e):[]}function TO(e){return e.sort((t,n)=>Us(t)-Us(n))}function PO({slideGap:e,slideSize:t}){const n=Array.from(new Set([...hv(e),...hv(t)]));return TO(n)}function _O({slideGap:e,slideSize:t,selector:n}){const r=ao({"--carousel-slide-gap":$n(Ha(e)),"--carousel-slide-size":A(Ha(t))}),i=PO({slideGap:e,slideSize:t}).reduce((o,a)=>(o[a]||(o[a]={}),typeof e=="object"&&e[a]!==void 0&&(o[a]["--carousel-slide-gap"]=$n(e[a])),typeof t=="object"&&t[a]!==void 0&&(o[a]["--carousel-slide-size"]=$n(t[a])),o),{}),s=Object.keys(i).map(o=>({query:`carousel (min-width: ${o})`,styles:i[o]}));return S.jsx(rp,{styles:r,container:s,selector:n})}function mv({dir:e,orientation:t,direction:n}){return n==="previous"?t==="horizontal"?90*(e==="ltr"?1:-1):-180:t==="horizontal"?90*(e==="ltr"?-1:1):0}const AO={controlSize:26,controlsOffset:"sm",slideSize:"100%",slideGap:0,orientation:"horizontal",align:"center",slidesToScroll:1,includeGapInSize:!0,draggable:!0,dragFree:!1,loop:!1,speed:10,initialSlide:0,inViewThreshold:0,withControls:!0,withIndicators:!1,skipSnaps:!1,containScroll:"",withKeyboardEvents:!0,type:"media"},NO=(e,{height:t,controlSize:n,controlsOffset:r})=>({root:{"--carousel-height":A(t),"--carousel-control-size":A(n),"--carousel-controls-offset":$n(r)}}),to=Me((e,t)=>{const n=le("Carousel",AO,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,children:u,getEmblaApi:c,onNextSlide:f,onPreviousSlide:d,onSlideChange:m,nextControlProps:y,previousControlProps:g,controlSize:w,controlsOffset:p,slideSize:h,slideGap:v,orientation:b,height:E,align:C,slidesToScroll:k,includeGapInSize:T,draggable:j,dragFree:L,loop:U,speed:te,initialSlide:Y,inViewThreshold:Q,withControls:ae,withIndicators:Z,plugins:K,nextControlIcon:_,previousControlIcon:I,skipSnaps:V,containScroll:q,withKeyboardEvents:ee,mod:ne,type:se,...O}=n,$=yt({name:"Carousel",classes:dh,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:NO}),D=Z1(),{dir:W}=aT(),[ie,M]=fh({axis:b==="horizontal"?"x":"y",direction:b==="horizontal"?W:void 0,startIndex:Y,loop:U,align:C,slidesToScroll:k,draggable:j,dragFree:L,speed:te,inViewThreshold:Q,skipSnaps:V,containScroll:q},K),[J,ge]=x.useState(0),[he,Ne]=x.useState(0),Zt=x.useCallback(Oe=>M&&M.scrollTo(Oe),[M]),bn=x.useCallback(()=>{if(!M)return;const Oe=M.selectedScrollSnap();ge(Oe),Oe!==J&&(m==null||m(Oe))},[M,ge,m,J]),er=x.useCallback(()=>{M==null||M.scrollPrev(),d==null||d()},[M]),Rr=x.useCallback(()=>{M==null||M.scrollNext(),f==null||f()},[M]),Fi=x.useCallback(Oe=>{ee&&(Oe.key==="ArrowRight"&&(Oe.preventDefault(),Rr()),Oe.key==="ArrowLeft"&&(Oe.preventDefault(),er()))},[M]);x.useEffect(()=>{if(M)return c==null||c(M),bn(),Ne(M.scrollSnapList().length),M.on("select",bn),()=>{M.off("select",bn)}},[M,k,bn]),x.useEffect(()=>{M&&(M.reInit(),Ne(M.scrollSnapList().length),ge(Oe=>CC(Oe,0,x.Children.toArray(u).length-1)))},[x.Children.toArray(u).length,k]);const Vi=(M==null?void 0:M.canScrollPrev())||!1,hh=(M==null?void 0:M.canScrollNext())||!1,c2=Array(he).fill(0).map((Oe,Jt)=>x.createElement(di,{...$("indicator"),key:Jt,"data-active":Jt===J||void 0,"aria-hidden":!0,tabIndex:-1,onClick:()=>Zt(Jt),"data-orientation":b}));return S.jsxs(bO,{value:{getStyles:$,orientation:b},children:[se==="container"?S.jsx(_O,{...n,selector:`.${D}`}):S.jsx(kO,{...n,selector:`.${D}`}),S.jsxs(ze,{ref:t,...$("root",{className:"responsiveClassName"}),...O,mod:[{orientation:b,"include-gap-in-size":T},ne],onKeyDownCapture:Fi,children:[S.jsx("div",{...$("viewport"),ref:ie,"data-type":se,children:S.jsx("div",{...$("container",{className:D}),"data-orientation":b,children:u})}),Z&&S.jsx("div",{...$("indicators"),"data-orientation":b,children:c2}),ae&&S.jsxs("div",{...$("controls"),"data-orientation":b,children:[S.jsx(di,{...g,...$("control",{className:g==null?void 0:g.className,style:g==null?void 0:g.style}),onClick:Oe=>{var Jt;er(),(Jt=g==null?void 0:g.onClick)==null||Jt.call(g,Oe)},"data-inactive":!Vi||void 0,tabIndex:Vi?0:-1,children:typeof I<"u"?I:S.jsx(af,{style:{transform:`rotate(${mv({dir:W,orientation:b,direction:"previous"})}deg)`}})}),S.jsx(di,{...$("control",{className:y==null?void 0:y.className,style:y==null?void 0:y.style}),...y,onClick:Oe=>{var Jt;Rr(),(Jt=y==null?void 0:y.onClick)==null||Jt.call(y,Oe)},"data-inactive":!hh||void 0,tabIndex:hh?0:-1,children:typeof _<"u"?_:S.jsx(af,{style:{transform:`rotate(${mv({dir:W,orientation:b,direction:"next"})}deg)`}})})]})]})]})});to.classes=dh;to.displayName="@mantine/carousel/Carousel";to.Slide=ph;const RO={offscreen:{x:700},onscreen:{x:50,transition:{type:"spring",bounce:.25,duration:3.2}}},jO=()=>{const e=[c5,f5,d5,p5,h5,m5,g5,y5,v5,w5,S5,x5,b5,E5,C5,k5,T5,P5,_5,A5,N5,R5,j5,M5,O5,L5,I5,D5,F5,V5,$5,B5,z5,U5,W5,H5];return S.jsxs("div",{className:"about_us__wrapper",children:[S.jsxs("div",{className:"about_us__content",children:[S.jsxs("div",{className:"about_us__text",children:[S.jsx("div",{className:"about_us__header",children:"About Us"}),S.jsx("div",{className:"about_us__body",children:"WildHacks is Northwestern's overnight hackathon taking place in-person April 4-6, 2025. As Northwestern's largest hackathon, WildHacks is an opportunity for students to learn programming skills and develop a final project in a collaborative and inclusive environment. Through workshops, mentorship, and prizes, WildHacks aims to be an inclusive event that welcomes students of all skill levels, majors, and backgrounds."})]}),S.jsx(nn.div,{initial:"offscreen",whileInView:"onscreen",viewport:{amount:.8},className:"balloon",children:S.jsx(nn.div,{variants:RO,children:S.jsx("img",{src:xw,alt:"hot air balloon"})})})]}),S.jsx(to,{slideSize:{base:"90%",sm:"80%",md:"55%",lg:"45%"},height:"100%",slideGap:"lg",controlSize:18,loop:!0,dragFree:!0,withControls:!0,withIndicators:!0,children:e.sort((t,n)=>Math.random()-.5).map(t=>S.jsx(to.Slide,{children:S.jsx("div",{style:{padding:"1rem"},children:S.jsx("img",{src:t,width:"100%",style:{borderRadius:"25px",border:"8px solid rgb(29, 74, 22)",boxShadow:"0px 10px 0px 0px rgba(29, 74, 22, 0.15)"}})})}))})]})},MO=()=>S.jsxs(ZM,{children:[S.jsx(QM,{}),S.jsx("div",{id:"landing",children:S.jsx(b4,{})}),S.jsx(Sa,{color:Fr.dark_green,waviness:0}),S.jsx("div",{id:"about",children:S.jsx(jO,{})}),S.jsx(Sa,{color:Fr.yellow_2,otherColor:Fr.dark_green,waviness:2}),S.jsx("div",{id:"sponsors",children:S.jsx(u5,{})}),S.jsx("div",{id:"faq",children:S.jsx(r5,{})}),S.jsx(Sa,{color:Fr.rocks,otherColor:Fr.very_dark_green,waviness:3}),S.jsx(KM,{})]});_1(document.getElementById("root")).render(S.jsx(x.StrictMode,{children:S.jsx(Q1,{children:S.jsx(MO,{})})})); + */const Wj={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},Hj="/website2025/assets/wildhacks-logo-square-0S7FZDLz.svg",qj="/website2025/assets/northwestern-logo-CyJnrrxO.svg",Kj=()=>S.jsxs("div",{id:"footer__wrapper",children:[" ",S.jsxs("div",{id:"footer",children:[S.jsxs("div",{className:"footer__flexbox",children:[S.jsx("div",{className:"footer__image",children:S.jsx("img",{src:Hj,alt:"Wildhacks 2025 logo"})}),S.jsx("h2",{children:"WildHacks 2025"})]}),S.jsx("div",{children:S.jsxs("div",{className:"footer__flexbox",id:"icons__flexbox",children:[S.jsx("a",{href:"https://www.instagram.com/wildhacks/",rel:"noreferrer",children:S.jsx(ks,{icon:Uj,size:"2xl"})}),S.jsx("a",{href:"https://www.linkedin.com/company/wildhacks/",rel:"noreferrer",children:S.jsx(ks,{icon:zj,size:"2xl"})}),S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:S.jsx(ks,{icon:Wj,size:"2xl"})})]})}),S.jsx("div",{className:"footer__flexbox footer__school_image",children:S.jsx("a",{href:"https://www.northwestern.edu",children:S.jsx("img",{src:qj,alt:"Northwestern University logo"})})})]})]}),Yj="/website2025/assets/logo-no-padding-DTfERa_P.svg",Gj=({children:e})=>{const[t,n]=x.useState(!1),{width:r}=$C();let i=r<800;return S.jsxs("div",{className:"hamburger__main_wrapper",children:[i&&S.jsxs("div",{onClick:()=>{n(!t)},className:`hamburger_menu${t?" hamburger_menu__active":""}`,children:[S.jsx("div",{className:"hamburger_menu__bun"}),S.jsx("div",{className:"hamburger_menu__meat"}),S.jsx("div",{className:"hamburger_menu__bun"})]}),S.jsx(eA,{initial:!1,children:(t||!i)&&e})]})},Qo=({children:e})=>S.jsx(nn.div,{initial:{opacity:.5,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:0},transition:{delay:.1,duration:.4,scale:{type:"spring",visualDuration:.5,bounce:.2}},children:e}),Xj=e=>2-2/(1+Math.exp(-1*e)),Qj=()=>{const[e,t]=zC(),r=e.y/1500,i=Xj(r);return S.jsxs("div",{id:"navigation__main_wrapper",style:{backgroundColor:`rgb(175, 213, 240, ${i})`},children:[S.jsx("div",{className:"navigation__logo_wrapper",children:S.jsx("a",{href:"/#landing",children:S.jsx("img",{src:Yj,alt:"Wildhacks 2025 logo"})})}),S.jsx(Gj,{children:S.jsxs("div",{className:"navigation__bar_wrapper",children:[S.jsx(Qo,{children:S.jsx("button",{className:"button-A",children:S.jsxs("div",{className:"button__inner_div",children:[S.jsx("div",{className:"button__bar"}),"Dashboard",S.jsx("div",{className:"button__bar"})]})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#faq",children:S.jsx("button",{className:"button-B",children:"FAQ"})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#sponsors",children:S.jsx("button",{className:"button-B",children:"Sponsors"})})}),S.jsx(Qo,{children:S.jsx("a",{href:"/#about",children:S.jsx("button",{className:"button-B",children:"About"})})})]})})]})},Zj=({children:e})=>S.jsx("div",{className:"wrapper__div",children:e}),Jj="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23736dad;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M51.57,46.75s-2.6,25.08-20.98,20.7c-18.38-4.38-8.66-16.3-8.66-16.3,0,0-18.27,3.25-18.66-14.34-.39-17.59,19.33-15.3,19.33-15.3,0,0-7.88-6.94-1.53-14.84,6.35-7.9,14.41,7.9,14.41,7.9,0,0,20.23-22.6,25.83-1.58,5.61,21.02-8.75,14.94-8.75,14.94,0,0,22.54,9.72,14.42,19.48-8.12,9.77-15.41-.66-15.41-.66Z'/%3e%3ccircle%20class='cls-1'%20cx='34.7'%20cy='33.98'%20r='8.63'/%3e%3c/svg%3e",eM="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23b16d84;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M21.25,26.91s-.13-25.02,18.48-22.67c18.61,2.35,10.3,15.16,10.3,15.16,0,0,17.68-5.16,19.95,12.15,2.27,17.31-17.43,17.17-17.43,17.17,0,0,8.52,6.01,3.1,14.48-5.41,8.47-15.06-6.25-15.06-6.25,0,0-19.46,21.24-26.38,4.6-6.45-15.53,8.09-15.96,8.09-15.96,0,0-23.28-7.17-16.32-17.68,6.96-10.51,15.27-1.01,15.27-1.01Z'/%3e%3ccircle%20class='cls-1'%20cx='37.42'%20cy='36'%20r='12.11'/%3e%3c/svg%3e",tM="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2072%2072'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23efcc6b;%20}%20.cls-2%20{%20fill:%20%23004d35;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M22.79,23.14S28.16-1.49,45.94,4.9c17.78,6.4,6.8,17.16,6.8,17.16,0,0,18.52-1.2,16.95,16.33-1.56,17.52-20.91,13.06-20.91,13.06,0,0,7.06,7.78-.13,14.92-7.18,7.14-13.44-9.45-13.44-9.45,0,0-22.61,20.21-25.85-1.3-3.24-21.51,10.36-13.88,10.36-13.88,0,0-21.32-12.16-12.17-20.96,9.15-8.81,15.24,2.36,15.24,2.36Z'/%3e%3ccircle%20class='cls-1'%20cx='38.13'%20cy='37.71'%20r='8.63'/%3e%3c/svg%3e",nM=()=>{let e=[Jj,eM,tM],t=Math.round(Math.random()*2);return e[t]},lv=({question:e,answer:t})=>{const[n,r]=x.useState(!1);return S.jsxs("div",{className:"q",children:[S.jsxs("div",{onClick:()=>{r(!n)},className:`q__question_text ${n&&"q__question_text__active"}`,children:[S.jsx("img",{src:nM(),alt:"A flower"}),e]}),S.jsx("div",{className:`q__container_bar ${n&&"q__container_bar__active"}`}),n&&S.jsx("div",{className:"q__answer_text",children:t})]})},uv=({header:e,questions:t})=>{let n=t.slice(0,t.length/2),r=t.slice(t.length/2);return S.jsx("div",{className:"faq__questionlist",children:S.jsxs("div",{children:[S.jsx("div",{className:"faq__subheader",children:e}),S.jsxs("div",{className:"faq__questions_container",children:[S.jsx("div",{className:"faq__questions_column",children:n.map((i,s)=>S.jsx(lv,{question:i.question,answer:i.answer},`questionlist_${i.question}_${s}`))}),S.jsx("div",{className:"faq__questions_column",children:r.map((i,s)=>S.jsx(lv,{question:i.question,answer:i.answer},`questionlist_${i.question}_${s}`))})]})]})})},cv=[{header:"General",questions:[{question:"What is WildHacks?",answer:S.jsxs("div",{children:["WildHacks is a ",S.jsx("span",{children:"weekend-long event"})," where students work together to create cool software projects! You can expect"," ",S.jsx("span",{children:"workshops"}),","," ",S.jsx("span",{children:"free food from Evanston restaurants"}),","," ",S.jsx("span",{children:"fun social and de-stress events"}),", ",S.jsx("span",{children:"free swag"}),", and more!"]})},{question:"When is WildHacks?",answer:S.jsxs("div",{children:["WildHacks 2024 will take place from"," ",S.jsx("span",{children:"Friday, April 4, 2025"})," to"," ",S.jsx("span",{children:"Sunday, April 6, 2025"}),". However, hacking won't start until the tracks are released on ",S.jsx("span",{children:"April 5"})," at"," ",S.jsx("span",{children:"11:00 AM"}),", with check in for the event starting at"," ",S.jsx("span",{children:"9:00 AM"})," that same day."]})},{question:"Where is WildHacks?",answer:S.jsx("div",{children:"WildHacks will take place on the Northwestern University campus. More details will be released closer to the event."})},{question:"Is this hackathon purely coding-based?",answer:S.jsxs("div",{children:["The hackathon will be ",S.jsx("span",{children:"software-focused"}),", but don't worry if you don't have prior coding experience. We'll send out resources and have workshops to help you learn how to code."]})},{question:"Where can I find an event schedule?",answer:S.jsxs("div",{children:["The full schedule will be released closer to the event, but check-in will begin at ",S.jsx("span",{children:"9:00 AM"})," on"," ",S.jsx("span",{children:"Saturday, April 5, 2025"})," with the opening ceremony starting at ",S.jsx("span",{children:"11:00 AM"}),", and the closing ceremony will end at ",S.jsx("span",{children:"5:00 PM"})," on ",S.jsx("span",{children:"Sunday, April 6, 2025"}),"."]})},{question:"What will I build?",answer:S.jsx("div",{children:"We'll release a set of tracks at the start of the event, and your project must be related to one of them. The tracks will be broad enough to give you some creative freedom in what you develop but specific enough to give you some direction and prevent members from submitting things developed outside of the hackathon period."})},{question:"What will I submit?",answer:S.jsxs("div",{children:["At the end of the hackathon, you'll submit your project's"," ",S.jsx("span",{children:"source code"}),", a ",S.jsx("span",{children:"2-minute video pitch"}),", and any other relevant resources to the WildHacks Dashboard. Top projects will be selected to ",S.jsx("span",{children:"demo live on stage"})," to win prizes. A detailed rubric will be released during the event."]})}]},{header:"Registration / Teams",questions:[{question:"Who is eligible to participate?",answer:S.jsxs("div",{children:["All ",S.jsx("span",{children:"university students"})," are eligible to participate in WildHacks! High school students are unfortunately not eligible to participate in WildHacks."]})},{question:"What if I've never coded before?",answer:S.jsxs("div",{children:["WildHacks is open to students of ",S.jsx("span",{children:"all experience levels"}),"! We'll send out resources with beginner-friendly tutorials and workshops, and we'll will have a Discord server on which you can ask questions."]})},{question:"How will teams work?",answer:S.jsxs("div",{children:["Teams can consist of up to ",S.jsx("span",{children:"4 members"}),"! We strongly encourage you to work with others."]})},{question:"Are you required to have a team to register?",answer:S.jsxs("div",{children:[S.jsx("span",{children:"No, you are not required to register with a team."})," At the start of the event, if you don't already have a team in mind, you can choose find a team to join or be randomly assigned to one. There will be time during the event to find team members, but you can also find members on the Discord server."]})}]},{header:"Logistics",questions:[{question:"Will there be sleeping / showering accommodations?",answer:S.jsx("div",{children:"There will be a room reserved overnight dedicated to sleeping on Saturday night only. Friday night will not have this accommodation. However, we recommend bringing pillows and blankets. There are showers at Mudd Library, so make sure to bring shower gel, shampoo, a towel, and other things you might need. However, you're welcome to come to and go from the event as you please."})},{question:"Will transportation be reimbursed?",answer:"Transportation will not be reimbursed."},{question:"Do I have to come to workshop night?",answer:S.jsxs("div",{children:[S.jsx("span",{children:"Workshop Night is optional!"})," The actual hacking portion of the hackathon will not start until the morning of April 6. However, if you're interested in learning some skills to help you with your hackathon project, we recommend coming to Workshop Night. We'll provide food!"]})},{question:"Do I have to stay for the full event?",answer:S.jsx("div",{children:"No, you are free to leave the event before the hackathon ends! However, in order to claim prizes, you must be present at the closing ceremony on Sunday, April 7 at 4:00 PM."})}]},{header:"Support",questions:[{question:"How can I get in touch?",answer:S.jsxs("div",{children:["Send us an email at"," ",S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:"wildhacks@northwestern.edu"}),"! We'd be happy to answer any questions about the event or steps to get involved."]})},{question:"I'm interested in sponsoring WildHacks. Who should I contact?",answer:S.jsxs("div",{children:["Send us an email at"," ",S.jsx("a",{href:"mailto:wildhacks@northwestern.edu",children:"wildhacks@northwestern.edu"}),"! We'd be happy to talk!"]})}]}],rM=()=>{const e=KC();return e==="ios"||e==="android"?S.jsx("div",{style:{display:"block"},children:S.jsx("div",{className:"faq__wrapper",children:S.jsxs("div",{className:"faq__right_side",children:[S.jsx("div",{className:"faq__header",children:"Frequently Asked Questions"}),cv.map((t,n)=>S.jsx(uv,{header:t.header,questions:t.questions},`questionlist__${n}`))]})})}):S.jsx("div",{children:S.jsx("div",{className:"faq__wrapper",children:S.jsxs("div",{className:"faq__right_side",children:[S.jsx("div",{className:"faq__header",children:"Frequently Asked Questions"}),cv.map((t,n)=>S.jsx(uv,{header:t.header,questions:t.questions},`questionlist__${n}`))]})})})},iM="/website2025/assets/tree-B1G-DJWu.svg",sM="/website2025/assets/nucs-CqqRCIYL.png",oM="/website2025/assets/the-garage-qQcsYMLj.png",aM="/website2025/assets/omnistack-DgBAWmwv.png",lM="/website2025/assets/google-D-XZq09G.png",Sa=({color:e,waviness:t,flip:n=!1,otherColor:r="#00000000"})=>{let i={fill:e},s={fill:r},c=[S.jsx("path",{d:"M0,100h1000v-20.92h0c-226.65-32.3-344.51-51.74-731.25-19.85L0,79.08v20.92Z",style:i}),S.jsx("path",{d:"M0,100h1000v-21.14h0C742.62,0,262.14,0,0,78.86h0v21.14Z",style:i}),S.jsx("path",{d:"M0,100h1000v-62.62h0c-158.83-28.7-113.16-28.7-509.82,19.94C201.72,92.7,272.85,23.56,0,23.56h0v76.44Z",style:i}),S.jsx("path",{d:"M0,100h1000v-62.62h0c-250.54,69.26-244.8,40.85-485.56-6.35C229.65-24.8,267.27,118.01,0,23.56h0v76.44Z",style:i})];return S.jsx("div",{className:"wave_vector__wrapper",children:S.jsxs("svg",{className:`${n&&"upside_down"}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",children:[S.jsx("rect",{x:"0",y:"0",width:"1000",height:"90",style:s}),c[t]]})})},Fr={light:"#dfefef",very_dark_green:"#1e301b",dark_green:"#269449",light_green:"#67e67c",cloud_blue:"#afd5f0",sky_blue:"#ace3ee",yellow_1:"#fbe369",yellow_2:"#d3914a",brown:"#684c28",rocks:"#9e9282"},uM=()=>S.jsx(S.Fragment,{children:S.jsxs("div",{className:"sponsors__backdrop",children:[S.jsx("div",{className:"sponsors__tree",children:S.jsx("img",{src:iM})}),S.jsx("div",{id:"sponsors__wave",children:S.jsx(Sa,{color:Fr.very_dark_green,otherColor:"#00000000",waviness:0})}),S.jsxs("div",{className:"sponsors__inner_wrapper",children:[S.jsx("div",{className:"sponsors__header",children:"Thank You To Our Sponsors"}),S.jsxs("div",{className:"sponsors__flexbox",children:[S.jsx("div",{children:S.jsx("img",{src:sM})}),S.jsx("div",{children:S.jsx("img",{src:aM})}),S.jsx("div",{children:S.jsx("img",{src:oM})})]}),S.jsx("div",{className:"sponsors__subheader",children:"and Our Partners"}),S.jsx("div",{className:"sponsors__flexbox",children:S.jsx("div",{children:S.jsx("img",{src:lM})})})]})]})}),cM="/website2025/assets/picture_1-CdAXxSJv.jpg",fM="/website2025/assets/picture_2-DIaQf9__.jpg",dM="/website2025/assets/picture_3-wsNeIiCt.jpg",pM="/website2025/assets/picture_4-BAzDOhbd.jpg",hM="/website2025/assets/picture_5-Cx0cJYMV.jpg",mM="/website2025/assets/picture_6-ybOQjbvx.jpg",gM="/website2025/assets/picture_7-CCcI2sfF.jpg",yM="/website2025/assets/picture_8-BobUvcRS.jpg",vM="/website2025/assets/picture_9-CR6DUL1K.jpg",wM="/website2025/assets/picture_10-DkP9utvF.jpg",SM="/website2025/assets/picture_11-BHD8EMfs.jpg",xM="/website2025/assets/picture_12-BV5FcUiT.jpg",bM="/website2025/assets/picture_13-DUBQC7aF.jpg",EM="/website2025/assets/picture_14-NIm9F2O8.jpg",CM="/website2025/assets/picture_15-CiAywOw6.jpg",kM="/website2025/assets/picture_16-wo2KMZ-x.jpg",TM="/website2025/assets/picture_17-COP5HOI4.jpg",PM="/website2025/assets/picture_18-WVilPHub.jpg",_M="/website2025/assets/picture_19-Y7Skl4w9.jpg",AM="/website2025/assets/picture_20-CBGmnDzf.jpg",NM="/website2025/assets/picture_21-CMC_meSE.jpg",RM="/website2025/assets/picture_22-fhiNvT6_.jpg",jM="/website2025/assets/picture_23-CxWavYDG.jpg",MM="/website2025/assets/picture_24-D9u8hHpY.jpg",OM="/website2025/assets/picture_25-v3hS6syN.jpg",LM="/website2025/assets/picture_26-DwQQKo8-.jpg",IM="/website2025/assets/picture_27-BUs_cv8I.jpg",DM="/website2025/assets/picture_28-B8JhBNsu.jpg",FM="/website2025/assets/picture_29-C26MtoMD.jpg",VM="/website2025/assets/picture_30-aaABfqhy.jpg",$M="/website2025/assets/picture_31-fwKyfRlI.jpg",BM="/website2025/assets/picture_32-fsY5EEHn.jpg",zM="/website2025/assets/picture_33-DB6VVxoo.jpg",UM="/website2025/assets/picture_34-u8WZOHSu.jpg",WM="/website2025/assets/picture_35-CZeoSUXm.jpg",HM="/website2025/assets/picture_36-CnLpwRvT.jpg";function qM(e,t,n,r,i){return r+(i-r)*((e-t)/(n-t))}function lh(e){return typeof e=="number"}function fv(e){return typeof e=="string"}function ed(e){return Object.prototype.toString.call(e)==="[object Object]"}function KM(e){return Array.isArray(e)}function dv(e){return ed(e)||KM(e)}function Ee(e){return Math.abs(e)}function uh(e){return e?e/Ee(e):0}function ls(e,t){return Ee(e-t)}function YM(e,t){if(e===0||t===0||Ee(e)<=Ee(t))return 0;var n=ls(Ee(e),Ee(t));return Ee(n/e)}function GM(e){var t=Math.pow(10,e);return function(n){return Math.round(n*t)/t}}function eo(e){return yr(e).map(Number)}function un(e){return e[nu(e)]}function nu(e){return Math.max(0,e.length-1)}function yr(e){return Object.keys(e)}function o2(e,t){return[e,t].reduce(function(n,r){return yr(r).forEach(function(i){var s=n[i],o=r[i],a=ed(s)&&ed(o);n[i]=a?o2(s,o):o}),n},{})}function a2(e,t){var n=yr(e),r=yr(t);return n.length!==r.length?!1:n.every(function(i){var s=e[i],o=t[i];return typeof s=="function"?"".concat(s)==="".concat(o):!dv(s)||!dv(o)?s===o:a2(s,o)})}function XM(e,t){var n={start:r,center:i,end:s};function r(){return 0}function i(u){return s(u)/2}function s(u){return t-u}function o(){return t*Number(e)}function a(u){return lh(e)?o():n[e](u)}var l={measure:a};return l}function QM(e){var t=0;function n(o,a){return function(){o===!!t&&a()}}function r(){t=window.requestAnimationFrame(e)}function i(){window.cancelAnimationFrame(t),t=0}var s={proceed:n(!0,r),start:n(!1,r),stop:n(!0,i)};return s}function ZM(e,t){var n=e==="y"?"y":"x",r=e==="y"?"x":"y",i=a(),s=l();function o(c){var f=c.width,d=c.height;return n==="x"?f:d}function a(){return n==="y"?"top":t==="rtl"?"right":"left"}function l(){return n==="y"?"bottom":t==="rtl"?"left":"right"}var u={scroll:n,cross:r,startEdge:i,endEdge:s,measureSize:o};return u}function Ti(e,t){var n=Ee(e-t);function r(u){return ut}function s(u){return r(u)||i(u)}function o(u){return s(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}var l={length:n,max:t,min:e,constrain:o,reachedAny:s,reachedMax:i,reachedMin:r,removeOffset:a};return l}function l2(e,t,n){var r=Ti(0,e),i=r.min,s=r.constrain,o=e+1,a=l(t);function l(y){return n?Ee((o+y)%o):s(y)}function u(){return a}function c(y){return a=l(y),m}function f(y){return c(u()+y)}function d(){return l2(e,u(),n)}var m={add:f,clone:d,get:u,set:c,min:i,max:e};return m}function JM(e){var t=e==="rtl"?-1:1;function n(i){return i*t}var r={apply:n};return r}function sl(){var e=[];function t(i,s,o,a){return a===void 0&&(a={passive:!0}),i.addEventListener(s,o,a),e.push(function(){return i.removeEventListener(s,o,a)}),r}function n(){return e=e.filter(function(i){return i()}),r}var r={add:t,removeAll:n};return r}function Bn(e){var t=e;function n(){return t}function r(f){return t=u(f),c}function i(f){return t+=u(f),c}function s(f){return t-=u(f),c}function o(f){return t*=f,c}function a(f){return t/=f,c}function l(){return t!==0&&a(t),c}function u(f){return lh(f)?f:f.get()}var c={add:i,divide:a,get:n,multiply:o,normalize:l,set:r,subtract:s};return c}function eO(e,t,n,r,i,s,o,a,l,u,c,f,d,m,y,g){var w=e.cross,p=["INPUT","SELECT","TEXTAREA"],h={passive:!1},v=Bn(0),b=sl(),E=sl(),C=d.measure(20),k={mouse:300,touch:400},T={mouse:500,touch:600},j=y?5:16,L=1,U=0,te=0,Y=!1,Q=!1,ae=!1,Z=!1;function K(){var M=n;b.add(M,"dragstart",function(J){return J.preventDefault()},h).add(M,"touchmove",function(){},h).add(M,"touchend",function(){}).add(M,"touchstart",ne).add(M,"mousedown",ne).add(M,"touchcancel",O).add(M,"contextmenu",O).add(M,"click",$,!0)}function _(){var M=Z?document:n;E.add(M,"touchmove",se,h).add(M,"touchend",O).add(M,"mousemove",se,h).add(M,"mouseup",O)}function I(){b.removeAll(),E.removeAll()}function V(M){var J=M.nodeName||"";return p.indexOf(J)>-1}function q(){var M=y?T:k,J=Z?"mouse":"touch";return M[J]}function ee(M,J){var ge=c.clone().add(uh(M)*-1),he=ge.get()===c.min||ge.get()===c.max,Ne=u.byDistance(M,!y).distance;return y||Ee(M)=2,ge=Z||!J;Y=!0,i.pointerDown(M),v.set(r),r.set(s),l.useBaseMass().useSpeed(80),_(),U=i.readPoint(M),te=i.readPoint(M,w),f.emit("pointerDown"),ge&&(ae=!1)}}function se(M){if(!Q&&!Z){if(!M.cancelable)return O(M);var J=i.readPoint(M),ge=i.readPoint(M,w),he=ls(J,U),Ne=ls(ge,te);if(Q=he>Ne,!Q&&!ae)return O(M)}var Zt=i.pointerMove(M);!ae&&Zt&&(ae=!0),o.start(),r.add(t.apply(Zt)),M.preventDefault()}function O(M){var J=u.byDistance(0,!1),ge=J.index!==c.get(),he=i.pointerUp(M)*q(),Ne=ee(t.apply(he),ge),Zt=YM(he,Ne),bn=ls(r.get(),v.get())>=.5,er=ge&&Zt>.75,Rr=Ee(he)t;return r=f,m&&(n=f),d}function u(f){if(!n||!r)return 0;var d=o(r)-o(n),m=s(f)-s(n),y=s(f)-s(r)>t,g=d/m,w=m&&!y&&Ee(g)>.1;return w?g:0}var c={isTouchEvent:i,pointerDown:a,pointerMove:l,pointerUp:u,readPoint:o};return c}function nO(e){function t(r){return e*(r/100)}var n={measure:t};return n}function rO(e,t,n){var r=GM(2),i=Bn(0),s=Bn(0),o=Bn(0),a=0,l=t,u=n;function c(){i.add(s),e.add(i),s.multiply(0)}function f(b){b.divide(u),s.add(b)}function d(b){o.set(b).subtract(e);var E=qM(o.get(),0,100,0,l);return a=uh(o.get()),o.normalize().multiply(E).subtract(i),f(o),v}function m(b){var E=b.get()-e.get(),C=!r(E);return C&&e.set(b),C}function y(){return a}function g(){return p(t)}function w(){return h(n)}function p(b){return l=b,v}function h(b){return u=b,v}var v={direction:y,seek:d,settle:m,update:c,useBaseMass:w,useBaseSpeed:g,useMass:h,useSpeed:p};return v}function iO(e,t,n,r,i){var s=i.measure(10),o=i.measure(50),a=.85,l=!1;function u(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(m){if(u()){var y=e.reachedMin(t.get())?"min":"max",g=Ee(e[y]-t.get()),w=n.get()-t.get(),p=Math.min(g/o,a);n.subtract(w*p),!m&&Ee(w)0?k.concat([T]):k},[])}function y(E,C){var k=C==="start",T=k?-r:r,j=o.findSlideBounds([T]);return E.map(function(L){var U=k?0:-r,te=k?r:0,Y=j.filter(function(I){return I.index===L})[0],Q=Y[k?"end":"start"],ae=Bn(-1),Z=Bn(-1),K=u2(e,t,l[L]),_=function(){return ae.set(a.get()>Q?U:te)};return{index:L,location:Z,translate:K,target:_}})}function g(){var E=s[0]-1,C=m(c,E);return y(C,"end")}function w(){var E=n-s[0]-1,C=m(u,E);return y(C,"start")}function p(){return f.every(function(E){var C=E.index,k=u.filter(function(T){return T!==C});return d(k,n)<=.1})}function h(){f.forEach(function(E){var C=E.target,k=E.translate,T=E.location,j=C();j.get()!==T.get()&&(j.get()===0?k.clear():k.to(j),T.set(j))})}function v(){f.forEach(function(E){return E.translate.clear()})}var b={canLoop:p,clear:v,loop:h,loopPoints:f};return b}function pO(e,t,n,r,i,s,o){var a=i.removeOffset,l=i.constrain,u=.5,c=s?[0,t,-t]:[0],f=m(c,o);function d(w){var p=w||0;return n.map(function(h){var v=Ti(u,h-u);return v.constrain(h*p)})}function m(w,p){var h=w||c,v=d(p);return h.reduce(function(b,E){var C=r.map(function(k,T){return{start:k-n[T]+v[T]+E,end:k+e-v[T]+E,index:T}});return b.concat(C)},[])}function y(w,p){var h=s?a(w):l(w),v=p||f;return v.reduce(function(b,E){var C=E.index,k=E.start,T=E.end,j=b.indexOf(C)!==-1,L=kh;return!j&&L?b.concat([C]):b},[])}var g={check:y,findSlideBounds:m};return g}function hO(e,t,n,r,i){var s=e.measureSize,o=e.startEdge,a=e.endEdge,l=n[0]&&i,u=m(),c=y(),f=n.map(s),d=g();function m(){if(!l)return 0;var p=n[0];return Ee(t[o]-p[o])}function y(){if(!l)return 0;var p=window.getComputedStyle(un(r));return parseFloat(p.getPropertyValue("margin-".concat(a)))}function g(){return n.map(function(p,h,v){var b=!h,E=h===nu(v);return b?f[h]+u:E?f[h]+c:v[h+1][o]-p[o]}).map(Ee)}var w={slideSizes:f,slideSizesWithGaps:d};return w}function mO(e,t,n){var r=lh(n);function i(l,u){return eo(l).filter(function(c){return c%u===0}).map(function(c){return l.slice(c,c+u)})}function s(l){return eo(l).reduce(function(u,c){var f=t.slice(un(u),c+1),d=f.reduce(function(m,y){return m+y},0);return!c||d>e?u.concat(c):u},[]).map(function(u,c,f){return l.slice(u,f[c+1])})}function o(l){return r?i(l,n):s(l)}var a={groupSlides:o};return a}function gO(e,t,n,r,i){var s=r.align,o=r.axis,a=r.direction,l=r.startIndex,u=r.inViewThreshold,c=r.loop,f=r.speed,d=r.dragFree,m=r.slidesToScroll,y=r.skipSnaps,g=r.containScroll,w=t.getBoundingClientRect(),p=n.map(function(Ne){return Ne.getBoundingClientRect()}),h=JM(a),v=ZM(o,a),b=v.measureSize(w),E=nO(b),C=XM(s,b),k=!c&&g!=="",T=c||g!=="",j=hO(v,w,p,n,T),L=j.slideSizes,U=j.slideSizesWithGaps,te=mO(b,U,m),Y=uO(v,C,w,p,U,te,k),Q=Y.snaps,ae=Y.snapsAligned,Z=-un(Q)+un(U),K=sO(b,Z,ae,g).snapsContained,_=k?K:ae,I=oO(Z,_,c).limit,V=l2(nu(_),l,c),q=V.clone(),ee=eo(n),ne=function(){c||he.scrollBounds.constrain(he.dragHandler.pointerDown()),he.scrollBody.seek(D).update();var Ne=he.scrollBody.settle(D);Ne&&!he.dragHandler.pointerDown()&&(he.animation.stop(),i.emit("settle")),Ne||i.emit("scroll"),c&&(he.scrollLooper.loop(he.scrollBody.direction()),he.slideLooper.loop()),he.translate.to($),he.animation.proceed()},se=QM(ne),O=_[V.get()],$=Bn(O),D=Bn(O),W=rO($,f,1),ie=cO(c,_,Z,I,D),M=fO(se,V,q,ie,D,i),J=pO(b,Z,L,Q,I,c,u),ge=eO(v,h,e,D,tO(v),$,se,M,W,ie,V,i,E,c,d,y),he={containerRect:w,slideRects:p,animation:se,axis:v,direction:h,dragHandler:ge,eventStore:sl(),percentOfView:E,index:V,indexPrevious:q,limit:I,location:$,options:r,scrollBody:W,scrollBounds:iO(I,$,D,W,E),scrollLooper:aO(Z,I,$,[$,D]),scrollProgress:lO(I),scrollSnaps:_,scrollTarget:ie,scrollTo:M,slideLooper:dO(v,h,b,Z,U,_,J,$,n),slidesToScroll:te,slidesInView:J,slideIndexes:ee,target:D,translate:u2(v,h,t)};return he}function yO(){var e={};function t(o){return e[o]||[]}function n(o){return t(o).forEach(function(a){return a(o)}),s}function r(o,a){return e[o]=t(o).concat([a]),s}function i(o,a){return e[o]=t(o).filter(function(l){return l!==a}),s}var s={emit:n,off:i,on:r};return s}var vO={align:"center",axis:"x",container:null,slides:null,containScroll:"",direction:"ltr",slidesToScroll:1,breakpoints:{},dragFree:!1,draggable:!0,inViewThreshold:0,loop:!1,skipSnaps:!1,speed:10,startIndex:0,active:!0};function ch(){function e(i,s){return o2(i,s||{})}function t(i,s){var o=JSON.stringify(yr(i.breakpoints||{})),a=JSON.stringify(yr(s.breakpoints||{}));return o!==a?!1:a2(i,s)}function n(i){var s=i.breakpoints||{},o=yr(s).filter(function(a){return window.matchMedia(a).matches}).map(function(a){return s[a]}).reduce(function(a,l){return e(a,l)},{});return e(i,o)}var r={merge:e,areEqual:t,atMedia:n};return r}function wO(){var e=ch(),t=e.atMedia,n=e.areEqual,r=[],i=[];function s(){return i.some(function(c){return c()})}function o(c){var f=t(c.options);return function(){return!n(f,t(c.options))}}function a(c,f){return i=c.map(o),r=c.filter(function(d){return t(d.options).active}),r.forEach(function(d){return d.init(f)}),c.reduce(function(d,m){var y;return Object.assign(d,(y={},y[m.name]=m,y))},{})}function l(){r=r.filter(function(c){return c.destroy()})}var u={init:a,destroy:l,haveChanged:s};return u}function vr(e,t,n){var r=sl(),i=ch(),s=wO(),o=yO(),a=o.on,l=o.off,u=E,c=!1,f,d=i.merge(vO,vr.globalOptions),m=i.merge(d),y=[],g,w=0,p,h;function v(){var D=m.container,W=m.slides,ie=fv(D)?e.querySelector(D):D;p=ie||e.children[0];var M=fv(W)?p.querySelectorAll(W):W;h=[].slice.call(M||p.children)}function b(D,W){if(!c){if(d=i.merge(d,D),m=i.atMedia(d),v(),f=gO(e,p,h,m,o),w=f.axis.measureSize(e.getBoundingClientRect()),!m.active)return C();if(f.translate.to(f.location),y=W||y,g=s.init(y,$),m.loop){if(!f.slideLooper.canLoop()){C(),b({loop:!1},W),d=i.merge(d,{loop:!0});return}f.slideLooper.loop()}m.draggable&&p.offsetParent&&h.length&&f.dragHandler.addActivationEvents()}}function E(D,W){var ie=_();C(),b(i.merge({startIndex:ie},D),W),o.emit("reInit")}function C(){f.dragHandler.removeAllEvents(),f.animation.stop(),f.eventStore.removeAll(),f.translate.clear(),f.slideLooper.clear(),s.destroy()}function k(){c||(c=!0,r.removeAll(),C(),o.emit("destroy"))}function T(){var D=i.atMedia(d),W=!i.areEqual(D,m),ie=f.axis.measureSize(e.getBoundingClientRect()),M=w!==ie,J=s.haveChanged();(M||W||J)&&E(),o.emit("resize")}function j(D){var W=f[D?"target":"location"].get(),ie=m.loop?"removeOffset":"constrain";return f.slidesInView.check(f.limit[ie](W))}function L(D){var W=j(D);return f.slideIndexes.filter(function(ie){return W.indexOf(ie)===-1})}function U(D,W,ie){!m.active||c||(f.scrollBody.useBaseMass().useSpeed(W?100:m.speed),f.scrollTo.index(D,ie||0))}function te(D){var W=f.index.clone().add(1);U(W.get(),D===!0,-1)}function Y(D){var W=f.index.clone().add(-1);U(W.get(),D===!0,1)}function Q(){var D=f.index.clone().add(1);return D.get()!==_()}function ae(){var D=f.index.clone().add(-1);return D.get()!==_()}function Z(){return f.scrollSnaps.map(f.scrollProgress.get)}function K(){return f.scrollProgress.get(f.location.get())}function _(){return f.index.get()}function I(){return f.indexPrevious.get()}function V(){return f.dragHandler.clickAllowed()}function q(){return g}function ee(){return f}function ne(){return e}function se(){return p}function O(){return h}var $={canScrollNext:Q,canScrollPrev:ae,clickAllowed:V,containerNode:se,internalEngine:ee,destroy:k,off:l,on:a,plugins:q,previousScrollSnap:I,reInit:u,rootNode:ne,scrollNext:te,scrollPrev:Y,scrollProgress:K,scrollSnapList:Z,scrollTo:U,selectedScrollSnap:_,slideNodes:O,slidesInView:j,slidesNotInView:L};return b(t,n),r.add(window,"resize",T),setTimeout(function(){return o.emit("init")},0),$}vr.globalOptions=void 0;vr.optionsHandler=ch;function SO(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function pv(e){return e.concat().sort(function(t,n){return t.name>n.name?1:-1}).map(function(t){return t.options})}function xO(e,t){if(e.length!==t.length)return!1;var n=vr.optionsHandler().areEqual,r=pv(e),i=pv(t);return r.every(function(s,o){var a=i[o];return n(s,a)})}function fh(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=x.useRef(vr.optionsHandler()),r=x.useRef(e),i=x.useRef(t),s=x.useState(),o=s[0],a=s[1],l=x.useState(),u=l[0],c=l[1],f=x.useCallback(function(){o&&o.reInit(r.current,i.current)},[o]);return x.useEffect(function(){if(SO()&&u){vr.globalOptions=fh.globalOptions;var d=vr(u,r.current,i.current);return a(d),function(){return d.destroy()}}else a(void 0)},[u,a]),x.useEffect(function(){n.current.areEqual(r.current,e)||(r.current=e,f())},[e,f]),x.useEffect(function(){xO(i.current,t)||(i.current=t,f())},[t,f]),[c,o]}fh.globalOptions=void 0;const[bO,EO]=Qd("Carousel component was not found in tree");var dh={root:"m_17884d0f",viewport:"m_a2dae653",container:"m_fcd81474",controls:"m_39bc3463",control:"m_64f58e10",indicators:"m_71ea3ab1",indicator:"m_eae68602",slide:"m_d98df724"};const CO={},ph=Me((e,t)=>{const{classNames:n,className:r,style:i,styles:s,vars:o,mod:a,...l}=le("CarouselSlide",CO,e),u=EO();return S.jsx(ze,{ref:t,mod:[{orientation:u.orientation},a],...u.getStyles("slide",{className:r,style:i,classNames:n,styles:s}),...l})});ph.classes=dh;ph.displayName="@mantine/carousel/CarouselSlide";function kO({slideGap:e,slideSize:t,selector:n}){const r=vn(),i=ao({"--carousel-slide-gap":$n(Ha(e)),"--carousel-slide-size":A(Ha(t))}),s=ot(r.breakpoints).reduce((l,u)=>(l[u]||(l[u]={}),typeof e=="object"&&e[u]!==void 0&&(l[u]["--carousel-slide-gap"]=$n(e[u])),typeof t=="object"&&t[u]!==void 0&&(l[u]["--carousel-slide-size"]=$n(t[u])),l),{}),a=EC(ot(s),r.breakpoints).filter(l=>ot(s[l.value]).length>0).map(l=>({query:`(min-width: ${r.breakpoints[l.value]})`,styles:s[l.value]}));return S.jsx(rp,{styles:i,media:a,selector:n})}function hv(e){return typeof e=="object"&&e!==null?ot(e):[]}function TO(e){return e.sort((t,n)=>Us(t)-Us(n))}function PO({slideGap:e,slideSize:t}){const n=Array.from(new Set([...hv(e),...hv(t)]));return TO(n)}function _O({slideGap:e,slideSize:t,selector:n}){const r=ao({"--carousel-slide-gap":$n(Ha(e)),"--carousel-slide-size":A(Ha(t))}),i=PO({slideGap:e,slideSize:t}).reduce((o,a)=>(o[a]||(o[a]={}),typeof e=="object"&&e[a]!==void 0&&(o[a]["--carousel-slide-gap"]=$n(e[a])),typeof t=="object"&&t[a]!==void 0&&(o[a]["--carousel-slide-size"]=$n(t[a])),o),{}),s=Object.keys(i).map(o=>({query:`carousel (min-width: ${o})`,styles:i[o]}));return S.jsx(rp,{styles:r,container:s,selector:n})}function mv({dir:e,orientation:t,direction:n}){return n==="previous"?t==="horizontal"?90*(e==="ltr"?1:-1):-180:t==="horizontal"?90*(e==="ltr"?-1:1):0}const AO={controlSize:26,controlsOffset:"sm",slideSize:"100%",slideGap:0,orientation:"horizontal",align:"center",slidesToScroll:1,includeGapInSize:!0,draggable:!0,dragFree:!1,loop:!1,speed:10,initialSlide:0,inViewThreshold:0,withControls:!0,withIndicators:!1,skipSnaps:!1,containScroll:"",withKeyboardEvents:!0,type:"media"},NO=(e,{height:t,controlSize:n,controlsOffset:r})=>({root:{"--carousel-height":A(t),"--carousel-control-size":A(n),"--carousel-controls-offset":$n(r)}}),to=Me((e,t)=>{const n=le("Carousel",AO,e),{classNames:r,className:i,style:s,styles:o,unstyled:a,vars:l,children:u,getEmblaApi:c,onNextSlide:f,onPreviousSlide:d,onSlideChange:m,nextControlProps:y,previousControlProps:g,controlSize:w,controlsOffset:p,slideSize:h,slideGap:v,orientation:b,height:E,align:C,slidesToScroll:k,includeGapInSize:T,draggable:j,dragFree:L,loop:U,speed:te,initialSlide:Y,inViewThreshold:Q,withControls:ae,withIndicators:Z,plugins:K,nextControlIcon:_,previousControlIcon:I,skipSnaps:V,containScroll:q,withKeyboardEvents:ee,mod:ne,type:se,...O}=n,$=yt({name:"Carousel",classes:dh,props:n,className:i,style:s,classNames:r,styles:o,unstyled:a,vars:l,varsResolver:NO}),D=Z1(),{dir:W}=aT(),[ie,M]=fh({axis:b==="horizontal"?"x":"y",direction:b==="horizontal"?W:void 0,startIndex:Y,loop:U,align:C,slidesToScroll:k,draggable:j,dragFree:L,speed:te,inViewThreshold:Q,skipSnaps:V,containScroll:q},K),[J,ge]=x.useState(0),[he,Ne]=x.useState(0),Zt=x.useCallback(Oe=>M&&M.scrollTo(Oe),[M]),bn=x.useCallback(()=>{if(!M)return;const Oe=M.selectedScrollSnap();ge(Oe),Oe!==J&&(m==null||m(Oe))},[M,ge,m,J]),er=x.useCallback(()=>{M==null||M.scrollPrev(),d==null||d()},[M]),Rr=x.useCallback(()=>{M==null||M.scrollNext(),f==null||f()},[M]),Fi=x.useCallback(Oe=>{ee&&(Oe.key==="ArrowRight"&&(Oe.preventDefault(),Rr()),Oe.key==="ArrowLeft"&&(Oe.preventDefault(),er()))},[M]);x.useEffect(()=>{if(M)return c==null||c(M),bn(),Ne(M.scrollSnapList().length),M.on("select",bn),()=>{M.off("select",bn)}},[M,k,bn]),x.useEffect(()=>{M&&(M.reInit(),Ne(M.scrollSnapList().length),ge(Oe=>CC(Oe,0,x.Children.toArray(u).length-1)))},[x.Children.toArray(u).length,k]);const Vi=(M==null?void 0:M.canScrollPrev())||!1,hh=(M==null?void 0:M.canScrollNext())||!1,c2=Array(he).fill(0).map((Oe,Jt)=>x.createElement(di,{...$("indicator"),key:Jt,"data-active":Jt===J||void 0,"aria-hidden":!0,tabIndex:-1,onClick:()=>Zt(Jt),"data-orientation":b}));return S.jsxs(bO,{value:{getStyles:$,orientation:b},children:[se==="container"?S.jsx(_O,{...n,selector:`.${D}`}):S.jsx(kO,{...n,selector:`.${D}`}),S.jsxs(ze,{ref:t,...$("root",{className:"responsiveClassName"}),...O,mod:[{orientation:b,"include-gap-in-size":T},ne],onKeyDownCapture:Fi,children:[S.jsx("div",{...$("viewport"),ref:ie,"data-type":se,children:S.jsx("div",{...$("container",{className:D}),"data-orientation":b,children:u})}),Z&&S.jsx("div",{...$("indicators"),"data-orientation":b,children:c2}),ae&&S.jsxs("div",{...$("controls"),"data-orientation":b,children:[S.jsx(di,{...g,...$("control",{className:g==null?void 0:g.className,style:g==null?void 0:g.style}),onClick:Oe=>{var Jt;er(),(Jt=g==null?void 0:g.onClick)==null||Jt.call(g,Oe)},"data-inactive":!Vi||void 0,tabIndex:Vi?0:-1,children:typeof I<"u"?I:S.jsx(af,{style:{transform:`rotate(${mv({dir:W,orientation:b,direction:"previous"})}deg)`}})}),S.jsx(di,{...$("control",{className:y==null?void 0:y.className,style:y==null?void 0:y.style}),...y,onClick:Oe=>{var Jt;Rr(),(Jt=y==null?void 0:y.onClick)==null||Jt.call(y,Oe)},"data-inactive":!hh||void 0,tabIndex:hh?0:-1,children:typeof _<"u"?_:S.jsx(af,{style:{transform:`rotate(${mv({dir:W,orientation:b,direction:"next"})}deg)`}})})]})]})]})});to.classes=dh;to.displayName="@mantine/carousel/Carousel";to.Slide=ph;const RO={offscreen:{x:700},onscreen:{x:50,transition:{type:"spring",bounce:.25,duration:3.2}}},jO=()=>{const e=[cM,fM,dM,pM,hM,mM,gM,yM,vM,wM,SM,xM,bM,EM,CM,kM,TM,PM,_M,AM,NM,RM,jM,MM,OM,LM,IM,DM,FM,VM,$M,BM,zM,UM,WM,HM];return S.jsxs("div",{className:"about_us__wrapper",children:[S.jsxs("div",{className:"about_us__content",children:[S.jsxs("div",{className:"about_us__text",children:[S.jsx("div",{className:"about_us__header",children:"About Us"}),S.jsx("div",{className:"about_us__body",children:"WildHacks is Northwestern's overnight hackathon taking place in-person April 4-6, 2025. As Northwestern's largest hackathon, WildHacks is an opportunity for students to learn programming skills and develop a final project in a collaborative and inclusive environment. Through workshops, mentorship, and prizes, WildHacks aims to be an inclusive event that welcomes students of all skill levels, majors, and backgrounds."})]}),S.jsx(nn.div,{initial:"offscreen",whileInView:"onscreen",viewport:{amount:.8},className:"balloon",children:S.jsx(nn.div,{variants:RO,children:S.jsx("img",{src:xw,alt:"hot air balloon"})})})]}),S.jsx(to,{slideSize:{base:"90%",sm:"80%",md:"55%",lg:"45%"},height:"100%",slideGap:"lg",controlSize:18,loop:!0,dragFree:!0,withControls:!0,withIndicators:!0,children:e.sort((t,n)=>Math.random()-.5).map(t=>S.jsx(to.Slide,{children:S.jsx("div",{style:{padding:"1rem"},children:S.jsx("img",{src:t,width:"100%",style:{borderRadius:"25px",border:"8px solid rgb(29, 74, 22)",boxShadow:"0px 10px 0px 0px rgba(29, 74, 22, 0.15)"}})})}))})]})},MO=()=>S.jsxs(Zj,{children:[S.jsx(Qj,{}),S.jsx("div",{id:"landing",children:S.jsx(b5,{})}),S.jsx(Sa,{color:Fr.dark_green,waviness:0}),S.jsx("div",{id:"about",children:S.jsx(jO,{})}),S.jsx(Sa,{color:Fr.yellow_2,otherColor:Fr.dark_green,waviness:2}),S.jsx("div",{id:"sponsors",children:S.jsx(uM,{})}),S.jsx("div",{id:"faq",children:S.jsx(rM,{})}),S.jsx(Sa,{color:Fr.rocks,otherColor:Fr.very_dark_green,waviness:3}),S.jsx(Kj,{})]});_1(document.getElementById("root")).render(S.jsx(x.StrictMode,{children:S.jsx(Q1,{children:S.jsx(MO,{})})})); diff --git a/index.html b/index.html index 040e676..560144e 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,12 @@ - + Wildhacks 2025 - - + +