vendor: 4,166 bytes, lines 1-9
1(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)}})();var bd={exports:{}},js={},Qd={exports:{}},D={};/** 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 Xr=Symbol.for("react.element"),eg=Symbol.for("react.portal"),tg=Symbol.for("react.fragment"),ng=Symbol.for("react.strict_mode"),rg=Symbol.for("react.profiler"),ig=Symbol.for("react.provider"),sg=Symbol.for("react.context"),og=Symbol.for("react.forward_ref"),lg=Symbol.for("react.suspense"),ag=Symbol.for("react.memo"),ug=Symbol.for("react.lazy"),ku=Symbol.iterator;function cg(e){return e===null||typeof e!="object"?null:(e=ku&&e[ku]||e["@@iterator"],typeof e=="function"?e:null)}var Yd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xd=Object.assign,Zd={};function Yn(e,t,n){this.props=e,this.context=t,this.refs=Zd,this.updater=n||Yd}Yn.prototype.isReactComponent={};Yn.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")};Yn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function qd(){}qd.prototype=Yn.prototype;function Zl(e,t,n){this.props=e,this.context=t,this.refs=Zd,this.updater=n||Yd}var ql=Zl.prototype=new qd;ql.constructor=Zl;Xd(ql,Yn.prototype);ql.isPureReactComponent=!0;var Cu=Array.isArray,Jd=Object.prototype.hasOwnProperty,Jl={current:null},ef={key:!0,ref:!0,__self:!0,__source:!0};function tf(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)Jd.call(t,r)&&!ef.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:Xr,type:e,key:s,ref:o,props:i,_owner:Jl.current}}function dg(e,t){return{$$typeof:Xr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ea(e){return typeof e=="object"&&e!==null&&e.$$typeof===Xr}function fg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Tu=/\/+/g;function Js(e,t){return typeof e=="object"&&e!==null&&e.key!=null?fg(""+e.key):t.toString(36)}function Li(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 Xr:case eg:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Js(o,0):r,Cu(i)?(n="",e!=null&&(n=e.replace(Tu,"$&/")+"/"),Li(i,t,n,"",function(u){return u})):i!=null&&(ea(i)&&(i=dg(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Tu,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Cu(e))for(var l=0;l<e.length;l++){s=e[l];var a=r+Js(s,l);o+=Li(s,t,n,a,i)}else if(a=cg(e),typeof a=="function")for(e=a.call(e),l=0;!(s=e.next()).done;)s=s.value,a=r+Js(s,l++),o+=Li(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}
vendor: 4,619 bytes, lines 9-25
9function ui(e,t,n){if(e==null)return e;var r=[],i=0;return Li(e,r,"","",function(s){return t.call(n,s,i++)}),r}function hg(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 we={current:null},Di={transition:null},pg={ReactCurrentDispatcher:we,ReactCurrentBatchConfig:Di,ReactCurrentOwner:Jl};function nf(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:ui,forEach:function(e,t,n){ui(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ui(e,function(){t++}),t},toArray:function(e){return ui(e,function(t){return t})||[]},only:function(e){if(!ea(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=Yn;D.Fragment=tg;D.Profiler=rg;D.PureComponent=Zl;D.StrictMode=ng;D.Suspense=lg;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pg;D.act=nf;D.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=Xd({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Jl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Jd.call(t,a)&&!ef.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:Xr,type:e.type,key:i,ref:s,props:r,_owner:o}};D.createContext=function(e){return e={$$typeof:sg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:ig,_context:e},e.Consumer=e};D.createElement=tf;D.createFactory=function(e){var t=tf.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:og,render:e}};D.isValidElement=ea;D.lazy=function(e){return{$$typeof:ug,_payload:{_status:-1,_result:e},_init:hg}};D.memo=function(e,t){return{$$typeof:ag,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Di.transition;Di.transition={};try{e()}finally{Di.transition=t}};D.unstable_act=nf;D.useCallback=function(e,t){return we.current.useCallback(e,t)};D.useContext=function(e){return we.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return we.current.useDeferredValue(e)};D.useEffect=function(e,t){return we.current.useEffect(e,t)};D.useId=function(){return we.current.useId()};D.useImperativeHandle=function(e,t,n){return we.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return we.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return we.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return we.current.useMemo(e,t)};D.useReducer=function(e,t,n){return we.current.useReducer(e,t,n)};D.useRef=function(e){return we.current.useRef(e)};D.useState=function(e){return we.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return we.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return we.current.useTransition()};D.version="18.3.1";Qd.exports=D;var S=Qd.exports;/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var mg=S,gg=Symbol.for("react.element"),yg=Symbol.for("react.fragment"),vg=Object.prototype.hasOwnProperty,xg=mg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wg={key:!0,ref:!0,__self:!0,__source:!0};function rf(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)vg.call(t,r)&&!wg.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:gg,type:e,key:s,ref:o,props:i,_owner:xg.current}}js.Fragment=yg;js.jsx=rf;js.jsxs=rf;bd.exports=js;var c=bd.exports,sf={exports:{}},Re={},of={exports:{}},lf={};/** 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(E,R){var L=E.length;E.push(R);e:for(;0<L;){var Q=L-1>>>
vendor: 10,609 bytes, lines 25-34
251,re=E[Q];if(0<i(re,R))E[Q]=R,E[L]=re,L=Q;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var R=E[0],L=E.pop();if(L!==R){E[0]=L;e:for(var Q=0,re=E.length,li=re>>>1;Q<li;){var Kt=2*(Q+1)-1,qs=E[Kt],bt=Kt+1,ai=E[bt];if(0>i(qs,L))bt<re&&0>i(ai,qs)?(E[Q]=ai,E[bt]=L,Q=bt):(E[Q]=qs,E[Kt]=L,Q=Kt);else if(bt<re&&0>i(ai,L))E[Q]=ai,E[bt]=L,Q=bt;else break e}}return R}function i(E,R){var L=E.sortIndex-R.sortIndex;return L!==0?L:E.id-R.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=[],f=1,d=null,h=3,y=!1,v=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,m=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 g(E){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=E)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function w(E){if(x=!1,g(E),!v)if(n(a)!==null)v=!0,oi(k);else{var R=n(u);R!==null&&q(w,R.startTime-E)}}function k(E,R){v=!1,x&&(x=!1,m(P),P=-1),y=!0;var L=h;try{for(g(R),d=n(a);d!==null&&(!(d.expirationTime>R)||E&&!ne());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,h=d.priorityLevel;var re=Q(d.expirationTime<=R);R=e.unstable_now(),typeof re=="function"?d.callback=re:d===n(a)&&r(a),g(R)}else r(a);d=n(a)}if(d!==null)var li=!0;else{var Kt=n(u);Kt!==null&&q(w,Kt.startTime-R),li=!1}return li}finally{d=null,h=L,y=!1}}var j=!1,_=null,P=-1,V=5,A=-1;function ne(){return!(e.unstable_now()-A<V)}function xt(){if(_!==null){var E=e.unstable_now();A=E;var R=!0;try{R=_(!0,E)}finally{R?Gt():(j=!1,_=null)}}else j=!1}var Gt;if(typeof p=="function")Gt=function(){p(xt)};else if(typeof MessageChannel<"u"){var Jn=new MessageChannel,Su=Jn.port2;Jn.port1.onmessage=xt,Gt=function(){Su.postMessage(null)}}else Gt=function(){C(xt,0)};function oi(E){_=E,j||(j=!0,Gt())}function q(E,R){P=C(function(){E(e.unstable_now())},R)}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(E){E.callback=null},e.unstable_continueExecution=function(){v||y||(v=!0,oi(k))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(E){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var L=h;h=R;try{return E()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,R){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var L=h;h=E;try{return R()}finally{h=L}},e.unstable_scheduleCallback=function(E,R,L){var Q=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Q+L:Q):L=Q,E){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=L+re,E={id:f++,callback:R,priorityLevel:E,startTime:L,expirationTime:re,sortIndex:-1},L>Q?(E.sortIndex=L,t(u,E),n(a)===null&&E===n(u)&&(x?(m(P),P=-1):x=!0,q(w,L-Q))):(E.sortIndex=re,t(a,E),v||y||(v=!0,oi(k))),E},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(E){var R=h;return function(){var L=h;h=R;try{return E.apply(this,arguments)}finally{h=L}}}})(lf);of.exports=lf;var Sg=of.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 kg=S,Me=Sg;function T(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 af=new Set,_r={};function fn(e,t){Bn(e,t),Bn(e+"Capture",t)}function Bn(e,t){for(_r[e]=t,e=0;e<t.length;e++)af.add(t[e])}var ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wo=Object.prototype.hasOwnProperty,Cg=/^[: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]*$/,Pu={},ju={};function Tg(e){return Wo.call(ju,e)?!0:Wo.call(Pu,e)?!1:Cg.test(e)?ju[e]=!0:(Pu[e]=!0,!1)}function Pg(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 jg(e,t,n,r){if(t===null||typeof t>"u"||Pg(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 Se(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 ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Se(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){ce[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var ta=/[\-:]([a-z])/g;function na(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(ta,na);ce[t]=new Se(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(ta,na);ce[t]=new Se(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(ta,na);ce[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function ra(e,t,n,r){var i=ce.hasOwnProperty(t)?ce[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jg(t,n,i,r)&&(n=null),r||i===null?Tg(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 vt=kg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ci=Symbol.for("react.element"),gn=Symbol.for("react.portal"),yn=Symbol.for("react.fragment"),ia=Symbol.for("react.strict_mode"),$o=Symbol.for("react.profiler"),uf=Symbol.for("react.provider"),cf=Symbol.for("react.context"),sa=Symbol.for("react.forward_ref"),Ho=Symbol.for("react.suspense"),Go=Symbol.for("react.suspense_list"),oa=Symbol.for("react.memo"),kt=Symbol.for("react.lazy"),df=Symbol.for("react.offscreen"),Eu=Symbol.iterator;function er(e){return e===null||typeof e!="object"?null:(e=Eu&&e[Eu]||e["@@iterator"],typeof e=="function"?e:null)}var K=Object.assign,eo;function ur(e){if(eo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);eo=t&&t[1]||""}return` 34`+eo+e}var to=!1;function no(e,t){if(!e||to)return"";to=!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()}}
vendor: 5,495 bytes, lines 34-37
34catch(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{to=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ur(e):""}function Eg(e){switch(e.tag){case 5:return ur(e.type);case 16:return ur("Lazy");case 13:return ur("Suspense");case 19:return ur("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 Ko(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 yn:return"Fragment";case gn:return"Portal";case $o:return"Profiler";case ia:return"StrictMode";case Ho:return"Suspense";case Go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cf:return(e.displayName||"Context")+".Consumer";case uf:return(e._context.displayName||"Context")+".Provider";case sa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oa:return t=e.displayName||null,t!==null?t:Ko(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return Ko(e(t))}catch{}}return null}function _g(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 Ko(t);case 8:return t===ia?"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 Ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ff(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ng(e){var t=ff(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 di(e){e._valueTracker||(e._valueTracker=Ng(e))}function hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ff(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qi(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 bo(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _u(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pf(e,t){t=t.checked,t!=null&&ra(e,"checked",t,!1)}function Qo(e,t){pf(e,t);var n=Ft(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")?Yo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yo(e,t.type,Ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nu(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 Yo(e,t,n){(t!=="number"||Qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var cr=Array.isArray;function Dn(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=""+Ft(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 Xo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return K({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Mu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));
vendor: 8,492 bytes, line 37
37if(cr(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ft(n)}}function mf(e,t){var n=Ft(t.value),r=Ft(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 Au(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gf(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 Zo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fi,yf=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(fi=fi||document.createElement("div"),fi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Nr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var mr={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},Mg=["Webkit","ms","Moz","O"];Object.keys(mr).forEach(function(e){Mg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),mr[t]=mr[e]})});function vf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||mr.hasOwnProperty(e)&&mr[e]?(""+t).trim():t+"px"}function xf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=vf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ag=K({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 qo(e,t){if(t){if(Ag[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function Jo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var el=null;function la(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tl=null,Vn=null,Fn=null;function Ru(e){if(e=Jr(e)){if(typeof tl!="function")throw Error(T(280));var t=e.stateNode;t&&(t=As(t),tl(e.stateNode,e.type,t))}}function wf(e){Vn?Fn?Fn.push(e):Fn=[e]:Vn=e}function Sf(){if(Vn){var e=Vn,t=Fn;if(Fn=Vn=null,Ru(e),t)for(e=0;e<t.length;e++)Ru(t[e])}}function kf(e,t){return e(t)}function Cf(){}var ro=!1;function Tf(e,t,n){if(ro)return e(t,n);ro=!0;try{return kf(e,t,n)}finally{ro=!1,(Vn!==null||Fn!==null)&&(Cf(),Sf())}}function Mr(e,t){var n=e.stateNode;if(n===null)return null;var r=As(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(T(231,t,typeof n));return n}var nl=!1;if(ht)try{var tr={};Object.defineProperty(tr,"passive",{get:function(){nl=!0}}),window.addEventListener("test",tr,tr),window.removeEventListener("test",tr,tr)}catch{nl=!1}function Rg(e,t,n,r,i,s,o,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var gr=!1,Yi=null,Xi=!1,rl=null,Lg={onError:function(e){gr=!0,Yi=e}};function Dg(e,t,n,r,i,s,o,l,a){gr=!1,Yi=null,Rg.apply(Lg,arguments)}function Vg(e,t,n,r,i,s,o,l,a){if(Dg.apply(this,arguments),gr){if(gr){var u=Yi;gr=!1,Yi=null}else throw Error(T(198));Xi||(Xi=!0,rl=u)}}function hn(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 Pf(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 Lu(e){if(hn(e)!==e)throw Error(T(188))}function Fg(e){var t=e.alternate;if(!t){if(t=hn(e),t===null)throw Error(T(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 Lu(i),e;if(s===r)return Lu(i),t;s=s.sibling}throw Error(T(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(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function jf(e){return e=Fg(e),e!==null?Ef(e):null}function Ef(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ef(e);if(t!==null)return t;e=e.sibling}return null}var _f=Me.unstable_scheduleCallback,Du=Me.unstable_cancelCallback,Og=Me.unstable_shouldYield,Ig=Me.unstable_requestPaint,X=Me.unstable_now,zg=Me.unstable_getCurrentPriorityLevel,aa=Me.unstable_ImmediatePriority,Nf=Me.unstable_UserBlockingPriority,Zi=Me.unstable_NormalPriority,Bg=Me.unstable_LowPriority,Mf=Me.unstable_IdlePriority,Es=null,Je=null;function Ug(e){if(Je&&typeof Je.onCommitFiberRoot=="function")try{Je.onCommitFiberRoot(Es,e,void 0,(e.current.flags&128)===128)}catch{}}var be=Math.clz32?Math.clz32:Hg,Wg=Math.log,$g=Math.LN2;function Hg(e){return e>>>=0,e===0?32:31-(Wg(e)/$g|0)|0}var hi=64,pi=4194304;function dr(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 qi(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=dr(l):(s&=o,s!==0&&(r=dr(s)))}else o=n&~i,o!==0?r=dr(o):s!==0&&(r=dr(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-be(t),i=1<<n,r|=e[n],t&=~i;return r}function Gg(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 Kg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-be(s),l=1<<o,a=i[o];a===-1?(!(l&n)||l&r)&&(i[o]=Gg(l,t)):a<=t&&(e.expiredLanes|=l),s&=~l}}function il(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Af(){var e=hi;
vendor: 2,016 bytes, line 37
37return hi<<=1,!(hi&4194240)&&(hi=64),e}function io(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Zr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-be(t),e[t]=n}function bg(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-be(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function ua(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var I=0;function Rf(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Lf,ca,Df,Vf,Ff,sl=!1,mi=[],_t=null,Nt=null,Mt=null,Ar=new Map,Rr=new Map,Tt=[],Qg="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 Vu(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":Nt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Ar.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rr.delete(t.pointerId)}}function nr(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=Jr(t),t!==null&&ca(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Yg(e,t,n,r,i){switch(t){case"focusin":return _t=nr(_t,e,t,n,r,i),!0;case"dragenter":return Nt=nr(Nt,e,t,n,r,i),!0;case"mouseover":return Mt=nr(Mt,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Ar.set(s,nr(Ar.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Rr.set(s,nr(Rr.get(s)||null,e,t,n,r,i)),!0}return!1}function Of(e){var t=Jt(e.target);if(t!==null){var n=hn(t);
vendor: 9,556 bytes, line 37
37if(n!==null){if(t=n.tag,t===13){if(t=Pf(n),t!==null){e.blockedOn=t,Ff(e.priority,function(){Df(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 Vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ol(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);el=r,n.target.dispatchEvent(r),el=null}else return t=Jr(n),t!==null&&ca(t),e.blockedOn=n,!1;t.shift()}return!0}function Fu(e,t,n){Vi(e)&&n.delete(t)}function Xg(){sl=!1,_t!==null&&Vi(_t)&&(_t=null),Nt!==null&&Vi(Nt)&&(Nt=null),Mt!==null&&Vi(Mt)&&(Mt=null),Ar.forEach(Fu),Rr.forEach(Fu)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,sl||(sl=!0,Me.unstable_scheduleCallback(Me.unstable_NormalPriority,Xg)))}function Lr(e){function t(i){return rr(i,e)}if(0<mi.length){rr(mi[0],e);for(var n=1;n<mi.length;n++){var r=mi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(_t!==null&&rr(_t,e),Nt!==null&&rr(Nt,e),Mt!==null&&rr(Mt,e),Ar.forEach(t),Rr.forEach(t),n=0;n<Tt.length;n++)r=Tt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&(n=Tt[0],n.blockedOn===null);)Of(n),n.blockedOn===null&&Tt.shift()}var On=vt.ReactCurrentBatchConfig,Ji=!0;function Zg(e,t,n,r){var i=I,s=On.transition;On.transition=null;try{I=1,da(e,t,n,r)}finally{I=i,On.transition=s}}function qg(e,t,n,r){var i=I,s=On.transition;On.transition=null;try{I=4,da(e,t,n,r)}finally{I=i,On.transition=s}}function da(e,t,n,r){if(Ji){var i=ol(e,t,n,r);if(i===null)mo(e,t,r,es,n),Vu(e,r);else if(Yg(i,e,t,n,r))r.stopPropagation();else if(Vu(e,r),t&4&&-1<Qg.indexOf(e)){for(;i!==null;){var s=Jr(i);if(s!==null&&Lf(s),s=ol(e,t,n,r),s===null&&mo(e,t,r,es,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else mo(e,t,r,null,n)}}var es=null;function ol(e,t,n,r){if(es=null,e=la(r),e=Jt(e),e!==null)if(t=hn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Pf(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 es=e,null}function If(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(zg()){case aa:return 1;case Nf:return 4;case Zi:case Bg:return 16;case Mf:return 536870912;default:return 16}default:return 16}}var jt=null,fa=null,Fi=null;function zf(){if(Fi)return Fi;var e,t=fa,n=t.length,r,i="value"in jt?jt.value:jt.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 Fi=i.slice(e,1<r?1-r:void 0)}function Oi(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 gi(){return!0}function Ou(){return!1}function Le(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)?gi:Ou,this.isPropagationStopped=Ou,this}return K(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=gi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=gi)},persist:function(){},isPersistent:gi}),t}var Xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ha=Le(Xn),qr=K({},Xn,{view:0,detail:0}),Jg=Le(qr),so,oo,ir,_s=K({},qr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pa,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!==ir&&(ir&&e.type==="mousemove"?(so=e.screenX-ir.screenX,oo=e.screenY-ir.screenY):oo=so=0,ir=e),so)},movementY:function(e){return"movementY"in e?e.movementY:oo}}),Iu=Le(_s),ey=K({},_s,{dataTransfer:0}),ty=Le(ey),ny=K({},qr,{relatedTarget:0}),lo=Le(ny),ry=K({},Xn,{animationName:0,elapsedTime:0,pseudoElement:0}),iy=Le(ry),sy=K({},Xn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oy=Le(sy),ly=K({},Xn,{data:0}),zu=Le(ly),ay={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uy={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"},cy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cy[e])?!!t[e]:!1}function pa(){return dy}var fy=K({},qr,{key:function(e){if(e.key){var t=ay[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Oi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?uy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pa,charCode:function(e){return e.type==="keypress"?Oi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Oi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),hy=Le(fy),py=K({},_s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bu=Le(py),my=K({},qr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pa}),gy=Le(my),yy=K({},Xn,{propertyName:0,elapsedTime:0,pseudoElement:0}),vy=Le(yy),xy=K({},_s,{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}),wy=Le(xy),Sy=[9,13,27,32],ma=ht&&"CompositionEvent"in window,yr=null;ht&&"documentMode"in document&&(yr=document.documentMode);var ky=ht&&"TextEvent"in window&&!yr,Bf=ht&&(!ma||yr&&8<yr&&11>=yr),Uu=" ",Wu=!1;function Uf(e,t){switch(e){case"keyup":return Sy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vn=!1;function Cy(e,t){switch(e){case"compositionend":return Wf(t);case"keypress":return t.which!==32?null:(Wu=!0,Uu);case"textInput":return e=t.data,e===Uu&&Wu?null:e;default:return null}}function Ty(e,t){if(vn)return e==="compositionend"||!ma&&Uf(e,t)?(e=zf(),Fi=fa=jt=null,vn=!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 Bf&&t.locale!=="ko"?null:t.data;default:return null}}var Py={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 $u(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Py[e.type]:t==="textarea"}function $f(e,t,n,r){wf(r),t=ts(t,"onChange"),0<t.length&&(n=new ha("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var vr=null,Dr=null;function jy(e){eh(e,0)}function Ns(e){var t=Sn(e);if(hf(t))return e}function Ey(e,t){if(e==="change")return t}var Hf=!1;if(ht){var ao;if(ht){var uo="oninput"in document;if(!uo){var Hu=document.createElement("div");Hu.setAttribute("oninput","return;"),uo=typeof Hu.oninput=="function"}ao=uo}else ao=!1;Hf=ao&&(!document.documentMode||9<document.documentMode)}function Gu(){vr&&(vr.detachEvent("onpropertychange",Gf),Dr=vr=null)}function Gf(e){if(e.propertyName==="value"&&Ns(Dr)){var t=[];$f(t,Dr,e,la(e)),Tf(jy,t)}}
vendor: 5,253 bytes, line 37
37function _y(e,t,n){e==="focusin"?(Gu(),vr=t,Dr=n,vr.attachEvent("onpropertychange",Gf)):e==="focusout"&&Gu()}function Ny(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ns(Dr)}function My(e,t){if(e==="click")return Ns(t)}function Ay(e,t){if(e==="input"||e==="change")return Ns(t)}function Ry(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ye=typeof Object.is=="function"?Object.is:Ry;function Vr(e,t){if(Ye(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(!Wo.call(t,i)||!Ye(e[i],t[i]))return!1}return!0}function Ku(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bu(e,t){var n=Ku(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=Ku(n)}}function Kf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bf(){for(var e=window,t=Qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qi(e.document)}return t}function ga(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 Ly(e){var t=bf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Kf(n.ownerDocument.documentElement,n)){if(r!==null&&ga(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=bu(n,s);var o=bu(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 Dy=ht&&"documentMode"in document&&11>=document.documentMode,xn=null,ll=null,xr=null,al=!1;function Qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;al||xn==null||xn!==Qi(r)||(r=xn,"selectionStart"in r&&ga(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),xr&&Vr(xr,r)||(xr=r,r=ts(ll,"onSelect"),0<r.length&&(t=new ha("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=xn)))}function yi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wn={animationend:yi("Animation","AnimationEnd"),animationiteration:yi("Animation","AnimationIteration"),animationstart:yi("Animation","AnimationStart"),transitionend:yi("Transition","TransitionEnd")},co={},Qf={};ht&&(Qf=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);function Ms(e){if(co[e])return co[e];if(!wn[e])return e;var t=wn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Qf)return co[e]=t[n];return e}var Yf=Ms("animationend"),Xf=Ms("animationiteration"),Zf=Ms("animationstart"),qf=Ms("transitionend"),Jf=new Map,Yu="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 Bt(e,t){Jf.set(e,t),fn(t,[e])}for(var fo=0;fo<Yu.length;fo++){var ho=Yu[fo],Vy=ho.toLowerCase(),Fy=ho[0].toUpperCase()+ho.slice(1);Bt(Vy,"on"+Fy)}Bt(Yf,"onAnimationEnd");Bt(Xf,"onAnimationIteration");Bt(Zf,"onAnimationStart");Bt("dblclick","onDoubleClick");Bt("focusin","onFocus");Bt("focusout","onBlur");Bt(qf,"onTransitionEnd");Bn("onMouseEnter",["mouseout","mouseover"]);Bn("onMouseLeave",["mouseout","mouseover"]);Bn("onPointerEnter",["pointerout","pointerover"]);Bn("onPointerLeave",["pointerout","pointerover"]);fn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,382 bytes, line 37
37fn("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 fr="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(" "),Oy=new Set("cancel close invalid load scroll toggle".split(" ").concat(fr));function Xu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Vg(r,t,void 0,e),e.currentTarget=null}function eh(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;Xu(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;Xu(i,l,u),s=a}}}if(Xi)throw e=rl,Xi=!1,rl=null,e}function B(e,t){var n=t[hl];n===void 0&&(n=t[hl]=new Set);var r=e+"__bubble";n.has(r)||(th(t,e,2,!1),n.add(r))}function po(e,t,n){var r=0;t&&(r|=4),th(n,e,r,t)}var vi="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[vi]){e[vi]=!0,af.forEach(function(n){n!=="selectionchange"&&(Oy.has(n)||po(n,!1,e),po(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vi]||(t[vi]=!0,po("selectionchange",!1,t))}}function th(e,t,n,r){switch(If(t)){case 1:var i=Zg;break;case 4:i=qg;break;default:i=da}n=i.bind(null,t,n,e),i=void 0,!nl||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 mo(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;if(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=Jt(l),o===null)return;if(a=o.tag,a===5||a===6){r=s=o;continue e}l=l.parentNode}}r=r.return}Tf(function(){var u=s,f=la(n),d=[];e:{var h=Jf.get(e);if(h!==void 0){var y=ha,v=e;switch(e){case"keypress":if(Oi(n)===0)break e;case"keydown":case"keyup":y=hy;break;case"focusin":v="focus",y=lo;break;case"focusout":v="blur",y=lo;break;case"beforeblur":case"afterblur":y=lo;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":y=Iu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=ty;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=gy;break;case Yf:case Xf:case Zf:y=iy;break;case qf:y=vy;break;case"scroll":y=Jg;break;case"wheel":y=wy;break;case"copy":case"cut":case"paste":y=oy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Bu}var x=(t&4)!==0,C=!x&&e==="scroll",m=x?h!==null?h+"Capture":null:h;x=[];for(var p=u,g;p!==null;){g=p;var w=g.stateNode;if(g.tag===5&&w!==null&&(g=w,m!==null&&(w=Mr(p,m),w!=null&&x.push(Or(p,w,g)))),C)break;p=p.return}0<x.length&&(h=new y(h,v,null,n,f),d.push({event:h,listeners:x}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",h&&n!==el&&(v=n.relatedTarget||n.fromElement)&&(Jt(v)||v[pt]))break e;if((y||h)&&(h=f.window===f?f:(h=f.ownerDocument)?h.defaultView||h.parentWindow:window,y?(v=n.relatedTarget||n.toElement,y=u,v=v?Jt(v):null,v!==null&&(C=hn(v),v!==C||v.tag!==5&&v.tag!==6)&&(v=null)):(y=null,v=u),y!==v)){if(x=Iu,w="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(x=Bu,w="onPointerLeave",m="onPointerEnter",p="pointer"),C=y==null?h:Sn(y),g=v==null?h:Sn(v),h=new x(w,p+"leave",
vendor: 5,041 bytes, lines 37-38
37y,n,f),h.target=C,h.relatedTarget=g,w=null,Jt(f)===u&&(x=new x(m,p+"enter",v,n,f),x.target=g,x.relatedTarget=C,w=x),C=w,y&&v)t:{for(x=y,m=v,p=0,g=x;g;g=pn(g))p++;for(g=0,w=m;w;w=pn(w))g++;for(;0<p-g;)x=pn(x),p--;for(;0<g-p;)m=pn(m),g--;for(;p--;){if(x===m||m!==null&&x===m.alternate)break t;x=pn(x),m=pn(m)}x=null}else x=null;y!==null&&Zu(d,h,y,x,!1),v!==null&&C!==null&&Zu(d,C,v,x,!0)}}e:{if(h=u?Sn(u):window,y=h.nodeName&&h.nodeName.toLowerCase(),y==="select"||y==="input"&&h.type==="file")var k=Ey;else if($u(h))if(Hf)k=Ay;else{k=Ny;var j=_y}else(y=h.nodeName)&&y.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=My);if(k&&(k=k(e,u))){$f(d,k,n,f);break e}j&&j(e,h,u),e==="focusout"&&(j=h._wrapperState)&&j.controlled&&h.type==="number"&&Yo(h,"number",h.value)}switch(j=u?Sn(u):window,e){case"focusin":($u(j)||j.contentEditable==="true")&&(xn=j,ll=u,xr=null);break;case"focusout":xr=ll=xn=null;break;case"mousedown":al=!0;break;case"contextmenu":case"mouseup":case"dragend":al=!1,Qu(d,n,f);break;case"selectionchange":if(Dy)break;case"keydown":case"keyup":Qu(d,n,f)}var _;if(ma)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else vn?Uf(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Bf&&n.locale!=="ko"&&(vn||P!=="onCompositionStart"?P==="onCompositionEnd"&&vn&&(_=zf()):(jt=f,fa="value"in jt?jt.value:jt.textContent,vn=!0)),j=ts(u,P),0<j.length&&(P=new zu(P,e,null,n,f),d.push({event:P,listeners:j}),_?P.data=_:(_=Wf(n),_!==null&&(P.data=_)))),(_=ky?Cy(e,n):Ty(e,n))&&(u=ts(u,"onBeforeInput"),0<u.length&&(f=new zu("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=_))}eh(d,t)})}function Or(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ts(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Mr(e,n),s!=null&&r.unshift(Or(e,s,i)),s=Mr(e,t),s!=null&&r.push(Or(e,s,i))),e=e.return}return r}function pn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Zu(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=Mr(n,s),a!=null&&o.unshift(Or(n,a,l))):i||(a=Mr(n,s),a!=null&&o.push(Or(n,a,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Iy=/\r\n?/g,zy=/\u0000|\uFFFD/g;function qu(e){return(typeof e=="string"?e:""+e).replace(Iy,` 38`).replace(zy,"")}function xi(e,t,n){if(t=qu(t),qu(e)!==t&&n)throw Error(T(425))}function ns(){}var ul=null,cl=null;function dl(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 fl=typeof setTimeout=="function"?setTimeout:void 0,By=typeof clearTimeout=="function"?clearTimeout:void 0,Ju=typeof Promise=="function"?Promise:void 0,Uy=typeof queueMicrotask=="function"?queueMicrotask:typeof Ju<"u"?function(e){return Ju.resolve(null).then(e).catch(Wy)}:fl;function Wy(e){setTimeout(function(){throw e})}function go(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),Lr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Lr(t)}function At(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 ec(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 Zn=Math.random().toString(36).slice(2),qe="__reactFiber$"+Zn,Ir="__reactProps$"+Zn,pt="__reactContainer$"+Zn,hl="__reactEvents$"+Zn,$y="__reactListeners$"+Zn,Hy="__reactHandles$"+Zn;function Jt(e){var t=e[qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ec(e);e!==null;){if(n=e[qe])return n;e=ec(e)}return t}e=n,n=e.parentNode}return null}function Jr(e){return e=e[qe]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Sn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function As(e){return e[Ir]||null}var pl=[],kn=-1;function Ut(e){return{current:e}}function U(e){0>kn||(e.current=pl[kn],pl[kn]=null,kn--)}function z(e,t){kn++,pl[kn]=e.current,e.current=t}var Ot={},ye=Ut(Ot),Te=Ut(!1),ln=Ot;function Un(e,t){var n=e.type.contextTypes;if(!n)return Ot;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 Pe(e){return e=e.childContextTypes,e!=null}function rs(){U(Te),U(ye)}
vendor: 4,171 bytes, line 38
38function tc(e,t,n){if(ye.current!==Ot)throw Error(T(168));z(ye,t),z(Te,n)}function nh(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(T(108,_g(e)||"Unknown",i));return K({},n,r)}function is(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ot,ln=ye.current,z(ye,e),z(Te,Te.current),!0}function nc(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=nh(e,t,ln),r.__reactInternalMemoizedMergedChildContext=e,U(Te),U(ye),z(ye,e)):U(Te),z(Te,n)}var it=null,Rs=!1,yo=!1;function rh(e){it===null?it=[e]:it.push(e)}function Gy(e){Rs=!0,rh(e)}function Wt(){if(!yo&&it!==null){yo=!0;var e=0,t=I;try{var n=it;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}it=null,Rs=!1}catch(i){throw it!==null&&(it=it.slice(e+1)),_f(aa,Wt),i}finally{I=t,yo=!1}}return null}var Cn=[],Tn=0,ss=null,os=0,Fe=[],Oe=0,an=null,st=1,ot="";function Yt(e,t){Cn[Tn++]=os,Cn[Tn++]=ss,ss=e,os=t}function ih(e,t,n){Fe[Oe++]=st,Fe[Oe++]=ot,Fe[Oe++]=an,an=e;var r=st;e=ot;var i=32-be(r)-1;r&=~(1<<i),n+=1;var s=32-be(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,st=1<<32-be(t)+i|n<<i|r,ot=s+e}else st=1<<s|n<<i|r,ot=e}function ya(e){e.return!==null&&(Yt(e,1),ih(e,1,0))}function va(e){for(;e===ss;)ss=Cn[--Tn],Cn[Tn]=null,os=Cn[--Tn],Cn[Tn]=null;for(;e===an;)an=Fe[--Oe],Fe[Oe]=null,ot=Fe[--Oe],Fe[Oe]=null,st=Fe[--Oe],Fe[Oe]=null}var Ne=null,_e=null,W=!1,Ge=null;function sh(e,t){var n=Ie(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 rc(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,Ne=e,_e=At(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ne=e,_e=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=an!==null?{id:st,overflow:ot}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ie(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ne=e,_e=null,!0):!1;default:return!1}}function ml(e){return(e.mode&1)!==0&&(e.flags&128)===0}function gl(e){if(W){var t=_e;if(t){var n=t;if(!rc(e,t)){if(ml(e))throw Error(T(418));t=At(n.nextSibling);var r=Ne;t&&rc(e,t)?sh(r,n):(e.flags=e.flags&-4097|2,W=!1,Ne=e)}}else{if(ml(e))throw Error(T(418));e.flags=e.flags&-4097|2,W=!1,Ne=e}}}function ic(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ne=e}function wi(e){if(e!==Ne)return!1;if(!W)return ic(e),W=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!dl(e.type,e.memoizedProps)),t&&(t=_e)){if(ml(e))throw oh(),Error(T(418));for(;t;)sh(e,t),t=At(t.nextSibling)}if(ic(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){_e=At(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}_e=null}}else _e=Ne?At(e.stateNode.nextSibling):null;return!0}function oh(){for(var e=_e;e;)e=At(e.nextSibling)}function Wn(){_e=Ne=null,W=!1}function xa(e){Ge===null?Ge=[e]:Ge.push(e)}var Ky=vt.ReactCurrentBatchConfig;function sr(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(T(309));var r=n.stateNode}if(!r)throw Error(T(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(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Si(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sc(e){var t=e._init;return t(e._payload)}function lh(e){function t(m,p){if(e){var g=m.deletions;g===null?(m.deletions=[p],m.flags|=16):g.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;
vendor: 4,251 bytes, line 38
38)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function i(m,p){return m=Vt(m,p),m.index=0,m.sibling=null,m}function s(m,p,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<p?(m.flags|=2,p):g):(m.flags|=2,p)):(m.flags|=1048576,p)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,p,g,w){return p===null||p.tag!==6?(p=To(g,m.mode,w),p.return=m,p):(p=i(p,g),p.return=m,p)}function a(m,p,g,w){var k=g.type;return k===yn?f(m,p,g.props.children,w,g.key):p!==null&&(p.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===kt&&sc(k)===p.type)?(w=i(p,g.props),w.ref=sr(m,p,g),w.return=m,w):(w=Hi(g.type,g.key,g.props,null,m.mode,w),w.ref=sr(m,p,g),w.return=m,w)}function u(m,p,g,w){return p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation?(p=Po(g,m.mode,w),p.return=m,p):(p=i(p,g.children||[]),p.return=m,p)}function f(m,p,g,w,k){return p===null||p.tag!==7?(p=sn(g,m.mode,w,k),p.return=m,p):(p=i(p,g),p.return=m,p)}function d(m,p,g){if(typeof p=="string"&&p!==""||typeof p=="number")return p=To(""+p,m.mode,g),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case ci:return g=Hi(p.type,p.key,p.props,null,m.mode,g),g.ref=sr(m,null,p),g.return=m,g;case gn:return p=Po(p,m.mode,g),p.return=m,p;case kt:var w=p._init;return d(m,w(p._payload),g)}if(cr(p)||er(p))return p=sn(p,m.mode,g,null),p.return=m,p;Si(m,p)}return null}function h(m,p,g,w){var k=p!==null?p.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return k!==null?null:l(m,p,""+g,w);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ci:return g.key===k?a(m,p,g,w):null;case gn:return g.key===k?u(m,p,g,w):null;case kt:return k=g._init,h(m,p,k(g._payload),w)}if(cr(g)||er(g))return k!==null?null:f(m,p,g,w,null);Si(m,g)}return null}function y(m,p,g,w,k){if(typeof w=="string"&&w!==""||typeof w=="number")return m=m.get(g)||null,l(p,m,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ci:return m=m.get(w.key===null?g:w.key)||null,a(p,m,w,k);case gn:return m=m.get(w.key===null?g:w.key)||null,u(p,m,w,k);case kt:var j=w._init;return y(m,p,g,j(w._payload),k)}if(cr(w)||er(w))return m=m.get(g)||null,f(p,m,w,k,null);Si(p,w)}return null}function v(m,p,g,w){for(var k=null,j=null,_=p,P=p=0,V=null;_!==null&&P<g.length;P++){_.index>P?(V=_,_=null):V=_.sibling;var A=h(m,_,g[P],w);if(A===null){_===null&&(_=V);break}e&&_&&A.alternate===null&&t(m,_),p=s(A,p,P),j===null?k=A:j.sibling=A,j=A,_=V}if(P===g.length)return n(m,_),W&&Yt(m,P),k;if(_===null){for(;P<g.length;P++)_=d(m,g[P],w),_!==null&&(p=s(_,p,P),j===null?k=_:j.sibling=_,j=_);return W&&Yt(m,P),k}for(_=r(m,_);P<g.length;P++)V=y(_,m,P,g[P],w),V!==null&&(e&&V.alternate!==null&&_.delete(V.key===null?P:V.key),p=s(V,p,P),j===null?k=V:j.sibling=V,j=V);return e&&_.forEach(function(ne){return t(m,ne)}),W&&Yt(m,P),k}function x(m,p,g,w){var k=er(g);if(typeof k!="function")throw Error(T(150));if(g=k.call(g),g==null)throw Error(T(151));for(var j=k=null,_=p,P=p=0,V=null,A=g.next();_!==null&&!A.done;P++,A=g.next()){_.index>P?(V=_,_=null):V=_.sibling;var ne=h(m,_,A.value,w);if(ne===null){_===null&&(_=V);break}e&&_&&ne.alternate===null&&t(m,_),p=s(ne,p,P),j===null?k=ne:j.sibling=ne,j=ne,_=V}if(A.done)return n(m,_),W&&Yt(m,P),k;if(_===null){for(;!A.done;P++,A=g.next())A=d(m,A.value,w),A!==null&&(p=s(A,p,P),j===null?k=A:j.sibling=A,j=A);return W&&Yt(m,P),k}for(_=r(m,_);!A.done;P++,A=g.next())A=y(_,m,P,A.value,w),A!==null&&(e&&A.alternate!==null&&_.delete(A.key===null?P:A.key),p=s(A,p,P),j===null?k=A:j.sibling=A,j=A);return e&&_.forEach(function(xt){return t(m,xt)}),W&&Yt(m,P),k}function C(m,p,g,w){if(typeof g=="object"&&g!==null&&g.type===yn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case ci:e:{for(var k=g.key,j=p;j!==null;){if(j.key===k){if(k=g.type,k===yn){if(j.tag===7){n(m,j.sibling),p=i(j,g.props.children),p.return=m,m=p;break e}}else if(j.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===kt&&sc(k)===j.type){n(m,j.sibling),p=i(j,g.props),p.ref=sr(m,j,g),p.return=m,m=p;break e}n(m,j);break}else t(m,j);j=j.sibling}g.type===yn?(p=sn(g.props.children,m.mode,w,g.key),p.return=m,m=p):(w=Hi(g.type,g.key,g.props,null,m.mode,w
vendor: 17,385 bytes, lines 38-40
38),w.ref=sr(m,p,g),w.return=m,m=w)}return o(m);case gn:e:{for(j=g.key;p!==null;){if(p.key===j)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=i(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Po(g,m.mode,w),p.return=m,m=p}return o(m);case kt:return j=g._init,C(m,p,j(g._payload),w)}if(cr(g))return v(m,p,g,w);if(er(g))return x(m,p,g,w);Si(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,g),p.return=m,m=p):(n(m,p),p=To(g,m.mode,w),p.return=m,m=p),o(m)):n(m,p)}return C}var $n=lh(!0),ah=lh(!1),ls=Ut(null),as=null,Pn=null,wa=null;function Sa(){wa=Pn=as=null}function ka(e){var t=ls.current;U(ls),e._currentValue=t}function yl(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 In(e,t){as=e,wa=Pn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ce=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:t,next:null},Pn===null){if(as===null)throw Error(T(308));Pn=e,as.dependencies={lanes:0,firstContext:e}}else Pn=Pn.next=e;return t}var en=null;function Ca(e){en===null?en=[e]:en.push(e)}function uh(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ca(t)):(n.next=i.next,i.next=n),t.interleaved=n,mt(e,r)}function mt(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 Ct=!1;function Ta(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ch(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 at(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,mt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ca(r)):(t.next=i.next,i.next=t),r.interleaved=t,mt(e,n)}function Ii(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,ua(e,n)}}function oc(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 us(e,t,n,r){var i=e.updateQueue;Ct=!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 f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==o&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(s!==null){var d=i.baseState;o=0,f=u=a=null,l=s;do{var h=l.lane,y=l.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,x=l;switch(h=t,y=n,x.tag){case 1:if(v=x.payload,typeof v=="function"){d=v.call(y,d,h);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,h=typeof v=="function"?v.call(y,d,h):v,h==null)break e;d=K({},d,h);break e;case 2:Ct=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[l]:h.push(l))}else y={eventTime:y,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=y,a=d):f=f.next=y,o|=h;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;h=l,l=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(f===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=f,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);cn|=o,e.lanes=o,e.memoizedState=d}}function lc(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(T(191,i));i.call(r)}}}var ei={},et=Ut(ei),zr=Ut(ei),Br=Ut(ei);function tn(e){if(e===ei)throw Error(T(174));return e}function Pa(e,t){switch(z(Br,t),z(zr,e),z(et,ei),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zo(t,e)}U(et),z(et,t)}function Hn(){U(et),U(zr),U(Br)}function dh(e){tn(Br.current);var t=tn(et.current),n=Zo(t,e.type);t!==n&&(z(zr,e),z(et,n))}function ja(e){zr.current===e&&(U(et),U(zr))}var $=Ut(0);function cs(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 vo=[];function Ea(){for(var e=0;e<vo.length;e++)vo[e]._workInProgressVersionPrimary=null;vo.length=0}var zi=vt.ReactCurrentDispatcher,xo=vt.ReactCurrentBatchConfig,un=0,G=null,J=null,ie=null,ds=!1,wr=!1,Ur=0,by=0;function de(){throw Error(T(321))}function _a(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ye(e[n],t[n]))return!1;return!0}function Na(e,t,n,r,i,s){if(un=s,G=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,zi.current=e===null||e.memoizedState===null?Zy:qy,e=n(r,i),wr){s=0;do{if(wr=!1,Ur=0,25<=s)throw Error(T(301));s+=1,ie=J=null,t.updateQueue=null,zi.current=Jy,e=n(r,i)}while(wr)}if(zi.current=fs,t=J!==null&&J.next!==null,un=0,ie=J=G=null,ds=!1,t)throw Error(T(300));return e}function Ma(){var e=Ur!==0;return Ur=0,e}function Ze(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ie===null?G.memoizedState=ie=e:ie=ie.next=e,ie}function Ue(){if(J===null){var e=G.alternate;e=e!==null?e.memoizedState:null}else e=J.next;var t=ie===null?G.memoizedState:ie.next;if(t!==null)ie=t,J=e;else{if(e===null)throw Error(T(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},ie===null?G.memoizedState=ie=e:ie=ie.next=e}return ie}function Wr(e,t){return typeof t=="function"?t(e):t}function wo(e){var t=Ue(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=J,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 f=u.lane;if((un&f)===f)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 d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,o=r):a=a.next=d,G.lanes|=f,cn|=f}u=u.next}while(u!==null&&u!==s);a===null?o=r:a.next=l,Ye(r,t.memoizedState)||(Ce=!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,G.lanes|=s,cn|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function So(e){var t=Ue(),n=t.queue;if(n===null)throw Error(T(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);Ye(s,t.memoizedState)||(Ce=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function fh(){}function hh(e,t){var n=G,r=Ue(),i=t(),s=!Ye(r.memoizedState,i);if(s&&(r.memoizedState=i,Ce=!0),r=r.queue,Aa(gh.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||ie!==null&&ie.memoizedState.tag&1){if(n.flags|=2048,$r(9,mh.bind(null,n,r,i,t),void 0,null),se===null)throw Error(T(349));un&30||ph(n,t,i)}return i}function ph(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=G.updateQueue,t===null?(t={lastEffect:null,stores:null},G.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function mh(e,t,n,r){t.value=n,t.getSnapshot=r,yh(t)&&vh(e)}function gh(e,t,n){return n(function(){yh(t)&&vh(e)})}function yh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ye(e,n)}catch{return!0}}function vh(e){var t=mt(e,1);t!==null&&Qe(t,e,1,-1)}function ac(e){var t=Ze();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:e},t.queue=e,e=e.dispatch=Xy.bind(null,G,e),[t.memoizedState,e]}function $r(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=G.updateQueue,t===null?(t={lastEffect:null,stores:null},G.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 xh(){return Ue().memoizedState}function Bi(e,t,n,r){var i=Ze();G.flags|=e,i.memoizedState=$r(1|t,n,void 0,r===void 0?null:r)}function Ls(e,t,n,r){var i=Ue();r=r===void 0?null:r;var s=void 0;if(J!==null){var o=J.memoizedState;if(s=o.destroy,r!==null&&_a(r,o.deps)){i.memoizedState=$r(t,n,s,r);return}}G.flags|=e,i.memoizedState=$r(1|t,n,s,r)}function uc(e,t){return Bi(8390656,8,e,t)}function Aa(e,t){return Ls(2048,8,e,t)}function wh(e,t){return Ls(4,2,e,t)}function Sh(e,t){return Ls(4,4,e,t)}function kh(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 Ch(e,t,n){return n=n!=null?n.concat([e]):null,Ls(4,4,kh.bind(null,t,e),n)}function Ra(){}function Th(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_a(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ph(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_a(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jh(e,t,n){return un&21?(Ye(n,t)||(n=Af(),G.lanes|=n,cn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ce=!0),e.memoizedState=n)}function Qy(e,t){var n=I;I=n!==0&&4>n?n:4,e(!0);var r=xo.transition;xo.transition={};try{e(!1),t()}finally{I=n,xo.transition=r}}function Eh(){return Ue().memoizedState}function Yy(e,t,n){var r=Dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_h(e))Nh(t,n);else if(n=uh(e,t,n,r),n!==null){var i=xe();Qe(n,e,r,i),Mh(n,t,r)}}function Xy(e,t,n){var r=Dt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_h(e))Nh(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,Ye(l,o)){var a=t.interleaved;a===null?(i.next=i,Ca(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=uh(e,t,i,r),n!==null&&(i=xe(),Qe(n,e,r,i),Mh(n,t,r))}}function _h(e){var t=e.alternate;return e===G||t!==null&&t===G}function Nh(e,t){wr=ds=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ua(e,n)}}var fs={readContext:Be,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},Zy={readContext:Be,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:uc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,kh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();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=Yy.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:ac,useDebugValue:Ra,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=ac(!1),t=e[0];return e=Qy.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,i=Ze();if(W){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),se===null)throw Error(T(349));un&30||ph(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,uc(gh.bind(null,r,s,e),[e]),r.flags|=2048,$r(9,mh.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Ze(),t=se.identifierPrefix;if(W){var n=ot,r=st;n=(r&~(1<<32-be(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ur++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=by++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qy={readContext:Be,useCallback:Th,useContext:Be,useEffect:Aa,useImperativeHandle:Ch,useInsertionEffect:wh,useLayoutEffect:Sh,useMemo:Ph,useReducer:wo,useRef:xh,useState:function(){return wo(Wr)},useDebugValue:Ra,useDeferredValue:function(e){var t=Ue();return jh(t,J.memoizedState,e)},useTransition:function(){var e=wo(Wr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:fh,useSyncExternalStore:hh,useId:Eh,unstable_isNewReconciler:!1},Jy={readContext:Be,useCallback:Th,useContext:Be,useEffect:Aa,useImperativeHandle:Ch,useInsertionEffect:wh,useLayoutEffect:Sh,useMemo:Ph,useReducer:So,useRef:xh,useState:function(){return So(Wr)},useDebugValue:Ra,useDeferredValue:function(e){var t=Ue();return J===null?t.memoizedState=e:jh(t,J.memoizedState,e)},useTransition:function(){var e=So(Wr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:fh,useSyncExternalStore:hh,useId:Eh,unstable_isNewReconciler:!1};function $e(e,t){if(e&&e.defaultProps){t=K({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function vl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:K({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ds={isMounted:function(e){return(e=e._reactInternals)?hn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=xe(),i=Dt(e),s=at(r,i);s.payload=t,n!=null&&(s.callback=n),t=Rt(e,s,i),t!==null&&(Qe(t,e,i,r),Ii(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=xe(),i=Dt(e),s=at(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Rt(e,s,i),t!==null&&(Qe(t,e,i,r),Ii(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=xe(),r=Dt(e),i=at(n,r);i.tag=2,t!=null&&(i.callback=t),t=Rt(e,i,r),t!==null&&(Qe(t,e,r,n),Ii(t,e,r))}};function cc(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?!Vr(n,r)||!Vr(i,s):!0}function Ah(e,t,n){var r=!1,i=Ot,s=t.contextType;return typeof s=="object"&&s!==null?s=Be(s):(i=Pe(t)?ln:ye.current,r=t.contextTypes,s=(r=r!=null)?Un(e,i):Ot),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function dc(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&&Ds.enqueueReplaceState(t,t.state,null)}function xl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Ta(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Be(s):(s=Pe(t)?ln:ye.current,i.context=Un(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(vl(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&&Ds.enqueueReplaceState(i,i.state,null),us(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Gn(e,t){try{var n="",r=t;do n+=Eg(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 ko(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function wl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ev=typeof WeakMap=="function"?WeakMap:Map;function Rh(e,t,n){n=at(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ps||(ps=!0,Ml=r),wl(e,t)},n}
vendor: 11,671 bytes, line 40
40function Lh(e,t,n){n=at(-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(){wl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){wl(e,t),typeof r!="function"&&(Lt===null?Lt=new Set([this]):Lt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function fc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ev;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=pv.bind(null,e,t,n),t.then(e,e))}function hc(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 pc(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=at(-1,1),t.tag=2,Rt(n,t,1))),n.lanes|=1),e)}var tv=vt.ReactCurrentOwner,Ce=!1;function ve(e,t,n,r){t.child=e===null?ah(t,null,n,r):$n(t,e.child,n,r)}function mc(e,t,n,r,i){n=n.render;var s=t.ref;return In(t,i),r=Na(e,t,n,r,s,i),n=Ma(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):(W&&n&&ya(t),t.flags|=1,ve(e,t,r,i),t.child)}function gc(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Ba(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Dh(e,t,s,r,i)):(e=Hi(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:Vr,n(o,r)&&e.ref===t.ref)return gt(e,t,i)}return t.flags|=1,e=Vt(s,r),e.ref=t.ref,e.return=t,t.child=e}function Dh(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Vr(s,r)&&e.ref===t.ref)if(Ce=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Ce=!0);else return t.lanes=e.lanes,gt(e,t,i)}return Sl(e,t,n,r,i)}function Vh(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},z(En,Ee),Ee|=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,z(En,Ee),Ee|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,z(En,Ee),Ee|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,z(En,Ee),Ee|=r;return ve(e,t,i,n),t.child}function Fh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Sl(e,t,n,r,i){var s=Pe(n)?ln:ye.current;return s=Un(t,s),In(t,i),n=Na(e,t,n,r,s,i),r=Ma(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):(W&&r&&ya(t),t.flags|=1,ve(e,t,n,i),t.child)}function yc(e,t,n,r,i){if(Pe(n)){var s=!0;is(t)}else s=!1;if(In(t,i),t.stateNode===null)Ui(e,t),Ah(t,n,r),xl(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=Be(u):(u=Pe(n)?ln:ye.current,u=Un(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||a!==u)&&dc(t,o,r,u),Ct=!1;var h=t.memoizedState;o.state=h,us(t,r,o,i),a=t.memoizedState,l!==r||h!==a||Te.current||Ct?(typeof f=="function"&&(vl(t,n,f,r),a=t.memoizedState),(l=Ct||cc(t,n,l,r,h,a,u))?(d||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,ch(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:$e(t.type,l),o.props=u,d=t.pendingProps,h=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=Be(a):(a=Pe(n)?ln:ye.current,a=Un(t,a));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==d||h!==a)&&dc(t,o,r,a),Ct=!1,h=t.memoizedState,o.state=h,us(t,r,o,i);var v=t.memoizedState;l!==d||h!==v||Te.current||Ct?(typeof y=="function"&&(vl(t,n,y,r),v=t.memoizedState),(u=Ct||cc(t,n,u,r,h,v,a)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=a,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return kl(e,t,n,r,s,i)}function kl(e,t,n,r,i,s){Fh(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&nc(t,n,!1),gt(e,t,s);r=t.stateNode,tv.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=$n(t,e.child,null,s),t.child=$n(t,null,l,s)):ve(e,t,l,s),t.memoizedState=r.state,i&&nc(t,n,!0),t.child}function Oh(e){var t=e.stateNode;t.pendingContext?tc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tc(e,t.context,!1),Pa(e,t.containerInfo)}function vc(e,t,n,r,i){return Wn(),xa(i),t.flags|=256,ve(e,t,n,r),t.child}var Cl={dehydrated:null,treeContext:null,retryLane:0};function Tl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ih(e,t,n){var r=t.pendingProps,i=$.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),z($,i&1),e===null)return gl(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=Os(o,r,0,null),e=sn(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Tl(n),t.memoizedState=Cl,e):La(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return nv(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=Vt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=Vt(l,s):(s=sn(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?Tl(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Cl,r}return s=e.child,e=s.sibling,r=Vt(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 La(e,t){return t=Os({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ki(e,t,n,r){return r!==null&&xa(r),$n(t,e.child,null,n),e=La(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function nv(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=ko(Error(T(422))),ki(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Os({mode:"visible",children:r.children},i,0,null),s=sn(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&$n(t,e.child,null,o),t.child.memoizedState=Tl(o),t.memoizedState=Cl,s);if(!(t.mode&1))return ki(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(T(419)),r=ko(s,r,void 0),ki(e,t,o,r)}if(l=(o&e.childLanes)!==0,Ce||l){if(r=se,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,mt(e,i),Qe(r,e,i,-1))}return za(),r=ko(Error(T(421))),ki(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=mv.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,_e=At(i.nextSibling),Ne=t,W=!0,Ge=null,e!==null&&(Fe[Oe++]=st,Fe[Oe++]=ot,Fe[Oe++]=an,st=e.id,ot=e.overflow,an=t),t=La(t,r.children),t.flags|=4096,t)}function xc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),yl(e.return,t,n)}function Co(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 zh(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(ve(e,t,r.children,n),r=$.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&&xc(e,n,t);else if(e.tag===19)xc(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(z($,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&&cs(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Co(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&&cs(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Co(t,!0,n,null,s);break;case"together":Co(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ui(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),cn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=Vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rv(e,t,n){switch(t.tag){case 3:Oh(t),Wn();break;case 5:dh(t);break;case 1:Pe(t.type)&&is(t);break;case 4:Pa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;z(ls,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(z($,$.current&1),t.flags|=128,null):n&t.child.childLanes?Ih(e,t,n):(z($,$.current&1),e=gt(e,t,n),e!==null?e.sibling:null);z($,$.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return zh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),z($,$.current),r)break;return null;
vendor: 4,579 bytes, line 40
40case 22:case 23:return t.lanes=0,Vh(e,t,n)}return gt(e,t,n)}var Bh,Pl,Uh,Wh;Bh=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}};Pl=function(){};Uh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,tn(et.current);var s=null;switch(n){case"input":i=bo(e,i),r=bo(e,r),s=[];break;case"select":i=K({},i,{value:void 0}),r=K({},r,{value:void 0}),s=[];break;case"textarea":i=Xo(e,i),r=Xo(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ns)}qo(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"&&(_r.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"&&(_r.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&B("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)}};Wh=function(e,t,n,r){n!==r&&(t.flags|=4)};function or(e,t){if(!W)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 fe(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 iv(e,t,n){var r=t.pendingProps;switch(va(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fe(t),null;case 1:return Pe(t.type)&&rs(),fe(t),null;case 3:return r=t.stateNode,Hn(),U(Te),U(ye),Ea(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ge!==null&&(Ll(Ge),Ge=null))),Pl(e,t),fe(t),null;case 5:ja(t);var i=tn(Br.current);if(n=t.type,e!==null&&t.stateNode!=null)Uh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return fe(t),null}if(e=tn(et.current),wi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[qe]=t,r[Ir]=s,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(i=0;i<fr.length;i++)B(fr[i],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":_u(r,s),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},B("invalid",r);break;case"textarea":Mu(r,s),B("invalid",r)}qo(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&&xi(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&xi(r.textContent,l,e),i=["children",""+l]):_r.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&B("scroll",r)}switch(n){case"input":di(r),Nu(r,s,!0);break;case"textarea":di(r),Au(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=gf(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[qe]=t,e[Ir]=r,Bh(e,t,!1,!1),t.stateNode=e;e:{switch(o=Jo(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;i<fr.length;i++)B(fr[i],e);i=r;break;case"source":B("error",e),i=r;break;case"img":case"image":case"link":B("error",e),B("load",e),i=r;break;case"details":B("toggle",e),i=r;break;case"input":_u(e,r),i=bo(e,r),B("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=K({},r,{value:void 0}),B("invalid",e);break;case"textarea":Mu(e,r),i=Xo(e,r),B("invalid",e);break;default:i=r}qo(n,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="style"?xf(e,a):s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&yf(e,a)):s==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Nr(e,a):typeof a=="number"&&Nr(e,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(_r.hasOwnProperty(s)?a!=null&&s==="onScroll"&&B("scroll",e):a!=null&&ra(e,s,a,o))}switch(n){case"input":di(e),Nu(e,r,!1);break;case"textarea":di(e),Au(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ft(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Dn(e,!!r.multiple,s,!1):r.defaultValue!=null&&Dn(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 fe(t),null;case 6:if(e&&t.stateNode!=null)Wh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=tn(Br.current),tn(et.current),wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[qe]=t,(s=r.nodeValue!==n)&&(e=Ne,e!==null))switch(e.tag){case 3:xi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xi(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qe]=t,t.stateNode=r}return fe(t),null;case 13:if(U($),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(W&&_e!==null&&t.mode&1&&!(t.flags&128))oh(),Wn(),t.flags|=98560,s=!1;else if(s=wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(T(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(T(317));s[qe]=t}else Wn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fe(t),s=!1}else Ge!==null&&(Ll(Ge),Ge=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||$.current&1?ee===0&&(ee=3):za())),t.updateQueue!==null&&(t.flags|=4),fe(t),null);case 4:return Hn(),Pl(e,t),e===null&&Fr(t.stateNode.containerInfo),fe(t),null;case 10:return ka(t.type._context),fe(t),null;case 17:return Pe(t.type)&&rs(),fe(t),null;case 19:if(U($),s=t.memoizedState,s===null)return fe(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)or(s,!1);else{if(ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=cs(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 z($,$.current&1|2),t.child}e=e.sibling}s.tail!==null&&X()>Kn&&(t.flags|=128,r=!0,or(s,!1),t.lanes=4194304)}else{if(!r)if(e=cs(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&&!W)return fe(t),null}else 2*X()-s.renderingStartTime>Kn&&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=X(),t.sibling=null,n=$.current,z($,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return Ia(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ee&1073741824&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function sv(e,t){switch(va(t),t.tag){case 1:return Pe(t.type)&&rs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 25,817 bytes, line 40
40case 3:return Hn(),U(Te),U(ye),Ea(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ja(t),null;case 13:if(U($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));Wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U($),null;case 4:return Hn(),null;case 10:return ka(t.type._context),null;case 22:case 23:return Ia(),null;case 24:return null;default:return null}}var Ci=!1,pe=!1,ov=typeof WeakSet=="function"?WeakSet:Set,N=null;function jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){b(e,t,r)}else n.current=null}function jl(e,t,n){try{n()}catch(r){b(e,t,r)}}var wc=!1;function lv(e,t){if(ul=Ji,e=bf(),ga(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,f=0,d=e,h=null;t:for(;;){for(var y;d!==n||i!==0&&d.nodeType!==3||(l=o+i),d!==s||r!==0&&d.nodeType!==3||(a=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(y=d.firstChild)!==null;)h=d,d=y;for(;;){if(d===e)break t;if(h===n&&++u===i&&(l=o),h===s&&++f===r&&(a=o),(y=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=y}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(cl={focusedElem:e,selectionRange:n},Ji=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,C=v.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:$e(t.type,x),C);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(w){b(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=wc,wc=!1,v}function Sr(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&&jl(t,n,s)}i=i.next}while(i!==r)}}function Vs(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 El(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 $h(e){var t=e.alternate;t!==null&&(e.alternate=null,$h(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[Ir],delete t[hl],delete t[$y],delete t[Hy])),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 Hh(e){return e.tag===5||e.tag===3||e.tag===4}function Sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Hh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _l(e,t,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(_l(e,t,n),e=e.sibling;e!==null;)_l(e,t,n),e=e.sibling}function Nl(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(Nl(e,t,n),e=e.sibling;e!==null;)Nl(e,t,n),e=e.sibling}var oe=null,He=!1;function wt(e,t,n){for(n=n.child;n!==null;)Gh(e,t,n),n=n.sibling}function Gh(e,t,n){if(Je&&typeof Je.onCommitFiberUnmount=="function")try{Je.onCommitFiberUnmount(Es,n)}catch{}switch(n.tag){case 5:pe||jn(n,t);case 6:var r=oe,i=He;oe=null,wt(e,t,n),oe=r,He=i,oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?go(e.parentNode,n):e.nodeType===1&&go(e,n),Lr(e)):go(oe,n.stateNode));break;case 4:r=oe,i=He,oe=n.stateNode.containerInfo,He=!0,wt(e,t,n),oe=r,He=i;break;case 0:case 11:case 14:case 15:if(!pe&&(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)&&jl(n,t,o),i=i.next}while(i!==r)}wt(e,t,n);break;case 1:if(!pe&&(jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){b(n,t,l)}wt(e,t,n);break;case 21:wt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,wt(e,t,n),pe=r):wt(e,t,n);break;default:wt(e,t,n)}}function kc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ov),t.forEach(function(r){var i=gv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function We(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:oe=l.stateNode,He=!1;break e;case 3:oe=l.stateNode.containerInfo,He=!0;break e;case 4:oe=l.stateNode.containerInfo,He=!0;break e}l=l.return}if(oe===null)throw Error(T(160));Gh(s,o,i),oe=null,He=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){b(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Kh(t,e),t=t.sibling}function Kh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(We(t,e),Xe(e),r&4){try{Sr(3,e,e.return),Vs(3,e)}catch(x){b(e,e.return,x)}try{Sr(5,e,e.return)}catch(x){b(e,e.return,x)}}break;case 1:We(t,e),Xe(e),r&512&&n!==null&&jn(n,n.return);break;case 5:if(We(t,e),Xe(e),r&512&&n!==null&&jn(n,n.return),e.flags&32){var i=e.stateNode;try{Nr(i,"")}catch(x){b(e,e.return,x)}}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&&pf(i,s),Jo(l,o);var u=Jo(l,s);for(o=0;o<a.length;o+=2){var f=a[o],d=a[o+1];f==="style"?xf(i,d):f==="dangerouslySetInnerHTML"?yf(i,d):f==="children"?Nr(i,d):ra(i,f,d,u)}switch(l){case"input":Qo(i,s);break;case"textarea":mf(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var y=s.value;y!=null?Dn(i,!!s.multiple,y,!1):h!==!!s.multiple&&(s.defaultValue!=null?Dn(i,!!s.multiple,s.defaultValue,!0):Dn(i,!!s.multiple,s.multiple?[]:"",!1))}i[Ir]=s}catch(x){b(e,e.return,x)}}break;case 6:if(We(t,e),Xe(e),r&4){if(e.stateNode===null)throw Error(T(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(x){b(e,e.return,x)}}break;case 3:if(We(t,e),Xe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Lr(t.containerInfo)}catch(x){b(e,e.return,x)}break;case 4:We(t,e),Xe(e);break;case 13:We(t,e),Xe(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Fa=X())),r&4&&kc(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(u=pe)||f,We(t,e),pe=u):We(t,e),Xe(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(N=e,f=e.child;f!==null;){for(d=N=f;N!==null;){switch(h=N,y=h.child,h.tag){case 0:case 11:case 14:case 15:Sr(4,h,h.return);break;case 1:jn(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){b(r,n,x)}}break;case 5:jn(h,h.return);break;case 22:if(h.memoizedState!==null){Tc(d);continue}}y!==null?(y.return=h,N=y):Tc(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=d.stateNode,a=d.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=vf("display",o))}catch(x){b(e,e.return,x)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(x){b(e,e.return,x)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:We(t,e),Xe(e),r&4&&kc(e);break;case 21:break;default:We(t,e),Xe(e)}}function Xe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Hh(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Nr(i,""),r.flags&=-33);var s=Sc(e);Nl(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,l=Sc(e);_l(e,l,o);break;default:throw Error(T(161))}}catch(a){b(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function av(e,t,n){N=e,bh(e)}function bh(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var i=N,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Ci;if(!o){var l=i.alternate,a=l!==null&&l.memoizedState!==null||pe;l=Ci;var u=pe;if(Ci=o,(pe=a)&&!u)for(N=i;N!==null;)o=N,a=o.child,o.tag===22&&o.memoizedState!==null?Pc(i):a!==null?(a.return=o,N=a):Pc(i);for(;s!==null;)N=s,bh(s),s=s.sibling;N=i,Ci=l,pe=u}Cc(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,N=s):Cc(e)}}function Cc(e){for(;N!==null;){var t=N;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||Vs(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!pe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:$e(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&lc(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}lc(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 f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&Lr(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}pe||t.flags&512&&El(t)}catch(h){b(t,t.return,h)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function Tc(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function Pc(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Vs(4,t)}catch(a){b(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){b(t,i,a)}}var s=t.return;try{El(t)}catch(a){b(t,s,a)}break;case 5:var o=t.return;try{El(t)}catch(a){b(t,o,a)}}}catch(a){b(t,t.return,a)}if(t===e){N=null;break}var l=t.sibling;if(l!==null){l.return=t.return,N=l;break}N=t.return}}var uv=Math.ceil,hs=vt.ReactCurrentDispatcher,Da=vt.ReactCurrentOwner,ze=vt.ReactCurrentBatchConfig,F=0,se=null,Z=null,ue=0,Ee=0,En=Ut(0),ee=0,Hr=null,cn=0,Fs=0,Va=0,kr=null,ke=null,Fa=0,Kn=1/0,rt=null,ps=!1,Ml=null,Lt=null,Ti=!1,Et=null,ms=0,Cr=0,Al=null,Wi=-1,$i=0;function xe(){return F&6?X():Wi!==-1?Wi:Wi=X()}function Dt(e){return e.mode&1?F&2&&ue!==0?ue&-ue:Ky.transition!==null?($i===0&&($i=Af()),$i):(e=I,e!==0||(e=window.event,e=e===void 0?16:If(e.type)),e):1}function Qe(e,t,n,r){if(50<Cr)throw Cr=0,Al=null,Error(T(185));Zr(e,n,r),(!(F&2)||e!==se)&&(e===se&&(!(F&2)&&(Fs|=n),ee===4&&Pt(e,ue)),je(e,r),n===1&&F===0&&!(t.mode&1)&&(Kn=X()+500,Rs&&Wt()))}function je(e,t){var n=e.callbackNode;Kg(e,t);var r=qi(e,e===se?ue:0);if(r===0)n!==null&&Du(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Du(n),t===1)e.tag===0?Gy(jc.bind(null,e)):rh(jc.bind(null,e)),Uy(function(){!(F&6)&&Wt()}),n=null;else{switch(Rf(r)){case 1:n=aa;break;case 4:n=Nf;break;case 16:n=Zi;break;case 536870912:n=Mf;break;default:n=Zi}n=tp(n,Qh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Qh(e,t){if(Wi=-1,$i=0,F&6)throw Error(T(327));var n=e.callbackNode;if(zn()&&e.callbackNode!==n)return null;var r=qi(e,e===se?ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=gs(e,r);else{t=r;var i=F;F|=2;var s=Xh();(se!==e||ue!==t)&&(rt=null,Kn=X()+500,rn(e,t));do try{fv();break}catch(l){Yh(e,l)}while(!0);Sa(),hs.current=s,F=i,Z!==null?t=0:(se=null,ue=0,t=ee)}if(t!==0){if(t===2&&(i=il(e),i!==0&&(r=i,t=Rl(e,i))),t===1)throw n=Hr,rn(e,0),Pt(e,r),je(e,X()),n;if(t===6)Pt(e,r);else{if(i=e.current.alternate,!(r&30)&&!cv(i)&&(t=gs(e,r),t===2&&(s=il(e),s!==0&&(r=s,t=Rl(e,s))),t===1))throw n=Hr,rn(e,0),Pt(e,r),je(e,X()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:Xt(e,ke,rt);break;case 3:if(Pt(e,r),(r&130023424)===r&&(t=Fa+500-X(),10<t)){if(qi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){xe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=fl(Xt.bind(null,e,ke,rt),t);break}Xt(e,ke,rt);break;case 4:if(Pt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-be(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*uv(r/1960))-r,10<r){e.timeoutHandle=fl(Xt.bind(null,e,ke,rt),r);break}Xt(e,ke,rt);break;case 5:Xt(e,ke,rt);break;default:throw Error(T(329))}}}return je(e,X()),e.callbackNode===n?Qh.bind(null,e):null}function Rl(e,t){var n=kr;return e.current.memoizedState.isDehydrated&&(rn(e,t).flags|=256),e=gs(e,t),e!==2&&(t=ke,ke=n,t!==null&&Ll(t)),e}function Ll(e){ke===null?ke=e:ke.push.apply(ke,e)}function cv(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(!Ye(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 Pt(e,t){for(t&=~Va,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-be(t),r=1<<n;e[n]=-1,t&=~r}}function jc(e){if(F&6)throw Error(T(327));zn();var t=qi(e,0);if(!(t&1))return je(e,X()),null;var n=gs(e,t);if(e.tag!==0&&n===2){var r=il(e);r!==0&&(t=r,n=Rl(e,r))}if(n===1)throw n=Hr,rn(e,0),Pt(e,t),je(e,X()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xt(e,ke,rt),je(e,X()),null}function Oa(e,t){var n=F;F|=1;try{return e(t)}finally{F=n,F===0&&(Kn=X()+500,Rs&&Wt())}}function dn(e){Et!==null&&Et.tag===0&&!(F&6)&&zn();var t=F;F|=1;var n=ze.transition,r=I;try{if(ze.transition=null,I=1,e)return e()}finally{I=r,ze.transition=n,F=t,!(F&6)&&Wt()}}function Ia(){Ee=En.current,U(En)}function rn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,By(n)),Z!==null)for(n=Z.return;n!==null;){var r=n;switch(va(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&rs();break;case 3:Hn(),U(Te),U(ye),Ea();break;case 5:ja(r);break;case 4:Hn();break;case 13:U($);break;case 19:U($);break;case 10:ka(r.type._context);break;case 22:case 23:Ia()}n=n.return}if(se=e,Z=e=Vt(e.current,null),ue=Ee=t,ee=0,Hr=null,Va=Fs=cn=0,ke=kr=null,en!==null){for(t=0;t<en.length;t++)if(n=en[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}en=null}return e}function Yh(e,t){do{var n=Z;try{if(Sa(),zi.current=fs,ds){for(var r=G.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ds=!1}if(un=0,ie=J=G=null,wr=!1,Ur=0,Da.current=null,n===null||n.return===null){ee=1,Hr=t,Z=null;break}e:{var s=e,o=n.return,l=n,a=t;if(t=ue,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,f=l,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var y=hc(o);if(y!==null){y.flags&=-257,pc(y,o,l,s,t),y.mode&1&&fc(s,u,t),t=y,a=u;var v=t.updateQueue;if(v===null){var x=new Set;x.add(a),t.updateQueue=x}else v.add(a);break e}else{if(!(t&1)){fc(s,u,t),za();break e}a=Error(T(426))}}else if(W&&l.mode&1){var C=hc(o);if(C!==null){!(C.flags&65536)&&(C.flags|=256),pc(C,o,l,s,t),xa(Gn(a,l));break e}}s=a=Gn(a,l),ee!==4&&(ee=2),kr===null?kr=[s]:kr.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=Rh(s,a,t);oc(s,m);break e;case 1:l=a;var p=s.type,g=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Lt===null||!Lt.has(g)))){s.flags|=65536,t&=-t,s.lanes|=t;var w=Lh(s,l,t);oc(s,w);break e}}s=s.return}while(s!==null)}qh(n)}catch(k){t=k,Z===n&&n!==null&&(Z=n=n.return);continue}break}while(!0)}function Xh(){var e=hs.current;return hs.current=fs,e===null?fs:e}function za(){(ee===0||ee===3||ee===2)&&(ee=4),se===null||!(cn&268435455)&&!(Fs&268435455)||Pt(se,ue)}function gs(e,t){var n=F;F|=2;var r=Xh();(se!==e||ue!==t)&&(rt=null,rn(e,t));do try{dv();break}catch(i){Yh(e,i)}while(!0);if(Sa(),F=n,hs.current=r,Z!==null)throw Error(T(261));return se=null,ue=0,ee}function dv(){for(;Z!==null;)Zh(Z)}function fv(){for(;Z!==null&&!Og();)Zh(Z)}function Zh(e){var t=ep(e.alternate,e,Ee);e.memoizedProps=e.pendingProps,t===null?qh(e):Z=t,Da.current=null}function qh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=sv(n,t),n!==null){n.flags&=32767,Z=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ee=6,Z=null;return}}else if(n=iv(n,t,Ee),n!==null){Z=n;return}if(t=t.sibling,t!==null){Z=t;return}Z=t=e}while(t!==null);ee===0&&(ee=5)}function Xt(e,t,n){var r=I,i=ze.transition;try{ze.transition=null,I=1,hv(e,t,n,r)}finally{ze.transition=i,I=r}return null}function hv(e,t,n,r){do zn();while(Et!==null);if(F&6)throw Error(T(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(T(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(bg(e,s),e===se&&(Z=se=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ti||(Ti=!0,tp(Zi,function(){return zn(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ze.transition,ze.transition=null;var o=I;I=1;var l=F;F|=4,Da.current=null,lv(e,n),Kh(n,e),Ly(cl),Ji=!!ul,cl=ul=null,e.current=n,av(n),Ig(),F=l,I=o,ze.transition=s}else e.current=n;if(Ti&&(Ti=!1,Et=e,ms=i),s=e.pendingLanes,s===0&&(Lt=null),Ug(n.stateNode),je(e,X()),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(ps)throw ps=!1,e=Ml,Ml=null,e;return ms&1&&e.tag!==0&&zn(),s=e.pendingLanes,s&1?e===Al?Cr++:(Cr=0,Al=e):Cr=0,Wt(),null}function zn(){if(Et!==null){var e=Rf(ms),t=ze.transition,n=I;try{if(ze.transition=null,I=16>e?16:e,Et===null)var r=!1;else{if(e=Et,Et=null,ms=0,F&6)throw Error(T(331));var i=F;for(F|=4,N=e.current;N!==null;){var s=N,o=s.child;if(N.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(N=u;N!==null;){var f=N;switch(f.tag){case 0:case 11:case 15:Sr(8,f,s)}var d=f.child;if(d!==null)d.return=f,N=d;else for(;N!==null;){f=N;var h=f.sibling,y=f.return;if($h(f),f===u){N=null;break}if(h!==null){h.return=y,N=h;break}N=y}}}var v=s.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var C=x.sibling;x.sibling=null,x=C}while(x!==null)}}N=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,N=o;else e:for(;N!==null;){if(s=N,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Sr(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,N=m;break e}N=s.return}}var p=e.current;for(N=p;N!==null;){o=N;var g=o.child;if(o.subtreeFlags&2064&&g!==null)g.return=o,N=g;else e:for(o=p;N!==null;){if(l=N,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Vs(9,l)}}catch(k){b(l,l.return,k)}if(l===o){N=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,N=w;break e}N=l.return}}if(F=i,Wt(),Je&&typeof Je.onPostCommitFiberRoot=="function")try{Je.onPostCommitFiberRoot(Es,e)}catch{}r=!0}return r}finally{I=n,ze.transition=t}}return!1}function Ec(e,t,n){t=Gn(n,t),t=Rh(e,t,1),e=Rt(e,t,1),t=xe(),e!==null&&(Zr(e,1,t),je(e,t))}function b(e,t,n){if(e.tag===3)Ec(e,e,n);else for(;t!==null;){if(t.tag===3){Ec(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Lt===null||!Lt.has(r))){e=Gn(n,e),e=Lh(t,e,1),t=Rt(t,e,1),e=xe(),t!==null&&(Zr(t,1,e),je(t,e));break}}t=t.return}}function pv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=xe(),e.pingedLanes|=e.suspendedLanes&n,se===e&&(ue&n)===n&&(ee===4||ee===3&&(ue&130023424)===ue&&500>X()-Fa?rn(e,0):Va|=n),je(e,t)}function Jh(e,t){t===0&&(e.mode&1?(t=pi,pi<<=1,!(pi&130023424)&&(pi=4194304)):t=1);var n=xe();e=mt(e,t),e!==null&&(Zr(e,t,n),je(e,n))}function mv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jh(e,n)}function gv(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(T(314))}r!==null&&r.delete(t),Jh(e,n)}var ep;ep=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Te.current)Ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ce=!1,rv(e,t,n);Ce=!!(e.flags&131072)}else Ce=!1,W&&t.flags&1048576&&ih(t,os,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ui(e,t),e=t.pendingProps;var i=Un(t,ye.current);In(t,n),i=Na(null,t,r,e,i,n);var s=Ma();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,Pe(r)?(s=!0,is(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ta(t),i.updater=Ds,t.stateNode=i,i._reactInternals=t,xl(t,r,e,n),t=kl(null,t,r,!0,s,n)):(t.tag=0,W&&s&&ya(t),ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ui(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=vv(r),e=$e(r,e),i){case 0:t=Sl(null,t,r,e,n);break e;case 1:t=yc(null,t,r,e,n);break e;case 11:t=mc(null,t,r,e,n);break e;case 14:t=gc(null,t,r,$e(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),Sl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),yc(e,t,r,i,n);case 3:e:{if(Oh(t),e===null)throw Error(T(387));r=t.pendingProps,s=t.memoizedState,i=s.element,ch(e,t),us(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=Gn(Error(T(423)),t),t=vc(e,t,r,n,i);break e}else if(r!==i){i=Gn(Error(T(424)),t),t=vc(e,t,r,n,i);break e}else for(_e=At(t.stateNode.containerInfo.firstChild),Ne=t,W=!0,Ge=null,n=ah(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wn(),r===i){t=gt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return dh(t),e===null&&gl(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,dl(r,i)?o=null:s!==null&&dl(r,s)&&(t.flags|=32),Fh(e,t),ve(e,t,o,n),t.child;case 6:return e===null&&gl(t),null;case 13:return Ih(e,t,n);case 4:return Pa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$n(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),mc(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(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,z(ls,r._currentValue),r._currentValue=o,s!==null)if(Ye(s.value,o)){if(s.children===i.children&&!Te.current){t=gt(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=at(-1,n&-n),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),yl(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(T(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),yl(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}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,In(t,n),i=Be(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=$e(r,t.pendingProps),i=$e(r.type,i),gc(e,t,r,i,n);case 15:return Dh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),Ui(e,t),t.tag=1,Pe(r)?(e=!0,is(t)):e=!1,In(t,n),Ah(t,r,i),xl(t,r,i,n),kl(null,t,r,!0,e,n);case 19:return zh(e,t,n);case 22:return Vh(e,t,n)}throw Error(T(156,t.tag))};function tp(e,t){return _f(e,t)}function yv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,638 bytes, line 40
40ype=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 Ie(e,t,n,r){return new yv(e,t,n,r)}function Ba(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vv(e){if(typeof e=="function")return Ba(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sa)return 11;if(e===oa)return 14}return 2}function Vt(e,t){var n=e.alternate;return n===null?(n=Ie(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 Hi(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Ba(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case yn:return sn(n.children,i,s,t);case ia:o=8,i|=8;break;case $o:return e=Ie(12,n,t,i|2),e.elementType=$o,e.lanes=s,e;case Ho:return e=Ie(13,n,t,i),e.elementType=Ho,e.lanes=s,e;case Go:return e=Ie(19,n,t,i),e.elementType=Go,e.lanes=s,e;case df:return Os(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uf:o=10;break e;case cf:o=9;break e;case sa:o=11;break e;case oa:o=14;break e;case kt:o=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Ie(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function sn(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Os(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=df,e.lanes=n,e.stateNode={isHidden:!1},e}function To(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Po(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xv(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=io(0),this.expirationTimes=io(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=io(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ua(e,t,n,r,i,s,o,l,a){return e=new xv(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ie(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ta(s),e}function wv(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:gn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function np(e){if(!e)return Ot;e=e._reactInternals;e:{if(hn(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Pe(n))return nh(e,n,t)}return t}function rp(e,t,n,r,i,s,o,l,a){return e=Ua(n,r,!0,e,i,s,o,l,a),e.context=np(null),n=e.current,r=xe(),i=Dt(n),s=at(r,i),s.callback=t??null,Rt(n,s,i),e.current.lanes=i,Zr(e,i,r),je(e,r),e}function Is(e,t,n,r){var i=t.current,s=xe(),o=Dt(i);return n=np(n),t.context===null?t.context=n:t.pendingContext=n,t=at(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Rt(i,t,o),e!==null&&(Qe(e,i,o,s),Ii(e,i,o)),o}function ys(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 _c(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Wa(e,t){_c(e,t),(e=e.alternate)&&_c(e,t)}function Sv(){return null}var ip=typeof reportError=="function"?reportError:function(e){console.error(e)};function $a(e){this._internalRoot=e}zs.prototype.render=$a.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));Is(e,t,null,null)};zs.prototype.unmount=$a.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dn(function(){Is(null,e,null,null)}),t[pt]=null}};function zs(e){this._internalRoot=e}zs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tt.length&&t!==0&&t<Tt[n].priority;n++);Tt.splice(n,0,e),n===0&&Of(e)}};function Ha(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Bs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Nc(){}function kv(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=ys(o);s.call(u)}}var o=rp(t,r,e,0,null,!1,!1,"",Nc);return e._reactRootContainer=o,e[pt]=o.current,Fr(e.nodeType===8?e.parentNode:e),dn(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=ys(a);l.call(u)}}var a=Ua(e,0,!1,null,null,!1,!1,"",Nc);return e._reactRootContainer=a,e[pt]=a.current,Fr(e.nodeType===8?e.parentNode:e),dn(function(){Is(t,a,n,r)}),a}function Us(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var l=i;
40i=function(){var a=ys(o);l.call(a)}}Is(t,o,e,i)}else o=kv(n,t,e,i,r);return ys(o)}Lf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dr(t.pendingLanes);n!==0&&(ua(t,n|1),je(t,X()),!(F&6)&&(Kn=X()+500,Wt()))}break;case 13:dn(function(){var r=mt(e,1);if(r!==null){var i=xe();Qe(r,e,1,i)}}),Wa(e,1)}};ca=function(e){if(e.tag===13){var t=mt(e,134217728);if(t!==null){var n=xe();Qe(t,e,134217728,n)}Wa(e,134217728)}};Df=function(e){if(e.tag===13){var t=Dt(e),n=mt(e,t);if(n!==null){var r=xe();Qe(n,e,t,r)}Wa(e,t)}};Vf=function(){return I};Ff=function(e,t){var n=I;try{return I=e,t()}finally{I=n}};tl=function(e,t,n){switch(t){case"input":if(Qo(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=As(r);if(!i)throw Error(T(90));hf(r),Qo(r,i)}}}break;case"textarea":mf(e,n);break;case"select":t=n.value,t!=null&&Dn(e,!!n.multiple,t,!1)}};kf=Oa;Cf=dn;var Cv={usingClientEntryPoint:!1,Events:[Jr,Sn,As,wf,Sf,Oa]},lr={findFiberByHostInstance:Jt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Tv={bundleType:lr.bundleType,version:lr.version,rendererPackageName:lr.rendererPackageName,rendererConfig:lr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=jf(e),e===null?null:e.stateNode},findFiberByHostInstance:lr.findFiberByHostInstance||Sv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pi.isDisabled&&Pi.supportsFiber)try{Es=Pi.inject(Tv),Je=Pi}catch{}}Re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cv;Re.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ha(t))throw Error(T(200));return wv(e,t,null,n)};Re.createRoot=function(e,t){if(!Ha(e))throw Error(T(299));var n=!1,r="",i=ip;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Ua(e,1,!1,null,null,n,!1,r,i),e[pt]=t.current,Fr(e.nodeType===8?e.parentNode:e),new $a(t)};Re.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=jf(t),e=e===null?null:e.stateNode,e};Re.flushSync=function(e){return dn(e)};Re.hydrate=function(e,t,n){if(!Bs(t))throw Error(T(200));return Us(null,e,t,!0,n)};Re.hydrateRoot=function(e,t,n){if(!Ha(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=ip;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=rp(t,null,e,1,n??null,i,!1,s,o),e[pt]=t.current,Fr(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 zs(t)};Re.render=function(e,t,n){if(!Bs(t))throw Error(T(200));return Us(null,e,t,!1,n)};Re.unmountComponentAtNode=function(e){if(!Bs(e))throw Error(T(40));return e._reactRootContainer?(dn(function(){Us(null,null,e,!1,function(){e._reactRootContainer=null,e[pt]=null})}),!0):!1};Re.unstable_batchedUpdates=Oa;Re.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Bs(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return Us(e,t,n,!1,r)};Re.version="18.3.1-next-f1338f8080-20240426";function sp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sp)}catch(e){console.error(e)}}sp(),sf.exports=Re;var Pv=sf.exports,op,Mc=Pv;op=Mc.createRoot,Mc.hydrateRoot;const lp=S.createContext(),jv=({children:e})=>{function t(){const o=window.matchMedia("(prefers-color-scheme: dark)").matches,l=window.localStorage.getItem("isDark");return JSON.parse(l)||o}const[n,r]=S.useState(t);S.useEffect(()=>{localStorage.setItem("isDark",JSON.stringify(n))},[n]);const s={isDark:n,toggleTheme:()=>r(o=>!o)};return c.jsx(lp.Provider,{value:s,children:e})},ap=S.createContext(),Ev=({children:e})=>{const[t,n]=S.useState(!1),[r,i]=S.useState(null),s=S.useRef(!1);function o(){s.current=!0,i(null),n(!1)}S.useEffect(()=>{if(t)return document.body.addEventListener("click",o),()=>document.body.removeEventListener("click",o)},[t]);function l(u){if(s.current=!1,r===u){o();return}i(u),n(!0)}const a={isMenuOpen:t,menuScreen:r,handleMenuScreen:l,closeMenu:o,fullExit:s};return c.jsx(ap.Provider,{value:a,children:e})};function up(){return S.useContext(lp)}const _v=({children:e})=>{const{isDark:t}=up();return c.jsx("div",{className:t?"theme-wrapper dark":"theme-wrapper",children:e})},cp={width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",display:"flex",flexDirection:"row",flexWrap:"nowrap",justifyContent:"start",alignItems:"stretch",alignContent:"stretch",rowGap:"0",columnGap:"0"},_n={width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"0 1 auto",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"},dp=[{id:"qSUmVL",content:"1",style:{..._n}},{id:"2gvvpf",content:"2",style:{..._n}},{id:"3obMB8",content:"3",style:{..._n}},{id:"nmPqzI",content:"4",style:{..._n}}],mn=["auto","max-content","min-content","fit-content","0","100%"],Ga={width:{name:"width",cssName:"width",initial:"auto",values:[...mn],input:"length"},maxWidth:{name:"maxWidth",cssName:"max-width",initial:"auto",values:[...mn],input:"length"},minWidth:{name:"minwidth",cssName:"min-width",initial:"auto",values:[...mn],input:"length"},height:{name:"height",cssName:"height",initial:"auto",values:[...mn],input:"length"},maxHeight:{name:"maxHeight",cssName:"max-height",initial:"auto",values:[...mn],input:"length"},minHeight:{name:"minHeight",cssName:"min-height",initial:"auto",values:[...mn],input:"length"},display:{name:"display",cssName:"display",initial:"flex",values:["flex","inline-flex","block"],input:null},flexFlow:{name:"flexFlow",cssName:"flex-flow"},flexDirection:{name:"flexDirection",cssName:"flex-direction",initial:"row",values:["row","row-reverse","column","column-reverse"],input:null},flexWrap:{name:"flexWrap",cssName:"flex-wrap",initial:"nowrap",values:["nowrap","wrap","wrap-reverse"],input:null},justifyContent:{name:"justifyContent",cssName:"justify-content",initial:"start",values:["start","center","end","space-between","space-around","space-evenly","stretch"],advancedValues:["normal","flex-start","flex-end","left","right","safe center","unsafe center"],input:null},alignItems:{name:"alignItems",cssName:"align-items",initial:"stretch",values:["stretch","start","center","end"],advancedValues:["normal","flex-start","flex-end","self-start","self-end","anchor-center","baseline","first baseline","last baseline","safe center","unsafe center"],input:null},alignContent:{name:"alignContent",cssName:"align-content",initial:"stretch",values:["stretch","start","center","end","space-between","space-around","space-evenly"],advancedValues:["normal","flex-start","flex-end","baseline","first baseline","last baseline","safe center","unsafe center"],input:null},gap:{name:"gap",cssName:"gap"},rowGap:{name:"rowGap",cssName:"row-gap",initial:"normal",values:["0"],input:"length"},columnGap:{name:"columnGap",cssName:"column-gap",initial:"normal",values:["0"],input:"length"},flex:{name:"flex",cssName:"flex",initial:"initial",values:["0 1 auto","1 1 auto","0 0 auto"],input:null},flexGrow:{name:"flexGrow",cssName:"flex-grow",initial:"0",values:["0","1","2"],input:"number"},flexShrink:{name:"flexShrink",cssName:"flex-shrink",initial:"1",values:["0","1","2"],input:"number"},flexBasis:{name:"flexBasis",cssName:"flex-basis",initial:"auto",values:["auto","0","0%","content","max-content","min-content","fit-content","stretch"],input:"length"},alignSelf:{name:"alignSelf",cssName:"align-self",initial:"auto",values:["auto","stretch","start","center","end"],advancedValues:["self-start","self-end","normal","flex-start","flex-end","anchor-center","baseline","first baseline","last baseline","safe center","unsafe center"],input:null},order:{name:"order",cssName:"order",initial:"0",values:["-2","-1","0","1","2"],input:"number"},marginTop:{name:"marginTop",cssName:"margin-top",initial:"0",values:["0","auto"],input:null},marginRight:{name:"marginRight",cssName:"margin-right",initial:"0",values:["0","auto"],input:null},marginBottom:{name:"marginBottom",cssName:"margin-bottom",initial:"0",values:["0","auto"],input:null},marginLeft:{name:"marginLeft",cssName:"margin-left",initial:"0",values:["0","auto"],input:null}};function fp(e,t){let n=!1,r=t.length>1;return t.length>0&&t.includes(e)&&(n=!0),{isActive:n,isMultiple:r}}const hp=({children:e,isActive:t,isMultiple:n,onClick:r})=>{let i="css-value-button";return t&&(i+=" active"),t&&n&&(i+=" active--multiple"),c.jsx("button",{className:i,onClick:r,children:e})},Nv={number:/[0-9]+ 1 0/,length:/1 1 (?!auto)[0-9]*[^0-9]+$/};function Mv(e,t,n){let r=!1,i=n.length>1,s=null;const o=Ga[t].values;if(n.length>0&&t==="flex"&&(r=n.some(l=>l!==""&&Nv[e].test(l)),r&&!i)){const[l,a,u]=n[0].split(" ");a==="1"&&(u==="0"||u==="0%")?s=l:s=u}return n.length>0&&t!=="flex"&&(r=n.some(l=>
40l!==""&&!o.includes(l))),{isActive:r,isMultiple:i,flex:s}}const Dl=({property:e,type:t,handleUpdate:n,currentValues:r})=>{const i=S.useId(),{isActive:s,isMultiple:o,flex:l}=Mv(t,e,r);let a="css-value-input";s&&(a+=" active"),s&&o&&(a+=" active--multiple");let u=`<${t}>`;s&&!o&&(u="");let f="";s&&!o&&(f=l||r[0]);function d(y){y.preventDefault();const v=y.target[i].value.trim();v!==""&&(t==="number"&&isNaN(v)||(t!=="number"&&Number(v)?n(e,`${v}px`):n(e,v),y.target.reset()))}function h(y){y.target.form.requestSubmit()}return c.jsx("form",{onSubmit:d,children:c.jsx("input",{className:a,size:t.length+2,type:"text",name:e,id:i,placeholder:u,defaultValue:f,onBlur:h},`${r[0]}`)})},Ws=({name:e,value:t,mixed:n})=>c.jsxs("h3",{className:"property__title",children:[c.jsxs("span",{className:"property__title__name",children:[e,":"]}),!n&&c.jsx("span",{className:"property__title__value",children:t}),n&&c.jsx("span",{className:"property__title__value--mixed",children:"mixed"})]}),ae=({name:e,handleUpdate:t,currentValues:n})=>{const{cssName:r,values:i,input:s}=Ga[e];return c.jsxs("div",{className:"property__container",children:[c.jsx(Ws,{name:r,value:n??"",mixed:n.length>1}),c.jsxs("ul",{className:"button-list",children:[i.map(o=>{const{isActive:l,isMultiple:a}=fp(o,n);return c.jsx("li",{children:c.jsx(hp,{isActive:l,isMultiple:a,onClick:()=>t(e,o),children:o})},`${e}-${o}`)}),s&&c.jsx(Dl,{property:e,type:s,handleUpdate:t,currentValues:n})]})]})};function Av(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 Gr(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Vl=e=>Array.isArray(e);function pp(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 Kr(e){return typeof e=="string"||Array.isArray(e)}function Ac(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ka(e,t,n,r){if(typeof t=="function"){const[i,s]=Ac(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]=Ac(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function $s(e,t,n){const r=e.getProps();return Ka(r,t,n!==void 0?n:r.custom,e)}const ba=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qa=["initial",...ba],ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$t=new Set(ti),ut=e=>e*1e3,ct=e=>e/1e3,Rv={type:"spring",stiffness:500,damping:25,restSpeed:10},Lv=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dv={type:"keyframes",duration:.8},Vv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Fv=(e,{keyframes:t})=>t.length>2?Dv:$t.has(e)?e.startsWith("scale")?Lv(t[1]):Rv:Vv;function Ov({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:l,from:a,elapsed:u,...f}){return!!Object.keys(f).length}function Ya(e,t){return e[t]||e.default||e}const Iv={skipAnimations:!1,useManualTiming:!1},zv=e=>e!==null;function Hs(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(zv),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}const ge=e=>e;function Bv(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,f=!1,d=!1)=>{const y=d&&r?t:n;return f&&s.add(u),y.has(u)||y.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 ji=["read","resolveKeyframes","update","preRender","render","postRender"],Uv=40;function mp(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ji.reduce((m,p)=>(m[p]=Bv(s),m),{}),{read:l,resolveKeyframes:a,update:u,preRender:f,render:d,postRender:h}=o,y=()=>{const m=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(m-i.timestamp,Uv),1),i.timestamp=m,i.isProcessing=!0,l.process(i),a.process(i),u.process(i),f.process(i),d.process(i),h.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},v=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:ji.reduce((m,p)=>{const g=o[p];return m[p]=(w,k=!1,j=!1)=>(n||v(),g.schedule(w,k,j)),m},{}),cancel:m=>{for(let p=0;p<ji.length;p++)o[ji[p]].cancel(m)},state:i,steps:o}}const{schedule:O,cancel:yt,state:le,steps:jo}=mp(typeof requestAnimationFrame<"u"?requestAnimationFrame:ge,!0),gp=e=>/^0[^.\s]+$/u.test(e);function Wv(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||gp(e):!0}
vendor: 27,807 bytes, line 40
40let Fl=ge;const yp=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),vp=e=>t=>typeof t=="string"&&t.startsWith(e),xp=vp("--"),$v=vp("var(--"),Xa=e=>$v(e)?Hv.test(e.split("/*")[0].trim()):!1,Hv=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Gv=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Kv(e){const t=Gv.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function wp(e,t,n=1){const[r,i]=Kv(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return yp(o)?parseFloat(o):o}return Xa(i)?wp(i,t,n+1):i}const It=(e,t,n)=>n>t?t:n<e?e:n,qn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Tr={...qn,transform:e=>It(0,1,e)},Ei={...qn,default:1},Pr=e=>Math.round(e*1e5)/1e5,Za=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,bv=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Qv=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ni(e){return typeof e=="string"}function Yv(e){return e==null}const ri=e=>({test:t=>ni(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),St=ri("deg"),tt=ri("%"),M=ri("px"),Xv=ri("vh"),Zv=ri("vw"),Rc={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(e*100)},qv=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lc=e=>e===qn||e===M,Dc=(e,t)=>parseFloat(e.split(", ")[t]),Vc=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Dc(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?Dc(s[1],e):0}},Jv=new Set(["x","y","z"]),e0=ti.filter(e=>!Jv.has(e));function t0(e){const t=[];return e0.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const bn={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:Vc(4,13),y:Vc(5,14)};bn.translateX=bn.x;bn.translateY=bn.y;const Sp=e=>t=>t.test(e),n0={test:e=>e==="auto",parse:e=>e},kp=[qn,M,tt,St,Zv,Xv,n0],Fc=e=>kp.find(Sp(e)),on=new Set;let Ol=!1,Il=!1;function Cp(){if(Il){const e=Array.from(on).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=t0(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)})}Il=!1,Ol=!1,on.forEach(e=>e.complete()),on.clear()}function Tp(){on.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Il=!0)})}function r0(){Tp(),Cp()}class qa{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?(on.add(this),Ol||(Ol=!0,O.read(Tp),O.resolveKeyframes(Cp))):(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),on.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,on.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Ja=(e,t)=>n=>!!(ni(n)&&Qv.test(n)&&n.startsWith(e)||t&&!Yv(n)&&Object.prototype.hasOwnProperty.call(n,t)),Pp=(e,t,n)=>r=>{if(!ni(r))return r;const[i,s,o,l]=r.match(Za);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},i0=e=>It(0,255,e),Eo={...qn,transform:e=>Math.round(i0(e))},nn={test:Ja("rgb","red"),parse:Pp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Eo.transform(e)+", "+Eo.transform(t)+", "+Eo.transform(n)+", "+Pr(Tr.transform(r))+")"};function s0(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 zl={test:Ja("#"),parse:s0,transform:nn.transform},Nn={test:Ja("hsl","hue"),parse:Pp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tt.transform(Pr(t))+", "+tt.transform(Pr(n))+", "+Pr(Tr.transform(r))+")"},he={test:e=>nn.test(e)||zl.test(e)||Nn.test(e),parse:e=>nn.test(e)?nn.parse(e):Nn.test(e)?Nn.parse(e):zl.parse(e),transform:e=>ni(e)?e:e.hasOwnProperty("red")?nn.transform(e):Nn.transform(e)};function o0(e){var t,n;return isNaN(e)&&ni(e)&&(((t=e.match(Za))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(bv))===null||n===void 0?void 0:n.length)||0)>0}const jp="number",Ep="color",l0="var",a0="var(",Oc="${}",u0=/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 br(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const l=t.replace(u0,a=>(he.test(a)?(r.color.push(s),i.push(Ep),n.push(he.parse(a))):a.startsWith(a0)?(r.var.push(s),i.push(l0),n.push(a)):(r.number.push(s),i.push(jp),n.push(parseFloat(a))),++s,Oc)).split(Oc);return{values:n,split:l,indexes:r,types:i}}function _p(e){return br(e).values}function Np(e){const{split:t,types:n}=br(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===jp?s+=Pr(i[o]):l===Ep?s+=he.transform(i[o]):s+=i[o]}return s}}const c0=e=>typeof e=="number"?0:e;function d0(e){const t=_p(e);return Np(e)(t.map(c0))}const zt={test:o0,parse:_p,createTransformer:Np,getAnimatableNone:d0},f0=new Set(["brightness","contrast","saturate","opacity"]);function h0(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Za)||[];if(!r)return e;const i=n.replace(r,"");let s=f0.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const p0=/\b([a-z-]*)\(.*?\)/gu,Bl={...zt,getAnimatableNone:e=>{const t=e.match(p0);return t?t.map(h0).join(" "):e}},Ic={...qn,transform:Math.round},eu={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,size:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,rotate:St,rotateX:St,rotateY:St,rotateZ:St,scale:Ei,scaleX:Ei,scaleY:Ei,scaleZ:Ei,skew:St,skewX:St,skewY:St,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Tr,originX:Rc,originY:Rc,originZ:M,zIndex:Ic,backgroundPositionX:M,backgroundPositionY:M,fillOpacity:Tr,strokeOpacity:Tr,numOctaves:Ic},m0={...eu,color:he,backgroundColor:he,outlineColor:he,fill:he,stroke:he,borderColor:he,borderTopColor:he,borderRightColor:he,borderBottomColor:he,borderLeftColor:he,filter:Bl,WebkitFilter:Bl},tu=e=>m0[e];function Mp(e,t){let n=tu(e);return n!==Bl&&(n=zt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const g0=new Set(["auto","none","0"]);function y0(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!g0.has(s)&&br(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Mp(n,i)}class Ap extends qa{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(),Xa(u))){const f=wp(u,n.current);f!==void 0&&(t[a]=f),a===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!qv.has(r)||t.length!==2)return;const[i,s]=t,o=Fc(i),l=Fc(s);if(o!==l)if(Lc(o)&&Lc(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++)Wv(t[i])&&r.push(i);r.length&&y0(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=bn[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]=bn[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 Rp(e){let t;return()=>(t===void 0&&(t=e()),t)}let Gi;function v0(){Gi=void 0}const nt={now:()=>(Gi===void 0&&nt.set(le.isProcessing||Iv.useManualTiming?le.timestamp:performance.now()),Gi),set:e=>{Gi=e,queueMicrotask(v0)}},zc=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zt.test(e)||e==="0")&&!e.startsWith("url("));function x0(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 w0(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=zc(i,t),l=zc(s,t);return!o||!l?!1:x0(e)||n==="spring"&&r}const S0=40;class Lp{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=nt.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>S0?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&r0(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=nt.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:s,delay:o,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!w0(t,r,i,s))if(o)this.options.duration=0;else{a==null||a(Hs(t,this.options,n)),l==null||l(),this.resolveFinishedPromise();return}const f=this.initPlayback(t,n);f!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...f},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function Dp(e,t){return t?e*(1e3/t):0}const k0=5;function Vp(e,t,n){const r=Math.max(t-k0,0);return Dp(n-e(r),t-r)}const _o=.001,C0=.01,T0=10,P0=.05,j0=1;function E0({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s,o=1-t;o=It(P0,j0,o),e=It(C0,T0,ct(e)),o<1?(i=u=>{const f=u*o,d=f*e,h=f-n,y=Ul(u,o),v=Math.exp(-d);return _o-h/y*v},s=u=>{const d=u*o*e,h=d*n+n,y=Math.pow(o,2)*Math.pow(u,2)*e,v=Math.exp(-d),x=Ul(Math.pow(u,2),o);return(-i(u)+_o>0?-1:1)*((h-y)*v)/x}):(i=u=>{const f=Math.exp(-u*e),d=(u-n)*e+1;return-_o+f*d},s=u=>{const f=Math.exp(-u*e),d=(n-u)*(e*e);return f*d});const l=5/e,a=N0(i,s,l);if(e=ut(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const _0=12;function N0(e,t,n){let r=n;for(let i=1;i<_0;i++)r=r-e(r)/t(r);return r}function Ul(e,t){return e*Math.sqrt(1-t*t)}const M0=["duration","bounce"],A0=["stiffness","damping","mass"];function Bc(e,t){return t.some(n=>e[n]!==void 0)}function R0(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bc(e,A0)&&Bc(e,M0)){const n=E0(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Fp({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:l,damping:a,mass:u,duration:f,velocity:d,isResolvedFromDuration:h}=R0({...r,velocity:-ct(r.velocity||0)}),y=d||0,v=a/(2*Math.sqrt(l*u)),x=s-i,C=ct(Math.sqrt(l/u)),m=Math.abs(x)<5;n||(n=m?.01:2),t||(t=m?.005:.5);let p;if(v<1){const g=Ul(C,v);p=w=>{const k=Math.exp(-v*C*w);return s-k*((y+v*C*x)/g*Math.sin(g*w)+x*Math.cos(g*w))}}else if(v===1)p=g=>s-Math.exp(-C*g)*(x+(y+C*x)*g);else{const g=C*Math.sqrt(v*v-1);p=w=>{const k=Math.exp(-v*C*w),j=Math.min(g*w,300);return s-k*((y+v*C*x)*Math.sinh(j)+g*x*Math.cosh(j))/g}}return{calculatedDuration:h&&f||null,next:g=>{const w=p(g);if(h)o.done=g>=f;else{let k=0;v<1&&(k=g===0?ut(y):Vp(p,g,w));const j=Math.abs(k)<=n,_=Math.abs(s-w)<=t;o.done=j&&_}return o.value=o.done?s:w,o}}}function Uc({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:f}){const d=e[0],h={done:!1,value:d},y=P=>l!==void 0&&P<l||a!==void 0&&P>a,v=P=>l===void 0?a:a===void 0||Math.abs(l-P)<Math.abs(a-P)?l:a;let x=n*t;const C=d+x,m=o===void 0?C:o(C);m!==C&&(x=m-d);const p=P=>-x*Math.exp(-P/r),g=P=>m+p(P),w=P=>{const V=p(P),A=g(P);h.done=Math.abs(V)<=u,h.value=h.done?m:A};let k,j;const _=P=>{y(h.value)&&(k=P,j=Fp({keyframes:[h.value,v(h.value)],velocity:Vp(g,P,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:f}))};return _(0),{calculatedDuration:null,next:P=>{let V=!1;return!j&&k===void 0&&(V=!0,w(P),_(P)),k!==void 0&&P>=k?j.next(P-k):(!V&&w(P),h)}}}const Op=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,L0=1e-7,D0=12;function V0(e,t,n,r,i){let s,o,l=0;do o=t+(n-t)/2,s=Op(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>L0&&++l<D0);return o}function ii(e,t,n,r){if(e===t&&n===r)return ge;const i=s=>V0(s,0,1,e,n);return s=>s===0||s===1?s:Op(i(s),t,r)}const F0=ii(.42,0,1,1),O0=ii(0,0,.58,1),Ip=ii(.42,0,.58,1),I0=e=>Array.isArray(e)&&typeof e[0]!="number",zp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bp=e=>t=>1-e(1-t),nu=e=>1-Math.sin(Math.acos(e)),Up=Bp(nu),z0=zp(nu),Wp=ii(.33,1.53,.69,.99),ru=Bp(Wp),B0=zp(ru),U0=e=>(e*=2)<1?.5*ru(e):.5*(2-Math.pow(2,-10*(e-1))),Wc={linear:ge,easeIn:F0,easeInOut:Ip,easeOut:O0,circIn:nu,circInOut:z0,circOut:Up,backIn:ru,backInOut:B0,backOut:Wp,anticipate:U0},$c=e=>{if(Array.isArray(e)){Fl(e.length===4);const[t,n,r,i]=e;return ii(t,n,r,i)}else if(typeof e=="string")return Fl(Wc[e]!==void 0),Wc[e];return e},W0=(e,t)=>n=>t(e(n)),dt=(...e)=>e.reduce(W0),Qr=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},H=(e,t,n)=>e+(t-e)*n;function No(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 $0({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=No(a,l,e+1/3),s=No(a,l,e),o=No(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function vs(e,t){return n=>n>0?t:e}const Mo=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},H0=[zl,nn,Nn],G0=e=>H0.find(t=>t.test(e));function Hc(e){const t=G0(e);if(!t)return!1;let n=t.parse(e);return t===Nn&&(n=$0(n)),n}const Gc=(e,t)=>{const n=Hc(e),r=Hc(t);if(!n||!r)return vs(e,t);const i={...n};return s=>(i.red=Mo(n.red,r.red,s),i.green=Mo(n.green,r.green,s),i.blue=Mo(n.blue,r.blue,s),i.alpha=H(n.alpha,r.alpha,s),nn.transform(i))},Wl=new Set(["none","hidden"]);function K0(e,t){return Wl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function b0(e,t){return n=>H(e,t,n)}function iu(e){return typeof e=="number"?b0:typeof e=="string"?Xa(e)?vs:he.test(e)?Gc:X0:Array.isArray(e)?$p:typeof e=="object"?he.test(e)?Gc:Q0:vs}function $p(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>iu(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function Q0(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=iu(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function Y0(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 X0=(e,t)=>{const n=zt.createTransformer(t),r=br(e),i=br(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?Wl.has(e)&&!i.values.length||Wl.has(t)&&!r.values.length?K0(e,t):dt($p(Y0(r,i),i.values),n):vs(e,t)};function Hp(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?H(e,t,n):iu(e)(e,t)}function Z0(e,t,n){const r=[],i=n||Hp,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]||ge:t;l=dt(a,l)}r.push(l)}return r}function q0(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Fl(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=Z0(t,r,i),l=o.length,a=u=>{let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const d=Qr(e[f],e[f+1],u);return o[f](d)};return n?u=>a(It(e[0],e[s-1],u)):a}function J0(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Qr(0,t,r);e.push(H(n,1,i))}}function e1(e){const t=[0];return J0(t,e.length-1),t}function t1(e,t){return e.map(n=>n*t)}function n1(e,t){return e.map(()=>t||Ip).splice(0,e.length-1)}function xs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=I0(r)?r.map($c):$c(r),s={done:!1,value:t[0]},o=t1(n&&n.length===t.length?n:e1(t),e),l=q0(o,t,{ease:Array.isArray(i)?i:n1(t,i)});return{calculatedDuration:e,next:a=>(s.value=l(a),s.done=a>=e,s)}}const Kc=2e4;function r1(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Kc;)t+=n,r=e.next(t);return t>=Kc?1/0:t}const i1=e=>{const t=({timestamp:n})=>e(n);return{start:()=>O.update(t,!0),stop:()=>yt(t),now:()=>le.isProcessing?le.timestamp:nt.now()}},s1={decay:Uc,inertia:Uc,tween:xs,keyframes:xs,spring:Fp},o1=e=>e/100;class su extends Lp{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)||qa,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new o(s,l,n,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,l=s1[n]||xs;let a,u;l!==xs&&typeof t[0]!="number"&&(a=dt(o1,Hp(t[0],t[1])),t=[0,100]);const f=l({...this.options,keyframes:t});s==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-o})),f.calculatedDuration===null&&(f.calculatedDuration=r1(f));const{calculatedDuration:d}=f,h=d+i,y=h*(r+1)-i;return{generator:f,mirroredGenerator:u,mapPercentToKeyframes:a,calculatedDuration:d,resolvedDuration:h,totalDuration:y}}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:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:f,resolvedDuration:d}=r;if(this.startTime===null)return s.next(0);const{delay:h,repeat:y,repeatType:v,repeatDelay:x,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-f/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 m=this.currentTime-h*(this.speed>=0?1:-1),p=this.speed>=0?m<0:m>f;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let g=this.currentTime,w=s;if(y){const P=Math.min(this.currentTime,f)/d;let V=Math.floor(P),A=P%1;!A&&P>=1&&(A=1),A===1&&V--,V=Math.min(V,y+1),!!(V%2)&&(v==="reverse"?(A=1-A,x&&(A-=x/d)):v==="mirror"&&(w=o)),g=It(0,1,A)*d}const k=p?{done:!1,value:a[0]}:w.next(g);l&&(k.value=l(k.value));let{done:j}=k;!p&&u!==null&&(j=this.speed>=0?this.currentTime>=f:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&j);return _&&i!==void 0&&(k.value=Hs(a,this.options,i)),C&&C(k.value),_&&this.finish(),k}get duration(){const{resolved:t}=this;return t?ct(t.calculatedDuration):0}get time(){return ct(this.currentTime)}set time(t){t=ut(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=ct(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=i1,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 Gp=new Set(["opacity","clipPath","filter","transform"]),Kp=e=>Array.isArray(e)&&typeof e[0]=="number";function bp(e){return!!(!e||typeof e=="string"&&e in ou||Kp(e)||Array.isArray(e)&&e.every(bp))}const hr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ou={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hr([0,.65,.55,1]),circOut:hr([.55,0,1,.45]),backIn:hr([.31,.01,.66,-.59]),backOut:hr([.33,1.53,.69,.99])};function l1(e){return Qp(e)||ou.easeOut}function Qp(e){if(e)return Kp(e)?hr(e):Array.isArray(e)?e.map(l1):ou[e]}function a1(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:l,times:a}={}){const u={[t]:n};a&&(u.offset=a);const f=Qp(l);return Array.isArray(f)&&(u.easing=f),e.animate(u,{delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const u1=Rp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ws=10,c1=2e4;function d1(e){return e.type==="spring"||!bp(e.ease)}function f1(e,t){const n=new su({...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<c1;)r=n.sample(s),i.push(r.value),s+=ws;return{times:void 0,keyframes:i,duration:s-ws,ease:"linear"}}class bc extends Lp{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:s}=this.options;this.resolver=new Ap(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:f}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(d1(this.options)){const{onComplete:h,onUpdate:y,motionValue:v,element:x,...C}=this.options,m=f1(t,C);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,s=m.times,o=m.ease,l="keyframes"}const d=a1(a.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return d.startTime=f??this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:h}=this.options;a.set(Hs(t,this.options,n)),h&&h(),this.cancel(),this.resolveFinishedPromise()},{animation:d,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 ct(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ct(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=ut(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 ge;const{animation:r}=n;r.timeline=t,r.onfinish=null}return ge}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:f,onComplete:d,element:h,...y}=this.options,v=new su({...y,keyframes:r,duration:i,type:s,ease:o,times:l,isGenerator:!0}),x=ut(this.time);u.setWithVelocity(v.sample(x-ws).value,v.sample(x).value,ws)}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 u1()&&r&&Gp.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&l!=="inertia"}}function h1(e,t){let n;const r=()=>{const{currentTime:i}=t,o=(i===null?0:i.value)/100;n!==o&&e(o),n=o};return O.update(r,!0),()=>yt(r)}const p1=Rp(()=>window.ScrollTimeline!==void 0);class m1{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){const n=this.animations.map(r=>{if(p1()&&r.attachTimeline)r.attachTimeline(t);else return r.pause(),h1(i=>{r.time=r.duration*i},t)}
40);return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].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]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const lu=(e,t,n,r={},i,s,o)=>l=>{const a=Ya(r,e)||{},u=a.delay||r.delay||0;let{elapsed:f=0}=r;f=f-ut(u);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-f,onUpdate:y=>{t.set(y),a.onUpdate&&a.onUpdate(y)},onComplete:()=>{l(),a.onComplete&&a.onComplete(),o&&o()},onStop:o,name:e,motionValue:t,element:s?void 0:i};Ov(a)||(d={...d,...Fv(e,d)}),d.duration&&(d.duration=ut(d.duration)),d.repeatDelay&&(d.repeatDelay=ut(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(h=!0)),h&&!s&&t.get()!==void 0){const y=Hs(d.keyframes,a);if(y!==void 0)return O.update(()=>{d.onUpdate(y),d.onComplete()}),new m1([])}return!s&&bc.supports(d)?new bc(d):new su(d)},g1=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),y1=e=>Vl(e)?e[e.length-1]||0:e;function Gs(e,t){e.indexOf(t)===-1&&e.push(t)}function Ks(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class au{constructor(){this.subscriptions=[]}add(t){return Gs(this.subscriptions,t),()=>Ks(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 Qc=30,v1=e=>!isNaN(parseFloat(e));class Yp{constructor(t,n={}){this.version="11.5.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=nt.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=nt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=v1(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 au);const r=this.events[t].add(n);return t==="change"?()=>{r(),O.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=nt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Qc)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Qc);return Dp(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 Yr(e,t){return new Yp(e,t)}function x1(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Yr(n))}function w1(e,t){const n=$s(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const l=y1(s[o]);x1(e,o,l)}}const bs=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),S1="framerAppearId",Xp="data-"+bs(S1);function Zp(e){return e.props[Xp]}function qp(e){if($t.has(e))return"transform";if(Gp.has(e))return bs(e)}class k1 extends Yp{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const n=qp(t);if(!n)return;const r=this.counts.get(n)||0;this.counts.set(n,r+1),r===0&&(this.output.push(n),this.update());let i=!1;return()=>{if(i)return;i=!0;const s=this.counts.get(n)-1;this.counts.set(n,s),s===0&&(Ks(this.output,n),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}const me=e=>!!(e&&e.getVelocity);function C1(e){return!!(me(e)&&e.add)}function $l(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");if(!r&&!(!((n=e.props.style)===null||n===void 0)&&n.willChange)&&(r=new k1("auto"),e.addValue("willChange",r)),C1(r))return r.add(t)}function T1({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Jp(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=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const d in a){const h=e.getValue(d,(s=e.latestValues[d])!==null&&s!==void 0?s:null),y=a[d];if(y===void 0||f&&T1(f,d))continue;const v={delay:n,...Ya(o||{},d)};let x=!1;if(window.MotionHandoffAnimation){const m=Zp(e);if(m){const p=window.MotionHandoffAnimation(m,d,O);p!==null&&(v.startTime=p,x=!0)}}h.start(lu(d,h,y,e.shouldReduceMotion&&$t.has(d)?{type:!1}
vendor: 48,094 bytes, line 40
40:v,e,x,$l(e,d)));const C=h.animation;C&&u.push(C)}return l&&Promise.all(u).then(()=>{O.update(()=>{l&&w1(e,l)})}),u}function Hl(e,t,n={}){var r;const i=$s(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(Jp(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:f=0,staggerChildren:d,staggerDirection:h}=s;return P1(e,t,f+u,d,h,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,f]=a==="beforeChildren"?[o,l]:[l,o];return u().then(()=>f())}else return Promise.all([o(),l(n.delay)])}function P1(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(j1).forEach((u,f)=>{u.notify("AnimationStart",t),o.push(Hl(u,t,{...s,delay:n+a(f)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function j1(e,t){return e.sortNodePosition(t)}function E1(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Hl(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Hl(e,t,n);else{const i=typeof t=="function"?$s(e,t,n.custom):t;r=Promise.all(Jp(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const _1=Qa.length;function em(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?em(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<_1;n++){const r=Qa[n],i=e.props[r];(Kr(i)||i===!1)&&(t[r]=i)}return t}const N1=[...ba].reverse(),M1=ba.length;function A1(e){return t=>Promise.all(t.map(({animation:n,options:r})=>E1(e,n,r)))}function R1(e){let t=A1(e),n=Yc(),r=!0;const i=a=>(u,f)=>{var d;const h=$s(e,f,a==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(h){const{transition:y,transitionEnd:v,...x}=h;u={...u,...x,...v}}return u};function s(a){t=a(e)}function o(a){const{props:u}=e,f=em(e.parent)||{},d=[],h=new Set;let y={},v=1/0;for(let C=0;C<M1;C++){const m=N1[C],p=n[m],g=u[m]!==void 0?u[m]:f[m],w=Kr(g),k=m===a?p.isActive:null;k===!1&&(v=C);let j=g===f[m]&&g!==u[m]&&w;if(j&&r&&e.manuallyAnimateOnMount&&(j=!1),p.protectedKeys={...y},!p.isActive&&k===null||!g&&!p.prevProp||Gr(g)||typeof g=="boolean")continue;const _=L1(p.prevProp,g);let P=_||m===a&&p.isActive&&!j&&w||C>v&&w,V=!1;const A=Array.isArray(g)?g:[g];let ne=A.reduce(i(m),{});k===!1&&(ne={});const{prevResolvedValues:xt={}}=p,Gt={...xt,...ne},Jn=q=>{P=!0,h.has(q)&&(V=!0,h.delete(q)),p.needsAnimating[q]=!0;const E=e.getValue(q);E&&(E.liveStyle=!1)};for(const q in Gt){const E=ne[q],R=xt[q];if(y.hasOwnProperty(q))continue;let L=!1;Vl(E)&&Vl(R)?L=!pp(E,R):L=E!==R,L?E!=null?Jn(q):h.add(q):E!==void 0&&h.has(q)?Jn(q):p.protectedKeys[q]=!0}p.prevProp=g,p.prevResolvedValues=ne,p.isActive&&(y={...y,...ne}),r&&e.blockInitialAnimation&&(P=!1),P&&(!(j&&_)||V)&&d.push(...A.map(q=>({animation:q,options:{type:m}})))}if(h.size){const C={};h.forEach(m=>{const p=e.getBaseTarget(m),g=e.getValue(m);g&&(g.liveStyle=!0),C[m]=p??null}),d.push({animation:C})}let x=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(d):Promise.resolve()}function l(a,u){var f;if(n[a].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var y;return(y=h.animationState)===null||y===void 0?void 0:y.setActive(a,u)}),n[a].isActive=u;const d=o(a);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Yc(),r=!0}}}function L1(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!pp(t,e):!1}function Qt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Yc(){return{animate:Qt(!0),whileInView:Qt(),whileHover:Qt(),whileTap:Qt(),whileDrag:Qt(),whileFocus:Qt(),exit:Qt()}}class Ht{constructor(t){this.isMounted=!1,this.node=t}update(){}}class D1 extends Ht{constructor(t){super(t),t.animationState||(t.animationState=R1(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Gr(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 V1=0;class F1 extends Ht{constructor(){super(...arguments),this.id=V1++}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 O1={animation:{Feature:D1},exit:{Feature:F1}},tm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Qs(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const I1=e=>t=>tm(t)&&e(t,Qs(t));function lt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ft(e,t,n,r){return lt(e,t,I1(n),r)}const Xc=(e,t)=>Math.abs(e-t);function z1(e,t){const n=Xc(e.x,t.x),r=Xc(e.y,t.y);return Math.sqrt(n**2+r**2)}class nm{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 d=Ro(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,y=z1(d.offset,{x:0,y:0})>=3;if(!h&&!y)return;const{point:v}=d,{timestamp:x}=le;this.history.push({...v,timestamp:x});const{onStart:C,onMove:m}=this.handlers;h||(C&&C(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Ao(h,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{this.end();const{onEnd:y,onSessionEnd:v,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Ro(d.type==="pointercancel"?this.lastMoveEventInfo:Ao(h,this.transformPagePoint),this.history);this.startEvent&&y&&y(d,C),v&&v(d,C)},!tm(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=Qs(t),l=Ao(o,this.transformPagePoint),{point:a}=l,{timestamp:u}=le;this.history=[{...a,timestamp:u}];const{onSessionStart:f}=n;f&&f(t,Ro(l,this.history)),this.removeListeners=dt(ft(this.contextWindow,"pointermove",this.handlePointerMove),ft(this.contextWindow,"pointerup",this.handlePointerUp),ft(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function Ao(e,t){return t?{point:t(e.point)}:e}function Zc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ro({point:e},t){return{point:e,delta:Zc(e,rm(t)),offset:Zc(e,B1(t)),velocity:U1(t,.1)}}function B1(e){return e[0]}function rm(e){return e[e.length-1]}function U1(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=rm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ut(t)));)n--;if(!r)return{x:0,y:0};const s=ct(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 im(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const qc=im("dragHorizontal"),Jc=im("dragVertical");function sm(e){let t=!1;if(e==="y")t=Jc();else if(e==="x")t=qc();else{const n=qc(),r=Jc();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function om(){const e=sm(!0);return e?(e(),!1):!0}function Mn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const lm=1e-4,W1=1-lm,$1=1+lm,am=.01,H1=0-am,G1=0+am;function Ae(e){return e.max-e.min}function K1(e,t,n){return Math.abs(e-t)<=n}function ed(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Ae(n)/Ae(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=W1&&e.scale<=$1||isNaN(e.scale))&&(e.scale=1),(e.translate>=H1&&e.translate<=G1||isNaN(e.translate))&&(e.translate=0)}function jr(e,t,n,r){ed(e.x,t.x,n.x,r?r.originX:void 0),ed(e.y,t.y,n.y,r?r.originY:void 0)}function td(e,t,n){e.min=n.min+t.min,e.max=e.min+Ae(t)}function b1(e,t,n){td(e.x,t.x,n.x),td(e.y,t.y,n.y)}function nd(e,t,n){e.min=t.min-n.min,e.max=e.min+Ae(t)}function Er(e,t,n){nd(e.x,t.x,n.x),nd(e.y,t.y,n.y)}function Q1(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function rd(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 Y1(e,{top:t,left:n,bottom:r,right:i}){return{x:rd(e.x,n,i),y:rd(e.y,t,r)}}function id(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 X1(e,t){return{x:id(e.x,t.x),y:id(e.y,t.y)}}function Z1(e,t){let n=.5;const r=Ae(e),i=Ae(t);return i>r?n=Qr(t.min,t.max-r,e.min):r>i&&(n=Qr(e.min,e.max-i,t.min)),It(0,1,n)}function q1(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 Gl=.35;function J1(e=Gl){return e===!1?e=0:e===!0&&(e=Gl),{x:sd(e,"left","right"),y:sd(e,"top","bottom")}}function sd(e,t,n){return{min:od(e,t),max:od(e,n)}}function od(e,t){return typeof e=="number"?e:e[t]||0}const ld=()=>({translate:0,scale:1,origin:0,originPoint:0}),An=()=>({x:ld(),y:ld()}),ad=()=>({min:0,max:0}),Y=()=>({x:ad(),y:ad()});function Ve(e){return[e("x"),e("y")]}function um({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ex({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tx(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 Lo(e){return e===void 0||e===1}function Kl({scale:e,scaleX:t,scaleY:n}){return!Lo(e)||!Lo(t)||!Lo(n)}function Zt(e){return Kl(e)||cm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function cm(e){return ud(e.x)||ud(e.y)}function ud(e){return e&&e!=="0%"}function Ss(e,t,n){const r=e-n,i=t*r;return n+i}function cd(e,t,n,r,i){return i!==void 0&&(e=Ss(e,i,r)),Ss(e,n,r)+t}function bl(e,t=0,n=1,r,i){e.min=cd(e.min,t,n,r,i),e.max=cd(e.max,t,n,r,i)}function dm(e,{x:t,y:n}){bl(e.x,t.translate,t.scale,t.originPoint),bl(e.y,n.translate,n.scale,n.originPoint)}const dd=.999999999999,fd=1.0000000000001;function nx(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&&Ln(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,dm(e,o)),r&&Zt(s.latestValues)&&Ln(e,s.latestValues))}t.x<fd&&t.x>dd&&(t.x=1),t.y<fd&&t.y>dd&&(t.y=1)}function Rn(e,t){e.min=e.min+t,e.max=e.max+t}function hd(e,t,n,r,i=.5){const s=H(e.min,e.max,i);bl(e,t,n,s,r)}function Ln(e,t){hd(e.x,t.x,t.scaleX,t.scale,t.originX),hd(e.y,t.y,t.scaleY,t.scale,t.originY)}function fm(e,t){return um(tx(e.getBoundingClientRect(),t))}function rx(e,t,n){const r=fm(e,n),{scroll:i}=t;return i&&(Rn(r.x,i.offset.x),Rn(r.y,i.offset.y)),r}const hm=({current:e})=>e?e.ownerDocument.defaultView:null,ix=new WeakMap;class sx{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=Y(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=f=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Qs(f,"page").point)},s=(f,d)=>{var h;const{drag:y,dragPropagation:v,onDragStart:x}=this.getProps();if(y&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=sm(y),!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),Ve(m=>{let p=this.getAxisMotionValue(m).get()||0;if(tt.test(p)){const{projection:g}=this.visualElement;if(g&&g.layout){const w=g.layout.layoutBox[m];w&&(p=Ae(w)*(parseFloat(p)/100))}}this.originPoint[m]=p}),x&&O.postRender(()=>x(f,d)),(h=this.removeWillChange)===null||h===void 0||h.call(this),this.removeWillChange=$l(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},o=(f,d)=>{const{dragPropagation:h,dragDirectionLock:y,onDirectionLock:v,onDrag:x}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:C}=d;if(y&&this.currentDirection===null){this.currentDirection=ox(C),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,C),this.updateAxis("y",d.point,C),this.visualElement.render(),x&&x(f,d)},l=(f,d)=>this.stop(f,d),a=()=>Ve(f=>{var d;return this.getAnimationState(f)==="paused"&&((d=this.getAxisMotionValue(f).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new nm(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:hm(this.visualElement)})}stop(t,n){var r;(r=this.removeWillChange)===null||r===void 0||r.call(this);const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&O.postRender(()=>o(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||!_i(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=Q1(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&&Mn(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Y1(i.layoutBox,n):this.constraints=!1,this.elastic=J1(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ve(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=q1(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Mn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=rx(r,i.root,this.visualElement.getTransformPagePoint());let o=X1(i.layout.layoutBox,s);if(n){const l=n(ex(o));this.hasMutatedConstraints=!!l,l&&(o=um(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=Ve(f=>{if(!_i(f,n,this.currentDirection))return;let d=a&&a[f]||{};o&&(d={min:0,max:0});const h=i?200:1e6,y=i?40:1e7,v={type:"inertia",velocity:r?t[f]:0,bounceStiffness:h,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(f,v)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(lu(t,r,0,n,this.visualElement,!1,$l(this.visualElement,t)))}stopAnimation(){Ve(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ve(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){Ve(n=>{const{drag:r}=this.getProps();if(!_i(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]-H(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Mn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ve(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const a=l.get();i[o]=Z1({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(),Ve(o=>{if(!_i(o,t,null))return;const l=this.getAxisMotionValue(o),{min:a,max:u}=this.constraints[o];l.set(H(a,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;ix.set(this.visualElement,this);const t=this.visualElement.current,n=ft(t,"pointerdown",a=>{const{drag:u,dragListener:f=!0}=this.getProps();u&&f&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();Mn(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()),O.read(r);const o=lt(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ve(f=>{const d=this.getAxisMotionValue(f);d&&(this.originPoint[f]+=a[f].translate,d.set(d.get()+a[f].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=Gl,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:l}}}function _i(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ox(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class lx extends Ht{constructor(t){super(t),this.removeGroupControls=ge,this.removeListeners=ge,this.controls=new sx(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ge}unmount(){this.removeGroupControls(),this.removeListeners()}}const pd=e=>(t,n)=>{e&&O.postRender(()=>e(t,n))};class ax extends Ht{constructor(){super(...arguments),this.removePointerDownListener=ge}onPointerDown(t){this.session=new nm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:pd(t),onStart:pd(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&O.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=ft(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 Ys=S.createContext(null);function ux(){const e=S.useContext(Ys);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();S.useEffect(()=>r(i),[]);const s=S.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,s]:[!0]}const uu=S.createContext({}),pm=S.createContext({}),Ki={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function md(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ar={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=md(e,t.target.x),r=md(e,t.target.y);return`${n}% ${r}%`}},cx={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=zt.parse(e);if(i.length>5)return r;const s=zt.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=H(l,a,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},ks={};function dx(e){Object.assign(ks,e)}const{schedule:cu,cancel:US}=mp(queueMicrotask,!1);class fx extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;dx(hx),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()})),Ki.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()||O.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),cu.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 mm(e){const[t,n]=ux(),r=S.useContext(uu);return c.jsx(fx,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(pm),isPresent:t,safeToRemove:n})}const hx={borderRadius:{...ar,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ar,borderTopRightRadius:ar,borderBottomLeftRadius:ar,borderBottomRightRadius:ar,boxShadow:cx},gm=["TopLeft","TopRight","BottomLeft","BottomRight"],px=gm.length,gd=e=>typeof e=="string"?parseFloat(e):e,yd=e=>typeof e=="number"||M.test(e);function mx(e,t,n,r,i,s){i?(e.opacity=H(0,n.opacity!==void 0?n.opacity:1,gx(r)),e.opacityExit=H(t.opacity!==void 0?t.opacity:1,0,yx(r))):s&&(e.opacity=H(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;o<px;o++){const l=`border${gm[o]}Radius`;let a=vd(t,l),u=vd(n,l);if(a===void 0&&u===void 0)continue;a||(a=0),u||(u=0),a===0||u===0||yd(a)===yd(u)?(e[l]=Math.max(H(gd(a),gd(u),r),0),(tt.test(u)||tt.test(a))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function vd(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const gx=ym(0,.5,Up),yx=ym(.5,.95,ge);function ym(e,t,n){return r=>r<e?0:r>t?1:n(Qr(e,t,r))}function xd(e,t){e.min=t.min,e.max=t.max}function De(e,t){xd(e.x,t.x),xd(e.y,t.y)}function wd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Sd(e,t,n,r,i){return e-=t,e=Ss(e,1/n,r),i!==void 0&&(e=Ss(e,1/i,r)),e}function vx(e,t=0,n=1,r=.5,i,s=e,o=e){if(tt.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=H(s.min,s.max,r);e===s&&(l-=t),e.min=Sd(e.min,t,n,l,i),e.max=Sd(e.max,t,n,l,i)}function kd(e,t,[n,r,i],s,o){vx(e,t[n],t[r],t[i],t.scale,s,o)}const xx=["x","scaleX","originX"],wx=["y","scaleY","originY"];function Cd(e,t,n,r){kd(e.x,t,xx,n?n.x:void 0,r?r.x:void 0),kd(e.y,t,wx,n?n.y:void 0,r?r.y:void 0)}function Td(e){return e.translate===0&&e.scale===1}function vm(e){return Td(e.x)&&Td(e.y)}function Pd(e,t){return e.min===t.min&&e.max===t.max}function Sx(e,t){return Pd(e.x,t.x)&&Pd(e.y,t.y)}function jd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function xm(e,t){return jd(e.x,t.x)&&jd(e.y,t.y)}function Ed(e){return Ae(e.x)/Ae(e.y)}function _d(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class kx{constructor(){this.members=[]}add(t){Gs(this.members,t),t.scheduleRender()}remove(t){if(Ks(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 Cx(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:f,rotateX:d,rotateY:h,skewX:y,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),f&&(r+=`rotate(${f}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `),y&&(r+=`skewX(${y}deg) `),v&&(r+=`skewY(${v}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 Tx=(e,t)=>e.depth-t.depth;class Px{constructor(){this.children=[],this.isDirty=!1}add(t){Gs(this.children,t),this.isDirty=!0}remove(t){Ks(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Tx),this.isDirty=!1,this.children.forEach(t)}}function bi(e){const t=me(e)?e.get():e;return g1(t)?t.toValue():t}function jx(e,t){const n=nt.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(yt(r),e(s-t))};return O.read(r,!0),()=>yt(r)}function Ex(e){return e instanceof SVGElement&&e.tagName!=="svg"}function _x(e,t,n){const r=me(e)?e:Yr(e);return r.start(lu("",r,t,n)),r.animation}const qt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},pr=typeof window<"u"&&window.MotionDebug!==void 0,Do=["","X","Y","Z"],Nx={visibility:"hidden"},Nd=1e3;let Mx=0;function Vo(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function wm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Zp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",O,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&wm(r)}function Sm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=t==null?void 0:t()){this.id=Mx++,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,pr&&(qt.totalNodes=qt.resolvedTargetDeltas=qt.recalculatedProjection=0),this.nodes.forEach(Lx),this.nodes.forEach(Ix),this.nodes.forEach(zx),this.nodes.forEach(Dx),pr&&window.MotionDebug.record(qt)},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 Px)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new au),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=Ex(o),this.instance=o;const{layoutId:a,layout:u,visualElement:f}=this.options;if(f&&!f.current&&f.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||a)&&(this.isLayoutDirty=!0),e){let d;const h=()=>this.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=jx(h,250),Ki.hasAnimatedSinceResize&&(Ki.hasAnimatedSinceResize=!1,this.nodes.forEach(Ad))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&f&&(a||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeTargetChanged:y,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||f.getDefaultTransition()||Hx,{onLayoutAnimationStart:C,onLayoutAnimationComplete:m}=f.getProps(),p=!this.targetLayout||!xm(this.targetLayout,v)||y,g=!h&&y;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||h&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const w={...Ya(x,"layout"),onPlay:C,onComplete:m};(f.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else h||Ad(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}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,yt(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(Bx),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&&wm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){const d=this.path[f];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.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(Md);return}this.isUpdating||this.nodes.forEach(Fx),this.isUpdating=!1,this.nodes.forEach(Ox),this.nodes.forEach(Ax),this.nodes.forEach(Rx),this.clearAllSnapshots();const l=nt.now();le.delta=It(0,1e3/60,l-le.timestamp),le.timestamp=l,le.isProcessing=!0,jo.update.process(le),jo.preRender.process(le),jo.render.process(le),le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Vx),this.sharedNodes.forEach(Ux)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.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=Y(),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&&!vm(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,f=u!==this.prevTransformTemplateValue;o&&(l||Zt(this.latestValues)||f)&&(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)),Gx(a),{animationId:this.root.animationId,measuredBox:l,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var o;const{visualElement:l}=this.options;if(!l)return Y();const a=l.measureViewportBox();if(!(((o=this.scroll)===null||o===void 0?void 0:o.wasRoot)||this.path.some(Kx))){const{scroll:f}=this.root;f&&(Rn(a.x,f.offset.x),Rn(a.y,f.offset.y))}return a}removeElementScroll(o){var l;const a=Y();if(De(a,o),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const f=this.path[u],{scroll:d,options:h}=f;f!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&De(a,o),Rn(a.x,d.offset.x),Rn(a.y,d.offset.y))}return a}applyTransform(o,l=!1){const a=Y();De(a,o);for(let u=0;u<this.path.length;u++){const f=this.path[u];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Ln(a,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),Zt(f.latestValues)&&Ln(a,f.latestValues)}return Zt(this.latestValues)&&Ln(a,this.latestValues),a}removeTransform(o){const l=Y();De(l,o);for(let a=0;a<this.path.length;a++){const u=this.path[a];if(!u.instance||!Zt(u.latestValues))continue;Kl(u.latestValues)&&u.updateSnapshot();const f=Y(),d=u.measurePageBox();De(f,d),Cd(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,f)}return Zt(this.latestValues)&&Cd(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!==le.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:d,layoutId:h}=this.options;if(!(!this.layout||!(d||h))){if(this.resolvedRelativeTargetAt=le.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Er(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),b1(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),dm(this.target,this.targetDelta)):De(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Er(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}pr&&qt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Kl(this.parent.latestValues)||cm(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===le.timestamp&&(u=!1),u)return;const{layout:f,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||d))return;De(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,y=this.treeScale.y;nx(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=Y());const{target:v}=l;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(wd(this.prevProjectionDelta.x,this.projectionDelta.x),wd(this.prevProjectionDelta.y,this.projectionDelta.y)),jr(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==y||!_d(this.projectionDelta.x,this.prevProjectionDelta.x)||!_d(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),pr&&qt.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=An(),this.projectionDelta=An(),this.projectionDeltaWithTransform=An()}setAnimationOrigin(o,l=!1){const a=this.snapshot,u=a?a.latestValues:{},f={...this.latestValues},d=An();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=Y(),y=a?a.source:void 0,v=this.layout?this.layout.source:void 0,x=y!==v,C=this.getStack(),m=!C||C.members.length<=1,p=!!(x&&!m&&this.options.crossfade===!0&&!this.path.some($x));this.animationProgress=0;let g;this.mixTargetDelta=w=>{const k=w/1e3;Rd(d.x,o.x,k),Rd(d.y,o.y,k),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Er(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Wx(this.relativeTarget,this.relativeTargetOrigin,h,k),g&&Sx(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=Y()),De(g,this.relativeTarget)),x&&(this.animationValues=f,mx(f,u,this.latestValues,k,p,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},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&&(yt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{Ki.hasAnimatedSinceResize=!0,this.currentAnimation=_x(0,Nd,{...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(Nd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:f}=o;if(!(!l||!a||!u)){if(this!==o&&this.layout&&u&&km(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||Y();const d=Ae(this.layout.layoutBox.x);a.x.min=o.target.x.min,a.x.max=a.x.min+d;const h=Ae(this.layout.layoutBox.y);a.y.min=o.target.y.min,a.y.max=a.y.min+h}De(l,a),Ln(l,f),jr(this.projectionDeltaWithTransform,this.layoutCorrected,l,f)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new kx),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&&Vo("z",o,u,this.animationValues);for(let f=0;f<Do.length;f++)Vo(`rotate${Do[f]}`,o,u,this.animationValues),Vo(`skew${Do[f]}`,o,u,this.animationValues);o.render();for(const f in u)o.setStaticValue(f,u[f]),this.animationValues&&(this.animationValues[f]=u[f]);o.scheduleRender()}getProjectionStyles(o){var l,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Nx;const u={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=bi(o==null?void 0:o.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=bi(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!Zt(this.latestValues)&&(x.transform=f?f({},""):"none",this.hasProjected=!1),x}const h=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=Cx(this.projectionDeltaWithTransform,this.treeScale,h),f&&(u.transform=f(h,u.transform));const{x:y,y:v}=this.projectionDelta;u.transformOrigin=`${y.origin*100}% ${v.origin*100}% 0`,d.animationValues?u.opacity=d===this?(a=(l=h.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:u.opacity=d===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const x in ks){if(h[x]===void 0)continue;const{correct:C,applyTo:m}=ks[x],p=u.transform==="none"?h[x]:C(h[x],d);if(m){const g=m.length;for(let w=0;w<g;w++)u[m[w]]=p}else u[x]=p}return this.options.layoutId&&(u.pointerEvents=d===this?bi(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(Md),this.root.sharedNodes.clear()}}}function Ax(e){e.updateLayout()}function Rx(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"?Ve(d=>{const h=o?n.measuredBox[d]:n.layoutBox[d],y=Ae(h);h.min=r[d].min,h.max=h.min+y}):km(s,n.layoutBox,r)&&Ve(d=>{const h=o?n.measuredBox[d]:n.layoutBox[d],y=Ae(r[d]);h.max=h.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+y)});const l=An();jr(l,r,n.layoutBox);const a=An();o?jr(a,e.applyTransform(i,!0),n.measuredBox):jr(a,r,n.layoutBox);const u=!vm(l);let f=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:y}=d;if(h&&y){const v=Y();Er(v,n.layoutBox,h.layoutBox);const x=Y();Er(x,r,y.layoutBox),xm(v,x)||(f=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:f})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Lx(e){pr&&qt.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 Dx(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Vx(e){e.clearSnapshot()}function Md(e){e.clearMeasurements()}function Fx(e){e.isLayoutDirty=!1}function Ox(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ad(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ix(e){e.resolveTargetDelta()}function zx(e){e.calcProjection()}
40function Bx(e){e.resetSkewAndRotation()}function Ux(e){e.removeLeadSnapshot()}function Rd(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ld(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function Wx(e,t,n,r){Ld(e.x,t.x,n.x,r),Ld(e.y,t.y,n.y,r)}function $x(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Hx={duration:.45,ease:[.4,0,.1,1]},Dd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Vd=Dd("applewebkit/")&&!Dd("chrome/")?Math.round:ge;function Fd(e){e.min=Vd(e.min),e.max=Vd(e.max)}function Gx(e){Fd(e.x),Fd(e.y)}function km(e,t,n){return e==="position"||e==="preserve-aspect"&&!K1(Ed(t),Ed(n),.2)}function Kx(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const bx=Sm({attachResizeListener:(e,t)=>lt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Fo={current:void 0},Cm=Sm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fo.current){const e=new bx({});e.mount(window),e.setOptions({layoutScroll:!0}),Fo.current=e}return Fo.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Qx={pan:{Feature:ax},drag:{Feature:lx,ProjectionNode:Cm,MeasureLayout:mm}};function Od(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(s,o)=>{if(s.pointerType==="touch"||om())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const a=l[r];a&&O.postRender(()=>a(s,o))};return ft(e.current,n,i,{passive:!e.getProps()[r]})}class Yx extends Ht{mount(){this.unmount=dt(Od(this.node,!0),Od(this.node,!1))}unmount(){}}class Xx extends Ht{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=dt(lt(this.node.current,"focus",()=>this.onFocus()),lt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Tm=(e,t)=>t?e===t?!0:Tm(e,t.parentElement):!1;function Oo(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Qs(n))}class Zx extends Ht{constructor(){super(...arguments),this.removeStartListeners=ge,this.removeEndListeners=ge,this.removeAccessibleListeners=ge,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=ft(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:f,globalTapTarget:d}=this.node.getProps(),h=!d&&!Tm(this.node.current,l.target)?f:u;h&&O.update(()=>h(l,a))},{passive:!(r.onTap||r.onPointerUp)}),o=ft(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=dt(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()||Oo("up",(a,u)=>{const{onTap:f}=this.node.getProps();f&&O.postRender(()=>f(a,u))})};this.removeEndListeners(),this.removeEndListeners=lt(this.node.current,"keyup",o),Oo("down",(l,a)=>{this.startPress(l,a)})},n=lt(this.node.current,"keydown",t),r=()=>{this.isPressing&&Oo("cancel",(s,o)=>this.cancelPress(s,o))},i=lt(this.node.current,"blur",r);this.removeAccessibleListeners=dt(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&&O.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!om()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&O.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ft(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=lt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=dt(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ql=new WeakMap,Io=new WeakMap,qx=e=>{const t=Ql.get(e.target);t&&t(e)},Jx=e=>{e.forEach(qx)};function ew({root:e,...t}){const n=e||document;Io.has(n)||Io.set(n,{});const r=Io.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Jx,{root:e,...t})),r[i]}function tw(e,t,n){const r=ew(t);return Ql.set(e,n),r.observe(e),()=>{Ql.delete(e),r.unobserve(e)}}const nw={some:0,all:1};class rw extends Ht{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:nw[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:f,onViewportLeave:d}=this.node.getProps(),h=u?f:d;h&&h(a)};return tw(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(iw(t,n))&&this.startObserver()}unmount(){}}function iw({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const sw={inView:{Feature:rw},tap:{Feature:Zx},focus:{Feature:Xx},hover:{Feature:Yx}},ow={layout:{ProjectionNode:Cm,MeasureLayout:mm}},du=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Xs=S.createContext({}),fu=typeof window<"u",Pm=fu?S.useLayoutEffect:S.useEffect,jm=S.createContext({strict:!1});let Id=!1;function lw(e,t,n,r,i){var s;const{visualElement:o}=S.useContext(Xs),l=S.useContext(jm),a=S.useContext(Ys),u=S.useContext(du).reducedMotion,f=S.useRef();r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:u}));const d=f.current,h=S.useContext(pm);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&uw(f.current,n,i,h),S.useInsertionEffect(()=>{d&&d.update(n,a)});const y=n[Xp],v=S.useRef(!!y&&!window.MotionHandoffIsComplete&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,y)));return Pm(()=>{d&&(d.updateFeatures(),cu.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),S.useEffect(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current=!1,Id||(Id=!0,queueMicrotask(aw)))}),d}function aw(){window.MotionHandoffIsComplete=!0}function uw(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:Em(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||l&&Mn(l),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}function Em(e){if(e)return e.options.allowProjection!==!1?e.projection:Em(e.parent)}function cw(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Mn(n)&&(n.current=r))},[t])}function Zs(e){return Gr(e.animate)||Qa.some(t=>Kr(e[t]))}function _m(e){return!!(Zs(e)||e.variants)}function dw(e,t){if(Zs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Kr(n)?n:void 0,animate:Kr(r)?r:void 0}}return e.inherit!==!1?t:{}}function fw(e){const{initial:t,animate:n}=dw(e,S.useContext(Xs));return S.useMemo(()=>({initial:t,animate:n}),[zd(t),zd(n)])}function zd(e){return Array.isArray(e)?e.join(" "):e}const Bd={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"]},Qn={};for(const e in Bd)Qn[e]={isEnabled:t=>Bd[e].some(n=>!!t[n])};function hw(e){for(const t in e)Qn[t]={...Qn[t],...e[t]}}const pw=Symbol.for("motionComponentSymbol");function mw({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&hw(e);function s(l,a){let u;const f={...S.useContext(du),...l,layoutId:gw(l)},{isStatic:d}=f,h=fw(l),y=r(l,d);if(!d&&fu){yw();const v=vw(f);u=v.MeasureLayout,h.visualElement=lw(i,y,f,t,v.ProjectionNode)}return c.jsxs(Xs.Provider,{value:h,children:[u&&h.visualElement?c.jsx(u,{visualElement:h.visualElement,...f}):null,n(i,l,cw(y,h.visualElement,a),y,d,h.visualElement)]})}const o=S.forwardRef(s);return o[pw]=i,o}function gw({layoutId:e}){const t=S.useContext(uu).id;return t&&e!==void 0?t+"-"+e:e}function yw(e,t){S.useContext(jm).strict}function vw(e){const{drag:t,layout:n}=Qn;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}}
40const xw=["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 hu(e){return typeof e!="string"||e.includes("-")?!1:!!(xw.indexOf(e)>-1||/[A-Z]/u.test(e))}function Nm(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 Mm=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 Am(e,t,n,r){Nm(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Mm.has(i)?i:bs(i),t.attrs[i])}function Rm(e,{layout:t,layoutId:n}){return $t.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ks[e]||e==="opacity")}function pu(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(me(i[o])||t.style&&me(t.style[o])||Rm(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 n&&i&&typeof i.willChange=="string"&&(n.applyWillChange=!1),s}function Lm(e,t,n){const r=pu(e,t,n);for(const i in e)if(me(e[i])||me(t[i])){const s=ti.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function mu(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}function ww({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,s,o,l){const a={latestValues:kw(i,s,o,l?!1:e,t),renderState:n()};return r&&(a.mount=u=>r(i,u,a)),a}const Dm=e=>(t,n)=>{const r=S.useContext(Xs),i=S.useContext(Ys),s=()=>ww(e,t,r,i,n);return n?s():mu(s)};function Sw(e,t){const n=qp(t);n&&Gs(e,n)}function Ud(e,t,n){const r=Array.isArray(t)?t:[t];for(let i=0;i<r.length;i++){const s=Ka(e,r[i]);if(s){const{transitionEnd:o,transition:l,...a}=s;n(a,o)}}}function kw(e,t,n,r,i){var s;const o={},l=[],a=r&&((s=e.style)===null||s===void 0?void 0:s.willChange)===void 0,u=i(e,{});for(const C in u)o[C]=bi(u[C]);let{initial:f,animate:d}=e;const h=Zs(e),y=_m(e);t&&y&&!h&&e.inherit!==!1&&(f===void 0&&(f=t.initial),d===void 0&&(d=t.animate));let v=n?n.initial===!1:!1;v=v||f===!1;const x=v?d:f;return x&&typeof x!="boolean"&&!Gr(x)&&Ud(e,x,(C,m)=>{for(const p in C){let g=C[p];if(Array.isArray(g)){const w=v?g.length-1:0;g=g[w]}g!==null&&(o[p]=g)}for(const p in m)o[p]=m[p]}),a&&(d&&f!==!1&&!Gr(d)&&Ud(e,d,C=>{for(const m in C)Sw(l,m)}),l.length&&(o.willChange=l.join(","))),o}const gu=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Vm=()=>({...gu(),attrs:{}}),Fm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Cw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Tw=ti.length;function Pw(e,t,n){let r="",i=!0;for(let s=0;s<Tw;s++){const o=ti[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=Fm(l,eu[o]);if(!a){i=!1;const f=Cw[o]||o;r+=`${f}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function yu(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($t.has(a)){o=!0;continue}else if(xp(a)){i[a]=u;continue}else{const f=Fm(u,eu[a]);a.startsWith("origin")?(l=!0,s[a]=f):r[a]=f}}if(t.transform||(o||n?r.transform=Pw(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:a="50%",originY:u="50%",originZ:f=0}=s;r.transformOrigin=`${a} ${u} ${f}`}}function Wd(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function jw(e,t,n){const r=Wd(t,e.x,e.width),i=Wd(n,e.y,e.height);return`${r} ${i}`}const Ew={offset:"stroke-dashoffset",array:"stroke-dasharray"},_w={offset:"strokeDashoffset",array:"strokeDasharray"};function Nw(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?Ew:_w;e[s.offset]=M.transform(-r);const o=M.transform(t),l=M.transform(n);e[s.array]=`${o} ${l}`}function vu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:l=1,pathOffset:a=0,...u}
vendor: 2,773 bytes, line 40
40,f,d){if(yu(e,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:y,dimensions:v}=e;h.transform&&(v&&(y.transform=h.transform),delete h.transform),v&&(i!==void 0||s!==void 0||y.transform)&&(y.transformOrigin=jw(v,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),o!==void 0&&Nw(h,o,l,a,!1)}const xu=e=>typeof e=="string"&&e.toLowerCase()==="svg",Mw={useVisualState:Dm({scrapeMotionValuesFromProps:Lm,createRenderState:Vm,onMount:(e,t,{renderState:n,latestValues:r})=>{O.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{vu(n,r,xu(t.tagName),e.transformTemplate),Am(t,n)})}})},Aw={useVisualState:Dm({applyWillChange:!0,scrapeMotionValuesFromProps:pu,createRenderState:gu})};function Om(e,t,n){for(const r in t)!me(t[r])&&!Rm(r,n)&&(e[r]=t[r])}function Rw({transformTemplate:e},t){return S.useMemo(()=>{const n=gu();return yu(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Lw(e,t){const n=e.style||{},r={};return Om(r,n,e),Object.assign(r,Rw(e,t)),r}function Dw(e,t){const n={},r=Lw(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 Vw=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 Cs(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Vw.has(e)}let Im=e=>!Cs(e);function Fw(e){e&&(Im=t=>t.startsWith("on")?!Cs(t):e(t))}try{Fw(require("@emotion/is-prop-valid").default)}catch{}function Ow(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Im(i)||n===!0&&Cs(i)||!t&&!Cs(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Iw(e,t,n,r){const i=S.useMemo(()=>{const s=Vm();return vu(s,t,xu(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Om(s,e.style,e),i.style={...s,...i.style}}return i}function zw(e=!1){return(n,r,i,{latestValues:s},o)=>{const a=(hu(n)?Iw:Dw)(r,s,o,n),u=Ow(r,typeof n=="string",e),f=n!==S.Fragment?{...u,...a,ref:i}
vendor: 5,479 bytes, line 40
40:{},{children:d}=r,h=S.useMemo(()=>me(d)?d.get():d,[d]);return S.createElement(n,{...f,children:h})}}function Bw(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...hu(r)?Mw:Aw,preloadedFeatures:e,useRender:zw(i),createVisualElement:t,Component:r};return mw(o)}}const Yl={current:null},zm={current:!1};function Uw(){if(zm.current=!0,!!fu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Yl.current=e.matches;e.addListener(t),t()}else Yl.current=!1}function Ww(e,t,n){for(const r in t){const i=t[r],s=n[r];if(me(i))e.addValue(r,i);else if(me(s))e.addValue(r,Yr(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,Yr(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const $d=new WeakMap,$w=[...kp,he,zt],Hw=e=>$w.find(Sp(e)),Hd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Gw{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},l={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qa,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 h=nt.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,O.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=Zs(n),this.isVariantNode=_m(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in d){const y=d[h];a[h]!==void 0&&me(y)&&y.set(a[h],!1)}}mount(t){this.current=t,$d.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)),zm.current||Uw(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Yl.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$d.delete(this.current),this.projection&&this.projection.unmount(),yt(this.notifyUpdate),yt(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=$t.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&O.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 Qn){const n=Qn[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):Y()}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<Hd.length;r++){const i=Hd[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=Ww(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: 9,814 bytes, lines 40-98
40addVariantChild(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=Yr(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"&&(yp(i)||gp(i))?i=parseFloat(i):!Hw(i)&&zt.test(n)&&(i=Mp(t,n)),this.setBaseTarget(t,me(i)?i.get():i)),me(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=Ka(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&&!me(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 au),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Bm extends Gw{constructor(){super(...arguments),this.KeyframeResolver=Ap}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 Kw(e){return window.getComputedStyle(e)}class bw extends Bm{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Nm}readValueFromInstance(t,n){if($t.has(n)){const r=tu(n);return r&&r.default||0}else{const r=Kw(t),i=(xp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return fm(t,n)}build(t,n,r){yu(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return pu(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Qw extends Bm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if($t.has(n)){const r=tu(n);return r&&r.default||0}return n=Mm.has(n)?n:bs(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Lm(t,n,r)}build(t,n,r){vu(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){Am(t,n,r,i)}mount(t){this.isSVGTag=xu(t.tagName),super.mount(t)}}const Yw=(e,t)=>hu(e)?new Qw(t):new bw(t,{allowProjection:e!==S.Fragment}),Xw=Bw({...O1,...sw,...Qx,...ow},Yw),Ke=Av(Xw);class Zw extends S.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 qw({children:e,isPresent:t}){const n=S.useId(),r=S.useRef(null),i=S.useRef({width:0,height:0,top:0,left:0}),{nonce:s}=S.useContext(du);return S.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 f=document.createElement("style");return s&&(f.nonce=s),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(` 41 [data-motion-pop-id="${n}"] { 42 position: absolute !important; 43 width: ${o}px !important; 44 height: ${l}px !important; 45 top: ${a}px !important; 46 left: ${u}px !important; 47 } 48 `),()=>{document.head.removeChild(f)}},[t]),c.jsx(Zw,{isPresent:t,childRef:r,sizeRef:i,children:S.cloneElement(e,{ref:r})})}const Jw=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o})=>{const l=mu(eS),a=S.useId(),u=S.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:f=>{l.set(f,!0);for(const d of l.values())if(!d)return;r&&r()},register:f=>(l.set(f,!1),()=>l.delete(f))}),s?[Math.random()]:[n]);return S.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[n]),S.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),o==="popLayout"&&(e=c.jsx(qw,{isPresent:n,children:e})),c.jsx(Ys.Provider,{value:u,children:e})};function eS(){return new Map}const Ni=e=>e.key||"";function Gd(e){const t=[];return S.Children.forEach(e,n=>{S.isValidElement(n)&&t.push(n)}),t}const si=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:s=!0,mode:o="sync"})=>{const l=S.useMemo(()=>Gd(e),[e]),a=l.map(Ni),u=S.useRef(!0),f=S.useRef(l),d=mu(()=>new Map),[h,y]=S.useState(l),[v,x]=S.useState(l);Pm(()=>{u.current=!1,f.current=l;for(let p=0;p<v.length;p++){const g=Ni(v[p]);a.includes(g)?d.delete(g):d.get(g)!==!0&&d.set(g,!1)}},[v,a.length,a.join("-")]);const C=[];if(l!==h){let p=[...l];for(let g=0;g<v.length;g++){const w=v[g],k=Ni(w);a.includes(k)||(p.splice(g,0,w),C.push(w))}o==="wait"&&C.length&&(p=C),x(Gd(p)),y(l);return}const{forceRender:m}=S.useContext(uu);return c.jsx(c.Fragment,{children:v.map(p=>{const g=Ni(p),w=l===v||a.includes(g),k=()=>{if(d.has(g))d.set(g,!0);else return;let j=!0;d.forEach(_=>{_||(j=!1)}),j&&(m==null||m(),x(f.current),i&&i())};return c.jsx(Jw,{isPresent:w,initial:!u.current||r?void 0:!1,custom:w?void 0:n,presenceAffectsLayout:s,mode:o,onExitComplete:w?void 0:k,children:p},g)})})};/** 49 * @license lucide-react v0.447.0 - ISC 50 * 51 * This source code is licensed under the ISC license. 52 * See the LICENSE file in the root directory of this source tree. 53 */const tS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Um=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** 54 * @license lucide-react v0.447.0 - ISC 55 * 56 * This source code is licensed under the ISC license. 57 * See the LICENSE file in the root directory of this source tree. 58 */var nS={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"};/** 59 * @license lucide-react v0.447.0 - ISC 60 * 61 * This source code is licensed under the ISC license. 62 * See the LICENSE file in the root directory of this source tree. 63 */const rS=S.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...l},a)=>S.createElement("svg",{ref:a,...nS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Um("lucide",i),...l},[...o.map(([u,f])=>S.createElement(u,f)),...Array.isArray(s)?s:[s]]));/** 64 * @license lucide-react v0.447.0 - ISC 65 * 66 * This source code is licensed under the ISC license. 67 * See the LICENSE file in the root directory of this source tree. 68 */const te=(e,t)=>{const n=S.forwardRef(({className:r,...i},s)=>S.createElement(rS,{ref:s,iconNode:t,className:Um(`lucide-${tS(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 69 * @license lucide-react v0.447.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const iS=te("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 74 * @license lucide-react v0.447.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */const sS=te("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/** 79 * @license lucide-react v0.447.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const oS=te("Clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);/** 84 * @license lucide-react v0.447.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const Wm=te("CopyCheck",[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 89 * @license lucide-react v0.447.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const $m=te("FileJson2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"fq0c9t"}],["path",{d:"M8 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"4gibmv"}]]);/** 94 * @license lucide-react v0.447.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const lS=te("FileQuestion",[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",ke
98y:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);/** 99 * @license lucide-react v0.447.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const Hm=te("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/** 104 * @license lucide-react v0.447.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const aS=te("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** 109 * @license lucide-react v0.447.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const uS=te("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 114 * @license lucide-react v0.447.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */const Gm=te("ReplyAll",[["polyline",{points:"7 17 2 12 7 7",key:"t83bqg"}],["polyline",{points:"12 17 7 12 12 7",key:"1g4ajm"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}]]);/** 119 * @license lucide-react v0.447.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const Ts=te("Reply",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]]);/** 124 * @license lucide-react v0.447.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const Km=te("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/** 129 * @license lucide-react v0.447.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree. 133 */const bm=te("SquareCheck",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 134 * @license lucide-react v0.447.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const Qm=te("SquareChevronLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m14 16-4-4 4-4",key:"ojs7w8"}]]);/** 139 * @license lucide-react v0.447.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const Ym=te("SquareChevronRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]);/** 144 * @license lucide-react v0.447.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const Xm=te("SquareMinus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);/** 149 * @license lucide-react v0.447.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const Zm=te("SquarePlus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/** 154 * @license lucide-react v0.447.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const cS=te("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 159 * @license lucide-react v0.447.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const dS=te("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
163],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]),wu=({isOpen:e})=>c.jsx(Ke.button,{className:"toggle-accordion",animate:{rotate:e?180:0},children:c.jsx(iS,{size:16})}),fS=({children:e,name:t,value:n})=>{const[r,i]=S.useState(!1);function s(){i(o=>!o)}return c.jsxs("div",{className:"property__container",children:[c.jsxs("div",{className:"property__title--with-toggle-button property__title--margin-0",onClick:s,children:[c.jsx(Ws,{name:t,value:n}),c.jsx(wu,{isOpen:r})]}),c.jsx("div",{className:"collapsible",children:c.jsx(si,{children:r&&c.jsx(Ke.div,{initial:{opacity:1,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:1,height:0},children:c.jsx("div",{className:"collapsible--one-col",children:e})})})})]})},hS=({children:e,name:t,value:n})=>{const[r,i]=S.useState(!1);function s(){i(o=>!o)}return c.jsxs("div",{className:"property__container",children:[c.jsxs("div",{className:"property__title--with-toggle-button property__title--margin-0",onClick:s,children:[c.jsx(Ws,{name:t,value:n}),c.jsx(wu,{isOpen:r})]}),c.jsx("div",{className:"collapsible",children:c.jsx(si,{children:r&&c.jsx(Ke.div,{initial:{opacity:1,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:1,height:0},children:c.jsx("div",{className:"collapsible--two-cols",children:e})})})})]})},Mi={width:"Width",height:"Height"},Ps=({tab:e,setTab:t,property:n,children:r})=>{function i(s){e!==`${s}${Mi[n]}`?t(`${s}${Mi[n]}`):t(n)}return c.jsxs("div",{className:"tabs",children:[c.jsxs("div",{className:"tab__button-container",children:[c.jsx("button",{className:e===`min${Mi[n]}`?"tab__button tab__button--active":"tab__button",onClick:()=>i("min"),children:c.jsx("span",{children:"min"})}),c.jsx("button",{className:e===`max${Mi[n]}`?"tab__button tab__button--active":"tab__button",onClick:()=>i("max"),children:c.jsx("span",{children:"max"})})]}),r]})};function qm(){return S.useContext(ap)}const pS=()=>{const{handleMenuScreen:e,menuScreen:t}=qm();function n(r){r.stopPropagation(),e("about")}return c.jsxs("h1",{className:t==="about"?"logo logo--active":"logo",onClick:r=>n(r),children:[c.jsx("span",{className:"logo__first-word",children:" flex "}),c.jsx("span",{className:"logo__second-word",children:" Playground "})]})},mS=({flexContainerStyle:e,dispatch:t,handleResetContainer:n})=>{const[r,i]=S.useState("width"),[s,o]=S.useState("height");function l(a,u){t({type:"update-container",style:{[a]:u}})}return c.jsxs("section",{className:"flex-container-controls flow",children:[c.jsx(pS,{}),c.jsxs("div",{className:"controls__title__with-button",children:[c.jsx("h2",{className:"controls__title",children:"Flex Container"}),c.jsx("div",{children:c.jsx("button",{className:"flex-container-controls__button",onClick:n,"data-tooltip":"Reset container styles",children:c.jsx(Ts,{size:20})})})]}),c.jsxs("div",{className:"scrollable flow",children:[c.jsx(ae,{name:"display",handleUpdate:l,currentValues:[e.display]}),c.jsx(Ps,{tab:r,setTab:i,property:"width",children:c.jsx(ae,{name:r,handleUpdate:l,currentValues:[e[r]]})}),c.jsx(Ps,{tab:s,setTab:o,property:"height",children:c.jsx(ae,{name:s,handleUpdate:l,currentValues:[e[s]]})}),c.jsxs(fS,{name:"flex-flow",value:`${e.flexDirection} ${e.flexWrap}`,children:[c.jsx(ae,{name:"flexDirection",handleUpdate:l,currentValues:[e.flexDirection]}),c.jsx(ae,{name:"flexWrap",handleUpdate:l,currentValues:[e.flexWrap]})]}),c.jsx(ae,{name:"justifyContent",handleUpdate:l,currentValues:[e.justifyContent]}),c.jsx(ae,{name:"alignItems",handleUpdate:l,currentValues:[e.alignItems]}),c.jsx(ae,{name:"alignContent",handleUpdate:l,currentValues:[e.alignContent]}),c.jsxs(hS,{name:"gap",value:e.rowGap===e.columnGap?e.rowGap:`${e.rowGap} ${e.columnGap}`,children:[c.jsx(ae,{name:"rowGap",handleUpdate:l,currentValues:[e.rowGap]}),c.jsx(ae,{name:"columnGap",handleUpdate:l,currentValues:[e.columnGap]})]})]})]})};function Jm(e){if(e==="0 1 auto")return"initial";if(e==="0 0 auto")return"none";const[t,n,r]=e.split(" ");return n==="1"&&(r==="0"||r==="0%")?t:t==="1"&&n==="1"?r:null}function gS(e){return e.map(t=>Jm(t)).join(", ")}const yS=({handleUpdate:e,currentFlexValues:t,currentGrowValues:n,currentShrinkValues:r,currentBasisValues:i})=>{const[s,o]=S.useState(!1),l=gS(t);function a(){o(h=>!h)}function u(h,y){e(h,`${y} 1 0`)}function f(h,y){e(h,`1 1 ${y}`)}function d(h,y){const v={flexGrow:n.length>1?"0":n[0],flexShrink:r.length>1?"1":r[0],flexBasis:i.length>1?"auto":i[0],[h]:y},x=`${v.flexGrow} ${v.flexShrink} ${v.flexBasis}`;e("flex",x)}return c.jsxs("div",{className:"property__container",children:[c.jsxs("div",{className:"property__title--with-toggle-button",onClick:a,children:[c.jsxs("h3",{className:"property__title",children:[c.jsx("span",{className:"property__title__name",children:"flex:"}),t.length===1&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"property__title__value",children:t}),l&&c.jsxs("span",{className:"property__title__value property__title__value--flex-shorthand",children:["= ",l]})]}),t.length>1&&c.jsx("span",{className:"property__title__value--mixed",children:"mixed"})]}),c.jsx(wu,{isOpen:s})]}),c.jsxs("ul",{className:"button-list",children:[[{alias:"initial",value:"
1630 1 auto"},{alias:"auto",value:"1 1 auto"},{alias:"none",value:"0 0 auto"}].map(({alias:h,value:y})=>{const{isActive:v,isMultiple:x}=fp(y,t);return c.jsx("li",{children:c.jsx(hp,{isActive:v,isMultiple:x,onClick:()=>e("flex",y),children:h})},`flex-${h}`)}),c.jsx(Dl,{property:"flex",type:"number",handleUpdate:u,currentValues:t}),c.jsx(Dl,{property:"flex",type:"length",handleUpdate:f,currentValues:t})]}),c.jsx("div",{className:"collapsible",children:c.jsx(si,{children:s&&c.jsx(Ke.div,{initial:{opacity:1,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:1,height:0},children:c.jsxs("div",{className:"collapsible--one-col",children:[c.jsx(ae,{name:"flexGrow",handleUpdate:d,currentValues:n}),c.jsx(ae,{name:"flexShrink",handleUpdate:d,currentValues:r}),c.jsx(ae,{name:"flexBasis",handleUpdate:d,currentValues:i})]})})})})]})},vS=({handleUpdate:e,selectedId:t,currentValues:n})=>{const[r,i,s,o]=[(n==null?void 0:n.marginTop)??"0",(n==null?void 0:n.marginRight)??"0",(n==null?void 0:n.marginBottom)??"0",(n==null?void 0:n.marginLeft)??"0"];function l(a,u){t&&(u==="auto"?e(a,"0"):e(a,"auto"))}return c.jsx("div",{className:"property__container",children:c.jsxs("div",{className:"margin-container",children:[c.jsxs("div",{className:"margin-buttons",children:[c.jsx("button",{className:`margin-button margin-button--top ${r==="auto"?"active":void 0}`,disabled:!t,onClick:()=>l("marginTop",r)}),c.jsx("button",{className:`margin-button margin-button--left ${o==="auto"?"active":void 0}`,disabled:!t,onClick:()=>l("marginLeft",o)}),c.jsx("button",{className:`margin-button margin-button--right ${i==="auto"?"active":void 0}`,disabled:!t,onClick:()=>l("marginRight",i)}),c.jsx("button",{className:`margin-button margin-button--bottom ${s==="auto"?"active":void 0}`,disabled:!t,onClick:()=>l("marginBottom",s)})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"property__title property__title--serif",children:"Toggle auto margin"}),!t&&c.jsx("p",{className:"text--info",children:"Select one item"}),t&&c.jsx("div",{className:"property__title--margin-0",children:c.jsx(Ws,{name:"margin",value:`${r} ${i} ${s} ${o}`})})]})]})})};function xS(e){if(e.length===0)return{width:[""],maxWidth:[""],minWidth:[""],height:[""],maxHeight:[""],minHeight:[""],flex:[""],alignSelf:[""],order:[""],flexGrow:[""],flexShrink:[""],flexBasis:[""],marginTop:[""],marginRight:[""],marginBottom:[""],marginLeft:[""]};const t={};return Object.keys(e[0].style).forEach(r=>{const i=[];e.forEach(s=>{const o=s.style[r];i.includes(o)||i.push(o)}),t[r]=i}),["flexGrow","flexShrink","flexBasis"].forEach((r,i)=>{const s=[];e.forEach(o=>{const l=o.style.flex.split(" ")[i];s.includes(l)||s.push(l)}),t[r]=s}),t}const wS=({content:e,handleContent:t})=>{function n(r){r.preventDefault();const i=r.target.content.value;t(i),r.target.reset()}return c.jsxs("div",{className:"property__container",children:[c.jsx("h3",{className:"property__title property__title--serif",children:"Text content"}),c.jsx("form",{onSubmit:n,children:c.jsx("input",{className:"content-input",size:1,type:"text",name:"content",id:"content",defaultValue:e,placeholder:e?"":"Insert text",onBlur:r=>r.target.form.requestSubmit()},e)})]})},Kd=(e,t)=>(t%e+e)%e,SS=({flexItems:e,selectedId:t,setSelectedId:n,dispatch:r,initialItemsRef:i,size:s=16})=>{const o=e.length===0;function l(){if(!t)return;if(r({type:"delete-item",id:t}),e.length===1){n(null);return}e.findIndex(x=>x.id===t)===0?h():y()}function a(){r({type:"add-item"})}function u(){r({type:"reset-all",initial:i.current}),n(null)}function f(){r({type:"reset-item",id:t})}function d(){n(t?null:e[0].id)}function h(){if(!t)n(e[0].id);else{const v=e.findIndex(m=>m.id===t),x=Kd(e.length,v+1),C=e[x].id;n(C)}}function y(){if(!t)n(e[e.length-1].id);else{const v=e.findIndex(m=>m.id===t),x=Kd(e.length,v-1),C=e[x].id;n(C)}}return c.jsxs("div",{className:"flex-items-controls__button-wrapper",children:[c.jsxs("div",{className:"flex-items-controls__button-group",children:[c.jsx("button",{className:"flex-items-controls__button",onClick:d,"data-tooltip":"Select one / all",disabled:o,children:t||o?c.jsx(bm,{size:s}):c.jsx(Wm,{size:s})}),c.jsx("button",{className:"flex-items-controls__button",onClick:y,"data-tooltip":"Select previous item",disabled:o,children:c.jsx(Qm,{size:s})}),c.jsx("button",{className:"flex-items-controls__button",onClick:h,"data-tooltip":"Select next item",disabled:o,children:c.jsx(Ym,{size:s})})]}),c.jsxs("div",{className:"flex-items-controls__button-group",children:[c.jsx("button",{className:"flex-items-controls__button",onClick:a,"data-tooltip":"Add item",children:c.jsx(Zm,{size:s})}),c.jsx("button",{className:"flex-items-controls__button",onClick:l,"data-tooltip":"Delete item",disabled:o||!t,children:c.jsx(Xm,{size:s})})]}),c.jsxs("div",{className:"flex-items-controls__button-group",children:[c.jsx("button",{className:"flex-items-controls__button",onClick:f,"data-tooltip":"Reset item",disabled:o||!t,children:c.jsx(Ts,{size:s})}),c.jsx("button",{className:"flex-items-controls__button",onClick:u,"data-tooltip":"Reset all items",children:c.jsx(Gm,{size:s})})]})]})},kS=({flexItems:e,selectedId:t,selectedItem:n,setSelectedId:r,dispatch:i,initialItemsRef:s})=>{const[o,l]=S.useState("width"),[a,u]=S.useState("height");let f;!t&&(f=xS(e));function d(y,v){i({type:t?"update-item":"update-all",style:{[y]:v},id:t})}function h(y){i({type:t?"content-item":"content-all",content:y,id:t})}return c.jsxs("section",{className:"flex-items-controls flow","data-multiple":!t,children:[c.jsx("h2",{className:"controls__title",children:"Flex Items"}),c.jsx(SS,{flexItems:e,selectedId:t,selectedItem:n,setSelectedId:r,dispatch:i,initialItemsRef:s,size:20}),c.jsxs("div",{className:"scrollable flow",children:[c.jsx(Ps,{tab:o,setTab:l,property:"width",children:c.jsx(ae,{name:o,handleUpdate:d,currentValues:t?[n.style[o]]:f==null?void 0:f[o]})}),c.jsx(Ps,{tab:a,setTab:u,property:"height",children:c.jsx(ae,{name:a,handleUpdate:d,currentValues:t?[n.style[a]]:f==null?void 0:f[a]})}),c.jsx(yS,{currentFlexValues:t?[n.style.flex]:f==null?void 0:f.flex,currentGrowValues:t?[n.style.flex.split(" ")[0]]:f.flexGrow,currentShrinkValues:t?[n.style.flex.split(" ")[1]]:f.flexShrink,currentBasisValues:t?[n.style.flex.split(" ")[2]]:f.flexBasis,handleUpdate:d}),c.jsx(ae,{name:"alignSelf",handleUpdate:d,currentValues:t?[n.style.alignSelf]:f==null?void 0:f.alignSelf}),c.jsx(ae,{name:"order",handleUpdate:d,currentValues:t?[n.style.order]:f==null?void 0:f.order}),c.jsx(vS,{selectedId:t,handleUpdate:d,currentValues:t?n.style:null}),c.jsx(wS,{content:t?n.content:"",handleContent:h})]})]})},Ai={duration:.6,type:"tween",ease:"easeInOut"},CS=({flexContainerStyle:e,flexItems:t,selectedId:n,setSelectedId:r})=>c.jsx("section",{className:"display","data-multiple":!n,children:c.jsx(Ke.div,{className:"flex-container",style:{...e},layout:!0,transition:Ai,children:t.length>0&&t.map(({id:i,style:s,content:o})=>c.jsx(Ke.div,{layout:!0,className:n===i?"flex-item__border active":"flex-item__border",transition:Ai,style:s,onClick:()=>r(i),children:c.jsx(Ke.div,{layout:!0,className:"flex-item__content",transition:Ai,children:o&&c.jsx(Ke.p,{layout:"position",transition:Ai,children:o})})},i))})}),TS="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let PS=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=TS[n[e]&63];return t};function jS(e,t){switch(t.type){case"update-item":return e.map(r=>r.id===t.id?{...r,style:{...r.style,...t.style}}:r);case"update-all":return e.map(r=>({...r,style:{...r.style,...t.style}}));case"content-item":return e.map(r=>r.id===t.id?{...r,content:t.content}:r);case"content-all":return e.map(r=>({...r,content:t.content}));case"add-item":{let n={};if(e.length>0){const i={...e[0].style};for(let s=1;s<e.length;s++)for(let o in i)(!(o in e[s].style)||e[s].style[o]!==i[o])&&delete i[o];n={...i}}return[...e,{id:PS(6),content:e.length+1,style:{..._n,...n}}]}case"delete-item":return e.filter(i=>i.id!==t.id).map((i,s)=>({...i,content:Number(i.content)?s+1:i.content}));case"reset-item":return e.map(r=>r.id===t.id?{...r,style:{..._n}}:r);case"reset-all":return t.initial}}const ES={width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flexFlow:"row nowrap",flexDirection:"row",flexWrap:"nowrap",justifyContent:"start",alignItems:"stretch",alignContent:"stretch",gap:"0"};function _S(e){const t={};["display","width","maxwidth","minwidth","height","maxheight","minheight","flexFlow","
163justifyContent","alignItems","alignContent","gap"].forEach(n=>{n==="flexFlow"?t.flexFlow=e.flexDirection+" "+e.flexWrap:n==="gap"?t.gap=`${e.rowGap} ${e.columnGap!==e.rowGap?e.columnGap:""}`.trim():t[n]=e[n]});for(const n in t)t[n]===ES[n]&&delete t[n];return t}const Ri={width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"0 1 auto",alignSelf:"auto",order:"0",marginTop:"0",marginLeft:"0",marginBottom:"0",marginRight:"0"};function NS(e){let t={},n=[];Object.keys(Ri).forEach(r=>{const i=[];e.forEach(s=>{const o=s.style[r];i.includes(o)||i.push(o)}),i.length===1&&(t[r]=i[0])}),e.forEach((r,i)=>{Object.keys(Ri).forEach(s=>{r.style[s]!==t[s]&&(n[i]={...n[i],[s]:r.style[s]})})});for(let r in t)t[r]===Ri[r]&&delete t[r];return n.forEach(r=>{for(let i in r)r[i]===Ri[i]&&!t[i]&&delete r[i]}),{commonStyles:t,nthStyles:n}}const zo=({selector:e,children:t})=>c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:"line",children:[c.jsx("span",{className:"selector",children:e}),c.jsx("span",{className:"braces",children:" {"})]}),t,c.jsx("br",{}),c.jsx("span",{className:"line",children:c.jsx("span",{className:"braces",children:"}"})}),c.jsx("span",{className:"line"}),c.jsx("br",{}),c.jsx("br",{})]}),Bo=({property:e,value:t})=>{let n="";return e==="flex"&&(n=Jm(t)),c.jsxs(c.Fragment,{children:[c.jsx("br",{}),c.jsxs("span",{className:"line",children:[c.jsx("span",{children:" "}),c.jsx("span",{className:"property",children:Ga[e].cssName}),c.jsx("span",{children:":"})," ",c.jsx("span",{className:"value",children:n||t}),c.jsx("span",{children:";"})]})]})},MS=({flexContainerStyle:e,flexItems:t})=>{const[n,r]=S.useState(""),[i,s]=S.useState(!1),o=S.useRef(null),l=_S(e),{commonStyles:a,nthStyles:u}=NS(t);function f(){n||(window.getSelection().selectAllChildren(o.current),r(window.getSelection().toString())),n&&(window.getSelection().empty(),r(""))}async function d(){n?await navigator.clipboard.writeText(n):(window.getSelection().selectAllChildren(o.current),await navigator.clipboard.writeText(window.getSelection().toString())),s(!0),setTimeout(()=>{s(!1)},2e3)}return c.jsxs("div",{className:"code-wrapper",children:[c.jsx("button",{className:"code__copy-button",onClick:d,children:i?c.jsx(sS,{size:20}):c.jsx(oS,{size:20})}),c.jsx("pre",{className:"vs-code-theme",onClick:f,children:c.jsxs("code",{ref:o,children:[c.jsx(zo,{selector:".flex-container",children:Object.keys(l).map(h=>c.jsx(Bo,{property:h,value:l[h]},h))}),Object.keys(a).length>0&&c.jsx(zo,{selector:".flex-item",children:Object.keys(a).map(h=>c.jsx(Bo,{property:h,value:a[h]},h))}),u.map((h,y)=>Object.keys(h).length===0?null:c.jsx(zo,{selector:`.flex-item:nth-child(${y+1})`,children:Object.keys(h).map(v=>c.jsx(Bo,{property:v,value:h[v]},v))},y))]})})]})},AS=()=>{const{isDark:e,toggleTheme:t}=up();return c.jsx("button",{title:"Toggle theme",className:"menu__icon",onClick:t,style:{position:"relative",overflow:"hidden"},children:c.jsx(si,{mode:"popLayout",initial:!1,children:c.jsx(Ke.div,{style:{originY:"150%"},initial:{rotate:e?-90:90},animate:{rotate:0},exit:{rotate:e?-90:90},transition:{type:"tween",ease:"easeInOut"},children:e?c.jsx(uS,{size:24}):c.jsx(cS,{size:24})},`theme-${e}`)})})},Uo=[{name:"Flex defaults",flexContainerStyle:cp,flexItems:dp},{name:"Even columns",flexContainerStyle:{width:"60%",minWidth:"auto",maxWidth:"auto",height:"auto",minHeight:"auto",maxHeight:"auto",display:"flex",flexDirection:"row",flexWrap:"nowrap",justifyContent:"start",alignItems:"stretch",alignContent:"stretch",rowGap:"4px",columnGap:"4px"},flexItems:[{id:"qSUmVL",content:"Short",style:{width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"1 1 0",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}},{id:"2gvvpf",content:"Medium length content",style:{width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"1 1 0",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}},{id:"3obMB8",content:"Very long text content. Applying flex: 1 to every flex item makes even columns regardless of their size.",style:{width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"1 1 0",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}},{id:"nmPqzI",content:"",style:{width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"1 1 0",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}}]},{name:"flex-grow 9999 Hack",flexContainerStyle:{width:"auto",minWidth:"auto",maxWidth:"auto",height:"auto",minHeight:"auto",maxHeight:"auto",display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"start",alignItems:"stretch",alignContent:"stretch",rowGap:"4px",columnGap:"4px"},flexItems:[{id:"qSUmVL",content:"Short",style:{width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"1 1 auto",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}},{id:"2gvvpf",content:"Long content. Resize the window and watch how both items stack on top of each other. Example adapted from https://www.joren.co/flex-grow-9999-hack/",style:{width:"40rem",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",flex:"9999 1 auto",alignSelf:"auto",order:"0",marginTop:"0",marginRight:"0",marginBottom:"0",marginLeft:"0"}}]}];function Xl(e){return JSON.parse(window.localStorage.getItem(e))||[]}function RS(e){return new Date(e).toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"})}const LS=({dispatchContainer:e,initialContainerStyleRef:t,dispatchItems:n,initialItemsRef:r,setSavePlaceholder:i,closeMenu:s})=>{const[o,l]=S.useState([]);S.useLayoutEffect(()=>{const h=Xl("storedFlex");l(h)},[]);function a(h){const y=o.filter(v=>v.name!==h);window.localStorage.setItem("storedFlex",JSON.stringify(y)),i(v=>v===h?"":v),l(y)}function u(h){const y=Uo[h].flexContainerStyle,v=Uo[h].flexItems;i(""),d(y,v)}function f(h){const y=o[h].flexContainerStyle,v=o[h].flexItems;i(o[h].name),d(y,v)}function d(h,y){t.current=h,r.current=y,e({type:"reset-container",initial:t.current}),n({type:"reset-all",initial:r.current}),s()}return c.jsxs("div",{className:"load",children:[c.jsx("h4",{className:"menu__title",children:"Load preset"}),c.jsx("ul",{className:"load__list",children:Uo.map((h,y)=>c.jsx("li",{className:"load__item load__item--preset",onClick:()=>u(y),children:h.name},h.name))}),c.jsx("h4",{className:"menu__title",children:"Saved"}
163),o.length===0&&c.jsx("p",{children:"Nothing stored"}),o.length>0&&c.jsx("ul",{className:"load__list",children:o.map((h,y)=>c.jsxs("li",{className:"load__item load__item--saved",children:[c.jsx("span",{onClick:()=>f(y),children:h.name}),c.jsx("span",{children:RS(h.creationDate)}),c.jsx("button",{className:"load__delete-button",onClick:()=>a(h.name),children:c.jsx(dS,{size:16})})]},h.name))})]})},DS=({flexContainerStyle:e,flexItems:t,savePlaceholder:n,setSavePlaceholder:r,closeMenu:i})=>{const[s,o]=S.useState(n),[l,a]=S.useState(!1),u=S.useRef(null);S.useEffect(()=>{var d;(d=u==null?void 0:u.current)==null||d.focus()},[]),S.useEffect(()=>{const h=Xl("storedFlex").find(y=>y.name===s);a(!!h)},[s]);function f(d){if(d.preventDefault(),!s)return;const h={name:s,creationDate:new Date,flexContainerStyle:e,flexItems:t},y=Xl("storedFlex");let v;l&&(v=y.map(x=>x.name===s?h:x)),l||(v=[...y,h]),window.localStorage.setItem("storedFlex",JSON.stringify(v)),r(s),i()}return c.jsxs("div",{children:[c.jsx("h4",{className:"menu__title",children:"Save"}),c.jsxs("form",{className:"save-form",onSubmit:f,children:[c.jsx("label",{htmlFor:"name",children:"Name: "}),c.jsx("input",{ref:u,type:"text",name:"name",id:"name",value:s,onChange:d=>o(d.target.value)}),c.jsx("button",{type:"submit",children:l?"Replace":"Save"})]})]})},VS=()=>c.jsxs("section",{className:"about",children:[c.jsx("h2",{children:"About"}),c.jsx("p",{children:"Flexbox layout solves so many problems in such a few lines! It centers elements in a breeze, tidy them up evenly, and facilitates responsive design. Vertical alignment? Not a problem anymore!"}),c.jsx("p",{children:"But... It's also surprisingly hard to predict!"}),c.jsxs("p",{children:["Why won't my items grow up? What's the deal with ",c.jsx("code",{children:"flex-basis"}),"? What's that ",c.jsx("code",{children:"flex-grow: 9999"})," hack everyone is talking about? Yes, we all mix up ",c.jsx("code",{children:"justify-content"})," and ",c.jsx("code",{children:"align-items"})," from time to time, but are you telling me that there's also ",c.jsx("code",{children:"align-content"}),"? Is that even a thing?"]}),c.jsxs("p",{children:["The purpose of this website is to allow you to test every (well, ",c.jsx("em",{children:"almost"})," every) flex property so that you can observe how the different values behave and influence each other."]}),c.jsx("h3",{children:"How to use"}),c.jsx("p",{children:"You start with a flex container, some flex items and the rest is up to you! Click on the desired value and it will take effect immediately."}),c.jsxs("p",{children:["Some properties allow you to enter lengths or numbers. Setting a number in a length input automatically converts it into pixels. Any valid CSS length should work, even ",c.jsx("code",{children:"calc()"})," functions, but I haven't made thorough tests."]}),c.jsxs("p",{children:["Set ",c.jsx("code",{children:"min-"})," and ",c.jsx("code",{children:"max-"})," sizes by toggling the small buttons on the corresponding ",c.jsx("code",{children:"width"})," and ",c.jsx("code",{children:"height"})," controls."]}),c.jsxs("p",{children:["The ",c.jsx("strong",{children:"left planel"})," controls the flex container: display, size, direction, wrap, alignments and gap. The flex container has a default padding of 0.25rem and a 1px border to improve visibility. Press ",c.jsx(Ts,{size:20})," to reset the container to its initial values."]}),c.jsxs("p",{children:["The ",c.jsx("strong",{children:"right panel"})," controls the flex items: size, flex shorthand, self alignment, order, margin and text content. Dashed borders indicate mixed values."]}),c.jsxs("ul",{children:[c.jsxs("li",{children:["Toggle ",c.jsx(Wm,{size:20}),"/",c.jsx(bm,{size:20})," to select all items or only one. When all the items are selected, any setting you apply will affect every one of them."]}),c.jsxs("li",{children:["Press ",c.jsx(Ts,{size:20}),"/",c.jsx(Gm,{size:20})," to reset one or all items to their initial values."]}),c.jsxs("li",{children:["Press ",c.jsx(Qm,{size:20}),"/",c.jsx(Ym,{size:20})," to select the previous or next item."]}),c.jsxs("li",{children:["Press ",c.jsx(Zm,{size:20}),"/",c.jsx(Xm,{size:20})," to add a new item or delete the currently selected item."]})]}),c.jsxs("p",{children:["The ",c.jsx("strong",{children:"center screen"})," is where all the magic happens. The dashed border simulates the viewport boundary."]}),c.jsx("h3",{children:"Some values are missing!"}),c.jsxs("p",{children:["Use ",c.jsx("code",{children:"start"})," and ",c.jsx("code",{children:"end"})," as replacements for ",c.jsx("code",{children:"flex-start"}),", ",c.jsx("code",{children:"flex-end"}),", ",c.jsx("code",{children:"left"})," or ",c.jsx("code",{children:"right"}),". Baseline, anchor and safe alignments are not included."]}),c.jsx("h3",{children:"Did you know?"}),c.jsxs("p",{children:["According to the ",c.jsx("a",{href:"https://www.w3.org/TR/css-flexbox-1/#flex-components",target:"_blank",rel:"noopener noreferrer",children:"official specification"}),", ",c.jsx("code",{children:"flex-grow"}),", ",c.jsx("code",{children:"flex-shrink"})," and ",c.jsx("code",{children:"flex-basis"})," are not supposed to be set individually. Rather, you should use the ",c.jsx("code",{children:"flex"})," shorthand in a very particular way. You may already know that ",c.jsx("code",{children:"flex"})," is a shorthand for ",c.jsx("code",{children:"flex-grow"}),", ",c.jsx("code",{children:"flex-shrink"})," and ",c.jsx("code",{children:"flex-basis"}),", but there is an even more interesting way to set this property."]}),c.jsxs("p",{children:["The ",c.jsx("a",{href:"https://www.w3.org/TR/css-flexbox-1/#flex-common",target:"_blank",rel:"noopener noreferrer",children:"official docs"})," recommends to use ",c.jsx("code",{children:"flex"})," with just four values: ",c.jsx("code",{children:"initial"}),", ",c.jsx("code",{children:"auto"}),", ",c.jsx("code",{children:"none"}),", or a ",c.jsx("code",{children:"<number>"})," (usually ",c.jsx("code",{children:"1"}),"). These values cover all the usual needs so that you don't have to deal anymore with finnicky shrinks, grows and basis!"]}),c.jsxs("aside",{children:[c.jsx("h4",{children:"The four flex values"}),c.jsxs("p",{children:[c.jsx("code",{children:"flex: initial"})," is the default setting and stands for ",c.jsx("code",{children:"flex: 0 1 auto"}),". The item won't grow even if there is available space (",c.jsx("code",{children:"0"}),"), it will shrink in order to prevent overflow (",c.jsx("code",{children:"1"}),"), and the initial size defaults to the declared size (",c.jsx("code",{children:"auto"}),")."]}),c.jsxs("p",{children:[c.jsx("code",{children:"flex: auto"})," is equivalent to ",c.jsx("code",{children:"flex: 1 1 auto"}),". The item will grow only if there is available space (",c.jsx("code",{children:"1"}),"), it will shrink in order to prevent overflow (",c.jsx("code",{children:"1"}),"), and the initial size defaults to the declared size (",c.jsx("code",{children:"auto"}),"). This is the true meaning of a flexible item: it grows if it can and shrinks if it must."]}),c.jsxs("p",{children:[c.jsx("code",{children:"flex: none"})," translates to ",c.jsx("code",{children:"flex: 0 0 auto"}),". The item won't grow even if there is available space, and it won't shrink even if this causes overflow. The initial size defaults to the declared size (",c.jsx("code",{children:"auto"}),")."]}),c.jsxs("p",{children:[c.jsx("code",{children:"flex: <number>"})," is equivalent to ",c.jsx("code",{children:"flex: <number> 1 0"}),". This makes the item to take up as much space as possible. As ",c.jsx("code",{children:"flex-basis"})," is set to ",c.jsx("code",{children:"0"}),", ",c.jsx("code",{children:"flex-shrink"})," has no effect at all because the item can't shrink beyond ",c.jsx("code",{children:"0"}),". It could as well be ",c.jsx("code",{children:"0"})," or ",c.jsx("code",{children:"37654"})," and it will behave exactly the same way. Setting ",c.jsx("code",{children:"flex: 1"})," to every flex item is particularly useful to create even columns regardless of their contents size."]})]}),c.jsxs("p",{children:["The one-value syntax also admits ",c.jsx("code",{children:"flex: <length>"}),", which translates to ",c.jsx("code",{children:"flex: 1 1 <length>"}),". (Notice how ",c.jsx("code",{children:"flex: auto"})," has the same effect because ",c.jsx("code",{children:"auto"})," is a valid length)."]}),c.jsx("p",{children:"Even though a two-value syntax is officialy supported, it's currenly not available on this playground."}),c.jsx("h3",{children:"Toggle auto margin"}),c.jsxs("p",{children:["Each ",c.jsx("code",{children:"top"}),", ",c.jsx("code",{children:"right"}),", ",c.jsx("code",{children:"bottom"})," and ",c.jsx("code",{children:"left"})," margin can be toggled between ",c.jsx("code",{children:"0"})," and ",c.jsx("code",{children:"auto"}),". This setting is available only when one single flex item is selected. Auto margins have a very useful and often unpredictable behaviour in flex layouts. This is actually one of my favorite settings! Try to combine them and see what happens!"]}),c.jsx("h3",{children:"Text content"}),c.jsx("p",{children:"Set the text content. By default it's a number representing the item's position. It can be set to an empty string."}),c.jsx("h3",{children:"Load and save"}),c.jsxs("p",{children:["Press ",c.jsx(Hm,{size:20})," to load presets or saved layouts."]}),c.jsxs("p",{children:["Press ",c.jsx(Km,{size:20})," to save the current layout in this browser."]}
163),c.jsx("h3",{children:"Give me the code!"}),c.jsxs("p",{children:["Press ",c.jsx($m,{size:20})," to get the CSS code for the current state. Default values (or values that behave like the default ones) are not included. If the flex items are different among themselves you will end up with a bunch of ",c.jsx("code",{children:":nth-child()"})," selectors. Many of them will be probably redundant so you should come up with a better solution by yourself."]}),c.jsx("h3",{children:"Resources"}),c.jsx("p",{children:"If you keep struggling with flex layouts, check out these amazing resources:"}),c.jsxs("p",{children:[c.jsx("a",{href:"https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/",target:"_blank",rel:"noopener noreferrer",children:"An Interactive Guide to Flexbox"}),", by Josh W. Comeau"]}),c.jsx("p",{children:c.jsx("a",{href:"https://www.youtube.com/@KevinPowell/videos",target:"_blank",rel:"noopener noreferrer",children:"Kevin Powell YouTube Channel"})}),c.jsxs("p",{children:[c.jsx("a",{href:"https://css-tricks.com/snippets/css/a-guide-to-flexbox/",target:"_blank",rel:"noopener noreferrer",children:"CSS Flexbox Layout Guide"}),", by Chris Coyier at CSS-Tricks"]}),c.jsxs("p",{children:[c.jsx("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flexible_box_layout",target:"_blank",rel:"noopener noreferrer",children:"CSS flexible box layout"}),", at MDN Web Docs"]}),c.jsxs("p",{children:[c.jsx("a",{href:"https://www.w3.org/TR/css-flexbox-1/",target:"_blank",rel:"noopener noreferrer",children:"CSS Flexible Box Layout Module Level 1"}),": The official docs, I don't recommend them as a learning source but they may come in handy!"]}),c.jsx("h3",{children:"How it's made"}),c.jsxs("p",{children:["This website is made with ",c.jsx("a",{href:"https://react.dev/",target:"_blank",rel:"noopener noreferrer",children:"React"}),", ",c.jsx("a",{href:"https://www.framer.com/motion/",target:"_blank",rel:"noopener noreferrer",children:"Framer Motion"})," and ",c.jsx("a",{href:"https://vite.dev/",target:"_blank",rel:"noopener noreferrer",children:"Vite"}),"."]}),c.jsxs("p",{children:["Typographies: ",c.jsx("a",{href:"https://www.jetbrains.com/lp/mono/",target:"_blank",rel:"noopener noreferrer",children:"JetBrains Mono"})," and ",c.jsx("a",{href:"https://rsms.me/inter/",target:"_blank",rel:"noopener noreferrer",children:"Inter"}),"."]}),c.jsxs("p",{children:["Icons by ",c.jsx("a",{href:"https://lucide.dev/",target:"_blank",rel:"noopener noreferrer",children:"Lucide"}),"."]}),c.jsx("h3",{children:"Who am I"}),c.jsx("p",{children:"My name is Daniel and I'm an aspiring React developer based in Madrid, Spain."}),c.jsxs("p",{children:["You can find me at ",c.jsx("a",{href:"https://www.linkedin.com/in/djimenezweb/",target:"_blank",rel:"noopener noreferrer",children:"LinkedIn"})," and ",c.jsx("a",{href:"https://github.com/djimenezweb",target:"_blank",rel:"noopener noreferrer",children:"GitHub"}),"."]})]}),FS=({dispatchContainer:e,initialContainerStyleRef:t,dispatchItems:n,initialItemsRef:r,flexContainerStyle:i,flexItems:s})=>{const{isMenuOpen:o,menuScreen:l,handleMenuScreen:a,closeMenu:u,fullExit:f}=qm(),[d,h]=S.useState(""),[y,v]=S.useState(0),x=S.useRef(null);S.useEffect(()=>{var p;v((p=x==null?void 0:x.current)==null?void 0:p.clientWidth)},[]);const C=.5,m={initial:{width:y,height:"0px",opacity:0},animate:{width:"50vw",height:"auto",opacity:1,transition:{duration:C,type:"tween",ease:"easeInOut",opacity:{duration:C/2,delay:C*.75}}},exit:p=>({width:p?y:"50vw",height:"0px",opacity:0})};return c.jsxs(Ke.div,{animate:{boxShadow:o?"0 4px 6px -1px rgba(0 0 0 / 0.2), 0 2px 4px -2px rgba(0 0 0 / 0.2)":"0 4px 6px -1px rgba(0 0 0 / 0), 0 2px 4px -2px rgba(0 0 0 / 0)"},className:"menu",ref:x,onClick:p=>p.stopPropagation(),children:[c.jsx(si,{custom:f.current,children:o&&c.jsx(Ke.div,{custom:f.current,className:"menu__screen-container",variants:m,initial:"initial",animate:"animate",exit:"exit",transition:{duration:C,type:"tween",ease:"easeInOut",opacity:{duration:C/2,delay:0}},children:c.jsxs("div",{className:"padding",children:[l==="code"&&c.jsx(MS,{flexContainerStyle:i,flexItems:s}),l==="load"&&c.jsx(LS,{dispatchContainer:e,initialContainerStyleRef:t,dispatchItems:n,initialItemsRef:r,setSavePlaceholder:h,closeMenu:u}),l==="save"&&c.jsx(DS,{flexContainerStyle:i,flexItems:s,setSavePlaceholder:h,savePlaceholder:d,closeMenu:u}),l==="about"&&c.jsx(VS,{})]})},l)}),c.jsxs("div",{className:"menu__buttons-container",children:[c.jsx(AS,{}),c.jsx("button",{title:"Load",className:l==="load"?"menu__icon menu__icon--active":"menu__icon",onClick:()=>a("load"),children:c.jsx(Hm,{size:24})}),c.jsx("button",{title:"Save",className:l==="save"?"menu__icon menu__icon--active":"menu__icon",onClick:()=>a("save"),children:c.jsx(Km,{size:24})}),c.jsx("button",{title:"Get CSS code",className:l==="code"?"menu__icon menu__icon--active":"menu__icon",onClick:()=>a("code"),children:c.jsx($m,{size:24})}),c.jsx("button",{title:"About",className:l==="about"?"menu__icon menu__icon--active":"menu__icon",onClick:()=>a("about"),children:c.jsx(lS,{size:24})}),c.jsx("a",{href:"https://github.com/djimenezweb/flex-playground",target:"_blank",title:"Repository",className:"menu__icon",children:c.jsx(aS,{size:24})})]})]})},OS=({flexContainerStyle:e,dispatchContainer:t,initialContainerStyleRef:n})=>{const r=S.useRef(dp),[i,s]=S.useReducer(jS,r.current),[o,l]=S.useState(null);let a=null;return o&&(a=i.find(u=>u.id===o)),c.jsxs(c.Fragment,{children:[c.jsx(CS,{flexContainerStyle:e,flexItems:i,selectedId:o,setSelectedId:l}),c.jsx(kS,{flexItems:i,selectedId:o,setSelectedId:l,selectedItem:a,dispatch:s,initialItemsRef:r}),c.jsx(FS,{dispatchContainer:t,initialContainerStyleRef:n,dispatchItems:s,initialItemsRef:r,flexContainerStyle:e,flexItems:i})]})};function IS(e,t){switch(t.type){case"update-container":return{...e,...t.style};case"reset-container":return{...t.initial}}}const zS=()=>{const e=S.useRef(cp),[t,n]=S.useReducer(IS,e.current);function r(){n({type:"reset-container",initial:e.current})}return c.jsxs("main",{children:[c.jsx(mS,{flexContainerStyle:t,dispatch:n,handleResetContainer:r}),c.jsx(OS,{flexContainerStyle:t,dispatchContainer:n,initialContainerStyleRef:e})]})};function BS(){return c.jsx(jv,{children:c.jsx(_v,{children:c.jsx(Ev,{children:c.jsx(zS,{})})})})}op(document.getElementById("root")).render(c.jsx(S.StrictMode,{children:c.jsx(BS,{})}));
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.