PageSourceSearch

https://catalogmotion.ai/assets/index-4nrFMFND.js

js catalogmotion.ai collected 2026-10-05 15:29:11 UTC 553,058 bytes, 276 lines download raw bytes

vendor: 6,811 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Blog-DYa-ZQ4R.js","assets/arrow-left-Bmo3CYcc.js","assets/WhyProductVideosConvertData-CdYz4PNn.js","assets/BlogPostLayout-DjL26qnF.js","assets/WhyProductVideosConvert-CEY5AFv-.js","assets/ScalingVideoProduction-DYwZoxDZ.js","assets/LoopingVideosForAds-CmQkQcV3.js","assets/AIVideoGenerationExplained-Cwy5X3tU.js","assets/ProductPageOptimization-Bo70FD3v.js","assets/FutureOfEcommerceContent-BH_HmiUs.js","assets/ProductVideosGuide-ubhHafzU.js","assets/BlogCTA-D_ozfZEd.js","assets/CreateVideosFromImages-fvuYCrdA.js","assets/BestVideoLength-B_PUg3F0.js","assets/VideosInAds-By8jy_C0.js","assets/WhereToPlaceVideos-mZ_g1yYJ.js","assets/ProductVideoExamples-C8l9fy5C.js","assets/VideoVsImages-SjgxKD23.js","assets/ScaleVideoProduction-B3VEB3Qd.js","assets/AIProductVideoGeneration-BscwyT2p.js","assets/ProductVideosSEO-BLhQtbfp.js","assets/BulkLoopingVideos-BNOT9KK-.js"])))=>i.map(i=>d[i]);
2var tE=Object.defineProperty;var Qp=e=>{throw TypeError(e)};var nE=(e,t,n)=>t in e?tE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var mn=(e,t,n)=>nE(e,typeof t!="symbol"?t+"":t,n),Uc=(e,t,n)=>t.has(e)||Qp("Cannot "+n);var M=(e,t,n)=>(Uc(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Qp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(Uc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ze=(e,t,n)=>(Uc(e,t,"access private method"),n);var ta=(e,t,n,r)=>({set _(o){G(e,t,o,n)},get _(){return M(e,t,r)}});function rE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Is(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uv={exports:{}},Jl={},Wv={exports:{}},q={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Vs=Symbol.for("react.element"),oE=Symbol.for("react.portal"),iE=Symbol.for("react.fragment"),sE=Symbol.for("react.strict_mode"),aE=Symbol.for("react.profiler"),lE=Symbol.for("react.provider"),cE=Symbol.for("react.context"),uE=Symbol.for("react.forward_ref"),dE=Symbol.for("react.suspense"),fE=Symbol.for("react.memo"),hE=Symbol.for("react.lazy"),qp=Symbol.iterator;function pE(e){return e===null||typeof e!="object"?null:(e=qp&&e[qp]||e["@@iterator"],typeof e=="function"?e:null)}var Hv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Kv=Object.assign,Gv={};function di(e,t,n){this.props=e,this.context=t,this.refs=Gv,this.updater=n||Hv}di.prototype.isReactComponent={};di.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};di.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Yv(){}Yv.prototype=di.prototype;function Bf(e,t,n){this.props=e,this.context=t,this.refs=Gv,this.updater=n||Hv}var Uf=Bf.prototype=new Yv;Uf.constructor=Bf;Kv(Uf,di.prototype);Uf.isPureReactComponent=!0;var Xp=Array.isArray,Qv=Object.prototype.hasOwnProperty,Wf={current:null},qv={key:!0,ref:!0,__self:!0,__source:!0};function Xv(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Qv.call(t,r)&&!qv.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Vs,type:e,key:i,ref:s,props:o,_owner:Wf.current}}function mE(e,t){return{$$typeof:Vs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Hf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vs}function gE(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Zp=/\/+/g;function Wc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gE(""+e.key):t.toString(36)}function _a(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Vs:case oE:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Wc(s,0):r,Xp(o)?(n="",e!=null&&(n=e.replace(Zp,"$&/")+"/"),_a(o,t,n,"",function(c){return c})):o!=null&&(Hf(o)&&(o=mE(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Zp,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Xp(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Wc(i,a);s+=_a(i,t,n,l,o)}else if(l=pE(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Wc(i,a++),s+=_a(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function na(e,t,n){if(e==null)return e;var r=[],o=0;return _a(e,r,"","",function(i){return t.call(n,i,o++)}),r}function yE(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Je={current:null},La={transition:null},vE={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:La,ReactCurrentOwner:Wf};function Zv(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,300 bytes, lines 10-26
10q.Children={map:na,forEach:function(e,t,n){na(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return na(e,function(){t++}),t},toArray:function(e){return na(e,function(t){return t})||[]},only:function(e){if(!Hf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=di;q.Fragment=iE;q.Profiler=aE;q.PureComponent=Bf;q.StrictMode=sE;q.Suspense=dE;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vE;q.act=Zv;q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Kv({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Wf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Qv.call(t,l)&&!qv.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Vs,type:e.type,key:o,ref:i,props:r,_owner:s}};q.createContext=function(e){return e={$$typeof:cE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lE,_context:e},e.Consumer=e};q.createElement=Xv;q.createFactory=function(e){var t=Xv.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:uE,render:e}};q.isValidElement=Hf;q.lazy=function(e){return{$$typeof:hE,_payload:{_status:-1,_result:e},_init:yE}};q.memo=function(e,t){return{$$typeof:fE,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=La.transition;La.transition={};try{e()}finally{La.transition=t}};q.unstable_act=Zv;q.useCallback=function(e,t){return Je.current.useCallback(e,t)};q.useContext=function(e){return Je.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Je.current.useDeferredValue(e)};q.useEffect=function(e,t){return Je.current.useEffect(e,t)};q.useId=function(){return Je.current.useId()};q.useImperativeHandle=function(e,t,n){return Je.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Je.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Je.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Je.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Je.current.useReducer(e,t,n)};q.useRef=function(e){return Je.current.useRef(e)};q.useState=function(e){return Je.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Je.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Je.current.useTransition()};q.version="18.3.1";Wv.exports=q;var m=Wv.exports;const R=Is(m),Kf=rE({__proto__:null,default:R},[m]);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var xE=m,wE=Symbol.for("react.element"),bE=Symbol.for("react.fragment"),SE=Object.prototype.hasOwnProperty,CE=xE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,EE={key:!0,ref:!0,__self:!0,__source:!0};function Jv(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)SE.call(t,r)&&!EE.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:wE,type:e,key:i,ref:s,props:o,_owner:CE.current}}Jl.Fragment=bE;Jl.jsx=Jv;Jl.jsxs=Jv;Uv.exports=Jl;var h=Uv.exports,e0={exports:{}},pt={},t0={exports:{}},n0={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(A,j){var L=A.length;A.push(j);e:for(;0<L;){var B=L-1>>>1,z=A[B];if(0<o(z,j))A[B]=j,A[L]=z,L=B;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var j=A[0],L=A.pop();if(L!==j){A[0]=L;e:for(var B=0,z=A.length,Q=z>>>1;B<Q;){var X=2*(B+1)-1,Ee=A[X],$e=X+1,ne=A[$e];
vendor: 10,300 bytes, lines 26-35
26if(0>o(Ee,L))$e<z&&0>o(ne,Ee)?(A[B]=ne,A[$e]=L,B=$e):(A[B]=Ee,A[X]=L,B=X);else if($e<z&&0>o(ne,L))A[B]=ne,A[$e]=L,B=$e;else break e}}return j}function o(A,j){var L=A.sortIndex-j.sortIndex;return L!==0?L:A.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(A){for(var j=n(c);j!==null;){if(j.callback===null)r(c);else if(j.startTime<=A)r(c),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(c)}}function S(A){if(g=!1,x(A),!w)if(n(l)!==null)w=!0,$(C);else{var j=n(c);j!==null&&H(S,j.startTime-A)}}function C(A,j){w=!1,g&&(g=!1,v(P),P=-1),p=!0;var L=f;try{for(x(j),d=n(l);d!==null&&(!(d.expirationTime>j)||A&&!I());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var z=B(d.expirationTime<=j);j=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),x(j)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var X=n(c);X!==null&&H(S,X.startTime-j),Q=!1}return Q}finally{d=null,f=L,p=!1}}var E=!1,T=null,P=-1,N=5,k=-1;function I(){return!(e.unstable_now()-k<N)}function _(){if(T!==null){var A=e.unstable_now();k=A;var j=!0;try{j=T(!0,A)}finally{j?U():(E=!1,T=null)}}else E=!1}var U;if(typeof y=="function")U=function(){y(_)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,W=O.port2;O.port1.onmessage=_,U=function(){W.postMessage(null)}}else U=function(){b(_,0)};function $(A){T=A,E||(E=!0,U())}function H(A,j){P=b(function(){A(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,$(C))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(A){switch(f){case 1:case 2:case 3:var j=3;break;default:j=f}var L=f;f=j;try{return A()}finally{f=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,j){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var L=f;f=A;try{return j()}finally{f=L}},e.unstable_scheduleCallback=function(A,j,L){var B=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?B+L:B):L=B,A){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=L+z,A={id:u++,callback:j,priorityLevel:A,startTime:L,expirationTime:z,sortIndex:-1},L>B?(A.sortIndex=L,t(c,A),n(l)===null&&A===n(c)&&(g?(v(P),P=-1):g=!0,H(S,L-B))):(A.sortIndex=z,t(l,A),w||p||(w=!0,$(C))),A},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(A){var j=f;return function(){var L=f;f=j;try{return A.apply(this,arguments)}finally{f=L}}}})(n0);t0.exports=n0;var TE=t0.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var PE=m,ht=TE;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r0=new Set,ss={};function to(e,t){Jo(e,t),Jo(e+"Capture",t)}function Jo(e,t){for(ss[e]=t,e=0;e<t.length;e++)r0.add(t[e])}var En=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nd=Object.prototype.hasOwnProperty,kE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Jp={},em={};function AE(e){return nd.call(em,e)?!0:nd.call(Jp,e)?!1:kE.test(e)?em[e]=!0:(Jp[e]=!0,!1)}function RE(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function NE(e,t,n,r){if(t===null||typeof t>"u"||RE(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function et(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fe[e]=new et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new et(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gf=/[\-:]([a-z])/g;function Yf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gf,Yf);Fe[t]=new et(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Gf,Yf);Fe[t]=new et(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Gf,Yf);Fe[t]=new et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new et(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new et(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qf(e,t,n,r){var o=Fe.hasOwnProperty(t)?Fe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(NE(t,n,o,r)&&(n=null),r||o===null?AE(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nn=PE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ra=Symbol.for("react.element"),xo=Symbol.for("react.portal"),wo=Symbol.for("react.fragment"),qf=Symbol.for("react.strict_mode"),rd=Symbol.for("react.profiler"),o0=Symbol.for("react.provider"),i0=Symbol.for("react.context"),Xf=Symbol.for("react.forward_ref"),od=Symbol.for("react.suspense"),id=Symbol.for("react.suspense_list"),Zf=Symbol.for("react.memo"),Wn=Symbol.for("react.lazy"),s0=Symbol.for("react.offscreen"),tm=Symbol.iterator;function Ei(e){return e===null||typeof e!="object"?null:(e=tm&&e[tm]||e["@@iterator"],typeof e=="function"?e:null)}var we=Object.assign,Hc;function $i(e){if(Hc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hc=t&&t[1]||""}return`
35`+Hc+e}var Kc=!1;function Gc(e,t){if(!e||Kc)return"";Kc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 16,752 bytes, lines 35-38
35catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
36`),i=r.stack.split(`
37`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
38`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Kc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$i(e):""}function jE(e){switch(e.tag){case 5:return $i(e.type);case 16:return $i("Lazy");case 13:return $i("Suspense");case 19:return $i("SuspenseList");case 0:case 2:case 15:return e=Gc(e.type,!1),e;case 11:return e=Gc(e.type.render,!1),e;case 1:return e=Gc(e.type,!0),e;default:return""}}function sd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wo:return"Fragment";case xo:return"Portal";case rd:return"Profiler";case qf:return"StrictMode";case od:return"Suspense";case id:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case i0:return(e.displayName||"Context")+".Consumer";case o0:return(e._context.displayName||"Context")+".Provider";case Xf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zf:return t=e.displayName||null,t!==null?t:sd(e.type)||"Memo";case Wn:t=e._payload,e=e._init;try{return sd(e(t))}catch{}}return null}function ME(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sd(t);case 8:return t===qf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function a0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function DE(e){var t=a0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function oa(e){e._valueTracker||(e._valueTracker=DE(e))}function l0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=a0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function dl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ad(e,t){var n=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function c0(e,t){t=t.checked,t!=null&&Qf(e,"checked",t,!1)}function ld(e,t){c0(e,t);var n=fr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?cd(e,t.type,n):t.hasOwnProperty("defaultValue")&&cd(e,t.type,fr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rm(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function cd(e,t,n){(t!=="number"||dl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zi=Array.isArray;function Oo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+fr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ud(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return we({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function om(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(zi(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:fr(n)}}function u0(e,t){var n=fr(t.value),r=fr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function im(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function d0(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?d0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ia,f0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ia=ia||document.createElement("div"),ia.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ia.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function as(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},OE=["Webkit","ms","Moz","O"];Object.keys(Hi).forEach(function(e){OE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hi[t]=Hi[e]})});function h0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hi.hasOwnProperty(e)&&Hi[e]?(""+t).trim():t+"px"}function p0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=h0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var _E=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fd(e,t){if(t){if(_E[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function hd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pd=null;function Jf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var md=null,_o=null,Lo=null;function sm(e){if(e=zs(e)){if(typeof md!="function")throw Error(D(280));var t=e.stateNode;t&&(t=oc(t),md(e.stateNode,e.type,t))}}function m0(e){_o?Lo?Lo.push(e):Lo=[e]:_o=e}function g0(){if(_o){var e=_o,t=Lo;if(Lo=_o=null,sm(e),t)for(e=0;e<t.length;e++)sm(t[e])}}function y0(e,t){return e(t)}function v0(){}var Yc=!1;function x0(e,t,n){if(Yc)return e(t,n);Yc=!0;try{return y0(e,t,n)}finally{Yc=!1,(_o!==null||Lo!==null)&&(v0(),g0())}}function ls(e,t){var n=e.stateNode;if(n===null)return null;var r=oc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var gd=!1;if(En)try{var Ti={};Object.defineProperty(Ti,"passive",{get:function(){gd=!0}}),window.addEventListener("test",Ti,Ti),window.removeEventListener("test",Ti,Ti)}catch{gd=!1}function LE(e,t,n,r,o,i,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ki=!1,fl=null,hl=!1,yd=null,IE={onError:function(e){Ki=!0,fl=e}};function VE(e,t,n,r,o,i,s,a,l){Ki=!1,fl=null,LE.apply(IE,arguments)}function FE(e,t,n,r,o,i,s,a,l){if(VE.apply(this,arguments),Ki){if(Ki){var c=fl;Ki=!1,fl=null}else throw Error(D(198));hl||(hl=!0,yd=c)}}function no(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function w0(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function am(e){if(no(e)!==e)throw Error(D(188))}function $E(e){var t=e.alternate;if(!t){if(t=no(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return am(o),e;if(i===r)return am(o),t;i=i.sibling}throw Error(D(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function b0(e){return e=$E(e),e!==null?S0(e):null}function S0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=S0(e);if(t!==null)return t;e=e.sibling}return null}var C0=ht.unstable_scheduleCallback,lm=ht.unstable_cancelCallback,zE=ht.unstable_shouldYield,BE=ht.unstable_requestPaint,Ce=ht.unstable_now,UE=ht.unstable_getCurrentPriorityLevel,eh=ht.unstable_ImmediatePriority,E0=ht.unstable_UserBlockingPriority,pl=ht.unstable_NormalPriority,WE=ht.unstable_LowPriority,T0=ht.unstable_IdlePriority,ec=null,sn=null;function HE(e){if(sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(ec,e,void 0,(e.current.flags&128)===128)}catch{}}var zt=Math.clz32?Math.clz32:YE,KE=Math.log,GE=Math.LN2;function YE(e){return e>>>=0,e===0?32:31-(KE(e)/GE|0)|0}var sa=64,aa=4194304;function Bi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ml(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Bi(a):(i&=s,i!==0&&(r=Bi(i)))}else s=n&~o,s!==0?r=Bi(s):i!==0&&(r=Bi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-zt(t),o=1<<n,r|=e[n],t&=~o;return r}function QE(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qE(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-zt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=QE(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function vd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function P0(){var e=sa;return sa<<=1,!(sa&4194240)&&(sa=64),e}function Qc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Fs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zt(t),e[t]=n}function XE(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-zt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function th(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var re=0;function k0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var A0,nh,R0,N0,j0,xd=!1,la=[],rr=null,or=null,ir=null,cs=new Map,us=new Map,Kn=[],ZE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function cm(e,t){switch(e){case"focusin":case"focusout":rr=null;break;case"dragenter":case"dragleave":or=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":cs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":us.delete(t.pointerId)}}function Pi(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=zs(t),t!==null&&nh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function JE(e,t,n,r,o){switch(t){case"focusin":return rr=Pi(rr,e,t,n,r,o),!0;case"dragenter":return or=Pi(or,e,t,n,r,o),!0;case"mouseover":return ir=Pi(ir,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return cs.set(i,Pi(cs.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,us.set(i,Pi(us.get(i)||null,e,t,n,r,o)),!0}return!1}function M0(e){var t=jr(e.target);if(t!==null){var n=no(t);if(n!==null){if(t=n.tag,t===13){if(t=w0(n),t!==null){e.blockedOn=t,j0(e.priority,function(){R0(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ia(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=wd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);pd=r,n.target.dispatchEvent(r),pd=null}else return t=zs(n),t!==null&&nh(t),e.blockedOn=n,!1;t.shift()}return!0}function um(e,t,n){Ia(e)&&n.delete(t)}function eT(){xd=!1,rr!==null&&Ia(rr)&&(rr=null),or!==null&&Ia(or)&&(or=null),ir!==null&&Ia(ir)&&(ir=null),cs.forEach(um),us.forEac
vendor: 11,826 bytes, line 38
38h(um)}function ki(e,t){e.blockedOn===t&&(e.blockedOn=null,xd||(xd=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,eT)))}function ds(e){function t(o){return ki(o,e)}if(0<la.length){ki(la[0],e);for(var n=1;n<la.length;n++){var r=la[n];r.blockedOn===e&&(r.blockedOn=null)}}for(rr!==null&&ki(rr,e),or!==null&&ki(or,e),ir!==null&&ki(ir,e),cs.forEach(t),us.forEach(t),n=0;n<Kn.length;n++)r=Kn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Kn.length&&(n=Kn[0],n.blockedOn===null);)M0(n),n.blockedOn===null&&Kn.shift()}var Io=Nn.ReactCurrentBatchConfig,gl=!0;function tT(e,t,n,r){var o=re,i=Io.transition;Io.transition=null;try{re=1,rh(e,t,n,r)}finally{re=o,Io.transition=i}}function nT(e,t,n,r){var o=re,i=Io.transition;Io.transition=null;try{re=4,rh(e,t,n,r)}finally{re=o,Io.transition=i}}function rh(e,t,n,r){if(gl){var o=wd(e,t,n,r);if(o===null)iu(e,t,r,yl,n),cm(e,r);else if(JE(o,e,t,n,r))r.stopPropagation();else if(cm(e,r),t&4&&-1<ZE.indexOf(e)){for(;o!==null;){var i=zs(o);if(i!==null&&A0(i),i=wd(e,t,n,r),i===null&&iu(e,t,r,yl,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else iu(e,t,r,null,n)}}var yl=null;function wd(e,t,n,r){if(yl=null,e=Jf(r),e=jr(e),e!==null)if(t=no(e),t===null)e=null;else if(n=t.tag,n===13){if(e=w0(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return yl=e,null}function D0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(UE()){case eh:return 1;case E0:return 4;case pl:case WE:return 16;case T0:return 536870912;default:return 16}default:return 16}}var Jn=null,oh=null,Va=null;function O0(){if(Va)return Va;var e,t=oh,n=t.length,r,o="value"in Jn?Jn.value:Jn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Va=o.slice(e,1<r?1-r:void 0)}function Fa(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ca(){return!0}function dm(){return!1}function mt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ca:dm,this.isPropagationStopped=dm,this}return we(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ca)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ca)},persist:function(){},isPersistent:ca}),t}var fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ih=mt(fi),$s=we({},fi,{view:0,detail:0}),rT=mt($s),qc,Xc,Ai,tc=we({},$s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sh,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ai&&(Ai&&e.type==="mousemove"?(qc=e.screenX-Ai.screenX,Xc=e.screenY-Ai.screenY):Xc=qc=0,Ai=e),qc)},movementY:function(e){return"movementY"in e?e.movementY:Xc}}),fm=mt(tc),oT=we({},tc,{dataTransfer:0}),iT=mt(oT),sT=we({},$s,{relatedTarget:0}),Zc=mt(sT),aT=we({},fi,{animationName:0,elapsedTime:0,pseudoElement:0}),lT=mt(aT),cT=we({},fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uT=mt(cT),dT=we({},fi,{data:0}),hm=mt(dT),fT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hT={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mT(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=pT[e])?!!t[e]:!1}function sh(){return mT}var gT=we({},$s,{key:function(e){if(e.key){var t=fT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Fa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sh,charCode:function(e){return e.type==="keypress"?Fa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Fa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yT=mt(gT),vT=we({},tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pm=mt(vT),xT=we({},$s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sh}),wT=mt(xT),bT=we({},fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),ST=mt(bT),CT=we({},tc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ET=mt(CT),TT=[9,13,27,32],ah=En&&"CompositionEvent"in window,Gi=null;En&&"documentMode"in document&&(Gi=document.documentMode);var PT=En&&"TextEvent"in window&&!Gi,_0=En&&(!ah||Gi&&8<Gi&&11>=Gi),mm=" ",gm=!1;function L0(e,t){switch(e){case"keyup":return TT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function I0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bo=!1;function kT(e,t){switch(e){case"compositionend":return I0(t);case"keypress":return t.which!==32?null:(gm=!0,mm);case"textInput":return e=t.data,e===mm&&gm?null:e;default:return null}}function AT(e,t){if(bo)return e==="compositionend"||!ah&&L0(e,t)?(e=O0(),Va=oh=Jn=null,bo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _0&&t.locale!=="ko"?null:t.data;default:return null}}var RT={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ym(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!RT[e.type]:t==="textarea"}function V0(e,t,n,r){m0(r),t=vl(t,"onChange"),0<t.length&&(n=new ih("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yi=null,fs=null;function NT(e){Q0(e,0)}function nc(e){var t=Eo(e);if(l0(t))return e}function jT(e,t){if(e==="change")return t}var F0=!1;if(En){var Jc;if(En){var eu="oninput"in document;if(!eu){var vm=document.createElement("div");vm.setAttribute("oninput","return;"),eu=typeof vm.oninput=="function"}Jc=eu}else Jc=!1;F0=Jc&&(!document.documentMode||9<document.documentMode)}function xm(){Yi&&(Yi.detachEvent("onpropertychange",$0),fs=Yi=null)}function $0(e){if(e.propertyName==="value"&&nc(fs)){var t=[];V0(t,fs,e,Jf(e)),x0(NT,t)}}function MT(e,t,n){e==="focusin"?(xm(),Yi=t,fs=n,Yi.attachEvent("onpropertychange",$0)):e==="focusout"&&xm()}function DT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return nc(fs)}function OT(e,t){if(e==="click")return nc(t)}function _T(e,t){if(e==="input"||e==="change")return nc(t)}function LT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wt=typeof Object.is=="function"?Object.is:LT;function hs(e,t){if(Wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!nd.call(t,o)||!Wt(e[o],t[o]))return!1}return!0}function wm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bm(e,t){var n=wm(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wm(n)}}function z0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?z0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B0(){for(var e=window,t=dl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=dl(e.document)}return t}function lh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function IT(e){var t=B0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&z0(n.ownerDocument.documentElement,n)){if(r!==null&&lh(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=bm(n,i);var s=bm(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var VT=En&&"documentMode"in document&&11>=document.documentMode,So=null,bd=null,Qi=null,Sd=!1;function Sm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sd||So==null||So!==dl(r)||(r=So,"selectionStart"in r&&lh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 3,800 bytes, line 38
38sNode:r.focusNode,focusOffset:r.focusOffset}),Qi&&hs(Qi,r)||(Qi=r,r=vl(bd,"onSelect"),0<r.length&&(t=new ih("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=So)))}function ua(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Co={animationend:ua("Animation","AnimationEnd"),animationiteration:ua("Animation","AnimationIteration"),animationstart:ua("Animation","AnimationStart"),transitionend:ua("Transition","TransitionEnd")},tu={},U0={};En&&(U0=document.createElement("div").style,"AnimationEvent"in window||(delete Co.animationend.animation,delete Co.animationiteration.animation,delete Co.animationstart.animation),"TransitionEvent"in window||delete Co.transitionend.transition);function rc(e){if(tu[e])return tu[e];if(!Co[e])return e;var t=Co[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in U0)return tu[e]=t[n];return e}var W0=rc("animationend"),H0=rc("animationiteration"),K0=rc("animationstart"),G0=rc("transitionend"),Y0=new Map,Cm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function vr(e,t){Y0.set(e,t),to(t,[e])}for(var nu=0;nu<Cm.length;nu++){var ru=Cm[nu],FT=ru.toLowerCase(),$T=ru[0].toUpperCase()+ru.slice(1);vr(FT,"on"+$T)}vr(W0,"onAnimationEnd");vr(H0,"onAnimationIteration");vr(K0,"onAnimationStart");vr("dblclick","onDoubleClick");vr("focusin","onFocus");vr("focusout","onBlur");vr(G0,"onTransitionEnd");Jo("onMouseEnter",["mouseout","mouseover"]);Jo("onMouseLeave",["mouseout","mouseover"]);Jo("onPointerEnter",["pointerout","pointerover"]);Jo("onPointerLeave",["pointerout","pointerover"]);to("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));to("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));to("onBeforeInput",["compositionend","keypress","textInput","paste"]);to("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));to("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));to("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ui="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zT=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ui));function Em(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,FE(r,t,void 0,e),e.currentTarget=null}function Q0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Em(o,a,c),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Em(o,a,c),i=l}}}if(hl)throw e=yd,hl=!1,yd=null,e}function fe(e,t){var n=t[kd];n===void 0&&(n=t[kd]=new Set);var r=e+"__bubble";n.has(r)||(q0(t,e,2,!1),n.add(r))}function ou(e,t,n){var r=0;t&&(r|=4),q0(n,e,r,t)}var da="_reactListening"+Math.random().toString(36).slice(2);
vendor: 3,228 bytes, line 38
38function ps(e){if(!e[da]){e[da]=!0,r0.forEach(function(n){n!=="selectionchange"&&(zT.has(n)||ou(n,!1,e),ou(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[da]||(t[da]=!0,ou("selectionchange",!1,t))}}function q0(e,t,n,r){switch(D0(t)){case 1:var o=tT;break;case 4:o=nT;break;default:o=rh}n=o.bind(null,t,n,e),o=void 0,!gd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function iu(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=jr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}x0(function(){var c=i,u=Jf(n),d=[];e:{var f=Y0.get(e);if(f!==void 0){var p=ih,w=e;switch(e){case"keypress":if(Fa(n)===0)break e;case"keydown":case"keyup":p=yT;break;case"focusin":w="focus",p=Zc;break;case"focusout":w="blur",p=Zc;break;case"beforeblur":case"afterblur":p=Zc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=fm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=iT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=wT;break;case W0:case H0:case K0:p=lT;break;case G0:p=ST;break;case"scroll":p=rT;break;case"wheel":p=ET;break;case"copy":case"cut":case"paste":p=uT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=pm}var g=(t&4)!==0,b=!g&&e==="scroll",v=g?f!==null?f+"Capture":null:f;g=[];for(var y=c,x;y!==null;){x=y;var S=x.stateNode;if(x.tag===5&&S!==null&&(x=S,v!==null&&(S=ls(y,v),S!=null&&g.push(ms(y,S,x)))),b)break;y=y.return}0<g.length&&(f=new p(f,w,null,n,u),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==pd&&(w=n.relatedTarget||n.fromElement)&&(jr(w)||w[Tn]))break e;if((p||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=c,w=w?jr(w):null,w!==null&&(b=no(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=c),p!==w)){if(g=fm,S="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(g=pm,S="onPointerLeave",v="onPointerEnter",y="pointer"),b=p==null?f:Eo(p),x=w==null?f:Eo(w),f=new g(S,y+"leave",p,n,u),f.target=b,f.relatedTarget=x,S=null,jr(u)===c&&(g=new g(v,y+"enter",w,n,u),g.target=x,g.relatedTarget=b,S=g),b=S,p&&w)t:{for(g=p,v=w,y=0,x=g;x;x=ho(x))y++;for(x=0,S=v;S;S=ho(S))x++;for(;0<y-x;)g=ho(g),y--;for(;0<x-y;)v=ho(v),x--;for(;y--;){if(g===v||v!==null&&g===v.alternate)break t;g=ho(g),v=ho(v)}g=null}else g=null;p!==null&&Tm(d,f,p,g,!1),w!==null&&b!==null&&Tm(d,b,w,g,!0)}}
vendor: 5,681 bytes, lines 38-39
38e:{if(f=c?Eo(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=jT;else if(ym(f))if(F0)C=_T;else{C=DT;var E=MT}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=OT);if(C&&(C=C(e,c))){V0(d,C,n,u);break e}E&&E(e,f,c),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&cd(f,"number",f.value)}switch(E=c?Eo(c):window,e){case"focusin":(ym(E)||E.contentEditable==="true")&&(So=E,bd=c,Qi=null);break;case"focusout":Qi=bd=So=null;break;case"mousedown":Sd=!0;break;case"contextmenu":case"mouseup":case"dragend":Sd=!1,Sm(d,n,u);break;case"selectionchange":if(VT)break;case"keydown":case"keyup":Sm(d,n,u)}var T;if(ah)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else bo?L0(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(_0&&n.locale!=="ko"&&(bo||P!=="onCompositionStart"?P==="onCompositionEnd"&&bo&&(T=O0()):(Jn=u,oh="value"in Jn?Jn.value:Jn.textContent,bo=!0)),E=vl(c,P),0<E.length&&(P=new hm(P,e,null,n,u),d.push({event:P,listeners:E}),T?P.data=T:(T=I0(n),T!==null&&(P.data=T)))),(T=PT?kT(e,n):AT(e,n))&&(c=vl(c,"onBeforeInput"),0<c.length&&(u=new hm("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=T))}Q0(d,t)})}function ms(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ls(e,n),i!=null&&r.unshift(ms(e,i,o)),i=ls(e,t),i!=null&&r.push(ms(e,i,o))),e=e.return}return r}function ho(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Tm(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,o?(l=ls(n,i),l!=null&&s.unshift(ms(n,l,a))):o||(l=ls(n,i),l!=null&&s.push(ms(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var BT=/\r\n?/g,UT=/\u0000|\uFFFD/g;function Pm(e){return(typeof e=="string"?e:""+e).replace(BT,`
39`).replace(UT,"")}function fa(e,t,n){if(t=Pm(t),Pm(e)!==t&&n)throw Error(D(425))}function xl(){}var Cd=null,Ed=null;function Td(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Pd=typeof setTimeout=="function"?setTimeout:void 0,WT=typeof clearTimeout=="function"?clearTimeout:void 0,km=typeof Promise=="function"?Promise:void 0,HT=typeof queueMicrotask=="function"?queueMicrotask:typeof km<"u"?function(e){return km.resolve(null).then(e).catch(KT)}:Pd;function KT(e){setTimeout(function(){throw e})}function su(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ds(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ds(t)}function sr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Am(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var hi=Math.random().toString(36).slice(2),nn="__reactFiber$"+hi,gs="__reactProps$"+hi,Tn="__reactContainer$"+hi,kd="__reactEvents$"+hi,GT="__reactListeners$"+hi,YT="__reactHandles$"+hi;function jr(e){var t=e[nn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tn]||n[nn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Am(e);e!==null;){if(n=e[nn])return n;e=Am(e)}return t}e=n,n=e.parentNode}return null}function zs(e){return e=e[nn]||e[Tn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Eo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function oc(e){return e[gs]||null}var Ad=[],To=-1;function xr(e){return{current:e}}function pe(e){0>To||(e.current=Ad[To],Ad[To]=null,To--)}function ue(e,t){To++,Ad[To]=e.current,e.current=t}var hr={},Ke=xr(hr),ot=xr(!1),Yr=hr;function ei(e,t){var n=e.type.contextTypes;if(!n)return hr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function it(e){return e=e.childContextTypes,e!=null}function wl(){pe(ot),pe(Ke)}function Rm(e,t,n){if(Ke.current!==hr)throw Error(D(168));ue(Ke,t),ue(ot,n)}function X0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(D(108,ME(e)||"Unknown",o));return we({},n,r)}function bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hr,Yr=Ke.current,ue(Ke,e),ue(ot,ot.current),!0}function Nm(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=X0(e,t,Yr),r.__reactInternalMemoizedMergedChildContext=e,pe(ot),pe(Ke),ue(Ke,e)):pe(ot),ue(ot,n)}var xn=null,ic=!1,au=!1;function Z0(e){xn===null?xn=[e]:xn.push(e)}function QT(e){ic=!0,Z0(e)}function wr(){if(!au&&xn!==null){au=!0;var e=0,t=re;try{var n=xn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xn=null,ic=!1}catch(o){throw xn!==null&&(xn=xn.slice(e+1)),C0(eh,wr),o}finally{re=t,au=!1}}return null}var Po=[],ko=0,Sl=null,Cl=0,xt=[],wt=0,Qr=null,bn=1,Sn="";function Ar(e,t){Po[ko++]=Cl,Po[ko++]=Sl,Sl=e,Cl=t}
vendor: 16,147 bytes, line 39
39function J0(e,t,n){xt[wt++]=bn,xt[wt++]=Sn,xt[wt++]=Qr,Qr=e;var r=bn;e=Sn;var o=32-zt(r)-1;r&=~(1<<o),n+=1;var i=32-zt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,bn=1<<32-zt(t)+o|n<<o|r,Sn=i+e}else bn=1<<i|n<<o|r,Sn=e}function ch(e){e.return!==null&&(Ar(e,1),J0(e,1,0))}function uh(e){for(;e===Sl;)Sl=Po[--ko],Po[ko]=null,Cl=Po[--ko],Po[ko]=null;for(;e===Qr;)Qr=xt[--wt],xt[wt]=null,Sn=xt[--wt],xt[wt]=null,bn=xt[--wt],xt[wt]=null}var dt=null,ut=null,ge=!1,Ft=null;function ex(e,t){var n=bt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function jm(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,dt=e,ut=sr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,dt=e,ut=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Qr!==null?{id:bn,overflow:Sn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,dt=e,ut=null,!0):!1;default:return!1}}function Rd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Nd(e){if(ge){var t=ut;if(t){var n=t;if(!jm(e,t)){if(Rd(e))throw Error(D(418));t=sr(n.nextSibling);var r=dt;t&&jm(e,t)?ex(r,n):(e.flags=e.flags&-4097|2,ge=!1,dt=e)}}else{if(Rd(e))throw Error(D(418));e.flags=e.flags&-4097|2,ge=!1,dt=e}}}function Mm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;dt=e}function ha(e){if(e!==dt)return!1;if(!ge)return Mm(e),ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Td(e.type,e.memoizedProps)),t&&(t=ut)){if(Rd(e))throw tx(),Error(D(418));for(;t;)ex(e,t),t=sr(t.nextSibling)}if(Mm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ut=sr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ut=null}}else ut=dt?sr(e.stateNode.nextSibling):null;return!0}function tx(){for(var e=ut;e;)e=sr(e.nextSibling)}function ti(){ut=dt=null,ge=!1}function dh(e){Ft===null?Ft=[e]:Ft.push(e)}var qT=Nn.ReactCurrentBatchConfig;function Ri(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function pa(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Dm(e){var t=e._init;return t(e._payload)}function nx(e){function t(v,y){if(e){var x=v.deletions;x===null?(v.deletions=[y],v.flags|=16):x.push(y)}}function n(v,y){if(!e)return null;for(;y!==null;)t(v,y),y=y.sibling;return null}function r(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function o(v,y){return v=ur(v,y),v.index=0,v.sibling=null,v}function i(v,y,x){return v.index=x,e?(x=v.alternate,x!==null?(x=x.index,x<y?(v.flags|=2,y):x):(v.flags|=2,y)):(v.flags|=1048576,y)}function s(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,y,x,S){return y===null||y.tag!==6?(y=pu(x,v.mode,S),y.return=v,y):(y=o(y,x),y.return=v,y)}function l(v,y,x,S){var C=x.type;return C===wo?u(v,y,x.props.children,S,x.key):y!==null&&(y.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Wn&&Dm(C)===y.type)?(S=o(y,x.props),S.ref=Ri(v,y,x),S.return=v,S):(S=Ka(x.type,x.key,x.props,null,v.mode,S),S.ref=Ri(v,y,x),S.return=v,S)}function c(v,y,x,S){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=mu(x,v.mode,S),y.return=v,y):(y=o(y,x.children||[]),y.return=v,y)}function u(v,y,x,S,C){return y===null||y.tag!==7?(y=Hr(x,v.mode,S,C),y.return=v,y):(y=o(y,x),y.return=v,y)}function d(v,y,x){if(typeof y=="string"&&y!==""||typeof y=="number")return y=pu(""+y,v.mode,x),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ra:return x=Ka(y.type,y.key,y.props,null,v.mode,x),x.ref=Ri(v,null,y),x.return=v,x;case xo:return y=mu(y,v.mode,x),y.return=v,y;case Wn:var S=y._init;return d(v,S(y._payload),x)}if(zi(y)||Ei(y))return y=Hr(y,v.mode,x,null),y.return=v,y;pa(v,y)}return null}function f(v,y,x,S){var C=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return C!==null?null:a(v,y,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ra:return x.key===C?l(v,y,x,S):null;case xo:return x.key===C?c(v,y,x,S):null;case Wn:return C=x._init,f(v,y,C(x._payload),S)}if(zi(x)||Ei(x))return C!==null?null:u(v,y,x,S,null);pa(v,x)}return null}function p(v,y,x,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return v=v.get(x)||null,a(y,v,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ra:return v=v.get(S.key===null?x:S.key)||null,l(y,v,S,C);case xo:return v=v.get(S.key===null?x:S.key)||null,c(y,v,S,C);case Wn:var E=S._init;return p(v,y,x,E(S._payload),C)}if(zi(S)||Ei(S))return v=v.get(x)||null,u(y,v,S,C,null);pa(y,S)}return null}function w(v,y,x,S){for(var C=null,E=null,T=y,P=y=0,N=null;T!==null&&P<x.length;P++){T.index>P?(N=T,T=null):N=T.sibling;var k=f(v,T,x[P],S);if(k===null){T===null&&(T=N);break}e&&T&&k.alternate===null&&t(v,T),y=i(k,y,P),E===null?C=k:E.sibling=k,E=k,T=N}if(P===x.length)return n(v,T),ge&&Ar(v,P),C;if(T===null){for(;P<x.length;P++)T=d(v,x[P],S),T!==null&&(y=i(T,y,P),E===null?C=T:E.sibling=T,E=T);return ge&&Ar(v,P),C}for(T=r(v,T);P<x.length;P++)N=p(T,v,P,x[P],S),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?P:N.key),y=i(N,y,P),E===null?C=N:E.sibling=N,E=N);return e&&T.forEach(function(I){return t(v,I)}),ge&&Ar(v,P),C}function g(v,y,x,S){var C=Ei(x);if(typeof C!="function")throw Error(D(150));if(x=C.call(x),x==null)throw Error(D(151));for(var E=C=null,T=y,P=y=0,N=null,k=x.next();T!==null&&!k.done;P++,k=x.next()){T.index>P?(N=T,T=null):N=T.sibling;var I=f(v,T,k.value,S);if(I===null){T===null&&(T=N);break}e&&T&&I.alternate===null&&t(v,T),y=i(I,y,P),E===null?C=I:E.sibling=I,E=I,T=N}if(k.done)return n(v,T),ge&&Ar(v,P),C;if(T===null){for(;!k.done;P++,k=x.next())k=d(v,k.value,S),k!==null&&(y=i(k,y,P),E===null?C=k:E.sibling=k,E=k);return ge&&Ar(v,P),C}for(T=r(v,T);!k.done;P++,k=x.next())k=p(T,v,P,k.value,S),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?P:k.key),y=i(k,y,P),E===null?C=k:E.sibling=k,E=k);return e&&T.forEach(function(_){return t(v,_)}),ge&&Ar(v,P),C}function b(v,y,x,S){if(typeof x=="object"&&x!==null&&x.type===wo&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ra:e:{for(var C=x.key,E=y;E!==null;){if(E.key===C){if(C=x.type,C===wo){if(E.tag===7){n(v,E.sibling),y=o(E,x.props.children),y.return=v,v=y;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Wn&&Dm(C)===E.type){n(v,E.sibling),y=o(E,x.props),y.ref=Ri(v,E,x),y.return=v,v=y;break e}n(v,E);break}else t(v,E);E=E.sibling}x.type===wo?(y=Hr(x.props.children,v.mode,S,x.key),y.return=v,v=y):(S=Ka(x.type,x.key,x.props,null,v.mode,S),S.ref=Ri(v,y,x),S.return=v,v=S)}return s(v);case xo:e:{for(E=x.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(v,y.sibling),y=o(y,x.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=mu(x,v.mode,S),y.return=v,v=y}return s(v);case Wn:return E=x._init,b(v,y,E(x._payload),S)}if(zi(x))return w(v,y,x,S);if(Ei(x))return g(v,y,x,S);pa(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,x),y.return=v,v=y):(n(v,y),y=pu(x,v.mode,S),y.return=v,v=y),s(v)):n(v,y)}return b}var ni=nx(!0),rx=nx(!1),El=xr(null),Tl=null,Ao=null,fh=null;function hh(){fh=Ao=Tl=null}function ph(e){var t=El.current;pe(El),e._currentValue=t}function jd(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Vo(e,t){Tl=e,fh=Ao=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rt=!0),e.firstContext=null)}function Tt(e){var t=e._currentValue;if(fh!==e)if(e={context:e,memoizedValue:t,next:null},Ao===null){if(Tl===null)throw Error(D(308));Ao=e,Tl.dependencies={lanes:0,firstContext:e}}else Ao=Ao.next=e;return t}var Mr=null;function mh(e){Mr===null?Mr=[e]:Mr.push(e)}function ox(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,mh(t)):(n.next=o.next,o.next=n),t.interleaved=n,Pn(e,r)}function Pn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Hn=!1;function gh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ix(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ar(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Pn(e,n)}return o=r.interleaved,o===null?(t.next=t,mh(r)):(t.next=o.next,o.next=t),r.interleaved=t,Pn(e,n)}function $a(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,th(e,n)}}function Om(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Pl(e,t,n,r){var o=e.updateQueue;Hn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?i=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,u=c=l=null,a=i;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,g=a;switch(f=t,p=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){d=w.call(p,d,f);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,f=typeof w=="function"?w.call(p,d,f):w,f==null)break e;d=we({},d,f);break e;case 2:Hn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Xr|=s,e.lanes=s,e.memoizedState=d}}function _m(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(D(191,o));o.call(r)}}}var Bs={},an=xr(Bs),ys=xr(Bs),vs=xr(Bs);function Dr(e){if(e===Bs)throw Error(D(174));return e}function yh(e,t){switch(ue(vs,t),ue(ys,e),ue(an,Bs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dd(t,e)}pe(an),ue(an,t)}function ri(){pe(an),pe(ys),pe(vs)}function sx(e){Dr(vs.current);var t=Dr(an.current),n=dd(t,e.type);t!==n&&(ue(ys,e),ue(an,n))}function vh(e){ys.current===e&&(pe(an),pe(ys))}var ve=xr(0);function kl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lu=[];function xh(){for(var e=0;e<lu.length;e++)lu[e]._workInProgressVersionPrimary=null;lu.length=0}var za=Nn.ReactCurrentDispatcher,cu=Nn.ReactCurrentBatchConfig,qr=0,xe=null,Re=null,Me=null,Al=!1,qi=!1,xs=0,XT=0;function Be(){throw Error(D(321))}function wh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wt(e[n],t[n]))return!1;return!0}function bh(e,t,n,r,o,i){if(qr=i,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,za.current=e===null||e.memoizedState===null?tP:nP,e=n(r,o),qi){i=0;do{if(qi=!1,xs=0,25<=i)throw Error(D(301));i+=1,Me=Re=null,t.updateQueue=null,za.current=rP,e=n(r,o)}while(qi)}if(za.current=Rl,t=Re!==null&&Re.next!==null,qr=0,Me=Re=xe=null,Al=!1,t)throw Error(D(300));return e}function Sh(){var e=xs!==0;return xs=0,e}function qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Me===null?xe.memoizedState=Me=e:Me=Me.next=e,Me}function Pt(){if(Re===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=Me===null?xe.memoizedState:Me.next;if(t!==null)Me=t,Re=e;else{if(e===null)throw Error(D(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},Me===null?xe.memoizedState=Me=e:Me=Me.next=e}return Me}function ws(e,t){return typeof t=="function"?t(e):t}function uu(e){var t=Pt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Re,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,c=i;do{var u=c.lane;if((qr&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,xe.lanes|=u,Xr|=u}c=c.next}while(c!==null&&c!==i);l===null?s=r:l.next=a,Wt(r,t.memoizedState)||(rt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,xe.lanes|=i,Xr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function du(e){var t=Pt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Wt(i,t.memoizedState)||(rt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ax(){}function lx(e,t){var n=xe,r=Pt(),o=t(),i=!Wt(r.memoizedState,o);if(i&&(r.memoizedState=o,rt=!0),r=r.queue,Ch(dx.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Me!==null&&Me.memoizedState.tag&1){if(n.flags|=2048,bs(9,ux.bind(null,n,r,o,t),void 0,null),De===null)throw Error(D(349));qr&30||cx(n,t,o)}return o}function cx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ux(e,t,n,r){t.value=n,t.getSnapshot=r,fx(t)&&hx(e)}
vendor: 5,172 bytes, line 39
39function dx(e,t,n){return n(function(){fx(t)&&hx(e)})}function fx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wt(e,n)}catch{return!0}}function hx(e){var t=Pn(e,1);t!==null&&Bt(t,e,1,-1)}function Lm(e){var t=qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ws,lastRenderedState:e},t.queue=e,e=e.dispatch=eP.bind(null,xe,e),[t.memoizedState,e]}function bs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=xe.updateQueue,t===null?(t={lastEffect:null,stores:null},xe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function px(){return Pt().memoizedState}function Ba(e,t,n,r){var o=qt();xe.flags|=e,o.memoizedState=bs(1|t,n,void 0,r===void 0?null:r)}function sc(e,t,n,r){var o=Pt();r=r===void 0?null:r;var i=void 0;if(Re!==null){var s=Re.memoizedState;if(i=s.destroy,r!==null&&wh(r,s.deps)){o.memoizedState=bs(t,n,i,r);return}}xe.flags|=e,o.memoizedState=bs(1|t,n,i,r)}function Im(e,t){return Ba(8390656,8,e,t)}function Ch(e,t){return sc(2048,8,e,t)}function mx(e,t){return sc(4,2,e,t)}function gx(e,t){return sc(4,4,e,t)}function yx(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function vx(e,t,n){return n=n!=null?n.concat([e]):null,sc(4,4,yx.bind(null,t,e),n)}function Eh(){}function xx(e,t){var n=Pt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wx(e,t){var n=Pt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&wh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function bx(e,t,n){return qr&21?(Wt(n,t)||(n=P0(),xe.lanes|=n,Xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,rt=!0),e.memoizedState=n)}function ZT(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=cu.transition;cu.transition={};try{e(!1),t()}finally{re=n,cu.transition=r}}function Sx(){return Pt().memoizedState}function JT(e,t,n){var r=cr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cx(e))Ex(t,n);else if(n=ox(e,t,n,r),n!==null){var o=Ze();Bt(n,e,r,o),Tx(n,t,r)}}function eP(e,t,n){var r=cr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cx(e))Ex(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Wt(a,s)){var l=t.interleaved;l===null?(o.next=o,mh(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=ox(e,t,o,r),n!==null&&(o=Ze(),Bt(n,e,r,o),Tx(n,t,r))}}function Cx(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function Ex(e,t){qi=Al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,th(e,n)}}var Rl={readContext:Tt,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},tP={readContext:Tt,useCallback:function(e,t){return qt().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:Im,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ba(4194308,4,yx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ba(4,2,e,t)},useMemo:function(e,t){var n=qt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=JT.bind(null,xe,e),[r.memoizedState,e]},useRef:function(e){var t=qt();return e={current:e},t.memoizedState=e},useState:Lm,useDebugValue:Eh,useDeferredValue:function(e){return qt().memoizedState=e},useTransition:function(){var e=Lm(!1),t=e[0];return e=ZT.bind(null,e[1]),qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=xe,o=qt();if(ge){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),De===null)throw Error(D(349));qr&30||cx(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Im(dx.bind(null,r,i,e),[e]),r.flags|=2048,bs(9,ux.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=qt(),t=De.identifierPrefix;if(ge){var n=Sn,r=bn;n=(r&~(1<<32-zt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=XT++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},nP={readContext:Tt,useCallback:xx,useContext:Tt,useEffect:Ch,useImperativeHandle:vx,useInsertionEffect:mx,useLayoutEffect:gx,useMemo:wx,useReducer:uu,useRef:px,useState:function(){return uu(ws)},useDebugValue:Eh,useDeferredValue:function(e){var t=Pt();return bx(t,Re.memoizedState,e)},useTransition:function(){var e=uu(ws)[0],t=Pt().memoizedState;return[e,t]}
vendor: 6,208 bytes, lines 39-41
39,useMutableSource:ax,useSyncExternalStore:lx,useId:Sx,unstable_isNewReconciler:!1},rP={readContext:Tt,useCallback:xx,useContext:Tt,useEffect:Ch,useImperativeHandle:vx,useInsertionEffect:mx,useLayoutEffect:gx,useMemo:wx,useReducer:du,useRef:px,useState:function(){return du(ws)},useDebugValue:Eh,useDeferredValue:function(e){var t=Pt();return Re===null?t.memoizedState=e:bx(t,Re.memoizedState,e)},useTransition:function(){var e=du(ws)[0],t=Pt().memoizedState;return[e,t]},useMutableSource:ax,useSyncExternalStore:lx,useId:Sx,unstable_isNewReconciler:!1};function Ot(e,t){if(e&&e.defaultProps){t=we({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Md(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:we({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ac={isMounted:function(e){return(e=e._reactInternals)?no(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ze(),o=cr(e),i=Cn(r,o);i.payload=t,n!=null&&(i.callback=n),t=ar(e,i,o),t!==null&&(Bt(t,e,o,r),$a(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ze(),o=cr(e),i=Cn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ar(e,i,o),t!==null&&(Bt(t,e,o,r),$a(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ze(),r=cr(e),o=Cn(n,r);o.tag=2,t!=null&&(o.callback=t),t=ar(e,o,r),t!==null&&(Bt(t,e,r,n),$a(t,e,r))}};function Vm(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!hs(n,r)||!hs(o,i):!0}function Px(e,t,n){var r=!1,o=hr,i=t.contextType;return typeof i=="object"&&i!==null?i=Tt(i):(o=it(t)?Yr:Ke.current,r=t.contextTypes,i=(r=r!=null)?ei(e,o):hr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ac,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Fm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ac.enqueueReplaceState(t,t.state,null)}function Dd(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},gh(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Tt(i):(i=it(t)?Yr:Ke.current,o.context=ei(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Md(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ac.enqueueReplaceState(o,o.state,null),Pl(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function oi(e,t){try{var n="",r=t;do n+=jE(r),r=r.return;while(r);var o=n}catch(i){o=`
40Error generating stack: `+i.message+`
41`+i.stack}return{value:e,source:t,stack:o,digest:null}}function fu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Od(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var oP=typeof WeakMap=="function"?WeakMap:Map;function kx(e,t,n){n=Cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){jl||(jl=!0,Wd=r),Od(e,t)},n}function Ax(e,t,n){n=Cn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Od(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Od(e,t),typeof r!="function"&&(lr===null?lr=new Set([this]):lr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function $m(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new oP;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=vP.bind(null,e,t,n),t.then(e,e))}function zm(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Bm(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Cn(-1,1),t.tag=2,ar(n,t,1))),n.lanes|=1),e)}var iP=Nn.ReactCurrentOwner,rt=!1;function Ye(e,t,n,r){t.child=e===null?rx(t,null,n,r):ni(t,e.child,n,r)}function Um(e,t,n,r,o){n=n.render;var i=t.ref;return Vo(t,o),r=bh(e,t,n,r,i,o),n=Sh(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kn(e,t,o)):(ge&&n&&ch(t),t.flags|=1,Ye(e,t,r,o),t.child)}function Wm(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Mh(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Rx(e,t,i,r,o)):(e=Ka(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:hs,n(s,r)&&e.ref===t.ref)return kn(e,t,o)}return t.flags|=1,e=ur(i,r),e.ref=t.ref,e.return=t,t.child=e}function Rx(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(hs(i,r)&&e.ref===t.ref)if(rt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(rt=!0);else return t.lanes=e.lanes,kn(e,t,o)}return _d(e,t,n,r,o)}function Nx(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ue(No,lt),lt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ue(No,lt),lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ue(No,lt),lt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ue(No,lt),lt|=r;return Ye(e,t,o,n),t.child}function jx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,575 bytes, line 41
41function _d(e,t,n,r,o){var i=it(n)?Yr:Ke.current;return i=ei(t,i),Vo(t,o),n=bh(e,t,n,r,i,o),r=Sh(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kn(e,t,o)):(ge&&r&&ch(t),t.flags|=1,Ye(e,t,n,o),t.child)}function Hm(e,t,n,r,o){if(it(n)){var i=!0;bl(t)}else i=!1;if(Vo(t,o),t.stateNode===null)Ua(e,t),Px(t,n,r),Dd(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Tt(c):(c=it(n)?Yr:Ke.current,c=ei(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Fm(t,s,r,c),Hn=!1;var f=t.memoizedState;s.state=f,Pl(t,r,s,o),l=t.memoizedState,a!==r||f!==l||ot.current||Hn?(typeof u=="function"&&(Md(t,n,u,r),l=t.memoizedState),(a=Hn||Vm(t,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,ix(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Ot(t.type,a),s.props=c,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Tt(l):(l=it(n)?Yr:Ke.current,l=ei(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Fm(t,s,r,l),Hn=!1,f=t.memoizedState,s.state=f,Pl(t,r,s,o);var w=t.memoizedState;a!==d||f!==w||ot.current||Hn?(typeof p=="function"&&(Md(t,n,p,r),w=t.memoizedState),(c=Hn||Vm(t,n,c,r,f,w,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ld(e,t,n,r,i,o)}function Ld(e,t,n,r,o,i){jx(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Nm(t,n,!1),kn(e,t,i);r=t.stateNode,iP.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ni(t,e.child,null,i),t.child=ni(t,null,a,i)):Ye(e,t,a,i),t.memoizedState=r.state,o&&Nm(t,n,!0),t.child}function Mx(e){var t=e.stateNode;t.pendingContext?Rm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Rm(e,t.context,!1),yh(e,t.containerInfo)}function Km(e,t,n,r,o){return ti(),dh(o),t.flags|=256,Ye(e,t,n,r),t.child}var Id={dehydrated:null,treeContext:null,retryLane:0};function Vd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dx(e,t,n){var r=t.pendingProps,o=ve.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ue(ve,o&1),e===null)return Nd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=uc(s,r,0,null),e=Hr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Vd(n),t.memoizedState=Id,e):Th(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return sP(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ur(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=ur(a,i):(i=Hr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Vd(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Id,r}return i=e.child,e=i.sibling,r=ur(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Th(e,t){return t=uc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ma(e,t,n,r){return r!==null&&dh(r),ni(t,e.child,null,n),e=Th(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sP(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=fu(Error(D(422))),ma(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=uc({mode:"visible",children:r.children},o,0,null),i=Hr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ni(t,e.child,null,s),t.child.memoizedState=Vd(s),t.memoizedState=Id,i);if(!(t.mode&1))return ma(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(D(419)),r=fu(i,r,void 0),ma(e,t,s,r)}if(a=(s&e.childLanes)!==0,rt||a){if(r=De,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Pn(e,o),Bt(r,e,o,-1))}return jh(),r=fu(Error(D(421))),ma(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=xP.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ut=sr(o.nextSibling),dt=t,ge=!0,Ft=null,e!==null&&(xt[wt++]=bn,xt[wt++]=Sn,xt[wt++]=Qr,b
vendor: 5,464 bytes, line 41
41n=e.id,Sn=e.overflow,Qr=t),t=Th(t,r.children),t.flags|=4096,t)}function Gm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),jd(e.return,t,n)}function hu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ox(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ye(e,t,r.children,n),r=ve.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gm(e,n,t);else if(e.tag===19)Gm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ue(ve,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&kl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),hu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&kl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}hu(t,!0,n,null,i);break;case"together":hu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ua(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function kn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=ur(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ur(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function aP(e,t,n){switch(t.tag){case 3:Mx(t),ti();break;case 5:sx(t);break;case 1:it(t.type)&&bl(t);break;case 4:yh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ue(El,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ue(ve,ve.current&1),t.flags|=128,null):n&t.child.childLanes?Dx(e,t,n):(ue(ve,ve.current&1),e=kn(e,t,n),e!==null?e.sibling:null);ue(ve,ve.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ox(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ue(ve,ve.current),r)break;return null;case 22:case 23:return t.lanes=0,Nx(e,t,n)}return kn(e,t,n)}var _x,Fd,Lx,Ix;_x=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Fd=function(){};Lx=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Dr(an.current);var i=null;switch(n){case"input":o=ad(e,o),r=ad(e,r),i=[];break;case"select":o=we({},o,{value:void 0}),r=we({},r,{value:void 0}),i=[];break;case"textarea":o=ud(e,o),r=ud(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xl)}fd(n,r);var s;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(ss.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(a=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(ss.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&fe("scroll",e),i||a===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Ix=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ni(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lP(e,t,n){var r=t.pendingProps;switch(uh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return it(t.type)&&wl(),Ue(t),null;case 3:return r=t.stateNode,ri(),pe(ot),pe(Ke),xh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ha(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(Gd(
vendor: 29,749 bytes, line 41
41Ft),Ft=null))),Fd(e,t),Ue(t),null;case 5:vh(t);var o=Dr(vs.current);if(n=t.type,e!==null&&t.stateNode!=null)Lx(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Ue(t),null}if(e=Dr(an.current),ha(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[nn]=t,r[gs]=i,e=(t.mode&1)!==0,n){case"dialog":fe("cancel",r),fe("close",r);break;case"iframe":case"object":case"embed":fe("load",r);break;case"video":case"audio":for(o=0;o<Ui.length;o++)fe(Ui[o],r);break;case"source":fe("error",r);break;case"img":case"image":case"link":fe("error",r),fe("load",r);break;case"details":fe("toggle",r);break;case"input":nm(r,i),fe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},fe("invalid",r);break;case"textarea":om(r,i),fe("invalid",r)}fd(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&fa(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&fa(r.textContent,a,e),o=["children",""+a]):ss.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&fe("scroll",r)}switch(n){case"input":oa(r),rm(r,i,!0);break;case"textarea":oa(r),im(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=xl)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=d0(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[nn]=t,e[gs]=r,_x(e,t,!1,!1),t.stateNode=e;e:{switch(s=hd(n,r),n){case"dialog":fe("cancel",e),fe("close",e),o=r;break;case"iframe":case"object":case"embed":fe("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ui.length;o++)fe(Ui[o],e);o=r;break;case"source":fe("error",e),o=r;break;case"img":case"image":case"link":fe("error",e),fe("load",e),o=r;break;case"details":fe("toggle",e),o=r;break;case"input":nm(e,r),o=ad(e,r),fe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=we({},r,{value:void 0}),fe("invalid",e);break;case"textarea":om(e,r),o=ud(e,r),fe("invalid",e);break;default:o=r}fd(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?p0(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&f0(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&as(e,l):typeof l=="number"&&as(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ss.hasOwnProperty(i)?l!=null&&i==="onScroll"&&fe("scroll",e):l!=null&&Qf(e,i,l,s))}switch(n){case"input":oa(e),rm(e,r,!1);break;case"textarea":oa(e),im(e);break;case"option":r.value!=null&&e.setAttribute("value",""+fr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Oo(e,!!r.multiple,i,!1):r.defaultValue!=null&&Oo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=xl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ue(t),null;case 6:if(e&&t.stateNode!=null)Ix(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Dr(vs.current),Dr(an.current),ha(t)){if(r=t.stateNode,n=t.memoizedProps,r[nn]=t,(i=r.nodeValue!==n)&&(e=dt,e!==null))switch(e.tag){case 3:fa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fa(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[nn]=t,t.stateNode=r}return Ue(t),null;case 13:if(pe(ve),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ge&&ut!==null&&t.mode&1&&!(t.flags&128))tx(),ti(),t.flags|=98560,i=!1;else if(i=ha(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(D(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(D(317));i[nn]=t}else ti(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),i=!1}else Ft!==null&&(Gd(Ft),Ft=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ve.current&1?Ne===0&&(Ne=3):jh())),t.updateQueue!==null&&(t.flags|=4),Ue(t),null);case 4:return ri(),Fd(e,t),e===null&&ps(t.stateNode.containerInfo),Ue(t),null;case 10:return ph(t.type._context),Ue(t),null;case 17:return it(t.type)&&wl(),Ue(t),null;case 19:if(pe(ve),i=t.memoizedState,i===null)return Ue(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Ni(i,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=kl(e),s!==null){for(t.flags|=128,Ni(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ue(ve,ve.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ce()>ii&&(t.flags|=128,r=!0,Ni(i,!1),t.lanes=4194304)}else{if(!r)if(e=kl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ni(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ge)return Ue(t),null}else 2*Ce()-i.renderingStartTime>ii&&n!==1073741824&&(t.flags|=128,r=!0,Ni(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ce(),t.sibling=null,n=ve.current,ue(ve,r?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return Nh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?lt&1073741824&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function cP(e,t){switch(uh(t),t.tag){case 1:return it(t.type)&&wl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ri(),pe(ot),pe(Ke),xh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vh(t),null;case 13:if(pe(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));ti()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ve),null;case 4:return ri(),null;case 10:return ph(t.type._context),null;case 22:case 23:return Nh(),null;case 24:return null;default:return null}}var ga=!1,He=!1,uP=typeof WeakSet=="function"?WeakSet:Set,V=null;function Ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Se(e,t,r)}else n.current=null}function $d(e,t,n){try{n()}catch(r){Se(e,t,r)}}var Ym=!1;function dP(e,t){if(Cd=gl,e=B0(),lh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(a=s),f===i&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ed={focusedElem:e,selectionRange:n},gl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,b=w.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ot(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){Se(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return w=Ym,Ym=!1,w}function Xi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&$d(t,n,i)}o=o.next}while(o!==r)}}function lc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function zd(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Vx(e){var t=e.alternate;t!==null&&(e.alternate=null,Vx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nn],delete t[gs],delete t[kd],delete t[GT],delete t[YT])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Fx(e){return e.tag===5||e.tag===3||e.tag===4}function Qm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xl));else if(r!==4&&(e=e.child,e!==null))for(Bd(e,t,n),e=e.sibling;e!==null;)Bd(e,t,n),e=e.sibling}function Ud(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ud(e,t,n),e=e.sibling;e!==null;)Ud(e,t,n),e=e.sibling}var _e=null,Vt=!1;function In(e,t,n){for(n=n.child;n!==null;)$x(e,t,n),n=n.sibling}function $x(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(ec,n)}catch{}switch(n.tag){case 5:He||Ro(n,t);case 6:var r=_e,o=Vt;_e=null,In(e,t,n),_e=r,Vt=o,_e!==null&&(Vt?(e=_e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:_e!==null&&(Vt?(e=_e,n=n.stateNode,e.nodeType===8?su(e.parentNode,n):e.nodeType===1&&su(e,n),ds(e)):su(_e,n.stateNode));break;case 4:r=_e,o=Vt,_e=n.stateNode.containerInfo,Vt=!0,In(e,t,n),_e=r,Vt=o;break;case 0:case 11:case 14:case 15:if(!He&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&$d(n,t,s),o=o.next}while(o!==r)}In(e,t,n);break;case 1:if(!He&&(Ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Se(n,t,a)}In(e,t,n);break;case 21:In(e,t,n);break;case 22:n.mode&1?(He=(r=He)||n.memoizedState!==null,In(e,t,n),He=r):In(e,t,n);break;default:In(e,t,n)}}function qm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new uP),t.forEach(function(r){var o=wP.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:_e=a.stateNode,Vt=!1;break e;case 3:_e=a.stateNode.containerInfo,Vt=!0;break e;case 4:_e=a.stateNode.containerInfo,Vt=!0;break e}a=a.return}if(_e===null)throw Error(D(160));$x(i,s,o),_e=null,Vt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){Se(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zx(t,e),t=t.sibling}function zx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nt(t,e),Qt(e),r&4){try{Xi(3,e,e.return),lc(3,e)}catch(g){Se(e,e.return,g)}try{Xi(5,e,e.return)}catch(g){Se(e,e.return,g)}}break;case 1:Nt(t,e),Qt(e),r&512&&n!==null&&Ro(n,n.return);break;case 5:if(Nt(t,e),Qt(e),r&512&&n!==null&&Ro(n,n.return),e.flags&32){var o=e.stateNode;try{as(o,"")}catch(g){Se(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&c0(o,i),hd(a,s);var c=hd(a,i);for(s=0;s<l.length;s+=2){var u=l[s],d=l[s+1];u==="style"?p0(o,d):u==="dangerouslySetInnerHTML"?f0(o,d):u==="children"?as(o,d):Qf(o,u,d,c)}switch(a){case"input":ld(o,i);break;case"textarea":u0(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Oo(o,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?Oo(o,!!i.multiple,i.defaultValue,!0):Oo(o,!!i.multiple,i.multiple?[]:"",!1))}o[gs]=i}catch(g){Se(e,e.return,g)}}break;case 6:if(Nt(t,e),Qt(e),r&4){if(e.stateNode===null)throw Error(D(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Se(e,e.return,g)}}break;case 3:if(Nt(t,e),Qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ds(t.containerInfo)}catch(g){Se(e,e.return,g)}break;case 4:Nt(t,e),Qt(e);break;case 13:Nt(t,e),Qt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Ah=Ce())),r&4&&qm(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(He=(c=He)||u,Nt(t,e),He=c):Nt(t,e),Qt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(V=e,u=e.child;u!==null;){for(d=V=u;V!==null;){switch(f=V,p=f.child,f.tag){case 0:case 11:case 14:case 15:Xi(4,f,f.return);break;case 1:Ro(f,f.return);var w=f.stateNode;if(typeof w.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){Se(r,n,g)}}break;case 5:Ro(f,f.return);break;case 22:if(f.memoizedState!==null){Zm(d);continue}}p!==null?(p.return=f,V=p):Zm(d)}u=u.sibling}e:for(u=null,d=e;;){if(d.tag===5){if(u===null){u=d;try{o=d.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=h0("display",s))}catch(g){Se(e,e.return,g)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(g){Se(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Nt(t,e),Qt(e),r&4&&qm(e);break;case 21:break;default:Nt(t,e),Qt(e)}}function Qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Fx(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(as(o,""),r.flags&=-33);var i=Qm(e);Ud(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Qm(e);Bd(e,a,s);break;default:throw Error(D(161))}}catch(l){Se(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fP(e,t,n){V=e,Bx(e)}function Bx(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var o=V,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||ga;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||He;a=ga;var c=He;if(ga=s,(He=l)&&!c)for(V=o;V!==null;)s=V,l=s.child,s.tag===22&&s.memoizedState!==null?Jm(o):l!==null?(l.return=s,V=l):Jm(o);for(;i!==null;)V=i,Bx(i),i=i.sibling;V=o,ga=a,He=c}Xm(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,V=i):Xm(e)}}function Xm(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:He||lc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!He)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ot(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&_m(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_m(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&ds(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}He||t.flags&512&&zd(t)}catch(f){Se(t,t.return,f)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function Zm(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Jm(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{lc(4,t)}catch(l){Se(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Se(t,o,l)}}var i=t.return;try{zd(t)}catch(l){Se(t,i,l)}break;case 5:var s=t.return;try{zd(t)}catch(l){Se(t,s,l)}}}catch(l){Se(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var hP=Math.ceil,Nl=Nn.ReactCurrentDispatcher,Ph=Nn.ReactCurrentOwner,Ct=Nn.ReactCurrentBatchConfig,J=0,De=null,Pe=null,Ve=0,lt=0,No=xr(0),Ne=0,Ss=null,Xr=0,cc=0,kh=0,Zi=null,nt=null,Ah=0,ii=1/0,vn=null,jl=!1,Wd=null,lr=null,ya=!1,er=null,Ml=0,Ji=0,Hd=null,Wa=-1,Ha=0;function Ze(){return J&6?Ce():Wa!==-1?Wa:Wa=Ce()}function cr(e){return e.mode&1?J&2&&Ve!==0?Ve&-Ve:qT.transition!==null?(Ha===0&&(Ha=P0()),Ha):(e=re,e!==0||(e=window.event,e=e===void 0?16:D0(e.type)),e):1}function Bt(e,t,n,r){if(50<Ji)throw Ji=0,Hd=null,Error(D(185));Fs(e,n,r),(!(J&2)||e!==De)&&(e===De&&(!(J&2)&&(cc|=n),Ne===4&&Gn(e,Ve)),st(e,r),n===1&&J===0&&!(t.mode&1)&&(ii=Ce()+500,ic&&wr()))}function st(e,t){var n=e.callbackNode;qE(e,t);var r=ml(e,e===De?Ve:0);if(r===0)n!==null&&lm(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&lm(n),t===1)e.tag===0?QT(eg.bind(null,e)):Z0(eg.bind(null,e)),HT(function(){!(J&6)&&wr()}),n=null;else{switch(k0(r)){case 1:n=eh;break;case 4:n=E0;break;case 16:n=pl;break;case 536870912:n=T0;break;default:n=pl}n=qx(n,Ux.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ux(e,t){if(Wa=-1,Ha=0,J&6)throw Error(D(327));var n=e.callbackNode;if(Fo()&&e.callbackNode!==n)return null;var r=ml(e,e===De?Ve:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Dl(e,r);else{t=r;var o=J;J|=2;var i=Hx();(De!==e||Ve!==t)&&(vn=null,ii=Ce()+500,Wr(e,t));do try{gP();break}catch(a){Wx(e,a)}while(!0);hh(),Nl.current=i,J=o,Pe!==null?t=0:(De=null,Ve=0,t=Ne)}if(t!==0){if(t===2&&(o=vd(e),o!==0&&(r=o,t=Kd(e,o))),t===1)throw n=Ss,Wr(e,0),Gn(e,r),st(e,Ce()),n;if(t===6)Gn(e,r);else{if(o=e.current.alternate,!(r&30)&&!pP(o)&&(t=Dl(e,r),t===2&&(i=vd(e),i!==0&&(r=i,t=Kd(e,i))),t===1))throw n=Ss,Wr(e,0),Gn(e,r),st(e,Ce()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:Rr(e,nt,vn);break;case 3:if(Gn(e,r),(r&130023424)===r&&(t=Ah+500-Ce(),10<t)){if(ml(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ze(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Pd(Rr.bind(null,e,nt,vn),t);break}Rr(e,nt,vn);break;case 4:if(Gn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-zt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hP(r/1960))-r,10<r){e.timeoutHandle=Pd(Rr.bind(null,e,nt,vn),r);break}Rr(e,nt,vn);break;case 5:Rr(e,nt,vn);break;default:throw Error(D(329))}}}return st(e,Ce()),e.callbackNode===n?Ux.bind(null,e):null}function Kd(e,t){var n=Zi;return e.current.memoizedState.isDehydrated&&(Wr(e,t).flags|=256),e=Dl(e,t),e!==2&&(t=nt,nt=n,t!==null&&Gd(t)),e}function Gd(e){nt===null?nt=e:nt.push.apply(nt,e)}function pP(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Wt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gn(e,t){for(t&=~kh,t&=~cc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function eg(e){if(J&6)throw Error(D(327));Fo();var t=ml(e,0);if(!(t&1))return st(e,Ce()),null;var n=Dl(e,t);if(e.tag!==0&&n===2){var r=vd(e);r!==0&&(t=r,n=Kd(e,r))}if(n===1)throw n=Ss,Wr(e,0),Gn(e,t),st(e,Ce()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rr(e,nt,vn),st(e,Ce()),null}function Rh(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(ii=Ce()+500,ic&&wr())}}function Zr(e){er!==null&&er.tag===0&&!(J&6)&&Fo();var t=J;J|=1;var n=Ct.transition,r=re;try{if(Ct.transition=null,re=1,e)return e()}finally{re=r,Ct.transition=n,J=t,!(J&6)&&wr()}}function Nh(){lt=No.current,pe(No)}function Wr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,WT(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch(uh(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&wl();break;case 3:ri(),pe(ot),pe(Ke),xh();break;case 5:vh(r);break;case 4:ri();break;case 13:pe(ve);break;case 19:pe(ve);break;case 10:ph(r.type._context);break;case 22:case 23:Nh()}n=n.return}if(De=e,Pe=e=ur(e.current,null),Ve=lt=t,Ne=0,Ss=null,kh=cc=Xr=0,nt=Zi=null,Mr!==null){for(t=0;t<Mr.length;t++)if(n=Mr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Mr=null}return e}function Wx(e,t){do{var n=Pe;try{if(hh(),za.current=Rl,Al){for(var r=xe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Al=!1}if(qr=0,Me=Re=xe=null,qi=!1,xs=0,Ph.current=null,n===null||n.return===null){Ne=1,Ss=t,Pe=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Ve,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=zm(s);if(p!==null){p.flags&=-257,Bm(p,s,a,i,t),p.mode&1&&$m(i,c,t),t=p,l=c;var w=t.updateQueue;if(w===null){var g=new Set;g.add(l),t.updateQueue=g}else w.add(l);break e}else{if(!(t&1)){$m(i,c,t),jh();break e}l=Error(D(426))}}else if(ge&&a.mode&1){var b=zm(s);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Bm(b,s,a,i,t),dh(oi(l,a));break e}}i=l=oi(l,a),Ne!==4&&(Ne=2),Zi===null?Zi=[i]:Zi.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var v=kx(i,l,t);Om(i,v);break e;case 1:a=l;var y=i.type,x=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(lr===null||!lr.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Ax(i,a,t);Om(i,S);break e}}i=i.return}while(i!==null)}Gx(n)}catch(C){t=C,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function Hx(){var e=Nl.current;return Nl.current=Rl,e===null?Rl:e}function jh(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),De===null||!(Xr&268435455)&&!(cc&268435455)||Gn(De,Ve)}function Dl(e,t){var n=J;J|=2;var r=Hx();(De!==e||Ve!==t)&&(vn=null,Wr(e,t));do try{mP();break}catch(o){Wx(e,o)}while(!0);if(hh(),J=n,Nl.current=r,Pe!==null)throw Error(D(261));return De=null,Ve=0,Ne}function mP(){for(;Pe!==null;)Kx(Pe)}function gP(){for(;Pe!==null&&!zE();)Kx(Pe)}function Kx(e){var t=Qx(e.alternate,e,lt);e.memoizedProps=e.pendingProps,t===null?Gx(e):Pe=t,Ph.current=null}function Gx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=cP(n,t),n!==null){n.flags&=32767,Pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,Pe=null;return}}else if(n=lP(n,t,lt),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Ne===0&&(Ne=5)}function Rr(e,t,n){var r=re,o=Ct.transition;try{Ct.transition=null,re=1,yP(e,t,n,r)}finally{Ct.transition=o,re=r}return null}function yP(e,t,n,r){do Fo();while(er!==null);if(J&6)throw Error(D(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(XE(e,i),e===De&&(Pe=De=null,Ve=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ya||(ya=!0,qx(pl,function(){return Fo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Ct.transition,Ct.transition=null;var s=re;re=1;var a=J;J|=4,Ph.current=null,dP(e,n),zx(n,e),IT(Ed),gl=!!Cd,Ed=Cd=null,e.current=n,fP(n),BE(),J=a,re=s,Ct.transition=i}else e.current=n;if(ya&&(ya=!1,er=e,Ml=o),i=e.pendingLanes,i===0&&(lr=null),HE(n.stateNode),st(e,Ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(jl)throw jl=!1,e=Wd,Wd=null,e;return Ml&1&&e.tag!==0&&Fo(),i=e.pendingLanes,i&1?e===Hd?Ji++:(Ji=0,Hd=e):Ji=0,wr(),null}function Fo(){if(er!==null){var e=k0(Ml),t=Ct.transition,n=re;try{if(Ct.transition=null,re=16>e?16:e,er===null)var r=!1;else{if(e=er,er=null,Ml=0,J&6)throw Error(D(331));var o=J;for(J|=4,V=e.current;V!==null;){var i=V,s=i.child;if(V.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(V=c;V!==null;){var u=V;switch(u.tag){case 0:case 11:case 15:Xi(8,u,i)}var d=u.child;if(d!==null)d.return=u,V=d;else for(;V!==null;){u=V;var f=u.sibling,p=u.return;if(Vx(u),u===c){V=null;break}if(f!==null){f.return=p,V=f;break}V=p}}}var w=i.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(g!==null)}}V=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,V=s;else e:for(;V!==null;){if(i=V,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Xi(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,V=v;break e}V=i.return}}var y=e.current;for(V=y;V!==null;){s=V;var x=s.child;if(s.subtreeFlags&2064&&x!==null)x.return=s,V=x;else e:for(s=y;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:lc(9,a)}}catch(C){Se(a,a.return,C)}if(a===s){V=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,V=S;break e}V=a.return}}if(J=o,wr(),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(ec,e)}catch{}r=!0}return r}finally{re=n,Ct.transition=t}}return!1}function tg(e,t,n){t=oi(n,t),t=kx(e,t,1),e=ar(e,t,1),t=Ze(),e!==null&&(Fs(e,1,t),st(e,t))}function Se(e,t,n){if(e.tag===3)tg(e,e,n);else for(;t!==null;){if(t.tag===3){tg(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(lr===null||!lr.has(r))){e=oi(n,e),e=Ax(t,e,1),t=ar(t,e,1),e=Ze(),t!==null&&(Fs(t,1,e),st(t,e));break}}t=t.return}}function vP(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ze(),e.pingedLanes|=e.suspendedLanes&n,De===e&&(Ve&n)===n&&(Ne===4||Ne===3&&(Ve&130023424)===Ve&&500>Ce()-Ah?Wr(e,0):kh|=n),st(e,t)}function Yx(e,t){t===0&&(e.mode&1?(t=aa,aa<<=1,!(aa&130023424)&&(aa=4194304)):t=1);var n=Ze();e=Pn(e,t),e!==null&&(Fs(e,t,n),st(e,n))}function xP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Yx(e,n)}function wP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Yx(e,n)}var Qx;Qx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)rt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return rt=!1,aP(e,t,n);rt=!!(e.flags&131072)}else rt=!1,ge&&t.flags&1048576&&J0(t,Cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ua(e,t),e=t.pendingProps;var o=ei(t,Ke.current);Vo(t,n),o=bh(null,t,r,e,o,n);var i=Sh();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,it(r)?(i=!0,bl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,gh(t),o.updater=ac,t.stateNode=o,o._reactInternals=t,Dd(t,r,e,n),t=Ld(null,t,r,!0,i,n)):(t.tag=0,ge&&i&&ch(t),Ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ua(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=SP(r),e=Ot(r,e),o){case 0:t=_d(null,t,r,e,n);break e;case 1:t=Hm(null,t,r,e,n);break e;case 11:t=Um(null,t,r,e,n);break e;case 14:t=Wm(null,t,r,Ot(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ot(r,o),_d(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ot(r,o),Hm(e,t,r,o,n);case 3:e:{if(Mx(t),e===null)throw Error(D(387));
vendor: 4,107 bytes, line 41
41r=t.pendingProps,i=t.memoizedState,o=i.element,ix(e,t),Pl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=oi(Error(D(423)),t),t=Km(e,t,r,n,o);break e}else if(r!==o){o=oi(Error(D(424)),t),t=Km(e,t,r,n,o);break e}else for(ut=sr(t.stateNode.containerInfo.firstChild),dt=t,ge=!0,Ft=null,n=rx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ti(),r===o){t=kn(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return sx(t),e===null&&Nd(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Td(r,o)?s=null:i!==null&&Td(r,i)&&(t.flags|=32),jx(e,t),Ye(e,t,s,n),t.child;case 6:return e===null&&Nd(t),null;case 13:return Dx(e,t,n);case 4:return yh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ni(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ot(r,o),Um(e,t,r,o,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ue(El,r._currentValue),r._currentValue=s,i!==null)if(Wt(i.value,s)){if(i.children===o.children&&!ot.current){t=kn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Cn(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),jd(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(D(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),jd(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Vo(t,n),o=Tt(o),r=r(o),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,o=Ot(r,t.pendingProps),o=Ot(r.type,o),Wm(e,t,r,o,n);case 15:return Rx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ot(r,o),Ua(e,t),t.tag=1,it(r)?(e=!0,bl(t)):e=!1,Vo(t,n),Px(t,r,o),Dd(t,r,o,n),Ld(null,t,r,!0,e,n);case 19:return Ox(e,t,n);case 22:return Nx(e,t,n)}throw Error(D(156,t.tag))};function qx(e,t){return C0(e,t)}function bP(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,n,r){return new bP(e,t,n,r)}function Mh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function SP(e){if(typeof e=="function")return Mh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xf)return 11;if(e===Zf)return 14}return 2}function ur(e,t){var n=e.alternate;return n===null?(n=bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ka(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Mh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case wo:return Hr(n.children,o,i,t);case qf:s=8,o|=8;break;case rd:return e=bt(12,n,t,o|2),e.elementType=rd,e.lanes=i,e;
vendor: 5,392 bytes, line 41
41case od:return e=bt(13,n,t,o),e.elementType=od,e.lanes=i,e;case id:return e=bt(19,n,t,o),e.elementType=id,e.lanes=i,e;case s0:return uc(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case o0:s=10;break e;case i0:s=9;break e;case Xf:s=11;break e;case Zf:s=14;break e;case Wn:s=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=bt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Hr(e,t,n,r){return e=bt(7,e,r,t),e.lanes=n,e}function uc(e,t,n,r){return e=bt(22,e,r,t),e.elementType=s0,e.lanes=n,e.stateNode={isHidden:!1},e}function pu(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function mu(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function CP(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qc(0),this.expirationTimes=Qc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Dh(e,t,n,r,o,i,s,a,l){return e=new CP(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=bt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gh(i),e}function EP(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xo,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Xx(e){if(!e)return hr;e=e._reactInternals;e:{if(no(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(it(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(it(n))return X0(e,n,t)}return t}function Zx(e,t,n,r,o,i,s,a,l){return e=Dh(n,r,!0,e,o,i,s,a,l),e.context=Xx(null),n=e.current,r=Ze(),o=cr(n),i=Cn(r,o),i.callback=t??null,ar(n,i,o),e.current.lanes=o,Fs(e,o,r),st(e,r),e}function dc(e,t,n,r){var o=t.current,i=Ze(),s=cr(o);return n=Xx(n),t.context===null?t.context=n:t.pendingContext=n,t=Cn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ar(o,t,s),e!==null&&(Bt(e,o,s,i),$a(e,o,s)),s}function Ol(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ng(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Oh(e,t){ng(e,t),(e=e.alternate)&&ng(e,t)}function TP(){return null}var Jx=typeof reportError=="function"?reportError:function(e){console.error(e)};function _h(e){this._internalRoot=e}fc.prototype.render=_h.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));dc(e,t,null,null)};fc.prototype.unmount=_h.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zr(function(){dc(null,e,null,null)}),t[Tn]=null}};function fc(e){this._internalRoot=e}fc.prototype.unstable_scheduleHydration=function(e){if(e){var t=N0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kn.length&&t!==0&&t<Kn[n].priority;n++);Kn.splice(n,0,e),n===0&&M0(e)}};function Lh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rg(){}function PP(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=Ol(s);i.call(c)}}var s=Zx(t,r,e,0,null,!1,!1,"",rg);return e._reactRootContainer=s,e[Tn]=s.current,ps(e.nodeType===8?e.parentNode:e),Zr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var c=Ol(l);a.call(c)}}var l=Dh(e,0,!1,null,null,!1,!1,"",rg);return e._reactRootContainer=l,e[Tn]=l.current,ps(e.nodeType===8?e.parentNode:e),Zr(function(){dc(t,l,n,r)}),l}function pc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Ol(s);a.call(l)}}dc(t,s,e,o)}else s=PP(n,t,e,o,r);return Ol(s)}A0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bi(t.pendingLanes);n!==0&&(th(t,n|1),st(t,Ce()),!(J&6)&&(ii=Ce()+500,wr()))}break;case 13:Zr(function(){var r=Pn(e,1);if(r!==null){var o=Ze();Bt(r,e,1,o)}}),Oh(e,1)}};nh=function(e){if(e.tag===13){var t=Pn(e,134217728);if(t!==null){var n=Ze();Bt(t,e,134217728,n)}Oh(e,134217728)}};R0=function(e){if(e.tag===13){var t=cr(e),n=Pn(e,t);if(n!==null){var r=Ze();Bt(n,e,t,r)}Oh(e,t)}};N0=function(){return re};j0=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};md=function(e,t,n){switch(t){case"input":if(ld(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oc(r);if(!o)throw Error(D(90));l0(r),ld(r,o)}}}break;case"textarea":u0(e,n);break;case"select":t=n.value,t!=null&&Oo(e,!!n.multiple,t,!1)}};y0=Rh;
41v0=Zr;var kP={usingClientEntryPoint:!1,Events:[zs,Eo,oc,m0,g0,Rh]},ji={findFiberByHostInstance:jr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},AP={bundleType:ji.bundleType,version:ji.version,rendererPackageName:ji.rendererPackageName,rendererConfig:ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=b0(e),e===null?null:e.stateNode},findFiberByHostInstance:ji.findFiberByHostInstance||TP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var va=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!va.isDisabled&&va.supportsFiber)try{ec=va.inject(AP),sn=va}catch{}}pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kP;pt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lh(t))throw Error(D(200));return EP(e,t,null,n)};pt.createRoot=function(e,t){if(!Lh(e))throw Error(D(299));var n=!1,r="",o=Jx;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Dh(e,1,!1,null,null,n,!1,r,o),e[Tn]=t.current,ps(e.nodeType===8?e.parentNode:e),new _h(t)};pt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=b0(t),e=e===null?null:e.stateNode,e};pt.flushSync=function(e){return Zr(e)};pt.hydrate=function(e,t,n){if(!hc(t))throw Error(D(200));return pc(null,e,t,!0,n)};pt.hydrateRoot=function(e,t,n){if(!Lh(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Jx;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Zx(t,null,e,1,n??null,o,!1,i,s),e[Tn]=t.current,ps(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new fc(t)};pt.render=function(e,t,n){if(!hc(t))throw Error(D(200));return pc(null,e,t,!1,n)};pt.unmountComponentAtNode=function(e){if(!hc(e))throw Error(D(40));return e._reactRootContainer?(Zr(function(){pc(null,null,e,!1,function(){e._reactRootContainer=null,e[Tn]=null})}),!0):!1};pt.unstable_batchedUpdates=Rh;pt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!hc(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return pc(e,t,n,!1,r)};pt.version="18.3.1-next-f1338f8080-20240426";function ew(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ew)}catch(e){console.error(e)}}ew(),e0.exports=pt;var Us=e0.exports;const tw=Is(Us);var nw,og=Us;nw=og.createRoot,og.hydrateRoot;var RP=typeof Element<"u",NP=typeof Map=="function",jP=typeof Set=="function",MP=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ga(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ga(e[r],t[r]))return!1;return!0}var i;if(NP&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Ga(r.value[1],t.get(r.value[0])))return!1;return!0}if(jP&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(MP&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(RP&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ga(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var DP=function(t,n){try{return Ga(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const OP=Is(DP);var _P=function(e,t,n,r,o,i,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,s,a],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},LP=_P;const ig=Is(LP);var IP=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;
41if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<s.length;c++){var u=s[c];if(!l(u))return!1;var d=t[u],f=n[u];if(i=r?r.call(o,d,f,u):void 0,i===!1||i===void 0&&d!==f)return!1}return!0};const VP=Is(IP);var rw=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(rw||{}),gu={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},sg=Object.values(rw),mc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ow=Object.entries(mc).reduce((e,[t,n])=>(e[n]=t,e),{}),$t="data-rh",$o={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},zo=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},FP=e=>{let t=zo(e,"title");const n=zo(e,$o.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=zo(e,$o.DEFAULT_TITLE);return t||r||void 0},$P=e=>zo(e,$o.ON_CHANGE_CLIENT_STATE)||(()=>{}),yu=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),zP=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let i=0;i<o.length;i+=1){const a=o[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),BP=e=>console&&typeof console.warn=="function"&&console.warn(e),Mi=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&BP(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const s={};i.filter(l=>{let c;const u=Object.keys(l);for(let f=0;f<u.length;f+=1){const p=u[f],w=p.toLowerCase();t.indexOf(w)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(w==="rel"&&l[w].toLowerCase()==="stylesheet")&&(c=w),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(c=p)}if(!c||!l[c])return!1;const d=l[c].toLowerCase();return r[c]||(r[c]={}),s[c]||(s[c]={}),r[c][d]?!1:(s[c][d]=!0,!0)}).reverse().forEach(l=>o.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const c=a[l],u={...r[c],...s[c]};r[c]=u}return o},[]).reverse()},UP=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},WP=e=>({baseTag:zP(["href"],e),bodyAttributes:yu("bodyAttributes",e),defer:zo(e,$o.DEFER),encode:zo(e,$o.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:yu("htmlAttributes",e),linkTags:Mi("link",["rel","href"],e),metaTags:Mi("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Mi("noscript",["innerHTML"],e),onChangeClientState:$P(e),scriptTags:Mi("script",["src","innerHTML"],e),styleTags:Mi("style",["cssText"],e),title:FP(e),titleAttributes:yu("titleAttributes",e),prioritizeSeoTags:UP(e,$o.PRIORITIZE_SEO_TAGS)}),iw=e=>Array.isArray(e)?e.join(""):e,HP=(e,t)=>
41{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},vu=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(HP(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},ag=(e,t)=>({...e,[t]:void 0}),KP=["noscript","script","style"],Yd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),sw=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),GP=(e,t,n,r)=>{const o=sw(n),i=iw(t);return o?`<${e} ${$t}="true" ${o}>${Yd(i,r)}</${e}>`:`<${e} ${$t}="true">${Yd(i,r)}</${e}>`},YP=(e,t,n=!0)=>t.reduce((r,o)=>{const i=o,s=Object.keys(i).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const d=typeof i[u]>"u"?u:`${u}="${Yd(i[u],n)}"`;return c?`${c} ${d}`:d},""),a=i.innerHTML||i.cssText||"",l=KP.indexOf(e)===-1;return`${r}<${e} ${$t}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),aw=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=mc[r];return n[o||r]=e[r],n},t),QP=(e,t,n)=>{const r={key:t,[$t]:!0},o=aw(n,r);return[R.createElement("title",o,t)]},Ya=(e,t)=>t.map((n,r)=>{const o={key:r,[$t]:!0};return Object.keys(n).forEach(i=>{const a=mc[i]||i;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:l}}else o[a]=n[i]}),R.createElement(e,o)}),yt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>QP(e,t.title,t.titleAttributes),toString:()=>GP(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>aw(t),toString:()=>sw(t)};default:return{toComponent:()=>Ya(e,t),toString:()=>YP(e,t,n)}}},qP=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=vu(e,gu.meta),i=vu(t,gu.link),s=vu(n,gu.script);return{priorityMethods:{toComponent:()=>[...Ya("meta",o.priority),...Ya("link",i.priority),...Ya("script",s.priority)],toString:()=>`${yt("meta",o.priority,r)} ${yt("link",i.priority,r)} ${yt("script",s.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:s.default}},XP=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:d,scriptTags:f}=e,p={toComponent:()=>[],toString:()=>""};return c&&({priorityMethods:p,linkTags:u,metaTags:d,scriptTags:f}=qP(e)),{priority:p,base:yt("base",t,r),bodyAttributes:yt("bodyAttributes",n,r),htmlAttributes:yt("htmlAttributes",o,r),link:yt("link",u,r),meta:yt("meta",d,r),noscript:yt("noscript",i,r),script:yt("script",f,r),style:yt("style",s,r),title:yt("title",{title:a,titleAttributes:l},r)}},Qd=XP,xa=[],Ih=!!(typeof window<"u"&&window.document&&window.document.createElement),qd=class{constructor(e,t){mn(this,"instances",[]);mn(this,"canUseDOM",Ih);mn(this,"context");mn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?xa:this.instances,add:e=>{(this.canUseDOM?xa:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?xa:this.instances).indexOf(e);(this.canUseDOM?xa:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Qd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},ZP=parseInt(R.version.split(".")[0],10),Xd=ZP>=19,JP={},lw=R.createContext(JP),Ir,cw=(Ir=class extends m.Component{constructor(n){super(n);mn(this,"helmetData");Xd?this.helmetData=null:this.helmetData=new qd(this.props.context||{},Ir.canUseDOM)}render(){return Xd?R.createElement(R.Fragment,null,this.props.children):R.createElement(lw.Provider,{value:this.helmetData.value},this.props.children)}},mn(Ir,"canUseDOM",Ih),Ir),po=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${$t}]`),o=[].slice.call(r),i=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText"){const u=a.cssText;l.appendChild(document.createTextNode(u))}else{const u=c,d=typeof a[u]>
41"u"?"":a[u];l.setAttribute(c,d)}l.setAttribute($t,"true"),o.some((c,u)=>(s=u,l.isEqualNode(c)))?o.splice(s,1):i.push(l)}),o.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),i.forEach(a=>n.appendChild(a)),{oldTags:o,newTags:i}},Zd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute($t),o=r?r.split(","):[],i=[...o],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),o.indexOf(a)===-1&&o.push(a);const c=i.indexOf(a);c!==-1&&i.splice(c,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);o.length===i.length?n.removeAttribute($t):n.getAttribute($t)!==s.join(",")&&n.setAttribute($t,s.join(","))},ek=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=iw(e)),Zd("title",t)},lg=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:f}=e;Zd("body",r),Zd("html",o),ek(d,f);const p={baseTag:po("base",n),linkTags:po("link",i),metaTags:po("meta",s),noscriptTags:po("noscript",a),scriptTags:po("script",c),styleTags:po("style",u)},w={},g={};Object.keys(p).forEach(b=>{const{newTags:v,oldTags:y}=p[b];v.length&&(w[b]=v),y.length&&(g[b]=p[b].oldTags)}),t&&t(),l(e,w,g)},Di=null,tk=e=>{Di&&cancelAnimationFrame(Di),e.defer?Di=requestAnimationFrame(()=>{lg(e,()=>{Di=null})}):(lg(e),Di=null)},nk=tk,cg=class extends m.Component{constructor(){super(...arguments);mn(this,"rendered",!1)}shouldComponentUpdate(t){return!VP(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=WP(t.get().map(i=>{const{context:s,...a}=i.props;return a}));cw.canUseDOM?nk(o):Qd&&(r=Qd(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Qa=[],ug=e=>{const t={};for(const n of Object.keys(e))t[ow[n]||n]=e[n];return t},Pr=e=>{const t={};for(const n of Object.keys(e)){const r=mc[n];t[r||n]=e[n]}return t},dg=(e,t)=>{if(!Ih)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",o=n.getAttribute(r),i=o?o.split(","):[],s=Object.keys(t);for(const a of i)s.includes(a)||n.removeAttribute(a);for(const a of s){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},xu=()=>{const e={},t={};for(const n of Qa){const{htmlAttributes:r,bodyAttributes:o}=n.props;r&&Object.assign(e,ug(r)),o&&Object.assign(t,ug(o))}dg("html",e),dg("body",t)},rk=class extends m.Component{componentDidMount(){Qa.push(this),xu()}componentDidUpdate(){xu()}componentWillUnmount(){const e=Qa.indexOf(this);e!==-1&&Qa.splice(e,1),xu()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return R.createElement("title",Pr(t),e)}renderBase(){const{base:e}=this.props;return e?R.createElement("base",Pr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>R.createElement("meta",{key:n,...Pr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>R.createElement("link",{key:n,...Pr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=Pr(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),R.createElement("script",{key:n,...i})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...o}=t,i=Pr(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),R.createElement("style",{key:n,...i})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=Pr(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),R.createElement("noscript",{key:n,...i})})}render(){return R.createElement(R.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},td,ok=(td=class extends m.Component{shouldComponentUpdate(e){return!OP(ag(this.props,"helmetData"),ag(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
41warnOnInvalidChildren(e,t){return ig(sg.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${sg.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),ig(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return R.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...i}=r.props,s=Object.keys(i).reduce((l,c)=>(l[ow[c]||c]=i[c],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,o),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,o);break;default:t=this.mapObjectTypeChildren(r,t,s,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof qd)){const o=r;r=new qd(o.context,!0),delete n.helmetData}return Xd?R.createElement(rk,{...n}):r?R.createElement(cg,{...n,context:r.value}):R.createElement(lw.Consumer,null,o=>R.createElement(cg,{...n,context:o}))}},mn(td,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),td);const ik="modulepreload",sk=function(e){return"/"+e},fg={},ae=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=sk(l),l in fg)return;fg[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":ik,c||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};var gc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yc=typeof window>"u"||"Deno"in globalThis;function _t(){}function ak(e,t){return typeof e=="function"?e(t):e}function lk(e){return typeof e=="number"&&e>=0&&e!==1/0}function ck(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Jd(e,t){return typeof e=="function"?e(t):e}function uk(e,t){return typeof e=="function"?e(t):e}function hg(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Vh(s,t.options))return!1}else if(!Es(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function pg(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Cs(t.options.mutationKey)!==Cs(i))return!1}else if(!Es(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Vh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Cs)(e)}function Cs(e){return JSON.stringify(e,(t,n)=>ef(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Es(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Es(e[n],t[n])):!1}function uw(e,t){if(e===t)return e;const n=mg(e)&&mg(t);if(n||ef(e)&&ef(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<s;u++){const d=n?u:i[u];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,c++):(a[d]=uw(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&c++)}return o===s&&c===o?e:a}return t}function mg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ef(e){if(!gg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!gg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function gg(e){return Object.prototype.toString.call(e)==="[object Object]"}function dk(e){return new Promise(t=>{setTimeout(t,e)})}
vendor: 21,461 bytes, line 41
41function fk(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?uw(e,t):t}function hk(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function pk(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Fh=Symbol();function dw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Fh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vr,Yn,Ho,_v,mk=(_v=class extends gc{constructor(){super();ee(this,Vr);ee(this,Yn);ee(this,Ho);G(this,Ho,t=>{if(!yc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Yn)||this.setEventListener(M(this,Ho))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Yn))==null||t.call(this),G(this,Yn,void 0))}setEventListener(t){var n;G(this,Ho,t),(n=M(this,Yn))==null||n.call(this),G(this,Yn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,Vr)!==t&&(G(this,Vr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,Vr)=="boolean"?M(this,Vr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vr=new WeakMap,Yn=new WeakMap,Ho=new WeakMap,_v),fw=new mk,Ko,Qn,Go,Lv,gk=(Lv=class extends gc{constructor(){super();ee(this,Ko,!0);ee(this,Qn);ee(this,Go);G(this,Go,t=>{if(!yc&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){M(this,Qn)||this.setEventListener(M(this,Go))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Qn))==null||t.call(this),G(this,Qn,void 0))}setEventListener(t){var n;G(this,Go,t),(n=M(this,Qn))==null||n.call(this),G(this,Qn,t(this.setOnline.bind(this)))}setOnline(t){M(this,Ko)!==t&&(G(this,Ko,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return M(this,Ko)}},Ko=new WeakMap,Qn=new WeakMap,Go=new WeakMap,Lv),_l=new gk;function yk(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function vk(e){return Math.min(1e3*2**e,3e4)}function hw(e){return(e??"online")==="online"?_l.isOnline():!0}var pw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function wu(e){return e instanceof pw}function mw(e){let t=!1,n=0,r=!1,o;const i=yk(),s=g=>{var b;r||(f(new pw(g)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>fw.isFocused()&&(e.networkMode==="always"||_l.isOnline())&&e.canRun(),u=()=>hw(e.networkMode)&&e.canRun(),d=g=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,g),o==null||o(),i.resolve(g))},f=g=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,g),o==null||o(),i.reject(g))},p=()=>new Promise(g=>{var b;o=v=>{(r||c())&&g(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(d).catch(v=>{var E;if(r)return;const y=e.retry??(yc?0:3),x=e.retryDelay??vk,S=typeof x=="function"?x(n,v):x,C=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,v);if(t||!C){f(v);return}n++,(E=e.onFail)==null||E.call(e,n,v),dk(S).then(()=>c()?void 0:p()).then(()=>{t?f(v):w()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?w():p().then(w),i)}}var xk=e=>setTimeout(e,0);function wk(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=xk;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Qe=wk(),Fr,Iv,gw=(Iv=class{constructor(){ee(this,Fr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lk(this.gcTime)&&G(this,Fr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(yc?1/0:5*60*1e3))}clearGcTimeout(){M(this,Fr)&&(clearTimeout(M(this,Fr)),G(this,Fr,void 0))}},Fr=new WeakMap,Iv),Yo,$r,vt,zr,We,_s,Br,Lt,yn,Vv,bk=(Vv=class extends gw{constructor(t){super();ee(this,Lt);ee(this,Yo);ee(this,$r);ee(this,vt);ee(this,zr);ee(this,We);ee(this,_s);ee(this,Br);G(this,Br,!1),G(this,_s,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,zr,t.client),G(this,vt,M(this,zr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,Yo,Ck(this.options)),this.state=t.state??M(this,Yo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,We))==null?void 0:t.promise}setOptions(t){this.options={...M(this,_s),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,vt).remove(this)}setData(t,n){const r=fk(this.state.data,t,this.options);return ze(this,Lt,yn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ze(this,Lt,yn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=M(this,We))==null?void 0:r.promise;return(o=M(this,We))==null||o.cancel(t),n?n.then(_t).catch(_t):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,Yo))}isActive(){return this.observers.some(t=>uk(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Jd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!ck(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,We))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,We))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,vt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,We)&&(M(this,Br)?M(this,We).cancel({revert:!0}):M(this,We).cancelRetry()),this.scheduleGc()),M(this,vt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ze(this,Lt,yn).call(this,{type:"invalidate"})}fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,We))return M(this,We).continueRetry(),M(this,We).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,Br,!0),r.signal)})},i=()=>{const f=dw(this.options,n),w=(()=>{const g={client:M(this,zr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return G(this,Br,!1),this.options.persister?this.options.persister(f,w,this):f(w)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,zr),state:this.state,fetchFn:i};return o(f),f})();(c=this.options.behavior)==null||c.onFetch(a,this),G(this,$r,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&ze(this,Lt,yn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,w,g,b;wu(f)&&f.silent||ze(this,Lt,yn).call(this,{type:"error",error:f}),wu(f)||((w=(p=M(this,vt).config).onError)==null||w.call(p,f,this),(b=(g=M(this,vt).config).onSettled)==null||b.call(g,this.state.data,f,this)),this.scheduleGc()};return G(this,We,mw({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,w,g,b;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(v){l(v);return}(w=(p=M(this,vt).config).onSuccess)==null||w.call(p,f,this),(b=(g=M(this,vt).config).onSettled)==null||b.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,p)=>{ze(this,Lt,yn).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{ze(this,Lt,yn).call(this,{type:"pause"})},onContinue:()=>{ze(this,Lt,yn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,We).start()}},Yo=new WeakMap,$r=new WeakMap,vt=new WeakMap,zr=new WeakMap,We=new WeakMap,_s=new WeakMap,Br=new WeakMap,Lt=new WeakSet,yn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Sk(r.data,this.options),fetchMeta:t.meta??null};case"success":return G(this,$r,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return wu(o)&&o.revert&&M(this,$r)?{...M(this,$r),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Qe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),M(this,vt).notify({query:this,type:"updated",action:t})})},Vv);function Sk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:hw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Ck(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zt,Fv,Ek=(Fv=class extends gc{constructor(t={}){super();ee(this,Zt);this.config=t,G(this,Zt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Vh(o,n);let s=this.get(i);return s||(s=new bk({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){M(this,Zt).has(t.queryHash)||(M(this,Zt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=M(this,Zt).get(t.queryHash);n&&(t.destroy(),n===t&&M(this,Zt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return M(this,Zt).get(t)}getAll(){return[...M(this,Zt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>hg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>hg(t,r)):n}notify(t){Qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Qe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Qe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zt=new WeakMap,Fv),Jt,Ge,Ur,en,$n,$v,Tk=($v=class extends gw{constructor(t){super();ee(this,en);ee(this,Jt);ee(this,Ge);ee(this,Ur);this.mutationId=t.mutationId,G(this,Ge,t.mutationCache),G(this,Jt,[]),this.state=t.state||Pk(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){M(this,Jt).includes(t)||(M(this,Jt).push(t),this.clearGcTimeout(),M(this,Ge).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Jt,M(this,Jt).filter(n=>n!==t)),this.scheduleGc(),M(this,Ge).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){M(this,Jt).length||(this.state.status==="pending"?this.scheduleGc():M(this,Ge).remove(this))}continue(){var t;return((t=M(this,Ur))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,c,u,d,f,p,w,g,b,v,y,x,S,C,E,T,P;const n=()=>{ze(this,en,$n).call(this,{type:"continue"})};G(this,Ur,mw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,k)=>{ze(this,en,$n).call(this,{type:"failed",failureCount:N,error:k})},onPause:()=>{ze(this,en,$n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,Ge).canRun(this)}));const r=this.state.status==="pending",o=!M(this,Ur).canStart();try{if(r)n();else{ze(this,en,$n).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=M(this,Ge).config).onMutate)==null?void 0:s.call(i,t,this));const k=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));k!==this.state.context&&ze(this,en,$n).call(this,{type:"pending",context:k,variables:t,isPaused:o})}const N=await M(this,Ur).start();return await((u=(c=M(this,Ge).config).onSuccess)==null?void 0:u.call(c,N,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,N,t,this.state.context)),await((w=(p=M(this,Ge).config).onSettled)==null?void 0:w.call(p,N,null,this.state.variables,this.state.context,this)),await((b=(g=this.options).onSettled)==null?void 0:b.call(g,N,null,t,this.state.context)),ze(this,en,$n).call(this,{type:"success",data:N}),N}catch(N){try{throw await((y=(v=M(this,Ge).config).onError)==null?void 0:y.call(v,N,t,this.state.context,this)),await((S=(x=this.options).onError)==null?void 0:S.call(x,N,t,this.state.context)),await((E=(C=M(this,Ge).config).onSettled)==null?void 0:E.call(C,void 0,N,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,N,t,this.state.context)),N}finally{ze(this,en,$n).call(this,{type:"error",error:N})}}finally{M(this,Ge).runNext(this)}}},Jt=new WeakMap,Ge=new WeakMap,Ur=new WeakMap,en=new WeakSet,$n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Qe.batch(()=>{M(this,Jt).forEach(r=>{r.onMutationUpdate(t)}),M(this,Ge).notify({mutation:this,type:"updated",action:t})})},$v);function Pk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wn,It,Ls,zv,kk=(zv=class extends gc{constructor(t={}){super();ee(this,wn);ee(this,It);ee(this,Ls);this.config=t,G(this,wn,new Set),G(this,It,new Map),G(this,Ls,0)}build(t,n,r){const o=new Tk({mutationCache:this,mutationId:++ta(this,Ls)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){M(this,wn).add(t);const n=wa(t);if(typeof n=="string"){const r=M(this,It).get(n);r?r.push(t):M(this,It).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(M(this,wn).delete(t)){const n=wa(t);if(typeof n=="string"){const r=M(this,It).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&M(this,It).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=wa(t);if(typeof n=="string"){const r=M(this,It).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=wa(t);if(typeof n=="string"){const o=(r=M(this,It).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Qe.batch(()=>{M(this,wn).forEach(t=>{this.notify({type:"removed",mutation:t})}),M(this,wn).clear(),M(this,It).clear()})}getAll(){return Array.from(M(this,wn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pg(n,r))}findAll(t={}){return this.getAll().filter(n=>pg(t,n))}notify(t){Qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Qe.batch(()=>Promise.all(t.map(n=>n.continue().catch(_t))))}},wn=new WeakMap,It=new WeakMap,Ls=new WeakMap,zv);function wa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function yg(e){return{onFetch:(t,n)=>{var u,d,f,p,w;const r=t.options,o=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],s=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const b=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=dw(t.options,t.fetchOptions),y=async(x,S,C)=>{if(g)return Promise.reject();if(S==null&&x.pages.length)return Promise.resolve(x);const T=(()=>{const I={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b(I),I})(),P=await v(T),{maxPages:N}=t.options,k=C?pk:hk;return{pages:k(x.pages,P,N),pageParams:k(x.pageParams,S,N)}};if(o&&i.length){const x=o==="backward",S=x?Ak:vg,C={pages:i,pageParams:s},E=S(r,C);a=await y(C,E,x)}else{const x=e??i.length;do{const S=l===0?s[0]??r.initialPageParam:vg(r,a);if(l>0&&S==null)break;a=await y(a,S),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function vg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ak(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var be,qn,Xn,Qo,qo,Zn,Xo,Zo,Bv,Rk=(Bv=class{constructor(e={}){ee(this,be);ee(this,qn);ee(this,Xn);ee(this,Qo);ee(this,qo);ee(this,Zn);ee(this,Xo);ee(this,Zo);G(this,be,e.queryCache||new Ek),G(this,qn,e.mutationCache||new kk),G(this,Xn,e.defaultOptions||{}),G(this,Qo,new Map),G(this,qo,new Map),G(this,Zn,0)}mount(){ta(this,Zn)._++,M(this,Zn)===1&&(G(this,Xo,fw.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,be).onFocus())})),G(this,Zo,_l.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,be).onOnline())})))}unmount(){var e,t;ta(this,Zn)._--,M(this,Zn)===0&&((e=M(this,Xo))==null||e.call(this),G(this,Xo,void 0),(t=M(this,Zo))==null||t.call(this),G(this,Zo,void 0))}isFetching(e){return M(this,be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,qn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=M(this,be).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Jd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return M(this,be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=M(this,be).get(r.queryHash),i=o==null?void 0:o.state.data,s=ak(t,i);if(s!==void 0)return M(this,be).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Qe.batch(()=>M(this,be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=M(this,be);Qe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=M(this,be);return Qe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Qe.batch(()=>M(this,be).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(_t).catch(_t)}invalidateQueries(e,t={}){return Qe.batch(()=>(M(this,be).findAll(e).forEach(n=>
41{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Qe.batch(()=>M(this,be).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(_t)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(_t)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=M(this,be).build(this,t);return n.isStaleByTime(Jd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_t).catch(_t)}fetchInfiniteQuery(e){return e.behavior=yg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_t).catch(_t)}ensureInfiniteQueryData(e){return e.behavior=yg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return _l.isOnline()?M(this,qn).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,be)}getMutationCache(){return M(this,qn)}getDefaultOptions(){return M(this,Xn)}setDefaultOptions(e){G(this,Xn,e)}setQueryDefaults(e,t){M(this,Qo).set(Cs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...M(this,Qo).values()],n={};return t.forEach(r=>{Es(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){M(this,qo).set(Cs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...M(this,qo).values()],n={};return t.forEach(r=>{Es(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...M(this,Xn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vh(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Fh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,Xn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,be).clear(),M(this,qn).clear()}},be=new WeakMap,qn=new WeakMap,Xn=new WeakMap,Qo=new WeakMap,qo=new WeakMap,Zn=new WeakMap,Xo=new WeakMap,Zo=new WeakMap,Bv),Nk=m.createContext(void 0),jk=({client:e,children:t})=>(m.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(Nk.Provider,{value:e,children:t}));/**
42 * @remix-run/router v1.23.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */function Ts(){return Ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ts.apply(this,arguments)}var tr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(tr||(tr={}));const xg="popstate";function Mk(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return tf("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Ll(o)}return Ok(t,n,null,e)}function ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function yw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dk(){return Math.random().toString(36).substr(2,8)}function wg(e,t){return{usr:e.state,key:e.key,idx:t}}function tf(e,t,n,r){return n===void 0&&(n=null),Ts({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pi(t):t,{state:n,key:t&&t.key||r||Dk()})}function Ll(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ok(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=tr.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(Ts({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=tr.Pop;let b=u(),v=b==null?null:b-c;c=b,l&&l({action:a,location:g.location,delta:v})}function f(b,v){a=tr.Push;let y=tf(g.location,b,v);c=u()+1;let x=wg(y,c),S=g.createHref(y);try{s.pushState(x,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&l&&l({action:a,location:g.location,delta:1})}function p(b,v){a=tr.Replace;let y=tf(g.location,b,v);c=u();let x=wg(y,c),S=g.createHref(y);s.replaceState(x,"",S),i&&l&&l({action:a,location:g.location,delta:0})}function w(b){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof b=="string"?b:Ll(b);return y=y.replace(/ $/,"%20"),ke(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return a},get location(){return e(o,s)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(xg,d),l=b,()=>{o.removeEventListener(xg,d),l=null}},createHref(b){return t(o,b)},createURL:w,encodeLocation(b){let v=w(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:p,go(b){return s.go(b)}};return g}var bg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(bg||(bg={}));function _k(e,t,n){return n===void 0&&(n="/"),Lk(e,t,n,!1)}function Lk(e,t,n,r){let o=typeof t=="string"?pi(t):t,i=$h(o.pathname||"/",n);if(i==null)return null;let s=vw(e);Ik(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=Yk(i);a=Kk(s[l],c,r)}return a}function vw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(ke(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
50id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=dr([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(ke(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),vw(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Wk(c,i.index),routesMeta:u})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of xw(i.path))o(i,s,l)}),t}function xw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=xw(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Ik(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Hk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Vk=/^:[\w-]+$/,Fk=3,$k=2,zk=1,Bk=10,Uk=-2,Sg=e=>e==="*";function Wk(e,t){let n=e.split("/"),r=n.length;return n.some(Sg)&&(r+=Uk),t&&(r+=$k),n.filter(o=>!Sg(o)).reduce((o,i)=>o+(Vk.test(i)?Fk:i===""?zk:Bk),r)}function Hk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Kk(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",d=Cg({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),f=l.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Cg({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!d)return null;
vendor: 9,180 bytes, lines 50-59
50Object.assign(o,d.params),s.push({params:o,pathname:dr([i,d.pathname]),pathnameBase:Zk(dr([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=dr([i,d.pathnameBase]))}return s}function Cg(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Gk(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,u,d)=>{let{paramName:f,isOptional:p}=u;if(f==="*"){let g=a[d]||"";s=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=a[d];return p&&!w?c[f]=void 0:c[f]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function Gk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Yk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return yw(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $h(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Qk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?pi(e):e;return{pathname:n?n.startsWith("/")?n:qk(n,t):t,search:Jk(r),hash:e2(o)}}function qk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function bu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Xk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ww(e,t){let n=Xk(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function bw(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=pi(e):(o=Ts({},e),ke(!o.pathname||!o.pathname.includes("?"),bu("?","pathname","search",o)),ke(!o.pathname||!o.pathname.includes("#"),bu("#","pathname","hash",o)),ke(!o.search||!o.search.includes("#"),bu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=Qk(o,a),c=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const dr=e=>e.join("/").replace(/\/\/+/g,"/"),Zk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Jk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,e2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function t2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Sw=["post","put","patch","delete"];new Set(Sw);const n2=["get",...Sw];new Set(n2);/**
51 * React Router v6.30.1
52 *
53 * Copyright (c) Remix Software Inc.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE.md file in the root directory of this source tree.
57 *
58 * @license MIT
59 */function Ps(){return Ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ps.apply(this,arguments)}const zh=m.createContext(null),r2=m.createContext(null),ro=m.createContext(null),vc=m.createContext(null),oo=m.createContext({outlet:null,matches:[],isDataRoute:!1}),Cw=m.createContext(null);function o2(e,t){let{relative:n}=t===void 0?{}:t;Ws()||ke(!1);let{basename:r,navigator:o}=m.useContext(ro),{hash:i,pathname:s,search:a}=Tw(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:dr([r,s])),o.createHref({pathname:l,search:a,hash:i})}function Ws(){return m.useContext(vc)!=null}function Hs(){return Ws()||ke(!1),m.useContext(vc).location}function Ew(e){m.useContext(ro).static||m.useLayoutEffect(e)}function i2(){let{isDataRoute:e}=m.useContext(oo);return e?v2():s2()}function s2(){Ws()||ke(!1);let e=m.useContext(zh),{basename:t,future:n,navigator:r}=m.useContext(ro),{matches:o}=m.useContext(oo),{pathname:i}=Hs(),s=JSON.stringify(ww(o,n.v7_relativeSplatPath)),a=m.useRef(!1);return Ew(()=>{a.current=!0}),m.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let d=bw(c,JSON.parse(s),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:dr([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,s,i,e])}function Tw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=m.useContext(ro),{matches:o}=m.useContext(oo),{pathname:i}=Hs(),s=JSON.stringify(ww(o,r.v7_relativeSplatPath));return m.useMemo(()=>bw(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function a2(e,t){return l2(e,t)}function l2(e,t,n,r){Ws()||ke(!1);let{navigator:o}=m.useContext(ro),{matches:i}=m.useContext(oo),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=Hs(),u;if(t){var d;let b=typeof t=="string"?pi(t):t;l==="/"||(d=b.pathname)!=null&&d.startsWith(l)||ke(!1),u=b}else u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=_k(e,{pathname:p}),g=h2(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:dr([l,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:dr([l,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&g?m.createElement(vc.Provider,{value:{location:Ps({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:tr.Pop}},g):g}function c2(){let e=y2(),t=t2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:o},n):null,null)}const u2=m.createElement(c2,null);class d2 extends m.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?m.createElement(oo.Provider,{value:this.props.routeContext},m.createElement(Cw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function f2(e){let{routeContext:t,match:n,children:r}=e,o=m.useContext(zh);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),m.createElement(oo.Provider,{value:t},r)}function h2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let u=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);u>=0||ke(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=u),d.route.id){let{loaderData:f,errors:p}=n,w=d.route.loader&&f[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||w){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,d,f)=>{let p,w=!1,g=null,b=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||u2,l&&(c<0&&f===0?(w=!0,b=null):c===f&&(w=!0,b=d.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,f+1)),y=()=>{let x;return p?x=g:w?x=b:d.route.Component?x=m.createElement(d.route.Component,null):d.route.element?x=d.route.element:x=u,m.createElement(f2,{match:d,routeC
59ontext:{outlet:u,matches:v,isDataRoute:n!=null},children:x})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?m.createElement(d2,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var Pw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Pw||{}),Il=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Il||{});function p2(e){let t=m.useContext(zh);return t||ke(!1),t}function m2(e){let t=m.useContext(r2);return t||ke(!1),t}function g2(e){let t=m.useContext(oo);return t||ke(!1),t}function kw(e){let t=g2(),n=t.matches[t.matches.length-1];return n.route.id||ke(!1),n.route.id}function y2(){var e;let t=m.useContext(Cw),n=m2(Il.UseRouteError),r=kw(Il.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function v2(){let{router:e}=p2(Pw.UseNavigateStable),t=kw(Il.UseNavigateStable),n=m.useRef(!1);return Ew(()=>{n.current=!0}),m.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ps({fromRouteId:t},i)))},[e,t])}function x2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Z(e){ke(!1)}function w2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=tr.Pop,navigator:i,static:s=!1,future:a}=e;Ws()&&ke(!1);let l=t.replace(/^\/*/,"/"),c=m.useMemo(()=>({basename:l,navigator:i,static:s,future:Ps({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=pi(r));let{pathname:u="/",search:d="",hash:f="",state:p=null,key:w="default"}=r,g=m.useMemo(()=>{let b=$h(u,l);return b==null?null:{location:{pathname:b,search:d,hash:f,state:p,key:w},navigationType:o}},[l,u,d,f,p,w,o]);return g==null?null:m.createElement(ro.Provider,{value:c},m.createElement(vc.Provider,{children:n,value:g}))}function b2(e){let{children:t,location:n}=e;return a2(nf(t),n)}new Promise(()=>{});function nf(e,t){t===void 0&&(t=[]);let n=[];return m.Children.forEach(e,(r,o)=>{if(!m.isValidElement(r))return;let i=[...t,o];if(r.type===m.Fragment){n.push.apply(n,nf(r.props.children,i));return}r.type!==Z&&ke(!1),!r.props.index||!r.props.children||ke(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=nf(r.props.children,i)),n.push(s)}),n}/**
60 * React Router DOM v6.30.1
61 *
62 * Copyright (c) Remix Software Inc.
63 *
64 * This source code is licensed under the MIT license found in the
65 * LICENSE.md file in the root directory of this source tree.
66 *
67 * @license MIT
68 */function rf(){return rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rf.apply(this,arguments)}function S2(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function C2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function E2(e,t){return e.button===0&&(!t||t==="_self")&&!C2(e)}const T2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],P2="6";try{window.__reactRouterVersion=P2}catch{}const k2="startTransition",Eg=Kf[k2];function A2(e){let{basename:t,children:n,future:r,window:o}=e,i=m.useRef();i.current==null&&(i.current=Mk({window:o,v5Compat:!0}));let s=i.current,[a,l]=m.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=m.useCallback(d=>{c&&Eg?Eg(()=>l(d)):l(d)},[l,c]);return m.useLayoutEffect(()=>s.listen(u),[s,u]),m.useEffect(()=>x2(r),[r]),m.createElement(w2,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const R2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",N2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qa=m.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,f=S2(t,T2),{basename:p}=m.useContext(ro),w,g=!1;if(typeof c=="string"&&N2.test(c)&&(w=c,R2))try{let x=new URL(window.location.href),S=c.startsWith("//")?new URL(x.protocol+c):new URL(c),C=$h(S.pathname,p);S.origin===x.origin&&C!=null?c=C+S.search+S.hash:g=!0}catch{}let b=o2(c,{relative:o}),v=j2(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,viewTransition:d});function y(x){r&&r(x),x.defaultPrevented||v(x)}return m.createElement("a",rf({},f,{href:w||b,onClick:g||i?r:y,ref:n,target:l}))});var Tg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Tg||(Tg={}));var Pg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Pg||(Pg={}));function j2(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=i2(),c=Hs(),u=Tw(e,{relative:s});return m.useCallback(d=>
68{if(E2(d,n)){d.preventDefault();let f=r!==void 0?r:Ll(c)===Ll(u);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[c,l,u,r,o,n,e,i,s,a])}var kg=["light","dark"],M2="(prefers-color-scheme: dark)",D2=m.createContext(void 0),O2={setTheme:e=>{},themes:[]},_2=()=>{var e;return(e=m.useContext(D2))!=null?e:O2};m.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let c=i==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?kg.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(w,g=!1,b=!0)=>{let v=s?s[w]:w,y=g?w+"|| ''":`'${v}'`,x="";return o&&b&&!g&&kg.includes(w)&&(x+=`d.style.colorScheme = '${w}';`),n==="class"?g||v?x+=`c.add(${y})`:x+="null":v&&(x+=`d[s](n,${y})`),x},p=e?`!function(){${u}${f(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${M2}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${c?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return m.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var L2=e=>{switch(e){case"success":return F2;case"info":return z2;case"warning":return $2;case"error":return B2;default:return null}},I2=Array(12).fill(0),V2=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},I2.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),F2=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),$2=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),z2=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),B2=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),U2=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),W2=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},of=1,H2=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
68{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:of++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
68this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],R.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(G2(l)&&!l.ok){o=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){o=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>s.then(()=>i[0]==="reject"?c(i[1]):l(i[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||of++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},tt=new H2,K2=(e,t)=>{let n=(t==null?void 0:t.id)||of++;return tt.addToast({title:e,...t,id:n}),n},G2=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Y2=K2,Q2=()=>tt.toasts,q2=()=>tt.getActiveToasts();Object.assign(Y2,{success:tt.success,info:tt.info,warning:tt.warning,error:tt.error,custom:tt.custom,message:tt.message,promise:tt.promise,dismiss:tt.dismiss,loading:tt.loading},{getHistory:Q2,getToasts:q2});function X2(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}X2(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
68left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
68:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
68--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
69`);function ba(e){return e.label!==void 0}var Z2=3,J2="32px",eA="16px",Ag=4e3,tA=356,nA=14,rA=20,oA=200;function jt(...e){return e.filter(Boolean).join(" ")}function iA(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var sA=e=>{var t,n,r,o,i,s,a,l,c,u,d;let{invert:f,toast:p,unstyled:w,interacting:g,setHeights:b,visibleToasts:v,heights:y,index:x,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:P,style:N,cancelButtonStyle:k,actionButtonStyle:I,className:_="",descriptionClassName:U="",duration:O,position:W,gap:$,loadingIcon:H,expandByDefault:A,classNames:j,icons:L,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:z}
69=e,[Q,X]=R.useState(null),[Ee,$e]=R.useState(null),[ne,so]=R.useState(!1),[jn,Cr]=R.useState(!1),[Mn,ao]=R.useState(!1),[Dn,Zs]=R.useState(!1),[Fc,Js]=R.useState(!1),[$c,Si]=R.useState(0),[lo,Up]=R.useState(0),Ci=R.useRef(p.duration||O||Ag),Wp=R.useRef(null),Er=R.useRef(null),KC=x===0,GC=x+1<=v,gt=p.type,co=p.dismissible!==!1,YC=p.className||"",QC=p.descriptionClassName||"",ea=R.useMemo(()=>y.findIndex(K=>K.toastId===p.id)||0,[y,p.id]),qC=R.useMemo(()=>{var K;return(K=p.closeButton)!=null?K:P},[p.closeButton,P]),Hp=R.useMemo(()=>p.duration||O||Ag,[p.duration,O]),zc=R.useRef(0),uo=R.useRef(0),Kp=R.useRef(0),fo=R.useRef(null),[XC,ZC]=W.split("-"),Gp=R.useMemo(()=>y.reduce((K,oe,me)=>me>=ea?K:K+oe.height,0),[y,ea]),Yp=W2(),JC=p.invert||f,Bc=gt==="loading";uo.current=R.useMemo(()=>ea*$+Gp,[ea,Gp]),R.useEffect(()=>{Ci.current=Hp},[Hp]),R.useEffect(()=>{so(!0)},[]),R.useEffect(()=>{let K=Er.current;if(K){let oe=K.getBoundingClientRect().height;return Up(oe),b(me=>[{toastId:p.id,height:oe,position:p.position},...me]),()=>b(me=>me.filter(kt=>kt.toastId!==p.id))}},[b,p.id]),R.useLayoutEffect(()=>{if(!ne)return;let K=Er.current,oe=K.style.height;K.style.height="auto";let me=K.getBoundingClientRect().height;K.style.height=oe,Up(me),b(kt=>kt.find(At=>At.toastId===p.id)?kt.map(At=>At.toastId===p.id?{...At,height:me}:At):[{toastId:p.id,height:me,position:p.position},...kt])},[ne,p.title,p.description,b,p.id]);let On=R.useCallback(()=>{Cr(!0),Si(uo.current),b(K=>K.filter(oe=>oe.toastId!==p.id)),setTimeout(()=>{E(p)},oA)},[p,E,b,uo]);R.useEffect(()=>{if(p.promise&&gt==="loading"||p.duration===1/0||p.type==="loading")return;let K;return C||g||z&&Yp?(()=>{if(Kp.current<zc.current){let oe=new Date().getTime()-zc.current;Ci.current=Ci.current-oe}Kp.current=new Date().getTime()})():Ci.current!==1/0&&(zc.current=new Date().getTime(),K=setTimeout(()=>{var oe;(oe=p.onAutoClose)==null||oe.call(p,p),On()},Ci.current)),()=>clearTimeout(K)},[C,g,p,gt,z,Yp,On]),R.useEffect(()=>{p.delete&&On()},[On,p.delete]);function eE(){var K,oe,me;return L!=null&&L.loading?R.createElement("div",{className:jt(j==null?void 0:j.loader,(K=p==null?void 0:p.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":gt==="loading"},L.loading):H?R.createElement("div",{className:jt(j==null?void 0:j.loader,(oe=p==null?void 0:p.classNames)==null?void 0:oe.loader,"sonner-loader"),"data-visible":gt==="loading"},H):R.createElement(V2,{className:jt(j==null?void 0:j.loader,(me=p==null?void 0:p.classNames)==null?void 0:me.loader),visible:gt==="loading"})}return R.createElement("li",{tabIndex:0,ref:Er,className:jt(_,YC,j==null?void 0:j.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[gt],(n=p==null?void 0:p.classNames)==null?void 0:n[gt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||w),"data-mounted":ne,"data-promise":!!p.promise,"data-swiped":Fc,"data-removed":jn,"data-visible":GC,"data-y-position":XC,"data-x-position":ZC,"data-index":x,"data-front":KC,"data-swiping":Mn,"data-dismissible":co,"data-type":gt,"data-invert":JC,"data-swipe-out":Dn,"data-swipe-direction":Ee,"data-expanded":!!(C||A&&ne),style:{"--index":x,"--toasts-before":x,"--z-index":S.length-x,"--offset":`${jn?$c:uo.current}px`,"--initial-height":A?"auto":`${lo}px`,...N,...p.style},onDragEnd:()=>{ao(!1),X(null),fo.current=null},onPointerDown:K=>{Bc||!co||(Wp.current=new Date,Si(uo.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(ao(!0),fo.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,oe,me,kt;if(Dn||!co)return;fo.current=null;let At=Number(((K=Er.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),_n=Number(((oe=Er.current)==null?void 0:oe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Tr=new Date().getTime()-((me=Wp.current)==null?void 0:me.getTime()),Rt=Q==="x"?At:_n,Ln=Math.abs(Rt)/Tr;if(Math.abs(Rt)>=rA||Ln>.11){Si(uo.current),(kt=p.onDismiss)==null||kt.call(p,p),$e(Q==="x"?At>0?"right":"left":_n>0?"down":"up"),On(),Zs(!0),Js(!1);return}ao(!1),X(null)},onPointerMove:K=>{var oe,me,kt,At;if(!fo.current||!co||((oe=window.getSelection())==null?void 0:oe.toString().length)>0)return;let _n=K.clientY-fo.current.y,Tr=K.clientX-fo.current.x,Rt=(me=e.swipeDirections)!=null?me:iA(W);!Q&&(Math.abs(Tr)>1||Math.abs(_n)>1)&&X(Math.abs(Tr)>Math.abs(_n)?"x":"y");let Ln={x:0,y:0};Q==="y"?(Rt.includes("top")||Rt.includes("bottom"))&&(Rt.includes("top")&&_n<0||Rt.includes("bottom")&&_n>0)&&(Ln.y=_n):Q==="x"&&(Rt.includes("left")||Rt.includes("right"))&&(Rt.includes("left")&&Tr<0||Rt.includes("right")&&Tr>0)&&(Ln.x=Tr),(Math.abs(Ln.x)>0||Math.abs(Ln.y)>0)&&Js(!0),(kt=Er.current)==null||kt.style.setProperty("--swipe-amount-x",`${Ln.x}px`),(At=Er.current)==null||At.style.setProperty("--swipe-amount-y",`${Ln.y}px`)}},qC&&!p.jsx?R.createElement("button",{"aria-label":B,"data-disabled":
vendor: 5,076 bytes, line 69
69Bc,"data-close-button":!0,onClick:Bc||!co?()=>{}:()=>{var K;On(),(K=p.onDismiss)==null||K.call(p,p)},className:jt(j==null?void 0:j.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(i=L==null?void 0:L.close)!=null?i:U2):null,p.jsx||m.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:R.createElement(R.Fragment,null,gt||p.icon||p.promise?R.createElement("div",{"data-icon":"",className:jt(j==null?void 0:j.icon,(s=p==null?void 0:p.classNames)==null?void 0:s.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||eE():null,p.type!=="loading"?p.icon||(L==null?void 0:L[gt])||L2(gt):null):null,R.createElement("div",{"data-content":"",className:jt(j==null?void 0:j.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},R.createElement("div",{"data-title":"",className:jt(j==null?void 0:j.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?R.createElement("div",{"data-description":"",className:jt(U,QC,j==null?void 0:j.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),m.isValidElement(p.cancel)?p.cancel:p.cancel&&ba(p.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||k,onClick:K=>{var oe,me;ba(p.cancel)&&co&&((me=(oe=p.cancel).onClick)==null||me.call(oe,K),On())},className:jt(j==null?void 0:j.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,m.isValidElement(p.action)?p.action:p.action&&ba(p.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||I,onClick:K=>{var oe,me;ba(p.action)&&((me=(oe=p.action).onClick)==null||me.call(oe,K),!K.defaultPrevented&&On())},className:jt(j==null?void 0:j.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};function Rg(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function aA(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?eA:J2;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${s}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${s}-${c}`]=a:n[`${s}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var lA=m.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:d,duration:f,style:p,visibleToasts:w=Z2,toastOptions:g,dir:b=Rg(),gap:v=nA,loadingIcon:y,icons:x,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=R.useState([]),P=R.useMemo(()=>Array.from(new Set([r].concat(E.filter(z=>z.position).map(z=>z.position)))),[E,r]),[N,k]=R.useState([]),[I,_]=R.useState(!1),[U,O]=R.useState(!1),[W,$]=R.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=R.useRef(null),A=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=R.useRef(null),L=R.useRef(!1),B=R.useCallback(z=>{T(Q=>{var X;return(X=Q.find(Ee=>Ee.id===z.id))!=null&&X.delete||tt.dismiss(z.id),Q.filter(({id:Ee})=>Ee!==z.id)})},[]);return R.useEffect(()=>tt.subscribe(z=>{if(z.dismiss){T(Q=>Q.map(X=>X.id===z.id?{...X,delete:!0}:X));return}setTimeout(()=>{tw.flushSync(()=>{T(Q=>{let X=Q.findIndex(Ee=>Ee.id===z.id);return X!==-1?[...Q.slice(0,X),{...Q[X],...z},...Q.slice(X+1)]:[z,...Q]})})})}),[]),R.useEffect(()=>{if(u!=="system"){$(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{$(Q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{$(X?"dark":"light")}catch(Ee){console.error(Ee)}})}},[u]),R.useEffect(()=>{E.length<=1&&_(!1)},[E]),R.useEffect(()=>{let z=Q=>{var X,Ee;o.every($e=>Q[$e]||Q.code===$e)&&(_(!0),(X=H.current)==null||X.focus()),Q.code==="Escape"&&(document.activeElement===H.current||(Ee=H.current)!=null&&Ee.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),R.useEffect(()=>{if(H.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,L.current=!1)}},[H.current]),R.createElement("section",{ref:t,"aria-label":`${S} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((z,Q)=>{var X;let[Ee,$e]=z.split("-");return E.length?R.createElement("ol",{key:z,dir:b==="auto"?Rg():b,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":Ee,"data-lifted":I&&E.length>
691&&!i,"data-x-position":$e,style:{"--front-toast-height":`${((X=N[0])==null?void 0:X.height)||0}px`,"--width":`${tA}px`,"--gap":`${v}px`,...p,...aA(l,c)},onBlur:ne=>{L.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(L.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||L.current||(L.current=!0,j.current=ne.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{U||_(!1)},onDragEnd:()=>_(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(ne=>!ne.position&&Q===0||ne.position===z).map((ne,so)=>{var jn,Cr;return R.createElement(sA,{key:ne.id,icons:x,index:so,toast:ne,defaultRichColors:d,duration:(jn=g==null?void 0:g.duration)!=null?jn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:w,closeButton:(Cr=g==null?void 0:g.closeButton)!=null?Cr:s,interacting:U,position:z,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:B,toasts:E.filter(Mn=>Mn.position==ne.position),heights:N.filter(Mn=>Mn.position==ne.position),setHeights:k,expandByDefault:i,gap:v,loadingIcon:y,expanded:I,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const cA=({...e})=>{const{theme:t="system"}=_2();return h.jsx(lA,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},uA=1,dA=1e6;let Su=0;function fA(){return Su=(Su+1)%Number.MAX_SAFE_INTEGER,Su.toString()}const Cu=new Map,Ng=e=>{if(Cu.has(e))return;const t=setTimeout(()=>{Cu.delete(e),es({type:"REMOVE_TOAST",toastId:e})},dA);Cu.set(e,t)},hA=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,uA)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Ng(n):e.toasts.forEach(r=>{Ng(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Xa=[];let Za={toasts:[]};function es(e){Za=hA(Za,e),Xa.forEach(t=>{t(Za)})}function pA({...e}){const t=fA(),n=o=>es({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>es({type:"DISMISS_TOAST",toastId:t});return es({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function mA(){const[e,t]=m.useState(Za);return m.useEffect(()=>(Xa.push(t),()=>{const n=Xa.indexOf(t);n>-1&&Xa.splice(n,1)}),[e]),{...e,toast:pA,dismiss:n=>es({type:"DISMISS_TOAST",toastId:n})}}function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function jg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Aw(...e){return t=>{let n=!1;const r=e.map(o=>{const i=jg(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():jg(e[o],null)}}}}function je(...e){return m.useCallback(Aw(...e),e)}function gA(e,t){const n=m.createContext(t),r=i=>{const{children:s,...a}=i,l=m.useMemo(()=>a,Object.values(a));return h.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function o(i){const s=m.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function br(e,t=[]){let n=[];function r(i,s){const a=m.createContext(s),l=n.length;n=[...n,s];const c=d=>{var v;const{scope:f,children:p,...w}=d,g=((v=f==null?void 0:f[e])==null?void 0:v[l])||a,b=m.useMemo(()=>w,Object.values(w));return h.jsx(g.Provider,{value:b,children:p})};c.displayName=i+"Provider";function u(d,f){var g;const p=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,w=m.useContext(p);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[c,u]}const o=()=>{const i=n.map(s=>m.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return m.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,yA(o,...t)]}function yA(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:c}
vendor: 10,635 bytes, line 69
69)=>{const d=l(i)[`__scope${c}`];return{...a,...d}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ks(e){const t=xA(e),n=m.forwardRef((r,o)=>{const{children:i,...s}=r,a=m.Children.toArray(i),l=a.find(bA);if(l){const c=l.props.children,u=a.map(d=>d===l?m.Children.count(c)>1?m.Children.only(null):m.isValidElement(c)?c.props.children:null:d);return h.jsx(t,{...s,ref:o,children:m.isValidElement(c)?m.cloneElement(c,void 0,u):null})}return h.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var vA=ks("Slot");function xA(e){const t=m.forwardRef((n,r)=>{const{children:o,...i}=n;if(m.isValidElement(o)){const s=CA(o),a=SA(i,o.props);return o.type!==m.Fragment&&(a.ref=r?Aw(r,s):s),m.cloneElement(o,a)}return m.Children.count(o)>1?m.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Rw=Symbol("radix.slottable");function wA(e){const t=({children:n})=>h.jsx(h.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Rw,t}function bA(e){return m.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Rw}function SA(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function CA(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Nw(e){const t=e+"CollectionProvider",[n,r]=br(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:b,children:v}=g,y=R.useRef(null),x=R.useRef(new Map).current;return h.jsx(o,{scope:b,itemMap:x,collectionRef:y,children:v})};s.displayName=t;const a=e+"CollectionSlot",l=ks(a),c=R.forwardRef((g,b)=>{const{scope:v,children:y}=g,x=i(a,v),S=je(b,x.collectionRef);return h.jsx(l,{ref:S,children:y})});c.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=ks(u),p=R.forwardRef((g,b)=>{const{scope:v,children:y,...x}=g,S=R.useRef(null),C=je(b,S),E=i(u,v);return R.useEffect(()=>(E.itemMap.set(S,{ref:S,...x}),()=>void E.itemMap.delete(S))),h.jsx(f,{[d]:"",ref:C,children:y})});p.displayName=u;function w(g){const b=i(e+"CollectionConsumer",g);return R.useCallback(()=>{const y=b.collectionRef.current;if(!y)return[];const x=Array.from(y.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((E,T)=>x.indexOf(E.ref.current)-x.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:c,ItemSlot:p},w,r]}var EA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=EA.reduce((e,t)=>{const n=ks(`Primitive.${t}`),r=m.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function jw(e,t){e&&Us.flushSync(()=>e.dispatchEvent(t))}function un(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function TA(e,t=globalThis==null?void 0:globalThis.document){const n=un(e);m.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var PA="DismissableLayer",sf="dismissableLayer.update",kA="dismissableLayer.pointerDownOutside",AA="dismissableLayer.focusOutside",Mg,Mw=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xc=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,c=m.useContext(Mw),[u,d]=m.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=m.useState({}),w=je(t,T=>d(T)),g=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(b),y=u?g.indexOf(u):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,S=y>=v,C=NA(T=>{const P=T.target,N=[...c.branches].some(k=>k.contains(P));!S||N||(o==null||o(T),s==null||s(T),T.defaultPrevented||a==null||a())},f),E=jA(T=>{const P=T.target;[...c.branches].some(k=>k.contains(P))||(i==null||i(T),s==null||s(T),T.defaultPrevented||a==null||a())},f);return TA(T=>{y===c.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),m.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Mg=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Dg(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Mg)}},[u,f,n,c]),m.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Dg())},[u,c]),m.useEffect(()=>{const T=()=>p({});return document.addEventListener(sf,T),()=>document.removeEventListener(sf,T)},[]),h.jsx(le.div,{...l,ref:w,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,C.onPointerDownCapture)})});xc.displayName=PA;var RA="DismissableLayerBranch",Dw=m.forwardRef((e,t)=>{const n=m.useContext(Mw),r=m.useRef(null),o=je(t,r);return m.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),h.jsx(le.div,{...e,ref:o})});Dw.displayName=RA;function NA(e,t=globalThis==null?void 0:globalThis.document){const n=un(e),r=m.useRef(!1),o=m.useRef(()=>{});return m.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Ow(kA,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function jA(e,t=globalThis==null?void 0:globalThis.document){const n=un(e),r=m.useRef(!1);return m.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ow(AA,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Dg(){const e=new CustomEvent(sf);document.dispatchEvent(e)}function Ow(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?jw(o,i):o.dispatchEvent(i)}var MA=xc,DA=Dw,dn=globalThis!=null&&globalThis.document?m.useLayoutEffect:()=>{},OA="Portal",Bh=m.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=m.useState(!1);dn(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?tw.createPortal(h.jsx(le.div,{...r,ref:t}),s):null});Bh.displayName=OA;function _A(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}var io=e=>{const{present:t,children:n}=e,r=LA(t),o=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),i=je(r.ref,IA(o));return typeof n=="function"||r.isPresent?m.cloneElement(o,{ref:i}):null};io.displayName="Presence";function LA(e){const[t,n]=m.useState(),r=m.useRef(null),o=m.useRef(e),i=m.useRef("none"),s=e?"mounted":"unmounted",[a,l]=_A(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const c=Sa(r.current);i.current=a==="mounted"?c:"none"},[a]),dn(()=>{const c=r.current,u=o.current;if(u!==e){const f=i.current,p=Sa(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),dn(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=p=>{const g=Sa(r.current).includes(p.animationName);if(p.target===t&&g&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},f=p=>{p.target===t&&(i.current=Sa(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:m.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Sa(e){return(e==null?void 0:e.animationName)||"none"}function IA(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var VA=Kf[" useInsertionEffect ".trim().toString()]||dn;function mi({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=FA({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const u=m.useRef(e!==void 0);m.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,r])}const c=m.useCallback(u=>{var d;if(a){const f=$A(u)?u(e):u;f!==e&&((d=s.current)==null||d.call(s,f))}else i(u)},[a,e,i,s]);return[l,c]}function FA({defaultProp:e,onChange:t}){const[n,r]=m.useState(e),o=m.useRef(n),i=m.useRef(t);return VA(()=>{i.current=t},[t]),m.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function $A(e){return typeof e=="function"}var zA=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),BA="VisuallyHidden",wc=m.forwardRef((e,t)=>
69h.jsx(le.span,{...e,ref:t,style:{...zA,...e.style}}));wc.displayName=BA;var UA=wc,Uh="ToastProvider",[Wh,WA,HA]=Nw("Toast"),[_w,u3]=br("Toast",[HA]),[KA,bc]=_w(Uh),Lw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=m.useState(null),[c,u]=m.useState(0),d=m.useRef(!1),f=m.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Uh}\`. Expected non-empty \`string\`.`),h.jsx(Wh.Provider,{scope:t,children:h.jsx(KA,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:m.useCallback(()=>u(p=>p+1),[]),onToastRemove:m.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};Lw.displayName=Uh;var Iw="ToastViewport",GA=["F8"],af="toast.viewportPause",lf="toast.viewportResume",Vw=m.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=GA,label:o="Notifications ({hotkey})",...i}=e,s=bc(Iw,n),a=WA(n),l=m.useRef(null),c=m.useRef(null),u=m.useRef(null),d=m.useRef(null),f=je(t,d,s.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;m.useEffect(()=>{const b=v=>{var x;r.length!==0&&r.every(S=>v[S]||v.code===S)&&((x=d.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),m.useEffect(()=>{const b=l.current,v=d.current;if(w&&b&&v){const y=()=>{if(!s.isClosePausedRef.current){const E=new CustomEvent(af);v.dispatchEvent(E),s.isClosePausedRef.current=!0}},x=()=>{if(s.isClosePausedRef.current){const E=new CustomEvent(lf);v.dispatchEvent(E),s.isClosePausedRef.current=!1}},S=E=>{!b.contains(E.relatedTarget)&&x()},C=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",y),b.addEventListener("focusout",S),b.addEventListener("pointermove",y),b.addEventListener("pointerleave",C),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",y),b.removeEventListener("focusout",S),b.removeEventListener("pointermove",y),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",y),window.removeEventListener("focus",x)}}},[w,s.isClosePausedRef]);const g=m.useCallback(({tabbingDirection:b})=>{const y=a().map(x=>{const S=x.ref.current,C=[S,...sR(S)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?y.reverse():y).flat()},[a]);return m.useEffect(()=>{const b=d.current;if(b){const v=y=>{var C,E,T;const x=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!x){const P=document.activeElement,N=y.shiftKey;if(y.target===b&&N){(C=c.current)==null||C.focus();return}const _=g({tabbingDirection:N?"backwards":"forwards"}),U=_.findIndex(O=>O===P);Eu(_.slice(U+1))?y.preventDefault():N?(E=c.current)==null||E.focus():(T=u.current)==null||T.focus()}};return b.addEventListener("keydown",v),()=>b.removeEventListener("keydown",v)}},[a,g]),h.jsxs(DA,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&h.jsx(cf,{ref:c,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"forwards"});Eu(b)}}),h.jsx(Wh.Slot,{scope:n,children:h.jsx(le.ol,{tabIndex:-1,...i,ref:f})}),w&&h.jsx(cf,{ref:u,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"backwards"});Eu(b)}})]})});Vw.displayName=Iw;var Fw="ToastFocusProxy",cf=m.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=bc(Fw,n);return h.jsx(wc,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const a=s.relatedTarget;!((c=i.viewport)!=null&&c.contains(a))&&r()}})});cf.displayName=Fw;var Ks="Toast",YA="toast.swipeStart",QA="toast.swipeMove",qA="toast.swipeCancel",XA="toast.swipeEnd",$w=m.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=mi({prop:r,defaultProp:o??!0,onChange:i,caller:Ks});return h.jsx(io,{present:n||a,children:h.jsx(eR,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:un(e.onPause),onResume:un(e.onResume),onSwipeStart:ie(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ie(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ie(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ie(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});$w.displayName=Ks;var[ZA,JA]=_w(Ks,{onClose(){}}),eR=m.forwardRef((e,t)=>
69{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...w}=e,g=bc(Ks,n),[b,v]=m.useState(null),y=je(t,O=>v(O)),x=m.useRef(null),S=m.useRef(null),C=o||g.duration,E=m.useRef(0),T=m.useRef(C),P=m.useRef(0),{onToastAdd:N,onToastRemove:k}=g,I=un(()=>{var W;(b==null?void 0:b.contains(document.activeElement))&&((W=g.viewport)==null||W.focus()),s()}),_=m.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(I,O))},[I]);m.useEffect(()=>{const O=g.viewport;if(O){const W=()=>{_(T.current),c==null||c()},$=()=>{const H=new Date().getTime()-E.current;T.current=T.current-H,window.clearTimeout(P.current),l==null||l()};return O.addEventListener(af,$),O.addEventListener(lf,W),()=>{O.removeEventListener(af,$),O.removeEventListener(lf,W)}}},[g.viewport,C,l,c,_]),m.useEffect(()=>{i&&!g.isClosePausedRef.current&&_(C)},[i,C,g.isClosePausedRef,_]),m.useEffect(()=>(N(),()=>k()),[N,k]);const U=m.useMemo(()=>b?Gw(b):null,[b]);return g.viewport?h.jsxs(h.Fragment,{children:[U&&h.jsx(tR,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),h.jsx(ZA,{scope:n,onClose:I,children:Us.createPortal(h.jsx(Wh.ItemSlot,{scope:n,children:h.jsx(MA,{asChild:!0,onEscapeKeyDown:ie(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||I(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:h.jsx(le.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ie(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:ie(e.onPointerDown,O=>{O.button===0&&(x.current={x:O.clientX,y:O.clientY})}),onPointerMove:ie(e.onPointerMove,O=>{if(!x.current)return;const W=O.clientX-x.current.x,$=O.clientY-x.current.y,H=!!S.current,A=["left","right"].includes(g.swipeDirection),j=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,L=A?j(0,W):0,B=A?0:j(0,$),z=O.pointerType==="touch"?10:2,Q={x:L,y:B},X={originalEvent:O,delta:Q};H?(S.current=Q,Ca(QA,d,X,{discrete:!1})):Og(Q,g.swipeDirection,z)?(S.current=Q,Ca(YA,u,X,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(W)>z||Math.abs($)>z)&&(x.current=null)}),onPointerUp:ie(e.onPointerUp,O=>{const W=S.current,$=O.target;if($.hasPointerCapture(O.pointerId)&&$.releasePointerCapture(O.pointerId),S.current=null,x.current=null,W){const H=O.currentTarget,A={originalEvent:O,delta:W};Og(W,g.swipeDirection,g.swipeThreshold)?Ca(XA,p,A,{discrete:!0}):Ca(qA,f,A,{discrete:!0}),H.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),tR=e=>{const{__scopeToast:t,children:n,...r}=e,o=bc(Ks,t),[i,s]=m.useState(!1),[a,l]=m.useState(!1);return oR(()=>s(!0)),m.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:h.jsx(Bh,{asChild:!0,children:h.jsx(wc,{...r,children:i&&h.jsxs(h.Fragment,{children:[o.label," ",n]})})})},nR="ToastTitle",zw=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.jsx(le.div,{...r,ref:t})});zw.displayName=nR;var rR="ToastDescription",Bw=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.jsx(le.div,{...r,ref:t})});Bw.displayName=rR;var Uw="ToastAction",Ww=m.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?h.jsx(Kw,{altText:n,asChild:!0,children:h.jsx(Hh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Uw}\`. Expected non-empty \`string\`.`),null)});Ww.displayName=Uw;var Hw="ToastClose",Hh=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=JA(Hw,n);return h.jsx(Kw,{asChild:!0,children:h.jsx(le.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,o.onClose)})})});Hh.displayName=Hw;var Kw=m.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return h.jsx(le.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Gw(e){const t=[];
vendor: 8,514 bytes, lines 69-158
69return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),iR(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Gw(r))}}),t}function Ca(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?jw(o,i):o.dispatchEvent(i)}var Og=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function oR(e=()=>{}){const t=un(e);dn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function iR(e){return e.nodeType===e.ELEMENT_NODE}function sR(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Eu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var aR=Lw,Yw=Vw,Qw=$w,qw=zw,Xw=Bw,Zw=Ww,Jw=Hh;function e1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=e1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function t1(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=e1(e))&&(r&&(r+=" "),r+=t);return r}const _g=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lg=t1,n1=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Lg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(c=>{const u=n==null?void 0:n[c],d=i==null?void 0:i[c];if(u===null)return null;const f=_g(u)||_g(d);return o[c][f]}),a=n&&Object.entries(n).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:f,...p}=u;return Object.entries(p).every(w=>{let[g,b]=w;return Array.isArray(b)?b.includes({...i,...a}[g]):{...i,...a}[g]===b})?[...c,d,f]:c},[]);return Lg(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
70 * @license lucide-react v0.462.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const lR=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r1=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
75 * @license lucide-react v0.462.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */var cR={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
80 * @license lucide-react v0.462.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const uR=m.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>m.createElement("svg",{ref:l,...cR,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:r1("lucide",o),...a},[...s.map(([c,u])=>m.createElement(c,u)),...Array.isArray(i)?i:[i]]));/**
85 * @license lucide-react v0.462.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const ce=(e,t)=>{const n=m.forwardRef(({className:r,...o},i)=>m.createElement(uR,{ref:i,iconNode:t,className:r1(`lucide-${lR(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
90 * @license lucide-react v0.462.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const uf=ce("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
95 * @license lucide-react v0.462.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const dR=ce("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
100 * @license lucide-react v0.462.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const fR=ce("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
105 * @license lucide-react v0.462.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const hR=ce("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
110 * @license lucide-react v0.462.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const Tu=ce("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
115 * @license lucide-react v0.462.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const pR=ce("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
120 * @license lucide-react v0.462.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const mR=ce("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
125 * @license lucide-react v0.462.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const gR=ce("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
130 * @license lucide-react v0.462.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const o1=ce("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
135 * @license lucide-react v0.462.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const yR=ce("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
140 * @license lucide-react v0.462.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const vR=ce("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
145 * @license lucide-react v0.462.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const xR=ce("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
150 * @license lucide-react v0.462.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const wR=ce("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
155 * @license lucide-react v0.462.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const bR=ce("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
160 * @license lucide-react v0.462.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const SR=ce("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
165 * @license lucide-react v0.462.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const CR=ce("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
170 * @license lucide-react v0.462.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const ER=ce("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
175 * @license lucide-react v0.462.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const TR=ce("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
180 * @license lucide-react v0.462.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const PR=ce("MoveHorizontal",[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]]);/**
185 * @license lucide-react v0.462.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const kR=ce("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
190 * @license lucide-react v0.462.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const AR=ce("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
195 * @license lucide-react v0.462.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const RR=ce("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
200 * @license lucide-react v0.462.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const i1=ce("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
205 * @license lucide-react v0.462.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const NR=ce("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
210 * @license lucide-react v0.462.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const jR=ce("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
215 * @license lucide-react v0.462.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
vendor: 12,367 bytes, lines 219-224
219 */const Kh=ce("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
220 * @license lucide-react v0.462.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const Gh=ce("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Yh="-",MR=e=>{const t=OR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Yh);return a[0]===""&&a.length!==1&&a.shift(),s1(a,t)||DR(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},s1=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?s1(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Yh);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},Ig=/^\[(.+)\]$/,DR=e=>{if(Ig.test(e)){const t=Ig.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},OR=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return LR(Object.entries(e.classGroups),n).forEach(([i,s])=>{df(s,r,i,t)}),r},df=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Vg(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(_R(o)){df(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{df(s,Vg(t,i),n,r)})})},Vg=(e,t)=>{let n=e;return t.split(Yh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},_R=e=>e.isThemeGetter,LR=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,IR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},a1="!",VR=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let c=0,u=0,d;for(let b=0;b<a.length;b++){let v=a[b];if(c===0){if(v===o&&(r||a.slice(b,b+i)===t)){l.push(a.slice(u,b)),u=b+i;continue}if(v==="/"){d=b;continue}}v==="["?c++:v==="]"&&c--}const f=l.length===0?a:a.substring(u),p=f.startsWith(a1),w=p?f.substring(1):f,g=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},FR=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},$R=e=>({cache:IR(e.cacheSize),parseClassName:VR(e),...MR(e)}),zR=/\s+/,BR=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(zR);let a="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(c);let w=!!p,g=r(w?f.substring(0,p):f);if(!g){if(!w){a=c+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=c+(a.length>0?" "+a:a);continue}w=!1}const b=FR(u).join(":"),v=d?b+a1:b,y=v+g;if(i.includes(y))continue;i.push(y);const x=o(g,w);for(let S=0;S<x.length;++S){const C=x[S];i.push(v+C)}a=c+(a.length>0?" "+a:a)}return a};function UR(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=l1(t))&&(r&&(r+=" "),r+=n);return r}const l1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=l1(e[r]))&&(n&&(n+=" "),n+=t);return n};function WR(e,...t){let n,r,o,i=s;function s(l){const c=t.reduce((u,d)=>d(u),e());return n=$R(c),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=BR(l,n);return o(l,u),u}return function(){return i(UR.apply(null,arguments))}}const de=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},c1=/^\[(?:([a-z-]+):)?(.+)\]$/i,HR=/^\d+\/\d+$/,KR=new Set(["px","full","screen"]),GR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,QR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gn=e=>Bo(e)||KR.has(e)||HR.test(e),Vn=e=>gi(e,"length",iN),Bo=e=>!!e&&!Number.isNaN(Number(e)),Pu=e=>gi(e,"number",Bo),Oi=e=>!!e&&Number.isInteger(Number(e)),ZR=e=>e.endsWith("%")&&Bo(e.slice(0,-1)),Y=e=>c1.test(e),Fn=e=>GR.test(e),JR=new Set(["length","size","percentage"]),eN=e=>gi(e,JR,u1),tN=e=>gi(e,"position",u1),nN=new Set(["image","url"]),rN=e=>gi(e,nN,aN),oN=e=>gi(e,"",sN),_i=()=>!0,gi=(e,t,n)=>{const r=c1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},iN=e=>YR.test(e)&&!QR.test(e),u1=()=>!1,sN=e=>qR.test(e),aN=e=>XR.test(e),lN=()=>{const e=de("colors"),t=de("spacing"),n=de("blur"),r=de("brightness"),o=de("borderColor"),i=de("borderRadius"),s=de("borderSpacing"),a=de("borderWidth"),l=de("contrast"),c=de("grayscale"),u=de("hueRotate"),d=de("invert"),f=de("gap"),p=de("gradientColorStops"),w=de("gradientColorStopPositions"),g=de("inset"),b=de("margin"),v=de("opacity"),y=de("padding"),x=de("saturate"),S=de("scale"),C=de("sepia"),E=de("skew"),T=de("space"),P=de("translate"),N=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",Y,t],_=()=>[Y,t],U=()=>["",gn,Vn],O=()=>["auto",Bo,Y],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",Y],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[Bo,Y];return{cacheSize:500,separator:":",theme:{colors:[_i],spacing:[gn,Vn],blur:["none","",Fn,Y],brightness:B(),borderColor:[e],borderRadius:["none","","full",Fn,Y],borderSpacing:_(),borderWidth:U(),contrast:B(),grayscale:j(),hueRotate:B(),invert:j(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[ZR,Vn],inset:I(),margin:I(),opacity:B(),padding:_(),saturate:B(),scale:B(),sepia:j(),skew:B(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Fn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),Y]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,Y]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Oi,Y]}],"grid-cols":[{"grid-cols":[_i]}],"col-start-end":[{col:["auto",{span:["full",Oi,Y]},Y]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[_i]}],"row-start-end":[{row:["auto",{span:[Oi,Y]},Y]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Fn]},Fn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Fn,Vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pu]}],"font-family":[{font:[_i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",Bo,Pu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gn,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gn,Vn]}],"underline-offset":[{"underline-offset":["auto",gn,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}
vendor: 4,207 bytes, line 224
224],"bg-position":[{bg:[...W(),tN]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eN]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rN]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[gn,Y]}],"outline-w":[{outline:[gn,Vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[gn,Vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Fn,oN]}],"shadow-color":[{shadow:[_i]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Fn,Y]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Oi,Y]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
224none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gn,Vn,Pu]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},cN=WR(lN);function Oe(...e){return cN(t1(e))}const uN=aR,d1=m.forwardRef(({className:e,...t},n)=>h.jsx(Yw,{ref:n,className:Oe("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));d1.displayName=Yw.displayName;const dN=n1("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f1=m.forwardRef(({className:e,variant:t,...n},r)=>h.jsx(Qw,{ref:r,className:Oe(dN({variant:t}),e),...n}));f1.displayName=Qw.displayName;const fN=m.forwardRef(({className:e,...t},n)=>h.jsx(Zw,{ref:n,className:Oe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));fN.displayName=Zw.displayName;const h1=m.forwardRef(({className:e,...t},n)=>h.jsx(Jw,{ref:n,className:Oe("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 11,570 bytes, line 224
224/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:h.jsx(Kh,{className:"h-4 w-4"})}));h1.displayName=Jw.displayName;const p1=m.forwardRef(({className:e,...t},n)=>h.jsx(qw,{ref:n,className:Oe("text-sm font-semibold",e),...t}));p1.displayName=qw.displayName;const m1=m.forwardRef(({className:e,...t},n)=>h.jsx(Xw,{ref:n,className:Oe("text-sm opacity-90",e),...t}));m1.displayName=Xw.displayName;function hN(){const{toasts:e}=mA();return h.jsxs(uN,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return h.jsxs(f1,{...i,children:[h.jsxs("div",{className:"grid gap-1",children:[n&&h.jsx(p1,{children:n}),r&&h.jsx(m1,{children:r})]}),o,h.jsx(h1,{})]},t)}),h.jsx(d1,{})]})}var pN=Kf[" useId ".trim().toString()]||(()=>{}),mN=0;function ts(e){const[t,n]=m.useState(pN());return dn(()=>{n(r=>r??String(mN++))},[e]),t?`radix-${t}`:""}const gN=["top","right","bottom","left"],pr=Math.min,ct=Math.max,Vl=Math.round,Ea=Math.floor,ln=e=>({x:e,y:e}),yN={left:"right",right:"left",bottom:"top",top:"bottom"},vN={start:"end",end:"start"};function ff(e,t,n){return ct(e,pr(t,n))}function An(e,t){return typeof e=="function"?e(t):e}function Rn(e){return e.split("-")[0]}function yi(e){return e.split("-")[1]}function Qh(e){return e==="x"?"y":"x"}function qh(e){return e==="y"?"height":"width"}const xN=new Set(["top","bottom"]);function on(e){return xN.has(Rn(e))?"y":"x"}function Xh(e){return Qh(on(e))}function wN(e,t,n){n===void 0&&(n=!1);const r=yi(e),o=Xh(e),i=qh(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fl(s)),[s,Fl(s)]}function bN(e){const t=Fl(e);return[hf(e),t,hf(t)]}function hf(e){return e.replace(/start|end/g,t=>vN[t])}const Fg=["left","right"],$g=["right","left"],SN=["top","bottom"],CN=["bottom","top"];function EN(e,t,n){switch(e){case"top":case"bottom":return n?t?$g:Fg:t?Fg:$g;case"left":case"right":return t?SN:CN;default:return[]}}function TN(e,t,n,r){const o=yi(e);let i=EN(Rn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(hf)))),i}function Fl(e){return e.replace(/left|right|bottom|top/g,t=>yN[t])}function PN(e){return{top:0,right:0,bottom:0,left:0,...e}}function g1(e){return typeof e!="number"?PN(e):{top:e,right:e,bottom:e,left:e}}function $l(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function zg(e,t,n){let{reference:r,floating:o}=e;const i=on(t),s=Xh(t),a=qh(s),l=Rn(t),c=i==="y",u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(yi(t)){case"start":p[s]-=f*(n&&c?-1:1);break;case"end":p[s]+=f*(n&&c?-1:1);break}return p}const kN=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zg(c,r,l),f=r,p={},w=0;for(let g=0;g<a.length;g++){const{name:b,fn:v}=a[g],{x:y,y:x,data:S,reset:C}=await v({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=y??u,d=x??d,p={...p,[b]:{...p[b],...S}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(c=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:u,y:d}=zg(c,f,l)),g=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};async function As(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=An(t,e),w=g1(p),b=a[f?d==="floating"?"reference":"floating":d],v=$l(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},C=$l(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:l}):y);return{top:(v.top-C.top+w.top)/S.y,bottom:(C.bottom-v.bottom+w.bottom)/S.y,left:(v.left-C.left+w.left)/S.x,right:(C.right-v.right+w.right)/S.x}}const AN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=An(e,t)||{};if(c==null)return{};const d=g1(u),f={x:n,y:r},p=Xh(o),w=qh(p),g=await s.getDimensions(c),b=p==="y",v=b?"top":"left",y=b?"bottom":"right",x=b?"clientHeight":"clientWidth",S=i.reference[w]+i.reference[p]-f[p]-i.floating[w],C=f[p]-i.reference[p],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let T=E?E[x]:0;(!T||!await(s.isElement==null?void 0:s.isElement(E)))&&(T=a.floating[x]||i.floating[w]);const P=S/2-C/2,N=T/2-g[w]/2-1,k=pr(d[v],N),I=pr(d[y],N),_=k,U=T-g[w]-I,O=T/2-g[w]/2+P,W=ff(_,O,U),$=!l.arrow&&yi(o)!=null&&O!==W&&i.reference[w]/2-(O<_?k:I)-g[w]/2<0,H=$?O<_?O-_:O-U:0;return{[p]:f[p]+H,data:{[p]:W,centerOffset:O-W-H,...$&&{alignmentOffset:H}},reset:$}}}),RN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...b}=An(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Rn(o),y=on(a),x=Rn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=f||(x||!g?[Fl(a)]:bN(a)),E=w!=="none";!f&&E&&C.push(...TN(a,g,w,S));const T=[a,...C],P=await As(t,b),N=[];let k=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&N.push(P[v]),d){const O=wN(o,s,S);N.push(P[O[0]],P[O[1]])}if(k=[...k,{placement:o,overflows:N}],!N.every(O=>O<=0)){var I,_;const O=(((I=i.flip)==null?void 0:I.index)||0)+1,W=T[O];if(W&&(!(d==="alignment"?y!==on(W):!1)||k.every(A=>A.overflows[0]>0&&on(A.placement)===y)))return{data:{index:O,overflows:k},reset:{placement:W}};let $=(_=k.filter(H=>H.overflows[0]<=0).sort((H,A)=>H.overflows[1]-A.overflows[1])[0])==null?void 0:_.placement;if(!$)switch(p){case"bestFit":{var U;const H=(U=k.filter(A=>{if(E){const j=on(A.placement);return j===y||j==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(j=>j>0).reduce((j,L)=>j+L,0)]).sort((A,j)=>A[1]-j[1])[0])==null?void 0:U[0];H&&($=H);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function Bg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ug(e){return gN.some(t=>e[t]>=0)}const NN=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=An(e,t);switch(r){case"referenceHidden":{const i=await As(t,{...o,elementContext:"reference"}),s=Bg(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ug(s)}}}case"escaped":{const i=await As(t,{...o,altBoundary:!0}),s=Bg(i,n.floating);return{data:{escapedOffsets:s,escaped:Ug(s)}}}default:return{}}}}},y1=new Set(["left","top"]);async function jN(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Rn(n),a=yi(n),l=on(n)==="y",c=y1.has(s)?-1:1,u=i&&l?-1:1,d=An(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof w=="number"&&(p=a==="end"?w*-1:w),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}const MN=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await jN(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},DN=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:v,y}=b;return{x:v,y}}},...l}=An(e,t),c={x:n,y:r},u=await As(t,l),d=on(Rn(o)),f=Qh(d);let p=c[f],w=c[d];if(i){const b=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=p+u[b],x=p-u[v];p=ff(y,p,x)}if(s){const b=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=w+u[b],x=w-u[v];w=ff(y,w,x)}const g=a.fn({...t,[f]:p,[d]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:i,[d]:s}}}}}},ON=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=An(e,t),u={x:n,y:r},d=on(o),f=Qh(d);let p=u[f],w=u[d];const g=An(a,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=f==="y"?"height":"width",S=i.reference[f]-i.floating[x]+b.mainAxis,C=i.reference[f]+i.reference[x]-b.mainAxis;p<S?p=S:p>C&&(p=C)}if(c){var v,y;const x=f==="y"?"width":"height",S=y1.has(Rn(o)),C=i.reference[d]-i.floating[x]+(S&&((v=s.offset)==null?void 0:v[d])||0)+(S?0:b.crossAxis),E=i.reference[d]+i.reference[x]+(S?0:((y=s.offset)==null?void 0:y[d])||0)-(S?b.crossAxis:0);w<C?w=C:w>E&&(w=E)}return{[f]:p,[d]:w}}}},_N=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=An(e,t),u=await As(t,c),d=Rn(o),f=yi(o),p=on(o)==="y",{width:w,height:g}=i.floating;let b,v;d==="top"||d==="bottom"?(b=d,v=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,b=f==="end"?"top":"bottom");const y=g-u.top-u.bottom,x=w-u.left-u.right,S=pr(g-u[b],y),C=pr(w-u[v],x),E=!t.middlewareData.shift;let T=S,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=y),E&&!f){const k=ct(u.left,0),I=ct(u.right,0),_=ct(u.top,0),U=ct(u.bottom,0);p?P=w-2*(k!==0||I!==0?k+I:ct(u.left,u.right)):T=g-2*(_!==0||U!==0?_+U:ct(u.top,u.bottom))}await l({...t,availableWidth:P,availableHeight:T});const N=await s.getDimensions(a.floating);return w!==N.width||g!==N.height?{reset:{rects:!0}}:{}}}};function Sc(){return typeof window<"u"}function vi(e){return v1(e)?(e.nodeName||"").toLowerCase():"#document"}function ft(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pn(e){var t;return(t=(v1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function v1(e){return Sc()?e instanceof Node||e instanceof ft(e).Node:!1}function Ht(e){return Sc()?e instanceof Element||e instanceof ft(e).Element:!1}function fn(e){return Sc()?e instanceof HTMLElement||e instanceof ft(e).HTMLElement:!1}function Wg(e){return!Sc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ft(e).ShadowRoot}const LN=new Set(["inline","contents"]);function Gs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Kt(e);
vendor: 4,121 bytes, line 224
224return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!LN.has(o)}const IN=new Set(["table","td","th"]);function VN(e){return IN.has(vi(e))}const FN=[":popover-open",":modal"];function Cc(e){return FN.some(t=>{try{return e.matches(t)}catch{return!1}})}const $N=["transform","translate","scale","rotate","perspective"],zN=["transform","translate","scale","rotate","perspective","filter"],BN=["paint","layout","strict","content"];function Zh(e){const t=Jh(),n=Ht(e)?Kt(e):e;return $N.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||zN.some(r=>(n.willChange||"").includes(r))||BN.some(r=>(n.contain||"").includes(r))}function UN(e){let t=mr(e);for(;fn(t)&&!si(t);){if(Zh(t))return t;if(Cc(t))return null;t=mr(t)}return null}function Jh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const WN=new Set(["html","body","#document"]);function si(e){return WN.has(vi(e))}function Kt(e){return ft(e).getComputedStyle(e)}function Ec(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mr(e){if(vi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Wg(e)&&e.host||pn(e);return Wg(t)?t.host:t}function x1(e){const t=mr(e);return si(t)?e.ownerDocument?e.ownerDocument.body:e.body:fn(t)&&Gs(t)?t:x1(t)}function Rs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=x1(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ft(o);if(i){const a=pf(s);return t.concat(s,s.visualViewport||[],Gs(o)?o:[],a&&n?Rs(a):[])}return t.concat(o,Rs(o,[],n))}function pf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function w1(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=fn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Vl(n)!==i||Vl(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function ep(e){return Ht(e)?e:e.contextElement}function Uo(e){const t=ep(e);if(!fn(t))return ln(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=w1(t);let s=(i?Vl(n.width):n.width)/r,a=(i?Vl(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const HN=ln(0);function b1(e){const t=ft(e);return!Jh()||!t.visualViewport?HN:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KN(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ft(e)?!1:t}function Jr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ep(e);let s=ln(1);t&&(r?Ht(r)&&(s=Uo(r)):s=Uo(e));const a=KN(i,n,r)?b1(i):ln(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const f=ft(i),p=r&&Ht(r)?ft(r):r;let w=f,g=pf(w);for(;g&&r&&p!==w;){const b=Uo(g),v=g.getBoundingClientRect(),y=Kt(g),x=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*b.x,S=v.top+(g.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,c*=b.y,u*=b.x,d*=b.y,l+=x,c+=S,w=ft(g),g=pf(w)}}return $l({width:u,height:d,x:l,y:c})}function tp(e,t){const n=Ec(e).scrollLeft;return t?t.left+n:Jr(pn(e)).left+n}function S1(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:tp(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function GN(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=pn(r),a=t?Cc(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=ln(1);const u=ln(0),d=fn(r);if((d||!d&&!i)&&((vi(r)!=="body"||Gs(s))&&(l=Ec(r)),fn(r))){const p=Jr(r);c=Uo(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const f=s&&!d&&!i?S1(s,l,!0):ln(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function YN(e){return Array.from(e.getClientRects())}function QN(e){const t=pn(e),n=Ec(e),r=e.ownerDocument.body,o=ct(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ct(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+tp(e);const a=-n.scrollTop;return Kt(r).direction==="rtl"&&(s+=ct(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}
vendor: 4,850 bytes, line 224
224function qN(e,t){const n=ft(e),r=pn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const c=Jh();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const XN=new Set(["absolute","fixed"]);function ZN(e,t){const n=Jr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=fn(e)?Uo(e):ln(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function Hg(e,t,n){let r;if(t==="viewport")r=qN(e,n);else if(t==="document")r=QN(pn(e));else if(Ht(t))r=ZN(t,n);else{const o=b1(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return $l(r)}function C1(e,t){const n=mr(e);return n===t||!Ht(n)||si(n)?!1:Kt(n).position==="fixed"||C1(n,t)}function JN(e,t){const n=t.get(e);if(n)return n;let r=Rs(e,[],!1).filter(a=>Ht(a)&&vi(a)!=="body"),o=null;const i=Kt(e).position==="fixed";let s=i?mr(e):e;for(;Ht(s)&&!si(s);){const a=Kt(s),l=Zh(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&XN.has(o.position)||Gs(s)&&!l&&C1(e,s))?r=r.filter(u=>u!==s):o=a,s=mr(s)}return t.set(e,r),r}function ej(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Cc(t)?[]:JN(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const d=Hg(t,u,o);return c.top=ct(d.top,c.top),c.right=pr(d.right,c.right),c.bottom=pr(d.bottom,c.bottom),c.left=ct(d.left,c.left),c},Hg(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tj(e){const{width:t,height:n}=w1(e);return{width:t,height:n}}function nj(e,t,n){const r=fn(t),o=pn(t),i=n==="fixed",s=Jr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=ln(0);function c(){l.x=tp(o)}if(r||!r&&!i)if((vi(t)!=="body"||Gs(o))&&(a=Ec(t)),r){const p=Jr(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=o&&!r&&!i?S1(o,a):ln(0),d=s.left+a.scrollLeft-l.x-u.x,f=s.top+a.scrollTop-l.y-u.y;return{x:d,y:f,width:s.width,height:s.height}}function ku(e){return Kt(e).position==="static"}function Kg(e,t){if(!fn(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pn(e)===n&&(n=n.ownerDocument.body),n}function E1(e,t){const n=ft(e);if(Cc(e))return n;if(!fn(e)){let o=mr(e);for(;o&&!si(o);){if(Ht(o)&&!ku(o))return o;o=mr(o)}return n}let r=Kg(e,t);for(;r&&VN(r)&&ku(r);)r=Kg(r,t);return r&&si(r)&&ku(r)&&!Zh(r)?n:r||UN(e)||n}const rj=async function(e){const t=this.getOffsetParent||E1,n=this.getDimensions,r=await n(e.floating);return{reference:nj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function oj(e){return Kt(e).direction==="rtl"}const ij={convertOffsetParentRelativeRectToViewportRelativeRect:GN,getDocumentElement:pn,getClippingRect:ej,getOffsetParent:E1,getElementRects:rj,getClientRects:YN,getDimensions:tj,getScale:Uo,isElement:Ht,isRTL:oj};function T1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sj(e,t){let n=null,r;const o=pn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(a||t(),!f||!p)return;const w=Ea(d),g=Ea(o.clientWidth-(u+f)),b=Ea(o.clientHeight-(d+p)),v=Ea(u),x={rootMargin:-w+"px "+-g+"px "+-b+"px "+-v+"px",threshold:ct(0,pr(1,l))||1};let S=!0;function C(E){const T=E[0].intersectionRatio;if(T!==l){if(!S)return s();T?s(!1,T):r=setTimeout(()=>{s(!1,1e-7)},1e3)}T===1&&!T1(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(C,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return s(!0),i}function aj(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=ep(e),u=o||i?[...c?Rs(c):[],...Rs(t)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=c&&a?sj(c,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(v=>{let[y]=v;y&&y.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let w,g=l?Jr(e):null;l&&b();function b(){const v=Jr(e);g&&!T1(g,v)&&n(),g=v,w=requestAnimationFrame(b)}return n(),()=>{var v;u.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,l&&cancelAnimationFrame(w)}}const lj=MN,cj=DN,uj=RN,dj=_N,fj=NN,Gg=AN,hj=ON,pj=(e,t,n)=>{const r=new Map,o={platform:ij,...n},i={...o.platform,_c:r};return kN(e,t,{...o,platform:i})};var mj=typeof document<"u",gj=function(){},Ja=mj?m.useLayoutEffect:gj;function zl(e,t){if(e===t)return!0;
vendor: 4,133 bytes, line 224
224if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!zl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!zl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function P1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yg(e,t){const n=P1(e);return Math.round(t*n)/n}function Au(e){const t=m.useRef(e);return Ja(()=>{t.current=e}),t}function yj(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=m.useState(r);zl(f,r)||p(r);const[w,g]=m.useState(null),[b,v]=m.useState(null),y=m.useCallback(A=>{A!==E.current&&(E.current=A,g(A))},[]),x=m.useCallback(A=>{A!==T.current&&(T.current=A,v(A))},[]),S=i||w,C=s||b,E=m.useRef(null),T=m.useRef(null),P=m.useRef(u),N=l!=null,k=Au(l),I=Au(o),_=Au(c),U=m.useCallback(()=>{if(!E.current||!T.current)return;const A={placement:t,strategy:n,middleware:f};I.current&&(A.platform=I.current),pj(E.current,T.current,A).then(j=>{const L={...j,isPositioned:_.current!==!1};O.current&&!zl(P.current,L)&&(P.current=L,Us.flushSync(()=>{d(L)}))})},[f,t,n,I,_]);Ja(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(A=>({...A,isPositioned:!1})))},[c]);const O=m.useRef(!1);Ja(()=>(O.current=!0,()=>{O.current=!1}),[]),Ja(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(k.current)return k.current(S,C,U);U()}},[S,C,U,k,N]);const W=m.useMemo(()=>({reference:E,floating:T,setReference:y,setFloating:x}),[y,x]),$=m.useMemo(()=>({reference:S,floating:C}),[S,C]),H=m.useMemo(()=>{const A={position:n,left:0,top:0};if(!$.floating)return A;const j=Yg($.floating,u.x),L=Yg($.floating,u.y);return a?{...A,transform:"translate("+j+"px, "+L+"px)",...P1($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:L}},[n,a,$.floating,u.x,u.y]);return m.useMemo(()=>({...u,update:U,refs:W,elements:$,floatingStyles:H}),[u,U,W,$,H])}const vj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Gg({element:r.current,padding:o}).fn(n):{}:r?Gg({element:r,padding:o}).fn(n):{}}}},xj=(e,t)=>({...lj(e),options:[e,t]}),wj=(e,t)=>({...cj(e),options:[e,t]}),bj=(e,t)=>({...hj(e),options:[e,t]}),Sj=(e,t)=>({...uj(e),options:[e,t]}),Cj=(e,t)=>({...dj(e),options:[e,t]}),Ej=(e,t)=>({...fj(e),options:[e,t]}),Tj=(e,t)=>({...vj(e),options:[e,t]});var Pj="Arrow",k1=m.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return h.jsx(le.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});k1.displayName=Pj;var kj=k1;function A1(e){const[t,n]=m.useState(void 0);return dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,a=c.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var R1="Popper",[N1,j1]=br(R1),[d3,M1]=N1(R1),D1="PopperAnchor",O1=m.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=M1(D1,n),s=m.useRef(null),a=je(t,s);return m.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:h.jsx(le.div,{...o,ref:a})});O1.displayName=D1;var np="PopperContent",[Aj,Rj]=N1(np),_1=m.forwardRef((e,t)=>{var ne,so,jn,Cr,Mn,ao;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l
vendor: 4,304 bytes, line 224
224=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:w,...g}=e,b=M1(np,n),[v,y]=m.useState(null),x=je(t,Dn=>y(Dn)),[S,C]=m.useState(null),E=A1(S),T=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,N=r+(i!=="center"?"-"+i:""),k=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},I=Array.isArray(c)?c:[c],_=I.length>0,U={padding:k,boundary:I.filter(jj),altBoundary:_},{refs:O,floatingStyles:W,placement:$,isPositioned:H,middlewareData:A}=yj({strategy:"fixed",placement:N,whileElementsMounted:(...Dn)=>aj(...Dn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[xj({mainAxis:o+P,alignmentAxis:s}),l&&wj({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?bj():void 0,...U}),l&&Sj({...U}),Cj({...U,apply:({elements:Dn,rects:Zs,availableWidth:Fc,availableHeight:Js})=>{const{width:$c,height:Si}=Zs.reference,lo=Dn.floating.style;lo.setProperty("--radix-popper-available-width",`${Fc}px`),lo.setProperty("--radix-popper-available-height",`${Js}px`),lo.setProperty("--radix-popper-anchor-width",`${$c}px`),lo.setProperty("--radix-popper-anchor-height",`${Si}px`)}}),S&&Tj({element:S,padding:a}),Mj({arrowWidth:T,arrowHeight:P}),f&&Ej({strategy:"referenceHidden",...U})]}),[j,L]=V1($),B=un(w);dn(()=>{H&&(B==null||B())},[H,B]);const z=(ne=A.arrow)==null?void 0:ne.x,Q=(so=A.arrow)==null?void 0:so.y,X=((jn=A.arrow)==null?void 0:jn.centerOffset)!==0,[Ee,$e]=m.useState();return dn(()=>{v&&$e(window.getComputedStyle(v).zIndex)},[v]),h.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:H?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ee,"--radix-popper-transform-origin":[(Cr=A.transformOrigin)==null?void 0:Cr.x,(Mn=A.transformOrigin)==null?void 0:Mn.y].join(" "),...((ao=A.hide)==null?void 0:ao.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(Aj,{scope:n,placedSide:j,onArrowChange:C,arrowX:z,arrowY:Q,shouldHideArrow:X,children:h.jsx(le.div,{"data-side":j,"data-align":L,...g,ref:x,style:{...g.style,animation:H?void 0:"none"}})})})});_1.displayName=np;var L1="PopperArrow",Nj={top:"bottom",right:"left",bottom:"top",left:"right"},I1=m.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=Rj(L1,r),s=Nj[i.placedSide];return h.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:h.jsx(kj,{...o,ref:n,style:{...o.style,display:"block"}})})});I1.displayName=L1;function jj(e){return e!==null}var Mj=e=>({name:"transformOrigin",options:e,fn(t){var b,v,y;const{placement:n,rects:r,middlewareData:o}=t,s=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,u]=V1(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((v=o.arrow)==null?void 0:v.x)??0)+a/2,p=(((y=o.arrow)==null?void 0:y.y)??0)+l/2;let w="",g="";return c==="bottom"?(w=s?d:`${f}px`,g=`${-l}px`):c==="top"?(w=s?d:`${f}px`,g=`${r.floating.height+l}px`):c==="right"?(w=`${-l}px`,g=s?d:`${p}px`):c==="left"&&(w=`${r.floating.width+l}px`,g=s?d:`${p}px`),{data:{x:w,y:g}}}});function V1(e){const[t,n="center"]=e.split("-");return[t,n]}var Dj=O1,Oj=_1,_j=I1,[Tc,f3]=br("Tooltip",[j1]),rp=j1(),F1="TooltipProvider",Lj=700,Qg="tooltip.open",[Ij,$1]=Tc(F1),z1=e=>{const{__scopeTooltip:t,delayDuration:n=Lj,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=m.useRef(!0),a=m.useRef(!1),l=m.useRef(0);return m.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),h.jsx(Ij,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:m.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:m.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:m.useCallback(c=>{a.current=c},[]),disableHoverableContent:o,children:i})};z1.displayName=F1;var B1="Tooltip",[h3,Pc]=Tc(B1),mf="TooltipTrigger",Vj=m.forwardRef((e,t)=>
vendor: 5,599 bytes, line 224
224{const{__scopeTooltip:n,...r}=e,o=Pc(mf,n),i=$1(mf,n),s=rp(n),a=m.useRef(null),l=je(t,a,o.onTriggerChange),c=m.useRef(!1),u=m.useRef(!1),d=m.useCallback(()=>c.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.jsx(Dj,{asChild:!0,...s,children:h.jsx(le.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ie(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:ie(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:ie(e.onPointerDown,()=>{o.open&&o.onClose(),c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ie(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:ie(e.onBlur,o.onClose),onClick:ie(e.onClick,o.onClose)})})});Vj.displayName=mf;var Fj="TooltipPortal",[p3,$j]=Tc(Fj,{forceMount:void 0}),ai="TooltipContent",U1=m.forwardRef((e,t)=>{const n=$j(ai,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Pc(ai,e.__scopeTooltip);return h.jsx(io,{present:r||s.open,children:s.disableHoverableContent?h.jsx(W1,{side:o,...i,ref:t}):h.jsx(zj,{side:o,...i,ref:t})})}),zj=m.forwardRef((e,t)=>{const n=Pc(ai,e.__scopeTooltip),r=$1(ai,e.__scopeTooltip),o=m.useRef(null),i=je(t,o),[s,a]=m.useState(null),{trigger:l,onClose:c}=n,u=o.current,{onPointerInTransitChange:d}=r,f=m.useCallback(()=>{a(null),d(!1)},[d]),p=m.useCallback((w,g)=>{const b=w.currentTarget,v={x:w.clientX,y:w.clientY},y=Kj(v,b.getBoundingClientRect()),x=Gj(v,y),S=Yj(g.getBoundingClientRect()),C=qj([...x,...S]);a(C),d(!0)},[d]);return m.useEffect(()=>()=>f(),[f]),m.useEffect(()=>{if(l&&u){const w=b=>p(b,u),g=b=>p(b,l);return l.addEventListener("pointerleave",w),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",w),u.removeEventListener("pointerleave",g)}}},[l,u,p,f]),m.useEffect(()=>{if(s){const w=g=>{const b=g.target,v={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(b))||(u==null?void 0:u.contains(b)),x=!Qj(v,s);y?f():x&&(f(),c())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,u,s,c,f]),h.jsx(W1,{...e,ref:i})}),[Bj,Uj]=Tc(B1,{isInside:!1}),Wj=wA("TooltipContent"),W1=m.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Pc(ai,n),c=rp(n),{onClose:u}=l;return m.useEffect(()=>(document.addEventListener(Qg,u),()=>document.removeEventListener(Qg,u)),[u]),m.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),h.jsx(xc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:h.jsxs(Oj,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(Wj,{children:r}),h.jsx(Bj,{scope:n,isInside:!0,children:h.jsx(UA,{id:l.contentId,role:"tooltip",children:o||r})})]})})});U1.displayName=ai;var H1="TooltipArrow",Hj=m.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=rp(n);return Uj(H1,n).isInside?null:h.jsx(_j,{...o,...r,ref:t})});Hj.displayName=H1;function Kj(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Gj(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Yj(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Qj(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],c=a.x,u=a.y,d=l.x,f=l.y;u>r!=f>r&&n<(d-c)*(r-u)/(f-u)+c&&(o=!o)}return o}function qj(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Xj(t)}function Xj(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Zj=z1,K1=U1;const Jj=Zj,eM=m.forwardRef(({className:e,sideOffset:t=4,...n},r)=>h.jsx(K1,{ref:r,sideOffset:t,className:Oe("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
224de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));eM.displayName=K1.displayName;var Ru="focusScope.autoFocusOnMount",Nu="focusScope.autoFocusOnUnmount",qg={bubbles:!1,cancelable:!0},tM="FocusScope",G1=m.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=m.useState(null),c=un(o),u=un(i),d=m.useRef(null),f=je(t,g=>l(g)),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let g=function(x){if(p.paused||!a)return;const S=x.target;a.contains(S)?d.current=S:zn(d.current,{select:!0})},b=function(x){if(p.paused||!a)return;const S=x.relatedTarget;S!==null&&(a.contains(S)||zn(d.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const C of x)C.removedNodes.length>0&&zn(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const y=new MutationObserver(v);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),y.disconnect()}}},[r,a,p.paused]),m.useEffect(()=>{if(a){Zg.add(p);const g=document.activeElement;if(!a.contains(g)){const v=new CustomEvent(Ru,qg);a.addEventListener(Ru,c),a.dispatchEvent(v),v.defaultPrevented||(nM(aM(Y1(a)),{select:!0}),document.activeElement===g&&zn(a))}return()=>{a.removeEventListener(Ru,c),setTimeout(()=>{const v=new CustomEvent(Nu,qg);a.addEventListener(Nu,u),a.dispatchEvent(v),v.defaultPrevented||zn(g??document.body,{select:!0}),a.removeEventListener(Nu,u),Zg.remove(p)},0)}}},[a,c,u,p]);const w=m.useCallback(g=>{if(!n&&!r||p.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(b&&v){const y=g.currentTarget,[x,S]=rM(y);x&&S?!g.shiftKey&&v===S?(g.preventDefault(),n&&zn(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&zn(S,{select:!0})):v===y&&g.preventDefault()}},[n,r,p.paused]);return h.jsx(le.div,{tabIndex:-1,...s,ref:f,onKeyDown:w})});G1.displayName=tM;function nM(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(zn(r,{select:t}),document.activeElement!==n)return}function rM(e){const t=Y1(e),n=Xg(t,e),r=Xg(t.reverse(),e);return[n,r]}function Y1(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Xg(e,t){for(const n of e)if(!oM(n,{upTo:t}))return n}function oM(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function iM(e){return e instanceof HTMLInputElement&&"select"in e}function zn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&iM(e)&&t&&e.select()}}var Zg=sM();function sM(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Jg(e,t),e.unshift(t)},remove(t){var n;e=Jg(e,t),(n=e[0])==null||n.resume()}}}function Jg(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function aM(e){return e.filter(t=>t.tagName!=="A")}var ju=0;function lM(){m.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ey()),document.body.insertAdjacentElement("beforeend",e[1]??ey()),ju++,()=>{ju===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ju--}},[])}function ey(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var rn=function(){return rn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},rn.apply(this,arguments)};function Q1(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function cM(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var el="right-scroll-bar-position",tl="width-before-scroll-bar",uM="with-scroll-bars-hidden",dM="--removed-body-scroll-bar-size";function Mu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function fM(e,t){var n=m.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var hM=typeof window<"u"?m.useLayoutEffect:m.useEffect,ty=new WeakMap;function pM(e,t){var n=fM(null,function(r){return e.forEach(function(o){return Mu(o,r)})});return hM(function(){var r=ty.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Mu(a,null)}
vendor: 4,153 bytes, lines 224-239
224),i.forEach(function(a){o.has(a)||Mu(a,s)})}ty.set(n,e)},[e]),n}function mM(e){return e}function gM(e,t){t===void 0&&(t=mM);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var l=function(){var u=s;s=[],u.forEach(i)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),n}}}};return o}function yM(e){e===void 0&&(e={});var t=gM(null);return t.options=rn({async:!0,ssr:!1},e),t}var q1=function(e){var t=e.sideCar,n=Q1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return m.createElement(r,rn({},n))};q1.isSideCarExport=!0;function vM(e,t){return e.useMedium(t),q1}var X1=yM(),Du=function(){},kc=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:Du,onWheelCapture:Du,onTouchMoveCapture:Du}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,w=e.noIsolation,g=e.inert,b=e.allowPinchZoom,v=e.as,y=v===void 0?"div":v,x=e.gapMode,S=Q1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,E=pM([n,t]),T=rn(rn({},S),o);return m.createElement(m.Fragment,null,u&&m.createElement(C,{sideCar:X1,removeScrollBar:c,shards:d,noRelative:p,noIsolation:w,inert:g,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:x}),s?m.cloneElement(m.Children.only(a),rn(rn({},T),{ref:E})):m.createElement(y,rn({},T,{className:l,ref:E}),a))});kc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};kc.classNames={fullWidth:tl,zeroRight:el};var xM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wM(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=xM();return t&&e.setAttribute("nonce",t),e}function bM(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SM(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var CM=function(){var e=0,t=null;return{add:function(n){e==0&&(t=wM())&&(bM(t,n),SM(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EM=function(){var e=CM();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Z1=function(){var e=EM(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},TM={left:0,top:0,right:0,gap:0},Ou=function(e){return parseInt(e||"",10)||0},PM=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ou(n),Ou(r),Ou(o)]},kM=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return TM;var t=PM(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},AM=Z1(),Wo="data-scroll-locked",RM=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
225  .`.concat(uM,` {
226   overflow: hidden `).concat(r,`;
227   padding-right: `).concat(a,"px ").concat(r,`;
228  }
229  body[`).concat(Wo,`] {
230    overflow: hidden `).concat(r,`;
231    overscroll-behavior: contain;
232    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
233    padding-left: `.concat(o,`px;
234    padding-top: `).concat(i,`px;
235    padding-right: `).concat(s,`px;
236    margin-left:0;
237    margin-top:0;
238    margin-right: `).concat(a,"px ").concat(r,`;
239    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
239")].filter(Boolean).join(""),`
240  }
241  
242  .`).concat(el,` {
243    right: `).concat(a,"px ").concat(r,`;
244  }
245  
246  .`).concat(tl,` {
247    margin-right: `).concat(a,"px ").concat(r,`;
248  }
249  
250  .`).concat(el," .").concat(el,` {
251    right: 0 `).concat(r,`;
252  }
253  
254  .`).concat(tl," .").concat(tl,` {
255    margin-right: 0 `).concat(r,`;
256  }
257  
258  body[`).concat(Wo,`] {
259    `).concat(dM,": ").concat(a,`px;
260  }
261`)},ny=function(){var e=parseInt(document.body.getAttribute(Wo)||"0",10);return isFinite(e)?e:0},NM=function(){m.useEffect(function(){return document.body.setAttribute(Wo,(ny()+1).toString()),function(){var e=ny()-1;e<=0?document.body.removeAttribute(Wo):document.body.setAttribute(Wo,e.toString())}},[])},jM=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;NM();var i=m.useMemo(function(){return kM(o)},[o]);return m.createElement(AM,{styles:RM(i,!t,o,n?"":"!important")})},gf=!1;if(typeof window<"u")try{var Ta=Object.defineProperty({},"passive",{get:function(){return gf=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{gf=!1}var mo=gf?{passive:!1}:!1,MM=function(e){return e.tagName==="TEXTAREA"},J1=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!MM(e)&&n[t]==="visible")},DM=function(e){return J1(e,"overflowY")},OM=function(e){return J1(e,"overflowX")},ry=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=eb(e,r);if(o){var i=tb(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},_M=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},LM=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},eb=function(e,t){return e==="v"?DM(t):OM(t)},tb=function(e,t){return e==="v"?_M(t):LM(t)},IM=function(e,t){return e==="h"&&t==="rtl"?-1:1},VM=function(e,t,n,r,o){var i=IM(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),c=!1,u=s>0,d=0,f=0;do{if(!a)break;var p=tb(e,a),w=p[0],g=p[1],b=p[2],v=g-b-i*w;(w||v)&&eb(e,a)&&(d+=v,f+=w);var y=a.parentNode;a=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(Math.abs(d)<1||!o)||!u&&(Math.abs(f)<1||!o))&&(c=!0),c},Pa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oy=function(e){return[e.deltaX,e.deltaY]},iy=function(e){return e&&"current"in e?e.current:e},FM=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$M=function(e){return`
262  .block-interactivity-`.concat(e,` {pointer-events: none;}
263  .allow-interactivity-`).concat(e,` {pointer-events: all;}
264`)},zM=0,go=[];function BM(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),o=m.useState(zM++)[0],i=m.useState(Z1)[0],s=m.useRef(e);m.useEffect(function(){s.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=cM([e.lockRef.current],(e.shards||[]).map(iy),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=m.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!s.current.allowPinchZoom;var v=Pa(g),y=n.current,x="deltaX"in g?g.deltaX:y[0]-v[0],S="deltaY"in g?g.deltaY:y[1]-v[1],C,E=g.target,T=Math.abs(x)>Math.abs(S)?"h":"v";if("touches"in g&&T==="h"&&E.type==="range")return!1;var P=ry(T,E);if(!P)return!0;if(P?C=T:(C=T==="v"?"h":"v",P=ry(T,E)),!P)return!1;if(!r.current&&"changedTouches"in g&&(x||S)&&(r.current=C),!C)return!0;var N=r.current||C;return VM(N,b,g,N==="h"?x:S,!0)},[]),l=m.useCallback(function(g){var b=g;if(!(!go.length||go[go.length-1]!==i)){var v="deltaY"in b?oy(b):Pa(b),y=t.current.filter(function(C){return C.name===b.type&&(C.target===b.target||b.target===C.shadowParent)&&FM(C.delta,v)}
vendor: 4,137 bytes, line 264
264)[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var x=(s.current.shards||[]).map(iy).filter(Boolean).filter(function(C){return C.contains(b.target)}),S=x.length>0?a(b,x[0]):!s.current.noIsolation;S&&b.cancelable&&b.preventDefault()}}},[]),c=m.useCallback(function(g,b,v,y){var x={name:g,delta:b,target:v,should:y,shadowParent:UM(v)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(S){return S!==x})},1)},[]),u=m.useCallback(function(g){n.current=Pa(g),r.current=void 0},[]),d=m.useCallback(function(g){c(g.type,oy(g),g.target,a(g,e.lockRef.current))},[]),f=m.useCallback(function(g){c(g.type,Pa(g),g.target,a(g,e.lockRef.current))},[]);m.useEffect(function(){return go.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,mo),document.addEventListener("touchmove",l,mo),document.addEventListener("touchstart",u,mo),function(){go=go.filter(function(g){return g!==i}),document.removeEventListener("wheel",l,mo),document.removeEventListener("touchmove",l,mo),document.removeEventListener("touchstart",u,mo)}},[]);var p=e.removeScrollBar,w=e.inert;return m.createElement(m.Fragment,null,w?m.createElement(i,{styles:$M(o)}):null,p?m.createElement(jM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function UM(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const WM=vM(X1,BM);var nb=m.forwardRef(function(e,t){return m.createElement(kc,rn({},e,{ref:t,sideCar:WM}))});nb.classNames=kc.classNames;var HM=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},yo=new WeakMap,ka=new WeakMap,Aa={},_u=0,rb=function(e){return e&&(e.host||rb(e.parentNode))},KM=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=rb(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},GM=function(e,t,n,r){var o=KM(t,Array.isArray(e)?e:[e]);Aa[n]||(Aa[n]=new WeakMap);var i=Aa[n],s=[],a=new Set,l=new Set(o),c=function(d){!d||a.has(d)||(a.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))u(f);else try{var p=f.getAttribute(r),w=p!==null&&p!=="false",g=(yo.get(f)||0)+1,b=(i.get(f)||0)+1;yo.set(f,g),i.set(f,b),s.push(f),g===1&&w&&ka.set(f,!0),b===1&&f.setAttribute(n,"true"),w||f.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),a.clear(),_u++,function(){s.forEach(function(d){var f=yo.get(d)-1,p=i.get(d)-1;yo.set(d,f),i.set(d,p),f||(ka.has(d)||d.removeAttribute(r),ka.delete(d)),p||d.removeAttribute(n)}),_u--,_u||(yo=new WeakMap,yo=new WeakMap,ka=new WeakMap,Aa={})}},YM=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=HM(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),GM(r,o,n,"aria-hidden")):function(){return null}},Ac="Dialog",[ob,m3]=br(Ac),[QM,Gt]=ob(Ac),ib=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=m.useRef(null),l=m.useRef(null),[c,u]=mi({prop:r,defaultProp:o??!1,onChange:i,caller:Ac});return h.jsx(QM,{scope:t,triggerRef:a,contentRef:l,contentId:ts(),titleId:ts(),descriptionId:ts(),open:c,onOpenChange:u,onOpenToggle:m.useCallback(()=>u(d=>!d),[u]),modal:s,children:n})};ib.displayName=Ac;var sb="DialogTrigger",qM=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Gt(sb,n),i=je(t,o.triggerRef);return h.jsx(le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":sp(o.open),...r,ref:i,onClick:ie(e.onClick,o.onOpenToggle)})});qM.displayName=sb;var op="DialogPortal",[XM,ab]=ob(op,{forceMount:void 0}),lb=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Gt(op,t);return h.jsx(XM,{scope:t,forceMount:n,children:m.Children.map(r,s=>h.jsx(io,{present:n||i.open,children:h.jsx(Bh,{asChild:!0,container:o,children:s})}))})};lb.displayName=op;var Bl="DialogOverlay",cb=m.forwardRef((e,t)=>
vendor: 4,885 bytes, lines 264-268
264{const n=ab(Bl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Gt(Bl,e.__scopeDialog);return i.modal?h.jsx(io,{present:r||i.open,children:h.jsx(JM,{...o,ref:t})}):null});cb.displayName=Bl;var ZM=ks("DialogOverlay.RemoveScroll"),JM=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Gt(Bl,n);return h.jsx(nb,{as:ZM,allowPinchZoom:!0,shards:[o.contentRef],children:h.jsx(le.div,{"data-state":sp(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),eo="DialogContent",ub=m.forwardRef((e,t)=>{const n=ab(eo,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Gt(eo,e.__scopeDialog);return h.jsx(io,{present:r||i.open,children:i.modal?h.jsx(eD,{...o,ref:t}):h.jsx(tD,{...o,ref:t})})});ub.displayName=eo;var eD=m.forwardRef((e,t)=>{const n=Gt(eo,e.__scopeDialog),r=m.useRef(null),o=je(t,n.contentRef,r);return m.useEffect(()=>{const i=r.current;if(i)return YM(i)},[]),h.jsx(db,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ie(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ie(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:ie(e.onFocusOutside,i=>i.preventDefault())})}),tD=m.forwardRef((e,t)=>{const n=Gt(eo,e.__scopeDialog),r=m.useRef(!1),o=m.useRef(!1);return h.jsx(db,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((c=n.triggerRef.current)==null?void 0:c.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),db=m.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=Gt(eo,n),l=m.useRef(null),c=je(t,l);return lM(),h.jsxs(h.Fragment,{children:[h.jsx(G1,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:h.jsx(xc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":sp(a.open),...s,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(nD,{titleId:a.titleId}),h.jsx(oD,{contentRef:l,descriptionId:a.descriptionId})]})]})}),ip="DialogTitle",fb=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Gt(ip,n);return h.jsx(le.h2,{id:o.titleId,...r,ref:t})});fb.displayName=ip;var hb="DialogDescription",pb=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Gt(hb,n);return h.jsx(le.p,{id:o.descriptionId,...r,ref:t})});pb.displayName=hb;var mb="DialogClose",gb=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Gt(mb,n);return h.jsx(le.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,()=>o.onOpenChange(!1))})});gb.displayName=mb;function sp(e){return e?"open":"closed"}var yb="DialogTitleWarning",[g3,vb]=gA(yb,{contentName:eo,titleName:ip,docsSlug:"dialog"}),nD=({titleId:e})=>{const t=vb(yb),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
265
266If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
267
268For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},rD="DialogDescriptionWarning",oD=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${vb(rD).contentName}}.`;return m.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},iD=ib,sD=lb,xb=cb,wb=ub,bb=fb,Sb=pb,aD=gb;const lD=iD,cD=sD,Cb=m.forwardRef(({className:e,...t},n)=>h.jsx(xb,{ref:n,className:Oe("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Cb.displayName=xb.displayName;const Eb=m.forwardRef(({className:e,children:t,...n},r)=>h.jsxs(cD,{children:[h.jsx(Cb,{}),h.jsxs(wb,{ref:r,className:Oe("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
268nded-lg",e),...n,children:[t,h.jsxs(aD,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[h.jsx(Kh,{className:"h-4 w-4"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Eb.displayName=wb.displayName;const Tb=({className:e,...t})=>h.jsx("div",{className:Oe("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Tb.displayName="DialogHeader";const Pb=m.forwardRef(({className:e,...t},n)=>h.jsx(bb,{ref:n,className:Oe("text-lg font-semibold leading-none tracking-tight",e),...t}));Pb.displayName=bb.displayName;const kb=m.forwardRef(({className:e,...t},n)=>h.jsx(Sb,{ref:n,className:Oe("text-sm text-muted-foreground",e),...t}));kb.displayName=Sb.displayName;function uD(e){const t=m.useRef({value:e,previous:e});return m.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Rc="Switch",[dD,y3]=br(Rc),[fD,hD]=dD(Rc),Ab=m.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:s,disabled:a,value:l="on",onCheckedChange:c,form:u,...d}=e,[f,p]=m.useState(null),w=je(t,x=>p(x)),g=m.useRef(!1),b=f?u||!!f.closest("form"):!0,[v,y]=mi({prop:o,defaultProp:i??!1,onChange:c,caller:Rc});return h.jsxs(fD,{scope:n,checked:v,disabled:a,children:[h.jsx(le.button,{type:"button",role:"switch","aria-checked":v,"aria-required":s,"data-state":Mb(v),"data-disabled":a?"":void 0,disabled:a,value:l,...d,ref:w,onClick:ie(e.onClick,x=>{y(S=>!S),b&&(g.current=x.isPropagationStopped(),g.current||x.stopPropagation())})}),b&&h.jsx(jb,{control:f,bubbles:!g.current,name:r,value:l,checked:v,required:s,disabled:a,form:u,style:{transform:"translateX(-100%)"}})]})});Ab.displayName=Rc;var Rb="SwitchThumb",Nb=m.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=hD(Rb,n);return h.jsx(le.span,{"data-state":Mb(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Nb.displayName=Rb;var pD="SwitchBubbleInput",jb=m.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},i)=>{const s=m.useRef(null),a=je(s,i),l=uD(n),c=A1(t);return m.useEffect(()=>{const u=s.current;if(!u)return;const d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&p){const w=new Event("click",{bubbles:r});p.call(u,n),u.dispatchEvent(w)}},[l,n,r]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:a,style:{...o.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});jb.displayName=pD;function Mb(e){return e?"checked":"unchecked"}var Db=Ab,mD=Nb;const Ob=m.forwardRef(({className:e,...t},n)=>h.jsx(Db,{className:Oe("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:h.jsx(mD,{className:Oe("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Ob.displayName=Db.displayName;const gD=n1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ns=m.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?vA:"button";return h.jsx(s,{className:Oe(gD({variant:t,size:n,className:e})),ref:i,...o})});Ns.displayName="Button";const nl={functional:!1,analytics:!1,marketing:!1},ap="cookie-preferences",lp=m.createContext({open:()=>{},prefs:nl,marketingConsent:!1,hasDecided:!0,acceptAll:()=>{},rejectAll:()=>{}}),_b=()=>m.useContext(lp),Lb=()=>m.useContext(lp),sy=()=>{try{const e=localStorage.getItem(ap);return e?{...nl,...JSON.parse(e)}:nl}catch{return nl}},yD=()=>{try{return localStorage.getItem(ap)!==null}catch{return!0}},vD=({children:e})=>{const[t,n]=m.useState(!1),[r,o]=m.useState(()=>sy()),[i,s]=m.useState(()=>sy()),[a,l]=m.useState(()=>yD()),c=w=>{localStorage.setItem(ap,JSON.stringify(w)),o(w),s(w),l(!0)},u=()=>{c(i),n(!1)},d=()=>c({functional:!0,analytics:!0,marketing:!0}),f=()=>c({functional:!1,analytics:!1,marketing:!1}
268),p=[{key:"necessary",label:"Strictly Necessary",description:"Required for sign-in, security, and basic site functionality. These cannot be disabled.",locked:!0,enabled:!0},{key:"functional",label:"Functional",description:"Enhance your checkout experience, remember preferences, and enable payment processing features (DodoPayments).",locked:!1,enabled:i.functional},{key:"analytics",label:"Analytics",description:"Help us understand how visitors use CatalogMotion so we can improve the product. Data is aggregated and anonymous.",locked:!1,enabled:i.analytics},{key:"marketing",label:"Marketing",description:"Used to measure our advertising campaigns and show you relevant ads on other platforms (Meta/Facebook Pixel).",locked:!1,enabled:i.marketing}];return h.jsxs(lp.Provider,{value:{open:()=>n(!0),prefs:r,marketingConsent:r.marketing,hasDecided:a,acceptAll:d,rejectAll:f},children:[e,h.jsx(lD,{open:t,onOpenChange:n,children:h.jsxs(Eb,{className:"sm:max-w-md",children:[h.jsxs(Tb,{children:[h.jsx(Pb,{className:"text-xl font-bold",children:"Cookie Preferences"}),h.jsx(kb,{className:"text-sm text-muted-foreground",children:`Choose which cookies you'd like to allow. Your preferences are saved and can be changed anytime via the "Cookie Preferences" link in our footer.`})]}),h.jsx("div",{className:"space-y-3 mt-2",children:p.map(w=>h.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-lg border border-border p-4",children:[h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsx("p",{className:"font-semibold text-sm",children:w.label}),h.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:w.description})]}),h.jsx(Ob,{checked:w.enabled,disabled:w.locked,onCheckedChange:g=>{w.key!=="necessary"&&s(b=>({...b,[w.key]:g}))},className:"shrink-0 mt-0.5"})]},w.key))}),h.jsxs("div",{className:"flex gap-3 mt-4",children:[h.jsx(Ns,{variant:"outline",className:"flex-1",onClick:()=>n(!1),children:"Cancel"}),h.jsx(Ns,{className:"flex-1",onClick:u,children:"Save Preferences"})]})]})})]})},cp=m.createContext({});function up(e){const t=m.useRef(null);return t.current===null&&(t.current=e()),t.current}const xD=typeof window<"u",Ib=xD?m.useLayoutEffect:m.useEffect,Nc=m.createContext(null);function dp(e,t){e.indexOf(t)===-1&&e.push(t)}function Ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const hn=(e,t,n)=>n>t?t:n<e?e:n;let jc=()=>{},li=()=>{};const gr={},Vb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Fb(e){return typeof e=="object"&&e!==null}const $b=e=>/^0[^.\s]+$/u.test(e);function zb(e){let t;return()=>(t===void 0&&(t=e()),t)}const Et=e=>e,wD=(e,t)=>n=>t(e(n)),Ys=(...e)=>e.reduce(wD),js=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class fp{constructor(){this.subscriptions=[]}add(t){return dp(this.subscriptions,t),()=>Ul(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const at=e=>e*1e3,St=e=>e/1e3;function Bb(e,t){return t?e*(1e3/t):0}const Ub=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,bD=1e-7,SD=12;function CD(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=Ub(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>bD&&++a<SD);return s}function Qs(e,t,n,r){if(e===t&&n===r)return Et;const o=i=>CD(i,0,1,e,n);return i=>i===0||i===1?i:Ub(o(i),t,r)}const Wb=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hb=e=>t=>1-e(1-t),Kb=Qs(.33,1.53,.69,.99),hp=Hb(Kb),Gb=Wb(hp),Yb=e=>e>=1?1:(e*=2)<1?.5*hp(e):.5*(2-Math.pow(2,-10*(e-1))),pp=e=>1-Math.sin(Math.acos(e)),Qb=Hb(pp),qb=Wb(pp),ED=Qs(.42,0,1,1),TD=Qs(0,0,.58,1),Xb=Qs(.42,0,.58,1),PD=e=>Array.isArray(e)&&typeof e[0]!="number",Zb=e=>Array.isArray(e)&&typeof e[0]=="number",ay={linear:Et,easeIn:ED,easeInOut:Xb,easeOut:TD,circIn:pp,circInOut:qb,circOut:Qb,backIn:hp,backInOut:Gb,backOut:Kb,anticipate:Yb},kD=e=>typeof e=="string",ly=e=>{if(Zb(e)){li(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return Qs(t,n,r,o)}else if(kD(e))return li(ay[e]!==void 0,`Invalid easing type '${e}
268'`,"invalid-easing-type"),ay[e];return e},Ra=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],cy={value:null,addProjectionMetrics:null};function AD(e,t){let n=new Set,r=new Set,o=!1,i=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(d){s.has(d)&&(u.schedule(d),e()),l++,d(a)}const u={schedule:(d,f=!1,p=!1)=>{const g=p&&o?n:r;return f&&s.add(d),g.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0;const f=n;n=r,r=f,n.forEach(c),t&&cy.value&&cy.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,u.process(d))}};return u}const RD=40;function Jb(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Ra.reduce((x,S)=>(x[S]=AD(i,t?S:void 0),x),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:f,render:p,postRender:w}=s,g=()=>{const x=gr.useManualTiming,S=x?o.timestamp:performance.now();n=!1,x||(o.delta=r?1e3/60:Math.max(Math.min(S-o.timestamp,RD),1)),o.timestamp=S,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),f.process(o),p.process(o),w.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(g))},b=()=>{n=!0,r=!0,o.isProcessing||e(g)};return{schedule:Ra.reduce((x,S)=>{const C=s[S];return x[S]=(E,T=!1,P=!1)=>(n||b(),C.schedule(E,T,P)),x},{}),cancel:x=>{for(let S=0;S<Ra.length;S++)s[Ra[S]].cancel(x)},state:o,steps:s}}const{schedule:se,cancel:yr,state:Le,steps:Lu}=Jb(typeof requestAnimationFrame<"u"?requestAnimationFrame:Et,!0);let rl;function ND(){rl=void 0}const qe={now:()=>(rl===void 0&&qe.set(Le.isProcessing||gr.useManualTiming?Le.timestamp:performance.now()),rl),set:e=>{rl=e,queueMicrotask(ND)}},eS=e=>t=>typeof t=="string"&&t.startsWith(e),tS=eS("--"),jD=eS("var(--"),mp=e=>jD(e)?MD.test(e.split("/*")[0].trim()):!1,MD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function uy(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const xi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ms={...xi,transform:e=>hn(0,1,e)},Na={...xi,default:1},ns=e=>Math.round(e*1e5)/1e5,gp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function DD(e){return e==null}const OD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,yp=(e,t)=>n=>!!(typeof n=="string"&&OD.test(n)&&n.startsWith(e)||t&&!DD(n)&&Object.prototype.hasOwnProperty.call(n,t)),nS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(gp);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},_D=e=>hn(0,255,e),Iu={...xi,transform:e=>Math.round(_D(e))},Or={test:yp("rgb","red"),parse:nS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Iu.transform(e)+", "+Iu.transform(t)+", "+Iu.transform(n)+", "+ns(Ms.transform(r))+")"};function LD(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const yf={test:yp("#"),parse:LD,transform:Or.transform},qs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bn=qs("deg"),cn=qs("%"),F=qs("px"),ID=qs("vh"),VD=qs("vw"),dy={...cn,parse:e=>cn.parse(e)/100,transform:e=>cn.transform(e*100)},jo={test:yp("hsl","hue"),parse:nS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cn.transform(ns(t))+", "+cn.transform(ns(n))+", "+ns(Ms.transform(r))+")"},Te={test:e=>Or.test(e)||yf.test(e)||jo.test(e),parse:e=>Or.test(e)?Or.parse(e):jo.test(e)?jo.parse(e):yf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Or.transform(e):jo.transform(e),getAnimatableNone:e=>{const t=Te.parse(e);return t.alpha=0,Te.transform(t)}},FD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $D(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(gp))==null?void 0:t.length)||0)+(((n=e.match(FD))==null?void 0:n.length)||0)>0}const rS="number",oS="color",zD="var",BD="var(",fy="${}",UD=/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 ci(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(UD,l=>(Te.test(l)?(r.color.push(i),o.push(oS),n.push(Te.parse(l))):l.startsWith(BD)?(r.var.push(i),o.push(zD),n.push(l)):(r.number.push(i),o.push(rS),n.push(parseFloat(l))),++i,fy)).split(fy);return{values:n,split:a,indexes:r,types:o}}function WD(e){return ci(e).values}function iS({split:e,types:t}){const n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],r[i]!==void 0){const s=t[i];s===rS?o+=ns(r[i]):s===oS?o+=Te.transform(r[i]):o+=r[i]}return o}}function HD(e){return iS(ci(e))}const KD=e=>typeof e=="number"?0:Te.test(e)?Te.getAnimatableNone(e):e,GD=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:KD(e);function YD(e){const t=ci(e);return iS(t)(t.values.map((r,o)=>GD(r,t.split[o])))}const Ut={test:$D,parse:WD,createTransformer:HD,getAnimatableNone:YD};function Vu(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 QD({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Vu(l,a,e+1/3),i=Vu(l,a,e),s=Vu(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Wl(e,t){return n=>n>0?t:e}const he=(e,t,n)=>e+(t-e)*n,Fu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},qD=[yf,Or,jo],XD=e=>qD.find(t=>t.test(e));function hy(e){const t=XD(e);if(jc(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===jo&&(n=QD(n)),n}const py=(e,t)=>{const n=hy(e),r=hy(t);
vendor: 20,928 bytes, line 268
268if(!n||!r)return Wl(e,t);const o={...n};return i=>(o.red=Fu(n.red,r.red,i),o.green=Fu(n.green,r.green,i),o.blue=Fu(n.blue,r.blue,i),o.alpha=he(n.alpha,r.alpha,i),Or.transform(o))},vf=new Set(["none","hidden"]);function ZD(e,t){return vf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function JD(e,t){return n=>he(e,t,n)}function vp(e){return typeof e=="number"?JD:typeof e=="string"?mp(e)?Wl:Te.test(e)?py:nO:Array.isArray(e)?sS:typeof e=="object"?Te.test(e)?py:eO:Wl}function sS(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>vp(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function eO(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=vp(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function tO(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],s=e.indexes[i][r[i]],a=e.values[s]??0;n[o]=a,r[i]++}return n}const nO=(e,t)=>{const n=Ut.createTransformer(t),r=ci(e),o=ci(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?vf.has(e)&&!o.values.length||vf.has(t)&&!r.values.length?ZD(e,t):Ys(sS(tO(r,o),o.values),n):(jc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Wl(e,t))};function aS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):vp(e)(e,t)}const rO=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>yr(t),now:()=>Le.isProcessing?Le.timestamp:qe.now()}},lS=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Hl=2e4;function xp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Hl;)t+=n,r=e.next(t);return t>=Hl?1/0:t}function oO(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(xp(r),Hl);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:St(o)}}const ye={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function xf(e,t){return e*Math.sqrt(1-t*t)}const iO=12;function sO(e,t,n){let r=n;for(let o=1;o<iO;o++)r=r-e(r)/t(r);return r}const $u=.001;function aO({duration:e=ye.duration,bounce:t=ye.bounce,velocity:n=ye.velocity,mass:r=ye.mass}){let o,i;jc(e<=at(ye.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=hn(ye.minDamping,ye.maxDamping,s),e=hn(ye.minDuration,ye.maxDuration,St(e)),s<1?(o=c=>{const u=c*s,d=u*e,f=u-n,p=xf(c,s),w=Math.exp(-d);return $u-f/p*w},i=c=>{const d=c*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(c,2)*e,w=Math.exp(-d),g=xf(Math.pow(c,2),s);return(-o(c)+$u>0?-1:1)*((f-p)*w)/g}):(o=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-$u+u*d},i=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=sO(o,i,a);if(e=at(e),isNaN(l))return{stiffness:ye.stiffness,damping:ye.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}const lO=["duration","bounce"],cO=["stiffness","damping","mass"];function my(e,t){return t.some(n=>e[n]!==void 0)}function uO(e){let t={velocity:ye.velocity,stiffness:ye.stiffness,damping:ye.damping,mass:ye.mass,isResolvedFromDuration:!1,...e};if(!my(e,cO)&&my(e,lO))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*hn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ye.mass,stiffness:o,damping:i}}else{const n=aO({...e,velocity:0});t={...t,...n,mass:ye.mass},t.isResolvedFromDuration=!0}return t}function Kl(e=ye.visualDuration,t=ye.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=uO({...n,velocity:-St(n.velocity||0)}),w=f||0,g=c/(2*Math.sqrt(l*u)),b=s-i,v=St(Math.sqrt(l/u)),y=Math.abs(b)<5;r||(r=y?ye.restSpeed.granular:ye.restSpeed.default),o||(o=y?ye.restDelta.granular:ye.restDelta.default);let x,S,C,E,T,P;if(g<1)C=xf(v,g),E=(w+g*v*b)/C,x=k=>{const I=Math.exp(-g*v*k);return s-I*(E*Math.sin(C*k)+b*Math.cos(C*k))},T=g*v*E+b*C,P=g*v*b-E*C,S=k=>Math.exp(-g*v*k)*(T*Math.sin(C*k)+P*Math.cos(C*k));else if(g===1){x=I=>s-Math.exp(-v*I)*(b+(w+v*b)*I);const k=w+v*b;S=I=>Math.exp(-v*I)*(v*k*I-w)}else{const k=v*Math.sqrt(g*g-1);x=O=>{const W=Math.exp(-g*v*O),$=Math.min(k*O,300);return s-W*((w+g*v*b)*Math.sinh($)+k*b*Math.cosh($))/k};const I=(w+g*v*b)/k,_=g*v*I-b*k,U=g*v*b-I*k;S=O=>{const W=Math.exp(-g*v*O),$=Math.min(k*O,300);return W*(_*Math.sinh($)+U*Math.cosh($))}}const N={calculatedDuration:p&&d||null,velocity:k=>at(S(k)),next:k=>{if(!p&&g<1){const _=Math.exp(-g*v*k),U=Math.sin(C*k),O=Math.cos(C*k),W=s-_*(E*U+b*O),$=at(_*(T*U+P*O));return a.done=Math.abs($)<=r&&Math.abs(s-W)<=o,a.value=a.done?s:W,a}const I=x(k);if(p)a.done=k>=d;else{const _=at(S(k));a.done=Math.abs(_)<=r&&Math.abs(s-I)<=o}return a.value=a.done?s:I,a},toString:()=>{const k=Math.min(xp(N),Hl),I=lS(_=>N.next(k*_).value,k,30);return k+"ms "+I},toTransition:()=>{}};return N}Kl.applyToOptions=e=>{const t=oO(e,100,Kl);return e.ease=t.ease,e.duration=at(t.duration),e.type="keyframes",e};const dO=5;function cS(e,t,n){const r=Math.max(t-dO,0);return Bb(n-e(r),t-r)}function wf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=P=>a!==void 0&&P<a||l!==void 0&&P>l,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let g=n*t;const b=d+g,v=s===void 0?b:s(b);v!==b&&(g=v-d);const y=P=>-g*Math.exp(-P/r),x=P=>v+y(P),S=P=>{const N=y(P),k=x(P);f.done=Math.abs(N)<=c,f.value=f.done?v:k};let C,E;const T=P=>{p(f.value)&&(C=P,E=Kl({keyframes:[f.value,w(f.value)],velocity:cS(x,P,f.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return T(0),{calculatedDuration:null,next:P=>{let N=!1;return!E&&C===void 0&&(N=!0,S(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!N&&S(P),f)}}}function fO(e,t,n){const r=[],o=n||gr.mix||aS,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Et:t;a=Ys(l,a)}r.push(a)}return r}function hO(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(li(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=fO(t,r,o),l=a.length,c=u=>{if(s&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const f=js(e[d],e[d+1],u);return a[d](f)};return n?u=>c(hn(e[0],e[i-1],u)):c}function pO(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=js(0,t,r);e.push(he(n,1,o))}}function mO(e){const t=[0];return pO(t,e.length-1),t}function gO(e,t){return e.map(n=>n*t)}function yO(e,t){return e.map(()=>t||Xb).splice(0,e.length-1)}function rs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=PD(r)?r.map(ly):ly(r),i={done:!1,value:t[0]},s=gO(n&&n.length===t.length?n:mO(t),e),a=hO(s,t,{ease:Array.isArray(o)?o:yO(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const vO=e=>e!==null;function Mc(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(vO),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const xO={decay:wf,inertia:wf,tween:rs,keyframes:rs,spring:Kl};function uS(e){typeof e.type=="string"&&(e.type=xO[e.type])}class wp{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const wO=e=>e/100;class Gl extends wp{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,o;const{motionValue:n}=this.options;n&&n.updatedAt!==qe.now()&&this.tick(qe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;uS(t);const{type:n=rs,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t;let{keyframes:a}=t;const l=n||rs;l!==rs&&typeof a[0]!="number"&&(this.mixKeyframes=Ys(wO,aS(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=xp(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:f,repeatDelay:p,type:w,onUpdate:g,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>o;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let x=this.currentTime,S=r;if(d){const P=Math.min(this.currentTime,o)/a;let N=Math.floor(P),k=P%1;!k&&P>=1&&(k=1),k===1&&N--,N=Math.min(N,d+1),!!(N%2)&&(f==="reverse"?(k=1-k,p&&(k-=p/a)):f==="mirror"&&(S=s)),x=hn(0,1,k)*a}let C;y?(this.delayState.value=u[0],C=this.delayState):C=S.next(x),i&&!y&&(C.value=i(C.value));let{done:E}=C;!y&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&w!==wf&&(C.value=Mc(u,this.options,b,this.speed)),g&&g(C.value),T&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return St(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(this.currentTime)}set time(t){t=at(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return cS(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(qe.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=St(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=rO,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(i=(o=this.options).onPlay)==null||i.call(o);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(qe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function bO(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const _r=e=>e*180/Math.PI,bf=e=>{const t=_r(Math.atan2(e[1],e[0]));return Sf(t)},SO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:bf,rotateZ:bf,skewX:e=>_r(Math.atan(e[1])),skewY:e=>_r(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Sf=e=>(e=e%360,e<0&&(e+=360),e),gy=bf,yy=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),vy=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),CO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:yy,scaleY:vy,scale:e=>(yy(e)+vy(e))/2,rotateX:e=>Sf(_r(Math.atan2(e[6],e[5]))),rotateY:e=>Sf(_r(Math.atan2(-e[2],e[0]))),rotateZ:gy,rotate:gy,skewX:e=>_r(Math.atan(e[4])),skewY:e=>_r(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Cf(e){return e.includes("scale")?1:0}function Ef(e,t){if(!e||e==="none")return Cf(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=CO,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=SO,o=a}if(!o)return Cf(t);const i=r[t],s=o[1].split(",").map(TO);return typeof i=="function"?i(s):s[i]}const EO=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ef(n,t)};function TO(e){return parseFloat(e.trim())}const wi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bi=new Set(wi),xy=e=>e===xi||e===F,PO=new Set(["x","y","z"]),kO=wi.filter(e=>!PO.has(e));function AO(e){const t=[];return kO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const nr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ef(t,"x"),y:(e,{transform:t})=>Ef(t,"y")};nr.translateX=nr.x;nr.translateY=nr.y;const Kr=new Set;let Tf=!1,Pf=!1,kf=!1;function dS(){if(Pf){const e=Array.from(Kr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=AO(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Pf=!1,Tf=!1,Kr.forEach(e=>e.complete(kf)),Kr.clear()}function fS(){Kr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Pf=!0)})}function RO(){kf=!0,fS(),dS(),kf=!1}class bp{constructor(t,n,r,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Kr.add(this),Tf||(Tf=!0,se.read(fS),se.resolveKeyframes(dS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const i=o==null?void 0:o.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}bO(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Kr.delete(this)}cancel(){this.state==="scheduled"&&(Kr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const NO=e=>e.startsWith("--");function hS(e,t,n){NO(t)?e.style.setProperty(t,n):e.style[t]=n}const jO={};function pS(e,t){const n=zb(e);return()=>jO[t]??n()}const MO=pS(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),mS=pS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Wi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,wy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wi([0,.65,.55,1]),circOut:Wi([.55,0,1,.45]),backIn:Wi([.31,.01,.66,-.59]),backOut:Wi([.33,1.53,.69,.99])};function gS(e,t){if(e)return typeof e=="function"?mS()?lS(e,t):"ease-out":Zb(e)?Wi(e):Array.isArray(e)?e.map(n=>gS(n,t)||wy.easeOut):wy[e]}function DO(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=gS(a,o);Array.isArray(d)&&(u.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(u,f)}function yS(e){return typeof e=="function"&&"applyToOptions"in e}function OO({type:e,...t}){return yS(e)&&mS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class vS extends wp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,li(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=OO(t);this.animation=DO(n,r,o,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const u=Mc(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),hS(n,r,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,o;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return St(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=at(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&MO()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Et):o(this)}}const xS={anticipate:Yb,backInOut:Gb,circInOut:qb};function _O(e){return e in xS}function LO(e){typeof e.ease=="string"&&_O(e.ease)&&(e.ease=xS[e.ease])}const zu=10;class IO extends vS{constructor(t){LO(t),uS(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:i,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Gl({...s,autoplay:!1}),l=Math.max(zu,qe.now()-this.startTime),c=hn(0,zu,l-zu),u=a.sample(l).value,{name:d}=this.options;i&&d&&hS(i,d,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}
268const by=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ut.test(e)||e==="0")&&!e.startsWith("url("));function VO(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function FO(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=by(o,t),a=by(i,t);return jc(s===a,`You are trying to animate ${t} from "${o}" to "${i}". "${s?i:o}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:VO(e)||(n==="spring"||yS(n))&&r}function Af(e){e.duration=0,e.type="keyframes"}const wS=new Set(["opacity","clipPath","filter","transform"]),$O=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function zO(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&$O.test(e[t]))return!0;return!1}const BO=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),UO=zb(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function WO(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return UO()&&n&&(wS.has(n)||BO.has(n)&&zO(a))&&(n!=="transform"||!u)&&!c&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}const HO=40;class KO extends wp{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){var w;super(),this.stop=()=>{var g,b;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=qe.now();const f={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:c,element:u,...d},p=(u==null?void 0:u.KeyframeResolver)||bp;this.keyframeResolver=new p(a,(g,b,v)=>this.onKeyframesResolved(g,b,f,!v),l,c,u),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,o){var v,y;this.keyframeResolver=void 0;const{name:i,type:s,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=qe.now();let d=!0;FO(t,i,s,a)||(d=!1,(gr.instantAnimations||!l)&&(u==null||u(Mc(t,r,n))),t[0]=t[t.length-1],Af(r),r.repeat=0);const p={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>HO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},w=d&&!c&&WO(p),g=(y=(v=p.motionValue)==null?void 0:v.owner)==null?void 0:y.current;let b;if(w)try{b=new IO({...p,element:g})}catch{b=new Gl(p)}else b=new Gl(p);b.finished.then(()=>{this.notifyFinished()}).catch(Et),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),RO()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function bS(e,t,n,r=0,o=1){const i=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}const GO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function YO(e){const t=GO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const QO=4;function SS(e,t,n=1){li(n<=QO,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=YO(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return Vb(s)?parseFloat(s):s}return mp(o)?SS(o,t,n+1):o}const qO={type:"spring",stiffness:500,damping:25,restSpeed:10},XO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ZO={type:"keyframes",duration:.8},JO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e_=(e,{keyframes:t})=>t.length>2?ZO:bi.has(e)?e.startsWith("scale")?XO(t[1]):qO:JO;function CS(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Sp(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?CS(n,e):n}const t_=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function n_(e){for(const t in e)if(!t_.has(t))return!0;return!1}const Cp=(e,t,n,r={},o,i)=>s=>{const a=Sp(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-at(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};n_(a)||Object.assign(u,e_(e,u)),u.duration&&(u.duration=at(u.duration)),u.repeatDelay&&(u.repeatDelay=at(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Af(u),u.delay===0&&(
vendor: 54,142 bytes, line 268
268d=!0)),(gr.instantAnimations||gr.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(d=!0,Af(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=Mc(u.keyframes,a);if(f!==void 0){se.update(()=>{u.onUpdate(f),u.onComplete()});return}}return a.isSync?new Gl(u):new KO(u)};function Sy(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ep(e,t,n,r){if(typeof t=="function"){const[o,i]=Sy(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=Sy(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Gr(e,t,n){const r=e.getProps();return Ep(r,t,n!==void 0?n:r.custom,e)}const ES=new Set(["width","height","top","left","right","bottom",...wi]),Cy=30,r_=e=>!isNaN(parseFloat(e));class o_{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=qe.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=qe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=r_(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 fp);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=qe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Cy)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Cy);return Bb(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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ui(e,t){return new o_(e,t)}const Rf=e=>Array.isArray(e);function i_(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ui(n))}function s_(e){return Rf(e)?e[e.length-1]||0:e}function a_(e,t){const n=Gr(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=s_(i[s]);i_(e,s,a)}}const Ie=e=>!!(e&&e.getVelocity);function l_(e){return!!(Ie(e)&&e.add)}function Nf(e,t){const n=e.getValue("willChange");if(l_(n))return n.add(t);if(!n&&gr.WillChange){const r=new gr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Tp(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const c_="framerAppearId",TS="data-"+Tp(c_);function PS(e){return e.props[TS]}function u_({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function kS(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();i=i?CS(i,l):l;const c=i==null?void 0:i.reduceMotion;r&&(i=r);const u=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const p=e.getValue(f,e.latestValues[f]??null),w=a[f];if(w===void 0||d&&u_(d,f))continue;const g={delay:n,...Sp(i||{},f)},b=p.get();if(b!==void 0&&!p.isAnimating()&&!Array.isArray(w)&&w===b&&!g.velocity){se.update(()=>p.set(w));continue}let v=!1;if(window.MotionHandoffAnimation){const S=PS(e);if(S){const C=window.MotionHandoffAnimation(S,f,se);C!==null&&(g.startTime=C,v=!0)}}Nf(e,f);const y=c??e.shouldReduceMotion;p.start(Cp(f,p,w,y&&ES.has(f)?{type:!1}:g,e,v));const x=p.animation;x&&u.push(x)}if(s){const f=()=>se.update(()=>{s&&a_(e,s)});u.length?Promise.all(u).then(f):f()}return u}function jf(e,t,n={}){var l;const r=Gr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(kS(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=o;return d_(e,t,c,u,d,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[c,u]=a==="beforeChildren"?[i,s]:[s,i];return c().then(()=>u())}else return Promise.all([i(),s(n.delay)])}function d_(e,t,n=0,r=0,o=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(jf(l,t,{...s,delay:n+(typeof r=="function"?0:r)+bS(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function f_(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>jf(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=jf(e,t,n);else{const o=typeof t=="function"?Gr(e,t,n.custom):t;r=Promise.all(kS(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const h_={test:e=>e==="auto",parse:e=>e},AS=e=>t=>t.test(e),RS=[xi,F,cn,Bn,VD,ID,h_],Ey=e=>RS.find(AS(e));function p_(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||$b(e):!0}const m_=new Set(["brightness","contrast","saturate","opacity"]);function g_(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(gp)||[];if(!r)return e;const o=n.replace(r,"");let i=m_.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const y_=/\b([a-z-]*)\(.*?\)/gu,Mf={...Ut,getAnimatableNone:e=>{const t=e.match(y_);return t?t.map(g_).join(" "):e}},Df={...Ut,getAnimatableNone:e=>{const t=Ut.parse(e);return Ut.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Ty={...xi,transform:Math.round},v_={rotate:Bn,rotateX:Bn,rotateY:Bn,rotateZ:Bn,scale:Na,scaleX:Na,scaleY:Na,scaleZ:Na,skew:Bn,skewX:Bn,skewY:Bn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Ms,originX:dy,originY:dy,originZ:F},Pp={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...v_,zIndex:Ty,fillOpacity:Ms,strokeOpacity:Ms,numOctaves:Ty},x_={...Pp,color:Te,backgroundColor:Te,outlineColor:Te,fill:Te,stroke:Te,borderColor:Te,borderTopColor:Te,borderRightColor:Te,borderBottomColor:Te,borderLeftColor:Te,filter:Mf,WebkitFilter:Mf,mask:Df,WebkitMask:Df},NS=e=>x_[e],w_=new Set([Mf,Df]);function jS(e,t){let n=NS(e);return w_.has(n)||(n=Ut),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const b_=new Set(["auto","none","0"]);function S_(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!b_.has(i)&&ci(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=jS(n,o)}class C_ extends bp{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let d=t[u];if(typeof d=="string"&&(d=d.trim(),mp(d))){const f=SS(d,n.current);f!==void 0&&(t[u]=f),u===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!ES.has(r)||t.length!==2)return;const[o,i]=t,s=Ey(o),a=Ey(i),l=uy(o),c=uy(i);if(l!==c&&nr[r]){this.needsMeasurement=!0;return}if(s!==a)if(xy(s)&&xy(a))for(let u=0;u<t.length;u++){const d=t[u];typeof d=="string"&&(t[u]=parseFloat(d))}else nr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||p_(t[o]))&&r.push(o);r.length&&S_(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=nr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function MS(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const DS=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function ol(e){return Fb(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:kp,cancel:v3}=Jb(queueMicrotask,!1),Dt={x:!1,y:!1};function OS(){return Dt.x||Dt.y}function E_(e){return e==="x"||e==="y"?Dt[e]?null:(Dt[e]=!0,()=>{Dt[e]=!1}):Dt.x||Dt.y?null:(Dt.x=Dt.y=!0,()=>{Dt.x=Dt.y=!1})}function _S(e,t){const n=MS(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function T_(e){return!(e.pointerType==="touch"||OS())}function P_(e,t,n={}){const[r,o,i]=_S(e,n);return r.forEach(s=>{let a=!1,l=!1,c;const u=()=>{s.removeEventListener("pointerleave",w)},d=b=>{c&&(c(b),c=void 0),u()},f=b=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(b))},p=()=>{a=!0,window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",f,o)},w=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}d(b)}},g=b=>{if(!T_(b))return;l=!1;const v=t(s,b);typeof v=="function"&&(c=v,s.addEventListener("pointerleave",w,o))};s.addEventListener("pointerenter",g,o),s.addEventListener("pointerdown",p,o)}),i}const LS=(e,t)=>t?e===t?!0:LS(e,t.parentElement):!1,Ap=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,k_=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function A_(e){return k_.has(e.tagName)||e.isContentEditable===!0}const R_=new Set(["INPUT","SELECT","TEXTAREA"]);function N_(e){return R_.has(e.tagName)||e.isContentEditable===!0}const il=new WeakSet;function Py(e){return t=>{t.key==="Enter"&&e(t)}}function Bu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const j_=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Py(()=>{if(il.has(n))return;Bu(n,"down");const o=Py(()=>{Bu(n,"up")}),i=()=>Bu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ky(e){return Ap(e)&&!OS()}const Ay=new WeakSet;function M_(e,t,n={}){const[r,o,i]=_S(e,n),s=a=>{const l=a.currentTarget;if(!ky(a)||Ay.has(a))return;il.add(l),n.stopPropagation&&Ay.add(a);const c=t(l,a),u=(p,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),il.has(l)&&il.delete(l),ky(p)&&typeof c=="function"&&c(p,{success:w})},d=p=>{u(p,l===window||l===document||n.useGlobalTarget||LS(l,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",f,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),ol(a)&&(a.addEventListener("focus",c=>j_(c,o)),!A_(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function Rp(e){return Fb(e)&&"ownerSVGElement"in e}const sl=new WeakMap;let Un;const IS=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:Rp(r)&&"getBBox"in r?r.getBBox()[t]:r[n],D_=IS("inline","width","offsetWidth"),O_=IS("block","height","offsetHeight");function __({target:e,borderBoxSize:t}){var n;(n=sl.get(e))==null||n.forEach(r=>{r(e,{get width(){return D_(e,t)},get height(){return O_(e,t)}})})}function L_(e){e.forEach(__)}function I_(){typeof ResizeObserver>"u"||(Un=new ResizeObserver(L_))}function V_(e,t){Un||I_();const n=MS(e);return n.forEach(r=>{let o=sl.get(r);o||(o=new Set,sl.set(r,o)),o.add(t),Un==null||Un.observe(r)}),()=>{n.forEach(r=>{const o=sl.get(r);o==null||o.delete(t),o!=null&&o.size||Un==null||Un.unobserve(r)})}}const al=new Set;let Mo;function F_(){Mo=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};al.forEach(t=>t(e))},window.addEventListener("resize",Mo)}function $_(e){return al.add(e),Mo||F_(),()=>{al.delete(e),!al.size&&typeof Mo=="function"&&(window.removeEventListener("resize",Mo),Mo=void 0)}}function Ry(e,t){return typeof e=="function"?$_(e):V_(e,t)}function z_(e){return Rp(e)&&e.tagName==="svg"}const B_=[...RS,Te,Ut],U_=e=>B_.find(AS(e)),Ny=()=>({translate:0,scale:1,origin:0,originPoint:0}),Do=()=>({x:Ny(),y:Ny()}),jy=()=>({min:0,max:0}),Ae=()=>({x:jy(),y:jy()}),W_=new WeakMap;function Dc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ds(e){return typeof e=="string"||Array.isArray(e)}const Np=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jp=["initial",...Np];function Oc(e){return Dc(e.animate)||jp.some(t=>Ds(e[t]))}function VS(e){return!!(Oc(e)||e.variants)}function H_(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Ie(o))e.addValue(r,o);else if(Ie(i))e.addValue(r,ui(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,ui(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Of={current:null},FS={current:!1},K_=typeof window<"u";function G_(){if(FS.current=!0,!!K_)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Of.current=e.matches;e.addEventListener("change",t),t()}else Of.current=!1}const My=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Yl={};function $S(e){Yl=e}function Y_(){return Yl}class Q_{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=bp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=qe.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,se.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Oc(n),this.isVariantNode=VS(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const w=f[p];c[p]!==void 0&&Ie(w)&&w.set(c[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const o in this.initialValues)(n=this.values.get(o))==null||n.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=t,W_.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,i)=>this.bindToMotionValue(i,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(FS.current||G_(),this.shouldReduceMotion=Of.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),yr(this.notifyUpdate),yr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&wS.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,d=new vS({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:at(u)}),f=s(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=bi.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),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 Yl){const n=Yl[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ae()}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;r<My.length;r++){const o=My[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=H_(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.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=ui(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Vb(r)||$b(r))?r=parseFloat(r):!U_(r)&&Ut.test(n)&&(r=jS(t,n)),this.setBaseTarget(t,Ie(r)?r.get():r)),Ie(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=Ep(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Ie(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new fp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){kp.render(this.render)}}class zS extends Q_{constructor(){super(...arguments),this.KeyframeResolver=C_}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[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;Ie(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Sr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function BS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function q_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X_(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 Uu(e){return e===void 0||e===1}function _f({scale:e,scaleX:t,scaleY:n}){return!Uu(e)||!Uu(t)||!Uu(n)}function Nr(e){return _f(e)||US(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function US(e){return Dy(e.x)||Dy(e.y)}function Dy(e){return e&&e!=="0%"}function Ql(e,t,n){const r=e-n,o=t*r;return n+o}function Oy(e,t,n,r,o){return o!==void 0&&(e=Ql(e,o,r)),Ql(e,n,r)+t}function Lf(e,t=0,n=1,r,o){e.min=Oy(e.min,t,n,r,o),e.max=Oy(e.max,t,n,r,o)}function WS(e,{x:t,y:n}){Lf(e.x,t.translate,t.scale,t.originPoint),Lf(e.y,n.translate,n.scale,n.originPoint)}const _y=.999999999999,Ly=1.0000000000001;function Z_(e,t,n,r=!1){var a;const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let l=0;l<o;l++){i=n[l],s=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tn(e.x,-i.scroll.offset.x),tn(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,WS(e,s)),r&&Nr(i.latestValues)&&ll(e,i.latestValues,(a=i.layout)==null?void 0:a.layoutBox))}t.x<Ly&&t.x>_y&&(t.x=1),t.y<Ly&&t.y>_y&&(t.y=1)}function tn(e,t){e.min+=t,e.max+=t}function Iy(e,t,n,r,o=.5){const i=he(e.min,e.max,o);Lf(e,t,n,i,r)}function Vy(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ll(e,t,n){const r=n??e;Iy(e.x,Vy(t.x,r.x),t.scaleX,t.scale,t.originX),Iy(e.y,Vy(t.y,r.y),t.scaleY,t.scale,t.originY)}function HS(e,t){return BS(X_(e.getBoundingClientRect(),t))}function J_(e,t,n){const r=HS(e,n),{scroll:o}=t;return o&&(tn(r.x,o.offset.x),tn(r.y,o.offset.y)),r}const eL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tL=wi.length;function nL(e,t,n){let r="",o=!0;for(let i=0;i<tL;i++){const s=wi[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const c=parseFloat(a);l=s.startsWith("scale")?c===1:c===0}if(!l||n){const c=DS(a,Pp[s]);if(!l){o=!1;const u=eL[s]||s;r+=`${u}(${c}) `}n&&(t[s]=c)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Mp(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const c=t[l];if(bi.has(l)){s=!0;continue}else if(tS(l)){o[l]=c;continue}else{const u=DS(c,Pp[l]);l.startsWith("origin")?(a=!0,i[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=nL(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=i;r.transformOrigin=`${l} ${c} ${u}`}}function KS(e,{style:t,vars:n},r,o){const i=e.style;let s;for(s in t)i[s]=t[s];o==null||o.applyProjectionStyles(i,r);for(s in n)i.setProperty(s,n[s])}function Fy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Li={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Fy(e,t.target.x),r=Fy(e,t.target.y);return`${n}% ${r}%`}},rL={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ut.parse(e);if(o.length>5)return r;const i=Ut.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=he(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=c),typeof o[3+s]=="number"&&(o[3+s]/=c),i(o)}},If={borderRadius:{...Li,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Li,borderTopRightRadius:Li,borderBottomLeftRadius:Li,borderBottomRightRadius:Li,boxShadow:rL};function GS(e,{layout:t,layoutId:n}){return bi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!If[e]||e==="opacity")}function Dp(e,t,n){var s;const r=e.style,o=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(Ie(r[a])||o&&Ie(o[a])||GS(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function oL(e){return window.getComputedStyle(e)}class iL extends zS{constructor(){super(...arguments),this.type="html",this.renderInstance=KS}readValueFromInstance(t,n){var r;if(bi.has(n))return(r=this.projection)!=null&&r.isProjecting?Cf(n):EO(t,n);{const o=oL(t),i=(tS(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return HS(t,n)}build(t,n,r){Mp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Dp(t,n,r)}}const sL={offset:"stroke-dashoffset",array:"stroke-dasharray"},aL={offset:"strokeDashoffset",array:"strokeDasharray"};function lL(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?sL:aL;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const cL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function YS(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,c,u){if(Mp(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete d.transformBox);for(const p of cL)d[p]!==void 0&&(f[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&lL(d,o,i,s,!1)}const QS=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"]),qS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function uL(e,t,n,r){KS(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(QS.has(o)?o:Tp(o),t.attrs[o])}function XS(e,t,n){const r=Dp(e,t,n);for(const o in e)if(Ie(e[o])||Ie(t[o])){const i=wi.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}class dL extends zS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ae}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(bi.has(n)){const r=NS(n);return r&&r.default||0}return n=QS.has(n)?n:Tp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return XS(t,n,r)}build(t,n,r){YS(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){uL(t,n,r,o)}mount(t){this.isSVGTag=qS(t.tagName),super.mount(t)}}const fL=jp.length;function ZS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?ZS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<fL;n++){const r=jp[n],o=e.props[r];(Ds(o)||o===!1)&&(t[r]=o)}return t}function JS(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const hL=[...Np].reverse(),pL=Np.length;function mL(e){return t=>Promise.all(t.map(({animation:n,options:r})=>f_(e,n,r)))}function gL(e){let t=mL(e),n=$y(),r=!0,o=!1;const i=c=>(u,d)=>{var p;const f=Gr(e,d,c==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(f){const{transition:w,transitionEnd:g,...b}=f;u={...u,...b,...g}}return u};function s(c){t=c(e)}function a(c){const{props:u}=e,d=ZS(e.parent)||{},f=[],p=new Set;let w={},g=1/0;for(let v=0;v<pL;v++){const y=hL[v],x=n[y],S=u[y]!==void 0?u[y]:d[y],C=Ds(S),E=y===c?x.isActive:null;E===!1&&(g=v);let T=S===d[y]&&S!==u[y]&&C;if(T&&(r||o)&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...w},!x.isActive&&E===null||!S&&!x.prevProp||Dc(S)||typeof S=="boolean")continue;if(y==="exit"&&x.isActive&&E!==!0){x.prevResolvedValues&&(w={...w,...x.prevResolvedValues});continue}const P=yL(x.prevProp,S);let N=P||y===c&&x.isActive&&!T&&C||v>g&&C,k=!1;const I=Array.isArray(S)?S:[S];let _=I.reduce(i(y),{});E===!1&&(_={});const{prevResolvedValues:U={}}=x,O={...U,..._},W=A=>{N=!0,p.has(A)&&(k=!0,p.delete(A)),x.needsAnimating[A]=!0;const j=e.getValue(A);j&&(j.liveStyle=!1)};for(const A in O){const j=_[A],L=U[A];if(w.hasOwnProperty(A))continue;let B=!1;Rf(j)&&Rf(L)?B=!JS(j,L):B=j!==L,B?j!=null?W(A):p.add(A):j!==void 0&&p.has(A)?W(A):x.protectedKeys[A]=!0}x.prevProp=S,x.prevResolvedValues=_,x.isActive&&(w={...w,..._}),(r||o)&&e.blockInitialAnimation&&(N=!1);const $=T&&P;N&&(!$||k)&&f.push(...I.map(A=>{const j={type:y};if(typeof A=="string"&&(r||o)&&!$&&e.manuallyAnimateOnMount&&e.parent){const{parent:L}=e,B=Gr(L,A);if(L.enteringChildren&&B){const{delayChildren:z}=B.transition||{};j.delay=bS(L.enteringChildren,e,z)}}return{animation:A,options:j}}))}if(p.size){const v={};if(typeof u.initial!="boolean"){const y=Gr(e,Array.isArray(u.initial)?u.initial[0]:u.initial);y&&y.transition&&(v.transition=y.transition)}p.forEach(y=>{const x=e.getBaseTarget(y),S=e.getValue(y);S&&(S.liveStyle=!0),v[y]=x??null}),f.push({animation:v})}let b=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,o=!1,b?t(f):Promise.resolve()}function l(c,u){var f;if(n[c].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(p=>{var w;return(w=p.animationState)==null?void 0:w.setActive(c,u)}),n[c].isActive=u;const d=a(c);for(const p in n)n[p].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=$y(),o=!0}}}function yL(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!JS(t,e):!1}function kr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $y(){return{animate:kr(!0),whileInView:kr(),whileHover:kr(),whileTap:kr(),whileDrag:kr(),whileFocus:kr(),exit:kr()}}function Vf(e,t){e.min=t.min,e.max=t.max}function Mt(e,t){Vf(e.x,t.x),Vf(e.y,t.y)}function zy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const eC=1e-4,vL=1-eC,xL=1+eC,tC=.01,wL=0-tC,bL=0+tC;function Xe(e){return e.max-e.min}function SL(e,t,n){return Math.abs(e-t)<=n}function By(e,t,n,r=.5){e.origin=r,e.originPoint=he(t.min,t.max,e.origin),e.scale=Xe(n)/Xe(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=vL&&e.scale<=xL||isNaN(e.scale))&&(e.scale=1),(e.translate>=wL&&e.translate<=bL||isNaN(e.translate))&&(e.translate=0)}function os(e,t,n,r){By(e.x,t.x,n.x,r?r.originX:void 0),By(e.y,t.y,n.y,r?r.originY:void 0)}function Uy(e,t,n,r=0){const o=r?he(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+Xe(t)}function CL(e,t,n,r){Uy(e.x,t.x,n.x,r==null?void 0:r.x),Uy(e.y,t.y,n.y,r==null?void 0:r.y)}function Wy(e,t,n,r=0){const o=r?he(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+Xe(t)}function ql(e,t,n,r){Wy(e.x,t.x,n.x,r==null?void 0:r.x),Wy(e.y,t.y,n.y,r==null?void 0:r.y)}function Hy(e,t,n,r,o){return e-=t,e=Ql(e,1/n,r),o!==void 0&&(e=Ql(e,1/o,r)),e}function EL(e,t=0,n=1,r=.5,o,i=e,s=e){if(cn.test(t)&&(t=parseFloat(t),t=he(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=he(i.min,i.max,r);e===i&&(a-=t),e.min=Hy(e.min,t,n,a,o),e.max=Hy(e.max,t,n,a,o)}function Ky(e,t,[n,r,o],i,s){EL(e,t[n],t[r],t[o],t.scale,i,s)}const TL=["x","scaleX","originX"],PL=["y","scaleY","originY"];function Gy(e,t,n,r){Ky(e.x,t,TL,n?n.x:void 0,r?r.x:void 0),Ky(e.y,t,PL,n?n.y:void 0,r?r.y:void 0)}function Yy(e){return e.translate===0&&e.scale===1}function nC(e){return Yy(e.x)&&Yy(e.y)}function Qy(e,t){return e.min===t.min&&e.max===t.max}function kL(e,t){return Qy(e.x,t.x)&&Qy(e.y,t.y)}function qy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rC(e,t){return qy(e.x,t.x)&&qy(e.y,t.y)}function Xy(e){return Xe(e.x)/Xe(e.y)}function Zy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Xt(e){return[e("x"),e("y")]}function AL(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:f,skewX:p,skewY:w}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),w&&(r+=`skewY(${w}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 oC=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],RL=oC.length,Jy=e=>typeof e=="string"?parseFloat(e):e,ev=e=>typeof e=="number"||F.test(e);function NL(e,t,n,r,o,i){o?(e.opacity=he(0,n.opacity??1,jL(r)),e.opacityExit=he(t.opacity??1,0,ML(r))):i&&(e.opacity=he(t.opacity??1,n.opacity??1,r));for(let s=0;s<RL;s++){const a=oC[s];let l=tv(t,a),c=tv(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||ev(l)===ev(c)?(e[a]=Math.max(he(Jy(l),Jy(c),r),0),(cn.test(c)||cn.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,r))}function tv(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const jL=iC(0,.5,Qb),ML=iC(.5,.95,Et);function iC(e,t,n){return r=>r<e?0:r>t?1:n(js(e,t,r))}function DL(e,t,n){const r=Ie(e)?e:ui(e);return r.start(Cp("",r,t,n)),r.animation}function Os(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const OL=(e,t)=>e.depth-t.depth;class _L{constructor(){this.children=[],this.isDirty=!1}add(t){dp(this.children,t),this.isDirty=!0}remove(t){Ul(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(OL),this.isDirty=!1,this.children.forEach(t)}}function LL(e,t){const n=qe.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(yr(r),e(i-t))};return se.setup(r,!0),()=>yr(r)}function cl(e){return Ie(e)?e.get():e}class IL{constructor(){this.members=[]}add(t){dp(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(Ul(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Ul(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1&&((n=o.instance)==null?void 0:n.isConnected)!==!1)return this.promote(o),!0}return!1}promote(t,n){var o;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:s}=t.options;(i===void 0||i!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(o=t.root)!=null&&o.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,o,i,s;(r=(n=t.options).onExitComplete)==null||r.call(n),(s=(o=t.resumingFrom)==null?void 0:(i=o.options).onExitComplete)==null||s.call(i)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wu=["","X","Y","Z"],VL=1e3;let FL=0;function Hu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function sC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=PS(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&sC(r)}function aC({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=FL++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(BL),this.nodes.forEach(YL),this.nodes.forEach(QL),this.nodes.forEach(UL)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,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;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new _L)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new fp),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Rp(s)&&!z_(s),this.instance=s;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,d=0;const f=()=>this.root.updateBlockedByResize=!1;se.read(()=>{d=window.innerWidth}),e(s,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,u&&u(),u=LL(f,250),ul.hasAnimatedSinceResize&&(ul.hasAnimatedSinceResize=!1,this.nodes.forEach(ov)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||c.getDefaultTransition()||eI,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!rC(this.targetLayout,p),y=!d&&f;if(this.options.layoutRoot||this.resumeFrom||y||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...Sp(w,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,y)}else d||ov(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),yr(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(qL),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(HL),this.nodes.forEach(nv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(rv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(KL),this.nodes.forEach(GL),this.nodes.forEach($L),this.nodes.forEach(zL)):this.nodes.forEach(rv),this.clearAllSnapshots();const a=qe.now();Le.delta=hn(0,1e3/60,a-Le.timestamp),Le.timestamp=a,Le.isProcessing=!0,Lu.update.process(Le),Lu.preRender.process(Le),Lu.render.process(Le),Le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,kp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(WL),this.sharedNodes.forEach(XL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Xe(this.snapshot.measuredBox.x)&&!Xe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ae()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!nC(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&this.instance&&(a||Nr(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),tI(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:s}=this.options;if(!s)return Ae();const a=s.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(nI))){const{scroll:u}=this.root;u&&(tn(a.x,u.offset.x),tn(a.y,u.offset.y))}return a}removeElementScroll(s){var l;const a=Ae();if(Mt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Mt(a,s),tn(a.x,d.offset.x),tn(a.y,d.offset.y))}return a}applyTransform(s,a=!1,l){var u,d;const c=l||Ae();Mt(c,s);for(let f=0;f<this.path.length;f++){const p=this.path[f];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(tn(c.x,-p.scroll.offset.x),tn(c.y,-p.scroll.offset.y)),Nr(p.latestValues)&&ll(c,p.latestValues,(u=p.layout)==null?void 0:u.layoutBox)}return Nr(this.latestValues)&&ll(c,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),c}removeTransform(s){var l;const a=Ae();Mt(a,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!Nr(u.latestValues))continue;let d;u.instance&&(_f(u.latestValues)&&u.updateSnapshot(),d=Ae(),Mt(d,u.measurePageBox())),Gy(a,u.latestValues,(l=u.snapshot)==null?void 0:l.layoutBox,d)}return Nr(this.latestValues)&&Gy(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=Le.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ae(),this.targetWithTransforms=Ae()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),CL(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Mt(this.target,this.layout.layoutBox),WS(this.target,this.targetDelta)):Mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||_f(this.parent.latestValues)||US(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ae(),this.relativeTargetOrigin=Ae(),ql(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Mt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Le.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;Mt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;Z_(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Ae());const{target:p}=s;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(zy(this.prevProjectionDelta.x,this.projectionDelta.x),zy(this.prevProjectionDelta.y,this.projectionDelta.y)),os(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Zy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Do(),this.projectionDelta=Do(),this.projectionDeltaWithTransform=Do()}setAnimationOrigin(s,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=Do();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Ae(),p=l?l.source:void 0,w=this.layout?this.layout.source:void 0,g=p!==w,b=this.getStack(),v=!b||b.members.length<=1,y=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(JL));this.animationProgress=0;let x;this.mixTargetDelta=S=>{const C=S/1e3;iv(d.x,s.x,C),iv(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ql(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ZL(this.relativeTarget,this.relativeTargetOrigin,f,C),x&&kL(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Ae()),Mt(x,this.relativeTarget)),g&&(this.animationValues=u,NL(u,c,this.latestValues,C,y,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{ul.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ui(0)),this.motionValue.jump(0,!1),this.currentAnimation=DL(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:u=>
vendor: 4,094 bytes, line 268
268{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(VL),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&lC(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Ae();const d=Xe(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Xe(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Mt(a,l),ll(a,u),os(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new IL),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&Hu("z",s,c,this.animationValues);for(let u=0;u<Wu.length;u++)Hu(`rotate${Wu[u]}`,s,c,this.animationValues),Hu(`skew${Wu[u]}`,s,c,this.animationValues);s.render();for(const u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=cl(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=cl(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Nr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=AL(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),s.transform=d;const{x:f,y:p}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?s.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const w in If){if(u[w]===void 0)continue;const{correct:g,applyTo:b,isCSSVariable:v}=If[w],y=d==="none"?u[w]:g(u[w],c);if(b){const x=b.length;for(let S=0;S<x;S++)s[b[S]]=y}else v?this.options.visualElement.renderState.vars[w]=y:s[w]=y}this.options.layoutId&&(s.pointerEvents=c===this?cl(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
268resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(nv),this.root.sharedNodes.clear()}}}function $L(e){e.updateLayout()}function zL(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;if(i==="size")Xt(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],p=Xe(f);f.min=r[d].min,f.max=f.min+p});else if(i==="x"||i==="y"){const d=i==="x"?"y":"x";Vf(s?t.measuredBox[d]:t.layoutBox[d],r[d])}else lC(i,t.layoutBox,r)&&Xt(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],p=Xe(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=Do();os(a,r,t.layoutBox);const l=Do();s?os(l,e.applyTransform(o,!0),t.measuredBox):os(l,r,t.layoutBox);const c=!nC(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const w=e.options.layoutAnchor||void 0,g=Ae();ql(g,t.layoutBox,f.layoutBox,w);const b=Ae();ql(b,r,p.layoutBox,w),rC(g,b)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function BL(e){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 UL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function WL(e){e.clearSnapshot()}function nv(e){e.clearMeasurements()}function HL(e){e.isLayoutDirty=!0,e.updateLayout()}function rv(e){e.isLayoutDirty=!1}function KL(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function GL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ov(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function YL(e){e.resolveTargetDelta()}function QL(e){e.calcProjection()}function qL(e){e.resetSkewAndRotation()}function XL(e){e.removeLeadSnapshot()}function iv(e,t,n){e.translate=he(t.translate,0,n),e.scale=he(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sv(e,t,n,r){e.min=he(t.min,n.min,r),e.max=he(t.max,n.max,r)}function ZL(e,t,n,r){sv(e.x,t.x,n.x,r),sv(e.y,t.y,n.y,r)}function JL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const eI={duration:.45,ease:[.4,0,.1,1]},av=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),lv=av("applewebkit/")&&!av("chrome/")?Math.round:Et;function cv(e){e.min=lv(e.min),e.max=lv(e.max)}function tI(e){cv(e.x),cv(e.y)}function lC(e,t,n){return e==="position"||e==="preserve-aspect"&&!SL(Xy(t),Xy(n),.2)}function nI(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const rI=aC({attachResizeListener:(e,t)=>Os(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ku={current:void 0},cC=aC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ku.current){const e=new rI({});e.mount(window),e.setOptions({layoutScroll:!0}),Ku.current=e}return Ku.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Op=m.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function uv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function oI(...e){return t=>{let n=!1;const r=e.map(o=>{const i=uv(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():uv(e[o],null)}}}}function iI(...e){return m.useCallback(oI(...e),e)}class sI extends m.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(ol(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=ol(r)&&r.offsetWidth||0,i=ol(r)&&r.offsetHeight||0,s=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=i-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function aI({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){var f;const s=m.useId(),a=m.useRef(null),l=m.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=m.useContext(Op),u=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=iI(a,u);return m.useInsertionEffect(()=>{const{width:p,height:w,top:g,left:b,right:v,bottom:y}=l.current;if(t||i===!1||!a.current||!p||!w)return;
vendor: 4,337 bytes, lines 268-276
268const x=n==="left"?`left: ${b}`:`right: ${v}`,S=r==="bottom"?`bottom: ${y}`:`top: ${g}`;a.current.dataset.motionPopId=s;const C=document.createElement("style");c&&(C.nonce=c);const E=o??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
269          [data-motion-pop-id="${s}"] {
270            position: absolute !important;
271            width: ${p}px !important;
272            height: ${w}px !important;
273            ${x}px !important;
274            ${S}px !important;
275          }
276        `),()=>{var T;(T=a.current)==null||T.removeAttribute("data-motion-pop-id"),E.contains(C)&&E.removeChild(C)}},[t]),h.jsx(sI,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:m.cloneElement(e,{ref:d})})}const lI=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a,anchorY:l,root:c})=>{const u=up(cI),d=m.useId();let f=!0,p=m.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:o,onExitComplete:w=>{u.set(w,!0);for(const g of u.values())if(!g)return;r&&r()},register:w=>(u.set(w,!1),()=>u.delete(w))}),[n,u,r]);return i&&f&&(p={...p}),m.useMemo(()=>{u.forEach((w,g)=>u.set(g,!1))},[n]),m.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=h.jsx(aI,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),h.jsx(Nc.Provider,{value:p,children:e})};function cI(){return new Map}function uC(e=!0){const t=m.useContext(Nc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=m.useId();m.useEffect(()=>{if(e)return o(i)},[e]);const s=m.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const ja=e=>e.key||"";function dv(e){const t=[];return m.Children.forEach(e,n=>{m.isValidElement(n)&&t.push(n)}),t}const dC=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[u,d]=uC(s),f=m.useMemo(()=>dv(e),[e]),p=s&&!u?[]:f.map(ja),w=m.useRef(!0),g=m.useRef(f),b=up(()=>new Map),v=m.useRef(new Set),[y,x]=m.useState(f),[S,C]=m.useState(f);Ib(()=>{w.current=!1,g.current=f;for(let P=0;P<S.length;P++){const N=ja(S[P]);p.includes(N)?(b.delete(N),v.current.delete(N)):b.get(N)!==!0&&b.set(N,!1)}},[S,p.length,p.join("-")]);const E=[];if(f!==y){let P=[...f];for(let N=0;N<S.length;N++){const k=S[N],I=ja(k);p.includes(I)||(P.splice(N,0,k),E.push(k))}return i==="wait"&&E.length&&(P=E),C(dv(P)),x(f),null}const{forceRender:T}=m.useContext(cp);return h.jsx(h.Fragment,{children:S.map(P=>{const N=ja(P),k=s&&!u?!1:f===S||p.includes(N),I=()=>{if(v.current.has(N))return;if(b.has(N))v.current.add(N),b.set(N,!0);else return;let _=!0;b.forEach(U=>{U||(_=!1)}),_&&(T==null||T(),C(g.current),s&&(d==null||d()),r&&r())};return h.jsx(lI,{isPresent:k,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:c,onExitComplete:k?void 0:I,anchorX:a,anchorY:l,children:P},N)})})},fC=m.createContext({strict:!1}),fv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let hv=!1;function uI(){if(hv)return;const e={};for(const t in fv)e[t]={isEnabled:n=>fv[t].some(r=>!!n[r])};$S(e),hv=!0}function hC(){return uI(),Y_()}function dI(e){const t=hC();for(const n in e)t[n]={...t[n],...e[n]};$S(t)}const fI=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Xl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||fI.has(e)}let pC=e=>!Xl(e);function hI(e){typeof e=="function"&&(pC=t=>t.startsWith("on")?!Xl(t):e(t))}try{hI(require("@emotion/is-prop-valid").default)}catch{}
vendor: 29,050 bytes, line 276
276function pI(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||Ie(e[o])||(pC(o)||n===!0&&Xl(o)||!t&&!Xl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const _c=m.createContext({});function mI(e,t){if(Oc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ds(n)?n:void 0,animate:Ds(r)?r:void 0}}return e.inherit!==!1?t:{}}function gI(e){const{initial:t,animate:n}=mI(e,m.useContext(_c));return m.useMemo(()=>({initial:t,animate:n}),[pv(t),pv(n)])}function pv(e){return Array.isArray(e)?e.join(" "):e}const _p=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function mC(e,t,n){for(const r in t)!Ie(t[r])&&!GS(r,n)&&(e[r]=t[r])}function yI({transformTemplate:e},t){return m.useMemo(()=>{const n=_p();return Mp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function vI(e,t){const n=e.style||{},r={};return mC(r,n,e),Object.assign(r,yI(e,t)),r}function xI(e,t){const n={},r=vI(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}const gC=()=>({..._p(),attrs:{}});function wI(e,t,n,r){const o=m.useMemo(()=>{const i=gC();return YS(i,t,qS(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};mC(i,e.style,e),o.style={...i,...o.style}}return o}const bI=["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 Lp(e){return typeof e!="string"||e.includes("-")?!1:!!(bI.indexOf(e)>-1||/[A-Z]/u.test(e))}function SI(e,t,n,{latestValues:r},o,i=!1,s){const l=(s??Lp(e)?wI:xI)(t,r,o,e),c=pI(t,typeof e=="string",i),u=e!==m.Fragment?{...c,...l,ref:n}:{},{children:d}=t,f=m.useMemo(()=>Ie(d)?d.get():d,[d]);return m.createElement(e,{...u,children:f})}function CI({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:EI(n,r,o,e),renderState:t()}}function EI(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=cl(i[f]);let{initial:s,animate:a}=e;const l=Oc(e),c=VS(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const d=u?a:s;if(d&&typeof d!="boolean"&&!Dc(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const w=Ep(e,f[p]);if(w){const{transitionEnd:g,transition:b,...v}=w;for(const y in v){let x=v[y];if(Array.isArray(x)){const S=u?x.length-1:0;x=x[S]}x!==null&&(o[y]=x)}for(const y in g)o[y]=g[y]}}}return o}const yC=e=>(t,n)=>{const r=m.useContext(_c),o=m.useContext(Nc),i=()=>CI(e,t,r,o);return n?i():up(i)},TI=yC({scrapeMotionValuesFromProps:Dp,createRenderState:_p}),PI=yC({scrapeMotionValuesFromProps:XS,createRenderState:gC}),kI=Symbol.for("motionComponentSymbol");function AI(e,t,n){const r=m.useRef(n);m.useInsertionEffect(()=>{r.current=n});const o=m.useRef(null);return m.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i));const s=r.current;if(typeof s=="function")if(i){const l=s(i);typeof l=="function"&&(o.current=l)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const vC=m.createContext({});function vo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function RI(e,t,n,r,o,i){var x,S;const{visualElement:s}=m.useContext(_c),a=m.useContext(fC),l=m.useContext(Nc),c=m.useContext(Op),u=c.reducedMotion,d=c.skipAnimations,f=m.useRef(null),p=m.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:i}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const w=f.current,g=m.useContext(vC);w&&!w.projection&&o&&(w.type==="html"||w.type==="svg")&&NI(f.current,n,o,g);const b=m.useRef(!1);m.useInsertionEffect(()=>{w&&b.current&&w.update(n,l)});const v=n[TS],y=m.useRef(!!v&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,v))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,v)));return Ib(()=>{p.current=!0,w&&(b.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),y.current&&w.animationState&&w.animationState.animateChanges())}),m.useEffect(()=>{w&&(!y.current&&w.animationState&&w.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,v)}),y.current=!1),w.enteringChildren=void 0)}),w}function NI(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:xC(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&vo(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}function xC(e){if(e)return e.options.allowProjection!==!1?e.projection:xC(e.parent)}function Gu(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&dI(r);const i=n?n==="svg":Lp(e),s=i?PI:TI;function a(c,u){let d;const f={...m.useContext(Op),...c,layoutId:jI(c)},{isStatic:p}=f,w=gI(c),g=s(c,p);if(!p&&typeof window<"u"){MI();const b=DI(f);d=b.MeasureLayout,w.visualElement=RI(e,g,f,o,b.ProjectionNode,i)}return h.jsxs(_c.Provider,{value:w,children:[d&&w.visualElement?h.jsx(d,{visualElement:w.visualElement,...f}):null,SI(e,c,AI(g,w.visualElement,u),g,p,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=m.forwardRef(a);return l[kI]=e,l}function jI({layoutId:e}){const t=m.useContext(cp).id;return t&&e!==void 0?t+"-"+e:e}function MI(e,t){m.useContext(fC).strict}function DI(e){const t=hC(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function OI(e,t){if(typeof Proxy>"u")return Gu;const n=new Map,r=(i,s)=>Gu(i,s,e,t),o=(i,s)=>r(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?r:(n.has(s)||n.set(s,Gu(s,void 0,e,t)),n.get(s))})}const _I=(e,t)=>t.isSVG??Lp(e)?new dL(t):new iL(t,{allowProjection:e!==m.Fragment});class LI extends Sr{constructor(t){super(t),t.animationState||(t.animationState=gL(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Dc(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.call(this)}}let II=0;class VI extends Sr{constructor(){super(...arguments),this.id=II++,this.isExitComplete=!1}update(){var i;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;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:a}=this.node.getProps();if(typeof s=="string"){const l=Gr(this.node,s,a);if(l){const{transition:c,transitionEnd:u,...d}=l;for(const f in d)(i=this.node.getValue(f))==null||i.jump(d[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const FI={animation:{Feature:LI},exit:{Feature:VI}};function Xs(e){return{point:{x:e.pageX,y:e.pageY}}}const $I=e=>t=>Ap(t)&&e(t,Xs(t));function is(e,t,n,r){return Os(e,t,$I(n),r)}const wC=({current:e})=>e?e.ownerDocument.defaultView:null,mv=(e,t)=>Math.abs(e-t);function zI(e,t){const n=mv(e.x,t.x),r=mv(e.y,t.y);return Math.sqrt(n**2+r**2)}const gv=new Set(["auto","scroll"]);class bC{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ma(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Yu(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,g=zI(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!g)return;const{point:b}=p,{timestamp:v}=Le;this.history.push({...b,timestamp:v});const{onStart:y,onMove:x}=this.handlers;w||(y&&y(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,p)},this.handlePointerMove=(p,w)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=Ma(w,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(p,w)=>{this.end();const{onEnd:g,onSessionEnd:b,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Yu(p.type==="pointercancel"?this.lastMoveEventInfo:Ma(w,this.transformPagePoint),this.history);this.startEvent&&g&&g(p,y),b&&b(p,y)},!Ap(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;const l=Xs(t),c=Ma(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Le;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Yu(c,this.history)),this.removeListeners=Ys(is(this.contextWindow,"pointermove",this.handlePointerMove),is(this.contextWindow,"pointerup",this.handlePointerUp),is(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(gv.has(r.overflowX)||gv.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),yr(this.updatePoint)}}function Ma(e,t){return t?{point:t(e.point)}:e}function yv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:yv(e,SC(t)),offset:yv(e,BI(t)),velocity:UI(t,.1)}}function BI(e){return e[0]}function SC(e){return e[e.length-1]}function UI(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=SC(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>at(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>at(t)*2&&(r=e[1]);const i=St(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function WI(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?he(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?he(n,e,r.max):Math.min(e,n)),e}function vv(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 HI(e,{top:t,left:n,bottom:r,right:o}){return{x:vv(e.x,n,o),y:vv(e.y,t,r)}}function xv(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function KI(e,t){return{x:xv(e.x,t.x),y:xv(e.y,t.y)}}function GI(e,t){let n=.5;const r=Xe(e),o=Xe(t);return o>r?n=js(t.min,t.max-r,e.min):r>o&&(n=js(e.min,e.max-o,t.min)),hn(0,1,n)}function YI(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 Ff=.35;function QI(e=Ff){return e===!1?e=0:e===!0&&(e=Ff),{x:wv(e,"left","right"),y:wv(e,"top","bottom")}}function wv(e,t,n){return{min:bv(e,t),max:bv(e,n)}}function bv(e,t){return typeof e=="number"?e:e[t]||0}const qI=new WeakMap;class XI{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=Ae(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=d=>{n&&this.snapToCursor(Xs(d).point),this.stopAnimation()},s=(d,f)=>{const{drag:p,dragPropagation:w,onDragStart:g}=this.getProps();if(p&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=E_(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xt(v=>{let y=this.getAxisMotionValue(v).get()||0;if(cn.test(y)){const{projection:x}=this.visualElement;if(x&&x.layout){const S=x.layout.layoutBox[v];S&&(y=Xe(S)*(parseFloat(y)/100))}}this.originPoint[v]=y}),g&&se.update(()=>g(d,f),!1,!0),Nf(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:w,onDirectionLock:g,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:v}=f;if(w&&this.currentDirection===null){this.currentDirection=JI(v),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),b&&se.update(()=>b(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new bC(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:wC(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:s}=o;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Da(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=WI(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,o=this.constraints;t&&vo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=HI(r.layoutBox,t):this.constraints=!1,this.elastic=QI(n),o!==this.constraints&&!vo(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Xt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=YI(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!vo(t))return!1;const r=t.current;li(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=J_(r,o.root,this.visualElement.getTransformPagePoint());let s=KI(o.layout.layoutBox,i);if(n){const a=n(q_(s));this.hasMutatedConstraints=!!a,a&&(s=BS(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Xt(u=>{if(!Da(u,n,this.currentDirection))return;let d=l&&l[u]||{};(s===!0||s===u)&&(d={min:0,max:0});const f=o?200:1e6,p=o?40:1e7,w={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(u,w)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Nf(this.visualElement,t),r.start(Cp(t,r,0,n,this.visualElement,!1))}stopAnimation(){Xt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Xt(n=>{const{drag:r}=this.getProps();if(!Da(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-he(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!vo(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Xt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=GI({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Xt(s=>{if(!Da(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(he(l,c,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;qI.set(this.visualElement,this);const t=this.visualElement.current,n=is(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps(),f=c.target,p=f!==t&&N_(f);u&&d&&!p&&this.start(c)});let r;const o=()=>{const{dragConstraints:c}=this.getProps();vo(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=ZI(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),se.read(o);const a=Os(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Xt(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=Ff,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Sv(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function ZI(e,t,n){const r=Ry(e,Sv(n)),o=Ry(t,Sv(n));return()=>{r(),o()}}function Da(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function JI(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class e5 extends Sr{constructor(t){super(t),this.removeGroupControls=Et,this.removeListeners=Et,this.controls=new XI(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Et}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Qu=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class t5 extends Sr{constructor(){super(...arguments),this.removePointerDownListener=Et}onPointerDown(t){this.session=new bC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Qu(t),onStart:Qu(n),onMove:Qu(r),onEnd:(i,s)=>{delete this.session,o&&se.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=is(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let qu=!1;class n5 extends m.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),qu&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),qu=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||se.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),kp.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;qu=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function CC(e){const[t,n]=uC(),r=m.useContext(cp);return h.jsx(n5,{...e,layoutGroup:r,switchLayoutGroup:m.useContext(vC),isPresent:t,safeToRemove:n})}const r5={pan:{Feature:t5},drag:{Feature:e5,ProjectionNode:cC,MeasureLayout:CC}};function Cv(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&se.postRender(()=>i(t,Xs(t)))}class o5 extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=P_(t,(n,r)=>(Cv(this.node,r,"Start"),o=>Cv(this.node,o,"End"))))}unmount(){}}class i5 extends Sr{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=Ys(Os(this.node.current,"focus",()=>this.onFocus()),Os(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ev(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&se.postRender(()=>i(t,Xs(t)))}class s5 extends Sr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=M_(t,(o,i)=>(Ev(this.node,i,"Start"),(s,{success:a})=>Ev(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const $f=new WeakMap,Xu=new WeakMap,a5=e=>{const t=$f.get(e.target);t&&t(e)},l5=e=>{e.forEach(a5)};function c5({root:e,...t}){const n=e||document;Xu.has(n)||Xu.set(n,{});const r=Xu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(l5,{root:e,...t})),r[o]}function u5(e,t,n){const r=c5(t);return $f.set(e,n),r.observe(e),()=>{$f.delete(e),r.unobserve(e)}}const d5={some:0,all:1};class f5 extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:d5[o]},a=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=u?d:f;p&&p(c)};this.stopObserver=u5(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(h5(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function h5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const p5={inView:{Feature:f5},tap:{Feature:s5},focus:{Feature:i5},hover:{Feature:o5}},m5={layout:{ProjectionNode:cC,MeasureLayout:CC}},g5={...FI,...p5,...r5,...m5},te=OI(g5,_I),y5="/assets/logo-wzqCxphl.jpg",v5="https://app.catalogmotion.ai/sign-up",Lr=(e=v5)=>{if(typeof window>"u")return e;const t=window.location.search;return!t||t==="?"?e:e.includes("?")?`${e}&${t.slice(1)}`:`${e}${t}`},x5=()=>{const[e,t]=m.useState(!1);return h.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-xl border-b border-border/50",children:[h.jsxs("div",{className:"mx-auto max-w-7xl px-6 flex items-center justify-between h-16",children:[h.jsxs(qa,{to:"/",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"flex items-center gap-2 text-lg font-semibold tracking-tight text-foreground",children:[h.jsx("img",{src:y5,alt:"CatalogMotion AI logo",className:"w-8 h-8 rounded-lg"}),"CatalogMotion AI"]}),h.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[h.jsxs("a",{href:"/#how-it-works",className:"group relative text-sm text-muted-foreground hover:text-foreground transition-colors",children:["How it works",h.jsx("span",{className:"absolute -bottom-1 left-0 h-px w-full bg-foreground origin-left scale-x-0 group-hover:scale-x-100 transition-transform"})]}),h.jsxs("a",{href:"/#features",className:"group relative text-sm text-muted-foreground hover:text-foreground transition-colors",children:["Features",h.jsx("span",{className:"absolute -bottom-1 left-0 h-px w-full bg-foreground origin-left scale-x-0 group-hover:scale-x-100 transition-transform"})]}),h.jsxs("a",{href:"/#pricing",className:"group relative text-sm text-muted-foreground hover:text-foreground transition-colors",children:["Pricing",h.jsx("span",{className:"absolute -bottom-1 left-0 h-px w-full bg-foreground origin-left scale-x-0 group-hover:scale-x-100 transition-transform"})]}),h.jsxs(qa,{to:"/blog",className:"group relative text-sm text-muted-foreground hover:text-foreground transition-colors",children:["Blog",h.jsx("span",{className:"absolute -bottom-1 left-0 h-px w-full bg-foreground origin-left scale-x-0 group-hover:scale-x-100 transition-transform"})]})]}),h.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[h.jsx("a",{href:Lr("https://app.catalogmotion.ai/sign-in"),className:"text-sm text-muted-foreground hover:text-foreground transition-colors px-4 py-2",children:"Log in"}),h.jsx("a",{href:Lr(),className:"text-sm font-medium bg-foreground text-background px-4 py-2 rounded-lg hover:opacity-90 active:scale-[0.98] transition-all",children:"Start Free"})]}),h.jsx("button",{className:"md:hidden text-foreground",onClick:()=>t(!e),children:e?h.jsx(Kh,{size:20}):h.jsx(ER,{size:20})})]}),e&&h.jsxs(te.div,{initial:{opacity:0,y:-8}
276,animate:{opacity:1,y:0},className:"md:hidden bg-background border-b border-border px-6 pb-4 flex flex-col gap-3",children:[h.jsx("a",{href:"/#how-it-works",className:"text-sm text-muted-foreground py-2",onClick:()=>t(!1),children:"How it works"}),h.jsx("a",{href:"/#features",className:"text-sm text-muted-foreground py-2",onClick:()=>t(!1),children:"Features"}),h.jsx("a",{href:"/#pricing",className:"text-sm text-muted-foreground py-2",onClick:()=>t(!1),children:"Pricing"}),h.jsx(qa,{to:"/blog",className:"text-sm text-muted-foreground py-2",onClick:()=>t(!1),children:"Blog"}),h.jsx("a",{href:Lr("https://app.catalogmotion.ai/sign-in"),className:"text-sm text-muted-foreground py-2",children:"Log in"}),h.jsx("a",{href:Lr(),className:"text-sm font-medium bg-foreground text-background px-4 py-2 rounded-lg text-center",children:"Start Free"})]})]})},EC="/assets/shopify-EXoOl5GU.png",Tv=[.2,0,0,1],w5=[{src:"/videos/hero-1.mp4",top:"6%",left:"2%",w:70,h:100,opacity:.22,blur:.5,delay:0,duration:10,driftX:60,driftY:40},{src:"/videos/hero-2.mp4",top:"14%",right:"3%",w:60,h:85,opacity:.18,blur:.5,delay:2,duration:12,driftX:-60,driftY:35},{src:"/videos/hero-3.mp4",top:"55%",left:"4%",w:75,h:105,opacity:.2,blur:0,delay:1,duration:11,driftX:55,driftY:-30},{src:"/videos/hero-4.mp4",top:"60%",right:"4%",w:65,h:90,opacity:.19,blur:.5,delay:3,duration:13,driftX:-50,driftY:-35},{src:"/videos/hero-5.mp4",top:"32%",left:"0%",w:55,h:78,opacity:.15,blur:.5,delay:4,duration:14,driftX:70,driftY:15},{src:"/videos/hero-6.mp4",top:"38%",right:"0%",w:58,h:82,opacity:.16,blur:.5,delay:3.5,duration:12,driftX:-65,driftY:10},{src:"/videos/hero-7.mp4",top:"75%",left:"12%",w:60,h:85,opacity:.14,blur:.5,delay:1.5,duration:15,driftX:40,driftY:-45}],b5=()=>h.jsxs("section",{className:"relative pt-32 pb-8 px-6 overflow-hidden min-h-[90vh]",children:[h.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(0,0,0,.02)_1px,transparent_1px),linear-gradient(90deg,rgba(0,0,0,.02)_1px,transparent_1px)] bg-[size:64px_64px]"}),h.jsx("div",{className:"absolute inset-0 pointer-events-none","aria-hidden":"true",children:w5.map((e,t)=>h.jsx(te.div,{className:"absolute rounded-xl overflow-hidden",style:{top:e.top,left:e.left,right:e.right,width:e.w,height:e.h,filter:`blur(${e.blur}px)`,opacity:0},initial:{opacity:0,scale:.3},animate:{opacity:[0,e.opacity*.5,e.opacity,e.opacity*.7,0],scale:[.3,.6,1,1.8,2.4],x:[0,e.driftX*.3,e.driftX*.7,e.driftX,e.driftX*1.2],y:[0,e.driftY*.3,e.driftY*.7,e.driftY,e.driftY*1.2]},transition:{duration:e.duration,delay:e.delay,repeat:1/0,ease:"easeInOut"},children:h.jsx("video",{src:e.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover rounded-xl"})},t))}),h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_60%_50%_at_50%_45%,hsl(var(--background))_40%,transparent_100%)] pointer-events-none"}),h.jsx("div",{className:"relative mx-auto max-w-7xl z-10",children:h.jsxs(te.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,ease:Tv},className:"flex flex-col items-center text-center",children:[h.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-muted px-4 py-1.5 mb-8",children:[h.jsx(Gh,{className:"h-3.5 w-3.5 text-accent"}),h.jsx("span",{className:"text-xs font-medium text-foreground",children:"CatalogMotion AI 1.0 is live"})]}),h.jsxs("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-semibold tracking-tighter text-foreground max-w-4xl leading-[1.05]",children:["Turn Your Product Catalog Into Looping Videos"," ",h.jsx("span",{className:"text-gradient-primary",children:"— In Bulk"})]}),h.jsx("p",{className:"mt-6 text-base sm:text-lg leading-relaxed text-muted-foreground max-w-[60ch]",children:"Paste any e-commerce URL. CatalogMotion AI scrapes your catalog, generates looping MP4 videos for every product, and delivers them ready to publish."}),h.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row items-center gap-3",children:[h.jsxs("a",{href:Lr(),className:"inline-flex items-center gap-2 bg-foreground text-background font-medium text-sm px-6 py-3 rounded-xl hover:opacity-90 active:scale-[0.98] transition-all hero-shadow",children:["Start Free — 3 Videos Included",h.jsx(uf,{className:"h-4 w-4"})]}),h.jsx("a",{href:"/#how-it-works",className:"inline-flex items-center gap-2 text-sm font-medium text-muted-foreground hover:text-foreground px-6 py-3 rounded-xl border border-border hover:bg-muted transition-all",children:"See how it works"})]}),h.jsxs("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:[h.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[h.jsx(Tu,{className:"h-4 w-4 text-accent"}),"3 Free videos on sign-up"]}),h.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[h.jsx(Tu,{className:"h-4 w-4 text-accent"}),"Powered by Google Veo 3.1"]}),h.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[h.jsx(Tu,{className:"h-4 w-4 text-accent"}),"Works with Shopify & custom stores"]})]}),h.jsxs(te.a,{href:"https://apps.shopify.com/catalog-motion-ai",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:12}
276,animate:{opacity:1,y:0},transition:{duration:.5,delay:.4,ease:Tv},className:"group mt-6 inline-flex items-center gap-3 rounded-full border border-border bg-gradient-to-r from-[#95BF47]/10 via-background to-[#5E8E3E]/10 pl-2 pr-5 hover:border-[#95BF47]/50 hover:shadow-[0_8px_24px_-8px_rgba(149,191,71,0.4)] active:scale-[0.98] transition-all px-px py-px my-[10px]",children:[h.jsx("span",{className:"flex items-center justify-center w-32 h-32 rounded-full bg-white shadow-sm",children:h.jsx("img",{src:EC,alt:"Shopify",className:"w-24 h-24 object-contain"})}),h.jsxs("span",{className:"flex items-center gap-2 text-sm",children:[h.jsxs("span",{className:"relative flex h-2 w-2",children:[h.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-[#95BF47] opacity-75"}),h.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-[#5E8E3E]"})]}),h.jsx("span",{className:"font-medium text-foreground text-xl",children:"Now live on the Shopify App Store"}),h.jsx(uf,{className:"h-3.5 w-3.5 text-muted-foreground group-hover:text-foreground group-hover:translate-x-0.5 transition-all"})]})]})]})})]}),S5="/assets/woocommerce-CFGV7xpn.jpg",C5="/assets/magento-DtkdW7J7.png",E5="/assets/squarespace-C-hQOTaY.png",T5="/assets/wix-CYqt7OJU.jpg",P5="/assets/ticimax-CgkwPH1b.png",Zu=[{name:"Shopify",logo:EC},{name:"WooCommerce",logo:S5},{name:"Magento",logo:C5},{name:"Squarespace",logo:E5},{name:"Wix",logo:T5},{name:"Ticimax",logo:P5}],k5=()=>h.jsxs("section",{className:"pt-4 pb-10 bg-background overflow-hidden",children:[h.jsx("p",{className:"text-center text-xs font-medium uppercase tracking-widest text-muted-foreground/60 mb-8",children:"Works with your platform"}),h.jsxs("div",{className:"relative",children:[h.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-24 bg-gradient-to-r from-background to-transparent z-10 pointer-events-none"}),h.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-24 bg-gradient-to-l from-background to-transparent z-10 pointer-events-none"}),h.jsx("div",{className:"flex animate-marquee",children:[...Zu,...Zu,...Zu].map((e,t)=>h.jsx("div",{className:"flex items-center justify-center px-10 shrink-0",children:h.jsx("img",{src:e.logo,alt:e.name,className:"h-8 w-auto object-contain opacity-50 grayscale"})},`${e.name}-${t}`))})]})]}),A5="/assets/product-ea7-DVmbSzK_.jpg",R5="/assets/product-karl-Bqz3XAtA.jpg",N5="/assets/product-alo-Co4uIY8-.jpeg",j5=[{name:"EA7 Crew Neck T-Shirt",subtitle:"Premium Quality",price:"$89",rating:4.8,image:A5,video:"/videos/product-ea7.mp4"},{name:"Karl Lagerfeld Jacket",subtitle:"Premium Quality",price:"$129",rating:4.9,image:R5,video:"/videos/product-karl.mp4"},{name:"Alo Cropped Crewneck",subtitle:"Premium Quality",price:"$149",rating:4.7,image:N5,video:"/videos/product-alo.mp4"}],M5=()=>{const[e,t]=m.useState("before"),[n,r]=m.useState(!0),o=m.useRef(null),i=m.useRef(null);m.useEffect(()=>{const l=setTimeout(()=>r(!1),6e3);return()=>clearTimeout(l)},[]);const s=l=>{o.current=l.touches[0].clientX,i.current=l.touches[0].clientY},a=l=>{if(o.current===null||i.current===null)return;const c=o.current-l.changedTouches[0].clientX,u=i.current-l.changedTouches[0].clientY;Math.abs(c)>50&&Math.abs(c)>Math.abs(u)&&(t(c>0?"after":"before"),r(!1)),o.current=null,i.current=null};return h.jsx("section",{className:"py-24 px-6 bg-foreground text-background",children:h.jsxs("div",{className:"mx-auto max-w-7xl",children:[h.jsxs(te.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[h.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-semibold tracking-tighter leading-tight",children:"From static catalog to looping video"}),h.jsx("p",{className:"mt-4 text-base sm:text-lg text-[hsl(215,20%,65%)] max-w-[60ch] mx-auto",children:"See the exact transformation CatalogMotion AI delivers — toggle between your current catalog and what it looks like after."}),h.jsxs("div",{className:"mt-8 inline-flex items-center rounded-full bg-[hsl(217,33%,15%)] p-1",children:[h.jsx("button",{onClick:()=>t("before"),className:`px-6 py-2.5 rounded-full text-sm font-medium transition-all ${e==="before"?"bg-primary text-primary-foreground":"text-[hsl(215,20%,65%)] hover:text-[hsl(0,0%,98%)]"}`,children:"Your catalog — before"}),h.jsx("button",{onClick:()=>t("after"),className:`px-6 py-2.5 rounded-full text-sm font-medium transition-all ${e==="after"?"bg-primary text-primary-foreground":"text-[hsl(215,20%,65%)] hover:text-[hsl(0,0%,98%)]"}`,children:"With CatalogMotion AI — after"})]})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",onTouchStart:s,onTouchEnd:a,children:j5.map((l,c)=>h.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:c*.1},className:"rounded-2xl overflow-hidden bg-[hsl(217,33%,12%)] border border-[hsl(217,33%,18%)]",children:[h.jsxs("div",{className:"relative aspect-[3/4] overflow-hidden bg-[hsl(210,20%,95%)]",children:[e==="before"?h.jsx("img",{src:l.image,alt:l.name,className:"w-full h-full object-cover"}):h.jsx("video",{src:l.video,autoPlay:!0,loop:!0,muted:!0,playsInl
276ine:!0,className:"w-full h-full object-cover"}),h.jsx(dC,{children:n&&h.jsx(te.div,{className:"absolute inset-0 md:hidden flex items-center justify-center pointer-events-none z-10",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},children:h.jsxs("div",{className:"flex flex-col items-center gap-1.5",children:[h.jsx(te.div,{animate:{x:[0,14,0,-14,0]},transition:{duration:1.8,repeat:1/0,ease:"easeInOut"},children:h.jsx(PR,{className:"w-10 h-10 text-[hsl(0,0%,100%)]/70 drop-shadow-lg"})}),h.jsx("span",{className:"text-[11px] font-medium text-[hsl(0,0%,100%)]/80 drop-shadow-md",children:"Swipe to compare"})]})})}),h.jsxs("div",{className:"absolute top-3 right-3 flex items-center gap-1 bg-[hsl(222,47%,8%)]/70 backdrop-blur-sm rounded-full px-2.5 py-1 text-xs font-medium",children:[h.jsx(NR,{className:"h-3 w-3 fill-[hsl(45,93%,58%)] text-[hsl(45,93%,58%)]"}),l.rating]})]}),h.jsxs("div",{className:"p-4",children:[h.jsxs("div",{className:"flex items-start justify-between",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"font-medium text-sm",children:l.name}),h.jsx("p",{className:"text-xs text-[hsl(215,20%,65%)] mt-0.5",children:l.subtitle})]}),h.jsx("span",{className:"font-semibold text-sm",children:l.price})]}),h.jsxs("button",{className:"mt-3 w-full flex items-center justify-center gap-2 rounded-xl border border-[hsl(217,33%,22%)] py-2.5 text-sm font-medium text-[hsl(215,20%,65%)] hover:bg-[hsl(217,33%,15%)] transition-colors",children:[h.jsx(RR,{className:"h-4 w-4"}),"Add to Cart"]})]})]},l.name))})]})})},D5=[{icon:jR,title:"Increase product page conversion rates by up to 25%",description:"Engaging product videos can significantly improve how shoppers understand and interact with your products."},{icon:Gh,title:"Generate thousands of product videos in minutes",description:"Automatically create videos at scale, even for large product catalogs with hundreds or thousands of SKUs."},{icon:yR,title:"Boost product engagement on product pages",description:"Dynamic product videos help keep visitors on the page longer and make product details easier to understand."},{icon:dR,title:"Improve ad performance with video creatives",description:"Use generated videos in Meta Ads, TikTok, and Google Ads to create more engaging marketing campaigns."},{icon:wR,title:"Automate video creation for large catalogs",description:"Upload images in bulk or import product assets and generate videos for entire catalogs automatically."},{icon:kR,title:"Eliminate expensive video production",description:"No need for video editing, studios, or production teams — create videos directly from product images."}],Pv=[.2,0,0,1],O5=()=>h.jsx("section",{className:"py-24 px-6 bg-background text-foreground",children:h.jsxs("div",{className:"max-w-5xl mx-auto",children:[h.jsxs(te.div,{className:"text-center mb-14",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Pv},children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Benefits for eCommerce Brands"}),h.jsx("p",{className:"text-muted-foreground max-w-lg mx-auto",children:"Designed to help eCommerce teams create product videos faster and scale their marketing content."})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:D5.map((e,t)=>h.jsxs(te.div,{className:"rounded-xl border border-border bg-card p-6 card-shadow",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.07,ease:Pv},children:[h.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/15 flex items-center justify-center mb-4",children:h.jsx(e.icon,{className:"w-5 h-5 text-primary"})}),h.jsx("h3",{className:"text-sm font-semibold mb-2 leading-snug",children:e.title}),h.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:e.description})]},e.title))})]})}),_5=["Video production is expensive","Creating videos for hundreds of SKUs is unrealistic","Editing requires time and expertise","Studios and agencies don't scale with large catalogs"],Ju=[.2,0,0,1],L5=()=>h.jsx("section",{className:"py-24 px-6 bg-foreground text-background",children:h.jsxs("div",{className:"mx-auto max-w-3xl text-center",children:[h.jsxs(te.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Ju},children:[h.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-semibold tracking-tighter text-background",children:"Why most eCommerce catalogs are still static"}),h.jsx("p",{className:"mt-4 text-base sm:text-lg text-background/50 max-w-[55ch] mx-auto",children:"Video consistently drives more engagement than static images. Yet most stores still rely on photos because producing videos for hundreds of products is expensive and slow."})]}),h.jsx("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 gap-4",children:_5.map((e,t)=>h.jsxs(te.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Ju,delay:t*.08},className:"flex items-center gap-3 rounded-xl border border-background/10 bg-background/5 p-5 text-left",children:[h.jsx(pR,{className:"h-5 w-5 shrink-0 text-destructive"}),h.jsx("span",{className:"text-sm font-medium text-background",children:e})]},e))}),h.jsx(te.p,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Ju,delay:.4},className:"mt-12 inline-block rounded-full border border-primary/40 px-8 py-3 text-sm font-medium text-primary",children:"CatalogMotion AI removes these barriers."})]})}),I5=[{icon:bR,number:1,title:"Paste your catalog URL",description:"Drop any collection or category page from your store, or import product images in bulk."},{icon:i1,number:2,title:"Select products to animate",description:"Browse your scraped catalog and submit a batch generation job."},{icon:o1,number:3,title:"Download your videos",description:"Your looping MP4s appear instantly and can be downloaded individually or as a ZIP."}],kv=[.2,0,0,1],V5=()=>h.jsx("section",{id:"how-it-works",className:"py-24 px-6 bg-background text-foreground",children:h.jsxs("div",{className:"max-w-5xl mx-auto",children:[h.jsxs(te.div,{className:"text-center mb-16",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:kv}
276,children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"How it works"}),h.jsx("p",{className:"text-muted-foreground",children:"3 simple steps to animate your entire catalog."})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:I5.map((e,t)=>h.jsxs(te.div,{className:"flex flex-col items-center text-center",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.15,ease:kv},children:[h.jsxs("div",{className:"relative mb-6",children:[h.jsx("div",{className:"w-16 h-16 rounded-2xl bg-secondary/10 border border-secondary/20 flex items-center justify-center",children:h.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),h.jsx("span",{className:"absolute -top-2 -right-2 w-6 h-6 rounded-full bg-primary text-primary-foreground text-xs font-bold flex items-center justify-center",children:e.number})]}),h.jsx("h3",{className:"text-lg font-semibold mb-2",children:e.title}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed max-w-[260px]",children:e.description})]},e.title))})]})}),F5="/assets/slide-1-DSaHEU5P.png",$5="/assets/slide-2-DSgvSS-J.png",z5="/assets/slide-3-Dz7zGtwP.png",B5="/assets/slide-4-C08LWquz.png",U5="/assets/slide-5-boQwNvOD.png",W5="/assets/slide-6-BPhtjATl.png",H5="/assets/slide-7-CDOcgE4g.png",K5="/assets/slide-8-BeFmlBbC.mp4",G5="/assets/slide-9-D_fYjvBc.png",Y5=[{icon:xR,label:"Catalog scraping"},{icon:Gh,label:"Batch video generation"},{icon:mR,label:"Job queue processing"},{icon:gR,label:"Cloud storage"},{icon:o1,label:"Bulk downloads"}],Ii=[{src:F5,type:"image"},{src:$5,type:"image"},{src:z5,type:"image"},{src:B5,type:"image"},{src:U5,type:"image"},{src:W5,type:"image"},{src:H5,type:"image"},{src:K5,type:"video"},{src:G5,type:"image"}],ed=[.2,0,0,1],Q5=()=>{const[e,t]=m.useState(0);return m.useEffect(()=>{const n=setInterval(()=>{t(r=>(r+1)%Ii.length)},3e3);return()=>clearInterval(n)},[]),h.jsx("section",{id:"features",className:"py-24 px-6 bg-foreground text-background",children:h.jsx("div",{className:"max-w-5xl mx-auto",children:h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[h.jsxs(te.div,{initial:{opacity:0,x:-24},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,ease:ed},children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 leading-tight",children:"Built for Catalog Automation"}),h.jsx("p",{className:"text-background/50 mb-8 leading-relaxed max-w-md",children:"CatalogMotion AI handles the entire pipeline so you don't have to. Set it up once and let our infrastructure do the heavy lifting."}),h.jsx("ul",{className:"space-y-4",children:Y5.map((n,r)=>h.jsxs(te.li,{className:"flex items-center gap-3",initial:{opacity:0,x:-16},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:r*.1,ease:ed},children:[h.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/20 flex items-center justify-center",children:h.jsx(n.icon,{className:"w-4 h-4 text-primary"})}),h.jsx("span",{className:"font-medium text-sm",children:n.label})]},n.label))})]}),h.jsx(te.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2,ease:ed},children:h.jsxs("div",{className:"rounded-xl border border-background/10 bg-background/5 overflow-hidden relative aspect-[16/10]",children:[h.jsx(dC,{mode:"wait",children:Ii[e].type==="video"?h.jsx(te.video,{src:Ii[e].src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full object-cover",initial:{opacity:0}
276,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4}},`slide-${e}`):h.jsx(te.img,{src:Ii[e].src,alt:`CatalogMotion step ${e+1}`,className:"absolute inset-0 w-full h-full object-cover",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.4}},`slide-${e}`)}),h.jsx("div",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5",children:Ii.map((n,r)=>h.jsx("button",{onClick:()=>t(r),className:`w-1.5 h-1.5 rounded-full transition-all ${r===e?"bg-primary w-4":"bg-background/30"}`},r))})]})})]})})})},q5="/assets/product-gymshark-tshirt-CI7bVxgl.jpeg",X5="/assets/product-gymshark-bra-UrcW_oYT.jpg",Z5=["Natural motion","Realistic lighting","Smooth movement","Seamless looping"],Oa=[.2,0,0,1],J5=()=>h.jsx("section",{className:"py-24 px-6 bg-background text-foreground",children:h.jsx("div",{className:"max-w-3xl mx-auto",children:h.jsxs(te.div,{className:"flex flex-col items-center text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:Oa},children:[h.jsx("div",{className:"w-14 h-14 rounded-2xl bg-primary/15 border border-primary/20 flex items-center justify-center mb-6",children:h.jsx(i1,{className:"w-7 h-7 text-primary"})}),h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Powered by Google Veo 3.1"}),h.jsx("p",{className:"text-muted-foreground leading-relaxed max-w-lg mb-8",children:"Every video is generated using Google's advanced Veo video model, ensuring state-of-the-art quality and realism."}),h.jsx("div",{className:"flex flex-wrap justify-center gap-3 mb-12",children:Z5.map((e,t)=>h.jsx(te.span,{className:"px-4 py-2 rounded-full border border-border bg-muted/50 text-sm font-medium",initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.1,ease:Oa},children:e},e))}),h.jsxs(te.div,{className:"w-full rounded-xl border border-border bg-muted/50 p-6 text-left",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3,ease:Oa},children:[h.jsx("h3",{className:"text-lg font-semibold mb-2",children:"The Magic of the Loop"}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"The same product image is used as both the first and last frame of the generation process. The AI intelligently interpolates the movement between these identical endpoints, producing a perfect, infinite loop with no visible cut or jump."})]}),h.jsx("div",{className:"grid grid-cols-2 gap-4 mt-10 w-full",children:[{image:q5,video:"/videos/product-gymshark-tshirt.mp4",label:"Oversized T-Shirt"},{image:X5,video:"/videos/product-gymshark-bra.mp4",label:"Sports Bra"}].map((e,t)=>h.jsxs(te.div,{className:"flex flex-col gap-2",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.4+t*.1,ease:Oa},children:[h.jsx("p",{className:"text-xs text-muted-foreground font-medium mb-1",children:e.label}),h.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[h.jsx("div",{className:"rounded-lg overflow-hidden border border-border aspect-[3/4]",children:h.jsx("img",{src:e.image,alt:`${e.label} — before`,className:"w-full h-full object-cover"})}),h.jsx("div",{className:"rounded-lg overflow-hidden border border-border aspect-[3/4]",children:h.jsx("video",{src:e.video,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover"})})]}),h.jsxs("div",{className:"grid grid-cols-2 gap-2 text-[10px] text-muted-foreground text-center",children:[h.jsx("span",{children:"Before"}),h.jsx("span",{children:"After"})]})]},e.label))})]})})}),Av=[.2,0,0,1],e4=[{name:"Starter",monthlyPrice:39,credits:"50 credits",perVideo:"$0.78 / video",popular:!1,features:["Full HD 1080p exports","Commercial usage rights","Bulk processing","Top up credits available"]},{name:"Growth",monthlyPrice:99,credits:"150 credits",perVideo:"$0.66 / video",popular:!0,features:["Full HD 1080p exports","Commercial usage rights","Bulk processing","Priority support","Top up credits available"]},{name:"Scale",monthlyPrice:229,credits:"400 credits",perVideo:"$0.57 / video",popular:!1,features:["Full HD 1080p exports","Commercial usage rights","Bulk processing","Priority support","Top up credits available"]},{name:"Agency",monthlyPrice:0,credits:"Usage-based over 500 products",perVideo:"",popular:!1,features:["Full HD 1080p exports","Commercial usage rights","Bulk processing","Dedicated account manager","Top up credits available"]}],t4=()=>{const[e,t]=m.useState(!1),n=r=>
276r.monthlyPrice===0?"Custom":e?`$${Math.floor(r.monthlyPrice*.8)}`:`$${r.monthlyPrice}`;return h.jsx("section",{id:"pricing",className:"py-24 px-6 bg-foreground text-background",children:h.jsxs("div",{className:"max-w-6xl mx-auto",children:[h.jsxs(te.div,{className:"text-center mb-14",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:Av},children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Simple credit-based pricing"}),h.jsx("p",{className:"text-background/50 mb-6",children:"1 video = 1 credit. Cancel anytime."}),h.jsxs("div",{className:"inline-flex items-center gap-3 rounded-full bg-[hsl(217,33%,15%)] p-1",children:[h.jsx("button",{onClick:()=>t(!1),className:`px-5 py-2 rounded-full text-sm font-medium transition-all ${e?"text-[hsl(215,20%,65%)] hover:text-[hsl(0,0%,98%)]":"bg-primary text-primary-foreground"}`,children:"Monthly"}),h.jsxs("button",{onClick:()=>t(!0),className:`px-5 py-2 rounded-full text-sm font-medium transition-all flex items-center gap-2 ${e?"bg-primary text-primary-foreground":"text-[hsl(215,20%,65%)] hover:text-[hsl(0,0%,98%)]"}`,children:["Yearly",h.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider bg-[hsl(142,71%,45%)] text-[hsl(0,0%,2%)] px-1.5 py-0.5 rounded-full",children:"-20%"})]})]})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
2765",children:e4.map((r,o)=>h.jsxs(te.div,{className:`relative rounded-xl border p-6 flex flex-col ${r.popular?"border-primary bg-primary/10":"border-background/10 bg-background/5"}`,initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:o*.1,ease:Av},children:[r.popular&&h.jsx("span",{className:"absolute -top-3 left-1/2 -translate-x-1/2 bg-primary text-primary-foreground text-[10px] font-bold uppercase tracking-wider px-3 py-1 rounded-full",children:"Most Popular"}),h.jsx("p",{className:"text-sm font-medium text-background/60 mb-4",children:r.name}),h.jsxs("div",{className:"flex items-baseline gap-1 mb-1",children:[h.jsx("span",{className:"text-4xl font-bold",children:n(r)}),r.monthlyPrice>0&&h.jsx("span",{className:"text-sm text-background/50",children:"/ month"})]}),e&&r.monthlyPrice>0&&h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsxs("p",{className:"text-xs text-background/40 line-through",children:["$",r.monthlyPrice*12,"/yr"]}),h.jsxs("p",{className:"text-xs text-background/50",children:["$",Math.floor(r.monthlyPrice*12*.8),"/yr"]})]}),h.jsx("p",{className:"text-sm font-semibold mt-3 mb-6",children:r.credits}),h.jsx("ul",{className:"space-y-3 mb-8 flex-1",children:r.features.map(i=>h.jsxs("li",{className:"flex items-center gap-2 text-sm text-background/70",children:[h.jsx(fR,{className:"w-4 h-4 text-primary shrink-0"}),i]},i))}),h.jsxs("a",{href:Lr(),className:`inline-flex items-center justify-center text-sm font-medium px-5 py-2.5 rounded-lg transition-all ${r.popular?"bg-primary text-primary-foreground hover:opacity-90":"border border-background/20 text-background hover:bg-background/10"}`,children:["Get ",r.name==="Agency"?"in Touch":"Started"]})]},r.name))})]})})},n4=[{icon:TR,title:"Product Pages",description:"Replace static images with auto-playing looping videos on your product detail pages to boost engagement and conversions."},{icon:CR,title:"Social Media Ads",description:"Create scroll-stopping video ads for Instagram, TikTok, and Facebook from your existing product photos in seconds."},{icon:AR,title:"Marketplace Listings",description:"Stand out on Amazon, eBay, and other marketplaces with product videos that competitors don't have."},{icon:SR,title:"Email & Marketing Campaigns",description:"Embed product videos in email campaigns and landing pages to drive higher click-through and conversion rates."}],Rv=[.2,0,0,1],r4=()=>h.jsx("section",{className:"py-24 px-6 bg-background text-foreground",children:h.jsxs("div",{className:"max-w-5xl mx-auto",children:[h.jsxs(te.div,{className:"text-center mb-14",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Rv},children:[h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Where to use your videos"}),h.jsx("p",{className:"text-muted-foreground",children:"From storefronts to social feeds — one product, endless formats."})]}),h.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
2765",children:n4.map((e,t)=>h.jsxs(te.div,{className:"rounded-xl border border-border bg-muted/50 p-6 text-center",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08,ease:Rv},children:[h.jsx("div",{className:"w-11 h-11 rounded-lg bg-primary/15 flex items-center justify-center mx-auto mb-4",children:h.jsx(e.icon,{className:"w-5 h-5 text-primary"})}),h.jsx("h3",{className:"text-sm font-semibold mb-2",children:e.title}),h.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:e.description})]},e.title))})]})});var Lc="Collapsible",[o4,TC]=br(Lc),[i4,Ip]=o4(Lc),PC=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...a}=e,[l,c]=mi({prop:r,defaultProp:o??!1,onChange:s,caller:Lc});return h.jsx(i4,{scope:n,disabled:i,contentId:ts(),open:l,onOpenToggle:m.useCallback(()=>c(u=>!u),[c]),children:h.jsx(le.div,{"data-state":Fp(l),"data-disabled":i?"":void 0,...a,ref:t})})});PC.displayName=Lc;var kC="CollapsibleTrigger",AC=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ip(kC,n);return h.jsx(le.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Fp(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:ie(e.onClick,o.onOpenToggle)})});AC.displayName=kC;var Vp="CollapsibleContent",RC=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ip(Vp,e.__scopeCollapsible);return h.jsx(io,{present:n||o.open,children:({present:i})=>h.jsx(s4,{...r,ref:t,present:i})})});RC.displayName=Vp;var s4=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Ip(Vp,n),[a,l]=m.useState(r),c=m.useRef(null),u=je(t,c),d=m.useRef(0),f=d.current,p=m.useRef(0),w=p.current,g=s.open||a,b=m.useRef(g),v=m.useRef(void 0);return m.useEffect(()=>{const y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),dn(()=>{const y=c.current;if(y){v.current=v.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const x=y.getBoundingClientRect();d.current=x.height,p.current=x.width,b.current||(y.style.transitionDuration=v.current.transitionDuration,y.style.animationName=v.current.animationName),l(r)}},[s.open,r]),h.jsx(le.div,{"data-state":Fp(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!g,...i,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:g&&o})});function Fp(e){return e?"open":"closed"}var a4=PC,l4=AC,c4=RC,u4=m.createContext(void 0);function d4(e){const t=m.useContext(u4);return e||t||"ltr"}var Yt="Accordion",f4=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[$p,h4,p4]=Nw(Yt),[Ic,w3]=br(Yt,[p4,TC]),zp=TC(),NC=R.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return h.jsx($p.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?h.jsx(v4,{...i,ref:t}):h.jsx(y4,{...o,ref:t})})});NC.displayName=Yt;var[jC,m4]=Ic(Yt),[MC,g4]=Ic(Yt,{collapsible:!1}),y4=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[a,l]=mi({prop:n,defaultProp:r??"",onChange:o,caller:Yt});return h.jsx(jC,{scope:e.__scopeAccordion,value:R.useMemo(()=>a?[a]:[],[a]),onItemOpen:l,onItemClose:R.useCallback(()=>i&&l(""),[i,l]),children:h.jsx(MC,{scope:e.__scopeAccordion,collapsible:i,children:h.jsx(DC,{...s,ref:t})})})}),v4=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,a]=mi({prop:n,defaultProp:r??[],onChange:o,caller:Yt}),l=R.useCallback(u=>a((d=[])=>[...d,u]),[a]),c=R.useCallback(u=>a((d=[])=>d.filter(f=>f!==u)),[a]);return h.jsx(jC,{scope:e.__scopeAccordion,value:s,onItemOpen:l,onItemClose:c,children:h.jsx(MC,{scope:e.__scopeAccordion,collapsible:!0,children:h.jsx(DC,{...i,ref:t})})})}),[x4,Vc]=Ic(Yt),DC=R.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,a=R.useRef(null),l=je(a,t),c=h4(n),d=d4(o)==="ltr",f=ie(e.onKeyDown,p=>{var P;if(!f4.includes(p.key))return;const w=p.target,g=c().filter(N=>{var k;return!((k=N.ref.current)!=null&&k.disabled)}),b=g.findIndex(N=>N.ref.current===w),v=g.length;if(b===-1)return;p.preventDefault();let y=b;const x=0,S=v-1,C=()=>{y=b+1,y>S&&(y=x)},E=()=>{y=b-1,y<x&&(y=S)};switch(p.key){case"Home":y=x;break;case"End":y=S;break;case"ArrowRight":i==="horizontal"&&(d?C():E());break;case"ArrowDown":i==="vertical"&&C();break;case"ArrowLeft":i==="horizontal"&&(d?E():C());break;case"ArrowUp":i==="vertical"&&E();break}const T=y%v;(P=g[T].ref.current)==null||P.focus()});return h.jsx(x4,{scope:n,disabled:r,direction:o,orientation:i,children:h.jsx($p.Slot,{scope:n,children:h.jsx(le.div,{...s,"data-orientation":i,ref:l,onKeyDown:r?void 0:f})})})}),Zl="AccordionItem",[w4,Bp]=Ic(Zl),OC=R.forwardRef((e,t)=>
276{const{__scopeAccordion:n,value:r,...o}=e,i=Vc(Zl,n),s=m4(Zl,n),a=zp(n),l=ts(),c=r&&s.value.includes(r)||!1,u=i.disabled||e.disabled;return h.jsx(w4,{scope:n,open:c,disabled:u,triggerId:l,children:h.jsx(a4,{"data-orientation":i.orientation,"data-state":$C(c),...a,...o,ref:t,disabled:u,open:c,onOpenChange:d=>{d?s.onItemOpen(r):s.onItemClose(r)}})})});OC.displayName=Zl;var _C="AccordionHeader",LC=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Vc(Yt,n),i=Bp(_C,n);return h.jsx(le.h3,{"data-orientation":o.orientation,"data-state":$C(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});LC.displayName=_C;var zf="AccordionTrigger",IC=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Vc(Yt,n),i=Bp(zf,n),s=g4(zf,n),a=zp(n);return h.jsx($p.ItemSlot,{scope:n,children:h.jsx(l4,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...a,...r,ref:t})})});IC.displayName=zf;var VC="AccordionContent",FC=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Vc(Yt,n),i=Bp(VC,n),s=zp(n);return h.jsx(c4,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});FC.displayName=VC;function $C(e){return e?"open":"closed"}var b4=NC,S4=OC,C4=LC,zC=IC,BC=FC;const E4=b4,UC=m.forwardRef(({className:e,...t},n)=>h.jsx(S4,{ref:n,className:Oe("border-b",e),...t}));UC.displayName="AccordionItem";const WC=m.forwardRef(({className:e,children:t,...n},r)=>h.jsx(C4,{className:"flex",children:h.jsxs(zC,{ref:r,className:Oe("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,h.jsx(hR,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));WC.displayName=zC.displayName;const HC=m.forwardRef(({className:e,children:t,...n},r)=>h.jsx(BC,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:h.jsx("div",{className:Oe("pb-4 pt-0",e),children:t})}));HC.displayName=BC.displayName;const T4=[{q:"How does CatalogMotion generate videos?",a:"CatalogMotion automatically transforms product images into looping product videos using AI-generated layouts and animations."},{q:"Can I upload images directly?",a:"Yes. You can upload images directly in JPEG or PNG format, and the platform will generate product videos from them."},{q:"Can I generate videos in bulk?",a:"Yes. CatalogMotion supports bulk imports, allowing you to generate videos for many products at once."},{q:"How long does video generation take?",a:"Generation time depends on the workload and the number of images being processed. Most jobs are completed within 30 seconds to 3 minutes."},{q:"Do I need to wait while the videos are generated?",a:"No. Once your videos are ready, you'll receive an email notification, so you don't need to stay on the page while the process completes."},{q:"What formats are supported for uploads?",a:"The platform supports JPEG and PNG images for generating videos."}],Nv=[.2,0,0,1],P4=()=>h.jsx("section",{className:"py-24 px-6 bg-foreground text-background",children:h.jsxs("div",{className:"max-w-2xl mx-auto",children:[h.jsx(te.div,{className:"text-center mb-12",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:Nv},children:h.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:"Frequently Asked Questions"})}),h.jsx(te.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1,ease:Nv},children:h.jsx(E4,{type:"single",collapsible:!0,className:"space-y-2",children:T4.map((e,t)=>h.jsxs(UC,{value:`faq-${t}`,className:"border border-background/10 rounded-lg px-5 data-[state=open]:bg-background/5",children:[h.jsx(WC,{className:"text-sm font-medium text-background hover:no-underline py-4",children:e.q}),h.jsx(HC,{className:"text-sm text-background/60 leading-relaxed pb-4",children:e.a})]},t))})})]})}),k4=[.2,0,0,1],A4=()=>h.jsx("section",{className:"py-24 px-6 bg-background text-foreground",children:h.jsx("div",{className:"mx-auto max-w-2xl flex flex-col items-center text-center",children:h.jsxs(te.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:k4},children:[h.jsx("div",{className:"w-11 h-11 rounded-xl bg-primary/20 flex items-center justify-center mx-auto mb-6",children:h.jsx(vR,{className:"w-5 h-5 text-primary"})}),h.jsxs("h2",{className:"text-3xl md:text-5xl font-bold tracking-tight mb-3",children:["Bring Your Product"," ",h.jsx("span",{className:"text-gradient-primary",children:"Catalog To Life"})]}),h.jsx("p",{className:"text-muted-foreground max-w-md mx-auto mb-3",children:"Generate product videos in minutes instead of days. Join leading e-commerce brands automating their video production."}
276),h.jsxs("p",{className:"text-sm text-muted-foreground/70 mb-8",children:["Every account receives ",h.jsx("span",{className:"text-primary font-medium",children:"3 free video credits"})," — no credit card required."]}),h.jsxs("a",{href:Lr(),className:"inline-flex items-center gap-2 bg-primary text-primary-foreground font-medium text-sm px-8 py-3 rounded-xl hover:opacity-90 active:scale-[0.98] transition-all",children:["Start Generating Videos",h.jsx(uf,{className:"h-4 w-4"})]})]})})}),R4=()=>h.jsxs("a",{href:"https://www.producthunt.com/products/catalog-motion-ai?embed=true&utm_source=embed&utm_medium=post_embed",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 rounded-xl border border-border bg-card p-4 card-shadow hover:card-shadow-hover transition-shadow max-w-md",children:[h.jsx("img",{alt:"Catalog Motion AI",src:"https://ph-files.imgix.net/feadfea5-9b14-4498-be8d-c959e4fd08b1.jpeg?auto=format&fit=crop&w=80&h=80",className:"w-12 h-12 rounded-lg object-cover flex-shrink-0"}),h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsx("h3",{className:"text-sm font-semibold text-foreground truncate",children:"Catalog Motion AI"}),h.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2 mt-0.5",children:"AI-generated product videos from your catalog"})]}),h.jsx("span",{className:"flex-shrink-0 px-3 py-1.5 bg-[hsl(5,100%,66%)] text-white text-xs font-semibold rounded-lg whitespace-nowrap",children:"Product Hunt →"})]}),N4={Product:[{label:"How it works",href:"#how-it-works"},{label:"Features",href:"#features"},{label:"Pricing",href:"#pricing"},{label:"Get started free",href:"#"}],Guides:[{label:"All Guides",href:"/guides"},{label:"Product Videos Guide",href:"/guides/product-videos-guide"},{label:"Create Videos from Images",href:"/guides/create-videos-from-images"},{label:"Best Video Length",href:"/guides/best-video-length"},{label:"Videos in Ads",href:"/guides/videos-in-ads"}],Company:[{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"},{label:"Refund Policy",href:"/refund-policy"}],Legal:[{label:"Privacy Policy",href:"/privacy-policy"},{label:"Terms of Service",href:"/terms-of-service"},{label:"Cookie Policy",href:"/cookie-policy"},{label:"Acceptable Use",href:"/acceptable-use"},{label:"Cookie Preferences",href:"#cookie-preferences"}]},j4=()=>{const{open:e}=_b();return h.jsx("footer",{className:"bg-foreground text-background border-t border-background/10",children:h.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-16",children:[h.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-10",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"text-lg font-bold mb-3",children:"CatalogMotion"}),h.jsx("p",{className:"text-sm text-background/40 leading-relaxed",children:"Automated looping videos for e-commerce catalogs. Powered by Google Veo 3.1."}),h.jsxs("div",{className:"flex items-center gap-3 mt-4",children:[h.jsx("a",{href:"https://x.com/catalogmotion",target:"_blank",rel:"noopener noreferrer",className:"text-background/40 hover:text-background/70 transition-colors",children:h.jsx("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor",children:h.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),h.jsx("a",{href:"https://www.linkedin.com/company/catalog-motion-ai/",target:"_blank",rel:"noopener noreferrer",className:"text-background/40 hover:text-background/70 transition-colors",children:h.jsx("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor",children:h.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})})]}),h.jsx("div",{className:"mt-10",children:h.jsx(R4,{})})]}),Object.entries(N4).map(([t,n])=>h.jsxs("div",{children:[h.jsx("h4",{className:"text-sm font-semibold mb-4",children:t}),h.jsx("ul",{className:"space-y-2.5",children:n.map(r=>h.jsx("li",{children:r.href==="#cookie-preferences"?h.jsx("button",{onClick:e,className:"text-sm text-primary/80 hover:text-primary transition-colors",children:r.label}):h.jsx("a",{href:r.href,className:"text-sm text-primary/80 hover:text-primary transition-colors",children:r.label})},r.label))})]},t))]}),h.jsxs("div",{className:"mt-14 pt-6 border-t border-background/10 flex flex-col sm:flex-row justify-between items-center gap-3",children:[h.jsx("p",{className:"text-xs text-background/30",children:"© 2026 CatalogMotion Inc. All rights reserved."}),h.jsxs("p",{className:"text-xs text-background/30",children:["Payments processed by"," ",h.jsx("a",{href:"https://dodopayments.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary/70 hover:text-primary transition-colors",children:"DodoPayments"})," & ",h.jsx("a",{href:"https://www.lemonsqueezy.com/",target:"_blank",rel:"noopener noreferrer",className:"text-primary/70 hover:text-primary transition-colors",children:"Lemon Squeezy"})]})]})]})})},Vi=()=>h.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-border to-transparent"}),Fi=()=>h.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-background/20 to-transparent"}),M4=()=>h.jsxs("div",{className:"min-h-screen bg-background",children:[h.jsxs(ok,{children:[h.jsx("title",{children:"CatalogMotion AI — Product Catalog to Looping Videos"}),h.jsx("meta",{name:"description",content:"Turn your eCommerce product catalog into looping MP4 videos in seconds. Bulk AI video generation for Shopify, WooCommerce, and more. Start free."}),h.jsx("link",{rel:"canonical",href:"https://catalogmotion.ai/"}),h.jsx("meta",{property:"og:type",content:"website"}),h.jsx("meta",{property:"og:url",content:"https://catalogmotion.ai/"}),h.jsx("meta",{property:"og:title",content:"CatalogMotion AI — Product Catalog to Looping Videos"}),h.jsx("meta",{property:"og:description",content:"Turn your eCommerce product catalog into looping MP4 videos in seconds. Bulk AI video generation for Shopify, WooCommerce, and more. Start free."}),h.jsx("meta",{property:"og:image",content:"https://catalogmotion.ai/og-image.jpg"}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:site",content:"@CatalogMotion"}),h.jsx("meta",{name:"twitter:title",content:"CatalogMotion AI — Product Catalog to Looping Videos"}),h.jsx("meta",{name:"twitter:description",content:"Turn your eCommerce product catalog into looping MP4 videos in seconds. Bulk AI video generation for Shopify, WooCommerce, and more. Start free."}),h.jsx("meta",{name:"twitter:image",content:"https://catalogmotion.ai/og-image.jpg"})]}),h.jsx(x5,{}),h.jsx(b5,{}),h.jsx(k5,{}),h.jsx(Vi,{}),h.jsx(M5,{}),"   ",h.jsx(Fi,{}),h.jsx(O5,{}),"      ",h.jsx(Vi,{}),h.jsx(L5,{}),"     ",h.jsx(Fi,{}),h.jsx(V5,{}),"    ",h.jsx(Vi,{}),h.jsx(Q5,{}),"      ",h.jsx(Fi,{}),h.jsx(J5,{}),"     ",h.jsx(Vi,{}),h.jsx(t4,{}),"       ",h.jsx(Fi,{}),h.jsx(r4,{}),"      ",h.jsx(Vi,{}),h.jsx(P4,{}),"           ",h.jsx(Fi,{}),h.jsx(A4,{}),"           ",h.jsx(j4,{})]}),D4="2439410339911441",O4=()=>{window.fbq||(function(e,t,n,r,o,i,s){e.fbq||(o=e.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},e._fbq||(e._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],i=t.createElement(n),i.async=!0,i.src=r,s=t.getElementsByTagName(n)[0],s.parentNode.insertBefore(i,s))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),window.fbq("init",D4),window.fbq("track","PageView"))},_4=()=>{const{marketingConsent:e}=Lb(),t=Hs(),n=m.useRef(!1);return m.useEffect(()=>{e&&(n.current||(O4(),n.current=!0))},[e]),m.useEffect(()=>{!e||!n.current||!window.fbq||window.fbq("track","PageView")},[t.pathname,t.search,e]),null},L4=()=>{const{hasDecided:e,acceptAll:t,rejectAll:n}=Lb(),{open:r}=_b();return e?null:h.jsxs("div",{role:"region","aria-label":"Cookie consent",className:"fixed bottom-3 left-3 right-3 sm:left-auto sm:right-4 sm:bottom-4 sm:max-w-md z-[60] rounded-xl border border-border bg-background/95 backdrop-blur-md shadow-lg p-4",children:[h.jsxs("p",{className:"text-sm text-foreground leading-relaxed",children:["We use cookies to improve your experience and measure our marketing."," ",h.jsx(qa,{to:"/cookie-policy",className:"underline hover:text-primary",children:"See our Cookie Policy"}),"."]}),h.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[h.jsx(Ns,{size:"sm",onClick:t,className:"flex-1 sm:flex-none",children:"Accept all"}),h.jsx(Ns,{size:"sm",variant:"outline",onClick:n,className:"flex-1 sm:flex-none",children:"Necessary only"}),h.jsx("button",{type:"button",onClick:r,className:"text-xs text-muted-foreground hover:text-foreground underline underline-offset-2 ml-auto sm:ml-1",children:"Manage preferences"})]})]})},I4=m.lazy(()=>ae(()=>import("./Blog-DYa-ZQ4R.js"),__vite__mapDeps([0,1]))),V4=m.lazy(()=>ae(()=>import("./Guides-ISLNmRrO.js"),[])),F4=m.lazy(()=>ae(()=>import("./NotFound-w0YCWjYh.js"),[])),$4=m.lazy(()=>ae(()=>import("./PrivacyPolicy-B5EcwoDj.js"),[])),z4=m.lazy(()=>ae(()=>import("./TermsOfService-Ca2uM2qw.js"),[])),B4=m.lazy(()=>ae(()=>import("./RefundPolicy-DWZJNB1p.js"),[])),U4=m.lazy(()=>ae(()=>import("./CookiePolicy-C6KtEBAS.js"),[])),W4=m.lazy(()=>ae(()=>import("./AcceptableUse-DgnnB9YH.js"),[])),H4=m.lazy(()=>ae(()=>import("./Contact-Bqn3gGhI.js"),[])),K4=m.lazy(()=>ae(()=>import("./WhyProductVideosConvertData-CdYz4PNn.js"),__vite__mapDeps([2,3,1]))),G4=m.lazy(()=>ae(()=>import("./WhyProductVideosConvert-CEY5AFv-.js"),__vite__mapDeps([4,3,1]))),Y4=m.lazy(()=>ae(()=>import("./ScalingVideoProduction-DYwZoxDZ.js"),__vite__mapDeps([5,3,1]))),Q4=m.lazy(()=>ae(()=>import("./LoopingVideosForAds-CmQkQcV3.js"),__vite__mapDeps([6,3,1]))),q4=m.lazy(()=>ae(()=>import("./AIVideoGenerationExplained-Cwy5X3tU.js"),__vite__mapDeps([7,3,1]))),X4=m.lazy(()=>ae(()=>import("./ProductPageOptimization-Bo70FD3v.js"),__vite__mapDeps([8,3,1]))),Z4=m.lazy(()=>ae(()=>import("./FutureOfEcommerceContent-BH_HmiUs.js"),__vite__mapDeps([9,3,1]))),jv=m.lazy(()=>ae(()=>import("./ProductVideosGuide-ubhHafzU.js"),__vite__mapDeps([10,3,1,11]))),Mv=m.lazy(()=>ae(()=>import("./CreateVideosFromImages-fvuYCrdA.js"),__vite__mapDeps([12,3,1,11]))),Dv=m.lazy(()=>ae(()=>import("./BestVideoLength-B_PUg3F0.js"),__vite__mapDeps([13,3,1,11]))),Ov=m.lazy(()=>ae(()=>import("./VideosInAds-By8jy_C0.js"),__vite__mapDeps([14,3,1,11]))),J4=m.lazy(()=>ae(()=>import("./WhereToPlaceVideos-mZ_g1yYJ.js"),__vite__mapDeps([15,3,1,11]))),e3=m.lazy(()=>ae(()=>import("./ProductVideoExamples-C8l9fy5C.js"),__vite__mapDeps([16,3,1,11]))),t3=m.lazy(()=>ae(()=>import("./VideoVsImages-SjgxKD23.js"),__vite__mapDeps([17,3,1,11]))),n3=m.lazy(()=>ae(()=>import("./ScaleVideoProduction-B3VEB3Qd.js"),__vite__mapDeps([18,3,1,11]))),r3=m.lazy(()=>ae(()=>import("./AIProductVideoGeneration-BscwyT2p.js"),__vite__mapDeps([19,3,1,11]))),o3=m.lazy(()=>ae(()=>import("./ProductVideosSEO-BLhQtbfp.js"),__vite__mapDeps([20,3,1,11]))),i3=m.lazy(()=>ae(()=>import("./BulkLoopingVideos-BNOT9KK-.js"),__vite__mapDeps([21,3,1,11]))),s3=()=>{const e=typeof window<"u"?window.location.search:"";return window.location.href=`https://app.catalogmotion.ai/sign-up${e}`,null},a3=new Rk,l3=()=>h.jsx(jk,{client:a3,children:h.jsxs(Jj,{children:[h.jsx(hN,{}),h.jsx(cA,{}),h.jsx(vD,{children:h.jsxs(A2,{children:[h.jsx(_4,{}),h.jsx(L4,{}),h.jsx(m.Suspense,{fallback:h.jsx("div",{className:"min-h-screen bg-background"}),children:h.jsxs(b2,{children:[h.jsx(Z,{path:"/",element:h.jsx(M4,{})}),h.jsx(Z,{path:"/blog",element:h.jsx(I4,{})}),h.jsx(Z,{path:"/guides",element:h.jsx(V4,{})}),h.jsx(Z,{path:"/privacy-policy",element:h.jsx($4,{})}),h.jsx(Z,{path:"/terms-of-service",element:h.jsx(z4,{})}),h.jsx(Z,{path:"/refund-policy",element:h.jsx(B4,{})}),h.jsx(Z,{path:"/cookie-policy",element:h.jsx(U4,{})}),h.jsx(Z,{path:"/acceptable-use",element:h.jsx(W4,{})}),h.jsx(Z,{path:"/contact",element:h.jsx(H4,{})}),h.jsx(Z,{path:"/blog/why-product-videos-convert-backed-by-data",element:h.jsx(K4,{})}),h.jsx(Z,{path:"/blog/why-product-videos-convert-better",element:h.jsx(G4,{})}),h.jsx(Z,{path:"/blog/scaling-video-production-for-ecommerce",element:h.jsx(Y4,{})}),h.jsx(Z,{path:"/blog/looping-videos-for-social-ads",element:h.jsx(Q4,{})}),h.jsx(Z,{path:"/blog/ai-video-generation-explained",element:h.jsx(q4,{})}),h.jsx(Z,{path:"/blog/product-page-optimization-tips",element:h.jsx(X4,{})}),h.jsx(Z,{path:"/blog/future-of-ecommerce-content",element:h.jsx(Z4,{})}),h.jsx(Z,{path:"/blog/product-videos-guide",element:h.jsx(jv,{})}),h.jsx(Z,{path:"/blog/create-videos-from-images",element:h.jsx(Mv,{})}),h.jsx(Z,{path:"/blog/best-video-length",element:h.jsx(Dv,{})}),h.jsx(Z,{path:"/blog/videos-in-ads",element:h.jsx(Ov,{})}),h.jsx(Z,{path:"/guides/product-videos-guide",element:h.jsx(jv,{})}),h.jsx(Z,{path:"/guides/create-videos-from-images",element:h.jsx(Mv,{})}),h.jsx(Z,{path:"/guides/best-video-length",element:h.jsx(Dv,{})}),h.jsx(Z,{path:"/guides/videos-in-ads",element:h.jsx(Ov,{})}),h.jsx(Z,{path:"/blog/where-to-place-product-videos",element:h.jsx(J4,{})}),h.jsx(Z,{path:"/blog/product-video-examples",element:h.jsx(e3,{})}),h.jsx(Z,{path:"/blog/video-vs-images",element:h.jsx(t3,{})}),h.jsx(Z,{path:"/blog/scale-video-production",element:h.jsx(n3,{})}),h.jsx(Z,{path:"/blog/ai-product-video-generation",element:h.jsx(r3,{})}),h.jsx(Z,{path:"/blog/product-videos-seo",element:h.jsx(o3,{})}),h.jsx(Z,{path:"/blog/create-product-videos-from-images-bulk",element:h.jsx(i3,{})}),h.jsx(Z,{path:"/sign-up",element:h.jsx(s3,{})}),h.jsx(Z,{path:"*",element:h.jsx(F4,{})})]})})]})})]})});nw(document.getElementById("root")).render(h.jsx(cw,{children:h.jsx(l3,{})}));export{uf as A,Ns as B,mR as C,j4 as F,ok as H,qa as L,SR as M,x5 as N,dR as a,Oe as b,ce as c,mA as d,Lr as g,h as j,te as m,m as r,Hs as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.