PageSourceSearch

https://dubai-lebenskosten.netlify.app/assets/index-Bw_DTv9S.js

js dubai-lebenskosten.netlify.app collected 2026-10-03 10:40:08 UTC 310,641 bytes, 132 lines download raw bytes

vendor: 18,174 bytes, lines 1-33
1var yy=Object.defineProperty;var vy=(e,t,n)=>t in e?yy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var kt=(e,t,n)=>vy(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function no(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ch={exports:{}},ro={},fh={exports:{}},j={};/**
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 Ri=Symbol.for("react.element"),xy=Symbol.for("react.portal"),wy=Symbol.for("react.fragment"),Sy=Symbol.for("react.strict_mode"),Ty=Symbol.for("react.profiler"),Ey=Symbol.for("react.provider"),Cy=Symbol.for("react.context"),ky=Symbol.for("react.forward_ref"),Py=Symbol.for("react.suspense"),Ay=Symbol.for("react.memo"),Dy=Symbol.for("react.lazy"),kc=Symbol.iterator;function Ry(e){return e===null||typeof e!="object"?null:(e=kc&&e[kc]||e["@@iterator"],typeof e=="function"?e:null)}var dh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hh=Object.assign,ph={};function kr(e,t,n){this.props=e,this.context=t,this.refs=ph,this.updater=n||dh}kr.prototype.isReactComponent={};kr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mh(){}mh.prototype=kr.prototype;function Ha(e,t,n){this.props=e,this.context=t,this.refs=ph,this.updater=n||dh}var Ka=Ha.prototype=new mh;Ka.constructor=Ha;hh(Ka,kr.prototype);Ka.isPureReactComponent=!0;var Pc=Array.isArray,gh=Object.prototype.hasOwnProperty,Ga={current:null},yh={key:!0,ref:!0,__self:!0,__source:!0};function vh(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)gh.call(t,r)&&!yh.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Ri,type:e,key:s,ref:o,props:i,_owner:Ga.current}}function My(e,t){return{$$typeof:Ri,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Qa(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ri}function Ly(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ac=/\/+/g;function Mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ly(""+e.key):t.toString(36)}function as(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Ri:case xy:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Mo(o,0):r,Pc(i)?(n="",e!=null&&(n=e.replace(Ac,"$&/")+"/"),as(i,t,n,"",function(u){return u})):i!=null&&(Qa(i)&&(i=My(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Ac,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Pc(e))for(var l=0;l<e.length;l++){s=e[l];var a=r+Mo(s,l);o+=as(s,t,n,a,i)}else if(a=Ry(e),typeof a=="function")for(e=a.call(e),l=0;!(s=e.next()).done;)s=s.value,a=r+Mo(s,l++),o+=as(s,t,n,a,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Ii(e,t,n){if(e==null)return e;var r=[],i=0;return as(e,r,"","",function(s){return t.call(n,s,i++)}),r}function _y(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Re={current:null},us={transition:null},Ny={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:us,ReactCurrentOwner:Ga};function xh(){throw Error("act(...) is not supported in production builds of React.")}j.Children={map:Ii,forEach:function(e,t,n){Ii(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ii(e,function(){t++}),t},toArray:function(e){return Ii(e,function(t){return t})||[]},only:function(e){if(!Qa(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};j.Component=kr;j.Fragment=wy;j.Profiler=Ty;j.PureComponent=Ha;j.StrictMode=Sy;j.Suspense=Py;j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ny;j.act=xh;j.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=hh({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Ga.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)gh.call(t,a)&&!yh.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Ri,type:e.type,key:i,ref:s,props:r,_owner:o}};j.createContext=function(e){return e={$$typeof:Cy,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ey,_context:e},e.Consumer=e};j.createElement=vh;j.createFactory=function(e){var t=vh.bind(null,e);return t.type=e,t};j.createRef=function(){return{current:null}};j.forwardRef=function(e){return{$$typeof:ky,render:e}};j.isValidElement=Qa;j.lazy=function(e){return{$$typeof:Dy,_payload:{_status:-1,_result:e},_init:_y}};j.memo=function(e,t){return{$$typeof:Ay,type:e,compare:t===void 0?null:t}};j.startTransition=function(e){var t=us.transition;us.transition={};try{e()}finally{us.transition=t}};j.unstable_act=xh;j.useCallback=function(e,t){return Re.current.useCallback(e,t)};j.useContext=function(e){return Re.current.useContext(e)};j.useDebugValue=function(){};j.useDeferredValue=function(e){return Re.current.useDeferredValue(e)};j.useEffect=function(e,t){return Re.current.useEffect(e,t)};j.useId=function(){return Re.current.useId()};j.useImperativeHandle=function(e,t,n){return Re.current.useImperativeHandle(e,t,n)};j.useInsertionEffect=function(e,t){return Re.current.useInsertionEffect(e,t)};j.useLayoutEffect=function(e,t){return Re.current.useLayoutEffect(e,t)};j.useMemo=function(e,t){return Re.current.useMemo(e,t)};j.useReducer=function(e,t,n){return Re.current.useReducer(e,t,n)};j.useRef=function(e){return Re.current.useRef(e)};j.useState=function(e){return Re.current.useState(e)};j.useSyncExternalStore=function(e,t,n){return Re.current.useSyncExternalStore(e,t,n)};j.useTransition=function(){return Re.current.useTransition()};j.version="18.3.1";fh.exports=j;var k=fh.exports;const Ie=no(k);/**
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 Vy=k,jy=Symbol.for("react.element"),Oy=Symbol.for("react.fragment"),Fy=Object.prototype.hasOwnProperty,Iy=Vy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,zy={key:!0,ref:!0,__self:!0,__source:!0};function wh(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Fy.call(t,r)&&!zy.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:jy,type:e,key:s,ref:o,props:i,_owner:Iy.current}}ro.Fragment=Oy;ro.jsx=wh;ro.jsxs=wh;ch.exports=ro;var w=ch.exports,Sh={exports:{}},We={},Th={exports:{}},Eh={};/**
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 */(function(e){function t(D,_){var N=D.length;D.push(_);e:for(;0<N;){var z=N-1>>>1,W=D[z];if(0<i(W,_))D[z]=_,D[N]=W,N=z;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var _=D[0],N=D.pop();if(N!==_){D[0]=N;e:for(var z=0,W=D.length,Tt=W>>>1;z<Tt;){var ft=2*(z+1)-1,Wt=D[ft],dt=ft+1,vn=D[dt];if(0>i(Wt,N))dt<W&&0>i(vn,Wt)?(D[z]=vn,D[dt]=N,z=dt):(D[z]=Wt,D[ft]=N,z=ft);else if(dt<W&&0>i(vn,N))D[z]=vn,D[dt]=N,z=dt;else break e}}return _}function i(D,_){var N=D.sortIndex-_.sortIndex;return N!==0?N:D.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var a=[],u=[],c=1,f=null,d=3,g=!1,y=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(D){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=D)r(u),_.sortIndex=_.expirationTime,t(a,_);else break;_=n(u)}}function x(D){if(v=!1,m(D),!y)if(n(a)!==null)y=!0,yn(S);else{var _=n(u);_!==null&&ee(x,_.startTime-D)}}function S(D,_){y=!1,v&&(v=!1,h(T),T=-1),g=!0;var N=d;try{for(m(_),f=n(a);f!==null&&(!(f.expirationTime>_)||D&&!$());){var z=f.callback;if(typeof z=="function"){f.callback=null,d=f.priorityLevel;var W=z(f.expirationTime<=_);_=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(a)&&r(a),m(_)}else r(a);f=n(a)}if(f!==null)var Tt=!0;else{var ft=n(u);ft!==null&&ee(x,ft.startTime-_),Tt=!1}return Tt}finally{f=null,d=N,g=!1}}var E=!1,A=null,T=-1,V=5,M=-1;function $(){return!(e.unstable_now()-M<V)}function ye(){if(A!==null){var D=e.unstable_now();M=D;var _=!0;try{_=A(!0,D)}finally{_?le():(E=!1,A=null)}}else E=!1}var le;if(typeof p=="function")le=function(){p(ye)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,Fi=Ke.port2;Ke.port1.onmessage=ye,le=function(){Fi.postMessage(null)}}else le=function(){C(ye,0)};function yn(D){A=D,E||(E=!0,le())}function ee(D,_){T=C(function(){D(e.unstable_now())},_)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,yn(S))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(D){switch(d){case 1:case 2:case 3:var _=3;break;default:_=d}var N=d;d=_;try{return D()}finally{d=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,_){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var N=d;d=D;try{return _()}finally{d=N}},e.unstable_scheduleCallback=function(D,_,N){var z=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?z+N:z):N=z,D){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=N+W,D={id:c++,callback:_,priorityLevel:D,startTime:N,expirationTime:W,sortIndex:-1},N>z?(D.sortIndex=N,t(u,D),n(a)===null&&D===n(u)&&(v?(h(T),T=-1):v=!0,ee(x,N-z))):(D.sortIndex=W,t(a,D),y||g||(y=!0,yn(S))),D},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(D){var _=d;return function(){var N=d;d=_;try{return D.apply(this,arguments)}finally{d=N}}}})(Eh);Th.exports=Eh;var By=Th.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 Uy=k,Ue=By;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ch=new Set,oi={};function Fn(e,t){pr(e,t),pr(e+"Capture",t)}function pr(e,t){for(oi[e]=t,e=0;e<t.length;e++)Ch.add(t[e])}var Ft=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kl=Object.prototype.hasOwnProperty,$y=/^[: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]*$/,Dc={},Rc={};function Wy(e){return kl.call(Rc,e)?!0:kl.call(Dc,e)?!1:$y.test(e)?Rc[e]=!0:(Dc[e]=!0,!1)}function by(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Hy(e,t,n,r){if(t===null||typeof t>"u"||by(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Me(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Me(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Me(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Me(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Me(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){ge[e]=new Me(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Me(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Me(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Me(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Me(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ya=/[\-:]([a-z])/g;function Xa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ya,Xa);ge[t]=new Me(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(Ya,Xa);ge[t]=new Me(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(Ya,Xa);ge[t]=new Me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Me(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Me(e,1,!1,e.toLowerCase(),null,!0,!0)});function Za(e,t,n,r){var i=ge.hasOwnProperty(t)?ge[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Hy(t,n,i,r)&&(n=null),r||i===null?W
vendor: 5,312 bytes, lines 33-37
33y(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var $t=Uy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zi=Symbol.for("react.element"),Wn=Symbol.for("react.portal"),bn=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),Pl=Symbol.for("react.profiler"),kh=Symbol.for("react.provider"),Ph=Symbol.for("react.context"),Ja=Symbol.for("react.forward_ref"),Al=Symbol.for("react.suspense"),Dl=Symbol.for("react.suspense_list"),eu=Symbol.for("react.memo"),Kt=Symbol.for("react.lazy"),Ah=Symbol.for("react.offscreen"),Mc=Symbol.iterator;function Mr(e){return e===null||typeof e!="object"?null:(e=Mc&&e[Mc]||e["@@iterator"],typeof e=="function"?e:null)}var J=Object.assign,Lo;function $r(e){if(Lo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Lo=t&&t[1]||""}return`
34`+Lo+e}var _o=!1;function No(e,t){if(!e||_o)return"";_o=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),s=r.stack.split(`
36`),o=i.length-1,l=s.length-1;1<=o&&0<=l&&i[o]!==s[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==s[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==s[l]){var a=`
37`+i[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=l);break}}}finally{_o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$r(e):""}function Ky(e){switch(e.tag){case 5:return $r(e.type);case 16:return $r("Lazy");case 13:return $r("Suspense");case 19:return $r("SuspenseList");case 0:case 2:case 15:return e=No(e.type,!1),e;case 11:return e=No(e.type.render,!1),e;case 1:return e=No(e.type,!0),e;default:return""}}function Rl(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 bn:return"Fragment";case Wn:return"Portal";case Pl:return"Profiler";case qa:return"StrictMode";case Al:return"Suspense";case Dl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ph:return(e.displayName||"Context")+".Consumer";case kh:return(e._context.displayName||"Context")+".Provider";case Ja:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case eu:return t=e.displayName||null,t!==null?t:Rl(e.type)||"Memo";case Kt:t=e._payload,e=e._init;try{return Rl(e(t))}catch{}}return null}function Gy(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 Rl(t);case 8:return t===qa?"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 an(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qy(e){var t=Dh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bi(e){e._valueTracker||(e._valueTracker=Qy(e))}function Rh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ks(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 Ml(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Lc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=an(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}
vendor: 4,649 bytes, line 37
37function Mh(e,t){t=t.checked,t!=null&&Za(e,"checked",t,!1)}function Ll(e,t){Mh(e,t);var n=an(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_l(e,t.type,n):t.hasOwnProperty("defaultValue")&&_l(e,t.type,an(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _c(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _l(e,t,n){(t!=="number"||ks(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wr=Array.isArray;function or(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+an(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Nl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(P(91));return J({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Nc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(P(92));if(Wr(n)){if(1<n.length)throw Error(P(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:an(n)}}function Lh(e,t){var n=an(t.value),r=an(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Vc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function _h(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 Vl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?_h(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ui,Nh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ui=Ui||document.createElement("div"),Ui.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function li(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qr={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},Yy=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){Yy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function Vh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function jh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Vh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Xy=J({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 jl(e,t){if(t){if(Xy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Ol(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 Fl=null;function tu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Il=null,lr=null,ar=null;function jc(e){if(e=_i(e)){if(typeof Il!="function")throw Error(P(280));var t=e.stateNode;t&&(t=ao(t),Il(e.stateNode,e.type,t))}}function Oh(e){lr?ar?ar.push(e):ar=[e]:lr=e}function Fh(){if(lr){var e=lr,t=ar;if(ar=lr=null,jc(e),t)for(e=0;e<t.length;e++)jc(t[e])}}function Ih(e,t){return e(t)}function zh(){}var Vo=!1;function Bh(e,t,n){if(Vo)return e(t,n);Vo=!0;try{return Ih(e,t,n)}finally{Vo=!1,(lr!==null||ar!==null)&&(zh(),Fh())}}function ai(e,t){var n=e.stateNode;if(n===null)return null;var r=ao(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(P(231,t,typeof n));return n}var zl=!1;if(Ft)try{var Lr={};Object.defineProperty(Lr,"passive",{get:function(){zl=!0}}),window.addEventListener("test",Lr,Lr),window.removeEventListener("test",Lr,Lr)}catch{zl=!1}function Zy(e,t,n,r,i,s,o,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Yr=!1,Ps=null,As=!1,Bl=null,qy={onError:function(e){Yr=!0,Ps=e}};function Jy(e,t,n,r,i,s,o,l,a){Yr=!1,Ps=null,Zy.apply(qy,arguments)}function ev(e,t,n,r,i,s,o,l,a){if(Jy.apply(this,arguments),Yr){if(Yr){var u=Ps;Yr=!1,Ps=null}else throw Error(P(198));As||(As=!0,Bl=u)}}function In(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Uh(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 Oc(e){if(In(e)!==e)throw Error(P(188))}function tv(e){var t=e.alternate;if(!t){if(t=In(e),t===null)throw Error(P(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Oc(i),e;if(s===r)return Oc(i),t;s=s.sibling}throw Error(P(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o)throw Error(P(189))}}if(n.alternate!==r)throw Error(P(190))}if(n.tag!==3)throw Error(P(188));return n.stateNode.current===n?e:t}function $h(e){return e=tv(e),e!==null?Wh(e):null}function Wh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Wh(e);if(t!==null)return t;e=e.sibling}return null}var bh=Ue.unstable_scheduleCallback,Fc=Ue.unstable_cancelCallback,nv=Ue.unstable_shouldYield,rv=Ue.unstable_requestPaint,se=Ue.unstable_now,iv=Ue.unstable_getCurrentPriorityLevel,nu=Ue.unstable_ImmediatePriority,Hh=Ue.unstable_UserBlockingPriority,Ds=Ue.unstable_NormalPriority,sv=Ue.unstable_LowPriority,Kh=Ue.unstable_IdlePriority,io=null,vt=null;function ov(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(io,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:uv,lv=Math.log,av=Math.LN2;function uv(e){return e>>>=0,e===0?32:31-(lv(e)/av|0)|0}var $i=64,Wi=4194304;function br(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 Rs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=br(l):(s&=o,s!==0&&(r=br(s)))}else o=n&~i,o!==0?r=br(o):s!==0&&(r=br(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-at(t),i=1<<n,r|=e[n],t&=~i;return r}function cv(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 fv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-at(s),l=1<<o,a=i[o];a===-1?(!(l&n)||l&r)&&(i[o]=cv(l,t)):a<=t&&(e.expiredLanes|=l),s&=~l}}function Ul(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Gh(){var e=$i;return $i<<=1,!($i&4194240)&&($i=64),e}function jo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Mi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function dv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function ru(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var I=0;function Qh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yh,iu,Xh,Zh,qh,$l=!1,bi=[],Jt=null,en=null,tn=null,ui=new Map,ci=new Map,Qt=[],hv="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 Ic(e,t){switch(e){case"focusin":case"focusout":Jt=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":ui.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ci.delete(t.pointerId)}}function _r(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=_i(t),t!==null&&iu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function pv(e,t,n,r,i){switch(t){case"focusin":return Jt=_r(Jt,e,t,n,r,i),!0;case"dragenter":return en=_r(en,e,t,n,r,i),!0;case"mouseover":return tn=_r(tn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return ui.set(s,_r(ui.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,ci.set(s,_r(ci.get(s)||null,e,t,n,r,i)),!0}return!1}function Jh(e){var t=Cn(e.target);if(t!==null){var n=In(t);if(n!==null){if(t=n.tag,t===13){if(t=Uh(n),t!==null){e.blockedOn=t,qh(e.priority,function(){Xh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Wl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Fl=r,n.target.dispatchEvent(r),Fl=null}else return t=_i(n),t!==null&&iu(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 11,976 bytes, line 37
37function zc(e,t,n){cs(e)&&n.delete(t)}function mv(){$l=!1,Jt!==null&&cs(Jt)&&(Jt=null),en!==null&&cs(en)&&(en=null),tn!==null&&cs(tn)&&(tn=null),ui.forEach(zc),ci.forEach(zc)}function Nr(e,t){e.blockedOn===t&&(e.blockedOn=null,$l||($l=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,mv)))}function fi(e){function t(i){return Nr(i,e)}if(0<bi.length){Nr(bi[0],e);for(var n=1;n<bi.length;n++){var r=bi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Jt!==null&&Nr(Jt,e),en!==null&&Nr(en,e),tn!==null&&Nr(tn,e),ui.forEach(t),ci.forEach(t),n=0;n<Qt.length;n++)r=Qt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Qt.length&&(n=Qt[0],n.blockedOn===null);)Jh(n),n.blockedOn===null&&Qt.shift()}var ur=$t.ReactCurrentBatchConfig,Ms=!0;function gv(e,t,n,r){var i=I,s=ur.transition;ur.transition=null;try{I=1,su(e,t,n,r)}finally{I=i,ur.transition=s}}function yv(e,t,n,r){var i=I,s=ur.transition;ur.transition=null;try{I=4,su(e,t,n,r)}finally{I=i,ur.transition=s}}function su(e,t,n,r){if(Ms){var i=Wl(e,t,n,r);if(i===null)Ho(e,t,r,Ls,n),Ic(e,r);else if(pv(i,e,t,n,r))r.stopPropagation();else if(Ic(e,r),t&4&&-1<hv.indexOf(e)){for(;i!==null;){var s=_i(i);if(s!==null&&Yh(s),s=Wl(e,t,n,r),s===null&&Ho(e,t,r,Ls,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Ho(e,t,r,null,n)}}var Ls=null;function Wl(e,t,n,r){if(Ls=null,e=tu(r),e=Cn(e),e!==null)if(t=In(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Uh(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ls=e,null}function ep(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(iv()){case nu:return 1;case Hh:return 4;case Ds:case sv:return 16;case Kh:return 536870912;default:return 16}default:return 16}}var Xt=null,ou=null,fs=null;function tp(){if(fs)return fs;var e,t=ou,n=t.length,r,i="value"in Xt?Xt.value:Xt.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return fs=i.slice(e,1<r?1-r:void 0)}function ds(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 Hi(){return!0}function Bc(){return!1}function be(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Hi:Bc,this.isPropagationStopped=Bc,this}return J(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Hi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Hi)},persist:function(){},isPersistent:Hi}),t}var Pr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lu=be(Pr),Li=J({},Pr,{view:0,detail:0}),vv=be(Li),Oo,Fo,Vr,so=J({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:au,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!==Vr&&(Vr&&e.type==="mousemove"?(Oo=e.screenX-Vr.screenX,Fo=e.screenY-Vr.screenY):Fo=Oo=0,Vr=e),Oo)},movementY:function(e){return"movementY"in e?e.movementY:Fo}}),Uc=be(so),xv=J({},so,{dataTransfer:0}),wv=be(xv),Sv=J({},Li,{relatedTarget:0}),Io=be(Sv),Tv=J({},Pr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ev=be(Tv),Cv=J({},Pr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kv=be(Cv),Pv=J({},Pr,{data:0}),$c=be(Pv),Av={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dv={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"},Rv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Rv[e])?!!t[e]:!1}function au(){return Mv}var Lv=J({},Li,{key:function(e){if(e.key){var t=Av[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ds(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Dv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:au,charCode:function(e){return e.type==="keypress"?ds(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ds(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_v=be(Lv),Nv=J({},so,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wc=be(Nv),Vv=J({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:au}),jv=be(Vv),Ov=J({},Pr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fv=be(Ov),Iv=J({},so,{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}),zv=be(Iv),Bv=[9,13,27,32],uu=Ft&&"CompositionEvent"in window,Xr=null;Ft&&"documentMode"in document&&(Xr=document.documentMode);var Uv=Ft&&"TextEvent"in window&&!Xr,np=Ft&&(!uu||Xr&&8<Xr&&11>=Xr),bc=" ",Hc=!1;function rp(e,t){switch(e){case"keyup":return Bv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ip(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hn=!1;function $v(e,t){switch(e){case"compositionend":return ip(t);case"keypress":return t.which!==32?null:(Hc=!0,bc);case"textInput":return e=t.data,e===bc&&Hc?null:e;default:return null}}function Wv(e,t){if(Hn)return e==="compositionend"||!uu&&rp(e,t)?(e=tp(),fs=ou=Xt=null,Hn=!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 np&&t.locale!=="ko"?null:t.data;default:return null}}var bv={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 Kc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bv[e.type]:t==="textarea"}function sp(e,t,n,r){Oh(r),t=_s(t,"onChange"),0<t.length&&(n=new lu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zr=null,di=null;function Hv(e){gp(e,0)}function oo(e){var t=Qn(e);if(Rh(t))return e}function Kv(e,t){if(e==="change")return t}var op=!1;if(Ft){var zo;if(Ft){var Bo="oninput"in document;if(!Bo){var Gc=document.createElement("div");Gc.setAttribute("oninput","return;"),Bo=typeof Gc.oninput=="function"}zo=Bo}else zo=!1;op=zo&&(!document.documentMode||9<document.documentMode)}function Qc(){Zr&&(Zr.detachEvent("onpropertychange",lp),di=Zr=null)}function lp(e){if(e.propertyName==="value"&&oo(di)){var t=[];sp(t,di,e,tu(e)),Bh(Hv,t)}}function Gv(e,t,n){e==="focusin"?(Qc(),Zr=t,di=n,Zr.attachEvent("onpropertychange",lp)):e==="focusout"&&Qc()}function Qv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return oo(di)}function Yv(e,t){if(e==="click")return oo(t)}function Xv(e,t){if(e==="input"||e==="change")return oo(t)}function Zv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:Zv;function hi(e,t){if(ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kl.call(t,i)||!ct(e[i],t[i]))return!1}return!0}function Yc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xc(e,t){var n=Yc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Yc(n)}}function ap(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ap(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function up(){for(var e=window,t=ks();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ks(e.document)}return t}function cu(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 qv(e){var t=up(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ap(n.ownerDocument.documentElement,n)){if(r!==null&&cu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Xc(n,s);var o=Xc(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Jv=Ft&&"documentMode"in document&&11>=document.documentMode,Kn=null,bl=null,qr=null,Hl=!1;function Zc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hl||Kn==null||Kn!==ks(r)||(r=Kn,"selectionStart"in r&&cu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,500 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),qr&&hi(qr,r)||(qr=r,r=_s(bl,"onSelect"),0<r.length&&(t=new lu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Kn)))}function Ki(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Gn={animationend:Ki("Animation","AnimationEnd"),animationiteration:Ki("Animation","AnimationIteration"),animationstart:Ki("Animation","AnimationStart"),transitionend:Ki("Transition","TransitionEnd")},Uo={},cp={};Ft&&(cp=document.createElement("div").style,"AnimationEvent"in window||(delete Gn.animationend.animation,delete Gn.animationiteration.animation,delete Gn.animationstart.animation),"TransitionEvent"in window||delete Gn.transitionend.transition);function lo(e){if(Uo[e])return Uo[e];if(!Gn[e])return e;var t=Gn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in cp)return Uo[e]=t[n];return e}var fp=lo("animationend"),dp=lo("animationiteration"),hp=lo("animationstart"),pp=lo("transitionend"),mp=new Map,qc="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 hn(e,t){mp.set(e,t),Fn(t,[e])}for(var $o=0;$o<qc.length;$o++){var Wo=qc[$o],e0=Wo.toLowerCase(),t0=Wo[0].toUpperCase()+Wo.slice(1);hn(e0,"on"+t0)}hn(fp,"onAnimationEnd");hn(dp,"onAnimationIteration");hn(hp,"onAnimationStart");hn("dblclick","onDoubleClick");hn("focusin","onFocus");hn("focusout","onBlur");hn(pp,"onTransitionEnd");pr("onMouseEnter",["mouseout","mouseover"]);pr("onMouseLeave",["mouseout","mouseover"]);pr("onPointerEnter",["pointerout","pointerover"]);pr("onPointerLeave",["pointerout","pointerover"]);Fn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Fn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Fn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Fn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Fn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Fn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hr="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(" "),n0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hr));function Jc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ev(r,t,void 0,e),e.currentTarget=null}function gp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==s&&i.isPropagationStopped())break e;Jc(i,l,u),s=a}else for(o=0;o<r.length;o++){if(l=r[o],a=l.instance,u=l.currentTarget,l=l.listener,a!==s&&i.isPropagationStopped())break e;Jc(i,l,u),s=a}}}if(As)throw e=Bl,As=!1,Bl=null,e}function K(e,t){var n=t[Xl];n===void 0&&(n=t[Xl]=new Set);var r=e+"__bubble";n.has(r)||(yp(t,e,2,!1),n.add(r))}function bo(e,t,n){var r=0;t&&(r|=4),yp(n,e,r,t)}var Gi="_reactListening"+Math.random().toString(36).slice(2);function pi(e){if(!e[Gi]){e[Gi]=!0,Ch.forEach(function(n){n!=="selectionchange"&&(n0.has(n)||bo(n,!1,e),bo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Gi]||(t[Gi]=!0,bo("selectionchange",!1,t))}}function yp(e,t,n,r){switch(ep(t)){case 1:var i=gv;break;case 4:i=yv;break;default:i=su}n=i.bind(null,t,n,e),i=void 0,!zl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ho(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;
vendor: 3,234 bytes, line 37
37if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var a=o.tag;if((a===3||a===4)&&(a=o.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Cn(l),o===null)return;if(a=o.tag,a===5||a===6){r=s=o;continue e}l=l.parentNode}}r=r.return}Bh(function(){var u=s,c=tu(n),f=[];e:{var d=mp.get(e);if(d!==void 0){var g=lu,y=e;switch(e){case"keypress":if(ds(n)===0)break e;case"keydown":case"keyup":g=_v;break;case"focusin":y="focus",g=Io;break;case"focusout":y="blur",g=Io;break;case"beforeblur":case"afterblur":g=Io;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Uc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=wv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=jv;break;case fp:case dp:case hp:g=Ev;break;case pp:g=Fv;break;case"scroll":g=vv;break;case"wheel":g=zv;break;case"copy":case"cut":case"paste":g=kv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Wc}var v=(t&4)!==0,C=!v&&e==="scroll",h=v?d!==null?d+"Capture":null:d;v=[];for(var p=u,m;p!==null;){m=p;var x=m.stateNode;if(m.tag===5&&x!==null&&(m=x,h!==null&&(x=ai(p,h),x!=null&&v.push(mi(p,x,m)))),C)break;p=p.return}0<v.length&&(d=new g(d,y,null,n,c),f.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",d&&n!==Fl&&(y=n.relatedTarget||n.fromElement)&&(Cn(y)||y[It]))break e;if((g||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?Cn(y):null,y!==null&&(C=In(y),y!==C||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(v=Uc,x="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=Wc,x="onPointerLeave",h="onPointerEnter",p="pointer"),C=g==null?d:Qn(g),m=y==null?d:Qn(y),d=new v(x,p+"leave",g,n,c),d.target=C,d.relatedTarget=m,x=null,Cn(c)===u&&(v=new v(h,p+"enter",y,n,c),v.target=m,v.relatedTarget=C,x=v),C=x,g&&y)t:{for(v=g,h=y,p=0,m=v;m;m=Un(m))p++;for(m=0,x=h;x;x=Un(x))m++;for(;0<p-m;)v=Un(v),p--;for(;0<m-p;)h=Un(h),m--;for(;p--;){if(v===h||h!==null&&v===h.alternate)break t;v=Un(v),h=Un(h)}v=null}else v=null;g!==null&&ef(f,d,g,v,!1),y!==null&&C!==null&&ef(f,C,y,v,!0)}}e:{if(d=u?Qn(u):window,g=d.nodeName&&d.nodeName.toLowerCase(),g==="select"||g==="input"&&d.type==="file")var S=Kv;else if(Kc(d))if(op)S=Xv;else{S=Qv;var E=Gv}else(g=d.nodeName)&&g.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(S=Yv);if(S&&(S=S(e,u))){sp(f,S,n,c);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&_l(d,"number",d.value)}switch(E=u?Qn(u):window,e){case"focusin":(Kc(E)||E.contentEditable==="true")&&(Kn=E,bl=u,qr=null);break;case"focusout":qr=bl=Kn=null;break;case"mousedown":Hl=!0;break;case"contextmenu":case"mouseup":case"dragend":Hl=!1,Zc(f,n,c);break;case"selectionchange":if(Jv)break;case"keydown":case"keyup":Zc(f,n,c)}var A;
vendor: 4,835 bytes, lines 37-38
37if(uu)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Hn?rp(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(np&&n.locale!=="ko"&&(Hn||T!=="onCompositionStart"?T==="onCompositionEnd"&&Hn&&(A=tp()):(Xt=c,ou="value"in Xt?Xt.value:Xt.textContent,Hn=!0)),E=_s(u,T),0<E.length&&(T=new $c(T,e,null,n,c),f.push({event:T,listeners:E}),A?T.data=A:(A=ip(n),A!==null&&(T.data=A)))),(A=Uv?$v(e,n):Wv(e,n))&&(u=_s(u,"onBeforeInput"),0<u.length&&(c=new $c("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=A))}gp(f,t)})}function mi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _s(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=ai(e,n),s!=null&&r.unshift(mi(e,s,i)),s=ai(e,t),s!=null&&r.push(mi(e,s,i))),e=e.return}return r}function Un(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ef(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,i?(a=ai(n,s),a!=null&&o.unshift(mi(n,a,l))):i||(a=ai(n,s),a!=null&&o.push(mi(n,a,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var r0=/\r\n?/g,i0=/\u0000|\uFFFD/g;function tf(e){return(typeof e=="string"?e:""+e).replace(r0,`
38`).replace(i0,"")}function Qi(e,t,n){if(t=tf(t),tf(e)!==t&&n)throw Error(P(425))}function Ns(){}var Kl=null,Gl=null;function Ql(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 Yl=typeof setTimeout=="function"?setTimeout:void 0,s0=typeof clearTimeout=="function"?clearTimeout:void 0,nf=typeof Promise=="function"?Promise:void 0,o0=typeof queueMicrotask=="function"?queueMicrotask:typeof nf<"u"?function(e){return nf.resolve(null).then(e).catch(l0)}:Yl;function l0(e){setTimeout(function(){throw e})}function Ko(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),fi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);fi(t)}function nn(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 rf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ar=Math.random().toString(36).slice(2),gt="__reactFiber$"+Ar,gi="__reactProps$"+Ar,It="__reactContainer$"+Ar,Xl="__reactEvents$"+Ar,a0="__reactListeners$"+Ar,u0="__reactHandles$"+Ar;function Cn(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[It]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rf(e);e!==null;){if(n=e[gt])return n;e=rf(e)}return t}e=n,n=e.parentNode}return null}function _i(e){return e=e[gt]||e[It],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Qn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function ao(e){return e[gi]||null}var Zl=[],Yn=-1;function pn(e){return{current:e}}function G(e){0>Yn||(e.current=Zl[Yn],Zl[Yn]=null,Yn--)}function U(e,t){Yn++,Zl[Yn]=e.current,e.current=t}var un={},ke=pn(un),Ve=pn(!1),_n=un;function mr(e,t){var n=e.type.contextTypes;if(!n)return un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function Vs(){G(Ve),G(ke)}function sf(e,t,n){if(ke.current!==un)throw Error(P(168));U(ke,t),U(Ve,n)}function vp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(P(108,Gy(e)||"Unknown",i));return J({},n,r)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||un,_n=ke.current,U(ke,e),U(Ve,Ve.current),!0}function of(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=vp(e,t,_n),r.__reactInternalMemoizedMergedChildContext=e,G(Ve),G(ke),U(ke,e)):G(Ve),U(Ve,n)}var At=null,uo=!1,Go=!1;function xp(e){At===null?At=[e]:At.push(e)}function c0(e){uo=!0,xp(e)}function mn(){if(!Go&&At!==null){Go=!0;var e=0,t=I;try{var n=At;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}At=null,uo=!1}catch(i){throw At!==null&&(At=At.slice(e+1)),bh(nu,mn),i}finally{I=t,Go=!1}
vendor: 14,089 bytes, line 38
38}return null}var Xn=[],Zn=0,Os=null,Fs=0,Ze=[],qe=0,Nn=null,Rt=1,Mt="";function wn(e,t){Xn[Zn++]=Fs,Xn[Zn++]=Os,Os=e,Fs=t}function wp(e,t,n){Ze[qe++]=Rt,Ze[qe++]=Mt,Ze[qe++]=Nn,Nn=e;var r=Rt;e=Mt;var i=32-at(r)-1;r&=~(1<<i),n+=1;var s=32-at(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Rt=1<<32-at(t)+i|n<<i|r,Mt=s+e}else Rt=1<<s|n<<i|r,Mt=e}function fu(e){e.return!==null&&(wn(e,1),wp(e,1,0))}function du(e){for(;e===Os;)Os=Xn[--Zn],Xn[Zn]=null,Fs=Xn[--Zn],Xn[Zn]=null;for(;e===Nn;)Nn=Ze[--qe],Ze[qe]=null,Mt=Ze[--qe],Ze[qe]=null,Rt=Ze[--qe],Ze[qe]=null}var Be=null,ze=null,Q=!1,ot=null;function Sp(e,t){var n=Je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function lf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Be=e,ze=nn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Be=e,ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Nn!==null?{id:Rt,overflow:Mt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Be=e,ze=null,!0):!1;default:return!1}}function ql(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Jl(e){if(Q){var t=ze;if(t){var n=t;if(!lf(e,t)){if(ql(e))throw Error(P(418));t=nn(n.nextSibling);var r=Be;t&&lf(e,t)?Sp(r,n):(e.flags=e.flags&-4097|2,Q=!1,Be=e)}}else{if(ql(e))throw Error(P(418));e.flags=e.flags&-4097|2,Q=!1,Be=e}}}function af(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Be=e}function Yi(e){if(e!==Be)return!1;if(!Q)return af(e),Q=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ql(e.type,e.memoizedProps)),t&&(t=ze)){if(ql(e))throw Tp(),Error(P(418));for(;t;)Sp(e,t),t=nn(t.nextSibling)}if(af(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(P(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ze=nn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ze=null}}else ze=Be?nn(e.stateNode.nextSibling):null;return!0}function Tp(){for(var e=ze;e;)e=nn(e.nextSibling)}function gr(){ze=Be=null,Q=!1}function hu(e){ot===null?ot=[e]:ot.push(e)}var f0=$t.ReactCurrentBatchConfig;function jr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(P(309));var r=n.stateNode}if(!r)throw Error(P(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var l=i.refs;o===null?delete l[s]:l[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(P(284));if(!n._owner)throw Error(P(290,e))}return e}function Xi(e,t){throw e=Object.prototype.toString.call(t),Error(P(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function uf(e){var t=e._init;return t(e._payload)}function Ep(e){function t(h,p){if(e){var m=h.deletions;m===null?(h.deletions=[p],h.flags|=16):m.push(p)}}function n(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function r(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function i(h,p){return h=ln(h,p),h.index=0,h.sibling=null,h}function s(h,p,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<p?(h.flags|=2,p):m):(h.flags|=2,p)):(h.flags|=1048576,p)}function o(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,p,m,x){return p===null||p.tag!==6?(p=el(m,h.mode,x),p.return=h,p):(p=i(p,m),p.return=h,p)}function a(h,p,m,x){var S=m.type;return S===bn?c(h,p,m.props.children,x,m.key):p!==null&&(p.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Kt&&uf(S)===p.type)?(x=i(p,m.props),x.ref=jr(h,p,m),x.return=h,x):(x=xs(m.type,m.key,m.props,null,h.mode,x),x.ref=jr(h,p,m),x.return=h,x)}function u(h,p,m,x){return p===null||p.tag!==4||p.stateNode.containerInfo!==m.containerInfo||p.stateNode.implementation!==m.implementation?(p=tl(m,h.mode,x),p.return=h,p):(p=i(p,m.children||[]),p.return=h,p)}function c(h,p,m,x,S){return p===null||p.tag!==7?(p=Mn(m,h.mode,x,S),p.return=h,p):(p=i(p,m),p.return=h,p)}function f(h,p,m){if(typeof p=="string"&&p!==""||typeof p=="number")return p=el(""+p,h.mode,m),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case zi:return m=xs(p.type,p.key,p.props,null,h.mode,m),m.ref=jr(h,null,p),m.return=h,m;case Wn:return p=tl(p,h.mode,m),p.return=h,p;case Kt:var x=p._init;return f(h,x(p._payload),m)}if(Wr(p)||Mr(p))return p=Mn(p,h.mode,m,null),p.return=h,p;Xi(h,p)}return null}function d(h,p,m,x){var S=p!==null?p.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return S!==null?null:l(h,p,""+m,x);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case zi:return m.key===S?a(h,p,m,x):null;case Wn:return m.key===S?u(h,p,m,x):null;case Kt:return S=m._init,d(h,p,S(m._payload),x)}if(Wr(m)||Mr(m))return S!==null?null:c(h,p,m,x,null);Xi(h,m)}return null}function g(h,p,m,x,S){if(typeof x=="string"&&x!==""||typeof x=="number")return h=h.get(m)||null,l(p,h,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case zi:return h=h.get(x.key===null?m:x.key)||null,a(p,h,x,S);case Wn:return h=h.get(x.key===null?m:x.key)||null,u(p,h,x,S);case Kt:var E=x._init;return g(h,p,m,E(x._payload),S)}if(Wr(x)||Mr(x))return h=h.get(m)||null,c(p,h,x,S,null);Xi(p,x)}return null}function y(h,p,m,x){for(var S=null,E=null,A=p,T=p=0,V=null;A!==null&&T<m.length;T++){A.index>T?(V=A,A=null):V=A.sibling;var M=d(h,A,m[T],x);if(M===null){A===null&&(A=V);break}e&&A&&M.alternate===null&&t(h,A),p=s(M,p,T),E===null?S=M:E.sibling=M,E=M,A=V}if(T===m.length)return n(h,A),Q&&wn(h,T),S;if(A===null){for(;T<m.length;T++)A=f(h,m[T],x),A!==null&&(p=s(A,p,T),E===null?S=A:E.sibling=A,E=A);return Q&&wn(h,T),S}for(A=r(h,A);T<m.length;T++)V=g(A,h,T,m[T],x),V!==null&&(e&&V.alternate!==null&&A.delete(V.key===null?T:V.key),p=s(V,p,T),E===null?S=V:E.sibling=V,E=V);return e&&A.forEach(function($){return t(h,$)}),Q&&wn(h,T),S}function v(h,p,m,x){var S=Mr(m);if(typeof S!="function")throw Error(P(150));if(m=S.call(m),m==null)throw Error(P(151));for(var E=S=null,A=p,T=p=0,V=null,M=m.next();A!==null&&!M.done;T++,M=m.next()){A.index>T?(V=A,A=null):V=A.sibling;var $=d(h,A,M.value,x);if($===null){A===null&&(A=V);break}e&&A&&$.alternate===null&&t(h,A),p=s($,p,T),E===null?S=$:E.sibling=$,E=$,A=V}if(M.done)return n(h,A),Q&&wn(h,T),S;if(A===null){for(;!M.done;T++,M=m.next())M=f(h,M.value,x),M!==null&&(p=s(M,p,T),E===null?S=M:E.sibling=M,E=M);return Q&&wn(h,T),S}for(A=r(h,A);!M.done;T++,M=m.next())M=g(A,h,T,M.value,x),M!==null&&(e&&M.alternate!==null&&A.delete(M.key===null?T:M.key),p=s(M,p,T),E===null?S=M:E.sibling=M,E=M);return e&&A.forEach(function(ye){return t(h,ye)}),Q&&wn(h,T),S}function C(h,p,m,x){if(typeof m=="object"&&m!==null&&m.type===bn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case zi:e:{for(var S=m.key,E=p;E!==null;){if(E.key===S){if(S=m.type,S===bn){if(E.tag===7){n(h,E.sibling),p=i(E,m.props.children),p.return=h,h=p;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Kt&&uf(S)===E.type){n(h,E.sibling),p=i(E,m.props),p.ref=jr(h,E,m),p.return=h,h=p;break e}n(h,E);break}else t(h,E);E=E.sibling}m.type===bn?(p=Mn(m.props.children,h.mode,x,m.key),p.return=h,h=p):(x=xs(m.type,m.key,m.props,null,h.mode,x),x.ref=jr(h,p,m),x.return=h,h=x)}return o(h);case Wn:e:{for(E=m.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=i(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=tl(m,h.mode,x),p.return=h,h=p}return o(h);case Kt:return E=m._init,C(h,p,E(m._payload),x)}if(Wr(m))return y(h,p,m,x);if(Mr(m))return v(h,p,m,x);Xi(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,m),p.return=h,h=p):(n(h,p),p=el(m,h.mode,x),p.return=h,h=p),o(h)):n(h,p)}return C}var yr=Ep(!0),Cp=Ep(!1),Is=pn(null),zs=null,qn=null,pu=null;function mu(){pu=qn=zs=null}function gu(e){var t=Is.current;G(Is),e._currentValue=t}function ea(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function cr(e,t){zs=e,pu=qn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function tt(e){var t=e._currentValue;if(pu!==e)if(e={context:e,memoizedValue:t,next:null},qn===null){if(zs===null)throw Error(P(308));qn=e,zs.dependencies={lanes:0,firstContext:e}}else qn=qn.next=e;return t}var kn=null;function yu(e){kn===null?kn=[e]:kn.push(e)}function kp(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,yu(t)):(n.next=i.next,i.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Gt=!1;function vu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pp(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 _t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,zt(e,n)}return i=r.interleaved,i===null?(t.next=t,yu(r)):(t.next=i.next,i.next=t),r.interleaved=t,zt(e,n)}function hs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ru(e,n)}}function cf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bs(e,t,n,r){var i=e.updateQueue;Gt=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,o===null?s=u:o.next=u,o=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==o&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(s!==null){var f=i.baseState;o=0,c=u=a=null,l=s;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,v=l;switch(d=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,d=typeof y=="function"?y.call(g,f,d):y,d==null)break e;f=J({},f,d);break e;case 2:Gt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,a=f):c=c.next=g,o|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);jn|=o,e.lanes=o,e.memoizedState=f}}function ff(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(P(191,i));i.call(r)}}}var Ni={},xt=pn(Ni),yi=pn(Ni),vi=pn(Ni);function Pn(e){if(e===Ni)throw Error(P(174));return e}function xu(e,t){switch(U(vi,t),U(yi,e),U(xt,Ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Vl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Vl(t,e)}G(xt),U(xt,t)}function vr(){G(xt),G(yi),G(vi)}function Ap(e){Pn(vi.current);var t=Pn(xt.current),n=Vl(t,e.type);t!==n&&(U(yi,e),U(xt,n))}function wu(e){yi.current===e&&(G(xt),G(yi))}var X=pn(0);function Us(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qo=[];function Su(){for(var e=0;e<Qo.length;e++)Qo[e]._workInProgressVersionPrimary=null;Qo.length=0}var ps=$t.ReactCurrentDispatcher,Yo=$t.ReactCurrentBatchConfig,Vn=0,q=null,ae=null,ce=null,$s=!1,Jr=!1,xi=0,d0=0;function xe(){throw Error(P(321))}function Tu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function Eu(e,t,n,r,i,s){if(Vn=s,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ps.current=e===null||e.memoizedState===null?g0:y0,e=n(r,i),Jr){s=0;do{if(Jr=!1,xi=0,25<=s)throw Error(P(301));s+=1,ce=ae=null,t.updateQueue=null,ps.current=v0,e=n(r,i)}while(Jr)}if(ps.current=Ws,t=ae!==null&&ae.next!==null,Vn=0,ce=ae=q=null,$s=!1,t)throw Error(P(300));return e}function Cu(){var e=xi!==0;return xi=0,e}function mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ce===null?q.memoizedState=ce=e:ce=ce.next=e,ce}function nt(){if(ae===null){var e=q.alternate;e=e!==null?e.memoizedState:null}else e=ae.next;
vendor: 4,994 bytes, line 38
38var t=ce===null?q.memoizedState:ce.next;if(t!==null)ce=t,ae=e;else{if(e===null)throw Error(P(310));ae=e,e={memoizedState:ae.memoizedState,baseState:ae.baseState,baseQueue:ae.baseQueue,queue:ae.queue,next:null},ce===null?q.memoizedState=ce=e:ce=ce.next=e}return ce}function wi(e,t){return typeof t=="function"?t(e):t}function Xo(e){var t=nt(),n=t.queue;if(n===null)throw Error(P(311));n.lastRenderedReducer=e;var r=ae,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var l=o=null,a=null,u=s;do{var c=u.lane;if((Vn&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,o=r):a=a.next=f,q.lanes|=c,jn|=c}u=u.next}while(u!==null&&u!==s);a===null?o=r:a.next=l,ct(r,t.memoizedState)||(Ne=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,q.lanes|=s,jn|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Zo(e){var t=nt(),n=t.queue;if(n===null)throw Error(P(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);ct(s,t.memoizedState)||(Ne=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Dp(){}function Rp(e,t){var n=q,r=nt(),i=t(),s=!ct(r.memoizedState,i);if(s&&(r.memoizedState=i,Ne=!0),r=r.queue,ku(_p.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||ce!==null&&ce.memoizedState.tag&1){if(n.flags|=2048,Si(9,Lp.bind(null,n,r,i,t),void 0,null),fe===null)throw Error(P(349));Vn&30||Mp(n,t,i)}return i}function Mp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=q.updateQueue,t===null?(t={lastEffect:null,stores:null},q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Lp(e,t,n,r){t.value=n,t.getSnapshot=r,Np(t)&&Vp(e)}function _p(e,t,n){return n(function(){Np(t)&&Vp(e)})}function Np(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function Vp(e){var t=zt(e,1);t!==null&&ut(t,e,1,-1)}function df(e){var t=mt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=m0.bind(null,q,e),[t.memoizedState,e]}function Si(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=q.updateQueue,t===null?(t={lastEffect:null,stores:null},q.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function jp(){return nt().memoizedState}function ms(e,t,n,r){var i=mt();q.flags|=e,i.memoizedState=Si(1|t,n,void 0,r===void 0?null:r)}function co(e,t,n,r){var i=nt();r=r===void 0?null:r;var s=void 0;if(ae!==null){var o=ae.memoizedState;if(s=o.destroy,r!==null&&Tu(r,o.deps)){i.memoizedState=Si(t,n,s,r);return}}q.flags|=e,i.memoizedState=Si(1|t,n,s,r)}function hf(e,t){return ms(8390656,8,e,t)}function ku(e,t){return co(2048,8,e,t)}function Op(e,t){return co(4,2,e,t)}function Fp(e,t){return co(4,4,e,t)}function Ip(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 zp(e,t,n){return n=n!=null?n.concat([e]):null,co(4,4,Ip.bind(null,t,e),n)}function Pu(){}function Bp(e,t){var n=nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Up(e,t){var n=nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $p(e,t,n){return Vn&21?(ct(n,t)||(n=Gh(),q.lanes|=n,jn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ne=!0),e.memoizedState=n)}function h0(e,t){var n=I;I=n!==0&&4>n?n:4,e(!0);var r=Yo.transition;Yo.transition={};try{e(!1),t()}finally{I=n,Yo.transition=r}}function Wp(){return nt().memoizedState}function p0(e,t,n){var r=on(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},bp(e))Hp(t,n);else if(n=kp(e,t,n,r),n!==null){var i=De();ut(n,e,r,i),Kp(n,t,r)}}function m0(e,t,n){var r=on(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(bp(e))Hp(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,ct(l,o)){var a=t.interleaved;a===null?(i.next=i,yu(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=kp(e,t,i,r),n!==null&&(i=De(),ut(n,e,r,i),Kp(n,t,r))}}function bp(e){var t=e.alternate;return e===q||t!==null&&t===q}function Hp(e,t){Jr=$s=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}
vendor: 6,885 bytes, lines 38-40
38function Kp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ru(e,n)}}var Ws={readContext:tt,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},g0={readContext:tt,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:hf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ms(4194308,4,Ip.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ms(4194308,4,e,t)},useInsertionEffect:function(e,t){return ms(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=p0.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:df,useDebugValue:Pu,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=df(!1),t=e[0];return e=h0.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,i=mt();if(Q){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),fe===null)throw Error(P(349));Vn&30||Mp(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,hf(_p.bind(null,r,s,e),[e]),r.flags|=2048,Si(9,Lp.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=mt(),t=fe.identifierPrefix;if(Q){var n=Mt,r=Rt;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=d0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},y0={readContext:tt,useCallback:Bp,useContext:tt,useEffect:ku,useImperativeHandle:zp,useInsertionEffect:Op,useLayoutEffect:Fp,useMemo:Up,useReducer:Xo,useRef:jp,useState:function(){return Xo(wi)},useDebugValue:Pu,useDeferredValue:function(e){var t=nt();return $p(t,ae.memoizedState,e)},useTransition:function(){var e=Xo(wi)[0],t=nt().memoizedState;return[e,t]},useMutableSource:Dp,useSyncExternalStore:Rp,useId:Wp,unstable_isNewReconciler:!1},v0={readContext:tt,useCallback:Bp,useContext:tt,useEffect:ku,useImperativeHandle:zp,useInsertionEffect:Op,useLayoutEffect:Fp,useMemo:Up,useReducer:Zo,useRef:jp,useState:function(){return Zo(wi)},useDebugValue:Pu,useDeferredValue:function(e){var t=nt();return ae===null?t.memoizedState=e:$p(t,ae.memoizedState,e)},useTransition:function(){var e=Zo(wi)[0],t=nt().memoizedState;return[e,t]},useMutableSource:Dp,useSyncExternalStore:Rp,useId:Wp,unstable_isNewReconciler:!1};function it(e,t){if(e&&e.defaultProps){t=J({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ta(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:J({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var fo={isMounted:function(e){return(e=e._reactInternals)?In(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=De(),i=on(e),s=_t(r,i);s.payload=t,n!=null&&(s.callback=n),t=rn(e,s,i),t!==null&&(ut(t,e,i,r),hs(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=De(),i=on(e),s=_t(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=rn(e,s,i),t!==null&&(ut(t,e,i,r),hs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=De(),r=on(e),i=_t(n,r);i.tag=2,t!=null&&(i.callback=t),t=rn(e,i,r),t!==null&&(ut(t,e,r,n),hs(t,e,r))}};function pf(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!hi(n,r)||!hi(i,s):!0}function Gp(e,t,n){var r=!1,i=un,s=t.contextType;return typeof s=="object"&&s!==null?s=tt(s):(i=je(t)?_n:ke.current,r=t.contextTypes,s=(r=r!=null)?mr(e,i):un),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=fo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function mf(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&fo.enqueueReplaceState(t,t.state,null)}function na(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},vu(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=tt(s):(s=je(t)?_n:ke.current,i.context=mr(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(ta(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&fo.enqueueReplaceState(i,i.state,null),Bs(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function xr(e,t){try{var n="",r=t;do n+=Ky(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function qo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ra(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var x0=typeof WeakMap=="function"?WeakMap:Map;function Qp(e,t,n){n=_t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,ha=r),ra(e,t)},n}function Yp(e,t,n){n=_t(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ra(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){ra(e,t),typeof r!="function"&&(sn===null?sn=new Set([this]):sn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function gf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new x0;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=N0.bind(null,e,t,n),t.then(e,e))}function yf(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 vf(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=_t(-1,1),t.tag=2,rn(n,t,1))),n.lanes|=1),e)}var w0=$t.ReactCurrentOwner,Ne=!1;
vendor: 4,608 bytes, line 40
40function Ae(e,t,n,r){t.child=e===null?Cp(t,null,n,r):yr(t,e.child,n,r)}function xf(e,t,n,r,i){n=n.render;var s=t.ref;return cr(t,i),r=Eu(e,t,n,r,s,i),n=Cu(),e!==null&&!Ne?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bt(e,t,i)):(Q&&n&&fu(t),t.flags|=1,Ae(e,t,r,i),t.child)}function wf(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vu(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Xp(e,t,s,r,i)):(e=xs(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:hi,n(o,r)&&e.ref===t.ref)return Bt(e,t,i)}return t.flags|=1,e=ln(s,r),e.ref=t.ref,e.return=t,t.child=e}function Xp(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(hi(s,r)&&e.ref===t.ref)if(Ne=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Ne=!0);else return t.lanes=e.lanes,Bt(e,t,i)}return ia(e,t,n,r,i)}function Zp(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U(er,Fe),Fe|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,U(er,Fe),Fe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,U(er,Fe),Fe|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,U(er,Fe),Fe|=r;return Ae(e,t,i,n),t.child}function qp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ia(e,t,n,r,i){var s=je(n)?_n:ke.current;return s=mr(t,s),cr(t,i),n=Eu(e,t,n,r,s,i),r=Cu(),e!==null&&!Ne?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bt(e,t,i)):(Q&&r&&fu(t),t.flags|=1,Ae(e,t,n,i),t.child)}function Sf(e,t,n,r,i){if(je(n)){var s=!0;js(t)}else s=!1;if(cr(t,i),t.stateNode===null)gs(e,t),Gp(t,n,r),na(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var a=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=tt(u):(u=je(n)?_n:ke.current,u=mr(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||a!==u)&&mf(t,o,r,u),Gt=!1;var d=t.memoizedState;o.state=d,Bs(t,r,o,i),a=t.memoizedState,l!==r||d!==a||Ve.current||Gt?(typeof c=="function"&&(ta(t,n,c,r),a=t.memoizedState),(l=Gt||pf(t,n,l,r,d,a,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Pp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:it(t.type,l),o.props=u,f=t.pendingProps,d=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=tt(a):(a=je(n)?_n:ke.current,a=mr(t,a));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==f||d!==a)&&mf(t,o,r,a),Gt=!1,d=t.memoizedState,o.state=d,Bs(t,r,o,i);var y=t.memoizedState;l!==f||d!==y||Ve.current||Gt?(typeof g=="function"&&(ta(t,n,g,r),y=t.memoizedState),(u=Gt||pf(t,n,u,r,d,y,a)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,y,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,y,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),o.props=r,o.state=y,o.context=a,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return sa(e,t,n,r,s,i)}function sa(e,t,n,r,i,s){qp(e,t);var o=(t.flags&128)!==0;
vendor: 10,603 bytes, line 40
40if(!r&&!o)return i&&of(t,n,!1),Bt(e,t,s);r=t.stateNode,w0.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=yr(t,e.child,null,s),t.child=yr(t,null,l,s)):Ae(e,t,l,s),t.memoizedState=r.state,i&&of(t,n,!0),t.child}function Jp(e){var t=e.stateNode;t.pendingContext?sf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&sf(e,t.context,!1),xu(e,t.containerInfo)}function Tf(e,t,n,r,i){return gr(),hu(i),t.flags|=256,Ae(e,t,n,r),t.child}var oa={dehydrated:null,treeContext:null,retryLane:0};function la(e){return{baseLanes:e,cachePool:null,transitions:null}}function em(e,t,n){var r=t.pendingProps,i=X.current,s=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),U(X,i&1),e===null)return Jl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=mo(o,r,0,null),e=Mn(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=la(n),t.memoizedState=oa,e):Au(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return S0(e,t,o,r,l,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=ln(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=ln(l,s):(s=Mn(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?la(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=oa,r}return s=e.child,e=s.sibling,r=ln(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Au(e,t){return t=mo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zi(e,t,n,r){return r!==null&&hu(r),yr(t,e.child,null,n),e=Au(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function S0(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=qo(Error(P(422))),Zi(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=mo({mode:"visible",children:r.children},i,0,null),s=Mn(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&yr(t,e.child,null,o),t.child.memoizedState=la(o),t.memoizedState=oa,s);if(!(t.mode&1))return Zi(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(P(419)),r=qo(s,r,void 0),Zi(e,t,o,r)}if(l=(o&e.childLanes)!==0,Ne||l){if(r=fe,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,zt(e,i),ut(r,e,i,-1))}return Nu(),r=qo(Error(P(421))),Zi(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=V0.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ze=nn(i.nextSibling),Be=t,Q=!0,ot=null,e!==null&&(Ze[qe++]=Rt,Ze[qe++]=Mt,Ze[qe++]=Nn,Rt=e.id,Mt=e.overflow,Nn=t),t=Au(t,r.children),t.flags|=4096,t)}function Ef(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ea(e.return,t,n)}function Jo(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function tm(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ae(e,t,r.children,n),r=X.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ef(e,n,t);else if(e.tag===19)Ef(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(U(X,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Us(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Jo(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Us(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Jo(t,!0,n,null,s);break;case"together":Jo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),jn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,n=ln(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ln(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function T0(e,t,n){switch(t.tag){case 3:Jp(t),gr();break;case 5:Ap(t);break;case 1:je(t.type)&&js(t);break;case 4:xu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;U(Is,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(X,X.current&1),t.flags|=128,null):n&t.child.childLanes?em(e,t,n):(U(X,X.current&1),e=Bt(e,t,n),e!==null?e.sibling:null);U(X,X.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return tm(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(X,X.current),r)break;return null;case 22:case 23:return t.lanes=0,Zp(e,t,n)}return Bt(e,t,n)}var nm,aa,rm,im;nm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};aa=function(){};rm=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pn(xt.current);var s=null;switch(n){case"input":i=Ml(e,i),r=Ml(e,r),s=[];break;case"select":i=J({},i,{value:void 0}),r=J({},r,{value:void 0}),s=[];break;case"textarea":i=Nl(e,i),r=Nl(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ns)}jl(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(oi.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&l[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(s||(s=[]),s.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(s=s||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(s=s||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(oi.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&K("scroll",e),s||l===a||(s=[])):(s=s||[]).push(u,a))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};im=function(e,t,n,r){n!==r&&(t.flags|=4)};function Or(e,t){if(!Q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function E0(e,t,n){var r=t.pendingProps;switch(du(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return je(t.type)&&Vs(),we(t),null;case 3:return r=t.stateNode,vr(),G(Ve),G(ke),Su(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Yi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ot!==null&&(ga(ot),ot=null))),aa(e,t),we(t),null;case 5:wu(t);var i=Pn(vi.current);if(n=t.type,e!==null&&t.stateNode!=null)rm(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(P(166));return we(t),null}if(e=Pn(xt.current),Yi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[gt]=t,r[gi]=s,e=(t.mode&1)!==0,n){case"dialog":K("cancel",r),K("close",r);break;case"iframe":case"object":case"embed":K("load",r);break;case"video":case"audio":for(i=0;i<Hr.length;i++)K(Hr[i],r);break;case"source":K("error",r);break;case"img":case"image":case"link":K("error",r),K("load",r);break;case"details":K("toggle",r);break;case"input":Lc(r,s),K("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},K("invalid",r);break;case"textarea":Nc(r,s),K("invalid",r)}jl(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&Qi(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&Qi(r.textContent,l,e),i=["children",""+l]):oi.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&K("scroll",r)}switch(n){case"input":Bi(r),_c(r,s,!0);break;case"textarea":Bi(r),Vc(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ns)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=_h(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[gt]=t,e[gi]=r,nm(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ol(n,r),n){case"dialog":K("cancel",e),K("close",e),i=r;break;case"iframe":case"object":case"embed":K("load",e),i=r;break;case"video":case"audio":for(i=0;i<Hr.length;i++)K(Hr[i],e);i=r;break;case"source":K("error",e),i=r;break;case"img":case"image":case"link":K("error",e),K("load",e),i=r;break;case"details":K("toggle",e),i=r;break;case"input":Lc(e,r),i=Ml(e,r),K("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=J({},r,{value:void 0}),K("invalid",e);break;case"textarea":Nc(e,r),i=Nl(e,r),K("invalid",e);break;default:i=r}jl(n,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="style"?jh(e,a):s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Nh(e,a)):s==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&li(e,a):typeof a=="number"&&li(e,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(oi.hasOwnProperty(s)?a!=null&&s==="onScroll"&&K("scroll",e):a!=null&&Za(e,s,a,o))}switch(n){case"input":Bi(e),_c(e,r,!1);break;case"textarea":Bi(e),Vc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+an(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?or(e,!!r.multiple,s,!1):r.defaultValue!=null&&or(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ns)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return we(t),null;case 6:if(e&&t.stateNode!=null)im(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(P(166));if(n=Pn(vi.current),Pn(xt.current),Yi(t)){if(r=t.stateNode,n=t.memoizedProps,r[gt]=t,(s=r.nodeValue!==n)&&(e=Be,e!==null))switch(e.tag){case 3:Qi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Qi(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gt]=t,t.stateNode=r}return we(t),null;case 13:if(G(X),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Q&&ze!==null&&t.mode&1&&!(t.flags&128))Tp(),gr(),t.flags|=98560,s=!1;else if(s=Yi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(P(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(P(317));s[gt]=t}else gr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;we(t),s=!1}else ot!==null&&(ga(ot),ot=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||X.current&1?ue===0&&(ue=3):Nu())),t.updateQueue!==null&&(t.flags|=4),we(t),null);case 4:return vr(),aa(e,t),e===null&&pi(t.stateNode.containerInfo),we(t),null;case 10:return gu(t.type._context),we(t),null;case 17:return je(t.type)&&Vs(),we(t),null;case 19:if(G(X),s=t.memoizedState,s===null)return we(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)Or(s,!1);else{if(ue!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Us(e),o!==null){for(t.flags|=128,Or(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(X,X.current&1|2),t.child}e=e.sibling}s.tail!==null&&se()>wr&&(t.flags|=128,r=!0,Or(s,!1),t.lanes=4194304)}else{if(!r)if(e=Us(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Or(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Q)return we(t),null}else 2*se()-s.renderingStartTime>wr&&n!==1073741824&&(t.flags|=128,r=!0,Or(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=se(),t.sibling=null,n=X.current,U(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return _u(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function C0(e,t){switch(du(t),t.tag){case 1:return je(t.type)&&Vs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,081 bytes, line 40
40case 3:return vr(),G(Ve),G(ke),Su(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wu(t),null;case 13:if(G(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(X),null;case 4:return vr(),null;case 10:return gu(t.type._context),null;case 22:case 23:return _u(),null;case 24:return null;default:return null}}var qi=!1,Te=!1,k0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function ua(e,t,n){try{n()}catch(r){ne(e,t,r)}}var Cf=!1;function P0(e,t){if(Kl=Ms,e=up(),cu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=o+i),f!==s||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=o),d===s&&++c===r&&(a=o),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gl={focusedElem:e,selectionRange:n},Ms=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,C=y.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:it(t.type,v),C);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){ne(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=Cf,Cf=!1,y}function ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&ua(t,n,s)}i=i.next}while(i!==r)}}function ho(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ca(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sm(e){var t=e.alternate;t!==null&&(e.alternate=null,sm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gt],delete t[gi],delete t[Xl],delete t[a0],delete t[u0])),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 om(e){return e.tag===5||e.tag===3||e.tag===4}function kf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||om(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 fa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ns));else if(r!==4&&(e=e.child,e!==null))for(fa(e,t,n),e=e.sibling;e!==null;)fa(e,t,n),e=e.sibling}function da(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(da(e,t,n),e=e.sibling;e!==null;)da(e,t,n),e=e.sibling}var he=null,st=!1;function bt(e,t,n){for(n=n.child;n!==null;)lm(e,t,n),n=n.sibling}function lm(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(io,n)}catch{}switch(n.tag){case 5:Te||Jn(n,t);case 6:var r=he,i=st;he=null,bt(e,t,n),he=r,st=i,he!==null&&(st?(e=he,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):he.removeChild(n.stateNode));break;case 18:he!==null&&(st?(e=he,n=n.stateNode,e.nodeType===8?Ko(e.parentNode,n):e.nodeType===1&&Ko(e,n),fi(e)):Ko(he,n.stateNode));break;case 4:r=he,i=st,he=n.stateNode.containerInfo,st=!0,bt(e,t,n),he=r,st=i;break;case 0:case 11:case 14:case 15:if(!Te&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&ua(n,t,o),i=i.next}while(i!==r)}bt(e,t,n);break;case 1:if(!Te&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ne(n,t,l)}bt(e,t,n);break;case 21:bt(e,t,n);break;case 22:n.mode&1?(Te=(r=Te)||n.memoizedState!==null,bt(e,t,n),Te=r):bt(e,t,n);break;default:bt(e,t,n)}}function Pf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new k0),t.forEach(function(r){var i=j0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:he=l.stateNode,st=!1;break e;case 3:he=l.stateNode.containerInfo,st=!0;break e;case 4:he=l.stateNode.containerInfo,st=!0;break e}l=l.return}if(he===null)throw Error(P(160));lm(s,o,i),he=null,st=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){ne(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)am(t,e),t=t.sibling}function am(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(rt(t,e),pt(e),r&4){try{ei(3,e,e.return),ho(3,e)}catch(v){ne(e,e.return,v)}try{ei(5,e,e.return)}catch(v){ne(e,e.return,v)}}break;case 1:rt(t,e),pt(e),r&512&&n!==null&&Jn(n,n.return);break;case 5:if(rt(t,e),pt(e),r&512&&n!==null&&Jn(n,n.return),e.flags&32){var i=e.stateNode;try{li(i,"")}catch(v){ne(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&Mh(i,s),Ol(l,o);var u=Ol(l,s);for(o=0;o<a.length;o+=2){var c=a[o],f=a[o+1];c==="style"?jh(i,f):c==="dangerouslySetInnerHTML"?Nh(i,f):c==="children"?li(i,f):Za(i,c,f,u)}switch(l){case"input":Ll(i,s);break;case"textarea":Lh(i,s);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var g=s.value;g!=null?or(i,!!s.multiple,g,!1):d!==!!s.multiple&&(s.defaultValue!=null?or(i,!!s.multiple,s.defaultValue,!0):or(i,!!s.multiple,s.multiple?[]:"",!1))}i[gi]=s}catch(v){ne(e,e.return,v)}}break;case 6:if(rt(t,e),pt(e),r&4){if(e.stateNode===null)throw Error(P(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(v){ne(e,e.return,v)}}break;case 3:if(rt(t,e),pt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fi(t.containerInfo)}catch(v){ne(e,e.return,v)}break;case 4:rt(t,e),pt(e);break;case 13:rt(t,e),pt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Mu=se())),r&4&&Pf(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Te=(u=Te)||c,rt(t,e),Te=u):rt(t,e),pt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(R=e,c=e.child;c!==null;){for(f=R=c;R!==null;){switch(d=R,g=d.child,d.tag){case 0:case 11:case 14:case 15:ei(4,d,d.return);break;case 1:Jn(d,d.return);var y=d.stateNode;if(typeof y.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){ne(r,n,v)}}break;case 5:Jn(d,d.return);break;case 22:if(d.memoizedState!==null){Df(f);continue}}g!==null?(g.return=d,R=g):Df(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=f.stateNode,a=f.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Vh("display",o))}catch(v){ne(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ne(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:rt(t,e),pt(e),r&4&&Pf(e);break;case 21:break;default:rt(t,e),pt(e)}}function pt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(om(n)){var r=n;break e}n=n.return}throw Error(P(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(li(i,""),r.flags&=-33);var s=kf(e);da(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,l=kf(e);fa(e,l,o);break;default:throw Error(P(161))}}catch(a){ne(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function A0(e,t,n){R=e,um(e)}function um(e,t,n){for(var r=(e.mode&1)!==0;R!==null;){var i=R,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||qi;if(!o){var l=i.alternate,a=l!==null&&l.memoizedState!==null||Te;l=qi;var u=Te;if(qi=o,(Te=a)&&!u)for(R=i;R!==null;)o=R,a=o.child,o.tag===22&&o.memoizedState!==null?Rf(i):a!==null?(a.return=o,R=a):Rf(i);for(;s!==null;)R=s,um(s),s=s.sibling;R=i,qi=l,Te=u}Af(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,R=s):Af(e)}}function Af(e){for(;R!==null;){var t=R;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Te||ho(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Te)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:it(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&ff(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ff(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&fi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(P(163))}Te||t.flags&512&&ca(t)}catch(d){ne(t,t.return,d)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function Df(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function Rf(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ho(4,t)}catch(a){ne(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ne(t,i,a)}}var s=t.return;try{ca(t)}catch(a){ne(t,s,a)}break;case 5:var o=t.return;try{ca(t)}catch(a){ne(t,o,a)}}}catch(a){ne(t,t.return,a)}if(t===e){R=null;break}var l=t.sibling;if(l!==null){l.return=t.return,R=l;break}R=t.return}}var D0=Math.ceil,bs=$t.ReactCurrentDispatcher,Du=$t.ReactCurrentOwner,et=$t.ReactCurrentBatchConfig,O=0,fe=null,oe=null,me=0,Fe=0,er=pn(0),ue=0,Ti=null,jn=0,po=0,Ru=0,ti=null,Le=null,Mu=0,wr=1/0,Pt=null,Hs=!1,ha=null,sn=null,Ji=!1,Zt=null,Ks=0,ni=0,pa=null,ys=-1,vs=0;function De(){return O&6?se():ys!==-1?ys:ys=se()}function on(e){return e.mode&1?O&2&&me!==0?me&-me:f0.transition!==null?(vs===0&&(vs=Gh()),vs):(e=I,e!==0||(e=window.event,e=e===void 0?16:ep(e.type)),e):1}function ut(e,t,n,r){if(50<ni)throw ni=0,pa=null,Error(P(185));Mi(e,n,r),(!(O&2)||e!==fe)&&(e===fe&&(!(O&2)&&(po|=n),ue===4&&Yt(e,me)),Oe(e,r),n===1&&O===0&&!(t.mode&1)&&(wr=se()+500,uo&&mn()))}function Oe(e,t){var n=e.callbackNode;fv(e,t);var r=Rs(e,e===fe?me:0);if(r===0)n!==null&&Fc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Fc(n),t===1)e.tag===0?c0(Mf.bind(null,e)):xp(Mf.bind(null,e)),o0(function(){!(O&6)&&mn()}),n=null;else{switch(Qh(r)){case 1:n=nu;break;case 4:n=Hh;break;case 16:n=Ds;break;case 536870912:n=Kh;break;default:n=Ds}n=ym(n,cm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function cm(e,t){if(ys=-1,vs=0,O&6)throw Error(P(327));var n=e.callbackNode;if(fr()&&e.callbackNode!==n)return null;var r=Rs(e,e===fe?me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Gs(e,r);else{t=r;var i=O;O|=2;var s=dm();(fe!==e||me!==t)&&(Pt=null,wr=se()+500,Rn(e,t));do try{L0();break}catch(l){fm(e,l)}while(!0);mu(),bs.current=s,O=i,oe!==null?t=0:(fe=null,me=0,t=ue)}if(t!==0){if(t===2&&(i=Ul(e),i!==0&&(r=i,t=ma(e,i))),t===1)throw n=Ti,Rn(e,0),Yt(e,r),Oe(e,se()),n;if(t===6)Yt(e,r);else{if(i=e.current.alternate,!(r&30)&&!R0(i)&&(t=Gs(e,r),t===2&&(s=Ul(e),s!==0&&(r=s,t=ma(e,s))),t===1))throw n=Ti,Rn(e,0),Yt(e,r),Oe(e,se()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(P(345));case 2:Sn(e,Le,Pt);break;case 3:if(Yt(e,r),(r&130023424)===r&&(t=Mu+500-se(),10<t)){if(Rs(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){De(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Yl(Sn.bind(null,e,Le,Pt),t);break}Sn(e,Le,Pt);break;case 4:if(Yt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-at(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*D0(r/1960))-r,10<r){e.timeoutHandle=Yl(Sn.bind(null,e,Le,Pt),r);break}Sn(e,Le,Pt);break;case 5:Sn(e,Le,Pt);break;default:throw Error(P(329))}}}return Oe(e,se()),e.callbackNode===n?cm.bind(null,e):null}function ma(e,t){var n=ti;return e.current.memoizedState.isDehydrated&&(Rn(e,t).flags|=256),e=Gs(e,t),e!==2&&(t=Le,Le=n,t!==null&&ga(t)),e}function ga(e){Le===null?Le=e:Le.push.apply(Le,e)}function R0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!ct(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yt(e,t){for(t&=~Ru,t&=~po,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Mf(e){if(O&6)throw Error(P(327));fr();var t=Rs(e,0);if(!(t&1))return Oe(e,se()),null;var n=Gs(e,t);if(e.tag!==0&&n===2){var r=Ul(e);r!==0&&(t=r,n=ma(e,r))}if(n===1)throw n=Ti,Rn(e,0),Yt(e,t),Oe(e,se()),n;if(n===6)throw Error(P(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sn(e,Le,Pt),Oe(e,se()),null}function Lu(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(wr=se()+500,uo&&mn())}}function On(e){Zt!==null&&Zt.tag===0&&!(O&6)&&fr();var t=O;O|=1;var n=et.transition,r=I;try{if(et.transition=null,I=1,e)return e()}finally{I=r,et.transition=n,O=t,!(O&6)&&mn()}}function _u(){Fe=er.current,G(er)}function Rn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,s0(n)),oe!==null)for(n=oe.return;n!==null;){var r=n;switch(du(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vs();break;case 3:vr(),G(Ve),G(ke),Su();break;case 5:wu(r);break;case 4:vr();break;case 13:G(X);break;case 19:G(X);break;case 10:gu(r.type._context);break;case 22:case 23:_u()}n=n.return}if(fe=e,oe=e=ln(e.current,null),me=Fe=t,ue=0,Ti=null,Ru=po=jn=0,Le=ti=null,kn!==null){for(t=0;t<kn.length;t++)if(n=kn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}kn=null}return e}function fm(e,t){do{var n=oe;try{if(mu(),ps.current=Ws,$s){for(var r=q.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}$s=!1}if(Vn=0,ce=ae=q=null,Jr=!1,xi=0,Du.current=null,n===null||n.return===null){ue=1,Ti=t,oe=null;break}e:{var s=e,o=n.return,l=n,a=t;if(t=me,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=yf(o);if(g!==null){g.flags&=-257,vf(g,o,l,s,t),g.mode&1&&gf(s,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(a),t.updateQueue=v}else y.add(a);break e}else{if(!(t&1)){gf(s,u,t),Nu();break e}a=Error(P(426))}}else if(Q&&l.mode&1){var C=yf(o);if(C!==null){!(C.flags&65536)&&(C.flags|=256),vf(C,o,l,s,t),hu(xr(a,l));break e}}s=a=xr(a,l),ue!==4&&(ue=2),ti===null?ti=[s]:ti.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var h=Qp(s,a,t);cf(s,h);break e;case 1:l=a;var p=s.type,m=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(sn===null||!sn.has(m)))){s.flags|=65536,t&=-t,s.lanes|=t;var x=Yp(s,l,t);cf(s,x);break e}}s=s.return}while(s!==null)}pm(n)}catch(S){t=S,oe===n&&n!==null&&(oe=n=n.return);continue}break}while(!0)}function dm(){var e=bs.current;return bs.current=Ws,e===null?Ws:e}function Nu(){(ue===0||ue===3||ue===2)&&(ue=4),fe===null||!(jn&268435455)&&!(po&268435455)||Yt(fe,me)}function Gs(e,t){var n=O;O|=2;var r=dm();(fe!==e||me!==t)&&(Pt=null,Rn(e,t));do try{M0();break}catch(i){fm(e,i)}while(!0);if(mu(),O=n,bs.current=r,oe!==null)throw Error(P(261));return fe=null,me=0,ue}function M0(){for(;oe!==null;)hm(oe)}function L0(){for(;oe!==null&&!nv();)hm(oe)}function hm(e){var t=gm(e.alternate,e,Fe);e.memoizedProps=e.pendingProps,t===null?pm(e):oe=t,Du.current=null}function pm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=C0(n,t),n!==null){n.flags&=32767,oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ue=6,oe=null;return}}else if(n=E0(n,t,Fe),n!==null){oe=n;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);ue===0&&(ue=5)}function Sn(e,t,n){var r=I,i=et.transition;try{et.transition=null,I=1,_0(e,t,n,r)}finally{et.transition=i,I=r}return null}function _0(e,t,n,r){do fr();while(Zt!==null);if(O&6)throw Error(P(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(P(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(dv(e,s),e===fe&&(oe=fe=null,me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ji||(Ji=!0,ym(Ds,function(){return fr(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=et.transition,et.transition=null;var o=I;I=1;var l=O;O|=4,Du.current=null,P0(e,n),am(n,e),qv(Gl),Ms=!!Kl,Gl=Kl=null,e.current=n,A0(n),rv(),O=l,I=o,et.transition=s}else e.current=n;if(Ji&&(Ji=!1,Zt=e,Ks=i),s=e.pendingLanes,s===0&&(sn=null),ov(n.stateNode),Oe(e,se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Hs)throw Hs=!1,e=ha,ha=null,e;return Ks&1&&e.tag!==0&&fr(),s=e.pendingLanes,s&1?e===pa?ni++:(ni=0,pa=e):ni=0,mn(),null}function fr(){if(Zt!==null){var e=Qh(Ks),t=et.transition,n=I;try{if(et.transition=null,I=16>e?16:e,Zt===null)var r=!1;else{if(e=Zt,Zt=null,Ks=0,O&6)throw Error(P(331));var i=O;for(O|=4,R=e.current;R!==null;){var s=R,o=s.child;if(R.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(R=u;R!==null;){var c=R;switch(c.tag){case 0:case 11:case 15:ei(8,c,s)}var f=c.child;if(f!==null)f.return=c,R=f;else for(;R!==null;){c=R;var d=c.sibling,g=c.return;if(sm(c),c===u){R=null;break}if(d!==null){d.return=g,R=d;break}R=g}}}var y=s.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var C=v.sibling;v.sibling=null,v=C}while(v!==null)}}R=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,R=o;else e:for(;R!==null;){if(s=R,s.flags&2048)switch(s.tag){case 0:case 11:case 15:ei(9,s,s.return)}var h=s.sibling;if(h!==null){h.return=s.return,R=h;break e}R=s.return}}var p=e.current;for(R=p;R!==null;){o=R;var m=o.child;if(o.subtreeFlags&2064&&m!==null)m.return=o,R=m;else e:for(o=p;R!==null;){if(l=R,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:ho(9,l)}}catch(S){ne(l,l.return,S)}if(l===o){R=null;break e}var x=l.sibling;if(x!==null){x.return=l.return,R=x;break e}R=l.return}}if(O=i,mn(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(io,e)}catch{}r=!0}return r}finally{I=n,et.transition=t}}return!1}function Lf(e,t,n){t=xr(n,t),t=Qp(e,t,1),e=rn(e,t,1),t=De(),e!==null&&(Mi(e,1,t),Oe(e,t))}function ne(e,t,n){if(e.tag===3)Lf(e,e,n);else for(;t!==null;){if(t.tag===3){Lf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(sn===null||!sn.has(r))){e=xr(n,e),e=Yp(t,e,1),t=rn(t,e,1),e=De(),t!==null&&(Mi(t,1,e),Oe(t,e));break}}t=t.return}}function N0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=De(),e.pingedLanes|=e.suspendedLanes&n,fe===e&&(me&n)===n&&(ue===4||ue===3&&(me&130023424)===me&&500>se()-Mu?Rn(e,0):Ru|=n),Oe(e,t)}function mm(e,t){t===0&&(e.mode&1?(t=Wi,Wi<<=1,!(Wi&130023424)&&(Wi=4194304)):t=1);var n=De();e=zt(e,t),e!==null&&(Mi(e,t,n),Oe(e,n))}function V0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mm(e,n)}function j0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),mm(e,n)}var gm;gm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,T0(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,Q&&t.flags&1048576&&wp(t,Fs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gs(e,t),e=t.pendingProps;var i=mr(t,ke.current);cr(t,n),i=Eu(null,t,r,e,i,n);var s=Cu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(s=!0,js(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,vu(t),i.updater=fo,t.stateNode=i,i._reactInternals=t,na(t,r,e,n),t=sa(null,t,r,!0,s,n)):(t.tag=0,Q&&s&&fu(t),Ae(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gs(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=F0(r),e=it(r,e),i){case 0:t=ia(null,t,r,e,n);break e;case 1:t=Sf(null,t,r,e,n);break e;case 11:t=xf(null,t,r,e,n);break e;case 14:t=wf(null,t,r,it(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),ia(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),Sf(e,t,r,i,n);case 3:e:{if(Jp(t),e===null)throw Error(P(387));
vendor: 5,687 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,i=s.element,Pp(e,t),Bs(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=xr(Error(P(423)),t),t=Tf(e,t,r,n,i);break e}else if(r!==i){i=xr(Error(P(424)),t),t=Tf(e,t,r,n,i);break e}else for(ze=nn(t.stateNode.containerInfo.firstChild),Be=t,Q=!0,ot=null,n=Cp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gr(),r===i){t=Bt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Ap(t),e===null&&Jl(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Ql(r,i)?o=null:s!==null&&Ql(r,s)&&(t.flags|=32),qp(e,t),Ae(e,t,o,n),t.child;case 6:return e===null&&Jl(t),null;case 13:return em(e,t,n);case 4:return xu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),xf(e,t,r,i,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,U(Is,r._currentValue),r._currentValue=o,s!==null)if(ct(s.value,o)){if(s.children===i.children&&!Ve.current){t=Bt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=_t(-1,n&-n),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ea(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(P(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),ea(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ae(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,cr(t,n),i=tt(i),r=r(i),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,i=it(r,t.pendingProps),i=it(r.type,i),wf(e,t,r,i,n);case 15:return Xp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),gs(e,t),t.tag=1,je(r)?(e=!0,js(t)):e=!1,cr(t,n),Gp(t,r,i),na(t,r,i,n),sa(null,t,r,!0,e,n);case 19:return tm(e,t,n);case 22:return Zp(e,t,n)}throw Error(P(156,t.tag))};function ym(e,t){return bh(e,t)}function O0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,n,r){return new O0(e,t,n,r)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function F0(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ja)return 11;if(e===eu)return 14}return 2}function ln(e,t){var n=e.alternate;return n===null?(n=Je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xs(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Vu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case bn:return Mn(n.children,i,s,t);case qa:o=8,i|=8;break;case Pl:return e=Je(12,n,t,i|2),e.elementType=Pl,e.lanes=s,e;case Al:return e=Je(13,n,t,i),e.elementType=Al,e.lanes=s,e;case Dl:return e=Je(19,n,t,i),e.elementType=Dl,e.lanes=s,e;case Ah:return mo(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kh:o=10;break e;case Ph:o=9;break e;case Ja:o=11;break e;case eu:o=14;break e;case Kt:o=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Je(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Mn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function mo(e,t,n,r){return e=Je(22,e,r,t),e.elementType=Ah,e.lanes=n,e.stateNode={isHidden:!1},e}function el(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function tl(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I0(e,t,n,r,i){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=jo(0),this.expirationTimes=jo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ju(e,t,n,r,i,s,o,l,a){return e=new I0(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Je(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(s),e}
vendor: 4,671 bytes, line 40
40function z0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Wn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function vm(e){if(!e)return un;e=e._reactInternals;e:{if(In(e)!==e||e.tag!==1)throw Error(P(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(P(171))}if(e.tag===1){var n=e.type;if(je(n))return vp(e,n,t)}return t}function xm(e,t,n,r,i,s,o,l,a){return e=ju(n,r,!0,e,i,s,o,l,a),e.context=vm(null),n=e.current,r=De(),i=on(n),s=_t(r,i),s.callback=t??null,rn(n,s,i),e.current.lanes=i,Mi(e,i,r),Oe(e,r),e}function go(e,t,n,r){var i=t.current,s=De(),o=on(i);return n=vm(n),t.context===null?t.context=n:t.pendingContext=n,t=_t(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=rn(i,t,o),e!==null&&(ut(e,i,o,s),hs(e,i,o)),o}function Qs(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 _f(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ou(e,t){_f(e,t),(e=e.alternate)&&_f(e,t)}function B0(){return null}var wm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Fu(e){this._internalRoot=e}yo.prototype.render=Fu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(P(409));go(e,t,null,null)};yo.prototype.unmount=Fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;On(function(){go(null,e,null,null)}),t[It]=null}};function yo(e){this._internalRoot=e}yo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Zh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Qt.length&&t!==0&&t<Qt[n].priority;n++);Qt.splice(n,0,e),n===0&&Jh(e)}};function Iu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Nf(){}function U0(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Qs(o);s.call(u)}}var o=xm(t,r,e,0,null,!1,!1,"",Nf);return e._reactRootContainer=o,e[It]=o.current,pi(e.nodeType===8?e.parentNode:e),On(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=Qs(a);l.call(u)}}var a=ju(e,0,!1,null,null,!1,!1,"",Nf);return e._reactRootContainer=a,e[It]=a.current,pi(e.nodeType===8?e.parentNode:e),On(function(){go(t,a,n,r)}),a}function xo(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var l=i;i=function(){var a=Qs(o);l.call(a)}}go(t,o,e,i)}else o=U0(n,t,e,i,r);return Qs(o)}Yh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=br(t.pendingLanes);n!==0&&(ru(t,n|1),Oe(t,se()),!(O&6)&&(wr=se()+500,mn()))}break;case 13:On(function(){var r=zt(e,1);if(r!==null){var i=De();ut(r,e,1,i)}}),Ou(e,1)}};iu=function(e){if(e.tag===13){var t=zt(e,134217728);if(t!==null){var n=De();ut(t,e,134217728,n)}Ou(e,134217728)}};Xh=function(e){if(e.tag===13){var t=on(e),n=zt(e,t);if(n!==null){var r=De();ut(n,e,t,r)}Ou(e,t)}};Zh=function(){return I};qh=function(e,t){var n=I;try{return I=e,t()}finally{I=n}};Il=function(e,t,n){switch(t){case"input":if(Ll(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ao(r);if(!i)throw Error(P(90));Rh(r),Ll(r,i)}}}break;case"textarea":Lh(e,n);break;case"select":t=n.value,t!=null&&or(e,!!n.multiple,t,!1)}};Ih=Lu;zh=On;var $0={usingClientEntryPoint:!1,Events:[_i,Qn,ao,Oh,Fh,Lu]},Fr={findFiberByHostInstance:Cn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W0={bundleType:Fr.bundleType,version:Fr.version,rendererPackageName:Fr.rendererPackageName,rendererConfig:Fr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$t.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=$h(e),e===null?null:e.stateNode},findFiberByHostInstance:Fr.findFiberByHostInstance||B0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var es=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!es.isDisabled&&es.supportsFiber)try{io=es.inject(W0),vt=es}catch{}}We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$0;We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Iu(t))throw Error(P(200));return z0(e,t,null,n)};We.createRoot=function(e,t){if(!Iu(e))throw Error(P(299));var n=!1,r="",i=wm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ju(e,1,!1,null,null,n,!1,r,i),e[It]=t.current,pi(e.nodeType===8?e.parentNode:e),new Fu(t)};We.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(P(188)):(e=Object.keys(e).join(","),Error(P(268,e)));return e=$h(t),e=e===null?null:e.stateNode,e};We.flushSync=function(e){return On(e)};We.hydrate=function(e,t,n){if(!vo(t))throw Error(P(200));return xo(null,e,t,!0,n)};We.hydrateRoot=function(e,t,n){if(!Iu(e))throw Error(P(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=wm;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=xm(t,null,e,1,n??null,i,!1,s,o),e[It]=t.current,pi(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new yo(t)};We.render=function(e,t,n){if(!vo(t))throw Error(P(200));return xo(null,e,t,!1,n)};We.unmountComponentAtNode=function(e){if(!vo(e))throw Error(P(40));return e._reactRootContainer?(On(function(){xo(null,null,e,!1,function(){e._reactRootContainer=null,e[It]=null})}),!0):!1};We.unstable_batchedUpdates=Lu;We.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!vo(n))throw Error(P(200));if(e==null||e._reactInternals===void 0)throw Error(P(38));return xo(e,t,n,!1,r)};We.version="18.3.1-next-f1338f8080-20240426";function Sm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sm)}catch(e){console.error(e)}}Sm(),Sh.exports=We;var b0=Sh.exports,Tm,Vf=b0;Tm=Vf.createRoot,Vf.hydrateRoot;const jf=[{id:1,title:"Wohnen",description:"Ihre Wohnsituation in Dubai"},{id:2,title:"Familie",description:"Familienplanung und Bildung"},{id:3,title:"Lifestyle",description:"Ihr Leben in Dubai"},{id:4,title:"Kontakt",description:"Ihre persönlichen Daten"},{id:5,title:"Ergebnis",description:"Ihre Kostenübersicht"}],ya=[{id:"residencyType",text:"Wie möchten Sie Ihr Leben in Dubai gestalten?",type:"single",category:"lifestyle",required:!0,options:[{id:"permanent",text:"Dauerhaftes Wüstenabenteuer",subtext:"Ein neues Leben unter der arabischen Sonne",costFactors:{housing:1.2,lifestyle:"moderate"}},{id:"temporary",text:"Temporärer Wüstenwind",subtext:"Geschäftlich oder zeitlich begrenzt in der Oase der Moderne",costFactors:{housing:1,lifestyle:"moderate"}}]},{id:"familyComposition",text:"Wer begleitet Sie auf Ihrer Dubai-Reise?",type:"multiple",category:"family",required:!0,options:[{id:"adults",text:"Erwachsene Entdecker",subtext:"Bereit für neue Horizonte",costFactors:{food:1,healthcare:1}},{id:"children-school",text:"Schulkinder auf Weltentdeckung",subtext:"Internationale Bildung in der Weltmetropole",costFactors:{education:1.5,food:.7,healthcare:.8}},{id:"children-preschool",text:"Kleine Wüstenforscher",subtext:"Die jüngsten Abenteurer",costFactors:{education:1.2,food:.5,healthcare:.7}}]},{id:"housingPreference",text:"Welche Art von Oase schwebt Ihnen vor?",type:"single",category:"housing",required:!0,options:[{id:"apartment-standard",text:"Urbane Basis",subtext:"Gemütliches Apartment mit Stadtblick",costFactors:{housing:1,lifestyle:"budget"}},{id:"apartment-luxury",text:"Himmlischer Hochhauspalast",subtext:"Luxuriöses Leben über den Wolken",costFactors:{housing:1.5,lifestyle:"moderate"}},{id:"villa-standard",text:"Arabische Villa",subtext:"Großzügiges Wohnen mit orientalischem Flair",costFactors:{housing:2,lifestyle:"moderate"}},{id:"villa-luxury",text:"Scheich-Residenz",subtext:"Ultimativer Luxus im arabischen Stil",costFactors:{housing:3,lifestyle:"luxury"}}]},{id:"location",text:"Wo in Dubai soll Ihr Traum Realität werden?",type:"single",category:"housing",required:!0,options:[{id:"downtown",text:"Im Herzen des Glamours",subtext:"Downtown Dubai & Business Bay - Wo der Burj Khalifa den Himmel küsst",costFactors:{housing:1.4,transportation:.8,locationMultiplier:1.3}},{id:"marina",text:"Maritime Moderne",subtext:"Dubai Marina & JLT - Leben am künstlichen Kanal",costFactors:{housing:1.3,transportation:.9,locationMultiplier:1.2}},{id:"palm",text:"Palmeninsel-Paradies",subtext:"Palm Jumeirah - Luxus auf der künstlichen Insel",costFactors:{housing:1.6,transportation:1.2,locationMultiplier:1.5}},{id:"suburbs",text:"Ruhige Wüstenoase",subtext:"In den Vororten - Wo Tradition auf Moderne trifft",costFactors:{housing:.8,transportation:1.3,locationMultiplier:.9}}]},{id:"transportation",text:"Wie möchten Sie die Stadt erkunden?",type:"multiple",category:"transportation",required:!0,options:[{id:"public",text:"Moderne Karawane",subtext:"Mit Metro, Bus und Tram durch die Wüstenmetropole",costFactors:{transportation:.7}},{id:"car-economy",text:"Eigene Kutsche",subtext:"Ein praktischer Begleiter für den Alltag",costFactors:{transportation:1.2}},{id:"car-luxury",text:"Nobles Wüstenschiff",subtext:"Stilvolles Reisen im Luxusautomobil",costFactors:{transportation:2,lifestyle:"luxury"}}]},{id:"lifestyle",text:"Welche Erlebnisse locken Sie in Dubai?",type:"multiple",category:"leisure",options:[{id:"dining",text:"Kulinarische Weltreise",subtext:"Von traditionell arabisch bis international exquisit",costFactors:{food:1.5,leisure:1.3,lifestyle:"luxury"}},{id:"shopping",text:"Shopping-Abenteuer",subtext:"In den größten Malls der Welt",costFactors:{leisure:1.4,lifestyle:"luxury"}},{id:"beach-clubs",text:"Strand & Wellness",subtext:"Entspannung in exklusiven Beach Clubs",costFactors:{leisure:1.3,lifestyle:"luxury"}},{id:"sports",text:"Aktiv & Vital",subtext:"Sport und Fitness in der Wüstenmetropole",costFactors:{leisure:1.2,healthcare:1.1}}]},{id:"education",text:"Bildungswünsche für die Familie?",type:"single",category:"education",options:[{id:"public",text:"Lokale Bildung",subtext:"Eintauchen in das emiratische Schulsystem",costFactors:{education:.7}},{id:"private-mid",text:"Internationale Perspektive",subtext:"Qualitativ hochwertige internationale Schulen",costFactors:{education:1.2}},{id:"private-premium",text:"Elite-Bildung",subtext:"Die renommiertesten internationalen Bildungseinrichtungen",costFactors:{education:2,lifestyle:"luxury"}}]},{id:"healthcare",text:"Wie möchten Sie medizinisch versorgt sein?",type:"multiple",category:"healthcare",options:[{id:"basic-insurance",text:"Basis-Schutz",subtext:"Grundlegende medizinische Versorgung",costFactors:{healthcare:1}},{id:"comprehensive",text:"Rundum-Sorglos",subtext:"Umfassende medizinische Betreuung",costFactors:{healthcare:1.5}},{id:"premium",text:"Premium-Versorgung",subtext:"Exklusive Behandlung in Luxus-Kliniken",costFactors:{healthcare:2,lifestyle:"luxury"}}]}],H0={budget:{housing:3e3,transportation:300,food:1e3,leisure:300,education:1500,healthcare:300},moderate:{housing:5e3,transportation:800,food:2e3,leisure:800,education:3e3,healthcare:800},luxury:{housing:8e3,transportation:2e3,food:4e3,leisure:2e3,education:6e3,healthcare:2e3}};function K0(e){let t="moderate",n={housing:1,transportation:1,food:1,leisure:1,education:1,healthcare:1,location:1},r=[];return Object.entries(e).forEach(([i,s])=>{var l;const o=ya.find(a=>a.id===i);if(o&&o.type==="single"){const a=(l=o.options)==null?void 0:l.find(u=>u.id===s);a!=null&&a.costFactors.lifestyle&&(a.costFactors.lifestyle==="luxury"?t="luxury":a.costFactors.lifestyle==="moderate"&&t==="budget"&&(t="moderate")),a!=null&&a.costFactors.locationMultiplier&&(n.location=a.costFactors.locationMultiplier)}}),Object.entries(e).forEach(([i,s])=>{var l;const o=ya.find(a=>a.id===i);if(o)if(o.type==="single"){const a=(l=o.options)==null?void 0:l.find(u=>u.id===s);Of(a==null?void 0:a.costFactors,n),Ff(o,a,r)}
40else o.type==="multiple"&&Array.isArray(s)&&s.forEach(a=>{var c;const u=(c=o.options)==null?void 0:c.find(f=>f.id===a);Of(u==null?void 0:u.costFactors,n),Ff(o,u,r)})}),n.housing*=n.location,n.transportation*=n.location,n.leisure*=n.location,{lifestyle:t,baselineCosts:H0[t],multipliers:n,recommendations:r}}function Of(e,t){e&&Object.entries(e).forEach(([n,r])=>{n!=="lifestyle"&&n!=="locationMultiplier"&&n in t&&(t[n]*=r)})}function Ff(e,t,n){if(t)switch(e.category){case"housing":t.costFactors.housing>1.5&&n.push("Planen Sie zusätzliche Wartungskosten für Premium-Standorte ein");break;case"transportation":t.id.includes("car-luxury")&&n.push("Berücksichtigen Sie Premium-Versicherung und Wartungskosten für Ihr Fahrzeug");break;case"education":t.id.includes("private-premium")&&n.push("Kalkulieren Sie jährliche Erhöhungen der Schulgebühren ein");break;case"lifestyle":t.id.includes("dining")&&n.push("Restaurants in Dubai können sehr unterschiedliche Preiskategorien haben");break;case"healthcare":t.id.includes("premium")&&n.push("Premium-Gesundheitsversorgung in Dubai gehört zu den besten weltweit");break}}function Em(e){const n=(e-1)*3;return ya.slice(n,n+3)}function G0(e,t){return Em(e).every(r=>{if(!r.required)return!0;const i=t[r.id];return Array.isArray(i)?i.length>0:i!==void 0&&i!==""})}/**
41 * @license lucide-react v0.344.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */var Q0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
46 * @license lucide-react v0.344.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */const Y0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),He=(e,t)=>{const n=k.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:a,...u},c)=>k.createElement("svg",{ref:c,...Q0,width:i,height:i,stroke:r,strokeWidth:o?Number(s)*24/Number(i):s,className:["lucide",`lucide-${Y0(e)}`,l].join(" "),...u},[...t.map(([f,d])=>k.createElement(f,d)),...Array.isArray(a)?a:[a]]));return n.displayName=`${e}`,n};/**
51 * @license lucide-react v0.344.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const If=He("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
56 * @license lucide-react v0.344.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const X0=He("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
61 * @license lucide-react v0.344.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Z0=He("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
66 * @license lucide-react v0.344.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const q0=He("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
71 * @license lucide-react v0.344.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const J0=He("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
76 * @license lucide-react v0.344.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const e1=He("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
81 * @license lucide-react v0.344.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const t1=He("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
86 * @license lucide-react v0.344.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
vendor: 23,044 bytes, lines 90-115
90 */const n1=He("Palmtree",[["path",{d:"M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4",key:"foxbe7"}],["path",{d:"M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3",key:"18arnh"}],["path",{d:"M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35z",key:"epoumf"}],["path",{d:"M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14",key:"ft0feo"}]]);/**
91 * @license lucide-react v0.344.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const r1=He("PieChart",[["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}],["path",{d:"M22 12A10 10 0 0 0 12 2v10z",key:"1rfc4y"}]]);/**
96 * @license lucide-react v0.344.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const i1=He("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
101 * @license lucide-react v0.344.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const zf=He("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]);/**
106 * @license lucide-react v0.344.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const va=He("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
111 * @license lucide-react v0.344.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const s1=He("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),Bf={logStateChange:(e,t,n,r)=>{},logAnswers:e=>{},logCostProfile:e=>{},logUserData:e=>{},logError:(e,t)=>{},logAPICall:(e,t)=>{},logRender:(e,t)=>{}};function o1(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}function wo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const xa=e=>Array.isArray(e);function Cm(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ei(e){return typeof e=="string"||Array.isArray(e)}function Uf(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function zu(e,t,n,r){if(typeof t=="function"){const[i,s]=Uf(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=Uf(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function So(e,t,n){const r=e.getProps();return zu(r,t,n!==void 0?n:r.custom,e)}const Bu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Uu=["initial",...Bu],Vi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],zn=new Set(Vi),Nt=e=>e*1e3,Vt=e=>e/1e3,l1={type:"spring",stiffness:500,damping:25,restSpeed:10},a1=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),u1={type:"keyframes",duration:.8},c1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},f1=(e,{keyframes:t})=>t.length>2?u1:zn.has(e)?e.startsWith("scale")?a1(t[1]):l1:c1;function $u(e,t){return e?e[t]||e.default||e:void 0}const d1={skipAnimations:!1,useManualTiming:!1},h1=e=>e!==null;function To(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(h1),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const Ce=e=>e;function p1(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(a.schedule(u),e()),u(o)}const a={schedule:(u,c=!1,f=!1)=>{const g=f&&r?t:n;return c&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(l),r=!1,i&&(i=!1,a.process(u))}};return a}const ts=["read","resolveKeyframes","update","preRender","render","postRender"],m1=40;function km(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ts.reduce((h,p)=>(h[p]=p1(s),h),{}),{read:l,resolveKeyframes:a,update:u,preRender:c,render:f,postRender:d}=o,g=()=>{const h=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(h-i.timestamp,m1),1),i.timestamp=h,i.isProcessing=!0,l.process(i),a.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},y=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:ts.reduce((h,p)=>{const m=o[p];return h[p]=(x,S=!1,E=!1)=>(n||y(),m.schedule(x,S,E)),h},{}),cancel:h=>{for(let p=0;p<ts.length;p++)o[ts[p]].cancel(h)},state:i,steps:o}}const{schedule:B,cancel:cn,state:pe,steps:nl}=km(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ce,!0),Pm=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,g1=1e-7,y1=12;function v1(e,t,n,r,i){let s,o,l=0;do o=t+(n-t)/2,s=Pm(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>g1&&++l<y1);return o}function ji(e,t,n,r){if(e===t&&n===r)return Ce;const i=s=>v1(s,0,1,e,n);return s=>s===0||s===1?s:Pm(i(s),t,r)}const Am=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Dm=e=>t=>1-e(1-t),Rm=ji(.33,1.53,.69,.99),Wu=Dm(Rm),Mm=Am(Wu),Lm=e=>(e*=2)<1?.5*Wu(e):.5*(2-Math.pow(2,-10*(e-1))),bu=e=>1-Math.sin(Math.acos(e)),_m=Dm(bu),Nm=Am(bu),Vm=e=>/^0[^.\s]+$/u.test(e);function x1(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Vm(e):!0}let wa=Ce;const jm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Om=e=>t=>typeof t=="string"&&t.startsWith(e),Fm=Om("--"),w1=Om("var(--"),Hu=e=>w1(e)?S1.test(e.split("/*")[0].trim()):!1,S1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,T1=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function E1(e){const t=T1.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Im(e,t,n=1){const[r,i]=E1(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return jm(o)?parseFloat(o):o}return Hu(i)?Im(i,t,n+1):i}const Ut=(e,t,n)=>n>t?t:n<e?e:n,Dr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ci={...Dr,transform:e=>Ut(0,1,e)},ns={...Dr,default:1},Oi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ht=Oi("deg"),wt=Oi("%"),L=Oi("px"),C1=Oi("vh"),k1=Oi("vw"),$f={...wt,parse:e=>wt.parse(e)/100,transform:e=>wt.transform(e*100)},P1=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wf=e=>e===Dr||e===L,bf=(e,t)=>parseFloat(e.split(", ")[t]),Hf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return bf(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?bf(s[1],e):0}},A1=new Set(["x","y","z"]),D1=Vi.filter(e=>!A1.has(e));function R1(e){const t=[];return D1.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Sr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Hf(4,13),y:Hf(5,14)};Sr.translateX=Sr.x;Sr.translateY=Sr.y;const zm=e=>t=>t.test(e),M1={test:e=>e==="auto",parse:e=>e},Bm=[Dr,L,wt,Ht,k1,C1,M1],Kf=e=>Bm.find(zm(e)),Ln=new Set;let Sa=!1,Ta=!1;function Um(){if(Ta){const e=Array.from(Ln).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=R1(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var l;(l=r.getValue(s))===null||l===void 0||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ta=!1,Sa=!1,Ln.forEach(e=>e.complete()),Ln.clear()}function $m(){Ln.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ta=!0)})}function L1(){$m(),Um()}class Ku{constructor(t,n,r,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ln.add(this),Sa||(Sa=!0,B.read($m),B.resolveKeyframes(Um))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;s<t.length;s++)if(t[s]===null)if(s===0){const o=i==null?void 0:i.get(),l=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,l);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=l),i&&o===void 0&&i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ln.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ln.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ri=e=>Math.round(e*1e5)/1e5,Gu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _1(e){return e==null}const N1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qu=(e,t)=>n=>!!(typeof n=="string"&&N1.test(n)&&n.startsWith(e)||t&&!_1(n)&&Object.prototype.hasOwnProperty.call(n,t)),Wm=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,l]=r.match(Gu);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},V1=e=>Ut(0,255,e),rl={...Dr,transform:e=>Math.round(V1(e))},An={test:Qu("rgb","red"),parse:Wm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+rl.transform(e)+", "+rl.transform(t)+", "+rl.transform(n)+", "+ri(Ci.transform(r))+")"};function j1(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ea={test:Qu("#"),parse:j1,transform:An.transform},tr={test:Qu("hsl","hue"),parse:Wm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wt.transform(ri(t))+", "+wt.transform(ri(n))+", "+ri(Ci.transform(r))+")"},Se={test:e=>An.test(e)||Ea.test(e)||tr.test(e),parse:e=>An.test(e)?An.parse(e):tr.test(e)?tr.parse(e):Ea.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?An.transform(e):tr.transform(e)},O1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function F1(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Gu))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(O1))===null||n===void 0?void 0:n.length)||0)>0}const bm="number",Hm="color",I1="var",z1="var(",Gf="${}",B1=/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 ki(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const l=t.replace(B1,a=>(Se.test(a)?(r.color.push(s),i.push(Hm),n.push(Se.parse(a))):a.startsWith(z1)?(r.var.push(s),i.push(I1),n.push(a)):(r.number.push(s),i.push(bm),n.push(parseFloat(a))),++s,Gf)).split(Gf);return{values:n,split:l,indexes:r,types:i}}function Km(e){return ki(e).values}function Gm(e){const{split:t,types:n}=ki(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const l=n[o];l===bm?s+=ri(i[o]):l===Hm?s+=Se.transform(i[o]):s+=i[o]}return s}}const U1=e=>typeof e=="number"?0:e;function $1(e){const t=Km(e);return Gm(e)(t.map(U1))}const fn={test:F1,parse:Km,createTransformer:Gm,getAnimatableNone:$1},W1=new Set(["brightness","contrast","saturate","opacity"]);function b1(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Gu)||[];if(!r)return e;const i=n.replace(r,"");let s=W1.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const H1=/\b([a-z-]*)\(.*?\)/gu,Ca={...fn,getAnimatableNone:e=>{const t=e.match(H1);return t?t.map(b1).join(" "):e}},K1={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,radius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,backgroundPositionX:L,backgroundPositionY:L},G1={rotate:Ht,rotateX:Ht,rotateY:Ht,rotateZ:Ht,scale:ns,scaleX:ns,scaleY:ns,scaleZ:ns,skew:Ht,skewX:Ht,skewY:Ht,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Ci,originX:$f,originY:$f,originZ:L},Qf={...Dr,transform:Math.round},Yu={...K1,...G1,zIndex:Qf,size:L,fillOpacity:Ci,strokeOpacity:Ci,numOctaves:Qf},Q1={...Yu,color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:Ca,WebkitFilter:Ca},Xu=e=>Q1[e];function Qm(e,t){let n=Xu(e);return n!==Ca&&(n=fn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Y1=new Set(["auto","none","0"]);function X1(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!Y1.has(s)&&ki(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Qm(n,i)}class Ym extends Ku{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="string"&&(u=u.trim(),Hu(u))){const c=Im(u,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!P1.has(r)||t.length!==2)return;const[i,s]=t,o=Kf(i),l=Kf(s);if(o!==l)if(Wf(o)&&Wf(l))for(let a=0;a<t.length;a++){const u=t[a];typeof u=="string"&&(t[a]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)x1(t[i])&&r.push(i);r.length&&X1(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Sr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const s=n.getValue(r);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,l=i[o];i[o]=Sr[r](n.measureViewportBox(),window.getComputedStyle(n.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,u])=>{n.getValue(a).set(u)}),this.resolveNoneKeyframes()}}function Zu(e){return typeof e=="function"}let ws;function Z1(){ws=void 0}const St={now:()=>(ws===void 0&&St.set(pe.isProcessing||d1.useManualTiming?pe.timestamp:performance.now()),ws),set:e=>{ws=e,queueMicrotask(Z1)}},Yf=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(fn.test(e)||e==="0")&&!e.startsWith("url("));function q1(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function J1(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Yf(i,t),l=Yf(s,t);return!o||!l?!1:q1(e)||(n==="spring"||Zu(n))&&r}const ex=40;class Xm{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=St.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>ex?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&L1(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=St.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:s,delay:o,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!J1(t,r,i,s))if(o)this.options.duration=0;else{a==null||a(To(t,this.options,n)),l==null||l(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Tr=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Zm=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=e(Tr(0,i-1,s))+", ";return`linear(${r.substring(0,r.length-2)})`};function qm(e,t){return t?e*(1e3/t):0}const tx=5;function Jm(e,t,n){const r=Math.max(t-tx,0);return qm(n-e(r),t-r)}const te={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},il=.001;function nx({duration:e=te.duration,bounce:t=te.bounce,velocity:n=te.velocity,mass:r=te.mass}){let i,s,o=1-t;o=Ut(te.minDamping,te.maxDamping,o),e=Ut(te.minDuration,te.maxDuration,Vt(e)),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,g=ka(u,o),y=Math.exp(-f);return il-d/g*y},s=u=>{const f=u*o*e,d=f*n+n,g=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=ka(Math.pow(u,2),o);return(-i(u)+il>0?-1:1)*((d-g)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-il+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=ix(i,s,l);if(e=Nt(e),isNaN(a))return{stiffness:te.stiffness,damping:te.damping,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const rx=12;function ix(e,t,n){let r=n;for(let i=1;i<rx;i++)r=r-e(r)/t(r);return r}function ka(e,t){return e*Math.sqrt(1-t*t)}const Pa=2e4;function eg(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Pa;)t+=n,r=e.next(t);return t>=Pa?1/0:t}const sx=["duration","bounce"],ox=["stiffness","damping","mass"];function Xf(e,t){return t.some(n=>e[n]!==void 0)}function lx(e){let t={velocity:te.velocity,stiffness:te.stiffness,damping:te.damping,mass:te.mass,isResolvedFromDuration:!1,...e};if(!Xf(e,ox)&&Xf(e,sx))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*Ut(.05,1,1-e.bounce)*Math.sqrt(i);t={...t,mass:te.mass,stiffness:i,damping:s}}else{const n=nx(e);t={...t,...n,mass:te.mass},t.isResolvedFromDuration=!0}return t}function tg(e=te.visualDuration,t=te.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:a,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:g}=lx({...n,velocity:-Vt(n.velocity||0)}),y=d||0,v=u/(2*Math.sqrt(a*c)),C=o-s,h=Vt(Math.sqrt(a/c)),p=Math.abs(C)<5;r||(r=p?te.restSpeed.granular:te.restSpeed.default),i||(i=p?te.restDelta.granular:te.restDelta.default);let m;if(v<1){const S=ka(h,v);m=E=>{const A=Math.exp(-v*h*E);return o-A*((y+v*h*C)/S*Math.sin(S*E)+C*Math.cos(S*E))}}else if(v===1)m=S=>o-Math.exp(-h*S)*(C+(y+h*C)*S);else{const S=h*Math.sqrt(v*v-1);m=E=>{const A=Math.exp(-v*h*E),T=Math.min(S*E,300);return o-A*((y+v*h*C)*Math.sinh(T)+S*C*Math.cosh(T))/S}}const x={calculatedDuration:g&&f||null,next:S=>{const E=m(S);if(g)l.done=S>=f;else{let A=0;v<1&&(A=S===0?Nt(y):Jm(m,S,E));const T=Math.abs(A)<=r,V=Math.abs(o-E)<=i;l.done=T&&V}return l.value=l.done?o:E,l},toString:()=>{const S=Math.min(eg(x),Pa),E=Zm(A=>x.next(S*A).value,S,30);return S+"ms "+E}};return x}function Zf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},g=T=>l!==void 0&&T<l||a!==void 0&&T>a,y=T=>l===void 0?a:a===void 0||Math.abs(l-T)<Math.abs(a-T)?l:a;let v=n*t;const C=f+v,h=o===void 0?C:o(C);h!==C&&(v=h-f);const p=T=>-v*Math.exp(-T/r),m=T=>h+p(T),x=T=>{const V=p(T),M=m(T);d.done=Math.abs(V)<=u,d.value=d.done?h:M};let S,E;const A=T=>{g(d.value)&&(S=T,E=tg({keyframes:[d.value,y(d.value)],velocity:Jm(m,T,d.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return A(0),{calculatedDuration:null,next:T=>{let V=!1;return!E&&S===void 0&&(V=!0,x(T),A(T)),S!==void 0&&T>=S?E.next(T-S):(!V&&x(T),d)}}}const ax=ji(.42,0,1,1),ux=ji(0,0,.58,1),ng=ji(.42,0,.58,1),cx=e=>Array.isArray(e)&&typeof e[0]!="number",qu=e=>Array.isArray(e)&&typeof e[0]=="number",qf={linear:Ce,easeIn:ax,easeInOut:ng,easeOut:ux,circIn:bu,circInOut:Nm,circOut:_m,backIn:Wu,backInOut:Mm,backOut:Rm,anticipate:Lm},Jf=e=>{if(qu(e)){wa(e.length===4);const[t,n,r,i]=e;return ji(t,n,r,i)}else if(typeof e=="string")return wa(qf[e]!==void 0),qf[e];return e},fx=(e,t)=>n=>t(e(n)),jt=(...e)=>e.reduce(fx),Z=(e,t,n)=>e+(t-e)*n;function sl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dx({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=sl(a,l,e+1/3),s=sl(a,l,e),o=sl(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Ys(e,t){return n=>n>0?t:e}const ol=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},hx=[Ea,An,tr],px=e=>hx.find(t=>t.test(e));function ed(e){const t=px(e);if(!t)return!1;let n=t.parse(e);return t===tr&&(n=dx(n)),n}const td=(e,t)=>{const n=ed(e),r=ed(t);if(!n||!r)return Ys(e,t);const i={...n};return s=>(i.red=ol(n.red,r.red,s),i.green=ol(n.green,r.green,s),i.blue=ol(n.blue,r.blue,s),i.alpha=Z(n.alpha,r.alpha,s),An.transform(i))},Aa=new Set(["none","hidden"]);function mx(e,t){return Aa.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function gx(e,t){return n=>
vendor: 5,092 bytes, line 115
115Z(e,t,n)}function Ju(e){return typeof e=="number"?gx:typeof e=="string"?Hu(e)?Ys:Se.test(e)?td:xx:Array.isArray(e)?rg:typeof e=="object"?Se.test(e)?td:yx:Ys}function rg(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Ju(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function yx(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ju(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function vx(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],l=e.indexes[o][i[o]],a=(n=e.values[l])!==null&&n!==void 0?n:0;r[s]=a,i[o]++}return r}const xx=(e,t)=>{const n=fn.createTransformer(t),r=ki(e),i=ki(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Aa.has(e)&&!i.values.length||Aa.has(t)&&!r.values.length?mx(e,t):jt(rg(vx(r,i),i.values),n):Ys(e,t)};function ig(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Z(e,t,n):Ju(e)(e,t)}function wx(e,t,n){const r=[],i=n||ig,s=e.length-1;for(let o=0;o<s;o++){let l=i(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]||Ce:t;l=jt(a,l)}r.push(l)}return r}function Sx(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(wa(s===t.length),s===1)return()=>t[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=wx(t,r,i),l=o.length,a=u=>{let c=0;if(l>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const f=Tr(e[c],e[c+1],u);return o[c](f)};return n?u=>a(Ut(e[0],e[s-1],u)):a}function Tx(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Tr(0,t,r);e.push(Z(n,1,i))}}function Ex(e){const t=[0];return Tx(t,e.length-1),t}function Cx(e,t){return e.map(n=>n*t)}function kx(e,t){return e.map(()=>t||ng).splice(0,e.length-1)}function Xs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=cx(r)?r.map(Jf):Jf(r),s={done:!1,value:t[0]},o=Cx(n&&n.length===t.length?n:Ex(t),e),l=Sx(o,t,{ease:Array.isArray(i)?i:kx(t,i)});return{calculatedDuration:e,next:a=>(s.value=l(a),s.done=a>=e,s)}}const Px=e=>{const t=({timestamp:n})=>e(n);return{start:()=>B.update(t,!0),stop:()=>cn(t),now:()=>pe.isProcessing?pe.timestamp:St.now()}},Ax={decay:Zf,inertia:Zf,tween:Xs,keyframes:Xs,spring:tg},Dx=e=>e/100;class ec extends Xm{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:n,motionValue:r,element:i,keyframes:s}=this.options,o=(i==null?void 0:i.KeyframeResolver)||Ku,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new o(s,l,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,l=Zu(n)?n:Ax[n]||Xs;let a,u;l!==Xs&&typeof t[0]!="number"&&(a=jt(Dx,ig(t[0],t[1])),t=[0,100]);const c=l({...this.options,keyframes:t});s==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=eg(c));const{calculatedDuration:f}=c,d=f+i,g=d*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:a,calculatedDuration:f,resolvedDuration:d,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return s.next(0);const{delay:d,repeat:g,repeatType:y,repeatDelay:v,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const h=this.currentTime-d*(this.speed>=0?1:-1),p=this.speed>=0?h<0:h>c;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,x=s;if(g){const T=Math.min(this.currentTime,c)/f;let V=Math.floor(T),M=T%1;!M&&T>=1&&(M=1),M===1&&V--,V=Math.min(V,g+1),!!(V%2)&&(y==="reverse"?(M=1-M,v&&(M-=v/f)):y==="mirror"&&(x=o)),m=Ut(0,1,M)*f}const S=p?{done:!1,value:a[0]}:x.next(m);l&&(S.value=l(S.value));let{done:E}=S;!p&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return A&&i!==void 0&&(S.value=To(a,this.options,i)),C&&C(S.value),A&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Vt(t.calculatedDuration):0}
vendor: 21,930 bytes, line 115
115get time(){return Vt(this.currentTime)}set time(t){t=Nt(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Vt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Px,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Rx=new Set(["opacity","clipPath","filter","transform"]);function tc(e){let t;return()=>(t===void 0&&(t=e()),t)}const Mx={linearEasing:void 0};function Lx(e,t){const n=tc(e);return()=>{var r;return(r=Mx[t])!==null&&r!==void 0?r:n()}}const Zs=Lx(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function sg(e){return!!(typeof e=="function"&&Zs()||!e||typeof e=="string"&&(e in Da||Zs())||qu(e)||Array.isArray(e)&&e.every(sg))}const Kr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Da={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Kr([0,.65,.55,1]),circOut:Kr([.55,0,1,.45]),backIn:Kr([.31,.01,.66,-.59]),backOut:Kr([.33,1.53,.69,.99])};function og(e,t){if(e)return typeof e=="function"&&Zs()?Zm(e,t):qu(e)?Kr(e):Array.isArray(e)?e.map(n=>og(n,t)||Da.easeOut):Da[e]}function _x(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:l="easeInOut",times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=og(l,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}function nd(e,t){e.timeline=t,e.onfinish=null}const Nx=tc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),qs=10,Vx=2e4;function jx(e){return Zu(e.type)||e.type==="spring"||!sg(e.ease)}function Ox(e,t){const n=new ec({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&s<Vx;)r=n.sample(s),i.push(r.value),s+=qs;return{times:void 0,keyframes:i,duration:s-qs,ease:"linear"}}const lg={anticipate:Lm,backInOut:Mm,circInOut:Nm};function Fx(e){return e in lg}class rd extends Xm{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:s}=this.options;this.resolver=new Ym(s,(o,l)=>this.onKeyframesResolved(o,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:l,motionValue:a,name:u,startTime:c}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(typeof o=="string"&&Zs()&&Fx(o)&&(o=lg[o]),jx(this.options)){const{onComplete:d,onUpdate:g,motionValue:y,element:v,...C}=this.options,h=Ox(t,C);t=h.keyframes,t.length===1&&(t[1]=t[0]),i=h.duration,s=h.times,o=h.ease,l="keyframes"}const f=_x(a.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return f.startTime=c??this.calcStartTime(),this.pendingTimeline?(nd(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;a.set(To(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:i,times:s,type:l,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Vt(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Vt(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Nt(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Ce;const{animation:r}=n;nd(r,t)}return Ce}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:s,ease:o,times:l}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...g}=this.options,y=new ec({...g,keyframes:r,duration:i,type:s,ease:o,times:l,isGenerator:!0}),v=Nt(this.time);u.setWithVelocity(y.sample(v-qs).value,y.sample(v).value,qs)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:s,damping:o,type:l}=t;return Nx()&&r&&Rx.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&l!=="inertia"}}const Ix=tc(()=>window.ScrollTimeline!==void 0);class zx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>Ix()&&i.attachTimeline?i.attachTimeline(t):n(i));return()=>{r.forEach((i,s)=>{i&&i(),this.animations[s].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Bx({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}const nc=(e,t,n,r={},i,s)=>o=>{const l=$u(r,e)||{},a=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Nt(a);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:d=>{t.set(d),l.onUpdate&&l.onUpdate(d)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};Bx(l)||(c={...c,...f1(e,c)}),c.duration&&(c.duration=Nt(c.duration)),c.repeatDelay&&(c.repeatDelay=Nt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!s&&t.get()!==void 0){const d=To(c.keyframes,l);if(d!==void 0)return B.update(()=>{c.onUpdate(d),c.onComplete()}),new zx([])}return!s&&rd.supports(c)?new rd(c):new ec(c)},Ux=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),$x=e=>xa(e)?e[e.length-1]||0:e;function rc(e,t){e.indexOf(t)===-1&&e.push(t)}function ic(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class sc{constructor(){this.subscriptions=[]}add(t){return rc(this.subscriptions,t),()=>ic(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const id=30,Wx=e=>!isNaN(parseFloat(e));class bx{constructor(t,n={}){this.version="11.12.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=St.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=St.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Wx(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new sc);const r=this.events[t].add(n);return t==="change"?()=>{r(),B.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=St.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>id)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,id);return qm(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pi(e,t){return new bx(e,t)}function Hx(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pi(n))}function Kx(e,t){const n=So(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const l=$x(s[o]);Hx(e,o,l)}}const oc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Gx="framerAppearId",ag="data-"+oc(Gx);function ug(e){return e.props[ag]}const Ee=e=>!!(e&&e.getVelocity);function Qx(e){return!!(Ee(e)&&e.add)}function Ra(e,t){const n=e.getValue("willChange");if(Qx(n))return n.add(t)}function Yx({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cg(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:l,...a}=t;r&&(o=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const d=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),g=a[f];if(g===void 0||c&&Yx(c,f))continue;const y={delay:n,...$u(o||{},f)};let v=!1;if(window.MotionHandoffAnimation){const h=ug(e);if(h){const p=window.MotionHandoffAnimation(h,f,B);p!==null&&(y.startTime=p,v=!0)}}Ra(e,f),d.start(nc(f,d,g,e.shouldReduceMotion&&zn.has(f)?{type:!1}:y,e,v));const C=d.animation;C&&u.push(C)}return l&&Promise.all(u).then(()=>{B.update(()=>{l&&Kx(e,l)})}),u}function Ma(e,t,n={}){var r;const i=So(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(cg(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=s;return Xx(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,c]=a==="beforeChildren"?[o,l]:[l,o];return u().then(()=>c())}else return Promise.all([o(),l(n.delay)])}function Xx(e,t,n=0,r=0,i=1,s){const o=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(Zx).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Ma(u,t,{...s,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function Zx(e,t){return e.sortNodePosition(t)}function qx(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Ma(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Ma(e,t,n);else{const i=typeof t=="function"?So(e,t,n.custom):t;r=Promise.all(cg(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Jx=Uu.length;function fg(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?fg(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Jx;n++){const r=Uu[n],i=e.props[r];(Ei(i)||i===!1)&&(t[r]=i)}return t}const ew=[...Bu].reverse(),tw=Bu.length;function nw(e){return t=>Promise.all(t.map(({animation:n,options:r})=>qx(e,n,r)))}function rw(e){let t=nw(e),n=sd(),r=!0;const i=a=>(u,c)=>{var f;const d=So(e,c,a==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:g,transitionEnd:y,...v}=d;u={...u,...v,...y}}return u};function s(a){t=a(e)}function o(a){const{props:u}=e,c=fg(e.parent)||{},f=[],d=new Set;let g={},y=1/0;for(let C=0;C<tw;C++){const h=ew[C],p=n[h],m=u[h]!==void 0?u[h]:c[h],x=Ei(m),S=h===a?p.isActive:null;S===!1&&(y=C);let E=m===c[h]&&m!==u[h]&&x;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),p.protectedKeys={...g},!p.isActive&&S===null||!m&&!p.prevProp||wo(m)||typeof m=="boolean")continue;const A=iw(p.prevProp,m);let T=A||h===a&&p.isActive&&!E&&x||C>y&&x,V=!1;const M=Array.isArray(m)?m:[m];let $=M.reduce(i(h),{});S===!1&&($={});const{prevResolvedValues:ye={}}=p,le={...ye,...$},Ke=ee=>{T=!0,d.has(ee)&&(V=!0,d.delete(ee)),p.needsAnimating[ee]=!0;const D=e.getValue(ee);D&&(D.liveStyle=!1)};for(const ee in le){const D=$[ee],_=ye[ee];if(g.hasOwnProperty(ee))continue;let N=!1;xa(D)&&xa(_)?N=!Cm(D,_):N=D!==_,N?D!=null?Ke(ee):d.add(ee):D!==void 0&&d.has(ee)?Ke(ee):p.protectedKeys[ee]=!0}p.prevProp=m,p.prevResolvedValues=$,p.isActive&&(g={...g,...$}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(E&&A)||V)&&f.push(...M.map(ee=>({animation:ee,options:{type:h}})))}if(d.size){const C={};d.forEach(h=>{const p=e.getBaseTarget(h),m=e.getValue(h);m&&(m.liveStyle=!0),C[h]=p??null}),f.push({animation:C})}let v=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(f):Promise.resolve()}function l(a,u){var c;if(n[a].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var g;return(g=d.animationState)===null||g===void 0?void 0:g.setActive(a,u)}),n[a].isActive=u;const f=o(a);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:o,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=sd(),r=!0}}}function iw(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Cm(t,e):!1}function xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sd(){return{animate:xn(!0),whileInView:xn(),whileHover:xn(),whileTap:xn(),whileDrag:xn(),whileFocus:xn(),exit:xn()}}class gn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class sw extends gn{constructor(t){super(t),t.animationState||(t.animationState=rw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();wo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let ow=0;class lw extends gn{constructor(){super(...arguments),this.id=ow++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const aw={animation:{Feature:sw},exit:{Feature:lw}},dg=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Eo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const uw=e=>t=>dg(t)&&e(t,Eo(t));function Lt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Ot(e,t,n,r){return Lt(e,t,uw(n),r)}const od=(e,t)=>Math.abs(e-t);function cw(e,t){const n=od(e.x,t.x),r=od(e.y,t.y);return Math.sqrt(n**2+r**2)}class hg{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=al(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,g=cw(f.offset,{x:0,y:0})>=3;if(!d&&!g)return;const{point:y}=f,{timestamp:v}=pe;this.history.push({...y,timestamp:v});const{onStart:C,onMove:h}=this.handlers;d||(C&&C(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=ll(d,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=al(f.type==="pointercancel"?this.lastMoveEventInfo:ll(d,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,C),y&&y(f,C)},!dg(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=Eo(t),l=ll(o,this.transformPagePoint),{point:a}=l,{timestamp:u}=pe;this.history=[{...a,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,al(l,this.history)),this.removeListeners=jt(Ot(this.contextWindow,"pointermove",this.handlePointerMove),Ot(this.contextWindow,"pointerup",this.handlePointerUp),Ot(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),cn(this.updatePoint)}}function ll(e,t){return t?{point:t(e.point)}:e}function ld(e,t){return{x:e.x-t.x,y:e.y-t.y}}function al({point:e},t){return{point:e,delta:ld(e,pg(t)),offset:ld(e,fw(t)),velocity:dw(t,.1)}}function fw(e){return e[0]}function pg(e){return e[e.length-1]}function dw(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=pg(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Nt(t)));)n--;if(!r)return{x:0,y:0};const s=Vt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function mg(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const ad=mg("dragHorizontal"),ud=mg("dragVertical");function gg(e){let t=!1;if(e==="y")t=ud();else if(e==="x")t=ad();else{const n=ad(),r=ud();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function yg(){const e=gg(!0);return e?(e(),!1):!0}function nr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const vg=1e-4,hw=1-vg,pw=1+vg,xg=.01,mw=0-xg,gw=0+xg;function $e(e){return e.max-e.min}function yw(e,t,n){return Math.abs(e-t)<=n}function cd(e,t,n,r=.5){e.origin=r,e.originPoint=Z(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),e.translate=Z(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hw&&e.scale<=pw||isNaN(e.scale))&&(e.scale=1),(e.translate>=mw&&e.translate<=gw||isNaN(e.translate))&&(e.translate=0)}function ii(e,t,n,r){cd(e.x,t.x,n.x,r?r.originX:void 0),cd(e.y,t.y,n.y,r?r.originY:void 0)}function fd(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function vw(e,t,n){fd(e.x,t.x,n.x),fd(e.y,t.y,n.y)}function dd(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function si(e,t,n){dd(e.x,t.x,n.x),dd(e.y,t.y,n.y)}function xw(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Z(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Z(n,e,r.max):Math.min(e,n)),e}function hd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function ww(e,{top:t,left:n,bottom:r,right:i}){return{x:hd(e.x,n,i),y:hd(e.y,t,r)}}function pd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Sw(e,t){return{x:pd(e.x,t.x),y:pd(e.y,t.y)}}function Tw(e,t){let n=.5;const r=$e(e),i=$e(t);return i>r?n=Tr(t.min,t.max-r,e.min):r>i&&(n=Tr(e.min,e.max-i,t.min)),Ut(0,1,n)}function Ew(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const La=.35;function Cw(e=La){return e===!1?e=0:e===!0&&(e=La),{x:md(e,"left","right"),y:md(e,"to
115p","bottom")}}function md(e,t,n){return{min:gd(e,t),max:gd(e,n)}}function gd(e,t){return typeof e=="number"?e:e[t]||0}const yd=()=>({translate:0,scale:1,origin:0,originPoint:0}),rr=()=>({x:yd(),y:yd()}),vd=()=>({min:0,max:0}),ie=()=>({x:vd(),y:vd()});function Ye(e){return[e("x"),e("y")]}function wg({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function kw({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Pw(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ul(e){return e===void 0||e===1}function _a({scale:e,scaleX:t,scaleY:n}){return!ul(e)||!ul(t)||!ul(n)}function Tn(e){return _a(e)||Sg(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Sg(e){return xd(e.x)||xd(e.y)}function xd(e){return e&&e!=="0%"}function Js(e,t,n){const r=e-n,i=t*r;return n+i}function wd(e,t,n,r,i){return i!==void 0&&(e=Js(e,i,r)),Js(e,n,r)+t}function Na(e,t=0,n=1,r,i){e.min=wd(e.min,t,n,r,i),e.max=wd(e.max,t,n,r,i)}function Tg(e,{x:t,y:n}){Na(e.x,t.translate,t.scale,t.originPoint),Na(e.y,n.translate,n.scale,n.originPoint)}const Sd=.999999999999,Td=1.0000000000001;function Aw(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let l=0;l<i;l++){s=n[l],o=s.projectionDelta;const{visualElement:a}=s.options;a&&a.props.style&&a.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&sr(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Tg(e,o)),r&&Tn(s.latestValues)&&sr(e,s.latestValues))}t.x<Td&&t.x>Sd&&(t.x=1),t.y<Td&&t.y>Sd&&(t.y=1)}function ir(e,t){e.min=e.min+t,e.max=e.max+t}function Ed(e,t,n,r,i=.5){const s=Z(e.min,e.max,i);Na(e,t,n,s,r)}function sr(e,t){Ed(e.x,t.x,t.scaleX,t.scale,t.originX),Ed(e.y,t.y,t.scaleY,t.scale,t.originY)}function Eg(e,t){return wg(Pw(e.getBoundingClientRect(),t))}function Dw(e,t,n){const r=Eg(e,n),{scroll:i}=t;return i&&(ir(r.x,i.offset.x),ir(r.y,i.offset.y)),r}const Cg=({current:e})=>e?e.ownerDocument.defaultView:null,Rw=new WeakMap;class Mw{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ie(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Eo(c,"page").point)},s=(c,f)=>{const{drag:d,dragPropagation:g,onDragStart:y}=this.getProps();if(d&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=gg(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ye(C=>{let h=this.getAxisMotionValue(C).get()||0;if(wt.test(h)){const{projection:p}=this.visualElement;if(p&&p.layout){const m=p.layout.layoutBox[C];m&&(h=$e(m)*(parseFloat(h)/100))}}this.originPoint[C]=h}),y&&B.postRender(()=>y(c,f)),Ra(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},o=(c,f)=>{const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:y,onDrag:v}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:C}=f;if(g&&this.currentDirection===null){this.currentDirection=Lw(C),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,C),this.updateAxis("y",f.point,C),this.visualElement.render(),v&&v(c,f)},l=(c,f)=>this.stop(c,f),a=()=>Ye(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new hg(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Cg(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&B.postRender(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!rs(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=xw(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&nr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=ww(i.layoutBox,n):this.constraints=!1,this.elastic=Cw(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ye(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Ew(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nr(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=Dw(r,i.root,this.visualElement.getTransformPagePoint());let o=Sw(i.layout.layoutBox,s);if(n){const l=n(kw(o));this.hasMutatedConstraints=!!l,l&&(o=wg(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=Ye(c=>{if(!rs(c,n,this.currentDirection))return;let f=a&&a[c]||{};o&&(f={min:0,max:0});const d=i?200:1e6,g=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Ra(this.visualElement,t),r.start(nc(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ye(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ye(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ye(n=>{const{drag:r}=this.getProps();if(!rs(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n];s.set(t[n]-Z(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!nr(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ye(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const a=l.get();i[o]=Tw({min:a,max:a},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ye(o=>{if(!rs(o,t,null))return;const l=this.getAxisMotionValue(o),{min:a,max:u}=this.constraints[o];l.set(Z(a,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Rw.set(this.visualElement,this);const t=this.visualElement.current,n=Ot(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();nr(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),B.read(r);const o=Lt(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ye(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=La,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:l}}}function rs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Lw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class _w extends gn{constructor(t){super(t),this.removeGroupControls=Ce,this.removeListeners=Ce,this.controls=new Mw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ce}unmount(){this.removeGroupControls(),this.removeListeners()}}const Cd=e=>(t,n)=>{e&&B.postRender(()=>e(t,n))};class Nw extends gn{constructor(){super(...arguments),this.removePointerDownListener=Ce}onPointerDown(t){this.session=new hg(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cg(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Cd(t),onStart:Cd(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&B.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Ot(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Co=k.createContext(null);function Vw(){const e=k.useContext(Co);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=k.useId();k.useEffect(()=>r(i),[]);const s=k.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,s]:[!0]}const lc=k.createContext({}),kg=k.createContext({}),Ss={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ir={correct:(e,t)=>
vendor: 30,245 bytes, line 115
115{if(!t.target)return e;if(typeof e=="string")if(L.test(e))e=parseFloat(e);else return e;const n=kd(e,t.target.x),r=kd(e,t.target.y);return`${n}% ${r}%`}},jw={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=fn.parse(e);if(i.length>5)return r;const s=fn.createTransformer(e),o=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+o]/=l,i[1+o]/=a;const u=Z(l,a,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},eo={};function Ow(e){Object.assign(eo,e)}const{schedule:ac,cancel:nC}=km(queueMicrotask,!1);class Fw extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;Ow(Iw),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Ss.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||B.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ac.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Pg(e){const[t,n]=Vw(),r=k.useContext(lc);return w.jsx(Fw,{...e,layoutGroup:r,switchLayoutGroup:k.useContext(kg),isPresent:t,safeToRemove:n})}const Iw={borderRadius:{...Ir,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ir,borderTopRightRadius:Ir,borderBottomLeftRadius:Ir,borderBottomRightRadius:Ir,boxShadow:jw},Ag=["TopLeft","TopRight","BottomLeft","BottomRight"],zw=Ag.length,Pd=e=>typeof e=="string"?parseFloat(e):e,Ad=e=>typeof e=="number"||L.test(e);function Bw(e,t,n,r,i,s){i?(e.opacity=Z(0,n.opacity!==void 0?n.opacity:1,Uw(r)),e.opacityExit=Z(t.opacity!==void 0?t.opacity:1,0,$w(r))):s&&(e.opacity=Z(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;o<zw;o++){const l=`border${Ag[o]}Radius`;let a=Dd(t,l),u=Dd(n,l);if(a===void 0&&u===void 0)continue;a||(a=0),u||(u=0),a===0||u===0||Ad(a)===Ad(u)?(e[l]=Math.max(Z(Pd(a),Pd(u),r),0),(wt.test(u)||wt.test(a))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=Z(t.rotate||0,n.rotate||0,r))}function Dd(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Uw=Dg(0,.5,_m),$w=Dg(.5,.95,Ce);function Dg(e,t,n){return r=>r<e?0:r>t?1:n(Tr(e,t,r))}function Rd(e,t){e.min=t.min,e.max=t.max}function Qe(e,t){Rd(e.x,t.x),Rd(e.y,t.y)}function Md(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ld(e,t,n,r,i){return e-=t,e=Js(e,1/n,r),i!==void 0&&(e=Js(e,1/i,r)),e}function Ww(e,t=0,n=1,r=.5,i,s=e,o=e){if(wt.test(t)&&(t=parseFloat(t),t=Z(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=Z(s.min,s.max,r);e===s&&(l-=t),e.min=Ld(e.min,t,n,l,i),e.max=Ld(e.max,t,n,l,i)}function _d(e,t,[n,r,i],s,o){Ww(e,t[n],t[r],t[i],t.scale,s,o)}const bw=["x","scaleX","originX"],Hw=["y","scaleY","originY"];function Nd(e,t,n,r){_d(e.x,t,bw,n?n.x:void 0,r?r.x:void 0),_d(e.y,t,Hw,n?n.y:void 0,r?r.y:void 0)}function Vd(e){return e.translate===0&&e.scale===1}function Rg(e){return Vd(e.x)&&Vd(e.y)}function jd(e,t){return e.min===t.min&&e.max===t.max}function Kw(e,t){return jd(e.x,t.x)&&jd(e.y,t.y)}function Od(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Mg(e,t){return Od(e.x,t.x)&&Od(e.y,t.y)}function Fd(e){return $e(e.x)/$e(e.y)}function Id(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Gw{constructor(){this.members=[]}add(t){rc(this.members,t),t.scheduleRender()}remove(t){if(ic(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Qw(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:g,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),g&&(r+=`skewX(${g}deg) `),y&&(r+=`skewY(${y}deg) `)}const l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(r+=`scale(${l}, ${a})`),r||"none"}const Yw=(e,t)=>e.depth-t.depth;class Xw{constructor(){this.children=[],this.isDirty=!1}add(t){rc(this.children,t),this.isDirty=!0}remove(t){ic(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Yw),this.isDirty=!1,this.children.forEach(t)}}function Ts(e){const t=Ee(e)?e.get():e;return Ux(t)?t.toValue():t}function Zw(e,t){const n=St.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(cn(r),e(s-t))};return B.read(r,!0),()=>cn(r)}function qw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Jw(e,t,n){const r=Ee(e)?e:Pi(e);return r.start(nc("",r,t,n)),r.animation}const En={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Gr=typeof window<"u"&&window.MotionDebug!==void 0,cl=["","X","Y","Z"],eS={visibility:"hidden"},zd=1e3;let tS=0;function fl(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Lg(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ug(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",B,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Lg(r)}function _g({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=t==null?void 0:t()){this.id=tS++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Gr&&(En.totalNodes=En.resolvedTargetDeltas=En.recalculatedProjection=0),this.nodes.forEach(iS),this.nodes.forEach(uS),this.nodes.forEach(cS),this.nodes.forEach(sS),Gr&&window.MotionDebug.record(En)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Xw)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new sc),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const a=this.eventHandlers.get(o);a&&a.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=qw(o),this.instance=o;const{layoutId:a,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||a)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Zw(d,250),Ss.hasAnimatedSinceResize&&(Ss.hasAnimatedSinceResize=!1,this.nodes.forEach(Ud))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:g,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||mS,{onLayoutAnimationStart:C,onLayoutAnimationComplete:h}=c.getProps(),p=!this.targetLayout||!Mg(this.targetLayout,y)||g,m=!d&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,m);const x={...$u(v,"layout"),onPlay:C,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||Ud(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cn(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(fS),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lg(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:a}=this.options;if(l===void 0&&!a)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Bd);return}this.isUpdating||this.nodes.forEach(lS),this.isUpdating=!1,this.nodes.forEach(aS),this.nodes.forEach(nS),this.nodes.forEach(rS),this.clearAllSnapshots();const l=St.now();pe.delta=Ut(0,1e3/60,l-pe.timestamp),pe.timestamp=l,pe.isProcessing=!0,nl.update.process(pe),nl.preRender.process(pe),nl.render.process(pe),pe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ac.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oS),this.sharedNodes.forEach(dS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ie(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l){const a=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Rg(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&(l||Tn(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let a=this.removeElementScroll(l);return o&&(a=this.removeTransform(a)),gS(a),{animationId:this.root.animationId,measuredBox:l,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:l}=this.options;if(!l)return ie();const a=l.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(yS))){const{scroll:c}=this.root;c&&(ir(a.x,c.offset.x),ir(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=ie();if(Qe(a,o),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Qe(a,o),ir(a.x,f.offset.x),ir(a.y,f.offset.y))}return a}applyTransform(o,l=!1){const a=ie();Qe(a,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&sr(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Tn(c.latestValues)&&sr(a,c.latestValues)}return Tn(this.latestValues)&&sr(a,this.latestValues),a}removeTransform(o){const l=ie();Qe(l,o);for(let a=0;a<this.path.length;a++){const u=this.path[a];if(!u.instance||!Tn(u.latestValues))continue;_a(u.latestValues)&&u.updateSnapshot();const c=ie(),f=u.measurePageBox();Qe(c,f),Nd(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Tn(this.latestValues)&&Nd(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==pe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var l;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==a;if(!(o||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=pe.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ie(),this.relativeTargetOrigin=ie(),si(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),Qe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ie(),this.targetWithTransforms=ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qe(this.target,this.layout.layoutBox),Tg(this.target,this.targetDelta)):Qe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ie(),this.relativeTargetOrigin=ie(),si(this.relativeTargetOrigin,this.target,g.target),Qe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Gr&&En.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||_a(this.parent.latestValues)||Sg(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var o;const l=this.getLead(),a=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty)&&(u=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===pe.timestamp&&(u=!1),u)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Qe(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,g=this.treeScale.y;Aw(this.layoutCorrected,this.treeScale,this.path,a),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=ie());const{target:y}=l;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Md(this.prevProjectionDelta.x,this.projectionDelta.x),Md(this.prevProjectionDelta.y,this.projectionDelta.y)),ii(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==g||!Id(this.projectionDelta.x,this.prevProjectionDelta.x)||!Id(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y)),Gr&&En.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=rr(),this.projectionDelta=rr(),this.projectionDeltaWithTransform=rr()}setAnimationOrigin(o,l=!1){const a=this.snapshot,u=a?a.latestValues:{},c={...this.latestValues},f=rr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const d=ie(),g=a?a.source:void 0,y=this.layout?this.layout.source:void 0,v=g!==y,C=this.getStack(),h=!C||C.members.length<=1,p=!!(v&&!h&&this.options.crossfade===!0&&!this.path.some(pS));this.animationProgress=0;let m;this.mixTargetDelta=x=>{const S=x/1e3;$d(f.x,o.x,S),$d(f.y,o.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(si(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hS(this.relativeTarget,this.relativeTargetOrigin,d,S),m&&Kw(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=ie()),Qe(m,this.relativeTarget)),v&&(this.animationValues=c,Bw(c,u,this.latestValues,S,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=B.update(()=>{Ss.hasAnimatedSinceResize=!0,this.currentAnimation=Jw(0,zd,{...o,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=o;if(!(!l||!a||!u)){if(this!==o&&this.layout&&u&&Ng(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||ie();const f=$e(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+f;const d=$e(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+d}Qe(l,a),sr(l,c),ii(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Gw),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:a}=o;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(l=!0),!l)return;const u={};a.z&&fl("z",o,u,this.animationValues);for(let c=0;c<cl.length;c++)fl(`rotate${cl[c]}`,o,u,this.animationValues),fl(`skew${cl[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}getProjectionStyles(o){var l,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eS;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Ts(o==null?void 0:o.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=Ts(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Tn(this.latestValues)&&(v.transform=c?c({},""):"none",this.hasProjected=!1),v}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=Qw(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));const{x:g,y}=this.projectionDelta;u.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,f.animationValues?u.opacity=f===this?(a=(l=d.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in eo){if(d[v]===void 0)continue;const{correct:C,applyTo:h}=eo[v],p=u.transform==="none"?d[v]:C(d[v],f);if(h){const m=h.length;for(let x=0;x<m;x++)u[h[x]]=p}else u[v]=p}return this.options.layoutId&&(u.pointerEvents=f===this?Ts(o==null?void 0:o.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Bd),this.root.sharedNodes.clear()}}}function nS(e){e.updateLayout()}function rS(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?Ye(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],g=$e(d);d.min=r[f].min,d.max=d.min+g}):Ng(s,n.layoutBox,r)&&Ye(f=>{const d=o?n.measuredBox[f]:n.layoutBox[f],g=$e(r[f]);d.max=d.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const l=rr();ii(l,r,n.layoutBox);const a=rr();o?ii(a,e.applyTransform(i,!0),n.measuredBox):ii(a,r,n.layoutBox);const u=!Rg(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:g}=f;if(d&&g){const y=ie();si(y,n.layoutBox,d.layoutBox);const v=ie();si(v,r,g.layoutBox),Mg(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function iS(e){Gr&&En.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function sS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function oS(e){e.clearSnapshot()}function Bd(e){e.clearMeasurements()}function lS(e){e.isLayoutDirty=!1}function aS(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ud(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uS(e){e.resolveTargetDelta()}function cS(e){e.calcProjection()}function fS(e){e.resetSkewAndRotation()}function dS(e){e.removeLeadSnapshot()}function $d(e,t,n){e.translate=Z(t.translate,0,n),e.scale=Z(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Wd(e,t,n,r){e.min=Z(t.min,n.min,r),e.max=Z(t.max,n.max,r)}function hS(e,t,n,r){Wd(e.x,t.x,n.x,r),Wd(e.y,t.y,n.y,r)}function pS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const mS={duration:.45,ease:[.4,0,.1,1]},bd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Hd=bd("applewebkit/")&&!bd("chrome/")?Math.round:Ce;function Kd(e){e.min=Hd(e.min),e.max=Hd(e.max)}function gS(e){Kd(e.x),Kd(e.y)}function Ng(e,t,n){return e==="position"||e==="preserve-aspect"&&!yw(Fd(t),Fd(n),.2)}function yS(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const vS=_g({attachResizeListener:(e,t)=>Lt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dl={current:void 0},Vg=_g({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dl.current){const e=new vS({});e.mount(window),e.setOptions({layoutScroll:!0}),dl.current=e}return dl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),xS={pan:{Feature:Nw},drag:{Feature:_w,ProjectionNode:Vg,MeasureLayout:Pg}};function Gd(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(s,o)=>{if(s.pointerType==="touch"||yg())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const a=l[r];a&&B.postRender(()=>a(s,o))};return Ot(e.current,n,i,{passive:!e.getProps()[r]})}class wS extends gn{mount(){this.unmount=jt(Gd(this.node,!0),Gd(this.node,!1))}unmount(){}}class SS extends gn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=jt(Lt(this.node.current,"focus",()=>this.onFocus()),Lt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const jg=(e,t)=>
115t?e===t?!0:jg(e,t.parentElement):!1;function hl(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Eo(n))}class TS extends gn{constructor(){super(...arguments),this.removeStartListeners=Ce,this.removeEndListeners=Ce,this.removeAccessibleListeners=Ce,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Ot(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:f}=this.node.getProps(),d=!f&&!jg(this.node.current,l.target)?c:u;d&&B.update(()=>d(l,a))},{passive:!(r.onTap||r.onPointerUp)}),o=Ot(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=jt(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=l=>{l.key!=="Enter"||!this.checkPressEnd()||hl("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&B.postRender(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=Lt(this.node.current,"keyup",o),hl("down",(l,a)=>{this.startPress(l,a)})},n=Lt(this.node.current,"keydown",t),r=()=>{this.isPressing&&hl("cancel",(s,o)=>this.cancelPress(s,o))},i=Lt(this.node.current,"blur",r);this.removeAccessibleListeners=jt(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&B.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!yg()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&B.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Ot(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Lt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=jt(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Va=new WeakMap,pl=new WeakMap,ES=e=>{const t=Va.get(e.target);t&&t(e)},CS=e=>{e.forEach(ES)};function kS({root:e,...t}){const n=e||document;pl.has(n)||pl.set(n,{});const r=pl.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(CS,{root:e,...t})),r[i]}function PS(e,t,n){const r=kS(t);return Va.set(e,n),r.observe(e),()=>{Va.delete(e),r.unobserve(e)}}const AS={some:0,all:1};class DS extends gn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:AS[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return PS(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(RS(t,n))&&this.startObserver()}unmount(){}}function RS({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const MS={inView:{Feature:DS},tap:{Feature:TS},focus:{Feature:SS},hover:{Feature:wS}},LS={layout:{ProjectionNode:Vg,MeasureLayout:Pg}},uc=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ko=k.createContext({}),cc=typeof window<"u",Og=cc?k.useLayoutEffect:k.useEffect,Fg=k.createContext({strict:!1});function _S(e,t,n,r,i){var s,o;const{visualElement:l}=k.useContext(ko),a=k.useContext(Fg),u=k.useContext(Co),c=k.useContext(uc).reducedMotion,f=k.useRef();r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,g=k.useContext(kg);
vendor: 9,805 bytes, line 115
115d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&NS(f.current,n,i,g);const y=k.useRef(!1);k.useInsertionEffect(()=>{d&&y.current&&d.update(n,u)});const v=n[ag],C=k.useRef(!!v&&!(!((s=window.MotionHandoffIsComplete)===null||s===void 0)&&s.call(window,v))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,v)));return Og(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),ac.render(d.render),C.current&&d.animationState&&d.animationState.animateChanges())}),k.useEffect(()=>{d&&(!C.current&&d.animationState&&d.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var h;(h=window.MotionHandoffMarkAsComplete)===null||h===void 0||h.call(window,v)}),C.current=!1))}),d}function NS(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ig(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||l&&nr(l),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}function Ig(e){if(e)return e.options.allowProjection!==!1?e.projection:Ig(e.parent)}function VS(e,t,n){return k.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):nr(n)&&(n.current=r))},[t])}function Po(e){return wo(e.animate)||Uu.some(t=>Ei(e[t]))}function zg(e){return!!(Po(e)||e.variants)}function jS(e,t){if(Po(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ei(n)?n:void 0,animate:Ei(r)?r:void 0}}return e.inherit!==!1?t:{}}function OS(e){const{initial:t,animate:n}=jS(e,k.useContext(ko));return k.useMemo(()=>({initial:t,animate:n}),[Qd(t),Qd(n)])}function Qd(e){return Array.isArray(e)?e.join(" "):e}const Yd={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"]},Er={};for(const e in Yd)Er[e]={isEnabled:t=>Yd[e].some(n=>!!t[n])};function FS(e){for(const t in e)Er[t]={...Er[t],...e[t]}}const IS=Symbol.for("motionComponentSymbol");function zS({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&FS(e);function s(l,a){let u;const c={...k.useContext(uc),...l,layoutId:BS(l)},{isStatic:f}=c,d=OS(l),g=r(l,f);if(!f&&cc){US();const y=$S(c);u=y.MeasureLayout,d.visualElement=_S(i,g,c,t,y.ProjectionNode)}return w.jsxs(ko.Provider,{value:d,children:[u&&d.visualElement?w.jsx(u,{visualElement:d.visualElement,...c}):null,n(i,l,VS(g,d.visualElement,a),g,f,d.visualElement)]})}const o=k.forwardRef(s);return o[IS]=i,o}function BS({layoutId:e}){const t=k.useContext(lc).id;return t&&e!==void 0?t+"-"+e:e}function US(e,t){k.useContext(Fg).strict}function $S(e){const{drag:t,layout:n}=Er;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const WS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fc(e){return typeof e!="string"||e.includes("-")?!1:!!(WS.indexOf(e)>-1||/[A-Z]/u.test(e))}function Bg(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Ug=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function $g(e,t,n,r){Bg(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Ug.has(i)?i:oc(i),t.attrs[i])}function Wg(e,{layout:t,layoutId:n}){return zn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!eo[e]||e==="opacity")}function dc(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(Ee(i[o])||t.style&&Ee(t.style[o])||Wg(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function bg(e,t,n){const r=dc(e,t,n);for(const i in e)if(Ee(e[i])||Ee(t[i])){const s=Vi.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function hc(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}function bS({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){const o={latestValues:HS(r,i,s,e),renderState:t()};return n&&(o.mount=l=>n(r,l,o)),o}const Hg=e=>(t,n)=>{const r=k.useContext(ko),i=k.useContext(Co),s=()=>bS(e,t,r,i);return n?s():hc(s)};function HS(e,t,n,r){const i={},s=r(e,{});for(const d in s)i[d]=Ts(s[d]);let{initial:o,animate:l}=e;const a=Po(e),u=zg(e);t&&u&&!a&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?l:o;if(f&&typeof f!="boolean"&&!wo(f)){const d=Array.isArray(f)?f:[f];for(let g=0;g<d.length;g++){const y=zu(e,d[g]);if(y){const{transitionEnd:v,transition:C,...h}=y;for(const p in h){let m=h[p];if(Array.isArray(m)){const x=c?m.length-1:0;m=m[x]}m!==null&&(i[p]=m)}for(const p in v)i[p]=v[p]}}}return i}const pc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Kg=()=>({...pc(),attrs:{}}),Gg=(e,t)=>t&&typeof e=="number"?t.transform(e):e,KS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GS=Vi.length;function QS(e,t,n){let r="",i=!0;for(let s=0;s<GS;s++){const o=Vi[s],l=e[o];if(l===void 0)continue;let a=!0;if(typeof l=="number"?a=l===(o.startsWith("scale")?1:0):a=parseFloat(l)===0,!a||n){const u=Gg(l,Yu[o]);if(!a){i=!1;const c=KS[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function mc(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,l=!1;for(const a in t){const u=t[a];if(zn.has(a)){o=!0;continue}else if(Fm(a)){i[a]=u;continue}else{const c=Gg(u,Yu[a]);a.startsWith("origin")?(l=!0,s[a]=c):r[a]=c}}if(t.transform||(o||n?r.transform=QS(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:a="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${a} ${u} ${c}`}}function Xd(e,t,n){return typeof e=="string"?e:L.transform(t+n*e)}function YS(e,t,n){const r=Xd(t,e.x,e.width),i=Xd(n,e.y,e.height);return`${r} ${i}`}const XS={offset:"stroke-dashoffset",array:"stroke-dasharray"},ZS={offset:"strokeDashoffset",array:"strokeDasharray"};function qS(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?XS:ZS;e[s.offset]=L.transform(-r);const o=L.transform(t),l=L.transform(n);e[s.array]=`${o} ${l}`}function gc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:l=1,pathOffset:a=0,...u},c,f){if(mc(e,u,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:g,dimensions:y}=e;d.transform&&(y&&(g.transform=d.transform),delete d.transform),y&&(i!==void 0||s!==void 0||g.transform)&&(g.transformOrigin=YS(y,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&qS(d,o,l,a,!1)}const yc=e=>typeof e=="string"&&e.toLowerCase()==="svg",JS={useVisualState:Hg({scrapeMotionValuesFromProps:bg,createRenderState:Kg,onMount:(e,t,{renderState:n,latestValues:r})=>{B.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),B.render(()=>{gc(n,r,yc(t.tagName),e.transformTemplate),$g(t,n)})}})},eT={useVisualState:Hg({scrapeMotionValuesFromProps:dc,createRenderState:pc})};function Qg(e,t,n){for(const r in t)!Ee(t[r])&&!Wg(r,n)&&(e[r]=t[r])}function tT({transformTemplate:e},t){return k.useMemo(()=>{const n=pc();return mc(n,t,e),Object.assign({},n.vars,n.style)},[t])}function nT(e,t){const n=e.style||{},r={};return Qg(r,n,e),Object.assign(r,tT(e,t)),r}function rT(e,t){const n={},r=nT(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const iT=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function to(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iT.has(e)}let Yg=e=>!to(e);function sT(e){e&&(Yg=t=>t.startsWith("on")?!to(t):e(t))}try{sT(require("@emotion/is-prop-valid").default)}catch{}function oT(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Yg(i)||n===!0&&to(i)||!t&&!to(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function lT(e,t,n,r){const i=k.useMemo(()=>{const s=Kg();return gc(s,t,yc(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Qg(s,e.style,e),i.style={...s,...i.style}}return i}function aT(e=!1){return(n,r,i,{latestValues:s},o)=>{const a=(fc(n)?lT:rT)(r,s,o,n),u=oT(r,typeof n=="string",e),c=n!==k.Fragment?{...u,...a,ref:i}
vendor: 5,456 bytes, line 115
115:{},{children:f}=r,d=k.useMemo(()=>Ee(f)?f.get():f,[f]);return k.createElement(n,{...c,children:d})}}function uT(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...fc(r)?JS:eT,preloadedFeatures:e,useRender:aT(i),createVisualElement:t,Component:r};return zS(o)}}const ja={current:null},Xg={current:!1};function cT(){if(Xg.current=!0,!!cc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ja.current=e.matches;e.addListener(t),t()}else ja.current=!1}function fT(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ee(i))e.addValue(r,i);else if(Ee(s))e.addValue(r,Pi(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Pi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Zd=new WeakMap,dT=[...Bm,Se,fn],hT=e=>dT.find(zm(e)),qd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class pT{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ku,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=St.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,B.render(this.render,!1,!0))};const{latestValues:a,renderState:u}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Po(n),this.isVariantNode=zg(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const d in f){const g=f[d];a[d]!==void 0&&Ee(g)&&g.set(a[d],!1)}}mount(t){this.current=t,Zd.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Xg.current||cT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ja.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Zd.delete(this.current),this.projection&&this.projection.unmount(),cn(this.notifyUpdate),cn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=zn.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&B.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Er){const n=Er[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ie()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<qd.length;r++){const i=qd[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=fT(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 5,003 bytes, lines 115-123
115addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Pi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(jm(i)||Vm(i))?i=parseFloat(i):!hT(i)&&fn.test(n)&&(i=Qm(t,n)),this.setBaseTarget(t,Ee(i)?i.get():i)),Ee(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=zu(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ee(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new sc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Zg extends pT{constructor(){super(...arguments),this.KeyframeResolver=Ym}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function mT(e){return window.getComputedStyle(e)}class gT extends Zg{constructor(){super(...arguments),this.type="html",this.renderInstance=Bg}readValueFromInstance(t,n){if(zn.has(n)){const r=Xu(n);return r&&r.default||0}else{const r=mT(t),i=(Fm(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Eg(t,n)}build(t,n,r){mc(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return dc(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class yT extends Zg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ie}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(zn.has(n)){const r=Xu(n);return r&&r.default||0}return n=Ug.has(n)?n:oc(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return bg(t,n,r)}build(t,n,r){gc(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){$g(t,n,r,i)}mount(t){this.isSVGTag=yc(t.tagName),super.mount(t)}}const vT=(e,t)=>fc(e)?new yT(t):new gT(t,{allowProjection:e!==k.Fragment}),xT=uT({...aw,...MS,...xS,...LS},vT),Y=o1(xT);class wT extends k.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ST({children:e,isPresent:t}){const n=k.useId(),r=k.useRef(null),i=k.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=k.useContext(uc);return k.useInsertionEffect(()=>{const{width:o,height:l,top:a,left:u}=i.current;if(t||!r.current||!o||!l)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
116          [data-motion-pop-id="${n}"] {
117            position: absolute !important;
118            width: ${o}px !important;
119            height: ${l}px !important;
120            top: ${a}px !important;
121            left: ${u}px !important;
122          }
123        `),()=>{document.head.removeChild(c)}},[t]),w.jsx(wT,{isPresent:t,childRef:r,sizeRef:i,children:k.cloneElement(e,{ref:r})})}const TT=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const l=hc(ET),a=k.useId(),u=k.useCallback(f=>{l.set(f,!0);for(const d of l.values())if(!d)return;r&&r()},[l,r]),c=k.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(l.set(f,!1),()=>l.delete(f))}),s?[Math.random(),u]:[n,u]);return k.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[n]),k.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),o==="popLayout"&&(e=w.jsx(ST,{isPresent:n,children:e})),w.jsx(Co.Provider,{value:c,children:e})};function ET(){return new Map}const is=e=>e.key||"";function Jd(e){const t=[];
123return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const CT=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:s=!0,mode:o="sync"})=>{const l=k.useMemo(()=>Jd(e),[e]),a=l.map(is),u=k.useRef(!0),c=k.useRef(l),f=hc(()=>new Map),[d,g]=k.useState(l),[y,v]=k.useState(l);Og(()=>{u.current=!1,c.current=l;for(let p=0;p<y.length;p++){const m=is(y[p]);a.includes(m)?f.delete(m):f.get(m)!==!0&&f.set(m,!1)}},[y,a.length,a.join("-")]);const C=[];if(l!==d){let p=[...l];for(let m=0;m<y.length;m++){const x=y[m],S=is(x);a.includes(S)||(p.splice(m,0,x),C.push(x))}o==="wait"&&C.length&&(p=C),v(Jd(p)),g(l);return}const{forceRender:h}=k.useContext(lc);return w.jsx(w.Fragment,{children:y.map(p=>{const m=is(p),x=l===y||a.includes(m),S=()=>{if(f.has(m))f.set(m,!0);else return;let E=!0;f.forEach(A=>{A||(E=!1)}),E&&(h==null||h(),v(c.current),i&&i())};return w.jsx(TT,{isPresent:x,initial:!u.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:s,mode:o,onExitComplete:x?void 0:S,children:p},m)})})},kT={residencyType:n1,familyComposition:t1,housingPreference:If,location:If,transportation:Z0,lifestyle:i1,education:e1};function PT({questions:e,answers:t,onAnswer:n}){const r=o=>({initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:o*.1,type:"spring",stiffness:100}}),i=(o,l)=>{var a;return w.jsx("div",{className:"space-y-3",children:(a=o.options)==null?void 0:a.map((u,c)=>w.jsxs(Y.label,{...r(c),className:`flex items-start p-4 rounded-lg border-2 transition-all cursor-pointer relative overflow-hidden ${t[o.id]===u.id?"border-[#871c33] bg-[#871c33]/5":"border-gray-200 hover:border-[#871c33]/30"}`,whileHover:{scale:1.02,transition:{duration:.2}},whileTap:{scale:.98},children:[w.jsx("input",{type:"radio",name:o.id,value:u.id,checked:t[o.id]===u.id,onChange:f=>n(o.id,f.target.value),className:"sr-only"}),w.jsxs("div",{className:"flex-1",children:[w.jsxs("div",{className:"font-medium text-gray-900 flex items-center",children:[u.text,t[o.id]===u.id&&w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},className:"ml-2",children:w.jsx(zf,{className:"w-4 h-4 text-[#871c33]"})})]}),u.subtext&&w.jsx("div",{className:"text-sm text-gray-500 mt-1",children:u.subtext})]}),t[o.id]===u.id&&w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},className:"absolute right-4 top-4",children:w.jsx(va,{className:"w-5 h-5 text-[#871c33] fill-[#871c33]"})})]},u.id))})},s=(o,l)=>{var a;return w.jsx("div",{className:"space-y-3",children:(a=o.options)==null?void 0:a.map((u,c)=>{const f=(t[o.id]||[]).includes(u.id);return w.jsxs(Y.label,{...r(c),className:`flex items-start p-4 rounded-lg border-2 transition-all cursor-pointer relative ${f?"border-[#871c33] bg-[#871c33]/5":"border-gray-200 hover:border-[#871c33]/30"}`,whileHover:{scale:1.02,transition:{duration:.2}},whileTap:{scale:.98},children:[w.jsx("input",{type:"checkbox",value:u.id,checked:f,onChange:d=>{const g=t[o.id]||[],y=d.target.checked?[...g,u.id]:g.filter(v=>v!==u.id);n(o.id,y)},className:"sr-only"}),w.jsxs("div",{className:"flex-1",children:[w.jsxs("div",{className:"font-medium text-gray-900 flex items-center",children:[u.text,f&&w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},className:"ml-2",children:w.jsx(zf,{className:"w-4 h-4 text-[#871c33]"})})]}),u.subtext&&w.jsx("div",{className:"text-sm text-gray-500 mt-1",children:u.subtext})]}),w.jsx(CT,{children:f&&w.jsx(Y.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},className:"absolute right-4 top-4",children:w.jsx(va,{className:"w-5 h-5 text-[#871c33] fill-[#871c33]"})})})]},u.id)})})};return w.jsx("div",{className:"space-y-8",children:e.map((o,l)=>{const a=kT[o.id];return w.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:l*.2},className:"bg-white rounded-lg shadow-md p-6 border border-[#871c33]/10",children:[w.jsxs("div",{className:"flex items-center mb-4",children:[a&&w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200},className:"mr-3",children:w.jsx(a,{className:"w-6 h-6 text-[#871c33]"})}),w.jsx("h3",{className:"text-lg font-semibold text-[#871c33]",children:o.text})]}),o.subtext&&w.jsx(Y.p,{initial:{opacity:0}
123,animate:{opacity:1},transition:{delay:.2},className:"text-sm text-gray-600 mb-4",children:o.subtext}),o.type==="single"&&i(o),o.type==="multiple"&&s(o)]},o.id)})})}function AT({userData:e,onUpdate:t,isSubmitting:n,submitStatus:r}){return w.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white rounded-lg shadow-md p-6 border border-[#871c33]/10",children:[w.jsx("h2",{className:"text-2xl font-semibold mb-6 text-[#871c33]",children:"Ihre Kontaktdaten"}),w.jsxs("div",{className:"space-y-4",children:[w.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Vorname"}),w.jsx("input",{type:"text",value:e.firstName,onChange:i=>t({...e,firstName:i.target.value}),className:"w-full rounded-md border-gray-300 shadow-sm focus:border-[#871c33] focus:ring focus:ring-[#871c33] focus:ring-opacity-50",required:!0})]}),w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nachname"}),w.jsx("input",{type:"text",value:e.lastName,onChange:i=>t({...e,lastName:i.target.value}),className:"w-full rounded-md border-gray-300 shadow-sm focus:border-[#871c33] focus:ring focus:ring-[#871c33] focus:ring-opacity-50",required:!0})]})]}),w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"E-Mail"}),w.jsx("input",{type:"email",value:e.email,onChange:i=>t({...e,email:i.target.value}),className:"w-full rounded-md border-gray-300 shadow-sm focus:border-[#871c33] focus:ring focus:ring-[#871c33] focus:ring-opacity-50",required:!0})]}),w.jsxs("div",{children:[w.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Telefonnummer"}),w.jsx("input",{type:"tel",value:e.phone,onChange:i=>t({...e,phone:i.target.value}),className:"w-full rounded-md border-gray-300 shadow-sm focus:border-[#871c33] focus:ring focus:ring-[#871c33] focus:ring-opacity-50",required:!0})]}),w.jsx("div",{className:"pt-4",children:w.jsxs("label",{className:"flex items-start",children:[w.jsx("input",{type:"checkbox",checked:e.consent,onChange:i=>t({...e,consent:i.target.checked}),className:"mt-1 h-4 w-4 text-[#871c33] border-gray-300 rounded focus:ring-[#871c33]"}),w.jsx("span",{className:"ml-3 text-sm text-gray-600",children:"Ich möchte regelmäßig wertvolle Informationen über das Leben in Dubai erhalten (optional)"})]})}),r&&w.jsx(Y.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:`mt-4 p-3 rounded-lg flex items-center ${r==="success"?"bg-green-50 text-green-700":"bg-red-50 text-red-700"}`,children:r==="success"?w.jsxs(w.Fragment,{children:[w.jsx(q0,{className:"w-5 h-5 mr-2"}),w.jsx("span",{children:"Ihre Daten wurden erfolgreich übermittelt!"})]}):w.jsxs(w.Fragment,{children:[w.jsx(s1,{className:"w-5 h-5 mr-2"}),w.jsx("span",{children:"Es gab einen Fehler beim Senden. Bitte versuchen Sie es später erneut."})]})})]})]})}function DT({steps:e,currentStep:t}){return w.jsx("div",{className:"mb-8",children:w.jsx("div",{className:"flex justify-between items-center",children:e.map((n,r)=>{const i=t>n.id,s=t===n.id;return w.jsxs(Ie.Fragment,{children:[w.jsxs(Y.div,{className:"flex flex-col items-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:r*.1},children:[w.jsx(Y.div,{className:`w-10 h-10 rounded-full flex items-center justify-center border-2 ${i?"bg-[#871c33] border-[#871c33] text-white":s?"border-[#871c33] text-[#871c33]":"border-gray-300 text-gray-300"}`,whileHover:{scale:1.1},whileTap:{scale:.95},children:i?w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300,damping:20},children:w.jsx(J0,{className:"w-5 h-5"})}):w.jsx("span",{className:"font-semibold",children:n.id})}),w.jsx(Y.span,{className:`mt-2 text-sm ${s?"text-[#871c33] font-medium":"text-gray-500"}`,initial:{opacity:0}
123,animate:{opacity:1},transition:{delay:r*.1+.2},children:n.title})]}),r<e.length-1&&w.jsx(Y.div,{className:"flex-1 h-0.5 mx-4",initial:{scaleX:0},animate:{scaleX:1,backgroundColor:t>n.id?"#871c33":"#D1D5DB"},transition:{delay:r*.1}})]},n.id)})})})}function RT({children:e,className:t=""}){return w.jsx(Y.div,{initial:{opacity:0},animate:{opacity:1},className:`w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 ${t}`,children:w.jsx("div",{className:"relative",children:e})})}var MT=typeof Element<"u",LT=typeof Map=="function",_T=typeof Set=="function",NT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Es(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Es(e[r],t[r]))return!1;return!0}var s;if(LT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!Es(r.value[1],t.get(r.value[0])))return!1;return!0}if(_T&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(NT&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(MT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Es(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var VT=function(t,n){try{return Es(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const jT=no(VT);var OT=function(e,t,n,r,i,s,o,l){if(!e){var a;if(t===void 0)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,s,o,l],c=0;a=new Error(t.replace(/%s/g,function(){return u[c++]})),a.name="Invariant Violation"}throw a.framesToPop=1,a}},FT=OT;const eh=no(FT);var IT=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),l=Object.keys(n);if(o.length!==l.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var c=o[u];if(!a(c))return!1;var f=t[c],d=n[c];if(s=r?r.call(i,f,d,c):void 0,s===!1||s===void 0&&f!==d)return!1}return!0};const zT=no(IT);var qg=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(qg||{}),ml={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},th=Object.values(qg),vc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},BT=Object.entries(vc).reduce((e,[t,n])=>(e[n]=t,e),{}),lt="data-rh",dr={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},hr=(e,t)=>
123{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},UT=e=>{let t=hr(e,"title");const n=hr(e,dr.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=hr(e,dr.DEFAULT_TITLE);return t||r||void 0},$T=e=>hr(e,dr.ON_CHANGE_CLIENT_STATE)||(()=>{}),gl=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),WT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const l=i[s].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),bT=e=>console&&typeof console.warn=="function"&&console.warn(e),zr=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&bT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(a=>{let u;const c=Object.keys(a);for(let d=0;d<c.length;d+=1){const g=c[d],y=g.toLowerCase();t.indexOf(y)!==-1&&!(u==="rel"&&a[u].toLowerCase()==="canonical")&&!(y==="rel"&&a[y].toLowerCase()==="stylesheet")&&(u=y),t.indexOf(g)!==-1&&(g==="innerHTML"||g==="cssText"||g==="itemprop")&&(u=g)}if(!u||!a[u])return!1;const f=a[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][f]?!1:(o[u][f]=!0,!0)}).reverse().forEach(a=>i.push(a));const l=Object.keys(o);for(let a=0;a<l.length;a+=1){const u=l[a],c={...r[u],...o[u]};r[u]=c}return i},[]).reverse()},HT=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},KT=e=>({baseTag:WT(["href"],e),bodyAttributes:gl("bodyAttributes",e),defer:hr(e,dr.DEFER),encode:hr(e,dr.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:gl("htmlAttributes",e),linkTags:zr("link",["rel","href"],e),metaTags:zr("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:zr("noscript",["innerHTML"],e),onChangeClientState:$T(e),scriptTags:zr("script",["src","innerHTML"],e),styleTags:zr("style",["cssText"],e),title:UT(e),titleAttributes:gl("titleAttributes",e),prioritizeSeoTags:HT(e,dr.PRIORITIZE_SEO_TAGS)}),Jg=e=>Array.isArray(e)?e.join(""):e,GT=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},yl=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(GT(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},nh=(e,t)=>({...e,[t]:void 0}),QT=["noscript","script","style"],Oa=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),ey=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),YT=(e,t,n,r)=>{const i=ey(n),s=Jg(t);return i?`<${e} ${lt}="true" ${i}>${Oa(s,r)}</${e}>`:`<${e} ${lt}="true">${Oa(s,r)}</${e}>`},XT=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const f=typeof s[c]>"u"?c:`${c}="${Oa(s[c],n)}"`;return u?`${u} ${f}`:f},""),l=s.innerHTML||s.cssText||"",a=QT.indexOf(e)===-1;return`${r}<${e} ${lt}="true" ${o}${a?"/>":`>${l}</${e}>`}`},""),ty=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=vc[r];return n[i||r]=e[r],n},t),ZT=(e,t,n)=>{const r={key:t,[lt]:!0},i=ty(n,r);return[Ie.createElement("title",i,t)]},Cs=(e,t)=>t.map((n,r)=>{const i={key:r,[lt]:!0};return Object.keys(n).forEach(s=>{const l=vc[s]||s;if(l==="innerHTML"||l==="cssText"){const a=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:a}}else i[l]=n[s]}),Ie.createElement(e,i)}),Xe=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>ZT(e,t.title,t.titleAttributes),toString:()=>YT(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ty(t),toString:()=>ey(t)};default:return{toComponent:()=>Cs(e,t),toString:()=>XT(e,t,n)}}},qT=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=yl(e,ml.meta),s=yl(t,ml.link),o=yl(n,ml.script);return{priorityMethods:{toComponent:()=>[...Cs("meta",i.priority),...Cs("link",s.priority),...Cs("script",o.priority)],toString:()=>`${Xe("meta",i.priority,r)} ${Xe("link",s.priority,r)} ${Xe("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},JT=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:l="",titleAttributes:a,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:f,scriptTags:d}=e,g={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:g,linkTags:c,metaTags:f,scriptTags:d}=qT(e)),{priority:g,base:Xe("base",t,r),bodyAttributes:Xe("bodyAttributes",n,r),htmlAttributes:Xe("htmlAttributes",i,r),link:Xe("link",c,r),meta:Xe("meta",f,r),noscript:Xe("noscript",s,r),script:Xe("script",d,r),style:Xe("style",o,r),title:Xe("title",{title:l,titleAttributes:a},r)}},Fa=JT,ss=[],ny=!!(typeof window<"u"&&window.document&&window.document.createElement),Ia=class{constructor(e,t){kt(this,"instances",[]);kt(this,"canUseDOM",ny);kt(this,"context");kt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?ss:this.instances,add:e=>{(this.canUseDOM?ss:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?ss:this.instances).indexOf(e);(this.canUseDOM?ss:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Fa({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},eE={},ry=Ie.createContext(eE),Dn,iy=(Dn=class extends k.Component{constructor(n){super(n);kt(this,"helmetData");this.helmetData=new Ia(this.props.context||{},Dn.canUseDOM)}render(){return Ie.createElement(ry.Provider,{value:this.helmetData.value},this.props.children)}},kt(Dn,"canUseDOM",ny),Dn),$n=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${lt}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(l=>{const a=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")a.innerHTML=l.innerHTML;else if(u==="cssText")a.styleSheet?a.styleSheet.cssText=l.cssText:a.appendChild(document.createTextNode(l.cssText));else{const c=u,f=typeof l[c]>"u"?"":l[c];a.setAttribute(u,f)}a.setAttribute(lt,"true"),i.some((u,c)=>(o=c,a.isEqualNode(u)))?i.splice(o,1):s.push(a)}
123),i.forEach(l=>{var a;return(a=l.parentNode)==null?void 0:a.removeChild(l)}),s.forEach(l=>n.appendChild(l)),{oldTags:i,newTags:s}},za=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(lt),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const l of o){const a=t[l]||"";n.getAttribute(l)!==a&&n.setAttribute(l,a),i.indexOf(l)===-1&&i.push(l);const u=s.indexOf(l);u!==-1&&s.splice(u,1)}for(let l=s.length-1;l>=0;l-=1)n.removeAttribute(s[l]);i.length===s.length?n.removeAttribute(lt):n.getAttribute(lt)!==o.join(",")&&n.setAttribute(lt,o.join(","))},tE=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Jg(e)),za("title",t)},rh=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:l,onChangeClientState:a,scriptTags:u,styleTags:c,title:f,titleAttributes:d}=e;za("body",r),za("html",i),tE(f,d);const g={baseTag:$n("base",n),linkTags:$n("link",s),metaTags:$n("meta",o),noscriptTags:$n("noscript",l),scriptTags:$n("script",u),styleTags:$n("style",c)},y={},v={};Object.keys(g).forEach(C=>{const{newTags:h,oldTags:p}=g[C];h.length&&(y[C]=h),p.length&&(v[C]=g[C].oldTags)}),t&&t(),a(e,y,v)},Br=null,nE=e=>{Br&&cancelAnimationFrame(Br),e.defer?Br=requestAnimationFrame(()=>{rh(e,()=>{Br=null})}):(rh(e),Br=null)},rE=nE,ih=class extends k.Component{constructor(){super(...arguments);kt(this,"rendered",!1)}shouldComponentUpdate(t){return!zT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=KT(t.get().map(s=>{const o={...s.props};return delete o.context,o}));iy.canUseDOM?rE(i):Fa&&(r=Fa(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Cl,iE=(Cl=class extends k.Component{shouldComponentUpdate(e){return!jT(nh(this.props,"helmetData"),nh(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return eh(th.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${th.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),eh(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return Ie.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((a,u)=>(a[BT[u]||u]=s[u],a),{});let{type:l}=r;
123switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,i),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Ia)){const i=r;r=new Ia(i.context,!0),delete n.helmetData}return r?Ie.createElement(ih,{...n,context:r.value}):Ie.createElement(ry.Consumer,null,i=>Ie.createElement(ih,{...n,context:i}))}},kt(Cl,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Cl);function sE({step:e,totalSteps:t}){const n=r=>{switch(r){case 1:return"Wählen Sie Ihre bevorzugte Wohnsituation in Dubai";case 2:return"Geben Sie Ihre Familienplanung und Bildungswünsche an";case 3:return"Definieren Sie Ihren gewünschten Lifestyle in Dubai";case 4:return"Vervollständigen Sie Ihre persönlichen Daten";case 5:return"Ihre detaillierte Kostenübersicht für das Leben in Dubai";default:return"Berechnen Sie Ihre individuellen Lebenshaltungskosten in Dubai"}};return w.jsxs(iE,{children:[w.jsx("title",{children:`Schritt ${e}/${t} - Dubai Lebenskosten-Rechner`}),w.jsx("meta",{name:"description",content:n(e)}),w.jsx("meta",{name:"robots",content:"noindex, nofollow"})]})}function oE({answers:e,costProfile:t,userData:n,currentStep:r}){return Ie.useState(!1),null}var sy={exports:{}},oy={};/**
124 * @license React
125 * use-sync-external-store-shim.production.min.js
126 *
127 * Copyright (c) Facebook, Inc. and its affiliates.
128 *
129 * This source code is licensed under the MIT license found in the
130 * LICENSE file in the root directory of this source tree.
131 */var Cr=k;function lE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var aE=typeof Object.is=="function"?Object.is:lE,uE=Cr.useState,cE=Cr.useEffect,fE=Cr.useLayoutEffect,dE=Cr.useDebugValue;function hE(e,t){var n=t(),r=uE({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return fE(function(){i.value=n,i.getSnapshot=t,vl(i)&&s({inst:i})},[e,n,t]),cE(function(){return vl(i)&&s({inst:i}),e(function(){vl(i)&&s({inst:i})})},[e]),dE(n),n}function vl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!aE(e,n)}catch{return!0}}function pE(e,t){return t()}var mE=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?pE:hE;oy.useSyncExternalStore=Cr.useSyncExternalStore!==void 0?Cr.useSyncExternalStore:mE;sy.exports=oy;var gE=sy.exports;const qt=()=>{},_e=qt(),xl=Object,F=e=>e===_e,yt=e=>typeof e=="function",dn=(e,t)=>({...e,...t}),yE=e=>yt(e.then),os=new WeakMap;let vE=0;const Ai=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let i,s;if(xl(e)===e&&!r&&n!=RegExp){if(i=os.get(e),i)return i;if(i=++vE+"~",os.set(e,i),n==Array){for(i="@",s=0;s<e.length;s++)i+=Ai(e[s])+",";os.set(e,i)}if(n==xl){i="#";const o=xl.keys(e).sort();for(;!F(s=o.pop());)F(e[s])||(i+=s+":"+Ai(e[s])+",");os.set(e,i)}}else i=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return i},Dt=new WeakMap,wl={},ls={},xc="undefined",Ao=typeof window!=xc,Ba=typeof document!=xc,xE=()=>Ao&&typeof window.requestAnimationFrame!=xc,ly=(e,t)=>{const n=Dt.get(e);return[()=>!F(t)&&e.get(t)||wl,r=>{if(!F(t)){const i=e.get(t);t in ls||(ls[t]=i),n[5](t,dn(i,r),i||wl)}},n[6],()=>!F(t)&&t in ls?ls[t]:!F(t)&&e.get(t)||wl]};let Ua=!0;const wE=()=>Ua,[$a,Wa]=Ao&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[qt,qt],SE=()=>{const e=Ba&&document.visibilityState;return F(e)||e!=="hidden"},TE=e=>(Ba&&document.addEventListener("visibilitychange",e),$a("focus",e),()=>{Ba&&document.removeEventListener("visibilitychange",e),Wa("focus",e)}),EE=e=>{const t=()=>{Ua=!0,e()},n=()=>{Ua=!1};
131return $a("online",t),$a("offline",n),()=>{Wa("online",t),Wa("offline",n)}},CE={isOnline:wE,isVisible:SE},kE={initFocus:TE,initReconnect:EE},sh=!Ie.useId,Di=!Ao||"Deno"in window,PE=e=>xE()?window.requestAnimationFrame(e):setTimeout(e,1),Sl=Di?k.useEffect:k.useLayoutEffect,Tl=typeof navigator<"u"&&navigator.connection,oh=!Di&&Tl&&(["slow-2g","2g"].includes(Tl.effectiveType)||Tl.saveData),wc=e=>{if(yt(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ai(e):"",[e,t]};let AE=0;const ba=()=>++AE,ay=0,uy=1,cy=2,DE=3;var Ur={__proto__:null,ERROR_REVALIDATE_EVENT:DE,FOCUS_EVENT:ay,MUTATE_EVENT:cy,RECONNECT_EVENT:uy};async function fy(...e){const[t,n,r,i]=e,s=dn({populateCache:!0,throwOnError:!0},typeof i=="boolean"?{revalidate:i}:i||{});let o=s.populateCache;const l=s.rollbackOnError;let a=s.optimisticData;const u=d=>typeof l=="function"?l(d):l!==!1,c=s.throwOnError;if(yt(n)){const d=n,g=[],y=t.keys();for(const v of y)!/^\$(inf|sub)\$/.test(v)&&d(t.get(v)._k)&&g.push(v);return Promise.all(g.map(f))}return f(n);async function f(d){const[g]=wc(d);if(!g)return;const[y,v]=ly(t,g),[C,h,p,m]=Dt.get(t),x=()=>{const le=C[g];return(yt(s.revalidate)?s.revalidate(y().data,d):s.revalidate!==!1)&&(delete p[g],delete m[g],le&&le[0])?le[0](cy).then(()=>y().data):y().data};if(e.length<3)return x();let S=r,E;const A=ba();h[g]=[A,0];const T=!F(a),V=y(),M=V.data,$=V._c,ye=F($)?M:$;if(T&&(a=yt(a)?a(ye,M):a,v({data:a,_c:ye})),yt(S))try{S=S(ye)}catch(le){E=le}if(S&&yE(S))if(S=await S.catch(le=>{E=le}),A!==h[g][0]){if(E)throw E;return S}else E&&T&&u(E)&&(o=!0,v({data:ye,_c:_e}));if(o&&!E)if(yt(o)){const le=o(S,ye);v({data:le,error:_e,_c:_e})}else v({data:S,error:_e,_c:_e});if(h[g][1]=ba(),Promise.resolve(x()).then(()=>{v({_c:_e})}),E){if(c)throw E;return}return S}}const lh=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},RE=(e,t)=>{if(!Dt.has(e)){const n=dn(kE,t),r={},i=fy.bind(_e,e);let s=qt;const o={},l=(c,f)=>{const d=o[c]||[];return o[c]=d,d.push(f),()=>d.splice(d.indexOf(f),1)},a=(c,f,d)=>{e.set(c,f);const g=o[c];if(g)for(const y of g)y(f,d)},u=()=>{if(!Dt.has(e)&&(Dt.set(e,[r,{},{},{},i,a,l]),!Di)){const c=n.initFocus(setTimeout.bind(_e,lh.bind(_e,r,ay))),f=n.initReconnect(setTimeout.bind(_e,lh.bind(_e,r,uy)));s=()=>{c&&c(),f&&f(),Dt.delete(e)}}};return u(),[e,i,u,s]}return[e,Dt.get(e)[4]]},ME=(e,t,n,r,i)=>{const s=n.errorRetryCount,o=i.retryCount,l=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!F(s)&&o>s||setTimeout(r,l,i)},LE=(e,t)=>Ai(e)==Ai(t),[dy,_E]=RE(new Map),NE=dn({onLoadingSlow:qt,onSuccess:qt,onError:qt,onErrorRetry:ME,onDiscarded:qt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:oh?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:oh?5e3:3e3,compare:LE,isPaused:()=>!1,cache:dy,mutate:_E,fallback:{}},CE),VE=(e,t)=>{const n=dn(e,t);if(t){const{use:r,fallback:i}=e,{use:s,fallback:o}=t;r&&s&&(n.use=r.concat(s)),i&&o&&(n.fallback=dn(i,o))}return n},jE=k.createContext({}),OE="$inf$",hy=Ao&&window.__SWR_DEVTOOLS_USE__,FE=hy?window.__SWR_DEVTOOLS_USE__:[],IE=()=>{hy&&(window.__SWR_DEVTOOLS_REACT__=Ie)},zE=e=>yt(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],BE=()=>dn(NE,k.useContext(jE)),UE=e=>(t,n,r)=>e(t,n&&((...s)=>{const[o]=wc(t),[,,,l]=Dt.get(dy);if(o.startsWith(OE))return n(...s);const a=l[o];return F(a)?n(...s):(delete l[o],a)}),r),$E=FE.concat(UE),WE=e=>function(...n){const r=BE(),[i,s,o]=zE(n),l=VE(r,o);let a=e;const{use:u}=l,c=(u||[]).concat($E);for(let f=c.length;f--;)a=c[f](a);return a(i,s||l.fetcher||null,l)},bE=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i>=0&&(r[i]=r[r.length-1],r.pop())}};IE();const ah=Ie.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),El={dedupe:!0},HE=(e,t,n)=>{const{cache:r,compare:i,suspense:s,fallbackData:o,revalidateOnMount:l,revalidateIfStale:a,refreshInterval:u,refreshWhenHidden:c,refreshWhenOffline:f,keepPreviousData:d}=n,[g,y,v,C]=Dt.get(r),[h,p]=wc(e),m=k.useRef(!1),x=k.useRef(!1),S=k.useRef(h),E=k.useRef(t),A=k.useRef(n),T=()=>A.current,V=()=>T().isVisible()&&T().isOnline(),[M,$,ye,le]=ly(r,h),Ke=k.useRef({}).current,Fi=F(o)?n.fallback[h]:o,yn=(b,H)=>{for(const ve in Ke){const re=ve;
131if(re==="data"){if(!i(b[re],H[re])&&(!F(b[re])||!i(Wt,H[re])))return!1}else if(H[re]!==b[re])return!1}return!0},ee=k.useMemo(()=>{const b=!h||!t?!1:F(l)?T().isPaused()||s?!1:F(a)?!0:a:l,H=Pe=>{const Et=dn(Pe);return delete Et._k,b?{isValidating:!0,isLoading:!0,...Et}:Et},ve=M(),re=le(),ht=H(ve),Bn=ve===re?ht:H(re);let de=ht;return[()=>{const Pe=H(M());return yn(Pe,de)?(de.data=Pe.data,de.isLoading=Pe.isLoading,de.isValidating=Pe.isValidating,de.error=Pe.error,de):(de=Pe,Pe)},()=>Bn]},[r,h]),D=gE.useSyncExternalStore(k.useCallback(b=>ye(h,(H,ve)=>{yn(ve,H)||b()}),[r,h]),ee[0],ee[1]),_=!m.current,N=g[h]&&g[h].length>0,z=D.data,W=F(z)?Fi:z,Tt=D.error,ft=k.useRef(W),Wt=d?F(z)?ft.current:z:W,dt=N&&!F(Tt)?!1:_&&!F(l)?l:T().isPaused()?!1:s?F(W)?!1:a:F(W)||a,vn=!!(h&&t&&_&&dt),py=F(D.isValidating)?vn:D.isValidating,my=F(D.isLoading)?vn:D.isLoading,Rr=k.useCallback(async b=>{const H=E.current;if(!h||!H||x.current||T().isPaused())return!1;let ve,re,ht=!0;const Bn=b||{},de=!v[h]||!Bn.dedupe,Pe=()=>sh?!x.current&&h===S.current&&m.current:h===S.current,Et={isValidating:!1,isLoading:!1},Tc=()=>{$(Et)},Ec=()=>{const Ge=v[h];Ge&&Ge[1]===re&&delete v[h]},Cc={isValidating:!0};F(M().data)&&(Cc.isLoading=!0);try{if(de&&($(Cc),n.loadingTimeout&&F(M().data)&&setTimeout(()=>{ht&&Pe()&&T().onLoadingSlow(h,n)},n.loadingTimeout),v[h]=[H(p),ba()]),[ve,re]=v[h],ve=await ve,de&&setTimeout(Ec,n.dedupingInterval),!v[h]||v[h][1]!==re)return de&&Pe()&&T().onDiscarded(h),!1;Et.error=_e;const Ge=y[h];if(!F(Ge)&&(re<=Ge[0]||re<=Ge[1]||Ge[1]===0))return Tc(),de&&Pe()&&T().onDiscarded(h),!1;const Ct=M().data;Et.data=i(Ct,ve)?Ct:ve,de&&Pe()&&T().onSuccess(ve,h,n)}catch(Ge){Ec();const Ct=T(),{shouldRetryOnError:Do}=Ct;Ct.isPaused()||(Et.error=Ge,de&&Pe()&&(Ct.onError(Ge,h,Ct),(Do===!0||yt(Do)&&Do(Ge))&&(!T().revalidateOnFocus||!T().revalidateOnReconnect||V())&&Ct.onErrorRetry(Ge,h,Ct,gy=>{const Ro=g[h];Ro&&Ro[0]&&Ro[0](Ur.ERROR_REVALIDATE_EVENT,gy)},{retryCount:(Bn.retryCount||0)+1,dedupe:!0})))}return ht=!1,Tc(),!0},[h,r]),Sc=k.useCallback((...b)=>fy(r,S.current,...b),[]);if(Sl(()=>{E.current=t,A.current=n,F(z)||(ft.current=z)}),Sl(()=>{if(!h)return;const b=Rr.bind(_e,El);let H=0;const re=bE(h,g,(ht,Bn={})=>
131{if(ht==Ur.FOCUS_EVENT){const de=Date.now();T().revalidateOnFocus&&de>H&&V()&&(H=de+T().focusThrottleInterval,b())}else if(ht==Ur.RECONNECT_EVENT)T().revalidateOnReconnect&&V()&&b();else{if(ht==Ur.MUTATE_EVENT)return Rr();if(ht==Ur.ERROR_REVALIDATE_EVENT)return Rr(Bn)}});return x.current=!1,S.current=h,m.current=!0,$({_k:p}),dt&&(F(W)||Di?b():PE(b)),()=>{x.current=!0,re()}},[h]),Sl(()=>{let b;function H(){const re=yt(u)?u(M().data):u;re&&b!==-1&&(b=setTimeout(ve,re))}function ve(){!M().error&&(c||T().isVisible())&&(f||T().isOnline())?Rr(El).then(H):H()}return H(),()=>{b&&(clearTimeout(b),b=-1)}},[u,c,f,h]),k.useDebugValue(Wt),s&&F(W)&&h){if(!sh&&Di)throw new Error("Fallback data is required when using suspense in SSR.");E.current=t,A.current=n,x.current=!1;const b=C[h];if(!F(b)){const H=Sc(b);ah(H)}if(F(Tt)){const H=Rr(El);F(Wt)||(H.status="fulfilled",H.value=!0),ah(H)}else throw Tt}return{mutate:Sc,get data(){return Ke.data=!0,Wt},get error(){return Ke.error=!0,Tt},get isValidating(){return Ke.isValidating=!0,py},get isLoading(){return Ke.isLoading=!0,my}}},KE=WE(HE),GE=e=>fetch(e).then(t=>t.json());function QE(){var n;const{data:e,error:t}=KE("https://api.exchangerate-api.com/v4/latest/AED",GE,{refreshInterval:36e5,revalidateOnFocus:!1});return{rate:(n=e==null?void 0:e.rates)==null?void 0:n.EUR,lastUpdated:e!=null&&e.time_last_updated?new Date(e.time_last_updated*1e3):null,isLoading:!t&&!e,isError:t}}function uh({amount:e}){const{rate:t,lastUpdated:n,isLoading:r,isError:i}=QE(),s=t?e*t:null;return w.jsxs("div",{className:"space-y-1",children:[w.jsxs("div",{className:"font-semibold text-[#871c33]",children:["AED ",e.toLocaleString(),s&&w.jsxs("span",{className:"text-gray-600 ml-2",children:["(€ ",s.toLocaleString(void 0,{maximumFractionDigits:2}),")"]})]}),n&&w.jsxs("div",{className:"text-xs text-gray-500",children:["Wechselkurs vom ",n.toLocaleDateString("de-DE")," um ",n.toLocaleTimeString("de-DE")]}),r&&w.jsx("div",{className:"text-xs text-gray-500",children:"Lade Wechselkurs..."}),i&&w.jsx("div",{className:"text-xs text-red-500",children:"Wechselkurs konnte nicht geladen werden"})]})}function YE({level:e}){const t={budget:1,moderate:2,luxury:3};return w.jsx("div",{className:"flex items-center space-x-1",children:[...Array(t[e])].map((n,r)=>w.jsx(Y.div,{initial:{scale:0},animate:{scale:1},transition:{delay:r*.1},children:w.jsx(va,{className:"w-5 h-5 text-[#871c33] fill-[#871c33]"})},r))})}function XE({costProfile:e,submitStatus:t}){const n={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.1}}},r={hidden:{opacity:0,x:-20},show:{opacity:1,x:0}},i={housing:"Wohnen",transportation:"Transport",food:"Lebensmittel",leisure:"Freizeit",education:"Bildung",healthcare:"Gesundheit"},s=Object.entries(e.baselineCosts).reduce((o,[l,a])=>{const u=e.multipliers[l]||1;return o+a*u},0);return w.jsxs(Y.div,{variants:n,initial:"hidden",animate:"show",className:"space-y-6",children:[w.jsxs("div",{className:"flex items-center justify-between mb-6",children:[w.jsxs("div",{className:"flex items-center",children:[w.jsx(r1,{className:"w-6 h-6 mr-2 text-[#871c33]"}),w.jsx("h2",{className:"text-2xl font-semibold text-[#871c33]",children:"Kostenübersicht"})]}),w.jsx(YE,{level:e.lifestyle})]}),w.jsxs("div",{className:"space-y-4",children:[Object.entries(e.baselineCosts).map(([o,l])=>{const a=e.multipliers[o]||1,u=Math.round(l*a),c=(u/s*100).toFixed(1);return w.jsxs(Y.div,{variants:r,className:"bg-white rounded-lg p-4 shadow-sm border border-gray-100",children:[w.jsxs("div",{className:"flex justify-between items-center",children:[w.jsxs("div",{children:[w.jsx("span",{className:"font-medium text-gray-700",children:i[o]||o}),w.jsxs("span",{className:"text-sm text-gray-500 ml-2",children:["(",c,"%)"]})]}),w.jsx(uh,{amount:u})]}),w.jsx("div",{className:"mt-2 h-2 bg-gray-100 rounded-full overflow-hidden",children:w.jsx(Y.div,{initial:{width:0},animate:{width:`${c}%`},transition:{duration:1,ease:"easeOut"},className:"h-full bg-[#871c33]/80 rounded-full"})})]},o)}),w.jsx(Y.div,{variants:r,className:"border-t border-[#871c33]/10 pt-4 mt-6",children:w.jsxs("div",{className:"flex justify-between items-center text-lg font-semibold",children:[w.jsx("span",{className:"text-[#871c33]",children:"Monatliche Gesamtkosten"}),w.jsx(uh,{amount:s})]})}),e.recommendations.length>0&&w.jsxs(Y.div,{variants:r,className:"mt-6 p-4 bg-[#871c33]/5 rounded-lg",children:[w.jsx("h3",{className:"font-semibold text-[#871c33] mb-2",children:"Empfehlungen"}),w.jsx("ul",{className:"space-y-2",children:e.recommendations.map((o,l)=>w.jsxs("li",{className:"text-sm text-gray-600 flex items-start",children:[w.jsx("span",{className:"mr-2",children:"•"}),o]},l))})]})]})]})}const ZE={logFormData:e=>{},logResponse:e=>{},logError:e=>{}};async function qE(e){const t=JE(e.costProfile),n=new FormData;n.append("Name",`${e.userData.firstName} ${e.userData.lastName}`),n.append("Email",e.userData.email),n.append("Telefon",e.userData.phone),n.append("Lifestyle",e.costProfile.lifestyle),n.append("Monatliche Gesamtkosten",t),Object.entries(e.costProfile.baselineCosts).forEac
131h(([i,s])=>{const o=e.costProfile.multipliers[i]||1,l=Math.round(s*o);n.append(`Kosten - ${i}`,`${l.toLocaleString()} AED`)}),Object.entries(e.answers).forEach(([i,s])=>{const o=Array.isArray(s)?s.join(", "):String(s);n.append(`Antwort - ${i}`,o)}),e.costProfile.recommendations.length>0&&n.append("Empfehlungen",e.costProfile.recommendations.join(`
132`)),n.append("_subject","Dubai Kosten Berechnung"),n.append("_captcha","false"),n.append("_template","table"),n.append("_replyto",e.userData.email),n.append("_next",window.location.href);const r="https://formsubmit.co/[email protected]";try{const i=await fetch(r,{method:"POST",body:n,mode:"no-cors"});return ZE.logResponse(i),{success:!0}}catch(i){throw i}}function JE(e){return`${Object.entries(e.baselineCosts).reduce((n,[r,i])=>{const s=e.multipliers[r]||1;return n+i*s},0).toLocaleString()} AED`}function eC(){const[e,t]=k.useState(1),[n,r]=k.useState({}),[i,s]=k.useState({firstName:"",lastName:"",email:"",phone:"",consent:!1}),[o,l]=k.useState(null),[a,u]=k.useState(null),[c,f]=k.useState(!1),d=(h,p)=>{Bf.logStateChange("App","answers",n[h],p),r(m=>({...m,[h]:p}))},g=async()=>{if(e===4){f(!0);try{const h=K0(n);Bf.logCostProfile(h),l(h),await qE({answers:n,userData:i,costProfile:h}),u("success")}catch(h){console.error("Form submission error:",h),u("error")}finally{f(!1)}}e<5&&t(h=>h+1)},y=()=>{e>1&&t(h=>h-1)},v=h=>{s(h)},C=()=>e===4?i.firstName&&i.lastName&&i.email&&i.phone:G0(e,n);return w.jsx(iy,{children:w.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-[#871c33]/5 to-[#871c33]/10 py-4 sm:py-6 lg:py-8",children:[w.jsx(sE,{step:e,totalSteps:jf.length}),w.jsxs(RT,{children:[w.jsxs("div",{className:"flex flex-col items-center mb-6 sm:mb-8",children:[w.jsx(X0,{className:"w-8 h-8 sm:w-10 sm:h-10 text-[#871c33] mb-2"}),w.jsx("h1",{className:"text-2xl sm:text-3xl lg:text-4xl font-bold text-[#871c33] text-center",children:"Dubai Lebenskosten-Rechner"})]}),w.jsx("div",{className:"hidden sm:block",children:w.jsx(DT,{steps:jf,currentStep:e})}),w.jsxs("div",{className:"mb-6 sm:mb-8",children:[e<4&&w.jsx(PT,{questions:Em(e),answers:n,onAnswer:d}),e===4&&w.jsx(AT,{userData:i,onUpdate:v,isSubmitting:c,submitStatus:a}),e===5&&o&&w.jsx("div",{className:"bg-white rounded-lg shadow-md p-4 sm:p-6 lg:p-8 border border-[#871c33]/10",children:w.jsx(XE,{costProfile:o,submitStatus:a})})]}),w.jsxs("div",{className:"flex justify-between mt-6",children:[e>1&&w.jsx("button",{onClick:y,disabled:c,className:"px-4 sm:px-6 py-2 bg-gray-100 text-gray-700 rounded-md hover:bg-gray-200 transition-colors text-sm sm:text-base disabled:opacity-50 disabled:cursor-not-allowed",children:"Zurück"}),e<5&&w.jsx("button",{onClick:g,disabled:!C()||c,className:`px-4 sm:px-6 py-2 rounded-md transition-colors ml-auto text-sm sm:text-base ${C()&&!c?"bg-[#871c33] text-white hover:bg-[#871c33]/90":"bg-gray-300 text-gray-500 cursor-not-allowed"}`,children:e===4?c?"Wird berechnet...":"Berechnen":"Weiter"})]})]}),w.jsx(oE,{answers:n,costProfile:o,userData:i,currentStep:e})]})})}Tm(document.getElementById("root")).render(w.jsx(k.StrictMode,{children:w.jsx(eC,{})}));

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.