vendor: 5,693 bytes, lines 1-9
1function Cg(n,i){for(var s=0;s<i.length;s++){const l=i[s];if(typeof l!="string"&&!Array.isArray(l)){for(const u in l)if(u!=="default"&&!(u in n)){const d=Object.getOwnPropertyDescriptor(l,u);d&&Object.defineProperty(n,u,d.get?d:{enumerable:!0,get:()=>l[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function s(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=s(u);fetch(u.href,d)}})();function Bh(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Jl={exports:{}},si={},bl={exports:{}},oe={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var pd;function Pg(){if(pd)return oe;pd=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.iterator;function S(k){return k===null||typeof k!="object"?null:(k=w&&k[w]||k["@@iterator"],typeof k=="function"?k:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,A={};function D(k,V,ie){this.props=k,this.context=V,this.refs=A,this.updater=ie||C}D.prototype.isReactComponent={},D.prototype.setState=function(k,V){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,V,"setState")},D.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function I(){}I.prototype=D.prototype;function B(k,V,ie){this.props=k,this.context=V,this.refs=A,this.updater=ie||C}var z=B.prototype=new I;z.constructor=B,R(z,D.prototype),z.isPureReactComponent=!0;var j=Array.isArray,$=Object.prototype.hasOwnProperty,re={current:null},se={key:!0,ref:!0,__self:!0,__source:!0};function J(k,V,ie){var le,ce={},fe=null,ge=null;if(V!=null)for(le in V.ref!==void 0&&(ge=V.ref),V.key!==void 0&&(fe=""+V.key),V)$.call(V,le)&&!se.hasOwnProperty(le)&&(ce[le]=V[le]);var he=arguments.length-2;if(he===1)ce.children=ie;else if(1<he){for(var ke=Array(he),lt=0;lt<he;lt++)ke[lt]=arguments[lt+2];ce.children=ke}if(k&&k.defaultProps)for(le in he=k.defaultProps,he)ce[le]===void 0&&(ce[le]=he[le]);return{$$typeof:n,type:k,key:fe,ref:ge,props:ce,_owner:re.current}}function ne(k,V){return{$$typeof:n,type:k.type,key:V,ref:k.ref,props:k.props,_owner:k._owner}}function Z(k){return typeof k=="object"&&k!==null&&k.$$typeof===n}function ue(k){var V={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ie){return V[ie]})}var me=/\/+/g;function Pe(k,V){return typeof k=="object"&&k!==null&&k.key!=null?ue(""+k.key):V.toString(36)}function De(k,V,ie,le,ce){var fe=typeof k;(fe==="undefined"||fe==="boolean")&&(k=null);var ge=!1;if(k===null)ge=!0;else switch(fe){case"string":case"number":ge=!0;break;case"object":switch(k.$$typeof){case n:case i:ge=!0}}if(ge)return ge=k,ce=ce(ge),k=le===""?"."+Pe(ge,0):le,j(ce)?(ie="",k!=null&&(ie=k.replace(me,"$&/")+"/"),De(ce,V,ie,"",function(lt){return lt})):ce!=null&&(Z(ce)&&(ce=ne(ce,ie+(!ce.key||ge&&ge.key===ce.key?"":(""+ce.key).replace(me,"$&/")+"/")+k)),V.push(ce)),1;if(ge=0,le=le===""?".":le+":",j(k))for(var he=0;he<k.length;he++){fe=k[he];var ke=le+Pe(fe,he);ge+=De(fe,V,ie,ke,ce)}else if(ke=S(k),typeof ke=="function")for(k=ke.call(k),he=0;!(fe=k.next()).done;)fe=fe.value,ke=le+Pe(fe,he++),ge+=De(fe,V,ie,ke,ce);else if(fe==="object")throw V=String(k),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.");return ge}function Ne(k,V,ie){if(k==null)return k;var le=[],ce=0;return De(k,le,"","",function(fe){return V.call(ie,fe,ce++)}),le}function we(k){if(k._status===-1){var V=k._result;V=V(),V.then(function(ie){(k._status===0||k._status===-1)&&(k._status=1,k._result=ie)},function(ie){(k._status===0||k._status===-1)&&(k._status=2,k._result=ie)}),k._status===-1&&(k._status=0,k._result=V)}if(k._status===1)return k._result.default;throw k._result}var Ee={current:null},F={transition:null},Y={ReactCurrentDispatcher:Ee,ReactCurrentBatchConfig:F,ReactCurrentOwner:re};function U(){throw Error("act(...) is not supported in production builds of React.")}return oe.Children={map:Ne,forEach:function(k,V,ie){Ne(k,function(){V.apply(this,arguments)},ie)},count:function(k){var V=0;return Ne(k,function(){V++}),V},toArray:function(k){return Ne(k,function(V){return V})||[]},only:function(k){if(!Z(k))throw Error("React.Children.only expected to receive a single React element child.");return k}}
vendor: 7,463 bytes, lines 9-25
9,oe.Component=D,oe.Fragment=s,oe.Profiler=u,oe.PureComponent=B,oe.StrictMode=l,oe.Suspense=m,oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,oe.act=U,oe.cloneElement=function(k,V,ie){if(k==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+k+".");var le=R({},k.props),ce=k.key,fe=k.ref,ge=k._owner;if(V!=null){if(V.ref!==void 0&&(fe=V.ref,ge=re.current),V.key!==void 0&&(ce=""+V.key),k.type&&k.type.defaultProps)var he=k.type.defaultProps;for(ke in V)$.call(V,ke)&&!se.hasOwnProperty(ke)&&(le[ke]=V[ke]===void 0&&he!==void 0?he[ke]:V[ke])}var ke=arguments.length-2;if(ke===1)le.children=ie;else if(1<ke){he=Array(ke);for(var lt=0;lt<ke;lt++)he[lt]=arguments[lt+2];le.children=he}return{$$typeof:n,type:k.type,key:ce,ref:fe,props:le,_owner:ge}},oe.createContext=function(k){return k={$$typeof:f,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},k.Provider={$$typeof:d,_context:k},k.Consumer=k},oe.createElement=J,oe.createFactory=function(k){var V=J.bind(null,k);return V.type=k,V},oe.createRef=function(){return{current:null}},oe.forwardRef=function(k){return{$$typeof:p,render:k}},oe.isValidElement=Z,oe.lazy=function(k){return{$$typeof:y,_payload:{_status:-1,_result:k},_init:we}},oe.memo=function(k,V){return{$$typeof:g,type:k,compare:V===void 0?null:V}},oe.startTransition=function(k){var V=F.transition;F.transition={};try{k()}finally{F.transition=V}},oe.unstable_act=U,oe.useCallback=function(k,V){return Ee.current.useCallback(k,V)},oe.useContext=function(k){return Ee.current.useContext(k)},oe.useDebugValue=function(){},oe.useDeferredValue=function(k){return Ee.current.useDeferredValue(k)},oe.useEffect=function(k,V){return Ee.current.useEffect(k,V)},oe.useId=function(){return Ee.current.useId()},oe.useImperativeHandle=function(k,V,ie){return Ee.current.useImperativeHandle(k,V,ie)},oe.useInsertionEffect=function(k,V){return Ee.current.useInsertionEffect(k,V)},oe.useLayoutEffect=function(k,V){return Ee.current.useLayoutEffect(k,V)},oe.useMemo=function(k,V){return Ee.current.useMemo(k,V)},oe.useReducer=function(k,V,ie){return Ee.current.useReducer(k,V,ie)},oe.useRef=function(k){return Ee.current.useRef(k)},oe.useState=function(k){return Ee.current.useState(k)},oe.useSyncExternalStore=function(k,V,ie){return Ee.current.useSyncExternalStore(k,V,ie)},oe.useTransition=function(){return Ee.current.useTransition()},oe.version="18.3.1",oe}var md;function Ha(){return md||(md=1,bl.exports=Pg()),bl.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var yd;function Eg(){if(yd)return si;yd=1;var n=Ha(),i=Symbol.for("react.element"),s=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(p,m,g){var y,w={},S=null,C=null;g!==void 0&&(S=""+g),m.key!==void 0&&(S=""+m.key),m.ref!==void 0&&(C=m.ref);for(y in m)l.call(m,y)&&!d.hasOwnProperty(y)&&(w[y]=m[y]);if(p&&p.defaultProps)for(y in m=p.defaultProps,m)w[y]===void 0&&(w[y]=m[y]);return{$$typeof:i,type:p,key:S,ref:C,props:w,_owner:u.current}}return si.Fragment=s,si.jsx=f,si.jsxs=f,si}var gd;function Mg(){return gd||(gd=1,Jl.exports=Eg()),Jl.exports}var Yt=Mg(),H=Ha();const Rg=Bh(H),LS=Cg({__proto__:null,default:Rg},[H]);var As={},ea={exports:{}},ot={},ta={exports:{}},na={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var vd;function Dg(){return vd||(vd=1,(function(n){function i(F,Y){var U=F.length;F.push(Y);e:for(;0<U;){var k=U-1>>>1,V=F[k];if(0<u(V,Y))F[k]=Y,F[U]=V,U=k;else break e}}function s(F){return F.length===0?null:F[0]}function l(F){if(F.length===0)return null;var Y=F[0],U=F.pop();if(U!==Y){F[0]=U;e:for(var k=0,V=F.length,ie=V>>>1;k<ie;){var le=2*(k+1)-1,ce=F[le],fe=le+1,ge=F[fe];if(0>u(ce,U))fe<V&&0>u(ge,ce)?(F[k]=ge,F[fe]=U,k=fe):(F[k]=ce,F[le]=U,k=le);else if(fe<V&&0>u(ge,U))F[k]=ge,F[fe]=U,k=fe;else break e}}return Y}function u(F,Y){var U=F.sortIndex-Y.sortIndex;return U!==0?U:F.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var f=Date,p=f.now();n.unstable_now=function(){return f.now()-p}}var m=[],g=[],y=1,w=null,S=3,C=!1,R=!1,A=!1,D=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(F){for(var Y=s(g);Y!==null;){if(Y.callback===null)l(g);else if(Y.startTime<=F)l(g),Y.sortIndex=Y.expirationTime,i(m,Y);else break;Y=s(g)}}function j(F){if(A=!1,z(F),!R)if(s(m)!==null)R=!0,we($);else{var Y=s(g);Y!==null&&Ee(j,Y.startTime-F)}}function $(F,Y){R=!1,A&&(A=!1,I(J),J=-1),C=!0;var U=S;try{for(z(Y),w=s(m);w!==null&&(!(w.expirationTime>Y)||F&&!ue());){var k=w.callback;if(typeof k=="function"){w.callback=null,S=w.priorityLevel;var V=k(w.expirationTime<=Y);Y=n.unstable_now(),typeof V=="function"?w.callback=V:w===s(m)&&l(m),z(Y)}else l(m);w=s(m)}if(w!==null)var ie=!0;else{var le=s(g);le!==null&&Ee(j,le.startTime-Y),ie=!1}return ie}finally{w=null,S=U,C=!1}}var re=!1,se=null,J=-1,ne=5,Z=-1;function ue(){return!(n.unstable_now()-Z<ne)}function me(){if(se!==null){var F=n.unstable_now();Z=F;var Y=!0;try{Y=se(!0,F)}finally{Y?Pe():(re=!1,se=null)}}else re=!1}var Pe;if(typeof B=="function")Pe=function(){B(me)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,Ne=De.port2;De.port1.onmessage=me,Pe=function(){Ne.postMessage(null)}}else Pe=function(){D(me,0)};function we(F){se=F,re||(re=!0,Pe())}function Ee(F,Y){J=D(function(){F(n.unstable_now())},Y)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(F){F.callback=null},n.unstable_continueExecution=function(){R||C||(R=!0,we($))},n.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<F?Math.floor(1e3/F):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_getFirstCallbackNode=function(){return s(m)},n.unstable_next=function(F){switch(S){case 1:case 2:case 3:var Y=3;break;default:Y=S}var U=S;S=Y;try{return F()}finally{S=U}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(F,Y){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var U=S;S=F;try{return Y()}finally{S=U}},n.unstable_scheduleCallback=function(F,Y,U){var k=n.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?k+U:k):U=k,F){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=U+V,F={id:y++,callback:Y,priorityLevel:F,startTime:U,expirationTime:V,sortIndex:-1},U>
vendor: 4,559 bytes, lines 25-33
25k?(F.sortIndex=U,i(g,F),s(m)===null&&F===s(g)&&(A?(I(J),J=-1):A=!0,Ee(j,U-k))):(F.sortIndex=V,i(m,F),R||C||(R=!0,we($))),F},n.unstable_shouldYield=ue,n.unstable_wrapCallback=function(F){var Y=S;return function(){var U=S;S=Y;try{return F.apply(this,arguments)}finally{S=U}}}})(na)),na}var wd;function Ag(){return wd||(wd=1,ta.exports=Dg()),ta.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Sd;function Vg(){if(Sd)return ot;Sd=1;var n=Ha(),i=Ag();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 l=new Set,u={};function d(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,g=/^[: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]*$/,y={},w={};function S(e){return m.call(w,e)?!0:m.call(y,e)?!1:g.test(e)?w[e]=!0:(y[e]=!0,!1)}function C(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function R(e,t,r,o){if(t===null||typeof t>"u"||C(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.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 A(e,t,r,o,a,c,h){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=h}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new A(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new A(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new A(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new A(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){D[e]=new A(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new A(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new A(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new A(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new A(e,5,!1,e.toLowerCase(),null,!1,!1)});var I=/[\-:]([a-z])/g;function B(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
33-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(I,B);D[t]=new A(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(I,B);D[t]=new A(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(I,B);D[t]=new A(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new A(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new A(e,1,!1,e.toLowerCase(),null,!0,!0)});function z(e,t,r,o){var a=D.hasOwnProperty(t)?D[t]:null;(a!==null?a.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(R(t,r,a,o)&&(r=null),o||a===null?S(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):a.mustUseProperty?e[a.propertyName]=r===null?a.type===3?!1:"":r:(t=a.attributeName,o=a.attributeNamespace,r===null?e.removeAttribute(t):(a=a.type,r=a===3||a===4&&r===!0?"":""+r,o?e.setAttributeNS(o,t,r):e.setAttribute(t,r))))}var j=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),re=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),ue=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Ee=Symbol.for("react.offscreen"),F=Symbol.iterator;function Y(e){return e===null||typeof e!="object"?null:(e=F&&e[F]||e["@@iterator"],typeof e=="function"?e:null)}var U=Object.assign,k;function V(e){if(k===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);k=t&&t[1]||""}return` 34`+k+e}var ie=!1;function le(e,t){if(!e||ie)return"";ie=!0;var r=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(M){var o=M}Reflect.construct(e,[],t)}else{try{t.call()}catch(M){o=M}e.call(t.prototype)}else{try{throw Error()}catch(M){o=M}e()}}
vendor: 43,325 bytes, lines 34-38
34catch(M){if(M&&o&&typeof M.stack=="string"){for(var a=M.stack.split(` 35`),c=o.stack.split(` 36`),h=a.length-1,v=c.length-1;1<=h&&0<=v&&a[h]!==c[v];)v--;for(;1<=h&&0<=v;h--,v--)if(a[h]!==c[v]){if(h!==1||v!==1)do if(h--,v--,0>v||a[h]!==c[v]){var x=` 37`+a[h].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),x}while(1<=h&&0<=v);break}}}finally{ie=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?V(e):""}function ce(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=le(e.type,!1),e;case 11:return e=le(e.type.render,!1),e;case 1:return e=le(e.type,!0),e;default:return""}}function fe(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 se:return"Fragment";case re:return"Portal";case ne:return"Profiler";case J:return"StrictMode";case Pe:return"Suspense";case De:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ue:return(e.displayName||"Context")+".Consumer";case Z:return(e._context.displayName||"Context")+".Provider";case me:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ne:return t=e.displayName||null,t!==null?t:fe(e.type)||"Memo";case we:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}function ge(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 fe(t);case 8:return t===J?"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 he(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ke(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lt(e){var t=ke(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,c=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(h){o=""+h,c.call(this,h)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(h){o=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Si(e){e._valueTracker||(e._valueTracker=lt(e))}function wu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=ke(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function xi(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 io(e,t){var r=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Su(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=he(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xu(e,t){t=t.checked,t!=null&&z(e,"checked",t,!1)}function so(e,t){xu(e,t);var r=he(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?oo(e,t.type,r):t.hasOwnProperty("defaultValue")&&oo(e,t.type,he(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tu(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function oo(e,t,r){(t!=="number"||xi(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Sr=Array.isArray;function Bn(e,t,r,o){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&o&&(e[r].defaultSelected=!0)}else{for(r=""+he(r),t=null,a=0;a<e.length;a++){if(e[a].value===r){e[a].selected=!0,o&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function lo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ku(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(s(92));if(Sr(r)){if(1<r.length)throw Error(s(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:he(r)}}function Cu(e,t){var r=he(t.value),o=he(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),o!=null&&(e.defaultValue=""+o)}function Pu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Eu(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 ao(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Eu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ti,Mu=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,o,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,o,a)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ti=Ti||document.createElement("div"),Ti.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xr(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Tr={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},Rm=["Webkit","ms","Moz","O"];Object.keys(Tr).forEach(function(e){Rm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tr[t]=Tr[e]})});function Ru(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Tr.hasOwnProperty(e)&&Tr[e]?(""+t).trim():t+"px"}function Du(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=r.indexOf("--")===0,a=Ru(r,t[r],o);r==="float"&&(r="cssFloat"),o?e.setProperty(r,a):e[r]=a}}var Dm=U({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 uo(e,t){if(t){if(Dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function co(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 fo=null;function ho(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var po=null,Un=null,Wn=null;function Au(e){if(e=$r(e)){if(typeof po!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Ki(t),po(e.stateNode,e.type,t))}}function Vu(e){Un?Wn?Wn.push(e):Wn=[e]:Un=e}function Lu(){if(Un){var e=Un,t=Wn;if(Wn=Un=null,Au(e),t)for(e=0;e<t.length;e++)Au(t[e])}}function _u(e,t){return e(t)}function Nu(){}var mo=!1;function Iu(e,t,r){if(mo)return e(t,r);mo=!0;try{return _u(e,t,r)}finally{mo=!1,(Un!==null||Wn!==null)&&(Nu(),Lu())}}function kr(e,t){var r=e.stateNode;if(r===null)return null;var o=Ki(r);if(o===null)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,t,typeof r));return r}var yo=!1;if(p)try{var Cr={};Object.defineProperty(Cr,"passive",{get:function(){yo=!0}}),window.addEventListener("test",Cr,Cr),window.removeEventListener("test",Cr,Cr)}catch{yo=!1}function Am(e,t,r,o,a,c,h,v,x){var M=Array.prototype.slice.call(arguments,3);try{t.apply(r,M)}catch(_){this.onError(_)}}var Pr=!1,ki=null,Ci=!1,go=null,Vm={onError:function(e){Pr=!0,ki=e}};function Lm(e,t,r,o,a,c,h,v,x){Pr=!1,ki=null,Am.apply(Vm,arguments)}function _m(e,t,r,o,a,c,h,v,x){if(Lm.apply(this,arguments),Pr){if(Pr){var M=ki;Pr=!1,ki=null}else throw Error(s(198));Ci||(Ci=!0,go=M)}}function xn(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Fu(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 Ou(e){if(xn(e)!==e)throw Error(s(188))}function Nm(e){var t=e.alternate;if(!t){if(t=xn(e),t===null)throw Error(s(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(a===null)break;var c=a.alternate;if(c===null){if(o=a.return,o!==null){r=o;continue}break}if(a.child===c.child){for(c=a.child;c;){if(c===r)return Ou(a),e;if(c===o)return Ou(a),t;c=c.sibling}throw Error(s(188))}if(r.return!==o.return)r=a,o=c;else{for(var h=!1,v=a.child;v;){if(v===r){h=!0,r=a,o=c;break}if(v===o){h=!0,o=a,r=c;break}v=v.sibling}if(!h){for(v=c.child;v;){if(v===r){h=!0,r=c,o=a;break}if(v===o){h=!0,o=c,r=a;break}v=v.sibling}if(!h)throw Error(s(189))}}if(r.alternate!==o)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:t}function zu(e){return e=Nm(e),e!==null?ju(e):null}function ju(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ju(e);if(t!==null)return t;e=e.sibling}return null}var Bu=i.unstable_scheduleCallback,Uu=i.unstable_cancelCallback,Im=i.unstable_shouldYield,Fm=i.unstable_requestPaint,Le=i.unstable_now,Om=i.unstable_getCurrentPriorityLevel,vo=i.unstable_ImmediatePriority,Wu=i.unstable_UserBlockingPriority,Pi=i.unstable_NormalPriority,zm=i.unstable_LowPriority,Hu=i.unstable_IdlePriority,Ei=null,Vt=null;function jm(e){if(Vt&&typeof Vt.onCommitFiberRoot=="function")try{Vt.onCommitFiberRoot(Ei,e,void 0,(e.current.flags&128)===128)}catch{}}var xt=Math.clz32?Math.clz32:Wm,Bm=Math.log,Um=Math.LN2;function Wm(e){return e>>>=0,e===0?32:31-(Bm(e)/Um|0)|0}var Mi=64,Ri=4194304;function Er(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 Di(e,t){var r=e.pendingLanes;if(r===0)return 0;var o=0,a=e.suspendedLanes,c=e.pingedLanes,h=r&268435455;if(h!==0){var v=h&~a;v!==0?o=Er(v):(c&=h,c!==0&&(o=Er(c)))}else h=r&~a,h!==0?o=Er(h):c!==0&&(o=Er(c));if(o===0)return 0;if(t!==0&&t!==o&&(t&a)===0&&(a=o&-o,c=t&-t,a>=c||a===16&&(c&4194240)!==0))return t;if((o&4)!==0&&(o|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)r=31-xt(t),a=1<<r,o|=e[r],t&=~a;return o}function Hm(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 $m(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,c=e.pendingLanes;0<c;){var h=31-xt(c),v=1<<h,x=a[h];x===-1?((v&r)===0||(v&o)!==0)&&(a[h]=Hm(v,t)):x<=t&&(e.expiredLanes|=v),c&=~v}}function wo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $u(){var e=Mi;return Mi<<=1,(Mi&4194240)===0&&(Mi=64),e}function So(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Mr(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xt(t),e[t]=r}function Km(e,t){var r=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 o=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-xt(r),c=1<<a;t[a]=0,o[a]=-1,e[a]=-1,r&=~c}}function xo(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-xt(r),a=1<<o;a&t|e[o]&t&&(e[o]|=t),r&=~a}}var pe=0;function Ku(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Gu,To,Qu,Yu,Xu,ko=!1,Ai=[],Xt=null,Zt=null,qt=null,Rr=new Map,Dr=new Map,Jt=[],Gm="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 Zu(e,t){switch(e){case"focusin":case"focusout":Xt=null;break;case"dragenter":case"dragleave":Zt=null;break;case"mouseover":case"mouseout":qt=null;break;case"pointerover":case"pointerout":Rr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dr.delete(t.pointerId)}}function Ar(e,t,r,o,a,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:c,targetContainers:[a]},t!==null&&(t=$r(t),t!==null&&To(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function Qm(e,t,r,o,a){switch(t){case"focusin":return Xt=Ar(Xt,e,t,r,o,a),!0;case"dragenter":return Zt=Ar(Zt,e,t,r,o,a),!0;case"mouseover":return qt=Ar(qt,e,t,r,o,a),!0;case"pointerover":var c=a.pointerId;return Rr.set(c,Ar(Rr.get(c)||null,e,t,r,o,a)),!0;case"gotpointercapture":return c=a.pointerId,Dr.set(c,Ar(Dr.get(c)||null,e,t,r,o,a)),!0}return!1}function qu(e){var t=Tn(e.target);if(t!==null){var r=xn(t);if(r!==null){if(t=r.tag,t===13){if(t=Fu(r),t!==null){e.blockedOn=t,Xu(e.priority,function(){Qu(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Po(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);fo=o,r.target.dispatchEvent(o),fo=null}else return t=$r(r),t!==null&&To(t),e.blockedOn=r,!1;t.shift()}return!0}function Ju(e,t,r){Vi(e)&&r.delete(t)}function Ym(){ko=!1,Xt!==null&&Vi(Xt)&&(Xt=null),Zt!==null&&Vi(Zt)&&(Zt=null),qt!==null&&Vi(qt)&&(qt=null),Rr.forEach(Ju),Dr.forEach(Ju)}function Vr(e,t){e.blockedOn===t&&(e.blockedOn=null,ko||(ko=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ym)))}function Lr(e){function t(a){return Vr(a,e)}if(0<Ai.length){Vr(Ai[0],e);for(var r=1;r<Ai.length;r++){var o=Ai[r];o.blockedOn===e&&(o.blockedOn=null)}}for(Xt!==null&&Vr(Xt,e),Zt!==null&&Vr(Zt,e),qt!==null&&Vr(qt,e),Rr.forEach(t),Dr.forEach(t),r=0;r<Jt.length;r++)o=Jt[r],o.blockedOn===e&&(o.blockedOn=null);for(;0<Jt.length&&(r=Jt[0],r.blockedOn===null);)qu(r),r.blockedOn===null&&Jt.shift()}var Hn=j.ReactCurrentBatchConfig,Li=!0;function Xm(e,t,r,o){var a=pe,c=Hn.transition;Hn.transition=null;try{pe=1,Co(e,t,r,o)}finally{pe=a,Hn.transition=c}}function Zm(e,t,r,o){var a=pe,c=Hn.transition;Hn.transition=null;try{pe=4,Co(e,t,r,o)}finally{pe=a,Hn.transition=c}}function Co(e,t,r,o){if(Li){var a=Po(e,t,r,o);if(a===null)Wo(e,t,o,_i,r),Zu(e,o);else if(Qm(a,e,t,r,o))o.stopPropagation();else if(Zu(e,o),t&4&&-1<Gm.indexOf(e)){for(;a!==null;){var c=$r(a);if(c!==null&&Gu(c),c=Po(e,t,r,o),c===null&&Wo(e,t,o,_i,r),c===a)break;a=c}a!==null&&o.stopPropagation()}else Wo(e,t,o,null,r)}}var _i=null;function Po(e,t,r,o){if(_i=null,e=ho(o),e=Tn(e),e!==null)if(t=xn(e),t===null)e=null;else if(r=t.tag,r===13){if(e=Fu(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return _i=e,null}function bu(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(Om()){case vo:return 1;case Wu:return 4;case Pi:case zm:return 16;case Hu:return 536870912;default:return 16}default:return 16}}var bt=null,Eo=null,Ni=null;function ec(){if(Ni)return Ni;var e,t=Eo,r=t.length,o,a="value"in bt?bt.value:bt.textContent,c=a.length;for(e=0;e<r&&t[e]===a[e];e++);var h=r-e;for(o=1;o<=h&&t[r-o]===a[c-o];o++);return Ni=a.slice(e,1<o?1-o:void 0)}function Ii(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 Fi(){return!0}function tc(){return!1}function at(e){function t(r,o,a,c,h){this._reactName=r,this._targetInst=a,this.type=o,this.nativeEvent=c,this.target=h,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(r=e[v],this[v]=r?r(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Fi:tc,this.isPropagationStopped=tc,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Fi)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Fi)},persist:function(){},isPersistent:Fi}),t}var $n={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mo=at($n),_r=U({},$n,{view:0,detail:0}),qm=at(_r),Ro,Do,Nr,Oi=U({},_r,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vo,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!==Nr&&(Nr&&e.type==="mousemove"?(Ro=e.screenX-Nr.screenX,Do=e.screenY-Nr.screenY):Do=Ro=0,Nr=e),Ro)},movementY:function(e){return"movementY"in e?e.movementY:Do}}),nc=at(Oi),Jm=U({},Oi,{dataTransfer:0}),bm=at(Jm),ey=U({},_r,{relatedTarget:0}),Ao=at(ey),ty=U({},$n,{animationName:0,elapsedTime:0,pseudoElement:0}),ny=at(ty),ry=U({},$n,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),iy=at(ry),sy=U({},$n,{data:0}),rc=at(sy),oy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ly={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"},ay={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ay[e])?!!t[e]:!1}function Vo(){return uy}var cy=U({},_r,{key:function(e){if(e.key){var t=oy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ly[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vo,charCode:function(e){return e.type==="keypress"?Ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fy=at(cy),dy=U({},Oi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ic=at(dy),hy=U({},_r,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vo}),py=at(hy),my=U({},$n,{propertyName:0,elapsedTime:0,pseudoElement:0}),yy=at(my),gy=U({},Oi,{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}),vy=at(gy),wy=[9,13,27,32],Lo=p&&"CompositionEvent"in window,Ir=null;p&&"documentMode"in document&&(Ir=document.documentMode);var Sy=p&&"TextEvent"in window&&!Ir,sc=p&&(!Lo||Ir&&8<Ir&&11>=Ir),oc=" ",lc=!1;function ac(e,t){switch(e){case"keyup":return wy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kn=!1;function xy(e,t){switch(e){case"compositionend":return uc(t);case"keypress":return t.which!==32?null:(lc=!0,oc);case"textInput":return e=t.data,e===oc&&lc?null:e;default:return null}}function Ty(e,t){if(Kn)return e==="compositionend"||!Lo&&ac(e,t)?(e=ec(),Ni=Eo=bt=null,Kn=!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 sc&&t.locale!=="ko"?null:t.data;default:return null}}var ky={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 cc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ky[e.type]:t==="textarea"}function fc(e,t,r,o){Vu(o),t=Wi(t,"onChange"),0<t.length&&(r=new Mo("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var Fr=null,Or=null;function Cy(e){Dc(e,0)}function zi(e){var t=Zn(e);if(wu(t))return e}function Py(e,t){if(e==="change")return t}var dc=!1;if(p){var _o;if(p){var No="oninput"in document;if(!No){var hc=document.createElement("div");hc.setAttribute("oninput","return;"),No=typeof hc.oninput=="function"}_o=No}else _o=!1;dc=_o&&(!document.documentMode||9<document.documentMode)}function pc(){Fr&&(Fr.detachEvent("onpropertychange",mc),Or=Fr=null)}function mc(e){if(e.propertyName==="value"&&zi(Or)){var t=[];fc(t,Or,e,ho(e)),Iu(Cy,t)}}function Ey(e,t,r){e==="focusin"?(pc(),Fr=t,Or=r,Fr.attachEvent("onpropertychange",mc)):e==="focusout"&&pc()}function My(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zi(Or)}function Ry(e,t){if(e==="click")return zi(t)}function Dy(e,t){if(e==="input"||e==="change")return zi(t)}function Ay(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tt=typeof Object.is=="function"?Object.is:Ay;function zr(e,t){if(Tt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var a=r[o];if(!m.call(t,a)||!Tt(e[a],t[a]))return!1}return!0}function yc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gc(e,t){var r=yc(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yc(r)}}function vc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wc(){for(var e=window,t=xi();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=xi(e.document)}return t}function Io(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 Vy(e){var t=wc(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&vc(r.ownerDocument.documentElement,r)){if(o!==null&&Io(r)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,c=Math.min(o.start,a);o=o.end===void 0?c:Math.min(o.end,a),!e.extend&&c>o&&(a=o,o=c,c=a),a=gc(r,c);var h=gc(r,o);a&&h&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==h.node||e.focusOffset!==h.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),c>o?(e.addRange(t),e.extend(h.node,h.offset)):(t.setEnd(h.node,h.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ly=p&&"documentMode"in document&&11>=document.documentMode,Gn=null,Fo=null,jr=null,Oo=!1;function Sc(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Oo||Gn==null||Gn!==xi(o)||(o=Gn,"selectionStart"in o&&Io(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),jr&&zr(jr,o)||(jr=o,o=Wi(Fo,"onSelect"),0<o.length&&(t=new Mo("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Gn)))}function ji(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Qn={animationend:ji("Animation","AnimationEnd"),animationiteration:ji("Animation","AnimationIteration"),animationstart:ji("Animation","AnimationStart"),transitionend:ji("Transition","TransitionEnd")},zo={},xc={};p&&(xc=document.createElement("div").style,"AnimationEvent"in window||(delete Qn.animationend.animation,delete Qn.animationiteration.animation,delete Qn.animationstart.animation),"TransitionEvent"in window||delete Qn.transitionend.transition);function Bi(e){if(zo[e])return zo[e];if(!Qn[e])return e;var t=Qn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in xc)return zo[e]=t[r];return e}var Tc=Bi("animationend"),kc=Bi("animationiteration"),Cc=Bi("animationstart"),Pc=Bi("transitionend"),Ec=new Map,Mc="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 en(e,t){Ec.set(e,t),d(t,[e])}for(var jo=0;jo<Mc.length;jo++){var Bo=Mc[jo],_y=Bo.toLowerCase(),Ny=Bo[0].toUpperCase()+Bo.slice(1);en(_y,"on"+Ny)}en(Tc,"onAnimationEnd"),en(kc,"onAnimationIteration"),en(Cc,"onAnimationStart"),en("dblclick","onDoubleClick"),en("focusin","onFocus"),en("focusout","onBlur"),en(Pc,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Br="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(" "),Iy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Br));function Rc(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,_m(o,t,void 0,e),e.currentTarget=null}function Dc(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],a=o.event;o=o.listeners;e:{var c=void 0;if(t)for(var h=o.length-1;0<=h;h--){var v=o[h],x=v.instance,M=v.currentTarget;if(v=v.listener,x!==c&&a.isPropagationStopped())break e;Rc(a,v,M),c=x}else for(h=0;h<o.length;h++){if(v=o[h],x=v.instance,M=v.currentTarget,v=v.listener,x!==c&&a.isPropagationStopped())break e;Rc(a,v,M),c=x}}}if(Ci)throw e=go,Ci=!1,go=null,e}function Se(e,t){var r=t[Yo];r===void 0&&(r=t[Yo]=new Set);var o=e+"__bubble";r.has(o)||(Ac(t,e,2,!1),r.add(o))}function Uo(e,t,r){var o=0;t&&(o|=4),Ac(r,e,o,t)}var Ui="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Ui]){e[Ui]=!0,l.forEach(function(r){r!=="selectionchange"&&(Iy.has(r)||Uo(r,!1,e),Uo(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ui]||(t[Ui]=!0,Uo("selectionchange",!1,t))}}function Ac(e,t,r,o){switch(bu(t)){case 1:var a=Xm;break;case 4:a=Zm;break;default:a=Co}r=a.bind(null,t,r,e),a=void 0,!yo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),o?a!==void 0?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):a!==void 0?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function Wo(e,t,r,o,a){var c=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var h=o.tag;if(h===3||h===4){var v=o.stateNode.containerInfo;if(v===a||v.nodeType===8&&v.parentNode===a)break;if(h===4)for(h=o.return;h!==null;){var x=h.tag;if((x===3||x===4)&&(x=h.stateNode.containerInfo,x===a||x.nodeType===8&&x.parentNode===a))return;h=h.return}for(;v!==null;){if(h=Tn(v),h===null)return;if(x=h.tag,x===5||x===6){o=c=h;continue e}v=v.parentNode}}o=o.return}Iu(function(){var M=c,_=ho(r),N=[];e:{var L=Ec.get(e);if(L!==void 0){var W=Mo,G=e;switch(e){case"keypress":if(Ii(r)===0)break e;case"keydown":case"keyup":W=fy;break;case"focusin":G="focus",W=Ao;break;case"focusout":G="blur",W=Ao;break;case"beforeblur":case"afterblur":W=Ao;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=nc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=bm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=py;break;case Tc:case kc:case Cc:W=ny;break;case Pc:W=yy;break;case"scroll":W=qm;break;case"wheel":W=vy;break;case"copy":case"cut":case"paste":W=iy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=ic}var X=(t&4)!==0,_e=!X&&e==="scroll",P=X?L!==null?L+"Capture":null:L;X=[];for(var T=M,E;T!==null;){E=T;var O=E.stateNode;if(E.tag===5&&O!==null&&(E=O,P!==null&&(O=kr(T,P),O!=null&&X.push(Wr(T,O,E)))),_e)break;T=T.return}0<X.length&&(L=new W(L,G,null,r,_),N.push({event:L,listeners:X}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",W=e==="mouseout"||e==="pointerout",L&&r!==fo&&(G=r.relatedTarget||r.fromElement)&&(Tn(G)||G[Bt]))break e;if((W||L)&&(L=_.window===_?_:(L=_.ownerDocument)?L.defaultView||L.parentWindow:window,W?(G=r.relatedTarget||r.toElement,W=M,G=G?Tn(G):null,G!==null&&(_e=xn(G),G!==_e||G.tag!==5&&G.tag!==6)&&(G=null)):(W=null,G=M),W!==G)){if(X=nc,O="onMouseLeave",P="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(X=ic,O="onPointerLeave",P="onPointerEnter",T="pointer"),_e=W==null?L:Zn(W),E=G==null?L:Zn(G),L=new X(O,T+"leave",W,r,_),L.target=_e,L.relatedTarget=E,O=null,Tn(_)===M&&(X=new X(P,T+"enter",G,r,_),X.target=E,X.relatedTarget=_e,O=X),_e=O,W&&G)t:{for(X=W,P=G,T=0,E=X;E;E=Yn(E))T++;for(E=0,O=P;O;O=Yn(O))E++;for(;0<T-E;)X=Yn(X),T--;for(;0<E-T;)P=Yn(P),E--;for(;T--;){if(X===P||P!==null&&X===P.alternate)break t;X=Yn(X),P=Yn(P)}X=null}else X=null;W!==null&&Vc(N,L,W,X,!1),G!==null&&_e!==null&&Vc(N,_e,G,X,!0)}}e:{if(L=M?Zn(M):window,W=L.nodeName&&L.nodeName.toLowerCase(),W==="select"||W==="input"&&L.type==="file")var q=Py;else if(cc(L))if(dc)q=Dy;else{q=My;var b=Ey}else(W=L.nodeName)&&W.toLowerCase()==="input"&&(L.type==="checkbox"||L.type==="radio")&&(q=Ry);if(q&&(q=q(e,M))){fc(N,q,r,_);break e}b&&b(e,L,M),e==="focusout"&&(b=L._wrapperState)&&b.controlled&&L.type==="number"&&oo(L,"number",L.value)}switch(b=M?Zn(M):window,e){case"focusin":(cc(b)||b.contentEditable==="true")&&(Gn=b,Fo=M,jr=null);break;case"focusout":jr=Fo=Gn=null;break;case"mousedown":Oo=!0;break;case"contextmenu":case"mouseup":case"dragend":Oo=!1,Sc(N,r,_);break;case"selectionchange":if(Ly)break;case"keydown":case"keyup":Sc(N,r,_)}var ee;if(Lo)e:{switch(e){case"compositionstart":var te="onCompositionStart";break e;case"compositionend":te="onCompositionEnd";break e;case"compositionupdate":te="onCompositionUpdate";break e}te=void 0}else Kn?ac(e,r)&&(te="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(te="onCompositionStart");te&&(sc&&r.locale!=="ko"&&(Kn||te!=="onCompositionStart"?te==="onCompositionEnd"&&Kn&&(ee=ec()):(bt=_,Eo="value"in bt?bt.value:bt.textContent,Kn=!0)),b=Wi(M,te),0<b.length&&(te=new rc(te,e,null,r,_),N.push({event:te,listeners:b}),ee?te.data=ee:(ee=uc(r),ee!==null&&(te.data=ee)))),(ee=Sy?xy(e,r):Ty(e,r))&&(M=Wi(M,"onBeforeInput"),0<M.length&&(_=new rc("onBeforeInput","beforeinput",null,r,_),N.push({event:_,listeners:M}),_.data=ee))}Dc(N,t)})}function Wr(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Wi(e,t){for(var r=t+"Capture",o=[];e!==null;){var a=e,c=a.stateNode;a.tag===5&&c!==null&&(a=c,c=kr(e,r),c!=null&&o.unshift(Wr(e,c,a)),c=kr(e,t),c!=null&&o.push(Wr(e,c,a))),e=e.return}return o}function Yn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Vc(e,t,r,o,a){for(var c=t._reactName,h=[];r!==null&&r!==o;){var v=r,x=v.alternate,M=v.stateNode;if(x!==null&&x===o)break;v.tag===5&&M!==null&&(v=M,a?(x=kr(r,c),x!=null&&h.unshift(Wr(r,x,v))):a||(x=kr(r,c),x!=null&&h.push(Wr(r,x,v)))),r=r.return}h.length!==0&&e.push({event:t,listeners:h})}var Fy=/\r\n?/g,Oy=/\u0000|\uFFFD/g;function Lc(e){return(typeof e=="string"?e:""+e).replace(Fy,` 38`).replace(Oy,"")}function Hi(e,t,r){if(t=Lc(t),Lc(e)!==t&&r)throw Error(s(425))}function $i(){}var Ho=null,$o=null;function Ko(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 Go=typeof setTimeout=="function"?setTimeout:void 0,zy=typeof clearTimeout=="function"?clearTimeout:void 0,_c=typeof Promise=="function"?Promise:void 0,jy=typeof queueMicrotask=="function"?queueMicrotask:typeof _c<"u"?function(e){return _c.resolve(null).then(e).catch(By)}:Go;function By(e){setTimeout(function(){throw e})}function Qo(e,t){var r=t,o=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(o===0){e.removeChild(a),Lr(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=a}while(r);Lr(t)}function tn(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 Nc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Xn=Math.random().toString(36).slice(2),Lt="__reactFiber$"+Xn,Hr="__reactProps$"+Xn,Bt="__reactContainer$"+Xn,Yo="__reactEvents$"+Xn,Uy="__reactListeners$"+Xn,Wy="__reactHandles$"+Xn;function Tn(e){var t=e[Lt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Bt]||r[Lt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Nc(e);e!==null;){if(r=e[Lt])return r;e=Nc(e)}return t}e=r,r=e.parentNode}return null}function $r(e){return e=e[Lt]||e[Bt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Ki(e){return e[Hr]||null}var Xo=[],qn=-1;function nn(e){return{current:e}}function xe(e){0>qn||(e.current=Xo[qn],Xo[qn]=null,qn--)}function ve(e,t){qn++,Xo[qn]=e.current,e.current=t}var rn={},Qe=nn(rn),tt=nn(!1),kn=rn;function Jn(e,t){var r=e.type.contextTypes;if(!r)return rn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var a={},c;for(c in r)a[c]=t[c];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function nt(e){return e=e.childContextTypes,e!=null}function Gi(){xe(tt),xe(Qe)}function Ic(e,t,r){if(Qe.current!==rn)throw Error(s(168));ve(Qe,t),ve(tt,r)}function Fc(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var a in o)if(!(a in t))throw Error(s(108,ge(e)||"Unknown",a));return U({},r,o)}function Qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rn,kn=Qe.current,ve(Qe,e),ve(tt,tt.current),!0}function Oc(e,t,r){var o=e.stateNode;if(!o)throw Error(s(169));r?(e=Fc(e,t,kn),o.__reactInternalMemoizedMergedChildContext=e,xe(tt),xe(Qe),ve(Qe,e)):xe(tt),ve(tt,r)}var Ut=null,Yi=!1,Zo=!1;function zc(e){Ut===null?Ut=[e]:Ut.push(e)}function Hy(e){Yi=!0,zc(e)}function sn(){if(!Zo&&Ut!==null){Zo=!0;var e=0,t=pe;try{var r=Ut;for(pe=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}Ut=null,Yi=!1}catch(a){throw Ut!==null&&(Ut=Ut.slice(e+1)),Bu(vo,sn),a}finally{pe=t,Zo=!1}}return null}var bn=[],er=0,Xi=null,Zi=0,ht=[],pt=0,Cn=null,Wt=1,Ht="";function Pn(e,t){bn[er++]=Zi,bn[er++]=Xi,Xi=e,Zi=t}function jc(e,t,r){ht[pt++]=Wt,ht[pt++]=Ht,ht[pt++]=Cn,Cn=e;var o=Wt;e=Ht;var a=32-xt(o)-1;o&=~(1<<a),r+=1;var c=32-xt(t)+a;if(30<c){var h=a-a%5;c=(o&(1<<h)-1).toString(32),o>>=h,a-=h,Wt=1<<32-xt(t)+a|r<<a|o,Ht=c+e}else Wt=1<<c|r<<a|o,Ht=e}function qo(e){e.return!==null&&(Pn(e,1),jc(e,1,0))}function Jo(e){for(;e===Xi;)Xi=bn[--er],bn[er]=null,Zi=bn[--er],bn[er]=null;for(;e===Cn;)Cn=ht[--pt],ht[pt]=null,Ht=ht[--pt],ht[pt]=null,Wt=ht[--pt],ht[pt]=null}var ut=null,ct=null,Ce=!1,kt=null;function Bc(e,t){var r=vt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Uc(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ut=e,ct=tn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,ct=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Cn!==null?{id:Wt,overflow:Ht}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=vt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,ut=e,ct=null,!0):!1;default:return!1}}function bo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function el(e){if(Ce){var t=ct;if(t){var r=t;if(!Uc(e,t)){if(bo(e))throw Error(s(418));t=tn(r.nextSibling);var o=ut;t&&Uc(e,t)?Bc(o,r):(e.flags=e.flags&-4097|2,Ce=!1,ut=e)}}else{if(bo(e))throw Error(s(418));e.flags=e.flags&-4097|2,Ce=!1,ut=e}}}function Wc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function qi(e){if(e!==ut)return!1;if(!Ce)return Wc(e),Ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ko(e.type,e.memoizedProps)),t&&(t=ct)){if(bo(e))throw Hc(),Error(s(418));for(;t;)Bc(e,t),t=tn(t.nextSibling)}if(Wc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){ct=tn(e.nextSibling);break e}t--}
vendor: 4,358 bytes, line 38
38else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}ct=null}}else ct=ut?tn(e.stateNode.nextSibling):null;return!0}function Hc(){for(var e=ct;e;)e=tn(e.nextSibling)}function tr(){ct=ut=null,Ce=!1}function tl(e){kt===null?kt=[e]:kt.push(e)}var $y=j.ReactCurrentBatchConfig;function Kr(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(s(309));var o=r.stateNode}if(!o)throw Error(s(147,e));var a=o,c=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===c?t.ref:(t=function(h){var v=a.refs;h===null?delete v[c]:v[c]=h},t._stringRef=c,t)}if(typeof e!="string")throw Error(s(284));if(!r._owner)throw Error(s(290,e))}return e}function Ji(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $c(e){var t=e._init;return t(e._payload)}function Kc(e){function t(P,T){if(e){var E=P.deletions;E===null?(P.deletions=[T],P.flags|=16):E.push(T)}}function r(P,T){if(!e)return null;for(;T!==null;)t(P,T),T=T.sibling;return null}function o(P,T){for(P=new Map;T!==null;)T.key!==null?P.set(T.key,T):P.set(T.index,T),T=T.sibling;return P}function a(P,T){return P=hn(P,T),P.index=0,P.sibling=null,P}function c(P,T,E){return P.index=E,e?(E=P.alternate,E!==null?(E=E.index,E<T?(P.flags|=2,T):E):(P.flags|=2,T)):(P.flags|=1048576,T)}function h(P){return e&&P.alternate===null&&(P.flags|=2),P}function v(P,T,E,O){return T===null||T.tag!==6?(T=Gl(E,P.mode,O),T.return=P,T):(T=a(T,E),T.return=P,T)}function x(P,T,E,O){var q=E.type;return q===se?_(P,T,E.props.children,O,E.key):T!==null&&(T.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===we&&$c(q)===T.type)?(O=a(T,E.props),O.ref=Kr(P,T,E),O.return=P,O):(O=Ts(E.type,E.key,E.props,null,P.mode,O),O.ref=Kr(P,T,E),O.return=P,O)}function M(P,T,E,O){return T===null||T.tag!==4||T.stateNode.containerInfo!==E.containerInfo||T.stateNode.implementation!==E.implementation?(T=Ql(E,P.mode,O),T.return=P,T):(T=a(T,E.children||[]),T.return=P,T)}function _(P,T,E,O,q){return T===null||T.tag!==7?(T=_n(E,P.mode,O,q),T.return=P,T):(T=a(T,E),T.return=P,T)}function N(P,T,E){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Gl(""+T,P.mode,E),T.return=P,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case $:return E=Ts(T.type,T.key,T.props,null,P.mode,E),E.ref=Kr(P,null,T),E.return=P,E;case re:return T=Ql(T,P.mode,E),T.return=P,T;case we:var O=T._init;return N(P,O(T._payload),E)}if(Sr(T)||Y(T))return T=_n(T,P.mode,E,null),T.return=P,T;Ji(P,T)}return null}function L(P,T,E,O){var q=T!==null?T.key:null;if(typeof E=="string"&&E!==""||typeof E=="number")return q!==null?null:v(P,T,""+E,O);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case $:return E.key===q?x(P,T,E,O):null;case re:return E.key===q?M(P,T,E,O):null;case we:return q=E._init,L(P,T,q(E._payload),O)}if(Sr(E)||Y(E))return q!==null?null:_(P,T,E,O,null);Ji(P,E)}return null}function W(P,T,E,O,q){if(typeof O=="string"&&O!==""||typeof O=="number")return P=P.get(E)||null,v(T,P,""+O,q);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case $:return P=P.get(O.key===null?E:O.key)||null,x(T,P,O,q);case re:return P=P.get(O.key===null?E:O.key)||null,M(T,P,O,q);case we:var b=O._init;return W(P,T,E,b(O._payload),q)}if(Sr(O)||Y(O))return P=P.get(E)||null,_(T,P,O,q,null);Ji(T,O)}return null}function G(P,T,E,O){for(var q=null,b=null,ee=T,te=T=0,We=null;ee!==null&&te<E.length;te++){ee.index>te?(We=ee,ee=null):We=ee.sibling;var de=L(P,ee,E[te],O);if(de===null){ee===null&&(ee=We);break}e&&ee&&de.alternate===null&&t(P,ee),T=c(de,T,te),b===null?q=de:b.sibling=de,b=de,ee=We}if(te===E.length)return r(P,ee),Ce&&Pn(P,te),q;if(ee===null){for(;te<E.length;te++)ee=N(P,E[te],O),ee!==null&&(T=c(ee,T,te),b===null?q=ee:b.sibling=ee,b=ee);return Ce&&Pn(P,te),q}for(ee=o(P,ee);te<E.length;te++)We=W(ee,P,te,E[te],O),We!==null&&(e&&We.alternate!==null&&ee.delete(We.key===null?te:We.key),T=c(We,T,te),b===null?q=We:b.sibling=We,b=We);return e&&ee.forEach(function(pn){return t(P,pn)}),Ce&&Pn(P,te),q}function X(P,T,E,O){var q=Y(E);if(typeof q!="function")throw Error(s(150));if(E=q.call(E),E==null)throw Error(s(151));for(var b=q=null,ee=T,te=T=0,We=null,de=E.next();ee!==null&&!de.done;te++,de=E.next()){ee.index>te?(We=ee,ee=null):We=ee.sibling;var pn=L(P,ee,de.value,O);
vendor: 8,965 bytes, line 38
38if(pn===null){ee===null&&(ee=We);break}e&&ee&&pn.alternate===null&&t(P,ee),T=c(pn,T,te),b===null?q=pn:b.sibling=pn,b=pn,ee=We}if(de.done)return r(P,ee),Ce&&Pn(P,te),q;if(ee===null){for(;!de.done;te++,de=E.next())de=N(P,de.value,O),de!==null&&(T=c(de,T,te),b===null?q=de:b.sibling=de,b=de);return Ce&&Pn(P,te),q}for(ee=o(P,ee);!de.done;te++,de=E.next())de=W(ee,P,te,de.value,O),de!==null&&(e&&de.alternate!==null&&ee.delete(de.key===null?te:de.key),T=c(de,T,te),b===null?q=de:b.sibling=de,b=de);return e&&ee.forEach(function(kg){return t(P,kg)}),Ce&&Pn(P,te),q}function _e(P,T,E,O){if(typeof E=="object"&&E!==null&&E.type===se&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case $:e:{for(var q=E.key,b=T;b!==null;){if(b.key===q){if(q=E.type,q===se){if(b.tag===7){r(P,b.sibling),T=a(b,E.props.children),T.return=P,P=T;break e}}else if(b.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===we&&$c(q)===b.type){r(P,b.sibling),T=a(b,E.props),T.ref=Kr(P,b,E),T.return=P,P=T;break e}r(P,b);break}else t(P,b);b=b.sibling}E.type===se?(T=_n(E.props.children,P.mode,O,E.key),T.return=P,P=T):(O=Ts(E.type,E.key,E.props,null,P.mode,O),O.ref=Kr(P,T,E),O.return=P,P=O)}return h(P);case re:e:{for(b=E.key;T!==null;){if(T.key===b)if(T.tag===4&&T.stateNode.containerInfo===E.containerInfo&&T.stateNode.implementation===E.implementation){r(P,T.sibling),T=a(T,E.children||[]),T.return=P,P=T;break e}else{r(P,T);break}else t(P,T);T=T.sibling}T=Ql(E,P.mode,O),T.return=P,P=T}return h(P);case we:return b=E._init,_e(P,T,b(E._payload),O)}if(Sr(E))return G(P,T,E,O);if(Y(E))return X(P,T,E,O);Ji(P,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,T!==null&&T.tag===6?(r(P,T.sibling),T=a(T,E),T.return=P,P=T):(r(P,T),T=Gl(E,P.mode,O),T.return=P,P=T),h(P)):r(P,T)}return _e}var nr=Kc(!0),Gc=Kc(!1),bi=nn(null),es=null,rr=null,nl=null;function rl(){nl=rr=es=null}function il(e){var t=bi.current;xe(bi),e._currentValue=t}function sl(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function ir(e,t){es=e,nl=rr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(rt=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(nl!==e)if(e={context:e,memoizedValue:t,next:null},rr===null){if(es===null)throw Error(s(308));rr=e,es.dependencies={lanes:0,firstContext:e}}else rr=rr.next=e;return t}var En=null;function ol(e){En===null?En=[e]:En.push(e)}function Qc(e,t,r,o){var a=t.interleaved;return a===null?(r.next=r,ol(t)):(r.next=a.next,a.next=r),t.interleaved=r,$t(e,o)}function $t(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var on=!1;function ll(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yc(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 Kt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ln(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(ae&2)!==0){var a=o.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),o.pending=t,$t(e,r)}return a=o.interleaved,a===null?(t.next=t,ol(o)):(t.next=a.next,a.next=t),o.interleaved=t,$t(e,r)}function ts(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,xo(e,r)}}function Xc(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var a=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var h={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};c===null?a=c=h:c=c.next=h,r=r.next}while(r!==null);c===null?a=c=t:c=c.next=t}else a=c=t;r={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:c,shared:o.shared,effects:o.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function ns(e,t,r,o){var a=e.updateQueue;on=!1;var c=a.firstBaseUpdate,h=a.lastBaseUpdate,v=a.shared.pending;if(v!==null){a.shared.pending=null;var x=v,M=x.next;x.next=null,h===null?c=M:h.next=M,h=x;var _=e.alternate;_!==null&&(_=_.updateQueue,v=_.lastBaseUpdate,v!==h&&(v===null?_.firstBaseUpdate=M:v.next=M,_.lastBaseUpdate=x))}if(c!==null){var N=a.baseState;h=0,_=M=x=null,v=c;do{var L=v.lane,W=v.eventTime;if((o&L)===L){_!==null&&(_=_.next={eventTime:W,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});e:{var G=e,X=v;switch(L=t,W=r,X.tag){case 1:if(G=X.payload,typeof G=="function"){N=G.call(W,N,L);break e}N=G;break e;case 3:G.flags=G.flags&-65537|128;case 0:if(G=X.payload,L=typeof G=="function"?G.call(W,N,L):G,L==null)break e;N=U({},N,L);break e;case 2:on=!0}}v.callback!==null&&v.lane!==0&&(e.flags|=64,L=a.effects,L===null?a.effects=[v]:L.push(v))}else W={eventTime:W,lane:L,tag:v.tag,payload:v.payload,callback:v.callback,next:null},_===null?(M=_=W,x=N):_=_.next=W,h|=L;if(v=v.next,v===null){if(v=a.shared.pending,v===null)break;L=v,v=L.next,L.next=null,a.lastBaseUpdate=L,a.shared.pending=null}}while(!0);if(_===null&&(x=N),a.baseState=x,a.firstBaseUpdate=M,a.lastBaseUpdate=_,t=a.shared.interleaved,t!==null){a=t;do h|=a.lane,a=a.next;while(a!==t)}else c===null&&(a.shared.lanes=0);Dn|=h,e.lanes=h,e.memoizedState=N}}function Zc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(a!==null){if(o.callback=null,o=r,typeof a!="function")throw Error(s(191,a));a.call(o)}}}var Gr={},_t=nn(Gr),Qr=nn(Gr),Yr=nn(Gr);function Mn(e){if(e===Gr)throw Error(s(174));return e}function al(e,t){switch(ve(Yr,t),ve(Qr,e),ve(_t,Gr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ao(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ao(t,e)}xe(_t),ve(_t,t)}function sr(){xe(_t),xe(Qr),xe(Yr)}function qc(e){Mn(Yr.current);var t=Mn(_t.current),r=ao(t,e.type);t!==r&&(ve(Qr,e),ve(_t,r))}function ul(e){Qr.current===e&&(xe(_t),xe(Qr))}var Me=nn(0);function rs(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)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 cl=[];function fl(){for(var e=0;e<cl.length;e++)cl[e]._workInProgressVersionPrimary=null;cl.length=0}var is=j.ReactCurrentDispatcher,dl=j.ReactCurrentBatchConfig,Rn=0,Re=null,Oe=null,Be=null,ss=!1,Xr=!1,Zr=0,Ky=0;function Ye(){throw Error(s(321))}function hl(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Tt(e[r],t[r]))return!1;return!0}function pl(e,t,r,o,a,c){if(Rn=c,Re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,is.current=e===null||e.memoizedState===null?Xy:Zy,e=r(o,a),Xr){c=0;do{if(Xr=!1,Zr=0,25<=c)throw Error(s(301));c+=1,Be=Oe=null,t.updateQueue=null,is.current=qy,e=r(o,a)}while(Xr)}if(is.current=as,t=Oe!==null&&Oe.next!==null,Rn=0,Be=Oe=Re=null,ss=!1,t)throw Error(s(300));return e}function ml(){var e=Zr!==0;return Zr=0,e}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Be===null?Re.memoizedState=Be=e:Be=Be.next=e,Be}function yt(){if(Oe===null){var e=Re.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=Be===null?Re.memoizedState:Be.next;if(t!==null)Be=t,Oe=e;else{if(e===null)throw Error(s(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Be===null?Re.memoizedState=Be=e:Be=Be.next=e}return Be}function qr(e,t){return typeof t=="function"?t(e):t}function yl(e){var t=yt(),r=t.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var o=Oe,a=o.baseQueue,c=r.pending;if(c!==null){if(a!==null){var h=a.next;a.next=c.next,c.next=h}o.baseQueue=a=c,r.pending=null}if(a!==null){c=a.next,o=o.baseState;var v=h=null,x=null,M=c;do{var _=M.lane;if((Rn&_)===_)x!==null&&(x=x.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),o=M.hasEagerState?M.eagerState:e(o,M.action);else{var N={lane:_,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};x===null?(v=x=N,h=o):x=x.next=N,Re.lanes|=_,Dn|=_}M=M.next}while(M!==null&&M!==c);x===null?h=o:x.next=v,Tt(o,t.memoizedState)||(rt=!0),t.memoizedState=o,t.baseState=h,t.baseQueue=x,r.lastRenderedState=o}if(e=r.interleaved,e!==null){a=e;do c=a.lane,Re.lanes|=c,Dn|=c,a=a.next;while(a!==e)}else a===null&&(r.lanes=0);
vendor: 4,917 bytes, line 38
38return[t.memoizedState,r.dispatch]}function gl(e){var t=yt(),r=t.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,c=t.memoizedState;if(a!==null){r.pending=null;var h=a=a.next;do c=e(c,h.action),h=h.next;while(h!==a);Tt(c,t.memoizedState)||(rt=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,o]}function Jc(){}function bc(e,t){var r=Re,o=yt(),a=t(),c=!Tt(o.memoizedState,a);if(c&&(o.memoizedState=a,rt=!0),o=o.queue,vl(nf.bind(null,r,o,e),[e]),o.getSnapshot!==t||c||Be!==null&&Be.memoizedState.tag&1){if(r.flags|=2048,Jr(9,tf.bind(null,r,o,a,t),void 0,null),Ue===null)throw Error(s(349));(Rn&30)!==0||ef(r,t,a)}return a}function ef(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function tf(e,t,r,o){t.value=r,t.getSnapshot=o,rf(t)&&sf(e)}function nf(e,t,r){return r(function(){rf(t)&&sf(e)})}function rf(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Tt(e,r)}catch{return!0}}function sf(e){var t=$t(e,1);t!==null&&Mt(t,e,1,-1)}function of(e){var t=Nt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:e},t.queue=e,e=e.dispatch=Yy.bind(null,Re,e),[t.memoizedState,e]}function Jr(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},t=Re.updateQueue,t===null?(t={lastEffect:null,stores:null},Re.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e)),e}function lf(){return yt().memoizedState}function os(e,t,r,o){var a=Nt();Re.flags|=e,a.memoizedState=Jr(1|t,r,void 0,o===void 0?null:o)}function ls(e,t,r,o){var a=yt();o=o===void 0?null:o;var c=void 0;if(Oe!==null){var h=Oe.memoizedState;if(c=h.destroy,o!==null&&hl(o,h.deps)){a.memoizedState=Jr(t,r,c,o);return}}Re.flags|=e,a.memoizedState=Jr(1|t,r,c,o)}function af(e,t){return os(8390656,8,e,t)}function vl(e,t){return ls(2048,8,e,t)}function uf(e,t){return ls(4,2,e,t)}function cf(e,t){return ls(4,4,e,t)}function ff(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 df(e,t,r){return r=r!=null?r.concat([e]):null,ls(4,4,ff.bind(null,t,e),r)}function wl(){}function hf(e,t){var r=yt();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&hl(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function pf(e,t){var r=yt();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&hl(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function mf(e,t,r){return(Rn&21)===0?(e.baseState&&(e.baseState=!1,rt=!0),e.memoizedState=r):(Tt(r,t)||(r=$u(),Re.lanes|=r,Dn|=r,e.baseState=!0),t)}function Gy(e,t){var r=pe;pe=r!==0&&4>r?r:4,e(!0);var o=dl.transition;dl.transition={};try{e(!1),t()}finally{pe=r,dl.transition=o}}function yf(){return yt().memoizedState}function Qy(e,t,r){var o=fn(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},gf(e))vf(t,r);else if(r=Qc(e,t,r,o),r!==null){var a=Je();Mt(r,e,o,a),wf(r,t,o)}}function Yy(e,t,r){var o=fn(e),a={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(gf(e))vf(t,a);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,v=c(h,r);if(a.hasEagerState=!0,a.eagerState=v,Tt(v,h)){var x=t.interleaved;x===null?(a.next=a,ol(t)):(a.next=x.next,x.next=a),t.interleaved=a;return}}catch{}finally{}r=Qc(e,t,a,o),r!==null&&(a=Je(),Mt(r,e,o,a),wf(r,t,o))}}function gf(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function vf(e,t){Xr=ss=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function wf(e,t,r){if((r&4194240)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,xo(e,r)}}var as={readContext:mt,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},Xy={readContext:mt,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:af,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,os(4194308,4,ff.bind(null,t,e),r)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){return os(4,2,e,t)},useMemo:function(e,t){var r=Nt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=Nt();return t=r!==void 0?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=Qy.bind(null,Re,e),[o.memoizedState,e]}
vendor: 7,454 bytes, lines 38-40
38,useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:of,useDebugValue:wl,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=of(!1),t=e[0];return e=Gy.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=Re,a=Nt();if(Ce){if(r===void 0)throw Error(s(407));r=r()}else{if(r=t(),Ue===null)throw Error(s(349));(Rn&30)!==0||ef(o,t,r)}a.memoizedState=r;var c={value:r,getSnapshot:t};return a.queue=c,af(nf.bind(null,o,c,e),[e]),o.flags|=2048,Jr(9,tf.bind(null,o,c,r,t),void 0,null),r},useId:function(){var e=Nt(),t=Ue.identifierPrefix;if(Ce){var r=Ht,o=Wt;r=(o&~(1<<32-xt(o)-1)).toString(32)+r,t=":"+t+"R"+r,r=Zr++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Ky++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Zy={readContext:mt,useCallback:hf,useContext:mt,useEffect:vl,useImperativeHandle:df,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:yl,useRef:lf,useState:function(){return yl(qr)},useDebugValue:wl,useDeferredValue:function(e){var t=yt();return mf(t,Oe.memoizedState,e)},useTransition:function(){var e=yl(qr)[0],t=yt().memoizedState;return[e,t]},useMutableSource:Jc,useSyncExternalStore:bc,useId:yf,unstable_isNewReconciler:!1},qy={readContext:mt,useCallback:hf,useContext:mt,useEffect:vl,useImperativeHandle:df,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:gl,useRef:lf,useState:function(){return gl(qr)},useDebugValue:wl,useDeferredValue:function(e){var t=yt();return Oe===null?t.memoizedState=e:mf(t,Oe.memoizedState,e)},useTransition:function(){var e=gl(qr)[0],t=yt().memoizedState;return[e,t]},useMutableSource:Jc,useSyncExternalStore:bc,useId:yf,unstable_isNewReconciler:!1};function Ct(e,t){if(e&&e.defaultProps){t=U({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Sl(e,t,r,o){t=e.memoizedState,r=r(o,t),r=r==null?t:U({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var us={isMounted:function(e){return(e=e._reactInternals)?xn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=Je(),a=fn(e),c=Kt(o,a);c.payload=t,r!=null&&(c.callback=r),t=ln(e,c,a),t!==null&&(Mt(t,e,a,o),ts(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=Je(),a=fn(e),c=Kt(o,a);c.tag=1,c.payload=t,r!=null&&(c.callback=r),t=ln(e,c,a),t!==null&&(Mt(t,e,a,o),ts(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Je(),o=fn(e),a=Kt(r,o);a.tag=2,t!=null&&(a.callback=t),t=ln(e,a,o),t!==null&&(Mt(t,e,o,r),ts(t,e,o))}};function Sf(e,t,r,o,a,c,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,c,h):t.prototype&&t.prototype.isPureReactComponent?!zr(r,o)||!zr(a,c):!0}function xf(e,t,r){var o=!1,a=rn,c=t.contextType;return typeof c=="object"&&c!==null?c=mt(c):(a=nt(t)?kn:Qe.current,o=t.contextTypes,c=(o=o!=null)?Jn(e,a):rn),t=new t(r,c),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=us,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=c),t}function Tf(e,t,r,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&us.enqueueReplaceState(t,t.state,null)}function xl(e,t,r,o){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs={},ll(e);var c=t.contextType;typeof c=="object"&&c!==null?a.context=mt(c):(c=nt(t)?kn:Qe.current,a.context=Jn(e,c)),a.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(Sl(e,t,c,r),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&us.enqueueReplaceState(a,a.state,null),ns(e,r,a,o),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}function or(e,t){try{var r="",o=t;do r+=ce(o),o=o.return;while(o);var a=r}catch(c){a=` 39Error generating stack: `+c.message+` 40`+c.stack}return{value:e,source:t,stack:a,digest:null}}function Tl(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function kl(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Jy=typeof WeakMap=="function"?WeakMap:Map;function kf(e,t,r){r=Kt(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){ys||(ys=!0,zl=o),kl(e,t)},r}function Cf(e,t,r){r=Kt(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var a=t.value;r.payload=function(){return o(a)},r.callback=function(){kl(e,t)}}var c=e.stateNode;return c!==null&&typeof c.componentDidCatch=="function"&&(r.callback=function(){kl(e,t),typeof o!="function"&&(un===null?un=new Set([this]):un.add(this));var h=t.stack;this.componentDidCatch(t.value,{componentStack:h!==null?h:""})}),r}function Pf(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new Jy;var a=new Set;o.set(t,a)}else a=o.get(t),a===void 0&&(a=new Set,o.set(t,a));a.has(r)||(a.add(r),e=dg.bind(null,e,t,r),t.then(e,e))}function Ef(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 Mf(e,t,r,o,a){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Kt(-1,1),t.tag=2,ln(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var by=j.ReactCurrentOwner,rt=!1;function qe(e,t,r,o){t.child=e===null?Gc(t,null,r,o):nr(t,e.child,r,o)}function Rf(e,t,r,o,a){r=r.render;var c=t.ref;return ir(t,a),o=pl(e,t,r,o,c,a),r=ml(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Gt(e,t,a)):(Ce&&r&&qo(t),t.flags|=1,qe(e,t,o,a),t.child)}function Df(e,t,r,o,a){if(e===null){var c=r.type;return typeof c=="function"&&!Kl(c)&&c.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=c,Af(e,t,c,o,a)):(e=Ts(r.type,null,o,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,(e.lanes&a)===0){var h=c.memoizedProps;if(r=r.compare,r=r!==null?r:zr,r(h,o)&&e.ref===t.ref)return Gt(e,t,a)}return t.flags|=1,e=hn(c,o),e.ref=t.ref,e.return=t,t.child=e}function Af(e,t,r,o,a){if(e!==null){var c=e.memoizedProps;if(zr(c,o)&&e.ref===t.ref)if(rt=!1,t.pendingProps=o=c,(e.lanes&a)!==0)(e.flags&131072)!==0&&(rt=!0);else return t.lanes=e.lanes,Gt(e,t,a)}return Cl(e,t,r,o,a)}function Vf(e,t,r){var o=t.pendingProps,a=o.children,c=e!==null?e.memoizedState:null;if(o.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ve(ar,ft),ft|=r;else{if((r&1073741824)===0)return e=c!==null?c.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ve(ar,ft),ft|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=c!==null?c.baseLanes:r,ve(ar,ft),ft|=o}else c!==null?(o=c.baseLanes|r,t.memoizedState=null):o=r,ve(ar,ft),ft|=o;return qe(e,t,a,r),t.child}function Lf(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}
vendor: 13,690 bytes, line 40
40function Cl(e,t,r,o,a){var c=nt(r)?kn:Qe.current;return c=Jn(t,c),ir(t,a),r=pl(e,t,r,o,c,a),o=ml(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Gt(e,t,a)):(Ce&&o&&qo(t),t.flags|=1,qe(e,t,r,a),t.child)}function _f(e,t,r,o,a){if(nt(r)){var c=!0;Qi(t)}else c=!1;if(ir(t,a),t.stateNode===null)fs(e,t),xf(t,r,o),xl(t,r,o,a),o=!0;else if(e===null){var h=t.stateNode,v=t.memoizedProps;h.props=v;var x=h.context,M=r.contextType;typeof M=="object"&&M!==null?M=mt(M):(M=nt(r)?kn:Qe.current,M=Jn(t,M));var _=r.getDerivedStateFromProps,N=typeof _=="function"||typeof h.getSnapshotBeforeUpdate=="function";N||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(v!==o||x!==M)&&Tf(t,h,o,M),on=!1;var L=t.memoizedState;h.state=L,ns(t,o,h,a),x=t.memoizedState,v!==o||L!==x||tt.current||on?(typeof _=="function"&&(Sl(t,r,_,o),x=t.memoizedState),(v=on||Sf(t,r,v,o,L,x,M))?(N||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(t.flags|=4194308)):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=x),h.props=o,h.state=x,h.context=M,o=v):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{h=t.stateNode,Yc(e,t),v=t.memoizedProps,M=t.type===t.elementType?v:Ct(t.type,v),h.props=M,N=t.pendingProps,L=h.context,x=r.contextType,typeof x=="object"&&x!==null?x=mt(x):(x=nt(r)?kn:Qe.current,x=Jn(t,x));var W=r.getDerivedStateFromProps;(_=typeof W=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(v!==N||L!==x)&&Tf(t,h,o,x),on=!1,L=t.memoizedState,h.state=L,ns(t,o,h,a);var G=t.memoizedState;v!==N||L!==G||tt.current||on?(typeof W=="function"&&(Sl(t,r,W,o),G=t.memoizedState),(M=on||Sf(t,r,M,o,L,G,x)||!1)?(_||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(o,G,x),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(o,G,x)),typeof h.componentDidUpdate=="function"&&(t.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof h.componentDidUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=G),h.props=o,h.state=G,h.context=x,o=M):(typeof h.componentDidUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),o=!1)}return Pl(e,t,r,o,c,a)}function Pl(e,t,r,o,a,c){Lf(e,t);var h=(t.flags&128)!==0;if(!o&&!h)return a&&Oc(t,r,!1),Gt(e,t,c);o=t.stateNode,by.current=t;var v=h&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&h?(t.child=nr(t,e.child,null,c),t.child=nr(t,null,v,c)):qe(e,t,v,c),t.memoizedState=o.state,a&&Oc(t,r,!0),t.child}function Nf(e){var t=e.stateNode;t.pendingContext?Ic(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ic(e,t.context,!1),al(e,t.containerInfo)}function If(e,t,r,o,a){return tr(),tl(a),t.flags|=256,qe(e,t,r,o),t.child}var El={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ff(e,t,r){var o=t.pendingProps,a=Me.current,c=!1,h=(t.flags&128)!==0,v;if((v=h)||(v=e!==null&&e.memoizedState===null?!1:(a&2)!==0),v?(c=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),ve(Me,a&1),e===null)return el(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(h=o.children,e=o.fallback,c?(o=t.mode,c=t.child,h={mode:"hidden",children:h},(o&1)===0&&c!==null?(c.childLanes=0,c.pendingProps=h):c=ks(h,o,0,null),e=_n(e,o,r,null),c.return=t,e.return=t,c.sibling=e,t.child=c,t.child.memoizedState=Ml(r),t.memoizedState=El,e):Rl(t,h));if(a=e.memoizedState,a!==null&&(v=a.dehydrated,v!==null))return eg(e,t,h,o,v,a,r);if(c){c=o.fallback,h=t.mode,a=e.child,v=a.sibling;var x={mode:"hidden",children:o.children};return(h&1)===0&&t.child!==a?(o=t.child,o.childLanes=0,o.pendingProps=x,t.deletions=null):(o=hn(a,x),o.subtreeFlags=a.subtreeFlags&14680064),v!==null?c=hn(v,c):(c=_n(c,h,r,null),c.flags|=2),c.return=t,o.return=t,o.sibling=c,t.child=o,o=c,c=t.child,h=e.child.memoizedState,h=h===null?Ml(r):{baseLanes:h.baseLanes|r,cachePool:null,transitions:h.transitions},c.memoizedState=h,c.childLanes=e.childLanes&~r,t.memoizedState=El,o}return c=e.child,e=c.sibling,o=hn(c,{mode:"visible",children:o.children}),(t.mode&1)===0&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Rl(e,t){return t=ks({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function cs(e,t,r,o){return o!==null&&tl(o),nr(t,e.child,null,r),e=Rl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function eg(e,t,r,o,a,c,h){if(r)return t.flags&256?(t.flags&=-257,o=Tl(Error(s(422))),cs(e,t,h,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(c=o.fallback,a=t.mode,o=ks({mode:"visible",children:o.children},a,0,null),c=_n(c,a,h,null),c.flags|=2,o.return=t,c.return=t,o.sibling=c,t.child=o,(t.mode&1)!==0&&nr(t,e.child,null,h),t.child.memoizedState=Ml(h),t.memoizedState=El,c);if((t.mode&1)===0)return cs(e,t,h,null);if(a.data==="$!"){if(o=a.nextSibling&&a.nextSibling.dataset,o)var v=o.dgst;return o=v,c=Error(s(419)),o=Tl(c,o,void 0),cs(e,t,h,o)}if(v=(h&e.childLanes)!==0,rt||v){if(o=Ue,o!==null){switch(h&-h){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(o.suspendedLanes|h))!==0?0:a,a!==0&&a!==c.retryLane&&(c.retryLane=a,$t(e,a),Mt(o,e,a,-1))}return $l(),o=Tl(Error(s(421))),cs(e,t,h,o)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=hg.bind(null,e),a._reactRetry=t,null):(e=c.treeContext,ct=tn(a.nextSibling),ut=t,Ce=!0,kt=null,e!==null&&(ht[pt++]=Wt,ht[pt++]=Ht,ht[pt++]=Cn,Wt=e.id,Ht=e.overflow,Cn=t),t=Rl(t,o.children),t.flags|=4096,t)}function Of(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),sl(e.return,t,r)}function Dl(e,t,r,o,a){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:a}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=o,c.tail=r,c.tailMode=a)}function zf(e,t,r){var o=t.pendingProps,a=o.revealOrder,c=o.tail;if(qe(e,t,o.children,r),o=Me.current,(o&2)!==0)o=o&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Of(e,r,t);else if(e.tag===19)Of(e,r,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}o&=1}if(ve(Me,o),(t.mode&1)===0)t.memoizedState=null;else switch(a){case"forwards":for(r=t.child,a=null;r!==null;)e=r.alternate,e!==null&&rs(e)===null&&(a=r),r=r.sibling;r=a,r===null?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),Dl(t,!1,a,r,c);break;case"backwards":for(r=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&rs(e)===null){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}Dl(t,!0,r,null,c);break;case"together":Dl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fs(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gt(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Dn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,r=hn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=hn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function tg(e,t,r){switch(t.tag){case 3:Nf(t),tr();break;case 5:qc(t);break;case 1:nt(t.type)&&Qi(t);break;case 4:al(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,a=t.memoizedProps.value;ve(bi,o._currentValue),o._currentValue=a;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(ve(Me,Me.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?Ff(e,t,r):(ve(Me,Me.current&1),e=Gt(e,t,r),e!==null?e.sibling:null);ve(Me,Me.current&1);break;case 19:if(o=(r&t.childLanes)!==0,(e.flags&128)!==0){if(o)return zf(e,t,r);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ve(Me,Me.current),o)break;return null;case 22:case 23:return t.lanes=0,Vf(e,t,r)}return Gt(e,t,r)}var jf,Al,Bf,Uf;jf=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Al=function(){},Bf=function(e,t,r,o){var a=e.memoizedProps;if(a!==o){e=t.stateNode,Mn(_t.current);var c=null;switch(r){case"input":a=io(e,a),o=io(e,o),c=[];break;case"select":a=U({},a,{value:void 0}),o=U({},o,{value:void 0}),c=[];break;case"textarea":a=lo(e,a),o=lo(e,o),c=[];break;default:typeof a.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=$i)}uo(r,o);var h;r=null;for(M in a)if(!o.hasOwnProperty(M)&&a.hasOwnProperty(M)&&a[M]!=null)if(M==="style"){var v=a[M];for(h in v)v.hasOwnProperty(h)&&(r||(r={}),r[h]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(u.hasOwnProperty(M)?c||(c=[]):(c=c||[]).push(M,null));for(M in o){var x=o[M];if(v=a!=null?a[M]:void 0,o.hasOwnProperty(M)&&x!==v&&(x!=null||v!=null))if(M==="style")if(v){for(h in v)!v.hasOwnProperty(h)||x&&x.hasOwnProperty(h)||(r||(r={}),r[h]="");for(h in x)x.hasOwnProperty(h)&&v[h]!==x[h]&&(r||(r={}),r[h]=x[h])}else r||(c||(c=[]),c.push(M,r)),r=x;else M==="dangerouslySetInnerHTML"?(x=x?x.__html:void 0,v=v?v.__html:void 0,x!=null&&v!==x&&(c=c||[]).push(M,x)):M==="children"?typeof x!="string"&&typeof x!="number"||(c=c||[]).push(M,""+x):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(u.hasOwnProperty(M)?(x!=null&&M==="onScroll"&&Se("scroll",e),c||v===x||(c=[])):(c=c||[]).push(M,x))}r&&(c=c||[]).push("style",r);var M=c;(t.updateQueue=M)&&(t.flags|=4)}},Uf=function(e,t,r,o){r!==o&&(t.flags|=4)};function br(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var a=e.child;a!==null;)r|=a.lanes|a.childLanes,o|=a.subtreeFlags&14680064,o|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)r|=a.lanes|a.childLanes,o|=a.subtreeFlags,o|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function ng(e,t,r){var o=t.pendingProps;switch(Jo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return nt(t.type)&&Gi(),Xe(t),null;case 3:return o=t.stateNode,sr(),xe(tt),xe(Qe),fl(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(qi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,kt!==null&&(Ul(kt),kt=null))),Al(e,t),Xe(t),null;case 5:ul(t);var a=Mn(Yr.current);if(r=t.type,e!==null&&t.stateNode!=null)Bf(e,t,r,o,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(s(166));return Xe(t),null}if(e=Mn(_t.current),qi(t)){o=t.stateNode,r=t.type;var c=t.memoizedProps;switch(o[Lt]=t,o[Hr]=c,e=(t.mode&1)!==0,r){case"dialog":Se("cancel",o),Se("close",o);break;case"iframe":case"object":case"embed":Se("load",o);break;case"video":case"audio":for(a=0;a<Br.length;a++)Se(Br[a],o);break;case"source":Se("error",o);break;case"img":case"image":case"link":Se("error",o),Se("load",o);break;case"details":Se("toggle",o);break;case"input":Su(o,c),Se("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!c.multiple},Se("invalid",o);break;case"textarea":ku(o,c),Se("invalid",o)}uo(r,c),a=null;for(var h in c)if(c.hasOwnProperty(h)){var v=c[h];h==="children"?typeof v=="string"?o.textContent!==v&&(c.suppressHydrationWarning!==!0&&Hi(o.textContent,v,e),a=["children",v]):typeof v=="number"&&o.textContent!==""+v&&(c.suppressHydrationWarning!==!0&&Hi(o.textContent,v,e),a=["children",""+v]):u.hasOwnProperty(h)&&v!=null&&h==="onScroll"&&Se("scroll",o)}switch(r){case"input":Si(o),Tu(o,c,!0);break;case"textarea":Si(o),Pu(o);break;case"select":case"option":break;default:typeof c.onClick=="function"&&(o.onclick=$i)}o=a,t.updateQueue=o,o!==null&&(t.flags|=4)}else{h=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Eu(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=h.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=h.createElement(r,{is:o.is}):(e=h.createElement(r),r==="select"&&(h=e,o.multiple?h.multiple=!0:o.size&&(h.size=o.size))):e=h.createElementNS(e,r),e[Lt]=t,e[Hr]=o,jf(e,t,!1,!1),t.stateNode=e;e:{switch(h=co(r,o),r){case"dialog":Se("cancel",e),Se("close",e),a=o;break;case"iframe":case"object":case"embed":Se("load",e),a=o;break;case"video":case"audio":for(a=0;a<Br.length;a++)Se(Br[a],e);a=o;break;case"source":Se("error",e),a=o;break;case"img":case"image":case"link":Se("error",e),Se("load",e),a=o;break;case"details":Se("toggle",e),a=o;break;case"input":Su(e,o),a=io(e,o),Se("invalid",e);break;case"option":a=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},a=U({},o,{value:void 0}),Se("invalid",e);break;case"textarea":ku(e,o),a=lo(e,o),Se("invalid",e);break;default:a=o}uo(r,a),v=a;for(c in v)if(v.hasOwnProperty(c)){var x=v[c];c==="style"?Du(e,x):c==="dangerouslySetInnerHTML"?(x=x?x.__html:void 0,x!=null&&Mu(e,x)):c==="children"?typeof x=="string"?(r!=="textarea"||x!=="")&&xr(e,x):typeof x=="number"&&xr(e,""+x):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(u.hasOwnProperty(c)?x!=null&&c==="onScroll"&&Se("scroll",e):x!=null&&z(e,c,x,h))}switch(r){case"input":Si(e),Tu(e,o,!1);break;case"textarea":Si(e),Pu(e);break;case"option":o.value!=null&&e.setAttribute("value",""+he(o.value));break;case"select":e.multiple=!!o.multiple,c=o.value,c!=null?Bn(e,!!o.multiple,c,!1):o.defaultValue!=null&&Bn(e,!!o.multiple,o.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=$i)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Xe(t),null;case 6:if(e&&t.stateNode!=null)Uf(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(s(166));if(r=Mn(Yr.current),Mn(_t.current),qi(t)){if(o=t.stateNode,r=t.memoizedProps,o[Lt]=t,(c=o.nodeValue!==r)&&(e=ut,e!==null))switch(e.tag){case 3:Hi(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Hi(o.nodeValue,r,(e.mode&1)!==0)}c&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[Lt]=t,t.stateNode=o}return Xe(t),null;case 13:if(xe(Me),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ce&&ct!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Hc(),tr(),t.flags|=98560,c=!1;else if(c=qi(t),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(s(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(s(317));c[Lt]=t}else tr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),c=!1}else kt!==null&&(Ul(kt),kt=null),c=!0;if(!c)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Me.current&1)!==0?ze===0&&(ze=3):$l())),t.updateQueue!==null&&(t.flags|=4),Xe(t),null);case 4:return sr(),Al(e,t),e===null&&Ur(t.stateNode.containerInfo),Xe(t),null;case 10:return il(t.type._context),Xe(t),null;case 17:return nt(t.type)&&Gi(),Xe(t),null;case 19:if(xe(Me),c=t.memoizedState,c===null)return Xe(t),null;if(o=(t.flags&128)!==0,h=c.rendering,h===null)if(o)br(c,!1);else{if(ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(h=rs(e),h!==null){for(t.flags|=128,br(c,!1),o=h.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)c=r,e=o,c.flags&=14680066,h=c.alternate,h===null?(c.childLanes=0,c.lanes=e,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=h.childLanes,c.lanes=h.lanes,c.child=h.child,c.subtreeFlags=0,c.deleti
vendor: 21,270 bytes, line 40
40ons=null,c.memoizedProps=h.memoizedProps,c.memoizedState=h.memoizedState,c.updateQueue=h.updateQueue,c.type=h.type,e=h.dependencies,c.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ve(Me,Me.current&1|2),t.child}e=e.sibling}c.tail!==null&&Le()>ur&&(t.flags|=128,o=!0,br(c,!1),t.lanes=4194304)}else{if(!o)if(e=rs(h),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),br(c,!0),c.tail===null&&c.tailMode==="hidden"&&!h.alternate&&!Ce)return Xe(t),null}else 2*Le()-c.renderingStartTime>ur&&r!==1073741824&&(t.flags|=128,o=!0,br(c,!1),t.lanes=4194304);c.isBackwards?(h.sibling=t.child,t.child=h):(r=c.last,r!==null?r.sibling=h:t.child=h,c.last=h)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=Le(),t.sibling=null,r=Me.current,ve(Me,o?r&1|2:r&1),t):(Xe(t),null);case 22:case 23:return Hl(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&(t.mode&1)!==0?(ft&1073741824)!==0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function rg(e,t){switch(Jo(t),t.tag){case 1:return nt(t.type)&&Gi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sr(),xe(tt),xe(Qe),fl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ul(t),null;case 13:if(xe(Me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(Me),null;case 4:return sr(),null;case 10:return il(t.type._context),null;case 22:case 23:return Hl(),null;case 24:return null;default:return null}}var ds=!1,Ze=!1,ig=typeof WeakSet=="function"?WeakSet:Set,K=null;function lr(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){Ae(e,t,o)}else r.current=null}function Vl(e,t,r){try{r()}catch(o){Ae(e,t,o)}}var Wf=!1;function sg(e,t){if(Ho=Li,e=wc(),Io(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var a=o.anchorOffset,c=o.focusNode;o=o.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var h=0,v=-1,x=-1,M=0,_=0,N=e,L=null;t:for(;;){for(var W;N!==r||a!==0&&N.nodeType!==3||(v=h+a),N!==c||o!==0&&N.nodeType!==3||(x=h+o),N.nodeType===3&&(h+=N.nodeValue.length),(W=N.firstChild)!==null;)L=N,N=W;for(;;){if(N===e)break t;if(L===r&&++M===a&&(v=h),L===c&&++_===o&&(x=h),(W=N.nextSibling)!==null)break;N=L,L=N.parentNode}N=W}r=v===-1||x===-1?null:{start:v,end:x}}else r=null}r=r||{start:0,end:0}}else r=null;for($o={focusedElem:e,selectionRange:r},Li=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var G=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(G!==null){var X=G.memoizedProps,_e=G.memoizedState,P=t.stateNode,T=P.getSnapshotBeforeUpdate(t.elementType===t.type?X:Ct(t.type,X),_e);P.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(O){Ae(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return G=Wf,Wf=!1,G}function ei(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var a=o=o.next;do{if((a.tag&e)===e){var c=a.destroy;a.destroy=void 0,c!==void 0&&Vl(t,r,c)}a=a.next}while(a!==o)}}function hs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function Ll(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Hf(e){var t=e.alternate;t!==null&&(e.alternate=null,Hf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lt],delete t[Hr],delete t[Yo],delete t[Uy],delete t[Wy])),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 $f(e){return e.tag===5||e.tag===3||e.tag===4}function Kf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$f(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 _l(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=$i));else if(o!==4&&(e=e.child,e!==null))for(_l(e,t,r),e=e.sibling;e!==null;)_l(e,t,r),e=e.sibling}function Nl(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Nl(e,t,r),e=e.sibling;e!==null;)Nl(e,t,r),e=e.sibling}var He=null,Pt=!1;function an(e,t,r){for(r=r.child;r!==null;)Gf(e,t,r),r=r.sibling}function Gf(e,t,r){if(Vt&&typeof Vt.onCommitFiberUnmount=="function")try{Vt.onCommitFiberUnmount(Ei,r)}catch{}switch(r.tag){case 5:Ze||lr(r,t);case 6:var o=He,a=Pt;He=null,an(e,t,r),He=o,Pt=a,He!==null&&(Pt?(e=He,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):He.removeChild(r.stateNode));break;case 18:He!==null&&(Pt?(e=He,r=r.stateNode,e.nodeType===8?Qo(e.parentNode,r):e.nodeType===1&&Qo(e,r),Lr(e)):Qo(He,r.stateNode));break;case 4:o=He,a=Pt,He=r.stateNode.containerInfo,Pt=!0,an(e,t,r),He=o,Pt=a;break;case 0:case 11:case 14:case 15:if(!Ze&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){a=o=o.next;do{var c=a,h=c.destroy;c=c.tag,h!==void 0&&((c&2)!==0||(c&4)!==0)&&Vl(r,t,h),a=a.next}while(a!==o)}an(e,t,r);break;case 1:if(!Ze&&(lr(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(v){Ae(r,t,v)}an(e,t,r);break;case 21:an(e,t,r);break;case 22:r.mode&1?(Ze=(o=Ze)||r.memoizedState!==null,an(e,t,r),Ze=o):an(e,t,r);break;default:an(e,t,r)}}function Qf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new ig),t.forEach(function(o){var a=pg.bind(null,e,o);r.has(o)||(r.add(o),o.then(a,a))})}}function Et(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var a=r[o];try{var c=e,h=t,v=h;e:for(;v!==null;){switch(v.tag){case 5:He=v.stateNode,Pt=!1;break e;case 3:He=v.stateNode.containerInfo,Pt=!0;break e;case 4:He=v.stateNode.containerInfo,Pt=!0;break e}v=v.return}if(He===null)throw Error(s(160));Gf(c,h,a),He=null,Pt=!1;var x=a.alternate;x!==null&&(x.return=null),a.return=null}catch(M){Ae(a,t,M)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Yf(t,e),t=t.sibling}function Yf(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),It(e),o&4){try{ei(3,e,e.return),hs(3,e)}catch(X){Ae(e,e.return,X)}try{ei(5,e,e.return)}catch(X){Ae(e,e.return,X)}}break;case 1:Et(t,e),It(e),o&512&&r!==null&&lr(r,r.return);break;case 5:if(Et(t,e),It(e),o&512&&r!==null&&lr(r,r.return),e.flags&32){var a=e.stateNode;try{xr(a,"")}catch(X){Ae(e,e.return,X)}}if(o&4&&(a=e.stateNode,a!=null)){var c=e.memoizedProps,h=r!==null?r.memoizedProps:c,v=e.type,x=e.updateQueue;if(e.updateQueue=null,x!==null)try{v==="input"&&c.type==="radio"&&c.name!=null&&xu(a,c),co(v,h);var M=co(v,c);for(h=0;h<x.length;h+=2){var _=x[h],N=x[h+1];_==="style"?Du(a,N):_==="dangerouslySetInnerHTML"?Mu(a,N):_==="children"?xr(a,N):z(a,_,N,M)}switch(v){case"input":so(a,c);break;case"textarea":Cu(a,c);break;case"select":var L=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!c.multiple;var W=c.value;W!=null?Bn(a,!!c.multiple,W,!1):L!==!!c.multiple&&(c.defaultValue!=null?Bn(a,!!c.multiple,c.defaultValue,!0):Bn(a,!!c.multiple,c.multiple?[]:"",!1))}a[Hr]=c}catch(X){Ae(e,e.return,X)}}break;case 6:if(Et(t,e),It(e),o&4){if(e.stateNode===null)throw Error(s(162));a=e.stateNode,c=e.memoizedProps;try{a.nodeValue=c}catch(X){Ae(e,e.return,X)}}break;case 3:if(Et(t,e),It(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Lr(t.containerInfo)}catch(X){Ae(e,e.return,X)}break;case 4:Et(t,e),It(e);break;case 13:Et(t,e),It(e),a=e.child,a.flags&8192&&(c=a.memoizedState!==null,a.stateNode.isHidden=c,!c||a.alternate!==null&&a.alternate.memoizedState!==null||(Ol=Le())),o&4&&Qf(e);break;case 22:if(_=r!==null&&r.memoizedState!==null,e.mode&1?(Ze=(M=Ze)||_,Et(t,e),Ze=M):Et(t,e),It(e),o&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!_&&(e.mode&1)!==0)for(K=e,_=e.child;_!==null;){for(N=K=_;K!==null;){switch(L=K,W=L.child,L.tag){case 0:case 11:case 14:case 15:ei(4,L,L.return);break;case 1:lr(L,L.return);var G=L.stateNode;if(typeof G.componentWillUnmount=="function"){o=L,r=L.return;try{t=o,G.props=t.memoizedProps,G.state=t.memoizedState,G.componentWillUnmount()}catch(X){Ae(o,r,X)}}break;case 5:lr(L,L.return);break;case 22:if(L.memoizedState!==null){qf(N);continue}}W!==null?(W.return=L,K=W):qf(N)}_=_.sibling}e:for(_=null,N=e;;){if(N.tag===5){if(_===null){_=N;try{a=N.stateNode,M?(c=a.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none"):(v=N.stateNode,x=N.memoizedProps.style,h=x!=null&&x.hasOwnProperty("display")?x.display:null,v.style.display=Ru("display",h))}catch(X){Ae(e,e.return,X)}}}else if(N.tag===6){if(_===null)try{N.stateNode.nodeValue=M?"":N.memoizedProps}catch(X){Ae(e,e.return,X)}}else if((N.tag!==22&&N.tag!==23||N.memoizedState===null||N===e)&&N.child!==null){N.child.return=N,N=N.child;continue}if(N===e)break e;for(;N.sibling===null;){if(N.return===null||N.return===e)break e;_===N&&(_=null),N=N.return}_===N&&(_=null),N.sibling.return=N.return,N=N.sibling}}break;case 19:Et(t,e),It(e),o&4&&Qf(e);break;case 21:break;default:Et(t,e),It(e)}}function It(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if($f(r)){var o=r;break e}r=r.return}throw Error(s(160))}switch(o.tag){case 5:var a=o.stateNode;o.flags&32&&(xr(a,""),o.flags&=-33);var c=Kf(e);Nl(e,c,a);break;case 3:case 4:var h=o.stateNode.containerInfo,v=Kf(e);_l(e,v,h);break;default:throw Error(s(161))}}catch(x){Ae(e,e.return,x)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function og(e,t,r){K=e,Xf(e)}function Xf(e,t,r){for(var o=(e.mode&1)!==0;K!==null;){var a=K,c=a.child;if(a.tag===22&&o){var h=a.memoizedState!==null||ds;if(!h){var v=a.alternate,x=v!==null&&v.memoizedState!==null||Ze;v=ds;var M=Ze;if(ds=h,(Ze=x)&&!M)for(K=a;K!==null;)h=K,x=h.child,h.tag===22&&h.memoizedState!==null?Jf(a):x!==null?(x.return=h,K=x):Jf(a);for(;c!==null;)K=c,Xf(c),c=c.sibling;K=a,ds=v,Ze=M}Zf(e)}else(a.subtreeFlags&8772)!==0&&c!==null?(c.return=a,K=c):Zf(e)}}function Zf(e){for(;K!==null;){var t=K;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Ze||hs(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!Ze)if(r===null)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:Ct(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var c=t.updateQueue;c!==null&&Zc(t,c,o);break;case 3:var h=t.updateQueue;if(h!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}Zc(t,h,r)}break;case 5:var v=t.stateNode;if(r===null&&t.flags&4){r=v;var x=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":x.autoFocus&&r.focus();break;case"img":x.src&&(r.src=x.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var M=t.alternate;if(M!==null){var _=M.memoizedState;if(_!==null){var N=_.dehydrated;N!==null&&Lr(N)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Ze||t.flags&512&&Ll(t)}catch(L){Ae(t,t.return,L)}}if(t===e){K=null;break}if(r=t.sibling,r!==null){r.return=t.return,K=r;break}K=t.return}}function qf(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var r=t.sibling;if(r!==null){r.return=t.return,K=r;break}K=t.return}}function Jf(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{hs(4,t)}catch(x){Ae(t,r,x)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var a=t.return;try{o.componentDidMount()}catch(x){Ae(t,a,x)}}var c=t.return;try{Ll(t)}catch(x){Ae(t,c,x)}break;case 5:var h=t.return;try{Ll(t)}catch(x){Ae(t,h,x)}}}catch(x){Ae(t,t.return,x)}if(t===e){K=null;break}var v=t.sibling;if(v!==null){v.return=t.return,K=v;break}K=t.return}}var lg=Math.ceil,ps=j.ReactCurrentDispatcher,Il=j.ReactCurrentOwner,gt=j.ReactCurrentBatchConfig,ae=0,Ue=null,Ie=null,$e=0,ft=0,ar=nn(0),ze=0,ti=null,Dn=0,ms=0,Fl=0,ni=null,it=null,Ol=0,ur=1/0,Qt=null,ys=!1,zl=null,un=null,gs=!1,cn=null,vs=0,ri=0,jl=null,ws=-1,Ss=0;function Je(){return(ae&6)!==0?Le():ws!==-1?ws:ws=Le()}function fn(e){return(e.mode&1)===0?1:(ae&2)!==0&&$e!==0?$e&-$e:$y.transition!==null?(Ss===0&&(Ss=$u()),Ss):(e=pe,e!==0||(e=window.event,e=e===void 0?16:bu(e.type)),e)}function Mt(e,t,r,o){if(50<ri)throw ri=0,jl=null,Error(s(185));Mr(e,r,o),((ae&2)===0||e!==Ue)&&(e===Ue&&((ae&2)===0&&(ms|=r),ze===4&&dn(e,$e)),st(e,o),r===1&&ae===0&&(t.mode&1)===0&&(ur=Le()+500,Yi&&sn()))}function st(e,t){var r=e.callbackNode;$m(e,t);var o=Di(e,e===Ue?$e:0);if(o===0)r!==null&&Uu(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&Uu(r),t===1)e.tag===0?Hy(ed.bind(null,e)):zc(ed.bind(null,e)),jy(function(){(ae&6)===0&&sn()}),r=null;else{switch(Ku(o)){case 1:r=vo;break;case 4:r=Wu;break;case 16:r=Pi;break;case 536870912:r=Hu;break;default:r=Pi}r=ad(r,bf.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function bf(e,t){if(ws=-1,Ss=0,(ae&6)!==0)throw Error(s(327));var r=e.callbackNode;if(cr()&&e.callbackNode!==r)return null;var o=Di(e,e===Ue?$e:0);if(o===0)return null;if((o&30)!==0||(o&e.expiredLanes)!==0||t)t=xs(e,o);else{t=o;var a=ae;ae|=2;var c=nd();(Ue!==e||$e!==t)&&(Qt=null,ur=Le()+500,Vn(e,t));do try{cg();break}catch(v){td(e,v)}while(!0);rl(),ps.current=c,ae=a,Ie!==null?t=0:(Ue=null,$e=0,t=ze)}if(t!==0){if(t===2&&(a=wo(e),a!==0&&(o=a,t=Bl(e,a))),t===1)throw r=ti,Vn(e,0),dn(e,o),st(e,Le()),r;if(t===6)dn(e,o);else{if(a=e.current.alternate,(o&30)===0&&!ag(a)&&(t=xs(e,o),t===2&&(c=wo(e),c!==0&&(o=c,t=Bl(e,c))),t===1))throw r=ti,Vn(e,0),dn(e,o),st(e,Le()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(s(345));case 2:Ln(e,it,Qt);break;case 3:if(dn(e,o),(o&130023424)===o&&(t=Ol+500-Le(),10<t)){if(Di(e,0)!==0)break;if(a=e.suspendedLanes,(a&o)!==o){Je(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Go(Ln.bind(null,e,it,Qt),t);break}Ln(e,it,Qt);break;case 4:if(dn(e,o),(o&4194240)===o)break;for(t=e.eventTimes,a=-1;0<o;){var h=31-xt(o);c=1<<h,h=t[h],h>a&&(a=h),o&=~c}if(o=a,o=Le()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*lg(o/1960))-o,10<o){e.timeoutHandle=Go(Ln.bind(null,e,it,Qt),o);break}Ln(e,it,Qt);break;case 5:Ln(e,it,Qt);break;default:throw Error(s(329))}}}return st(e,Le()),e.callbackNode===r?bf.bind(null,e):null}function Bl(e,t){var r=ni;return e.current.memoizedState.isDehydrated&&(Vn(e,t).flags|=256),e=xs(e,t),e!==2&&(t=it,it=r,t!==null&&Ul(t)),e}function Ul(e){it===null?it=e:it.push.apply(it,e)}function ag(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var a=r[o],c=a.getSnapshot;a=a.value;try{if(!Tt(c(),a))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 dn(e,t){for(t&=~Fl,t&=~ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-xt(t),o=1<<r;e[r]=-1,t&=~o}}function ed(e){if((ae&6)!==0)throw Error(s(327));cr();var t=Di(e,0);if((t&1)===0)return st(e,Le()),null;var r=xs(e,t);if(e.tag!==0&&r===2){var o=wo(e);o!==0&&(t=o,r=Bl(e,o))}if(r===1)throw r=ti,Vn(e,0),dn(e,t),st(e,Le()),r;if(r===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ln(e,it,Qt),st(e,Le()),null}function Wl(e,t){var r=ae;ae|=1;try{return e(t)}finally{ae=r,ae===0&&(ur=Le()+500,Yi&&sn())}}function An(e){cn!==null&&cn.tag===0&&(ae&6)===0&&cr();var t=ae;ae|=1;var r=gt.transition,o=pe;try{if(gt.transition=null,pe=1,e)return e()}finally{pe=o,gt.transition=r,ae=t,(ae&6)===0&&sn()}}function Hl(){ft=ar.current,xe(ar)}function Vn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,zy(r)),Ie!==null)for(r=Ie.return;r!==null;){var o=r;switch(Jo(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Gi();break;case 3:sr(),xe(tt),xe(Qe),fl();break;case 5:ul(o);break;case 4:sr();break;case 13:xe(Me);break;case 19:xe(Me);break;case 10:il(o.type._context);break;case 22:case 23:Hl()}r=r.return}if(Ue=e,Ie=e=hn(e.current,null),$e=ft=t,ze=0,ti=null,Fl=ms=Dn=0,it=ni=null,En!==null){for(t=0;t<En.length;t++)if(r=En[t],o=r.interleaved,o!==null){r.interleaved=null;var a=o.next,c=r.pending;if(c!==null){var h=c.next;c.next=a,o.next=h}r.pending=o}En=null}return e}function td(e,t){do{var r=Ie;try{if(rl(),is.current=as,ss){for(var o=Re.memoizedState;o!==null;){var a=o.queue;a!==null&&(a.pending=null),o=o.next}ss=!1}if(Rn=0,Be=Oe=Re=null,Xr=!1,Zr=0,Il.current=null,r===null||r.return===null){ze=1,ti=t,Ie=null;break}e:{var c=e,h=r.return,v=r,x=t;if(t=$e,v.flags|=32768,x!==null&&typeof x=="object"&&typeof x.then=="function"){var M=x,_=v,N=_.tag;if((_.mode&1)===0&&(N===0||N===11||N===15)){var L=_.alternate;L?(_.updateQueue=L.updateQueue,_.memoizedState=L.memoizedState,_.lanes=L.lanes):(_.updateQueue=null,_.memoizedState=null)}var W=Ef(h);if(W!==null){W.flags&=-257,Mf(W,h,v,c,t),W.mode&1&&Pf(c,M,t),t=W,x=M;var G=t.updateQueue;if(G===null){var X=new Set;X.add(x),t.updateQueue=X}else G.add(x);break e}else{if((t&1)===0){Pf(c,M,t),$l();break e}x=Error(s(426))}}else if(Ce&&v.mode&1){var _e=Ef(h);if(_e!==null){(_e.flags&65536)===0&&(_e.flags|=256),Mf(_e,h,v,c,t),tl(or(x,v));break e}}c=x=or(x,v),ze!==4&&(ze=2),ni===null?ni=[c]:ni.push(c),c=h;do{switch(c.tag){case 3:c.flags|=65536,t&=-t,c.lanes|=t;var P=kf(c,x,t);Xc(c,P);break e;case 1:v=x;var T=c.type,E=c.stateNode;if((c.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(un===null||!un.has(E)))){c.flags|=65536,t&=-t,c.lanes|=t;var O=Cf(c,v,t);Xc(c,O);break e}}c=c.return}while(c!==null)}id(r)}catch(q){t=q,Ie===r&&r!==null&&(Ie=r=r.return);continue}break}while(!0)}function nd(){var e=ps.current;return ps.current=as,e===null?as:e}function $l(){(ze===0||ze===3||ze===2)&&(ze=4),Ue===null||(Dn&268435455)===0&&(ms&268435455)===0||dn(Ue,$e)}function xs(e,t){var r=ae;ae|=2;var o=nd();(Ue!==e||$e!==t)&&(Qt=null,Vn(e,t));do try{ug();break}catch(a){td(e,a)}while(!0);if(rl(),ae=r,ps.current=o,Ie!==null)throw Error(s(261));return Ue=null,$e=0,ze}function ug(){for(;Ie!==null;)rd(Ie)}function cg(){for(;Ie!==null&&!Im();)rd(Ie)}function rd(e){var t=ld(e.alternate,e,ft);e.memoizedProps=e.pendingProps,t===null?id(e):Ie=t,Il.current=null}function id(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=ng(r,t,ft),r!==null){Ie=r;return}}else{if(r=rg(r,t),r!==null){r.flags&=32767,Ie=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ze=6,Ie=null;return}}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);ze===0&&(ze=5)}function Ln(e,t,r){var o=pe,a=gt.transition;try{gt.transition=null,pe=1,fg(e,t,r,o)}finally{gt.transition=a,pe=o}return null}function fg(e,t,r,o){do cr();while(cn!==null);if((ae&6)!==0)throw Error(s(327));r=e.finishedWork;var a=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var c=r.lanes|r.childLanes;if(Km(e,c),e===Ue&&(Ie=Ue=null,$e=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||gs||(gs=!0,ad(Pi,function(){return cr(),null})),c=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||c){c=gt.transition,gt.transition=null;var h=pe;pe=1;var v=ae;ae|=4,Il.current=null,sg(e,r),Yf(r,e),Vy($o),Li=!!Ho,$o=Ho=null,e.current=r,og(r),Fm(),ae=v,pe=h,gt.transition=c}else e.current=r;if(gs&&(gs=!1,cn=e,vs=a),c=e.pendingLanes,c===0&&(un=null),jm(r.stateNode),st(e,Le()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if(ys)throw ys=!1,e=zl,zl=null,e;return(vs&1)!==0&&e.tag!==0&&cr(),c=e.pendingLanes,(c&1)!==0?e===jl?ri++:(ri=0,jl=e):ri=0,sn(),null}function cr(){if(cn!==null){var e=Ku(vs),t=gt.transition,r=pe;try{if(gt.transition=null,pe=16>e?16:e,cn===null)var o=!1;else{if(e=cn,cn=null,vs=0,(ae&6)!==0)throw Error(s(331));var a=ae;for(ae|=4,K=e.current;K!==null;){var c=K,h=c.child;if((K.flags&16)!==0){var v=c.deletions;if(v!==null){for(var x=0;x<v.length;x++){var M=v[x];for(K=M;K!==null;){var _=K;
vendor: 4,730 bytes, line 40
40switch(_.tag){case 0:case 11:case 15:ei(8,_,c)}var N=_.child;if(N!==null)N.return=_,K=N;else for(;K!==null;){_=K;var L=_.sibling,W=_.return;if(Hf(_),_===M){K=null;break}if(L!==null){L.return=W,K=L;break}K=W}}}var G=c.alternate;if(G!==null){var X=G.child;if(X!==null){G.child=null;do{var _e=X.sibling;X.sibling=null,X=_e}while(X!==null)}}K=c}}if((c.subtreeFlags&2064)!==0&&h!==null)h.return=c,K=h;else e:for(;K!==null;){if(c=K,(c.flags&2048)!==0)switch(c.tag){case 0:case 11:case 15:ei(9,c,c.return)}var P=c.sibling;if(P!==null){P.return=c.return,K=P;break e}K=c.return}}var T=e.current;for(K=T;K!==null;){h=K;var E=h.child;if((h.subtreeFlags&2064)!==0&&E!==null)E.return=h,K=E;else e:for(h=T;K!==null;){if(v=K,(v.flags&2048)!==0)try{switch(v.tag){case 0:case 11:case 15:hs(9,v)}}catch(q){Ae(v,v.return,q)}if(v===h){K=null;break e}var O=v.sibling;if(O!==null){O.return=v.return,K=O;break e}K=v.return}}if(ae=a,sn(),Vt&&typeof Vt.onPostCommitFiberRoot=="function")try{Vt.onPostCommitFiberRoot(Ei,e)}catch{}o=!0}return o}finally{pe=r,gt.transition=t}}return!1}function sd(e,t,r){t=or(r,t),t=kf(e,t,1),e=ln(e,t,1),t=Je(),e!==null&&(Mr(e,1,t),st(e,t))}function Ae(e,t,r){if(e.tag===3)sd(e,e,r);else for(;t!==null;){if(t.tag===3){sd(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(un===null||!un.has(o))){e=or(r,e),e=Cf(t,e,1),t=ln(t,e,1),e=Je(),t!==null&&(Mr(t,1,e),st(t,e));break}}t=t.return}}function dg(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Je(),e.pingedLanes|=e.suspendedLanes&r,Ue===e&&($e&r)===r&&(ze===4||ze===3&&($e&130023424)===$e&&500>Le()-Ol?Vn(e,0):Fl|=r),st(e,t)}function od(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ri,Ri<<=1,(Ri&130023424)===0&&(Ri=4194304)));var r=Je();e=$t(e,t),e!==null&&(Mr(e,t,r),st(e,r))}function hg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),od(e,r)}function pg(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(s(314))}o!==null&&o.delete(t),od(e,r)}var ld;ld=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)rt=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return rt=!1,tg(e,t,r);rt=(e.flags&131072)!==0}else rt=!1,Ce&&(t.flags&1048576)!==0&&jc(t,Zi,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;fs(e,t),e=t.pendingProps;var a=Jn(t,Qe.current);ir(t,r),a=pl(null,t,o,e,a,r);var c=ml();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nt(o)?(c=!0,Qi(t)):c=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ll(t),a.updater=us,t.stateNode=a,a._reactInternals=t,xl(t,o,e,r),t=Pl(null,t,o,!0,c,r)):(t.tag=0,Ce&&c&&qo(t),qe(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch(fs(e,t),e=t.pendingProps,a=o._init,o=a(o._payload),t.type=o,a=t.tag=yg(o),e=Ct(o,e),a){case 0:t=Cl(null,t,o,e,r);break e;case 1:t=_f(null,t,o,e,r);break e;case 11:t=Rf(null,t,o,e,r);break e;case 14:t=Df(null,t,o,Ct(o.type,e),r);break e}throw Error(s(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:Ct(o,a),Cl(e,t,o,a,r);case 1:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:Ct(o,a),_f(e,t,o,a,r);case 3:e:{if(Nf(t),e===null)throw Error(s(387));o=t.pendingProps,c=t.memoizedState,a=c.element,Yc(e,t),ns(t,o,null,r);var h=t.memoizedState;if(o=h.element,c.isDehydrated)if(c={element:o,isDehydrated:!1,cache:h.cache,pendingSuspenseBoundaries:h.pendingSuspenseBoundaries,transitions:h.transitions},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){a=or(Error(s(423)),t),t=If(e,t,o,r,a);break e}else if(o!==a){a=or(Error(s(424)),t),t=If(e,t,o,r,a);break e}else for(ct=tn(t.stateNode.containerInfo.firstChild),ut=t,Ce=!0,kt=null,r=Gc(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(tr(),o===a){t=Gt(e,t,r);break e}qe(e,t,o,r)}t=t.child}return t;case 5:return qc(t),e===null&&el(t),o=t.type,a=t.pendingProps,c=e!==null?e.memoizedProps:null,h=a.children,Ko(o,a)?h=null:c!==null&&Ko(o,c)&&(t.flags|=32),Lf(e,t),qe(e,t,h,r),t.child;case 6:return e===null&&el(t),null;case 13:return Ff(e,t,r);case 4:return al(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=nr(t,null,o,r):qe(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:Ct(o,a),Rf(e,t,o,a,r);case 7:return qe(e,t,t.pendingProps,r),t.child;case 8:return qe(e,t,t.pendingProps.children,r),t.child;case 12:return qe(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,c=t.memoizedProps,h=a.value,ve(bi,o._currentValue),o._currentValue=h,c!==null)if(Tt(c.value,h)){if
vendor: 11,070 bytes, line 40
40(c.children===a.children&&!tt.current){t=Gt(e,t,r);break e}}else for(c=t.child,c!==null&&(c.return=t);c!==null;){var v=c.dependencies;if(v!==null){h=c.child;for(var x=v.firstContext;x!==null;){if(x.context===o){if(c.tag===1){x=Kt(-1,r&-r),x.tag=2;var M=c.updateQueue;if(M!==null){M=M.shared;var _=M.pending;_===null?x.next=x:(x.next=_.next,_.next=x),M.pending=x}}c.lanes|=r,x=c.alternate,x!==null&&(x.lanes|=r),sl(c.return,r,t),v.lanes|=r;break}x=x.next}}else if(c.tag===10)h=c.type===t.type?null:c.child;else if(c.tag===18){if(h=c.return,h===null)throw Error(s(341));h.lanes|=r,v=h.alternate,v!==null&&(v.lanes|=r),sl(h,r,t),h=c.sibling}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===t){h=null;break}if(c=h.sibling,c!==null){c.return=h.return,h=c;break}h=h.return}c=h}qe(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,ir(t,r),a=mt(a),o=o(a),t.flags|=1,qe(e,t,o,r),t.child;case 14:return o=t.type,a=Ct(o,t.pendingProps),a=Ct(o.type,a),Df(e,t,o,a,r);case 15:return Af(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:Ct(o,a),fs(e,t),t.tag=1,nt(o)?(e=!0,Qi(t)):e=!1,ir(t,r),xf(t,o,a),xl(t,o,a,r),Pl(null,t,o,!0,e,r);case 19:return zf(e,t,r);case 22:return Vf(e,t,r)}throw Error(s(156,t.tag))};function ad(e,t){return Bu(e,t)}function mg(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,r,o){return new mg(e,t,r,o)}function Kl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yg(e){if(typeof e=="function")return Kl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===me)return 11;if(e===Ne)return 14}return 2}function hn(e,t){var r=e.alternate;return r===null?(r=vt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ts(e,t,r,o,a,c){var h=2;if(o=e,typeof e=="function")Kl(e)&&(h=1);else if(typeof e=="string")h=5;else e:switch(e){case se:return _n(r.children,a,c,t);case J:h=8,a|=8;break;case ne:return e=vt(12,r,t,a|2),e.elementType=ne,e.lanes=c,e;case Pe:return e=vt(13,r,t,a),e.elementType=Pe,e.lanes=c,e;case De:return e=vt(19,r,t,a),e.elementType=De,e.lanes=c,e;case Ee:return ks(r,a,c,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z:h=10;break e;case ue:h=9;break e;case me:h=11;break e;case Ne:h=14;break e;case we:h=16,o=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=vt(h,r,t,a),t.elementType=e,t.type=o,t.lanes=c,t}function _n(e,t,r,o){return e=vt(7,e,o,t),e.lanes=r,e}function ks(e,t,r,o){return e=vt(22,e,o,t),e.elementType=Ee,e.lanes=r,e.stateNode={isHidden:!1},e}function Gl(e,t,r){return e=vt(6,e,null,t),e.lanes=r,e}function Ql(e,t,r){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gg(e,t,r,o,a){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=So(0),this.expirationTimes=So(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=So(0),this.identifierPrefix=o,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Yl(e,t,r,o,a,c,h,v,x){return e=new gg(e,t,r,v,x),t===1?(t=1,c===!0&&(t|=8)):t=0,c=vt(3,null,null,t),e.current=c,c.stateNode=e,c.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},ll(c),e}function vg(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:re,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function ud(e){if(!e)return rn;e=e._reactInternals;e:{if(xn(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var r=e.type;if(nt(r))return Fc(e,r,t)}return t}function cd(e,t,r,o,a,c,h,v,x){return e=Yl(r,o,!0,e,a,c,h,v,x),e.context=ud(null),r=e.current,o=Je(),a=fn(r),c=Kt(o,a),c.callback=t??null,ln(r,c,a),e.current.lanes=a,Mr(e,a,o),st(e,o),e}function Cs(e,t,r,o){var a=t.current,c=Je(),h=fn(a);return r=ud(r),t.context===null?t.context=r:t.pendingContext=r,t=Kt(c,h),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=ln(a,t,h),e!==null&&(Mt(e,a,h,c),ts(e,a,h)),h}function Ps(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 fd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Xl(e,t){fd(e,t),(e=e.alternate)&&fd(e,t)}function wg(){return null}var dd=typeof reportError=="function"?reportError:function(e){console.error(e)};function Zl(e){this._internalRoot=e}Es.prototype.render=Zl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));Cs(e,t,null,null)},Es.prototype.unmount=Zl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;An(function(){Cs(null,e,null,null)}),t[Bt]=null}};function Es(e){this._internalRoot=e}Es.prototype.unstable_scheduleHydration=function(e){if(e){var t=Yu();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Jt.length&&t!==0&&t<Jt[r].priority;r++);Jt.splice(r,0,e),r===0&&qu(e)}};function ql(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ms(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hd(){}function Sg(e,t,r,o,a){if(a){if(typeof o=="function"){var c=o;o=function(){var M=Ps(h);c.call(M)}}var h=cd(t,o,e,0,null,!1,!1,"",hd);return e._reactRootContainer=h,e[Bt]=h.current,Ur(e.nodeType===8?e.parentNode:e),An(),h}for(;a=e.lastChild;)e.removeChild(a);if(typeof o=="function"){var v=o;o=function(){var M=Ps(x);v.call(M)}}var x=Yl(e,0,!1,null,null,!1,!1,"",hd);return e._reactRootContainer=x,e[Bt]=x.current,Ur(e.nodeType===8?e.parentNode:e),An(function(){Cs(t,x,r,o)}),x}function Rs(e,t,r,o,a){var c=r._reactRootContainer;if(c){var h=c;if(typeof a=="function"){var v=a;a=function(){var x=Ps(h);v.call(x)}}Cs(t,h,e,a)}else h=Sg(r,t,e,a,o);return Ps(h)}Gu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Er(t.pendingLanes);r!==0&&(xo(t,r|1),st(t,Le()),(ae&6)===0&&(ur=Le()+500,sn()))}break;case 13:An(function(){var o=$t(e,1);if(o!==null){var a=Je();Mt(o,e,1,a)}}),Xl(e,1)}},To=function(e){if(e.tag===13){var t=$t(e,134217728);if(t!==null){var r=Je();Mt(t,e,134217728,r)}Xl(e,134217728)}},Qu=function(e){if(e.tag===13){var t=fn(e),r=$t(e,t);if(r!==null){var o=Je();Mt(r,e,t,o)}Xl(e,t)}},Yu=function(){return pe},Xu=function(e,t){var r=pe;try{return pe=e,t()}finally{pe=r}},po=function(e,t,r){switch(t){case"input":if(so(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=Ki(o);if(!a)throw Error(s(90));wu(o),so(o,a)}}}break;case"textarea":Cu(e,r);break;case"select":t=r.value,t!=null&&Bn(e,!!r.multiple,t,!1)}},_u=Wl,Nu=An;var xg={usingClientEntryPoint:!1,Events:[$r,Zn,Ki,Vu,Lu,Wl]},ii={findFiberByHostInstance:Tn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Tg={bundleType:ii.bundleType,version:ii.version,rendererPackageName:ii.rendererPackageName,rendererConfig:ii.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=zu(e),e===null?null:e.stateNode},findFiberByHostInstance:ii.findFiberByHostInstance||wg,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 Ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ds.isDisabled&&Ds.supportsFiber)try{Ei=Ds.inject(Tg),Vt=Ds}catch{}}return ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xg,ot.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ql(t))throw Error(s(200));return vg(e,t,null,r)},ot.createRoot=function(e,t){if(!ql(e))throw Error(s(299));var r=!1,o="",a=dd;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=Yl(e,1,!1,null,null,r,!1,o,a),e[Bt]=t.current,Ur(e.nodeType===8?e.parentNode:e),new Zl(t)},ot.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(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=zu(t),e=e===null?null:e.stateNode,e},ot.flushSync=function(e){return An(e)},ot.hydrate=function(e,t,r){if(!Ms(t))throw Error(s(200));return Rs(null,e,t,!0,r)},ot.hydrateRoot=function(e,t,r){if(!ql(e))throw Error(s(405));var o=r!=null&&r.hydratedSources||null,a=!1,c="",h=dd;if(r!=null&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onRecoverableError!==void 0&&(h=r.onRecoverableError)),t=cd(t,null,e,1,r??null,a,!1,c,h),e[Bt]=t.current,Ur(e),o)for(e=0;e<o.length;e++)r=o[e],a=r._getVersion,a=a(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Es(t)},ot.render=function(e,t,r){if(!Ms(t))throw Error(s(200));return Rs(null,e,t,!1,r)},ot.unmountComponentAtNode=function(e){if(!Ms(e))throw Error(s(40));return e._reactRootContainer?(An(function(){Rs(null,null,e,!1,function(){e._reactRootContainer=null,e[Bt]=null})}),!0):!1},ot.unstable_batchedUpdates=Wl,ot.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Ms(r))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Rs(e,t,r,!1,o)}
vendor: 4,111 bytes, line 40
40,ot.version="18.3.1-next-f1338f8080-20240426",ot}var xd;function Uh(){if(xd)return ea.exports;xd=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),ea.exports=Vg(),ea.exports}var Td;function Lg(){if(Td)return As;Td=1;var n=Uh();return As.createRoot=n.createRoot,As.hydrateRoot=n.hydrateRoot,As}var _S=Lg(),_g=Uh();const NS=Bh(_g),$a=H.createContext({});function Ka(n){const i=H.useRef(null);return i.current===null&&(i.current=n()),i.current}const Ng=typeof window<"u",Wh=Ng?H.useLayoutEffect:H.useEffect,bs=H.createContext(null);function Ga(n,i){n.indexOf(i)===-1&&n.push(i)}function $s(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}const jt=(n,i,s)=>s>i?i:s<n?n:s;let Qa=()=>{};const vn={},Hh=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function $h(n){return typeof n=="object"&&n!==null}const Kh=n=>/^0[^.\s]+$/u.test(n);function Gh(n){let i;return()=>(i===void 0&&(i=n()),i)}const St=n=>n,Ig=(n,i)=>s=>i(n(s)),yi=(...n)=>n.reduce(Ig),di=(n,i,s)=>{const l=i-n;return l===0?1:(s-n)/l};class Ya{constructor(){this.subscriptions=[]}add(i){return Ga(this.subscriptions,i),()=>$s(this.subscriptions,i)}notify(i,s,l){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,s,l);else for(let d=0;d<u;d++){const f=this.subscriptions[d];f&&f(i,s,l)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const dt=n=>n*1e3,wt=n=>n/1e3;function Qh(n,i){return i?n*(1e3/i):0}const Yh=(n,i,s)=>(((1-3*s+3*i)*n+(3*s-6*i))*n+3*i)*n,Fg=1e-7,Og=12;function zg(n,i,s,l,u){let d,f,p=0;do f=i+(s-i)/2,d=Yh(f,l,u)-n,d>0?s=f:i=f;while(Math.abs(d)>Fg&&++p<Og);return f}function gi(n,i,s,l){if(n===i&&s===l)return St;const u=d=>zg(d,0,1,n,s);return d=>d===0||d===1?d:Yh(u(d),i,l)}const Xh=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,Zh=n=>i=>1-n(1-i),qh=gi(.33,1.53,.69,.99),Xa=Zh(qh),Jh=Xh(Xa),bh=n=>n>=1?1:(n*=2)<1?.5*Xa(n):.5*(2-Math.pow(2,-10*(n-1))),Za=n=>1-Math.sin(Math.acos(n)),ep=Zh(Za),tp=Xh(Za),jg=gi(.42,0,1,1),Bg=gi(0,0,.58,1),np=gi(.42,0,.58,1),Ug=n=>Array.isArray(n)&&typeof n[0]!="number",rp=n=>Array.isArray(n)&&typeof n[0]=="number",Wg={linear:St,easeIn:jg,easeInOut:np,easeOut:Bg,circIn:Za,circInOut:tp,circOut:ep,backIn:Xa,backInOut:Jh,backOut:qh,anticipate:bh},Hg=n=>typeof n=="string",kd=n=>{if(rp(n)){Qa(n.length===4);const[i,s,l,u]=n;return gi(i,s,l,u)}else if(Hg(n))return Wg[n];return n},Vs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $g(n,i){let s=new Set,l=new Set,u=!1,d=!1;const f=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function m(y){f.has(y)&&(g.schedule(y),n()),y(p)}const g={schedule:(y,w=!1,S=!1)=>{const R=S&&u?s:l;return w&&f.add(y),R.add(y),y},cancel:y=>{l.delete(y),f.delete(y)},process:y=>{if(p=y,u){d=!0;return}u=!0;const w=s;s=l,l=w,s.forEach(m),s.clear(),u=!1,d&&(d=!1,g.process(y))}};return g}const Kg=40;function ip(n,i){let s=!1,l=!0;const u={delta:0,timestamp:0,isProcessing:!1},d=()=>s=!0,f=Vs.reduce((z,j)=>(z[j]=$g(d),z),{}),{setup:p,read:m,resolveKeyframes:g,preUpdate:y,update:w,preRender:S,render:C,postRender:R}=f,A=()=>{const z=vn.useManualTiming,j=z?u.timestamp:performance.now();s=!1,z||(u.delta=l?1e3/60:Math.max(Math.min(j-u.timestamp,Kg),1)),u.timestamp=j,u.isProcessing=!0,p.process(u),m.process(u),g.process(u),y.process(u),w.process(u),S.process(u),C.process(u),R.process(u),u.isProcessing=!1,s&&i&&(l=!1,n(A))},D=()=>{s=!0,l=!0,u.isProcessing||n(A)};return{schedule:Vs.reduce((z,j)=>{const $=f[j];return z[j]=(re,se=!1,J=!1)=>(s||D(),$.schedule(re,se,J)),z},{}),cancel:z=>{for(let j=0;j<Vs.length;j++)f[Vs[j]].cancel(z)},state:u,steps:f}}const{schedule:ye,cancel:wn,state:Ke,steps:ra}=ip(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let Fs;function Gg(){Fs=void 0}const be={now:()=>(Fs===void 0&&be.set(Ke.isProcessing||vn.useManualTiming?Ke.timestamp:performance.now()),Fs),set:n=>{Fs=n,queueMicrotask(Gg)}},sp=n=>i=>typeof i=="string"&&i.startsWith(n),op=sp("--"),Qg=sp("var(--"),qa=n=>
vendor: 25,936 bytes, line 40
40Qg(n)?Yg.test(n.split("/*")[0].trim()):!1,Yg=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Cd(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const gr={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},hi={...gr,transform:n=>jt(0,1,n)},Ls={...gr,default:1},ai=n=>Math.round(n*1e5)/1e5,Ja=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xg(n){return n==null}const Zg=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ba=(n,i)=>s=>!!(typeof s=="string"&&Zg.test(s)&&s.startsWith(n)||i&&!Xg(s)&&Object.prototype.hasOwnProperty.call(s,i)),lp=(n,i,s)=>l=>{if(typeof l!="string")return l;const[u,d,f,p]=l.match(Ja);return{[n]:parseFloat(u),[i]:parseFloat(d),[s]:parseFloat(f),alpha:p!==void 0?parseFloat(p):1}},qg=n=>jt(0,255,n),ia={...gr,transform:n=>Math.round(qg(n))},Fn={test:ba("rgb","red"),parse:lp("red","green","blue"),transform:({red:n,green:i,blue:s,alpha:l=1})=>"rgba("+ia.transform(n)+", "+ia.transform(i)+", "+ia.transform(s)+", "+ai(hi.transform(l))+")"};function Jg(n){let i="",s="",l="",u="";return n.length>5?(i=n.substring(1,3),s=n.substring(3,5),l=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),s=n.substring(2,3),l=n.substring(3,4),u=n.substring(4,5),i+=i,s+=s,l+=l,u+=u),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(l,16),alpha:u?parseInt(u,16)/255:1}}const wa={test:ba("#"),parse:Jg,transform:Fn.transform},vi=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),mn=vi("deg"),zt=vi("%"),Q=vi("px"),bg=vi("vh"),ev=vi("vw"),Pd={...zt,parse:n=>zt.parse(n)/100,transform:n=>zt.transform(n*100)},dr={test:ba("hsl","hue"),parse:lp("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:s,alpha:l=1})=>"hsla("+Math.round(n)+", "+zt.transform(ai(i))+", "+zt.transform(ai(s))+", "+ai(hi.transform(l))+")"},Fe={test:n=>Fn.test(n)||wa.test(n)||dr.test(n),parse:n=>Fn.test(n)?Fn.parse(n):dr.test(n)?dr.parse(n):wa.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Fn.transform(n):dr.transform(n),getAnimatableNone:n=>{const i=Fe.parse(n);return i.alpha=0,Fe.transform(i)}},tv=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nv(n){var i,s;return isNaN(n)&&typeof n=="string"&&(((i=n.match(Ja))==null?void 0:i.length)||0)+(((s=n.match(tv))==null?void 0:s.length)||0)>0}const ap="number",up="color",rv="var",iv="var(",Ed="${}",sv=/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 mr(n){const i=n.toString(),s=[],l={color:[],number:[],var:[]},u=[];let d=0;const p=i.replace(sv,m=>(Fe.test(m)?(l.color.push(d),u.push(up),s.push(Fe.parse(m))):m.startsWith(iv)?(l.var.push(d),u.push(rv),s.push(m)):(l.number.push(d),u.push(ap),s.push(parseFloat(m))),++d,Ed)).split(Ed);return{values:s,split:p,indexes:l,types:u}}function ov(n){return mr(n).values}function cp({split:n,types:i}){const s=n.length;return l=>{let u="";for(let d=0;d<s;d++)if(u+=n[d],l[d]!==void 0){const f=i[d];f===ap?u+=ai(l[d]):f===up?u+=Fe.transform(l[d]):u+=l[d]}return u}}function lv(n){return cp(mr(n))}const av=n=>typeof n=="number"?0:Fe.test(n)?Fe.getAnimatableNone(n):n,uv=(n,i)=>typeof n=="number"?i!=null&&i.trim().endsWith("/")?n:0:av(n);function cv(n){const i=mr(n);return cp(i)(i.values.map((l,u)=>uv(l,i.split[u])))}const At={test:nv,parse:ov,createTransformer:lv,getAnimatableNone:cv};function sa(n,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?n+(i-n)*6*s:s<1/2?i:s<2/3?n+(i-n)*(2/3-s)*6:n}function fv({hue:n,saturation:i,lightness:s,alpha:l}){n/=360,i/=100,s/=100;let u=0,d=0,f=0;if(!i)u=d=f=s;else{const p=s<.5?s*(1+i):s+i-s*i,m=2*s-p;u=sa(m,p,n+1/3),d=sa(m,p,n),f=sa(m,p,n-1/3)}return{red:Math.round(u*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:l}}function Ks(n,i){return s=>s>0?i:n}const Te=(n,i,s)=>n+(i-n)*s,oa=(n,i,s)=>{const l=n*n,u=s*(i*i-l)+l;return u<0?0:Math.sqrt(u)},dv=[wa,Fn,dr],hv=n=>dv.find(i=>i.test(n));function Md(n){const i=hv(n);if(!i)return!1;let s=i.parse(n);return i===dr&&(s=fv(s)),s}const Rd=(n,i)=>{const s=Md(n),l=Md(i);if(!s||!l)return Ks(n,i);const u={...s};return d=>(u.red=oa(s.red,l.red,d),u.green=oa(s.green,l.green,d),u.blue=oa(s.blue,l.blue,d),u.alpha=Te(s.alpha,l.alpha,d),Fn.transform(u))},Sa=new Set(["none","hidden"]);function pv(n,i){return Sa.has(n)?s=>s<=0?n:i:s=>s>=1?i:n}function mv(n,i){return s=>Te(n,i,s)}function eu(n){return typeof n=="number"?mv:typeof n=="string"?qa(n)?Ks:Fe.test(n)?Rd:vv:Array.isArray(n)?fp:typeof n=="object"?Fe.test(n)?Rd:yv:Ks}function fp(n,i){const s=[...n],l=s.length,u=n.map((d,f)=>eu(d)(d,i[f]));return d=>{for(let f=0;f<l;f++)s[f]=u[f](d);return s}}function yv(n,i){const s={...n,...i},l={};for(const u in s)n[u]!==void 0&&i[u]!==void 0&&(l[u]=eu(n[u])(n[u],i[u]));return u=>{for(const d in l)s[d]=l[d](u);return s}}function gv(n,i){const s=[],l={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const d=i.types[u],f=n.indexes[d][l[d]],p=n.values[f]??0;s[u]=p,l[d]++}return s}const vv=(n,i)=>{const s=At.createTransformer(i),l=mr(n),u=mr(i);return l.indexes.var.length===u.indexes.var.length&&l.indexes.color.length===u.indexes.color.length&&l.indexes.number.length>=u.indexes.number.length?Sa.has(n)&&!u.values.length||Sa.has(i)&&!l.values.length?pv(n,i):yi(fp(gv(l,u),u.values),s):Ks(n,i)};function dp(n,i,s){return typeof n=="number"&&typeof i=="number"&&typeof s=="number"?Te(n,i,s):eu(n)(n,i)}const wv=n=>{const i=({timestamp:s})=>n(s);return{start:(s=!0)=>ye.update(i,s),stop:()=>wn(i),now:()=>Ke.isProcessing?Ke.timestamp:be.now()}},hp=(n,i,s=10)=>{let l="";const u=Math.max(Math.round(i/s),2);for(let d=0;d<u;d++)l+=Math.round(n(d/(u-1))*1e4)/1e4+", ";return`linear(${l.substring(0,l.length-2)})`},Gs=2e4;function tu(n){let i=0;const s=50;let l=n.next(i);for(;!l.done&&i<Gs;)i+=s,l=n.next(i);return i>=Gs?1/0:i}function Sv(n,i=100,s){const l=s({...n,keyframes:[0,i]}),u=Math.min(tu(l),Gs);return{type:"keyframes",ease:d=>l.next(u*d).value/i,duration:wt(u)}}const Ve={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 xa(n,i){return n*Math.sqrt(1-i*i)}const xv=12;function Tv(n,i,s){let l=s;for(let u=1;u<xv;u++)l=l-n(l)/i(l);return l}const la=.001;function kv({duration:n=Ve.duration,bounce:i=Ve.bounce,velocity:s=Ve.velocity,mass:l=Ve.mass}){let u,d,f=1-i;f=jt(Ve.minDamping,Ve.maxDamping,f),n=jt(Ve.minDuration,Ve.maxDuration,wt(n)),f<1?(u=g=>{const y=g*f,w=y*n,S=y-s,C=xa(g,f),R=Math.exp(-w);return la-S/C*R},d=g=>{const w=g*f*n,S=w*s+s,C=Math.pow(f,2)*Math.pow(g,2)*n,R=Math.exp(-w),A=xa(Math.pow(g,2),f);return(-u(g)+la>0?-1:1)*((S-C)*R)/A}):(u=g=>{const y=Math.exp(-g*n),w=(g-s)*n+1;return-la+y*w},d=g=>{const y=Math.exp(-g*n),w=(s-g)*(n*n);return y*w});const p=5/n,m=Tv(u,d,p);if(n=dt(n),isNaN(m))return{stiffness:Ve.stiffness,damping:Ve.damping,duration:n};{const g=Math.pow(m,2)*l;return{stiffness:g,damping:f*2*Math.sqrt(l*g),duration:n}}}const Cv=["duration","bounce"],Pv=["stiffness","damping","mass"];function Dd(n,i){return i.some(s=>n[s]!==void 0)}function Ev(n){let i={velocity:Ve.velocity,stiffness:Ve.stiffness,damping:Ve.damping,mass:Ve.mass,isResolvedFromDuration:!1,...n};if(!Dd(n,Pv)&&Dd(n,Cv))if(i.velocity=0,n.visualDuration){const s=n.visualDuration,l=2*Math.PI/(s*1.2),u=l*l,d=2*jt(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:Ve.mass,stiffness:u,damping:d}}else{const s=kv({...n,velocity:0});i={...i,...s,mass:Ve.mass},i.isResolvedFromDuration=!0}return i}function Qs(n=Ve.visualDuration,i=Ve.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:l,restDelta:u}=s;const d=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],p={done:!1,value:d},{stiffness:m,damping:g,mass:y,duration:w,velocity:S,isResolvedFromDuration:C}=Ev({...s,velocity:-wt(s.velocity||0)}),R=S||0,A=g/(2*Math.sqrt(m*y)),D=f-d,I=wt(Math.sqrt(m/y)),B=Math.abs(D)<5;l||(l=B?Ve.restSpeed.granular:Ve.restSpeed.default),u||(u=B?Ve.restDelta.granular:Ve.restDelta.default);let z,j,$,re,se,J;if(A<1)$=xa(I,A),re=(R+A*I*D)/$,z=Z=>{const ue=Math.exp(-A*I*Z);return f-ue*(re*Math.sin($*Z)+D*Math.cos($*Z))},se=A*I*re+D*$,J=A*I*D-re*$,j=Z=>Math.exp(-A*I*Z)*(se*Math.sin($*Z)+J*Math.cos($*Z));else if(A===1){z=ue=>f-Math.exp(-I*ue)*(D+(R+I*D)*ue);const Z=R+I*D;j=ue=>Math.exp(-I*ue)*(I*Z*ue-R)}else{const Z=I*Math.sqrt(A*A-1);z=De=>{const Ne=Math.exp(-A*I*De),we=Math.min(Z*De,300);return f-Ne*((R+A*I*D)*Math.sinh(we)+Z*D*Math.cosh(we))/Z};const ue=(R+A*I*D)/Z,me=A*I*ue-D*Z,Pe=A*I*D-ue*Z;j=De=>{const Ne=Math.exp(-A*I*De),we=Math.min(Z*De,300);return Ne*(me*Math.sinh(we)+Pe*Math.cosh(we))}}const ne={calculatedDuration:C&&w||null,velocity:Z=>dt(j(Z)),next:Z=>{if(!C&&A<1){const me=Math.exp(-A*I*Z),Pe=Math.sin($*Z),De=Math.cos($*Z),Ne=f-me*(re*Pe+D*De),we=dt(me*(se*Pe+J*De));return p.done=Math.abs(we)<=l&&Math.abs(f-Ne)<=u,p.value=p.done?f:Ne,p}const ue=z(Z);if(C)p.done=Z>=w;else{const me=dt(j(Z));p.done=Math.abs(me)<=l&&Math.abs(f-ue)<=u}return p.value=p.done?f:ue,p},toString:()=>{const Z=Math.min(tu(ne),Gs),ue=hp(me=>ne.next(Z*me).value,Z,30);return Z+"ms "+ue},toTransition:()=>{}};return ne}Qs.applyToOptions=n=>{const i=Sv(n,100,Qs);return n.ease=i.ease,n.duration=dt(i.duration),n.type="keyframes",n};const Mv=5;function pp(n,i,s){const l=Math.max(i-Mv,0);return Qh(s-n(l),i-l)}function Ta({keyframes:n,velocity:i=0,power:s=.8,timeConstant:l=325,bounceDamping:u=10,bounceStiffness:d=500,modifyTarget:f,min:p,max:m,restDelta:g=.5,restSpeed:y}){const w=n[0],S={done:!1,value:w},C=J=>p!==void 0&&J<p||m!==void 0&&J>m,R=J=>p===void 0?m:m===void 0||Math.abs(p-J)<Math.abs(m-J)?p:m;let A=s*i;const D=w+A,I=f===void 0?D:f(D);I!==D&&(A=I-w);const B=J=>-A*Math.exp(-J/l),z=J=>I+B(J),j=J=>{const ne=B(J),Z=z(J);S.done=Math.abs(ne)<=g,S.value=S.done?I:Z};let $,re;const se=J=>{C(S.value)&&($=J,re=Qs({keyframes:[S.value,R(S.value)],velocity:pp(z,J,S.value),damping:u,stiffness:d,restDelta:g,restSpeed:y}))};return se(0),{calculatedDuration:null,next:J=>{let ne=!1;return!re&&$===void 0&&(ne=!0,j(J),se(J)),$!==void 0&&J>=$?re.next(J-$):(!ne&&j(J),S)}}}function Rv(n,i,s){const l=[],u=s||vn.mix||dp,d=n.length-1;for(let f=0;f<d;f++){let p=u(n[f],n[f+1]);if(i){const m=Array.isArray(i)?i[f]||St:i;p=yi(m,p)}l.push(p)}return l}function Dv(n,i,{clamp:s=!0,ease:l,mixer:u}={}){const d=n.length;if(Qa(d===i.length),d===1)return()=>i[0];if(d===2&&i[0]===i[1])return()=>i[1];const f=n[0]===n[1];n[0]>n[d-1]&&(n=[...n].reverse(),i=[...i].reverse());const p=Rv(i,l,u),m=p.length,g=y=>{if(f&&y<n[0])return i[0];let w=0;if(m>1)for(;w<n.length-2&&!(y<n[w+1]);w++);const S=di(n[w],n[w+1],y);return p[w](S)};return s?y=>g(jt(n[0],n[d-1],y)):g}function Av(n,i){const s=n[n.length-1];for(let l=1;l<=i;l++){const u=di(0,i,l);n.push(Te(s,1,u))}}function Vv(n){const i=[0];return Av(i,n.length-1),i}function Lv(n,i){return n.map(s=>s*i)}function _v(n,i){return n.map(()=>i||np).splice(0,n.length-1)}function ui({duration:n=300,keyframes:i,times:s,ease:l="easeInOut"}){const u=Ug(l)?l.map(kd):kd(l),d={done:!1,value:i[0]},f=Lv(s&&s.length===i.length?s:Vv(i),n),p=Dv(f,i,{ease:Array.isArray(u)?u:_v(i,u)});return{calculatedDuration:n,next:m=>(d.value=p(m),d.done=m>=n,d)}}const Nv=n=>n!==null;function eo(n,{repeat:i,repeatType:s="loop"},l,u=1){const d=n.filter(Nv),p=u<0||i&&s!=="loop"&&i%2===1?0:d.length-1;return!p||l===void 0?d[p]:l}const Iv={decay:Ta,inertia:Ta,tween:ui,keyframes:ui,spring:Qs};function mp(n){typeof n.type=="string"&&(n.type=Iv[n.type])}class nu{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const Fv=n=>n/100;class Ys extends nu{constructor(i){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 l,u;const{motionValue:s}=this.options;s&&s.updatedAt!==be.now()&&this.tick(be.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(l=this.options).onStop)==null||u.call(l))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;mp(i);const{type:s=ui,repeat:l=0,repeatDelay:u=0,repeatType:d,velocity:f=0}=i;let{keyframes:p}=i;const m=s||ui;m!==ui&&typeof p[0]!="number"&&(this.mixKeyframes=yi(Fv,dp(p[0],p[1])),p=[0,100]);const g=m({...i,keyframes:p});d==="mirror"&&(this.mirroredGenerator=m({...i,keyframes:[...p].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=tu(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+u,this.totalDuration=this.resolvedDuration*(l+1)-u,this.generator=g}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:l,totalDuration:u,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:p,calculatedDuration:m}=this;if(this.startTime===null)return l.next(0);const{delay:g=0,keyframes:y,repeat:w,repeatType:S,repeatDelay:C,type:R,onUpdate:A,finalKeyframe:D}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-u/this.speed,this.startTime)),s?this.currentTime=i:this.updateTime(i);const I=this.currentTime-g*(this.playbackSpeed>=0?1:-1),B=this.playbackSpeed>=0?I<0:I>u;this.currentTime=Math.max(I,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let z=this.currentTime,j=l;if(w){const J=Math.min(this.currentTime,u)/p;let ne=Math.floor(J),Z=J%1;!Z&&J>=1&&(Z=1),Z===1&&ne--,ne=Math.min(ne,w+1),!!(ne%2)&&(S==="reverse"?(Z=1-Z,C&&(Z-=C/p)):S==="mirror"&&(j=f)),z=jt(0,1,Z)*p}let $;B?(this.delayState.value=y[0],$=this.delayState):$=j.next(z),d&&!B&&($.value=d($.value));let{done:re}=$;!B&&m!==null&&(re=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const se=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&re);return se&&R!==Ta&&($.value=eo(y,this.options,D,this.speed)),A&&A($.value),se&&this.finish(),$}then(i,s){return this.finished.then(i,s)}get duration(){return wt(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+wt(i)}get time(){return wt(this.currentTime)}set time(i){i=dt(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const s=this.generator.next(i).value;return pp(l=>this.generator.next(l).value,i,s)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;s&&this.driver&&this.updateTime(be.now()),this.playbackSpeed=i,s&&this.driver&&(this.time=wt(this.currentTime))}play(){var u,d;if(this.isStopped)return;const{driver:i=wv,startTime:s}=this.options;this.driver||(this.driver=i(f=>this.tick(f))),(d=(u=this.options).onPlay)==null||d.call(u);const l=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=l):this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime||(this.startTime=s??l),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(be.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(i=this.options).onComplete)==null||s.call(i)}cancel(){var i,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(i=this.options).onCancel)==null||s.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),i.observe(this)}}function Ov(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const On=n=>n*180/Math.PI,ka=n=>{const i=On(Math.atan2(n[1],n[0]));return Ca(i)},zv={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:ka,rotateZ:ka,skewX:n=>On(Math.atan(n[1])),skewY:n=>On(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Ca=n=>(n=n%360,n<0&&(n+=360),n),Ad=ka,Vd=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),Ld=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),jv={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Vd,scaleY:Ld,scale:n=>(Vd(n)+Ld(n))/2,rotateX:n=>Ca(On(Math.atan2(n[6],n[5]))),rotateY:n=>Ca(On(Math.atan2(-n[2],n[0]))),rotateZ:Ad,rotate:Ad,skewX:n=>On(Math.atan(n[4])),skewY:n=>On(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Pa(n){return n.includes("scale")?1:0}function Ea(n,i){if(!n||n==="none")return Pa(i);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let l,u;if(s)l=jv,u=s;else{const p=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);l=zv,u=p}if(!u)return Pa(i);const d=l[i],f=u[1].split(",").map(Uv);return typeof d=="function"?d(f):f[d]}const Bv=(n,i)=>{const{transform:s="none"}=getComputedStyle(n);return Ea(s,i)};function Uv(n){return parseFloat(n.trim())}const vr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wr=new Set(vr),_d=n=>n===gr||n===Q,Wv=new Set(["x","y","z"]),Hv=vr.filter(n=>!Wv.has(n));function $v(n){const i=[];return Hv.forEach(s=>{const l=n.getValue(s);l!==void 0&&(i.push([s,l.get()]),l.set(s.startsWith("scale")?1:0))}),i}const gn={width:({x:n},{paddingLeft:i="0",paddingRight:s="0",boxSizing:l})=>{const u=n.max-n.min;return l==="border-box"?u:u-parseFloat(i)-parseFloat(s)},height:({y:n},{paddingTop:i="0",paddingBottom:s="0",boxSizing:l})=>{const u=n.max-n.min;return l==="border-box"?u:u-parseFloat(i)-parseFloat(s)},top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>Ea(i,"x"),y:(n,{transform:i})=>Ea(i,"y")};gn.translateX=gn.x;gn.translateY=gn.y;const zn=new Set;let Ma=!1,Ra=!1,Da=!1;function yp(){if(Ra){const n=Array.from(zn).filter(l=>l.needsMeasurement),i=new Set(n.map(l=>l.element)),s=new Map;i.forEach(l=>{const u=$v(l);u.length&&(s.set(l,u),l.render())}),n.forEach(l=>l.measureInitialState()),i.forEach(l=>{l.render();const u=s.get(l);u&&u.forEach(([d,f])=>{var p;(p=l.getValue(d))==null||p.set(f)})}),n.forEach(l=>l.measureEndState()),n.forEach(l=>{l.suspendedScrollY!==void 0&&window.scrollTo(0,l.suspendedScrollY)})}Ra=!1,Ma=!1,zn.forEach(n=>n.complete(Da)),zn.clear()}function gp(){zn.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Ra=!0)})}function Kv(){Da=!0,gp(),yp(),Da=!1}class ru{constructor(i,s,l,u,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=l,this.motionValue=u,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(zn.add(this),Ma||(Ma=!0,ye.read(gp),ye.resolveKeyframes(yp))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:l,motionValue:u}=this;if(i[0]===null){const d=u==null?void 0:u.get(),f=i[i.length-1];if(d!==void 0)i[0]=d;else if(l&&s){const p=l.readValue(s,f);p!=null&&(i[0]=p)}i[0]===void 0&&(i[0]=f),u&&d===void 0&&u.set(i[0])}Ov(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),zn.delete(this)}cancel(){this.state==="scheduled"&&(zn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Gv=n=>n.startsWith("--");function vp(n,i,s){Gv(i)?n.style.setProperty(i,s):n.style[i]=s}const Qv={};function wp(n,i){const s=Gh(n);return()=>Qv[i]??s()}const Yv=wp(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Sp=wp(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),li=([n,i,s,l])=>`cubic-bezier(${n}, ${i}, ${s}, ${l})`,Nd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:li([0,.65,.55,1]),circOut:li([.55,0,1,.45]),backIn:li([.31,.01,.66,-.59]),backOut:li([.33,1.53,.69,.99])};function xp(n,i){if(n)return typeof n=="function"?Sp()?hp(n,i):"ease-out":rp(n)?li(n):Array.isArray(n)?n.map(s=>xp(s,i)||Nd.easeOut):Nd[n]}function Xv(n,i,s,{delay:l=0,duration:u=300,repeat:d=0,repeatType:f="loop",ease:p="easeOut",times:m}={},g=void 0){const y={[i]:s};m&&(y.offset=m);const w=xp(p,u);Array.isArray(w)&&(y.easing=w);const S={delay:l,duration:u,easing:Array.isArray(w)?"linear":w,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return g&&(S.pseudoElement=g),n.animate(y,S)}function Tp(n){return typeof n=="function"&&"applyToOptions"in n}function Zv({type:n,...i}){return Tp(n)&&Sp()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class kp extends nu{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:s,name:l,keyframes:u,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:p,onComplete:m}=i;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=i,Qa(typeof i.type!="string");const g=Zv(i);this.animation=Xv(s,l,u,g,d),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const y=eo(u,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(y),vp(s,l,y),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,s;(s=(i=this.animation).finish)==null||s.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var s,l,u;const i=(s=this.options)==null?void 0:s.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((u=(l=this.animation).commitStyles)==null||u.call(l))}get duration(){var s,l;const i=((l=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:l.call(s).duration)||0;return wt(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+wt(i)}get time(){return wt(Number(this.animation.currentTime)||0)}set time(i){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=dt(i),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:s,rangeEnd:l,observe:u}){var d;return this.allowFlatten&&((d=this.animation.effect)==null||d.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&Yv()?(this.animation.timeline=i,s&&(this.animation.rangeStart=s),l&&(this.animation.rangeEnd=l),St):u(this)}}const Cp={anticipate:bh,backInOut:Jh,circInOut:tp};function qv(n){return n in Cp}function Jv(n){typeof n.ease=="string"&&qv(n.ease)&&(n.ease=Cp[n.ease])}const aa=10;class bv extends kp{constructor(i){Jv(i),mp(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:l,onComplete:u,element:d,...f}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const p=new Ys({...f,autoplay:!1}),m=Math.max(aa,be.now()-this.startTime),g=jt(0,aa,m-aa),y=p.sample(m).value,{name:w}=this.options;d&&w&&vp(d,w,y),s.setWithVelocity(p.sample(Math.max(0,m-g)).value,y,g),p.stop()}}const Id=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(At.test(n)||n==="0")&&!n.startsWith("url("));function e0(n){const i=n[0];if(n.length===1)return!0;for(let s=0;s<n.length;s++)if(n[s]!==i)return!0}function t0(n,i,s,l){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const d=n[n.length-1],f=Id(u,i),p=Id(d,i);return!f||!p?!1:e0(n)||(s==="spring"||Tp(s))&&l}function Aa(n){n.duration=0,n.type="keyframes"}const Pp=new Set(["opacity","clipPath","filter","transform"]),n0=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function r0(n){for(let i=0;i<n.length;i++)if(typeof n[i]=="string"&&n0.test(n[i]))return!0;return!1}const i0=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),s0=Gh(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function o0(n){var w;const{motionValue:i,name:s,repeatDelay:l,repeatType:u,damping:d,type:f,keyframes:p}=n;
40if(!(((w=i==null?void 0:i.owner)==null?void 0:w.current)instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:y}=i.owner.getProps();return s0()&&s&&(Pp.has(s)||i0.has(s)&&r0(p))&&(s!=="transform"||!y)&&!g&&!l&&u!=="mirror"&&d!==0&&f!=="inertia"}const l0=40;class a0 extends nu{constructor({autoplay:i=!0,delay:s=0,type:l="keyframes",repeat:u=0,repeatDelay:d=0,repeatType:f="loop",keyframes:p,name:m,motionValue:g,element:y,...w}){var R;super(),this.stop=()=>{var A,D;this._animation&&(this._animation.stop(),(A=this.stopTimeline)==null||A.call(this)),(D=this.keyframeResolver)==null||D.cancel()},this.createdAt=be.now();const S={autoplay:i,delay:s,type:l,repeat:u,repeatDelay:d,repeatType:f,name:m,motionValue:g,element:y,...w},C=(y==null?void 0:y.KeyframeResolver)||ru;this.keyframeResolver=new C(p,(A,D,I)=>this.onKeyframesResolved(A,D,S,!I),m,g,y),(R=this.keyframeResolver)==null||R.scheduleResolve()}onKeyframesResolved(i,s,l,u){var I,B;this.keyframeResolver=void 0;const{name:d,type:f,velocity:p,delay:m,isHandoff:g,onUpdate:y}=l;this.resolvedAt=be.now();let w=!0;t0(i,d,f,p)||(w=!1,(vn.instantAnimations||!m)&&(y==null||y(eo(i,l,s))),i[0]=i[i.length-1],Aa(l),l.repeat=0);const C={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>l0?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...l,keyframes:i},R=w&&!g&&o0(C),A=(B=(I=C.motionValue)==null?void 0:I.owner)==null?void 0:B.current;let D;if(R)try{D=new bv({...C,element:A})}catch{D=new Ys(C)}else D=new Ys(C);D.finished.then(()=>{this.notifyFinished()}).catch(St),this.pendingTimeline&&(this.stopTimeline=D.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=D}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),Kv()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function Ep(n,i,s,l=0,u=1){const d=Array.from(n).sort((g,y)=>g.sortNodePosition(y)).indexOf(i),f=n.size,p=(f-1)*l;return typeof s=="function"?s(d,f):u===1?d*l:p-d*l}const u0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function c0(n){const i=u0.exec(n);if(!i)return[,];const[,s,l,u]=i;return[`--${s??l}`,u]}function Mp(n,i,s=1){const[l,u]=c0(n);if(!l)return;const d=window.getComputedStyle(i).getPropertyValue(l);if(d){const f=d.trim();return Hh(f)?parseFloat(f):f}return qa(u)?Mp(u,i,s+1):u}const f0={type:"spring",stiffness:500,damping:25,restSpeed:10},d0=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),h0={type:"keyframes",duration:.8},p0={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m0=(n,{keyframes:i})=>i.length>2?h0:wr.has(n)?n.startsWith("scale")?d0(i[1]):f0:p0;function Rp(n,i){if(n!=null&&n.inherit&&i){const{inherit:s,...l}=n;return{...i,...l}}return n}function iu(n,i){const s=(n==null?void 0:n[i])??(n==null?void 0:n.default)??n;return s!==n?Rp(s,n):s}const y0=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function g0(n){for(const i in n)if(!y0.has(i))return!0;return!1}const su=(n,i,s,l={},u,d)=>f=>{const p=iu(l,n)||{},m=p.delay||l.delay||0;let{elapsed:g=0}=l;g=g-dt(m);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...p,delay:-g,onUpdate:S=>{i.set(S),p.onUpdate&&p.onUpdate(S)},onComplete:()=>{f(),p.onComplete&&p.onComplete()},name:n,motionValue:i,element:d?void 0:u};g0(p)||Object.assign(y,m0(n,y)),y.duration&&(y.duration=dt(y.duration)),y.repeatDelay&&(y.repeatDelay=dt(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let w=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Aa(y),y.delay===0&&(w=!0)),(vn.instantAnimations||vn.skipAnimations||u!=null&&u.shouldSkipAnimations)&&(w=!0,Aa(y),y.delay=0),y.allowFlatten=!p.type&&!p.ease,w&&!d&&i.get()!==void 0){const S=eo(y.keyframes,p);if(S!==void 0){ye.update(()=>{y.onUpdate(S),y.onComplete()});return}}return p.isSync?new Ys(y):new a0(y)};function Fd(n){const i=[{},{}];
vendor: 8,041 bytes, line 40
40return n==null||n.values.forEach((s,l)=>{i[0][l]=s.get(),i[1][l]=s.getVelocity()}),i}function ou(n,i,s,l){if(typeof i=="function"){const[u,d]=Fd(l);i=i(s!==void 0?s:n.custom,u,d)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[u,d]=Fd(l);i=i(s!==void 0?s:n.custom,u,d)}return i}function jn(n,i,s){const l=n.getProps();return ou(l,i,s!==void 0?s:l.custom,n)}const Dp=new Set(["width","height","top","left","right","bottom",...vr]),Od=30,v0=n=>!isNaN(parseFloat(n)),zd={current:void 0};class w0{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=l=>{var d;const u=be.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(l),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=be.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=v0(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new Ya);const l=this.events[i].add(s);return i==="change"?()=>{l(),ye.read(()=>{this.events.change.getSize()||this.stop()})}:l}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,l){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-l}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return zd.current&&zd.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=be.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Od)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Od);return Qh(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),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 i,s;(i=this.dependents)==null||i.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function yr(n,i){return new w0(n,i)}const Va=n=>Array.isArray(n);function S0(n,i,s){n.hasValue(i)?n.getValue(i).set(s):n.addValue(i,yr(s))}function x0(n){return Va(n)?n[n.length-1]||0:n}function T0(n,i){const s=jn(n,i);let{transitionEnd:l={},transition:u={},...d}=s||{};d={...d,...l};for(const f in d){const p=x0(d[f]);S0(n,f,p)}}const Ge=n=>!!(n&&n.getVelocity);function k0(n){return!!(Ge(n)&&n.add)}function La(n,i){const s=n.getValue("willChange");if(k0(s))return s.add(i);if(!s&&vn.WillChange){const l=new vn.WillChange("auto");n.addValue("willChange",l),l.add(i)}}function lu(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const C0="framerAppearId",Ap="data-"+lu(C0);function Vp(n){return n.props[Ap]}function P0({protectedKeys:n,needsAnimating:i},s){const l=n.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,l}function Lp(n,i,{delay:s=0,transitionOverride:l,type:u}={}){let{transition:d,transitionEnd:f,...p}=i;const m=n.getDefaultTransition();d=d?Rp(d,m):m;const g=d==null?void 0:d.reduceMotion;l&&(d=l);const y=[],w=u&&n.animationState&&n.animationState.getState()[u];for(const S in p){const C=n.getValue(S,n.latestValues[S]??null),R=p[S];if(R===void 0||w&&P0(w,S))continue;const A={delay:s,...iu(d||{},S)},D=C.get();if(D!==void 0&&!C.isAnimating()&&!Array.isArray(R)&&R===D&&!A.velocity){ye.update(()=>C.set(R));continue}let I=!1;if(window.MotionHandoffAnimation){const j=Vp(n);if(j){const $=window.MotionHandoffAnimation(j,S,ye);$!==null&&(A.startTime=$,I=!0)}}La(n,S);const B=g??n.shouldReduceMotion;C.start(su(S,C,R,B&&Dp.has(S)?{type:!1}:A,n,I));const z=C.animation;z&&y.push(z)}if(f){const S=()=>ye.update(()=>{f&&T0(n,f)});y.length?Promise.all(y).then(S):S()}return y}function _a(n,i,s={}){var m;const l=jn(n,i,s.type==="exit"?(m=n.presenceContext)==null?void 0:m.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=l||{};s.transitionOverride&&(u=s.transitionOverride);const d=l?()=>Promise.all(Lp(n,l,s)):()=>Promise.resolve(),f=n.variantChildren&&n.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:w,staggerDirection:S}=u;return E0(n,i,g,y,w,S,s)}:()=>Promise.resolve(),{when:p}=u;if(p){const[g,y]=p==="beforeChildren"?[d,f]:[f,d];return g().then(()=>y())}else return Promise.all([d(),f(s.delay)])}function E0(n,i,s=0,l=0,u=0,d=1,f){const p=[];for(const m of n.variantChildren)m.notify("AnimationStart",i),p.push(_a(m,i,{...f,delay:s+(typeof l=="function"?0:l)+Ep(n.variantChildren,m,l,u,d)}).then(()=>m.notify("AnimationComplete",i)));return Promise.all(p)}function M0(n,i,s={}){n.notify("AnimationStart",i);let l;if(Array.isArray(i)){const u=i.map(d=>_a(n,d,s));l=Promise.all(u)}else if(typeof i=="string")l=_a(n,i,s);else{const u=typeof i=="function"?jn(n,i,s.custom):i;l=Promise.all(Lp(n,u,s))}return l.then(()=>{n.notify("AnimationComplete",i)})}const R0={test:n=>n==="auto",parse:n=>n},_p=n=>i=>i.test(n),Np=[gr,Q,zt,mn,ev,bg,R0],jd=n=>Np.find(_p(n));function D0(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||Kh(n):!0}const A0=new Set(["brightness","contrast","saturate","opacity"]);function V0(n){const[i,s]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[l]=s.match(Ja)||[];if(!l)return n;const u=s.replace(l,"");let d=A0.has(i)?1:0;return l!==s&&(d*=100),i+"("+d+u+")"}const L0=/\b([a-z-]*)\(.*?\)/gu,Na={...At,getAnimatableNone:n=>{const i=n.match(L0);return i?i.map(V0).join(" "):n}},Ia={...At,getAnimatableNone:n=>{const i=At.parse(n);return At.createTransformer(n)(i.map(l=>typeof l=="number"?0:typeof l=="object"?{...l,alpha:1}:l))}},Bd={...gr,transform:Math.round},_0={rotate:mn,rotateX:mn,rotateY:mn,rotateZ:mn,scale:Ls,scaleX:Ls,scaleY:Ls,scaleZ:Ls,skew:mn,skewX:mn,skewY:mn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:hi,originX:Pd,originY:Pd,originZ:Q},au={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,fontSize:Q,backgroundPositionX:Q,backgroundPositionY:Q,..._0,zIndex:Bd,fillOpacity:hi,strokeOpacity:hi,numOctaves:Bd},N0={...au,color:Fe,backgroundColor:Fe,outlineColor:Fe,fill:Fe,stroke:Fe,borderColor:Fe,borderTopColor:Fe,borderRightColor:Fe,borderBottomColor:Fe,borderLeftColor:Fe,filter:Na,WebkitFilter:Na,mask:Ia,WebkitMask:Ia},Ip=n=>N0[n],I0=new Set([Na,Ia]);function Fp(n,i){let s=Ip(n);return I0.has(s)||(s=At),s.getAnimatableNone?s.getAnimatableNone(i):void 0}
vendor: 1,717 bytes, line 40
40const F0=new Set(["auto","none","0"]);function O0(n,i,s){let l=0,u;for(;l<n.length&&!u;){const d=n[l];typeof d=="string"&&!F0.has(d)&&mr(d).values.length&&(u=n[l]),l++}if(u&&s)for(const d of i)n[d]=Fp(s,u)}class z0 extends ru{constructor(i,s,l,u,d){super(i,s,l,u,d,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:l}=this;if(!s||!s.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let w=i[y];if(typeof w=="string"&&(w=w.trim(),qa(w))){const S=Mp(w,s.current);S!==void 0&&(i[y]=S),y===i.length-1&&(this.finalKeyframe=w)}}if(this.resolveNoneKeyframes(),!Dp.has(l)||i.length!==2)return;const[u,d]=i,f=jd(u),p=jd(d),m=Cd(u),g=Cd(d);if(m!==g&&gn[l]){this.needsMeasurement=!0;return}if(f!==p)if(_d(f)&&_d(p))for(let y=0;y<i.length;y++){const w=i[y];typeof w=="string"&&(i[y]=parseFloat(w))}else gn[l]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,l=[];for(let u=0;u<i.length;u++)(i[u]===null||D0(i[u]))&&l.push(u);l.length&&O0(i,l,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:l}=this;if(!i||!i.current)return;l==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=gn[l](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&i.getValue(l,u).jump(u,!1)}measureEndState(){var p;const{element:i,name:s,unresolvedKeyframes:l}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const d=l.length-1,f=l[d];l[d]=gn[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(p=this.removedTransforms)!=null&&p.length&&this.removedTransforms.forEac
vendor: 36,768 bytes, line 40
40h(([m,g])=>{i.getValue(m).set(g)}),this.resolveNoneKeyframes()}}function Op(n,i,s){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let l=document;i&&(l=i.current);const u=(s==null?void 0:s[n])??l.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(l=>l!=null)}const zp=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function Os(n){return $h(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:uu}=ip(queueMicrotask,!1),Dt={x:!1,y:!1};function jp(){return Dt.x||Dt.y}function j0(n){return n==="x"||n==="y"?Dt[n]?null:(Dt[n]=!0,()=>{Dt[n]=!1}):Dt.x||Dt.y?null:(Dt.x=Dt.y=!0,()=>{Dt.x=Dt.y=!1})}function Bp(n,i){const s=Op(n),l=new AbortController,u={passive:!0,...i,signal:l.signal};return[s,u,()=>l.abort()]}function B0(n){return!(n.pointerType==="touch"||jp())}function U0(n,i,s={}){const[l,u,d]=Bp(n,s);return l.forEach(f=>{let p=!1,m=!1,g;const y=()=>{f.removeEventListener("pointerleave",R)},w=D=>{g&&(g(D),g=void 0),y()},S=D=>{p=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),m&&(m=!1,w(D))},C=()=>{p=!0,window.addEventListener("pointerup",S,u),window.addEventListener("pointercancel",S,u)},R=D=>{if(D.pointerType!=="touch"){if(p){m=!0;return}w(D)}},A=D=>{if(!B0(D))return;m=!1;const I=i(f,D);typeof I=="function"&&(g=I,f.addEventListener("pointerleave",R,u))};f.addEventListener("pointerenter",A,u),f.addEventListener("pointerdown",C,u)}),d}const Up=(n,i)=>i?n===i?!0:Up(n,i.parentElement):!1,cu=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,W0=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function H0(n){return W0.has(n.tagName)||n.isContentEditable===!0}const $0=new Set(["INPUT","SELECT","TEXTAREA"]);function K0(n){return $0.has(n.tagName)||n.isContentEditable===!0}const zs=new WeakSet;function Ud(n){return i=>{i.key==="Enter"&&n(i)}}function ua(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const G0=(n,i)=>{const s=n.currentTarget;if(!s)return;const l=Ud(()=>{if(zs.has(s))return;ua(s,"down");const u=Ud(()=>{ua(s,"up")}),d=()=>ua(s,"cancel");s.addEventListener("keyup",u,i),s.addEventListener("blur",d,i)});s.addEventListener("keydown",l,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",l),i)};function Wd(n){return cu(n)&&!jp()}const Hd=new WeakSet;function Q0(n,i,s={}){const[l,u,d]=Bp(n,s),f=p=>{const m=p.currentTarget;if(!Wd(p)||Hd.has(p))return;zs.add(m),s.stopPropagation&&Hd.add(p);const g=i(m,p),y=(C,R)=>{window.removeEventListener("pointerup",w),window.removeEventListener("pointercancel",S),zs.has(m)&&zs.delete(m),Wd(C)&&typeof g=="function"&&g(C,{success:R})},w=C=>{y(C,m===window||m===document||s.useGlobalTarget||Up(m,C.target))},S=C=>{y(C,!1)};window.addEventListener("pointerup",w,u),window.addEventListener("pointercancel",S,u)};return l.forEach(p=>{(s.useGlobalTarget?window:p).addEventListener("pointerdown",f,u),Os(p)&&(p.addEventListener("focus",g=>G0(g,u)),!H0(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),d}function fu(n){return $h(n)&&"ownerSVGElement"in n}const js=new WeakMap;let yn;const Wp=(n,i,s)=>(l,u)=>u&&u[0]?u[0][n+"Size"]:fu(l)&&"getBBox"in l?l.getBBox()[i]:l[s],Y0=Wp("inline","width","offsetWidth"),X0=Wp("block","height","offsetHeight");function Z0({target:n,borderBoxSize:i}){var s;(s=js.get(n))==null||s.forEach(l=>{l(n,{get width(){return Y0(n,i)},get height(){return X0(n,i)}})})}function q0(n){n.forEach(Z0)}function J0(){typeof ResizeObserver>"u"||(yn=new ResizeObserver(q0))}function b0(n,i){yn||J0();const s=Op(n);return s.forEach(l=>{let u=js.get(l);u||(u=new Set,js.set(l,u)),u.add(i),yn==null||yn.observe(l)}),()=>{s.forEach(l=>{const u=js.get(l);u==null||u.delete(i),u!=null&&u.size||yn==null||yn.unobserve(l)})}}const Bs=new Set;let hr;function e1(){hr=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Bs.forEach(i=>i(n))},window.addEventListener("resize",hr)}function t1(n){return Bs.add(n),hr||e1(),()=>{Bs.delete(n),!Bs.size&&typeof hr=="function"&&(window.removeEventListener("resize",hr),hr=void 0)}}function $d(n,i){return typeof n=="function"?t1(n):b0(n,i)}function n1(n){return fu(n)&&n.tagName==="svg"}const r1=[...Np,Fe,At],i1=n=>r1.find(_p(n)),Kd=()=>({translate:0,scale:1,origin:0,originPoint:0}),pr=()=>({x:Kd(),y:Kd()}),Gd=()=>({min:0,max:0}),je=()=>({x:Gd(),y:Gd()}),s1=new WeakMap;function to(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function pi(n){return typeof n=="string"||Array.isArray(n)}const du=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hu=["initial",...du];function no(n){return to(n.animate)||hu.some(i=>pi(n[i]))}function Hp(n){return!!(no(n)||n.variants)}function o1(n,i,s){for(const l in i){const u=i[l],d=s[l];if(Ge(u))n.addValue(l,u);else if(Ge(d))n.addValue(l,yr(u,{owner:n}));else if(d!==u)if(n.hasValue(l)){const f=n.getValue(l);f.liveStyle===!0?f.jump(u):f.hasAnimated||f.set(u)}else{const f=n.getStaticValue(l);n.addValue(l,yr(f!==void 0?f:u,{owner:n}))}}for(const l in s)i[l]===void 0&&n.removeValue(l);return i}const Fa={current:null},$p={current:!1},l1=typeof window<"u";function a1(){if($p.current=!0,!!l1)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>Fa.current=n.matches;n.addEventListener("change",i),i()}else Fa.current=!1}const Qd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Xs={};function Kp(n){Xs=n}function u1(){return Xs}class c1{scrapeMotionValuesFromProps(i,s,l){return{}}constructor({parent:i,props:s,presenceContext:l,reducedMotionConfig:u,skipAnimations:d,blockInitialAnimation:f,visualState:p},m={}){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=ru,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 C=be.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,ye.render(this.render,!1,!0))};const{latestValues:g,renderState:y}=p;this.latestValues=g,this.baseTarget={...g},this.initialValues=s.initial?{...g}:{},this.renderState=y,this.parent=i,this.props=s,this.presenceContext=l,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=d,this.options=m,this.blockInitialAnimation=!!f,this.isControllingVariants=no(s),this.isVariantNode=Hp(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:w,...S}=this.scrapeMotionValuesFromProps(s,{},this);for(const C in S){const R=S[C];g[C]!==void 0&&Ge(R)&&R.set(g[C])}}mount(i){var s,l;if(this.hasBeenMounted)for(const u in this.initialValues)(s=this.values.get(u))==null||s.jump(this.initialValues[u]),this.latestValues[u]=this.initialValues[u];this.current=i,s1.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,d)=>this.bindToMotionValue(d,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($p.current||a1(),this.shouldReduceMotion=Fa.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(l=this.parent)==null||l.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),wn(this.notifyUpdate),wn(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const l=this.features[s];l&&(l.unmount(),l.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,s){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),s.accelerate&&Pp.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:p,times:m,ease:g,duration:y}=s.accelerate,w=new kp({element:this.current,name:i,keyframes:p,times:m,ease:g,duration:dt(y)}),S=f(w);this.valueSubscriptions.set(i,()=>{S(),w.cancel()});return}const l=wr.has(i);l&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&ye.preRender(this.notifyUpdate),l&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{u(),d&&d(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Xs){const s=Xs[i];if(!s)continue;const{isEnabled:l,Feature:u}=s;if(!this.features[i]&&u&&l(this.props)&&(this.features[i]=new u(this)),this.features[i]){const d=this.features[i];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let l=0;l<Qd.length;l++){const u=Qd[l];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const d="on"+u,f=i[d];f&&(this.propEventSubscriptions[u]=this.on(u,f))}this.prevMotionValues=o1(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const l=this.values.get(i);s!==l&&(l&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let l=this.values.get(i);return l===void 0&&s!==void 0&&(l=yr(s===null?void 0:s,{owner:this}),this.addValue(i,l)),l}readValue(i,s){let l=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return l!=null&&(typeof l=="string"&&(Hh(l)||Kh(l))?l=parseFloat(l):!i1(l)&&At.test(s)&&(l=Fp(i,s)),this.setBaseTarget(i,Ge(l)?l.get():l)),Ge(l)?l.get():l}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){var d;const{initial:s}=this.props;let l;if(typeof s=="string"||typeof s=="object"){const f=ou(this.props,s,(d=this.presenceContext)==null?void 0:d.custom);f&&(l=f[i])}if(s&&l!==void 0)return l;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!Ge(u)?u:this.initialValues[i]!==void 0&&l===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new Ya),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){uu.render(this.render)}}class Gp extends c1{constructor(){super(...arguments),this.KeyframeResolver=z0}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){const l=i.style;return l?l[s]:void 0}removeValueFromRenderState(i,{vars:s,style:l}){delete s[i],delete l[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;Ge(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class Sn{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Qp({top:n,left:i,right:s,bottom:l}){return{x:{min:i,max:s},y:{min:n,max:l}}}function f1({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function d1(n,i){if(!i)return n;const s=i({x:n.left,y:n.top}),l=i({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:l.y,right:l.x}}function ca(n){return n===void 0||n===1}function Oa({scale:n,scaleX:i,scaleY:s}){return!ca(n)||!ca(i)||!ca(s)}function In(n){return Oa(n)||Yp(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function Yp(n){return Yd(n.x)||Yd(n.y)}function Yd(n){return n&&n!=="0%"}function Zs(n,i,s){const l=n-s,u=i*l;return s+u}function Xd(n,i,s,l,u){return u!==void 0&&(n=Zs(n,u,l)),Zs(n,s,l)+i}function za(n,i=0,s=1,l,u){n.min=Xd(n.min,i,s,l,u),n.max=Xd(n.max,i,s,l,u)}function Xp(n,{x:i,y:s}){za(n.x,i.translate,i.scale,i.originPoint),za(n.y,s.translate,s.scale,s.originPoint)}const Zd=.999999999999,qd=1.0000000000001;function h1(n,i,s,l=!1){var p;const u=s.length;if(!u)return;i.x=i.y=1;let d,f;for(let m=0;m<u;m++){d=s[m],f=d.projectionDelta;const{visualElement:g}=d.options;g&&g.props.style&&g.props.style.display==="contents"||(l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(Ot(n.x,-d.scroll.offset.x),Ot(n.y,-d.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,Xp(n,f)),l&&In(d.latestValues)&&Us(n,d.latestValues,(p=d.layout)==null?void 0:p.layoutBox))}i.x<qd&&i.x>Zd&&(i.x=1),i.y<qd&&i.y>Zd&&(i.y=1)}function Ot(n,i){n.min+=i,n.max+=i}function Jd(n,i,s,l,u=.5){const d=Te(n.min,n.max,u);za(n,i,s,d,l)}function bd(n,i){return typeof n=="string"?parseFloat(n)/100*(i.max-i.min):n}function Us(n,i,s){const l=s??n;Jd(n.x,bd(i.x,l.x),i.scaleX,i.scale,i.originX),Jd(n.y,bd(i.y,l.y),i.scaleY,i.scale,i.originY)}function Zp(n,i){return Qp(d1(n.getBoundingClientRect(),i))}function p1(n,i,s){const l=Zp(n,s),{scroll:u}=i;return u&&(Ot(l.x,u.offset.x),Ot(l.y,u.offset.y)),l}const m1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},y1=vr.length;function g1(n,i,s){let l="",u=!0;for(let d=0;d<y1;d++){const f=vr[d],p=n[f];if(p===void 0)continue;let m=!0;if(typeof p=="number")m=p===(f.startsWith("scale")?1:0);else{const g=parseFloat(p);m=f.startsWith("scale")?g===1:g===0}if(!m||s){const g=zp(p,au[f]);if(!m){u=!1;const y=m1[f]||f;l+=`${y}(${g}) `}s&&(i[f]=g)}}return l=l.trim(),s?l=s(i,u?"":l):u&&(l="none"),l}function pu(n,i,s){const{style:l,vars:u,transformOrigin:d}=n;let f=!1,p=!1;for(const m in i){const g=i[m];if(wr.has(m)){f=!0;continue}else if(op(m)){u[m]=g;continue}else{const y=zp(g,au[m]);m.startsWith("origin")?(p=!0,d[m]=y):l[m]=y}}if(i.transform||(f||s?l.transform=g1(i,n.transform,s):l.transform&&(l.transform="none")),p){const{originX:m="50%",originY:g="50%",originZ:y=0}=d;l.transformOrigin=`${m} ${g} ${y}`}}function qp(n,{style:i,vars:s},l,u){const d=n.style;let f;for(f in i)d[f]=i[f];u==null||u.applyProjectionStyles(d,l);for(f in s)d.setProperty(f,s[f])}function eh(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const oi={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(Q.test(n))n=parseFloat(n);else return n;const s=eh(n,i.target.x),l=eh(n,i.target.y);return`${s}% ${l}%`}},v1={correct:(n,{treeScale:i,projectionDelta:s})=>{const l=n,u=At.parse(n);if(u.length>5)return l;const d=At.createTransformer(n),f=typeof u[0]!="number"?1:0,p=s.x.scale*i.x,m=s.y.scale*i.y;u[0+f]/=p,u[1+f]/=m;const g=Te(p,m,.5);return typeof u[2+f]=="number"&&(u[2+f]/=g),typeof u[3+f]=="number"&&(u[3+f]/=g),d(u)}},ja={borderRadius:{...oi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:oi,borderTopRightRadius:oi,borderBottomLeftRadius:oi,borderBottomRightRadius:oi,boxShadow:v1};function Jp(n,{layout:i,layoutId:s}){return wr.has(n)||n.startsWith("origin")||(i||s!==void 0)&&(!!ja[n]||n==="opacity")}function mu(n,i,s){var f;const l=n.style,u=i==null?void 0:i.style,d={};if(!l)return d;for(const p in l)(Ge(l[p])||u&&Ge(u[p])||Jp(p,n)||((f=s==null?void 0:s.getValue(p))==null?void 0:f.liveStyle)!==void 0)&&(d[p]=l[p]);return d}function w1(n){return window.getComputedStyle(n)}class S1 extends Gp{constructor(){super(...arguments),this.type="html",this.renderInstance=qp}readValueFromInstance(i,s){var l;if(wr.has(s))return(l=this.projection)!=null&&l.isProjecting?Pa(s):Bv(i,s);{const u=w1(i),d=(op(s)?u.getPropertyValue(s):u[s])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(i,{transformPagePoint:s}){return Zp(i,s)}build(i,s,l){pu(i,s,l.transformTemplate)}scrapeMotionValuesFromProps(i,s,l){return mu(i,s,l)}}const x1={offset:"stroke-dashoffset",array:"stroke-dasharray"},T1={offset:"strokeDashoffset",array:"strokeDasharray"};function k1(n,i,s=1,l=0,u=!0){n.pathLength=1;const d=u?x1:T1;n[d.offset]=`${-l}`,n[d.array]=`${i} ${s}`}const C1=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function bp(n,{attrX:i,attrY:s,attrScale:l,pathLength:u,pathSpacing:d=1,pathOffset:f=0,...p},m,g,y){if(pu(n,p,g),m){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:w,style:S}=n;w.transform&&(S.transform=w.transform,delete w.transform),(S.transform||w.transformOrigin)&&(S.transformOrigin=w.transformOrigin??"50% 50%",delete w.transformOrigin),S.transform&&(S.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete w.transformBox);for(const C of C1)w[C]!==void 0&&(S[C]=w[C],delete w[C]);i!==void 0&&(w.x=i),s!==void 0&&(w.y=s),l!==void 0&&(w.scale=l),u!==void 0&&k1(w,u,d,f,!1)}const em=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"]),tm=n=>typeof n=="string"&&n.toLowerCase()==="svg";function P1(n,i,s,l){qp(n,i,void 0,l);for(const u in i.attrs)n.setAttribute(em.has(u)?u:lu(u),i.attrs[u])}function nm(n,i,s){const l=mu(n,i,s);for(const u in n)if(Ge(n[u])||Ge(i[u])){const d=vr.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;l[d]=n[u]}return l}class E1 extends Gp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=je}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(wr.has(s)){const l=Ip(s);return l&&l.default||0}return s=em.has(s)?s:lu(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,l){return nm(i,s,l)}build(i,s,l){bp(i,s,this.isSVGTag,l.transformTemplate,l.style)}renderInstance(i,s,l,u){P1(i,s,l,u)}mount(i){this.isSVGTag=tm(i.tagName),super.mount(i)}}const M1=hu.length;function rm(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?rm(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const i={};for(let s=0;s<M1;s++){const l=hu[s],u=n.props[l];(pi(u)||u===!1)&&(i[l]=u)}return i}function im(n,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==n.length)return!1;for(let l=0;l<s;l++)if(i[l]!==n[l])return!1;return!0}const R1=[...du].reverse(),D1=du.length;function A1(n){return i=>Promise.all(i.map(({animation:s,options:l})=>M0(n,s,l)))}function V1(n){let i=A1(n),s=th(),l=!0,u=!1;const d=g=>(y,w)=>{var C;const S=jn(n,w,g==="exit"?(C=n.presenceContext)==null?void 0:C.custom:void 0);if(S){const{transition:R,transitionEnd:A,...D}=S;y={...y,...D,...A}}return y};function f(g){i=g(n)}function p(g){const{props:y}=n,w=rm(n.parent)||{},S=[],C=new Set;let R={},A=1/0;for(let I=0;I<D1;I++){const B=R1[I],z=s[B],j=y[B]!==void 0?y[B]:w[B],$=pi(j),re=B===g?z.isActive:null;re===!1&&(A=I);let se=j===w[B]&&j!==y[B]&&$;if(se&&(l||u)&&n.manuallyAnimateOnMount&&(se=!1),z.protectedKeys={...R},!z.isActive&&re===null||!j&&!z.prevProp||to(j)||typeof j=="boolean")continue;if(B==="exit"&&z.isActive&&re!==!0){z.prevResolvedValues&&(R={...R,...z.prevResolvedValues});continue}const J=L1(z.prevProp,j);let ne=J||B===g&&z.isActive&&!se&&$||I>A&&$,Z=!1;const ue=Array.isArray(j)?j:[j];let me=ue.reduce(d(B),{});re===!1&&(me={});const{prevResolvedValues:Pe={}}=z,De={...Pe,...me},Ne=F=>{ne=!0,C.has(F)&&(Z=!0,C.delete(F)),z.needsAnimating[F]=!0;const Y=n.getValue(F);Y&&(Y.liveStyle=!1)};for(const F in De){const Y=me[F],U=Pe[F];if(R.hasOwnProperty(F))continue;let k=!1;Va(Y)&&Va(U)?k=!im(Y,U):k=Y!==U,k?Y!=null?Ne(F):C.add(F):Y!==void 0&&C.has(F)?Ne(F):z.protectedKeys[F]=!0}z.prevProp=j,z.prevResolvedValues=me,z.isActive&&(R={...R,...me}),(l||u)&&n.blockInitialAnimation&&(ne=!1);const we=se&&J;ne&&(!we||Z)&&S.push(...ue.map(F=>{const Y={type:B};if(typeof F=="string"&&(l||u)&&!we&&n.manuallyAnimateOnMount&&n.parent){const{parent:U}=n,k=jn(U,F);if(U.enteringChildren&&k){const{delayChildren:V}=k.transition||{};Y.delay=Ep(U.enteringChildren,n,V)}}return{animation:F,options:Y}}))}if(C.size){const I={};if(typeof y.initial!="boolean"){const B=jn(n,Array.isArray(y.initial)?y.initial[0]:y.initial);B&&B.transition&&(I.transition=B.transition)}C.forEach(B=>{const z=n.getBaseTarget(B),j=n.getValue(B);j&&(j.liveStyle=!0),I[B]=z??null}),S.push({animation:I})}let D=!!S.length;return l&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(D=!1),l=!1,u=!1,D?i(S):Promise.resolve()}function m(g,y){var S;if(s[g].isActive===y)return Promise.resolve();(S=n.variantChildren)==null||S.forEach(C=>{var R;return(R=C.animationState)==null?void 0:R.setActive(g,y)}),s[g].isActive=y;const w=p(g);for(const C in s)s[C].protectedKeys={};return w}return{animateChanges:p,setActive:m,setAnimateFunction:f,getState:()=>s,reset:()=>{s=th(),u=!0}}}function L1(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!im(i,n):!1}function Nn(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function th(){return{animate:Nn(!0),whileInView:Nn(),whileHover:Nn(),whileTap:Nn(),whileDrag:Nn(),whileFocus:Nn(),exit:Nn()}}function Ba(n,i){n.min=i.min,n.max=i.max}function Rt(n,i){Ba(n.x,i.x),Ba(n.y,i.y)}function nh(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const sm=1e-4,_1=1-sm,N1=1+sm,om=.01,I1=0-om,F1=0+om;function et(n){return n.max-n.min}function O1(n,i,s){return Math.abs(n-i)<=s}function rh(n,i,s,l=.5){n.origin=l,n.originPoint=Te(i.min,i.max,n.origin),n.scale=et(s)/et(i),n.translate=Te(s.min,s.max,n.origin)-n.originPoint,(n.scale>=_1&&n.scale<=N1||isNaN(n.scale))&&(n.scale=1),(n.translate>=I1&&n.translate<=F1||isNaN(n.translate))&&(n.translate=0)}function ci(n,i,s,l){rh(n.x,i.x,s.x,l?l.originX:void 0),rh(n.y,i.y,s.y,l?l.originY:void 0)}function ih(n,i,s,l=0){const u=l?Te(s.min,s.max,l):s.min;n.min=u+i.min,n.max=n.min+et(i)}function z1(n,i,s,l){ih(n.x,i.x,s.x,l==null?void 0:l.x),ih(n.y,i.y,s.y,l==null?void 0:l.y)}function sh(n,i,s,l=0){const u=l?Te(s.min,s.max,l):s.min;n.min=i.min-u,n.max=n.min+et(i)}function qs(n,i,s,l){sh(n.x,i.x,s.x,l==null?void 0:l.x),sh(n.y,i.y,s.y,l==null?void 0:l.y)}function oh(n,i,s,l,u){return n-=i,n=Zs(n,1/s,l),u!==void 0&&(n=Zs(n,1/u,l)),n}function j1(n,i=0,s=1,l=.5,u,d=n,f=n){if(zt.test(i)&&(i=parseFloat(i),i=Te(f.min,f.max,i/100)-f.min),typeof i!="number")return;let p=Te(d.min,d.max,l);n===d&&(p-=i),n.min=oh(n.min,i,s,p,u),n.max=oh(n.max,i,s,p,u)}function lh(n,i,[s,l,u],d,f){j1(n,i[s],i[l],i[u],i.scale,d,f)}const B1=["x","scaleX","originX"],U1=["y","scaleY","originY"];function ah(n,i,s,l){lh(n.x,i,B1,s?s.x:void 0,l?l.x:void 0),lh(n.y,i,U1,s?s.y:void 0,l?l.y:void 0)}function uh(n){return n.translate===0&&n.scale===1}function lm(n){return uh(n.x)&&uh(n.y)}function ch(n,i){return n.min===i.min&&n.max===i.max}function W1(n,i){return ch(n.x,i.x)&&ch(n.y,i.y)}function fh(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function am(n,i){return fh(n.x,i.x)&&fh(n.y,i.y)}function dh(n){return et(n.x)/et(n.y)}function hh(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function Ft(n){return[n("x"),n("y")]}function H1(n,i,s){let l="";const u=n.x.translate/i.x,d=n.y.translate/i.y,f=(s==null?void 0:s.z)||0;if((u||d||f)&&(l=`translate3d(${u}px, ${d}px, ${f}px) `),(i.x!==1||i.y!==1)&&(l+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:g,rotate:y,rotateX:w,rotateY:S,skewX:C,skewY:R}=s;g&&(l=`perspective(${g}px) ${l}`),y&&(l+=`rotate(${y}deg) `),w&&(l+=`rotateX(${w}deg) `),S&&(l+=`rotateY(${S}deg) `),C&&(l+=`skewX(${C}deg) `),R&&(l+=`skewY(${R}deg) `)}const p=n.x.scale*i.x,m=n.y.scale*i.y;return(p!==1||m!==1)&&(l+=`scale(${p}, ${m})`),l||"none"}const um=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],$1=um.length,ph=n=>typeof n=="string"?parseFloat(n):n,mh=n=>typeof n=="number"||Q.test(n);function K1(n,i,s,l,u,d){u?(n.opacity=Te(0,s.opacity??1,G1(l)),n.opacityExit=Te(i.opacity??1,0,Q1(l))):d&&(n.opacity=Te(i.opacity??1,s.opacity??1,l));for(let f=0;f<$1;f++){const p=um[f];let m=yh(i,p),g=yh(s,p);if(m===void 0&&g===void 0)continue;m||(m=0),g||(g=0),m===0||g===0||mh(m)===mh(g)?(n[p]=Math.max(Te(ph(m),ph(g),l),0),(zt.test(g)||zt.test(m))&&(n[p]+="%")):n[p]=g}(i.rotate||s.rotate)&&(n.rotate=Te(i.rotate||0,s.rotate||0,l))}function yh(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const G1=cm(0,.5,ep),Q1=cm(.5,.95,St);function cm(n,i,s){return l=>l<n?0:l>i?1:s(di(n,i,l))}function Y1(n,i,s){const l=Ge(n)?n:yr(n);return l.start(su("",l,i,s)),l.animation}function mi(n,i,s,l={passive:!0}){return n.addEventListener(i,s,l),()=>n.removeEventListener(i,s)}const X1=(n,i)=>n.depth-i.depth;class Z1{constructor(){this.children=[],this.isDirty=!1}add(i){Ga(this.children,i),this.isDirty=!0}remove(i){$s(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(X1),this.isDirty=!1,this.children.forEach(i)}}function q1(n,i){const s=be.now(),l=({timestamp:u})=>{const d=u-s;d>=i&&(wn(l),n(d-i))};return ye.setup(l,!0),()=>wn(l)}function Ws(n){return Ge(n)?n.get():n}class J1{constructor(){this.members=[]}add(i){Ga(this.members,i);for(let s=this.members.length-1;s>=0;s--){const l=this.members[s];if(l===i||l===this.lead||l===this.prevLead)continue;const u=l.instance;(!u||u.isConnected===!1)&&!l.snapshot&&($s(this.members,l),l.unmount())}i.scheduleRender()}remove(i){if($s(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){var s;for(let l=this.members.indexOf(i)-1;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1&&((s=u.instance)==null?void 0:s.isConnected)!==!1)return this.promote(u),!0}return!1}promote(i,s){var u;const l=this.lead;if(i!==l&&(this.prevLead=l,this.lead=i,i.show(),l)){l.updateSnapshot(),i.scheduleRender();const{layoutDependency:d}=l.options,{layoutDependency:f}=i.options;(d===void 0||d!==f)&&(i.resumeFrom=l,s&&(l.preserveOpacity=!0),l.snapshot&&(i.snapshot=l.snapshot,i.snapshot.latestValues=l.animationValues||l.latestValues),(u=i.root)!=null&&u.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&l.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var s,l,u,d,f;(l=(s=i.options).onExitComplete)==null||l.call(s),(f=(u=i.resumingFrom)==null?void 0:(d=u.options).onExitComplete)==null||f.call(d)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const Hs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},fa=["","X","Y","Z"],b1=1e3;let ew=0;function da(n,i,s,l){const{latestValues:u}=i;u[n]&&(s[n]=u[n],i.setStaticValue(n,0),l&&(l[n]=0))}function fm(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const s=Vp(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:d}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",ye,!(u||d))}const{parent:l}=n;l&&!l.hasCheckedOptimisedAppear&&fm(l)}function dm({attachResizeListener:n,defaultParent:i,measureScroll:s,checkIsScrollRoot:l,resetTransform:u}){return class{constructor(f={},p=i==null?void 0:i()){this.id=ew++,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(rw),this.nodes.forEach(uw),this.nodes.forEach(cw),this.nodes.forEach(iw)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new Z1)}addEventListener(f,p){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Ya),this.eventHandlers.get(f).add(p)}notifyListeners(f,...p){const m=this.eventHandlers.get(f);m&&m.notify(...p)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=fu(f)&&!n1(f),this.instance=f;const{layoutId:p,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||p)&&(this.isLayoutDirty=!0),n){let y,w=0;const S=()=>this.root.updateBlockedByResize=!1;ye.read(()=>{w=window.innerWidth}),n(f,()=>{const C=window.innerWidth;C!==w&&(w=C,this.root.updateBlockedByResize=!0,y&&y(),y=q1(S,250),Hs.hasAnimatedSinceResize&&(Hs.hasAnimatedSinceResize=!1,this.nodes.forEach(wh)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:w,hasRelativeLayoutChanged:S,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const R=this.options.transition||g.getDefaultTransition()||mw,{onLayoutAnimationStart:A,onLayoutAnimationComplete:D}=g.getProps(),I=!this.targetLayout||!am(this.targetLayout,C),B=!w&&S;if(this.options.layoutRoot||this.resumeFrom||B||w&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const z={...iu(R,"layout"),onPlay:A,onComplete:D};(g.shouldReduceMotion||this.options.layoutRoot)&&(z.delay=0,z.type=!1),this.startAnimation(z),this.setAnimationOrigin(y,B)}else w||wh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),wn(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(fw),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const w=this.path[y];w.shouldResetTransform=!0,(typeof w.latestValues.x=="string"||typeof w.latestValues.y=="string")&&(w.isLayoutDirty=!0),w.updateScroll("snapshot"),w.options.layoutRoot&&w.willUpdate(!1)}const{layoutId:p,layout:m}=this.options;if(p===void 0&&!m)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(ow),this.nodes.forEach(gh);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(vh);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(lw),this.nodes.forEach(aw),this.nodes.forEach(tw),this.nodes.forEach(nw)):this.nodes.forEach(vh),this.clearAllSnapshots();const p=be.now();Ke.delta=jt(0,1e3/60,p-Ke.timestamp),Ke.timestamp=p,Ke.isProcessing=!0,ra.update.process(Ke),ra.preRender.process(Ke),ra.render.process(Ke),Ke.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,uu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sw),this.sharedNodes.forEach(dw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!et(this.snapshot.measuredBox.x)&&!et(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=je()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(p=!1),p&&this.instance){const m=l(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:m,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!u)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!lm(this.projectionDelta),m=this.getTransformTemplate(),g=m?m(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;f&&this.instance&&(p||In(this.latestValues)||y)&&(u(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const p=this.measurePageBox();let m=this.removeElementScroll(p);return f&&(m=this.removeTransform(m)),yw(m),{animationId:this.root.animationId,measuredBox:p,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:f}=this.options;if(!f)return je();const p=f.measureViewportBox();if(!(((g=this.scroll)==null?void 0:g.wasRoot)||this.path.some(gw))){const{scroll:y}=this.root;y&&(Ot(p.x,y.offset.x),Ot(p.y,y.offset.y))}return p}removeElementScroll(f){var m;const p=je();
40if(Rt(p,f),(m=this.scroll)!=null&&m.wasRoot)return p;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:w,options:S}=y;y!==this.root&&w&&S.layoutScroll&&(w.wasRoot&&Rt(p,f),Ot(p.x,w.offset.x),Ot(p.y,w.offset.y))}return p}applyTransform(f,p=!1,m){var y,w;const g=m||je();Rt(g,f);for(let S=0;S<this.path.length;S++){const C=this.path[S];!p&&C.options.layoutScroll&&C.scroll&&C!==C.root&&(Ot(g.x,-C.scroll.offset.x),Ot(g.y,-C.scroll.offset.y)),In(C.latestValues)&&Us(g,C.latestValues,(y=C.layout)==null?void 0:y.layoutBox)}return In(this.latestValues)&&Us(g,this.latestValues,(w=this.layout)==null?void 0:w.layoutBox),g}removeTransform(f){var m;const p=je();Rt(p,f);for(let g=0;g<this.path.length;g++){const y=this.path[g];if(!In(y.latestValues))continue;let w;y.instance&&(Oa(y.latestValues)&&y.updateSnapshot(),w=je(),Rt(w,y.measurePageBox())),ah(p,y.latestValues,(m=y.snapshot)==null?void 0:m.layoutBox,w)}return In(this.latestValues)&&ah(p,this.latestValues),p}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==Ke.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var C;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==p;if(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:w}=this.options;if(!this.layout||!(y||w))return;this.resolvedRelativeTargetAt=Ke.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=je(),this.targetWithTransforms=je()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),z1(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Rt(this.target,this.layout.layoutBox),Xp(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Oa(this.parent.latestValues)||Yp(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,p,m){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=je(),this.relativeTargetOrigin=je(),qs(this.relativeTargetOrigin,p,m,this.options.layoutAnchor||void 0),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var R;const f=this.getLead(),p=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||(R=this.parent)!=null&&R.isProjectionDirty)&&
vendor: 9,180 bytes, line 40
40(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Ke.timestamp&&(m=!1),m)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;Rt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,S=this.treeScale.y;h1(this.layoutCorrected,this.treeScale,this.path,p),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=je());const{target:C}=f;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(nh(this.prevProjectionDelta.x,this.projectionDelta.x),nh(this.prevProjectionDelta.y,this.projectionDelta.y)),ci(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==S||!hh(this.projectionDelta.x,this.prevProjectionDelta.x)||!hh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var p;if((p=this.options.visualElement)==null||p.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=pr(),this.projectionDelta=pr(),this.projectionDeltaWithTransform=pr()}setAnimationOrigin(f,p=!1){const m=this.snapshot,g=m?m.latestValues:{},y={...this.latestValues},w=pr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const S=je(),C=m?m.source:void 0,R=this.layout?this.layout.source:void 0,A=C!==R,D=this.getStack(),I=!D||D.members.length<=1,B=!!(A&&!I&&this.options.crossfade===!0&&!this.path.some(pw));this.animationProgress=0;let z;this.mixTargetDelta=j=>{const $=j/1e3;Sh(w.x,f.x,$),Sh(w.y,f.y,$),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qs(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),hw(this.relativeTarget,this.relativeTargetOrigin,S,$),z&&W1(this.relativeTarget,z)&&(this.isProjectionDirty=!1),z||(z=je()),Rt(z,this.relativeTarget)),A&&(this.animationValues=y,K1(y,g,this.latestValues,$,B,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=$},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var p,m,g;this.notifyListeners("animationStart"),(p=this.currentAnimation)==null||p.stop(),(g=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||g.stop(),this.pendingAnimation&&(wn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ye.update(()=>{Hs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=yr(0)),this.motionValue.jump(0,!1),this.currentAnimation=Y1(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),f.onUpdate&&f.onUpdate(y)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(b1),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:p,target:m,layout:g,latestValues:y}=f;if(!(!p||!m||!g)){if(this!==f&&this.layout&&g&&hm(this.options.animationType,this.layout.layoutBox,g.layoutBox)){m=this.target||je();const w=et(this.layout.layoutBox.x);m.x.min=f.target.x.min,m.x.max=m.x.min+w;const S=et(this.layout.layoutBox.y);m.y.min=f.target.y.min,m.y.max=m.y.min+S}Rt(p,m),Us(p,y),ci(this.projectionDeltaWithTransform,this.layoutCorrected,p,y)}}registerSharedNode(f,p){this.sharedNodes.has(f)||this.sharedNodes.set(f,new J1),this.sharedNodes.get(f).add(p);const g=p.options.initialPromotionConfig;p.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(p):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var p;const{layoutId:f}=this.options;return f?((p=this.getStack())==null?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:f}=this.options;return f?(p=this.getStack())==null?void 0:p.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:p,preserveFollowOpacity:m}={}){const g=this.getStack();g&&g.promote(this,m),f&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let p=!1;const{latestValues:m}=f;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(p=!0),!p)return;const g={};m.z&&da("z",f,g,this.animationValues);for(let y=0;y<fa.length;y++)da(`rotate${fa[y]}`,f,g,this.animationValues),da(`skew${fa[y]}`,f,g,this.animationValues);f.render();for(const y in g)f.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);f.scheduleRender()}applyProjectionStyles(f,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Ws(p==null?void 0:p.pointerEvents)||"",f.transform=m?m(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Ws(p==null?void 0:p.pointerEvents)||""),this.hasProjected&&!In(this.latestValues)&&(f.transform=m?m({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let w=H1(this.projectionDeltaWithTransform,this.treeScale,y);m&&(w=m(y,w)),f.transform=w;const{x:S,y:C}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${C.origin*100}% 0`,g.animationValues?f.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const R in ja){if(y[R]===void 0)continue;const{correct:A,applyTo:D,isCSSVariable:I}=ja[R],B=w==="none"?y[R]:A(y[R],g);if(D){const z=D.length;for(let j=0;j<z;j++)f[D[j]]=B}else I?this.options.visualElement.renderState.vars[R]=B:f[R]=B}this.options.layoutId&&(f.pointerEvents=g===this?Ws(p==null?void 0:p.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var p;return(p=f.currentAnimation)==null?void 0:p.stop()}),this.root.nodes.forEach(gh),this.root.sharedNodes.clear()}}}function tw(n){n.updateLayout()}function nw(n){var s;const i=((s=n.resumeFrom)==null?void 0:s.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:u}=n.layout,{animationType:d}=n.options,f=i.source!==n.layout.source;if(d==="size")Ft(w=>{const S=f?i.measuredBox[w]:i.layoutBox[w],C=et(S);S.min=l[w].min,S.max=S.min+C});else if(d==="x"||d==="y"){const w=d==="x"?"y":"x";Ba(f?i.measuredBox[w]:i.layoutBox[w],l[w])}else hm(d,i.layoutBox,l)&&Ft(w=>{const S=f?i.measuredBox[w]:i.layoutBox[w],C=et(l[w]);S.max=S.min+C,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[w].max=n.relativeTarget[w].min+C)});const p=pr();ci(p,l,i.layoutBox);const m=pr();f?ci(m,n.applyTransform(u,!0),i.measuredBox):ci(m,l,i.layoutBox);const g=!lm(p);let y=!1;if(!n.resumeFrom){const w=n.getClosestProjectingParent();if(w&&!w.resumeFrom){const{snapshot:S,layout:C}=w;if(S&&C){const R=n.options.layoutAnchor||void 0,A=je();qs(A,i.layoutBox,S.layoutBox,R);const D=je();qs(D,l,C.layoutBox,R),am(A,D)||(y=!0),w.options.layoutRoot&&(n.relativeTarget=D,n.relativeTargetOrigin=A,n.relativeParent=w)}}}n.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:m,layoutDelta:p,hasLayoutChanged:g,hasRelativeLayoutChanged:y})}else if(n.isLead()){const{onExitComplete:l}=n.options;l&&l()}n.options.transition=void 0}function rw(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}
40function iw(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function sw(n){n.clearSnapshot()}function gh(n){n.clearMeasurements()}function ow(n){n.isLayoutDirty=!0,n.updateLayout()}function vh(n){n.isLayoutDirty=!1}function lw(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function aw(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function wh(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function uw(n){n.resolveTargetDelta()}function cw(n){n.calcProjection()}function fw(n){n.resetSkewAndRotation()}function dw(n){n.removeLeadSnapshot()}function Sh(n,i,s){n.translate=Te(i.translate,0,s),n.scale=Te(i.scale,1,s),n.origin=i.origin,n.originPoint=i.originPoint}function xh(n,i,s,l){n.min=Te(i.min,s.min,l),n.max=Te(i.max,s.max,l)}function hw(n,i,s,l){xh(n.x,i.x,s.x,l),xh(n.y,i.y,s.y,l)}function pw(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const mw={duration:.45,ease:[.4,0,.1,1]},Th=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),kh=Th("applewebkit/")&&!Th("chrome/")?Math.round:St;function Ch(n){n.min=kh(n.min),n.max=kh(n.max)}function yw(n){Ch(n.x),Ch(n.y)}function hm(n,i,s){return n==="position"||n==="preserve-aspect"&&!O1(dh(i),dh(s),.2)}function gw(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const vw=dm({attachResizeListener:(n,i)=>mi(n,"resize",i),measureScroll:()=>{var n,i;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),ha={current:void 0},pm=dm({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!ha.current){const n=new vw({});n.mount(window),n.setOptions({layoutScroll:!0}),ha.current=n}return ha.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),yu=H.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function Ph(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function ww(...n){return i=>{let s=!1;const l=n.map(u=>{const d=Ph(u,i);return!s&&typeof d=="function"&&(s=!0),d});if(s)return()=>{for(let u=0;u<l.length;u++){const d=l[u];typeof d=="function"?d():Ph(n[u],null)}}}}function Sw(...n){return H.useCallback(ww(...n),n)}class xw extends H.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(Os(s)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const l=s.offsetParent,u=Os(l)&&l.offsetWidth||0,d=Os(l)&&l.offsetHeight||0,f=getComputedStyle(s),p=this.props.sizeRef.current;p.height=parseFloat(f.height),p.width=parseFloat(f.width),p.top=s.offsetTop,p.left=s.offsetLeft,p.right=u-p.width-p.left,p.bottom=d-p.height-p.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Tw({children:n,isPresent:i,anchorX:s,anchorY:l,root:u,pop:d}){var S;const f=H.useId(),p=H.useRef(null),m=H.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=H.useContext(yu),y=((S=n.props)==null?void 0:S.ref)??(n==null?void 0:n.ref),w=Sw(p,y);return H.useInsertionEffect(()=>{const{width:C,height:R,top:A,left:D,right:I,bottom:B}=m.current;if(i||d===!1||!p.current||!C||!R)return;const z=s==="left"?`left: ${D}`:`right: ${I}`,j=l==="bottom"?`bottom: ${B}`:`top: ${A}`;p.current.dataset.motionPopId=f;const $=document.createElement("style");g&&($.nonce=g);const re=u??document.head;return re.appendChild($),$.sheet&&$.sheet.insertRule(` 41 [data-motion-pop-id="${f}"] { 42 position: absolute !important; 43 width: ${C}px !important; 44 height: ${R}px !important; 45 ${z}px !important; 46 ${j}px !important; 47 } 48 `),()=>{var se;(se=p.current)==null||se.removeAttribute("data-motion-pop-id"),re.contains($)&&re.removeChild($)}},[i]),Yt.jsx(xw,{isPresent:i,childRef:p,sizeRef:m,pop:d,children:d===!1?n:H.cloneElement(n,{ref:w})})}const kw=({children:n,initial:i,isPresent:s,onExitComplete:l,custom:u,presenceAffectsLayout:d,mode:f,anchorX:p,anchorY:m,root:g})=>{const y=Ka(Cw),w=H.useId();let S=!0,C=H.useMemo(()=>(S=!1,{id:w,initial:i,isPresent:s,custom:u,onExitComplete:R=>{y.set(R,!0);for(const A of y.values())if(!A)return;l&&l()},register:R=>(y.set(R,!1),()=>y.delete(R))}),[s,y,l]);return d&&S&&(C={...C}),H.useMemo(()=>
vendor: 4,932 bytes, line 48
48{y.forEach((R,A)=>y.set(A,!1))},[s]),H.useEffect(()=>{!s&&!y.size&&l&&l()},[s]),n=Yt.jsx(Tw,{pop:f==="popLayout",isPresent:s,anchorX:p,anchorY:m,root:g,children:n}),Yt.jsx(bs.Provider,{value:C,children:n})};function Cw(){return new Map}function mm(n=!0){const i=H.useContext(bs);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:l,register:u}=i,d=H.useId();H.useEffect(()=>{if(n)return u(d)},[n]);const f=H.useCallback(()=>n&&l&&l(d),[d,l,n]);return!s&&l?[!1,f]:[!0]}const _s=n=>n.key||"";function Eh(n){const i=[];return H.Children.forEach(n,s=>{H.isValidElement(s)&&i.push(s)}),i}const FS=({children:n,custom:i,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync",propagate:f=!1,anchorX:p="left",anchorY:m="top",root:g})=>{const[y,w]=mm(f),S=H.useMemo(()=>Eh(n),[n]),C=f&&!y?[]:S.map(_s),R=H.useRef(!0),A=H.useRef(S),D=Ka(()=>new Map),I=H.useRef(new Set),[B,z]=H.useState(S),[j,$]=H.useState(S);Wh(()=>{R.current=!1,A.current=S;for(let J=0;J<j.length;J++){const ne=_s(j[J]);C.includes(ne)?(D.delete(ne),I.current.delete(ne)):D.get(ne)!==!0&&D.set(ne,!1)}},[j,C.length,C.join("-")]);const re=[];if(S!==B){let J=[...S];for(let ne=0;ne<j.length;ne++){const Z=j[ne],ue=_s(Z);C.includes(ue)||(J.splice(ne,0,Z),re.push(Z))}return d==="wait"&&re.length&&(J=re),$(Eh(J)),z(S),null}const{forceRender:se}=H.useContext($a);return Yt.jsx(Yt.Fragment,{children:j.map(J=>{const ne=_s(J),Z=f&&!y?!1:S===j||C.includes(ne),ue=()=>{if(I.current.has(ne))return;if(D.has(ne))I.current.add(ne),D.set(ne,!0);else return;let me=!0;D.forEach(Pe=>{Pe||(me=!1)}),me&&(se==null||se(),$(A.current),f&&(w==null||w()),l&&l())};return Yt.jsx(kw,{isPresent:Z,initial:!R.current||s?void 0:!1,custom:i,presenceAffectsLayout:u,mode:d,root:g,onExitComplete:Z?void 0:ue,anchorX:p,anchorY:m,children:J},ne)})})},ym=H.createContext({strict:!1}),Mh={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 Rh=!1;function Pw(){if(Rh)return;const n={};for(const i in Mh)n[i]={isEnabled:s=>Mh[i].some(l=>!!s[l])};Kp(n),Rh=!0}function gm(){return Pw(),u1()}function Ew(n){const i=gm();for(const s in n)i[s]={...i[s],...n[s]};Kp(i)}const Mw=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 Js(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||Mw.has(n)}let vm=n=>!Js(n);function Rw(n){typeof n=="function"&&(vm=i=>i.startsWith("on")?!Js(i):n(i))}try{Rw(require("@emotion/is-prop-valid").default)}catch{}function Dw(n,i,s){const l={};for(const u in n)u==="values"&&typeof n.values=="object"||Ge(n[u])||(vm(u)||s===!0&&Js(u)||!i&&!Js(u)||n.draggable&&u.startsWith("onDrag"))&&(l[u]=n[u]);return l}const ro=H.createContext({});function Aw(n,i){if(no(n)){const{initial:s,animate:l}=n;return{initial:s===!1||pi(s)?s:void 0,animate:pi(l)?l:void 0}}return n.inherit!==!1?i:{}}function Vw(n){const{initial:i,animate:s}=Aw(n,H.useContext(ro));return H.useMemo(()=>({initial:i,animate:s}),[Dh(i),Dh(s)])}function Dh(n){return Array.isArray(n)?n.join(" "):n}const gu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wm(n,i,s){for(const l in i)!Ge(i[l])&&!Jp(l,s)&&(n[l]=i[l])}function Lw({transformTemplate:n},i){return H.useMemo(()=>{const s=gu();return pu(s,i,n),Object.assign({},s.vars,s.style)},[i])}function _w(n,i){const s=n.style||{},l={};return wm(l,s,n),Object.assign(l,Lw(n,i)),l}function Nw(n,i){const s={},l=_w(n,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,l.userSelect=l.WebkitUserSelect=l.WebkitTouchCallout="none",l.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=l,s}const Sm=()=>({...gu(),attrs:{}});function Iw(n,i,s,l){const u=H.useMemo(()=>{const d=Sm();return bp(d,i,tm(l),n.transformTemplate,n.style),{...d.attrs,style:{...d.style}}},[i]);if(n.style){const d={};wm(d,n.style,n),u.style={...d,...u.style}}return u}const Fw=["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"];
vendor: 22,828 bytes, line 48
48function vu(n){return typeof n!="string"||n.includes("-")?!1:!!(Fw.indexOf(n)>-1||/[A-Z]/u.test(n))}function Ow(n,i,s,{latestValues:l},u,d=!1,f){const m=(f??vu(n)?Iw:Nw)(i,l,u,n),g=Dw(i,typeof n=="string",d),y=n!==H.Fragment?{...g,...m,ref:s}:{},{children:w}=i,S=H.useMemo(()=>Ge(w)?w.get():w,[w]);return H.createElement(n,{...y,children:S})}function zw({scrapeMotionValuesFromProps:n,createRenderState:i},s,l,u){return{latestValues:jw(s,l,u,n),renderState:i()}}function jw(n,i,s,l){const u={},d=l(n,{});for(const S in d)u[S]=Ws(d[S]);let{initial:f,animate:p}=n;const m=no(n),g=Hp(n);i&&g&&!m&&n.inherit!==!1&&(f===void 0&&(f=i.initial),p===void 0&&(p=i.animate));let y=s?s.initial===!1:!1;y=y||f===!1;const w=y?p:f;if(w&&typeof w!="boolean"&&!to(w)){const S=Array.isArray(w)?w:[w];for(let C=0;C<S.length;C++){const R=ou(n,S[C]);if(R){const{transitionEnd:A,transition:D,...I}=R;for(const B in I){let z=I[B];if(Array.isArray(z)){const j=y?z.length-1:0;z=z[j]}z!==null&&(u[B]=z)}for(const B in A)u[B]=A[B]}}}return u}const xm=n=>(i,s)=>{const l=H.useContext(ro),u=H.useContext(bs),d=()=>zw(n,i,l,u);return s?d():Ka(d)},Bw=xm({scrapeMotionValuesFromProps:mu,createRenderState:gu}),Uw=xm({scrapeMotionValuesFromProps:nm,createRenderState:Sm}),Ww=Symbol.for("motionComponentSymbol");function Hw(n,i,s){const l=H.useRef(s);H.useInsertionEffect(()=>{l.current=s});const u=H.useRef(null);return H.useCallback(d=>{var p;d&&((p=n.onMount)==null||p.call(n,d));const f=l.current;if(typeof f=="function")if(d){const m=f(d);typeof m=="function"&&(u.current=m)}else u.current?(u.current(),u.current=null):f(d);else f&&(f.current=d);i&&(d?i.mount(d):i.unmount())},[i])}const Tm=H.createContext({});function fr(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function $w(n,i,s,l,u,d){var z,j;const{visualElement:f}=H.useContext(ro),p=H.useContext(ym),m=H.useContext(bs),g=H.useContext(yu),y=g.reducedMotion,w=g.skipAnimations,S=H.useRef(null),C=H.useRef(!1);l=l||p.renderer,!S.current&&l&&(S.current=l(n,{visualState:i,parent:f,props:s,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y,skipAnimations:w,isSVG:d}),C.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const R=S.current,A=H.useContext(Tm);R&&!R.projection&&u&&(R.type==="html"||R.type==="svg")&&Kw(S.current,s,u,A);const D=H.useRef(!1);H.useInsertionEffect(()=>{R&&D.current&&R.update(s,m)});const I=s[Ap],B=H.useRef(!!I&&typeof window<"u"&&!((z=window.MotionHandoffIsComplete)!=null&&z.call(window,I))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,I)));return Wh(()=>{C.current=!0,R&&(D.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),B.current&&R.animationState&&R.animationState.animateChanges())}),H.useEffect(()=>{R&&(!B.current&&R.animationState&&R.animationState.animateChanges(),B.current&&(queueMicrotask(()=>{var $;($=window.MotionHandoffMarkAsComplete)==null||$.call(window,I)}),B.current=!1),R.enteringChildren=void 0)}),R}function Kw(n,i,s,l){const{layoutId:u,layout:d,drag:f,dragConstraints:p,layoutScroll:m,layoutRoot:g,layoutAnchor:y,layoutCrossfade:w}=i;n.projection=new s(n.latestValues,i["data-framer-portal-id"]?void 0:km(n.parent)),n.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!f||p&&fr(p),visualElement:n,animationType:typeof d=="string"?d:"both",initialPromotionConfig:l,crossfade:w,layoutScroll:m,layoutRoot:g,layoutAnchor:y})}function km(n){if(n)return n.options.allowProjection!==!1?n.projection:km(n.parent)}function pa(n,{forwardMotionProps:i=!1,type:s}={},l,u){l&&Ew(l);const d=s?s==="svg":vu(n),f=d?Uw:Bw;function p(g,y){let w;const S={...H.useContext(yu),...g,layoutId:Gw(g)},{isStatic:C}=S,R=Vw(g),A=f(g,C);if(!C&&typeof window<"u"){Qw();const D=Yw(S);w=D.MeasureLayout,R.visualElement=$w(n,A,S,u,D.ProjectionNode,d)}return Yt.jsxs(ro.Provider,{value:R,children:[w&&R.visualElement?Yt.jsx(w,{visualElement:R.visualElement,...S}):null,Ow(n,g,Hw(A,R.visualElement,y),A,C,i,d)]})}p.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const m=H.forwardRef(p);return m[Ww]=n,m}function Gw({layoutId:n}){const i=H.useContext($a).id;return i&&n!==void 0?i+"-"+n:n}function Qw(n,i){H.useContext(ym).strict}function Yw(n){const i=gm(),{drag:s,layout:l}=i;if(!s&&!l)return{};const u={...s,...l};return{MeasureLayout:s!=null&&s.isEnabled(n)||l!=null&&l.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function Xw(n,i){if(typeof Proxy>"u")return pa;const s=new Map,l=(d,f)=>pa(d,f,n,i),u=(d,f)=>l(d,f);return new Proxy(u,{get:(d,f)=>f==="create"?l:(s.has(f)||s.set(f,pa(f,void 0,n,i)),s.get(f))})}const Zw=(n,i)=>i.isSVG??vu(n)?new E1(i):new S1(i,{allowProjection:n!==H.Fragment});class qw extends Sn{constructor(i){super(i),i.animationState||(i.animationState=V1(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();to(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let Jw=0;class bw extends Sn{constructor(){super(...arguments),this.id=Jw++,this.isExitComplete=!1}update(){var d;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:l}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===l)return;if(i&&l===!1){if(this.isExitComplete){const{initial:f,custom:p}=this.node.getProps();if(typeof f=="string"){const m=jn(this.node,f,p);if(m){const{transition:g,transitionEnd:y,...w}=m;for(const S in w)(d=this.node.getValue(S))==null||d.jump(w[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!i);s&&!i&&u.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const eS={animation:{Feature:qw},exit:{Feature:bw}};function wi(n){return{point:{x:n.pageX,y:n.pageY}}}const tS=n=>i=>cu(i)&&n(i,wi(i));function fi(n,i,s,l){return mi(n,i,tS(s),l)}const Cm=({current:n})=>n?n.ownerDocument.defaultView:null,Ah=(n,i)=>Math.abs(n-i);function nS(n,i){const s=Ah(n.x,i.x),l=Ah(n.y,i.y);return Math.sqrt(s**2+l**2)}const Vh=new Set(["auto","scroll"]);class Pm{constructor(i,s,{transformPagePoint:l,contextWindow:u=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3,element:p}={}){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=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ns(this.lastRawMoveEventInfo,this.transformPagePoint));const C=ma(this.lastMoveEventInfo,this.history),R=this.startEvent!==null,A=nS(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!R&&!A)return;const{point:D}=C,{timestamp:I}=Ke;this.history.push({...D,timestamp:I});const{onStart:B,onMove:z}=this.handlers;R||(B&&B(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),z&&z(this.lastMoveEvent,C)},this.handlePointerMove=(C,R)=>{this.lastMoveEvent=C,this.lastRawMoveEventInfo=R,this.lastMoveEventInfo=Ns(R,this.transformPagePoint),ye.update(this.updatePoint,!0)},this.handlePointerUp=(C,R)=>{this.end();const{onEnd:A,onSessionEnd:D,resumeAnimation:I}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&I&&I(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=ma(C.type==="pointercancel"?this.lastMoveEventInfo:Ns(R,this.transformPagePoint),this.history);this.startEvent&&A&&A(C,B),D&&D(C,B)},!cu(i))return;this.dragSnapToOrigin=d,this.handlers=s,this.transformPagePoint=l,this.distanceThreshold=f,this.contextWindow=u||window;const m=wi(i),g=Ns(m,this.transformPagePoint),{point:y}=g,{timestamp:w}=Ke;this.history=[{...y,timestamp:w}];const{onSessionStart:S}=s;S&&S(i,ma(g,this.history)),this.removeListeners=yi(fi(this.contextWindow,"pointermove",this.handlePointerMove),fi(this.contextWindow,"pointerup",this.handlePointerUp),fi(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(i){let s=i.parentElement;for(;s;){const l=getComputedStyle(s);(Vh.has(l.overflowX)||Vh.has(l.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.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(i){const s=this.scrollPositions.get(i);if(!s)return;const l=i===window,u=l?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},d={x:u.x-s.x,y:u.y-s.y};d.x===0&&d.y===0||(l?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(i,u),ye.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),wn(this.updatePoint)}}function Ns(n,i){return i?{point:i(n.point)}:n}function Lh(n,i){return{x:n.x-i.x,y:n.y-i.y}}function ma({point:n},i){return{point:n,delta:Lh(n,Em(i)),offset:Lh(n,rS(i)),velocity:iS(i,.1)}}function rS(n){return n[0]}function Em(n){return n[n.length-1]}function iS(n,i){if(n.length<2)return{x:0,y:0};let s=n.length-1,l=null;const u=Em(n);for(;s>=0&&(l=n[s],!(u.timestamp-l.timestamp>dt(i)));)s--;if(!l)return{x:0,y:0};l===n[0]&&n.length>2&&u.timestamp-l.timestamp>dt(i)*2&&(l=n[1]);const d=wt(u.timestamp-l.timestamp);if(d===0)return{x:0,y:0};const f={x:(u.x-l.x)/d,y:(u.y-l.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function sS(n,{min:i,max:s},l){return i!==void 0&&n<i?n=l?Te(i,n,l.min):Math.max(n,i):s!==void 0&&n>s&&(n=l?Te(s,n,l.max):Math.min(n,s)),n}function _h(n,i,s){return{min:i!==void 0?n.min+i:void 0,max:s!==void 0?n.max+s-(n.max-n.min):void 0}}function oS(n,{top:i,left:s,bottom:l,right:u}){return{x:_h(n.x,s,u),y:_h(n.y,i,l)}}function Nh(n,i){let s=i.min-n.min,l=i.max-n.max;return i.max-i.min<n.max-n.min&&([s,l]=[l,s]),{min:s,max:l}}function lS(n,i){return{x:Nh(n.x,i.x),y:Nh(n.y,i.y)}}function aS(n,i){let s=.5;const l=et(n),u=et(i);return u>l?s=di(i.min,i.max-l,n.min):l>u&&(s=di(n.min,n.max-u,i.min)),jt(0,1,s)}function uS(n,i){const s={};return i.min!==void 0&&(s.min=i.min-n.min),i.max!==void 0&&(s.max=i.max-n.min),s}const Ua=.35;function cS(n=Ua){return n===!1?n=0:n===!0&&(n=Ua),{x:Ih(n,"left","right"),y:Ih(n,"top","bottom")}}function Ih(n,i,s){return{min:Fh(n,i),max:Fh(n,s)}}function Fh(n,i){return typeof n=="number"?n:n[i]||0}const fS=new WeakMap;class dS{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:l}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const d=w=>{s&&this.snapToCursor(wi(w).point),this.stopAnimation()},f=(w,S)=>{const{drag:C,dragPropagation:R,onDragStart:A}=this.getProps();if(C&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=j0(C),!this.openDragLock))return;this.latestPointerEvent=w,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ft(I=>{let B=this.getAxisMotionValue(I).get()||0;if(zt.test(B)){const{projection:z}=this.visualElement;if(z&&z.layout){const j=z.layout.layoutBox[I];j&&(B=et(j)*(parseFloat(B)/100))}}this.originPoint[I]=B}),A&&ye.update(()=>A(w,S),!1,!0),La(this.visualElement,"transform");const{animationState:D}=this.visualElement;D&&D.setActive("whileDrag",!0)},p=(w,S)=>{this.latestPointerEvent=w,this.latestPanInfo=S;const{dragPropagation:C,dragDirectionLock:R,onDirectionLock:A,onDrag:D}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:I}=S;if(R&&this.currentDirection===null){this.currentDirection=pS(I),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",S.point,I),this.updateAxis("y",S.point,I),this.visualElement.render(),D&&ye.update(()=>D(w,S),!1,!0)},m=(w,S)=>{this.latestPointerEvent=w,this.latestPanInfo=S,this.stop(w,S),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:w}=this.getProps();(w||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new Pm(i,{onSessionStart:d,onStart:f,onMove:p,onSessionEnd:m,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:l,contextWindow:Cm(this.visualElement),element:this.visualElement.current})}stop(i,s){const l=i||this.latestPointerEvent,u=s||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!u||!l)return;const{velocity:f}=u;this.startAnimation(f);const{onDragEnd:p}=this.getProps();p&&ye.postRender(()=>p(l,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:l}=this.getProps();!l&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,s,l){const{drag:u}=this.getProps();if(!l||!Is(i,u,this.currentDirection))return;const d=this.getAxisMotionValue(i);let f=this.originPoint[i]+l[i];this.constraints&&this.constraints[i]&&(f=sS(f,this.constraints[i],this.elastic[i])),d.set(f)}resolveConstraints(){var d;const{dragConstraints:i,dragElastic:s}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(d=this.visualElement.projection)==null?void 0:d.layout,u=this.constraints;i&&fr(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&l?this.constraints=oS(l.layoutBox,i):this.constraints=!1,this.elastic=cS(s),u!==this.constraints&&!fr(i)&&l&&this.constraints&&!this.hasMutatedConstraints&&Ft(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=uS(l.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!fr(i))return!1;const l=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const d=p1(l,u.root,this.visualElement.getTransformPagePoint());let f=lS(u.layout.layoutBox,d);if(s){const p=s(f1(f));this.hasMutatedConstraints=!!p,p&&(f=Qp(p))}return f}startAnimation(i){const{drag:s,dragMomentum:l,dragElastic:u,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:p}=this.getProps(),m=this.constraints||{},g=Ft(y=>{if(!Is(y,s,this.currentDirection))return;let w=m&&m[y]||{};(f===!0||f===y)&&(w={min:0,max:0});const S=u?200:1e6,C=u?40:1e7,R={type:"inertia",velocity:l?i[y]:0,bounceStiffness:S,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...d,...w};return this.startAxisValueAnimation(y,R)});return Promise.all(g).then(p)}startAxisValueAnimation(i,s){const l=this.getAxisMotionValue(i);return La(this.visualElement,i),l.start(su(i,l,0,s,this.visualElement,!1))}stopAnimation(){Ft(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,l=this.visualElement.getProps(),u=l[s];return u||this.visualElement.getValue(i,(l.initial?l.initial[i]:void 0)||0)}snapToCursor(i){Ft(s=>{const{drag:l}=this.getProps();if(!Is(s,l,this.currentDirection))return;const{projection:u}=this.visualElement,d=this.getAxisMotionValue(s);if(u&&u.layout){const{min:f,max:p}=u.layout.layoutBox[s],m=d.get()||0;d.set(i[s]-Te(f,p,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:l}=this.visualElement;if(!fr(s)||!l||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Ft(f=>{const p=this.getAxisMotionValue(f);if(p&&this.constraints!==!1){const m=p.get();u[f]=aS({min:m,max:m},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",l.root&&l.root.updateScroll(),l.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ft(f=>{if(!Is(f,i,null))return;const p=this.getAxisMotionValue(f),{min:m,max:g}=this.constraints[f];p.set(Te(m,g,u[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;fS.set(this.visualElement,this);const i=this.visualElement.current,s=fi(i,"pointerdown",g=>{const{drag:y,dragListener:w=!0}=this.getProps(),S=g.target,C=S!==i&&K0(S);y&&w&&!C&&this.start(g)});let l;const u=()=>{const{dragConstraints:g}=this.getProps();fr(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),l||(l=hS(i,g.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,f=d.addEventListener("measure",u);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),ye.read(u);const p=mi(window,"resize",()=>this.scalePositionWithinConstraints()),m=d.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:y})=>{this.isDragging&&y&&(Ft(w=>{const S=this.getAxisMotionValue(w);S&&(this.originPoint[w]+=g[w].translate,S.set(S.get()+g[w].translate))}),this.visualElement.render())}));return()=>{p(),s(),f(),m&&m(),l&&l()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:l=!1,dragPropagation:u=!1,dragConstraints:d=!1,dragElastic:f=Ua,dragMomentum:p=!0}=i;return{...i,drag:s,dragDirectionLock:l,dragPropagation:u,dragConstraints:d,dragElastic:f,dragMomentum:p}}}function Oh(n){let i=!0;return()=>{if(i){i=!1;return}n()}}function hS(n,i,s){const l=$d(n,Oh(s)),u=$d(i,Oh(s));return()=>{l(),u()}}function Is(n,i,s){return(i===!0||i===n)&&(s===null||s===n)}function pS(n,i=10){let s=null;return Math.abs(n.y)>i?s="y":Math.abs(n.x)>i&&(s="x"),s}class mS extends Sn{constructor(i){super(i),this.removeGroupControls=St,this.removeListeners=St,this.controls=new dS(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}update(){const{dragControls:i}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};i!==s&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const ya=n=>(i,s)=>{n&&ye.update(()=>n(i,s),!1,!0)};class yS extends Sn{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(i){this.session=new Pm(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cm(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:l,onPanEnd:u}=this.node.getProps();return{onSessionStart:ya(i),onStart:ya(s),onMove:ya(l),onEnd:(d,f)=>{delete this.session,u&&ye.postRender(()=>u(d,f))}}}mount(){this.removePointerDownListener=fi(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ga=!1;class gS extends H.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:l,layoutId:u}=this.props,{projection:d}=i;d&&(s.group&&s.group.add(d),l&&l.register&&u&&l.register(d),ga&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Hs.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:l,drag:u,isPresent:d}=this.props,{projection:f}=l;return f&&(f.isPresent=d,i.layoutDependency!==s&&f.setOptions({...f.options,layoutDependency:s}),ga=!0,u||i.layoutDependency!==s||s===void 0||i.isPresent!==d?f.willUpdate():this.safeToRemove(),i.isPresent!==d&&(d?f.promote():f.relegate()||ye.postRender(()=>{const p=f.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:s}=this.props,{projection:l}=i;l&&(l.options.layoutAnchor=s,l.root.didUpdate(),uu.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:l}=this.props,{projection:u}=i;ga=!0,u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),l&&l.deregister&&l.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Mm(n){const[i,s]=mm(),l=H.useContext($a);return Yt.jsx(gS,{...n,layoutGroup:l,switchLayoutGroup:H.useContext(Tm),isPresent:i,safeToRemove:s})}const vS={pan:{Feature:yS},drag:{Feature:mS,ProjectionNode:pm,MeasureLayout:Mm}};function zh(n,i,s){const{props:l}=n;n.animationState&&l.whileHover&&n.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,d=l[u];d&&ye.postRender(()=>d(i,wi(i)))}class wS extends Sn{mount(){const{current:i}=this.node;i&&(this.unmount=U0(i,(s,l)=>(zh(this.node,l,"Start"),u=>zh(this.node,u,"End"))))}unmount(){}}class SS extends Sn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=yi(mi(this.node.current,"focus",()=>this.onFocus()),mi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function jh(n,i,s){const{props:l}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&l.whileTap&&n.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),d=l[u];d&&ye.postRender(()=>d(i,wi(i)))}class xS extends Sn{mount(){const{current:i}=this.node;if(!i)return;
48const{globalTapTarget:s,propagate:l}=this.node.props;this.unmount=Q0(i,(u,d)=>(jh(this.node,d,"Start"),(f,{success:p})=>jh(this.node,f,p?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:(l==null?void 0:l.tap)===!1})}unmount(){}}const Wa=new WeakMap,va=new WeakMap,TS=n=>{const i=Wa.get(n.target);i&&i(n)},kS=n=>{n.forEach(TS)};function CS({root:n,...i}){const s=n||document;va.has(s)||va.set(s,{});const l=va.get(s),u=JSON.stringify(i);return l[u]||(l[u]=new IntersectionObserver(kS,{root:n,...i})),l[u]}function PS(n,i,s){const l=CS(i);return Wa.set(n,s),l.observe(n),()=>{Wa.delete(n),l.unobserve(n)}}const ES={some:0,all:1};class MS extends Sn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var m;(m=this.stopObserver)==null||m.call(this);const{viewport:i={}}=this.node.getProps(),{root:s,margin:l,amount:u="some",once:d}=i,f={root:s?s.current:void 0,rootMargin:l,threshold:typeof u=="number"?u:ES[u]},p=g=>{const{isIntersecting:y}=g;if(this.isInView===y||(this.isInView=y,d&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:w,onViewportLeave:S}=this.node.getProps(),C=y?w:S;C&&C(g)};this.stopObserver=PS(this.node.current,f,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(RS(i,s))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function RS({viewport:n={}},{viewport:i={}}={}){return s=>n[s]!==i[s]}const DS={inView:{Feature:MS},tap:{Feature:xS},focus:{Feature:SS},hover:{Feature:wS}},AS={layout:{ProjectionNode:pm,MeasureLayout:Mm}},VS={...eS,...DS,...vS,...AS},OS=Xw(VS,Zw);export{FS as A,Sv as B,Av as C,Tp as D,dt as E,di as F,fu as G,n1 as H,S1 as I,Ys as J,s1 as K,$a as L,yu as M,Y1 as N,Lp as O,Qs as P,LS as Q,Rg as R,E1 as S,NS as T,Bh as U,c1 as V,_g as a,a1 as b,_S as c,M0 as d,Wh as e,ye as f,Op as g,$p as h,Ge as i,Yt as j,Rp as k,Rw as l,OS as m,Ug as n,Dv as o,Fa as p,je as q,H as r,T0 as s,yr as t,Ka as u,wn as v,zd as w,Te as x,$s as y,Vv as z};
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.