lawgic-dev-kit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/dist/lawgic-dev-kit.es.js +50777 -0
- package/dist/lawgic-dev-kit.umd.js +983 -0
- package/dist/vite.svg +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,983 @@
|
|
|
1
|
+
(function(ht,J){typeof exports=="object"&&typeof module<"u"?J(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],J):(ht=typeof globalThis<"u"?globalThis:ht||self,J(ht.LawgicDevKit={},ht.React,ht.ReactDOM))})(this,function(ht,J,cT){"use strict";function CC(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,o.get?o:{enumerable:!0,get:()=>t[i]})}}return n.default=t,Object.freeze(n)}const tt=CC(J),V2=CC(cT);var tx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function DC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var nx={exports:{}},f1={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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 MC;function U2(){if(MC)return f1;MC=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(o,u,h){var g=null;if(h!==void 0&&(g=""+h),u.key!==void 0&&(g=""+u.key),"key"in u){h={};for(var v in u)v!=="key"&&(h[v]=u[v])}else h=u;return u=h.ref,{$$typeof:t,type:o,key:g,ref:u!==void 0?u:null,props:h}}return f1.Fragment=n,f1.jsx=i,f1.jsxs=i,f1}var d1={},OC;function L2(){if(OC)return d1;OC=1;var t={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and 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
|
+
*/return t.NODE_ENV!=="production"&&function(){function n(X){if(X==null)return null;if(typeof X=="function")return X.$$typeof===$e?null:X.displayName||X.name||null;if(typeof X=="string")return X;switch(X){case P:return"Fragment";case q:return"Profiler";case U:return"StrictMode";case le:return"Suspense";case be:return"SuspenseList";case De:return"Activity"}if(typeof X=="object")switch(typeof X.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case L:return"Portal";case ae:return(X.displayName||"Context")+".Provider";case F:return(X._context.displayName||"Context")+".Consumer";case H:var xe=X.render;return X=X.displayName,X||(X=xe.displayName||xe.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case de:return xe=X.displayName||null,xe!==null?xe:n(X.type)||"Memo";case Ue:xe=X._payload,X=X._init;try{return n(X(xe))}catch{}}return null}function i(X){return""+X}function o(X){try{i(X);var xe=!1}catch{xe=!0}if(xe){xe=console;var Me=xe.error,Ye=typeof Symbol=="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object";return Me.call(xe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ye),i(X)}}function u(X){if(X===P)return"<>";if(typeof X=="object"&&X!==null&&X.$$typeof===Ue)return"<...>";try{var xe=n(X);return xe?"<"+xe+">":"<...>"}catch{return"<...>"}}function h(){var X=ke.A;return X===null?null:X.getOwner()}function g(){return Error("react-stack-top-frame")}function v(X){if(We.call(X,"key")){var xe=Object.getOwnPropertyDescriptor(X,"key").get;if(xe&&xe.isReactWarning)return!1}return X.key!==void 0}function S(X,xe){function Me(){re||(re=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",xe))}Me.isReactWarning=!0,Object.defineProperty(X,"key",{get:Me,configurable:!0})}function A(){var X=n(this.type);return W[X]||(W[X]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),X=this.props.ref,X!==void 0?X:null}function w(X,xe,Me,Ye,ze,qe,Pe,ot){return Me=qe.ref,X={$$typeof:V,type:X,key:xe,props:qe,_owner:ze},(Me!==void 0?Me:null)!==null?Object.defineProperty(X,"ref",{enumerable:!1,get:A}):Object.defineProperty(X,"ref",{enumerable:!1,value:null}),X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(X,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(X,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.defineProperty(X,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ot}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X}function C(X,xe,Me,Ye,ze,qe,Pe,ot){var Je=xe.children;if(Je!==void 0)if(Ye)if(et(Je)){for(Ye=0;Ye<Je.length;Ye++)M(Je[Ye]);Object.freeze&&Object.freeze(Je)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else M(Je);if(We.call(xe,"key")){Je=n(X);var Tt=Object.keys(xe).filter(function(zn){return zn!=="key"});Ye=0<Tt.length?"{key: someKey, "+Tt.join(": ..., ")+": ...}":"{key: someKey}",Be[Je+Ye]||(Tt=0<Tt.length?"{"+Tt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,Ye,Je,Tt,Je),Be[Je+Ye]=!0)}if(Je=null,Me!==void 0&&(o(Me),Je=""+Me),v(xe)&&(o(xe.key),Je=""+xe.key),"key"in xe){Me={};for(var pt in xe)pt!=="key"&&(Me[pt]=xe[pt])}else Me=xe;return Je&&S(Me,typeof X=="function"?X.displayName||X.name||"Unknown":X),w(X,Je,qe,ze,h(),Me,Pe,ot)}function M(X){typeof X=="object"&&X!==null&&X.$$typeof===V&&X._store&&(X._store.validated=1)}var R=J,V=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),ae=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),$e=Symbol.for("react.client.reference"),ke=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,We=Object.prototype.hasOwnProperty,et=Array.isArray,Ge=console.createTask?console.createTask:function(){return null};R={"react-stack-bottom-frame":function(X){return X()}};var re,W={},ce=R["react-stack-bottom-frame"].bind(R,g)(),Ae=Ge(u(g)),Be={};d1.Fragment=P,d1.jsx=function(X,xe,Me,Ye,ze){var qe=1e4>ke.recentlyCreatedOwnerStacks++;return C(X,xe,Me,!1,Ye,ze,qe?Error("react-stack-top-frame"):ce,qe?Ge(u(X)):Ae)},d1.jsxs=function(X,xe,Me,Ye,ze){var qe=1e4>ke.recentlyCreatedOwnerStacks++;return C(X,xe,Me,!0,Ye,ze,qe?Error("react-stack-top-frame"):ce,qe?Ge(u(X)):Ae)}}(),d1}var RC;function j2(){if(RC)return nx.exports;RC=1;var t={};return t.NODE_ENV==="production"?nx.exports=U2():nx.exports=L2(),nx.exports}var Y=j2(),B2={};/*!
|
|
23
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
24
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
25
|
+
* Copyright 2024 Fonticons, Inc.
|
|
26
|
+
*/function $2(t,n,i){return(n=k2(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function _C(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,o)}return i}function He(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?_C(Object(i),!0).forEach(function(o){$2(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):_C(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function H2(t,n){if(typeof t!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var o=i.call(t,n);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function k2(t){var n=H2(t,"string");return typeof n=="symbol"?n:n+""}const zC=()=>{};let fT={},NC={},VC=null,UC={mark:zC,measure:zC};try{typeof window<"u"&&(fT=window),typeof document<"u"&&(NC=document),typeof MutationObserver<"u"&&(VC=MutationObserver),typeof performance<"u"&&(UC=performance)}catch{}const{userAgent:LC=""}=fT.navigator||{},Wh=fT,sa=NC,jC=VC,ax=UC;Wh.document;const ed=!!sa.documentElement&&!!sa.head&&typeof sa.addEventListener=="function"&&typeof sa.createElement=="function",BC=~LC.indexOf("MSIE")||~LC.indexOf("Trident/");var P2=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Y2=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,$C={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},q2={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},HC=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Er="classic",ix="duotone",G2="sharp",F2="sharp-duotone",kC=[Er,ix,G2,F2],X2={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Z2={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Q2=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),K2={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},I2=["fak","fa-kit","fakd","fa-kit-duotone"],PC={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},W2=["kit"],J2={kit:{"fa-kit":"fak"}},e9=["fak","fakd"],t9={kit:{fak:"fa-kit"}},YC={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},rx={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},n9=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],a9=["fak","fa-kit","fakd","fa-kit-duotone"],i9={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},r9={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},s9={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},dT={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},o9=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],hT=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...n9,...o9],l9=["solid","regular","light","thin","duotone","brands"],qC=[1,2,3,4,5,6,7,8,9,10],u9=qC.concat([11,12,13,14,15,16,17,18,19,20]),c9=[...Object.keys(s9),...l9,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",rx.GROUP,rx.SWAP_OPACITY,rx.PRIMARY,rx.SECONDARY].concat(qC.map(t=>"".concat(t,"x"))).concat(u9.map(t=>"w-".concat(t))),f9={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const td="___FONT_AWESOME___",mT=16,GC="fa",FC="svg-inline--fa",r0="data-fa-i2svg",pT="data-fa-pseudo-element",d9="data-fa-pseudo-element-pending",gT="data-prefix",yT="data-icon",XC="fontawesome-i2svg",h9="async",m9=["HTML","HEAD","STYLE","SCRIPT"],ZC=(()=>{try{return B2.NODE_ENV==="production"}catch{return!1}})();function h1(t){return new Proxy(t,{get(n,i){return i in n?n[i]:n[Er]}})}const QC=He({},$C);QC[Er]=He(He(He(He({},{"fa-duotone":"duotone"}),$C[Er]),PC.kit),PC["kit-duotone"]);const p9=h1(QC),vT=He({},K2);vT[Er]=He(He(He(He({},{duotone:"fad"}),vT[Er]),YC.kit),YC["kit-duotone"]);const KC=h1(vT),bT=He({},dT);bT[Er]=He(He({},bT[Er]),t9.kit);const xT=h1(bT),ST=He({},r9);ST[Er]=He(He({},ST[Er]),J2.kit),h1(ST);const g9=P2,IC="fa-layers-text",y9=Y2,v9=He({},X2);h1(v9);const b9=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],TT=q2,x9=[...W2,...c9],m1=Wh.FontAwesomeConfig||{};function S9(t){var n=sa.querySelector("script["+t+"]");if(n)return n.getAttribute(t)}function T9(t){return t===""?!0:t==="false"?!1:t==="true"?!0:t}sa&&typeof sa.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(n=>{let[i,o]=n;const u=T9(S9(i));u!=null&&(m1[o]=u)});const WC={styleDefault:"solid",familyDefault:Er,cssPrefix:GC,replacementClass:FC,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};m1.familyPrefix&&(m1.cssPrefix=m1.familyPrefix);const ry=He(He({},WC),m1);ry.autoReplaceSvg||(ry.observeMutations=!1);const dt={};Object.keys(WC).forEach(t=>{Object.defineProperty(dt,t,{enumerable:!0,set:function(n){ry[t]=n,p1.forEach(i=>i(dt))},get:function(){return ry[t]}})}),Object.defineProperty(dt,"familyPrefix",{enumerable:!0,set:function(t){ry.cssPrefix=t,p1.forEach(n=>n(dt))},get:function(){return ry.cssPrefix}}),Wh.FontAwesomeConfig=dt;const p1=[];function A9(t){return p1.push(t),()=>{p1.splice(p1.indexOf(t),1)}}const Jh=mT,yc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function w9(t){if(!t||!ed)return;const n=sa.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=t;const i=sa.head.childNodes;let o=null;for(let u=i.length-1;u>-1;u--){const h=i[u],g=(h.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(g)>-1&&(o=h)}return sa.head.insertBefore(n,o),t}const E9="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function g1(){let t=12,n="";for(;t-- >0;)n+=E9[Math.random()*62|0];return n}function sy(t){const n=[];for(let i=(t||[]).length>>>0;i--;)n[i]=t[i];return n}function AT(t){return t.classList?sy(t.classList):(t.getAttribute("class")||"").split(" ").filter(n=>n)}function JC(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function C9(t){return Object.keys(t||{}).reduce((n,i)=>n+"".concat(i,'="').concat(JC(t[i]),'" '),"").trim()}function sx(t){return Object.keys(t||{}).reduce((n,i)=>n+"".concat(i,": ").concat(t[i].trim(),";"),"")}function wT(t){return t.size!==yc.size||t.x!==yc.x||t.y!==yc.y||t.rotate!==yc.rotate||t.flipX||t.flipY}function D9(t){let{transform:n,containerWidth:i,iconWidth:o}=t;const u={transform:"translate(".concat(i/2," 256)")},h="translate(".concat(n.x*32,", ").concat(n.y*32,") "),g="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),v="rotate(".concat(n.rotate," 0 0)"),S={transform:"".concat(h," ").concat(g," ").concat(v)},A={transform:"translate(".concat(o/2*-1," -256)")};return{outer:u,inner:S,path:A}}function M9(t){let{transform:n,width:i=mT,height:o=mT,startCentered:u=!1}=t,h="";return u&&BC?h+="translate(".concat(n.x/Jh-i/2,"em, ").concat(n.y/Jh-o/2,"em) "):u?h+="translate(calc(-50% + ".concat(n.x/Jh,"em), calc(-50% + ").concat(n.y/Jh,"em)) "):h+="translate(".concat(n.x/Jh,"em, ").concat(n.y/Jh,"em) "),h+="scale(".concat(n.size/Jh*(n.flipX?-1:1),", ").concat(n.size/Jh*(n.flipY?-1:1),") "),h+="rotate(".concat(n.rotate,"deg) "),h}var O9=`:root, :host {
|
|
27
|
+
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
28
|
+
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
29
|
+
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
30
|
+
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|
31
|
+
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
32
|
+
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
|
|
33
|
+
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
|
|
34
|
+
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
|
|
35
|
+
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
36
|
+
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
37
|
+
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
38
|
+
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
39
|
+
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
40
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
41
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
42
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
43
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
47
|
+
overflow: visible;
|
|
48
|
+
box-sizing: content-box;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.svg-inline--fa {
|
|
52
|
+
display: var(--fa-display, inline-block);
|
|
53
|
+
height: 1em;
|
|
54
|
+
overflow: visible;
|
|
55
|
+
vertical-align: -0.125em;
|
|
56
|
+
}
|
|
57
|
+
.svg-inline--fa.fa-2xs {
|
|
58
|
+
vertical-align: 0.1em;
|
|
59
|
+
}
|
|
60
|
+
.svg-inline--fa.fa-xs {
|
|
61
|
+
vertical-align: 0em;
|
|
62
|
+
}
|
|
63
|
+
.svg-inline--fa.fa-sm {
|
|
64
|
+
vertical-align: -0.0714285705em;
|
|
65
|
+
}
|
|
66
|
+
.svg-inline--fa.fa-lg {
|
|
67
|
+
vertical-align: -0.2em;
|
|
68
|
+
}
|
|
69
|
+
.svg-inline--fa.fa-xl {
|
|
70
|
+
vertical-align: -0.25em;
|
|
71
|
+
}
|
|
72
|
+
.svg-inline--fa.fa-2xl {
|
|
73
|
+
vertical-align: -0.3125em;
|
|
74
|
+
}
|
|
75
|
+
.svg-inline--fa.fa-pull-left {
|
|
76
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
77
|
+
width: auto;
|
|
78
|
+
}
|
|
79
|
+
.svg-inline--fa.fa-pull-right {
|
|
80
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
81
|
+
width: auto;
|
|
82
|
+
}
|
|
83
|
+
.svg-inline--fa.fa-li {
|
|
84
|
+
width: var(--fa-li-width, 2em);
|
|
85
|
+
top: 0.25em;
|
|
86
|
+
}
|
|
87
|
+
.svg-inline--fa.fa-fw {
|
|
88
|
+
width: var(--fa-fw-width, 1.25em);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.fa-layers svg.svg-inline--fa {
|
|
92
|
+
bottom: 0;
|
|
93
|
+
left: 0;
|
|
94
|
+
margin: auto;
|
|
95
|
+
position: absolute;
|
|
96
|
+
right: 0;
|
|
97
|
+
top: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.fa-layers-counter, .fa-layers-text {
|
|
101
|
+
display: inline-block;
|
|
102
|
+
position: absolute;
|
|
103
|
+
text-align: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.fa-layers {
|
|
107
|
+
display: inline-block;
|
|
108
|
+
height: 1em;
|
|
109
|
+
position: relative;
|
|
110
|
+
text-align: center;
|
|
111
|
+
vertical-align: -0.125em;
|
|
112
|
+
width: 1em;
|
|
113
|
+
}
|
|
114
|
+
.fa-layers svg.svg-inline--fa {
|
|
115
|
+
transform-origin: center center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.fa-layers-text {
|
|
119
|
+
left: 50%;
|
|
120
|
+
top: 50%;
|
|
121
|
+
transform: translate(-50%, -50%);
|
|
122
|
+
transform-origin: center center;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.fa-layers-counter {
|
|
126
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
127
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
color: var(--fa-inverse, #fff);
|
|
130
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
131
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
132
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
135
|
+
right: var(--fa-right, 0);
|
|
136
|
+
text-overflow: ellipsis;
|
|
137
|
+
top: var(--fa-top, 0);
|
|
138
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
139
|
+
transform-origin: top right;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.fa-layers-bottom-right {
|
|
143
|
+
bottom: var(--fa-bottom, 0);
|
|
144
|
+
right: var(--fa-right, 0);
|
|
145
|
+
top: auto;
|
|
146
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
147
|
+
transform-origin: bottom right;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.fa-layers-bottom-left {
|
|
151
|
+
bottom: var(--fa-bottom, 0);
|
|
152
|
+
left: var(--fa-left, 0);
|
|
153
|
+
right: auto;
|
|
154
|
+
top: auto;
|
|
155
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
156
|
+
transform-origin: bottom left;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.fa-layers-top-right {
|
|
160
|
+
top: var(--fa-top, 0);
|
|
161
|
+
right: var(--fa-right, 0);
|
|
162
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
163
|
+
transform-origin: top right;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.fa-layers-top-left {
|
|
167
|
+
left: var(--fa-left, 0);
|
|
168
|
+
right: auto;
|
|
169
|
+
top: var(--fa-top, 0);
|
|
170
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
171
|
+
transform-origin: top left;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.fa-1x {
|
|
175
|
+
font-size: 1em;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.fa-2x {
|
|
179
|
+
font-size: 2em;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.fa-3x {
|
|
183
|
+
font-size: 3em;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.fa-4x {
|
|
187
|
+
font-size: 4em;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fa-5x {
|
|
191
|
+
font-size: 5em;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.fa-6x {
|
|
195
|
+
font-size: 6em;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.fa-7x {
|
|
199
|
+
font-size: 7em;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.fa-8x {
|
|
203
|
+
font-size: 8em;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.fa-9x {
|
|
207
|
+
font-size: 9em;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.fa-10x {
|
|
211
|
+
font-size: 10em;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.fa-2xs {
|
|
215
|
+
font-size: 0.625em;
|
|
216
|
+
line-height: 0.1em;
|
|
217
|
+
vertical-align: 0.225em;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.fa-xs {
|
|
221
|
+
font-size: 0.75em;
|
|
222
|
+
line-height: 0.0833333337em;
|
|
223
|
+
vertical-align: 0.125em;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.fa-sm {
|
|
227
|
+
font-size: 0.875em;
|
|
228
|
+
line-height: 0.0714285718em;
|
|
229
|
+
vertical-align: 0.0535714295em;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.fa-lg {
|
|
233
|
+
font-size: 1.25em;
|
|
234
|
+
line-height: 0.05em;
|
|
235
|
+
vertical-align: -0.075em;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.fa-xl {
|
|
239
|
+
font-size: 1.5em;
|
|
240
|
+
line-height: 0.0416666682em;
|
|
241
|
+
vertical-align: -0.125em;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.fa-2xl {
|
|
245
|
+
font-size: 2em;
|
|
246
|
+
line-height: 0.03125em;
|
|
247
|
+
vertical-align: -0.1875em;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.fa-fw {
|
|
251
|
+
text-align: center;
|
|
252
|
+
width: 1.25em;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.fa-ul {
|
|
256
|
+
list-style-type: none;
|
|
257
|
+
margin-left: var(--fa-li-margin, 2.5em);
|
|
258
|
+
padding-left: 0;
|
|
259
|
+
}
|
|
260
|
+
.fa-ul > li {
|
|
261
|
+
position: relative;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.fa-li {
|
|
265
|
+
left: calc(-1 * var(--fa-li-width, 2em));
|
|
266
|
+
position: absolute;
|
|
267
|
+
text-align: center;
|
|
268
|
+
width: var(--fa-li-width, 2em);
|
|
269
|
+
line-height: inherit;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.fa-border {
|
|
273
|
+
border-color: var(--fa-border-color, #eee);
|
|
274
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
275
|
+
border-style: var(--fa-border-style, solid);
|
|
276
|
+
border-width: var(--fa-border-width, 0.08em);
|
|
277
|
+
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.fa-pull-left {
|
|
281
|
+
float: left;
|
|
282
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.fa-pull-right {
|
|
286
|
+
float: right;
|
|
287
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.fa-beat {
|
|
291
|
+
animation-name: fa-beat;
|
|
292
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
293
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
294
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
295
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
296
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.fa-bounce {
|
|
300
|
+
animation-name: fa-bounce;
|
|
301
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
302
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
303
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
304
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
305
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.fa-fade {
|
|
309
|
+
animation-name: fa-fade;
|
|
310
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
311
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
312
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
313
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
314
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.fa-beat-fade {
|
|
318
|
+
animation-name: fa-beat-fade;
|
|
319
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
320
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
321
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
322
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
323
|
+
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.fa-flip {
|
|
327
|
+
animation-name: fa-flip;
|
|
328
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
329
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
330
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
331
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
332
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.fa-shake {
|
|
336
|
+
animation-name: fa-shake;
|
|
337
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
338
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
339
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
340
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
341
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.fa-spin {
|
|
345
|
+
animation-name: fa-spin;
|
|
346
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
347
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
348
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
349
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
350
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.fa-spin-reverse {
|
|
354
|
+
--fa-animation-direction: reverse;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.fa-pulse,
|
|
358
|
+
.fa-spin-pulse {
|
|
359
|
+
animation-name: fa-spin;
|
|
360
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
361
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
362
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
363
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
@media (prefers-reduced-motion: reduce) {
|
|
367
|
+
.fa-beat,
|
|
368
|
+
.fa-bounce,
|
|
369
|
+
.fa-fade,
|
|
370
|
+
.fa-beat-fade,
|
|
371
|
+
.fa-flip,
|
|
372
|
+
.fa-pulse,
|
|
373
|
+
.fa-shake,
|
|
374
|
+
.fa-spin,
|
|
375
|
+
.fa-spin-pulse {
|
|
376
|
+
animation-delay: -1ms;
|
|
377
|
+
animation-duration: 1ms;
|
|
378
|
+
animation-iteration-count: 1;
|
|
379
|
+
transition-delay: 0s;
|
|
380
|
+
transition-duration: 0s;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
@keyframes fa-beat {
|
|
384
|
+
0%, 90% {
|
|
385
|
+
transform: scale(1);
|
|
386
|
+
}
|
|
387
|
+
45% {
|
|
388
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
@keyframes fa-bounce {
|
|
392
|
+
0% {
|
|
393
|
+
transform: scale(1, 1) translateY(0);
|
|
394
|
+
}
|
|
395
|
+
10% {
|
|
396
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
397
|
+
}
|
|
398
|
+
30% {
|
|
399
|
+
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
400
|
+
}
|
|
401
|
+
50% {
|
|
402
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
403
|
+
}
|
|
404
|
+
57% {
|
|
405
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
406
|
+
}
|
|
407
|
+
64% {
|
|
408
|
+
transform: scale(1, 1) translateY(0);
|
|
409
|
+
}
|
|
410
|
+
100% {
|
|
411
|
+
transform: scale(1, 1) translateY(0);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
@keyframes fa-fade {
|
|
415
|
+
50% {
|
|
416
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
@keyframes fa-beat-fade {
|
|
420
|
+
0%, 100% {
|
|
421
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
422
|
+
transform: scale(1);
|
|
423
|
+
}
|
|
424
|
+
50% {
|
|
425
|
+
opacity: 1;
|
|
426
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
@keyframes fa-flip {
|
|
430
|
+
50% {
|
|
431
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
@keyframes fa-shake {
|
|
435
|
+
0% {
|
|
436
|
+
transform: rotate(-15deg);
|
|
437
|
+
}
|
|
438
|
+
4% {
|
|
439
|
+
transform: rotate(15deg);
|
|
440
|
+
}
|
|
441
|
+
8%, 24% {
|
|
442
|
+
transform: rotate(-18deg);
|
|
443
|
+
}
|
|
444
|
+
12%, 28% {
|
|
445
|
+
transform: rotate(18deg);
|
|
446
|
+
}
|
|
447
|
+
16% {
|
|
448
|
+
transform: rotate(-22deg);
|
|
449
|
+
}
|
|
450
|
+
20% {
|
|
451
|
+
transform: rotate(22deg);
|
|
452
|
+
}
|
|
453
|
+
32% {
|
|
454
|
+
transform: rotate(-12deg);
|
|
455
|
+
}
|
|
456
|
+
36% {
|
|
457
|
+
transform: rotate(12deg);
|
|
458
|
+
}
|
|
459
|
+
40%, 100% {
|
|
460
|
+
transform: rotate(0deg);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
@keyframes fa-spin {
|
|
464
|
+
0% {
|
|
465
|
+
transform: rotate(0deg);
|
|
466
|
+
}
|
|
467
|
+
100% {
|
|
468
|
+
transform: rotate(360deg);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
.fa-rotate-90 {
|
|
472
|
+
transform: rotate(90deg);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.fa-rotate-180 {
|
|
476
|
+
transform: rotate(180deg);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.fa-rotate-270 {
|
|
480
|
+
transform: rotate(270deg);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.fa-flip-horizontal {
|
|
484
|
+
transform: scale(-1, 1);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.fa-flip-vertical {
|
|
488
|
+
transform: scale(1, -1);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.fa-flip-both,
|
|
492
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
493
|
+
transform: scale(-1, -1);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.fa-rotate-by {
|
|
497
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.fa-stack {
|
|
501
|
+
display: inline-block;
|
|
502
|
+
vertical-align: middle;
|
|
503
|
+
height: 2em;
|
|
504
|
+
position: relative;
|
|
505
|
+
width: 2.5em;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.fa-stack-1x,
|
|
509
|
+
.fa-stack-2x {
|
|
510
|
+
bottom: 0;
|
|
511
|
+
left: 0;
|
|
512
|
+
margin: auto;
|
|
513
|
+
position: absolute;
|
|
514
|
+
right: 0;
|
|
515
|
+
top: 0;
|
|
516
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.svg-inline--fa.fa-stack-1x {
|
|
520
|
+
height: 1em;
|
|
521
|
+
width: 1.25em;
|
|
522
|
+
}
|
|
523
|
+
.svg-inline--fa.fa-stack-2x {
|
|
524
|
+
height: 2em;
|
|
525
|
+
width: 2.5em;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.fa-inverse {
|
|
529
|
+
color: var(--fa-inverse, #fff);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.sr-only,
|
|
533
|
+
.fa-sr-only {
|
|
534
|
+
position: absolute;
|
|
535
|
+
width: 1px;
|
|
536
|
+
height: 1px;
|
|
537
|
+
padding: 0;
|
|
538
|
+
margin: -1px;
|
|
539
|
+
overflow: hidden;
|
|
540
|
+
clip: rect(0, 0, 0, 0);
|
|
541
|
+
white-space: nowrap;
|
|
542
|
+
border-width: 0;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.sr-only-focusable:not(:focus),
|
|
546
|
+
.fa-sr-only-focusable:not(:focus) {
|
|
547
|
+
position: absolute;
|
|
548
|
+
width: 1px;
|
|
549
|
+
height: 1px;
|
|
550
|
+
padding: 0;
|
|
551
|
+
margin: -1px;
|
|
552
|
+
overflow: hidden;
|
|
553
|
+
clip: rect(0, 0, 0, 0);
|
|
554
|
+
white-space: nowrap;
|
|
555
|
+
border-width: 0;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.svg-inline--fa .fa-primary {
|
|
559
|
+
fill: var(--fa-primary-color, currentColor);
|
|
560
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.svg-inline--fa .fa-secondary {
|
|
564
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
565
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
569
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
573
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.svg-inline--fa mask .fa-primary,
|
|
577
|
+
.svg-inline--fa mask .fa-secondary {
|
|
578
|
+
fill: black;
|
|
579
|
+
}`;function e4(){const t=GC,n=FC,i=dt.cssPrefix,o=dt.replacementClass;let u=O9;if(i!==t||o!==n){const h=new RegExp("\\.".concat(t,"\\-"),"g"),g=new RegExp("\\--".concat(t,"\\-"),"g"),v=new RegExp("\\.".concat(n),"g");u=u.replace(h,".".concat(i,"-")).replace(g,"--".concat(i,"-")).replace(v,".".concat(o))}return u}let t4=!1;function ET(){dt.autoAddCss&&!t4&&(w9(e4()),t4=!0)}var R9={mixout(){return{dom:{css:e4,insertCss:ET}}},hooks(){return{beforeDOMElementCreation(){ET()},beforeI2svg(){ET()}}}};const nd=Wh||{};nd[td]||(nd[td]={}),nd[td].styles||(nd[td].styles={}),nd[td].hooks||(nd[td].hooks={}),nd[td].shims||(nd[td].shims=[]);var vc=nd[td];const n4=[],a4=function(){sa.removeEventListener("DOMContentLoaded",a4),ox=1,n4.map(t=>t())};let ox=!1;ed&&(ox=(sa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(sa.readyState),ox||sa.addEventListener("DOMContentLoaded",a4));function _9(t){ed&&(ox?setTimeout(t,0):n4.push(t))}function y1(t){const{tag:n,attributes:i={},children:o=[]}=t;return typeof t=="string"?JC(t):"<".concat(n," ").concat(C9(i),">").concat(o.map(y1).join(""),"</").concat(n,">")}function i4(t,n,i){if(t&&t[n]&&t[n][i])return{prefix:n,iconName:i,icon:t[n][i]}}var CT=function(n,i,o,u){var h=Object.keys(n),g=h.length,v=i,S,A,w;for(o===void 0?(S=1,w=n[h[0]]):(S=0,w=o);S<g;S++)A=h[S],w=v(w,n[A],A,n);return w};function z9(t){const n=[];let i=0;const o=t.length;for(;i<o;){const u=t.charCodeAt(i++);if(u>=55296&&u<=56319&&i<o){const h=t.charCodeAt(i++);(h&64512)==56320?n.push(((u&1023)<<10)+(h&1023)+65536):(n.push(u),i--)}else n.push(u)}return n}function DT(t){const n=z9(t);return n.length===1?n[0].toString(16):null}function N9(t,n){const i=t.length;let o=t.charCodeAt(n),u;return o>=55296&&o<=56319&&i>n+1&&(u=t.charCodeAt(n+1),u>=56320&&u<=57343)?(o-55296)*1024+u-56320+65536:o}function r4(t){return Object.keys(t).reduce((n,i)=>{const o=t[i];return!!o.icon?n[o.iconName]=o.icon:n[i]=o,n},{})}function MT(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=i,u=r4(n);typeof vc.hooks.addPack=="function"&&!o?vc.hooks.addPack(t,r4(n)):vc.styles[t]=He(He({},vc.styles[t]||{}),u),t==="fas"&&MT("fa",n)}const{styles:v1,shims:V9}=vc,s4=Object.keys(xT),U9=s4.reduce((t,n)=>(t[n]=Object.keys(xT[n]),t),{});let OT=null,o4={},l4={},u4={},c4={},f4={};function L9(t){return~x9.indexOf(t)}function j9(t,n){const i=n.split("-"),o=i[0],u=i.slice(1).join("-");return o===t&&u!==""&&!L9(u)?u:null}const d4=()=>{const t=o=>CT(v1,(u,h,g)=>(u[g]=CT(h,o,{}),u),{});o4=t((o,u,h)=>(u[3]&&(o[u[3]]=h),u[2]&&u[2].filter(v=>typeof v=="number").forEach(v=>{o[v.toString(16)]=h}),o)),l4=t((o,u,h)=>(o[h]=h,u[2]&&u[2].filter(v=>typeof v=="string").forEach(v=>{o[v]=h}),o)),f4=t((o,u,h)=>{const g=u[2];return o[h]=h,g.forEach(v=>{o[v]=h}),o});const n="far"in v1||dt.autoFetchSvg,i=CT(V9,(o,u)=>{const h=u[0];let g=u[1];const v=u[2];return g==="far"&&!n&&(g="fas"),typeof h=="string"&&(o.names[h]={prefix:g,iconName:v}),typeof h=="number"&&(o.unicodes[h.toString(16)]={prefix:g,iconName:v}),o},{names:{},unicodes:{}});u4=i.names,c4=i.unicodes,OT=lx(dt.styleDefault,{family:dt.familyDefault})};A9(t=>{OT=lx(t.styleDefault,{family:dt.familyDefault})}),d4();function RT(t,n){return(o4[t]||{})[n]}function B9(t,n){return(l4[t]||{})[n]}function s0(t,n){return(f4[t]||{})[n]}function h4(t){return u4[t]||{prefix:null,iconName:null}}function $9(t){const n=c4[t],i=RT("fas",t);return n||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function em(){return OT}const m4=()=>({prefix:null,iconName:null,rest:[]});function H9(t){let n=Er;const i=s4.reduce((o,u)=>(o[u]="".concat(dt.cssPrefix,"-").concat(u),o),{});return kC.forEach(o=>{(t.includes(i[o])||t.some(u=>U9[o].includes(u)))&&(n=o)}),n}function lx(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:i=Er}=n,o=p9[i][t];if(i===ix&&!t)return"fad";const u=KC[i][t]||KC[i][o],h=t in vc.styles?t:null;return u||h||null}function k9(t){let n=[],i=null;return t.forEach(o=>{const u=j9(dt.cssPrefix,o);u?i=u:o&&n.push(o)}),{iconName:i,rest:n}}function p4(t){return t.sort().filter((n,i,o)=>o.indexOf(n)===i)}function ux(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:i=!1}=n;let o=null;const u=hT.concat(a9),h=p4(t.filter(C=>u.includes(C))),g=p4(t.filter(C=>!hT.includes(C))),v=h.filter(C=>(o=C,!HC.includes(C))),[S=null]=v,A=H9(h),w=He(He({},k9(g)),{},{prefix:lx(S,{family:A})});return He(He(He({},w),G9({values:t,family:A,styles:v1,config:dt,canonical:w,givenPrefix:o})),P9(i,o,w))}function P9(t,n,i){let{prefix:o,iconName:u}=i;if(t||!o||!u)return{prefix:o,iconName:u};const h=n==="fa"?h4(u):{},g=s0(o,u);return u=h.iconName||g||u,o=h.prefix||o,o==="far"&&!v1.far&&v1.fas&&!dt.autoFetchSvg&&(o="fas"),{prefix:o,iconName:u}}const Y9=kC.filter(t=>t!==Er||t!==ix),q9=Object.keys(dT).filter(t=>t!==Er).map(t=>Object.keys(dT[t])).flat();function G9(t){const{values:n,family:i,canonical:o,givenPrefix:u="",styles:h={},config:g={}}=t,v=i===ix,S=n.includes("fa-duotone")||n.includes("fad"),A=g.familyDefault==="duotone",w=o.prefix==="fad"||o.prefix==="fa-duotone";if(!v&&(S||A||w)&&(o.prefix="fad"),(n.includes("fa-brands")||n.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Y9.includes(i)&&(Object.keys(h).find(M=>q9.includes(M))||g.autoFetchSvg)){const M=Q2.get(i).defaultShortPrefixId;o.prefix=M,o.iconName=s0(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||u==="fa")&&(o.prefix=em()||"fas"),o}class F9{constructor(){this.definitions={}}add(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];const u=i.reduce(this._pullDefinitions,{});Object.keys(u).forEach(h=>{this.definitions[h]=He(He({},this.definitions[h]||{}),u[h]),MT(h,u[h]);const g=xT[Er][h];g&&MT(g,u[h]),d4()})}reset(){this.definitions={}}_pullDefinitions(n,i){const o=i.prefix&&i.iconName&&i.icon?{0:i}:i;return Object.keys(o).map(u=>{const{prefix:h,iconName:g,icon:v}=o[u],S=v[2];n[h]||(n[h]={}),S.length>0&&S.forEach(A=>{typeof A=="string"&&(n[h][A]=v)}),n[h][g]=v}),n}}let g4=[],oy={};const ly={},X9=Object.keys(ly);function Z9(t,n){let{mixoutsTo:i}=n;return g4=t,oy={},Object.keys(ly).forEach(o=>{X9.indexOf(o)===-1&&delete ly[o]}),g4.forEach(o=>{const u=o.mixout?o.mixout():{};if(Object.keys(u).forEach(h=>{typeof u[h]=="function"&&(i[h]=u[h]),typeof u[h]=="object"&&Object.keys(u[h]).forEach(g=>{i[h]||(i[h]={}),i[h][g]=u[h][g]})}),o.hooks){const h=o.hooks();Object.keys(h).forEach(g=>{oy[g]||(oy[g]=[]),oy[g].push(h[g])})}o.provides&&o.provides(ly)}),i}function _T(t,n){for(var i=arguments.length,o=new Array(i>2?i-2:0),u=2;u<i;u++)o[u-2]=arguments[u];return(oy[t]||[]).forEach(g=>{n=g.apply(null,[n,...o])}),n}function o0(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(oy[t]||[]).forEach(h=>{h.apply(null,i)})}function tm(){const t=arguments[0],n=Array.prototype.slice.call(arguments,1);return ly[t]?ly[t].apply(null,n):void 0}function zT(t){t.prefix==="fa"&&(t.prefix="fas");let{iconName:n}=t;const i=t.prefix||em();if(n)return n=s0(i,n)||n,i4(y4.definitions,i,n)||i4(vc.styles,i,n)}const y4=new F9,ro={noAuto:()=>{dt.autoReplaceSvg=!1,dt.observeMutations=!1,o0("noAuto")},config:dt,dom:{i2svg:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ed?(o0("beforeI2svg",t),tm("pseudoElements2svg",t),tm("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:n}=t;dt.autoReplaceSvg===!1&&(dt.autoReplaceSvg=!0),dt.observeMutations=!0,_9(()=>{Q9({autoReplaceSvgRoot:n}),o0("watch",t)})}},parse:{icon:t=>{if(t===null)return null;if(typeof t=="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:s0(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){const n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],i=lx(t[0]);return{prefix:i,iconName:s0(i,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(dt.cssPrefix,"-"))>-1||t.match(g9))){const n=ux(t.split(" "),{skipLookups:!0});return{prefix:n.prefix||em(),iconName:s0(n.prefix,n.iconName)||n.iconName}}if(typeof t=="string"){const n=em();return{prefix:n,iconName:s0(n,t)||t}}}},library:y4,findIconDefinition:zT,toHtml:y1},Q9=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:n=sa}=t;(Object.keys(vc.styles).length>0||dt.autoFetchSvg)&&ed&&dt.autoReplaceSvg&&ro.dom.i2svg({node:n})};function cx(t,n){return Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(i=>y1(i))}}),Object.defineProperty(t,"node",{get:function(){if(!ed)return;const i=sa.createElement("div");return i.innerHTML=t.html,i.children}}),t}function K9(t){let{children:n,main:i,mask:o,attributes:u,styles:h,transform:g}=t;if(wT(g)&&i.found&&!o.found){const{width:v,height:S}=i,A={x:v/S/2,y:.5};u.style=sx(He(He({},h),{},{"transform-origin":"".concat(A.x+g.x/16,"em ").concat(A.y+g.y/16,"em")}))}return[{tag:"svg",attributes:u,children:n}]}function I9(t){let{prefix:n,iconName:i,children:o,attributes:u,symbol:h}=t;const g=h===!0?"".concat(n,"-").concat(dt.cssPrefix,"-").concat(i):h;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:He(He({},u),{},{id:g}),children:o}]}]}function NT(t){const{icons:{main:n,mask:i},prefix:o,iconName:u,transform:h,symbol:g,title:v,maskId:S,titleId:A,extra:w,watchable:C=!1}=t,{width:M,height:R}=i.found?i:n,V=e9.includes(o),L=[dt.replacementClass,u?"".concat(dt.cssPrefix,"-").concat(u):""].filter(H=>w.classes.indexOf(H)===-1).filter(H=>H!==""||!!H).concat(w.classes).join(" ");let P={children:[],attributes:He(He({},w.attributes),{},{"data-prefix":o,"data-icon":u,class:L,role:w.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(M," ").concat(R)})};const U=V&&!~w.classes.indexOf("fa-fw")?{width:"".concat(M/R*16*.0625,"em")}:{};C&&(P.attributes[r0]=""),v&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(A||g1())},children:[v]}),delete P.attributes.title);const q=He(He({},P),{},{prefix:o,iconName:u,main:n,mask:i,maskId:S,transform:h,symbol:g,styles:He(He({},U),w.styles)}),{children:F,attributes:ae}=i.found&&n.found?tm("generateAbstractMask",q)||{children:[],attributes:{}}:tm("generateAbstractIcon",q)||{children:[],attributes:{}};return q.children=F,q.attributes=ae,g?I9(q):K9(q)}function v4(t){const{content:n,width:i,height:o,transform:u,title:h,extra:g,watchable:v=!1}=t,S=He(He(He({},g.attributes),h?{title:h}:{}),{},{class:g.classes.join(" ")});v&&(S[r0]="");const A=He({},g.styles);wT(u)&&(A.transform=M9({transform:u,startCentered:!0,width:i,height:o}),A["-webkit-transform"]=A.transform);const w=sx(A);w.length>0&&(S.style=w);const C=[];return C.push({tag:"span",attributes:S,children:[n]}),h&&C.push({tag:"span",attributes:{class:"sr-only"},children:[h]}),C}function W9(t){const{content:n,title:i,extra:o}=t,u=He(He(He({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")}),h=sx(o.styles);h.length>0&&(u.style=h);const g=[];return g.push({tag:"span",attributes:u,children:[n]}),i&&g.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),g}const{styles:VT}=vc;function UT(t){const n=t[0],i=t[1],[o]=t.slice(4);let u=null;return Array.isArray(o)?u={tag:"g",attributes:{class:"".concat(dt.cssPrefix,"-").concat(TT.GROUP)},children:[{tag:"path",attributes:{class:"".concat(dt.cssPrefix,"-").concat(TT.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(dt.cssPrefix,"-").concat(TT.PRIMARY),fill:"currentColor",d:o[1]}}]}:u={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:n,height:i,icon:u}}const J9={found:!1,width:512,height:512};function ez(t,n){!ZC&&!dt.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(n,'" is missing.'))}function LT(t,n){let i=n;return n==="fa"&&dt.styleDefault!==null&&(n=em()),new Promise((o,u)=>{if(i==="fa"){const h=h4(t)||{};t=h.iconName||t,n=h.prefix||n}if(t&&n&&VT[n]&&VT[n][t]){const h=VT[n][t];return o(UT(h))}ez(t,n),o(He(He({},J9),{},{icon:dt.showMissingIcons&&t?tm("missingIconAbstract")||{}:{}}))})}const b4=()=>{},jT=dt.measurePerformance&&ax&&ax.mark&&ax.measure?ax:{mark:b4,measure:b4},b1='FA "6.7.2"',tz=t=>(jT.mark("".concat(b1," ").concat(t," begins")),()=>x4(t)),x4=t=>{jT.mark("".concat(b1," ").concat(t," ends")),jT.measure("".concat(b1," ").concat(t),"".concat(b1," ").concat(t," begins"),"".concat(b1," ").concat(t," ends"))};var BT={begin:tz,end:x4};const fx=()=>{};function S4(t){return typeof(t.getAttribute?t.getAttribute(r0):null)=="string"}function nz(t){const n=t.getAttribute?t.getAttribute(gT):null,i=t.getAttribute?t.getAttribute(yT):null;return n&&i}function az(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(dt.replacementClass)}function iz(){return dt.autoReplaceSvg===!0?dx.replace:dx[dt.autoReplaceSvg]||dx.replace}function rz(t){return sa.createElementNS("http://www.w3.org/2000/svg",t)}function sz(t){return sa.createElement(t)}function T4(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:i=t.tag==="svg"?rz:sz}=n;if(typeof t=="string")return sa.createTextNode(t);const o=i(t.tag);return Object.keys(t.attributes||[]).forEach(function(h){o.setAttribute(h,t.attributes[h])}),(t.children||[]).forEach(function(h){o.appendChild(T4(h,{ceFn:i}))}),o}function oz(t){let n=" ".concat(t.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}const dx={replace:function(t){const n=t[0];if(n.parentNode)if(t[1].forEach(i=>{n.parentNode.insertBefore(T4(i),n)}),n.getAttribute(r0)===null&&dt.keepOriginalSource){let i=sa.createComment(oz(n));n.parentNode.replaceChild(i,n)}else n.remove()},nest:function(t){const n=t[0],i=t[1];if(~AT(n).indexOf(dt.replacementClass))return dx.replace(t);const o=new RegExp("".concat(dt.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){const h=i[0].attributes.class.split(" ").reduce((g,v)=>(v===dt.replacementClass||v.match(o)?g.toSvg.push(v):g.toNode.push(v),g),{toNode:[],toSvg:[]});i[0].attributes.class=h.toSvg.join(" "),h.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",h.toNode.join(" "))}const u=i.map(h=>y1(h)).join(`
|
|
580
|
+
`);n.setAttribute(r0,""),n.innerHTML=u}};function A4(t){t()}function w4(t,n){const i=typeof n=="function"?n:fx;if(t.length===0)i();else{let o=A4;dt.mutateApproach===h9&&(o=Wh.requestAnimationFrame||A4),o(()=>{const u=iz(),h=BT.begin("mutate");t.map(u),h(),i()})}}let $T=!1;function E4(){$T=!0}function HT(){$T=!1}let hx=null;function C4(t){if(!jC||!dt.observeMutations)return;const{treeCallback:n=fx,nodeCallback:i=fx,pseudoElementsCallback:o=fx,observeMutationsRoot:u=sa}=t;hx=new jC(h=>{if($T)return;const g=em();sy(h).forEach(v=>{if(v.type==="childList"&&v.addedNodes.length>0&&!S4(v.addedNodes[0])&&(dt.searchPseudoElements&&o(v.target),n(v.target)),v.type==="attributes"&&v.target.parentNode&&dt.searchPseudoElements&&o(v.target.parentNode),v.type==="attributes"&&S4(v.target)&&~b9.indexOf(v.attributeName))if(v.attributeName==="class"&&nz(v.target)){const{prefix:S,iconName:A}=ux(AT(v.target));v.target.setAttribute(gT,S||g),A&&v.target.setAttribute(yT,A)}else az(v.target)&&i(v.target)})}),ed&&hx.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function lz(){hx&&hx.disconnect()}function uz(t){const n=t.getAttribute("style");let i=[];return n&&(i=n.split(";").reduce((o,u)=>{const h=u.split(":"),g=h[0],v=h.slice(1);return g&&v.length>0&&(o[g]=v.join(":").trim()),o},{})),i}function cz(t){const n=t.getAttribute("data-prefix"),i=t.getAttribute("data-icon"),o=t.innerText!==void 0?t.innerText.trim():"";let u=ux(AT(t));return u.prefix||(u.prefix=em()),n&&i&&(u.prefix=n,u.iconName=i),u.iconName&&u.prefix||(u.prefix&&o.length>0&&(u.iconName=B9(u.prefix,t.innerText)||RT(u.prefix,DT(t.innerText))),!u.iconName&&dt.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(u.iconName=t.firstChild.data)),u}function fz(t){const n=sy(t.attributes).reduce((u,h)=>(u.name!=="class"&&u.name!=="style"&&(u[h.name]=h.value),u),{}),i=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return dt.autoA11y&&(i?n["aria-labelledby"]="".concat(dt.replacementClass,"-title-").concat(o||g1()):(n["aria-hidden"]="true",n.focusable="false")),n}function dz(){return{iconName:null,title:null,titleId:null,prefix:null,transform:yc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function D4(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:i,prefix:o,rest:u}=cz(t),h=fz(t),g=_T("parseNodeAttributes",{},t);let v=n.styleParser?uz(t):[];return He({iconName:i,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:o,transform:yc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:u,styles:v,attributes:h}},g)}const{styles:hz}=vc;function M4(t){const n=dt.autoReplaceSvg==="nest"?D4(t,{styleParser:!1}):D4(t);return~n.extra.classes.indexOf(IC)?tm("generateLayersText",t,n):tm("generateSvgReplacementMutation",t,n)}function mz(){return[...I2,...hT]}function O4(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ed)return Promise.resolve();const i=sa.documentElement.classList,o=w=>i.add("".concat(XC,"-").concat(w)),u=w=>i.remove("".concat(XC,"-").concat(w)),h=dt.autoFetchSvg?mz():HC.concat(Object.keys(hz));h.includes("fa")||h.push("fa");const g=[".".concat(IC,":not([").concat(r0,"])")].concat(h.map(w=>".".concat(w,":not([").concat(r0,"])"))).join(", ");if(g.length===0)return Promise.resolve();let v=[];try{v=sy(t.querySelectorAll(g))}catch{}if(v.length>0)o("pending"),u("complete");else return Promise.resolve();const S=BT.begin("onTree"),A=v.reduce((w,C)=>{try{const M=M4(C);M&&w.push(M)}catch(M){ZC||M.name==="MissingIcon"&&console.error(M)}return w},[]);return new Promise((w,C)=>{Promise.all(A).then(M=>{w4(M,()=>{o("active"),o("complete"),u("pending"),typeof n=="function"&&n(),S(),w()})}).catch(M=>{S(),C(M)})})}function pz(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;M4(t).then(i=>{i&&w4([i],n)})}function gz(t){return function(n){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(n||{}).icon?n:zT(n||{});let{mask:u}=i;return u&&(u=(u||{}).icon?u:zT(u||{})),t(o,He(He({},i),{},{mask:u}))}}const yz=function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:i=yc,symbol:o=!1,mask:u=null,maskId:h=null,title:g=null,titleId:v=null,classes:S=[],attributes:A={},styles:w={}}=n;if(!t)return;const{prefix:C,iconName:M,icon:R}=t;return cx(He({type:"icon"},t),()=>(o0("beforeDOMElementCreation",{iconDefinition:t,params:n}),dt.autoA11y&&(g?A["aria-labelledby"]="".concat(dt.replacementClass,"-title-").concat(v||g1()):(A["aria-hidden"]="true",A.focusable="false")),NT({icons:{main:UT(R),mask:u?UT(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:M,transform:He(He({},yc),i),symbol:o,title:g,maskId:h,titleId:v,extra:{attributes:A,styles:w,classes:S}})))};var vz={mixout(){return{icon:gz(yz)}},hooks(){return{mutationObserverCallbacks(t){return t.treeCallback=O4,t.nodeCallback=pz,t}}},provides(t){t.i2svg=function(n){const{node:i=sa,callback:o=()=>{}}=n;return O4(i,o)},t.generateSvgReplacementMutation=function(n,i){const{iconName:o,title:u,titleId:h,prefix:g,transform:v,symbol:S,mask:A,maskId:w,extra:C}=i;return new Promise((M,R)=>{Promise.all([LT(o,g),A.iconName?LT(A.iconName,A.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(V=>{let[L,P]=V;M([n,NT({icons:{main:L,mask:P},prefix:g,iconName:o,transform:v,symbol:S,maskId:w,title:u,titleId:h,extra:C,watchable:!0})])}).catch(R)})},t.generateAbstractIcon=function(n){let{children:i,attributes:o,main:u,transform:h,styles:g}=n;const v=sx(g);v.length>0&&(o.style=v);let S;return wT(h)&&(S=tm("generateAbstractTransformGrouping",{main:u,transform:h,containerWidth:u.width,iconWidth:u.width})),i.push(S||u.icon),{children:i,attributes:o}}}},bz={mixout(){return{layer(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:i=[]}=n;return cx({type:"layer"},()=>{o0("beforeDOMElementCreation",{assembler:t,params:n});let o=[];return t(u=>{Array.isArray(u)?u.map(h=>{o=o.concat(h.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(dt.cssPrefix,"-layers"),...i].join(" ")},children:o}]})}}}},xz={mixout(){return{counter(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:i=null,classes:o=[],attributes:u={},styles:h={}}=n;return cx({type:"counter",content:t},()=>(o0("beforeDOMElementCreation",{content:t,params:n}),W9({content:t.toString(),title:i,extra:{attributes:u,styles:h,classes:["".concat(dt.cssPrefix,"-layers-counter"),...o]}})))}}}},Sz={mixout(){return{text(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:i=yc,title:o=null,classes:u=[],attributes:h={},styles:g={}}=n;return cx({type:"text",content:t},()=>(o0("beforeDOMElementCreation",{content:t,params:n}),v4({content:t,transform:He(He({},yc),i),title:o,extra:{attributes:h,styles:g,classes:["".concat(dt.cssPrefix,"-layers-text"),...u]}})))}}},provides(t){t.generateLayersText=function(n,i){const{title:o,transform:u,extra:h}=i;let g=null,v=null;if(BC){const S=parseInt(getComputedStyle(n).fontSize,10),A=n.getBoundingClientRect();g=A.width/S,v=A.height/S}return dt.autoA11y&&!o&&(h.attributes["aria-hidden"]="true"),Promise.resolve([n,v4({content:n.innerHTML,width:g,height:v,transform:u,title:o,extra:h,watchable:!0})])}}};const Tz=new RegExp('"',"ug"),R4=[1105920,1112319],_4=He(He(He(He({},{FontAwesome:{normal:"fas",400:"fas"}}),Z2),f9),i9),kT=Object.keys(_4).reduce((t,n)=>(t[n.toLowerCase()]=_4[n],t),{}),Az=Object.keys(kT).reduce((t,n)=>{const i=kT[n];return t[n]=i[900]||[...Object.entries(i)][0][1],t},{});function wz(t){const n=t.replace(Tz,""),i=N9(n,0),o=i>=R4[0]&&i<=R4[1],u=n.length===2?n[0]===n[1]:!1;return{value:DT(u?n[0]:n),isSecondary:o||u}}function Ez(t,n){const i=t.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(n),u=isNaN(o)?"normal":o;return(kT[i]||{})[u]||Az[i]}function z4(t,n){const i="".concat(d9).concat(n.replace(":","-"));return new Promise((o,u)=>{if(t.getAttribute(i)!==null)return o();const g=sy(t.children).filter(M=>M.getAttribute(pT)===n)[0],v=Wh.getComputedStyle(t,n),S=v.getPropertyValue("font-family"),A=S.match(y9),w=v.getPropertyValue("font-weight"),C=v.getPropertyValue("content");if(g&&!A)return t.removeChild(g),o();if(A&&C!=="none"&&C!==""){const M=v.getPropertyValue("content");let R=Ez(S,w);const{value:V,isSecondary:L}=wz(M),P=A[0].startsWith("FontAwesome");let U=RT(R,V),q=U;if(P){const F=$9(V);F.iconName&&F.prefix&&(U=F.iconName,R=F.prefix)}if(U&&!L&&(!g||g.getAttribute(gT)!==R||g.getAttribute(yT)!==q)){t.setAttribute(i,q),g&&t.removeChild(g);const F=dz(),{extra:ae}=F;ae.attributes[pT]=n,LT(U,R).then(H=>{const le=NT(He(He({},F),{},{icons:{main:H,mask:m4()},prefix:R,iconName:q,extra:ae,watchable:!0})),be=sa.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?t.insertBefore(be,t.firstChild):t.appendChild(be),be.outerHTML=le.map(de=>y1(de)).join(`
|
|
581
|
+
`),t.removeAttribute(i),o()}).catch(u)}else o()}else o()})}function Cz(t){return Promise.all([z4(t,"::before"),z4(t,"::after")])}function Dz(t){return t.parentNode!==document.head&&!~m9.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(pT)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function N4(t){if(ed)return new Promise((n,i)=>{const o=sy(t.querySelectorAll("*")).filter(Dz).map(Cz),u=BT.begin("searchPseudoElements");E4(),Promise.all(o).then(()=>{u(),HT(),n()}).catch(()=>{u(),HT(),i()})})}var Mz={hooks(){return{mutationObserverCallbacks(t){return t.pseudoElementsCallback=N4,t}}},provides(t){t.pseudoElements2svg=function(n){const{node:i=sa}=n;dt.searchPseudoElements&&N4(i)}}};let V4=!1;var Oz={mixout(){return{dom:{unwatch(){E4(),V4=!0}}}},hooks(){return{bootstrap(){C4(_T("mutationObserverCallbacks",{}))},noAuto(){lz()},watch(t){const{observeMutationsRoot:n}=t;V4?HT():C4(_T("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}};const U4=t=>{let n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((i,o)=>{const u=o.toLowerCase().split("-"),h=u[0];let g=u.slice(1).join("-");if(h&&g==="h")return i.flipX=!0,i;if(h&&g==="v")return i.flipY=!0,i;if(g=parseFloat(g),isNaN(g))return i;switch(h){case"grow":i.size=i.size+g;break;case"shrink":i.size=i.size-g;break;case"left":i.x=i.x-g;break;case"right":i.x=i.x+g;break;case"up":i.y=i.y-g;break;case"down":i.y=i.y+g;break;case"rotate":i.rotate=i.rotate+g;break}return i},n)};var Rz={mixout(){return{parse:{transform:t=>U4(t)}}},hooks(){return{parseNodeAttributes(t,n){const i=n.getAttribute("data-fa-transform");return i&&(t.transform=U4(i)),t}}},provides(t){t.generateAbstractTransformGrouping=function(n){let{main:i,transform:o,containerWidth:u,iconWidth:h}=n;const g={transform:"translate(".concat(u/2," 256)")},v="translate(".concat(o.x*32,", ").concat(o.y*32,") "),S="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),A="rotate(".concat(o.rotate," 0 0)"),w={transform:"".concat(v," ").concat(S," ").concat(A)},C={transform:"translate(".concat(h/2*-1," -256)")},M={outer:g,inner:w,path:C};return{tag:"g",attributes:He({},M.outer),children:[{tag:"g",attributes:He({},M.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:He(He({},i.icon.attributes),M.path)}]}]}}}};const PT={x:0,y:0,width:"100%",height:"100%"};function L4(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||n)&&(t.attributes.fill="black"),t}function _z(t){return t.tag==="g"?t.children:[t]}var zz={hooks(){return{parseNodeAttributes(t,n){const i=n.getAttribute("data-fa-mask"),o=i?ux(i.split(" ").map(u=>u.trim())):m4();return o.prefix||(o.prefix=em()),t.mask=o,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides(t){t.generateAbstractMask=function(n){let{children:i,attributes:o,main:u,mask:h,maskId:g,transform:v}=n;const{width:S,icon:A}=u,{width:w,icon:C}=h,M=D9({transform:v,containerWidth:w,iconWidth:S}),R={tag:"rect",attributes:He(He({},PT),{},{fill:"white"})},V=A.children?{children:A.children.map(L4)}:{},L={tag:"g",attributes:He({},M.inner),children:[L4(He({tag:A.tag,attributes:He(He({},A.attributes),M.path)},V))]},P={tag:"g",attributes:He({},M.outer),children:[L]},U="mask-".concat(g||g1()),q="clip-".concat(g||g1()),F={tag:"mask",attributes:He(He({},PT),{},{id:U,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[R,P]},ae={tag:"defs",children:[{tag:"clipPath",attributes:{id:q},children:_z(C)},F]};return i.push(ae,{tag:"rect",attributes:He({fill:"currentColor","clip-path":"url(#".concat(q,")"),mask:"url(#".concat(U,")")},PT)}),{children:i,attributes:o}}}},Nz={provides(t){let n=!1;Wh.matchMedia&&(n=Wh.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){const i=[],o={fill:"currentColor"},u={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:He(He({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const h=He(He({},u),{},{attributeName:"opacity"}),g={tag:"circle",attributes:He(He({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||g.children.push({tag:"animate",attributes:He(He({},u),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:He(He({},h),{},{values:"1;0;1;1;0;1;"})}),i.push(g),i.push({tag:"path",attributes:He(He({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:He(He({},h),{},{values:"1;0;0;0;0;1;"})}]}),n||i.push({tag:"path",attributes:He(He({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:He(He({},h),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},Vz={hooks(){return{parseNodeAttributes(t,n){const i=n.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return t.symbol=o,t}}}},Uz=[R9,vz,bz,xz,Sz,Mz,Oz,Rz,zz,Nz,Vz];Z9(Uz,{mixoutsTo:ro}),ro.noAuto,ro.config,ro.library,ro.dom;const YT=ro.parse;ro.findIconDefinition,ro.toHtml;const Lz=ro.icon;ro.layer,ro.text,ro.counter;var mx={exports:{}},px={exports:{}},Rn={};/** @license React v16.13.1
|
|
582
|
+
* react-is.production.min.js
|
|
583
|
+
*
|
|
584
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
585
|
+
*
|
|
586
|
+
* This source code is licensed under the MIT license found in the
|
|
587
|
+
* LICENSE file in the root directory of this source tree.
|
|
588
|
+
*/var j4;function jz(){if(j4)return Rn;j4=1;var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,i=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,h=t?Symbol.for("react.profiler"):60114,g=t?Symbol.for("react.provider"):60109,v=t?Symbol.for("react.context"):60110,S=t?Symbol.for("react.async_mode"):60111,A=t?Symbol.for("react.concurrent_mode"):60111,w=t?Symbol.for("react.forward_ref"):60112,C=t?Symbol.for("react.suspense"):60113,M=t?Symbol.for("react.suspense_list"):60120,R=t?Symbol.for("react.memo"):60115,V=t?Symbol.for("react.lazy"):60116,L=t?Symbol.for("react.block"):60121,P=t?Symbol.for("react.fundamental"):60117,U=t?Symbol.for("react.responder"):60118,q=t?Symbol.for("react.scope"):60119;function F(H){if(typeof H=="object"&&H!==null){var le=H.$$typeof;switch(le){case n:switch(H=H.type,H){case S:case A:case o:case h:case u:case C:return H;default:switch(H=H&&H.$$typeof,H){case v:case w:case V:case R:case g:return H;default:return le}}case i:return le}}}function ae(H){return F(H)===A}return Rn.AsyncMode=S,Rn.ConcurrentMode=A,Rn.ContextConsumer=v,Rn.ContextProvider=g,Rn.Element=n,Rn.ForwardRef=w,Rn.Fragment=o,Rn.Lazy=V,Rn.Memo=R,Rn.Portal=i,Rn.Profiler=h,Rn.StrictMode=u,Rn.Suspense=C,Rn.isAsyncMode=function(H){return ae(H)||F(H)===S},Rn.isConcurrentMode=ae,Rn.isContextConsumer=function(H){return F(H)===v},Rn.isContextProvider=function(H){return F(H)===g},Rn.isElement=function(H){return typeof H=="object"&&H!==null&&H.$$typeof===n},Rn.isForwardRef=function(H){return F(H)===w},Rn.isFragment=function(H){return F(H)===o},Rn.isLazy=function(H){return F(H)===V},Rn.isMemo=function(H){return F(H)===R},Rn.isPortal=function(H){return F(H)===i},Rn.isProfiler=function(H){return F(H)===h},Rn.isStrictMode=function(H){return F(H)===u},Rn.isSuspense=function(H){return F(H)===C},Rn.isValidElementType=function(H){return typeof H=="string"||typeof H=="function"||H===o||H===A||H===h||H===u||H===C||H===M||typeof H=="object"&&H!==null&&(H.$$typeof===V||H.$$typeof===R||H.$$typeof===g||H.$$typeof===v||H.$$typeof===w||H.$$typeof===P||H.$$typeof===U||H.$$typeof===q||H.$$typeof===L)},Rn.typeOf=F,Rn}var _n={},B4;function Bz(){if(B4)return _n;B4=1;var t={};/** @license React v16.13.1
|
|
589
|
+
* react-is.development.js
|
|
590
|
+
*
|
|
591
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
592
|
+
*
|
|
593
|
+
* This source code is licensed under the MIT license found in the
|
|
594
|
+
* LICENSE file in the root directory of this source tree.
|
|
595
|
+
*/return t.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,h=n?Symbol.for("react.strict_mode"):60108,g=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,S=n?Symbol.for("react.context"):60110,A=n?Symbol.for("react.async_mode"):60111,w=n?Symbol.for("react.concurrent_mode"):60111,C=n?Symbol.for("react.forward_ref"):60112,M=n?Symbol.for("react.suspense"):60113,R=n?Symbol.for("react.suspense_list"):60120,V=n?Symbol.for("react.memo"):60115,L=n?Symbol.for("react.lazy"):60116,P=n?Symbol.for("react.block"):60121,U=n?Symbol.for("react.fundamental"):60117,q=n?Symbol.for("react.responder"):60118,F=n?Symbol.for("react.scope"):60119;function ae(Ze){return typeof Ze=="string"||typeof Ze=="function"||Ze===u||Ze===w||Ze===g||Ze===h||Ze===M||Ze===R||typeof Ze=="object"&&Ze!==null&&(Ze.$$typeof===L||Ze.$$typeof===V||Ze.$$typeof===v||Ze.$$typeof===S||Ze.$$typeof===C||Ze.$$typeof===U||Ze.$$typeof===q||Ze.$$typeof===F||Ze.$$typeof===P)}function H(Ze){if(typeof Ze=="object"&&Ze!==null){var dn=Ze.$$typeof;switch(dn){case i:var Rr=Ze.type;switch(Rr){case A:case w:case u:case g:case h:case M:return Rr;default:var vm=Rr&&Rr.$$typeof;switch(vm){case S:case C:case L:case V:case v:return vm;default:return dn}}case o:return dn}}}var le=A,be=w,de=S,Ue=v,De=i,$e=C,ke=u,We=L,et=V,Ge=o,re=g,W=h,ce=M,Ae=!1;function Be(Ze){return Ae||(Ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),X(Ze)||H(Ze)===A}function X(Ze){return H(Ze)===w}function xe(Ze){return H(Ze)===S}function Me(Ze){return H(Ze)===v}function Ye(Ze){return typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===i}function ze(Ze){return H(Ze)===C}function qe(Ze){return H(Ze)===u}function Pe(Ze){return H(Ze)===L}function ot(Ze){return H(Ze)===V}function Je(Ze){return H(Ze)===o}function Tt(Ze){return H(Ze)===g}function pt(Ze){return H(Ze)===h}function zn(Ze){return H(Ze)===M}_n.AsyncMode=le,_n.ConcurrentMode=be,_n.ContextConsumer=de,_n.ContextProvider=Ue,_n.Element=De,_n.ForwardRef=$e,_n.Fragment=ke,_n.Lazy=We,_n.Memo=et,_n.Portal=Ge,_n.Profiler=re,_n.StrictMode=W,_n.Suspense=ce,_n.isAsyncMode=Be,_n.isConcurrentMode=X,_n.isContextConsumer=xe,_n.isContextProvider=Me,_n.isElement=Ye,_n.isForwardRef=ze,_n.isFragment=qe,_n.isLazy=Pe,_n.isMemo=ot,_n.isPortal=Je,_n.isProfiler=Tt,_n.isStrictMode=pt,_n.isSuspense=zn,_n.isValidElementType=ae,_n.typeOf=H}(),_n}var $4;function H4(){if($4)return px.exports;$4=1;var t={};return t.NODE_ENV==="production"?px.exports=jz():px.exports=Bz(),px.exports}/*
|
|
596
|
+
object-assign
|
|
597
|
+
(c) Sindre Sorhus
|
|
598
|
+
@license MIT
|
|
599
|
+
*/var qT,k4;function $z(){if(k4)return qT;k4=1;var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(h){if(h==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(h)}function u(){try{if(!Object.assign)return!1;var h=new String("abc");if(h[5]="de",Object.getOwnPropertyNames(h)[0]==="5")return!1;for(var g={},v=0;v<10;v++)g["_"+String.fromCharCode(v)]=v;var S=Object.getOwnPropertyNames(g).map(function(w){return g[w]});if(S.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(w){A[w]=w}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return qT=u()?Object.assign:function(h,g){for(var v,S=o(h),A,w=1;w<arguments.length;w++){v=Object(arguments[w]);for(var C in v)n.call(v,C)&&(S[C]=v[C]);if(t){A=t(v);for(var M=0;M<A.length;M++)i.call(v,A[M])&&(S[A[M]]=v[A[M]])}}return S},qT}var GT,P4;function FT(){if(P4)return GT;P4=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return GT=t,GT}var XT,Y4;function q4(){return Y4||(Y4=1,XT=Function.call.bind(Object.prototype.hasOwnProperty)),XT}var ZT,G4;function Hz(){if(G4)return ZT;G4=1;var t={},n=function(){};if(t.NODE_ENV!=="production"){var i=FT(),o={},u=q4();n=function(g){var v="Warning: "+g;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function h(g,v,S,A,w){if(t.NODE_ENV!=="production"){for(var C in g)if(u(g,C)){var M;try{if(typeof g[C]!="function"){var R=Error((A||"React class")+": "+S+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}M=g[C](v,C,A,S,null,i)}catch(L){M=L}if(M&&!(M instanceof Error)&&n((A||"React class")+": type specification of "+S+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof M+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),M instanceof Error&&!(M.message in o)){o[M.message]=!0;var V=w?w():"";n("Failed "+S+" type: "+M.message+(V??""))}}}}return h.resetWarningCache=function(){t.NODE_ENV!=="production"&&(o={})},ZT=h,ZT}var QT,F4;function kz(){if(F4)return QT;F4=1;var t={},n=H4(),i=$z(),o=FT(),u=q4(),h=Hz(),g=function(){};t.NODE_ENV!=="production"&&(g=function(S){var A="Warning: "+S;typeof console<"u"&&console.error(A);try{throw new Error(A)}catch{}});function v(){return null}return QT=function(S,A){var w=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function M(X){var xe=X&&(w&&X[w]||X[C]);if(typeof xe=="function")return xe}var R="<<anonymous>>",V={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:F(),arrayOf:ae,element:H(),elementType:le(),instanceOf:be,node:$e(),objectOf:Ue,oneOf:de,oneOfType:De,shape:We,exact:et};function L(X,xe){return X===xe?X!==0||1/X===1/xe:X!==X&&xe!==xe}function P(X,xe){this.message=X,this.data=xe&&typeof xe=="object"?xe:{},this.stack=""}P.prototype=Error.prototype;function U(X){if(t.NODE_ENV!=="production")var xe={},Me=0;function Ye(qe,Pe,ot,Je,Tt,pt,zn){if(Je=Je||R,pt=pt||ot,zn!==o){if(A){var Ze=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ze.name="Invariant Violation",Ze}else if(t.NODE_ENV!=="production"&&typeof console<"u"){var dn=Je+":"+ot;!xe[dn]&&Me<3&&(g("You are manually calling a React.PropTypes validation function for the `"+pt+"` prop on `"+Je+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),xe[dn]=!0,Me++)}}return Pe[ot]==null?qe?Pe[ot]===null?new P("The "+Tt+" `"+pt+"` is marked as required "+("in `"+Je+"`, but its value is `null`.")):new P("The "+Tt+" `"+pt+"` is marked as required in "+("`"+Je+"`, but its value is `undefined`.")):null:X(Pe,ot,Je,Tt,pt)}var ze=Ye.bind(null,!1);return ze.isRequired=Ye.bind(null,!0),ze}function q(X){function xe(Me,Ye,ze,qe,Pe,ot){var Je=Me[Ye],Tt=W(Je);if(Tt!==X){var pt=ce(Je);return new P("Invalid "+qe+" `"+Pe+"` of type "+("`"+pt+"` supplied to `"+ze+"`, expected ")+("`"+X+"`."),{expectedType:X})}return null}return U(xe)}function F(){return U(v)}function ae(X){function xe(Me,Ye,ze,qe,Pe){if(typeof X!="function")return new P("Property `"+Pe+"` of component `"+ze+"` has invalid PropType notation inside arrayOf.");var ot=Me[Ye];if(!Array.isArray(ot)){var Je=W(ot);return new P("Invalid "+qe+" `"+Pe+"` of type "+("`"+Je+"` supplied to `"+ze+"`, expected an array."))}for(var Tt=0;Tt<ot.length;Tt++){var pt=X(ot,Tt,ze,qe,Pe+"["+Tt+"]",o);if(pt instanceof Error)return pt}return null}return U(xe)}function H(){function X(xe,Me,Ye,ze,qe){var Pe=xe[Me];if(!S(Pe)){var ot=W(Pe);return new P("Invalid "+ze+" `"+qe+"` of type "+("`"+ot+"` supplied to `"+Ye+"`, expected a single ReactElement."))}return null}return U(X)}function le(){function X(xe,Me,Ye,ze,qe){var Pe=xe[Me];if(!n.isValidElementType(Pe)){var ot=W(Pe);return new P("Invalid "+ze+" `"+qe+"` of type "+("`"+ot+"` supplied to `"+Ye+"`, expected a single ReactElement type."))}return null}return U(X)}function be(X){function xe(Me,Ye,ze,qe,Pe){if(!(Me[Ye]instanceof X)){var ot=X.name||R,Je=Be(Me[Ye]);return new P("Invalid "+qe+" `"+Pe+"` of type "+("`"+Je+"` supplied to `"+ze+"`, expected ")+("instance of `"+ot+"`."))}return null}return U(xe)}function de(X){if(!Array.isArray(X))return t.NODE_ENV!=="production"&&(arguments.length>1?g("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):g("Invalid argument supplied to oneOf, expected an array.")),v;function xe(Me,Ye,ze,qe,Pe){for(var ot=Me[Ye],Je=0;Je<X.length;Je++)if(L(ot,X[Je]))return null;var Tt=JSON.stringify(X,function(zn,Ze){var dn=ce(Ze);return dn==="symbol"?String(Ze):Ze});return new P("Invalid "+qe+" `"+Pe+"` of value `"+String(ot)+"` "+("supplied to `"+ze+"`, expected one of "+Tt+"."))}return U(xe)}function Ue(X){function xe(Me,Ye,ze,qe,Pe){if(typeof X!="function")return new P("Property `"+Pe+"` of component `"+ze+"` has invalid PropType notation inside objectOf.");var ot=Me[Ye],Je=W(ot);if(Je!=="object")return new P("Invalid "+qe+" `"+Pe+"` of type "+("`"+Je+"` supplied to `"+ze+"`, expected an object."));for(var Tt in ot)if(u(ot,Tt)){var pt=X(ot,Tt,ze,qe,Pe+"."+Tt,o);if(pt instanceof Error)return pt}return null}return U(xe)}function De(X){if(!Array.isArray(X))return t.NODE_ENV!=="production"&&g("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var xe=0;xe<X.length;xe++){var Me=X[xe];if(typeof Me!="function")return g("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ae(Me)+" at index "+xe+"."),v}function Ye(ze,qe,Pe,ot,Je){for(var Tt=[],pt=0;pt<X.length;pt++){var zn=X[pt],Ze=zn(ze,qe,Pe,ot,Je,o);if(Ze==null)return null;Ze.data&&u(Ze.data,"expectedType")&&Tt.push(Ze.data.expectedType)}var dn=Tt.length>0?", expected one of type ["+Tt.join(", ")+"]":"";return new P("Invalid "+ot+" `"+Je+"` supplied to "+("`"+Pe+"`"+dn+"."))}return U(Ye)}function $e(){function X(xe,Me,Ye,ze,qe){return Ge(xe[Me])?null:new P("Invalid "+ze+" `"+qe+"` supplied to "+("`"+Ye+"`, expected a ReactNode."))}return U(X)}function ke(X,xe,Me,Ye,ze){return new P((X||"React class")+": "+xe+" type `"+Me+"."+Ye+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ze+"`.")}function We(X){function xe(Me,Ye,ze,qe,Pe){var ot=Me[Ye],Je=W(ot);if(Je!=="object")return new P("Invalid "+qe+" `"+Pe+"` of type `"+Je+"` "+("supplied to `"+ze+"`, expected `object`."));for(var Tt in X){var pt=X[Tt];if(typeof pt!="function")return ke(ze,qe,Pe,Tt,ce(pt));var zn=pt(ot,Tt,ze,qe,Pe+"."+Tt,o);if(zn)return zn}return null}return U(xe)}function et(X){function xe(Me,Ye,ze,qe,Pe){var ot=Me[Ye],Je=W(ot);if(Je!=="object")return new P("Invalid "+qe+" `"+Pe+"` of type `"+Je+"` "+("supplied to `"+ze+"`, expected `object`."));var Tt=i({},Me[Ye],X);for(var pt in Tt){var zn=X[pt];if(u(X,pt)&&typeof zn!="function")return ke(ze,qe,Pe,pt,ce(zn));if(!zn)return new P("Invalid "+qe+" `"+Pe+"` key `"+pt+"` supplied to `"+ze+"`.\nBad object: "+JSON.stringify(Me[Ye],null," ")+`
|
|
600
|
+
Valid keys: `+JSON.stringify(Object.keys(X),null," "));var Ze=zn(ot,pt,ze,qe,Pe+"."+pt,o);if(Ze)return Ze}return null}return U(xe)}function Ge(X){switch(typeof X){case"number":case"string":case"undefined":return!0;case"boolean":return!X;case"object":if(Array.isArray(X))return X.every(Ge);if(X===null||S(X))return!0;var xe=M(X);if(xe){var Me=xe.call(X),Ye;if(xe!==X.entries){for(;!(Ye=Me.next()).done;)if(!Ge(Ye.value))return!1}else for(;!(Ye=Me.next()).done;){var ze=Ye.value;if(ze&&!Ge(ze[1]))return!1}}else return!1;return!0;default:return!1}}function re(X,xe){return X==="symbol"?!0:xe?xe["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&xe instanceof Symbol:!1}function W(X){var xe=typeof X;return Array.isArray(X)?"array":X instanceof RegExp?"object":re(xe,X)?"symbol":xe}function ce(X){if(typeof X>"u"||X===null)return""+X;var xe=W(X);if(xe==="object"){if(X instanceof Date)return"date";if(X instanceof RegExp)return"regexp"}return xe}function Ae(X){var xe=ce(X);switch(xe){case"array":case"object":return"an "+xe;case"boolean":case"date":case"regexp":return"a "+xe;default:return xe}}function Be(X){return!X.constructor||!X.constructor.name?R:X.constructor.name}return V.checkPropTypes=h,V.resetWarningCache=h.resetWarningCache,V.PropTypes=V,V},QT}var KT,X4;function Pz(){if(X4)return KT;X4=1;var t=FT();function n(){}function i(){}return i.resetWarningCache=n,KT=function(){function o(g,v,S,A,w,C){if(C!==t){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}o.isRequired=o;function u(){return o}var h={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:u,element:o,elementType:o,instanceOf:u,node:o,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:i,resetWarningCache:n};return h.PropTypes=h,h},KT}var Z4;function Yz(){if(Z4)return mx.exports;Z4=1;var t={};if(t.NODE_ENV!=="production"){var n=H4(),i=!0;mx.exports=kz()(n.isElement,i)}else mx.exports=Pz()();return mx.exports}var qz=Yz();const en=DC(qz);var Gz={};function Q4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,o)}return i}function bc(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?Q4(Object(i),!0).forEach(function(o){uy(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Q4(Object(i)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))})}return t}function gx(t){"@babel/helpers - typeof";return gx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},gx(t)}function uy(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function Fz(t,n){if(t==null)return{};var i={},o=Object.keys(t),u,h;for(h=0;h<o.length;h++)u=o[h],!(n.indexOf(u)>=0)&&(i[u]=t[u]);return i}function Xz(t,n){if(t==null)return{};var i=Fz(t,n),o,u;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(t);for(u=0;u<h.length;u++)o=h[u],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(i[o]=t[o])}return i}function IT(t){return Zz(t)||Qz(t)||Kz(t)||Iz()}function Zz(t){if(Array.isArray(t))return WT(t)}function Qz(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kz(t,n){if(t){if(typeof t=="string")return WT(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return WT(t,n)}}function WT(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i<n;i++)o[i]=t[i];return o}function Iz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
601
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wz(t){var n,i=t.beat,o=t.fade,u=t.beatFade,h=t.bounce,g=t.shake,v=t.flash,S=t.spin,A=t.spinPulse,w=t.spinReverse,C=t.pulse,M=t.fixedWidth,R=t.inverse,V=t.border,L=t.listItem,P=t.flip,U=t.size,q=t.rotation,F=t.pull,ae=(n={"fa-beat":i,"fa-fade":o,"fa-beat-fade":u,"fa-bounce":h,"fa-shake":g,"fa-flash":v,"fa-spin":S,"fa-spin-reverse":w,"fa-spin-pulse":A,"fa-pulse":C,"fa-fw":M,"fa-inverse":R,"fa-border":V,"fa-li":L,"fa-flip":P===!0,"fa-flip-horizontal":P==="horizontal"||P==="both","fa-flip-vertical":P==="vertical"||P==="both"},uy(n,"fa-".concat(U),typeof U<"u"&&U!==null),uy(n,"fa-rotate-".concat(q),typeof q<"u"&&q!==null&&q!==0),uy(n,"fa-pull-".concat(F),typeof F<"u"&&F!==null),uy(n,"fa-swap-opacity",t.swapOpacity),n);return Object.keys(ae).map(function(H){return ae[H]?H:null}).filter(function(H){return H})}function Jz(t){return t=t-0,t===t}function K4(t){return Jz(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,function(n,i){return i?i.toUpperCase():""}),t.substr(0,1).toLowerCase()+t.substr(1))}var eN=["style"];function tN(t){return t.charAt(0).toUpperCase()+t.slice(1)}function nN(t){return t.split(";").map(function(n){return n.trim()}).filter(function(n){return n}).reduce(function(n,i){var o=i.indexOf(":"),u=K4(i.slice(0,o)),h=i.slice(o+1).trim();return u.startsWith("webkit")?n[tN(u)]=h:n[u]=h,n},{})}function I4(t,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string")return n;var o=(n.children||[]).map(function(S){return I4(t,S)}),u=Object.keys(n.attributes||{}).reduce(function(S,A){var w=n.attributes[A];switch(A){case"class":S.attrs.className=w,delete n.attributes.class;break;case"style":S.attrs.style=nN(w);break;default:A.indexOf("aria-")===0||A.indexOf("data-")===0?S.attrs[A.toLowerCase()]=w:S.attrs[K4(A)]=w}return S},{attrs:{}}),h=i.style,g=h===void 0?{}:h,v=Xz(i,eN);return u.attrs.style=bc(bc({},u.attrs.style),g),t.apply(void 0,[n.tag,bc(bc({},u.attrs),v)].concat(IT(o)))}var W4=!1;try{W4=Gz.NODE_ENV==="production"}catch{}function aN(){if(!W4&&console&&typeof console.error=="function"){var t;(t=console).error.apply(t,arguments)}}function J4(t){if(t&&gx(t)==="object"&&t.prefix&&t.iconName&&t.icon)return t;if(YT.icon)return YT.icon(t);if(t===null)return null;if(t&&gx(t)==="object"&&t.prefix&&t.iconName)return t;if(Array.isArray(t)&&t.length===2)return{prefix:t[0],iconName:t[1]};if(typeof t=="string")return{prefix:"fas",iconName:t}}function JT(t,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?uy({},t,n):{}}var eD={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Pn=J.forwardRef(function(t,n){var i=bc(bc({},eD),t),o=i.icon,u=i.mask,h=i.symbol,g=i.className,v=i.title,S=i.titleId,A=i.maskId,w=J4(o),C=JT("classes",[].concat(IT(Wz(i)),IT((g||"").split(" ")))),M=JT("transform",typeof i.transform=="string"?YT.transform(i.transform):i.transform),R=JT("mask",J4(u)),V=Lz(w,bc(bc(bc(bc({},C),M),R),{},{symbol:h,title:v,titleId:S,maskId:A}));if(!V)return aN("Could not find icon",w),null;var L=V.abstract,P={ref:n};return Object.keys(i).forEach(function(U){eD.hasOwnProperty(U)||(P[U]=i[U])}),iN(L[0],P)});Pn.displayName="FontAwesomeIcon",Pn.propTypes={beat:en.bool,border:en.bool,beatFade:en.bool,bounce:en.bool,className:en.string,fade:en.bool,flash:en.bool,mask:en.oneOfType([en.object,en.array,en.string]),maskId:en.string,fixedWidth:en.bool,inverse:en.bool,flip:en.oneOf([!0,!1,"horizontal","vertical","both"]),icon:en.oneOfType([en.object,en.array,en.string]),listItem:en.bool,pull:en.oneOf(["right","left"]),pulse:en.bool,rotation:en.oneOf([0,90,180,270]),shake:en.bool,size:en.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:en.bool,spinPulse:en.bool,spinReverse:en.bool,symbol:en.oneOfType([en.bool,en.string]),title:en.string,titleId:en.string,transform:en.oneOfType([en.string,en.object]),swapOpacity:en.bool};var iN=I4.bind(null,J.createElement);const rN=({title:t,icon:n,imageUrl:i,onClick:o,isSelected:u=!1})=>Y.jsxs("button",{onClick:o,className:`
|
|
602
|
+
flex flex-col items-center justify-center
|
|
603
|
+
w-[180px] h-[87px] p-4 rounded-xl
|
|
604
|
+
gap-2 transition-colors
|
|
605
|
+
${u?"bg-blue-100 border border-blue-800":"bg-light-gray-100 border border-gray-100 hover:border-blue-500 group"}
|
|
606
|
+
`,children:[n?Y.jsx(Pn,{icon:n,className:"w-20 h-20 transition-colors text-blue-500 group-hover:text-blue-500"}):i?Y.jsx("img",{src:i,alt:t,width:32,height:32,className:"object-contain"}):null,Y.jsx("span",{className:`
|
|
607
|
+
text-base font-medium transition-colors
|
|
608
|
+
${u?"text-gray-900":"text-gray-900 group-hover:text-blue-500"}
|
|
609
|
+
`,children:t})]});/*!
|
|
610
|
+
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
|
|
611
|
+
* License - https://fontawesome.com/license (Commercial License)
|
|
612
|
+
* Copyright 2024 Fonticons, Inc.
|
|
613
|
+
*/const sN={prefix:"fal",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-8.8 0-16 7.2-16 16l0 128c0 8.8 7.2 16 16 16s16-7.2 16-16l0-128c0-8.8-7.2-16-16-16zm24 224a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},oN={prefix:"fal",iconName:"eye-slash",icon:[640,512,[],"f070","M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z"]},lN={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},uN={prefix:"fal",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M69.4 210.6C89.8 126.5 165.6 64 256 64c71.1 0 133.1 38.6 166.3 96L368 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l80.7 0 15.3 0c8.8 0 16-7.2 16-16l0-96c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 60.6C408.8 75.5 337.5 32 256 32C149.6 32 60.5 106.2 37.7 205.6C35.5 215.2 43.1 224 53 224c7.9 0 14.6-5.7 16.5-13.4zm373.2 90.9C422.2 385.5 346.4 448 256 448c-71.1 0-133.1-38.6-166.3-96l54.5 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-80.9 0-15.1 0c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-60.2C103.4 436.6 174.7 480 256 480c106.4 0 195.5-74.2 218.3-173.6c2.2-9.6-5.4-18.4-15.3-18.4c-7.9 0-14.6 5.7-16.5 13.4z"]},cN={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},fN={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M177.7 32l92.5 0c5.5 0 10.6 2.8 13.6 7.5L299.1 64 148.9 64l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM336.9 64L311 22.6C302.2 8.5 286.8 0 270.3 0L177.7 0C161.2 0 145.8 8.5 137 22.6L111.1 64 64.1 64 32 64 16 64C7.2 64 0 71.2 0 80s7.2 16 16 16l18.3 0L59.8 452.6C62.1 486.1 90 512 123.6 512l200.8 0c33.6 0 61.4-25.9 63.8-59.4L413.7 96 432 96c8.8 0 16-7.2 16-16s-7.2-16-16-16l-16 0-32.1 0-47.1 0zm44.8 32L356.3 450.3C355.1 467 341.2 480 324.4 480l-200.8 0c-16.8 0-30.7-13-31.9-29.7L66.4 96l315.3 0z"]},tD={prefix:"fal",iconName:"clock-six",icon:[512,512,[],"e352","M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM272 112l0 256c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},eA={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l24 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},dN={prefix:"fal",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]},hN={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]},nD={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z"]},mN={prefix:"fal",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4l411.2 0c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4L50.4 480C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16l0 128c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},tA={prefix:"fal",iconName:"x",icon:[384,512,[120],"58","M380.2 58.3c5.7-6.7 4.9-16.8-1.9-22.5s-16.8-4.9-22.6 1.9L192 231.2 28.2 37.7c-5.7-6.7-15.8-7.6-22.5-1.9s-7.6 15.8-1.9 22.5L171 256 3.8 453.7c-5.7 6.7-4.9 16.8 1.9 22.6s16.8 4.9 22.5-1.9L192 280.8 355.8 474.3c5.7 6.7 15.8 7.6 22.6 1.9s7.6-15.8 1.9-22.6L213 256 380.2 58.3z"]},nA=J.createContext({});function aA(t){const n=J.useRef(null);return n.current===null&&(n.current=t()),n.current}const iA=typeof window<"u",aD=iA?J.useLayoutEffect:J.useEffect,yx=J.createContext(null),rA=J.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});let pN=class extends tt.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const o=i.offsetParent,u=o instanceof HTMLElement&&o.offsetWidth||0,h=this.props.sizeRef.current;h.height=i.offsetHeight||0,h.width=i.offsetWidth||0,h.top=i.offsetTop,h.left=i.offsetLeft,h.right=u-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}};function gN({children:t,isPresent:n,anchorX:i}){const o=J.useId(),u=J.useRef(null),h=J.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=J.useContext(rA);return J.useInsertionEffect(()=>{const{width:v,height:S,top:A,left:w,right:C}=h.current;if(n||!u.current||!v||!S)return;const M=i==="left"?`left: ${w}`:`right: ${C}`;u.current.dataset.motionPopId=o;const R=document.createElement("style");return g&&(R.nonce=g),document.head.appendChild(R),R.sheet&&R.sheet.insertRule(`
|
|
614
|
+
[data-motion-pop-id="${o}"] {
|
|
615
|
+
position: absolute !important;
|
|
616
|
+
width: ${v}px !important;
|
|
617
|
+
height: ${S}px !important;
|
|
618
|
+
${M}px !important;
|
|
619
|
+
top: ${A}px !important;
|
|
620
|
+
}
|
|
621
|
+
`),()=>{document.head.removeChild(R)}},[n]),Y.jsx(pN,{isPresent:n,childRef:u,sizeRef:h,children:tt.cloneElement(t,{ref:u})})}const yN=({children:t,initial:n,isPresent:i,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:g,anchorX:v})=>{const S=aA(vN),A=J.useId(),w=J.useCallback(M=>{S.set(M,!0);for(const R of S.values())if(!R)return;o&&o()},[S,o]),C=J.useMemo(()=>({id:A,initial:n,isPresent:i,custom:u,onExitComplete:w,register:M=>(S.set(M,!1),()=>S.delete(M))}),h?[Math.random(),w]:[i,w]);return J.useMemo(()=>{S.forEach((M,R)=>S.set(R,!1))},[i]),tt.useEffect(()=>{!i&&!S.size&&o&&o()},[i]),g==="popLayout"&&(t=Y.jsx(gN,{isPresent:i,anchorX:v,children:t})),Y.jsx(yx.Provider,{value:C,children:t})};function vN(){return new Map}function iD(t=!0){const n=J.useContext(yx);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:u}=n,h=J.useId();J.useEffect(()=>{if(t)return u(h)},[t]);const g=J.useCallback(()=>t&&o&&o(h),[h,o,t]);return!i&&o?[!1,g]:[!0]}const vx=t=>t.key||"";function rD(t){const n=[];return J.Children.forEach(t,i=>{J.isValidElement(i)&&n.push(i)}),n}var bN={};const sD=({children:t,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:h="sync",propagate:g=!1,anchorX:v="left"})=>{const[S,A]=iD(g),w=J.useMemo(()=>rD(t),[t]),C=g&&!S?[]:w.map(vx),M=J.useRef(!0),R=J.useRef(w),V=aA(()=>new Map),[L,P]=J.useState(w),[U,q]=J.useState(w);aD(()=>{M.current=!1,R.current=w;for(let H=0;H<U.length;H++){const le=vx(U[H]);C.includes(le)?V.delete(le):V.get(le)!==!0&&V.set(le,!1)}},[U,C.length,C.join("-")]);const F=[];if(w!==L){let H=[...w];for(let le=0;le<U.length;le++){const be=U[le],de=vx(be);C.includes(de)||(H.splice(le,0,be),F.push(be))}return h==="wait"&&F.length&&(H=F),q(rD(H)),P(w),null}bN.NODE_ENV!=="production"&&h==="wait"&&U.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ae}=J.useContext(nA);return Y.jsx(Y.Fragment,{children:U.map(H=>{const le=vx(H),be=g&&!S?!1:w===U||C.includes(le),de=()=>{if(V.has(le))V.set(le,!0);else return;let Ue=!0;V.forEach(De=>{De||(Ue=!1)}),Ue&&(ae==null||ae(),q(R.current),g&&(A==null||A()),o&&o())};return Y.jsx(yN,{isPresent:be,initial:!M.current||i?void 0:!1,custom:n,presenceAffectsLayout:u,mode:h,onExitComplete:be?void 0:de,anchorX:v,children:H},le)})})};function sA(t,n){t.indexOf(n)===-1&&t.push(n)}function oA(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const Os=t=>t;var xN={};let cy=Os,nm=Os;xN.NODE_ENV!=="production"&&(cy=(t,n)=>{!t&&typeof console<"u"&&console.warn(n)},nm=(t,n)=>{if(!t)throw new Error(n)});const SN={useManualTiming:!1};function lA(t){let n;return()=>(n===void 0&&(n=t()),n)}const fy=(t,n,i)=>{const o=n-t;return o===0?1:(i-t)/o};let uA=class{constructor(){this.subscriptions=[]}add(n){return sA(this.subscriptions,n),()=>oA(this.subscriptions,n)}notify(n,i,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](n,i,o);else for(let h=0;h<u;h++){const g=this.subscriptions[h];g&&g(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};const xc=t=>t*1e3,ad=t=>t/1e3;function oD(t,n){return n?t*(1e3/n):0}const lD=new Set;function bx(t,n,i){t||lD.has(n)||(console.warn(n),lD.add(n))}const TN=lA(()=>window.ScrollTimeline!==void 0);let AN=class{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let o=0;o<this.animations.length;o++)this.animations[o][n]=i}attachTimeline(n,i){const o=this.animations.map(u=>{if(TN()&&u.attachTimeline)return u.attachTimeline(n);if(typeof i=="function")return i(u)});return()=>{o.forEach((u,h)=>{u&&u(),this.animations[h].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let i=0;i<this.animations.length;i++)n=Math.max(n,this.animations[i].duration);return n}runAll(n){this.animations.forEach(i=>i[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},wN=class extends AN{then(n,i){return Promise.all(this.animations).then(n).catch(i)}};function cA(t,n){return t?t[n]||t.default||t:void 0}const fA=2e4;function uD(t){let n=0;const i=50;let o=t.next(n);for(;!o.done&&n<fA;)n+=i,o=t.next(n);return n>=fA?1/0:n}function dA(t){return typeof t=="function"}function cD(t,n){t.timeline=n,t.onfinish=null}const hA=t=>Array.isArray(t)&&typeof t[0]=="number",EN={linearEasing:void 0};function CN(t,n){const i=lA(t);return()=>{var o;return(o=EN[n])!==null&&o!==void 0?o:i()}}const xx=CN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),fD=(t,n,i=10)=>{let o="";const u=Math.max(Math.round(n/i),2);for(let h=0;h<u;h++)o+=t(fy(0,u-1,h))+", ";return`linear(${o.substring(0,o.length-2)})`};function dD(t){return!!(typeof t=="function"&&xx()||!t||typeof t=="string"&&(t in mA||xx())||hA(t)||Array.isArray(t)&&t.every(dD))}const x1=([t,n,i,o])=>`cubic-bezier(${t}, ${n}, ${i}, ${o})`,mA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x1([0,.65,.55,1]),circOut:x1([.55,0,1,.45]),backIn:x1([.31,.01,.66,-.59]),backOut:x1([.33,1.53,.69,.99])};function hD(t,n){if(t)return typeof t=="function"&&xx()?fD(t,n):hA(t)?x1(t):Array.isArray(t)?t.map(i=>hD(i,n)||mA.easeOut):mA[t]}const Sx=["read","resolveKeyframes","update","preRender","render","postRender"],mD={value:null};function DN(t,n){let i=new Set,o=new Set,u=!1,h=!1;const g=new WeakSet;let v={delta:0,timestamp:0,isProcessing:!1},S=0;function A(C){g.has(C)&&(w.schedule(C),t()),S++,C(v)}const w={schedule:(C,M=!1,R=!1)=>{const L=R&&u?i:o;return M&&g.add(C),L.has(C)||L.add(C),C},cancel:C=>{o.delete(C),g.delete(C)},process:C=>{if(v=C,u){h=!0;return}u=!0,[i,o]=[o,i],i.forEach(A),n&&mD.value&&mD.value.frameloop[n].push(S),S=0,i.clear(),u=!1,h&&(h=!1,w.process(C))}};return w}const MN=40;function pD(t,n){let i=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},h=()=>i=!0,g=Sx.reduce((U,q)=>(U[q]=DN(h,n?q:void 0),U),{}),{read:v,resolveKeyframes:S,update:A,preRender:w,render:C,postRender:M}=g,R=()=>{const U=performance.now();i=!1,u.delta=o?1e3/60:Math.max(Math.min(U-u.timestamp,MN),1),u.timestamp=U,u.isProcessing=!0,v.process(u),S.process(u),A.process(u),w.process(u),C.process(u),M.process(u),u.isProcessing=!1,i&&n&&(o=!1,t(R))},V=()=>{i=!0,o=!0,u.isProcessing||t(R)};return{schedule:Sx.reduce((U,q)=>{const F=g[q];return U[q]=(ae,H=!1,le=!1)=>(i||V(),F.schedule(ae,H,le)),U},{}),cancel:U=>{for(let q=0;q<Sx.length;q++)g[Sx[q]].cancel(U)},state:u,steps:g}}const{schedule:In,cancel:am,state:lr,steps:pA}=pD(typeof requestAnimationFrame<"u"?requestAnimationFrame:Os,!0),{schedule:gA}=pD(queueMicrotask,!1);let Tx;function ON(){Tx=void 0}const Sc={now:()=>(Tx===void 0&&Sc.set(lr.isProcessing||SN.useManualTiming?lr.timestamp:performance.now()),Tx),set:t=>{Tx=t,queueMicrotask(ON)}},bu={x:!1,y:!1};function gD(){return bu.x||bu.y}function RN(t){return t==="x"||t==="y"?bu[t]?null:(bu[t]=!0,()=>{bu[t]=!1}):bu.x||bu.y?null:(bu.x=bu.y=!0,()=>{bu.x=bu.y=!1})}function _N(t,n,i){var o;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let u=document;const h=(o=void 0)!==null&&o!==void 0?o:u.querySelectorAll(t);return h?Array.from(h):[]}return Array.from(t)}function yD(t,n){const i=_N(t),o=new AbortController,u={passive:!0,...n,signal:o.signal};return[i,u,()=>o.abort()]}function vD(t){return!(t.pointerType==="touch"||gD())}function zN(t,n,i={}){const[o,u,h]=yD(t,i),g=v=>{if(!vD(v))return;const{target:S}=v,A=n(S,v);if(typeof A!="function"||!S)return;const w=C=>{vD(C)&&(A(C),S.removeEventListener("pointerleave",w))};S.addEventListener("pointerleave",w,u)};return o.forEach(v=>{v.addEventListener("pointerenter",g,u)}),h}const bD=(t,n)=>n?t===n?!0:bD(t,n.parentElement):!1,yA=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,NN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function VN(t){return NN.has(t.tagName)||t.tabIndex!==-1}const S1=new WeakSet;function xD(t){return n=>{n.key==="Enter"&&t(n)}}function vA(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const UN=(t,n)=>{const i=t.currentTarget;if(!i)return;const o=xD(()=>{if(S1.has(i))return;vA(i,"down");const u=xD(()=>{vA(i,"up")}),h=()=>vA(i,"cancel");i.addEventListener("keyup",u,n),i.addEventListener("blur",h,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function SD(t){return yA(t)&&!gD()}function LN(t,n,i={}){const[o,u,h]=yD(t,i),g=v=>{const S=v.currentTarget;if(!SD(v)||S1.has(S))return;S1.add(S);const A=n(S,v),w=(R,V)=>{window.removeEventListener("pointerup",C),window.removeEventListener("pointercancel",M),!(!SD(R)||!S1.has(S))&&(S1.delete(S),typeof A=="function"&&A(R,{success:V}))},C=R=>{w(R,S===window||S===document||i.useGlobalTarget||bD(S,R.target))},M=R=>{w(R,!1)};window.addEventListener("pointerup",C,u),window.addEventListener("pointercancel",M,u)};return o.forEach(v=>{(i.useGlobalTarget?window:v).addEventListener("pointerdown",g,u),v instanceof HTMLElement&&(v.addEventListener("focus",A=>UN(A,u)),!VN(v)&&v.tabIndex===null&&(v.tabIndex=0))}),h}var jN={};const TD=30,BN=t=>!isNaN(parseFloat(t));let $N=class{constructor(n,i={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,u=!0)=>{const h=Sc.now();this.updatedAt!==h&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),u&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Sc.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=BN(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return jN.NODE_ENV!=="production"&&bx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new uA);const o=this.events[n].add(i);return n==="change"?()=>{o(),In.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n,i=!0){!i||!this.passiveEffect?this.updateAndNotify(n,i):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Sc.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>TD)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,TD);return oD(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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 T1(t,n){return new $N(t,n)}const AD=J.createContext({strict:!1}),wD={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"]},dy={};for(const t in wD)dy[t]={isEnabled:n=>wD[t].some(i=>!!n[i])};function HN(t){for(const n in t)dy[n]={...dy[n],...t[n]}}const kN=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 Ax(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||kN.has(t)}let ED=t=>!Ax(t);function PN(t){t&&(ED=n=>n.startsWith("on")?!Ax(n):t(n))}try{PN(require("@emotion/is-prop-valid").default)}catch{}function YN(t,n,i){const o={};for(const u in t)u==="values"&&typeof t.values=="object"||(ED(u)||i===!0&&Ax(u)||!n&&!Ax(u)||t.draggable&&u.startsWith("onDrag"))&&(o[u]=t[u]);return o}var qN={};function GN(t){if(typeof Proxy>"u")return t;const n=new Map,i=(...o)=>(qN.NODE_ENV!=="production"&&bx(!1,"motion() is deprecated. Use motion.create() instead."),t(...o));return new Proxy(i,{get:(o,u)=>u==="create"?t:(n.has(u)||n.set(u,t(u)),n.get(u))})}const wx=J.createContext({});function Ex(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function A1(t){return typeof t=="string"||Array.isArray(t)}const bA=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xA=["initial",...bA];function Cx(t){return Ex(t.animate)||xA.some(n=>A1(t[n]))}function CD(t){return!!(Cx(t)||t.variants)}function FN(t,n){if(Cx(t)){const{initial:i,animate:o}=t;return{initial:i===!1||A1(i)?i:void 0,animate:A1(o)?o:void 0}}return t.inherit!==!1?n:{}}function XN(t){const{initial:n,animate:i}=FN(t,J.useContext(wx));return J.useMemo(()=>({initial:n,animate:i}),[DD(n),DD(i)])}function DD(t){return Array.isArray(t)?t.join(" "):t}const ZN=Symbol.for("motionComponentSymbol");function hy(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function QN(t,n,i){return J.useCallback(o=>{o&&t.onMount&&t.onMount(o),n&&(o?n.mount(o):n.unmount()),i&&(typeof i=="function"?i(o):hy(i)&&(i.current=o))},[n])}const SA=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),MD="data-"+SA("framerAppearId"),OD=J.createContext({});function KN(t,n,i,o,u){var h,g;const{visualElement:v}=J.useContext(wx),S=J.useContext(AD),A=J.useContext(yx),w=J.useContext(rA).reducedMotion,C=J.useRef(null);o=o||S.renderer,!C.current&&o&&(C.current=o(t,{visualState:n,parent:v,props:i,presenceContext:A,blockInitialAnimation:A?A.initial===!1:!1,reducedMotionConfig:w}));const M=C.current,R=J.useContext(OD);M&&!M.projection&&u&&(M.type==="html"||M.type==="svg")&&IN(C.current,i,u,R);const V=J.useRef(!1);J.useInsertionEffect(()=>{M&&V.current&&M.update(i,A)});const L=i[MD],P=J.useRef(!!L&&!(!((h=window.MotionHandoffIsComplete)===null||h===void 0)&&h.call(window,L))&&((g=window.MotionHasOptimisedAnimation)===null||g===void 0?void 0:g.call(window,L)));return aD(()=>{M&&(V.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),gA.render(M.render),P.current&&M.animationState&&M.animationState.animateChanges())}),J.useEffect(()=>{M&&(!P.current&&M.animationState&&M.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var U;(U=window.MotionHandoffMarkAsComplete)===null||U===void 0||U.call(window,L)}),P.current=!1))}),M}function IN(t,n,i,o){const{layoutId:u,layout:h,drag:g,dragConstraints:v,layoutScroll:S,layoutRoot:A}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:RD(t.parent)),t.projection.setOptions({layoutId:u,layout:h,alwaysMeasureLayout:!!g||v&&hy(v),visualElement:t,animationType:typeof h=="string"?h:"both",initialPromotionConfig:o,layoutScroll:S,layoutRoot:A})}function RD(t){if(t)return t.options.allowProjection!==!1?t.projection:RD(t.parent)}var WN={};function JN({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:o,Component:u}){var h,g;t&&HN(t);function v(A,w){let C;const M={...J.useContext(rA),...A,layoutId:eV(A)},{isStatic:R}=M,V=XN(A),L=o(A,R);if(!R&&iA){tV(M,t);const P=nV(M);C=P.MeasureLayout,V.visualElement=KN(u,L,M,n,P.ProjectionNode)}return Y.jsxs(wx.Provider,{value:V,children:[C&&V.visualElement?Y.jsx(C,{visualElement:V.visualElement,...M}):null,i(u,A,QN(L,V.visualElement,w),L,R,V.visualElement)]})}v.displayName=`motion.${typeof u=="string"?u:`create(${(g=(h=u.displayName)!==null&&h!==void 0?h:u.name)!==null&&g!==void 0?g:""})`}`;const S=J.forwardRef(v);return S[ZN]=u,S}function eV({layoutId:t}){const n=J.useContext(nA).id;return n&&t!==void 0?n+"-"+t:t}function tV(t,n){const i=J.useContext(AD).strict;if(WN.NODE_ENV!=="production"&&n&&i){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?cy(!1,o):nm(!1,o)}}function nV(t){const{drag:n,layout:i}=dy;if(!n&&!i)return{};const o={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const _D=t=>n=>typeof n=="string"&&n.startsWith(t),TA=_D("--"),aV=_D("var(--"),AA=t=>aV(t)?iV.test(t.split("/*")[0].trim()):!1,iV=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,w1={};function rV(t){for(const n in t)w1[n]=t[n],TA(n)&&(w1[n].isCSSVariable=!0)}const my=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l0=new Set(my);function zD(t,{layout:n,layoutId:i}){return l0.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!w1[t]||t==="opacity")}const Cr=t=>!!(t&&t.getVelocity),ND=(t,n)=>n&&typeof t=="number"?n.transform(t):t,id=(t,n,i)=>i>n?n:i<t?t:i,py={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},E1={...py,transform:t=>id(0,1,t)},Dx={...py,default:1},C1=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),im=C1("deg"),Tc=C1("%"),xt=C1("px"),sV=C1("vh"),oV=C1("vw"),VD={...Tc,parse:t=>Tc.parse(t)/100,transform:t=>Tc.transform(t*100)},lV={borderWidth:xt,borderTopWidth:xt,borderRightWidth:xt,borderBottomWidth:xt,borderLeftWidth:xt,borderRadius:xt,radius:xt,borderTopLeftRadius:xt,borderTopRightRadius:xt,borderBottomRightRadius:xt,borderBottomLeftRadius:xt,width:xt,maxWidth:xt,height:xt,maxHeight:xt,top:xt,right:xt,bottom:xt,left:xt,padding:xt,paddingTop:xt,paddingRight:xt,paddingBottom:xt,paddingLeft:xt,margin:xt,marginTop:xt,marginRight:xt,marginBottom:xt,marginLeft:xt,backgroundPositionX:xt,backgroundPositionY:xt},uV={rotate:im,rotateX:im,rotateY:im,rotateZ:im,scale:Dx,scaleX:Dx,scaleY:Dx,scaleZ:Dx,skew:im,skewX:im,skewY:im,distance:xt,translateX:xt,translateY:xt,translateZ:xt,x:xt,y:xt,z:xt,perspective:xt,transformPerspective:xt,opacity:E1,originX:VD,originY:VD,originZ:xt},UD={...py,transform:Math.round},wA={...lV,...uV,zIndex:UD,size:xt,fillOpacity:E1,strokeOpacity:E1,numOctaves:UD},cV={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fV=my.length;function dV(t,n,i){let o="",u=!0;for(let h=0;h<fV;h++){const g=my[h],v=t[g];if(v===void 0)continue;let S=!0;if(typeof v=="number"?S=v===(g.startsWith("scale")?1:0):S=parseFloat(v)===0,!S||i){const A=ND(v,wA[g]);if(!S){u=!1;const w=cV[g]||g;o+=`${w}(${A}) `}i&&(n[g]=A)}}return o=o.trim(),i?o=i(n,u?"":o):u&&(o="none"),o}function EA(t,n,i){const{style:o,vars:u,transformOrigin:h}=t;let g=!1,v=!1;for(const S in n){const A=n[S];if(l0.has(S)){g=!0;continue}else if(TA(S)){u[S]=A;continue}else{const w=ND(A,wA[S]);S.startsWith("origin")?(v=!0,h[S]=w):o[S]=w}}if(n.transform||(g||i?o.transform=dV(n,t.transform,i):o.transform&&(o.transform="none")),v){const{originX:S="50%",originY:A="50%",originZ:w=0}=h;o.transformOrigin=`${S} ${A} ${w}`}}const CA=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function LD(t,n,i){for(const o in n)!Cr(n[o])&&!zD(o,i)&&(t[o]=n[o])}function hV({transformTemplate:t},n){return J.useMemo(()=>{const i=CA();return EA(i,n,t),Object.assign({},i.vars,i.style)},[n])}function mV(t,n){const i=t.style||{},o={};return LD(o,i,t),Object.assign(o,hV(t,n)),o}function pV(t,n){const i={},o=mV(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const gV=["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 DA(t){return typeof t!="string"||t.includes("-")?!1:!!(gV.indexOf(t)>-1||/[A-Z]/u.test(t))}const yV={offset:"stroke-dashoffset",array:"stroke-dasharray"},vV={offset:"strokeDashoffset",array:"strokeDasharray"};function bV(t,n,i=1,o=0,u=!0){t.pathLength=1;const h=u?yV:vV;t[h.offset]=xt.transform(-o);const g=xt.transform(n),v=xt.transform(i);t[h.array]=`${g} ${v}`}function jD(t,n,i){return typeof t=="string"?t:xt.transform(n+i*t)}function xV(t,n,i){const o=jD(n,t.x,t.width),u=jD(i,t.y,t.height);return`${o} ${u}`}function MA(t,{attrX:n,attrY:i,attrScale:o,originX:u,originY:h,pathLength:g,pathSpacing:v=1,pathOffset:S=0,...A},w,C){if(EA(t,A,C),w){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:M,style:R,dimensions:V}=t;M.transform&&(V&&(R.transform=M.transform),delete M.transform),V&&(u!==void 0||h!==void 0||R.transform)&&(R.transformOrigin=xV(V,u!==void 0?u:.5,h!==void 0?h:.5)),n!==void 0&&(M.x=n),i!==void 0&&(M.y=i),o!==void 0&&(M.scale=o),g!==void 0&&bV(M,g,v,S,!1)}const BD=()=>({...CA(),attrs:{}}),OA=t=>typeof t=="string"&&t.toLowerCase()==="svg";function SV(t,n,i,o){const u=J.useMemo(()=>{const h=BD();return MA(h,n,OA(o),t.transformTemplate),{...h.attrs,style:{...h.style}}},[n]);if(t.style){const h={};LD(h,t.style,t),u.style={...h,...u.style}}return u}function TV(t=!1){return(i,o,u,{latestValues:h},g)=>{const S=(DA(i)?SV:pV)(o,h,g,i),A=YN(o,typeof i=="string",t),w=i!==J.Fragment?{...A,...S,ref:u}:{},{children:C}=o,M=J.useMemo(()=>Cr(C)?C.get():C,[C]);return J.createElement(i,{...w,children:M})}}function $D(t){const n=[{},{}];return t==null||t.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function RA(t,n,i,o){if(typeof n=="function"){const[u,h]=$D(o);n=n(i!==void 0?i:t.custom,u,h)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[u,h]=$D(o);n=n(i!==void 0?i:t.custom,u,h)}return n}const _A=t=>Array.isArray(t),AV=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),wV=t=>_A(t)?t[t.length-1]||0:t;function Mx(t){const n=Cr(t)?t.get():t;return AV(n)?n.toValue():n}function EV({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:i},o,u,h){const g={latestValues:CV(o,u,h,t),renderState:n()};return i&&(g.onMount=v=>i({props:o,current:v,...g}),g.onUpdate=v=>i(v)),g}const HD=t=>(n,i)=>{const o=J.useContext(wx),u=J.useContext(yx),h=()=>EV(t,n,o,u);return i?h():aA(h)};function CV(t,n,i,o){const u={},h=o(t,{});for(const M in h)u[M]=Mx(h[M]);let{initial:g,animate:v}=t;const S=Cx(t),A=CD(t);n&&A&&!S&&t.inherit!==!1&&(g===void 0&&(g=n.initial),v===void 0&&(v=n.animate));let w=i?i.initial===!1:!1;w=w||g===!1;const C=w?v:g;if(C&&typeof C!="boolean"&&!Ex(C)){const M=Array.isArray(C)?C:[C];for(let R=0;R<M.length;R++){const V=RA(t,M[R]);if(V){const{transitionEnd:L,transition:P,...U}=V;for(const q in U){let F=U[q];if(Array.isArray(F)){const ae=w?F.length-1:0;F=F[ae]}F!==null&&(u[q]=F)}for(const q in L)u[q]=L[q]}}}return u}function zA(t,n,i){var o;const{style:u}=t,h={};for(const g in u)(Cr(u[g])||n.style&&Cr(n.style[g])||zD(g,t)||((o=i==null?void 0:i.getValue(g))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(h[g]=u[g]);return h}const DV={useVisualState:HD({scrapeMotionValuesFromProps:zA,createRenderState:CA})};function kD(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}function PD(t,{style:n,vars:i},o,u){Object.assign(t.style,n,u&&u.getProjectionStyles(o));for(const h in i)t.style.setProperty(h,i[h])}const YD=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 qD(t,n,i,o){PD(t,n,void 0,o);for(const u in n.attrs)t.setAttribute(YD.has(u)?u:SA(u),n.attrs[u])}function GD(t,n,i){const o=zA(t,n,i);for(const u in t)if(Cr(t[u])||Cr(n[u])){const h=my.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[h]=t[u]}return o}const FD=["x","y","width","height","cx","cy","r"],MV={useVisualState:HD({scrapeMotionValuesFromProps:GD,createRenderState:BD,onUpdate:({props:t,prevProps:n,current:i,renderState:o,latestValues:u})=>{if(!i)return;let h=!!t.drag;if(!h){for(const v in u)if(l0.has(v)){h=!0;break}}if(!h)return;let g=!n;if(n)for(let v=0;v<FD.length;v++){const S=FD[v];t[S]!==n[S]&&(g=!0)}g&&In.read(()=>{kD(i,o),In.render(()=>{MA(o,u,OA(i.tagName),t.transformTemplate),qD(i,o)})})}})};function OV(t,n){return function(o,{forwardMotionProps:u}={forwardMotionProps:!1}){const g={...DA(o)?MV:DV,preloadedFeatures:t,useRender:TV(u),createVisualElement:n,Component:o};return JN(g)}}function D1(t,n,i){const o=t.getProps();return RA(o,n,i!==void 0?i:o.custom,t)}const XD=new Set(["width","height","top","left","right","bottom",...my]);function RV(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,T1(i))}function _V(t,n){const i=D1(t,n);let{transitionEnd:o={},transition:u={},...h}=i||{};h={...h,...o};for(const g in h){const v=wV(h[g]);RV(t,g,v)}}function zV(t){return!!(Cr(t)&&t.add)}function NA(t,n){const i=t.getValue("willChange");if(zV(i))return i.add(n)}function ZD(t){return t.props[MD]}const QD=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,NV=1e-7,VV=12;function UV(t,n,i,o,u){let h,g,v=0;do g=n+(i-n)/2,h=QD(g,o,u)-t,h>0?i=g:n=g;while(Math.abs(h)>NV&&++v<VV);return g}function M1(t,n,i,o){if(t===n&&i===o)return Os;const u=h=>UV(h,0,1,t,i);return h=>h===0||h===1?h:QD(u(h),n,o)}const KD=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,ID=t=>n=>1-t(1-n),WD=M1(.33,1.53,.69,.99),VA=ID(WD),JD=KD(VA),e6=t=>(t*=2)<1?.5*VA(t):.5*(2-Math.pow(2,-10*(t-1))),UA=t=>1-Math.sin(Math.acos(t)),t6=ID(UA),n6=KD(UA),a6=t=>/^0[^.\s]+$/u.test(t);function LV(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||a6(t):!0}const O1=t=>Math.round(t*1e5)/1e5,LA=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function jV(t){return t==null}const BV=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jA=(t,n)=>i=>!!(typeof i=="string"&&BV.test(i)&&i.startsWith(t)||n&&!jV(i)&&Object.prototype.hasOwnProperty.call(i,n)),i6=(t,n,i)=>o=>{if(typeof o!="string")return o;const[u,h,g,v]=o.match(LA);return{[t]:parseFloat(u),[n]:parseFloat(h),[i]:parseFloat(g),alpha:v!==void 0?parseFloat(v):1}},$V=t=>id(0,255,t),BA={...py,transform:t=>Math.round($V(t))},u0={test:jA("rgb","red"),parse:i6("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:o=1})=>"rgba("+BA.transform(t)+", "+BA.transform(n)+", "+BA.transform(i)+", "+O1(E1.transform(o))+")"};function HV(t){let n="",i="",o="",u="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),u=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),u=t.substring(4,5),n+=n,i+=i,o+=o,u+=u),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const $A={test:jA("#"),parse:HV,transform:u0.transform},gy={test:jA("hsl","hue"),parse:i6("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+Tc.transform(O1(n))+", "+Tc.transform(O1(i))+", "+O1(E1.transform(o))+")"},Dr={test:t=>u0.test(t)||$A.test(t)||gy.test(t),parse:t=>u0.test(t)?u0.parse(t):gy.test(t)?gy.parse(t):$A.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?u0.transform(t):gy.transform(t)},kV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function PV(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(LA))===null||n===void 0?void 0:n.length)||0)+(((i=t.match(kV))===null||i===void 0?void 0:i.length)||0)>0}const r6="number",s6="color",YV="var",qV="var(",o6="${}",GV=/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 R1(t){const n=t.toString(),i=[],o={color:[],number:[],var:[]},u=[];let h=0;const v=n.replace(GV,S=>(Dr.test(S)?(o.color.push(h),u.push(s6),i.push(Dr.parse(S))):S.startsWith(qV)?(o.var.push(h),u.push(YV),i.push(S)):(o.number.push(h),u.push(r6),i.push(parseFloat(S))),++h,o6)).split(o6);return{values:i,split:v,indexes:o,types:u}}function l6(t){return R1(t).values}function u6(t){const{split:n,types:i}=R1(t),o=n.length;return u=>{let h="";for(let g=0;g<o;g++)if(h+=n[g],u[g]!==void 0){const v=i[g];v===r6?h+=O1(u[g]):v===s6?h+=Dr.transform(u[g]):h+=u[g]}return h}}const FV=t=>typeof t=="number"?0:t;function XV(t){const n=l6(t);return u6(t)(n.map(FV))}const rm={test:PV,parse:l6,createTransformer:u6,getAnimatableNone:XV},ZV=new Set(["brightness","contrast","saturate","opacity"]);function QV(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[o]=i.match(LA)||[];if(!o)return t;const u=i.replace(o,"");let h=ZV.has(n)?1:0;return o!==i&&(h*=100),n+"("+h+u+")"}const KV=/\b([a-z-]*)\(.*?\)/gu,HA={...rm,getAnimatableNone:t=>{const n=t.match(KV);return n?n.map(QV).join(" "):t}},IV={...wA,color:Dr,backgroundColor:Dr,outlineColor:Dr,fill:Dr,stroke:Dr,borderColor:Dr,borderTopColor:Dr,borderRightColor:Dr,borderBottomColor:Dr,borderLeftColor:Dr,filter:HA,WebkitFilter:HA},c6=t=>IV[t];function f6(t,n){let i=c6(t);return i!==HA&&(i=rm),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const WV=new Set(["auto","none","0"]);function JV(t,n,i){let o=0,u;for(;o<t.length&&!u;){const h=t[o];typeof h=="string"&&!WV.has(h)&&R1(h).values.length&&(u=t[o]),o++}if(u&&i)for(const h of n)t[h]=f6(i,u)}const c0=t=>t*180/Math.PI,kA=t=>{const n=c0(Math.atan2(t[1],t[0]));return PA(n)},eU={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:kA,rotateZ:kA,skewX:t=>c0(Math.atan(t[1])),skewY:t=>c0(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},PA=t=>(t=t%360,t<0&&(t+=360),t),d6=kA,h6=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),m6=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tU={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h6,scaleY:m6,scale:t=>(h6(t)+m6(t))/2,rotateX:t=>PA(c0(Math.atan2(t[6],t[5]))),rotateY:t=>PA(c0(Math.atan2(-t[2],t[0]))),rotateZ:d6,rotate:d6,skewX:t=>c0(Math.atan(t[4])),skewY:t=>c0(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function p6(t){return t.includes("scale")?1:0}function YA(t,n){if(!t||t==="none")return p6(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(i)o=tU,u=i;else{const v=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=eU,u=v}if(!u)return p6(n);const h=o[n],g=u[1].split(",").map(aU);return typeof h=="function"?h(g):g[h]}const nU=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return YA(i,n)};function aU(t){return parseFloat(t.trim())}const g6=t=>t===py||t===xt,iU=new Set(["x","y","z"]),rU=my.filter(t=>!iU.has(t));function sU(t){const n=[];return rU.forEach(i=>{const o=t.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const yy={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>YA(n,"x"),y:(t,{transform:n})=>YA(n,"y")};yy.translateX=yy.x,yy.translateY=yy.y;const f0=new Set;let qA=!1,GA=!1;function y6(){if(GA){const t=Array.from(f0).filter(o=>o.needsMeasurement),n=new Set(t.map(o=>o.element)),i=new Map;n.forEach(o=>{const u=sU(o);u.length&&(i.set(o,u),o.render())}),t.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const u=i.get(o);u&&u.forEach(([h,g])=>{var v;(v=o.getValue(h))===null||v===void 0||v.set(g)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}GA=!1,qA=!1,f0.forEach(t=>t.complete()),f0.clear()}function v6(){f0.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(GA=!0)})}function oU(){v6(),y6()}let FA=class{constructor(n,i,o,u,h,g=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=u,this.element=h,this.isAsync=g}scheduleResolve(){this.isScheduled=!0,this.isAsync?(f0.add(this),qA||(qA=!0,In.read(v6),In.resolveKeyframes(y6))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:u}=this;for(let h=0;h<n.length;h++)if(n[h]===null)if(h===0){const g=u==null?void 0:u.get(),v=n[n.length-1];if(g!==void 0)n[0]=g;else if(o&&i){const S=o.readValue(i,v);S!=null&&(n[0]=S)}n[0]===void 0&&(n[0]=v),u&&g===void 0&&u.set(n[0])}else n[h]=n[h-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),f0.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,f0.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};const b6=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),lU=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function uU(t){const n=lU.exec(t);if(!n)return[,];const[,i,o,u]=n;return[`--${i??o}`,u]}const cU=4;function x6(t,n,i=1){nm(i<=cU,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[o,u]=uU(t);if(!o)return;const h=window.getComputedStyle(n).getPropertyValue(o);if(h){const g=h.trim();return b6(g)?parseFloat(g):g}return AA(u)?x6(u,n,i+1):u}const S6=t=>n=>n.test(t),T6=[py,xt,Tc,im,oV,sV,{test:t=>t==="auto",parse:t=>t}],A6=t=>T6.find(S6(t));let w6=class extends FA{constructor(n,i,o,u,h){super(n,i,o,u,h,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let S=0;S<n.length;S++){let A=n[S];if(typeof A=="string"&&(A=A.trim(),AA(A))){const w=x6(A,i.current);w!==void 0&&(n[S]=w),S===n.length-1&&(this.finalKeyframe=A)}}if(this.resolveNoneKeyframes(),!XD.has(o)||n.length!==2)return;const[u,h]=n,g=A6(u),v=A6(h);if(g!==v)if(g6(g)&&g6(v))for(let S=0;S<n.length;S++){const A=n[S];typeof A=="string"&&(n[S]=parseFloat(A))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let u=0;u<n.length;u++)LV(n[u])&&o.push(u);o.length&&JV(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=yy[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&n.getValue(o,u).jump(u,!1)}measureEndState(){var n;const{element:i,name:o,unresolvedKeyframes:u}=this;if(!i||!i.current)return;const h=i.getValue(o);h&&h.jump(this.measuredOrigin,!1);const g=u.length-1,v=u[g];u[g]=yy[o](i.measureViewportBox(),window.getComputedStyle(i.current)),v!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=v),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([S,A])=>{i.getValue(S).set(A)}),this.resolveNoneKeyframes()}};const E6=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(rm.test(t)||t==="0")&&!t.startsWith("url("));function fU(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function dU(t,n,i,o){const u=t[0];if(u===null)return!1;if(n==="display"||n==="visibility")return!0;const h=t[t.length-1],g=E6(u,n),v=E6(h,n);return cy(g===v,`You are trying to animate ${n} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`),!g||!v?!1:fU(t)||(i==="spring"||dA(i))&&o}const hU=t=>t!==null;function Ox(t,{repeat:n,repeatType:i="loop"},o){const u=t.filter(hU),h=n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||o===void 0?u[h]:o}const mU=40;let C6=class{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:u=0,repeatDelay:h=0,repeatType:g="loop",...v}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Sc.now(),this.options={autoplay:n,delay:i,type:o,repeat:u,repeatDelay:h,repeatType:g,...v},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>mU?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&oU(),this._resolved}onKeyframesResolved(n,i){this.resolvedAt=Sc.now(),this.hasAttemptedResolve=!0;const{name:o,type:u,velocity:h,delay:g,onComplete:v,onUpdate:S,isGenerator:A}=this.options;if(!A&&!dU(n,o,u,h))if(g)this.options.duration=0;else{S&&S(Ox(n,this.options,i)),v&&v(),this.resolveFinishedPromise();return}const w=this.initPlayback(n,i);w!==!1&&(this._resolved={keyframes:n,finalKeyframe:i,...w},this.onPostResolved())}onPostResolved(){}then(n,i){return this.currentFinishedPromise.then(n,i)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}};const Aa=(t,n,i)=>t+(n-t)*i;function XA(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function pU({hue:t,saturation:n,lightness:i,alpha:o}){t/=360,n/=100,i/=100;let u=0,h=0,g=0;if(!n)u=h=g=i;else{const v=i<.5?i*(1+n):i+n-i*n,S=2*i-v;u=XA(S,v,t+1/3),h=XA(S,v,t),g=XA(S,v,t-1/3)}return{red:Math.round(u*255),green:Math.round(h*255),blue:Math.round(g*255),alpha:o}}function Rx(t,n){return i=>i>0?n:t}const ZA=(t,n,i)=>{const o=t*t,u=i*(n*n-o)+o;return u<0?0:Math.sqrt(u)},gU=[$A,u0,gy],yU=t=>gU.find(n=>n.test(t));function D6(t){const n=yU(t);if(cy(!!n,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!n)return!1;let i=n.parse(t);return n===gy&&(i=pU(i)),i}const M6=(t,n)=>{const i=D6(t),o=D6(n);if(!i||!o)return Rx(t,n);const u={...i};return h=>(u.red=ZA(i.red,o.red,h),u.green=ZA(i.green,o.green,h),u.blue=ZA(i.blue,o.blue,h),u.alpha=Aa(i.alpha,o.alpha,h),u0.transform(u))},vU=(t,n)=>i=>n(t(i)),_1=(...t)=>t.reduce(vU),QA=new Set(["none","hidden"]);function bU(t,n){return QA.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function xU(t,n){return i=>Aa(t,n,i)}function KA(t){return typeof t=="number"?xU:typeof t=="string"?AA(t)?Rx:Dr.test(t)?M6:AU:Array.isArray(t)?O6:typeof t=="object"?Dr.test(t)?M6:SU:Rx}function O6(t,n){const i=[...t],o=i.length,u=t.map((h,g)=>KA(h)(h,n[g]));return h=>{for(let g=0;g<o;g++)i[g]=u[g](h);return i}}function SU(t,n){const i={...t,...n},o={};for(const u in i)t[u]!==void 0&&n[u]!==void 0&&(o[u]=KA(t[u])(t[u],n[u]));return u=>{for(const h in o)i[h]=o[h](u);return i}}function TU(t,n){var i;const o=[],u={color:0,var:0,number:0};for(let h=0;h<n.values.length;h++){const g=n.types[h],v=t.indexes[g][u[g]],S=(i=t.values[v])!==null&&i!==void 0?i:0;o[h]=S,u[g]++}return o}const AU=(t,n)=>{const i=rm.createTransformer(n),o=R1(t),u=R1(n);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?QA.has(t)&&!u.values.length||QA.has(n)&&!o.values.length?bU(t,n):_1(O6(TU(o,u),u.values),i):(cy(!0,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Rx(t,n))};function R6(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?Aa(t,n,i):KA(t)(t,n)}const wU=5;function _6(t,n,i){const o=Math.max(n-wU,0);return oD(i-t(o),n-o)}const wa={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},z6=.001;function EU({duration:t=wa.duration,bounce:n=wa.bounce,velocity:i=wa.velocity,mass:o=wa.mass}){let u,h;cy(t<=xc(wa.maxDuration),"Spring duration must be 10 seconds or less");let g=1-n;g=id(wa.minDamping,wa.maxDamping,g),t=id(wa.minDuration,wa.maxDuration,ad(t)),g<1?(u=A=>{const w=A*g,C=w*t,M=w-i,R=IA(A,g),V=Math.exp(-C);return z6-M/R*V},h=A=>{const C=A*g*t,M=C*i+i,R=Math.pow(g,2)*Math.pow(A,2)*t,V=Math.exp(-C),L=IA(Math.pow(A,2),g);return(-u(A)+z6>0?-1:1)*((M-R)*V)/L}):(u=A=>{const w=Math.exp(-A*t),C=(A-i)*t+1;return-.001+w*C},h=A=>{const w=Math.exp(-A*t),C=(i-A)*(t*t);return w*C});const v=5/t,S=DU(u,h,v);if(t=xc(t),isNaN(S))return{stiffness:wa.stiffness,damping:wa.damping,duration:t};{const A=Math.pow(S,2)*o;return{stiffness:A,damping:g*2*Math.sqrt(o*A),duration:t}}}const CU=12;function DU(t,n,i){let o=i;for(let u=1;u<CU;u++)o=o-t(o)/n(o);return o}function IA(t,n){return t*Math.sqrt(1-n*n)}const MU=["duration","bounce"],OU=["stiffness","damping","mass"];function N6(t,n){return n.some(i=>t[i]!==void 0)}function RU(t){let n={velocity:wa.velocity,stiffness:wa.stiffness,damping:wa.damping,mass:wa.mass,isResolvedFromDuration:!1,...t};if(!N6(t,OU)&&N6(t,MU))if(t.visualDuration){const i=t.visualDuration,o=2*Math.PI/(i*1.2),u=o*o,h=2*id(.05,1,1-(t.bounce||0))*Math.sqrt(u);n={...n,mass:wa.mass,stiffness:u,damping:h}}else{const i=EU(t);n={...n,...i,mass:wa.mass},n.isResolvedFromDuration=!0}return n}function V6(t=wa.visualDuration,n=wa.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:o,restDelta:u}=i;const h=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],v={done:!1,value:h},{stiffness:S,damping:A,mass:w,duration:C,velocity:M,isResolvedFromDuration:R}=RU({...i,velocity:-ad(i.velocity||0)}),V=M||0,L=A/(2*Math.sqrt(S*w)),P=g-h,U=ad(Math.sqrt(S/w)),q=Math.abs(P)<5;o||(o=q?wa.restSpeed.granular:wa.restSpeed.default),u||(u=q?wa.restDelta.granular:wa.restDelta.default);let F;if(L<1){const H=IA(U,L);F=le=>{const be=Math.exp(-L*U*le);return g-be*((V+L*U*P)/H*Math.sin(H*le)+P*Math.cos(H*le))}}else if(L===1)F=H=>g-Math.exp(-U*H)*(P+(V+U*P)*H);else{const H=U*Math.sqrt(L*L-1);F=le=>{const be=Math.exp(-L*U*le),de=Math.min(H*le,300);return g-be*((V+L*U*P)*Math.sinh(de)+H*P*Math.cosh(de))/H}}const ae={calculatedDuration:R&&C||null,next:H=>{const le=F(H);if(R)v.done=H>=C;else{let be=0;L<1&&(be=H===0?xc(V):_6(F,H,le));const de=Math.abs(be)<=o,Ue=Math.abs(g-le)<=u;v.done=de&&Ue}return v.value=v.done?g:le,v},toString:()=>{const H=Math.min(uD(ae),fA),le=fD(be=>ae.next(H*be).value,H,30);return H+"ms "+le}};return ae}function U6({keyframes:t,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:g,min:v,max:S,restDelta:A=.5,restSpeed:w}){const C=t[0],M={done:!1,value:C},R=de=>v!==void 0&&de<v||S!==void 0&&de>S,V=de=>v===void 0?S:S===void 0||Math.abs(v-de)<Math.abs(S-de)?v:S;let L=i*n;const P=C+L,U=g===void 0?P:g(P);U!==P&&(L=U-C);const q=de=>-L*Math.exp(-de/o),F=de=>U+q(de),ae=de=>{const Ue=q(de),De=F(de);M.done=Math.abs(Ue)<=A,M.value=M.done?U:De};let H,le;const be=de=>{R(M.value)&&(H=de,le=V6({keyframes:[M.value,V(M.value)],velocity:_6(F,de,M.value),damping:u,stiffness:h,restDelta:A,restSpeed:w}))};return be(0),{calculatedDuration:null,next:de=>{let Ue=!1;return!le&&H===void 0&&(Ue=!0,ae(de),be(de)),H!==void 0&&de>=H?le.next(de-H):(!Ue&&ae(de),M)}}}const _U=M1(.42,0,1,1),zU=M1(0,0,.58,1),L6=M1(.42,0,.58,1),NU=t=>Array.isArray(t)&&typeof t[0]!="number",j6={linear:Os,easeIn:_U,easeInOut:L6,easeOut:zU,circIn:UA,circInOut:n6,circOut:t6,backIn:VA,backInOut:JD,backOut:WD,anticipate:e6},B6=t=>{if(hA(t)){nm(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[n,i,o,u]=t;return M1(n,i,o,u)}else if(typeof t=="string")return nm(j6[t]!==void 0,`Invalid easing type '${t}'`),j6[t];return t};function VU(t,n,i){const o=[],u=i||R6,h=t.length-1;for(let g=0;g<h;g++){let v=u(t[g],t[g+1]);if(n){const S=Array.isArray(n)?n[g]||Os:n;v=_1(S,v)}o.push(v)}return o}function UU(t,n,{clamp:i=!0,ease:o,mixer:u}={}){const h=t.length;if(nm(h===n.length,"Both input and output ranges must be the same length"),h===1)return()=>n[0];if(h===2&&n[0]===n[1])return()=>n[1];const g=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),n=[...n].reverse());const v=VU(n,o,u),S=v.length,A=w=>{if(g&&w<t[0])return n[0];let C=0;if(S>1)for(;C<t.length-2&&!(w<t[C+1]);C++);const M=fy(t[C],t[C+1],w);return v[C](M)};return i?w=>A(id(t[0],t[h-1],w)):A}function LU(t,n){const i=t[t.length-1];for(let o=1;o<=n;o++){const u=fy(0,n,o);t.push(Aa(i,1,u))}}function jU(t){const n=[0];return LU(n,t.length-1),n}function BU(t,n){return t.map(i=>i*n)}function $U(t,n){return t.map(()=>n||L6).splice(0,t.length-1)}function z1({duration:t=300,keyframes:n,times:i,ease:o="easeInOut"}){const u=NU(o)?o.map(B6):B6(o),h={done:!1,value:n[0]},g=BU(i&&i.length===n.length?i:jU(n),t),v=UU(g,n,{ease:Array.isArray(u)?u:$U(n,u)});return{calculatedDuration:t,next:S=>(h.value=v(S),h.done=S>=t,h)}}const HU=t=>{const n=({timestamp:i})=>t(i);return{start:()=>In.update(n,!0),stop:()=>am(n),now:()=>lr.isProcessing?lr.timestamp:Sc.now()}};var kU={};const PU={decay:U6,inertia:U6,tween:z1,keyframes:z1,spring:V6},YU=t=>t/100;let WA=class extends C6{constructor(n){super(n),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:S}=this.options;S&&S()};const{name:i,motionValue:o,element:u,keyframes:h}=this.options,g=(u==null?void 0:u.KeyframeResolver)||FA,v=(S,A)=>this.onKeyframesResolved(S,A);this.resolver=new g(h,v,i,o,u),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:i="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:h,velocity:g=0}=this.options,v=dA(i)?i:PU[i]||z1;let S,A;kU.NODE_ENV!=="production"&&v!==z1&&nm(n.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${n}`),v!==z1&&typeof n[0]!="number"&&(S=_1(YU,R6(n[0],n[1])),n=[0,100]);const w=v({...this.options,keyframes:n});h==="mirror"&&(A=v({...this.options,keyframes:[...n].reverse(),velocity:-g})),w.calculatedDuration===null&&(w.calculatedDuration=uD(w));const{calculatedDuration:C}=w,M=C+u,R=M*(o+1)-u;return{generator:w,mirroredGenerator:A,mapPercentToKeyframes:S,calculatedDuration:C,resolvedDuration:M,totalDuration:R}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,i=!1){const{resolved:o}=this;if(!o){const{keyframes:de}=this.options;return{done:!0,value:de[de.length-1]}}const{finalKeyframe:u,generator:h,mirroredGenerator:g,mapPercentToKeyframes:v,keyframes:S,calculatedDuration:A,totalDuration:w,resolvedDuration:C}=o;if(this.startTime===null)return h.next(0);const{delay:M,repeat:R,repeatType:V,repeatDelay:L,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-w/this.speed,this.startTime)),i?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const U=this.currentTime-M*(this.speed>=0?1:-1),q=this.speed>=0?U<0:U>w;this.currentTime=Math.max(U,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=w);let F=this.currentTime,ae=h;if(R){const de=Math.min(this.currentTime,w)/C;let Ue=Math.floor(de),De=de%1;!De&&de>=1&&(De=1),De===1&&Ue--,Ue=Math.min(Ue,R+1),!!(Ue%2)&&(V==="reverse"?(De=1-De,L&&(De-=L/C)):V==="mirror"&&(ae=g)),F=id(0,1,De)*C}const H=q?{done:!1,value:S[0]}:ae.next(F);v&&(H.value=v(H.value));let{done:le}=H;!q&&A!==null&&(le=this.speed>=0?this.currentTime>=w:this.currentTime<=0);const be=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&le);return be&&u!==void 0&&(H.value=Ox(S,this.options,u)),P&&P(H.value),be&&this.finish(),H}get duration(){const{resolved:n}=this;return n?ad(n.calculatedDuration):0}get time(){return ad(this.currentTime)}set time(n){n=xc(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=ad(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=HU,onPlay:i,startTime:o}=this.options;this.driver||(this.driver=n(h=>this.tick(h))),i&&i();const u=this.driver.now();this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=u):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}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(n){return this.startTime=0,this.tick(n,!0)}};const qU=new Set(["opacity","clipPath","filter","transform"]);function GU(t,n,i,{delay:o=0,duration:u=300,repeat:h=0,repeatType:g="loop",ease:v="easeInOut",times:S}={}){const A={[n]:i};S&&(A.offset=S);const w=hD(v,u);return Array.isArray(w)&&(A.easing=w),t.animate(A,{delay:o,duration:u,easing:Array.isArray(w)?"linear":w,fill:"both",iterations:h+1,direction:g==="reverse"?"alternate":"normal"})}const FU=lA(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),_x=10,XU=2e4;function ZU(t){return dA(t.type)||t.type==="spring"||!dD(t.ease)}function QU(t,n){const i=new WA({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:t[0]};const u=[];let h=0;for(;!o.done&&h<XU;)o=i.sample(h),u.push(o.value),h+=_x;return{times:void 0,keyframes:u,duration:h-_x,ease:"linear"}}const $6={anticipate:e6,backInOut:JD,circInOut:n6};function KU(t){return t in $6}let H6=class extends C6{constructor(n){super(n);const{name:i,motionValue:o,element:u,keyframes:h}=this.options;this.resolver=new w6(h,(g,v)=>this.onKeyframesResolved(g,v),i,o,u),this.resolver.scheduleResolve()}initPlayback(n,i){let{duration:o=300,times:u,ease:h,type:g,motionValue:v,name:S,startTime:A}=this.options;if(!v.owner||!v.owner.current)return!1;if(typeof h=="string"&&xx()&&KU(h)&&(h=$6[h]),ZU(this.options)){const{onComplete:C,onUpdate:M,motionValue:R,element:V,...L}=this.options,P=QU(n,L);n=P.keyframes,n.length===1&&(n[1]=n[0]),o=P.duration,u=P.times,h=P.ease,g="keyframes"}const w=GU(v.owner.current,S,n,{...this.options,duration:o,times:u,ease:h});return w.startTime=A??this.calcStartTime(),this.pendingTimeline?(cD(w,this.pendingTimeline),this.pendingTimeline=void 0):w.onfinish=()=>{const{onComplete:C}=this.options;v.set(Ox(n,this.options,i)),C&&C(),this.cancel(),this.resolveFinishedPromise()},{animation:w,duration:o,times:u,type:g,ease:h,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:i}=n;return ad(i)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:i}=n;return ad(i.currentTime||0)}set time(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.currentTime=xc(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:i}=n;return i.playbackRate}set speed(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:i}=n;return i.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:i}=n;return i.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:i}=this;if(!i)return Os;const{animation:o}=i;cD(o,n)}return Os}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:i,keyframes:o,duration:u,type:h,ease:g,times:v}=n;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:A,onUpdate:w,onComplete:C,element:M,...R}=this.options,V=new WA({...R,keyframes:o,duration:u,type:h,ease:g,times:v,isGenerator:!0}),L=xc(this.time);A.setWithVelocity(V.sample(L-_x).value,V.sample(L).value,_x)}const{onStop:S}=this.options;S&&S(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:i,name:o,repeatDelay:u,repeatType:h,damping:g,type:v}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:A}=i.owner.getProps();return FU()&&o&&qU.has(o)&&(o!=="transform"||!A)&&!S&&!u&&h!=="mirror"&&g!==0&&v!=="inertia"}};const IU={type:"spring",stiffness:500,damping:25,restSpeed:10},WU=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),JU={type:"keyframes",duration:.8},eL={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tL=(t,{keyframes:n})=>n.length>2?JU:l0.has(t)?t.startsWith("scale")?WU(n[1]):IU:eL;function nL({when:t,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:u,repeat:h,repeatType:g,repeatDelay:v,from:S,elapsed:A,...w}){return!!Object.keys(w).length}const JA=(t,n,i,o={},u,h)=>g=>{const v=cA(o,t)||{},S=v.delay||o.delay||0;let{elapsed:A=0}=o;A=A-xc(S);let w={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...v,delay:-A,onUpdate:M=>{n.set(M),v.onUpdate&&v.onUpdate(M)},onComplete:()=>{g(),v.onComplete&&v.onComplete()},name:t,motionValue:n,element:h?void 0:u};nL(v)||(w={...w,...tL(t,w)}),w.duration&&(w.duration=xc(w.duration)),w.repeatDelay&&(w.repeatDelay=xc(w.repeatDelay)),w.from!==void 0&&(w.keyframes[0]=w.from);let C=!1;if((w.type===!1||w.duration===0&&!w.repeatDelay)&&(w.duration=0,w.delay===0&&(C=!0)),w.allowFlatten=!v.type&&!v.ease,C&&!h&&n.get()!==void 0){const M=Ox(w.keyframes,v);if(M!==void 0)return In.update(()=>{w.onUpdate(M),w.onComplete()}),new wN([])}return!h&&H6.supports(w)?new H6(w):new WA(w)};function aL({protectedKeys:t,needsAnimating:n},i){const o=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function k6(t,n,{delay:i=0,transitionOverride:o,type:u}={}){var h;let{transition:g=t.getDefaultTransition(),transitionEnd:v,...S}=n;o&&(g=o);const A=[],w=u&&t.animationState&&t.animationState.getState()[u];for(const C in S){const M=t.getValue(C,(h=t.latestValues[C])!==null&&h!==void 0?h:null),R=S[C];if(R===void 0||w&&aL(w,C))continue;const V={delay:i,...cA(g||{},C)};let L=!1;if(window.MotionHandoffAnimation){const U=ZD(t);if(U){const q=window.MotionHandoffAnimation(U,C,In);q!==null&&(V.startTime=q,L=!0)}}NA(t,C),M.start(JA(C,M,R,t.shouldReduceMotion&&XD.has(C)?{type:!1}:V,t,L));const P=M.animation;P&&A.push(P)}return v&&Promise.all(A).then(()=>{In.update(()=>{v&&_V(t,v)})}),A}function ew(t,n,i={}){var o;const u=D1(t,n,i.type==="exit"?(o=t.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:h=t.getDefaultTransition()||{}}=u||{};i.transitionOverride&&(h=i.transitionOverride);const g=u?()=>Promise.all(k6(t,u,i)):()=>Promise.resolve(),v=t.variantChildren&&t.variantChildren.size?(A=0)=>{const{delayChildren:w=0,staggerChildren:C,staggerDirection:M}=h;return iL(t,n,w+A,C,M,i)}:()=>Promise.resolve(),{when:S}=h;if(S){const[A,w]=S==="beforeChildren"?[g,v]:[v,g];return A().then(()=>w())}else return Promise.all([g(),v(i.delay)])}function iL(t,n,i=0,o=0,u=1,h){const g=[],v=(t.variantChildren.size-1)*o,S=u===1?(A=0)=>A*o:(A=0)=>v-A*o;return Array.from(t.variantChildren).sort(rL).forEach((A,w)=>{A.notify("AnimationStart",n),g.push(ew(A,n,{...h,delay:i+S(w)}).then(()=>A.notify("AnimationComplete",n)))}),Promise.all(g)}function rL(t,n){return t.sortNodePosition(n)}function sL(t,n,i={}){t.notify("AnimationStart",n);let o;if(Array.isArray(n)){const u=n.map(h=>ew(t,h,i));o=Promise.all(u)}else if(typeof n=="string")o=ew(t,n,i);else{const u=typeof n=="function"?D1(t,n,i.custom):n;o=Promise.all(k6(t,u,i))}return o.then(()=>{t.notify("AnimationComplete",n)})}function P6(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(n[o]!==t[o])return!1;return!0}const oL=xA.length;function Y6(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Y6(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<oL;i++){const o=xA[i],u=t.props[o];(A1(u)||u===!1)&&(n[o]=u)}return n}const lL=[...bA].reverse(),uL=bA.length;function cL(t){return n=>Promise.all(n.map(({animation:i,options:o})=>sL(t,i,o)))}function fL(t){let n=cL(t),i=q6(),o=!0;const u=S=>(A,w)=>{var C;const M=D1(t,w,S==="exit"?(C=t.presenceContext)===null||C===void 0?void 0:C.custom:void 0);if(M){const{transition:R,transitionEnd:V,...L}=M;A={...A,...L,...V}}return A};function h(S){n=S(t)}function g(S){const{props:A}=t,w=Y6(t.parent)||{},C=[],M=new Set;let R={},V=1/0;for(let P=0;P<uL;P++){const U=lL[P],q=i[U],F=A[U]!==void 0?A[U]:w[U],ae=A1(F),H=U===S?q.isActive:null;H===!1&&(V=P);let le=F===w[U]&&F!==A[U]&&ae;if(le&&o&&t.manuallyAnimateOnMount&&(le=!1),q.protectedKeys={...R},!q.isActive&&H===null||!F&&!q.prevProp||Ex(F)||typeof F=="boolean")continue;const be=dL(q.prevProp,F);let de=be||U===S&&q.isActive&&!le&&ae||P>V&&ae,Ue=!1;const De=Array.isArray(F)?F:[F];let $e=De.reduce(u(U),{});H===!1&&($e={});const{prevResolvedValues:ke={}}=q,We={...ke,...$e},et=W=>{de=!0,M.has(W)&&(Ue=!0,M.delete(W)),q.needsAnimating[W]=!0;const ce=t.getValue(W);ce&&(ce.liveStyle=!1)};for(const W in We){const ce=$e[W],Ae=ke[W];if(R.hasOwnProperty(W))continue;let Be=!1;_A(ce)&&_A(Ae)?Be=!P6(ce,Ae):Be=ce!==Ae,Be?ce!=null?et(W):M.add(W):ce!==void 0&&M.has(W)?et(W):q.protectedKeys[W]=!0}q.prevProp=F,q.prevResolvedValues=$e,q.isActive&&(R={...R,...$e}),o&&t.blockInitialAnimation&&(de=!1),de&&(!(le&&be)||Ue)&&C.push(...De.map(W=>({animation:W,options:{type:U}})))}if(M.size){const P={};if(typeof A.initial!="boolean"){const U=D1(t,Array.isArray(A.initial)?A.initial[0]:A.initial);U&&U.transition&&(P.transition=U.transition)}M.forEach(U=>{const q=t.getBaseTarget(U),F=t.getValue(U);F&&(F.liveStyle=!0),P[U]=q??null}),C.push({animation:P})}let L=!!C.length;return o&&(A.initial===!1||A.initial===A.animate)&&!t.manuallyAnimateOnMount&&(L=!1),o=!1,L?n(C):Promise.resolve()}function v(S,A){var w;if(i[S].isActive===A)return Promise.resolve();(w=t.variantChildren)===null||w===void 0||w.forEach(M=>{var R;return(R=M.animationState)===null||R===void 0?void 0:R.setActive(S,A)}),i[S].isActive=A;const C=g(S);for(const M in i)i[M].protectedKeys={};return C}return{animateChanges:g,setActive:v,setAnimateFunction:h,getState:()=>i,reset:()=>{i=q6(),o=!0}}}function dL(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!P6(n,t):!1}function d0(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q6(){return{animate:d0(!0),whileInView:d0(),whileHover:d0(),whileTap:d0(),whileDrag:d0(),whileFocus:d0(),exit:d0()}}let sm=class{constructor(n){this.isMounted=!1,this.node=n}update(){}},hL=class extends sm{constructor(n){super(n),n.animationState||(n.animationState=fL(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Ex(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}},mL=0;const pL={animation:{Feature:hL},exit:{Feature:class extends sm{constructor(){super(...arguments),this.id=mL++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const u=this.node.animationState.setActive("exit",!n);i&&!n&&u.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}}};function N1(t,n,i,o={passive:!0}){return t.addEventListener(n,i,o),()=>t.removeEventListener(n,i)}function V1(t){return{point:{x:t.pageX,y:t.pageY}}}const gL=t=>n=>yA(n)&&t(n,V1(n));function U1(t,n,i,o){return N1(t,n,gL(i),o)}function G6({top:t,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:t,max:o}}}function yL({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function vL(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}const F6=1e-4,bL=1-F6,xL=1+F6,X6=.01,SL=0-X6,TL=0+X6;function es(t){return t.max-t.min}function AL(t,n,i){return Math.abs(t-n)<=i}function Z6(t,n,i,o=.5){t.origin=o,t.originPoint=Aa(n.min,n.max,t.origin),t.scale=es(i)/es(n),t.translate=Aa(i.min,i.max,t.origin)-t.originPoint,(t.scale>=bL&&t.scale<=xL||isNaN(t.scale))&&(t.scale=1),(t.translate>=SL&&t.translate<=TL||isNaN(t.translate))&&(t.translate=0)}function L1(t,n,i,o){Z6(t.x,n.x,i.x,o?o.originX:void 0),Z6(t.y,n.y,i.y,o?o.originY:void 0)}function Q6(t,n,i){t.min=i.min+n.min,t.max=t.min+es(n)}function wL(t,n,i){Q6(t.x,n.x,i.x),Q6(t.y,n.y,i.y)}function K6(t,n,i){t.min=n.min-i.min,t.max=t.min+es(n)}function j1(t,n,i){K6(t.x,n.x,i.x),K6(t.y,n.y,i.y)}const I6=()=>({translate:0,scale:1,origin:0,originPoint:0}),vy=()=>({x:I6(),y:I6()}),W6=()=>({min:0,max:0}),Qa=()=>({x:W6(),y:W6()});function il(t){return[t("x"),t("y")]}function tw(t){return t===void 0||t===1}function nw({scale:t,scaleX:n,scaleY:i}){return!tw(t)||!tw(n)||!tw(i)}function h0(t){return nw(t)||J6(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function J6(t){return eM(t.x)||eM(t.y)}function eM(t){return t&&t!=="0%"}function zx(t,n,i){const o=t-i,u=n*o;return i+u}function tM(t,n,i,o,u){return u!==void 0&&(t=zx(t,u,o)),zx(t,i,o)+n}function aw(t,n=0,i=1,o,u){t.min=tM(t.min,n,i,o,u),t.max=tM(t.max,n,i,o,u)}function nM(t,{x:n,y:i}){aw(t.x,n.translate,n.scale,n.originPoint),aw(t.y,i.translate,i.scale,i.originPoint)}const aM=.999999999999,iM=1.0000000000001;function EL(t,n,i,o=!1){const u=i.length;if(!u)return;n.x=n.y=1;let h,g;for(let v=0;v<u;v++){h=i[v],g=h.projectionDelta;const{visualElement:S}=h.options;S&&S.props.style&&S.props.style.display==="contents"||(o&&h.options.layoutScroll&&h.scroll&&h!==h.root&&xy(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),g&&(n.x*=g.x.scale,n.y*=g.y.scale,nM(t,g)),o&&h0(h.latestValues)&&xy(t,h.latestValues))}n.x<iM&&n.x>aM&&(n.x=1),n.y<iM&&n.y>aM&&(n.y=1)}function by(t,n){t.min=t.min+n,t.max=t.max+n}function rM(t,n,i,o,u=.5){const h=Aa(t.min,t.max,u);aw(t,n,i,h,o)}function xy(t,n){rM(t.x,n.x,n.scaleX,n.scale,n.originX),rM(t.y,n.y,n.scaleY,n.scale,n.originY)}function sM(t,n){return G6(vL(t.getBoundingClientRect(),n))}function CL(t,n,i){const o=sM(t,i),{scroll:u}=n;return u&&(by(o.x,u.offset.x),by(o.y,u.offset.y)),o}const oM=({current:t})=>t?t.ownerDocument.defaultView:null,lM=(t,n)=>Math.abs(t-n);function DL(t,n){const i=lM(t.x,n.x),o=lM(t.y,n.y);return Math.sqrt(i**2+o**2)}let uM=class{constructor(n,i,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:h=!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 C=rw(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,R=DL(C.offset,{x:0,y:0})>=3;if(!M&&!R)return;const{point:V}=C,{timestamp:L}=lr;this.history.push({...V,timestamp:L});const{onStart:P,onMove:U}=this.handlers;M||(P&&P(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,C)},this.handlePointerMove=(C,M)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=iw(M,this.transformPagePoint),In.update(this.updatePoint,!0)},this.handlePointerUp=(C,M)=>{this.end();const{onEnd:R,onSessionEnd:V,resumeAnimation:L}=this.handlers;if(this.dragSnapToOrigin&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=rw(C.type==="pointercancel"?this.lastMoveEventInfo:iw(M,this.transformPagePoint),this.history);this.startEvent&&R&&R(C,P),V&&V(C,P)},!yA(n))return;this.dragSnapToOrigin=h,this.handlers=i,this.transformPagePoint=o,this.contextWindow=u||window;const g=V1(n),v=iw(g,this.transformPagePoint),{point:S}=v,{timestamp:A}=lr;this.history=[{...S,timestamp:A}];const{onSessionStart:w}=i;w&&w(n,rw(v,this.history)),this.removeListeners=_1(U1(this.contextWindow,"pointermove",this.handlePointerMove),U1(this.contextWindow,"pointerup",this.handlePointerUp),U1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),am(this.updatePoint)}};function iw(t,n){return n?{point:n(t.point)}:t}function cM(t,n){return{x:t.x-n.x,y:t.y-n.y}}function rw({point:t},n){return{point:t,delta:cM(t,fM(n)),offset:cM(t,ML(n)),velocity:OL(n,.1)}}function ML(t){return t[0]}function fM(t){return t[t.length-1]}function OL(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null;const u=fM(t);for(;i>=0&&(o=t[i],!(u.timestamp-o.timestamp>xc(n)));)i--;if(!o)return{x:0,y:0};const h=ad(u.timestamp-o.timestamp);if(h===0)return{x:0,y:0};const g={x:(u.x-o.x)/h,y:(u.y-o.y)/h};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function RL(t,{min:n,max:i},o){return n!==void 0&&t<n?t=o?Aa(n,t,o.min):Math.max(t,n):i!==void 0&&t>i&&(t=o?Aa(i,t,o.max):Math.min(t,i)),t}function dM(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function _L(t,{top:n,left:i,bottom:o,right:u}){return{x:dM(t.x,i,u),y:dM(t.y,n,o)}}function hM(t,n){let i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function zL(t,n){return{x:hM(t.x,n.x),y:hM(t.y,n.y)}}function NL(t,n){let i=.5;const o=es(t),u=es(n);return u>o?i=fy(n.min,n.max-o,t.min):o>u&&(i=fy(t.min,t.max-u,n.min)),id(0,1,i)}function VL(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const sw=.35;function UL(t=sw){return t===!1?t=0:t===!0&&(t=sw),{x:mM(t,"left","right"),y:mM(t,"top","bottom")}}function mM(t,n,i){return{min:pM(t,n),max:pM(t,i)}}function pM(t,n){return typeof t=="number"?t:t[n]||0}const LL=new WeakMap;let jL=class{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qa(),this.visualElement=n}start(n,{snapToCursor:i=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=w=>{const{dragSnapToOrigin:C}=this.getProps();C?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(V1(w).point)},h=(w,C)=>{const{drag:M,dragPropagation:R,onDragStart:V}=this.getProps();if(M&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=RN(M),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),il(P=>{let U=this.getAxisMotionValue(P).get()||0;if(Tc.test(U)){const{projection:q}=this.visualElement;if(q&&q.layout){const F=q.layout.layoutBox[P];F&&(U=es(F)*(parseFloat(U)/100))}}this.originPoint[P]=U}),V&&In.postRender(()=>V(w,C)),NA(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},g=(w,C)=>{const{dragPropagation:M,dragDirectionLock:R,onDirectionLock:V,onDrag:L}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:P}=C;if(R&&this.currentDirection===null){this.currentDirection=BL(P),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",C.point,P),this.updateAxis("y",C.point,P),this.visualElement.render(),L&&L(w,C)},v=(w,C)=>this.stop(w,C),S=()=>il(w=>{var C;return this.getAnimationState(w)==="paused"&&((C=this.getAxisMotionValue(w).animation)===null||C===void 0?void 0:C.play())}),{dragSnapToOrigin:A}=this.getProps();this.panSession=new uM(n,{onSessionStart:u,onStart:h,onMove:g,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,contextWindow:oM(this.visualElement)})}stop(n,i){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=i;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&In.postRender(()=>h(n,i))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,o){const{drag:u}=this.getProps();if(!o||!Nx(n,u,this.currentDirection))return;const h=this.getAxisMotionValue(n);let g=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(g=RL(g,this.constraints[n],this.elastic[n])),h.set(g)}resolveConstraints(){var n;const{dragConstraints:i,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,h=this.constraints;i&&hy(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&u?this.constraints=_L(u.layoutBox,i):this.constraints=!1,this.elastic=UL(o),h!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&il(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=VL(u.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!hy(n))return!1;const o=n.current;nm(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const h=CL(o,u.root,this.visualElement.getTransformPagePoint());let g=zL(u.layout.layoutBox,h);if(i){const v=i(yL(g));this.hasMutatedConstraints=!!v,v&&(g=G6(v))}return g}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:u,dragTransition:h,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),S=this.constraints||{},A=il(w=>{if(!Nx(w,i,this.currentDirection))return;let C=S&&S[w]||{};g&&(C={min:0,max:0});const M=u?200:1e6,R=u?40:1e7,V={type:"inertia",velocity:o?n[w]:0,bounceStiffness:M,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...h,...C};return this.startAxisValueAnimation(w,V)});return Promise.all(A).then(v)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return NA(this.visualElement,n),o.start(JA(n,o,0,i,this.visualElement,!1))}stopAnimation(){il(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){il(n=>{var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),u=o[i];return u||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){il(i=>{const{drag:o}=this.getProps();if(!Nx(i,o,this.currentDirection))return;const{projection:u}=this.visualElement,h=this.getAxisMotionValue(i);if(u&&u.layout){const{min:g,max:v}=u.layout.layoutBox[i];h.set(n[i]-Aa(g,v,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!hy(i)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};il(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const S=v.get();u[g]=NL({min:S,max:S},this.constraints[g])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),il(g=>{if(!Nx(g,n,null))return;const v=this.getAxisMotionValue(g),{min:S,max:A}=this.constraints[g];v.set(Aa(S,A,u[g]))})}addListeners(){if(!this.visualElement.current)return;LL.set(this.visualElement,this);const n=this.visualElement.current,i=U1(n,"pointerdown",S=>{const{drag:A,dragListener:w=!0}=this.getProps();A&&w&&this.start(S)}),o=()=>{const{dragConstraints:S}=this.getProps();hy(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,h=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),In.read(o);const g=N1(window,"resize",()=>this.scalePositionWithinConstraints()),v=u.addEventListener("didUpdate",({delta:S,hasLayoutChanged:A})=>{this.isDragging&&A&&(il(w=>{const C=this.getAxisMotionValue(w);C&&(this.originPoint[w]+=S[w].translate,C.set(C.get()+S[w].translate))}),this.visualElement.render())});return()=>{g(),i(),h(),v&&v()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:h=!1,dragElastic:g=sw,dragMomentum:v=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:u,dragConstraints:h,dragElastic:g,dragMomentum:v}}};function Nx(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function BL(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}let $L=class extends sm{constructor(n){super(n),this.removeGroupControls=Os,this.removeListeners=Os,this.controls=new jL(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Os}unmount(){this.removeGroupControls(),this.removeListeners()}};const gM=t=>(n,i)=>{t&&In.postRender(()=>t(n,i))};let HL=class extends sm{constructor(){super(...arguments),this.removePointerDownListener=Os}onPointerDown(n){this.session=new uM(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:oM(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:gM(n),onStart:gM(i),onMove:o,onEnd:(h,g)=>{delete this.session,u&&In.postRender(()=>u(h,g))}}}mount(){this.removePointerDownListener=U1(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};const Vx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yM(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const B1={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(xt.test(t))t=parseFloat(t);else return t;const i=yM(t,n.target.x),o=yM(t,n.target.y);return`${i}% ${o}%`}},kL={correct:(t,{treeScale:n,projectionDelta:i})=>{const o=t,u=rm.parse(t);if(u.length>5)return o;const h=rm.createTransformer(t),g=typeof u[0]!="number"?1:0,v=i.x.scale*n.x,S=i.y.scale*n.y;u[0+g]/=v,u[1+g]/=S;const A=Aa(v,S,.5);return typeof u[2+g]=="number"&&(u[2+g]/=A),typeof u[3+g]=="number"&&(u[3+g]/=A),h(u)}};let PL=class extends J.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:u}=this.props,{projection:h}=n;rV(YL),h&&(i.group&&i.group.add(h),o&&o.register&&u&&o.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),Vx.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:u,isPresent:h}=this.props,g=o.projection;return g&&(g.isPresent=h,u||n.layoutDependency!==i||i===void 0||n.isPresent!==h?g.willUpdate():this.safeToRemove(),n.isPresent!==h&&(h?g.promote():g.relegate()||In.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),gA.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:u}=n;u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}};function vM(t){const[n,i]=iD(),o=J.useContext(nA);return Y.jsx(PL,{...t,layoutGroup:o,switchLayoutGroup:J.useContext(OD),isPresent:n,safeToRemove:i})}const YL={borderRadius:{...B1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:B1,borderTopRightRadius:B1,borderBottomLeftRadius:B1,borderBottomRightRadius:B1,boxShadow:kL};function qL(t,n,i){const o=Cr(t)?t:T1(t);return o.start(JA("",o,n,i)),o.animation}function GL(t){return t instanceof SVGElement&&t.tagName!=="svg"}const FL=(t,n)=>t.depth-n.depth;let XL=class{constructor(){this.children=[],this.isDirty=!1}add(n){sA(this.children,n),this.isDirty=!0}remove(n){oA(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(FL),this.isDirty=!1,this.children.forEach(n)}};function ZL(t,n){const i=Sc.now(),o=({timestamp:u})=>{const h=u-i;h>=n&&(am(o),t(h-n))};return In.read(o,!0),()=>am(o)}const bM=["TopLeft","TopRight","BottomLeft","BottomRight"],QL=bM.length,xM=t=>typeof t=="string"?parseFloat(t):t,SM=t=>typeof t=="number"||xt.test(t);function KL(t,n,i,o,u,h){u?(t.opacity=Aa(0,i.opacity!==void 0?i.opacity:1,IL(o)),t.opacityExit=Aa(n.opacity!==void 0?n.opacity:1,0,WL(o))):h&&(t.opacity=Aa(n.opacity!==void 0?n.opacity:1,i.opacity!==void 0?i.opacity:1,o));for(let g=0;g<QL;g++){const v=`border${bM[g]}Radius`;let S=TM(n,v),A=TM(i,v);if(S===void 0&&A===void 0)continue;S||(S=0),A||(A=0),S===0||A===0||SM(S)===SM(A)?(t[v]=Math.max(Aa(xM(S),xM(A),o),0),(Tc.test(A)||Tc.test(S))&&(t[v]+="%")):t[v]=A}(n.rotate||i.rotate)&&(t.rotate=Aa(n.rotate||0,i.rotate||0,o))}function TM(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const IL=AM(0,.5,t6),WL=AM(.5,.95,Os);function AM(t,n,i){return o=>o<t?0:o>n?1:i(fy(t,n,o))}function wM(t,n){t.min=n.min,t.max=n.max}function rl(t,n){wM(t.x,n.x),wM(t.y,n.y)}function EM(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function CM(t,n,i,o,u){return t-=n,t=zx(t,1/i,o),u!==void 0&&(t=zx(t,1/u,o)),t}function JL(t,n=0,i=1,o=.5,u,h=t,g=t){if(Tc.test(n)&&(n=parseFloat(n),n=Aa(g.min,g.max,n/100)-g.min),typeof n!="number")return;let v=Aa(h.min,h.max,o);t===h&&(v-=n),t.min=CM(t.min,n,i,v,u),t.max=CM(t.max,n,i,v,u)}function DM(t,n,[i,o,u],h,g){JL(t,n[i],n[o],n[u],n.scale,h,g)}const ej=["x","scaleX","originX"],tj=["y","scaleY","originY"];function MM(t,n,i,o){DM(t.x,n,ej,i?i.x:void 0,o?o.x:void 0),DM(t.y,n,tj,i?i.y:void 0,o?o.y:void 0)}function OM(t){return t.translate===0&&t.scale===1}function RM(t){return OM(t.x)&&OM(t.y)}function _M(t,n){return t.min===n.min&&t.max===n.max}function nj(t,n){return _M(t.x,n.x)&&_M(t.y,n.y)}function zM(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function NM(t,n){return zM(t.x,n.x)&&zM(t.y,n.y)}function VM(t){return es(t.x)/es(t.y)}function UM(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}let aj=class{constructor(){this.members=[]}add(n){sA(this.members,n),n.scheduleRender()}remove(n){if(oA(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(u=>n===u);if(i===0)return!1;let o;for(let u=i;u>=0;u--){const h=this.members[u];if(h.isPresent!==!1){o=h;break}}return o?(this.promote(o),!0):!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,i&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:u}=n.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:o}=n;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function ij(t,n,i){let o="";const u=t.x.translate/n.x,h=t.y.translate/n.y,g=(i==null?void 0:i.z)||0;if((u||h||g)&&(o=`translate3d(${u}px, ${h}px, ${g}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:A,rotate:w,rotateX:C,rotateY:M,skewX:R,skewY:V}=i;A&&(o=`perspective(${A}px) ${o}`),w&&(o+=`rotate(${w}deg) `),C&&(o+=`rotateX(${C}deg) `),M&&(o+=`rotateY(${M}deg) `),R&&(o+=`skewX(${R}deg) `),V&&(o+=`skewY(${V}deg) `)}const v=t.x.scale*n.x,S=t.y.scale*n.y;return(v!==1||S!==1)&&(o+=`scale(${v}, ${S})`),o||"none"}const ow=["","X","Y","Z"],rj={visibility:"hidden"},LM=1e3;let sj=0;function lw(t,n,i,o){const{latestValues:u}=n;u[t]&&(i[t]=u[t],n.setStaticValue(t,0),o&&(o[t]=0))}function jM(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=ZD(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:h}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",In,!(u||h))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&jM(o)}function BM({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(g={},v=n==null?void 0:n()){this.id=sj++,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,this.nodes.forEach(uj),this.nodes.forEach(mj),this.nodes.forEach(pj),this.nodes.forEach(cj)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=v?v.root||v:this,this.path=v?[...v.path,v]:[],this.parent=v,this.depth=v?v.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new XL)}addEventListener(g,v){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new uA),this.eventHandlers.get(g).add(v)}notifyListeners(g,...v){const S=this.eventHandlers.get(g);S&&S.notify(...v)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,v=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=GL(g),this.instance=g;const{layoutId:S,layout:A,visualElement:w}=this.options;if(w&&!w.current&&w.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),v&&(A||S)&&(this.isLayoutDirty=!0),t){let C;const M=()=>this.root.updateBlockedByResize=!1;t(g,()=>{this.root.updateBlockedByResize=!0,C&&C(),C=ZL(M,250),Vx.hasAnimatedSinceResize&&(Vx.hasAnimatedSinceResize=!1,this.nodes.forEach(HM))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&w&&(S||A)&&this.addEventListener("didUpdate",({delta:C,hasLayoutChanged:M,hasRelativeLayoutChanged:R,layout:V})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const L=this.options.transition||w.getDefaultTransition()||xj,{onLayoutAnimationStart:P,onLayoutAnimationComplete:U}=w.getProps(),q=!this.targetLayout||!NM(this.targetLayout,V),F=!M&&R;if(this.options.layoutRoot||this.resumeFrom||F||M&&(q||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(C,F);const ae={...cA(L,"layout"),onPlay:P,onComplete:U};(w.shouldReduceMotion||this.options.layoutRoot)&&(ae.delay=0,ae.type=!1),this.startAnimation(ae)}else M||HM(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=V})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,am(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(gj),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&jM(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let w=0;w<this.path.length;w++){const C=this.path[w];C.shouldResetTransform=!0,C.updateScroll("snapshot"),C.options.layoutRoot&&C.willUpdate(!1)}const{layoutId:v,layout:S}=this.options;if(v===void 0&&!S)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($M);return}this.isUpdating||this.nodes.forEach(dj),this.isUpdating=!1,this.nodes.forEach(hj),this.nodes.forEach(oj),this.nodes.forEach(lj),this.clearAllSnapshots();const v=Sc.now();lr.delta=id(0,1e3/60,v-lr.timestamp),lr.timestamp=v,lr.isProcessing=!0,pA.update.process(lr),pA.preRender.process(lr),pA.render.process(lr),lr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,gA.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fj),this.sharedNodes.forEach(yj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,In.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){In.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!es(this.snapshot.measuredBox.x)&&!es(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let S=0;S<this.path.length;S++)this.path[S].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Qa(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:v}=this.options;v&&v.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let v=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(v=!1),v){const S=o(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:S,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!u)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,v=this.projectionDelta&&!RM(this.projectionDelta),S=this.getTransformTemplate(),A=S?S(this.latestValues,""):void 0,w=A!==this.prevTransformTemplateValue;g&&(v||h0(this.latestValues)||w)&&(u(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const v=this.measurePageBox();let S=this.removeElementScroll(v);return g&&(S=this.removeTransform(S)),Sj(S),{animationId:this.root.animationId,measuredBox:v,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:v}=this.options;if(!v)return Qa();const S=v.measureViewportBox();if(!(((g=this.scroll)===null||g===void 0?void 0:g.wasRoot)||this.path.some(Tj))){const{scroll:w}=this.root;w&&(by(S.x,w.offset.x),by(S.y,w.offset.y))}return S}removeElementScroll(g){var v;const S=Qa();if(rl(S,g),!((v=this.scroll)===null||v===void 0)&&v.wasRoot)return S;for(let A=0;A<this.path.length;A++){const w=this.path[A],{scroll:C,options:M}=w;w!==this.root&&C&&M.layoutScroll&&(C.wasRoot&&rl(S,g),by(S.x,C.offset.x),by(S.y,C.offset.y))}return S}applyTransform(g,v=!1){const S=Qa();rl(S,g);for(let A=0;A<this.path.length;A++){const w=this.path[A];!v&&w.options.layoutScroll&&w.scroll&&w!==w.root&&xy(S,{x:-w.scroll.offset.x,y:-w.scroll.offset.y}),h0(w.latestValues)&&xy(S,w.latestValues)}return h0(this.latestValues)&&xy(S,this.latestValues),S}removeTransform(g){const v=Qa();rl(v,g);for(let S=0;S<this.path.length;S++){const A=this.path[S];if(!A.instance||!h0(A.latestValues))continue;nw(A.latestValues)&&A.updateSnapshot();const w=Qa(),C=A.measurePageBox();rl(w,C),MM(v,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,w)}return h0(this.latestValues)&&MM(v,this.latestValues),v}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.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!==lr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var v;const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const A=!!this.resumingFrom||this!==S;if(!(g||A&&this.isSharedProjectionDirty||this.isProjectionDirty||!((v=this.parent)===null||v===void 0)&&v.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:C,layoutId:M}=this.options;if(!(!this.layout||!(C||M))){if(this.resolvedRelativeTargetAt=lr.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qa(),this.relativeTargetOrigin=Qa(),j1(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),rl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Qa(),this.targetWithTransforms=Qa()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wL(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rl(this.target,this.layout.layoutBox),nM(this.target,this.targetDelta)):rl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qa(),this.relativeTargetOrigin=Qa(),j1(this.relativeTargetOrigin,this.target,R.target),rl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||nw(this.parent.latestValues)||J6(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 g;const v=this.getLead(),S=!!this.resumingFrom||this!==v;let A=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(A=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(A=!1),this.resolvedRelativeTargetAt===lr.timestamp&&(A=!1),A)return;const{layout:w,layoutId:C}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(w||C))return;rl(this.layoutCorrected,this.layout.layoutBox);const M=this.treeScale.x,R=this.treeScale.y;EL(this.layoutCorrected,this.treeScale,this.path,S),v.layout&&!v.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(v.target=v.layout.layoutBox,v.targetWithTransforms=Qa());const{target:V}=v;if(!V){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(EM(this.prevProjectionDelta.x,this.projectionDelta.x),EM(this.prevProjectionDelta.y,this.projectionDelta.y)),L1(this.projectionDelta,this.layoutCorrected,V,this.latestValues),(this.treeScale.x!==M||this.treeScale.y!==R||!UM(this.projectionDelta.x,this.prevProjectionDelta.x)||!UM(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",V))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var v;if((v=this.options.visualElement)===null||v===void 0||v.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vy(),this.projectionDelta=vy(),this.projectionDeltaWithTransform=vy()}setAnimationOrigin(g,v=!1){const S=this.snapshot,A=S?S.latestValues:{},w={...this.latestValues},C=vy();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!v;const M=Qa(),R=S?S.source:void 0,V=this.layout?this.layout.source:void 0,L=R!==V,P=this.getStack(),U=!P||P.members.length<=1,q=!!(L&&!U&&this.options.crossfade===!0&&!this.path.some(bj));this.animationProgress=0;let F;this.mixTargetDelta=ae=>{const H=ae/1e3;kM(C.x,g.x,H),kM(C.y,g.y,H),this.setTargetDelta(C),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(j1(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),vj(this.relativeTarget,this.relativeTargetOrigin,M,H),F&&nj(this.relativeTarget,F)&&(this.isProjectionDirty=!1),F||(F=Qa()),rl(F,this.relativeTarget)),L&&(this.animationValues=w,KL(w,A,this.latestValues,H,q,U)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(am(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=In.update(()=>{Vx.hasAnimatedSinceResize=!0,this.currentAnimation=qL(0,LM,{...g,onUpdate:v=>{this.mixTargetDelta(v),g.onUpdate&&g.onUpdate(v)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.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 g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(LM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:v,target:S,layout:A,latestValues:w}=g;if(!(!v||!S||!A)){if(this!==g&&this.layout&&A&&FM(this.options.animationType,this.layout.layoutBox,A.layoutBox)){S=this.target||Qa();const C=es(this.layout.layoutBox.x);S.x.min=g.target.x.min,S.x.max=S.x.min+C;const M=es(this.layout.layoutBox.y);S.y.min=g.target.y.min,S.y.max=S.y.min+M}rl(v,S),xy(v,w),L1(this.projectionDeltaWithTransform,this.layoutCorrected,v,w)}}registerSharedNode(g,v){this.sharedNodes.has(g)||this.sharedNodes.set(g,new aj),this.sharedNodes.get(g).add(v);const A=v.options.initialPromotionConfig;v.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(v):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:v}=this.options;return v?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:v}=this.options;return v?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:v,preserveFollowOpacity:S}={}){const A=this.getStack();A&&A.promote(this,S),g&&(this.projectionDelta=void 0,this.needsReset=!0),v&&this.setOptions({transition:v})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let v=!1;const{latestValues:S}=g;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(v=!0),!v)return;const A={};S.z&&lw("z",g,A,this.animationValues);for(let w=0;w<ow.length;w++)lw(`rotate${ow[w]}`,g,A,this.animationValues),lw(`skew${ow[w]}`,g,A,this.animationValues);g.render();for(const w in A)g.setStaticValue(w,A[w]),this.animationValues&&(this.animationValues[w]=A[w]);g.scheduleRender()}getProjectionStyles(g){var v,S;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rj;const A={visibility:""},w=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,A.opacity="",A.pointerEvents=Mx(g==null?void 0:g.pointerEvents)||"",A.transform=w?w(this.latestValues,""):"none",A;const C=this.getLead();if(!this.projectionDelta||!this.layout||!C.target){const L={};return this.options.layoutId&&(L.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,L.pointerEvents=Mx(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!h0(this.latestValues)&&(L.transform=w?w({},""):"none",this.hasProjected=!1),L}const M=C.animationValues||C.latestValues;this.applyTransformsToTarget(),A.transform=ij(this.projectionDeltaWithTransform,this.treeScale,M),w&&(A.transform=w(M,A.transform));const{x:R,y:V}=this.projectionDelta;A.transformOrigin=`${R.origin*100}% ${V.origin*100}% 0`,C.animationValues?A.opacity=C===this?(S=(v=M.opacity)!==null&&v!==void 0?v:this.latestValues.opacity)!==null&&S!==void 0?S:1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:A.opacity=C===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const L in w1){if(M[L]===void 0)continue;const{correct:P,applyTo:U,isCSSVariable:q}=w1[L],F=A.transform==="none"?M[L]:P(M[L],C);if(U){const ae=U.length;for(let H=0;H<ae;H++)A[U[H]]=F}else q?this.options.visualElement.renderState.vars[L]=F:A[L]=F}return this.options.layoutId&&(A.pointerEvents=C===this?Mx(g==null?void 0:g.pointerEvents)||"":"none"),A}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var v;return(v=g.currentAnimation)===null||v===void 0?void 0:v.stop()}),this.root.nodes.forEach($M),this.root.sharedNodes.clear()}}}function oj(t){t.updateLayout()}function lj(t){var n;const i=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=t.layout,{animationType:h}=t.options,g=i.source!==t.layout.source;h==="size"?il(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=es(M);M.min=o[C].min,M.max=M.min+R}):FM(h,i.layoutBox,o)&&il(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=es(o[C]);M.max=M.min+R,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[C].max=t.relativeTarget[C].min+R)});const v=vy();L1(v,o,i.layoutBox);const S=vy();g?L1(S,t.applyTransform(u,!0),i.measuredBox):L1(S,o,i.layoutBox);const A=!RM(v);let w=!1;if(!t.resumeFrom){const C=t.getClosestProjectingParent();if(C&&!C.resumeFrom){const{snapshot:M,layout:R}=C;if(M&&R){const V=Qa();j1(V,i.layoutBox,M.layoutBox);const L=Qa();j1(L,o,R.layoutBox),NM(V,L)||(w=!0),C.options.layoutRoot&&(t.relativeTarget=L,t.relativeTargetOrigin=V,t.relativeParent=C)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:S,layoutDelta:v,hasLayoutChanged:A,hasRelativeLayoutChanged:w})}else if(t.isLead()){const{onExitComplete:o}=t.options;o&&o()}t.options.transition=void 0}function uj(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function cj(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function fj(t){t.clearSnapshot()}function $M(t){t.clearMeasurements()}function dj(t){t.isLayoutDirty=!1}function hj(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function HM(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function mj(t){t.resolveTargetDelta()}function pj(t){t.calcProjection()}function gj(t){t.resetSkewAndRotation()}function yj(t){t.removeLeadSnapshot()}function kM(t,n,i){t.translate=Aa(n.translate,0,i),t.scale=Aa(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function PM(t,n,i,o){t.min=Aa(n.min,i.min,o),t.max=Aa(n.max,i.max,o)}function vj(t,n,i,o){PM(t.x,n.x,i.x,o),PM(t.y,n.y,i.y,o)}function bj(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const xj={duration:.45,ease:[.4,0,.1,1]},YM=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),qM=YM("applewebkit/")&&!YM("chrome/")?Math.round:Os;function GM(t){t.min=qM(t.min),t.max=qM(t.max)}function Sj(t){GM(t.x),GM(t.y)}function FM(t,n,i){return t==="position"||t==="preserve-aspect"&&!AL(VM(n),VM(i),.2)}function Tj(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const Aj=BM({attachResizeListener:(t,n)=>N1(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),uw={current:void 0},XM=BM({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!uw.current){const t=new Aj({});t.mount(window),t.setOptions({layoutScroll:!0}),uw.current=t}return uw.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),wj={pan:{Feature:HL},drag:{Feature:$L,ProjectionNode:XM,MeasureLayout:vM}};function ZM(t,n,i){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,h=o[u];h&&In.postRender(()=>h(n,V1(n)))}let Ej=class extends sm{mount(){const{current:n}=this.node;n&&(this.unmount=zN(n,(i,o)=>(ZM(this.node,o,"Start"),u=>ZM(this.node,u,"End"))))}unmount(){}},Cj=class extends sm{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=_1(N1(this.node.current,"focus",()=>this.onFocus()),N1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function QM(t,n,i){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),h=o[u];h&&In.postRender(()=>h(n,V1(n)))}let Dj=class extends sm{mount(){const{current:n}=this.node;n&&(this.unmount=LN(n,(i,o)=>(QM(this.node,o,"Start"),(u,{success:h})=>QM(this.node,u,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};const cw=new WeakMap,fw=new WeakMap,Mj=t=>{const n=cw.get(t.target);n&&n(t)},Oj=t=>{t.forEach(Mj)};function Rj({root:t,...n}){const i=t||document;fw.has(i)||fw.set(i,{});const o=fw.get(i),u=JSON.stringify(n);return o[u]||(o[u]=new IntersectionObserver(Oj,{root:t,...n})),o[u]}function _j(t,n,i){const o=Rj(n);return cw.set(t,i),o.observe(t),()=>{cw.delete(t),o.unobserve(t)}}const zj={some:0,all:1};let Nj=class extends sm{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:u="some",once:h}=n,g={root:i?i.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:zj[u]},v=S=>{const{isIntersecting:A}=S;if(this.isInView===A||(this.isInView=A,h&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:w,onViewportLeave:C}=this.node.getProps(),M=A?w:C;M&&M(S)};return _j(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(Vj(n,i))&&this.startObserver()}unmount(){}};function Vj({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const Uj={inView:{Feature:Nj},tap:{Feature:Dj},focus:{Feature:Cj},hover:{Feature:Ej}},Lj={layout:{ProjectionNode:XM,MeasureLayout:vM}},dw={current:null},KM={current:!1};function jj(){if(KM.current=!0,!!iA)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>dw.current=t.matches;t.addListener(n),n()}else dw.current=!1}const Bj=[...T6,Dr,rm],$j=t=>Bj.find(S6(t)),Hj=new WeakMap;var kj={};function Pj(t,n,i){for(const o in n){const u=n[o],h=i[o];if(Cr(u))t.addValue(o,u),kj.NODE_ENV==="development"&&bx(u.version==="12.6.2",`Attempting to mix Motion versions ${u.version} with 12.6.2 may not work as expected.`);else if(Cr(h))t.addValue(o,T1(u,{owner:t}));else if(h!==u)if(t.hasValue(o)){const g=t.getValue(o);g.liveStyle===!0?g.jump(u):g.hasAnimated||g.set(u)}else{const g=t.getStaticValue(o);t.addValue(o,T1(g!==void 0?g:u,{owner:t}))}}for(const o in i)n[o]===void 0&&t.removeValue(o);return n}var Yj={};const IM=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let qj=class{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:h,visualState:g},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=FA,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 R=Sc.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,In.render(this.render,!1,!0))};const{latestValues:S,renderState:A,onUpdate:w}=g;this.onUpdate=w,this.latestValues=S,this.baseTarget={...S},this.initialValues=i.initial?{...S}:{},this.renderState=A,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=u,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=Cx(i),this.isVariantNode=CD(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:C,...M}=this.scrapeMotionValuesFromProps(i,{},this);for(const R in M){const V=M[R];S[R]!==void 0&&Cr(V)&&V.set(S[R],!1)}}mount(n){this.current=n,Hj.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),KM.current||jj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dw.current,Yj.NODE_ENV!=="production"&&bx(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),am(this.notifyUpdate),am(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=l0.has(n);o&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",v=>{this.latestValues[n]=v,this.props.onUpdate&&In.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);let g;window.MotionCheckAppearSync&&(g=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{u(),h(),g&&g(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in dy){const i=dy[n];if(!i)continue;const{isEnabled:o,Feature:u}=i;if(!this.features[n]&&u&&o(this.props)&&(this.features[n]=new u(this)),this.features[n]){const h=this.features[n];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qa()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<IM.length;o++){const u=IM[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const h="on"+u,g=n[h];g&&(this.propEventSubscriptions[u]=this.on(u,g))}this.prevMotionValues=Pj(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=T1(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){var o;let u=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(o=this.getBaseTargetFromProps(this.props,n))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,n,this.options);return u!=null&&(typeof u=="string"&&(b6(u)||a6(u))?u=parseFloat(u):!$j(u)&&rm.test(i)&&(u=f6(n,i)),this.setBaseTarget(n,Cr(u)?u.get():u)),Cr(u)?u.get():u}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var i;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const g=RA(this.props,o,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);g&&(u=g[n])}if(o&&u!==void 0)return u;const h=this.getBaseTargetFromProps(this.props,n);return h!==void 0&&!Cr(h)?h:this.initialValues[n]!==void 0&&u===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new uA),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}},WM=class extends qj{constructor(){super(...arguments),this.KeyframeResolver=w6}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Cr(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}};function Gj(t){return window.getComputedStyle(t)}let Fj=class extends WM{constructor(){super(...arguments),this.type="html",this.renderInstance=PD}readValueFromInstance(n,i){if(l0.has(i))return nU(n,i);{const o=Gj(n),u=(TA(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return sM(n,i)}build(n,i,o){EA(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return zA(n,i,o)}},Xj=class extends WM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qa,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&kD(this.current,this.renderState)}}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(l0.has(i)){const o=c6(i);return o&&o.default||0}return i=YD.has(i)?i:SA(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return GD(n,i,o)}onBindTransform(){this.current&&!this.renderState.dimensions&&In.postRender(this.updateDimensions)}build(n,i,o){MA(n,i,this.isSVGTag,o.transformTemplate)}renderInstance(n,i,o,u){qD(n,i,o,u)}mount(n){this.isSVGTag=OA(n.tagName),super.mount(n)}};const Zj=(t,n)=>DA(t)?new Xj(n):new Fj(n,{allowProjection:t!==J.Fragment}),Qj=OV({...pL,...Uj,...wj,...Lj},Zj),JM=GN(Qj),Kj=500,hw=({id:t,content:n,type:i="info",duration:o=0,onClose:u})=>{const[h,g]=J.useState(!0);let v=eA,S,A,w;switch(i){case"success":S="text-green-500",A="bg-green-50",w="border-green-500",v=lN;break;case"error":S="text-red-500",A="bg-red-50",w="border-red-500",v=mN;break;case"warning":S="text-yellow-500",A="bg-yellow-50",w="border-yellow-500",v=sN;break;case"loading":S="text-gray-500",A="bg-gray-50",w="border-gray-500",v=eA;break;case"info":default:S="text-blue-500",A="bg-blue-50",w="border-blue-500",v=eA}J.useEffect(()=>{if(o===0)return;const M=setTimeout(()=>{g(!1)},o);return()=>clearTimeout(M)},[o]),J.useEffect(()=>{if(!h){const M=setTimeout(u,Kj);return()=>clearTimeout(M)}},[h,u]);const C={initial:{opacity:0,y:50,scale:.9},animate:{opacity:1,y:0,scale:1,transition:{duration:.3,type:"spring",stiffness:300,damping:20}},exit:{opacity:0,y:20,scale:.95,transition:{duration:.2,ease:"easeOut"}}};return Y.jsx(sD,{onExitComplete:u,children:h&&Y.jsx(JM.div,{id:t,className:`toast w-[320px] rounded-xl border-[1.5px] p-8 shadow-md ${A} ${w}`,initial:"initial",animate:"animate",exit:"exit",variants:C,layout:!0,children:Y.jsxs("div",{className:"flex justify-between items-center p-3",children:[Y.jsxs("div",{className:"flex items-center gap-6",children:[Y.jsx(Pn,{icon:v,className:`w-20 h-20 min-h-20 min-w-20 ${S}`}),Y.jsx("span",{className:"text-gray-800 font-medium text-base",children:n})]}),Y.jsx("button",{onClick:()=>g(!1),className:"text-gray-500 transition-all hover:text-gray-700 flex items-center",children:Y.jsx(Pn,{icon:hN,className:"w-20 h-20 min-h-20 min-w-20"})})]})})})},eO=({promise:t,messages:n,options:i,onClose:o})=>{const[u,h]=J.useState("loading"),[g,v]=J.useState(n.loading);return J.useEffect(()=>{t.then(()=>{console.log("promise resolved"),h("success"),v(n.success)}).catch(()=>{console.log("promise rejected"),h("error"),v(n.error)}).finally(()=>{console.log("promise finally"),setTimeout(()=>{o()},(i==null?void 0:i.duration)||3e3)})},[t]),Y.jsx(hw,{content:g,type:u,duration:i.duration,onClose:o})};/*!
|
|
622
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
623
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
624
|
+
* Copyright 2024 Fonticons, Inc.
|
|
625
|
+
*/const Ij={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},Wj={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},Jj={prefix:"fas",iconName:"x",icon:[384,512,[120],"58","M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"]},tO=6048e5,eB=864e5,nO=Symbol.for("constructDateFrom");function so(t,n){return typeof t=="function"?t(n):t&&typeof t=="object"&&nO in t?t[nO](n):t instanceof Date?new t.constructor(n):new Date(n)}function ji(t,n){return so(n||t,t)}function aO(t,n,i){const o=ji(t,i==null?void 0:i.in);if(isNaN(n))return so(t,NaN);if(!n)return o;const u=o.getDate(),h=so(t,o.getTime());h.setMonth(o.getMonth()+n+1,0);const g=h.getDate();return u>=g?h:(o.setFullYear(h.getFullYear(),h.getMonth(),u),o)}let tB={};function $1(){return tB}function Sy(t,n){var v,S,A,w;const i=$1(),o=(n==null?void 0:n.weekStartsOn)??((S=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:S.weekStartsOn)??i.weekStartsOn??((w=(A=i.locale)==null?void 0:A.options)==null?void 0:w.weekStartsOn)??0,u=ji(t,n==null?void 0:n.in),h=u.getDay(),g=(h<o?7:0)+h-o;return u.setDate(u.getDate()-g),u.setHours(0,0,0,0),u}function Ux(t,n){return Sy(t,{...n,weekStartsOn:1})}function iO(t,n){const i=ji(t,n==null?void 0:n.in),o=i.getFullYear(),u=so(i,0);u.setFullYear(o+1,0,4),u.setHours(0,0,0,0);const h=Ux(u),g=so(i,0);g.setFullYear(o,0,4),g.setHours(0,0,0,0);const v=Ux(g);return i.getTime()>=h.getTime()?o+1:i.getTime()>=v.getTime()?o:o-1}function rO(t){const n=ji(t),i=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return i.setUTCFullYear(n.getFullYear()),+t-+i}function Lx(t,...n){const i=so.bind(null,n.find(o=>typeof o=="object"));return n.map(i)}function jx(t,n){const i=ji(t,n==null?void 0:n.in);return i.setHours(0,0,0,0),i}function nB(t,n,i){const[o,u]=Lx(i==null?void 0:i.in,t,n),h=jx(o),g=jx(u),v=+h-rO(h),S=+g-rO(g);return Math.round((v-S)/eB)}function aB(t,n){const i=iO(t,n),o=so(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),Ux(o)}function iB(t){return so(t,Date.now())}function sO(t,n,i){const[o,u]=Lx(i==null?void 0:i.in,t,n);return+jx(o)==+jx(u)}function rB(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function sB(t){return!(!rB(t)&&typeof t!="number"||isNaN(+ji(t)))}function oB(t,n){const i=ji(t,n==null?void 0:n.in),o=i.getMonth();return i.setFullYear(i.getFullYear(),o+1,0),i.setHours(23,59,59,999),i}function lB(t,n){const[i,o]=Lx(t,n.start,n.end);return{start:i,end:o}}function uB(t,n){const{start:i,end:o}=lB(n==null?void 0:n.in,t);let u=+i>+o;const h=u?+i:+o,g=u?o:i;g.setHours(0,0,0,0);let v=1;const S=[];for(;+g<=h;)S.push(so(i,g)),g.setDate(g.getDate()+v),g.setHours(0,0,0,0);return u?S.reverse():S}function cB(t,n){const i=ji(t,n==null?void 0:n.in);return i.setDate(1),i.setHours(0,0,0,0),i}function fB(t,n){const i=ji(t,n==null?void 0:n.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}function dB(t,n){var v,S;const i=$1(),o=i.weekStartsOn??((S=(v=i.locale)==null?void 0:v.options)==null?void 0:S.weekStartsOn)??0,u=ji(t,n==null?void 0:n.in),h=u.getDay(),g=(h<o?-7:0)+6-(h-o);return u.setDate(u.getDate()+g),u.setHours(23,59,59,999),u}const hB={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mB=(t,n,i)=>{let o;const u=hB[t];return typeof u=="string"?o=u:n===1?o=u.one:o=u.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o};function Ty(t){return(n={})=>{const i=n.width?String(n.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const pB={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gB={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},yB={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vB={date:Ty({formats:pB,defaultWidth:"full"}),time:Ty({formats:gB,defaultWidth:"full"}),dateTime:Ty({formats:yB,defaultWidth:"full"})},bB={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xB=(t,n,i,o)=>bB[t];function Ac(t){return(n,i)=>{const o=i!=null&&i.context?String(i.context):"standalone";let u;if(o==="formatting"&&t.formattingValues){const g=t.defaultFormattingWidth||t.defaultWidth,v=i!=null&&i.width?String(i.width):g;u=t.formattingValues[v]||t.formattingValues[g]}else{const g=t.defaultWidth,v=i!=null&&i.width?String(i.width):t.defaultWidth;u=t.values[v]||t.values[g]}const h=t.argumentCallback?t.argumentCallback(n):n;return u[h]}}const SB={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},TB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},AB={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},wB={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},EB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},CB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},DB={ordinalNumber:(t,n)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Ac({values:SB,defaultWidth:"wide"}),quarter:Ac({values:TB,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ac({values:AB,defaultWidth:"wide"}),day:Ac({values:wB,defaultWidth:"wide"}),dayPeriod:Ac({values:EB,defaultWidth:"wide",formattingValues:CB,defaultFormattingWidth:"wide"})};function wc(t){return(n,i={})=>{const o=i.width,u=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],h=n.match(u);if(!h)return null;const g=h[0],v=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],S=Array.isArray(v)?OB(v,C=>C.test(g)):MB(v,C=>C.test(g));let A;A=t.valueCallback?t.valueCallback(S):S,A=i.valueCallback?i.valueCallback(A):A;const w=n.slice(g.length);return{value:A,rest:w}}}function MB(t,n){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n(t[i]))return i}function OB(t,n){for(let i=0;i<t.length;i++)if(n(t[i]))return i}function oO(t){return(n,i={})=>{const o=n.match(t.matchPattern);if(!o)return null;const u=o[0],h=n.match(t.parsePattern);if(!h)return null;let g=t.valueCallback?t.valueCallback(h[0]):h[0];g=i.valueCallback?i.valueCallback(g):g;const v=n.slice(u.length);return{value:g,rest:v}}}const RB=/^(\d+)(th|st|nd|rd)?/i,_B=/\d+/i,zB={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},NB={any:[/^b/i,/^(a|c)/i]},VB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},UB={any:[/1/i,/2/i,/3/i,/4/i]},LB={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},jB={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},BB={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$B={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},HB={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},kB={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},PB={ordinalNumber:oO({matchPattern:RB,parsePattern:_B,valueCallback:t=>parseInt(t,10)}),era:wc({matchPatterns:zB,defaultMatchWidth:"wide",parsePatterns:NB,defaultParseWidth:"any"}),quarter:wc({matchPatterns:VB,defaultMatchWidth:"wide",parsePatterns:UB,defaultParseWidth:"any",valueCallback:t=>t+1}),month:wc({matchPatterns:LB,defaultMatchWidth:"wide",parsePatterns:jB,defaultParseWidth:"any"}),day:wc({matchPatterns:BB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:HB,defaultMatchWidth:"any",parsePatterns:kB,defaultParseWidth:"any"})},lO={code:"en-US",formatDistance:mB,formatLong:vB,formatRelative:xB,localize:DB,match:PB,options:{weekStartsOn:0,firstWeekContainsDate:1}};function YB(t,n){const i=ji(t,n==null?void 0:n.in);return nB(i,fB(i))+1}function qB(t,n){const i=ji(t,n==null?void 0:n.in),o=+Ux(i)-+aB(i);return Math.round(o/tO)+1}function uO(t,n){var w,C,M,R;const i=ji(t,n==null?void 0:n.in),o=i.getFullYear(),u=$1(),h=(n==null?void 0:n.firstWeekContainsDate)??((C=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:C.firstWeekContainsDate)??u.firstWeekContainsDate??((R=(M=u.locale)==null?void 0:M.options)==null?void 0:R.firstWeekContainsDate)??1,g=so((n==null?void 0:n.in)||t,0);g.setFullYear(o+1,0,h),g.setHours(0,0,0,0);const v=Sy(g,n),S=so((n==null?void 0:n.in)||t,0);S.setFullYear(o,0,h),S.setHours(0,0,0,0);const A=Sy(S,n);return+i>=+v?o+1:+i>=+A?o:o-1}function GB(t,n){var v,S,A,w;const i=$1(),o=(n==null?void 0:n.firstWeekContainsDate)??((S=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:S.firstWeekContainsDate)??i.firstWeekContainsDate??((w=(A=i.locale)==null?void 0:A.options)==null?void 0:w.firstWeekContainsDate)??1,u=uO(t,n),h=so((n==null?void 0:n.in)||t,0);return h.setFullYear(u,0,o),h.setHours(0,0,0,0),Sy(h,n)}function FB(t,n){const i=ji(t,n==null?void 0:n.in),o=+Sy(i,n)-+GB(i,n);return Math.round(o/tO)+1}function Bn(t,n){const i=t<0?"-":"",o=Math.abs(t).toString().padStart(n,"0");return i+o}const om={y(t,n){const i=t.getFullYear(),o=i>0?i:1-i;return Bn(n==="yy"?o%100:o,n.length)},M(t,n){const i=t.getMonth();return n==="M"?String(i+1):Bn(i+1,2)},d(t,n){return Bn(t.getDate(),n.length)},a(t,n){const i=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(t,n){return Bn(t.getHours()%12||12,n.length)},H(t,n){return Bn(t.getHours(),n.length)},m(t,n){return Bn(t.getMinutes(),n.length)},s(t,n){return Bn(t.getSeconds(),n.length)},S(t,n){const i=n.length,o=t.getMilliseconds(),u=Math.trunc(o*Math.pow(10,i-3));return Bn(u,n.length)}},Ay={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},cO={G:function(t,n,i){const o=t.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});case"GGGG":default:return i.era(o,{width:"wide"})}},y:function(t,n,i){if(n==="yo"){const o=t.getFullYear(),u=o>0?o:1-o;return i.ordinalNumber(u,{unit:"year"})}return om.y(t,n)},Y:function(t,n,i,o){const u=uO(t,o),h=u>0?u:1-u;if(n==="YY"){const g=h%100;return Bn(g,2)}return n==="Yo"?i.ordinalNumber(h,{unit:"year"}):Bn(h,n.length)},R:function(t,n){const i=iO(t);return Bn(i,n.length)},u:function(t,n){const i=t.getFullYear();return Bn(i,n.length)},Q:function(t,n,i){const o=Math.ceil((t.getMonth()+1)/3);switch(n){case"Q":return String(o);case"QQ":return Bn(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,n,i){const o=Math.ceil((t.getMonth()+1)/3);switch(n){case"q":return String(o);case"qq":return Bn(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,n,i){const o=t.getMonth();switch(n){case"M":case"MM":return om.M(t,n);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,n,i){const o=t.getMonth();switch(n){case"L":return String(o+1);case"LL":return Bn(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,n,i,o){const u=FB(t,o);return n==="wo"?i.ordinalNumber(u,{unit:"week"}):Bn(u,n.length)},I:function(t,n,i){const o=qB(t);return n==="Io"?i.ordinalNumber(o,{unit:"week"}):Bn(o,n.length)},d:function(t,n,i){return n==="do"?i.ordinalNumber(t.getDate(),{unit:"date"}):om.d(t,n)},D:function(t,n,i){const o=YB(t);return n==="Do"?i.ordinalNumber(o,{unit:"dayOfYear"}):Bn(o,n.length)},E:function(t,n,i){const o=t.getDay();switch(n){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});case"EEEE":default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,n,i,o){const u=t.getDay(),h=(u-o.weekStartsOn+8)%7||7;switch(n){case"e":return String(h);case"ee":return Bn(h,2);case"eo":return i.ordinalNumber(h,{unit:"day"});case"eee":return i.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(u,{width:"short",context:"formatting"});case"eeee":default:return i.day(u,{width:"wide",context:"formatting"})}},c:function(t,n,i,o){const u=t.getDay(),h=(u-o.weekStartsOn+8)%7||7;switch(n){case"c":return String(h);case"cc":return Bn(h,n.length);case"co":return i.ordinalNumber(h,{unit:"day"});case"ccc":return i.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(u,{width:"narrow",context:"standalone"});case"cccccc":return i.day(u,{width:"short",context:"standalone"});case"cccc":default:return i.day(u,{width:"wide",context:"standalone"})}},i:function(t,n,i){const o=t.getDay(),u=o===0?7:o;switch(n){case"i":return String(u);case"ii":return Bn(u,n.length);case"io":return i.ordinalNumber(u,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});case"iiii":default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,n,i){const u=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,n,i){const o=t.getHours();let u;switch(o===12?u=Ay.noon:o===0?u=Ay.midnight:u=o/12>=1?"pm":"am",n){case"b":case"bb":return i.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,n,i){const o=t.getHours();let u;switch(o>=17?u=Ay.evening:o>=12?u=Ay.afternoon:o>=4?u=Ay.morning:u=Ay.night,n){case"B":case"BB":case"BBB":return i.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,n,i){if(n==="ho"){let o=t.getHours()%12;return o===0&&(o=12),i.ordinalNumber(o,{unit:"hour"})}return om.h(t,n)},H:function(t,n,i){return n==="Ho"?i.ordinalNumber(t.getHours(),{unit:"hour"}):om.H(t,n)},K:function(t,n,i){const o=t.getHours()%12;return n==="Ko"?i.ordinalNumber(o,{unit:"hour"}):Bn(o,n.length)},k:function(t,n,i){let o=t.getHours();return o===0&&(o=24),n==="ko"?i.ordinalNumber(o,{unit:"hour"}):Bn(o,n.length)},m:function(t,n,i){return n==="mo"?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):om.m(t,n)},s:function(t,n,i){return n==="so"?i.ordinalNumber(t.getSeconds(),{unit:"second"}):om.s(t,n)},S:function(t,n){return om.S(t,n)},X:function(t,n,i){const o=t.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return dO(o);case"XXXX":case"XX":return m0(o);case"XXXXX":case"XXX":default:return m0(o,":")}},x:function(t,n,i){const o=t.getTimezoneOffset();switch(n){case"x":return dO(o);case"xxxx":case"xx":return m0(o);case"xxxxx":case"xxx":default:return m0(o,":")}},O:function(t,n,i){const o=t.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+fO(o,":");case"OOOO":default:return"GMT"+m0(o,":")}},z:function(t,n,i){const o=t.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+fO(o,":");case"zzzz":default:return"GMT"+m0(o,":")}},t:function(t,n,i){const o=Math.trunc(+t/1e3);return Bn(o,n.length)},T:function(t,n,i){return Bn(+t,n.length)}};function fO(t,n=""){const i=t>0?"-":"+",o=Math.abs(t),u=Math.trunc(o/60),h=o%60;return h===0?i+String(u):i+String(u)+n+Bn(h,2)}function dO(t,n){return t%60===0?(t>0?"-":"+")+Bn(Math.abs(t)/60,2):m0(t,n)}function m0(t,n=""){const i=t>0?"-":"+",o=Math.abs(t),u=Bn(Math.trunc(o/60),2),h=Bn(o%60,2);return i+u+n+h}const hO=(t,n)=>{switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},mO=(t,n)=>{switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},XB={p:mO,P:(t,n)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return hO(t,n);let h;switch(o){case"P":h=n.dateTime({width:"short"});break;case"PP":h=n.dateTime({width:"medium"});break;case"PPP":h=n.dateTime({width:"long"});break;case"PPPP":default:h=n.dateTime({width:"full"});break}return h.replace("{{date}}",hO(o,n)).replace("{{time}}",mO(u,n))}},ZB=/^D+$/,QB=/^Y+$/,KB=["D","DD","YY","YYYY"];function IB(t){return ZB.test(t)}function WB(t){return QB.test(t)}function JB(t,n,i){const o=e$(t,n,i);if(console.warn(o),KB.includes(t))throw new RangeError(o)}function e$(t,n,i){const o=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${n}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const t$=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,n$=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,a$=/^'([^]*?)'?$/,i$=/''/g,r$=/[a-zA-Z]/;function Bx(t,n,i){var w,C,M,R,V,L,P,U;const o=$1(),u=(i==null?void 0:i.locale)??o.locale??lO,h=(i==null?void 0:i.firstWeekContainsDate)??((C=(w=i==null?void 0:i.locale)==null?void 0:w.options)==null?void 0:C.firstWeekContainsDate)??o.firstWeekContainsDate??((R=(M=o.locale)==null?void 0:M.options)==null?void 0:R.firstWeekContainsDate)??1,g=(i==null?void 0:i.weekStartsOn)??((L=(V=i==null?void 0:i.locale)==null?void 0:V.options)==null?void 0:L.weekStartsOn)??o.weekStartsOn??((U=(P=o.locale)==null?void 0:P.options)==null?void 0:U.weekStartsOn)??0,v=ji(t,i==null?void 0:i.in);if(!sB(v))throw new RangeError("Invalid time value");let S=n.match(n$).map(q=>{const F=q[0];if(F==="p"||F==="P"){const ae=XB[F];return ae(q,u.formatLong)}return q}).join("").match(t$).map(q=>{if(q==="''")return{isToken:!1,value:"'"};const F=q[0];if(F==="'")return{isToken:!1,value:s$(q)};if(cO[F])return{isToken:!0,value:q};if(F.match(r$))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");return{isToken:!1,value:q}});u.localize.preprocessor&&(S=u.localize.preprocessor(v,S));const A={firstWeekContainsDate:h,weekStartsOn:g,locale:u};return S.map(q=>{if(!q.isToken)return q.value;const F=q.value;(!(i!=null&&i.useAdditionalWeekYearTokens)&&WB(F)||!(i!=null&&i.useAdditionalDayOfYearTokens)&&IB(F))&&JB(F,n,String(t));const ae=cO[F[0]];return ae(v,F,u.localize,A)}).join("")}function s$(t){const n=t.match(a$);return n?n[1].replace(i$,"'"):t}function o$(t,n,i){const[o,u]=Lx(i==null?void 0:i.in,t,n);return o.getFullYear()===u.getFullYear()&&o.getMonth()===u.getMonth()}function l$(t,n){return sO(so(t,t),iB(t))}function pO(t,n,i){const o=ji(t,i==null?void 0:i.in);return o.setHours(n),o}function gO(t,n,i){const o=ji(t,i==null?void 0:i.in);return o.setMinutes(n),o}function yO(t,n,i){const o=ji(t,i==null?void 0:i.in);return o.setSeconds(n),o}function u$(t,n,i){return aO(t,-1,i)}const c$={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},f$=(t,n,i)=>{let o;const u=c$[t];return typeof u=="string"?o=u:n===1?o=u.one:o=u.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"en "+o:"hace "+o:o},d$={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},h$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},m$={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p$={date:Ty({formats:d$,defaultWidth:"full"}),time:Ty({formats:h$,defaultWidth:"full"}),dateTime:Ty({formats:m$,defaultWidth:"full"})},g$={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},y$={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},v$=(t,n,i,o)=>n.getHours()!==1?y$[t]:g$[t],b$={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},x$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},S$={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},T$={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},A$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},w$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},E$={ordinalNumber:(t,n)=>Number(t)+"º",era:Ac({values:b$,defaultWidth:"wide"}),quarter:Ac({values:x$,defaultWidth:"wide",argumentCallback:t=>Number(t)-1}),month:Ac({values:S$,defaultWidth:"wide"}),day:Ac({values:T$,defaultWidth:"wide"}),dayPeriod:Ac({values:A$,defaultWidth:"wide",formattingValues:w$,defaultFormattingWidth:"wide"})},C$=/^(\d+)(º)?/i,D$=/\d+/i,M$={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},O$={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},R$={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},_$={any:[/1/i,/2/i,/3/i,/4/i]},z$={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},N$={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},V$={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},U$={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},L$={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},j$={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},B$={ordinalNumber:oO({matchPattern:C$,parsePattern:D$,valueCallback:function(t){return parseInt(t,10)}}),era:wc({matchPatterns:M$,defaultMatchWidth:"wide",parsePatterns:O$,defaultParseWidth:"any"}),quarter:wc({matchPatterns:R$,defaultMatchWidth:"wide",parsePatterns:_$,defaultParseWidth:"any",valueCallback:t=>t+1}),month:wc({matchPatterns:z$,defaultMatchWidth:"wide",parsePatterns:N$,defaultParseWidth:"any"}),day:wc({matchPatterns:V$,defaultMatchWidth:"wide",parsePatterns:U$,defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:L$,defaultMatchWidth:"any",parsePatterns:j$,defaultParseWidth:"any"})},$$={code:"es",formatDistance:f$,formatLong:p$,formatRelative:v$,localize:E$,match:B$,options:{weekStartsOn:1,firstWeekContainsDate:1}},vO=t=>t&&t.charAt(0).toUpperCase()+t.slice(1),mw=t=>{if(!t)return"#9CA1B6";let n=0,i;for(i=0;i<t.length;i+=1)n=t.charCodeAt(i)+((n<<5)-n);let o="#";for(i=0;i<3;i+=1){const u=n>>i*8&255;o+=`00${u.toString(16)}`.slice(-2)}return o},bO=(t,n="PPPP",i="es")=>{const o=typeof t=="string"?new Date(t):t;return vO(Bx(o,n,{locale:{en:lO,es:$$}[i]}))};var xO={};const H$=xO.NEXT_PUBLIC_FILE_STORAGE,k$=xO.NEXT_PUBLIC_FILE_STORAGE_SASTOKEN;function SO(t){return H$+t+k$}const P$=t=>window.open(SO(t),"_blank"),Y$=t=>new Promise((n,i)=>{const o=new FileReader;o.readAsDataURL(t),o.onload=()=>n(o.result),o.onerror=u=>i(u)});function TO(t,n){if(t<0)throw new Error("El valor en bytes no puede ser negativo");const o={b:{divisor:1,label:"B"},kb:{divisor:1024,label:"KB"},mb:{divisor:1024*1024,label:"MB"},gb:{divisor:1024*1024*1024,label:"GB"},tb:{divisor:1024*1024*1024*1024,label:"TB"},pb:{divisor:1024*1024*1024*1024*1024,label:"PB"}}[n];if(!o)throw new Error(`Unidad de medida '${n}' no reconocida`);return`${(t/o.divisor).toFixed(2).replace(/\.?0+$/,"")} ${o.label}`}const AO=t=>t;var H1={exports:{}};/**
|
|
626
|
+
* @license
|
|
627
|
+
* Lodash <https://lodash.com/>
|
|
628
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
629
|
+
* Released under MIT license <https://lodash.com/license>
|
|
630
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
631
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
632
|
+
*/var q$=H1.exports,wO;function G$(){return wO||(wO=1,function(t,n){(function(){var i,o="4.17.21",u=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",v="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",A=500,w="__lodash_placeholder__",C=1,M=2,R=4,V=1,L=2,P=1,U=2,q=4,F=8,ae=16,H=32,le=64,be=128,de=256,Ue=512,De=30,$e="...",ke=800,We=16,et=1,Ge=2,re=3,W=1/0,ce=9007199254740991,Ae=17976931348623157e292,Be=NaN,X=4294967295,xe=X-1,Me=X>>>1,Ye=[["ary",be],["bind",P],["bindKey",U],["curry",F],["curryRight",ae],["flip",Ue],["partial",H],["partialRight",le],["rearg",de]],ze="[object Arguments]",qe="[object Array]",Pe="[object AsyncFunction]",ot="[object Boolean]",Je="[object Date]",Tt="[object DOMException]",pt="[object Error]",zn="[object Function]",Ze="[object GeneratorFunction]",dn="[object Map]",Rr="[object Number]",vm="[object Null]",Yn="[object Object]",fd="[object Promise]",zc="[object Proxy]",Nc="[object RegExp]",bi="[object Set]",Vc="[object String]",Su="[object Symbol]",dd="[object Undefined]",hd="[object WeakMap]",Uc="[object WeakSet]",La="[object ArrayBuffer]",xi="[object DataView]",li="[object Float32Array]",bm="[object Float64Array]",md="[object Int8Array]",xm="[object Int16Array]",Lc="[object Int32Array]",ul="[object Uint8Array]",Bi="[object Uint8ClampedArray]",_r="[object Uint16Array]",ns="[object Uint32Array]",jc=/\b__p \+= '';/g,Da=/\b(__p \+=) '' \+/g,cl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,fo=/&(?:amp|lt|gt|quot|#39);/g,as=/[&<>"']/g,C0=RegExp(fo.source),D0=RegExp(as.source),pd=/<%-([\s\S]+?)%>/g,Bc=/<%([\s\S]+?)%>/g,zr=/<%=([\s\S]+?)%>/g,M0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hb=/^\w*$/,fl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yn=/[\\^$.*+?()[\]{}|]/g,ui=RegExp(yn.source),ho=/^\s+/,O0=/\s/,Gy=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fy=/\{\n\/\* \[wrapped with (.+)\] \*/,gd=/,? & /,yd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,at=/[()=,{}\[\]\/\s]/,dl=/\\(\\)?/g,Ia=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Tu=/\w*$/,$c=/^[-+]0x[0-9a-f]+$/i,oa=/^0b[01]+$/i,R0=/^\[object .+?Constructor\]$/,vd=/^0o[0-7]+$/i,ja=/^(?:0|[1-9]\d*)$/,Au=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hc=/($^)/,_0=/['\n\r\u2028\u2029\\]/g,wu="\\ud800-\\udfff",Xy="\\u0300-\\u036f",bd="\\ufe20-\\ufe2f",mo="\\u20d0-\\u20ff",is=Xy+bd+mo,xd="\\u2700-\\u27bf",Sm="a-z\\xdf-\\xf6\\xf8-\\xff",Eu="\\xac\\xb1\\xd7\\xf7",Tm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Si="\\u2000-\\u206f",kc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",po="A-Z\\xc0-\\xd6\\xd8-\\xde",$i="\\ufe0e\\ufe0f",Cu=Eu+Tm+Si+kc,Pc="['’]",Yc="["+wu+"]",Du="["+Cu+"]",Nr="["+is+"]",Am="\\d+",Vr="["+xd+"]",wm="["+Sm+"]",Em="[^"+wu+Cu+Am+xd+Sm+po+"]",Mu="\\ud83c[\\udffb-\\udfff]",hl="(?:"+Nr+"|"+Mu+")",Cm="[^"+wu+"]",Sd="(?:\\ud83c[\\udde6-\\uddff]){2}",go="[\\ud800-\\udbff][\\udc00-\\udfff]",qc="["+po+"]",Dm="\\u200d",Td="(?:"+wm+"|"+Em+")",Gc="(?:"+qc+"|"+Em+")",Fc="(?:"+Pc+"(?:d|ll|m|re|s|t|ve))?",Zy="(?:"+Pc+"(?:D|LL|M|RE|S|T|VE))?",Xc=hl+"?",Ad="["+$i+"]?",Ou="(?:"+Dm+"(?:"+[Cm,Sd,go].join("|")+")"+Ad+Xc+")*",Ru="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zc="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",z0=Ad+Xc+Ou,N0="(?:"+[Vr,Sd,go].join("|")+")"+z0,Qy="(?:"+[Cm+Nr+"?",Nr,Sd,go,Yc].join("|")+")",yo=RegExp(Pc,"g"),rs=RegExp(Nr,"g"),Qc=RegExp(Mu+"(?="+Mu+")|"+Qy+z0,"g"),Kc=RegExp([qc+"?"+wm+"+"+Fc+"(?="+[Du,qc,"$"].join("|")+")",Gc+"+"+Zy+"(?="+[Du,qc+Td,"$"].join("|")+")",qc+"?"+Td+"+"+Fc,qc+"+"+Zy,Zc,Ru,Am,N0].join("|"),"g"),Ur=RegExp("["+Dm+wu+is+$i+"]"),Mm=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_u=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wd=-1,vn={};vn[li]=vn[bm]=vn[md]=vn[xm]=vn[Lc]=vn[ul]=vn[Bi]=vn[_r]=vn[ns]=!0,vn[ze]=vn[qe]=vn[La]=vn[ot]=vn[xi]=vn[Je]=vn[pt]=vn[zn]=vn[dn]=vn[Rr]=vn[Yn]=vn[Nc]=vn[bi]=vn[Vc]=vn[hd]=!1;var Mt={};Mt[ze]=Mt[qe]=Mt[La]=Mt[xi]=Mt[ot]=Mt[Je]=Mt[li]=Mt[bm]=Mt[md]=Mt[xm]=Mt[Lc]=Mt[dn]=Mt[Rr]=Mt[Yn]=Mt[Nc]=Mt[bi]=Mt[Vc]=Mt[Su]=Mt[ul]=Mt[Bi]=Mt[_r]=Mt[ns]=!0,Mt[pt]=Mt[zn]=Mt[hd]=!1;var Ky={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ci={"&":"&","<":"<",">":">",'"':""","'":"'"},ml={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ed={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cd=parseFloat,mb=parseInt,Dd=typeof tx=="object"&&tx&&tx.Object===Object&&tx,V0=typeof self=="object"&&self&&self.Object===Object&&self,Jn=Dd||V0||Function("return this")(),Ic=n&&!n.nodeType&&n,ss=Ic&&!0&&t&&!t.nodeType&&t,U0=ss&&ss.exports===Ic,Om=U0&&Dd.process,fr=function(){try{var ie=ss&&ss.require&&ss.require("util").types;return ie||Om&&Om.binding&&Om.binding("util")}catch{}}(),Rm=fr&&fr.isArrayBuffer,Iy=fr&&fr.isDate,Wy=fr&&fr.isMap,Jy=fr&&fr.isRegExp,ev=fr&&fr.isSet,Wc=fr&&fr.isTypedArray;function Ti(ie,we,ve){switch(ve.length){case 0:return ie.call(we);case 1:return ie.call(we,ve[0]);case 2:return ie.call(we,ve[0],ve[1]);case 3:return ie.call(we,ve[0],ve[1],ve[2])}return ie.apply(we,ve)}function tv(ie,we,ve,Qe){for(var gt=-1,It=ie==null?0:ie.length;++gt<It;){var bn=ie[gt];we(Qe,bn,ve(bn),ie)}return Qe}function dr(ie,we){for(var ve=-1,Qe=ie==null?0:ie.length;++ve<Qe&&we(ie[ve],ve,ie)!==!1;);return ie}function nv(ie,we){for(var ve=ie==null?0:ie.length;ve--&&we(ie[ve],ve,ie)!==!1;);return ie}function _m(ie,we){for(var ve=-1,Qe=ie==null?0:ie.length;++ve<Qe;)if(!we(ie[ve],ve,ie))return!1;return!0}function os(ie,we){for(var ve=-1,Qe=ie==null?0:ie.length,gt=0,It=[];++ve<Qe;){var bn=ie[ve];we(bn,ve,ie)&&(It[gt++]=bn)}return It}function Vs(ie,we){var ve=ie==null?0:ie.length;return!!ve&&zu(ie,we,0)>-1}function vo(ie,we,ve){for(var Qe=-1,gt=ie==null?0:ie.length;++Qe<gt;)if(ve(we,ie[Qe]))return!0;return!1}function Kt(ie,we){for(var ve=-1,Qe=ie==null?0:ie.length,gt=Array(Qe);++ve<Qe;)gt[ve]=we(ie[ve],ve,ie);return gt}function la(ie,we){for(var ve=-1,Qe=we.length,gt=ie.length;++ve<Qe;)ie[gt+ve]=we[ve];return ie}function Jc(ie,we,ve,Qe){var gt=-1,It=ie==null?0:ie.length;for(Qe&&It&&(ve=ie[++gt]);++gt<It;)ve=we(ve,ie[gt],gt,ie);return ve}function zm(ie,we,ve,Qe){var gt=ie==null?0:ie.length;for(Qe&>&&(ve=ie[--gt]);gt--;)ve=we(ve,ie[gt],gt,ie);return ve}function Md(ie,we){for(var ve=-1,Qe=ie==null?0:ie.length;++ve<Qe;)if(we(ie[ve],ve,ie))return!0;return!1}var Hi=tf("length");function av(ie){return ie.split("")}function Nm(ie){return ie.match(yd)||[]}function pl(ie,we,ve){var Qe;return ve(ie,function(gt,It,bn){if(we(gt,It,bn))return Qe=It,!1}),Qe}function ef(ie,we,ve,Qe){for(var gt=ie.length,It=ve+(Qe?1:-1);Qe?It--:++It<gt;)if(we(ie[It],It,ie))return It;return-1}function zu(ie,we,ve){return we===we?H0(ie,we,ve):ef(ie,gl,ve)}function Vm(ie,we,ve,Qe){for(var gt=ve-1,It=ie.length;++gt<It;)if(Qe(ie[gt],we))return gt;return-1}function gl(ie){return ie!==ie}function iv(ie,we){var ve=ie==null?0:ie.length;return ve?Nu(ie,we)/ve:Be}function tf(ie){return function(we){return we==null?i:we[ie]}}function Lr(ie){return function(we){return ie==null?i:ie[we]}}function Um(ie,we,ve,Qe,gt){return gt(ie,function(It,bn,Ot){ve=Qe?(Qe=!1,It):we(ve,It,bn,Ot)}),ve}function Lm(ie,we){var ve=ie.length;for(ie.sort(we);ve--;)ie[ve]=ie[ve].value;return ie}function Nu(ie,we){for(var ve,Qe=-1,gt=ie.length;++Qe<gt;){var It=we(ie[Qe]);It!==i&&(ve=ve===i?It:ve+It)}return ve}function ki(ie,we){for(var ve=-1,Qe=Array(ie);++ve<ie;)Qe[ve]=we(ve);return Qe}function L0(ie,we){return Kt(we,function(ve){return[ve,ie[ve]]})}function jm(ie){return ie&&ie.slice(0,xo(ie)+1).replace(ho,"")}function Ma(ie){return function(we){return ie(we)}}function Od(ie,we){return Kt(we,function(ve){return ie[ve]})}function yl(ie,we){return ie.has(we)}function vl(ie,we){for(var ve=-1,Qe=ie.length;++ve<Qe&&zu(we,ie[ve],0)>-1;);return ve}function jr(ie,we){for(var ve=ie.length;ve--&&zu(we,ie[ve],0)>-1;);return ve}function Vu(ie,we){for(var ve=ie.length,Qe=0;ve--;)ie[ve]===we&&++Qe;return Qe}var nf=Lr(Ky),bl=Lr(ci);function j0(ie){return"\\"+Ed[ie]}function Bm(ie,we){return ie==null?i:ie[we]}function Br(ie){return Ur.test(ie)}function af(ie){return Mm.test(ie)}function B0(ie){for(var we,ve=[];!(we=ie.next()).done;)ve.push(we.value);return ve}function xl(ie){var we=-1,ve=Array(ie.size);return ie.forEach(function(Qe,gt){ve[++we]=[gt,Qe]}),ve}function $0(ie,we){return function(ve){return ie(we(ve))}}function ls(ie,we){for(var ve=-1,Qe=ie.length,gt=0,It=[];++ve<Qe;){var bn=ie[ve];(bn===we||bn===w)&&(ie[ve]=w,It[gt++]=ve)}return It}function us(ie){var we=-1,ve=Array(ie.size);return ie.forEach(function(Qe){ve[++we]=Qe}),ve}function bo(ie){var we=-1,ve=Array(ie.size);return ie.forEach(function(Qe){ve[++we]=[Qe,Qe]}),ve}function H0(ie,we,ve){for(var Qe=ve-1,gt=ie.length;++Qe<gt;)if(ie[Qe]===we)return Qe;return-1}function Ai(ie,we,ve){for(var Qe=ve+1;Qe--;)if(ie[Qe]===we)return Qe;return Qe}function Pi(ie){return Br(ie)?Rd(ie):Hi(ie)}function wi(ie){return Br(ie)?$m(ie):av(ie)}function xo(ie){for(var we=ie.length;we--&&O0.test(ie.charAt(we)););return we}var $n=Lr(ml);function Rd(ie){for(var we=Qc.lastIndex=0;Qc.test(ie);)++we;return we}function $m(ie){return ie.match(Qc)||[]}function k0(ie){return ie.match(Kc)||[]}var $r=function ie(we){we=we==null?Jn:Hr.defaults(Jn.Object(),we,Hr.pick(Jn,_u));var ve=we.Array,Qe=we.Date,gt=we.Error,It=we.Function,bn=we.Math,Ot=we.Object,Uu=we.RegExp,rv=we.String,Yi=we.TypeError,Hm=ve.prototype,P0=It.prototype,So=Ot.prototype,rf=we["__core-js_shared__"],sf=P0.toString,an=So.hasOwnProperty,qi=0,km=function(){var f=/[^.]+$/.exec(rf&&rf.keys&&rf.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),fi=So.toString,hr=sf.call(Ot),Sl=Jn._,_d=Uu("^"+sf.call(an).replace(yn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gi=U0?we.Buffer:i,Ba=we.Symbol,Us=we.Uint8Array,Ls=Gi?Gi.allocUnsafe:i,To=$0(Ot.getPrototypeOf,Ot),Ao=Ot.create,Tl=So.propertyIsEnumerable,Pm=Hm.splice,Ei=Ba?Ba.isConcatSpreadable:i,Al=Ba?Ba.iterator:i,Wa=Ba?Ba.toStringTag:i,Lu=function(){try{var f=jo(Ot,"defineProperty");return f({},"",{}),f}catch{}}(),Vt=we.clearTimeout!==Jn.clearTimeout&&we.clearTimeout,je=Qe&&Qe.now!==Jn.Date.now&&Qe.now,wl=we.setTimeout!==Jn.setTimeout&&we.setTimeout,wo=bn.ceil,xn=bn.floor,js=Ot.getOwnPropertySymbols,of=Gi?Gi.isBuffer:i,lf=we.isFinite,Fi=Hm.join,kr=$0(Ot.keys,Ot),Dn=bn.max,Nn=bn.min,cs=Qe.now,pa=we.parseInt,ln=bn.random,zd=Hm.reverse,Eo=jo(we,"DataView"),Vn=jo(we,"Map"),hn=jo(we,"Promise"),At=jo(we,"Set"),mr=jo(we,"WeakMap"),Oa=jo(Ot,"create"),El=mr&&new mr,di={},Ym=Gs(Eo),Nd=Gs(Vn),uf=Gs(hn),cf=Gs(At),Y0=Gs(mr),Co=Ba?Ba.prototype:i,Cl=Co?Co.valueOf:i,Bs=Co?Co.toString:i;function B(f){if(pn(f)&&!ft(f)&&!(f instanceof Ht)){if(f instanceof Di)return f;if(an.call(f,"__wrapped__"))return fa(f)}return new Di(f)}var Ci=function(){function f(){}return function(m){if(!on(m))return{};if(Ao)return Ao(m);f.prototype=m;var T=new f;return f.prototype=i,T}}();function pr(){}function Di(f,m){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=i}B.templateSettings={escape:pd,evaluate:Bc,interpolate:zr,variable:"",imports:{_:B}},B.prototype=pr.prototype,B.prototype.constructor=B,Di.prototype=Ci(pr.prototype),Di.prototype.constructor=Di;function Ht(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function Vd(){var f=new Ht(this.__wrapped__);return f.__actions__=Mn(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=Mn(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=Mn(this.__views__),f}function Ud(){if(this.__filtered__){var f=new Ht(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function Dl(){var f=this.__wrapped__.value(),m=this.__dir__,T=ft(f),O=m<0,N=T?f.length:0,k=cv(0,N,this.__views__),Z=k.start,ee=k.end,oe=ee-Z,_e=O?ee:Z-1,Le=this.__iteratees__,Ve=Le.length,Ke=0,nt=Nn(oe,this.__takeCount__);if(!T||!O&&N==oe&&nt==oe)return lv(f,this.__actions__);var vt=[];e:for(;oe--&&Ke<nt;){_e+=m;for(var zt=-1,bt=f[_e];++zt<Ve;){var jt=Le[zt],Zt=jt.iteratee,Ir=jt.type,rr=Zt(bt);if(Ir==Ge)bt=rr;else if(!rr){if(Ir==et)continue e;break e}}vt[Ke++]=bt}return vt}Ht.prototype=Ci(pr.prototype),Ht.prototype.constructor=Ht;function Xn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var O=f[m];this.set(O[0],O[1])}}function ff(){this.__data__=Oa?Oa(null):{},this.size=0}function q0(f){var m=this.has(f)&&delete this.__data__[f];return this.size-=m?1:0,m}function sv(f){var m=this.__data__;if(Oa){var T=m[f];return T===S?i:T}return an.call(m,f)?m[f]:i}function df(f){var m=this.__data__;return Oa?m[f]!==i:an.call(m,f)}function qm(f,m){var T=this.__data__;return this.size+=this.has(f)?0:1,T[f]=Oa&&m===i?S:m,this}Xn.prototype.clear=ff,Xn.prototype.delete=q0,Xn.prototype.get=sv,Xn.prototype.has=df,Xn.prototype.set=qm;function Tn(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var O=f[m];this.set(O[0],O[1])}}function G0(){this.__data__=[],this.size=0}function Ml(f){var m=this.__data__,T=Bu(m,f);if(T<0)return!1;var O=m.length-1;return T==O?m.pop():Pm.call(m,T,1),--this.size,!0}function $s(f){var m=this.__data__,T=Bu(m,f);return T<0?i:m[T][1]}function hf(f){return Bu(this.__data__,f)>-1}function Ol(f,m){var T=this.__data__,O=Bu(T,f);return O<0?(++this.size,T.push([f,m])):T[O][1]=m,this}Tn.prototype.clear=G0,Tn.prototype.delete=Ml,Tn.prototype.get=$s,Tn.prototype.has=hf,Tn.prototype.set=Ol;function ga(f){var m=-1,T=f==null?0:f.length;for(this.clear();++m<T;){var O=f[m];this.set(O[0],O[1])}}function Xi(){this.size=0,this.__data__={hash:new Xn,map:new(Vn||Tn),string:new Xn}}function Ld(f){var m=Zu(this,f).delete(f);return this.size-=m?1:0,m}function F0(f){return Zu(this,f).get(f)}function X0(f){return Zu(this,f).has(f)}function Do(f,m){var T=Zu(this,f),O=T.size;return T.set(f,m),this.size+=T.size==O?0:1,this}ga.prototype.clear=Xi,ga.prototype.delete=Ld,ga.prototype.get=F0,ga.prototype.has=X0,ga.prototype.set=Do;function Pr(f){var m=-1,T=f==null?0:f.length;for(this.__data__=new ga;++m<T;)this.add(f[m])}function mf(f){return this.__data__.set(f,S),this}function jd(f){return this.__data__.has(f)}Pr.prototype.add=Pr.prototype.push=mf,Pr.prototype.has=jd;function Ja(f){var m=this.__data__=new Tn(f);this.size=m.size}function Bd(){this.__data__=new Tn,this.size=0}function pf(f){var m=this.__data__,T=m.delete(f);return this.size=m.size,T}function Gm(f){return this.__data__.get(f)}function Z0(f){return this.__data__.has(f)}function gf(f,m){var T=this.__data__;if(T instanceof Tn){var O=T.__data__;if(!Vn||O.length<u-1)return O.push([f,m]),this.size=++T.size,this;T=this.__data__=new ga(O)}return T.set(f,m),this.size=T.size,this}Ja.prototype.clear=Bd,Ja.prototype.delete=pf,Ja.prototype.get=Gm,Ja.prototype.has=Z0,Ja.prototype.set=gf;function Fm(f,m){var T=ft(f),O=!T&&Ss(f),N=!T&&!O&&ba(f),k=!T&&!O&&!N&&au(f),Z=T||O||N||k,ee=Z?ki(f.length,rv):[],oe=ee.length;for(var _e in f)(m||an.call(f,_e))&&!(Z&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||k&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Gr(_e,oe)))&&ee.push(_e);return ee}function ju(f){var m=f.length;return m?f[Zd(0,m-1)]:i}function Xm(f,m){return dh(Mn(f),ds(m,0,f.length))}function Q0(f){return dh(Mn(f))}function fs(f,m,T){(T!==i&&!ii(f[m],T)||T===i&&!(m in f))&&gr(f,m,T)}function Mo(f,m,T){var O=f[m];(!(an.call(f,m)&&ii(O,T))||T===i&&!(m in f))&&gr(f,m,T)}function Bu(f,m){for(var T=f.length;T--;)if(ii(f[T][0],m))return T;return-1}function Oo(f,m,T,O){return ks(f,function(N,k,Z){m(O,N,T(N),Z)}),O}function Mi(f,m){return f&&_i(m,Sa(m),f)}function $u(f,m){return f&&_i(m,Va(m),f)}function gr(f,m,T){m=="__proto__"&&Lu?Lu(f,m,{configurable:!0,enumerable:!0,value:T,writable:!0}):f[m]=T}function $d(f,m){for(var T=-1,O=m.length,N=ve(O),k=f==null;++T<O;)N[T]=k?i:zh(f,m[T]);return N}function ds(f,m,T){return f===f&&(T!==i&&(f=f<=T?f:T),m!==i&&(f=f>=m?f:m)),f}function ei(f,m,T,O,N,k){var Z,ee=m&C,oe=m&M,_e=m&R;if(T&&(Z=N?T(f,O,N,k):T(f)),Z!==i)return Z;if(!on(f))return f;var Le=ft(f);if(Le){if(Z=ug(f),!ee)return Mn(f,Z)}else{var Ve=Pa(f),Ke=Ve==zn||Ve==Ze;if(ba(f))return Wd(f,ee);if(Ve==Yn||Ve==ze||Ke&&!N){if(Z=oe||Ke?{}:Hl(f),!ee)return oe?nh(f,$u(Z,f)):th(f,Mi(Z,f))}else{if(!Mt[Ve])return N?f:{};Z=Rf(f,Ve,ee)}}k||(k=new Ja);var nt=k.get(f);if(nt)return nt;k.set(f,Z),Np(f)?f.forEach(function(bt){Z.add(ei(bt,m,T,bt,f,k))}):nu(f)&&f.forEach(function(bt,jt){Z.set(jt,ei(bt,m,T,jt,f,k))});var vt=_e?oe?fp:ih:oe?Va:Sa,zt=Le?i:vt(f);return dr(zt||f,function(bt,jt){zt&&(jt=bt,bt=f[jt]),Mo(Z,jt,ei(bt,m,T,jt,f,k))}),Z}function yf(f){var m=Sa(f);return function(T){return Hd(T,f,m)}}function Hd(f,m,T){var O=T.length;if(f==null)return!O;for(f=Ot(f);O--;){var N=T[O],k=m[N],Z=f[N];if(Z===i&&!(N in f)||!k(Z))return!1}return!0}function Hs(f,m,T){if(typeof f!="function")throw new Yi(g);return Nf(function(){f.apply(i,T)},m)}function Ro(f,m,T,O){var N=-1,k=Vs,Z=!0,ee=f.length,oe=[],_e=m.length;if(!ee)return oe;T&&(m=Kt(m,Ma(T))),O?(k=vo,Z=!1):m.length>=u&&(k=yl,Z=!1,m=new Pr(m));e:for(;++N<ee;){var Le=f[N],Ve=T==null?Le:T(Le);if(Le=O||Le!==0?Le:0,Z&&Ve===Ve){for(var Ke=_e;Ke--;)if(m[Ke]===Ve)continue e;oe.push(Le)}else k(m,Ve,O)||oe.push(Le)}return oe}var ks=up(Zn),ya=up(Hu,!0);function vf(f,m){var T=!0;return ks(f,function(O,N,k){return T=!!m(O,N,k),T}),T}function Zi(f,m,T){for(var O=-1,N=f.length;++O<N;){var k=f[O],Z=m(k);if(Z!=null&&(ee===i?Z===Z&&!Ni(Z):T(Z,ee)))var ee=Z,oe=k}return oe}function Ct(f,m,T,O){var N=f.length;for(T=lt(T),T<0&&(T=-T>N?0:N+T),O=O===i||O>N?N:lt(O),O<0&&(O+=N),O=T>O?0:Qs(O);T<O;)f[T++]=m;return f}function rn(f,m){var T=[];return ks(f,function(O,N,k){m(O,N,k)&&T.push(O)}),T}function kt(f,m,T,O,N){var k=-1,Z=f.length;for(T||(T=gs),N||(N=[]);++k<Z;){var ee=f[k];m>0&&T(ee)?m>1?kt(ee,m-1,T,O,N):la(N,ee):O||(N[N.length]=ee)}return N}var _o=_a(),Rl=_a(!0);function Zn(f,m){return f&&_o(f,m,Sa)}function Hu(f,m){return f&&Rl(f,m,Sa)}function Oi(f,m){return os(m,function(T){return Ts(f[T])})}function va(f,m){m=Ha(m,f);for(var T=0,O=m.length;f!=null&&T<O;)f=f[un(m[T++])];return T&&T==O?f:i}function kd(f,m,T){var O=m(f);return ft(f)?O:la(O,T(f))}function Ft(f){return f==null?f===i?dd:vm:Wa&&Wa in Ot(f)?dp(f):dv(f)}function ku(f,m){return f>m}function Zm(f,m){return f!=null&&an.call(f,m)}function K0(f,m){return f!=null&&m in Ot(f)}function _l(f,m,T){return f>=Nn(m,T)&&f<Dn(m,T)}function Qm(f,m,T){for(var O=T?vo:Vs,N=f[0].length,k=f.length,Z=k,ee=ve(k),oe=1/0,_e=[];Z--;){var Le=f[Z];Z&&m&&(Le=Kt(Le,Ma(m))),oe=Nn(Le.length,oe),ee[Z]=!T&&(m||N>=120&&Le.length>=120)?new Pr(Z&&Le):i}Le=f[0];var Ve=-1,Ke=ee[0];e:for(;++Ve<N&&_e.length<oe;){var nt=Le[Ve],vt=m?m(nt):nt;if(nt=T||nt!==0?nt:0,!(Ke?yl(Ke,vt):O(_e,vt,T))){for(Z=k;--Z;){var zt=ee[Z];if(!(zt?yl(zt,vt):O(f[Z],vt,T)))continue e}Ke&&Ke.push(vt),_e.push(nt)}}return _e}function Km(f,m,T,O){return Zn(f,function(N,k,Z){m(O,T(N),k,Z)}),O}function zl(f,m,T){m=Ha(m,f),f=Ku(f,m);var O=f==null?f:f[un(Dt(m))];return O==null?i:Ti(O,f,T)}function Pu(f){return pn(f)&&Ft(f)==ze}function Ri(f){return pn(f)&&Ft(f)==La}function ea(f){return pn(f)&&Ft(f)==Je}function zo(f,m,T,O,N){return f===m?!0:f==null||m==null||!pn(f)&&!pn(m)?f!==f&&m!==m:Yu(f,m,T,O,zo,N)}function Yu(f,m,T,O,N,k){var Z=ft(f),ee=ft(m),oe=Z?qe:Pa(f),_e=ee?qe:Pa(m);oe=oe==ze?Yn:oe,_e=_e==ze?Yn:_e;var Le=oe==Yn,Ve=_e==Yn,Ke=oe==_e;if(Ke&&ba(f)){if(!ba(m))return!1;Z=!0,Le=!1}if(Ke&&!Le)return k||(k=new Ja),Z||au(f)?Ii(f,m,T,O,N,k):lg(f,m,oe,T,O,N,k);if(!(T&V)){var nt=Le&&an.call(f,"__wrapped__"),vt=Ve&&an.call(m,"__wrapped__");if(nt||vt){var zt=nt?f.value():f,bt=vt?m.value():m;return k||(k=new Ja),N(zt,bt,T,O,k)}}return Ke?(k||(k=new Ja),Yt(f,m,T,O,N,k)):!1}function Im(f){return pn(f)&&Pa(f)==dn}function ua(f,m,T,O){var N=T.length,k=N,Z=!O;if(f==null)return!k;for(f=Ot(f);N--;){var ee=T[N];if(Z&&ee[2]?ee[1]!==f[ee[0]]:!(ee[0]in f))return!1}for(;++N<k;){ee=T[N];var oe=ee[0],_e=f[oe],Le=ee[1];if(Z&&ee[2]){if(_e===i&&!(oe in f))return!1}else{var Ve=new Ja;if(O)var Ke=O(_e,Le,oe,f,m,Ve);if(!(Ke===i?zo(Le,_e,V|L,O,Ve):Ke))return!1}}return!0}function hs(f){if(!on(f)||kl(f))return!1;var m=Ts(f)?_d:R0;return m.test(Gs(f))}function Pd(f){return pn(f)&&Ft(f)==Nc}function Wm(f){return pn(f)&&Pa(f)==bi}function Jm(f){return pn(f)&&Qo(f.length)&&!!vn[Ft(f)]}function ep(f){return typeof f=="function"?f:f==null?he:typeof f=="object"?ft(f)?bf(f[0],f[1]):ap(f):tn(f)}function qu(f){if(!An(f))return kr(f);var m=[];for(var T in Ot(f))an.call(f,T)&&T!="constructor"&&m.push(T);return m}function tp(f){if(!on(f))return Pl(f);var m=An(f),T=[];for(var O in f)O=="constructor"&&(m||!an.call(f,O))||T.push(O);return T}function Yd(f,m){return f<m}function np(f,m){var T=-1,O=da(f)?ve(f.length):[];return ks(f,function(N,k,Z){O[++T]=m(N,k,Z)}),O}function ap(f){var m=rh(f);return m.length==1&&m[0][2]?mp(m[0][0],m[0][1]):function(T){return T===f||ua(T,f,m)}}function bf(f,m){return oh(f)&&Sn(m)?mp(un(f),m):function(T){var O=zh(T,f);return O===i&&O===m?lc(T,f):zo(m,O,V|L)}}function Gu(f,m,T,O,N){f!==m&&_o(m,function(k,Z){if(N||(N=new Ja),on(k))I0(f,m,Z,T,Gu,O,N);else{var ee=O?O(ch(f,Z),k,Z+"",f,m,N):i;ee===i&&(ee=k),fs(f,Z,ee)}},Va)}function I0(f,m,T,O,N,k,Z){var ee=ch(f,T),oe=ch(m,T),_e=Z.get(oe);if(_e){fs(f,T,_e);return}var Le=k?k(ee,oe,T+"",f,m,Z):i,Ve=Le===i;if(Ve){var Ke=ft(oe),nt=!Ke&&ba(oe),vt=!Ke&&!nt&&au(oe);Le=oe,Ke||nt||vt?ft(ee)?Le=ee:Gn(ee)?Le=Mn(ee):nt?(Ve=!1,Le=Wd(oe,!0)):vt?(Ve=!1,Le=tg(oe,!0)):Le=[]:ha(oe)||Ss(oe)?(Le=ee,Ss(ee)?Le=Oh(ee):(!on(ee)||Ts(ee))&&(Le=Hl(oe))):Ve=!1}Ve&&(Z.set(oe,Le),N(Le,oe,O,k,Z),Z.delete(oe)),fs(f,T,Le)}function ip(f,m){var T=f.length;if(T)return m+=m<0?T:0,Gr(m,T)?f[m]:i}function qd(f,m,T){m.length?m=Kt(m,function(k){return ft(k)?function(Z){return va(Z,k.length===1?k[0]:k)}:k}):m=[he];var O=-1;m=Kt(m,Ma(st()));var N=np(f,function(k,Z,ee){var oe=Kt(m,function(_e){return _e(k)});return{criteria:oe,index:++O,value:k}});return Lm(N,function(k,Z){return uv(k,Z,T)})}function Gd(f,m){return xf(f,m,function(T,O){return lc(f,O)})}function xf(f,m,T){for(var O=-1,N=m.length,k={};++O<N;){var Z=m[O],ee=va(f,Z);T(ee,Z)&&Fu(k,Ha(Z,f),ee)}return k}function W0(f){return function(m){return va(m,f)}}function Fd(f,m,T,O){var N=O?Vm:zu,k=-1,Z=m.length,ee=f;for(f===m&&(m=Mn(m)),T&&(ee=Kt(f,Ma(T)));++k<Z;)for(var oe=0,_e=m[k],Le=T?T(_e):_e;(oe=N(ee,Le,oe,O))>-1;)ee!==f&&Pm.call(ee,oe,1),Pm.call(f,oe,1);return f}function Xd(f,m){for(var T=f?m.length:0,O=T-1;T--;){var N=m[T];if(T==O||N!==k){var k=N;Gr(N)?Pm.call(f,N,1):Af(f,N)}}return f}function Zd(f,m){return f+xn(ln()*(m-f+1))}function Ps(f,m,T,O){for(var N=-1,k=Dn(wo((m-f)/(T||1)),0),Z=ve(k);k--;)Z[O?k:++N]=f,f+=T;return Z}function Qd(f,m){var T="";if(!f||m<1||m>ce)return T;do m%2&&(T+=f),m=xn(m/2),m&&(f+=f);while(m);return T}function Lt(f,m){return fh(uh(f,m,he),f+"")}function Nl(f){return ju(cc(f))}function Yr(f,m){var T=cc(f);return dh(T,ds(m,0,T.length))}function Fu(f,m,T,O){if(!on(f))return f;m=Ha(m,f);for(var N=-1,k=m.length,Z=k-1,ee=f;ee!=null&&++N<k;){var oe=un(m[N]),_e=T;if(oe==="__proto__"||oe==="constructor"||oe==="prototype")return f;if(N!=Z){var Le=ee[oe];_e=O?O(Le,oe,ee):i,_e===i&&(_e=on(Le)?Le:Gr(m[N+1])?[]:{})}Mo(ee,oe,_e),ee=ee[oe]}return f}var Vl=El?function(f,m){return El.set(f,m),f}:he,No=Lu?function(f,m){return Lu(f,"toString",{configurable:!0,enumerable:!1,value:ue(m),writable:!0})}:he;function Hn(f){return dh(cc(f))}function yr(f,m,T){var O=-1,N=f.length;m<0&&(m=-m>N?0:N+m),T=T>N?N:T,T<0&&(T+=N),N=m>T?0:T-m>>>0,m>>>=0;for(var k=ve(N);++O<N;)k[O]=f[O+m];return k}function ov(f,m){var T;return ks(f,function(O,N,k){return T=m(O,N,k),!T}),!!T}function Sf(f,m,T){var O=0,N=f==null?O:f.length;if(typeof m=="number"&&m===m&&N<=Me){for(;O<N;){var k=O+N>>>1,Z=f[k];Z!==null&&!Ni(Z)&&(T?Z<=m:Z<m)?O=k+1:N=k}return N}return vr(f,m,he,T)}function vr(f,m,T,O){var N=0,k=f==null?0:f.length;if(k===0)return 0;m=T(m);for(var Z=m!==m,ee=m===null,oe=Ni(m),_e=m===i;N<k;){var Le=xn((N+k)/2),Ve=T(f[Le]),Ke=Ve!==i,nt=Ve===null,vt=Ve===Ve,zt=Ni(Ve);if(Z)var bt=O||vt;else _e?bt=vt&&(O||Ke):ee?bt=vt&&Ke&&(O||!nt):oe?bt=vt&&Ke&&!nt&&(O||!zt):nt||zt?bt=!1:bt=O?Ve<=m:Ve<m;bt?N=Le+1:k=Le}return Nn(k,xe)}function rp(f,m){for(var T=-1,O=f.length,N=0,k=[];++T<O;){var Z=f[T],ee=m?m(Z):Z;if(!T||!ii(ee,oe)){var oe=ee;k[N++]=Z===0?0:Z}}return k}function Tf(f){return typeof f=="number"?f:Ni(f)?Be:+f}function $a(f){if(typeof f=="string")return f;if(ft(f))return Kt(f,$a)+"";if(Ni(f))return Bs?Bs.call(f):"";var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function Qi(f,m,T){var O=-1,N=Vs,k=f.length,Z=!0,ee=[],oe=ee;if(T)Z=!1,N=vo;else if(k>=u){var _e=m?null:rg(f);if(_e)return us(_e);Z=!1,N=yl,oe=new Pr}else oe=m?[]:ee;e:for(;++O<k;){var Le=f[O],Ve=m?m(Le):Le;if(Le=T||Le!==0?Le:0,Z&&Ve===Ve){for(var Ke=oe.length;Ke--;)if(oe[Ke]===Ve)continue e;m&&oe.push(Ve),ee.push(Le)}else N(oe,Ve,T)||(oe!==ee&&oe.push(Ve),ee.push(Le))}return ee}function Af(f,m){return m=Ha(m,f),f=Ku(f,m),f==null||delete f[un(Dt(m))]}function Kd(f,m,T,O){return Fu(f,m,T(va(f,m)),O)}function wf(f,m,T,O){for(var N=f.length,k=O?N:-1;(O?k--:++k<N)&&m(f[k],k,f););return T?yr(f,O?0:k,O?k+1:N):yr(f,O?k+1:0,O?N:k)}function lv(f,m){var T=f;return T instanceof Ht&&(T=T.value()),Jc(m,function(O,N){return N.func.apply(N.thisArg,la([O],N.args))},T)}function Id(f,m,T){var O=f.length;if(O<2)return O?Qi(f[0]):[];for(var N=-1,k=ve(O);++N<O;)for(var Z=f[N],ee=-1;++ee<O;)ee!=N&&(k[N]=Ro(k[N]||Z,f[ee],m,T));return Qi(kt(k,1),m,T)}function sp(f,m,T){for(var O=-1,N=f.length,k=m.length,Z={};++O<N;){var ee=O<k?m[O]:i;T(Z,f[O],ee)}return Z}function op(f){return Gn(f)?f:[]}function Vo(f){return typeof f=="function"?f:he}function Ha(f,m){return ft(f)?f:oh(f,m)?[f]:Fr(_t(f))}var J0=Lt;function Ul(f,m,T){var O=f.length;return T=T===i?O:T,!m&&T>=O?f:yr(f,m,T)}var eg=Vt||function(f){return Jn.clearTimeout(f)};function Wd(f,m){if(m)return f.slice();var T=f.length,O=Ls?Ls(T):new f.constructor(T);return f.copy(O),O}function Ll(f){var m=new f.constructor(f.byteLength);return new Us(m).set(new Us(f)),m}function Jd(f,m){var T=m?Ll(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.byteLength)}function Ef(f){var m=new f.constructor(f.source,Tu.exec(f));return m.lastIndex=f.lastIndex,m}function eh(f){return Cl?Ot(Cl.call(f)):{}}function tg(f,m){var T=m?Ll(f.buffer):f.buffer;return new f.constructor(T,f.byteOffset,f.length)}function Cf(f,m){if(f!==m){var T=f!==i,O=f===null,N=f===f,k=Ni(f),Z=m!==i,ee=m===null,oe=m===m,_e=Ni(m);if(!ee&&!_e&&!k&&f>m||k&&Z&&oe&&!ee&&!_e||O&&Z&&oe||!T&&oe||!N)return 1;if(!O&&!k&&!_e&&f<m||_e&&T&&N&&!O&&!k||ee&&T&&N||!Z&&N||!oe)return-1}return 0}function uv(f,m,T){for(var O=-1,N=f.criteria,k=m.criteria,Z=N.length,ee=T.length;++O<Z;){var oe=Cf(N[O],k[O]);if(oe){if(O>=ee)return oe;var _e=T[O];return oe*(_e=="desc"?-1:1)}}return f.index-m.index}function lp(f,m,T,O){for(var N=-1,k=f.length,Z=T.length,ee=-1,oe=m.length,_e=Dn(k-Z,0),Le=ve(oe+_e),Ve=!O;++ee<oe;)Le[ee]=m[ee];for(;++N<Z;)(Ve||N<k)&&(Le[T[N]]=f[N]);for(;_e--;)Le[ee++]=f[N++];return Le}function ng(f,m,T,O){for(var N=-1,k=f.length,Z=-1,ee=T.length,oe=-1,_e=m.length,Le=Dn(k-ee,0),Ve=ve(Le+_e),Ke=!O;++N<Le;)Ve[N]=f[N];for(var nt=N;++oe<_e;)Ve[nt+oe]=m[oe];for(;++Z<ee;)(Ke||N<k)&&(Ve[nt+T[Z]]=f[N++]);return Ve}function Mn(f,m){var T=-1,O=f.length;for(m||(m=ve(O));++T<O;)m[T]=f[T];return m}function _i(f,m,T,O){var N=!T;T||(T={});for(var k=-1,Z=m.length;++k<Z;){var ee=m[k],oe=O?O(T[ee],f[ee],ee,T,f):i;oe===i&&(oe=f[ee]),N?gr(T,ee,oe):Mo(T,ee,oe)}return T}function th(f,m){return _i(f,Qu(f),m)}function nh(f,m){return _i(f,sh(f),m)}function Uo(f,m){return function(T,O){var N=ft(T)?tv:Oo,k=m?m():{};return N(T,f,st(O,2),k)}}function Ra(f){return Lt(function(m,T){var O=-1,N=T.length,k=N>1?T[N-1]:i,Z=N>2?T[2]:i;for(k=f.length>3&&typeof k=="function"?(N--,k):i,Z&&mi(T[0],T[1],Z)&&(k=N<3?i:k,N=1),m=Ot(m);++O<N;){var ee=T[O];ee&&f(m,ee,O,k)}return m})}function up(f,m){return function(T,O){if(T==null)return T;if(!da(T))return f(T,O);for(var N=T.length,k=m?N:-1,Z=Ot(T);(m?k--:++k<N)&&O(Z[k],k,Z)!==!1;);return T}}function _a(f){return function(m,T,O){for(var N=-1,k=Ot(m),Z=O(m),ee=Z.length;ee--;){var oe=Z[f?ee:++N];if(T(k[oe],oe,k)===!1)break}return m}}function ag(f,m,T){var O=m&P,N=ka(f);function k(){var Z=this&&this!==Jn&&this instanceof k?N:f;return Z.apply(O?T:this,arguments)}return k}function ca(f){return function(m){m=_t(m);var T=Br(m)?wi(m):i,O=T?T[0]:m.charAt(0),N=T?Ul(T,1).join(""):m.slice(1);return O[f]()+N}}function hi(f){return function(m){return Jc(x(Kr(m).replace(yo,"")),f,"")}}function ka(f){return function(){var m=arguments;switch(m.length){case 0:return new f;case 1:return new f(m[0]);case 2:return new f(m[0],m[1]);case 3:return new f(m[0],m[1],m[2]);case 4:return new f(m[0],m[1],m[2],m[3]);case 5:return new f(m[0],m[1],m[2],m[3],m[4]);case 6:return new f(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new f(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var T=Ci(f.prototype),O=f.apply(T,m);return on(O)?O:T}}function ig(f,m,T){var O=ka(f);function N(){for(var k=arguments.length,Z=ve(k),ee=k,oe=Lo(N);ee--;)Z[ee]=arguments[ee];var _e=k<3&&Z[0]!==oe&&Z[k-1]!==oe?[]:ls(Z,oe);if(k-=_e.length,k<T)return cp(f,m,qn,N.placeholder,i,Z,_e,i,i,T-k);var Le=this&&this!==Jn&&this instanceof N?O:f;return Ti(Le,this,Z)}return N}function ti(f){return function(m,T,O){var N=Ot(m);if(!da(m)){var k=st(T,3);m=Sa(m),T=function(ee){return k(N[ee],ee,N)}}var Z=f(m,T,O);return Z>-1?N[k?m[Z]:Z]:i}}function qr(f){return Un(function(m){var T=m.length,O=T,N=Di.prototype.thru;for(f&&m.reverse();O--;){var k=m[O];if(typeof k!="function")throw new Yi(g);if(N&&!Z&&qs(k)=="wrapper")var Z=new Di([],!0)}for(O=Z?O:T;++O<T;){k=m[O];var ee=qs(k),oe=ee=="wrapper"?ps(k):i;oe&&lh(oe[0])&&oe[1]==(be|F|H|de)&&!oe[4].length&&oe[9]==1?Z=Z[qs(oe[0])].apply(Z,oe[3]):Z=k.length==1&&lh(k)?Z[ee]():Z.thru(k)}return function(){var _e=arguments,Le=_e[0];if(Z&&_e.length==1&&ft(Le))return Z.plant(Le).value();for(var Ve=0,Ke=T?m[Ve].apply(this,_e):Le;++Ve<T;)Ke=m[Ve].call(this,Ke);return Ke}})}function qn(f,m,T,O,N,k,Z,ee,oe,_e){var Le=m&be,Ve=m&P,Ke=m&U,nt=m&(F|ae),vt=m&Ue,zt=Ke?i:ka(f);function bt(){for(var jt=arguments.length,Zt=ve(jt),Ir=jt;Ir--;)Zt[Ir]=arguments[Ir];if(nt)var rr=Lo(bt),Wr=Vu(Zt,rr);if(O&&(Zt=lp(Zt,O,N,nt)),k&&(Zt=ng(Zt,k,Z,nt)),jt-=Wr,nt&&jt<_e){var Ta=ls(Zt,rr);return cp(f,m,qn,bt.placeholder,T,Zt,Ta,ee,oe,_e-jt)}var el=Ve?T:this,fc=Ke?el[f]:f;return jt=Zt.length,ee?Zt=ys(Zt,ee):vt&&jt>1&&Zt.reverse(),Le&&oe<jt&&(Zt.length=oe),this&&this!==Jn&&this instanceof bt&&(fc=zt||ka(fc)),fc.apply(el,Zt)}return bt}function Ki(f,m){return function(T,O){return Km(T,f,m(O),{})}}function Xu(f,m){return function(T,O){var N;if(T===i&&O===i)return m;if(T!==i&&(N=T),O!==i){if(N===i)return O;typeof T=="string"||typeof O=="string"?(T=$a(T),O=$a(O)):(T=Tf(T),O=Tf(O)),N=f(T,O)}return N}}function Ys(f){return Un(function(m){return m=Kt(m,Ma(st())),Lt(function(T){var O=this;return f(m,function(N){return Ti(N,O,T)})})})}function Df(f,m){m=m===i?" ":$a(m);var T=m.length;if(T<2)return T?Qd(m,f):m;var O=Qd(m,wo(f/Pi(m)));return Br(m)?Ul(wi(O),0,f).join(""):O.slice(0,f)}function Mf(f,m,T,O){var N=m&P,k=ka(f);function Z(){for(var ee=-1,oe=arguments.length,_e=-1,Le=O.length,Ve=ve(Le+oe),Ke=this&&this!==Jn&&this instanceof Z?k:f;++_e<Le;)Ve[_e]=O[_e];for(;oe--;)Ve[_e++]=arguments[++ee];return Ti(Ke,N?T:this,Ve)}return Z}function br(f){return function(m,T,O){return O&&typeof O!="number"&&mi(m,T,O)&&(T=O=i),m=xa(m),T===i?(T=m,m=0):T=xa(T),O=O===i?m<T?1:-1:xa(O),Ps(m,T,O,f)}}function jl(f){return function(m,T){return typeof m=="string"&&typeof T=="string"||(m=Qr(m),T=Qr(T)),f(m,T)}}function cp(f,m,T,O,N,k,Z,ee,oe,_e){var Le=m&F,Ve=Le?Z:i,Ke=Le?i:Z,nt=Le?k:i,vt=Le?i:k;m|=Le?H:le,m&=~(Le?le:H),m&q||(m&=-4);var zt=[f,m,N,nt,Ve,vt,Ke,ee,oe,_e],bt=T.apply(i,zt);return lh(f)&&Yl(bt,zt),bt.placeholder=O,xr(bt,f,m)}function Bl(f){var m=bn[f];return function(T,O){if(T=Qr(T),O=O==null?0:Nn(lt(O),292),O&&lf(T)){var N=(_t(T)+"e").split("e"),k=m(N[0]+"e"+(+N[1]+O));return N=(_t(k)+"e").split("e"),+(N[0]+"e"+(+N[1]-O))}return m(T)}}var rg=At&&1/us(new At([,-0]))[1]==W?function(f){return new At(f)}:Ie;function $l(f){return function(m){var T=Pa(m);return T==dn?xl(m):T==bi?bo(m):L0(m,f(m))}}function ms(f,m,T,O,N,k,Z,ee){var oe=m&U;if(!oe&&typeof f!="function")throw new Yi(g);var _e=O?O.length:0;if(_e||(m&=-97,O=N=i),Z=Z===i?Z:Dn(lt(Z),0),ee=ee===i?ee:lt(ee),_e-=N?N.length:0,m&le){var Le=O,Ve=N;O=N=i}var Ke=oe?i:ps(f),nt=[f,m,T,O,N,Le,Ve,k,Z,ee];if(Ke&&zf(nt,Ke),f=nt[0],m=nt[1],T=nt[2],O=nt[3],N=nt[4],ee=nt[9]=nt[9]===i?oe?0:f.length:Dn(nt[9]-_e,0),!ee&&m&(F|ae)&&(m&=-25),!m||m==P)var vt=ag(f,m,T);else m==F||m==ae?vt=ig(f,m,ee):(m==H||m==(P|H))&&!N.length?vt=Mf(f,m,T,O):vt=qn.apply(i,nt);var zt=Ke?Vl:Yl;return xr(zt(vt,nt),f,m)}function ah(f,m,T,O){return f===i||ii(f,So[T])&&!an.call(O,T)?m:f}function sg(f,m,T,O,N,k){return on(f)&&on(m)&&(k.set(m,f),Gu(f,m,i,sg,k),k.delete(m)),f}function og(f){return ha(f)?i:f}function Ii(f,m,T,O,N,k){var Z=T&V,ee=f.length,oe=m.length;if(ee!=oe&&!(Z&&oe>ee))return!1;var _e=k.get(f),Le=k.get(m);if(_e&&Le)return _e==m&&Le==f;var Ve=-1,Ke=!0,nt=T&L?new Pr:i;for(k.set(f,m),k.set(m,f);++Ve<ee;){var vt=f[Ve],zt=m[Ve];if(O)var bt=Z?O(zt,vt,Ve,m,f,k):O(vt,zt,Ve,f,m,k);if(bt!==i){if(bt)continue;Ke=!1;break}if(nt){if(!Md(m,function(jt,Zt){if(!yl(nt,Zt)&&(vt===jt||N(vt,jt,T,O,k)))return nt.push(Zt)})){Ke=!1;break}}else if(!(vt===zt||N(vt,zt,T,O,k))){Ke=!1;break}}return k.delete(f),k.delete(m),Ke}function lg(f,m,T,O,N,k,Z){switch(T){case xi:if(f.byteLength!=m.byteLength||f.byteOffset!=m.byteOffset)return!1;f=f.buffer,m=m.buffer;case La:return!(f.byteLength!=m.byteLength||!k(new Us(f),new Us(m)));case ot:case Je:case Rr:return ii(+f,+m);case pt:return f.name==m.name&&f.message==m.message;case Nc:case Vc:return f==m+"";case dn:var ee=xl;case bi:var oe=O&V;if(ee||(ee=us),f.size!=m.size&&!oe)return!1;var _e=Z.get(f);if(_e)return _e==m;O|=L,Z.set(f,m);var Le=Ii(ee(f),ee(m),O,N,k,Z);return Z.delete(f),Le;case Su:if(Cl)return Cl.call(f)==Cl.call(m)}return!1}function Yt(f,m,T,O,N,k){var Z=T&V,ee=ih(f),oe=ee.length,_e=ih(m),Le=_e.length;if(oe!=Le&&!Z)return!1;for(var Ve=oe;Ve--;){var Ke=ee[Ve];if(!(Z?Ke in m:an.call(m,Ke)))return!1}var nt=k.get(f),vt=k.get(m);if(nt&&vt)return nt==m&&vt==f;var zt=!0;k.set(f,m),k.set(m,f);for(var bt=Z;++Ve<oe;){Ke=ee[Ve];var jt=f[Ke],Zt=m[Ke];if(O)var Ir=Z?O(Zt,jt,Ke,m,f,k):O(jt,Zt,Ke,f,m,k);if(!(Ir===i?jt===Zt||N(jt,Zt,T,O,k):Ir)){zt=!1;break}bt||(bt=Ke=="constructor")}if(zt&&!bt){var rr=f.constructor,Wr=m.constructor;rr!=Wr&&"constructor"in f&&"constructor"in m&&!(typeof rr=="function"&&rr instanceof rr&&typeof Wr=="function"&&Wr instanceof Wr)&&(zt=!1)}return k.delete(f),k.delete(m),zt}function Un(f){return fh(uh(f,i,ni),f+"")}function ih(f){return kd(f,Sa,Qu)}function fp(f){return kd(f,Va,sh)}var ps=El?function(f){return El.get(f)}:Ie;function qs(f){for(var m=f.name+"",T=di[m],O=an.call(di,m)?T.length:0;O--;){var N=T[O],k=N.func;if(k==null||k==f)return N.name}return m}function Lo(f){var m=an.call(B,"placeholder")?B:f;return m.placeholder}function st(){var f=B.iteratee||mt;return f=f===mt?ep:f,arguments.length?f(arguments[0],arguments[1]):f}function Zu(f,m){var T=f.__data__;return Bo(m)?T[typeof m=="string"?"string":"hash"]:T.map}function rh(f){for(var m=Sa(f),T=m.length;T--;){var O=m[T],N=f[O];m[T]=[O,N,Sn(N)]}return m}function jo(f,m){var T=Bm(f,m);return hs(T)?T:i}function dp(f){var m=an.call(f,Wa),T=f[Wa];try{f[Wa]=i;var O=!0}catch{}var N=fi.call(f);return O&&(m?f[Wa]=T:delete f[Wa]),N}var Qu=js?function(f){return f==null?[]:(f=Ot(f),os(js(f),function(m){return Tl.call(f,m)}))}:Tb,sh=js?function(f){for(var m=[];f;)la(m,Qu(f)),f=To(f);return m}:Tb,Pa=Ft;(Eo&&Pa(new Eo(new ArrayBuffer(1)))!=xi||Vn&&Pa(new Vn)!=dn||hn&&Pa(hn.resolve())!=fd||At&&Pa(new At)!=bi||mr&&Pa(new mr)!=hd)&&(Pa=function(f){var m=Ft(f),T=m==Yn?f.constructor:i,O=T?Gs(T):"";if(O)switch(O){case Ym:return xi;case Nd:return dn;case uf:return fd;case cf:return bi;case Y0:return hd}return m});function cv(f,m,T){for(var O=-1,N=T.length;++O<N;){var k=T[O],Z=k.size;switch(k.type){case"drop":f+=Z;break;case"dropRight":m-=Z;break;case"take":m=Nn(m,f+Z);break;case"takeRight":f=Dn(f,m-Z);break}}return{start:f,end:m}}function hp(f){var m=f.match(Fy);return m?m[1].split(gd):[]}function Of(f,m,T){m=Ha(m,f);for(var O=-1,N=m.length,k=!1;++O<N;){var Z=un(m[O]);if(!(k=f!=null&&T(f,Z)))break;f=f[Z]}return k||++O!=N?k:(N=f==null?0:f.length,!!N&&Qo(N)&&Gr(Z,N)&&(ft(f)||Ss(f)))}function ug(f){var m=f.length,T=new f.constructor(m);return m&&typeof f[0]=="string"&&an.call(f,"index")&&(T.index=f.index,T.input=f.input),T}function Hl(f){return typeof f.constructor=="function"&&!An(f)?Ci(To(f)):{}}function Rf(f,m,T){var O=f.constructor;switch(m){case La:return Ll(f);case ot:case Je:return new O(+f);case xi:return Jd(f,T);case li:case bm:case md:case xm:case Lc:case ul:case Bi:case _r:case ns:return tg(f,T);case dn:return new O;case Rr:case Vc:return new O(f);case Nc:return Ef(f);case bi:return new O;case Su:return eh(f)}}function cg(f,m){var T=m.length;if(!T)return f;var O=T-1;return m[O]=(T>1?"& ":"")+m[O],m=m.join(T>2?", ":" "),f.replace(Gy,`{
|
|
633
|
+
/* [wrapped with `+m+`] */
|
|
634
|
+
`)}function gs(f){return ft(f)||Ss(f)||!!(Ei&&f&&f[Ei])}function Gr(f,m){var T=typeof f;return m=m??ce,!!m&&(T=="number"||T!="symbol"&&ja.test(f))&&f>-1&&f%1==0&&f<m}function mi(f,m,T){if(!on(T))return!1;var O=typeof m;return(O=="number"?da(T)&&Gr(m,T.length):O=="string"&&m in T)?ii(T[m],f):!1}function oh(f,m){if(ft(f))return!1;var T=typeof f;return T=="number"||T=="symbol"||T=="boolean"||f==null||Ni(f)?!0:hb.test(f)||!M0.test(f)||m!=null&&f in Ot(m)}function Bo(f){var m=typeof f;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?f!=="__proto__":f===null}function lh(f){var m=qs(f),T=B[m];if(typeof T!="function"||!(m in Ht.prototype))return!1;if(f===T)return!0;var O=ps(T);return!!O&&f===O[0]}function kl(f){return!!km&&km in f}var _f=rf?Ts:Ab;function An(f){var m=f&&f.constructor,T=typeof m=="function"&&m.prototype||So;return f===T}function Sn(f){return f===f&&!on(f)}function mp(f,m){return function(T){return T==null?!1:T[f]===m&&(m!==i||f in Ot(T))}}function fv(f){var m=Pf(f,function(O){return T.size===A&&T.clear(),O}),T=m.cache;return m}function zf(f,m){var T=f[1],O=m[1],N=T|O,k=N<(P|U|be),Z=O==be&&T==F||O==be&&T==de&&f[7].length<=m[8]||O==(be|de)&&m[7].length<=m[8]&&T==F;if(!(k||Z))return f;O&P&&(f[2]=m[2],N|=T&P?0:q);var ee=m[3];if(ee){var oe=f[3];f[3]=oe?lp(oe,ee,m[4]):ee,f[4]=oe?ls(f[3],w):m[4]}return ee=m[5],ee&&(oe=f[5],f[5]=oe?ng(oe,ee,m[6]):ee,f[6]=oe?ls(f[5],w):m[6]),ee=m[7],ee&&(f[7]=ee),O&be&&(f[8]=f[8]==null?m[8]:Nn(f[8],m[8])),f[9]==null&&(f[9]=m[9]),f[0]=m[0],f[1]=N,f}function Pl(f){var m=[];if(f!=null)for(var T in Ot(f))m.push(T);return m}function dv(f){return fi.call(f)}function uh(f,m,T){return m=Dn(m===i?f.length-1:m,0),function(){for(var O=arguments,N=-1,k=Dn(O.length-m,0),Z=ve(k);++N<k;)Z[N]=O[m+N];N=-1;for(var ee=ve(m+1);++N<m;)ee[N]=O[N];return ee[m]=T(Z),Ti(f,this,ee)}}function Ku(f,m){return m.length<2?f:va(f,yr(m,0,-1))}function ys(f,m){for(var T=f.length,O=Nn(m.length,T),N=Mn(f);O--;){var k=m[O];f[O]=Gr(k,T)?N[k]:i}return f}function ch(f,m){if(!(m==="constructor"&&typeof f[m]=="function")&&m!="__proto__")return f[m]}var Yl=$o(Vl),Nf=wl||function(f,m){return Jn.setTimeout(f,m)},fh=$o(No);function xr(f,m,T){var O=m+"";return fh(f,cg(O,fg(hp(O),T)))}function $o(f){var m=0,T=0;return function(){var O=cs(),N=We-(O-T);if(T=O,N>0){if(++m>=ke)return arguments[0]}else m=0;return f.apply(i,arguments)}}function dh(f,m){var T=-1,O=f.length,N=O-1;for(m=m===i?O:m;++T<m;){var k=Zd(T,N),Z=f[k];f[k]=f[T],f[T]=Z}return f.length=m,f}var Fr=fv(function(f){var m=[];return f.charCodeAt(0)===46&&m.push(""),f.replace(fl,function(T,O,N,k){m.push(N?k.replace(dl,"$1"):O||T)}),m});function un(f){if(typeof f=="string"||Ni(f))return f;var m=f+"";return m=="0"&&1/f==-1/0?"-0":m}function Gs(f){if(f!=null){try{return sf.call(f)}catch{}try{return f+""}catch{}}return""}function fg(f,m){return dr(Ye,function(T){var O="_."+T[0];m&T[1]&&!Vs(f,O)&&f.push(O)}),f.sort()}function fa(f){if(f instanceof Ht)return f.clone();var m=new Di(f.__wrapped__,f.__chain__);return m.__actions__=Mn(f.__actions__),m.__index__=f.__index__,m.__values__=f.__values__,m}function hv(f,m,T){(T?mi(f,m,T):m===i)?m=1:m=Dn(lt(m),0);var O=f==null?0:f.length;if(!O||m<1)return[];for(var N=0,k=0,Z=ve(wo(O/m));N<O;)Z[k++]=yr(f,N,N+=m);return Z}function pp(f){for(var m=-1,T=f==null?0:f.length,O=0,N=[];++m<T;){var k=f[m];k&&(N[O++]=k)}return N}function dg(){var f=arguments.length;if(!f)return[];for(var m=ve(f-1),T=arguments[0],O=f;O--;)m[O-1]=arguments[O];return la(ft(T)?Mn(T):[T],kt(m,1))}var kn=Lt(function(f,m){return Gn(f)?Ro(f,kt(m,1,Gn,!0)):[]}),Wi=Lt(function(f,m){var T=Dt(m);return Gn(T)&&(T=i),Gn(f)?Ro(f,kt(m,1,Gn,!0),st(T,2)):[]}),Xr=Lt(function(f,m){var T=Dt(m);return Gn(T)&&(T=i),Gn(f)?Ro(f,kt(m,1,Gn,!0),i,T):[]});function hg(f,m,T){var O=f==null?0:f.length;return O?(m=T||m===i?1:lt(m),yr(f,m<0?0:m,O)):[]}function qt(f,m,T){var O=f==null?0:f.length;return O?(m=T||m===i?1:lt(m),m=O-m,yr(f,0,m<0?0:m)):[]}function mg(f,m){return f&&f.length?wf(f,st(m,3),!0,!0):[]}function hh(f,m){return f&&f.length?wf(f,st(m,3),!0):[]}function Ji(f,m,T,O){var N=f==null?0:f.length;return N?(T&&typeof T!="number"&&mi(f,m,T)&&(T=0,O=N),Ct(f,m,T,O)):[]}function er(f,m,T){var O=f==null?0:f.length;if(!O)return-1;var N=T==null?0:lt(T);return N<0&&(N=Dn(O+N,0)),ef(f,st(m,3),N)}function Iu(f,m,T){var O=f==null?0:f.length;if(!O)return-1;var N=O-1;return T!==i&&(N=lt(T),N=T<0?Dn(O+N,0):Nn(N,O-1)),ef(f,st(m,3),N,!0)}function ni(f){var m=f==null?0:f.length;return m?kt(f,1):[]}function Wu(f){var m=f==null?0:f.length;return m?kt(f,W):[]}function Ho(f,m){var T=f==null?0:f.length;return T?(m=m===i?1:lt(m),kt(f,m)):[]}function ko(f){for(var m=-1,T=f==null?0:f.length,O={};++m<T;){var N=f[m];O[N[0]]=N[1]}return O}function Ln(f){return f&&f.length?f[0]:i}function pg(f,m,T){var O=f==null?0:f.length;if(!O)return-1;var N=T==null?0:lt(T);return N<0&&(N=Dn(O+N,0)),zu(f,m,N)}function Zr(f){var m=f==null?0:f.length;return m?yr(f,0,-1):[]}var vs=Lt(function(f){var m=Kt(f,op);return m.length&&m[0]===f[0]?Qm(m):[]}),Po=Lt(function(f){var m=Dt(f),T=Kt(f,op);return m===Dt(T)?m=i:T.pop(),T.length&&T[0]===f[0]?Qm(T,st(m,2)):[]}),Ju=Lt(function(f){var m=Dt(f),T=Kt(f,op);return m=typeof m=="function"?m:i,m&&T.pop(),T.length&&T[0]===f[0]?Qm(T,i,m):[]});function ql(f,m){return f==null?"":Fi.call(f,m)}function Dt(f){var m=f==null?0:f.length;return m?f[m-1]:i}function Gl(f,m,T){var O=f==null?0:f.length;if(!O)return-1;var N=O;return T!==i&&(N=lt(T),N=N<0?Dn(O+N,0):Nn(N,O-1)),m===m?Ai(f,m,N):ef(f,gl,N,!0)}function Ya(f,m){return f&&f.length?ip(f,lt(m)):i}var mv=Lt(ec);function ec(f,m){return f&&f.length&&m&&m.length?Fd(f,m):f}function gp(f,m,T){return f&&f.length&&m&&m.length?Fd(f,m,st(T,2)):f}function mh(f,m,T){return f&&f.length&&m&&m.length?Fd(f,m,i,T):f}var Sr=Un(function(f,m){var T=f==null?0:f.length,O=$d(f,m);return Xd(f,Kt(m,function(N){return Gr(N,T)?+N:N}).sort(Cf)),O});function pv(f,m){var T=[];if(!(f&&f.length))return T;var O=-1,N=[],k=f.length;for(m=st(m,3);++O<k;){var Z=f[O];m(Z,O,f)&&(T.push(Z),N.push(O))}return Xd(f,N),T}function ph(f){return f==null?f:zd.call(f)}function mn(f,m,T){var O=f==null?0:f.length;return O?(T&&typeof T!="number"&&mi(f,m,T)?(m=0,T=O):(m=m==null?0:lt(m),T=T===i?O:lt(T)),yr(f,m,T)):[]}function wn(f,m){return Sf(f,m)}function Gt(f,m,T){return vr(f,m,st(T,2))}function Wt(f,m){var T=f==null?0:f.length;if(T){var O=Sf(f,m);if(O<T&&ii(f[O],m))return O}return-1}function sn(f,m){return Sf(f,m,!0)}function tr(f,m,T){return vr(f,m,st(T,2),!0)}function Yo(f,m){var T=f==null?0:f.length;if(T){var O=Sf(f,m,!0)-1;if(ii(f[O],m))return O}return-1}function Fl(f){return f&&f.length?rp(f):[]}function gg(f,m){return f&&f.length?rp(f,st(m,2)):[]}function qo(f){var m=f==null?0:f.length;return m?yr(f,1,m):[]}function ta(f,m,T){return f&&f.length?(m=T||m===i?1:lt(m),yr(f,0,m<0?0:m)):[]}function Xl(f,m,T){var O=f==null?0:f.length;return O?(m=T||m===i?1:lt(m),m=O-m,yr(f,m<0?0:m,O)):[]}function Zl(f,m){return f&&f.length?wf(f,st(m,3),!1,!0):[]}function yg(f,m){return f&&f.length?wf(f,st(m,3)):[]}var za=Lt(function(f){return Qi(kt(f,1,Gn,!0))}),Vf=Lt(function(f){var m=Dt(f);return Gn(m)&&(m=i),Qi(kt(f,1,Gn,!0),st(m,2))}),gh=Lt(function(f){var m=Dt(f);return m=typeof m=="function"?m:i,Qi(kt(f,1,Gn,!0),i,m)});function zi(f){return f&&f.length?Qi(f):[]}function vg(f,m){return f&&f.length?Qi(f,st(m,2)):[]}function bg(f,m){return m=typeof m=="function"?m:i,f&&f.length?Qi(f,i,m):[]}function Uf(f){if(!(f&&f.length))return[];var m=0;return f=os(f,function(T){if(Gn(T))return m=Dn(T.length,m),!0}),ki(m,function(T){return Kt(f,tf(T))})}function yh(f,m){if(!(f&&f.length))return[];var T=Uf(f);return m==null?T:Kt(T,function(O){return Ti(m,i,O)})}var Fs=Lt(function(f,m){return Gn(f)?Ro(f,m):[]}),ai=Lt(function(f){return Id(os(f,Gn))}),Ql=Lt(function(f){var m=Dt(f);return Gn(m)&&(m=i),Id(os(f,Gn),st(m,2))}),Kl=Lt(function(f){var m=Dt(f);return m=typeof m=="function"?m:i,Id(os(f,Gn),i,m)}),Lf=Lt(Uf);function nr(f,m){return sp(f||[],m||[],Mo)}function yp(f,m){return sp(f||[],m||[],Fu)}var xg=Lt(function(f){var m=f.length,T=m>1?f[m-1]:i;return T=typeof T=="function"?(f.pop(),T):i,yh(f,T)});function tc(f){var m=B(f);return m.__chain__=!0,m}function vp(f,m){return m(f),f}function pi(f,m){return m(f)}var gv=Un(function(f){var m=f.length,T=m?f[0]:0,O=this.__wrapped__,N=function(k){return $d(k,f)};return m>1||this.__actions__.length||!(O instanceof Ht)||!Gr(T)?this.thru(N):(O=O.slice(T,+T+(m?1:0)),O.__actions__.push({func:pi,args:[N],thisArg:i}),new Di(O,this.__chain__).thru(function(k){return m&&!k.length&&k.push(i),k}))});function ar(){return tc(this)}function yv(){return new Di(this.value(),this.__chain__)}function jf(){this.__values__===i&&(this.__values__=aa(this.value()));var f=this.__index__>=this.__values__.length,m=f?i:this.__values__[this.__index__++];return{done:f,value:m}}function bp(){return this}function Go(f){for(var m,T=this;T instanceof pr;){var O=fa(T);O.__index__=0,O.__values__=i,m?N.__wrapped__=O:m=O;var N=O;T=T.__wrapped__}return N.__wrapped__=f,m}function vh(){var f=this.__wrapped__;if(f instanceof Ht){var m=f;return this.__actions__.length&&(m=new Ht(this)),m=m.reverse(),m.__actions__.push({func:pi,args:[ph],thisArg:i}),new Di(m,this.__chain__)}return this.thru(ph)}function Bf(){return lv(this.__wrapped__,this.__actions__)}var bs=Uo(function(f,m,T){an.call(f,T)?++f[T]:gr(f,T,1)});function $f(f,m,T){var O=ft(f)?_m:vf;return T&&mi(f,m,T)&&(m=i),O(f,st(m,3))}function Sg(f,m){var T=ft(f)?os:rn;return T(f,st(m,3))}var vv=ti(er),Il=ti(Iu);function nc(f,m){return kt(xh(f,m),1)}function bv(f,m){return kt(xh(f,m),W)}function xp(f,m,T){return T=T===i?1:lt(T),kt(xh(f,m),T)}function Sp(f,m){var T=ft(f)?dr:ks;return T(f,st(m,3))}function bh(f,m){var T=ft(f)?nv:ya;return T(f,st(m,3))}var Tg=Uo(function(f,m,T){an.call(f,T)?f[T].push(m):gr(f,T,[m])});function ac(f,m,T,O){f=da(f)?f:cc(f),T=T&&!O?lt(T):0;var N=f.length;return T<0&&(T=Dn(N+T,0)),Ko(f)?T<=N&&f.indexOf(m,T)>-1:!!N&&zu(f,m,T)>-1}var Tp=Lt(function(f,m,T){var O=-1,N=typeof m=="function",k=da(f)?ve(f.length):[];return ks(f,function(Z){k[++O]=N?Ti(m,Z,T):zl(Z,m,T)}),k}),Ag=Uo(function(f,m,T){gr(f,T,m)});function xh(f,m){var T=ft(f)?Kt:np;return T(f,st(m,3))}function xv(f,m,T,O){return f==null?[]:(ft(m)||(m=m==null?[]:[m]),T=O?i:T,ft(T)||(T=T==null?[]:[T]),qd(f,m,T))}var Sv=Uo(function(f,m,T){f[T?0:1].push(m)},function(){return[[],[]]});function Sh(f,m,T){var O=ft(f)?Jc:Um,N=arguments.length<3;return O(f,st(m,4),T,N,ks)}function Ap(f,m,T){var O=ft(f)?zm:Um,N=arguments.length<3;return O(f,st(m,4),T,N,ya)}function wp(f,m){var T=ft(f)?os:rn;return T(f,Jl(st(m,3)))}function Tv(f){var m=ft(f)?ju:Nl;return m(f)}function wg(f,m,T){(T?mi(f,m,T):m===i)?m=1:m=lt(m);var O=ft(f)?Xm:Yr;return O(f,m)}function En(f){var m=ft(f)?Q0:Hn;return m(f)}function Th(f){if(f==null)return 0;if(da(f))return Ko(f)?Pi(f):f.length;var m=Pa(f);return m==dn||m==bi?f.size:qu(f).length}function Av(f,m,T){var O=ft(f)?Md:ov;return T&&mi(f,m,T)&&(m=i),O(f,st(m,3))}var Ep=Lt(function(f,m){if(f==null)return[];var T=m.length;return T>1&&mi(f,m[0],m[1])?m=[]:T>2&&mi(m[0],m[1],m[2])&&(m=[m[0]]),qd(f,kt(m,1),[])}),Ah=je||function(){return Jn.Date.now()};function pb(f,m){if(typeof m!="function")throw new Yi(g);return f=lt(f),function(){if(--f<1)return m.apply(this,arguments)}}function wv(f,m,T){return m=T?i:m,m=f&&m==null?f.length:m,ms(f,be,i,i,i,i,m)}function wh(f,m){var T;if(typeof m!="function")throw new Yi(g);return f=lt(f),function(){return--f>0&&(T=m.apply(this,arguments)),f<=1&&(m=i),T}}var Wl=Lt(function(f,m,T){var O=P;if(T.length){var N=ls(T,Lo(Wl));O|=H}return ms(f,O,m,T,N)}),Hf=Lt(function(f,m,T){var O=P|U;if(T.length){var N=ls(T,Lo(Hf));O|=H}return ms(m,O,f,T,N)});function ic(f,m,T){m=T?i:m;var O=ms(f,F,i,i,i,i,i,m);return O.placeholder=ic.placeholder,O}function kf(f,m,T){m=T?i:m;var O=ms(f,ae,i,i,i,i,i,m);return O.placeholder=kf.placeholder,O}function Fo(f,m,T){var O,N,k,Z,ee,oe,_e=0,Le=!1,Ve=!1,Ke=!0;if(typeof f!="function")throw new Yi(g);m=Qr(m)||0,on(T)&&(Le=!!T.leading,Ve="maxWait"in T,k=Ve?Dn(Qr(T.maxWait)||0,m):k,Ke="trailing"in T?!!T.trailing:Ke);function nt(Ta){var el=O,fc=N;return O=N=i,_e=Ta,Z=f.apply(fc,el),Z}function vt(Ta){return _e=Ta,ee=Nf(jt,m),Le?nt(Ta):Z}function zt(Ta){var el=Ta-oe,fc=Ta-_e,MS=m-el;return Ve?Nn(MS,k-fc):MS}function bt(Ta){var el=Ta-oe,fc=Ta-_e;return oe===i||el>=m||el<0||Ve&&fc>=k}function jt(){var Ta=Ah();if(bt(Ta))return Zt(Ta);ee=Nf(jt,zt(Ta))}function Zt(Ta){return ee=i,Ke&&O?nt(Ta):(O=N=i,Z)}function Ir(){ee!==i&&eg(ee),_e=0,O=oe=N=ee=i}function rr(){return ee===i?Z:Zt(Ah())}function Wr(){var Ta=Ah(),el=bt(Ta);if(O=arguments,N=this,oe=Ta,el){if(ee===i)return vt(oe);if(Ve)return eg(ee),ee=Nf(jt,m),nt(oe)}return ee===i&&(ee=Nf(jt,m)),Z}return Wr.cancel=Ir,Wr.flush=rr,Wr}var xs=Lt(function(f,m){return Hs(f,1,m)}),Xo=Lt(function(f,m,T){return Hs(f,Qr(m)||0,T)});function gb(f){return ms(f,Ue)}function Pf(f,m){if(typeof f!="function"||m!=null&&typeof m!="function")throw new Yi(g);var T=function(){var O=arguments,N=m?m.apply(this,O):O[0],k=T.cache;if(k.has(N))return k.get(N);var Z=f.apply(this,O);return T.cache=k.set(N,Z)||k,Z};return T.cache=new(Pf.Cache||ga),T}Pf.Cache=ga;function Jl(f){if(typeof f!="function")throw new Yi(g);return function(){var m=arguments;switch(m.length){case 0:return!f.call(this);case 1:return!f.call(this,m[0]);case 2:return!f.call(this,m[0],m[1]);case 3:return!f.call(this,m[0],m[1],m[2])}return!f.apply(this,m)}}function Eg(f){return wh(2,f)}var Ev=J0(function(f,m){m=m.length==1&&ft(m[0])?Kt(m[0],Ma(st())):Kt(kt(m,1),Ma(st()));var T=m.length;return Lt(function(O){for(var N=-1,k=Nn(O.length,T);++N<k;)O[N]=m[N].call(this,O[N]);return Ti(f,this,O)})}),Yf=Lt(function(f,m){var T=ls(m,Lo(Yf));return ms(f,H,i,m,T)}),Eh=Lt(function(f,m){var T=ls(m,Lo(Eh));return ms(f,le,i,m,T)}),qf=Un(function(f,m){return ms(f,de,i,i,i,m)});function Cp(f,m){if(typeof f!="function")throw new Yi(g);return m=m===i?m:lt(m),Lt(f,m)}function Dp(f,m){if(typeof f!="function")throw new Yi(g);return m=m==null?0:Dn(lt(m),0),Lt(function(T){var O=T[m],N=Ul(T,0,m);return O&&la(N,O),Ti(f,this,N)})}function Mp(f,m,T){var O=!0,N=!0;if(typeof f!="function")throw new Yi(g);return on(T)&&(O="leading"in T?!!T.leading:O,N="trailing"in T?!!T.trailing:N),Fo(f,m,{leading:O,maxWait:m,trailing:N})}function na(f){return wv(f,1)}function Cg(f,m){return Yf(Vo(m),f)}function yb(){if(!arguments.length)return[];var f=arguments[0];return ft(f)?f:[f]}function Et(f){return ei(f,R)}function vb(f,m){return m=typeof m=="function"?m:i,ei(f,R,m)}function Zo(f){return ei(f,C|R)}function Rt(f,m){return m=typeof m=="function"?m:i,ei(f,C|R,m)}function eu(f,m){return m==null||Hd(f,m,Sa(m))}function ii(f,m){return f===m||f!==f&&m!==m}var Ch=jl(ku),Cv=jl(function(f,m){return f>=m}),Ss=Pu(function(){return arguments}())?Pu:function(f){return pn(f)&&an.call(f,"callee")&&!Tl.call(f,"callee")},ft=ve.isArray,tu=Rm?Ma(Rm):Ri;function da(f){return f!=null&&Qo(f.length)&&!Ts(f)}function Gn(f){return pn(f)&&da(f)}function Op(f){return f===!0||f===!1||pn(f)&&Ft(f)==ot}var ba=of||Ab,Rp=Iy?Ma(Iy):ea;function Dv(f){return pn(f)&&f.nodeType===1&&!ha(f)}function Dh(f){if(f==null)return!0;if(da(f)&&(ft(f)||typeof f=="string"||typeof f.splice=="function"||ba(f)||au(f)||Ss(f)))return!f.length;var m=Pa(f);if(m==dn||m==bi)return!f.size;if(An(f))return!qu(f).length;for(var T in f)if(an.call(f,T))return!1;return!0}function Cn(f,m){return zo(f,m)}function Na(f,m,T){T=typeof T=="function"?T:i;var O=T?T(f,m):i;return O===i?zo(f,m,i,T):!!O}function pe(f){if(!pn(f))return!1;var m=Ft(f);return m==pt||m==Tt||typeof f.message=="string"&&typeof f.name=="string"&&!ha(f)}function cn(f){return typeof f=="number"&&lf(f)}function Ts(f){if(!on(f))return!1;var m=Ft(f);return m==zn||m==Ze||m==Pe||m==zc}function Gf(f){return typeof f=="number"&&f==lt(f)}function Qo(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=ce}function on(f){var m=typeof f;return f!=null&&(m=="object"||m=="function")}function pn(f){return f!=null&&typeof f=="object"}var nu=Wy?Ma(Wy):Im;function Xs(f,m){return f===m||ua(f,m,rh(m))}function _p(f,m,T){return T=typeof T=="function"?T:i,ua(f,m,rh(m),T)}function Zs(f){return Ov(f)&&f!=+f}function Dg(f){if(_f(f))throw new gt(h);return hs(f)}function Mv(f){return f===null}function bb(f){return f==null}function Ov(f){return typeof f=="number"||pn(f)&&Ft(f)==Rr}function ha(f){if(!pn(f)||Ft(f)!=Yn)return!1;var m=To(f);if(m===null)return!0;var T=an.call(m,"constructor")&&m.constructor;return typeof T=="function"&&T instanceof T&&sf.call(T)==hr}var zp=Jy?Ma(Jy):Pd;function Mh(f){return Gf(f)&&f>=-9007199254740991&&f<=ce}var Np=ev?Ma(ev):Wm;function Ko(f){return typeof f=="string"||!ft(f)&&pn(f)&&Ft(f)==Vc}function Ni(f){return typeof f=="symbol"||pn(f)&&Ft(f)==Su}var au=Wc?Ma(Wc):Jm;function As(f){return f===i}function Mg(f){return pn(f)&&Pa(f)==hd}function rc(f){return pn(f)&&Ft(f)==Uc}var ri=jl(Yd),Xe=jl(function(f,m){return f<=m});function aa(f){if(!f)return[];if(da(f))return Ko(f)?wi(f):Mn(f);if(Al&&f[Al])return B0(f[Al]());var m=Pa(f),T=m==dn?xl:m==bi?us:cc;return T(f)}function xa(f){if(!f)return f===0?f:0;if(f=Qr(f),f===W||f===-1/0){var m=f<0?-1:1;return m*Ae}return f===f?f:0}function lt(f){var m=xa(f),T=m%1;return m===m?T?m-T:m:0}function Qs(f){return f?ds(lt(f),0,X):0}function Qr(f){if(typeof f=="number")return f;if(Ni(f))return Be;if(on(f)){var m=typeof f.valueOf=="function"?f.valueOf():f;f=on(m)?m+"":m}if(typeof f!="string")return f===0?f:+f;f=jm(f);var T=oa.test(f);return T||vd.test(f)?mb(f.slice(2),T?2:8):$c.test(f)?Be:+f}function Oh(f){return _i(f,Va(f))}function Io(f){return f?ds(lt(f),-9007199254740991,ce):f===0?f:0}function _t(f){return f==null?"":$a(f)}var Ks=Ra(function(f,m){if(An(m)||da(m)){_i(m,Sa(m),f);return}for(var T in m)an.call(m,T)&&Mo(f,T,m[T])}),Is=Ra(function(f,m){_i(m,Va(m),f)}),sc=Ra(function(f,m,T,O){_i(m,Va(m),f,O)}),iu=Ra(function(f,m,T,O){_i(m,Sa(m),f,O)}),gi=Un($d);function ir(f,m){var T=Ci(f);return m==null?T:Mi(T,m)}var ru=Lt(function(f,m){f=Ot(f);var T=-1,O=m.length,N=O>2?m[2]:i;for(N&&mi(m[0],m[1],N)&&(O=1);++T<O;)for(var k=m[T],Z=Va(k),ee=-1,oe=Z.length;++ee<oe;){var _e=Z[ee],Le=f[_e];(Le===i||ii(Le,So[_e])&&!an.call(f,_e))&&(f[_e]=k[_e])}return f}),Vp=Lt(function(f){return f.push(i,sg),Ti(uc,i,f)});function Ff(f,m){return pl(f,st(m,3),Zn)}function Rh(f,m){return pl(f,st(m,3),Hu)}function Og(f,m){return f==null?f:_o(f,st(m,3),Va)}function _h(f,m){return f==null?f:Rl(f,st(m,3),Va)}function oc(f,m){return f&&Zn(f,st(m,3))}function ws(f,m){return f&&Hu(f,st(m,3))}function Up(f){return f==null?[]:Oi(f,Sa(f))}function Lp(f){return f==null?[]:Oi(f,Va(f))}function zh(f,m,T){var O=f==null?i:va(f,m);return O===i?T:O}function jp(f,m){return f!=null&&Of(f,m,Zm)}function lc(f,m){return f!=null&&Of(f,m,K0)}var Xf=Ki(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=fi.call(m)),f[m]=T},ue(he)),Rg=Ki(function(f,m,T){m!=null&&typeof m.toString!="function"&&(m=fi.call(m)),an.call(f,m)?f[m].push(T):f[m]=[T]},st),Rv=Lt(zl);function Sa(f){return da(f)?Fm(f):qu(f)}function Va(f){return da(f)?Fm(f,!0):tp(f)}function _v(f,m){var T={};return m=st(m,3),Zn(f,function(O,N,k){gr(T,m(O,N,k),O)}),T}function zv(f,m){var T={};return m=st(m,3),Zn(f,function(O,N,k){gr(T,N,m(O,N,k))}),T}var Nv=Ra(function(f,m,T){Gu(f,m,T)}),uc=Ra(function(f,m,T,O){Gu(f,m,T,O)}),Nh=Un(function(f,m){var T={};if(f==null)return T;var O=!1;m=Kt(m,function(k){return k=Ha(k,f),O||(O=k.length>1),k}),_i(f,fp(f),T),O&&(T=ei(T,C|M|R,og));for(var N=m.length;N--;)Af(T,m[N]);return T});function Vh(f,m){return qa(f,Jl(st(m)))}var _g=Un(function(f,m){return f==null?{}:Gd(f,m)});function qa(f,m){if(f==null)return{};var T=Kt(fp(f),function(O){return[O]});return m=st(m),xf(f,T,function(O,N){return m(O,N[0])})}function Ws(f,m,T){m=Ha(m,f);var O=-1,N=m.length;for(N||(N=1,f=i);++O<N;){var k=f==null?i:f[un(m[O])];k===i&&(O=N,k=T),f=Ts(k)?k.call(f):k}return f}function Vv(f,m,T){return f==null?f:Fu(f,m,T)}function zg(f,m,T,O){return O=typeof O=="function"?O:i,f==null?f:Fu(f,m,T,O)}var Bp=$l(Sa),$p=$l(Va);function Hp(f,m,T){var O=ft(f),N=O||ba(f)||au(f);if(m=st(m,4),T==null){var k=f&&f.constructor;N?T=O?new k:[]:on(f)?T=Ts(k)?Ci(To(f)):{}:T={}}return(N?dr:Zn)(f,function(Z,ee,oe){return m(T,Z,ee,oe)}),T}function Ng(f,m){return f==null?!0:Af(f,m)}function Uh(f,m,T){return f==null?f:Kd(f,m,Vo(T))}function Uv(f,m,T,O){return O=typeof O=="function"?O:i,f==null?f:Kd(f,m,Vo(T),O)}function cc(f){return f==null?[]:Od(f,Sa(f))}function kp(f){return f==null?[]:Od(f,Va(f))}function Vg(f,m,T){return T===i&&(T=m,m=i),T!==i&&(T=Qr(T),T=T===T?T:0),m!==i&&(m=Qr(m),m=m===m?m:0),ds(Qr(f),m,T)}function Lh(f,m,T){return m=xa(m),T===i?(T=m,m=0):T=xa(T),f=Qr(f),_l(f,m,T)}function Ug(f,m,T){if(T&&typeof T!="boolean"&&mi(f,m,T)&&(m=T=i),T===i&&(typeof m=="boolean"?(T=m,m=i):typeof f=="boolean"&&(T=f,f=i)),f===i&&m===i?(f=0,m=1):(f=xa(f),m===i?(m=f,f=0):m=xa(m)),f>m){var O=f;f=m,m=O}if(T||f%1||m%1){var N=ln();return Nn(f+N*(m-f+Cd("1e-"+((N+"").length-1))),m)}return Zd(f,m)}var Lv=hi(function(f,m,T){return m=m.toLowerCase(),f+(T?jh(m):m)});function jh(f){return p(_t(f).toLowerCase())}function Kr(f){return f=_t(f),f&&f.replace(Au,nf).replace(rs,"")}function Js(f,m,T){f=_t(f),m=$a(m);var O=f.length;T=T===i?O:ds(lt(T),0,O);var N=T;return T-=m.length,T>=0&&f.slice(T,N)==m}function Wo(f){return f=_t(f),f&&D0.test(f)?f.replace(as,bl):f}function Zf(f){return f=_t(f),f&&ui.test(f)?f.replace(yn,"\\$&"):f}var Bh=hi(function(f,m,T){return f+(T?"-":"")+m.toLowerCase()}),su=hi(function(f,m,T){return f+(T?" ":"")+m.toLowerCase()}),xb=ca("toLowerCase");function Lg(f,m,T){f=_t(f),m=lt(m);var O=m?Pi(f):0;if(!m||O>=m)return f;var N=(m-O)/2;return Df(xn(N),T)+f+Df(wo(N),T)}function eo(f,m,T){f=_t(f),m=lt(m);var O=m?Pi(f):0;return m&&O<m?f+Df(m-O,T):f}function jg(f,m,T){f=_t(f),m=lt(m);var O=m?Pi(f):0;return m&&O<m?Df(m-O,T)+f:f}function Bg(f,m,T){return T||m==null?m=0:m&&(m=+m),pa(_t(f).replace(ho,""),m||0)}function $h(f,m,T){return(T?mi(f,m,T):m===i)?m=1:m=lt(m),Qd(_t(f),m)}function $g(){var f=arguments,m=_t(f[0]);return f.length<3?m:m.replace(f[1],f[2])}var Pp=hi(function(f,m,T){return f+(T?"_":"")+m.toLowerCase()});function Jo(f,m,T){return T&&typeof T!="number"&&mi(f,m,T)&&(m=T=i),T=T===i?X:T>>>0,T?(f=_t(f),f&&(typeof m=="string"||m!=null&&!zp(m))&&(m=$a(m),!m&&Br(f))?Ul(wi(f),0,T):f.split(m,T)):[]}var Yp=hi(function(f,m,T){return f+(T?" ":"")+p(m)});function Hh(f,m,T){return f=_t(f),T=T==null?0:ds(lt(T),0,f.length),m=$a(m),f.slice(T,T+m.length)==m}function Qf(f,m,T){var O=B.templateSettings;T&&mi(f,m,T)&&(m=i),f=_t(f),m=sc({},m,O,ah);var N=sc({},m.imports,O.imports,ah),k=Sa(N),Z=Od(N,k),ee,oe,_e=0,Le=m.interpolate||Hc,Ve="__p += '",Ke=Uu((m.escape||Hc).source+"|"+Le.source+"|"+(Le===zr?Ia:Hc).source+"|"+(m.evaluate||Hc).source+"|$","g"),nt="//# sourceURL="+(an.call(m,"sourceURL")?(m.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++wd+"]")+`
|
|
635
|
+
`;f.replace(Ke,function(bt,jt,Zt,Ir,rr,Wr){return Zt||(Zt=Ir),Ve+=f.slice(_e,Wr).replace(_0,j0),jt&&(ee=!0,Ve+=`' +
|
|
636
|
+
__e(`+jt+`) +
|
|
637
|
+
'`),rr&&(oe=!0,Ve+=`';
|
|
638
|
+
`+rr+`;
|
|
639
|
+
__p += '`),Zt&&(Ve+=`' +
|
|
640
|
+
((__t = (`+Zt+`)) == null ? '' : __t) +
|
|
641
|
+
'`),_e=Wr+bt.length,bt}),Ve+=`';
|
|
642
|
+
`;var vt=an.call(m,"variable")&&m.variable;if(!vt)Ve=`with (obj) {
|
|
643
|
+
`+Ve+`
|
|
644
|
+
}
|
|
645
|
+
`;else if(at.test(vt))throw new gt(v);Ve=(oe?Ve.replace(jc,""):Ve).replace(Da,"$1").replace(cl,"$1;"),Ve="function("+(vt||"obj")+`) {
|
|
646
|
+
`+(vt?"":`obj || (obj = {});
|
|
647
|
+
`)+"var __t, __p = ''"+(ee?", __e = _.escape":"")+(oe?`, __j = Array.prototype.join;
|
|
648
|
+
function print() { __p += __j.call(arguments, '') }
|
|
649
|
+
`:`;
|
|
650
|
+
`)+Ve+`return __p
|
|
651
|
+
}`;var zt=E(function(){return It(k,nt+"return "+Ve).apply(i,Z)});if(zt.source=Ve,pe(zt))throw zt;return zt}function ou(f){return _t(f).toLowerCase()}function qp(f){return _t(f).toUpperCase()}function jv(f,m,T){if(f=_t(f),f&&(T||m===i))return jm(f);if(!f||!(m=$a(m)))return f;var O=wi(f),N=wi(m),k=vl(O,N),Z=jr(O,N)+1;return Ul(O,k,Z).join("")}function Bv(f,m,T){if(f=_t(f),f&&(T||m===i))return f.slice(0,xo(f)+1);if(!f||!(m=$a(m)))return f;var O=wi(f),N=jr(O,wi(m))+1;return Ul(O,0,N).join("")}function Ga(f,m,T){if(f=_t(f),f&&(T||m===i))return f.replace(ho,"");if(!f||!(m=$a(m)))return f;var O=wi(f),N=vl(O,wi(m));return Ul(O,N).join("")}function r(f,m){var T=De,O=$e;if(on(m)){var N="separator"in m?m.separator:N;T="length"in m?lt(m.length):T,O="omission"in m?$a(m.omission):O}f=_t(f);var k=f.length;if(Br(f)){var Z=wi(f);k=Z.length}if(T>=k)return f;var ee=T-Pi(O);if(ee<1)return O;var oe=Z?Ul(Z,0,ee).join(""):f.slice(0,ee);if(N===i)return oe+O;if(Z&&(ee+=oe.length-ee),zp(N)){if(f.slice(ee).search(N)){var _e,Le=oe;for(N.global||(N=Uu(N.source,_t(Tu.exec(N))+"g")),N.lastIndex=0;_e=N.exec(Le);)var Ve=_e.index;oe=oe.slice(0,Ve===i?ee:Ve)}}else if(f.indexOf($a(N),ee)!=ee){var Ke=oe.lastIndexOf(N);Ke>-1&&(oe=oe.slice(0,Ke))}return oe+O}function l(f){return f=_t(f),f&&C0.test(f)?f.replace(fo,$n):f}var c=hi(function(f,m,T){return f+(T?" ":"")+m.toUpperCase()}),p=ca("toUpperCase");function x(f,m,T){return f=_t(f),m=T?i:m,m===i?af(f)?k0(f):Nm(f):f.match(m)||[]}var E=Lt(function(f,m){try{return Ti(f,i,m)}catch(T){return pe(T)?T:new gt(T)}}),z=Un(function(f,m){return dr(m,function(T){T=un(T),gr(f,T,Wl(f[T],f))}),f});function j(f){var m=f==null?0:f.length,T=st();return f=m?Kt(f,function(O){if(typeof O[1]!="function")throw new Yi(g);return[T(O[0]),O[1]]}):[],Lt(function(O){for(var N=-1;++N<m;){var k=f[N];if(Ti(k[0],this,O))return Ti(k[1],this,O)}})}function Q(f){return yf(ei(f,C))}function ue(f){return function(){return f}}function Oe(f,m){return f==null||f!==f?m:f}var Ne=qr(),me=qr(!0);function he(f){return f}function mt(f){return ep(typeof f=="function"?f:ei(f,C))}function ct(f){return ap(ei(f,C))}function fn(f,m){return bf(f,ei(m,C))}var se=Lt(function(f,m){return function(T){return zl(T,f,m)}}),ne=Lt(function(f,m){return function(T){return zl(f,T,m)}});function fe(f,m,T){var O=Sa(m),N=Oi(m,O);T==null&&!(on(m)&&(N.length||!O.length))&&(T=m,m=f,f=this,N=Oi(m,Sa(m)));var k=!(on(T)&&"chain"in T)||!!T.chain,Z=Ts(f);return dr(N,function(ee){var oe=m[ee];f[ee]=oe,Z&&(f.prototype[ee]=function(){var _e=this.__chain__;if(k||_e){var Le=f(this.__wrapped__),Ve=Le.__actions__=Mn(this.__actions__);return Ve.push({func:oe,args:arguments,thisArg:f}),Le.__chain__=_e,Le}return oe.apply(f,la([this.value()],arguments))})}),f}function Re(){return Jn._===this&&(Jn._=Sl),this}function Ie(){}function Ut(f){return f=lt(f),Lt(function(m){return ip(m,f)})}var ut=Ys(Kt),yt=Ys(_m),Fa=Ys(Md);function tn(f){return oh(f)?tf(un(f)):W0(f)}function to(f){return function(m){return f==null?i:va(f,m)}}var Sb=br(),m3=br(!0);function Tb(){return[]}function Ab(){return!1}function p3(){return{}}function ES(){return""}function g3(){return!0}function y3(f,m){if(f=lt(f),f<1||f>ce)return[];var T=X,O=Nn(f,X);m=st(m),f-=X;for(var N=ki(O,m);++T<f;)m(T);return N}function v3(f){return ft(f)?Kt(f,un):Ni(f)?[f]:Mn(Fr(_t(f)))}function b3(f){var m=++qi;return _t(f)+m}var x3=Xu(function(f,m){return f+m},0),S3=Bl("ceil"),T3=Xu(function(f,m){return f/m},1),CS=Bl("floor");function A3(f){return f&&f.length?Zi(f,he,ku):i}function w3(f,m){return f&&f.length?Zi(f,st(m,2),ku):i}function E3(f){return iv(f,he)}function C3(f,m){return iv(f,st(m,2))}function D3(f){return f&&f.length?Zi(f,he,Yd):i}function M3(f,m){return f&&f.length?Zi(f,st(m,2),Yd):i}var O3=Xu(function(f,m){return f*m},1),R3=Bl("round"),_3=Xu(function(f,m){return f-m},0);function DS(f){return f&&f.length?Nu(f,he):0}function wb(f,m){return f&&f.length?Nu(f,st(m,2)):0}return B.after=pb,B.ary=wv,B.assign=Ks,B.assignIn=Is,B.assignInWith=sc,B.assignWith=iu,B.at=gi,B.before=wh,B.bind=Wl,B.bindAll=z,B.bindKey=Hf,B.castArray=yb,B.chain=tc,B.chunk=hv,B.compact=pp,B.concat=dg,B.cond=j,B.conforms=Q,B.constant=ue,B.countBy=bs,B.create=ir,B.curry=ic,B.curryRight=kf,B.debounce=Fo,B.defaults=ru,B.defaultsDeep=Vp,B.defer=xs,B.delay=Xo,B.difference=kn,B.differenceBy=Wi,B.differenceWith=Xr,B.drop=hg,B.dropRight=qt,B.dropRightWhile=mg,B.dropWhile=hh,B.fill=Ji,B.filter=Sg,B.flatMap=nc,B.flatMapDeep=bv,B.flatMapDepth=xp,B.flatten=ni,B.flattenDeep=Wu,B.flattenDepth=Ho,B.flip=gb,B.flow=Ne,B.flowRight=me,B.fromPairs=ko,B.functions=Up,B.functionsIn=Lp,B.groupBy=Tg,B.initial=Zr,B.intersection=vs,B.intersectionBy=Po,B.intersectionWith=Ju,B.invert=Xf,B.invertBy=Rg,B.invokeMap=Tp,B.iteratee=mt,B.keyBy=Ag,B.keys=Sa,B.keysIn=Va,B.map=xh,B.mapKeys=_v,B.mapValues=zv,B.matches=ct,B.matchesProperty=fn,B.memoize=Pf,B.merge=Nv,B.mergeWith=uc,B.method=se,B.methodOf=ne,B.mixin=fe,B.negate=Jl,B.nthArg=Ut,B.omit=Nh,B.omitBy=Vh,B.once=Eg,B.orderBy=xv,B.over=ut,B.overArgs=Ev,B.overEvery=yt,B.overSome=Fa,B.partial=Yf,B.partialRight=Eh,B.partition=Sv,B.pick=_g,B.pickBy=qa,B.property=tn,B.propertyOf=to,B.pull=mv,B.pullAll=ec,B.pullAllBy=gp,B.pullAllWith=mh,B.pullAt=Sr,B.range=Sb,B.rangeRight=m3,B.rearg=qf,B.reject=wp,B.remove=pv,B.rest=Cp,B.reverse=ph,B.sampleSize=wg,B.set=Vv,B.setWith=zg,B.shuffle=En,B.slice=mn,B.sortBy=Ep,B.sortedUniq=Fl,B.sortedUniqBy=gg,B.split=Jo,B.spread=Dp,B.tail=qo,B.take=ta,B.takeRight=Xl,B.takeRightWhile=Zl,B.takeWhile=yg,B.tap=vp,B.throttle=Mp,B.thru=pi,B.toArray=aa,B.toPairs=Bp,B.toPairsIn=$p,B.toPath=v3,B.toPlainObject=Oh,B.transform=Hp,B.unary=na,B.union=za,B.unionBy=Vf,B.unionWith=gh,B.uniq=zi,B.uniqBy=vg,B.uniqWith=bg,B.unset=Ng,B.unzip=Uf,B.unzipWith=yh,B.update=Uh,B.updateWith=Uv,B.values=cc,B.valuesIn=kp,B.without=Fs,B.words=x,B.wrap=Cg,B.xor=ai,B.xorBy=Ql,B.xorWith=Kl,B.zip=Lf,B.zipObject=nr,B.zipObjectDeep=yp,B.zipWith=xg,B.entries=Bp,B.entriesIn=$p,B.extend=Is,B.extendWith=sc,fe(B,B),B.add=x3,B.attempt=E,B.camelCase=Lv,B.capitalize=jh,B.ceil=S3,B.clamp=Vg,B.clone=Et,B.cloneDeep=Zo,B.cloneDeepWith=Rt,B.cloneWith=vb,B.conformsTo=eu,B.deburr=Kr,B.defaultTo=Oe,B.divide=T3,B.endsWith=Js,B.eq=ii,B.escape=Wo,B.escapeRegExp=Zf,B.every=$f,B.find=vv,B.findIndex=er,B.findKey=Ff,B.findLast=Il,B.findLastIndex=Iu,B.findLastKey=Rh,B.floor=CS,B.forEach=Sp,B.forEachRight=bh,B.forIn=Og,B.forInRight=_h,B.forOwn=oc,B.forOwnRight=ws,B.get=zh,B.gt=Ch,B.gte=Cv,B.has=jp,B.hasIn=lc,B.head=Ln,B.identity=he,B.includes=ac,B.indexOf=pg,B.inRange=Lh,B.invoke=Rv,B.isArguments=Ss,B.isArray=ft,B.isArrayBuffer=tu,B.isArrayLike=da,B.isArrayLikeObject=Gn,B.isBoolean=Op,B.isBuffer=ba,B.isDate=Rp,B.isElement=Dv,B.isEmpty=Dh,B.isEqual=Cn,B.isEqualWith=Na,B.isError=pe,B.isFinite=cn,B.isFunction=Ts,B.isInteger=Gf,B.isLength=Qo,B.isMap=nu,B.isMatch=Xs,B.isMatchWith=_p,B.isNaN=Zs,B.isNative=Dg,B.isNil=bb,B.isNull=Mv,B.isNumber=Ov,B.isObject=on,B.isObjectLike=pn,B.isPlainObject=ha,B.isRegExp=zp,B.isSafeInteger=Mh,B.isSet=Np,B.isString=Ko,B.isSymbol=Ni,B.isTypedArray=au,B.isUndefined=As,B.isWeakMap=Mg,B.isWeakSet=rc,B.join=ql,B.kebabCase=Bh,B.last=Dt,B.lastIndexOf=Gl,B.lowerCase=su,B.lowerFirst=xb,B.lt=ri,B.lte=Xe,B.max=A3,B.maxBy=w3,B.mean=E3,B.meanBy=C3,B.min=D3,B.minBy=M3,B.stubArray=Tb,B.stubFalse=Ab,B.stubObject=p3,B.stubString=ES,B.stubTrue=g3,B.multiply=O3,B.nth=Ya,B.noConflict=Re,B.noop=Ie,B.now=Ah,B.pad=Lg,B.padEnd=eo,B.padStart=jg,B.parseInt=Bg,B.random=Ug,B.reduce=Sh,B.reduceRight=Ap,B.repeat=$h,B.replace=$g,B.result=Ws,B.round=R3,B.runInContext=ie,B.sample=Tv,B.size=Th,B.snakeCase=Pp,B.some=Av,B.sortedIndex=wn,B.sortedIndexBy=Gt,B.sortedIndexOf=Wt,B.sortedLastIndex=sn,B.sortedLastIndexBy=tr,B.sortedLastIndexOf=Yo,B.startCase=Yp,B.startsWith=Hh,B.subtract=_3,B.sum=DS,B.sumBy=wb,B.template=Qf,B.times=y3,B.toFinite=xa,B.toInteger=lt,B.toLength=Qs,B.toLower=ou,B.toNumber=Qr,B.toSafeInteger=Io,B.toString=_t,B.toUpper=qp,B.trim=jv,B.trimEnd=Bv,B.trimStart=Ga,B.truncate=r,B.unescape=l,B.uniqueId=b3,B.upperCase=c,B.upperFirst=p,B.each=Sp,B.eachRight=bh,B.first=Ln,fe(B,function(){var f={};return Zn(B,function(m,T){an.call(B.prototype,T)||(f[T]=m)}),f}(),{chain:!1}),B.VERSION=o,dr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){B[f].placeholder=B}),dr(["drop","take"],function(f,m){Ht.prototype[f]=function(T){T=T===i?1:Dn(lt(T),0);var O=this.__filtered__&&!m?new Ht(this):this.clone();return O.__filtered__?O.__takeCount__=Nn(T,O.__takeCount__):O.__views__.push({size:Nn(T,X),type:f+(O.__dir__<0?"Right":"")}),O},Ht.prototype[f+"Right"]=function(T){return this.reverse()[f](T).reverse()}}),dr(["filter","map","takeWhile"],function(f,m){var T=m+1,O=T==et||T==re;Ht.prototype[f]=function(N){var k=this.clone();return k.__iteratees__.push({iteratee:st(N,3),type:T}),k.__filtered__=k.__filtered__||O,k}}),dr(["head","last"],function(f,m){var T="take"+(m?"Right":"");Ht.prototype[f]=function(){return this[T](1).value()[0]}}),dr(["initial","tail"],function(f,m){var T="drop"+(m?"":"Right");Ht.prototype[f]=function(){return this.__filtered__?new Ht(this):this[T](1)}}),Ht.prototype.compact=function(){return this.filter(he)},Ht.prototype.find=function(f){return this.filter(f).head()},Ht.prototype.findLast=function(f){return this.reverse().find(f)},Ht.prototype.invokeMap=Lt(function(f,m){return typeof f=="function"?new Ht(this):this.map(function(T){return zl(T,f,m)})}),Ht.prototype.reject=function(f){return this.filter(Jl(st(f)))},Ht.prototype.slice=function(f,m){f=lt(f);var T=this;return T.__filtered__&&(f>0||m<0)?new Ht(T):(f<0?T=T.takeRight(-f):f&&(T=T.drop(f)),m!==i&&(m=lt(m),T=m<0?T.dropRight(-m):T.take(m-f)),T)},Ht.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},Ht.prototype.toArray=function(){return this.take(X)},Zn(Ht.prototype,function(f,m){var T=/^(?:filter|find|map|reject)|While$/.test(m),O=/^(?:head|last)$/.test(m),N=B[O?"take"+(m=="last"?"Right":""):m],k=O||/^find/.test(m);N&&(B.prototype[m]=function(){var Z=this.__wrapped__,ee=O?[1]:arguments,oe=Z instanceof Ht,_e=ee[0],Le=oe||ft(Z),Ve=function(jt){var Zt=N.apply(B,la([jt],ee));return O&&Ke?Zt[0]:Zt};Le&&T&&typeof _e=="function"&&_e.length!=1&&(oe=Le=!1);var Ke=this.__chain__,nt=!!this.__actions__.length,vt=k&&!Ke,zt=oe&&!nt;if(!k&&Le){Z=zt?Z:new Ht(this);var bt=f.apply(Z,ee);return bt.__actions__.push({func:pi,args:[Ve],thisArg:i}),new Di(bt,Ke)}return vt&&zt?f.apply(this,ee):(bt=this.thru(Ve),vt?O?bt.value()[0]:bt.value():bt)})}),dr(["pop","push","shift","sort","splice","unshift"],function(f){var m=Hm[f],T=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",O=/^(?:pop|shift)$/.test(f);B.prototype[f]=function(){var N=arguments;if(O&&!this.__chain__){var k=this.value();return m.apply(ft(k)?k:[],N)}return this[T](function(Z){return m.apply(ft(Z)?Z:[],N)})}}),Zn(Ht.prototype,function(f,m){var T=B[m];if(T){var O=T.name+"";an.call(di,O)||(di[O]=[]),di[O].push({name:m,func:T})}}),di[qn(i,U).name]=[{name:"wrapper",func:i}],Ht.prototype.clone=Vd,Ht.prototype.reverse=Ud,Ht.prototype.value=Dl,B.prototype.at=gv,B.prototype.chain=ar,B.prototype.commit=yv,B.prototype.next=jf,B.prototype.plant=Go,B.prototype.reverse=vh,B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=Bf,B.prototype.first=B.prototype.head,Al&&(B.prototype[Al]=bp),B},Hr=$r();ss?((ss.exports=Hr)._=Hr,Ic._=Hr):Jn._=Hr}).call(q$)}(H1,H1.exports)),H1.exports}var EO=G$();const pw=J.createContext({});function gw(t){const n=J.useRef(null);return n.current===null&&(n.current=t()),n.current}const yw=typeof window<"u",CO=yw?J.useLayoutEffect:J.useEffect,$x=J.createContext(null),vw=J.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class F$ extends tt.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const o=i.offsetParent,u=o instanceof HTMLElement&&o.offsetWidth||0,h=this.props.sizeRef.current;h.height=i.offsetHeight||0,h.width=i.offsetWidth||0,h.top=i.offsetTop,h.left=i.offsetLeft,h.right=u-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}}function X$({children:t,isPresent:n,anchorX:i}){const o=J.useId(),u=J.useRef(null),h=J.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=J.useContext(vw);return J.useInsertionEffect(()=>{const{width:v,height:S,top:A,left:w,right:C}=h.current;if(n||!u.current||!v||!S)return;const M=i==="left"?`left: ${w}`:`right: ${C}`;u.current.dataset.motionPopId=o;const R=document.createElement("style");return g&&(R.nonce=g),document.head.appendChild(R),R.sheet&&R.sheet.insertRule(`
|
|
652
|
+
[data-motion-pop-id="${o}"] {
|
|
653
|
+
position: absolute !important;
|
|
654
|
+
width: ${v}px !important;
|
|
655
|
+
height: ${S}px !important;
|
|
656
|
+
${M}px !important;
|
|
657
|
+
top: ${A}px !important;
|
|
658
|
+
}
|
|
659
|
+
`),()=>{document.head.removeChild(R)}},[n]),Y.jsx(F$,{isPresent:n,childRef:u,sizeRef:h,children:tt.cloneElement(t,{ref:u})})}const Z$=({children:t,initial:n,isPresent:i,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:g,anchorX:v})=>{const S=gw(Q$),A=J.useId(),w=J.useCallback(M=>{S.set(M,!0);for(const R of S.values())if(!R)return;o&&o()},[S,o]),C=J.useMemo(()=>({id:A,initial:n,isPresent:i,custom:u,onExitComplete:w,register:M=>(S.set(M,!1),()=>S.delete(M))}),h?[Math.random(),w]:[i,w]);return J.useMemo(()=>{S.forEach((M,R)=>S.set(R,!1))},[i]),tt.useEffect(()=>{!i&&!S.size&&o&&o()},[i]),g==="popLayout"&&(t=Y.jsx(X$,{isPresent:i,anchorX:v,children:t})),Y.jsx($x.Provider,{value:C,children:t})};function Q$(){return new Map}function DO(t=!0){const n=J.useContext($x);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:u}=n,h=J.useId();J.useEffect(()=>{if(t)return u(h)},[t]);const g=J.useCallback(()=>t&&o&&o(h),[h,o,t]);return!i&&o?[!1,g]:[!0]}const Hx=t=>t.key||"";function MO(t){const n=[];return J.Children.forEach(t,i=>{J.isValidElement(i)&&n.push(i)}),n}var K$={};const lm=({children:t,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:h="sync",propagate:g=!1,anchorX:v="left"})=>{const[S,A]=DO(g),w=J.useMemo(()=>MO(t),[t]),C=g&&!S?[]:w.map(Hx),M=J.useRef(!0),R=J.useRef(w),V=gw(()=>new Map),[L,P]=J.useState(w),[U,q]=J.useState(w);CO(()=>{M.current=!1,R.current=w;for(let H=0;H<U.length;H++){const le=Hx(U[H]);C.includes(le)?V.delete(le):V.get(le)!==!0&&V.set(le,!1)}},[U,C.length,C.join("-")]);const F=[];if(w!==L){let H=[...w];for(let le=0;le<U.length;le++){const be=U[le],de=Hx(be);C.includes(de)||(H.splice(le,0,be),F.push(be))}return h==="wait"&&F.length&&(H=F),q(MO(H)),P(w),null}K$.NODE_ENV!=="production"&&h==="wait"&&U.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ae}=J.useContext(pw);return Y.jsx(Y.Fragment,{children:U.map(H=>{const le=Hx(H),be=g&&!S?!1:w===U||C.includes(le),de=()=>{if(V.has(le))V.set(le,!0);else return;let Ue=!0;V.forEach(De=>{De||(Ue=!1)}),Ue&&(ae==null||ae(),q(R.current),g&&(A==null||A()),o&&o())};return Y.jsx(Z$,{isPresent:be,initial:!M.current||i?void 0:!1,custom:n,presenceAffectsLayout:u,mode:h,onExitComplete:be?void 0:de,anchorX:v,children:H},le)})})},Rs=t=>t;var I$={};let wy=Rs,um=Rs;I$.NODE_ENV!=="production"&&(wy=(t,n)=>{!t&&typeof console<"u"&&console.warn(n)},um=(t,n)=>{if(!t)throw new Error(n)});const W$={useManualTiming:!1},kx=["read","resolveKeyframes","update","preRender","render","postRender"],OO={value:null};function J$(t,n){let i=new Set,o=new Set,u=!1,h=!1;const g=new WeakSet;let v={delta:0,timestamp:0,isProcessing:!1},S=0;function A(C){g.has(C)&&(w.schedule(C),t()),S++,C(v)}const w={schedule:(C,M=!1,R=!1)=>{const L=R&&u?i:o;return M&&g.add(C),L.has(C)||L.add(C),C},cancel:C=>{o.delete(C),g.delete(C)},process:C=>{if(v=C,u){h=!0;return}u=!0,[i,o]=[o,i],i.forEach(A),n&&OO.value&&OO.value.frameloop[n].push(S),S=0,i.clear(),u=!1,h&&(h=!1,w.process(C))}};return w}const eH=40;function RO(t,n){let i=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},h=()=>i=!0,g=kx.reduce((U,q)=>(U[q]=J$(h,n?q:void 0),U),{}),{read:v,resolveKeyframes:S,update:A,preRender:w,render:C,postRender:M}=g,R=()=>{const U=performance.now();i=!1,u.delta=o?1e3/60:Math.max(Math.min(U-u.timestamp,eH),1),u.timestamp=U,u.isProcessing=!0,v.process(u),S.process(u),A.process(u),w.process(u),C.process(u),M.process(u),u.isProcessing=!1,i&&n&&(o=!1,t(R))},V=()=>{i=!0,o=!0,u.isProcessing||t(R)};return{schedule:kx.reduce((U,q)=>{const F=g[q];return U[q]=(ae,H=!1,le=!1)=>(i||V(),F.schedule(ae,H,le)),U},{}),cancel:U=>{for(let q=0;q<kx.length;q++)g[kx[q]].cancel(U)},state:u,steps:g}}const{schedule:Wn,cancel:cm,state:ur,steps:bw}=RO(typeof requestAnimationFrame<"u"?requestAnimationFrame:Rs,!0),_O=J.createContext({strict:!1}),zO={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"]},Ey={};for(const t in zO)Ey[t]={isEnabled:n=>zO[t].some(i=>!!n[i])};function tH(t){for(const n in t)Ey[n]={...Ey[n],...t[n]}}const nH=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 Px(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||nH.has(t)}let NO=t=>!Px(t);function aH(t){t&&(NO=n=>n.startsWith("on")?!Px(n):t(n))}try{aH(require("@emotion/is-prop-valid").default)}catch{}function iH(t,n,i){const o={};for(const u in t)u==="values"&&typeof t.values=="object"||(NO(u)||i===!0&&Px(u)||!n&&!Px(u)||t.draggable&&u.startsWith("onDrag"))&&(o[u]=t[u]);return o}const VO=new Set;function Yx(t,n,i){t||VO.has(n)||(console.warn(n),VO.add(n))}var rH={};function sH(t){if(typeof Proxy>"u")return t;const n=new Map,i=(...o)=>(rH.NODE_ENV!=="production"&&Yx(!1,"motion() is deprecated. Use motion.create() instead."),t(...o));return new Proxy(i,{get:(o,u)=>u==="create"?t:(n.has(u)||n.set(u,t(u)),n.get(u))})}const qx=J.createContext({});function Gx(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function k1(t){return typeof t=="string"||Array.isArray(t)}const xw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Sw=["initial",...xw];function Fx(t){return Gx(t.animate)||Sw.some(n=>k1(t[n]))}function UO(t){return!!(Fx(t)||t.variants)}function oH(t,n){if(Fx(t)){const{initial:i,animate:o}=t;return{initial:i===!1||k1(i)?i:void 0,animate:k1(o)?o:void 0}}return t.inherit!==!1?n:{}}function lH(t){const{initial:n,animate:i}=oH(t,J.useContext(qx));return J.useMemo(()=>({initial:n,animate:i}),[LO(n),LO(i)])}function LO(t){return Array.isArray(t)?t.join(" "):t}const uH=Symbol.for("motionComponentSymbol");function Cy(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function cH(t,n,i){return J.useCallback(o=>{o&&t.onMount&&t.onMount(o),n&&(o?n.mount(o):n.unmount()),i&&(typeof i=="function"?i(o):Cy(i)&&(i.current=o))},[n])}const{schedule:Tw}=RO(queueMicrotask,!1),Aw=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),jO="data-"+Aw("framerAppearId"),BO=J.createContext({});function fH(t,n,i,o,u){var h,g;const{visualElement:v}=J.useContext(qx),S=J.useContext(_O),A=J.useContext($x),w=J.useContext(vw).reducedMotion,C=J.useRef(null);o=o||S.renderer,!C.current&&o&&(C.current=o(t,{visualState:n,parent:v,props:i,presenceContext:A,blockInitialAnimation:A?A.initial===!1:!1,reducedMotionConfig:w}));const M=C.current,R=J.useContext(BO);M&&!M.projection&&u&&(M.type==="html"||M.type==="svg")&&dH(C.current,i,u,R);const V=J.useRef(!1);J.useInsertionEffect(()=>{M&&V.current&&M.update(i,A)});const L=i[jO],P=J.useRef(!!L&&!(!((h=window.MotionHandoffIsComplete)===null||h===void 0)&&h.call(window,L))&&((g=window.MotionHasOptimisedAnimation)===null||g===void 0?void 0:g.call(window,L)));return CO(()=>{M&&(V.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),Tw.render(M.render),P.current&&M.animationState&&M.animationState.animateChanges())}),J.useEffect(()=>{M&&(!P.current&&M.animationState&&M.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var U;(U=window.MotionHandoffMarkAsComplete)===null||U===void 0||U.call(window,L)}),P.current=!1))}),M}function dH(t,n,i,o){const{layoutId:u,layout:h,drag:g,dragConstraints:v,layoutScroll:S,layoutRoot:A}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:$O(t.parent)),t.projection.setOptions({layoutId:u,layout:h,alwaysMeasureLayout:!!g||v&&Cy(v),visualElement:t,animationType:typeof h=="string"?h:"both",initialPromotionConfig:o,layoutScroll:S,layoutRoot:A})}function $O(t){if(t)return t.options.allowProjection!==!1?t.projection:$O(t.parent)}var hH={};function mH({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:o,Component:u}){var h,g;t&&tH(t);function v(A,w){let C;const M={...J.useContext(vw),...A,layoutId:pH(A)},{isStatic:R}=M,V=lH(A),L=o(A,R);if(!R&&yw){gH(M,t);const P=yH(M);C=P.MeasureLayout,V.visualElement=fH(u,L,M,n,P.ProjectionNode)}return Y.jsxs(qx.Provider,{value:V,children:[C&&V.visualElement?Y.jsx(C,{visualElement:V.visualElement,...M}):null,i(u,A,cH(L,V.visualElement,w),L,R,V.visualElement)]})}v.displayName=`motion.${typeof u=="string"?u:`create(${(g=(h=u.displayName)!==null&&h!==void 0?h:u.name)!==null&&g!==void 0?g:""})`}`;const S=J.forwardRef(v);return S[uH]=u,S}function pH({layoutId:t}){const n=J.useContext(pw).id;return n&&t!==void 0?n+"-"+t:t}function gH(t,n){const i=J.useContext(_O).strict;if(hH.NODE_ENV!=="production"&&n&&i){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?wy(!1,o):um(!1,o)}}function yH(t){const{drag:n,layout:i}=Ey;if(!n&&!i)return{};const o={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const HO=t=>n=>typeof n=="string"&&n.startsWith(t),ww=HO("--"),vH=HO("var(--"),Ew=t=>vH(t)?bH.test(t.split("/*")[0].trim()):!1,bH=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,P1={};function xH(t){for(const n in t)P1[n]=t[n],ww(n)&&(P1[n].isCSSVariable=!0)}const Dy=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p0=new Set(Dy);function kO(t,{layout:n,layoutId:i}){return p0.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!P1[t]||t==="opacity")}const Mr=t=>!!(t&&t.getVelocity),PO=(t,n)=>n&&typeof t=="number"?n.transform(t):t,rd=(t,n,i)=>i>n?n:i<t?t:i,My={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Y1={...My,transform:t=>rd(0,1,t)},Xx={...My,default:1},q1=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),fm=q1("deg"),Ec=q1("%"),St=q1("px"),SH=q1("vh"),TH=q1("vw"),YO={...Ec,parse:t=>Ec.parse(t)/100,transform:t=>Ec.transform(t*100)},AH={borderWidth:St,borderTopWidth:St,borderRightWidth:St,borderBottomWidth:St,borderLeftWidth:St,borderRadius:St,radius:St,borderTopLeftRadius:St,borderTopRightRadius:St,borderBottomRightRadius:St,borderBottomLeftRadius:St,width:St,maxWidth:St,height:St,maxHeight:St,top:St,right:St,bottom:St,left:St,padding:St,paddingTop:St,paddingRight:St,paddingBottom:St,paddingLeft:St,margin:St,marginTop:St,marginRight:St,marginBottom:St,marginLeft:St,backgroundPositionX:St,backgroundPositionY:St},wH={rotate:fm,rotateX:fm,rotateY:fm,rotateZ:fm,scale:Xx,scaleX:Xx,scaleY:Xx,scaleZ:Xx,skew:fm,skewX:fm,skewY:fm,distance:St,translateX:St,translateY:St,translateZ:St,x:St,y:St,z:St,perspective:St,transformPerspective:St,opacity:Y1,originX:YO,originY:YO,originZ:St},qO={...My,transform:Math.round},Cw={...AH,...wH,zIndex:qO,size:St,fillOpacity:Y1,strokeOpacity:Y1,numOctaves:qO},EH={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},CH=Dy.length;function DH(t,n,i){let o="",u=!0;for(let h=0;h<CH;h++){const g=Dy[h],v=t[g];if(v===void 0)continue;let S=!0;if(typeof v=="number"?S=v===(g.startsWith("scale")?1:0):S=parseFloat(v)===0,!S||i){const A=PO(v,Cw[g]);if(!S){u=!1;const w=EH[g]||g;o+=`${w}(${A}) `}i&&(n[g]=A)}}return o=o.trim(),i?o=i(n,u?"":o):u&&(o="none"),o}function Dw(t,n,i){const{style:o,vars:u,transformOrigin:h}=t;let g=!1,v=!1;for(const S in n){const A=n[S];if(p0.has(S)){g=!0;continue}else if(ww(S)){u[S]=A;continue}else{const w=PO(A,Cw[S]);S.startsWith("origin")?(v=!0,h[S]=w):o[S]=w}}if(n.transform||(g||i?o.transform=DH(n,t.transform,i):o.transform&&(o.transform="none")),v){const{originX:S="50%",originY:A="50%",originZ:w=0}=h;o.transformOrigin=`${S} ${A} ${w}`}}const Mw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function GO(t,n,i){for(const o in n)!Mr(n[o])&&!kO(o,i)&&(t[o]=n[o])}function MH({transformTemplate:t},n){return J.useMemo(()=>{const i=Mw();return Dw(i,n,t),Object.assign({},i.vars,i.style)},[n])}function OH(t,n){const i=t.style||{},o={};return GO(o,i,t),Object.assign(o,MH(t,n)),o}function RH(t,n){const i={},o=OH(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const _H=["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 Ow(t){return typeof t!="string"||t.includes("-")?!1:!!(_H.indexOf(t)>-1||/[A-Z]/u.test(t))}const zH={offset:"stroke-dashoffset",array:"stroke-dasharray"},NH={offset:"strokeDashoffset",array:"strokeDasharray"};function VH(t,n,i=1,o=0,u=!0){t.pathLength=1;const h=u?zH:NH;t[h.offset]=St.transform(-o);const g=St.transform(n),v=St.transform(i);t[h.array]=`${g} ${v}`}function FO(t,n,i){return typeof t=="string"?t:St.transform(n+i*t)}function UH(t,n,i){const o=FO(n,t.x,t.width),u=FO(i,t.y,t.height);return`${o} ${u}`}function Rw(t,{attrX:n,attrY:i,attrScale:o,originX:u,originY:h,pathLength:g,pathSpacing:v=1,pathOffset:S=0,...A},w,C){if(Dw(t,A,C),w){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:M,style:R,dimensions:V}=t;M.transform&&(V&&(R.transform=M.transform),delete M.transform),V&&(u!==void 0||h!==void 0||R.transform)&&(R.transformOrigin=UH(V,u!==void 0?u:.5,h!==void 0?h:.5)),n!==void 0&&(M.x=n),i!==void 0&&(M.y=i),o!==void 0&&(M.scale=o),g!==void 0&&VH(M,g,v,S,!1)}const XO=()=>({...Mw(),attrs:{}}),_w=t=>typeof t=="string"&&t.toLowerCase()==="svg";function LH(t,n,i,o){const u=J.useMemo(()=>{const h=XO();return Rw(h,n,_w(o),t.transformTemplate),{...h.attrs,style:{...h.style}}},[n]);if(t.style){const h={};GO(h,t.style,t),u.style={...h,...u.style}}return u}function jH(t=!1){return(i,o,u,{latestValues:h},g)=>{const S=(Ow(i)?LH:RH)(o,h,g,i),A=iH(o,typeof i=="string",t),w=i!==J.Fragment?{...A,...S,ref:u}:{},{children:C}=o,M=J.useMemo(()=>Mr(C)?C.get():C,[C]);return J.createElement(i,{...w,children:M})}}function ZO(t){const n=[{},{}];return t==null||t.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function zw(t,n,i,o){if(typeof n=="function"){const[u,h]=ZO(o);n=n(i!==void 0?i:t.custom,u,h)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[u,h]=ZO(o);n=n(i!==void 0?i:t.custom,u,h)}return n}const Nw=t=>Array.isArray(t),BH=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),$H=t=>Nw(t)?t[t.length-1]||0:t;function Zx(t){const n=Mr(t)?t.get():t;return BH(n)?n.toValue():n}function HH({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:i},o,u,h){const g={latestValues:kH(o,u,h,t),renderState:n()};return i&&(g.onMount=v=>i({props:o,current:v,...g}),g.onUpdate=v=>i(v)),g}const QO=t=>(n,i)=>{const o=J.useContext(qx),u=J.useContext($x),h=()=>HH(t,n,o,u);return i?h():gw(h)};function kH(t,n,i,o){const u={},h=o(t,{});for(const M in h)u[M]=Zx(h[M]);let{initial:g,animate:v}=t;const S=Fx(t),A=UO(t);n&&A&&!S&&t.inherit!==!1&&(g===void 0&&(g=n.initial),v===void 0&&(v=n.animate));let w=i?i.initial===!1:!1;w=w||g===!1;const C=w?v:g;if(C&&typeof C!="boolean"&&!Gx(C)){const M=Array.isArray(C)?C:[C];for(let R=0;R<M.length;R++){const V=zw(t,M[R]);if(V){const{transitionEnd:L,transition:P,...U}=V;for(const q in U){let F=U[q];if(Array.isArray(F)){const ae=w?F.length-1:0;F=F[ae]}F!==null&&(u[q]=F)}for(const q in L)u[q]=L[q]}}}return u}function Vw(t,n,i){var o;const{style:u}=t,h={};for(const g in u)(Mr(u[g])||n.style&&Mr(n.style[g])||kO(g,t)||((o=i==null?void 0:i.getValue(g))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(h[g]=u[g]);return h}const PH={useVisualState:QO({scrapeMotionValuesFromProps:Vw,createRenderState:Mw})};function KO(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}function IO(t,{style:n,vars:i},o,u){Object.assign(t.style,n,u&&u.getProjectionStyles(o));for(const h in i)t.style.setProperty(h,i[h])}const WO=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 JO(t,n,i,o){IO(t,n,void 0,o);for(const u in n.attrs)t.setAttribute(WO.has(u)?u:Aw(u),n.attrs[u])}function e5(t,n,i){const o=Vw(t,n,i);for(const u in t)if(Mr(t[u])||Mr(n[u])){const h=Dy.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[h]=t[u]}return o}const t5=["x","y","width","height","cx","cy","r"],YH={useVisualState:QO({scrapeMotionValuesFromProps:e5,createRenderState:XO,onUpdate:({props:t,prevProps:n,current:i,renderState:o,latestValues:u})=>{if(!i)return;let h=!!t.drag;if(!h){for(const v in u)if(p0.has(v)){h=!0;break}}if(!h)return;let g=!n;if(n)for(let v=0;v<t5.length;v++){const S=t5[v];t[S]!==n[S]&&(g=!0)}g&&Wn.read(()=>{KO(i,o),Wn.render(()=>{Rw(o,u,_w(i.tagName),t.transformTemplate),JO(i,o)})})}})};function qH(t,n){return function(o,{forwardMotionProps:u}={forwardMotionProps:!1}){const g={...Ow(o)?YH:PH,preloadedFeatures:t,useRender:jH(u),createVisualElement:n,Component:o};return mH(g)}}function G1(t,n,i){const o=t.getProps();return zw(o,n,i!==void 0?i:o.custom,t)}function Uw(t,n){return t?t[n]||t.default||t:void 0}const n5=new Set(["width","height","top","left","right","bottom",...Dy]);function Lw(t,n){t.indexOf(n)===-1&&t.push(n)}function jw(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}class Bw{constructor(){this.subscriptions=[]}add(n){return Lw(this.subscriptions,n),()=>jw(this.subscriptions,n)}notify(n,i,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](n,i,o);else for(let h=0;h<u;h++){const g=this.subscriptions[h];g&&g(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function a5(t,n){return n?t*(1e3/n):0}let Qx;function GH(){Qx=void 0}const Cc={now:()=>(Qx===void 0&&Cc.set(ur.isProcessing||W$.useManualTiming?ur.timestamp:performance.now()),Qx),set:t=>{Qx=t,queueMicrotask(GH)}};var FH={};const i5=30,XH=t=>!isNaN(parseFloat(t));class ZH{constructor(n,i={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,u=!0)=>{const h=Cc.now();this.updatedAt!==h&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),u&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Cc.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=XH(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return FH.NODE_ENV!=="production"&&Yx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Bw);const o=this.events[n].add(i);return n==="change"?()=>{o(),Wn.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n,i=!0){!i||!this.passiveEffect?this.updateAndNotify(n,i):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Cc.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>i5)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,i5);return a5(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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 F1(t,n){return new ZH(t,n)}function QH(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,F1(i))}function KH(t,n){const i=G1(t,n);let{transitionEnd:o={},transition:u={},...h}=i||{};h={...h,...o};for(const g in h){const v=$H(h[g]);QH(t,g,v)}}function IH(t){return!!(Mr(t)&&t.add)}function $w(t,n){const i=t.getValue("willChange");if(IH(i))return i.add(n)}function r5(t){return t.props[jO]}function Hw(t){let n;return()=>(n===void 0&&(n=t()),n)}const WH=Hw(()=>window.ScrollTimeline!==void 0);class JH{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let o=0;o<this.animations.length;o++)this.animations[o][n]=i}attachTimeline(n,i){const o=this.animations.map(u=>{if(WH()&&u.attachTimeline)return u.attachTimeline(n);if(typeof i=="function")return i(u)});return()=>{o.forEach((u,h)=>{u&&u(),this.animations[h].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let i=0;i<this.animations.length;i++)n=Math.max(n,this.animations[i].duration);return n}runAll(n){this.animations.forEach(i=>i[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ek extends JH{then(n,i){return Promise.all(this.animations).then(n).catch(i)}}const Dc=t=>t*1e3,sd=t=>t/1e3;function kw(t){return typeof t=="function"}function s5(t,n){t.timeline=n,t.onfinish=null}const Pw=t=>Array.isArray(t)&&typeof t[0]=="number",tk={linearEasing:void 0};function nk(t,n){const i=Hw(t);return()=>{var o;return(o=tk[n])!==null&&o!==void 0?o:i()}}const Kx=nk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Oy=(t,n,i)=>{const o=n-t;return o===0?1:(i-t)/o},o5=(t,n,i=10)=>{let o="";const u=Math.max(Math.round(n/i),2);for(let h=0;h<u;h++)o+=t(Oy(0,u-1,h))+", ";return`linear(${o.substring(0,o.length-2)})`};function l5(t){return!!(typeof t=="function"&&Kx()||!t||typeof t=="string"&&(t in Yw||Kx())||Pw(t)||Array.isArray(t)&&t.every(l5))}const X1=([t,n,i,o])=>`cubic-bezier(${t}, ${n}, ${i}, ${o})`,Yw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:X1([0,.65,.55,1]),circOut:X1([.55,0,1,.45]),backIn:X1([.31,.01,.66,-.59]),backOut:X1([.33,1.53,.69,.99])};function u5(t,n){if(t)return typeof t=="function"&&Kx()?o5(t,n):Pw(t)?X1(t):Array.isArray(t)?t.map(i=>u5(i,n)||Yw.easeOut):Yw[t]}const c5=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,ak=1e-7,ik=12;function rk(t,n,i,o,u){let h,g,v=0;do g=n+(i-n)/2,h=c5(g,o,u)-t,h>0?i=g:n=g;while(Math.abs(h)>ak&&++v<ik);return g}function Z1(t,n,i,o){if(t===n&&i===o)return Rs;const u=h=>rk(h,0,1,t,i);return h=>h===0||h===1?h:c5(u(h),n,o)}const f5=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,d5=t=>n=>1-t(1-n),h5=Z1(.33,1.53,.69,.99),qw=d5(h5),m5=f5(qw),p5=t=>(t*=2)<1?.5*qw(t):.5*(2-Math.pow(2,-10*(t-1))),Gw=t=>1-Math.sin(Math.acos(t)),g5=d5(Gw),y5=f5(Gw),v5=t=>/^0[^.\s]+$/u.test(t);function sk(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||v5(t):!0}const Q1=t=>Math.round(t*1e5)/1e5,Fw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ok(t){return t==null}const lk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Xw=(t,n)=>i=>!!(typeof i=="string"&&lk.test(i)&&i.startsWith(t)||n&&!ok(i)&&Object.prototype.hasOwnProperty.call(i,n)),b5=(t,n,i)=>o=>{if(typeof o!="string")return o;const[u,h,g,v]=o.match(Fw);return{[t]:parseFloat(u),[n]:parseFloat(h),[i]:parseFloat(g),alpha:v!==void 0?parseFloat(v):1}},uk=t=>rd(0,255,t),Zw={...My,transform:t=>Math.round(uk(t))},g0={test:Xw("rgb","red"),parse:b5("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:o=1})=>"rgba("+Zw.transform(t)+", "+Zw.transform(n)+", "+Zw.transform(i)+", "+Q1(Y1.transform(o))+")"};function ck(t){let n="",i="",o="",u="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),u=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),u=t.substring(4,5),n+=n,i+=i,o+=o,u+=u),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const Qw={test:Xw("#"),parse:ck,transform:g0.transform},Ry={test:Xw("hsl","hue"),parse:b5("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+Ec.transform(Q1(n))+", "+Ec.transform(Q1(i))+", "+Q1(Y1.transform(o))+")"},Or={test:t=>g0.test(t)||Qw.test(t)||Ry.test(t),parse:t=>g0.test(t)?g0.parse(t):Ry.test(t)?Ry.parse(t):Qw.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?g0.transform(t):Ry.transform(t)},fk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function dk(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(Fw))===null||n===void 0?void 0:n.length)||0)+(((i=t.match(fk))===null||i===void 0?void 0:i.length)||0)>0}const x5="number",S5="color",hk="var",mk="var(",T5="${}",pk=/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 K1(t){const n=t.toString(),i=[],o={color:[],number:[],var:[]},u=[];let h=0;const v=n.replace(pk,S=>(Or.test(S)?(o.color.push(h),u.push(S5),i.push(Or.parse(S))):S.startsWith(mk)?(o.var.push(h),u.push(hk),i.push(S)):(o.number.push(h),u.push(x5),i.push(parseFloat(S))),++h,T5)).split(T5);return{values:i,split:v,indexes:o,types:u}}function A5(t){return K1(t).values}function w5(t){const{split:n,types:i}=K1(t),o=n.length;return u=>{let h="";for(let g=0;g<o;g++)if(h+=n[g],u[g]!==void 0){const v=i[g];v===x5?h+=Q1(u[g]):v===S5?h+=Or.transform(u[g]):h+=u[g]}return h}}const gk=t=>typeof t=="number"?0:t;function yk(t){const n=A5(t);return w5(t)(n.map(gk))}const dm={test:dk,parse:A5,createTransformer:w5,getAnimatableNone:yk},vk=new Set(["brightness","contrast","saturate","opacity"]);function bk(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[o]=i.match(Fw)||[];if(!o)return t;const u=i.replace(o,"");let h=vk.has(n)?1:0;return o!==i&&(h*=100),n+"("+h+u+")"}const xk=/\b([a-z-]*)\(.*?\)/gu,Kw={...dm,getAnimatableNone:t=>{const n=t.match(xk);return n?n.map(bk).join(" "):t}},Sk={...Cw,color:Or,backgroundColor:Or,outlineColor:Or,fill:Or,stroke:Or,borderColor:Or,borderTopColor:Or,borderRightColor:Or,borderBottomColor:Or,borderLeftColor:Or,filter:Kw,WebkitFilter:Kw},E5=t=>Sk[t];function C5(t,n){let i=E5(t);return i!==Kw&&(i=dm),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const Tk=new Set(["auto","none","0"]);function Ak(t,n,i){let o=0,u;for(;o<t.length&&!u;){const h=t[o];typeof h=="string"&&!Tk.has(h)&&K1(h).values.length&&(u=t[o]),o++}if(u&&i)for(const h of n)t[h]=C5(i,u)}const y0=t=>t*180/Math.PI,Iw=t=>{const n=y0(Math.atan2(t[1],t[0]));return Ww(n)},wk={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Iw,rotateZ:Iw,skewX:t=>y0(Math.atan(t[1])),skewY:t=>y0(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ww=t=>(t=t%360,t<0&&(t+=360),t),D5=Iw,M5=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),O5=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Ek={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:M5,scaleY:O5,scale:t=>(M5(t)+O5(t))/2,rotateX:t=>Ww(y0(Math.atan2(t[6],t[5]))),rotateY:t=>Ww(y0(Math.atan2(-t[2],t[0]))),rotateZ:D5,rotate:D5,skewX:t=>y0(Math.atan(t[4])),skewY:t=>y0(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function R5(t){return t.includes("scale")?1:0}function Jw(t,n){if(!t||t==="none")return R5(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(i)o=Ek,u=i;else{const v=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=wk,u=v}if(!u)return R5(n);const h=o[n],g=u[1].split(",").map(Dk);return typeof h=="function"?h(g):g[h]}const Ck=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Jw(i,n)};function Dk(t){return parseFloat(t.trim())}const _5=t=>t===My||t===St,Mk=new Set(["x","y","z"]),Ok=Dy.filter(t=>!Mk.has(t));function Rk(t){const n=[];return Ok.forEach(i=>{const o=t.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const _y={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>Jw(n,"x"),y:(t,{transform:n})=>Jw(n,"y")};_y.translateX=_y.x,_y.translateY=_y.y;const v0=new Set;let eE=!1,tE=!1;function z5(){if(tE){const t=Array.from(v0).filter(o=>o.needsMeasurement),n=new Set(t.map(o=>o.element)),i=new Map;n.forEach(o=>{const u=Rk(o);u.length&&(i.set(o,u),o.render())}),t.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const u=i.get(o);u&&u.forEach(([h,g])=>{var v;(v=o.getValue(h))===null||v===void 0||v.set(g)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}tE=!1,eE=!1,v0.forEach(t=>t.complete()),v0.clear()}function N5(){v0.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tE=!0)})}function _k(){N5(),z5()}class nE{constructor(n,i,o,u,h,g=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=u,this.element=h,this.isAsync=g}scheduleResolve(){this.isScheduled=!0,this.isAsync?(v0.add(this),eE||(eE=!0,Wn.read(N5),Wn.resolveKeyframes(z5))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:u}=this;for(let h=0;h<n.length;h++)if(n[h]===null)if(h===0){const g=u==null?void 0:u.get(),v=n[n.length-1];if(g!==void 0)n[0]=g;else if(o&&i){const S=o.readValue(i,v);S!=null&&(n[0]=S)}n[0]===void 0&&(n[0]=v),u&&g===void 0&&u.set(n[0])}else n[h]=n[h-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),v0.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,v0.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const V5=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),zk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Nk(t){const n=zk.exec(t);if(!n)return[,];const[,i,o,u]=n;return[`--${i??o}`,u]}const Vk=4;function U5(t,n,i=1){um(i<=Vk,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[o,u]=Nk(t);if(!o)return;const h=window.getComputedStyle(n).getPropertyValue(o);if(h){const g=h.trim();return V5(g)?parseFloat(g):g}return Ew(u)?U5(u,n,i+1):u}const L5=t=>n=>n.test(t),j5=[My,St,Ec,fm,TH,SH,{test:t=>t==="auto",parse:t=>t}],B5=t=>j5.find(L5(t));class $5 extends nE{constructor(n,i,o,u,h){super(n,i,o,u,h,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let S=0;S<n.length;S++){let A=n[S];if(typeof A=="string"&&(A=A.trim(),Ew(A))){const w=U5(A,i.current);w!==void 0&&(n[S]=w),S===n.length-1&&(this.finalKeyframe=A)}}if(this.resolveNoneKeyframes(),!n5.has(o)||n.length!==2)return;const[u,h]=n,g=B5(u),v=B5(h);if(g!==v)if(_5(g)&&_5(v))for(let S=0;S<n.length;S++){const A=n[S];typeof A=="string"&&(n[S]=parseFloat(A))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let u=0;u<n.length;u++)sk(n[u])&&o.push(u);o.length&&Ak(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_y[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&n.getValue(o,u).jump(u,!1)}measureEndState(){var n;const{element:i,name:o,unresolvedKeyframes:u}=this;if(!i||!i.current)return;const h=i.getValue(o);h&&h.jump(this.measuredOrigin,!1);const g=u.length-1,v=u[g];u[g]=_y[o](i.measureViewportBox(),window.getComputedStyle(i.current)),v!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=v),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([S,A])=>{i.getValue(S).set(A)}),this.resolveNoneKeyframes()}}const H5=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(dm.test(t)||t==="0")&&!t.startsWith("url("));function Uk(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function Lk(t,n,i,o){const u=t[0];if(u===null)return!1;if(n==="display"||n==="visibility")return!0;const h=t[t.length-1],g=H5(u,n),v=H5(h,n);return wy(g===v,`You are trying to animate ${n} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`),!g||!v?!1:Uk(t)||(i==="spring"||kw(i))&&o}const jk=t=>t!==null;function Ix(t,{repeat:n,repeatType:i="loop"},o){const u=t.filter(jk),h=n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||o===void 0?u[h]:o}const Bk=40;class k5{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:u=0,repeatDelay:h=0,repeatType:g="loop",...v}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Cc.now(),this.options={autoplay:n,delay:i,type:o,repeat:u,repeatDelay:h,repeatType:g,...v},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Bk?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&_k(),this._resolved}onKeyframesResolved(n,i){this.resolvedAt=Cc.now(),this.hasAttemptedResolve=!0;const{name:o,type:u,velocity:h,delay:g,onComplete:v,onUpdate:S,isGenerator:A}=this.options;if(!A&&!Lk(n,o,u,h))if(g)this.options.duration=0;else{S&&S(Ix(n,this.options,i)),v&&v(),this.resolveFinishedPromise();return}const w=this.initPlayback(n,i);w!==!1&&(this._resolved={keyframes:n,finalKeyframe:i,...w},this.onPostResolved())}onPostResolved(){}then(n,i){return this.currentFinishedPromise.then(n,i)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const aE=2e4;function P5(t){let n=0;const i=50;let o=t.next(n);for(;!o.done&&n<aE;)n+=i,o=t.next(n);return n>=aE?1/0:n}const Ea=(t,n,i)=>t+(n-t)*i;function iE(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function $k({hue:t,saturation:n,lightness:i,alpha:o}){t/=360,n/=100,i/=100;let u=0,h=0,g=0;if(!n)u=h=g=i;else{const v=i<.5?i*(1+n):i+n-i*n,S=2*i-v;u=iE(S,v,t+1/3),h=iE(S,v,t),g=iE(S,v,t-1/3)}return{red:Math.round(u*255),green:Math.round(h*255),blue:Math.round(g*255),alpha:o}}function Wx(t,n){return i=>i>0?n:t}const rE=(t,n,i)=>{const o=t*t,u=i*(n*n-o)+o;return u<0?0:Math.sqrt(u)},Hk=[Qw,g0,Ry],kk=t=>Hk.find(n=>n.test(t));function Y5(t){const n=kk(t);if(wy(!!n,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!n)return!1;let i=n.parse(t);return n===Ry&&(i=$k(i)),i}const q5=(t,n)=>{const i=Y5(t),o=Y5(n);if(!i||!o)return Wx(t,n);const u={...i};return h=>(u.red=rE(i.red,o.red,h),u.green=rE(i.green,o.green,h),u.blue=rE(i.blue,o.blue,h),u.alpha=Ea(i.alpha,o.alpha,h),g0.transform(u))},Pk=(t,n)=>i=>n(t(i)),I1=(...t)=>t.reduce(Pk),sE=new Set(["none","hidden"]);function Yk(t,n){return sE.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function qk(t,n){return i=>Ea(t,n,i)}function oE(t){return typeof t=="number"?qk:typeof t=="string"?Ew(t)?Wx:Or.test(t)?q5:Xk:Array.isArray(t)?G5:typeof t=="object"?Or.test(t)?q5:Gk:Wx}function G5(t,n){const i=[...t],o=i.length,u=t.map((h,g)=>oE(h)(h,n[g]));return h=>{for(let g=0;g<o;g++)i[g]=u[g](h);return i}}function Gk(t,n){const i={...t,...n},o={};for(const u in i)t[u]!==void 0&&n[u]!==void 0&&(o[u]=oE(t[u])(t[u],n[u]));return u=>{for(const h in o)i[h]=o[h](u);return i}}function Fk(t,n){var i;const o=[],u={color:0,var:0,number:0};for(let h=0;h<n.values.length;h++){const g=n.types[h],v=t.indexes[g][u[g]],S=(i=t.values[v])!==null&&i!==void 0?i:0;o[h]=S,u[g]++}return o}const Xk=(t,n)=>{const i=dm.createTransformer(n),o=K1(t),u=K1(n);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?sE.has(t)&&!u.values.length||sE.has(n)&&!o.values.length?Yk(t,n):I1(G5(Fk(o,u),u.values),i):(wy(!0,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Wx(t,n))};function F5(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?Ea(t,n,i):oE(t)(t,n)}const Zk=5;function X5(t,n,i){const o=Math.max(n-Zk,0);return a5(i-t(o),n-o)}const Ca={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Z5=.001;function Qk({duration:t=Ca.duration,bounce:n=Ca.bounce,velocity:i=Ca.velocity,mass:o=Ca.mass}){let u,h;wy(t<=Dc(Ca.maxDuration),"Spring duration must be 10 seconds or less");let g=1-n;g=rd(Ca.minDamping,Ca.maxDamping,g),t=rd(Ca.minDuration,Ca.maxDuration,sd(t)),g<1?(u=A=>{const w=A*g,C=w*t,M=w-i,R=lE(A,g),V=Math.exp(-C);return Z5-M/R*V},h=A=>{const C=A*g*t,M=C*i+i,R=Math.pow(g,2)*Math.pow(A,2)*t,V=Math.exp(-C),L=lE(Math.pow(A,2),g);return(-u(A)+Z5>0?-1:1)*((M-R)*V)/L}):(u=A=>{const w=Math.exp(-A*t),C=(A-i)*t+1;return-.001+w*C},h=A=>{const w=Math.exp(-A*t),C=(i-A)*(t*t);return w*C});const v=5/t,S=Ik(u,h,v);if(t=Dc(t),isNaN(S))return{stiffness:Ca.stiffness,damping:Ca.damping,duration:t};{const A=Math.pow(S,2)*o;return{stiffness:A,damping:g*2*Math.sqrt(o*A),duration:t}}}const Kk=12;function Ik(t,n,i){let o=i;for(let u=1;u<Kk;u++)o=o-t(o)/n(o);return o}function lE(t,n){return t*Math.sqrt(1-n*n)}const Wk=["duration","bounce"],Jk=["stiffness","damping","mass"];function Q5(t,n){return n.some(i=>t[i]!==void 0)}function eP(t){let n={velocity:Ca.velocity,stiffness:Ca.stiffness,damping:Ca.damping,mass:Ca.mass,isResolvedFromDuration:!1,...t};if(!Q5(t,Jk)&&Q5(t,Wk))if(t.visualDuration){const i=t.visualDuration,o=2*Math.PI/(i*1.2),u=o*o,h=2*rd(.05,1,1-(t.bounce||0))*Math.sqrt(u);n={...n,mass:Ca.mass,stiffness:u,damping:h}}else{const i=Qk(t);n={...n,...i,mass:Ca.mass},n.isResolvedFromDuration=!0}return n}function K5(t=Ca.visualDuration,n=Ca.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:o,restDelta:u}=i;const h=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],v={done:!1,value:h},{stiffness:S,damping:A,mass:w,duration:C,velocity:M,isResolvedFromDuration:R}=eP({...i,velocity:-sd(i.velocity||0)}),V=M||0,L=A/(2*Math.sqrt(S*w)),P=g-h,U=sd(Math.sqrt(S/w)),q=Math.abs(P)<5;o||(o=q?Ca.restSpeed.granular:Ca.restSpeed.default),u||(u=q?Ca.restDelta.granular:Ca.restDelta.default);let F;if(L<1){const H=lE(U,L);F=le=>{const be=Math.exp(-L*U*le);return g-be*((V+L*U*P)/H*Math.sin(H*le)+P*Math.cos(H*le))}}else if(L===1)F=H=>g-Math.exp(-U*H)*(P+(V+U*P)*H);else{const H=U*Math.sqrt(L*L-1);F=le=>{const be=Math.exp(-L*U*le),de=Math.min(H*le,300);return g-be*((V+L*U*P)*Math.sinh(de)+H*P*Math.cosh(de))/H}}const ae={calculatedDuration:R&&C||null,next:H=>{const le=F(H);if(R)v.done=H>=C;else{let be=0;L<1&&(be=H===0?Dc(V):X5(F,H,le));const de=Math.abs(be)<=o,Ue=Math.abs(g-le)<=u;v.done=de&&Ue}return v.value=v.done?g:le,v},toString:()=>{const H=Math.min(P5(ae),aE),le=o5(be=>ae.next(H*be).value,H,30);return H+"ms "+le}};return ae}function I5({keyframes:t,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:h=500,modifyTarget:g,min:v,max:S,restDelta:A=.5,restSpeed:w}){const C=t[0],M={done:!1,value:C},R=de=>v!==void 0&&de<v||S!==void 0&&de>S,V=de=>v===void 0?S:S===void 0||Math.abs(v-de)<Math.abs(S-de)?v:S;let L=i*n;const P=C+L,U=g===void 0?P:g(P);U!==P&&(L=U-C);const q=de=>-L*Math.exp(-de/o),F=de=>U+q(de),ae=de=>{const Ue=q(de),De=F(de);M.done=Math.abs(Ue)<=A,M.value=M.done?U:De};let H,le;const be=de=>{R(M.value)&&(H=de,le=K5({keyframes:[M.value,V(M.value)],velocity:X5(F,de,M.value),damping:u,stiffness:h,restDelta:A,restSpeed:w}))};return be(0),{calculatedDuration:null,next:de=>{let Ue=!1;return!le&&H===void 0&&(Ue=!0,ae(de),be(de)),H!==void 0&&de>=H?le.next(de-H):(!Ue&&ae(de),M)}}}const tP=Z1(.42,0,1,1),nP=Z1(0,0,.58,1),W5=Z1(.42,0,.58,1),aP=t=>Array.isArray(t)&&typeof t[0]!="number",J5={linear:Rs,easeIn:tP,easeInOut:W5,easeOut:nP,circIn:Gw,circInOut:y5,circOut:g5,backIn:qw,backInOut:m5,backOut:h5,anticipate:p5},eR=t=>{if(Pw(t)){um(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[n,i,o,u]=t;return Z1(n,i,o,u)}else if(typeof t=="string")return um(J5[t]!==void 0,`Invalid easing type '${t}'`),J5[t];return t};function iP(t,n,i){const o=[],u=i||F5,h=t.length-1;for(let g=0;g<h;g++){let v=u(t[g],t[g+1]);if(n){const S=Array.isArray(n)?n[g]||Rs:n;v=I1(S,v)}o.push(v)}return o}function rP(t,n,{clamp:i=!0,ease:o,mixer:u}={}){const h=t.length;if(um(h===n.length,"Both input and output ranges must be the same length"),h===1)return()=>n[0];if(h===2&&n[0]===n[1])return()=>n[1];const g=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),n=[...n].reverse());const v=iP(n,o,u),S=v.length,A=w=>{if(g&&w<t[0])return n[0];let C=0;if(S>1)for(;C<t.length-2&&!(w<t[C+1]);C++);const M=Oy(t[C],t[C+1],w);return v[C](M)};return i?w=>A(rd(t[0],t[h-1],w)):A}function sP(t,n){const i=t[t.length-1];for(let o=1;o<=n;o++){const u=Oy(0,n,o);t.push(Ea(i,1,u))}}function oP(t){const n=[0];return sP(n,t.length-1),n}function lP(t,n){return t.map(i=>i*n)}function uP(t,n){return t.map(()=>n||W5).splice(0,t.length-1)}function W1({duration:t=300,keyframes:n,times:i,ease:o="easeInOut"}){const u=aP(o)?o.map(eR):eR(o),h={done:!1,value:n[0]},g=lP(i&&i.length===n.length?i:oP(n),t),v=rP(g,n,{ease:Array.isArray(u)?u:uP(n,u)});return{calculatedDuration:t,next:S=>(h.value=v(S),h.done=S>=t,h)}}const cP=t=>{const n=({timestamp:i})=>t(i);return{start:()=>Wn.update(n,!0),stop:()=>cm(n),now:()=>ur.isProcessing?ur.timestamp:Cc.now()}};var fP={};const dP={decay:I5,inertia:I5,tween:W1,keyframes:W1,spring:K5},hP=t=>t/100;class uE extends k5{constructor(n){super(n),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:S}=this.options;S&&S()};const{name:i,motionValue:o,element:u,keyframes:h}=this.options,g=(u==null?void 0:u.KeyframeResolver)||nE,v=(S,A)=>this.onKeyframesResolved(S,A);this.resolver=new g(h,v,i,o,u),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:i="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:h,velocity:g=0}=this.options,v=kw(i)?i:dP[i]||W1;let S,A;fP.NODE_ENV!=="production"&&v!==W1&&um(n.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${n}`),v!==W1&&typeof n[0]!="number"&&(S=I1(hP,F5(n[0],n[1])),n=[0,100]);const w=v({...this.options,keyframes:n});h==="mirror"&&(A=v({...this.options,keyframes:[...n].reverse(),velocity:-g})),w.calculatedDuration===null&&(w.calculatedDuration=P5(w));const{calculatedDuration:C}=w,M=C+u,R=M*(o+1)-u;return{generator:w,mirroredGenerator:A,mapPercentToKeyframes:S,calculatedDuration:C,resolvedDuration:M,totalDuration:R}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,i=!1){const{resolved:o}=this;if(!o){const{keyframes:de}=this.options;return{done:!0,value:de[de.length-1]}}const{finalKeyframe:u,generator:h,mirroredGenerator:g,mapPercentToKeyframes:v,keyframes:S,calculatedDuration:A,totalDuration:w,resolvedDuration:C}=o;if(this.startTime===null)return h.next(0);const{delay:M,repeat:R,repeatType:V,repeatDelay:L,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-w/this.speed,this.startTime)),i?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const U=this.currentTime-M*(this.speed>=0?1:-1),q=this.speed>=0?U<0:U>w;this.currentTime=Math.max(U,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=w);let F=this.currentTime,ae=h;if(R){const de=Math.min(this.currentTime,w)/C;let Ue=Math.floor(de),De=de%1;!De&&de>=1&&(De=1),De===1&&Ue--,Ue=Math.min(Ue,R+1),!!(Ue%2)&&(V==="reverse"?(De=1-De,L&&(De-=L/C)):V==="mirror"&&(ae=g)),F=rd(0,1,De)*C}const H=q?{done:!1,value:S[0]}:ae.next(F);v&&(H.value=v(H.value));let{done:le}=H;!q&&A!==null&&(le=this.speed>=0?this.currentTime>=w:this.currentTime<=0);const be=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&le);return be&&u!==void 0&&(H.value=Ix(S,this.options,u)),P&&P(H.value),be&&this.finish(),H}get duration(){const{resolved:n}=this;return n?sd(n.calculatedDuration):0}get time(){return sd(this.currentTime)}set time(n){n=Dc(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=sd(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=cP,onPlay:i,startTime:o}=this.options;this.driver||(this.driver=n(h=>this.tick(h))),i&&i();const u=this.driver.now();this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=u):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}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(n){return this.startTime=0,this.tick(n,!0)}}const mP=new Set(["opacity","clipPath","filter","transform"]);function pP(t,n,i,{delay:o=0,duration:u=300,repeat:h=0,repeatType:g="loop",ease:v="easeInOut",times:S}={}){const A={[n]:i};S&&(A.offset=S);const w=u5(v,u);return Array.isArray(w)&&(A.easing=w),t.animate(A,{delay:o,duration:u,easing:Array.isArray(w)?"linear":w,fill:"both",iterations:h+1,direction:g==="reverse"?"alternate":"normal"})}const gP=Hw(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Jx=10,yP=2e4;function vP(t){return kw(t.type)||t.type==="spring"||!l5(t.ease)}function bP(t,n){const i=new uE({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:t[0]};const u=[];let h=0;for(;!o.done&&h<yP;)o=i.sample(h),u.push(o.value),h+=Jx;return{times:void 0,keyframes:u,duration:h-Jx,ease:"linear"}}const tR={anticipate:p5,backInOut:m5,circInOut:y5};function xP(t){return t in tR}class nR extends k5{constructor(n){super(n);const{name:i,motionValue:o,element:u,keyframes:h}=this.options;this.resolver=new $5(h,(g,v)=>this.onKeyframesResolved(g,v),i,o,u),this.resolver.scheduleResolve()}initPlayback(n,i){let{duration:o=300,times:u,ease:h,type:g,motionValue:v,name:S,startTime:A}=this.options;if(!v.owner||!v.owner.current)return!1;if(typeof h=="string"&&Kx()&&xP(h)&&(h=tR[h]),vP(this.options)){const{onComplete:C,onUpdate:M,motionValue:R,element:V,...L}=this.options,P=bP(n,L);n=P.keyframes,n.length===1&&(n[1]=n[0]),o=P.duration,u=P.times,h=P.ease,g="keyframes"}const w=pP(v.owner.current,S,n,{...this.options,duration:o,times:u,ease:h});return w.startTime=A??this.calcStartTime(),this.pendingTimeline?(s5(w,this.pendingTimeline),this.pendingTimeline=void 0):w.onfinish=()=>{const{onComplete:C}=this.options;v.set(Ix(n,this.options,i)),C&&C(),this.cancel(),this.resolveFinishedPromise()},{animation:w,duration:o,times:u,type:g,ease:h,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:i}=n;return sd(i)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:i}=n;return sd(i.currentTime||0)}set time(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.currentTime=Dc(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:i}=n;return i.playbackRate}set speed(n){const{resolved:i}=this;if(!i)return;const{animation:o}=i;o.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:i}=n;return i.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:i}=n;return i.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:i}=this;if(!i)return Rs;const{animation:o}=i;s5(o,n)}return Rs}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:i,keyframes:o,duration:u,type:h,ease:g,times:v}=n;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:A,onUpdate:w,onComplete:C,element:M,...R}=this.options,V=new uE({...R,keyframes:o,duration:u,type:h,ease:g,times:v,isGenerator:!0}),L=Dc(this.time);A.setWithVelocity(V.sample(L-Jx).value,V.sample(L).value,Jx)}const{onStop:S}=this.options;S&&S(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:i,name:o,repeatDelay:u,repeatType:h,damping:g,type:v}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:S,transformTemplate:A}=i.owner.getProps();return gP()&&o&&mP.has(o)&&(o!=="transform"||!A)&&!S&&!u&&h!=="mirror"&&g!==0&&v!=="inertia"}}const SP={type:"spring",stiffness:500,damping:25,restSpeed:10},TP=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),AP={type:"keyframes",duration:.8},wP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},EP=(t,{keyframes:n})=>n.length>2?AP:p0.has(t)?t.startsWith("scale")?TP(n[1]):SP:wP;function CP({when:t,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:u,repeat:h,repeatType:g,repeatDelay:v,from:S,elapsed:A,...w}){return!!Object.keys(w).length}const cE=(t,n,i,o={},u,h)=>g=>{const v=Uw(o,t)||{},S=v.delay||o.delay||0;let{elapsed:A=0}=o;A=A-Dc(S);let w={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...v,delay:-A,onUpdate:M=>{n.set(M),v.onUpdate&&v.onUpdate(M)},onComplete:()=>{g(),v.onComplete&&v.onComplete()},name:t,motionValue:n,element:h?void 0:u};CP(v)||(w={...w,...EP(t,w)}),w.duration&&(w.duration=Dc(w.duration)),w.repeatDelay&&(w.repeatDelay=Dc(w.repeatDelay)),w.from!==void 0&&(w.keyframes[0]=w.from);let C=!1;if((w.type===!1||w.duration===0&&!w.repeatDelay)&&(w.duration=0,w.delay===0&&(C=!0)),w.allowFlatten=!v.type&&!v.ease,C&&!h&&n.get()!==void 0){const M=Ix(w.keyframes,v);if(M!==void 0)return Wn.update(()=>{w.onUpdate(M),w.onComplete()}),new ek([])}return!h&&nR.supports(w)?new nR(w):new uE(w)};function DP({protectedKeys:t,needsAnimating:n},i){const o=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function aR(t,n,{delay:i=0,transitionOverride:o,type:u}={}){var h;let{transition:g=t.getDefaultTransition(),transitionEnd:v,...S}=n;o&&(g=o);const A=[],w=u&&t.animationState&&t.animationState.getState()[u];for(const C in S){const M=t.getValue(C,(h=t.latestValues[C])!==null&&h!==void 0?h:null),R=S[C];if(R===void 0||w&&DP(w,C))continue;const V={delay:i,...Uw(g||{},C)};let L=!1;if(window.MotionHandoffAnimation){const U=r5(t);if(U){const q=window.MotionHandoffAnimation(U,C,Wn);q!==null&&(V.startTime=q,L=!0)}}$w(t,C),M.start(cE(C,M,R,t.shouldReduceMotion&&n5.has(C)?{type:!1}:V,t,L));const P=M.animation;P&&A.push(P)}return v&&Promise.all(A).then(()=>{Wn.update(()=>{v&&KH(t,v)})}),A}function fE(t,n,i={}){var o;const u=G1(t,n,i.type==="exit"?(o=t.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:h=t.getDefaultTransition()||{}}=u||{};i.transitionOverride&&(h=i.transitionOverride);const g=u?()=>Promise.all(aR(t,u,i)):()=>Promise.resolve(),v=t.variantChildren&&t.variantChildren.size?(A=0)=>{const{delayChildren:w=0,staggerChildren:C,staggerDirection:M}=h;return MP(t,n,w+A,C,M,i)}:()=>Promise.resolve(),{when:S}=h;if(S){const[A,w]=S==="beforeChildren"?[g,v]:[v,g];return A().then(()=>w())}else return Promise.all([g(),v(i.delay)])}function MP(t,n,i=0,o=0,u=1,h){const g=[],v=(t.variantChildren.size-1)*o,S=u===1?(A=0)=>A*o:(A=0)=>v-A*o;return Array.from(t.variantChildren).sort(OP).forEach((A,w)=>{A.notify("AnimationStart",n),g.push(fE(A,n,{...h,delay:i+S(w)}).then(()=>A.notify("AnimationComplete",n)))}),Promise.all(g)}function OP(t,n){return t.sortNodePosition(n)}function RP(t,n,i={}){t.notify("AnimationStart",n);let o;if(Array.isArray(n)){const u=n.map(h=>fE(t,h,i));o=Promise.all(u)}else if(typeof n=="string")o=fE(t,n,i);else{const u=typeof n=="function"?G1(t,n,i.custom):n;o=Promise.all(aR(t,u,i))}return o.then(()=>{t.notify("AnimationComplete",n)})}function iR(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(n[o]!==t[o])return!1;return!0}const _P=Sw.length;function rR(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?rR(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<_P;i++){const o=Sw[i],u=t.props[o];(k1(u)||u===!1)&&(n[o]=u)}return n}const zP=[...xw].reverse(),NP=xw.length;function VP(t){return n=>Promise.all(n.map(({animation:i,options:o})=>RP(t,i,o)))}function UP(t){let n=VP(t),i=sR(),o=!0;const u=S=>(A,w)=>{var C;const M=G1(t,w,S==="exit"?(C=t.presenceContext)===null||C===void 0?void 0:C.custom:void 0);if(M){const{transition:R,transitionEnd:V,...L}=M;A={...A,...L,...V}}return A};function h(S){n=S(t)}function g(S){const{props:A}=t,w=rR(t.parent)||{},C=[],M=new Set;let R={},V=1/0;for(let P=0;P<NP;P++){const U=zP[P],q=i[U],F=A[U]!==void 0?A[U]:w[U],ae=k1(F),H=U===S?q.isActive:null;H===!1&&(V=P);let le=F===w[U]&&F!==A[U]&&ae;if(le&&o&&t.manuallyAnimateOnMount&&(le=!1),q.protectedKeys={...R},!q.isActive&&H===null||!F&&!q.prevProp||Gx(F)||typeof F=="boolean")continue;const be=LP(q.prevProp,F);let de=be||U===S&&q.isActive&&!le&&ae||P>V&&ae,Ue=!1;const De=Array.isArray(F)?F:[F];let $e=De.reduce(u(U),{});H===!1&&($e={});const{prevResolvedValues:ke={}}=q,We={...ke,...$e},et=W=>{de=!0,M.has(W)&&(Ue=!0,M.delete(W)),q.needsAnimating[W]=!0;const ce=t.getValue(W);ce&&(ce.liveStyle=!1)};for(const W in We){const ce=$e[W],Ae=ke[W];if(R.hasOwnProperty(W))continue;let Be=!1;Nw(ce)&&Nw(Ae)?Be=!iR(ce,Ae):Be=ce!==Ae,Be?ce!=null?et(W):M.add(W):ce!==void 0&&M.has(W)?et(W):q.protectedKeys[W]=!0}q.prevProp=F,q.prevResolvedValues=$e,q.isActive&&(R={...R,...$e}),o&&t.blockInitialAnimation&&(de=!1),de&&(!(le&&be)||Ue)&&C.push(...De.map(W=>({animation:W,options:{type:U}})))}if(M.size){const P={};if(typeof A.initial!="boolean"){const U=G1(t,Array.isArray(A.initial)?A.initial[0]:A.initial);U&&U.transition&&(P.transition=U.transition)}M.forEach(U=>{const q=t.getBaseTarget(U),F=t.getValue(U);F&&(F.liveStyle=!0),P[U]=q??null}),C.push({animation:P})}let L=!!C.length;return o&&(A.initial===!1||A.initial===A.animate)&&!t.manuallyAnimateOnMount&&(L=!1),o=!1,L?n(C):Promise.resolve()}function v(S,A){var w;if(i[S].isActive===A)return Promise.resolve();(w=t.variantChildren)===null||w===void 0||w.forEach(M=>{var R;return(R=M.animationState)===null||R===void 0?void 0:R.setActive(S,A)}),i[S].isActive=A;const C=g(S);for(const M in i)i[M].protectedKeys={};return C}return{animateChanges:g,setActive:v,setAnimateFunction:h,getState:()=>i,reset:()=>{i=sR(),o=!0}}}function LP(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!iR(n,t):!1}function b0(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sR(){return{animate:b0(!0),whileInView:b0(),whileHover:b0(),whileTap:b0(),whileDrag:b0(),whileFocus:b0(),exit:b0()}}class hm{constructor(n){this.isMounted=!1,this.node=n}update(){}}class jP extends hm{constructor(n){super(n),n.animationState||(n.animationState=UP(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Gx(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let BP=0;class $P extends hm{constructor(){super(...arguments),this.id=BP++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const u=this.node.animationState.setActive("exit",!n);i&&!n&&u.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const HP={animation:{Feature:jP},exit:{Feature:$P}},xu={x:!1,y:!1};function oR(){return xu.x||xu.y}function kP(t){return t==="x"||t==="y"?xu[t]?null:(xu[t]=!0,()=>{xu[t]=!1}):xu.x||xu.y?null:(xu.x=xu.y=!0,()=>{xu.x=xu.y=!1})}function J1(t,n,i,o={passive:!0}){return t.addEventListener(n,i,o),()=>t.removeEventListener(n,i)}const dE=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function eb(t){return{point:{x:t.pageX,y:t.pageY}}}const PP=t=>n=>dE(n)&&t(n,eb(n));function tb(t,n,i,o){return J1(t,n,PP(i),o)}function lR({top:t,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:t,max:o}}}function YP({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function qP(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}const uR=1e-4,GP=1-uR,FP=1+uR,cR=.01,XP=0-cR,ZP=0+cR;function ts(t){return t.max-t.min}function QP(t,n,i){return Math.abs(t-n)<=i}function fR(t,n,i,o=.5){t.origin=o,t.originPoint=Ea(n.min,n.max,t.origin),t.scale=ts(i)/ts(n),t.translate=Ea(i.min,i.max,t.origin)-t.originPoint,(t.scale>=GP&&t.scale<=FP||isNaN(t.scale))&&(t.scale=1),(t.translate>=XP&&t.translate<=ZP||isNaN(t.translate))&&(t.translate=0)}function nb(t,n,i,o){fR(t.x,n.x,i.x,o?o.originX:void 0),fR(t.y,n.y,i.y,o?o.originY:void 0)}function dR(t,n,i){t.min=i.min+n.min,t.max=t.min+ts(n)}function KP(t,n,i){dR(t.x,n.x,i.x),dR(t.y,n.y,i.y)}function hR(t,n,i){t.min=n.min-i.min,t.max=t.min+ts(n)}function ab(t,n,i){hR(t.x,n.x,i.x),hR(t.y,n.y,i.y)}const mR=()=>({translate:0,scale:1,origin:0,originPoint:0}),zy=()=>({x:mR(),y:mR()}),pR=()=>({min:0,max:0}),Ka=()=>({x:pR(),y:pR()});function sl(t){return[t("x"),t("y")]}function hE(t){return t===void 0||t===1}function mE({scale:t,scaleX:n,scaleY:i}){return!hE(t)||!hE(n)||!hE(i)}function x0(t){return mE(t)||gR(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function gR(t){return yR(t.x)||yR(t.y)}function yR(t){return t&&t!=="0%"}function eS(t,n,i){const o=t-i,u=n*o;return i+u}function vR(t,n,i,o,u){return u!==void 0&&(t=eS(t,u,o)),eS(t,i,o)+n}function pE(t,n=0,i=1,o,u){t.min=vR(t.min,n,i,o,u),t.max=vR(t.max,n,i,o,u)}function bR(t,{x:n,y:i}){pE(t.x,n.translate,n.scale,n.originPoint),pE(t.y,i.translate,i.scale,i.originPoint)}const xR=.999999999999,SR=1.0000000000001;function IP(t,n,i,o=!1){const u=i.length;if(!u)return;n.x=n.y=1;let h,g;for(let v=0;v<u;v++){h=i[v],g=h.projectionDelta;const{visualElement:S}=h.options;S&&S.props.style&&S.props.style.display==="contents"||(o&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Vy(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),g&&(n.x*=g.x.scale,n.y*=g.y.scale,bR(t,g)),o&&x0(h.latestValues)&&Vy(t,h.latestValues))}n.x<SR&&n.x>xR&&(n.x=1),n.y<SR&&n.y>xR&&(n.y=1)}function Ny(t,n){t.min=t.min+n,t.max=t.max+n}function TR(t,n,i,o,u=.5){const h=Ea(t.min,t.max,u);pE(t,n,i,h,o)}function Vy(t,n){TR(t.x,n.x,n.scaleX,n.scale,n.originX),TR(t.y,n.y,n.scaleY,n.scale,n.originY)}function AR(t,n){return lR(qP(t.getBoundingClientRect(),n))}function WP(t,n,i){const o=AR(t,i),{scroll:u}=n;return u&&(Ny(o.x,u.offset.x),Ny(o.y,u.offset.y)),o}const wR=({current:t})=>t?t.ownerDocument.defaultView:null,ER=(t,n)=>Math.abs(t-n);function JP(t,n){const i=ER(t.x,n.x),o=ER(t.y,n.y);return Math.sqrt(i**2+o**2)}class CR{constructor(n,i,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:h=!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 C=yE(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,R=JP(C.offset,{x:0,y:0})>=3;if(!M&&!R)return;const{point:V}=C,{timestamp:L}=ur;this.history.push({...V,timestamp:L});const{onStart:P,onMove:U}=this.handlers;M||(P&&P(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,C)},this.handlePointerMove=(C,M)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=gE(M,this.transformPagePoint),Wn.update(this.updatePoint,!0)},this.handlePointerUp=(C,M)=>{this.end();const{onEnd:R,onSessionEnd:V,resumeAnimation:L}=this.handlers;if(this.dragSnapToOrigin&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=yE(C.type==="pointercancel"?this.lastMoveEventInfo:gE(M,this.transformPagePoint),this.history);this.startEvent&&R&&R(C,P),V&&V(C,P)},!dE(n))return;this.dragSnapToOrigin=h,this.handlers=i,this.transformPagePoint=o,this.contextWindow=u||window;const g=eb(n),v=gE(g,this.transformPagePoint),{point:S}=v,{timestamp:A}=ur;this.history=[{...S,timestamp:A}];const{onSessionStart:w}=i;w&&w(n,yE(v,this.history)),this.removeListeners=I1(tb(this.contextWindow,"pointermove",this.handlePointerMove),tb(this.contextWindow,"pointerup",this.handlePointerUp),tb(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),cm(this.updatePoint)}}function gE(t,n){return n?{point:n(t.point)}:t}function DR(t,n){return{x:t.x-n.x,y:t.y-n.y}}function yE({point:t},n){return{point:t,delta:DR(t,MR(n)),offset:DR(t,eY(n)),velocity:tY(n,.1)}}function eY(t){return t[0]}function MR(t){return t[t.length-1]}function tY(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null;const u=MR(t);for(;i>=0&&(o=t[i],!(u.timestamp-o.timestamp>Dc(n)));)i--;if(!o)return{x:0,y:0};const h=sd(u.timestamp-o.timestamp);if(h===0)return{x:0,y:0};const g={x:(u.x-o.x)/h,y:(u.y-o.y)/h};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function nY(t,{min:n,max:i},o){return n!==void 0&&t<n?t=o?Ea(n,t,o.min):Math.max(t,n):i!==void 0&&t>i&&(t=o?Ea(i,t,o.max):Math.min(t,i)),t}function OR(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function aY(t,{top:n,left:i,bottom:o,right:u}){return{x:OR(t.x,i,u),y:OR(t.y,n,o)}}function RR(t,n){let i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function iY(t,n){return{x:RR(t.x,n.x),y:RR(t.y,n.y)}}function rY(t,n){let i=.5;const o=ts(t),u=ts(n);return u>o?i=Oy(n.min,n.max-o,t.min):o>u&&(i=Oy(t.min,t.max-u,n.min)),rd(0,1,i)}function sY(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const vE=.35;function oY(t=vE){return t===!1?t=0:t===!0&&(t=vE),{x:_R(t,"left","right"),y:_R(t,"top","bottom")}}function _R(t,n,i){return{min:zR(t,n),max:zR(t,i)}}function zR(t,n){return typeof t=="number"?t:t[n]||0}const lY=new WeakMap;class uY{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ka(),this.visualElement=n}start(n,{snapToCursor:i=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=w=>{const{dragSnapToOrigin:C}=this.getProps();C?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(eb(w).point)},h=(w,C)=>{const{drag:M,dragPropagation:R,onDragStart:V}=this.getProps();if(M&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=kP(M),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sl(P=>{let U=this.getAxisMotionValue(P).get()||0;if(Ec.test(U)){const{projection:q}=this.visualElement;if(q&&q.layout){const F=q.layout.layoutBox[P];F&&(U=ts(F)*(parseFloat(U)/100))}}this.originPoint[P]=U}),V&&Wn.postRender(()=>V(w,C)),$w(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},g=(w,C)=>{const{dragPropagation:M,dragDirectionLock:R,onDirectionLock:V,onDrag:L}=this.getProps();if(!M&&!this.openDragLock)return;const{offset:P}=C;if(R&&this.currentDirection===null){this.currentDirection=cY(P),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",C.point,P),this.updateAxis("y",C.point,P),this.visualElement.render(),L&&L(w,C)},v=(w,C)=>this.stop(w,C),S=()=>sl(w=>{var C;return this.getAnimationState(w)==="paused"&&((C=this.getAxisMotionValue(w).animation)===null||C===void 0?void 0:C.play())}),{dragSnapToOrigin:A}=this.getProps();this.panSession=new CR(n,{onSessionStart:u,onStart:h,onMove:g,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,contextWindow:wR(this.visualElement)})}stop(n,i){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=i;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&Wn.postRender(()=>h(n,i))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,o){const{drag:u}=this.getProps();if(!o||!tS(n,u,this.currentDirection))return;const h=this.getAxisMotionValue(n);let g=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(g=nY(g,this.constraints[n],this.elastic[n])),h.set(g)}resolveConstraints(){var n;const{dragConstraints:i,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,h=this.constraints;i&&Cy(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&u?this.constraints=aY(u.layoutBox,i):this.constraints=!1,this.elastic=oY(o),h!==this.constraints&&u&&this.constraints&&!this.hasMutatedConstraints&&sl(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=sY(u.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Cy(n))return!1;const o=n.current;um(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const h=WP(o,u.root,this.visualElement.getTransformPagePoint());let g=iY(u.layout.layoutBox,h);if(i){const v=i(YP(g));this.hasMutatedConstraints=!!v,v&&(g=lR(v))}return g}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:u,dragTransition:h,dragSnapToOrigin:g,onDragTransitionEnd:v}=this.getProps(),S=this.constraints||{},A=sl(w=>{if(!tS(w,i,this.currentDirection))return;let C=S&&S[w]||{};g&&(C={min:0,max:0});const M=u?200:1e6,R=u?40:1e7,V={type:"inertia",velocity:o?n[w]:0,bounceStiffness:M,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...h,...C};return this.startAxisValueAnimation(w,V)});return Promise.all(A).then(v)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return $w(this.visualElement,n),o.start(cE(n,o,0,i,this.visualElement,!1))}stopAnimation(){sl(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){sl(n=>{var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),u=o[i];return u||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){sl(i=>{const{drag:o}=this.getProps();if(!tS(i,o,this.currentDirection))return;const{projection:u}=this.visualElement,h=this.getAxisMotionValue(i);if(u&&u.layout){const{min:g,max:v}=u.layout.layoutBox[i];h.set(n[i]-Ea(g,v,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!Cy(i)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};sl(g=>{const v=this.getAxisMotionValue(g);if(v&&this.constraints!==!1){const S=v.get();u[g]=rY({min:S,max:S},this.constraints[g])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),sl(g=>{if(!tS(g,n,null))return;const v=this.getAxisMotionValue(g),{min:S,max:A}=this.constraints[g];v.set(Ea(S,A,u[g]))})}addListeners(){if(!this.visualElement.current)return;lY.set(this.visualElement,this);const n=this.visualElement.current,i=tb(n,"pointerdown",S=>{const{drag:A,dragListener:w=!0}=this.getProps();A&&w&&this.start(S)}),o=()=>{const{dragConstraints:S}=this.getProps();Cy(S)&&S.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,h=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Wn.read(o);const g=J1(window,"resize",()=>this.scalePositionWithinConstraints()),v=u.addEventListener("didUpdate",({delta:S,hasLayoutChanged:A})=>{this.isDragging&&A&&(sl(w=>{const C=this.getAxisMotionValue(w);C&&(this.originPoint[w]+=S[w].translate,C.set(C.get()+S[w].translate))}),this.visualElement.render())});return()=>{g(),i(),h(),v&&v()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:h=!1,dragElastic:g=vE,dragMomentum:v=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:u,dragConstraints:h,dragElastic:g,dragMomentum:v}}}function tS(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function cY(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class fY extends hm{constructor(n){super(n),this.removeGroupControls=Rs,this.removeListeners=Rs,this.controls=new uY(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rs}unmount(){this.removeGroupControls(),this.removeListeners()}}const NR=t=>(n,i)=>{t&&Wn.postRender(()=>t(n,i))};class dY extends hm{constructor(){super(...arguments),this.removePointerDownListener=Rs}onPointerDown(n){this.session=new CR(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wR(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:NR(n),onStart:NR(i),onMove:o,onEnd:(h,g)=>{delete this.session,u&&Wn.postRender(()=>u(h,g))}}}mount(){this.removePointerDownListener=tb(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const nS={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function VR(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const ib={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(St.test(t))t=parseFloat(t);else return t;const i=VR(t,n.target.x),o=VR(t,n.target.y);return`${i}% ${o}%`}},hY={correct:(t,{treeScale:n,projectionDelta:i})=>{const o=t,u=dm.parse(t);if(u.length>5)return o;const h=dm.createTransformer(t),g=typeof u[0]!="number"?1:0,v=i.x.scale*n.x,S=i.y.scale*n.y;u[0+g]/=v,u[1+g]/=S;const A=Ea(v,S,.5);return typeof u[2+g]=="number"&&(u[2+g]/=A),typeof u[3+g]=="number"&&(u[3+g]/=A),h(u)}};class mY extends J.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:u}=this.props,{projection:h}=n;xH(pY),h&&(i.group&&i.group.add(h),o&&o.register&&u&&o.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),nS.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:u,isPresent:h}=this.props,g=o.projection;return g&&(g.isPresent=h,u||n.layoutDependency!==i||i===void 0||n.isPresent!==h?g.willUpdate():this.safeToRemove(),n.isPresent!==h&&(h?g.promote():g.relegate()||Wn.postRender(()=>{const v=g.getStack();(!v||!v.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Tw.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:u}=n;u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function UR(t){const[n,i]=DO(),o=J.useContext(pw);return Y.jsx(mY,{...t,layoutGroup:o,switchLayoutGroup:J.useContext(BO),isPresent:n,safeToRemove:i})}const pY={borderRadius:{...ib,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ib,borderTopRightRadius:ib,borderBottomLeftRadius:ib,borderBottomRightRadius:ib,boxShadow:hY};function gY(t,n,i){const o=Mr(t)?t:F1(t);return o.start(cE("",o,n,i)),o.animation}function yY(t){return t instanceof SVGElement&&t.tagName!=="svg"}const vY=(t,n)=>t.depth-n.depth;class bY{constructor(){this.children=[],this.isDirty=!1}add(n){Lw(this.children,n),this.isDirty=!0}remove(n){jw(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(vY),this.isDirty=!1,this.children.forEach(n)}}function xY(t,n){const i=Cc.now(),o=({timestamp:u})=>{const h=u-i;h>=n&&(cm(o),t(h-n))};return Wn.read(o,!0),()=>cm(o)}const LR=["TopLeft","TopRight","BottomLeft","BottomRight"],SY=LR.length,jR=t=>typeof t=="string"?parseFloat(t):t,BR=t=>typeof t=="number"||St.test(t);function TY(t,n,i,o,u,h){u?(t.opacity=Ea(0,i.opacity!==void 0?i.opacity:1,AY(o)),t.opacityExit=Ea(n.opacity!==void 0?n.opacity:1,0,wY(o))):h&&(t.opacity=Ea(n.opacity!==void 0?n.opacity:1,i.opacity!==void 0?i.opacity:1,o));for(let g=0;g<SY;g++){const v=`border${LR[g]}Radius`;let S=$R(n,v),A=$R(i,v);if(S===void 0&&A===void 0)continue;S||(S=0),A||(A=0),S===0||A===0||BR(S)===BR(A)?(t[v]=Math.max(Ea(jR(S),jR(A),o),0),(Ec.test(A)||Ec.test(S))&&(t[v]+="%")):t[v]=A}(n.rotate||i.rotate)&&(t.rotate=Ea(n.rotate||0,i.rotate||0,o))}function $R(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const AY=HR(0,.5,g5),wY=HR(.5,.95,Rs);function HR(t,n,i){return o=>o<t?0:o>n?1:i(Oy(t,n,o))}function kR(t,n){t.min=n.min,t.max=n.max}function ol(t,n){kR(t.x,n.x),kR(t.y,n.y)}function PR(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function YR(t,n,i,o,u){return t-=n,t=eS(t,1/i,o),u!==void 0&&(t=eS(t,1/u,o)),t}function EY(t,n=0,i=1,o=.5,u,h=t,g=t){if(Ec.test(n)&&(n=parseFloat(n),n=Ea(g.min,g.max,n/100)-g.min),typeof n!="number")return;let v=Ea(h.min,h.max,o);t===h&&(v-=n),t.min=YR(t.min,n,i,v,u),t.max=YR(t.max,n,i,v,u)}function qR(t,n,[i,o,u],h,g){EY(t,n[i],n[o],n[u],n.scale,h,g)}const CY=["x","scaleX","originX"],DY=["y","scaleY","originY"];function GR(t,n,i,o){qR(t.x,n,CY,i?i.x:void 0,o?o.x:void 0),qR(t.y,n,DY,i?i.y:void 0,o?o.y:void 0)}function FR(t){return t.translate===0&&t.scale===1}function XR(t){return FR(t.x)&&FR(t.y)}function ZR(t,n){return t.min===n.min&&t.max===n.max}function MY(t,n){return ZR(t.x,n.x)&&ZR(t.y,n.y)}function QR(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function KR(t,n){return QR(t.x,n.x)&&QR(t.y,n.y)}function IR(t){return ts(t.x)/ts(t.y)}function WR(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class OY{constructor(){this.members=[]}add(n){Lw(this.members,n),n.scheduleRender()}remove(n){if(jw(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(u=>n===u);if(i===0)return!1;let o;for(let u=i;u>=0;u--){const h=this.members[u];if(h.isPresent!==!1){o=h;break}}return o?(this.promote(o),!0):!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,i&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:u}=n.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:o}=n;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function RY(t,n,i){let o="";const u=t.x.translate/n.x,h=t.y.translate/n.y,g=(i==null?void 0:i.z)||0;if((u||h||g)&&(o=`translate3d(${u}px, ${h}px, ${g}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:A,rotate:w,rotateX:C,rotateY:M,skewX:R,skewY:V}=i;A&&(o=`perspective(${A}px) ${o}`),w&&(o+=`rotate(${w}deg) `),C&&(o+=`rotateX(${C}deg) `),M&&(o+=`rotateY(${M}deg) `),R&&(o+=`skewX(${R}deg) `),V&&(o+=`skewY(${V}deg) `)}const v=t.x.scale*n.x,S=t.y.scale*n.y;return(v!==1||S!==1)&&(o+=`scale(${v}, ${S})`),o||"none"}const bE=["","X","Y","Z"],_Y={visibility:"hidden"},JR=1e3;let zY=0;function xE(t,n,i,o){const{latestValues:u}=n;u[t]&&(i[t]=u[t],n.setStaticValue(t,0),o&&(o[t]=0))}function e_(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=r5(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:h}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",Wn,!(u||h))}const{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&e_(o)}function t_({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(g={},v=n==null?void 0:n()){this.id=zY++,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,this.nodes.forEach(UY),this.nodes.forEach(HY),this.nodes.forEach(kY),this.nodes.forEach(LY)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=v?v.root||v:this,this.path=v?[...v.path,v]:[],this.parent=v,this.depth=v?v.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new bY)}addEventListener(g,v){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Bw),this.eventHandlers.get(g).add(v)}notifyListeners(g,...v){const S=this.eventHandlers.get(g);S&&S.notify(...v)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,v=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=yY(g),this.instance=g;const{layoutId:S,layout:A,visualElement:w}=this.options;if(w&&!w.current&&w.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),v&&(A||S)&&(this.isLayoutDirty=!0),t){let C;const M=()=>this.root.updateBlockedByResize=!1;t(g,()=>{this.root.updateBlockedByResize=!0,C&&C(),C=xY(M,250),nS.hasAnimatedSinceResize&&(nS.hasAnimatedSinceResize=!1,this.nodes.forEach(a_))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&w&&(S||A)&&this.addEventListener("didUpdate",({delta:C,hasLayoutChanged:M,hasRelativeLayoutChanged:R,layout:V})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const L=this.options.transition||w.getDefaultTransition()||FY,{onLayoutAnimationStart:P,onLayoutAnimationComplete:U}=w.getProps(),q=!this.targetLayout||!KR(this.targetLayout,V),F=!M&&R;if(this.options.layoutRoot||this.resumeFrom||F||M&&(q||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(C,F);const ae={...Uw(L,"layout"),onPlay:P,onComplete:U};(w.shouldReduceMotion||this.options.layoutRoot)&&(ae.delay=0,ae.type=!1),this.startAnimation(ae)}else M||a_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=V})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cm(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(PY),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&e_(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let w=0;w<this.path.length;w++){const C=this.path[w];C.shouldResetTransform=!0,C.updateScroll("snapshot"),C.options.layoutRoot&&C.willUpdate(!1)}const{layoutId:v,layout:S}=this.options;if(v===void 0&&!S)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(n_);return}this.isUpdating||this.nodes.forEach(BY),this.isUpdating=!1,this.nodes.forEach($Y),this.nodes.forEach(NY),this.nodes.forEach(VY),this.clearAllSnapshots();const v=Cc.now();ur.delta=rd(0,1e3/60,v-ur.timestamp),ur.timestamp=v,ur.isProcessing=!0,bw.update.process(ur),bw.preRender.process(ur),bw.render.process(ur),ur.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Tw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(jY),this.sharedNodes.forEach(YY)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Wn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Wn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ts(this.snapshot.measuredBox.x)&&!ts(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let S=0;S<this.path.length;S++)this.path[S].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ka(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:v}=this.options;v&&v.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let v=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(v=!1),v){const S=o(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:S,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!u)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,v=this.projectionDelta&&!XR(this.projectionDelta),S=this.getTransformTemplate(),A=S?S(this.latestValues,""):void 0,w=A!==this.prevTransformTemplateValue;g&&(v||x0(this.latestValues)||w)&&(u(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const v=this.measurePageBox();let S=this.removeElementScroll(v);return g&&(S=this.removeTransform(S)),XY(S),{animationId:this.root.animationId,measuredBox:v,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){var g;const{visualElement:v}=this.options;if(!v)return Ka();const S=v.measureViewportBox();if(!(((g=this.scroll)===null||g===void 0?void 0:g.wasRoot)||this.path.some(ZY))){const{scroll:w}=this.root;w&&(Ny(S.x,w.offset.x),Ny(S.y,w.offset.y))}return S}removeElementScroll(g){var v;const S=Ka();if(ol(S,g),!((v=this.scroll)===null||v===void 0)&&v.wasRoot)return S;for(let A=0;A<this.path.length;A++){const w=this.path[A],{scroll:C,options:M}=w;w!==this.root&&C&&M.layoutScroll&&(C.wasRoot&&ol(S,g),Ny(S.x,C.offset.x),Ny(S.y,C.offset.y))}return S}applyTransform(g,v=!1){const S=Ka();ol(S,g);for(let A=0;A<this.path.length;A++){const w=this.path[A];!v&&w.options.layoutScroll&&w.scroll&&w!==w.root&&Vy(S,{x:-w.scroll.offset.x,y:-w.scroll.offset.y}),x0(w.latestValues)&&Vy(S,w.latestValues)}return x0(this.latestValues)&&Vy(S,this.latestValues),S}removeTransform(g){const v=Ka();ol(v,g);for(let S=0;S<this.path.length;S++){const A=this.path[S];if(!A.instance||!x0(A.latestValues))continue;mE(A.latestValues)&&A.updateSnapshot();const w=Ka(),C=A.measurePageBox();ol(w,C),GR(v,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,w)}return x0(this.latestValues)&&GR(v,this.latestValues),v}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.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!==ur.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var v;const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const A=!!this.resumingFrom||this!==S;if(!(g||A&&this.isSharedProjectionDirty||this.isProjectionDirty||!((v=this.parent)===null||v===void 0)&&v.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:C,layoutId:M}=this.options;if(!(!this.layout||!(C||M))){if(this.resolvedRelativeTargetAt=ur.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ka(),this.relativeTargetOrigin=Ka(),ab(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),ol(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ka(),this.targetWithTransforms=Ka()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),KP(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ol(this.target,this.layout.layoutBox),bR(this.target,this.targetDelta)):ol(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ka(),this.relativeTargetOrigin=Ka(),ab(this.relativeTargetOrigin,this.target,R.target),ol(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||mE(this.parent.latestValues)||gR(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 g;const v=this.getLead(),S=!!this.resumingFrom||this!==v;let A=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(A=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(A=!1),this.resolvedRelativeTargetAt===ur.timestamp&&(A=!1),A)return;const{layout:w,layoutId:C}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(w||C))return;ol(this.layoutCorrected,this.layout.layoutBox);const M=this.treeScale.x,R=this.treeScale.y;IP(this.layoutCorrected,this.treeScale,this.path,S),v.layout&&!v.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(v.target=v.layout.layoutBox,v.targetWithTransforms=Ka());const{target:V}=v;if(!V){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(PR(this.prevProjectionDelta.x,this.projectionDelta.x),PR(this.prevProjectionDelta.y,this.projectionDelta.y)),nb(this.projectionDelta,this.layoutCorrected,V,this.latestValues),(this.treeScale.x!==M||this.treeScale.y!==R||!WR(this.projectionDelta.x,this.prevProjectionDelta.x)||!WR(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",V))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var v;if((v=this.options.visualElement)===null||v===void 0||v.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=zy(),this.projectionDelta=zy(),this.projectionDeltaWithTransform=zy()}setAnimationOrigin(g,v=!1){const S=this.snapshot,A=S?S.latestValues:{},w={...this.latestValues},C=zy();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!v;const M=Ka(),R=S?S.source:void 0,V=this.layout?this.layout.source:void 0,L=R!==V,P=this.getStack(),U=!P||P.members.length<=1,q=!!(L&&!U&&this.options.crossfade===!0&&!this.path.some(GY));this.animationProgress=0;let F;this.mixTargetDelta=ae=>{const H=ae/1e3;i_(C.x,g.x,H),i_(C.y,g.y,H),this.setTargetDelta(C),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ab(M,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qY(this.relativeTarget,this.relativeTargetOrigin,M,H),F&&MY(this.relativeTarget,F)&&(this.isProjectionDirty=!1),F||(F=Ka()),ol(F,this.relativeTarget)),L&&(this.animationValues=w,TY(w,A,this.latestValues,H,q,U)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cm(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wn.update(()=>{nS.hasAnimatedSinceResize=!0,this.currentAnimation=gY(0,JR,{...g,onUpdate:v=>{this.mixTargetDelta(v),g.onUpdate&&g.onUpdate(v)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.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 g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(JR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:v,target:S,layout:A,latestValues:w}=g;if(!(!v||!S||!A)){if(this!==g&&this.layout&&A&&u_(this.options.animationType,this.layout.layoutBox,A.layoutBox)){S=this.target||Ka();const C=ts(this.layout.layoutBox.x);S.x.min=g.target.x.min,S.x.max=S.x.min+C;const M=ts(this.layout.layoutBox.y);S.y.min=g.target.y.min,S.y.max=S.y.min+M}ol(v,S),Vy(v,w),nb(this.projectionDeltaWithTransform,this.layoutCorrected,v,w)}}registerSharedNode(g,v){this.sharedNodes.has(g)||this.sharedNodes.set(g,new OY),this.sharedNodes.get(g).add(v);const A=v.options.initialPromotionConfig;v.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(v):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:v}=this.options;return v?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:v}=this.options;return v?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:v,preserveFollowOpacity:S}={}){const A=this.getStack();A&&A.promote(this,S),g&&(this.projectionDelta=void 0,this.needsReset=!0),v&&this.setOptions({transition:v})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let v=!1;const{latestValues:S}=g;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(v=!0),!v)return;const A={};S.z&&xE("z",g,A,this.animationValues);for(let w=0;w<bE.length;w++)xE(`rotate${bE[w]}`,g,A,this.animationValues),xE(`skew${bE[w]}`,g,A,this.animationValues);g.render();for(const w in A)g.setStaticValue(w,A[w]),this.animationValues&&(this.animationValues[w]=A[w]);g.scheduleRender()}getProjectionStyles(g){var v,S;if(!this.instance||this.isSVG)return;if(!this.isVisible)return _Y;const A={visibility:""},w=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,A.opacity="",A.pointerEvents=Zx(g==null?void 0:g.pointerEvents)||"",A.transform=w?w(this.latestValues,""):"none",A;const C=this.getLead();if(!this.projectionDelta||!this.layout||!C.target){const L={};return this.options.layoutId&&(L.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,L.pointerEvents=Zx(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!x0(this.latestValues)&&(L.transform=w?w({},""):"none",this.hasProjected=!1),L}const M=C.animationValues||C.latestValues;this.applyTransformsToTarget(),A.transform=RY(this.projectionDeltaWithTransform,this.treeScale,M),w&&(A.transform=w(M,A.transform));const{x:R,y:V}=this.projectionDelta;A.transformOrigin=`${R.origin*100}% ${V.origin*100}% 0`,C.animationValues?A.opacity=C===this?(S=(v=M.opacity)!==null&&v!==void 0?v:this.latestValues.opacity)!==null&&S!==void 0?S:1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:A.opacity=C===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const L in P1){if(M[L]===void 0)continue;const{correct:P,applyTo:U,isCSSVariable:q}=P1[L],F=A.transform==="none"?M[L]:P(M[L],C);if(U){const ae=U.length;for(let H=0;H<ae;H++)A[U[H]]=F}else q?this.options.visualElement.renderState.vars[L]=F:A[L]=F}return this.options.layoutId&&(A.pointerEvents=C===this?Zx(g==null?void 0:g.pointerEvents)||"":"none"),A}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var v;return(v=g.currentAnimation)===null||v===void 0?void 0:v.stop()}),this.root.nodes.forEach(n_),this.root.sharedNodes.clear()}}}function NY(t){t.updateLayout()}function VY(t){var n;const i=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=t.layout,{animationType:h}=t.options,g=i.source!==t.layout.source;h==="size"?sl(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ts(M);M.min=o[C].min,M.max=M.min+R}):u_(h,i.layoutBox,o)&&sl(C=>{const M=g?i.measuredBox[C]:i.layoutBox[C],R=ts(o[C]);M.max=M.min+R,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[C].max=t.relativeTarget[C].min+R)});const v=zy();nb(v,o,i.layoutBox);const S=zy();g?nb(S,t.applyTransform(u,!0),i.measuredBox):nb(S,o,i.layoutBox);const A=!XR(v);let w=!1;if(!t.resumeFrom){const C=t.getClosestProjectingParent();if(C&&!C.resumeFrom){const{snapshot:M,layout:R}=C;if(M&&R){const V=Ka();ab(V,i.layoutBox,M.layoutBox);const L=Ka();ab(L,o,R.layoutBox),KR(V,L)||(w=!0),C.options.layoutRoot&&(t.relativeTarget=L,t.relativeTargetOrigin=V,t.relativeParent=C)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:S,layoutDelta:v,hasLayoutChanged:A,hasRelativeLayoutChanged:w})}else if(t.isLead()){const{onExitComplete:o}=t.options;o&&o()}t.options.transition=void 0}function UY(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function LY(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function jY(t){t.clearSnapshot()}function n_(t){t.clearMeasurements()}function BY(t){t.isLayoutDirty=!1}function $Y(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function a_(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function HY(t){t.resolveTargetDelta()}function kY(t){t.calcProjection()}function PY(t){t.resetSkewAndRotation()}function YY(t){t.removeLeadSnapshot()}function i_(t,n,i){t.translate=Ea(n.translate,0,i),t.scale=Ea(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function r_(t,n,i,o){t.min=Ea(n.min,i.min,o),t.max=Ea(n.max,i.max,o)}function qY(t,n,i,o){r_(t.x,n.x,i.x,o),r_(t.y,n.y,i.y,o)}function GY(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const FY={duration:.45,ease:[.4,0,.1,1]},s_=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),o_=s_("applewebkit/")&&!s_("chrome/")?Math.round:Rs;function l_(t){t.min=o_(t.min),t.max=o_(t.max)}function XY(t){l_(t.x),l_(t.y)}function u_(t,n,i){return t==="position"||t==="preserve-aspect"&&!QP(IR(n),IR(i),.2)}function ZY(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const QY=t_({attachResizeListener:(t,n)=>J1(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),SE={current:void 0},c_=t_({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!SE.current){const t=new QY({});t.mount(window),t.setOptions({layoutScroll:!0}),SE.current=t}return SE.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),KY={pan:{Feature:dY},drag:{Feature:fY,ProjectionNode:c_,MeasureLayout:UR}};function IY(t,n,i){var o;if(t instanceof EventTarget)return[t];if(typeof t=="string"){let u=document;const h=(o=void 0)!==null&&o!==void 0?o:u.querySelectorAll(t);return h?Array.from(h):[]}return Array.from(t)}function f_(t,n){const i=IY(t),o=new AbortController,u={passive:!0,...n,signal:o.signal};return[i,u,()=>o.abort()]}function d_(t){return!(t.pointerType==="touch"||oR())}function WY(t,n,i={}){const[o,u,h]=f_(t,i),g=v=>{if(!d_(v))return;const{target:S}=v,A=n(S,v);if(typeof A!="function"||!S)return;const w=C=>{d_(C)&&(A(C),S.removeEventListener("pointerleave",w))};S.addEventListener("pointerleave",w,u)};return o.forEach(v=>{v.addEventListener("pointerenter",g,u)}),h}function h_(t,n,i){const{props:o}=t;t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,h=o[u];h&&Wn.postRender(()=>h(n,eb(n)))}class JY extends hm{mount(){const{current:n}=this.node;n&&(this.unmount=WY(n,(i,o)=>(h_(this.node,o,"Start"),u=>h_(this.node,u,"End"))))}unmount(){}}class eq extends hm{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=I1(J1(this.node.current,"focus",()=>this.onFocus()),J1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const m_=(t,n)=>n?t===n?!0:m_(t,n.parentElement):!1,tq=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nq(t){return tq.has(t.tagName)||t.tabIndex!==-1}const rb=new WeakSet;function p_(t){return n=>{n.key==="Enter"&&t(n)}}function TE(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const aq=(t,n)=>{const i=t.currentTarget;if(!i)return;const o=p_(()=>{if(rb.has(i))return;TE(i,"down");const u=p_(()=>{TE(i,"up")}),h=()=>TE(i,"cancel");i.addEventListener("keyup",u,n),i.addEventListener("blur",h,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function g_(t){return dE(t)&&!oR()}function iq(t,n,i={}){const[o,u,h]=f_(t,i),g=v=>{const S=v.currentTarget;if(!g_(v)||rb.has(S))return;rb.add(S);const A=n(S,v),w=(R,V)=>{window.removeEventListener("pointerup",C),window.removeEventListener("pointercancel",M),!(!g_(R)||!rb.has(S))&&(rb.delete(S),typeof A=="function"&&A(R,{success:V}))},C=R=>{w(R,S===window||S===document||i.useGlobalTarget||m_(S,R.target))},M=R=>{w(R,!1)};window.addEventListener("pointerup",C,u),window.addEventListener("pointercancel",M,u)};return o.forEach(v=>{(i.useGlobalTarget?window:v).addEventListener("pointerdown",g,u),v instanceof HTMLElement&&(v.addEventListener("focus",A=>aq(A,u)),!nq(v)&&v.tabIndex===null&&(v.tabIndex=0))}),h}function y_(t,n,i){const{props:o}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&o.whileTap&&t.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),h=o[u];h&&Wn.postRender(()=>h(n,eb(n)))}class rq extends hm{mount(){const{current:n}=this.node;n&&(this.unmount=iq(n,(i,o)=>(y_(this.node,o,"Start"),(u,{success:h})=>y_(this.node,u,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const AE=new WeakMap,wE=new WeakMap,sq=t=>{const n=AE.get(t.target);n&&n(t)},oq=t=>{t.forEach(sq)};function lq({root:t,...n}){const i=t||document;wE.has(i)||wE.set(i,{});const o=wE.get(i),u=JSON.stringify(n);return o[u]||(o[u]=new IntersectionObserver(oq,{root:t,...n})),o[u]}function uq(t,n,i){const o=lq(n);return AE.set(t,i),o.observe(t),()=>{AE.delete(t),o.unobserve(t)}}const cq={some:0,all:1};class fq extends hm{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:u="some",once:h}=n,g={root:i?i.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:cq[u]},v=S=>{const{isIntersecting:A}=S;if(this.isInView===A||(this.isInView=A,h&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:w,onViewportLeave:C}=this.node.getProps(),M=A?w:C;M&&M(S)};return uq(this.node.current,g,v)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(dq(n,i))&&this.startObserver()}unmount(){}}function dq({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const hq={inView:{Feature:fq},tap:{Feature:rq},focus:{Feature:eq},hover:{Feature:JY}},mq={layout:{ProjectionNode:c_,MeasureLayout:UR}},EE={current:null},v_={current:!1};function pq(){if(v_.current=!0,!!yw)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>EE.current=t.matches;t.addListener(n),n()}else EE.current=!1}const gq=[...j5,Or,dm],yq=t=>gq.find(L5(t)),vq=new WeakMap;var bq={};function xq(t,n,i){for(const o in n){const u=n[o],h=i[o];if(Mr(u))t.addValue(o,u),bq.NODE_ENV==="development"&&Yx(u.version==="12.6.2",`Attempting to mix Motion versions ${u.version} with 12.6.2 may not work as expected.`);else if(Mr(h))t.addValue(o,F1(u,{owner:t}));else if(h!==u)if(t.hasValue(o)){const g=t.getValue(o);g.liveStyle===!0?g.jump(u):g.hasAnimated||g.set(u)}else{const g=t.getStaticValue(o);t.addValue(o,F1(g!==void 0?g:u,{owner:t}))}}for(const o in i)n[o]===void 0&&t.removeValue(o);return n}var Sq={};const b_=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Tq{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:h,visualState:g},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nE,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 R=Cc.now();this.renderScheduledAt<R&&(this.renderScheduledAt=R,Wn.render(this.render,!1,!0))};const{latestValues:S,renderState:A,onUpdate:w}=g;this.onUpdate=w,this.latestValues=S,this.baseTarget={...S},this.initialValues=i.initial?{...S}:{},this.renderState=A,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=u,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=Fx(i),this.isVariantNode=UO(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:C,...M}=this.scrapeMotionValuesFromProps(i,{},this);for(const R in M){const V=M[R];S[R]!==void 0&&Mr(V)&&V.set(S[R],!1)}}mount(n){this.current=n,vq.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),v_.current||pq(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:EE.current,Sq.NODE_ENV!=="production"&&Yx(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),cm(this.notifyUpdate),cm(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=p0.has(n);o&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",v=>{this.latestValues[n]=v,this.props.onUpdate&&Wn.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);let g;window.MotionCheckAppearSync&&(g=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{u(),h(),g&&g(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Ey){const i=Ey[n];if(!i)continue;const{isEnabled:o,Feature:u}=i;if(!this.features[n]&&u&&o(this.props)&&(this.features[n]=new u(this)),this.features[n]){const h=this.features[n];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ka()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<b_.length;o++){const u=b_[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const h="on"+u,g=n[h];g&&(this.propEventSubscriptions[u]=this.on(u,g))}this.prevMotionValues=xq(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=F1(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){var o;let u=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(o=this.getBaseTargetFromProps(this.props,n))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,n,this.options);return u!=null&&(typeof u=="string"&&(V5(u)||v5(u))?u=parseFloat(u):!yq(u)&&dm.test(i)&&(u=C5(n,i)),this.setBaseTarget(n,Mr(u)?u.get():u)),Mr(u)?u.get():u}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var i;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const g=zw(this.props,o,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);g&&(u=g[n])}if(o&&u!==void 0)return u;const h=this.getBaseTargetFromProps(this.props,n);return h!==void 0&&!Mr(h)?h:this.initialValues[n]!==void 0&&u===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Bw),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}}class x_ extends Tq{constructor(){super(...arguments),this.KeyframeResolver=$5}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Mr(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function Aq(t){return window.getComputedStyle(t)}class wq extends x_{constructor(){super(...arguments),this.type="html",this.renderInstance=IO}readValueFromInstance(n,i){if(p0.has(i))return Ck(n,i);{const o=Aq(n),u=(ww(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return AR(n,i)}build(n,i,o){Dw(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return Vw(n,i,o)}}class Eq extends x_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ka,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&KO(this.current,this.renderState)}}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(p0.has(i)){const o=E5(i);return o&&o.default||0}return i=WO.has(i)?i:Aw(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return e5(n,i,o)}onBindTransform(){this.current&&!this.renderState.dimensions&&Wn.postRender(this.updateDimensions)}build(n,i,o){Rw(n,i,this.isSVGTag,o.transformTemplate)}renderInstance(n,i,o,u){JO(n,i,o,u)}mount(n){this.isSVGTag=_w(n.tagName),super.mount(n)}}const Cq=(t,n)=>Ow(t)?new Eq(n):new wq(n,{allowProjection:t!==J.Fragment}),Dq=qH({...HP,...hq,...KY,...mq},Cq),ma=sH(Dq),Mq={defaultColorScheme:"aqua",t:t=>t},Oq=J.createContext(Mq),cr=()=>J.useContext(Oq),S_=({title:t,description:n,open:i,onClose:o,onConfirm:u,onCancel:h})=>{const{t:g}=cr(),v={hidden:{opacity:0},visible:{opacity:1}},S={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}},A=()=>{u(),o()},w=()=>{h(),o()};return Y.jsx(lm,{children:i&&Y.jsx(Y.Fragment,{children:Y.jsx(ma.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:v,onClick:o,children:Y.jsx(ma.div,{className:"w-full max-w-4xl mx-16 z-50",variants:S,initial:"hidden",animate:"visible",exit:"exit",onClick:C=>C.stopPropagation(),children:Y.jsxs(Py,{className:"flex flex-col gap-16 p-32",children:[Y.jsxs("div",{className:"flex justify-between items-center gap-16",children:[Y.jsx("h3",{className:"text-black font-700 text-3xl",children:t}),Y.jsx(Pn,{icon:tA,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",onClick:o})]}),Y.jsx("p",{className:"text-gray-500 text-xl font-600",children:n}),Y.jsxs("div",{className:"flex justify-end w-full gap-16",children:[Y.jsx(db,{onClick:w,variant:"transparent",className:"px-24 !py-10 !text-lg",children:g("cancel")}),Y.jsx(db,{onClick:A,className:"px-24 py-16 !text-lg",children:g("confirm")})]})]})})})})})};/*!
|
|
660
|
+
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
|
|
661
|
+
* License - https://fontawesome.com/license (Commercial License)
|
|
662
|
+
* Copyright 2024 Fonticons, Inc.
|
|
663
|
+
*/const Rq={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},_q={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},zq={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},Nq={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]};function aS(){return typeof window<"u"}function Uy(t){return T_(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Mc(t){var n;return(n=(T_(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function T_(t){return aS()?t instanceof Node||t instanceof oo(t).Node:!1}function Ua(t){return aS()?t instanceof Element||t instanceof oo(t).Element:!1}function lo(t){return aS()?t instanceof HTMLElement||t instanceof oo(t).HTMLElement:!1}function CE(t){return!aS()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot}function sb(t){const{overflow:n,overflowX:i,overflowY:o,display:u}=ll(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+i)&&!["inline","contents"].includes(u)}function Vq(t){return["table","td","th"].includes(Uy(t))}function iS(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function DE(t){const n=rS(),i=Ua(t)?ll(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>i[o]?i[o]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(i.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(i.contain||"").includes(o))}function Uq(t){let n=ld(t);for(;lo(n)&&!od(n);){if(DE(n))return n;if(iS(n))return null;n=ld(n)}return null}function rS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function od(t){return["html","body","#document"].includes(Uy(t))}function ll(t){return oo(t).getComputedStyle(t)}function sS(t){return Ua(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ld(t){if(Uy(t)==="html")return t;const n=t.assignedSlot||t.parentNode||CE(t)&&t.host||Mc(t);return CE(n)?n.host:n}function A_(t){const n=ld(t);return od(n)?t.ownerDocument?t.ownerDocument.body:t.body:lo(n)&&sb(n)?n:A_(n)}function mm(t,n,i){var o;n===void 0&&(n=[]),i===void 0&&(i=!0);const u=A_(t),h=u===((o=t.ownerDocument)==null?void 0:o.body),g=oo(u);if(h){const v=ME(g);return n.concat(g,g.visualViewport||[],sb(u)?u:[],v&&i?mm(v):[])}return n.concat(u,mm(u,[],i))}function ME(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function w_(t,n){if(!t||!n)return!1;const i=n.getRootNode==null?void 0:n.getRootNode();if(t.contains(n))return!0;if(i&&CE(i)){let o=n;for(;o;){if(t===o)return!0;o=o.parentNode||o.host}}return!1}function E_(t,n){return["mouse","pen"].includes(t)}function Lq(t){return"nativeEvent"in t}function jq(t){return t.matches("html,body")}function C_(t){return(t==null?void 0:t.ownerDocument)||document}function OE(t,n){if(n==null)return!1;if("composedPath"in t)return t.composedPath().includes(n);const i=t;return i.target!=null&&n.contains(i.target)}function ob(t){return"composedPath"in t?t.composedPath()[0]:t.target}const Bq="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function $q(t){return lo(t)&&t.matches(Bq)}const pm=Math.min,uo=Math.max,oS=Math.round,lS=Math.floor,Oc=t=>({x:t,y:t}),Hq={left:"right",right:"left",bottom:"top",top:"bottom"},kq={start:"end",end:"start"};function RE(t,n,i){return uo(t,pm(n,i))}function Ly(t,n){return typeof t=="function"?t(n):t}function gm(t){return t.split("-")[0]}function jy(t){return t.split("-")[1]}function D_(t){return t==="x"?"y":"x"}function _E(t){return t==="y"?"height":"width"}function S0(t){return["top","bottom"].includes(gm(t))?"y":"x"}function zE(t){return D_(S0(t))}function Pq(t,n,i){i===void 0&&(i=!1);const o=jy(t),u=zE(t),h=_E(u);let g=u==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[h]>n.floating[h]&&(g=uS(g)),[g,uS(g)]}function Yq(t){const n=uS(t);return[NE(t),n,NE(n)]}function NE(t){return t.replace(/start|end/g,n=>kq[n])}function qq(t,n,i){const o=["left","right"],u=["right","left"],h=["top","bottom"],g=["bottom","top"];switch(t){case"top":case"bottom":return i?n?u:o:n?o:u;case"left":case"right":return n?h:g;default:return[]}}function Gq(t,n,i,o){const u=jy(t);let h=qq(gm(t),i==="start",o);return u&&(h=h.map(g=>g+"-"+u),n&&(h=h.concat(h.map(NE)))),h}function uS(t){return t.replace(/left|right|bottom|top/g,n=>Hq[n])}function Fq(t){return{top:0,right:0,bottom:0,left:0,...t}}function M_(t){return typeof t!="number"?Fq(t):{top:t,right:t,bottom:t,left:t}}function cS(t){const{x:n,y:i,width:o,height:u}=t;return{width:o,height:u,top:i,left:n,right:n+o,bottom:i+u,x:n,y:i}}function O_(t,n,i){let{reference:o,floating:u}=t;const h=S0(n),g=zE(n),v=_E(g),S=gm(n),A=h==="y",w=o.x+o.width/2-u.width/2,C=o.y+o.height/2-u.height/2,M=o[v]/2-u[v]/2;let R;switch(S){case"top":R={x:w,y:o.y-u.height};break;case"bottom":R={x:w,y:o.y+o.height};break;case"right":R={x:o.x+o.width,y:C};break;case"left":R={x:o.x-u.width,y:C};break;default:R={x:o.x,y:o.y}}switch(jy(n)){case"start":R[g]-=M*(i&&A?-1:1);break;case"end":R[g]+=M*(i&&A?-1:1);break}return R}const Xq=async(t,n,i)=>{const{placement:o="bottom",strategy:u="absolute",middleware:h=[],platform:g}=i,v=h.filter(Boolean),S=await(g.isRTL==null?void 0:g.isRTL(n));let A=await g.getElementRects({reference:t,floating:n,strategy:u}),{x:w,y:C}=O_(A,o,S),M=o,R={},V=0;for(let L=0;L<v.length;L++){const{name:P,fn:U}=v[L],{x:q,y:F,data:ae,reset:H}=await U({x:w,y:C,initialPlacement:o,placement:M,strategy:u,middlewareData:R,rects:A,platform:g,elements:{reference:t,floating:n}});w=q??w,C=F??C,R={...R,[P]:{...R[P],...ae}},H&&V<=50&&(V++,typeof H=="object"&&(H.placement&&(M=H.placement),H.rects&&(A=H.rects===!0?await g.getElementRects({reference:t,floating:n,strategy:u}):H.rects),{x:w,y:C}=O_(A,M,S)),L=-1)}return{x:w,y:C,placement:M,strategy:u,middlewareData:R}};async function VE(t,n){var i;n===void 0&&(n={});const{x:o,y:u,platform:h,rects:g,elements:v,strategy:S}=t,{boundary:A="clippingAncestors",rootBoundary:w="viewport",elementContext:C="floating",altBoundary:M=!1,padding:R=0}=Ly(n,t),V=M_(R),P=v[M?C==="floating"?"reference":"floating":C],U=cS(await h.getClippingRect({element:(i=await(h.isElement==null?void 0:h.isElement(P)))==null||i?P:P.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(v.floating)),boundary:A,rootBoundary:w,strategy:S})),q=C==="floating"?{x:o,y:u,width:g.floating.width,height:g.floating.height}:g.reference,F=await(h.getOffsetParent==null?void 0:h.getOffsetParent(v.floating)),ae=await(h.isElement==null?void 0:h.isElement(F))?await(h.getScale==null?void 0:h.getScale(F))||{x:1,y:1}:{x:1,y:1},H=cS(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:q,offsetParent:F,strategy:S}):q);return{top:(U.top-H.top+V.top)/ae.y,bottom:(H.bottom-U.bottom+V.bottom)/ae.y,left:(U.left-H.left+V.left)/ae.x,right:(H.right-U.right+V.right)/ae.x}}const Zq=t=>({name:"arrow",options:t,async fn(n){const{x:i,y:o,placement:u,rects:h,platform:g,elements:v,middlewareData:S}=n,{element:A,padding:w=0}=Ly(t,n)||{};if(A==null)return{};const C=M_(w),M={x:i,y:o},R=zE(u),V=_E(R),L=await g.getDimensions(A),P=R==="y",U=P?"top":"left",q=P?"bottom":"right",F=P?"clientHeight":"clientWidth",ae=h.reference[V]+h.reference[R]-M[R]-h.floating[V],H=M[R]-h.reference[R],le=await(g.getOffsetParent==null?void 0:g.getOffsetParent(A));let be=le?le[F]:0;(!be||!await(g.isElement==null?void 0:g.isElement(le)))&&(be=v.floating[F]||h.floating[V]);const de=ae/2-H/2,Ue=be/2-L[V]/2-1,De=pm(C[U],Ue),$e=pm(C[q],Ue),ke=De,We=be-L[V]-$e,et=be/2-L[V]/2+de,Ge=RE(ke,et,We),re=!S.arrow&&jy(u)!=null&&et!==Ge&&h.reference[V]/2-(et<ke?De:$e)-L[V]/2<0,W=re?et<ke?et-ke:et-We:0;return{[R]:M[R]+W,data:{[R]:Ge,centerOffset:et-Ge-W,...re&&{alignmentOffset:W}},reset:re}}}),Qq=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var i,o;const{placement:u,middlewareData:h,rects:g,initialPlacement:v,platform:S,elements:A}=n,{mainAxis:w=!0,crossAxis:C=!0,fallbackPlacements:M,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:L=!0,...P}=Ly(t,n);if((i=h.arrow)!=null&&i.alignmentOffset)return{};const U=gm(u),q=S0(v),F=gm(v)===v,ae=await(S.isRTL==null?void 0:S.isRTL(A.floating)),H=M||(F||!L?[uS(v)]:Yq(v)),le=V!=="none";!M&&le&&H.push(...Gq(v,L,V,ae));const be=[v,...H],de=await VE(n,P),Ue=[];let De=((o=h.flip)==null?void 0:o.overflows)||[];if(w&&Ue.push(de[U]),C){const et=Pq(u,g,ae);Ue.push(de[et[0]],de[et[1]])}if(De=[...De,{placement:u,overflows:Ue}],!Ue.every(et=>et<=0)){var $e,ke;const et=((($e=h.flip)==null?void 0:$e.index)||0)+1,Ge=be[et];if(Ge)return{data:{index:et,overflows:De},reset:{placement:Ge}};let re=(ke=De.filter(W=>W.overflows[0]<=0).sort((W,ce)=>W.overflows[1]-ce.overflows[1])[0])==null?void 0:ke.placement;if(!re)switch(R){case"bestFit":{var We;const W=(We=De.filter(ce=>{if(le){const Ae=S0(ce.placement);return Ae===q||Ae==="y"}return!0}).map(ce=>[ce.placement,ce.overflows.filter(Ae=>Ae>0).reduce((Ae,Be)=>Ae+Be,0)]).sort((ce,Ae)=>ce[1]-Ae[1])[0])==null?void 0:We[0];W&&(re=W);break}case"initialPlacement":re=v;break}if(u!==re)return{reset:{placement:re}}}return{}}}};async function Kq(t,n){const{placement:i,platform:o,elements:u}=t,h=await(o.isRTL==null?void 0:o.isRTL(u.floating)),g=gm(i),v=jy(i),S=S0(i)==="y",A=["left","top"].includes(g)?-1:1,w=h&&S?-1:1,C=Ly(n,t);let{mainAxis:M,crossAxis:R,alignmentAxis:V}=typeof C=="number"?{mainAxis:C,crossAxis:0,alignmentAxis:null}:{mainAxis:C.mainAxis||0,crossAxis:C.crossAxis||0,alignmentAxis:C.alignmentAxis};return v&&typeof V=="number"&&(R=v==="end"?V*-1:V),S?{x:R*w,y:M*A}:{x:M*A,y:R*w}}const Iq=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var i,o;const{x:u,y:h,placement:g,middlewareData:v}=n,S=await Kq(n,t);return g===((i=v.offset)==null?void 0:i.placement)&&(o=v.arrow)!=null&&o.alignmentOffset?{}:{x:u+S.x,y:h+S.y,data:{...S,placement:g}}}}},Wq=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:i,y:o,placement:u}=n,{mainAxis:h=!0,crossAxis:g=!1,limiter:v={fn:P=>{let{x:U,y:q}=P;return{x:U,y:q}}},...S}=Ly(t,n),A={x:i,y:o},w=await VE(n,S),C=S0(gm(u)),M=D_(C);let R=A[M],V=A[C];if(h){const P=M==="y"?"top":"left",U=M==="y"?"bottom":"right",q=R+w[P],F=R-w[U];R=RE(q,R,F)}if(g){const P=C==="y"?"top":"left",U=C==="y"?"bottom":"right",q=V+w[P],F=V-w[U];V=RE(q,V,F)}const L=v.fn({...n,[M]:R,[C]:V});return{...L,data:{x:L.x-i,y:L.y-o,enabled:{[M]:h,[C]:g}}}}}},Jq=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var i,o;const{placement:u,rects:h,platform:g,elements:v}=n,{apply:S=()=>{},...A}=Ly(t,n),w=await VE(n,A),C=gm(u),M=jy(u),R=S0(u)==="y",{width:V,height:L}=h.floating;let P,U;C==="top"||C==="bottom"?(P=C,U=M===(await(g.isRTL==null?void 0:g.isRTL(v.floating))?"start":"end")?"left":"right"):(U=C,P=M==="end"?"top":"bottom");const q=L-w.top-w.bottom,F=V-w.left-w.right,ae=pm(L-w[P],q),H=pm(V-w[U],F),le=!n.middlewareData.shift;let be=ae,de=H;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(de=F),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(be=q),le&&!M){const De=uo(w.left,0),$e=uo(w.right,0),ke=uo(w.top,0),We=uo(w.bottom,0);R?de=V-2*(De!==0||$e!==0?De+$e:uo(w.left,w.right)):be=L-2*(ke!==0||We!==0?ke+We:uo(w.top,w.bottom))}await S({...n,availableWidth:de,availableHeight:be});const Ue=await g.getDimensions(v.floating);return V!==Ue.width||L!==Ue.height?{reset:{rects:!0}}:{}}}};function R_(t){const n=ll(t);let i=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const u=lo(t),h=u?t.offsetWidth:i,g=u?t.offsetHeight:o,v=oS(i)!==h||oS(o)!==g;return v&&(i=h,o=g),{width:i,height:o,$:v}}function UE(t){return Ua(t)?t:t.contextElement}function By(t){const n=UE(t);if(!lo(n))return Oc(1);const i=n.getBoundingClientRect(),{width:o,height:u,$:h}=R_(n);let g=(h?oS(i.width):i.width)/o,v=(h?oS(i.height):i.height)/u;return(!g||!Number.isFinite(g))&&(g=1),(!v||!Number.isFinite(v))&&(v=1),{x:g,y:v}}const eG=Oc(0);function __(t){const n=oo(t);return!rS()||!n.visualViewport?eG:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function tG(t,n,i){return n===void 0&&(n=!1),!i||n&&i!==oo(t)?!1:n}function T0(t,n,i,o){n===void 0&&(n=!1),i===void 0&&(i=!1);const u=t.getBoundingClientRect(),h=UE(t);let g=Oc(1);n&&(o?Ua(o)&&(g=By(o)):g=By(t));const v=tG(h,i,o)?__(h):Oc(0);let S=(u.left+v.x)/g.x,A=(u.top+v.y)/g.y,w=u.width/g.x,C=u.height/g.y;if(h){const M=oo(h),R=o&&Ua(o)?oo(o):o;let V=M,L=ME(V);for(;L&&o&&R!==V;){const P=By(L),U=L.getBoundingClientRect(),q=ll(L),F=U.left+(L.clientLeft+parseFloat(q.paddingLeft))*P.x,ae=U.top+(L.clientTop+parseFloat(q.paddingTop))*P.y;S*=P.x,A*=P.y,w*=P.x,C*=P.y,S+=F,A+=ae,V=oo(L),L=ME(V)}}return cS({width:w,height:C,x:S,y:A})}function LE(t,n){const i=sS(t).scrollLeft;return n?n.left+i:T0(Mc(t)).left+i}function z_(t,n,i){i===void 0&&(i=!1);const o=t.getBoundingClientRect(),u=o.left+n.scrollLeft-(i?0:LE(t,o)),h=o.top+n.scrollTop;return{x:u,y:h}}function nG(t){let{elements:n,rect:i,offsetParent:o,strategy:u}=t;const h=u==="fixed",g=Mc(o),v=n?iS(n.floating):!1;if(o===g||v&&h)return i;let S={scrollLeft:0,scrollTop:0},A=Oc(1);const w=Oc(0),C=lo(o);if((C||!C&&!h)&&((Uy(o)!=="body"||sb(g))&&(S=sS(o)),lo(o))){const R=T0(o);A=By(o),w.x=R.x+o.clientLeft,w.y=R.y+o.clientTop}const M=g&&!C&&!h?z_(g,S,!0):Oc(0);return{width:i.width*A.x,height:i.height*A.y,x:i.x*A.x-S.scrollLeft*A.x+w.x+M.x,y:i.y*A.y-S.scrollTop*A.y+w.y+M.y}}function aG(t){return Array.from(t.getClientRects())}function iG(t){const n=Mc(t),i=sS(t),o=t.ownerDocument.body,u=uo(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),h=uo(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let g=-i.scrollLeft+LE(t);const v=-i.scrollTop;return ll(o).direction==="rtl"&&(g+=uo(n.clientWidth,o.clientWidth)-u),{width:u,height:h,x:g,y:v}}function rG(t,n){const i=oo(t),o=Mc(t),u=i.visualViewport;let h=o.clientWidth,g=o.clientHeight,v=0,S=0;if(u){h=u.width,g=u.height;const A=rS();(!A||A&&n==="fixed")&&(v=u.offsetLeft,S=u.offsetTop)}return{width:h,height:g,x:v,y:S}}function sG(t,n){const i=T0(t,!0,n==="fixed"),o=i.top+t.clientTop,u=i.left+t.clientLeft,h=lo(t)?By(t):Oc(1),g=t.clientWidth*h.x,v=t.clientHeight*h.y,S=u*h.x,A=o*h.y;return{width:g,height:v,x:S,y:A}}function N_(t,n,i){let o;if(n==="viewport")o=rG(t,i);else if(n==="document")o=iG(Mc(t));else if(Ua(n))o=sG(n,i);else{const u=__(t);o={x:n.x-u.x,y:n.y-u.y,width:n.width,height:n.height}}return cS(o)}function V_(t,n){const i=ld(t);return i===n||!Ua(i)||od(i)?!1:ll(i).position==="fixed"||V_(i,n)}function oG(t,n){const i=n.get(t);if(i)return i;let o=mm(t,[],!1).filter(v=>Ua(v)&&Uy(v)!=="body"),u=null;const h=ll(t).position==="fixed";let g=h?ld(t):t;for(;Ua(g)&&!od(g);){const v=ll(g),S=DE(g);!S&&v.position==="fixed"&&(u=null),(h?!S&&!u:!S&&v.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||sb(g)&&!S&&V_(t,g))?o=o.filter(w=>w!==g):u=v,g=ld(g)}return n.set(t,o),o}function lG(t){let{element:n,boundary:i,rootBoundary:o,strategy:u}=t;const g=[...i==="clippingAncestors"?iS(n)?[]:oG(n,this._c):[].concat(i),o],v=g[0],S=g.reduce((A,w)=>{const C=N_(n,w,u);return A.top=uo(C.top,A.top),A.right=pm(C.right,A.right),A.bottom=pm(C.bottom,A.bottom),A.left=uo(C.left,A.left),A},N_(n,v,u));return{width:S.right-S.left,height:S.bottom-S.top,x:S.left,y:S.top}}function uG(t){const{width:n,height:i}=R_(t);return{width:n,height:i}}function cG(t,n,i){const o=lo(n),u=Mc(n),h=i==="fixed",g=T0(t,!0,h,n);let v={scrollLeft:0,scrollTop:0};const S=Oc(0);if(o||!o&&!h)if((Uy(n)!=="body"||sb(u))&&(v=sS(n)),o){const M=T0(n,!0,h,n);S.x=M.x+n.clientLeft,S.y=M.y+n.clientTop}else u&&(S.x=LE(u));const A=u&&!o&&!h?z_(u,v):Oc(0),w=g.left+v.scrollLeft-S.x-A.x,C=g.top+v.scrollTop-S.y-A.y;return{x:w,y:C,width:g.width,height:g.height}}function jE(t){return ll(t).position==="static"}function U_(t,n){if(!lo(t)||ll(t).position==="fixed")return null;if(n)return n(t);let i=t.offsetParent;return Mc(t)===i&&(i=i.ownerDocument.body),i}function L_(t,n){const i=oo(t);if(iS(t))return i;if(!lo(t)){let u=ld(t);for(;u&&!od(u);){if(Ua(u)&&!jE(u))return u;u=ld(u)}return i}let o=U_(t,n);for(;o&&Vq(o)&&jE(o);)o=U_(o,n);return o&&od(o)&&jE(o)&&!DE(o)?i:o||Uq(t)||i}const fG=async function(t){const n=this.getOffsetParent||L_,i=this.getDimensions,o=await i(t.floating);return{reference:cG(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function dG(t){return ll(t).direction==="rtl"}const hG={convertOffsetParentRelativeRectToViewportRelativeRect:nG,getDocumentElement:Mc,getClippingRect:lG,getOffsetParent:L_,getElementRects:fG,getClientRects:aG,getDimensions:uG,getScale:By,isElement:Ua,isRTL:dG};function j_(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function mG(t,n){let i=null,o;const u=Mc(t);function h(){var v;clearTimeout(o),(v=i)==null||v.disconnect(),i=null}function g(v,S){v===void 0&&(v=!1),S===void 0&&(S=1),h();const A=t.getBoundingClientRect(),{left:w,top:C,width:M,height:R}=A;if(v||n(),!M||!R)return;const V=lS(C),L=lS(u.clientWidth-(w+M)),P=lS(u.clientHeight-(C+R)),U=lS(w),F={rootMargin:-V+"px "+-L+"px "+-P+"px "+-U+"px",threshold:uo(0,pm(1,S))||1};let ae=!0;function H(le){const be=le[0].intersectionRatio;if(be!==S){if(!ae)return g();be?g(!1,be):o=setTimeout(()=>{g(!1,1e-7)},1e3)}be===1&&!j_(A,t.getBoundingClientRect())&&g(),ae=!1}try{i=new IntersectionObserver(H,{...F,root:u.ownerDocument})}catch{i=new IntersectionObserver(H,F)}i.observe(t)}return g(!0),h}function BE(t,n,i,o){o===void 0&&(o={});const{ancestorScroll:u=!0,ancestorResize:h=!0,elementResize:g=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:S=!1}=o,A=UE(t),w=u||h?[...A?mm(A):[],...mm(n)]:[];w.forEach(U=>{u&&U.addEventListener("scroll",i,{passive:!0}),h&&U.addEventListener("resize",i)});const C=A&&v?mG(A,i):null;let M=-1,R=null;g&&(R=new ResizeObserver(U=>{let[q]=U;q&&q.target===A&&R&&(R.unobserve(n),cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var F;(F=R)==null||F.observe(n)})),i()}),A&&!S&&R.observe(A),R.observe(n));let V,L=S?T0(t):null;S&&P();function P(){const U=T0(t);L&&!j_(L,U)&&i(),L=U,V=requestAnimationFrame(P)}return i(),()=>{var U;w.forEach(q=>{u&&q.removeEventListener("scroll",i),h&&q.removeEventListener("resize",i)}),C==null||C(),(U=R)==null||U.disconnect(),R=null,S&&cancelAnimationFrame(V)}}const pG=Iq,gG=Wq,yG=Qq,vG=Jq,B_=Zq,bG=(t,n,i)=>{const o=new Map,u={platform:hG,...i},h={...u.platform,_c:o};return Xq(t,n,{...u,platform:h})};var fS=typeof document<"u"?J.useLayoutEffect:J.useEffect;function dS(t,n){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(typeof t=="function"&&t.toString()===n.toString())return!0;let i,o,u;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(i=t.length,i!==n.length)return!1;for(o=i;o--!==0;)if(!dS(t[o],n[o]))return!1;return!0}if(u=Object.keys(t),i=u.length,i!==Object.keys(n).length)return!1;for(o=i;o--!==0;)if(!{}.hasOwnProperty.call(n,u[o]))return!1;for(o=i;o--!==0;){const h=u[o];if(!(h==="_owner"&&t.$$typeof)&&!dS(t[h],n[h]))return!1}return!0}return t!==t&&n!==n}function $_(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function H_(t,n){const i=$_(t);return Math.round(n*i)/i}function $E(t){const n=tt.useRef(t);return fS(()=>{n.current=t}),n}function xG(t){t===void 0&&(t={});const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:u,elements:{reference:h,floating:g}={},transform:v=!0,whileElementsMounted:S,open:A}=t,[w,C]=tt.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[M,R]=tt.useState(o);dS(M,o)||R(o);const[V,L]=tt.useState(null),[P,U]=tt.useState(null),q=tt.useCallback(ce=>{ce!==le.current&&(le.current=ce,L(ce))},[]),F=tt.useCallback(ce=>{ce!==be.current&&(be.current=ce,U(ce))},[]),ae=h||V,H=g||P,le=tt.useRef(null),be=tt.useRef(null),de=tt.useRef(w),Ue=S!=null,De=$E(S),$e=$E(u),ke=$E(A),We=tt.useCallback(()=>{if(!le.current||!be.current)return;const ce={placement:n,strategy:i,middleware:M};$e.current&&(ce.platform=$e.current),bG(le.current,be.current,ce).then(Ae=>{const Be={...Ae,isPositioned:ke.current!==!1};et.current&&!dS(de.current,Be)&&(de.current=Be,V2.flushSync(()=>{C(Be)}))})},[M,n,i,$e,ke]);fS(()=>{A===!1&&de.current.isPositioned&&(de.current.isPositioned=!1,C(ce=>({...ce,isPositioned:!1})))},[A]);const et=tt.useRef(!1);fS(()=>(et.current=!0,()=>{et.current=!1}),[]),fS(()=>{if(ae&&(le.current=ae),H&&(be.current=H),ae&&H){if(De.current)return De.current(ae,H,We);We()}},[ae,H,We,De,Ue]);const Ge=tt.useMemo(()=>({reference:le,floating:be,setReference:q,setFloating:F}),[q,F]),re=tt.useMemo(()=>({reference:ae,floating:H}),[ae,H]),W=tt.useMemo(()=>{const ce={position:i,left:0,top:0};if(!re.floating)return ce;const Ae=H_(re.floating,w.x),Be=H_(re.floating,w.y);return v?{...ce,transform:"translate("+Ae+"px, "+Be+"px)",...$_(re.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:Ae,top:Be}},[i,v,re.floating,w.x,w.y]);return tt.useMemo(()=>({...w,update:We,refs:Ge,elements:re,floatingStyles:W}),[w,We,Ge,re,W])}const SG=t=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:t,fn(i){const{element:o,padding:u}=typeof t=="function"?t(i):t;return o&&n(o)?o.current!=null?B_({element:o.current,padding:u}).fn(i):{}:o?B_({element:o,padding:u}).fn(i):{}}}},HE=(t,n)=>({...pG(t),options:[t,n]}),kE=(t,n)=>({...gG(t),options:[t,n]}),PE=(t,n)=>({...yG(t),options:[t,n]}),k_=(t,n)=>({...vG(t),options:[t,n]}),P_=(t,n)=>({...SG(t),options:[t,n]});var YE={};const Y_={...tt},TG=Y_.useInsertionEffect||(t=>t());function $y(t){const n=tt.useRef(()=>{if(YE.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return TG(()=>{n.current=t}),tt.useCallback(function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return n.current==null?void 0:n.current(...o)},[])}var Hy=typeof document<"u"?J.useLayoutEffect:J.useEffect;let q_=!1,AG=0;const G_=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+AG++;function wG(){const[t,n]=tt.useState(()=>q_?G_():void 0);return Hy(()=>{t==null&&n(G_())},[]),tt.useEffect(()=>{q_=!0},[]),t}const EG=Y_.useId||wG;let qE;YE.NODE_ENV!=="production"&&(qE=new Set);function CG(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];const u="Floating UI: "+i.join(" ");if(!((t=qE)!=null&&t.has(u))){var h;(h=qE)==null||h.add(u),console.error(u)}}function DG(){const t=new Map;return{emit(n,i){var o;(o=t.get(n))==null||o.forEach(u=>u(i))},on(n,i){t.set(n,[...t.get(n)||[],i])},off(n,i){var o;t.set(n,((o=t.get(n))==null?void 0:o.filter(u=>u!==i))||[])}}}const MG=tt.createContext(null),OG=tt.createContext(null),RG=()=>{var t;return((t=tt.useContext(MG))==null?void 0:t.id)||null},F_=()=>tt.useContext(OG);function _G(t){return"data-floating-ui-"+t}function hS(t){const n=J.useRef(t);return Hy(()=>{n.current=t}),n}function GE(t,n){let i=t.filter(u=>{var h;return u.parentId===n&&((h=u.context)==null?void 0:h.open)}),o=i;for(;o.length;)o=t.filter(u=>{var h;return(h=o)==null?void 0:h.some(g=>{var v;return u.parentId===g.id&&((v=u.context)==null?void 0:v.open)})}),i=i.concat(o);return i}const zG="data-floating-ui-focusable";function X_(t){return lo(t.target)&&t.target.tagName==="BUTTON"}function Z_(t){return $q(t)}function FE(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,dataRef:u,elements:{domReference:h}}=t,{enabled:g=!0,event:v="click",toggle:S=!0,ignoreMouse:A=!1,keyboardHandlers:w=!0,stickIfOpen:C=!0}=n,M=tt.useRef(),R=tt.useRef(!1),V=tt.useMemo(()=>({onPointerDown(L){M.current=L.pointerType},onMouseDown(L){const P=M.current;L.button===0&&v!=="click"&&(E_(P)&&A||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="mousedown")?o(!1,L.nativeEvent,"click"):(L.preventDefault(),o(!0,L.nativeEvent,"click"))))},onClick(L){const P=M.current;if(v==="mousedown"&&M.current){M.current=void 0;return}E_(P)&&A||(i&&S&&(!(u.current.openEvent&&C)||u.current.openEvent.type==="click")?o(!1,L.nativeEvent,"click"):o(!0,L.nativeEvent,"click"))},onKeyDown(L){M.current=void 0,!(L.defaultPrevented||!w||X_(L))&&(L.key===" "&&!Z_(h)&&(L.preventDefault(),R.current=!0),L.key==="Enter"&&o(!(i&&S),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!w||X_(L)||Z_(h)||L.key===" "&&R.current&&(R.current=!1,o(!(i&&S),L.nativeEvent,"click"))}}),[u,h,v,A,w,o,i,C,S]);return tt.useMemo(()=>g?{reference:V}:{},[g,V])}const NG={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VG={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Q_=t=>{var n,i;return{escapeKey:typeof t=="boolean"?t:(n=t==null?void 0:t.escapeKey)!=null?n:!1,outsidePress:typeof t=="boolean"?t:(i=t==null?void 0:t.outsidePress)!=null?i:!0}};function XE(t,n){n===void 0&&(n={});const{open:i,onOpenChange:o,elements:u,dataRef:h}=t,{enabled:g=!0,escapeKey:v=!0,outsidePress:S=!0,outsidePressEvent:A="pointerdown",referencePress:w=!1,referencePressEvent:C="pointerdown",ancestorScroll:M=!1,bubbles:R,capture:V}=n,L=F_(),P=$y(typeof S=="function"?S:()=>!1),U=typeof S=="function"?P:S,q=tt.useRef(!1),F=tt.useRef(!1),{escapeKey:ae,outsidePress:H}=Q_(R),{escapeKey:le,outsidePress:be}=Q_(V),de=tt.useRef(!1),Ue=$y(Ge=>{var re;if(!i||!g||!v||Ge.key!=="Escape"||de.current)return;const W=(re=h.current.floatingContext)==null?void 0:re.nodeId,ce=L?GE(L.nodesRef.current,W):[];if(!ae&&(Ge.stopPropagation(),ce.length>0)){let Ae=!0;if(ce.forEach(Be=>{var X;if((X=Be.context)!=null&&X.open&&!Be.context.dataRef.current.__escapeKeyBubbles){Ae=!1;return}}),!Ae)return}o(!1,Lq(Ge)?Ge.nativeEvent:Ge,"escape-key")}),De=$y(Ge=>{var re;const W=()=>{var ce;Ue(Ge),(ce=ob(Ge))==null||ce.removeEventListener("keydown",W)};(re=ob(Ge))==null||re.addEventListener("keydown",W)}),$e=$y(Ge=>{var re;const W=q.current;q.current=!1;const ce=F.current;if(F.current=!1,A==="click"&&ce||W||typeof U=="function"&&!U(Ge))return;const Ae=ob(Ge),Be="["+_G("inert")+"]",X=C_(u.floating).querySelectorAll(Be);let xe=Ua(Ae)?Ae:null;for(;xe&&!od(xe);){const qe=ld(xe);if(od(qe)||!Ua(qe))break;xe=qe}if(X.length&&Ua(Ae)&&!jq(Ae)&&!w_(Ae,u.floating)&&Array.from(X).every(qe=>!w_(xe,qe)))return;if(lo(Ae)&&et){const qe=od(Ae),Pe=ll(Ae),ot=/auto|scroll/,Je=qe||ot.test(Pe.overflowX),Tt=qe||ot.test(Pe.overflowY),pt=Je&&Ae.clientWidth>0&&Ae.scrollWidth>Ae.clientWidth,zn=Tt&&Ae.clientHeight>0&&Ae.scrollHeight>Ae.clientHeight,Ze=Pe.direction==="rtl",dn=zn&&(Ze?Ge.offsetX<=Ae.offsetWidth-Ae.clientWidth:Ge.offsetX>Ae.clientWidth),Rr=pt&&Ge.offsetY>Ae.clientHeight;if(dn||Rr)return}const Me=(re=h.current.floatingContext)==null?void 0:re.nodeId,Ye=L&&GE(L.nodesRef.current,Me).some(qe=>{var Pe;return OE(Ge,(Pe=qe.context)==null?void 0:Pe.elements.floating)});if(OE(Ge,u.floating)||OE(Ge,u.domReference)||Ye)return;const ze=L?GE(L.nodesRef.current,Me):[];if(ze.length>0){let qe=!0;if(ze.forEach(Pe=>{var ot;if((ot=Pe.context)!=null&&ot.open&&!Pe.context.dataRef.current.__outsidePressBubbles){qe=!1;return}}),!qe)return}o(!1,Ge,"outside-press")}),ke=$y(Ge=>{var re;const W=()=>{var ce;$e(Ge),(ce=ob(Ge))==null||ce.removeEventListener(A,W)};(re=ob(Ge))==null||re.addEventListener(A,W)});tt.useEffect(()=>{if(!i||!g)return;h.current.__escapeKeyBubbles=ae,h.current.__outsidePressBubbles=H;let Ge=-1;function re(X){o(!1,X,"ancestor-scroll")}function W(){window.clearTimeout(Ge),de.current=!0}function ce(){Ge=window.setTimeout(()=>{de.current=!1},rS()?5:0)}const Ae=C_(u.floating);v&&(Ae.addEventListener("keydown",le?De:Ue,le),Ae.addEventListener("compositionstart",W),Ae.addEventListener("compositionend",ce)),U&&Ae.addEventListener(A,be?ke:$e,be);let Be=[];return M&&(Ua(u.domReference)&&(Be=mm(u.domReference)),Ua(u.floating)&&(Be=Be.concat(mm(u.floating))),!Ua(u.reference)&&u.reference&&u.reference.contextElement&&(Be=Be.concat(mm(u.reference.contextElement)))),Be=Be.filter(X=>{var xe;return X!==((xe=Ae.defaultView)==null?void 0:xe.visualViewport)}),Be.forEach(X=>{X.addEventListener("scroll",re,{passive:!0})}),()=>{v&&(Ae.removeEventListener("keydown",le?De:Ue,le),Ae.removeEventListener("compositionstart",W),Ae.removeEventListener("compositionend",ce)),U&&Ae.removeEventListener(A,be?ke:$e,be),Be.forEach(X=>{X.removeEventListener("scroll",re)}),window.clearTimeout(Ge)}},[h,u,v,U,A,i,o,M,g,ae,H,Ue,le,De,$e,be,ke]),tt.useEffect(()=>{q.current=!1},[U,A]);const We=tt.useMemo(()=>({onKeyDown:Ue,...w&&{[NG[C]]:Ge=>{o(!1,Ge.nativeEvent,"reference-press")},...C!=="click"&&{onClick(Ge){o(!1,Ge.nativeEvent,"reference-press")}}}}),[Ue,o,w,C]),et=tt.useMemo(()=>({onKeyDown:Ue,onMouseDown(){F.current=!0},onMouseUp(){F.current=!0},[VG[A]]:()=>{q.current=!0}}),[Ue,A]);return tt.useMemo(()=>g?{reference:We,floating:et}:{},[g,We,et])}function UG(t){const{open:n=!1,onOpenChange:i,elements:o}=t,u=EG(),h=tt.useRef({}),[g]=tt.useState(()=>DG()),v=RG()!=null;if(YE.NODE_ENV!=="production"){const R=o.reference;R&&!Ua(R)&&CG("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[S,A]=tt.useState(o.reference),w=$y((R,V,L)=>{h.current.openEvent=R?V:void 0,g.emit("openchange",{open:R,event:V,reason:L,nested:v}),i==null||i(R,V,L)}),C=tt.useMemo(()=>({setPositionReference:A}),[]),M=tt.useMemo(()=>({reference:S||o.reference||null,floating:o.floating||null,domReference:o.reference}),[S,o.reference,o.floating]);return tt.useMemo(()=>({dataRef:h,open:n,onOpenChange:w,elements:M,events:g,floatingId:u,refs:C}),[n,w,M,g,u,C])}function ZE(t){t===void 0&&(t={});const{nodeId:n}=t,i=UG({...t,elements:{reference:null,floating:null,...t.elements}}),o=t.rootContext||i,u=o.elements,[h,g]=tt.useState(null),[v,S]=tt.useState(null),w=(u==null?void 0:u.domReference)||h,C=tt.useRef(null),M=F_();Hy(()=>{w&&(C.current=w)},[w]);const R=xG({...t,elements:{...u,...v&&{reference:v}}}),V=tt.useCallback(F=>{const ae=Ua(F)?{getBoundingClientRect:()=>F.getBoundingClientRect(),contextElement:F}:F;S(ae),R.refs.setReference(ae)},[R.refs]),L=tt.useCallback(F=>{(Ua(F)||F===null)&&(C.current=F,g(F)),(Ua(R.refs.reference.current)||R.refs.reference.current===null||F!==null&&!Ua(F))&&R.refs.setReference(F)},[R.refs]),P=tt.useMemo(()=>({...R.refs,setReference:L,setPositionReference:V,domReference:C}),[R.refs,L,V]),U=tt.useMemo(()=>({...R.elements,domReference:w}),[R.elements,w]),q=tt.useMemo(()=>({...R,...o,refs:P,elements:U,nodeId:n}),[R,P,U,n,o]);return Hy(()=>{o.dataRef.current.floatingContext=q;const F=M==null?void 0:M.nodesRef.current.find(ae=>ae.id===n);F&&(F.context=q)}),tt.useMemo(()=>({...R,context:q,refs:P,elements:U}),[R,P,U,q])}const K_="active",I_="selected";function QE(t,n,i){const o=new Map,u=i==="item";let h=t;if(u&&t){const{[K_]:g,[I_]:v,...S}=t;h=S}return{...i==="floating"&&{tabIndex:-1,[zG]:""},...h,...n.map(g=>{const v=g?g[i]:null;return typeof v=="function"?t?v(t):null:v}).concat(t).reduce((g,v)=>(v&&Object.entries(v).forEach(S=>{let[A,w]=S;if(!(u&&[K_,I_].includes(A)))if(A.indexOf("on")===0){if(o.has(A)||o.set(A,[]),typeof w=="function"){var C;(C=o.get(A))==null||C.push(w),g[A]=function(){for(var M,R=arguments.length,V=new Array(R),L=0;L<R;L++)V[L]=arguments[L];return(M=o.get(A))==null?void 0:M.map(P=>P(...V)).find(P=>P!==void 0)}}}else g[A]=w}),g),{})}}function KE(t){t===void 0&&(t=[]);const n=t.map(v=>v==null?void 0:v.reference),i=t.map(v=>v==null?void 0:v.floating),o=t.map(v=>v==null?void 0:v.item),u=tt.useCallback(v=>QE(v,t,"reference"),n),h=tt.useCallback(v=>QE(v,t,"floating"),i),g=tt.useCallback(v=>QE(v,t,"item"),o);return tt.useMemo(()=>({getReferenceProps:u,getFloatingProps:h,getItemProps:g}),[u,h,g])}const W_=t=>t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(n,i)=>(i?"-":"")+n.toLowerCase());function ky(t,n){return typeof t=="function"?t(n):t}function LG(t,n){const[i,o]=tt.useState(t);return t&&!i&&o(!0),tt.useEffect(()=>{if(!t&&i){const u=setTimeout(()=>o(!1),n);return()=>clearTimeout(u)}},[t,i,n]),i}function jG(t,n){n===void 0&&(n={});const{open:i,elements:{floating:o}}=t,{duration:u=250}=n,g=(typeof u=="number"?u:u.close)||0,[v,S]=tt.useState("unmounted"),A=LG(i,g);return!A&&v==="close"&&S("unmounted"),Hy(()=>{if(o){if(i){S("initial");const w=requestAnimationFrame(()=>{S("open")});return()=>{cancelAnimationFrame(w)}}S("close")}},[i,o]),{isMounted:A,status:v}}function IE(t,n){n===void 0&&(n={});const{initial:i={opacity:0},open:o,close:u,common:h,duration:g=250}=n,v=t.placement,S=v.split("-")[0],A=tt.useMemo(()=>({side:S,placement:v}),[S,v]),w=typeof g=="number",C=(w?g:g.open)||0,M=(w?g:g.close)||0,[R,V]=tt.useState(()=>({...ky(h,A),...ky(i,A)})),{isMounted:L,status:P}=jG(t,{duration:g}),U=hS(i),q=hS(o),F=hS(u),ae=hS(h);return Hy(()=>{const H=ky(U.current,A),le=ky(F.current,A),be=ky(ae.current,A),de=ky(q.current,A)||Object.keys(H).reduce((Ue,De)=>(Ue[De]="",Ue),{});if(P==="initial"&&V(Ue=>({transitionProperty:Ue.transitionProperty,...be,...H})),P==="open"&&V({transitionProperty:Object.keys(de).map(W_).join(","),transitionDuration:C+"ms",...be,...de}),P==="close"){const Ue=le||H;V({transitionProperty:Object.keys(Ue).map(W_).join(","),transitionDuration:M+"ms",...be,...Ue})}},[M,F,U,q,ae,C,P,A]),{isMounted:L,styles:R}}const mS=({open:t,onClose:n,component:i,children:o,placement:u="bottom",className:h="",strategy:g="absolute",offset:v=8,padding:S=8})=>{const[A,w]=J.useState(t);J.useEffect(()=>{w(t)},[t]);const C=()=>{w(!1),n==null||n()},{x:M,y:R,strategy:V,refs:L,context:P}=ZE({strategy:g,open:A,onOpenChange:be=>{be||C()},middleware:[HE(v),PE(),kE({padding:S})],whileElementsMounted:BE,placement:u}),U=FE(P),q=XE(P),{getReferenceProps:F,getFloatingProps:ae}=KE([U,q]),{isMounted:H,styles:le}=IE(P,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px) scale(0.95)"}});return Y.jsxs("div",{className:"relative",children:[Y.jsx("div",{ref:L.setReference,...F(),className:"reference-element",children:o}),H&&Y.jsx("div",{ref:L.setFloating,style:{position:V,top:R??0,left:M??0,...le,zIndex:9999},...ae(),className:"floating-element",children:Y.jsx(Py,{className:h,children:typeof i=="function"?i():i})})]})},J_={initial:{backgroundColor:"#ffffff",color:"#57595f"},active:{backgroundColor:"#dee7fc",color:"#111827"},exit:{backgroundColor:"#ffffff",color:"#57595f"}},BG=({selectedPeriod:t,handlePeriodChange:n})=>Y.jsxs("div",{className:"flex border border-blue-100 rounded-xl p-6 gap-2",children:[Y.jsx(ma.button,{variants:J_,initial:"initial",animate:t==="AM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("AM"),disabled:t==="AM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"AM"}),Y.jsx(ma.button,{variants:J_,initial:"initial",animate:t==="PM"?"active":"initial",exit:"exit",transition:{duration:.2},onClick:()=>n("PM"),disabled:t==="PM",className:"flex items-center justify-center font-500 px-10 py-2 rounded-lg",children:"PM"})]}),$G=({setHourMenuOpen:t,hourMenuOpen:n,selectedHour:i})=>Y.jsx("button",{onClick:()=>t(!n),className:"flex justify-center items-center w-72 h-full border py-8 px-14 rounded-xl border-blue-100 text-gray-600 font-500",children:`${String(i).padStart(2,"0")}:00`}),e8=({date:t,onDateChange:n,showTimeSelector:i=!0})=>{const[o,u]=J.useState(t),[h,g]=J.useState(t),[v,S]=J.useState(t.getHours()%12||12),[A,w]=J.useState(t.getHours()>=12?"PM":"AM"),[C,M]=J.useState(0),{t:R}=cr(),[V,L]=J.useState(!1);J.useEffect(()=>{u(t),g(t),S(t.getHours()%12||12),w(t.getHours()>=12?"PM":"AM")},[t]);const P=()=>{M(-1),setTimeout(()=>{u(u$(o))},10)},U=()=>{M(1),setTimeout(()=>{u(aO(o,1))},10)},q=Ue=>{const De=pO(gO(yO(Ue,0),0),A==="AM"?v%12:v%12+12);g(De),n(De)},F=Ue=>{S(Ue);const De=pO(gO(yO(h,0),0),A==="AM"?Ue%12:Ue%12+12);g(De),n(De),L(!1)},ae=Ue=>{w(Ue)},H=()=>Y.jsxs("div",{className:"flex justify-between items-center mb-8",children:[Y.jsx("h4",{className:"text-header-4",children:Bx(o,"MMMM yyyy")}),Y.jsxs("div",{className:"flex items-center gap-8",children:[Y.jsx(vS,{variant:"transparent",color:"gray",icon:Nq,onClick:P}),Y.jsx(vS,{variant:"transparent",color:"gray",icon:Wj,onClick:U})]})]}),le=()=>{const Ue=Sy(cB(o)),De=dB(oB(o)),$e=uB({start:Ue,end:De});return Y.jsx("div",{className:"grid grid-cols-7 gap-2",children:$e.map((ke,We)=>{const et=sO(ke,h),Ge=o$(ke,o),re=l$(ke);return Y.jsx(ma.div,{className:`
|
|
664
|
+
p-2 text-center w-[40px] h-[40px] rounded-full flex items-center justify-center font-600 select-none
|
|
665
|
+
${Ge?"cursor-pointer":"text-gray-400 pointer-events-none"}
|
|
666
|
+
${re&&!et?"text-blue-600":""}
|
|
667
|
+
`,onClick:()=>q(ke),initial:!1,animate:{backgroundColor:et?"#93C5FD":"transparent",color:et?"#FFFFFF":re?"#2563EB":Ge?"#000000":"#9CA3AF"},transition:{duration:.2,ease:"easeInOut",backgroundColor:{duration:.2,ease:"easeOut"}},whileHover:Ge&&!et?{backgroundColor:"#E5E7EB"}:{},whileTap:Ge?{backgroundColor:et?"#7AA5E0":"#D1D5DB"}:{},children:Bx(ke,"d")},We)})})},be=()=>{const Ue=Array.from({length:12},($e,ke)=>ke+1),De=()=>Y.jsx("div",{className:"bg-white rounded-lg shadow-lg w-80 max-h-[150px] overflow-y-auto p-4 flex flex-col gap-4",children:Ue.map($e=>Y.jsxs("button",{onClick:()=>F($e),className:`w-full text-center py-2 transition-all duration-100 rounded-lg hover:bg-gray-100 ${$e===v?"text-blue-500 font-medium":""}`,children:[String($e).padStart(2,"0"),":00"]},$e))});return Y.jsxs("div",{className:"flex justify-between items-center mt-4 mb-4",children:[Y.jsx("h4",{className:"text-body-m font-medium",children:R("time")}),Y.jsxs("div",{className:"flex items-center gap-6",children:[Y.jsx(mS,{open:V,onClose:()=>L(!1),component:De,placement:"bottom",className:"!p-0 overflow-hidden",strategy:"fixed",children:Y.jsx($G,{setHourMenuOpen:L,hourMenuOpen:V,selectedHour:v})}),Y.jsx(BG,{selectedPeriod:A,handlePeriodChange:ae})]})]})},de={slideNextEnter:{x:300,opacity:0},slidePrevEnter:{x:-300,opacity:0},center:{x:0,opacity:1,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slideNextExit:{x:-300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}},slidePrevExit:{x:300,opacity:0,transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}}}};return Y.jsxs("div",{className:"rounded-3xl max-w-[300px] mx-auto bg-white p-24 relative overflow-hidden",children:[H(),Y.jsx(lm,{initial:!1,mode:"popLayout",children:Y.jsx(ma.div,{variants:de,initial:C===1?"slideNextEnter":C===-1?"slidePrevEnter":!1,animate:"center",exit:C===1?"slideNextExit":"slidePrevExit",className:"w-full",children:le()},Bx(o,"yyyy-MM"))}),i&&be()]})};var HG=t=>t.type==="checkbox",kG=t=>t instanceof Date,t8=t=>t==null;const PG=t=>typeof t=="object";var lb=t=>!t8(t)&&!Array.isArray(t)&&PG(t)&&!kG(t),YG=t=>lb(t)&&t.target?HG(t.target)?t.target.checked:t.target.value:t,qG=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,GG=(t,n)=>t.has(qG(n)),FG=t=>{const n=t.constructor&&t.constructor.prototype;return lb(n)&&n.hasOwnProperty("isPrototypeOf")},XG=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function n8(t){let n;const i=Array.isArray(t),o=typeof FileList<"u"?t instanceof FileList:!1;if(t instanceof Date)n=new Date(t);else if(t instanceof Set)n=new Set(t);else if(!(XG&&(t instanceof Blob||o))&&(i||lb(t)))if(n=i?[]:{},!i&&!FG(t))n=t;else for(const u in t)t.hasOwnProperty(u)&&(n[u]=n8(t[u]));else return t;return n}var a8=t=>Array.isArray(t)?t.filter(Boolean):[],WE=t=>t===void 0,_s=(t,n,i)=>{if(!n||!lb(t))return i;const o=a8(n.split(/[,[\].]+?/)).reduce((u,h)=>t8(u)?u:u[h],t);return WE(o)||o===t?WE(t[n])?i:t[n]:o},JE=t=>typeof t=="boolean",ZG=t=>/^\w*$/.test(t),QG=t=>a8(t.replace(/["|']|\]/g,"").split(/\.|\[/)),i8=(t,n,i)=>{let o=-1;const u=ZG(n)?[n]:QG(n),h=u.length,g=h-1;for(;++o<h;){const v=u[o];let S=i;if(o!==g){const A=t[v];S=lb(A)||Array.isArray(A)?A:isNaN(+u[o+1])?{}:[]}if(v==="__proto__"||v==="constructor"||v==="prototype")return;t[v]=S,t=t[v]}};const r8={BLUR:"blur",CHANGE:"change"},s8={all:"all"},KG=J.createContext(null),e3=()=>J.useContext(KG);var IG=(t,n,i,o=!0)=>{const u={defaultValues:n._defaultValues};for(const h in t)Object.defineProperty(u,h,{get:()=>{const g=h;return n._proxyFormState[g]!==s8.all&&(n._proxyFormState[g]=!o||s8.all),i&&(i[g]=!0),t[g]}});return u};function WG(t){const n=e3(),{control:i=n.control,disabled:o,name:u,exact:h}=t||{},[g,v]=J.useState(i._formState),S=J.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),A=J.useRef(u);return A.current=u,J.useEffect(()=>i._subscribe({name:A.current,formState:S.current,exact:h,callback:w=>{!o&&v({...i._formState,...w})}}),[i,o,h]),J.useEffect(()=>{S.current.isValid&&i._setValid(!0)},[i]),J.useMemo(()=>IG(g,i,S.current,!1),[g,i])}var JG=t=>typeof t=="string",eF=(t,n,i,o,u)=>JG(t)?_s(i,t,u):Array.isArray(t)?t.map(h=>_s(i,h)):i;function tF(t){const n=e3(),{control:i=n.control,name:o,defaultValue:u,disabled:h,exact:g}=t||{},v=J.useRef(o),S=J.useRef(u);v.current=o,J.useEffect(()=>i._subscribe({name:v.current,formState:{values:!0},exact:g,callback:C=>!h&&w(eF(v.current,i._names,C.values||i._formValues,!1,S.current))}),[i,h,g]);const[A,w]=J.useState(i._getWatch(o,u));return J.useEffect(()=>i._removeUnmounted()),A}function ub(t){const n=e3(),{name:i,disabled:o,control:u=n.control,shouldUnregister:h}=t,g=GG(u._names.array,i),v=tF({control:u,name:i,defaultValue:_s(u._formValues,i,_s(u._defaultValues,i,t.defaultValue)),exact:!0}),S=WG({control:u,name:i,exact:!0}),A=J.useRef(t),w=J.useRef(u.register(i,{...t.rules,value:v,...JE(t.disabled)?{disabled:t.disabled}:{}})),C=J.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!_s(S.errors,i)},isDirty:{enumerable:!0,get:()=>!!_s(S.dirtyFields,i)},isTouched:{enumerable:!0,get:()=>!!_s(S.touchedFields,i)},isValidating:{enumerable:!0,get:()=>!!_s(S.validatingFields,i)},error:{enumerable:!0,get:()=>_s(S.errors,i)}}),[S,i]),M=J.useCallback(P=>w.current.onChange({target:{value:YG(P),name:i},type:r8.CHANGE}),[i]),R=J.useCallback(()=>w.current.onBlur({target:{value:_s(u._formValues,i),name:i},type:r8.BLUR}),[i,u._formValues]),V=J.useCallback(P=>{const U=_s(u._fields,i);U&&P&&(U._f.ref={focus:()=>P.focus(),select:()=>P.select(),setCustomValidity:q=>P.setCustomValidity(q),reportValidity:()=>P.reportValidity()})},[u._fields,i]),L=J.useMemo(()=>({name:i,value:v,...JE(o)||S.disabled?{disabled:S.disabled||o}:{},onChange:M,onBlur:R,ref:V}),[i,o,S.disabled,M,R,V,v]);return J.useEffect(()=>{const P=u._options.shouldUnregister||h;u.register(i,{...A.current.rules,...JE(A.current.disabled)?{disabled:A.current.disabled}:{}});const U=(q,F)=>{const ae=_s(u._fields,q);ae&&ae._f&&(ae._f.mount=F)};if(U(i,!0),P){const q=n8(_s(u._options.defaultValues,i));i8(u._defaultValues,i,q),WE(_s(u._formValues,i))&&i8(u._formValues,i,q)}return!g&&u.register(i),()=>{(g?P&&!u._state.action:P)?u.unregister(i):U(i,!1)}},[i,u,g,h]),J.useEffect(()=>{u._setDisabledField({disabled:o,name:i})},[o,i,u]),J.useMemo(()=>({field:L,formState:S,fieldState:C}),[L,S,C])}const o8=t=>t.render(ub(t)),l8=({label:t,onChange:n,value:i,name:o,error:u,placeholder:h,className:g="",disabled:v=!1,disabledInput:S=!1,leftSide:A,rightSide:w,...C})=>{const{t:M}=cr();return Y.jsxs("label",{className:`flex flex-col group gap-8 select-none ${v&&"cursor-not-allowed"} ${g}`,htmlFor:o,children:[Y.jsx("h6",{className:`text-gray-600 font-600 group ${u&&"!text-red-500"} text-label ${v&&"text-gray-300"}`,children:t}),Y.jsxs("label",{htmlFor:o,className:`
|
|
668
|
+
flex items-center justify-between gap-8 p-16
|
|
669
|
+
|
|
670
|
+
${u&&"!border-red-500"}
|
|
671
|
+
|
|
672
|
+
bg-light
|
|
673
|
+
|
|
674
|
+
w-full h-full rounded-full border
|
|
675
|
+
|
|
676
|
+
${i&&!v?"border-blue-200":"border-blue-100"}
|
|
677
|
+
${!v&&"group-hover:border-blue-300"}
|
|
678
|
+
${v&&"cursor-not-allowed"}
|
|
679
|
+
|
|
680
|
+
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
681
|
+
${S&&"hover:!cursor-pointer"}
|
|
682
|
+
group-disabled:bg-gray-500
|
|
683
|
+
`,children:[A&&A,Y.jsx("input",{...C,id:o,name:o,disabled:v,placeholder:h,value:i,onChange:R=>{n(R.target.value)},className:`group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none ${S&&"pointer-events-none !select-none !caret-transparent"}`}),w&&w]}),Y.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:u&&M(u||"",{x:M(o)})})]})},nF=({control:t,name:n,showTimeSelector:i=!1,label:o,placeholder:u})=>{const{field:{value:h=new Date,onChange:g,onBlur:v},fieldState:{error:S}}=ub({name:n,control:t}),{t:A}=cr(),w=A(n),[C,M]=J.useState(!1);return Y.jsx(mS,{open:C,strategy:"fixed",padding:0,offset:0,onClose:()=>M(!1),className:"!p-0",component:Y.jsx(e8,{date:h||new Date,onDateChange:R=>{g(R)},showTimeSelector:i}),children:Y.jsx(l8,{onBlur:v,name:w,label:o,onFocus:R=>{R.preventDefault(),M(!0)},value:h&&bO(h)||"",disabledInput:!0,onChange:()=>{},onSelect:()=>{},onSelectCapture:()=>{},placeholder:u,error:S==null?void 0:S.message,rightSide:h&&Y.jsx(Pn,{icon:Jj,className:"text-gray-500 cursor-pointer",onClick:()=>g(null)})})})},u8=({title:t,description:n,open:i,onClose:o,onConfirm:u,onCancel:h,icon:g})=>{const v={hidden:{opacity:0},visible:{opacity:1}},S={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}},A=()=>{u(),o()},w=()=>{h(),o()};return Y.jsx(lm,{children:i&&Y.jsx(Y.Fragment,{children:Y.jsx(ma.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:v,onClick:o,children:Y.jsx(ma.div,{className:"w-full max-w-4xl mx-16 z-50",variants:S,initial:"hidden",animate:"visible",exit:"exit",onClick:C=>C.stopPropagation(),children:Y.jsxs(Py,{className:"flex flex-col gap-20 p-32",children:[Y.jsxs("div",{className:"flex flex-col",children:[Y.jsx("div",{className:"flex justify-end",children:Y.jsx(Pn,{icon:tA,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700",onClick:o})}),Y.jsx("div",{className:"flex justify-center",children:Y.jsx("div",{className:"bg-blue-100 rounded-full w-76 h-76 flex justify-center items-center",children:Y.jsx(Pn,{icon:g,className:"w-32 h-36 min-h-36 min-w-36 text-blue-500",onClick:o})})})]}),Y.jsxs("div",{className:"flex flex-col gap-20 items-center",children:[Y.jsxs("div",{children:[Y.jsx("h3",{className:"text-black font-700 text-3xl",children:t}),Y.jsx("p",{className:"text-gray-500 text-xl font-600",children:n})]}),Y.jsxs("div",{className:"flex justify-center w-full gap-16",children:[Y.jsx(db,{onClick:w,variant:"transparent",className:"px-36 !py-10 !text-lg",children:"Cancel"}),Y.jsx(db,{onClick:A,className:"px-32 py-16 !text-lg",children:"Confirm"})]})]})]})})})})})},c8={duration:.3,ease:[.32,.72,0,1]},aF={initial:{opacity:0,height:0,y:-8},animate:{opacity:1,height:"auto",y:0},exit:{opacity:0,height:0,y:-8}},iF=({isOpen:t})=>Y.jsx(ma.div,{animate:{rotate:t?180:0},transition:{duration:.5,ease:[.16,1,.3,1]},children:Y.jsx(Pn,{icon:_q,className:"text-gray-500 w-12 h-12 max-w-12 max-h-12"})}),rF=({label:t,children:n,subtitle:i,open:o,onClick:u})=>{const{t:h}=cr(),[g,v]=J.useState(!1),S=o!==void 0?o:g,A=u||(()=>v(!g));return Y.jsxs(ma.div,{className:"relative w-full bg-white border border-blue-100 rounded-2xl overflow-hidden",children:[Y.jsxs("button",{onClick:A,className:`py-24 px-32 text-black font-semibold border-b
|
|
684
|
+
${S?"border-blue-100 bg-gray-50/50":"border-transparent"}
|
|
685
|
+
transition-all duration-200 ease-in-out
|
|
686
|
+
focus:outline-none hover:bg-gray-50/50
|
|
687
|
+
flex items-center gap-2 group w-full justify-between`,children:[Y.jsx("span",{className:"truncate text-nowrap text-lg md:text-xl font-[700]",children:h(t)}),Y.jsxs("div",{className:"flex gap-10 items-center",children:[Y.jsx("span",{className:"text-gray-500 font-normal text-base md:text-lg",children:i}),Y.jsx(iF,{isOpen:S})]})]}),Y.jsx(lm,{mode:"wait",children:S&&Y.jsx(ma.div,{...aF,transition:{height:{duration:c8.duration,ease:c8.ease},opacity:{duration:.15,ease:"easeOut"}},className:"w-full bg-white overflow-hidden",children:n})})]})},co={LOADING:"loading",COMPLETE:"complete",ERROR:"error"},sF=({file:t,onDelete:n,onRetry:i,uploadDuration:o=4e3})=>{const{t:u}=cr(),h=()=>t.error?co.ERROR:t.loading?co.LOADING:co.COMPLETE,[g,v]=J.useState(h()),[S,A]=J.useState(0),[w,C]=J.useState(10);J.useEffect(()=>{const L=h();v(L);let P;if(L===co.LOADING&&S<100){const F=100/(o/100);P=setInterval(()=>{A(ae=>{const H=Math.min(ae+F,99),le=Math.max(0,Math.round((100-H)/10));return C(le),H})},100)}else L===co.COMPLETE&&S<100&&A(100);return()=>{P&&clearInterval(P)}},[t.loading,t.error,o,h,S]);const M=()=>{switch(g){case co.LOADING:return`${Math.round(S)}% (${w} ${u("seconds_left")})`;case co.COMPLETE:return u("file_uploaded");case co.ERROR:return u("upload_error");default:return""}},R=()=>{switch(g){case co.COMPLETE:return"text-green-500 font-600";case co.ERROR:return"text-red-500 font-600";default:return"text-gray-300 font-400"}},V=()=>{if(!(t!=null&&t.file_size))return u("unknown");const L=t.file_size/1024;return L<1024?`${L.toFixed(1)} KB`:`${(L/1024).toFixed(1)} MB`};return Y.jsxs("div",{className:"border border-gray-100 bg-white rounded-lg p-16 shadow-sm w-full",children:[Y.jsxs("div",{className:"flex items-center justify-between",children:[Y.jsxs("div",{className:"flex items-center gap-4",children:[Y.jsx(Pn,{icon:dN,className:"w-12 h-12 min-w-12 min-h-12 text-gray-400"}),Y.jsx("span",{className:"text-gray-500 text-sm",children:t.user_file_name})]}),g===co.COMPLETE&&Y.jsx("button",{onClick:n,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:Y.jsx(Pn,{icon:fN})}),g===co.ERROR&&Y.jsx("button",{onClick:i,className:"text-gray-400 transition-all duration-200 hover:text-gray-600 focus:outline-none",children:Y.jsx(Pn,{icon:uN})})]}),Y.jsx("div",{className:"flex items-center mt-2",children:t!=null&&t.analyzing?Y.jsxs("div",{className:"flex items-center gap-6",children:[Y.jsx(ma.div,{className:"h-14 w-14 rounded-full border-2 border-t-blue-500 border-r-blue-300 border-b-blue-200 border-l-blue-400",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),Y.jsxs("span",{className:"text-sm text-gray-500",children:[u("analyzing_file_with_ai"),"..."]})]}):Y.jsxs("div",{className:"text-sm",children:[Y.jsxs("span",{className:"text-gray-500",children:[V()," |"]})," ",Y.jsx("span",{className:R(),children:M()})]})}),g===co.LOADING&&Y.jsx("div",{className:"mt-2 bg-gray-200 rounded-full h-2",children:Y.jsx("div",{className:"h-2 rounded-full transition-all duration-100 ease-linear bg-blue-500",style:{width:`${S}%`}})})]})},Py=({children:t,className:n,element:i="div"})=>{const o=i;return Y.jsx(o,{className:`bg-white p-24 border border-blue-100 rounded-2xl ${n||""}`,children:t})},oF=({isOpen:t,onClose:n})=>{const i={hidden:{opacity:0},visible:{opacity:1}},o={hidden:{opacity:0,scale:.8,y:-20},visible:{opacity:1,scale:1,y:0,transition:{type:"spring",stiffness:300,damping:25}},exit:{opacity:0,scale:.8,y:20,transition:{duration:.2}}};return Y.jsx(lm,{children:t&&Y.jsx(Y.Fragment,{children:Y.jsx(ma.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:i,onClick:n,children:Y.jsx(ma.div,{className:"w-full max-w-4xl mx-16 z-50",variants:o,initial:"hidden",animate:"visible",exit:"exit",onClick:u=>u.stopPropagation(),children:Y.jsx(Py,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:Y.jsx(Y.Fragment,{})})})})})})},lF=({status:t,label:n,shouldAnimate:i})=>{const{t:o}=cr(),u=t==="done",h=t==="focus";return Y.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[Y.jsx(ma.div,{initial:i?!1:{backgroundColor:u?"#DDF6F5":"white",borderWidth:h?"1px":"0px",borderColor:h?"#4570EB":"#ABACAF70"},animate:{backgroundColor:u?"#DDF6F5":"white",borderWidth:h||!u?"1px":"0px",borderColor:h?"#4570EB":"#ABACAF70"},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-28 min-h-28 rounded-full flex items-center justify-center text-xl font-bold border-[1px]",children:Y.jsx(ma.div,{initial:i?!1:{color:u?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:u||h?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:Y.jsx(lm,{mode:"wait",children:u||h?Y.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:Y.jsx(Pn,{icon:nD,className:"w-14 h-14 min-w-14 min-h-14 text-blue-500"})},"check"):Y.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:Y.jsx(Pn,{icon:tD,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),Y.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${u?"text-black":"text-gray-400"}`,children:o(n)})]})},uF=({status:t,label:n,shouldAnimate:i})=>{const{t:o}=cr(),u=t==="done",h=t==="focus";return Y.jsxs("div",{className:"flex items-center gap-8 h-fit",children:[Y.jsx(ma.div,{initial:i?!1:{backgroundColor:u?"#DDF6F5":"white",borderWidth:h||!u?"1px":"0px",borderColor:h?"#4570EB":"#ABACAF70"},animate:{backgroundColor:u?"#C7D8FF":"white",borderWidth:h||!u?"1px":"0px",borderColor:h?"#4570EB":"#ABACAF70"},transition:{duration:i?.3:0,ease:"easeOut"},className:"min-w-24 min-h-24 rounded-full flex items-center justify-center text-xs font-bold z-10",children:Y.jsx(ma.div,{initial:i?!1:{color:h||u?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},animate:{color:h||u?"rgb(34, 197, 94)":"rgb(209, 213, 219)"},transition:{duration:i?.2:0},className:"flex items-center justify-center",children:Y.jsx(lm,{mode:"wait",children:u||h?Y.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:Y.jsx(Pn,{icon:nD,className:"w-14 h-14 min-w-14 min-h-14 text-blue-500"})},"check"):Y.jsx(ma.div,{initial:i?{opacity:0,scale:.8,rotate:-180}:{opacity:1,scale:1,rotate:0},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.8,rotate:180},transition:{duration:i?.3:0},className:"flex items-center justify-center",children:Y.jsx(Pn,{icon:tD,className:"w-14 h-14 min-w-14 min-h-14"})},"clock")})})}),Y.jsx("span",{className:`text-body-s font-medium transition-all duration-300 text-center w-full ${u||h?"text-black":"text-gray-400"}`,children:o(n)})]})},cF=({steps:t,direction:n="horizontal"})=>{const[i,o]=J.useState([]),[u,h]=J.useState(null),[g,v]=J.useState(!1),S=t.findIndex(M=>!M.completed),A=M=>S===M;J.useEffect(()=>{const M=t.map((R,V)=>A(V)?"focus":R.completed?"done":"pending");if(!g)o(M),v(!0),h(null);else{const R=M.findIndex((V,L)=>V!==i[L]);h(R!==-1?R:null),o(M)}},[t,S]);const w=()=>Y.jsx("div",{className:"flex flex-col gap-16 relative",children:t.map((M,R)=>{var U;const V=A(R-1)?"focus":(U=t[R-1])!=null&&U.completed?"done":"pending",L=A(R)?"focus":M.completed?"done":"pending",P=g&&u===R;return Y.jsxs("div",{className:"flex items-center gap-10 relative",children:[R!==0&&Y.jsx("div",{className:`absolute left-[13px] bottom-[28px] w-[1.5px] h-16 ${L==="done"||L==="focus"?"bg-blue-500":V==="done"||V==="focus"?"bg-gradient-to-b from-blue-500 to-[rgb(243,244,246)]":"bg-[rgb(243,244,246)]"}`}),Y.jsx(lF,{status:L,shouldAnimate:P,label:M.label})]},R)})}),C=()=>Y.jsx("div",{className:"w-full flex items-center gap-12",children:t.map((M,R)=>{const V=A(R)?"focus":M.completed?"done":"pending",L=g&&u===R;return Y.jsx("div",{className:"flex flex-col items-center justify-evenly w-full gap-2 relative col-span-1",children:Y.jsx(uF,{status:V,shouldAnimate:L,label:M.label})},R)})});return n==="horizontal"?Y.jsx(C,{}):Y.jsx(w,{})},fF=({variant:t="underline",tabs:n,activeTab:i,onTabChange:o,className:u="",direction:h="row",showLabel:g=!0})=>Y.jsx("div",{className:`flex items-center ${u}`,children:n.map(v=>Y.jsx(sD,{mode:"wait",children:Y.jsx(JM.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:"w-full",children:Y.jsx(F8,{href:v.href,label:g?v.label:"",icon:v.icon,direction:h,isSelected:i===v.id,onClick:()=>o(v.id),variant:t})},v.label)},v.label))}),dF=()=>{const[t,n]=J.useState([]),i=J.useRef([]),o=J.useCallback(h=>{const g={...h,id:(h==null?void 0:h.id)||EO.uniqueId(),open:!0,type:(h==null?void 0:h.type)||"center",props:{...h.props,open:!0,onClose:()=>u(h.id||EO.uniqueId())}};i.current=[...i.current,g],n(i.current)},[]),u=J.useCallback(h=>{i.current=i.current.map(g=>g.id===h?{...g,open:!1}:g),n(i.current),setTimeout(()=>{i.current=i.current.filter(g=>g.id!==h),n(i.current)},150)},[]);return J.useEffect(()=>{window.openModal=o,window.closeModal=u},[o,u]),Y.jsx(Y.Fragment,{children:t.map(h=>{if(h.type==="dialog"){const{props:v}=h;return Y.jsx(u8,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}if(h.type==="alert"){const{props:v}=h;return Y.jsx(S_,{...v,open:h.open,onClose:()=>u(h.id)},h.id)}const{props:g}=h;return Y.jsx(M8,{...g,open:h.open,onClose:()=>u(h.id),children:typeof g.children=="function"?g.children(()=>u(h.id)):g.children},h.id)})})};function hF(t){var n;(n=window==null?void 0:window.openModal)==null||n.call(window,t)}function mF(t){var n;(n=window==null?void 0:window.closeModal)==null||n.call(window,t)}function pF(t,n,i){const o=n[t];if(J.isValidElement(o)&&typeof o.type!="string")return J.cloneElement(o,i);if(typeof o=="function"){const u=o;return Y.jsx(u,{...i})}return o??Y.jsx("div",{children:"no content"})}var pS={exports:{}},cb={},gS={exports:{}},t3={};/**
|
|
688
|
+
* @license React
|
|
689
|
+
* scheduler.production.js
|
|
690
|
+
*
|
|
691
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
692
|
+
*
|
|
693
|
+
* This source code is licensed under the MIT license found in the
|
|
694
|
+
* LICENSE file in the root directory of this source tree.
|
|
695
|
+
*/var f8;function gF(){return f8||(f8=1,function(t){function n(re,W){var ce=re.length;re.push(W);e:for(;0<ce;){var Ae=ce-1>>>1,Be=re[Ae];if(0<u(Be,W))re[Ae]=W,re[ce]=Be,ce=Ae;else break e}}function i(re){return re.length===0?null:re[0]}function o(re){if(re.length===0)return null;var W=re[0],ce=re.pop();if(ce!==W){re[0]=ce;e:for(var Ae=0,Be=re.length,X=Be>>>1;Ae<X;){var xe=2*(Ae+1)-1,Me=re[xe],Ye=xe+1,ze=re[Ye];if(0>u(Me,ce))Ye<Be&&0>u(ze,Me)?(re[Ae]=ze,re[Ye]=ce,Ae=Ye):(re[Ae]=Me,re[xe]=ce,Ae=xe);else if(Ye<Be&&0>u(ze,ce))re[Ae]=ze,re[Ye]=ce,Ae=Ye;else break e}}return W}function u(re,W){var ce=re.sortIndex-W.sortIndex;return ce!==0?ce:re.id-W.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;t.unstable_now=function(){return h.now()}}else{var g=Date,v=g.now();t.unstable_now=function(){return g.now()-v}}var S=[],A=[],w=1,C=null,M=3,R=!1,V=!1,L=!1,P=!1,U=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function ae(re){for(var W=i(A);W!==null;){if(W.callback===null)o(A);else if(W.startTime<=re)o(A),W.sortIndex=W.expirationTime,n(S,W);else break;W=i(A)}}function H(re){if(L=!1,ae(re),!V)if(i(S)!==null)V=!0,le||(le=!0,ke());else{var W=i(A);W!==null&&Ge(H,W.startTime-re)}}var le=!1,be=-1,de=5,Ue=-1;function De(){return P?!0:!(t.unstable_now()-Ue<de)}function $e(){if(P=!1,le){var re=t.unstable_now();Ue=re;var W=!0;try{e:{V=!1,L&&(L=!1,q(be),be=-1),R=!0;var ce=M;try{t:{for(ae(re),C=i(S);C!==null&&!(C.expirationTime>re&&De());){var Ae=C.callback;if(typeof Ae=="function"){C.callback=null,M=C.priorityLevel;var Be=Ae(C.expirationTime<=re);if(re=t.unstable_now(),typeof Be=="function"){C.callback=Be,ae(re),W=!0;break t}C===i(S)&&o(S),ae(re)}else o(S);C=i(S)}if(C!==null)W=!0;else{var X=i(A);X!==null&&Ge(H,X.startTime-re),W=!1}}break e}finally{C=null,M=ce,R=!1}W=void 0}}finally{W?ke():le=!1}}}var ke;if(typeof F=="function")ke=function(){F($e)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,et=We.port2;We.port1.onmessage=$e,ke=function(){et.postMessage(null)}}else ke=function(){U($e,0)};function Ge(re,W){be=U(function(){re(t.unstable_now())},W)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(re){re.callback=null},t.unstable_forceFrameRate=function(re){0>re||125<re?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):de=0<re?Math.floor(1e3/re):5},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_next=function(re){switch(M){case 1:case 2:case 3:var W=3;break;default:W=M}var ce=M;M=W;try{return re()}finally{M=ce}},t.unstable_requestPaint=function(){P=!0},t.unstable_runWithPriority=function(re,W){switch(re){case 1:case 2:case 3:case 4:case 5:break;default:re=3}var ce=M;M=re;try{return W()}finally{M=ce}},t.unstable_scheduleCallback=function(re,W,ce){var Ae=t.unstable_now();switch(typeof ce=="object"&&ce!==null?(ce=ce.delay,ce=typeof ce=="number"&&0<ce?Ae+ce:Ae):ce=Ae,re){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=ce+Be,re={id:w++,callback:W,priorityLevel:re,startTime:ce,expirationTime:Be,sortIndex:-1},ce>Ae?(re.sortIndex=ce,n(A,re),i(S)===null&&re===i(A)&&(L?(q(be),be=-1):L=!0,Ge(H,ce-Ae))):(re.sortIndex=Be,n(S,re),V||R||(V=!0,le||(le=!0,ke()))),re},t.unstable_shouldYield=De,t.unstable_wrapCallback=function(re){var W=M;return function(){var ce=M;M=W;try{return re.apply(this,arguments)}finally{M=ce}}}}(t3)),t3}var n3={},d8;function yF(){return d8||(d8=1,function(t){var n={};/**
|
|
696
|
+
* @license React
|
|
697
|
+
* scheduler.development.js
|
|
698
|
+
*
|
|
699
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
700
|
+
*
|
|
701
|
+
* This source code is licensed under the MIT license found in the
|
|
702
|
+
* LICENSE file in the root directory of this source tree.
|
|
703
|
+
*/n.NODE_ENV!=="production"&&function(){function i(){if(le=!1,De){var W=t.unstable_now();We=W;var ce=!0;try{e:{ae=!1,H&&(H=!1,de($e),$e=-1),F=!0;var Ae=q;try{t:{for(v(W),U=u(V);U!==null&&!(U.expirationTime>W&&A());){var Be=U.callback;if(typeof Be=="function"){U.callback=null,q=U.priorityLevel;var X=Be(U.expirationTime<=W);if(W=t.unstable_now(),typeof X=="function"){U.callback=X,v(W),ce=!0;break t}U===u(V)&&h(V),v(W)}else h(V);U=u(V)}if(U!==null)ce=!0;else{var xe=u(L);xe!==null&&w(S,xe.startTime-W),ce=!1}}break e}finally{U=null,q=Ae,F=!1}ce=void 0}}finally{ce?et():De=!1}}}function o(W,ce){var Ae=W.length;W.push(ce);e:for(;0<Ae;){var Be=Ae-1>>>1,X=W[Be];if(0<g(X,ce))W[Be]=ce,W[Ae]=X,Ae=Be;else break e}}function u(W){return W.length===0?null:W[0]}function h(W){if(W.length===0)return null;var ce=W[0],Ae=W.pop();if(Ae!==ce){W[0]=Ae;e:for(var Be=0,X=W.length,xe=X>>>1;Be<xe;){var Me=2*(Be+1)-1,Ye=W[Me],ze=Me+1,qe=W[ze];if(0>g(Ye,Ae))ze<X&&0>g(qe,Ye)?(W[Be]=qe,W[ze]=Ae,Be=ze):(W[Be]=Ye,W[Me]=Ae,Be=Me);else if(ze<X&&0>g(qe,Ae))W[Be]=qe,W[ze]=Ae,Be=ze;else break e}}return ce}function g(W,ce){var Ae=W.sortIndex-ce.sortIndex;return Ae!==0?Ae:W.id-ce.id}function v(W){for(var ce=u(L);ce!==null;){if(ce.callback===null)h(L);else if(ce.startTime<=W)h(L),ce.sortIndex=ce.expirationTime,o(V,ce);else break;ce=u(L)}}function S(W){if(H=!1,v(W),!ae)if(u(V)!==null)ae=!0,De||(De=!0,et());else{var ce=u(L);ce!==null&&w(S,ce.startTime-W)}}function A(){return le?!0:!(t.unstable_now()-We<ke)}function w(W,ce){$e=be(function(){W(t.unstable_now())},ce)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;t.unstable_now=function(){return C.now()}}else{var M=Date,R=M.now();t.unstable_now=function(){return M.now()-R}}var V=[],L=[],P=1,U=null,q=3,F=!1,ae=!1,H=!1,le=!1,be=typeof setTimeout=="function"?setTimeout:null,de=typeof clearTimeout=="function"?clearTimeout:null,Ue=typeof setImmediate<"u"?setImmediate:null,De=!1,$e=-1,ke=5,We=-1;if(typeof Ue=="function")var et=function(){Ue(i)};else if(typeof MessageChannel<"u"){var Ge=new MessageChannel,re=Ge.port2;Ge.port1.onmessage=i,et=function(){re.postMessage(null)}}else et=function(){be(i,0)};t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(W){W.callback=null},t.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ke=0<W?Math.floor(1e3/W):5},t.unstable_getCurrentPriorityLevel=function(){return q},t.unstable_next=function(W){switch(q){case 1:case 2:case 3:var ce=3;break;default:ce=q}var Ae=q;q=ce;try{return W()}finally{q=Ae}},t.unstable_requestPaint=function(){le=!0},t.unstable_runWithPriority=function(W,ce){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var Ae=q;q=W;try{return ce()}finally{q=Ae}},t.unstable_scheduleCallback=function(W,ce,Ae){var Be=t.unstable_now();switch(typeof Ae=="object"&&Ae!==null?(Ae=Ae.delay,Ae=typeof Ae=="number"&&0<Ae?Be+Ae:Be):Ae=Be,W){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=Ae+X,W={id:P++,callback:ce,priorityLevel:W,startTime:Ae,expirationTime:X,sortIndex:-1},Ae>Be?(W.sortIndex=Ae,o(L,W),u(V)===null&&W===u(L)&&(H?(de($e),$e=-1):H=!0,w(S,Ae-Be))):(W.sortIndex=X,o(V,W),ae||F||(ae=!0,De||(De=!0,et()))),W},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(W){var ce=q;return function(){var Ae=q;q=ce;try{return W.apply(this,arguments)}finally{q=Ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(n3)),n3}var h8;function m8(){if(h8)return gS.exports;h8=1;var t={};return t.NODE_ENV==="production"?gS.exports=gF():gS.exports=yF(),gS.exports}/**
|
|
704
|
+
* @license React
|
|
705
|
+
* react-dom-client.production.js
|
|
706
|
+
*
|
|
707
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
708
|
+
*
|
|
709
|
+
* This source code is licensed under the MIT license found in the
|
|
710
|
+
* LICENSE file in the root directory of this source tree.
|
|
711
|
+
*/var p8;function vF(){if(p8)return cb;p8=1;var t=m8(),n=J,i=cT;function o(r){var l="https://react.dev/errors/"+r;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)l+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+r+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function h(r){var l=r,c=r;if(r.alternate)for(;l.return;)l=l.return;else{r=l;do l=r,(l.flags&4098)!==0&&(c=l.return),r=l.return;while(r)}return l.tag===3?c:null}function g(r){if(r.tag===13){var l=r.memoizedState;if(l===null&&(r=r.alternate,r!==null&&(l=r.memoizedState)),l!==null)return l.dehydrated}return null}function v(r){if(h(r)!==r)throw Error(o(188))}function S(r){var l=r.alternate;if(!l){if(l=h(r),l===null)throw Error(o(188));return l!==r?null:r}for(var c=r,p=l;;){var x=c.return;if(x===null)break;var E=x.alternate;if(E===null){if(p=x.return,p!==null){c=p;continue}break}if(x.child===E.child){for(E=x.child;E;){if(E===c)return v(x),r;if(E===p)return v(x),l;E=E.sibling}throw Error(o(188))}if(c.return!==p.return)c=x,p=E;else{for(var z=!1,j=x.child;j;){if(j===c){z=!0,c=x,p=E;break}if(j===p){z=!0,p=x,c=E;break}j=j.sibling}if(!z){for(j=E.child;j;){if(j===c){z=!0,c=E,p=x;break}if(j===p){z=!0,p=E,c=x;break}j=j.sibling}if(!z)throw Error(o(189))}}if(c.alternate!==p)throw Error(o(190))}if(c.tag!==3)throw Error(o(188));return c.stateNode.current===c?r:l}function A(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r;for(r=r.child;r!==null;){if(l=A(r),l!==null)return l;r=r.sibling}return null}var w=Object.assign,C=Symbol.for("react.element"),M=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.consumer"),F=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),Ue=Symbol.for("react.activity"),De=Symbol.for("react.memo_cache_sentinel"),$e=Symbol.iterator;function ke(r){return r===null||typeof r!="object"?null:(r=$e&&r[$e]||r["@@iterator"],typeof r=="function"?r:null)}var We=Symbol.for("react.client.reference");function et(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===We?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case V:return"Fragment";case P:return"Profiler";case L:return"StrictMode";case H:return"Suspense";case le:return"SuspenseList";case Ue:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case R:return"Portal";case F:return(r.displayName||"Context")+".Provider";case q:return(r._context.displayName||"Context")+".Consumer";case ae:var l=r.render;return r=r.displayName,r||(r=l.displayName||l.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case be:return l=r.displayName||null,l!==null?l:et(r.type)||"Memo";case de:l=r._payload,r=r._init;try{return et(r(l))}catch{}}return null}var Ge=Array.isArray,re=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce={pending:!1,data:null,method:null,action:null},Ae=[],Be=-1;function X(r){return{current:r}}function xe(r){0>Be||(r.current=Ae[Be],Ae[Be]=null,Be--)}function Me(r,l){Be++,Ae[Be]=r.current,r.current=l}var Ye=X(null),ze=X(null),qe=X(null),Pe=X(null);function ot(r,l){switch(Me(qe,l),Me(ze,r),Me(Ye,null),l.nodeType){case 9:case 11:r=(r=l.documentElement)&&(r=r.namespaceURI)?on(r):0;break;default:if(r=l.tagName,l=l.namespaceURI)l=on(l),r=pn(l,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}xe(Ye),Me(Ye,r)}function Je(){xe(Ye),xe(ze),xe(qe)}function Tt(r){r.memoizedState!==null&&Me(Pe,r);var l=Ye.current,c=pn(l,r.type);l!==c&&(Me(ze,r),Me(Ye,c))}function pt(r){ze.current===r&&(xe(Ye),xe(ze)),Pe.current===r&&(xe(Pe),qa._currentValue=ce)}var zn=Object.prototype.hasOwnProperty,Ze=t.unstable_scheduleCallback,dn=t.unstable_cancelCallback,Rr=t.unstable_shouldYield,vm=t.unstable_requestPaint,Yn=t.unstable_now,fd=t.unstable_getCurrentPriorityLevel,zc=t.unstable_ImmediatePriority,Nc=t.unstable_UserBlockingPriority,bi=t.unstable_NormalPriority,Vc=t.unstable_LowPriority,Su=t.unstable_IdlePriority,dd=t.log,hd=t.unstable_setDisableYieldValue,Uc=null,La=null;function xi(r){if(typeof dd=="function"&&hd(r),La&&typeof La.setStrictMode=="function")try{La.setStrictMode(Uc,r)}catch{}}var li=Math.clz32?Math.clz32:xm,bm=Math.log,md=Math.LN2;function xm(r){return r>>>=0,r===0?32:31-(bm(r)/md|0)|0}var Lc=256,ul=4194304;function Bi(r){var l=r&42;if(l!==0)return l;switch(r&-r){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:return 64;case 128:return 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 r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function _r(r,l,c){var p=r.pendingLanes;if(p===0)return 0;var x=0,E=r.suspendedLanes,z=r.pingedLanes;r=r.warmLanes;var j=p&134217727;return j!==0?(p=j&~E,p!==0?x=Bi(p):(z&=j,z!==0?x=Bi(z):c||(c=j&~r,c!==0&&(x=Bi(c))))):(j=p&~E,j!==0?x=Bi(j):z!==0?x=Bi(z):c||(c=p&~r,c!==0&&(x=Bi(c)))),x===0?0:l!==0&&l!==x&&(l&E)===0&&(E=x&-x,c=l&-l,E>=c||E===32&&(c&4194048)!==0)?l:x}function ns(r,l){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&l)===0}function jc(r,l){switch(r){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32: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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Da(){var r=Lc;return Lc<<=1,(Lc&4194048)===0&&(Lc=256),r}function cl(){var r=ul;return ul<<=1,(ul&62914560)===0&&(ul=4194304),r}function fo(r){for(var l=[],c=0;31>c;c++)l.push(r);return l}function as(r,l){r.pendingLanes|=l,l!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function C0(r,l,c,p,x,E){var z=r.pendingLanes;r.pendingLanes=c,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=c,r.entangledLanes&=c,r.errorRecoveryDisabledLanes&=c,r.shellSuspendCounter=0;var j=r.entanglements,Q=r.expirationTimes,ue=r.hiddenUpdates;for(c=z&~c;0<c;){var Oe=31-li(c),Ne=1<<Oe;j[Oe]=0,Q[Oe]=-1;var me=ue[Oe];if(me!==null)for(ue[Oe]=null,Oe=0;Oe<me.length;Oe++){var he=me[Oe];he!==null&&(he.lane&=-536870913)}c&=~Ne}p!==0&&D0(r,p,0),E!==0&&x===0&&r.tag!==0&&(r.suspendedLanes|=E&~(z&~l))}function D0(r,l,c){r.pendingLanes|=l,r.suspendedLanes&=~l;var p=31-li(l);r.entangledLanes|=l,r.entanglements[p]=r.entanglements[p]|1073741824|c&4194090}function pd(r,l){var c=r.entangledLanes|=l;for(r=r.entanglements;c;){var p=31-li(c),x=1<<p;x&l|r[p]&l&&(r[p]|=l),c&=~x}}function Bc(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;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:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function zr(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function M0(){var r=W.p;return r!==0?r:(r=window.event,r===void 0?32:Lv(r.type))}function hb(r,l){var c=W.p;try{return W.p=r,l()}finally{W.p=c}}var fl=Math.random().toString(36).slice(2),yn="__reactFiber$"+fl,ui="__reactProps$"+fl,ho="__reactContainer$"+fl,O0="__reactEvents$"+fl,Gy="__reactListeners$"+fl,Fy="__reactHandles$"+fl,gd="__reactResources$"+fl,yd="__reactMarker$"+fl;function at(r){delete r[yn],delete r[ui],delete r[O0],delete r[Gy],delete r[Fy]}function dl(r){var l=r[yn];if(l)return l;for(var c=r.parentNode;c;){if(l=c[ho]||c[yn]){if(c=l.alternate,l.child!==null||c!==null&&c.child!==null)for(r=rc(r);r!==null;){if(c=r[yn])return c;r=rc(r)}return l}r=c,c=r.parentNode}return null}function Ia(r){if(r=r[yn]||r[ho]){var l=r.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return r}return null}function Tu(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r.stateNode;throw Error(o(33))}function $c(r){var l=r[gd];return l||(l=r[gd]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function oa(r){r[yd]=!0}var R0=new Set,vd={};function ja(r,l){Au(r,l),Au(r+"Capture",l)}function Au(r,l){for(vd[r]=l,r=0;r<l.length;r++)R0.add(l[r])}var Hc=RegExp("^[: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]*$"),_0={},wu={};function Xy(r){return zn.call(wu,r)?!0:zn.call(_0,r)?!1:Hc.test(r)?wu[r]=!0:(_0[r]=!0,!1)}function bd(r,l,c){if(Xy(l))if(c===null)r.removeAttribute(l);else{switch(typeof c){case"undefined":case"function":case"symbol":r.removeAttribute(l);return;case"boolean":var p=l.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-"){r.removeAttribute(l);return}}r.setAttribute(l,""+c)}}function mo(r,l,c){if(c===null)r.removeAttribute(l);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttribute(l,""+c)}}function is(r,l,c,p){if(p===null)r.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(c);return}r.setAttributeNS(l,c,""+p)}}var xd,Sm;function Eu(r){if(xd===void 0)try{throw Error()}catch(c){var l=c.stack.trim().match(/\n( *(at )?)/);xd=l&&l[1]||"",Sm=-1<c.stack.indexOf(`
|
|
712
|
+
at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
713
|
+
`+xd+r+Sm}var Tm=!1;function Si(r,l){if(!r||Tm)return"";Tm=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(l){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(he){var me=he}Reflect.construct(r,[],Ne)}else{try{Ne.call()}catch(he){me=he}r.call(Ne.prototype)}}else{try{throw Error()}catch(he){me=he}(Ne=r())&&typeof Ne.catch=="function"&&Ne.catch(function(){})}}catch(he){if(he&&me&&typeof he.stack=="string")return[he.stack,me.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var E=p.DetermineComponentFrameRoot(),z=E[0],j=E[1];if(z&&j){var Q=z.split(`
|
|
714
|
+
`),ue=j.split(`
|
|
715
|
+
`);for(x=p=0;p<Q.length&&!Q[p].includes("DetermineComponentFrameRoot");)p++;for(;x<ue.length&&!ue[x].includes("DetermineComponentFrameRoot");)x++;if(p===Q.length||x===ue.length)for(p=Q.length-1,x=ue.length-1;1<=p&&0<=x&&Q[p]!==ue[x];)x--;for(;1<=p&&0<=x;p--,x--)if(Q[p]!==ue[x]){if(p!==1||x!==1)do if(p--,x--,0>x||Q[p]!==ue[x]){var Oe=`
|
|
716
|
+
`+Q[p].replace(" at new "," at ");return r.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",r.displayName)),Oe}while(1<=p&&0<=x);break}}}finally{Tm=!1,Error.prepareStackTrace=c}return(c=r?r.displayName||r.name:"")?Eu(c):""}function kc(r){switch(r.tag){case 26:case 27:case 5:return Eu(r.type);case 16:return Eu("Lazy");case 13:return Eu("Suspense");case 19:return Eu("SuspenseList");case 0:case 15:return Si(r.type,!1);case 11:return Si(r.type.render,!1);case 1:return Si(r.type,!0);case 31:return Eu("Activity");default:return""}}function po(r){try{var l="";do l+=kc(r),r=r.return;while(r);return l}catch(c){return`
|
|
717
|
+
Error generating stack: `+c.message+`
|
|
718
|
+
`+c.stack}}function $i(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Cu(r){var l=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Pc(r){var l=Cu(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,l),p=""+r[l];if(!r.hasOwnProperty(l)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var x=c.get,E=c.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return x.call(this)},set:function(z){p=""+z,E.call(this,z)}}),Object.defineProperty(r,l,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(z){p=""+z},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function Yc(r){r._valueTracker||(r._valueTracker=Pc(r))}function Du(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var c=l.getValue(),p="";return r&&(p=Cu(r)?r.checked?"true":"false":r.value),r=p,r!==c?(l.setValue(r),!0):!1}function Nr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var Am=/[\n"\\]/g;function Vr(r){return r.replace(Am,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function wm(r,l,c,p,x,E,z,j){r.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?r.type=z:r.removeAttribute("type"),l!=null?z==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+$i(l)):r.value!==""+$i(l)&&(r.value=""+$i(l)):z!=="submit"&&z!=="reset"||r.removeAttribute("value"),l!=null?Mu(r,z,$i(l)):c!=null?Mu(r,z,$i(c)):p!=null&&r.removeAttribute("value"),x==null&&E!=null&&(r.defaultChecked=!!E),x!=null&&(r.checked=x&&typeof x!="function"&&typeof x!="symbol"),j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"?r.name=""+$i(j):r.removeAttribute("name")}function Em(r,l,c,p,x,E,z,j){if(E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(r.type=E),l!=null||c!=null){if(!(E!=="submit"&&E!=="reset"||l!=null))return;c=c!=null?""+$i(c):"",l=l!=null?""+$i(l):c,j||l===r.value||(r.value=l),r.defaultValue=l}p=p??x,p=typeof p!="function"&&typeof p!="symbol"&&!!p,r.checked=j?r.checked:!!p,r.defaultChecked=!!p,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(r.name=z)}function Mu(r,l,c){l==="number"&&Nr(r.ownerDocument)===r||r.defaultValue===""+c||(r.defaultValue=""+c)}function hl(r,l,c,p){if(r=r.options,l){l={};for(var x=0;x<c.length;x++)l["$"+c[x]]=!0;for(c=0;c<r.length;c++)x=l.hasOwnProperty("$"+r[c].value),r[c].selected!==x&&(r[c].selected=x),x&&p&&(r[c].defaultSelected=!0)}else{for(c=""+$i(c),l=null,x=0;x<r.length;x++){if(r[x].value===c){r[x].selected=!0,p&&(r[x].defaultSelected=!0);return}l!==null||r[x].disabled||(l=r[x])}l!==null&&(l.selected=!0)}}function Cm(r,l,c){if(l!=null&&(l=""+$i(l),l!==r.value&&(r.value=l),c==null)){r.defaultValue!==l&&(r.defaultValue=l);return}r.defaultValue=c!=null?""+$i(c):""}function Sd(r,l,c,p){if(l==null){if(p!=null){if(c!=null)throw Error(o(92));if(Ge(p)){if(1<p.length)throw Error(o(93));p=p[0]}c=p}c==null&&(c=""),l=c}c=$i(l),r.defaultValue=c,p=r.textContent,p===c&&p!==""&&p!==null&&(r.value=p)}function go(r,l){if(l){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=l;return}}r.textContent=l}var qc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Dm(r,l,c){var p=l.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?p?r.setProperty(l,""):l==="float"?r.cssFloat="":r[l]="":p?r.setProperty(l,c):typeof c!="number"||c===0||qc.has(l)?l==="float"?r.cssFloat=c:r[l]=(""+c).trim():r[l]=c+"px"}function Td(r,l,c){if(l!=null&&typeof l!="object")throw Error(o(62));if(r=r.style,c!=null){for(var p in c)!c.hasOwnProperty(p)||l!=null&&l.hasOwnProperty(p)||(p.indexOf("--")===0?r.setProperty(p,""):p==="float"?r.cssFloat="":r[p]="");for(var x in l)p=l[x],l.hasOwnProperty(x)&&c[x]!==p&&Dm(r,x,p)}else for(var E in l)l.hasOwnProperty(E)&&Dm(r,E,l[E])}function Gc(r){if(r.indexOf("-")===-1)return!1;switch(r){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 Fc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Zy=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Xc(r){return Zy.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var Ad=null;function Ou(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Ru=null,Zc=null;function z0(r){var l=Ia(r);if(l&&(r=l.stateNode)){var c=r[ui]||null;e:switch(r=l.stateNode,l.type){case"input":if(wm(r,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),l=c.name,c.type==="radio"&&l!=null){for(c=r;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Vr(""+l)+'"][type="radio"]'),l=0;l<c.length;l++){var p=c[l];if(p!==r&&p.form===r.form){var x=p[ui]||null;if(!x)throw Error(o(90));wm(p,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(l=0;l<c.length;l++)p=c[l],p.form===r.form&&Du(p)}break e;case"textarea":Cm(r,c.value,c.defaultValue);break e;case"select":l=c.value,l!=null&&hl(r,!!c.multiple,l,!1)}}}var N0=!1;function Qy(r,l,c){if(N0)return r(l,c);N0=!0;try{var p=r(l);return p}finally{if(N0=!1,(Ru!==null||Zc!==null)&&(vh(),Ru&&(l=Ru,r=Zc,Zc=Ru=null,z0(l),r)))for(l=0;l<r.length;l++)z0(r[l])}}function yo(r,l){var c=r.stateNode;if(c===null)return null;var p=c[ui]||null;if(p===null)return null;c=p[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(r=r.type,p=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!p;break e;default:r=!1}if(r)return null;if(c&&typeof c!="function")throw Error(o(231,l,typeof c));return c}var rs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qc=!1;if(rs)try{var Kc={};Object.defineProperty(Kc,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",Kc,Kc),window.removeEventListener("test",Kc,Kc)}catch{Qc=!1}var Ur=null,Mm=null,_u=null;function wd(){if(_u)return _u;var r,l=Mm,c=l.length,p,x="value"in Ur?Ur.value:Ur.textContent,E=x.length;for(r=0;r<c&&l[r]===x[r];r++);var z=c-r;for(p=1;p<=z&&l[c-p]===x[E-p];p++);return _u=x.slice(r,1<p?1-p:void 0)}function vn(r){var l=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&l===13&&(r=13)):r=l,r===10&&(r=13),32<=r||r===13?r:0}function Mt(){return!0}function Ky(){return!1}function ci(r){function l(c,p,x,E,z){this._reactName=c,this._targetInst=x,this.type=p,this.nativeEvent=E,this.target=z,this.currentTarget=null;for(var j in r)r.hasOwnProperty(j)&&(c=r[j],this[j]=c?c(E):E[j]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Mt:Ky,this.isPropagationStopped=Ky,this}return w(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Mt)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Mt)},persist:function(){},isPersistent:Mt}),l}var ml={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ed=ci(ml),Cd=w({},ml,{view:0,detail:0}),mb=ci(Cd),Dd,V0,Jn,Ic=w({},Cd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:os,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Jn&&(Jn&&r.type==="mousemove"?(Dd=r.screenX-Jn.screenX,V0=r.screenY-Jn.screenY):V0=Dd=0,Jn=r),Dd)},movementY:function(r){return"movementY"in r?r.movementY:V0}}),ss=ci(Ic),U0=w({},Ic,{dataTransfer:0}),Om=ci(U0),fr=w({},Cd,{relatedTarget:0}),Rm=ci(fr),Iy=w({},ml,{animationName:0,elapsedTime:0,pseudoElement:0}),Wy=ci(Iy),Jy=w({},ml,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),ev=ci(Jy),Wc=w({},ml,{data:0}),Ti=ci(Wc),tv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dr={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"},nv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _m(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=nv[r])?!!l[r]:!1}function os(){return _m}var Vs=w({},Cd,{key:function(r){if(r.key){var l=tv[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=vn(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?dr[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:os,charCode:function(r){return r.type==="keypress"?vn(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?vn(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),vo=ci(Vs),Kt=w({},Ic,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),la=ci(Kt),Jc=w({},Cd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:os}),zm=ci(Jc),Md=w({},ml,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hi=ci(Md),av=w({},Ic,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Nm=ci(av),pl=w({},ml,{newState:0,oldState:0}),ef=ci(pl),zu=[9,13,27,32],Vm=rs&&"CompositionEvent"in window,gl=null;rs&&"documentMode"in document&&(gl=document.documentMode);var iv=rs&&"TextEvent"in window&&!gl,tf=rs&&(!Vm||gl&&8<gl&&11>=gl),Lr=" ",Um=!1;function Lm(r,l){switch(r){case"keyup":return zu.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nu(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ki=!1;function L0(r,l){switch(r){case"compositionend":return Nu(l);case"keypress":return l.which!==32?null:(Um=!0,Lr);case"textInput":return r=l.data,r===Lr&&Um?null:r;default:return null}}function jm(r,l){if(ki)return r==="compositionend"||!Vm&&Lm(r,l)?(r=wd(),_u=Mm=Ur=null,ki=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return tf&&l.locale!=="ko"?null:l.data;default:return null}}var Ma={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 Od(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!Ma[r.type]:l==="textarea"}function yl(r,l,c,p){Ru?Zc?Zc.push(p):Zc=[p]:Ru=p,l=tu(l,"onChange"),0<l.length&&(c=new Ed("onChange","change",null,c,p),r.push({event:c,listeners:l}))}var vl=null,jr=null;function Vu(r){Zo(r,0)}function nf(r){var l=Tu(r);if(Du(l))return r}function bl(r,l){if(r==="change")return l}var j0=!1;if(rs){var Bm;if(rs){var Br="oninput"in document;if(!Br){var af=document.createElement("div");af.setAttribute("oninput","return;"),Br=typeof af.oninput=="function"}Bm=Br}else Bm=!1;j0=Bm&&(!document.documentMode||9<document.documentMode)}function B0(){vl&&(vl.detachEvent("onpropertychange",xl),jr=vl=null)}function xl(r){if(r.propertyName==="value"&&nf(jr)){var l=[];yl(l,jr,r,Ou(r)),Qy(Vu,l)}}function $0(r,l,c){r==="focusin"?(B0(),vl=l,jr=c,vl.attachEvent("onpropertychange",xl)):r==="focusout"&&B0()}function ls(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return nf(jr)}function us(r,l){if(r==="click")return nf(l)}function bo(r,l){if(r==="input"||r==="change")return nf(l)}function H0(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var Ai=typeof Object.is=="function"?Object.is:H0;function Pi(r,l){if(Ai(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var c=Object.keys(r),p=Object.keys(l);if(c.length!==p.length)return!1;for(p=0;p<c.length;p++){var x=c[p];if(!zn.call(l,x)||!Ai(r[x],l[x]))return!1}return!0}function wi(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function xo(r,l){var c=wi(r);r=0;for(var p;c;){if(c.nodeType===3){if(p=r+c.textContent.length,r<=l&&p>=l)return{node:c,offset:l-r};r=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=wi(c)}}function $n(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?$n(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function Rd(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var l=Nr(r.document);l instanceof r.HTMLIFrameElement;){try{var c=typeof l.contentWindow.location.href=="string"}catch{c=!1}if(c)r=l.contentWindow;else break;l=Nr(r.document)}return l}function $m(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l&&(l==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||l==="textarea"||r.contentEditable==="true")}var k0=rs&&"documentMode"in document&&11>=document.documentMode,$r=null,Hr=null,ie=null,we=!1;function ve(r,l,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;we||$r==null||$r!==Nr(p)||(p=$r,"selectionStart"in p&&$m(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),ie&&Pi(ie,p)||(ie=p,p=tu(Hr,"onSelect"),0<p.length&&(l=new Ed("onSelect","select",null,l,c),r.push({event:l,listeners:p}),l.target=$r)))}function Qe(r,l){var c={};return c[r.toLowerCase()]=l.toLowerCase(),c["Webkit"+r]="webkit"+l,c["Moz"+r]="moz"+l,c}var gt={animationend:Qe("Animation","AnimationEnd"),animationiteration:Qe("Animation","AnimationIteration"),animationstart:Qe("Animation","AnimationStart"),transitionrun:Qe("Transition","TransitionRun"),transitionstart:Qe("Transition","TransitionStart"),transitioncancel:Qe("Transition","TransitionCancel"),transitionend:Qe("Transition","TransitionEnd")},It={},bn={};rs&&(bn=document.createElement("div").style,"AnimationEvent"in window||(delete gt.animationend.animation,delete gt.animationiteration.animation,delete gt.animationstart.animation),"TransitionEvent"in window||delete gt.transitionend.transition);function Ot(r){if(It[r])return It[r];if(!gt[r])return r;var l=gt[r],c;for(c in l)if(l.hasOwnProperty(c)&&c in bn)return It[r]=l[c];return r}var Uu=Ot("animationend"),rv=Ot("animationiteration"),Yi=Ot("animationstart"),Hm=Ot("transitionrun"),P0=Ot("transitionstart"),So=Ot("transitioncancel"),rf=Ot("transitionend"),sf=new Map,an="abort auxClick beforeToggle 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(" ");an.push("scrollEnd");function qi(r,l){sf.set(r,l),ja(l,[r])}var km=new WeakMap;function fi(r,l){if(typeof r=="object"&&r!==null){var c=km.get(r);return c!==void 0?c:(l={value:r,source:l,stack:po(l)},km.set(r,l),l)}return{value:r,source:l,stack:po(l)}}var hr=[],Sl=0,_d=0;function Gi(){for(var r=Sl,l=_d=Sl=0;l<r;){var c=hr[l];hr[l++]=null;var p=hr[l];hr[l++]=null;var x=hr[l];hr[l++]=null;var E=hr[l];if(hr[l++]=null,p!==null&&x!==null){var z=p.pending;z===null?x.next=x:(x.next=z.next,z.next=x),p.pending=x}E!==0&&To(c,x,E)}}function Ba(r,l,c,p){hr[Sl++]=r,hr[Sl++]=l,hr[Sl++]=c,hr[Sl++]=p,_d|=p,r.lanes|=p,r=r.alternate,r!==null&&(r.lanes|=p)}function Us(r,l,c,p){return Ba(r,l,c,p),Ao(r)}function Ls(r,l){return Ba(r,null,null,l),Ao(r)}function To(r,l,c){r.lanes|=c;var p=r.alternate;p!==null&&(p.lanes|=c);for(var x=!1,E=r.return;E!==null;)E.childLanes|=c,p=E.alternate,p!==null&&(p.childLanes|=c),E.tag===22&&(r=E.stateNode,r===null||r._visibility&1||(x=!0)),r=E,E=E.return;return r.tag===3?(E=r.stateNode,x&&l!==null&&(x=31-li(c),r=E.hiddenUpdates,p=r[x],p===null?r[x]=[l]:p.push(l),l.lane=c|536870912),E):null}function Ao(r){if(50<tc)throw tc=0,vp=null,Error(o(185));for(var l=r.return;l!==null;)r=l,l=r.return;return r.tag===3?r.stateNode:null}var Tl={};function Pm(r,l,c,p){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ei(r,l,c,p){return new Pm(r,l,c,p)}function Al(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Wa(r,l){var c=r.alternate;return c===null?(c=Ei(r.tag,l,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=l,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&65011712,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,l=r.dependencies,c.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c.refCleanup=r.refCleanup,c}function Lu(r,l){r.flags&=65011714;var c=r.alternate;return c===null?(r.childLanes=0,r.lanes=l,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=c.childLanes,r.lanes=c.lanes,r.child=c.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,r.type=c.type,l=c.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),r}function Vt(r,l,c,p,x,E){var z=0;if(p=r,typeof r=="function")Al(r)&&(z=1);else if(typeof r=="string")z=Rv(r,c,Ye.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case Ue:return r=Ei(31,c,l,x),r.elementType=Ue,r.lanes=E,r;case V:return je(c.children,x,E,l);case L:z=8,x|=24;break;case P:return r=Ei(12,c,l,x|2),r.elementType=P,r.lanes=E,r;case H:return r=Ei(13,c,l,x),r.elementType=H,r.lanes=E,r;case le:return r=Ei(19,c,l,x),r.elementType=le,r.lanes=E,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case U:case F:z=10;break e;case q:z=9;break e;case ae:z=11;break e;case be:z=14;break e;case de:z=16,p=null;break e}z=29,c=Error(o(130,r===null?"null":typeof r,"")),p=null}return l=Ei(z,c,l,x),l.elementType=r,l.type=p,l.lanes=E,l}function je(r,l,c,p){return r=Ei(7,r,p,l),r.lanes=c,r}function wl(r,l,c){return r=Ei(6,r,null,l),r.lanes=c,r}function wo(r,l,c){return l=Ei(4,r.children!==null?r.children:[],r.key,l),l.lanes=c,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}var xn=[],js=0,of=null,lf=0,Fi=[],kr=0,Dn=null,Nn=1,cs="";function pa(r,l){xn[js++]=lf,xn[js++]=of,of=r,lf=l}function ln(r,l,c){Fi[kr++]=Nn,Fi[kr++]=cs,Fi[kr++]=Dn,Dn=r;var p=Nn;r=cs;var x=32-li(p)-1;p&=~(1<<x),c+=1;var E=32-li(l)+x;if(30<E){var z=x-x%5;E=(p&(1<<z)-1).toString(32),p>>=z,x-=z,Nn=1<<32-li(l)+x|c<<x|p,cs=E+r}else Nn=1<<E|c<<x|p,cs=r}function zd(r){r.return!==null&&(pa(r,1),ln(r,1,0))}function Eo(r){for(;r===of;)of=xn[--js],xn[js]=null,lf=xn[--js],xn[js]=null;for(;r===Dn;)Dn=Fi[--kr],Fi[kr]=null,cs=Fi[--kr],Fi[kr]=null,Nn=Fi[--kr],Fi[kr]=null}var Vn=null,hn=null,At=!1,mr=null,Oa=!1,El=Error(o(519));function di(r){var l=Error(o(418,""));throw Co(fi(l,r)),El}function Ym(r){var l=r.stateNode,c=r.type,p=r.memoizedProps;switch(l[yn]=r,l[ui]=p,c){case"dialog":Rt("cancel",l),Rt("close",l);break;case"iframe":case"object":case"embed":Rt("load",l);break;case"video":case"audio":for(c=0;c<Et.length;c++)Rt(Et[c],l);break;case"source":Rt("error",l);break;case"img":case"image":case"link":Rt("error",l),Rt("load",l);break;case"details":Rt("toggle",l);break;case"input":Rt("invalid",l),Em(l,p.value,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name,!0),Yc(l);break;case"select":Rt("invalid",l);break;case"textarea":Rt("invalid",l),Sd(l,p.value,p.defaultValue,p.children),Yc(l)}c=p.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||l.textContent===""+c||p.suppressHydrationWarning===!0||Dv(l.textContent,c)?(p.popover!=null&&(Rt("beforetoggle",l),Rt("toggle",l)),p.onScroll!=null&&Rt("scroll",l),p.onScrollEnd!=null&&Rt("scrollend",l),p.onClick!=null&&(l.onclick=Dh),l=!0):l=!1,l||di(r)}function Nd(r){for(Vn=r.return;Vn;)switch(Vn.tag){case 5:case 13:Oa=!1;return;case 27:case 3:Oa=!0;return;default:Vn=Vn.return}}function uf(r){if(r!==Vn)return!1;if(!At)return Nd(r),At=!0,!1;var l=r.tag,c;if((c=l!==3&&l!==27)&&((c=l===5)&&(c=r.type,c=!(c!=="form"&&c!=="button")||nu(r.type,r.memoizedProps)),c=!c),c&&hn&&di(r),Nd(r),l===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,l=0;r;){if(r.nodeType===8)if(c=r.data,c==="/$"){if(l===0){hn=As(r.nextSibling);break e}l--}else c!=="$"&&c!=="$!"&&c!=="$?"||l++;r=r.nextSibling}hn=null}}else l===27?(l=hn,ha(r.type)?(r=Mg,Mg=null,hn=r):hn=l):hn=Vn?As(r.stateNode.nextSibling):null;return!0}function cf(){hn=Vn=null,At=!1}function Y0(){var r=mr;return r!==null&&(zi===null?zi=r:zi.push.apply(zi,r),mr=null),r}function Co(r){mr===null?mr=[r]:mr.push(r)}var Cl=X(null),Bs=null,B=null;function Ci(r,l,c){Me(Cl,l._currentValue),l._currentValue=c}function pr(r){r._currentValue=Cl.current,xe(Cl)}function Di(r,l,c){for(;r!==null;){var p=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,p!==null&&(p.childLanes|=l)):p!==null&&(p.childLanes&l)!==l&&(p.childLanes|=l),r===c)break;r=r.return}}function Ht(r,l,c,p){var x=r.child;for(x!==null&&(x.return=r);x!==null;){var E=x.dependencies;if(E!==null){var z=x.child;E=E.firstContext;e:for(;E!==null;){var j=E;E=x;for(var Q=0;Q<l.length;Q++)if(j.context===l[Q]){E.lanes|=c,j=E.alternate,j!==null&&(j.lanes|=c),Di(E.return,c,r),p||(z=null);break e}E=j.next}}else if(x.tag===18){if(z=x.return,z===null)throw Error(o(341));z.lanes|=c,E=z.alternate,E!==null&&(E.lanes|=c),Di(z,c,r),z=null}else z=x.child;if(z!==null)z.return=x;else for(z=x;z!==null;){if(z===r){z=null;break}if(x=z.sibling,x!==null){x.return=z.return,z=x;break}z=z.return}x=z}}function Vd(r,l,c,p){r=null;for(var x=l,E=!1;x!==null;){if(!E){if((x.flags&524288)!==0)E=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var z=x.alternate;if(z===null)throw Error(o(387));if(z=z.memoizedProps,z!==null){var j=x.type;Ai(x.pendingProps.value,z.value)||(r!==null?r.push(j):r=[j])}}else if(x===Pe.current){if(z=x.alternate,z===null)throw Error(o(387));z.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(r!==null?r.push(qa):r=[qa])}x=x.return}r!==null&&Ht(l,r,c,p),l.flags|=262144}function Ud(r){for(r=r.firstContext;r!==null;){if(!Ai(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Dl(r){Bs=r,B=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Xn(r){return q0(Bs,r)}function ff(r,l){return Bs===null&&Dl(r),q0(r,l)}function q0(r,l){var c=l._currentValue;if(l={context:l,memoizedValue:c,next:null},B===null){if(r===null)throw Error(o(308));B=l,r.dependencies={lanes:0,firstContext:l},r.flags|=524288}else B=B.next=l;return c}var sv=typeof AbortController<"u"?AbortController:function(){var r=[],l=this.signal={aborted:!1,addEventListener:function(c,p){r.push(p)}};this.abort=function(){l.aborted=!0,r.forEach(function(c){return c()})}},df=t.unstable_scheduleCallback,qm=t.unstable_NormalPriority,Tn={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function G0(){return{controller:new sv,data:new Map,refCount:0}}function Ml(r){r.refCount--,r.refCount===0&&df(qm,function(){r.controller.abort()})}var $s=null,hf=0,Ol=0,ga=null;function Xi(r,l){if($s===null){var c=$s=[];hf=0,Ol=Eh(),ga={status:"pending",value:void 0,then:function(p){c.push(p)}}}return hf++,l.then(Ld,Ld),l}function Ld(){if(--hf===0&&$s!==null){ga!==null&&(ga.status="fulfilled");var r=$s;$s=null,Ol=0,ga=null;for(var l=0;l<r.length;l++)(0,r[l])()}}function F0(r,l){var c=[],p={status:"pending",value:null,reason:null,then:function(x){c.push(x)}};return r.then(function(){p.status="fulfilled",p.value=l;for(var x=0;x<c.length;x++)(0,c[x])(l)},function(x){for(p.status="rejected",p.reason=x,x=0;x<c.length;x++)(0,c[x])(void 0)}),p}var X0=re.S;re.S=function(r,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Xi(r,l),X0!==null&&X0(r,l)};var Do=X(null);function Pr(){var r=Do.current;return r!==null?r:wn.pooledCache}function mf(r,l){l===null?Me(Do,Do.current):Me(Do,l.pool)}function jd(){var r=Pr();return r===null?null:{parent:Tn._currentValue,pool:r}}var Ja=Error(o(460)),Bd=Error(o(474)),pf=Error(o(542)),Gm={then:function(){}};function Z0(r){return r=r.status,r==="fulfilled"||r==="rejected"}function gf(){}function Fm(r,l,c){switch(c=r[c],c===void 0?r.push(l):c!==l&&(l.then(gf,gf),l=c),l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,Q0(r),r;default:if(typeof l.status=="string")l.then(gf,gf);else{if(r=wn,r!==null&&100<r.shellSuspendCounter)throw Error(o(482));r=l,r.status="pending",r.then(function(p){if(l.status==="pending"){var x=l;x.status="fulfilled",x.value=p}},function(p){if(l.status==="pending"){var x=l;x.status="rejected",x.reason=p}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,Q0(r),r}throw ju=l,Ja}}var ju=null;function Xm(){if(ju===null)throw Error(o(459));var r=ju;return ju=null,r}function Q0(r){if(r===Ja||r===pf)throw Error(o(483))}var fs=!1;function Mo(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Bu(r,l){r=r.updateQueue,l.updateQueue===r&&(l.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Oo(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Mi(r,l,c){var p=r.updateQueue;if(p===null)return null;if(p=p.shared,(mn&2)!==0){var x=p.pending;return x===null?l.next=l:(l.next=x.next,x.next=l),p.pending=l,l=Ao(r),To(r,null,c),l}return Ba(r,p,l,c),Ao(r)}function $u(r,l,c){if(l=l.updateQueue,l!==null&&(l=l.shared,(c&4194048)!==0)){var p=l.lanes;p&=r.pendingLanes,c|=p,l.lanes=c,pd(r,c)}}function gr(r,l){var c=r.updateQueue,p=r.alternate;if(p!==null&&(p=p.updateQueue,c===p)){var x=null,E=null;if(c=c.firstBaseUpdate,c!==null){do{var z={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};E===null?x=E=z:E=E.next=z,c=c.next}while(c!==null);E===null?x=E=l:E=E.next=l}else x=E=l;c={baseState:p.baseState,firstBaseUpdate:x,lastBaseUpdate:E,shared:p.shared,callbacks:p.callbacks},r.updateQueue=c;return}r=c.lastBaseUpdate,r===null?c.firstBaseUpdate=l:r.next=l,c.lastBaseUpdate=l}var $d=!1;function ds(){if($d){var r=ga;if(r!==null)throw r}}function ei(r,l,c,p){$d=!1;var x=r.updateQueue;fs=!1;var E=x.firstBaseUpdate,z=x.lastBaseUpdate,j=x.shared.pending;if(j!==null){x.shared.pending=null;var Q=j,ue=Q.next;Q.next=null,z===null?E=ue:z.next=ue,z=Q;var Oe=r.alternate;Oe!==null&&(Oe=Oe.updateQueue,j=Oe.lastBaseUpdate,j!==z&&(j===null?Oe.firstBaseUpdate=ue:j.next=ue,Oe.lastBaseUpdate=Q))}if(E!==null){var Ne=x.baseState;z=0,Oe=ue=Q=null,j=E;do{var me=j.lane&-536870913,he=me!==j.lane;if(he?(Wt&me)===me:(p&me)===me){me!==0&&me===Ol&&($d=!0),Oe!==null&&(Oe=Oe.next={lane:0,tag:j.tag,payload:j.payload,callback:null,next:null});e:{var mt=r,ct=j;me=l;var fn=c;switch(ct.tag){case 1:if(mt=ct.payload,typeof mt=="function"){Ne=mt.call(fn,Ne,me);break e}Ne=mt;break e;case 3:mt.flags=mt.flags&-65537|128;case 0:if(mt=ct.payload,me=typeof mt=="function"?mt.call(fn,Ne,me):mt,me==null)break e;Ne=w({},Ne,me);break e;case 2:fs=!0}}me=j.callback,me!==null&&(r.flags|=64,he&&(r.flags|=8192),he=x.callbacks,he===null?x.callbacks=[me]:he.push(me))}else he={lane:me,tag:j.tag,payload:j.payload,callback:j.callback,next:null},Oe===null?(ue=Oe=he,Q=Ne):Oe=Oe.next=he,z|=me;if(j=j.next,j===null){if(j=x.shared.pending,j===null)break;he=j,j=he.next,he.next=null,x.lastBaseUpdate=he,x.shared.pending=null}}while(!0);Oe===null&&(Q=Ne),x.baseState=Q,x.firstBaseUpdate=ue,x.lastBaseUpdate=Oe,E===null&&(x.shared.lanes=0),Xl|=z,r.lanes=z,r.memoizedState=Ne}}function yf(r,l){if(typeof r!="function")throw Error(o(191,r));r.call(l)}function Hd(r,l){var c=r.callbacks;if(c!==null)for(r.callbacks=null,r=0;r<c.length;r++)yf(c[r],l)}var Hs=X(null),Ro=X(0);function ks(r,l){r=qo,Me(Ro,r),Me(Hs,l),qo=r|l.baseLanes}function ya(){Me(Ro,qo),Me(Hs,Hs.current)}function vf(){qo=Ro.current,xe(Hs),xe(Ro)}var Zi=0,Ct=null,rn=null,kt=null,_o=!1,Rl=!1,Zn=!1,Hu=0,Oi=0,va=null,kd=0;function Ft(){throw Error(o(321))}function ku(r,l){if(l===null)return!1;for(var c=0;c<l.length&&c<r.length;c++)if(!Ai(r[c],l[c]))return!1;return!0}function Zm(r,l,c,p,x,E){return Zi=E,Ct=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,re.H=r===null||r.memoizedState===null?uv:lp,Zn=!1,E=c(p,x),Zn=!1,Rl&&(E=_l(l,c,p,x)),K0(r),E}function K0(r){re.H=Cf;var l=rn!==null&&rn.next!==null;if(Zi=0,kt=rn=Ct=null,_o=!1,Oi=0,va=null,l)throw Error(o(300));r===null||Yt||(r=r.dependencies,r!==null&&Ud(r)&&(Yt=!0))}function _l(r,l,c,p){Ct=r;var x=0;do{if(Rl&&(va=null),Oi=0,Rl=!1,25<=x)throw Error(o(301));if(x+=1,kt=rn=null,r.updateQueue!=null){var E=r.updateQueue;E.lastEffect=null,E.events=null,E.stores=null,E.memoCache!=null&&(E.memoCache.index=0)}re.H=ng,E=l(c,p)}while(Rl);return E}function Qm(){var r=re.H,l=r.useState()[0];return l=typeof l.then=="function"?Yu(l):l,r=r.useState()[0],(rn!==null?rn.memoizedState:null)!==r&&(Ct.flags|=1024),l}function Km(){var r=Hu!==0;return Hu=0,r}function zl(r,l,c){l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~c}function Pu(r){if(_o){for(r=r.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}_o=!1}Zi=0,kt=rn=Ct=null,Rl=!1,Oi=Hu=0,va=null}function Ri(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?Ct.memoizedState=kt=r:kt=kt.next=r,kt}function ea(){if(rn===null){var r=Ct.alternate;r=r!==null?r.memoizedState:null}else r=rn.next;var l=kt===null?Ct.memoizedState:kt.next;if(l!==null)kt=l,rn=r;else{if(r===null)throw Ct.alternate===null?Error(o(467)):Error(o(310));rn=r,r={memoizedState:rn.memoizedState,baseState:rn.baseState,baseQueue:rn.baseQueue,queue:rn.queue,next:null},kt===null?Ct.memoizedState=kt=r:kt=kt.next=r}return kt}function zo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yu(r){var l=Oi;return Oi+=1,va===null&&(va=[]),r=Fm(va,r,l),l=Ct,(kt===null?l.memoizedState:kt.next)===null&&(l=l.alternate,re.H=l===null||l.memoizedState===null?uv:lp),r}function Im(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Yu(r);if(r.$$typeof===F)return Xn(r)}throw Error(o(438,String(r)))}function ua(r){var l=null,c=Ct.updateQueue;if(c!==null&&(l=c.memoCache),l==null){var p=Ct.alternate;p!==null&&(p=p.updateQueue,p!==null&&(p=p.memoCache,p!=null&&(l={data:p.data.map(function(x){return x.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),c===null&&(c=zo(),Ct.updateQueue=c),c.memoCache=l,c=l.data[l.index],c===void 0)for(c=l.data[l.index]=Array(r),p=0;p<r;p++)c[p]=De;return l.index++,c}function hs(r,l){return typeof l=="function"?l(r):l}function Pd(r){var l=ea();return Wm(l,rn,r)}function Wm(r,l,c){var p=r.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=c;var x=r.baseQueue,E=p.pending;if(E!==null){if(x!==null){var z=x.next;x.next=E.next,E.next=z}l.baseQueue=x=E,p.pending=null}if(E=r.baseState,x===null)r.memoizedState=E;else{l=x.next;var j=z=null,Q=null,ue=l,Oe=!1;do{var Ne=ue.lane&-536870913;if(Ne!==ue.lane?(Wt&Ne)===Ne:(Zi&Ne)===Ne){var me=ue.revertLane;if(me===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null}),Ne===Ol&&(Oe=!0);else if((Zi&me)===me){ue=ue.next,me===Ol&&(Oe=!0);continue}else Ne={lane:0,revertLane:ue.revertLane,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null},Q===null?(j=Q=Ne,z=E):Q=Q.next=Ne,Ct.lanes|=me,Xl|=me;Ne=ue.action,Zn&&c(E,Ne),E=ue.hasEagerState?ue.eagerState:c(E,Ne)}else me={lane:Ne,revertLane:ue.revertLane,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null},Q===null?(j=Q=me,z=E):Q=Q.next=me,Ct.lanes|=Ne,Xl|=Ne;ue=ue.next}while(ue!==null&&ue!==l);if(Q===null?z=E:Q.next=j,!Ai(E,r.memoizedState)&&(Yt=!0,Oe&&(c=ga,c!==null)))throw c;r.memoizedState=E,r.baseState=z,r.baseQueue=Q,p.lastRenderedState=E}return x===null&&(p.lanes=0),[r.memoizedState,p.dispatch]}function Jm(r){var l=ea(),c=l.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=r;var p=c.dispatch,x=c.pending,E=l.memoizedState;if(x!==null){c.pending=null;var z=x=x.next;do E=r(E,z.action),z=z.next;while(z!==x);Ai(E,l.memoizedState)||(Yt=!0),l.memoizedState=E,l.baseQueue===null&&(l.baseState=E),c.lastRenderedState=E}return[E,p]}function ep(r,l,c){var p=Ct,x=ea(),E=At;if(E){if(c===void 0)throw Error(o(407));c=c()}else c=l();var z=!Ai((rn||x).memoizedState,c);z&&(x.memoizedState=c,Yt=!0),x=x.queue;var j=Yd.bind(null,p,x,r);if(No(2048,8,j,[r]),x.getSnapshot!==l||z||kt!==null&&kt.memoizedState.tag&1){if(p.flags|=2048,Nl(9,Yr(),tp.bind(null,p,x,c,l),null),wn===null)throw Error(o(349));E||(Zi&124)!==0||qu(p,l,c)}return c}function qu(r,l,c){r.flags|=16384,r={getSnapshot:l,value:c},l=Ct.updateQueue,l===null?(l=zo(),Ct.updateQueue=l,l.stores=[r]):(c=l.stores,c===null?l.stores=[r]:c.push(r))}function tp(r,l,c,p){l.value=c,l.getSnapshot=p,np(l)&&ap(r)}function Yd(r,l,c){return c(function(){np(l)&&ap(r)})}function np(r){var l=r.getSnapshot;r=r.value;try{var c=l();return!Ai(r,c)}catch{return!0}}function ap(r){var l=Ls(r,2);l!==null&&ar(l,r,2)}function bf(r){var l=Ri();if(typeof r=="function"){var c=r;if(r=c(),Zn){xi(!0);try{c()}finally{xi(!1)}}}return l.memoizedState=l.baseState=r,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:r},l}function Gu(r,l,c,p){return r.baseState=c,Wm(r,rn,typeof p=="function"?p:hs)}function I0(r,l,c,p,x){if(Ef(r))throw Error(o(485));if(r=l.action,r!==null){var E={payload:x,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(z){E.listeners.push(z)}};re.T!==null?c(!0):E.isTransition=!1,p(E),c=l.pending,c===null?(E.next=l.pending=E,ip(l,E)):(E.next=c.next,l.pending=c.next=E)}}function ip(r,l){var c=l.action,p=l.payload,x=r.state;if(l.isTransition){var E=re.T,z={};re.T=z;try{var j=c(x,p),Q=re.S;Q!==null&&Q(z,j),qd(r,l,j)}catch(ue){xf(r,l,ue)}finally{re.T=E}}else try{E=c(x,p),qd(r,l,E)}catch(ue){xf(r,l,ue)}}function qd(r,l,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(p){Gd(r,l,p)},function(p){return xf(r,l,p)}):Gd(r,l,c)}function Gd(r,l,c){l.status="fulfilled",l.value=c,W0(l),r.state=c,l=r.pending,l!==null&&(c=l.next,c===l?r.pending=null:(c=c.next,l.next=c,ip(r,c)))}function xf(r,l,c){var p=r.pending;if(r.pending=null,p!==null){p=p.next;do l.status="rejected",l.reason=c,W0(l),l=l.next;while(l!==p)}r.action=null}function W0(r){r=r.listeners;for(var l=0;l<r.length;l++)(0,r[l])()}function Fd(r,l){return l}function Xd(r,l){if(At){var c=wn.formState;if(c!==null){e:{var p=Ct;if(At){if(hn){t:{for(var x=hn,E=Oa;x.nodeType!==8;){if(!E){x=null;break t}if(x=As(x.nextSibling),x===null){x=null;break t}}E=x.data,x=E==="F!"||E==="F"?x:null}if(x){hn=As(x.nextSibling),p=x.data==="F!";break e}}di(p)}p=!1}p&&(l=c[0])}}return c=Ri(),c.memoizedState=c.baseState=l,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fd,lastRenderedState:l},c.queue=p,c=Wd.bind(null,Ct,p),p.dispatch=c,p=bf(!1),E=Jd.bind(null,Ct,!1,p.queue),p=Ri(),x={state:l,dispatch:null,action:r,pending:null},p.queue=x,c=I0.bind(null,Ct,x,E,c),x.dispatch=c,p.memoizedState=r,[l,c,!1]}function Zd(r){var l=ea();return Ps(l,rn,r)}function Ps(r,l,c){if(l=Wm(r,l,Fd)[0],r=Pd(hs)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var p=Yu(l)}catch(z){throw z===Ja?pf:z}else p=l;l=ea();var x=l.queue,E=x.dispatch;return c!==l.memoizedState&&(Ct.flags|=2048,Nl(9,Yr(),Qd.bind(null,x,c),null)),[p,E,r]}function Qd(r,l){r.action=l}function Lt(r){var l=ea(),c=rn;if(c!==null)return Ps(l,c,r);ea(),l=l.memoizedState,c=ea();var p=c.queue.dispatch;return c.memoizedState=r,[l,p,!1]}function Nl(r,l,c,p){return r={tag:r,create:c,deps:p,inst:l,next:null},l=Ct.updateQueue,l===null&&(l=zo(),Ct.updateQueue=l),c=l.lastEffect,c===null?l.lastEffect=r.next=r:(p=c.next,c.next=r,r.next=p,l.lastEffect=r),r}function Yr(){return{destroy:void 0,resource:void 0}}function Fu(){return ea().memoizedState}function Vl(r,l,c,p){var x=Ri();p=p===void 0?null:p,Ct.flags|=r,x.memoizedState=Nl(1|l,Yr(),c,p)}function No(r,l,c,p){var x=ea();p=p===void 0?null:p;var E=x.memoizedState.inst;rn!==null&&p!==null&&ku(p,rn.memoizedState.deps)?x.memoizedState=Nl(l,E,c,p):(Ct.flags|=r,x.memoizedState=Nl(1|l,E,c,p))}function Hn(r,l){Vl(8390656,8,r,l)}function yr(r,l){No(2048,8,r,l)}function ov(r,l){return No(4,2,r,l)}function Sf(r,l){return No(4,4,r,l)}function vr(r,l){if(typeof l=="function"){r=r();var c=l(r);return function(){typeof c=="function"?c():l(null)}}if(l!=null)return r=r(),l.current=r,function(){l.current=null}}function rp(r,l,c){c=c!=null?c.concat([r]):null,No(4,4,vr.bind(null,l,r),c)}function Tf(){}function $a(r,l){var c=ea();l=l===void 0?null:l;var p=c.memoizedState;return l!==null&&ku(l,p[1])?p[0]:(c.memoizedState=[r,l],r)}function Qi(r,l){var c=ea();l=l===void 0?null:l;var p=c.memoizedState;if(l!==null&&ku(l,p[1]))return p[0];if(p=r(),Zn){xi(!0);try{r()}finally{xi(!1)}}return c.memoizedState=[p,l],p}function Af(r,l,c){return c===void 0||(Zi&1073741824)!==0?r.memoizedState=l:(r.memoizedState=c,r=gv(),Ct.lanes|=r,Xl|=r,c)}function Kd(r,l,c,p){return Ai(c,l)?c:Hs.current!==null?(r=Af(r,c,p),Ai(r,l)||(Yt=!0),r):(Zi&42)===0?(Yt=!0,r.memoizedState=c):(r=gv(),Ct.lanes|=r,Xl|=r,l)}function wf(r,l,c,p,x){var E=W.p;W.p=E!==0&&8>E?E:8;var z=re.T,j={};re.T=j,Jd(r,!1,l,c);try{var Q=x(),ue=re.S;if(ue!==null&&ue(j,Q),Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var Oe=F0(Q,p);Ll(r,l,Oe,pi(r))}else Ll(r,l,p,pi(r))}catch(Ne){Ll(r,l,{then:function(){},status:"rejected",reason:Ne},pi())}finally{W.p=E,re.T=z}}function lv(){}function Id(r,l,c,p){if(r.tag!==5)throw Error(o(476));var x=sp(r).queue;wf(r,x,l,ce,c===null?lv:function(){return op(r),c(p)})}function sp(r){var l=r.memoizedState;if(l!==null)return l;l={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:ce},next:null};var c={};return l.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:c},next:null},r.memoizedState=l,r=r.alternate,r!==null&&(r.memoizedState=l),l}function op(r){var l=sp(r).next.queue;Ll(r,l,{},pi())}function Vo(){return Xn(qa)}function Ha(){return ea().memoizedState}function J0(){return ea().memoizedState}function Ul(r){for(var l=r.return;l!==null;){switch(l.tag){case 24:case 3:var c=pi();r=Oo(c);var p=Mi(l,r,c);p!==null&&(ar(p,l,c),$u(p,l,c)),l={cache:G0()},r.payload=l;return}l=l.return}}function eg(r,l,c){var p=pi();c={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},Ef(r)?eh(l,c):(c=Us(r,l,c,p),c!==null&&(ar(c,r,p),tg(c,l,p)))}function Wd(r,l,c){var p=pi();Ll(r,l,c,p)}function Ll(r,l,c,p){var x={lane:p,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ef(r))eh(l,x);else{var E=r.alternate;if(r.lanes===0&&(E===null||E.lanes===0)&&(E=l.lastRenderedReducer,E!==null))try{var z=l.lastRenderedState,j=E(z,c);if(x.hasEagerState=!0,x.eagerState=j,Ai(j,z))return Ba(r,l,x,0),wn===null&&Gi(),!1}catch{}finally{}if(c=Us(r,l,x,p),c!==null)return ar(c,r,p),tg(c,l,p),!0}return!1}function Jd(r,l,c,p){if(p={lane:2,revertLane:Eh(),action:p,hasEagerState:!1,eagerState:null,next:null},Ef(r)){if(l)throw Error(o(479))}else l=Us(r,c,p,2),l!==null&&ar(l,r,2)}function Ef(r){var l=r.alternate;return r===Ct||l!==null&&l===Ct}function eh(r,l){Rl=_o=!0;var c=r.pending;c===null?l.next=l:(l.next=c.next,c.next=l),r.pending=l}function tg(r,l,c){if((c&4194048)!==0){var p=l.lanes;p&=r.pendingLanes,c|=p,l.lanes=c,pd(r,c)}}var Cf={readContext:Xn,use:Im,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useLayoutEffect:Ft,useInsertionEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useSyncExternalStore:Ft,useId:Ft,useHostTransitionStatus:Ft,useFormState:Ft,useActionState:Ft,useOptimistic:Ft,useMemoCache:Ft,useCacheRefresh:Ft},uv={readContext:Xn,use:Im,useCallback:function(r,l){return Ri().memoizedState=[r,l===void 0?null:l],r},useContext:Xn,useEffect:Hn,useImperativeHandle:function(r,l,c){c=c!=null?c.concat([r]):null,Vl(4194308,4,vr.bind(null,l,r),c)},useLayoutEffect:function(r,l){return Vl(4194308,4,r,l)},useInsertionEffect:function(r,l){Vl(4,2,r,l)},useMemo:function(r,l){var c=Ri();l=l===void 0?null:l;var p=r();if(Zn){xi(!0);try{r()}finally{xi(!1)}}return c.memoizedState=[p,l],p},useReducer:function(r,l,c){var p=Ri();if(c!==void 0){var x=c(l);if(Zn){xi(!0);try{c(l)}finally{xi(!1)}}}else x=l;return p.memoizedState=p.baseState=x,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:x},p.queue=r,r=r.dispatch=eg.bind(null,Ct,r),[p.memoizedState,r]},useRef:function(r){var l=Ri();return r={current:r},l.memoizedState=r},useState:function(r){r=bf(r);var l=r.queue,c=Wd.bind(null,Ct,l);return l.dispatch=c,[r.memoizedState,c]},useDebugValue:Tf,useDeferredValue:function(r,l){var c=Ri();return Af(c,r,l)},useTransition:function(){var r=bf(!1);return r=wf.bind(null,Ct,r.queue,!0,!1),Ri().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,l,c){var p=Ct,x=Ri();if(At){if(c===void 0)throw Error(o(407));c=c()}else{if(c=l(),wn===null)throw Error(o(349));(Wt&124)!==0||qu(p,l,c)}x.memoizedState=c;var E={value:c,getSnapshot:l};return x.queue=E,Hn(Yd.bind(null,p,E,r),[r]),p.flags|=2048,Nl(9,Yr(),tp.bind(null,p,E,c,l),null),c},useId:function(){var r=Ri(),l=wn.identifierPrefix;if(At){var c=cs,p=Nn;c=(p&~(1<<32-li(p)-1)).toString(32)+c,l="«"+l+"R"+c,c=Hu++,0<c&&(l+="H"+c.toString(32)),l+="»"}else c=kd++,l="«"+l+"r"+c.toString(32)+"»";return r.memoizedState=l},useHostTransitionStatus:Vo,useFormState:Xd,useActionState:Xd,useOptimistic:function(r){var l=Ri();l.memoizedState=l.baseState=r;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=c,l=Jd.bind(null,Ct,!0,c),c.dispatch=l,[r,l]},useMemoCache:ua,useCacheRefresh:function(){return Ri().memoizedState=Ul.bind(null,Ct)}},lp={readContext:Xn,use:Im,useCallback:$a,useContext:Xn,useEffect:yr,useImperativeHandle:rp,useInsertionEffect:ov,useLayoutEffect:Sf,useMemo:Qi,useReducer:Pd,useRef:Fu,useState:function(){return Pd(hs)},useDebugValue:Tf,useDeferredValue:function(r,l){var c=ea();return Kd(c,rn.memoizedState,r,l)},useTransition:function(){var r=Pd(hs)[0],l=ea().memoizedState;return[typeof r=="boolean"?r:Yu(r),l]},useSyncExternalStore:ep,useId:Ha,useHostTransitionStatus:Vo,useFormState:Zd,useActionState:Zd,useOptimistic:function(r,l){var c=ea();return Gu(c,rn,r,l)},useMemoCache:ua,useCacheRefresh:J0},ng={readContext:Xn,use:Im,useCallback:$a,useContext:Xn,useEffect:yr,useImperativeHandle:rp,useInsertionEffect:ov,useLayoutEffect:Sf,useMemo:Qi,useReducer:Jm,useRef:Fu,useState:function(){return Jm(hs)},useDebugValue:Tf,useDeferredValue:function(r,l){var c=ea();return rn===null?Af(c,r,l):Kd(c,rn.memoizedState,r,l)},useTransition:function(){var r=Jm(hs)[0],l=ea().memoizedState;return[typeof r=="boolean"?r:Yu(r),l]},useSyncExternalStore:ep,useId:Ha,useHostTransitionStatus:Vo,useFormState:Lt,useActionState:Lt,useOptimistic:function(r,l){var c=ea();return rn!==null?Gu(c,rn,r,l):(c.baseState=r,[r,c.queue.dispatch])},useMemoCache:ua,useCacheRefresh:J0},Mn=null,_i=0;function th(r){var l=_i;return _i+=1,Mn===null&&(Mn=[]),Fm(Mn,r,l)}function nh(r,l){l=l.props.ref,r.ref=l!==void 0?l:null}function Uo(r,l){throw l.$$typeof===C?Error(o(525)):(r=Object.prototype.toString.call(l),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r)))}function Ra(r){var l=r._init;return l(r._payload)}function up(r){function l(se,ne){if(r){var fe=se.deletions;fe===null?(se.deletions=[ne],se.flags|=16):fe.push(ne)}}function c(se,ne){if(!r)return null;for(;ne!==null;)l(se,ne),ne=ne.sibling;return null}function p(se){for(var ne=new Map;se!==null;)se.key!==null?ne.set(se.key,se):ne.set(se.index,se),se=se.sibling;return ne}function x(se,ne){return se=Wa(se,ne),se.index=0,se.sibling=null,se}function E(se,ne,fe){return se.index=fe,r?(fe=se.alternate,fe!==null?(fe=fe.index,fe<ne?(se.flags|=67108866,ne):fe):(se.flags|=67108866,ne)):(se.flags|=1048576,ne)}function z(se){return r&&se.alternate===null&&(se.flags|=67108866),se}function j(se,ne,fe,Re){return ne===null||ne.tag!==6?(ne=wl(fe,se.mode,Re),ne.return=se,ne):(ne=x(ne,fe),ne.return=se,ne)}function Q(se,ne,fe,Re){var Ie=fe.type;return Ie===V?Oe(se,ne,fe.props.children,Re,fe.key):ne!==null&&(ne.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===de&&Ra(Ie)===ne.type)?(ne=x(ne,fe.props),nh(ne,fe),ne.return=se,ne):(ne=Vt(fe.type,fe.key,fe.props,null,se.mode,Re),nh(ne,fe),ne.return=se,ne)}function ue(se,ne,fe,Re){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==fe.containerInfo||ne.stateNode.implementation!==fe.implementation?(ne=wo(fe,se.mode,Re),ne.return=se,ne):(ne=x(ne,fe.children||[]),ne.return=se,ne)}function Oe(se,ne,fe,Re,Ie){return ne===null||ne.tag!==7?(ne=je(fe,se.mode,Re,Ie),ne.return=se,ne):(ne=x(ne,fe),ne.return=se,ne)}function Ne(se,ne,fe){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return ne=wl(""+ne,se.mode,fe),ne.return=se,ne;if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case M:return fe=Vt(ne.type,ne.key,ne.props,null,se.mode,fe),nh(fe,ne),fe.return=se,fe;case R:return ne=wo(ne,se.mode,fe),ne.return=se,ne;case de:var Re=ne._init;return ne=Re(ne._payload),Ne(se,ne,fe)}if(Ge(ne)||ke(ne))return ne=je(ne,se.mode,fe,null),ne.return=se,ne;if(typeof ne.then=="function")return Ne(se,th(ne),fe);if(ne.$$typeof===F)return Ne(se,ff(se,ne),fe);Uo(se,ne)}return null}function me(se,ne,fe,Re){var Ie=ne!==null?ne.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return Ie!==null?null:j(se,ne,""+fe,Re);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case M:return fe.key===Ie?Q(se,ne,fe,Re):null;case R:return fe.key===Ie?ue(se,ne,fe,Re):null;case de:return Ie=fe._init,fe=Ie(fe._payload),me(se,ne,fe,Re)}if(Ge(fe)||ke(fe))return Ie!==null?null:Oe(se,ne,fe,Re,null);if(typeof fe.then=="function")return me(se,ne,th(fe),Re);if(fe.$$typeof===F)return me(se,ne,ff(se,fe),Re);Uo(se,fe)}return null}function he(se,ne,fe,Re,Ie){if(typeof Re=="string"&&Re!==""||typeof Re=="number"||typeof Re=="bigint")return se=se.get(fe)||null,j(ne,se,""+Re,Ie);if(typeof Re=="object"&&Re!==null){switch(Re.$$typeof){case M:return se=se.get(Re.key===null?fe:Re.key)||null,Q(ne,se,Re,Ie);case R:return se=se.get(Re.key===null?fe:Re.key)||null,ue(ne,se,Re,Ie);case de:var Ut=Re._init;return Re=Ut(Re._payload),he(se,ne,fe,Re,Ie)}if(Ge(Re)||ke(Re))return se=se.get(fe)||null,Oe(ne,se,Re,Ie,null);if(typeof Re.then=="function")return he(se,ne,fe,th(Re),Ie);if(Re.$$typeof===F)return he(se,ne,fe,ff(ne,Re),Ie);Uo(ne,Re)}return null}function mt(se,ne,fe,Re){for(var Ie=null,Ut=null,ut=ne,yt=ne=0,Fa=null;ut!==null&&yt<fe.length;yt++){ut.index>yt?(Fa=ut,ut=null):Fa=ut.sibling;var tn=me(se,ut,fe[yt],Re);if(tn===null){ut===null&&(ut=Fa);break}r&&ut&&tn.alternate===null&&l(se,ut),ne=E(tn,ne,yt),Ut===null?Ie=tn:Ut.sibling=tn,Ut=tn,ut=Fa}if(yt===fe.length)return c(se,ut),At&&pa(se,yt),Ie;if(ut===null){for(;yt<fe.length;yt++)ut=Ne(se,fe[yt],Re),ut!==null&&(ne=E(ut,ne,yt),Ut===null?Ie=ut:Ut.sibling=ut,Ut=ut);return At&&pa(se,yt),Ie}for(ut=p(ut);yt<fe.length;yt++)Fa=he(ut,se,yt,fe[yt],Re),Fa!==null&&(r&&Fa.alternate!==null&&ut.delete(Fa.key===null?yt:Fa.key),ne=E(Fa,ne,yt),Ut===null?Ie=Fa:Ut.sibling=Fa,Ut=Fa);return r&&ut.forEach(function(to){return l(se,to)}),At&&pa(se,yt),Ie}function ct(se,ne,fe,Re){if(fe==null)throw Error(o(151));for(var Ie=null,Ut=null,ut=ne,yt=ne=0,Fa=null,tn=fe.next();ut!==null&&!tn.done;yt++,tn=fe.next()){ut.index>yt?(Fa=ut,ut=null):Fa=ut.sibling;var to=me(se,ut,tn.value,Re);if(to===null){ut===null&&(ut=Fa);break}r&&ut&&to.alternate===null&&l(se,ut),ne=E(to,ne,yt),Ut===null?Ie=to:Ut.sibling=to,Ut=to,ut=Fa}if(tn.done)return c(se,ut),At&&pa(se,yt),Ie;if(ut===null){for(;!tn.done;yt++,tn=fe.next())tn=Ne(se,tn.value,Re),tn!==null&&(ne=E(tn,ne,yt),Ut===null?Ie=tn:Ut.sibling=tn,Ut=tn);return At&&pa(se,yt),Ie}for(ut=p(ut);!tn.done;yt++,tn=fe.next())tn=he(ut,se,yt,tn.value,Re),tn!==null&&(r&&tn.alternate!==null&&ut.delete(tn.key===null?yt:tn.key),ne=E(tn,ne,yt),Ut===null?Ie=tn:Ut.sibling=tn,Ut=tn);return r&&ut.forEach(function(Sb){return l(se,Sb)}),At&&pa(se,yt),Ie}function fn(se,ne,fe,Re){if(typeof fe=="object"&&fe!==null&&fe.type===V&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case M:e:{for(var Ie=fe.key;ne!==null;){if(ne.key===Ie){if(Ie=fe.type,Ie===V){if(ne.tag===7){c(se,ne.sibling),Re=x(ne,fe.props.children),Re.return=se,se=Re;break e}}else if(ne.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===de&&Ra(Ie)===ne.type){c(se,ne.sibling),Re=x(ne,fe.props),nh(Re,fe),Re.return=se,se=Re;break e}c(se,ne);break}else l(se,ne);ne=ne.sibling}fe.type===V?(Re=je(fe.props.children,se.mode,Re,fe.key),Re.return=se,se=Re):(Re=Vt(fe.type,fe.key,fe.props,null,se.mode,Re),nh(Re,fe),Re.return=se,se=Re)}return z(se);case R:e:{for(Ie=fe.key;ne!==null;){if(ne.key===Ie)if(ne.tag===4&&ne.stateNode.containerInfo===fe.containerInfo&&ne.stateNode.implementation===fe.implementation){c(se,ne.sibling),Re=x(ne,fe.children||[]),Re.return=se,se=Re;break e}else{c(se,ne);break}else l(se,ne);ne=ne.sibling}Re=wo(fe,se.mode,Re),Re.return=se,se=Re}return z(se);case de:return Ie=fe._init,fe=Ie(fe._payload),fn(se,ne,fe,Re)}if(Ge(fe))return mt(se,ne,fe,Re);if(ke(fe)){if(Ie=ke(fe),typeof Ie!="function")throw Error(o(150));return fe=Ie.call(fe),ct(se,ne,fe,Re)}if(typeof fe.then=="function")return fn(se,ne,th(fe),Re);if(fe.$$typeof===F)return fn(se,ne,ff(se,fe),Re);Uo(se,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint"?(fe=""+fe,ne!==null&&ne.tag===6?(c(se,ne.sibling),Re=x(ne,fe),Re.return=se,se=Re):(c(se,ne),Re=wl(fe,se.mode,Re),Re.return=se,se=Re),z(se)):c(se,ne)}return function(se,ne,fe,Re){try{_i=0;var Ie=fn(se,ne,fe,Re);return Mn=null,Ie}catch(ut){if(ut===Ja||ut===pf)throw ut;var Ut=Ei(29,ut,null,se.mode);return Ut.lanes=Re,Ut.return=se,Ut}finally{}}}var _a=up(!0),ag=up(!1),ca=X(null),hi=null;function ka(r){var l=r.alternate;Me(qn,qn.current&1),Me(ca,r),hi===null&&(l===null||Hs.current!==null||l.memoizedState!==null)&&(hi=r)}function ig(r){if(r.tag===22){if(Me(qn,qn.current),Me(ca,r),hi===null){var l=r.alternate;l!==null&&l.memoizedState!==null&&(hi=r)}}else ti()}function ti(){Me(qn,qn.current),Me(ca,ca.current)}function qr(r){xe(ca),hi===r&&(hi=null),xe(qn)}var qn=X(0);function Ki(r){for(var l=r;l!==null;){if(l.tag===13){var c=l.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||Ni(c)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function Xu(r,l,c,p){l=r.memoizedState,c=c(p,l),c=c==null?l:w({},l,c),r.memoizedState=c,r.lanes===0&&(r.updateQueue.baseState=c)}var Ys={enqueueSetState:function(r,l,c){r=r._reactInternals;var p=pi(),x=Oo(p);x.payload=l,c!=null&&(x.callback=c),l=Mi(r,x,p),l!==null&&(ar(l,r,p),$u(l,r,p))},enqueueReplaceState:function(r,l,c){r=r._reactInternals;var p=pi(),x=Oo(p);x.tag=1,x.payload=l,c!=null&&(x.callback=c),l=Mi(r,x,p),l!==null&&(ar(l,r,p),$u(l,r,p))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var c=pi(),p=Oo(c);p.tag=2,l!=null&&(p.callback=l),l=Mi(r,p,c),l!==null&&(ar(l,r,c),$u(l,r,c))}};function Df(r,l,c,p,x,E,z){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(p,E,z):l.prototype&&l.prototype.isPureReactComponent?!Pi(c,p)||!Pi(x,E):!0}function Mf(r,l,c,p){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(c,p),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(c,p),l.state!==r&&Ys.enqueueReplaceState(l,l.state,null)}function br(r,l){var c=l;if("ref"in l){c={};for(var p in l)p!=="ref"&&(c[p]=l[p])}if(r=r.defaultProps){c===l&&(c=w({},c));for(var x in r)c[x]===void 0&&(c[x]=r[x])}return c}var jl=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function cp(r){jl(r)}function Bl(r){console.error(r)}function rg(r){jl(r)}function $l(r,l){try{var c=r.onUncaughtError;c(l.value,{componentStack:l.stack})}catch(p){setTimeout(function(){throw p})}}function ms(r,l,c){try{var p=r.onCaughtError;p(c.value,{componentStack:c.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function ah(r,l,c){return c=Oo(c),c.tag=3,c.payload={element:null},c.callback=function(){$l(r,l)},c}function sg(r){return r=Oo(r),r.tag=3,r}function og(r,l,c,p){var x=c.type.getDerivedStateFromError;if(typeof x=="function"){var E=p.value;r.payload=function(){return x(E)},r.callback=function(){ms(l,c,p)}}var z=c.stateNode;z!==null&&typeof z.componentDidCatch=="function"&&(r.callback=function(){ms(l,c,p),typeof x!="function"&&(Fs===null?Fs=new Set([this]):Fs.add(this));var j=p.stack;this.componentDidCatch(p.value,{componentStack:j!==null?j:""})})}function Ii(r,l,c,p,x){if(c.flags|=32768,p!==null&&typeof p=="object"&&typeof p.then=="function"){if(l=c.alternate,l!==null&&Vd(l,c,x,!0),c=ca.current,c!==null){switch(c.tag){case 13:return hi===null?Il():c.alternate===null&&ta===0&&(ta=3),c.flags&=-257,c.flags|=65536,c.lanes=x,p===Gm?c.flags|=16384:(l=c.updateQueue,l===null?c.updateQueue=new Set([p]):l.add(p),Th(r,p,x)),!1;case 22:return c.flags|=65536,p===Gm?c.flags|=16384:(l=c.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([p])},c.updateQueue=l):(c=l.retryQueue,c===null?l.retryQueue=new Set([p]):c.add(p)),Th(r,p,x)),!1}throw Error(o(435,c.tag))}return Th(r,p,x),Il(),!1}if(At)return l=ca.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=x,p!==El&&(r=Error(o(422),{cause:p}),Co(fi(r,c)))):(p!==El&&(l=Error(o(423),{cause:p}),Co(fi(l,c))),r=r.current.alternate,r.flags|=65536,x&=-x,r.lanes|=x,p=fi(p,c),x=ah(r.stateNode,p,x),gr(r,x),ta!==4&&(ta=2)),!1;var E=Error(o(520),{cause:p});if(E=fi(E,c),gh===null?gh=[E]:gh.push(E),ta!==4&&(ta=2),l===null)return!0;p=fi(p,c),c=l;do{switch(c.tag){case 3:return c.flags|=65536,r=x&-x,c.lanes|=r,r=ah(c.stateNode,p,r),gr(c,r),!1;case 1:if(l=c.type,E=c.stateNode,(c.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(Fs===null||!Fs.has(E))))return c.flags|=65536,x&=-x,c.lanes|=x,x=sg(x),og(x,r,c,p),gr(c,x),!1}c=c.return}while(c!==null);return!1}var lg=Error(o(461)),Yt=!1;function Un(r,l,c,p){l.child=r===null?ag(l,null,c,p):_a(l,r.child,c,p)}function ih(r,l,c,p,x){c=c.render;var E=l.ref;if("ref"in p){var z={};for(var j in p)j!=="ref"&&(z[j]=p[j])}else z=p;return Dl(l),p=Zm(r,l,c,z,E,x),j=Km(),r!==null&&!Yt?(zl(r,l,x),gs(r,l,x)):(At&&j&&zd(l),l.flags|=1,Un(r,l,p,x),l.child)}function fp(r,l,c,p,x){if(r===null){var E=c.type;return typeof E=="function"&&!Al(E)&&E.defaultProps===void 0&&c.compare===null?(l.tag=15,l.type=E,ps(r,l,E,p,x)):(r=Vt(c.type,null,p,l,l.mode,x),r.ref=l.ref,r.return=l,l.child=r)}if(E=r.child,!Gr(r,x)){var z=E.memoizedProps;if(c=c.compare,c=c!==null?c:Pi,c(z,p)&&r.ref===l.ref)return gs(r,l,x)}return l.flags|=1,r=Wa(E,p),r.ref=l.ref,r.return=l,l.child=r}function ps(r,l,c,p,x){if(r!==null){var E=r.memoizedProps;if(Pi(E,p)&&r.ref===l.ref)if(Yt=!1,l.pendingProps=p=E,Gr(r,x))(r.flags&131072)!==0&&(Yt=!0);else return l.lanes=r.lanes,gs(r,l,x)}return Zu(r,l,c,p,x)}function qs(r,l,c){var p=l.pendingProps,x=p.children,E=r!==null?r.memoizedState:null;if(p.mode==="hidden"){if((l.flags&128)!==0){if(p=E!==null?E.baseLanes|c:c,r!==null){for(x=l.child=r.child,E=0;x!==null;)E=E|x.lanes|x.childLanes,x=x.sibling;l.childLanes=E&~p}else l.childLanes=0,l.child=null;return Lo(r,l,p,c)}if((c&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},r!==null&&mf(l,E!==null?E.cachePool:null),E!==null?ks(l,E):ya(),ig(l);else return l.lanes=l.childLanes=536870912,Lo(r,l,E!==null?E.baseLanes|c:c,c)}else E!==null?(mf(l,E.cachePool),ks(l,E),ti(),l.memoizedState=null):(r!==null&&mf(l,null),ya(),ti());return Un(r,l,x,c),l.child}function Lo(r,l,c,p){var x=Pr();return x=x===null?null:{parent:Tn._currentValue,pool:x},l.memoizedState={baseLanes:c,cachePool:x},r!==null&&mf(l,null),ya(),ig(l),r!==null&&Vd(r,l,p,!0),null}function st(r,l){var c=l.ref;if(c===null)r!==null&&r.ref!==null&&(l.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(o(284));(r===null||r.ref!==c)&&(l.flags|=4194816)}}function Zu(r,l,c,p,x){return Dl(l),c=Zm(r,l,c,p,void 0,x),p=Km(),r!==null&&!Yt?(zl(r,l,x),gs(r,l,x)):(At&&p&&zd(l),l.flags|=1,Un(r,l,c,x),l.child)}function rh(r,l,c,p,x,E){return Dl(l),l.updateQueue=null,c=_l(l,p,c,x),K0(r),p=Km(),r!==null&&!Yt?(zl(r,l,E),gs(r,l,E)):(At&&p&&zd(l),l.flags|=1,Un(r,l,c,E),l.child)}function jo(r,l,c,p,x){if(Dl(l),l.stateNode===null){var E=Tl,z=c.contextType;typeof z=="object"&&z!==null&&(E=Xn(z)),E=new c(p,E),l.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,E.updater=Ys,l.stateNode=E,E._reactInternals=l,E=l.stateNode,E.props=p,E.state=l.memoizedState,E.refs={},Mo(l),z=c.contextType,E.context=typeof z=="object"&&z!==null?Xn(z):Tl,E.state=l.memoizedState,z=c.getDerivedStateFromProps,typeof z=="function"&&(Xu(l,c,z,p),E.state=l.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(z=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),z!==E.state&&Ys.enqueueReplaceState(E,E.state,null),ei(l,p,E,x),ds(),E.state=l.memoizedState),typeof E.componentDidMount=="function"&&(l.flags|=4194308),p=!0}else if(r===null){E=l.stateNode;var j=l.memoizedProps,Q=br(c,j);E.props=Q;var ue=E.context,Oe=c.contextType;z=Tl,typeof Oe=="object"&&Oe!==null&&(z=Xn(Oe));var Ne=c.getDerivedStateFromProps;Oe=typeof Ne=="function"||typeof E.getSnapshotBeforeUpdate=="function",j=l.pendingProps!==j,Oe||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(j||ue!==z)&&Mf(l,E,p,z),fs=!1;var me=l.memoizedState;E.state=me,ei(l,p,E,x),ds(),ue=l.memoizedState,j||me!==ue||fs?(typeof Ne=="function"&&(Xu(l,c,Ne,p),ue=l.memoizedState),(Q=fs||Df(l,c,Q,p,me,ue,z))?(Oe||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(l.flags|=4194308)):(typeof E.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=p,l.memoizedState=ue),E.props=p,E.state=ue,E.context=z,p=Q):(typeof E.componentDidMount=="function"&&(l.flags|=4194308),p=!1)}else{E=l.stateNode,Bu(r,l),z=l.memoizedProps,Oe=br(c,z),E.props=Oe,Ne=l.pendingProps,me=E.context,ue=c.contextType,Q=Tl,typeof ue=="object"&&ue!==null&&(Q=Xn(ue)),j=c.getDerivedStateFromProps,(ue=typeof j=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(z!==Ne||me!==Q)&&Mf(l,E,p,Q),fs=!1,me=l.memoizedState,E.state=me,ei(l,p,E,x),ds();var he=l.memoizedState;z!==Ne||me!==he||fs||r!==null&&r.dependencies!==null&&Ud(r.dependencies)?(typeof j=="function"&&(Xu(l,c,j,p),he=l.memoizedState),(Oe=fs||Df(l,c,Oe,p,me,he,Q)||r!==null&&r.dependencies!==null&&Ud(r.dependencies))?(ue||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(p,he,Q),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(p,he,Q)),typeof E.componentDidUpdate=="function"&&(l.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof E.componentDidUpdate!="function"||z===r.memoizedProps&&me===r.memoizedState||(l.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||z===r.memoizedProps&&me===r.memoizedState||(l.flags|=1024),l.memoizedProps=p,l.memoizedState=he),E.props=p,E.state=he,E.context=Q,p=Oe):(typeof E.componentDidUpdate!="function"||z===r.memoizedProps&&me===r.memoizedState||(l.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||z===r.memoizedProps&&me===r.memoizedState||(l.flags|=1024),p=!1)}return E=p,st(r,l),p=(l.flags&128)!==0,E||p?(E=l.stateNode,c=p&&typeof c.getDerivedStateFromError!="function"?null:E.render(),l.flags|=1,r!==null&&p?(l.child=_a(l,r.child,null,x),l.child=_a(l,null,c,x)):Un(r,l,c,x),l.memoizedState=E.state,r=l.child):r=gs(r,l,x),r}function dp(r,l,c,p){return cf(),l.flags|=256,Un(r,l,c,p),l.child}var Qu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function sh(r){return{baseLanes:r,cachePool:jd()}}function Pa(r,l,c){return r=r!==null?r.childLanes&~c:0,l&&(r|=za),r}function cv(r,l,c){var p=l.pendingProps,x=!1,E=(l.flags&128)!==0,z;if((z=E)||(z=r!==null&&r.memoizedState===null?!1:(qn.current&2)!==0),z&&(x=!0,l.flags&=-129),z=(l.flags&32)!==0,l.flags&=-33,r===null){if(At){if(x?ka(l):ti(),At){var j=hn,Q;if(Q=j){e:{for(Q=j,j=Oa;Q.nodeType!==8;){if(!j){j=null;break e}if(Q=As(Q.nextSibling),Q===null){j=null;break e}}j=Q}j!==null?(l.memoizedState={dehydrated:j,treeContext:Dn!==null?{id:Nn,overflow:cs}:null,retryLane:536870912,hydrationErrors:null},Q=Ei(18,null,null,0),Q.stateNode=j,Q.return=l,l.child=Q,Vn=l,hn=null,Q=!0):Q=!1}Q||di(l)}if(j=l.memoizedState,j!==null&&(j=j.dehydrated,j!==null))return Ni(j)?l.lanes=32:l.lanes=536870912,null;qr(l)}return j=p.children,p=p.fallback,x?(ti(),x=l.mode,j=Of({mode:"hidden",children:j},x),p=je(p,x,c,null),j.return=l,p.return=l,j.sibling=p,l.child=j,x=l.child,x.memoizedState=sh(c),x.childLanes=Pa(r,z,c),l.memoizedState=Qu,p):(ka(l),hp(l,j))}if(Q=r.memoizedState,Q!==null&&(j=Q.dehydrated,j!==null)){if(E)l.flags&256?(ka(l),l.flags&=-257,l=ug(r,l,c)):l.memoizedState!==null?(ti(),l.child=r.child,l.flags|=128,l=null):(ti(),x=p.fallback,j=l.mode,p=Of({mode:"visible",children:p.children},j),x=je(x,j,c,null),x.flags|=2,p.return=l,x.return=l,p.sibling=x,l.child=p,_a(l,r.child,null,c),p=l.child,p.memoizedState=sh(c),p.childLanes=Pa(r,z,c),l.memoizedState=Qu,l=x);else if(ka(l),Ni(j)){if(z=j.nextSibling&&j.nextSibling.dataset,z)var ue=z.dgst;z=ue,p=Error(o(419)),p.stack="",p.digest=z,Co({value:p,source:null,stack:null}),l=ug(r,l,c)}else if(Yt||Vd(r,l,c,!1),z=(c&r.childLanes)!==0,Yt||z){if(z=wn,z!==null&&(p=c&-c,p=(p&42)!==0?1:Bc(p),p=(p&(z.suspendedLanes|c))!==0?0:p,p!==0&&p!==Q.retryLane))throw Q.retryLane=p,Ls(r,p),ar(z,r,p),lg;j.data==="$?"||Il(),l=ug(r,l,c)}else j.data==="$?"?(l.flags|=192,l.child=r.child,l=null):(r=Q.treeContext,hn=As(j.nextSibling),Vn=l,At=!0,mr=null,Oa=!1,r!==null&&(Fi[kr++]=Nn,Fi[kr++]=cs,Fi[kr++]=Dn,Nn=r.id,cs=r.overflow,Dn=l),l=hp(l,p.children),l.flags|=4096);return l}return x?(ti(),x=p.fallback,j=l.mode,Q=r.child,ue=Q.sibling,p=Wa(Q,{mode:"hidden",children:p.children}),p.subtreeFlags=Q.subtreeFlags&65011712,ue!==null?x=Wa(ue,x):(x=je(x,j,c,null),x.flags|=2),x.return=l,p.return=l,p.sibling=x,l.child=p,p=x,x=l.child,j=r.child.memoizedState,j===null?j=sh(c):(Q=j.cachePool,Q!==null?(ue=Tn._currentValue,Q=Q.parent!==ue?{parent:ue,pool:ue}:Q):Q=jd(),j={baseLanes:j.baseLanes|c,cachePool:Q}),x.memoizedState=j,x.childLanes=Pa(r,z,c),l.memoizedState=Qu,p):(ka(l),c=r.child,r=c.sibling,c=Wa(c,{mode:"visible",children:p.children}),c.return=l,c.sibling=null,r!==null&&(z=l.deletions,z===null?(l.deletions=[r],l.flags|=16):z.push(r)),l.child=c,l.memoizedState=null,c)}function hp(r,l){return l=Of({mode:"visible",children:l},r.mode),l.return=r,r.child=l}function Of(r,l){return r=Ei(22,r,null,l),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function ug(r,l,c){return _a(l,r.child,null,c),r=hp(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function Hl(r,l,c){r.lanes|=l;var p=r.alternate;p!==null&&(p.lanes|=l),Di(r.return,l,c)}function Rf(r,l,c,p,x){var E=r.memoizedState;E===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:p,tail:c,tailMode:x}:(E.isBackwards=l,E.rendering=null,E.renderingStartTime=0,E.last=p,E.tail=c,E.tailMode=x)}function cg(r,l,c){var p=l.pendingProps,x=p.revealOrder,E=p.tail;if(Un(r,l,p.children,c),p=qn.current,(p&2)!==0)p=p&1|2,l.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=l.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Hl(r,c,l);else if(r.tag===19)Hl(r,c,l);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===l)break e;for(;r.sibling===null;){if(r.return===null||r.return===l)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}p&=1}switch(Me(qn,p),x){case"forwards":for(c=l.child,x=null;c!==null;)r=c.alternate,r!==null&&Ki(r)===null&&(x=c),c=c.sibling;c=x,c===null?(x=l.child,l.child=null):(x=c.sibling,c.sibling=null),Rf(l,!1,x,c,E);break;case"backwards":for(c=null,x=l.child,l.child=null;x!==null;){if(r=x.alternate,r!==null&&Ki(r)===null){l.child=x;break}r=x.sibling,x.sibling=c,c=x,x=r}Rf(l,!0,c,null,E);break;case"together":Rf(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function gs(r,l,c){if(r!==null&&(l.dependencies=r.dependencies),Xl|=l.lanes,(c&l.childLanes)===0)if(r!==null){if(Vd(r,l,c,!1),(c&l.childLanes)===0)return null}else return null;if(r!==null&&l.child!==r.child)throw Error(o(153));if(l.child!==null){for(r=l.child,c=Wa(r,r.pendingProps),l.child=c,c.return=l;r.sibling!==null;)r=r.sibling,c=c.sibling=Wa(r,r.pendingProps),c.return=l;c.sibling=null}return l.child}function Gr(r,l){return(r.lanes&l)!==0?!0:(r=r.dependencies,!!(r!==null&&Ud(r)))}function mi(r,l,c){switch(l.tag){case 3:ot(l,l.stateNode.containerInfo),Ci(l,Tn,r.memoizedState.cache),cf();break;case 27:case 5:Tt(l);break;case 4:ot(l,l.stateNode.containerInfo);break;case 10:Ci(l,l.type,l.memoizedProps.value);break;case 13:var p=l.memoizedState;if(p!==null)return p.dehydrated!==null?(ka(l),l.flags|=128,null):(c&l.child.childLanes)!==0?cv(r,l,c):(ka(l),r=gs(r,l,c),r!==null?r.sibling:null);ka(l);break;case 19:var x=(r.flags&128)!==0;if(p=(c&l.childLanes)!==0,p||(Vd(r,l,c,!1),p=(c&l.childLanes)!==0),x){if(p)return cg(r,l,c);l.flags|=128}if(x=l.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),Me(qn,qn.current),p)break;return null;case 22:case 23:return l.lanes=0,qs(r,l,c);case 24:Ci(l,Tn,r.memoizedState.cache)}return gs(r,l,c)}function oh(r,l,c){if(r!==null)if(r.memoizedProps!==l.pendingProps)Yt=!0;else{if(!Gr(r,c)&&(l.flags&128)===0)return Yt=!1,mi(r,l,c);Yt=(r.flags&131072)!==0}else Yt=!1,At&&(l.flags&1048576)!==0&&ln(l,lf,l.index);switch(l.lanes=0,l.tag){case 16:e:{r=l.pendingProps;var p=l.elementType,x=p._init;if(p=x(p._payload),l.type=p,typeof p=="function")Al(p)?(r=br(p,r),l.tag=1,l=jo(null,l,p,r,c)):(l.tag=0,l=Zu(null,l,p,r,c));else{if(p!=null){if(x=p.$$typeof,x===ae){l.tag=11,l=ih(null,l,p,r,c);break e}else if(x===be){l.tag=14,l=fp(null,l,p,r,c);break e}}throw l=et(p)||p,Error(o(306,l,""))}}return l;case 0:return Zu(r,l,l.type,l.pendingProps,c);case 1:return p=l.type,x=br(p,l.pendingProps),jo(r,l,p,x,c);case 3:e:{if(ot(l,l.stateNode.containerInfo),r===null)throw Error(o(387));p=l.pendingProps;var E=l.memoizedState;x=E.element,Bu(r,l),ei(l,p,null,c);var z=l.memoizedState;if(p=z.cache,Ci(l,Tn,p),p!==E.cache&&Ht(l,[Tn],c,!0),ds(),p=z.element,E.isDehydrated)if(E={element:p,isDehydrated:!1,cache:z.cache},l.updateQueue.baseState=E,l.memoizedState=E,l.flags&256){l=dp(r,l,p,c);break e}else if(p!==x){x=fi(Error(o(424)),l),Co(x),l=dp(r,l,p,c);break e}else{switch(r=l.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(hn=As(r.firstChild),Vn=l,At=!0,mr=null,Oa=!0,c=ag(l,null,p,c),l.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(cf(),p===x){l=gs(r,l,c);break e}Un(r,l,p,c)}l=l.child}return l;case 26:return st(r,l),r===null?(c=Vp(l.type,null,l.pendingProps,null))?l.memoizedState=c:At||(c=l.type,r=l.pendingProps,p=Qo(qe.current).createElement(c),p[yn]=l,p[ui]=r,pe(p,c,r),oa(p),l.stateNode=p):l.memoizedState=Vp(l.type,r.memoizedProps,l.pendingProps,r.memoizedState),null;case 27:return Tt(l),r===null&&At&&(p=l.stateNode=ri(l.type,l.pendingProps,qe.current),Vn=l,Oa=!0,x=hn,ha(l.type)?(Mg=x,hn=As(p.firstChild)):hn=x),Un(r,l,l.pendingProps.children,c),st(r,l),r===null&&(l.flags|=4194304),l.child;case 5:return r===null&&At&&((x=p=hn)&&(p=Np(p,l.type,l.pendingProps,Oa),p!==null?(l.stateNode=p,Vn=l,hn=As(p.firstChild),Oa=!1,x=!0):x=!1),x||di(l)),Tt(l),x=l.type,E=l.pendingProps,z=r!==null?r.memoizedProps:null,p=E.children,nu(x,E)?p=null:z!==null&&nu(x,z)&&(l.flags|=32),l.memoizedState!==null&&(x=Zm(r,l,Qm,null,null,c),qa._currentValue=x),st(r,l),Un(r,l,p,c),l.child;case 6:return r===null&&At&&((r=c=hn)&&(c=Ko(c,l.pendingProps,Oa),c!==null?(l.stateNode=c,Vn=l,hn=null,r=!0):r=!1),r||di(l)),null;case 13:return cv(r,l,c);case 4:return ot(l,l.stateNode.containerInfo),p=l.pendingProps,r===null?l.child=_a(l,null,p,c):Un(r,l,p,c),l.child;case 11:return ih(r,l,l.type,l.pendingProps,c);case 7:return Un(r,l,l.pendingProps,c),l.child;case 8:return Un(r,l,l.pendingProps.children,c),l.child;case 12:return Un(r,l,l.pendingProps.children,c),l.child;case 10:return p=l.pendingProps,Ci(l,l.type,p.value),Un(r,l,p.children,c),l.child;case 9:return x=l.type._context,p=l.pendingProps.children,Dl(l),x=Xn(x),p=p(x),l.flags|=1,Un(r,l,p,c),l.child;case 14:return fp(r,l,l.type,l.pendingProps,c);case 15:return ps(r,l,l.type,l.pendingProps,c);case 19:return cg(r,l,c);case 31:return p=l.pendingProps,c=l.mode,p={mode:p.mode,children:p.children},r===null?(c=Of(p,c),c.ref=l.ref,l.child=c,c.return=l,l=c):(c=Wa(r.child,p),c.ref=l.ref,l.child=c,c.return=l,l=c),l;case 22:return qs(r,l,c);case 24:return Dl(l),p=Xn(Tn),r===null?(x=Pr(),x===null&&(x=wn,E=G0(),x.pooledCache=E,E.refCount++,E!==null&&(x.pooledCacheLanes|=c),x=E),l.memoizedState={parent:p,cache:x},Mo(l),Ci(l,Tn,x)):((r.lanes&c)!==0&&(Bu(r,l),ei(l,null,null,c),ds()),x=r.memoizedState,E=l.memoizedState,x.parent!==p?(x={parent:p,cache:p},l.memoizedState=x,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=x),Ci(l,Tn,p)):(p=E.cache,Ci(l,Tn,p),p!==x.cache&&Ht(l,[Tn],c,!0))),Un(r,l,l.pendingProps.children,c),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}function Bo(r){r.flags|=4}function lh(r,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!Sa(l)){if(l=ca.current,l!==null&&((Wt&4194048)===Wt?hi!==null:(Wt&62914560)!==Wt&&(Wt&536870912)===0||l!==hi))throw ju=Gm,Bd;r.flags|=8192}}function kl(r,l){l!==null&&(r.flags|=4),r.flags&16384&&(l=r.tag!==22?cl():536870912,r.lanes|=l,Vf|=l)}function _f(r,l){if(!At)switch(r.tailMode){case"hidden":l=r.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?r.tail=null:c.sibling=null;break;case"collapsed":c=r.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:p.sibling=null}}function An(r){var l=r.alternate!==null&&r.alternate.child===r.child,c=0,p=0;if(l)for(var x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags&65011712,p|=x.flags&65011712,x.return=r,x=x.sibling;else for(x=r.child;x!==null;)c|=x.lanes|x.childLanes,p|=x.subtreeFlags,p|=x.flags,x.return=r,x=x.sibling;return r.subtreeFlags|=p,r.childLanes=c,l}function Sn(r,l,c){var p=l.pendingProps;switch(Eo(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return An(l),null;case 1:return An(l),null;case 3:return c=l.stateNode,p=null,r!==null&&(p=r.memoizedState.cache),l.memoizedState.cache!==p&&(l.flags|=2048),pr(Tn),Je(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(uf(l)?Bo(l):r===null||r.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Y0())),An(l),null;case 26:return c=l.memoizedState,r===null?(Bo(l),c!==null?(An(l),lh(l,c)):(An(l),l.flags&=-16777217)):c?c!==r.memoizedState?(Bo(l),An(l),lh(l,c)):(An(l),l.flags&=-16777217):(r.memoizedProps!==p&&Bo(l),An(l),l.flags&=-16777217),null;case 27:pt(l),c=qe.current;var x=l.type;if(r!==null&&l.stateNode!=null)r.memoizedProps!==p&&Bo(l);else{if(!p){if(l.stateNode===null)throw Error(o(166));return An(l),null}r=Ye.current,uf(l)?Ym(l):(r=ri(x,p,c),l.stateNode=r,Bo(l))}return An(l),null;case 5:if(pt(l),c=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==p&&Bo(l);else{if(!p){if(l.stateNode===null)throw Error(o(166));return An(l),null}if(r=Ye.current,uf(l))Ym(l);else{switch(x=Qo(qe.current),r){case 1:r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":r=x.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":r=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":r=x.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof p.is=="string"?x.createElement("select",{is:p.is}):x.createElement("select"),p.multiple?r.multiple=!0:p.size&&(r.size=p.size);break;default:r=typeof p.is=="string"?x.createElement(c,{is:p.is}):x.createElement(c)}}r[yn]=l,r[ui]=p;e:for(x=l.child;x!==null;){if(x.tag===5||x.tag===6)r.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===l)break e;for(;x.sibling===null;){if(x.return===null||x.return===l)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}l.stateNode=r;e:switch(pe(r,c,p),c){case"button":case"input":case"select":case"textarea":r=!!p.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Bo(l)}}return An(l),l.flags&=-16777217,null;case 6:if(r&&l.stateNode!=null)r.memoizedProps!==p&&Bo(l);else{if(typeof p!="string"&&l.stateNode===null)throw Error(o(166));if(r=qe.current,uf(l)){if(r=l.stateNode,c=l.memoizedProps,p=null,x=Vn,x!==null)switch(x.tag){case 27:case 5:p=x.memoizedProps}r[yn]=l,r=!!(r.nodeValue===c||p!==null&&p.suppressHydrationWarning===!0||Dv(r.nodeValue,c)),r||di(l)}else r=Qo(r).createTextNode(p),r[yn]=l,l.stateNode=r}return An(l),null;case 13:if(p=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(x=uf(l),p!==null&&p.dehydrated!==null){if(r===null){if(!x)throw Error(o(318));if(x=l.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(317));x[yn]=l}else cf(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;An(l),x=!1}else x=Y0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=x),x=!0;if(!x)return l.flags&256?(qr(l),l):(qr(l),null)}if(qr(l),(l.flags&128)!==0)return l.lanes=c,l;if(c=p!==null,r=r!==null&&r.memoizedState!==null,c){p=l.child,x=null,p.alternate!==null&&p.alternate.memoizedState!==null&&p.alternate.memoizedState.cachePool!==null&&(x=p.alternate.memoizedState.cachePool.pool);var E=null;p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(E=p.memoizedState.cachePool.pool),E!==x&&(p.flags|=2048)}return c!==r&&c&&(l.child.flags|=8192),kl(l,l.updateQueue),An(l),null;case 4:return Je(),r===null&&Ch(l.stateNode.containerInfo),An(l),null;case 10:return pr(l.type),An(l),null;case 19:if(xe(qn),x=l.memoizedState,x===null)return An(l),null;if(p=(l.flags&128)!==0,E=x.rendering,E===null)if(p)_f(x,!1);else{if(ta!==0||r!==null&&(r.flags&128)!==0)for(r=l.child;r!==null;){if(E=Ki(r),E!==null){for(l.flags|=128,_f(x,!1),r=E.updateQueue,l.updateQueue=r,kl(l,r),l.subtreeFlags=0,r=c,c=l.child;c!==null;)Lu(c,r),c=c.sibling;return Me(qn,qn.current&1|2),l.child}r=r.sibling}x.tail!==null&&Yn()>Uf&&(l.flags|=128,p=!0,_f(x,!1),l.lanes=4194304)}else{if(!p)if(r=Ki(E),r!==null){if(l.flags|=128,p=!0,r=r.updateQueue,l.updateQueue=r,kl(l,r),_f(x,!0),x.tail===null&&x.tailMode==="hidden"&&!E.alternate&&!At)return An(l),null}else 2*Yn()-x.renderingStartTime>Uf&&c!==536870912&&(l.flags|=128,p=!0,_f(x,!1),l.lanes=4194304);x.isBackwards?(E.sibling=l.child,l.child=E):(r=x.last,r!==null?r.sibling=E:l.child=E,x.last=E)}return x.tail!==null?(l=x.tail,x.rendering=l,x.tail=l.sibling,x.renderingStartTime=Yn(),l.sibling=null,r=qn.current,Me(qn,p?r&1|2:r&1),l):(An(l),null);case 22:case 23:return qr(l),vf(),p=l.memoizedState!==null,r!==null?r.memoizedState!==null!==p&&(l.flags|=8192):p&&(l.flags|=8192),p?(c&536870912)!==0&&(l.flags&128)===0&&(An(l),l.subtreeFlags&6&&(l.flags|=8192)):An(l),c=l.updateQueue,c!==null&&kl(l,c.retryQueue),c=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),p=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(p=l.memoizedState.cachePool.pool),p!==c&&(l.flags|=2048),r!==null&&xe(Do),null;case 24:return c=null,r!==null&&(c=r.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),pr(Tn),An(l),null;case 25:return null;case 30:return null}throw Error(o(156,l.tag))}function mp(r,l){switch(Eo(l),l.tag){case 1:return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return pr(Tn),Je(),r=l.flags,(r&65536)!==0&&(r&128)===0?(l.flags=r&-65537|128,l):null;case 26:case 27:case 5:return pt(l),null;case 13:if(qr(l),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(o(340));cf()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return xe(qn),null;case 4:return Je(),null;case 10:return pr(l.type),null;case 22:case 23:return qr(l),vf(),r!==null&&xe(Do),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 24:return pr(Tn),null;case 25:return null;default:return null}}function fv(r,l){switch(Eo(l),l.tag){case 3:pr(Tn),Je();break;case 26:case 27:case 5:pt(l);break;case 4:Je();break;case 13:qr(l);break;case 19:xe(qn);break;case 10:pr(l.type);break;case 22:case 23:qr(l),vf(),r!==null&&xe(Do);break;case 24:pr(Tn)}}function zf(r,l){try{var c=l.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var x=p.next;c=x;do{if((c.tag&r)===r){p=void 0;var E=c.create,z=c.inst;p=E(),z.destroy=p}c=c.next}while(c!==x)}}catch(j){En(l,l.return,j)}}function Pl(r,l,c){try{var p=l.updateQueue,x=p!==null?p.lastEffect:null;if(x!==null){var E=x.next;p=E;do{if((p.tag&r)===r){var z=p.inst,j=z.destroy;if(j!==void 0){z.destroy=void 0,x=l;var Q=c,ue=j;try{ue()}catch(Oe){En(x,Q,Oe)}}}p=p.next}while(p!==E)}}catch(Oe){En(l,l.return,Oe)}}function dv(r){var l=r.updateQueue;if(l!==null){var c=r.stateNode;try{Hd(l,c)}catch(p){En(r,r.return,p)}}}function uh(r,l,c){c.props=br(r.type,r.memoizedProps),c.state=r.memoizedState;try{c.componentWillUnmount()}catch(p){En(r,l,p)}}function Ku(r,l){try{var c=r.ref;if(c!==null){switch(r.tag){case 26:case 27:case 5:var p=r.stateNode;break;case 30:p=r.stateNode;break;default:p=r.stateNode}typeof c=="function"?r.refCleanup=c(p):c.current=p}}catch(x){En(r,l,x)}}function ys(r,l){var c=r.ref,p=r.refCleanup;if(c!==null)if(typeof p=="function")try{p()}catch(x){En(r,l,x)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(x){En(r,l,x)}else c.current=null}function ch(r){var l=r.type,c=r.memoizedProps,p=r.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":c.autoFocus&&p.focus();break e;case"img":c.src?p.src=c.src:c.srcSet&&(p.srcset=c.srcSet)}}catch(x){En(r,r.return,x)}}function Yl(r,l,c){try{var p=r.stateNode;cn(p,r.type,c,l),p[ui]=l}catch(x){En(r,r.return,x)}}function Nf(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&ha(r.type)||r.tag===4}function fh(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Nf(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&ha(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function xr(r,l,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,l?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(r,l):(l=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,l.appendChild(r),c=c._reactRootContainer,c!=null||l.onclick!==null||(l.onclick=Dh));else if(p!==4&&(p===27&&ha(r.type)&&(c=r.stateNode,l=null),r=r.child,r!==null))for(xr(r,l,c),r=r.sibling;r!==null;)xr(r,l,c),r=r.sibling}function $o(r,l,c){var p=r.tag;if(p===5||p===6)r=r.stateNode,l?c.insertBefore(r,l):c.appendChild(r);else if(p!==4&&(p===27&&ha(r.type)&&(c=r.stateNode),r=r.child,r!==null))for($o(r,l,c),r=r.sibling;r!==null;)$o(r,l,c),r=r.sibling}function dh(r){var l=r.stateNode,c=r.memoizedProps;try{for(var p=r.type,x=l.attributes;x.length;)l.removeAttributeNode(x[0]);pe(l,p,c),l[yn]=r,l[ui]=c}catch(E){En(r,r.return,E)}}var Fr=!1,un=!1,Gs=!1,fg=typeof WeakSet=="function"?WeakSet:Set,fa=null;function hv(r,l){if(r=r.containerInfo,Ts=Uh,r=Rd(r),$m(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var p=c.getSelection&&c.getSelection();if(p&&p.rangeCount!==0){c=p.anchorNode;var x=p.anchorOffset,E=p.focusNode;p=p.focusOffset;try{c.nodeType,E.nodeType}catch{c=null;break e}var z=0,j=-1,Q=-1,ue=0,Oe=0,Ne=r,me=null;t:for(;;){for(var he;Ne!==c||x!==0&&Ne.nodeType!==3||(j=z+x),Ne!==E||p!==0&&Ne.nodeType!==3||(Q=z+p),Ne.nodeType===3&&(z+=Ne.nodeValue.length),(he=Ne.firstChild)!==null;)me=Ne,Ne=he;for(;;){if(Ne===r)break t;if(me===c&&++ue===x&&(j=z),me===E&&++Oe===p&&(Q=z),(he=Ne.nextSibling)!==null)break;Ne=me,me=Ne.parentNode}Ne=he}c=j===-1||Q===-1?null:{start:j,end:Q}}else c=null}c=c||{start:0,end:0}}else c=null;for(Gf={focusedElem:r,selectionRange:c},Uh=!1,fa=l;fa!==null;)if(l=fa,r=l.child,(l.subtreeFlags&1024)!==0&&r!==null)r.return=l,fa=r;else for(;fa!==null;){switch(l=fa,E=l.alternate,r=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&E!==null){r=void 0,c=l,x=E.memoizedProps,E=E.memoizedState,p=c.stateNode;try{var mt=br(c.type,x,c.elementType===c.type);r=p.getSnapshotBeforeUpdate(mt,E),p.__reactInternalSnapshotBeforeUpdate=r}catch(ct){En(c,c.return,ct)}}break;case 3:if((r&1024)!==0){if(r=l.stateNode.containerInfo,c=r.nodeType,c===9)Mh(r);else if(c===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Mh(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(o(163))}if(r=l.sibling,r!==null){r.return=l.return,fa=r;break}fa=l.return}}function pp(r,l,c){var p=c.flags;switch(c.tag){case 0:case 11:case 15:Ho(r,c),p&4&&zf(5,c);break;case 1:if(Ho(r,c),p&4)if(r=c.stateNode,l===null)try{r.componentDidMount()}catch(z){En(c,c.return,z)}else{var x=br(c.type,l.memoizedProps);l=l.memoizedState;try{r.componentDidUpdate(x,l,r.__reactInternalSnapshotBeforeUpdate)}catch(z){En(c,c.return,z)}}p&64&&dv(c),p&512&&Ku(c,c.return);break;case 3:if(Ho(r,c),p&64&&(r=c.updateQueue,r!==null)){if(l=null,c.child!==null)switch(c.child.tag){case 27:case 5:l=c.child.stateNode;break;case 1:l=c.child.stateNode}try{Hd(r,l)}catch(z){En(c,c.return,z)}}break;case 27:l===null&&p&4&&dh(c);case 26:case 5:Ho(r,c),l===null&&p&4&&ch(c),p&512&&Ku(c,c.return);break;case 12:Ho(r,c);break;case 13:Ho(r,c),p&4&&qt(r,c),p&64&&(r=c.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(c=Ah.bind(null,c),au(r,c))));break;case 22:if(p=c.memoizedState!==null||Fr,!p){l=l!==null&&l.memoizedState!==null||un,x=Fr;var E=un;Fr=p,(un=l)&&!E?Ln(r,c,(c.subtreeFlags&8772)!==0):Ho(r,c),Fr=x,un=E}break;case 30:break;default:Ho(r,c)}}function dg(r){var l=r.alternate;l!==null&&(r.alternate=null,dg(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&at(l)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var kn=null,Wi=!1;function Xr(r,l,c){for(c=c.child;c!==null;)hg(r,l,c),c=c.sibling}function hg(r,l,c){if(La&&typeof La.onCommitFiberUnmount=="function")try{La.onCommitFiberUnmount(Uc,c)}catch{}switch(c.tag){case 26:un||ys(c,l),Xr(r,l,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:un||ys(c,l);var p=kn,x=Wi;ha(c.type)&&(kn=c.stateNode,Wi=!1),Xr(r,l,c),Xe(c.stateNode),kn=p,Wi=x;break;case 5:un||ys(c,l);case 6:if(p=kn,x=Wi,kn=null,Xr(r,l,c),kn=p,Wi=x,kn!==null)if(Wi)try{(kn.nodeType===9?kn.body:kn.nodeName==="HTML"?kn.ownerDocument.body:kn).removeChild(c.stateNode)}catch(E){En(c,l,E)}else try{kn.removeChild(c.stateNode)}catch(E){En(c,l,E)}break;case 18:kn!==null&&(Wi?(r=kn,zp(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,c.stateNode),Qf(r)):zp(kn,c.stateNode));break;case 4:p=kn,x=Wi,kn=c.stateNode.containerInfo,Wi=!0,Xr(r,l,c),kn=p,Wi=x;break;case 0:case 11:case 14:case 15:un||Pl(2,c,l),un||Pl(4,c,l),Xr(r,l,c);break;case 1:un||(ys(c,l),p=c.stateNode,typeof p.componentWillUnmount=="function"&&uh(c,l,p)),Xr(r,l,c);break;case 21:Xr(r,l,c);break;case 22:un=(p=un)||c.memoizedState!==null,Xr(r,l,c),un=p;break;default:Xr(r,l,c)}}function qt(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Qf(r)}catch(c){En(l,l.return,c)}}function mg(r){switch(r.tag){case 13:case 19:var l=r.stateNode;return l===null&&(l=r.stateNode=new fg),l;case 22:return r=r.stateNode,l=r._retryCache,l===null&&(l=r._retryCache=new fg),l;default:throw Error(o(435,r.tag))}}function hh(r,l){var c=mg(r);l.forEach(function(p){var x=pb.bind(null,r,p);c.has(p)||(c.add(p),p.then(x,x))})}function Ji(r,l){var c=l.deletions;if(c!==null)for(var p=0;p<c.length;p++){var x=c[p],E=r,z=l,j=z;e:for(;j!==null;){switch(j.tag){case 27:if(ha(j.type)){kn=j.stateNode,Wi=!1;break e}break;case 5:kn=j.stateNode,Wi=!1;break e;case 3:case 4:kn=j.stateNode.containerInfo,Wi=!0;break e}j=j.return}if(kn===null)throw Error(o(160));hg(E,z,x),kn=null,Wi=!1,E=x.alternate,E!==null&&(E.return=null),x.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)Iu(l,r),l=l.sibling}var er=null;function Iu(r,l){var c=r.alternate,p=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Ji(l,r),ni(r),p&4&&(Pl(3,r,r.return),zf(3,r),Pl(5,r,r.return));break;case 1:Ji(l,r),ni(r),p&512&&(un||c===null||ys(c,c.return)),p&64&&Fr&&(r=r.updateQueue,r!==null&&(p=r.callbacks,p!==null&&(c=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=c===null?p:c.concat(p))));break;case 26:var x=er;if(Ji(l,r),ni(r),p&512&&(un||c===null||ys(c,c.return)),p&4){var E=c!==null?c.memoizedState:null;if(p=r.memoizedState,c===null)if(p===null)if(r.stateNode===null){e:{p=r.type,c=r.memoizedProps,x=x.ownerDocument||x;t:switch(p){case"title":E=x.getElementsByTagName("title")[0],(!E||E[yd]||E[yn]||E.namespaceURI==="http://www.w3.org/2000/svg"||E.hasAttribute("itemprop"))&&(E=x.createElement(p),x.head.insertBefore(E,x.querySelector("head > title"))),pe(E,p,c),E[yn]=r,oa(E),p=E;break e;case"link":var z=Xf("link","href",x).get(p+(c.href||""));if(z){for(var j=0;j<z.length;j++)if(E=z[j],E.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&E.getAttribute("rel")===(c.rel==null?null:c.rel)&&E.getAttribute("title")===(c.title==null?null:c.title)&&E.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){z.splice(j,1);break t}}E=x.createElement(p),pe(E,p,c),x.head.appendChild(E);break;case"meta":if(z=Xf("meta","content",x).get(p+(c.content||""))){for(j=0;j<z.length;j++)if(E=z[j],E.getAttribute("content")===(c.content==null?null:""+c.content)&&E.getAttribute("name")===(c.name==null?null:c.name)&&E.getAttribute("property")===(c.property==null?null:c.property)&&E.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&E.getAttribute("charset")===(c.charSet==null?null:c.charSet)){z.splice(j,1);break t}}E=x.createElement(p),pe(E,p,c),x.head.appendChild(E);break;default:throw Error(o(468,p))}E[yn]=r,oa(E),p=E}r.stateNode=p}else Rg(x,r.type,r.stateNode);else r.stateNode=Up(x,p,r.memoizedProps);else E!==p?(E===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):E.count--,p===null?Rg(x,r.type,r.stateNode):Up(x,p,r.memoizedProps)):p===null&&r.stateNode!==null&&Yl(r,r.memoizedProps,c.memoizedProps)}break;case 27:Ji(l,r),ni(r),p&512&&(un||c===null||ys(c,c.return)),c!==null&&p&4&&Yl(r,r.memoizedProps,c.memoizedProps);break;case 5:if(Ji(l,r),ni(r),p&512&&(un||c===null||ys(c,c.return)),r.flags&32){x=r.stateNode;try{go(x,"")}catch(he){En(r,r.return,he)}}p&4&&r.stateNode!=null&&(x=r.memoizedProps,Yl(r,x,c!==null?c.memoizedProps:x)),p&1024&&(Gs=!0);break;case 6:if(Ji(l,r),ni(r),p&4){if(r.stateNode===null)throw Error(o(162));p=r.memoizedProps,c=r.stateNode;try{c.nodeValue=p}catch(he){En(r,r.return,he)}}break;case 3:if(lc=null,x=er,er=lt(l.containerInfo),Ji(l,r),er=x,ni(r),p&4&&c!==null&&c.memoizedState.isDehydrated)try{Qf(l.containerInfo)}catch(he){En(r,r.return,he)}Gs&&(Gs=!1,Wu(r));break;case 4:p=er,er=lt(r.stateNode.containerInfo),Ji(l,r),ni(r),er=p;break;case 12:Ji(l,r),ni(r);break;case 13:Ji(l,r),ni(r),r.child.flags&8192&&r.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(bg=Yn()),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,hh(r,p)));break;case 22:x=r.memoizedState!==null;var Q=c!==null&&c.memoizedState!==null,ue=Fr,Oe=un;if(Fr=ue||x,un=Oe||Q,Ji(l,r),un=Oe,Fr=ue,ni(r),p&8192)e:for(l=r.stateNode,l._visibility=x?l._visibility&-2:l._visibility|1,x&&(c===null||Q||Fr||un||ko(r)),c=null,l=r;;){if(l.tag===5||l.tag===26){if(c===null){Q=c=l;try{if(E=Q.stateNode,x)z=E.style,typeof z.setProperty=="function"?z.setProperty("display","none","important"):z.display="none";else{j=Q.stateNode;var Ne=Q.memoizedProps.style,me=Ne!=null&&Ne.hasOwnProperty("display")?Ne.display:null;j.style.display=me==null||typeof me=="boolean"?"":(""+me).trim()}}catch(he){En(Q,Q.return,he)}}}else if(l.tag===6){if(c===null){Q=l;try{Q.stateNode.nodeValue=x?"":Q.memoizedProps}catch(he){En(Q,Q.return,he)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===r)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;c===l&&(c=null),l=l.return}c===l&&(c=null),l.sibling.return=l.return,l=l.sibling}p&4&&(p=r.updateQueue,p!==null&&(c=p.retryQueue,c!==null&&(p.retryQueue=null,hh(r,c))));break;case 19:Ji(l,r),ni(r),p&4&&(p=r.updateQueue,p!==null&&(r.updateQueue=null,hh(r,p)));break;case 30:break;case 21:break;default:Ji(l,r),ni(r)}}function ni(r){var l=r.flags;if(l&2){try{for(var c,p=r.return;p!==null;){if(Nf(p)){c=p;break}p=p.return}if(c==null)throw Error(o(160));switch(c.tag){case 27:var x=c.stateNode,E=fh(r);$o(r,E,x);break;case 5:var z=c.stateNode;c.flags&32&&(go(z,""),c.flags&=-33);var j=fh(r);$o(r,j,z);break;case 3:case 4:var Q=c.stateNode.containerInfo,ue=fh(r);xr(r,ue,Q);break;default:throw Error(o(161))}}catch(Oe){En(r,r.return,Oe)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function Wu(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var l=r;Wu(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),r=r.sibling}}function Ho(r,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)pp(r,l.alternate,l),l=l.sibling}function ko(r){for(r=r.child;r!==null;){var l=r;switch(l.tag){case 0:case 11:case 14:case 15:Pl(4,l,l.return),ko(l);break;case 1:ys(l,l.return);var c=l.stateNode;typeof c.componentWillUnmount=="function"&&uh(l,l.return,c),ko(l);break;case 27:Xe(l.stateNode);case 26:case 5:ys(l,l.return),ko(l);break;case 22:l.memoizedState===null&&ko(l);break;case 30:ko(l);break;default:ko(l)}r=r.sibling}}function Ln(r,l,c){for(c=c&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var p=l.alternate,x=r,E=l,z=E.flags;switch(E.tag){case 0:case 11:case 15:Ln(x,E,c),zf(4,E);break;case 1:if(Ln(x,E,c),p=E,x=p.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(ue){En(p,p.return,ue)}if(p=E,x=p.updateQueue,x!==null){var j=p.stateNode;try{var Q=x.shared.hiddenCallbacks;if(Q!==null)for(x.shared.hiddenCallbacks=null,x=0;x<Q.length;x++)yf(Q[x],j)}catch(ue){En(p,p.return,ue)}}c&&z&64&&dv(E),Ku(E,E.return);break;case 27:dh(E);case 26:case 5:Ln(x,E,c),c&&p===null&&z&4&&ch(E),Ku(E,E.return);break;case 12:Ln(x,E,c);break;case 13:Ln(x,E,c),c&&z&4&&qt(x,E);break;case 22:E.memoizedState===null&&Ln(x,E,c),Ku(E,E.return);break;case 30:break;default:Ln(x,E,c)}l=l.sibling}}function pg(r,l){var c=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==c&&(r!=null&&r.refCount++,c!=null&&Ml(c))}function Zr(r,l){r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&Ml(r))}function vs(r,l,c,p){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Po(r,l,c,p),l=l.sibling}function Po(r,l,c,p){var x=l.flags;switch(l.tag){case 0:case 11:case 15:vs(r,l,c,p),x&2048&&zf(9,l);break;case 1:vs(r,l,c,p);break;case 3:vs(r,l,c,p),x&2048&&(r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&Ml(r)));break;case 12:if(x&2048){vs(r,l,c,p),r=l.stateNode;try{var E=l.memoizedProps,z=E.id,j=E.onPostCommit;typeof j=="function"&&j(z,l.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(Q){En(l,l.return,Q)}}else vs(r,l,c,p);break;case 13:vs(r,l,c,p);break;case 23:break;case 22:E=l.stateNode,z=l.alternate,l.memoizedState!==null?E._visibility&2?vs(r,l,c,p):ql(r,l):E._visibility&2?vs(r,l,c,p):(E._visibility|=2,Ju(r,l,c,p,(l.subtreeFlags&10256)!==0)),x&2048&&pg(z,l);break;case 24:vs(r,l,c,p),x&2048&&Zr(l.alternate,l);break;default:vs(r,l,c,p)}}function Ju(r,l,c,p,x){for(x=x&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var E=r,z=l,j=c,Q=p,ue=z.flags;switch(z.tag){case 0:case 11:case 15:Ju(E,z,j,Q,x),zf(8,z);break;case 23:break;case 22:var Oe=z.stateNode;z.memoizedState!==null?Oe._visibility&2?Ju(E,z,j,Q,x):ql(E,z):(Oe._visibility|=2,Ju(E,z,j,Q,x)),x&&ue&2048&&pg(z.alternate,z);break;case 24:Ju(E,z,j,Q,x),x&&ue&2048&&Zr(z.alternate,z);break;default:Ju(E,z,j,Q,x)}l=l.sibling}}function ql(r,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var c=r,p=l,x=p.flags;switch(p.tag){case 22:ql(c,p),x&2048&&pg(p.alternate,p);break;case 24:ql(c,p),x&2048&&Zr(p.alternate,p);break;default:ql(c,p)}l=l.sibling}}var Dt=8192;function Gl(r){if(r.subtreeFlags&Dt)for(r=r.child;r!==null;)Ya(r),r=r.sibling}function Ya(r){switch(r.tag){case 26:Gl(r),r.flags&Dt&&r.memoizedState!==null&&zv(er,r.memoizedState,r.memoizedProps);break;case 5:Gl(r);break;case 3:case 4:var l=er;er=lt(r.stateNode.containerInfo),Gl(r),er=l;break;case 22:r.memoizedState===null&&(l=r.alternate,l!==null&&l.memoizedState!==null?(l=Dt,Dt=16777216,Gl(r),Dt=l):Gl(r));break;default:Gl(r)}}function mv(r){var l=r.alternate;if(l!==null&&(r=l.child,r!==null)){l.child=null;do l=r.sibling,r.sibling=null,r=l;while(r!==null)}}function ec(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var c=0;c<l.length;c++){var p=l[c];fa=p,Sr(p,r)}mv(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)gp(r),r=r.sibling}function gp(r){switch(r.tag){case 0:case 11:case 15:ec(r),r.flags&2048&&Pl(9,r,r.return);break;case 3:ec(r);break;case 12:ec(r);break;case 22:var l=r.stateNode;r.memoizedState!==null&&l._visibility&2&&(r.return===null||r.return.tag!==13)?(l._visibility&=-3,mh(r)):ec(r);break;default:ec(r)}}function mh(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var c=0;c<l.length;c++){var p=l[c];fa=p,Sr(p,r)}mv(r)}for(r=r.child;r!==null;){switch(l=r,l.tag){case 0:case 11:case 15:Pl(8,l,l.return),mh(l);break;case 22:c=l.stateNode,c._visibility&2&&(c._visibility&=-3,mh(l));break;default:mh(l)}r=r.sibling}}function Sr(r,l){for(;fa!==null;){var c=fa;switch(c.tag){case 0:case 11:case 15:Pl(8,c,l);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var p=c.memoizedState.cachePool.pool;p!=null&&p.refCount++}break;case 24:Ml(c.memoizedState.cache)}if(p=c.child,p!==null)p.return=c,fa=p;else e:for(c=r;fa!==null;){p=fa;var x=p.sibling,E=p.return;if(dg(p),p===c){fa=null;break e}if(x!==null){x.return=E,fa=x;break e}fa=E}}}var pv={getCacheForType:function(r){var l=Xn(Tn),c=l.data.get(r);return c===void 0&&(c=r(),l.data.set(r,c)),c}},ph=typeof WeakMap=="function"?WeakMap:Map,mn=0,wn=null,Gt=null,Wt=0,sn=0,tr=null,Yo=!1,Fl=!1,gg=!1,qo=0,ta=0,Xl=0,Zl=0,yg=0,za=0,Vf=0,gh=null,zi=null,vg=!1,bg=0,Uf=1/0,yh=null,Fs=null,ai=0,Ql=null,Kl=null,Lf=0,nr=0,yp=null,xg=null,tc=0,vp=null;function pi(){if((mn&2)!==0&&Wt!==0)return Wt&-Wt;if(re.T!==null){var r=Ol;return r!==0?r:Eh()}return M0()}function gv(){za===0&&(za=(Wt&536870912)===0||At?Da():536870912);var r=ca.current;return r!==null&&(r.flags|=32),za}function ar(r,l,c){(r===wn&&(sn===2||sn===9)||r.cancelPendingCommit!==null)&&(bs(r,0),Go(r,Wt,za,!1)),as(r,c),((mn&2)===0||r!==wn)&&(r===wn&&((mn&2)===0&&(Zl|=c),ta===4&&Go(r,Wt,za,!1)),xs(r))}function yv(r,l,c){if((mn&6)!==0)throw Error(o(327));var p=!c&&(l&124)===0&&(l&r.expiredLanes)===0||ns(r,l),x=p?xp(r,l):nc(r,l,!0),E=p;do{if(x===0){Fl&&!p&&Go(r,l,0,!1);break}else{if(c=r.current.alternate,E&&!bp(c)){x=nc(r,l,!1),E=!1;continue}if(x===2){if(E=l,r.errorRecoveryDisabledLanes&E)var z=0;else z=r.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){l=z;e:{var j=r;x=gh;var Q=j.current.memoizedState.isDehydrated;if(Q&&(bs(j,z).flags|=256),z=nc(j,z,!1),z!==2){if(gg&&!Q){j.errorRecoveryDisabledLanes|=E,Zl|=E,x=4;break e}E=zi,zi=x,E!==null&&(zi===null?zi=E:zi.push.apply(zi,E))}x=z}if(E=!1,x!==2)continue}}if(x===1){bs(r,0),Go(r,l,0,!0);break}e:{switch(p=r,E=x,E){case 0:case 1:throw Error(o(345));case 4:if((l&4194048)!==l)break;case 6:Go(p,l,za,!Yo);break e;case 2:zi=null;break;case 3:case 5:break;default:throw Error(o(329))}if((l&62914560)===l&&(x=bg+300-Yn(),10<x)){if(Go(p,l,za,!Yo),_r(p,0,!0)!==0)break e;p.timeoutHandle=Zs(jf.bind(null,p,c,zi,yh,vg,l,za,Zl,Vf,Yo,E,2,-0,0),x);break e}jf(p,c,zi,yh,vg,l,za,Zl,Vf,Yo,E,0,-0,0)}}break}while(!0);xs(r)}function jf(r,l,c,p,x,E,z,j,Q,ue,Oe,Ne,me,he){if(r.timeoutHandle=-1,Ne=l.subtreeFlags,(Ne&8192||(Ne&16785408)===16785408)&&(Va={stylesheets:null,count:0,unsuspend:_v},Ya(l),Ne=Nv(),Ne!==null)){r.cancelPendingCommit=Ne(xh.bind(null,r,l,E,c,p,x,z,j,Q,Oe,1,me,he)),Go(r,E,z,!ue);return}xh(r,l,E,c,p,x,z,j,Q)}function bp(r){for(var l=r;;){var c=l.tag;if((c===0||c===11||c===15)&&l.flags&16384&&(c=l.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var p=0;p<c.length;p++){var x=c[p],E=x.getSnapshot;x=x.value;try{if(!Ai(E(),x))return!1}catch{return!1}}if(c=l.child,l.subtreeFlags&16384&&c!==null)c.return=l,l=c;else{if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Go(r,l,c,p){l&=~yg,l&=~Zl,r.suspendedLanes|=l,r.pingedLanes&=~l,p&&(r.warmLanes|=l),p=r.expirationTimes;for(var x=l;0<x;){var E=31-li(x),z=1<<E;p[E]=-1,x&=~z}c!==0&&D0(r,c,l)}function vh(){return(mn&6)===0?(Xo(0),!1):!0}function Bf(){if(Gt!==null){if(sn===0)var r=Gt.return;else r=Gt,B=Bs=null,Pu(r),Mn=null,_i=0,r=Gt;for(;r!==null;)fv(r.alternate,r),r=r.return;Gt=null}}function bs(r,l){var c=r.timeoutHandle;c!==-1&&(r.timeoutHandle=-1,Dg(c)),c=r.cancelPendingCommit,c!==null&&(r.cancelPendingCommit=null,c()),Bf(),wn=r,Gt=c=Wa(r.current,null),Wt=l,sn=0,tr=null,Yo=!1,Fl=ns(r,l),gg=!1,Vf=za=yg=Zl=Xl=ta=0,zi=gh=null,vg=!1,(l&8)!==0&&(l|=l&32);var p=r.entangledLanes;if(p!==0)for(r=r.entanglements,p&=l;0<p;){var x=31-li(p),E=1<<x;l|=r[x],p&=~E}return qo=l,Gi(),c}function $f(r,l){Ct=null,re.H=Cf,l===Ja||l===pf?(l=Xm(),sn=3):l===Bd?(l=Xm(),sn=4):sn=l===lg?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,tr=l,Gt===null&&(ta=1,$l(r,fi(l,r.current)))}function Sg(){var r=re.H;return re.H=Cf,r===null?Cf:r}function vv(){var r=re.A;return re.A=pv,r}function Il(){ta=4,Yo||(Wt&4194048)!==Wt&&ca.current!==null||(Fl=!0),(Xl&134217727)===0&&(Zl&134217727)===0||wn===null||Go(wn,Wt,za,!1)}function nc(r,l,c){var p=mn;mn|=2;var x=Sg(),E=vv();(wn!==r||Wt!==l)&&(yh=null,bs(r,l)),l=!1;var z=ta;e:do try{if(sn!==0&&Gt!==null){var j=Gt,Q=tr;switch(sn){case 8:Bf(),z=6;break e;case 3:case 2:case 9:case 6:ca.current===null&&(l=!0);var ue=sn;if(sn=0,tr=null,ac(r,j,Q,ue),c&&Fl){z=0;break e}break;default:ue=sn,sn=0,tr=null,ac(r,j,Q,ue)}}bv(),z=ta;break}catch(Oe){$f(r,Oe)}while(!0);return l&&r.shellSuspendCounter++,B=Bs=null,mn=p,re.H=x,re.A=E,Gt===null&&(wn=null,Wt=0,Gi()),z}function bv(){for(;Gt!==null;)bh(Gt)}function xp(r,l){var c=mn;mn|=2;var p=Sg(),x=vv();wn!==r||Wt!==l?(yh=null,Uf=Yn()+500,bs(r,l)):Fl=ns(r,l);e:do try{if(sn!==0&&Gt!==null){l=Gt;var E=tr;t:switch(sn){case 1:sn=0,tr=null,ac(r,l,E,1);break;case 2:case 9:if(Z0(E)){sn=0,tr=null,Tg(l);break}l=function(){sn!==2&&sn!==9||wn!==r||(sn=7),xs(r)},E.then(l,l);break e;case 3:sn=7;break e;case 4:sn=5;break e;case 7:Z0(E)?(sn=0,tr=null,Tg(l)):(sn=0,tr=null,ac(r,l,E,7));break;case 5:var z=null;switch(Gt.tag){case 26:z=Gt.memoizedState;case 5:case 27:var j=Gt;if(!z||Sa(z)){sn=0,tr=null;var Q=j.sibling;if(Q!==null)Gt=Q;else{var ue=j.return;ue!==null?(Gt=ue,Tp(ue)):Gt=null}break t}}sn=0,tr=null,ac(r,l,E,5);break;case 6:sn=0,tr=null,ac(r,l,E,6);break;case 8:Bf(),ta=6;break e;default:throw Error(o(462))}}Sp();break}catch(Oe){$f(r,Oe)}while(!0);return B=Bs=null,re.H=p,re.A=x,mn=c,Gt!==null?0:(wn=null,Wt=0,Gi(),ta)}function Sp(){for(;Gt!==null&&!Rr();)bh(Gt)}function bh(r){var l=oh(r.alternate,r,qo);r.memoizedProps=r.pendingProps,l===null?Tp(r):Gt=l}function Tg(r){var l=r,c=l.alternate;switch(l.tag){case 15:case 0:l=rh(c,l,l.pendingProps,l.type,void 0,Wt);break;case 11:l=rh(c,l,l.pendingProps,l.type.render,l.ref,Wt);break;case 5:Pu(l);default:fv(c,l),l=Gt=Lu(l,qo),l=oh(c,l,qo)}r.memoizedProps=r.pendingProps,l===null?Tp(r):Gt=l}function ac(r,l,c,p){B=Bs=null,Pu(l),Mn=null,_i=0;var x=l.return;try{if(Ii(r,x,l,c,Wt)){ta=1,$l(r,fi(c,r.current)),Gt=null;return}}catch(E){if(x!==null)throw Gt=x,E;ta=1,$l(r,fi(c,r.current)),Gt=null;return}l.flags&32768?(At||p===1?r=!0:Fl||(Wt&536870912)!==0?r=!1:(Yo=r=!0,(p===2||p===9||p===3||p===6)&&(p=ca.current,p!==null&&p.tag===13&&(p.flags|=16384))),Ag(l,r)):Tp(l)}function Tp(r){var l=r;do{if((l.flags&32768)!==0){Ag(l,Yo);return}r=l.return;var c=Sn(l.alternate,l,qo);if(c!==null){Gt=c;return}if(l=l.sibling,l!==null){Gt=l;return}Gt=l=r}while(l!==null);ta===0&&(ta=5)}function Ag(r,l){do{var c=mp(r.alternate,r);if(c!==null){c.flags&=32767,Gt=c;return}if(c=r.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!l&&(r=r.sibling,r!==null)){Gt=r;return}Gt=r=c}while(r!==null);ta=6,Gt=null}function xh(r,l,c,p,x,E,z,j,Q){r.cancelPendingCommit=null;do wp();while(ai!==0);if((mn&6)!==0)throw Error(o(327));if(l!==null){if(l===r.current)throw Error(o(177));if(E=l.lanes|l.childLanes,E|=_d,C0(r,c,E,z,j,Q),r===wn&&(Gt=wn=null,Wt=0),Kl=l,Ql=r,Lf=c,nr=E,yp=x,xg=p,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,wv(bi,function(){return Tv(),null})):(r.callbackNode=null,r.callbackPriority=0),p=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||p){p=re.T,re.T=null,x=W.p,W.p=2,z=mn,mn|=4;try{hv(r,l,c)}finally{mn=z,W.p=x,re.T=p}}ai=1,xv(),Sv(),Sh()}}function xv(){if(ai===1){ai=0;var r=Ql,l=Kl,c=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||c){c=re.T,re.T=null;var p=W.p;W.p=2;var x=mn;mn|=4;try{Iu(l,r);var E=Gf,z=Rd(r.containerInfo),j=E.focusedElem,Q=E.selectionRange;if(z!==j&&j&&j.ownerDocument&&$n(j.ownerDocument.documentElement,j)){if(Q!==null&&$m(j)){var ue=Q.start,Oe=Q.end;if(Oe===void 0&&(Oe=ue),"selectionStart"in j)j.selectionStart=ue,j.selectionEnd=Math.min(Oe,j.value.length);else{var Ne=j.ownerDocument||document,me=Ne&&Ne.defaultView||window;if(me.getSelection){var he=me.getSelection(),mt=j.textContent.length,ct=Math.min(Q.start,mt),fn=Q.end===void 0?ct:Math.min(Q.end,mt);!he.extend&&ct>fn&&(z=fn,fn=ct,ct=z);var se=xo(j,ct),ne=xo(j,fn);if(se&&ne&&(he.rangeCount!==1||he.anchorNode!==se.node||he.anchorOffset!==se.offset||he.focusNode!==ne.node||he.focusOffset!==ne.offset)){var fe=Ne.createRange();fe.setStart(se.node,se.offset),he.removeAllRanges(),ct>fn?(he.addRange(fe),he.extend(ne.node,ne.offset)):(fe.setEnd(ne.node,ne.offset),he.addRange(fe))}}}}for(Ne=[],he=j;he=he.parentNode;)he.nodeType===1&&Ne.push({element:he,left:he.scrollLeft,top:he.scrollTop});for(typeof j.focus=="function"&&j.focus(),j=0;j<Ne.length;j++){var Re=Ne[j];Re.element.scrollLeft=Re.left,Re.element.scrollTop=Re.top}}Uh=!!Ts,Gf=Ts=null}finally{mn=x,W.p=p,re.T=c}}r.current=l,ai=2}}function Sv(){if(ai===2){ai=0;var r=Ql,l=Kl,c=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||c){c=re.T,re.T=null;var p=W.p;W.p=2;var x=mn;mn|=4;try{pp(r,l.alternate,l)}finally{mn=x,W.p=p,re.T=c}}ai=3}}function Sh(){if(ai===4||ai===3){ai=0,vm();var r=Ql,l=Kl,c=Lf,p=xg;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?ai=5:(ai=0,Kl=Ql=null,Ap(r,r.pendingLanes));var x=r.pendingLanes;if(x===0&&(Fs=null),zr(c),l=l.stateNode,La&&typeof La.onCommitFiberRoot=="function")try{La.onCommitFiberRoot(Uc,l,void 0,(l.current.flags&128)===128)}catch{}if(p!==null){l=re.T,x=W.p,W.p=2,re.T=null;try{for(var E=r.onRecoverableError,z=0;z<p.length;z++){var j=p[z];E(j.value,{componentStack:j.stack})}}finally{re.T=l,W.p=x}}(Lf&3)!==0&&wp(),xs(r),x=r.pendingLanes,(c&4194090)!==0&&(x&42)!==0?r===vp?tc++:(tc=0,vp=r):tc=0,Xo(0)}}function Ap(r,l){(r.pooledCacheLanes&=l)===0&&(l=r.pooledCache,l!=null&&(r.pooledCache=null,Ml(l)))}function wp(r){return xv(),Sv(),Sh(),Tv()}function Tv(){if(ai!==5)return!1;var r=Ql,l=nr;nr=0;var c=zr(Lf),p=re.T,x=W.p;try{W.p=32>c?32:c,re.T=null,c=yp,yp=null;var E=Ql,z=Lf;if(ai=0,Kl=Ql=null,Lf=0,(mn&6)!==0)throw Error(o(331));var j=mn;if(mn|=4,gp(E.current),Po(E,E.current,z,c),mn=j,Xo(0,!1),La&&typeof La.onPostCommitFiberRoot=="function")try{La.onPostCommitFiberRoot(Uc,E)}catch{}return!0}finally{W.p=x,re.T=p,Ap(r,l)}}function wg(r,l,c){l=fi(c,l),l=ah(r.stateNode,l,2),r=Mi(r,l,2),r!==null&&(as(r,2),xs(r))}function En(r,l,c){if(r.tag===3)wg(r,r,c);else for(;l!==null;){if(l.tag===3){wg(l,r,c);break}else if(l.tag===1){var p=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(Fs===null||!Fs.has(p))){r=fi(c,r),c=sg(2),p=Mi(l,c,2),p!==null&&(og(c,p,l,r),as(p,2),xs(p));break}}l=l.return}}function Th(r,l,c){var p=r.pingCache;if(p===null){p=r.pingCache=new ph;var x=new Set;p.set(l,x)}else x=p.get(l),x===void 0&&(x=new Set,p.set(l,x));x.has(c)||(gg=!0,x.add(c),r=Av.bind(null,r,l,c),l.then(r,r))}function Av(r,l,c){var p=r.pingCache;p!==null&&p.delete(l),r.pingedLanes|=r.suspendedLanes&c,r.warmLanes&=~c,wn===r&&(Wt&c)===c&&(ta===4||ta===3&&(Wt&62914560)===Wt&&300>Yn()-bg?(mn&2)===0&&bs(r,0):yg|=c,Vf===Wt&&(Vf=0)),xs(r)}function Ep(r,l){l===0&&(l=cl()),r=Ls(r,l),r!==null&&(as(r,l),xs(r))}function Ah(r){var l=r.memoizedState,c=0;l!==null&&(c=l.retryLane),Ep(r,c)}function pb(r,l){var c=0;switch(r.tag){case 13:var p=r.stateNode,x=r.memoizedState;x!==null&&(c=x.retryLane);break;case 19:p=r.stateNode;break;case 22:p=r.stateNode._retryCache;break;default:throw Error(o(314))}p!==null&&p.delete(l),Ep(r,c)}function wv(r,l){return Ze(r,l)}var wh=null,Wl=null,Hf=!1,ic=!1,kf=!1,Fo=0;function xs(r){r!==Wl&&r.next===null&&(Wl===null?wh=Wl=r:Wl=Wl.next=r),ic=!0,Hf||(Hf=!0,Yf())}function Xo(r,l){if(!kf&&ic){kf=!0;do for(var c=!1,p=wh;p!==null;){if(r!==0){var x=p.pendingLanes;if(x===0)var E=0;else{var z=p.suspendedLanes,j=p.pingedLanes;E=(1<<31-li(42|r)+1)-1,E&=x&~(z&~j),E=E&201326741?E&201326741|1:E?E|2:0}E!==0&&(c=!0,Ev(p,E))}else E=Wt,E=_r(p,p===wn?E:0,p.cancelPendingCommit!==null||p.timeoutHandle!==-1),(E&3)===0||ns(p,E)||(c=!0,Ev(p,E));p=p.next}while(c);kf=!1}}function gb(){Pf()}function Pf(){ic=Hf=!1;var r=0;Fo!==0&&(_p()&&(r=Fo),Fo=0);for(var l=Yn(),c=null,p=wh;p!==null;){var x=p.next,E=Jl(p,l);E===0?(p.next=null,c===null?wh=x:c.next=x,x===null&&(Wl=c)):(c=p,(r!==0||(E&3)!==0)&&(ic=!0)),p=x}Xo(r)}function Jl(r,l){for(var c=r.suspendedLanes,p=r.pingedLanes,x=r.expirationTimes,E=r.pendingLanes&-62914561;0<E;){var z=31-li(E),j=1<<z,Q=x[z];Q===-1?((j&c)===0||(j&p)!==0)&&(x[z]=jc(j,l)):Q<=l&&(r.expiredLanes|=j),E&=~j}if(l=wn,c=Wt,c=_r(r,r===l?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p=r.callbackNode,c===0||r===l&&(sn===2||sn===9)||r.cancelPendingCommit!==null)return p!==null&&p!==null&&dn(p),r.callbackNode=null,r.callbackPriority=0;if((c&3)===0||ns(r,c)){if(l=c&-c,l===r.callbackPriority)return l;switch(p!==null&&dn(p),zr(c)){case 2:case 8:c=Nc;break;case 32:c=bi;break;case 268435456:c=Su;break;default:c=bi}return p=Eg.bind(null,r),c=Ze(c,p),r.callbackPriority=l,r.callbackNode=c,l}return p!==null&&p!==null&&dn(p),r.callbackPriority=2,r.callbackNode=null,2}function Eg(r,l){if(ai!==0&&ai!==5)return r.callbackNode=null,r.callbackPriority=0,null;var c=r.callbackNode;if(wp()&&r.callbackNode!==c)return null;var p=Wt;return p=_r(r,r===wn?p:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),p===0?null:(yv(r,p,l),Jl(r,Yn()),r.callbackNode!=null&&r.callbackNode===c?Eg.bind(null,r):null)}function Ev(r,l){if(wp())return null;yv(r,l,!0)}function Yf(){bb(function(){(mn&6)!==0?Ze(zc,gb):Pf()})}function Eh(){return Fo===0&&(Fo=Da()),Fo}function qf(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Xc(""+r)}function Cp(r,l){var c=l.ownerDocument.createElement("input");return c.name=l.name,c.value=l.value,r.id&&c.setAttribute("form",r.id),l.parentNode.insertBefore(c,l),r=new FormData(r),c.parentNode.removeChild(c),r}function Dp(r,l,c,p,x){if(l==="submit"&&c&&c.stateNode===x){var E=qf((x[ui]||null).action),z=p.submitter;z&&(l=(l=z[ui]||null)?qf(l.formAction):z.getAttribute("formAction"),l!==null&&(E=l,z=null));var j=new Ed("action","action",null,p,x);r.push({event:j,listeners:[{instance:null,listener:function(){if(p.defaultPrevented){if(Fo!==0){var Q=z?Cp(x,z):new FormData(x);Id(c,{pending:!0,data:Q,method:x.method,action:E},null,Q)}}else typeof E=="function"&&(j.preventDefault(),Q=z?Cp(x,z):new FormData(x),Id(c,{pending:!0,data:Q,method:x.method,action:E},E,Q))},currentTarget:x}]})}}for(var Mp=0;Mp<an.length;Mp++){var na=an[Mp],Cg=na.toLowerCase(),yb=na[0].toUpperCase()+na.slice(1);qi(Cg,"on"+yb)}qi(Uu,"onAnimationEnd"),qi(rv,"onAnimationIteration"),qi(Yi,"onAnimationStart"),qi("dblclick","onDoubleClick"),qi("focusin","onFocus"),qi("focusout","onBlur"),qi(Hm,"onTransitionRun"),qi(P0,"onTransitionStart"),qi(So,"onTransitionCancel"),qi(rf,"onTransitionEnd"),Au("onMouseEnter",["mouseout","mouseover"]),Au("onMouseLeave",["mouseout","mouseover"]),Au("onPointerEnter",["pointerout","pointerover"]),Au("onPointerLeave",["pointerout","pointerover"]),ja("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ja("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ja("onBeforeInput",["compositionend","keypress","textInput","paste"]),ja("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ja("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ja("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Et="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(" "),vb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Et));function Zo(r,l){l=(l&4)!==0;for(var c=0;c<r.length;c++){var p=r[c],x=p.event;p=p.listeners;e:{var E=void 0;if(l)for(var z=p.length-1;0<=z;z--){var j=p[z],Q=j.instance,ue=j.currentTarget;if(j=j.listener,Q!==E&&x.isPropagationStopped())break e;E=j,x.currentTarget=ue;try{E(x)}catch(Oe){jl(Oe)}x.currentTarget=null,E=Q}else for(z=0;z<p.length;z++){if(j=p[z],Q=j.instance,ue=j.currentTarget,j=j.listener,Q!==E&&x.isPropagationStopped())break e;E=j,x.currentTarget=ue;try{E(x)}catch(Oe){jl(Oe)}x.currentTarget=null,E=Q}}}}function Rt(r,l){var c=l[O0];c===void 0&&(c=l[O0]=new Set);var p=r+"__bubble";c.has(p)||(Cv(l,r,2,!1),c.add(p))}function eu(r,l,c){var p=0;l&&(p|=4),Cv(c,r,p,l)}var ii="_reactListening"+Math.random().toString(36).slice(2);function Ch(r){if(!r[ii]){r[ii]=!0,R0.forEach(function(c){c!=="selectionchange"&&(vb.has(c)||eu(c,!1,r),eu(c,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[ii]||(l[ii]=!0,eu("selectionchange",!1,l))}}function Cv(r,l,c,p){switch(Lv(l)){case 2:var x=Uv;break;case 8:x=cc;break;default:x=kp}c=x.bind(null,l,c,r),x=void 0,!Qc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(x=!0),p?x!==void 0?r.addEventListener(l,c,{capture:!0,passive:x}):r.addEventListener(l,c,!0):x!==void 0?r.addEventListener(l,c,{passive:x}):r.addEventListener(l,c,!1)}function Ss(r,l,c,p,x){var E=p;if((l&1)===0&&(l&2)===0&&p!==null)e:for(;;){if(p===null)return;var z=p.tag;if(z===3||z===4){var j=p.stateNode.containerInfo;if(j===x)break;if(z===4)for(z=p.return;z!==null;){var Q=z.tag;if((Q===3||Q===4)&&z.stateNode.containerInfo===x)return;z=z.return}for(;j!==null;){if(z=dl(j),z===null)return;if(Q=z.tag,Q===5||Q===6||Q===26||Q===27){p=E=z;continue e}j=j.parentNode}}p=p.return}Qy(function(){var ue=E,Oe=Ou(c),Ne=[];e:{var me=sf.get(r);if(me!==void 0){var he=Ed,mt=r;switch(r){case"keypress":if(vn(c)===0)break e;case"keydown":case"keyup":he=vo;break;case"focusin":mt="focus",he=Rm;break;case"focusout":mt="blur",he=Rm;break;case"beforeblur":case"afterblur":he=Rm;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":he=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":he=Om;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":he=zm;break;case Uu:case rv:case Yi:he=Wy;break;case rf:he=Hi;break;case"scroll":case"scrollend":he=mb;break;case"wheel":he=Nm;break;case"copy":case"cut":case"paste":he=ev;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":he=la;break;case"toggle":case"beforetoggle":he=ef}var ct=(l&4)!==0,fn=!ct&&(r==="scroll"||r==="scrollend"),se=ct?me!==null?me+"Capture":null:me;ct=[];for(var ne=ue,fe;ne!==null;){var Re=ne;if(fe=Re.stateNode,Re=Re.tag,Re!==5&&Re!==26&&Re!==27||fe===null||se===null||(Re=yo(ne,se),Re!=null&&ct.push(ft(ne,Re,fe))),fn)break;ne=ne.return}0<ct.length&&(me=new he(me,mt,null,c,Oe),Ne.push({event:me,listeners:ct}))}}if((l&7)===0){e:{if(me=r==="mouseover"||r==="pointerover",he=r==="mouseout"||r==="pointerout",me&&c!==Ad&&(mt=c.relatedTarget||c.fromElement)&&(dl(mt)||mt[ho]))break e;if((he||me)&&(me=Oe.window===Oe?Oe:(me=Oe.ownerDocument)?me.defaultView||me.parentWindow:window,he?(mt=c.relatedTarget||c.toElement,he=ue,mt=mt?dl(mt):null,mt!==null&&(fn=h(mt),ct=mt.tag,mt!==fn||ct!==5&&ct!==27&&ct!==6)&&(mt=null)):(he=null,mt=ue),he!==mt)){if(ct=ss,Re="onMouseLeave",se="onMouseEnter",ne="mouse",(r==="pointerout"||r==="pointerover")&&(ct=la,Re="onPointerLeave",se="onPointerEnter",ne="pointer"),fn=he==null?me:Tu(he),fe=mt==null?me:Tu(mt),me=new ct(Re,ne+"leave",he,c,Oe),me.target=fn,me.relatedTarget=fe,Re=null,dl(Oe)===ue&&(ct=new ct(se,ne+"enter",mt,c,Oe),ct.target=fe,ct.relatedTarget=fn,Re=ct),fn=Re,he&&mt)t:{for(ct=he,se=mt,ne=0,fe=ct;fe;fe=da(fe))ne++;for(fe=0,Re=se;Re;Re=da(Re))fe++;for(;0<ne-fe;)ct=da(ct),ne--;for(;0<fe-ne;)se=da(se),fe--;for(;ne--;){if(ct===se||se!==null&&ct===se.alternate)break t;ct=da(ct),se=da(se)}ct=null}else ct=null;he!==null&&Gn(Ne,me,he,ct,!1),mt!==null&&fn!==null&&Gn(Ne,fn,mt,ct,!0)}}e:{if(me=ue?Tu(ue):window,he=me.nodeName&&me.nodeName.toLowerCase(),he==="select"||he==="input"&&me.type==="file")var Ie=bl;else if(Od(me))if(j0)Ie=bo;else{Ie=ls;var Ut=$0}else he=me.nodeName,!he||he.toLowerCase()!=="input"||me.type!=="checkbox"&&me.type!=="radio"?ue&&Gc(ue.elementType)&&(Ie=bl):Ie=us;if(Ie&&(Ie=Ie(r,ue))){yl(Ne,Ie,c,Oe);break e}Ut&&Ut(r,me,ue),r==="focusout"&&ue&&me.type==="number"&&ue.memoizedProps.value!=null&&Mu(me,"number",me.value)}switch(Ut=ue?Tu(ue):window,r){case"focusin":(Od(Ut)||Ut.contentEditable==="true")&&($r=Ut,Hr=ue,ie=null);break;case"focusout":ie=Hr=$r=null;break;case"mousedown":we=!0;break;case"contextmenu":case"mouseup":case"dragend":we=!1,ve(Ne,c,Oe);break;case"selectionchange":if(k0)break;case"keydown":case"keyup":ve(Ne,c,Oe)}var ut;if(Vm)e:{switch(r){case"compositionstart":var yt="onCompositionStart";break e;case"compositionend":yt="onCompositionEnd";break e;case"compositionupdate":yt="onCompositionUpdate";break e}yt=void 0}else ki?Lm(r,c)&&(yt="onCompositionEnd"):r==="keydown"&&c.keyCode===229&&(yt="onCompositionStart");yt&&(tf&&c.locale!=="ko"&&(ki||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&ki&&(ut=wd()):(Ur=Oe,Mm="value"in Ur?Ur.value:Ur.textContent,ki=!0)),Ut=tu(ue,yt),0<Ut.length&&(yt=new Ti(yt,r,null,c,Oe),Ne.push({event:yt,listeners:Ut}),ut?yt.data=ut:(ut=Nu(c),ut!==null&&(yt.data=ut)))),(ut=iv?L0(r,c):jm(r,c))&&(yt=tu(ue,"onBeforeInput"),0<yt.length&&(Ut=new Ti("onBeforeInput","beforeinput",null,c,Oe),Ne.push({event:Ut,listeners:yt}),Ut.data=ut)),Dp(Ne,r,ue,c,Oe)}Zo(Ne,l)})}function ft(r,l,c){return{instance:r,listener:l,currentTarget:c}}function tu(r,l){for(var c=l+"Capture",p=[];r!==null;){var x=r,E=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||E===null||(x=yo(r,c),x!=null&&p.unshift(ft(r,x,E)),x=yo(r,l),x!=null&&p.push(ft(r,x,E))),r.tag===3)return p;r=r.return}return[]}function da(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function Gn(r,l,c,p,x){for(var E=l._reactName,z=[];c!==null&&c!==p;){var j=c,Q=j.alternate,ue=j.stateNode;if(j=j.tag,Q!==null&&Q===p)break;j!==5&&j!==26&&j!==27||ue===null||(Q=ue,x?(ue=yo(c,E),ue!=null&&z.unshift(ft(c,ue,Q))):x||(ue=yo(c,E),ue!=null&&z.push(ft(c,ue,Q)))),c=c.return}z.length!==0&&r.push({event:l,listeners:z})}var Op=/\r\n?/g,ba=/\u0000|\uFFFD/g;function Rp(r){return(typeof r=="string"?r:""+r).replace(Op,`
|
|
719
|
+
`).replace(ba,"")}function Dv(r,l){return l=Rp(l),Rp(r)===l}function Dh(){}function Cn(r,l,c,p,x,E){switch(c){case"children":typeof p=="string"?l==="body"||l==="textarea"&&p===""||go(r,p):(typeof p=="number"||typeof p=="bigint")&&l!=="body"&&go(r,""+p);break;case"className":mo(r,"class",p);break;case"tabIndex":mo(r,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":mo(r,c,p);break;case"style":Td(r,p,E);break;case"data":if(l!=="object"){mo(r,"data",p);break}case"src":case"href":if(p===""&&(l!=="a"||c!=="href")){r.removeAttribute(c);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){r.removeAttribute(c);break}p=Xc(""+p),r.setAttribute(c,p);break;case"action":case"formAction":if(typeof p=="function"){r.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof E=="function"&&(c==="formAction"?(l!=="input"&&Cn(r,l,"name",x.name,x,null),Cn(r,l,"formEncType",x.formEncType,x,null),Cn(r,l,"formMethod",x.formMethod,x,null),Cn(r,l,"formTarget",x.formTarget,x,null)):(Cn(r,l,"encType",x.encType,x,null),Cn(r,l,"method",x.method,x,null),Cn(r,l,"target",x.target,x,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){r.removeAttribute(c);break}p=Xc(""+p),r.setAttribute(c,p);break;case"onClick":p!=null&&(r.onclick=Dh);break;case"onScroll":p!=null&&Rt("scroll",r);break;case"onScrollEnd":p!=null&&Rt("scrollend",r);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(o(61));if(c=p.__html,c!=null){if(x.children!=null)throw Error(o(60));r.innerHTML=c}}break;case"multiple":r.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":r.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){r.removeAttribute("xlink:href");break}c=Xc(""+p),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,""+p):r.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":p&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,""):r.removeAttribute(c);break;case"capture":case"download":p===!0?r.setAttribute(c,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?r.setAttribute(c,p):r.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?r.setAttribute(c,p):r.removeAttribute(c);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?r.removeAttribute(c):r.setAttribute(c,p);break;case"popover":Rt("beforetoggle",r),Rt("toggle",r),bd(r,"popover",p);break;case"xlinkActuate":is(r,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":is(r,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":is(r,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":is(r,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":is(r,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":is(r,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":is(r,"http://www.w3.org/XML/1998/namespace","xml:base",p);break;case"xmlLang":is(r,"http://www.w3.org/XML/1998/namespace","xml:lang",p);break;case"xmlSpace":is(r,"http://www.w3.org/XML/1998/namespace","xml:space",p);break;case"is":bd(r,"is",p);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=Fc.get(c)||c,bd(r,c,p))}}function Na(r,l,c,p,x,E){switch(c){case"style":Td(r,p,E);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(o(61));if(c=p.__html,c!=null){if(x.children!=null)throw Error(o(60));r.innerHTML=c}}break;case"children":typeof p=="string"?go(r,p):(typeof p=="number"||typeof p=="bigint")&&go(r,""+p);break;case"onScroll":p!=null&&Rt("scroll",r);break;case"onScrollEnd":p!=null&&Rt("scrollend",r);break;case"onClick":p!=null&&(r.onclick=Dh);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vd.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(x=c.endsWith("Capture"),l=c.slice(2,x?c.length-7:void 0),E=r[ui]||null,E=E!=null?E[c]:null,typeof E=="function"&&r.removeEventListener(l,E,x),typeof p=="function")){typeof E!="function"&&E!==null&&(c in r?r[c]=null:r.hasAttribute(c)&&r.removeAttribute(c)),r.addEventListener(l,p,x);break e}c in r?r[c]=p:p===!0?r.setAttribute(c,""):bd(r,c,p)}}}function pe(r,l,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Rt("error",r),Rt("load",r);var p=!1,x=!1,E;for(E in c)if(c.hasOwnProperty(E)){var z=c[E];if(z!=null)switch(E){case"src":p=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:Cn(r,l,E,z,c,null)}}x&&Cn(r,l,"srcSet",c.srcSet,c,null),p&&Cn(r,l,"src",c.src,c,null);return;case"input":Rt("invalid",r);var j=E=z=x=null,Q=null,ue=null;for(p in c)if(c.hasOwnProperty(p)){var Oe=c[p];if(Oe!=null)switch(p){case"name":x=Oe;break;case"type":z=Oe;break;case"checked":Q=Oe;break;case"defaultChecked":ue=Oe;break;case"value":E=Oe;break;case"defaultValue":j=Oe;break;case"children":case"dangerouslySetInnerHTML":if(Oe!=null)throw Error(o(137,l));break;default:Cn(r,l,p,Oe,c,null)}}Em(r,E,j,Q,ue,z,x,!1),Yc(r);return;case"select":Rt("invalid",r),p=z=E=null;for(x in c)if(c.hasOwnProperty(x)&&(j=c[x],j!=null))switch(x){case"value":E=j;break;case"defaultValue":z=j;break;case"multiple":p=j;default:Cn(r,l,x,j,c,null)}l=E,c=z,r.multiple=!!p,l!=null?hl(r,!!p,l,!1):c!=null&&hl(r,!!p,c,!0);return;case"textarea":Rt("invalid",r),E=x=p=null;for(z in c)if(c.hasOwnProperty(z)&&(j=c[z],j!=null))switch(z){case"value":p=j;break;case"defaultValue":x=j;break;case"children":E=j;break;case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(91));break;default:Cn(r,l,z,j,c,null)}Sd(r,p,x,E),Yc(r);return;case"option":for(Q in c)if(c.hasOwnProperty(Q)&&(p=c[Q],p!=null))switch(Q){case"selected":r.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:Cn(r,l,Q,p,c,null)}return;case"dialog":Rt("beforetoggle",r),Rt("toggle",r),Rt("cancel",r),Rt("close",r);break;case"iframe":case"object":Rt("load",r);break;case"video":case"audio":for(p=0;p<Et.length;p++)Rt(Et[p],r);break;case"image":Rt("error",r),Rt("load",r);break;case"details":Rt("toggle",r);break;case"embed":case"source":case"link":Rt("error",r),Rt("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ue in c)if(c.hasOwnProperty(ue)&&(p=c[ue],p!=null))switch(ue){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:Cn(r,l,ue,p,c,null)}return;default:if(Gc(l)){for(Oe in c)c.hasOwnProperty(Oe)&&(p=c[Oe],p!==void 0&&Na(r,l,Oe,p,c,void 0));return}}for(j in c)c.hasOwnProperty(j)&&(p=c[j],p!=null&&Cn(r,l,j,p,c,null))}function cn(r,l,c,p){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,E=null,z=null,j=null,Q=null,ue=null,Oe=null;for(he in c){var Ne=c[he];if(c.hasOwnProperty(he)&&Ne!=null)switch(he){case"checked":break;case"value":break;case"defaultValue":Q=Ne;default:p.hasOwnProperty(he)||Cn(r,l,he,null,p,Ne)}}for(var me in p){var he=p[me];if(Ne=c[me],p.hasOwnProperty(me)&&(he!=null||Ne!=null))switch(me){case"type":E=he;break;case"name":x=he;break;case"checked":ue=he;break;case"defaultChecked":Oe=he;break;case"value":z=he;break;case"defaultValue":j=he;break;case"children":case"dangerouslySetInnerHTML":if(he!=null)throw Error(o(137,l));break;default:he!==Ne&&Cn(r,l,me,he,p,Ne)}}wm(r,z,j,Q,ue,Oe,E,x);return;case"select":he=z=j=me=null;for(E in c)if(Q=c[E],c.hasOwnProperty(E)&&Q!=null)switch(E){case"value":break;case"multiple":he=Q;default:p.hasOwnProperty(E)||Cn(r,l,E,null,p,Q)}for(x in p)if(E=p[x],Q=c[x],p.hasOwnProperty(x)&&(E!=null||Q!=null))switch(x){case"value":me=E;break;case"defaultValue":j=E;break;case"multiple":z=E;default:E!==Q&&Cn(r,l,x,E,p,Q)}l=j,c=z,p=he,me!=null?hl(r,!!c,me,!1):!!p!=!!c&&(l!=null?hl(r,!!c,l,!0):hl(r,!!c,c?[]:"",!1));return;case"textarea":he=me=null;for(j in c)if(x=c[j],c.hasOwnProperty(j)&&x!=null&&!p.hasOwnProperty(j))switch(j){case"value":break;case"children":break;default:Cn(r,l,j,null,p,x)}for(z in p)if(x=p[z],E=c[z],p.hasOwnProperty(z)&&(x!=null||E!=null))switch(z){case"value":me=x;break;case"defaultValue":he=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(91));break;default:x!==E&&Cn(r,l,z,x,p,E)}Cm(r,me,he);return;case"option":for(var mt in c)if(me=c[mt],c.hasOwnProperty(mt)&&me!=null&&!p.hasOwnProperty(mt))switch(mt){case"selected":r.selected=!1;break;default:Cn(r,l,mt,null,p,me)}for(Q in p)if(me=p[Q],he=c[Q],p.hasOwnProperty(Q)&&me!==he&&(me!=null||he!=null))switch(Q){case"selected":r.selected=me&&typeof me!="function"&&typeof me!="symbol";break;default:Cn(r,l,Q,me,p,he)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ct in c)me=c[ct],c.hasOwnProperty(ct)&&me!=null&&!p.hasOwnProperty(ct)&&Cn(r,l,ct,null,p,me);for(ue in p)if(me=p[ue],he=c[ue],p.hasOwnProperty(ue)&&me!==he&&(me!=null||he!=null))switch(ue){case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(o(137,l));break;default:Cn(r,l,ue,me,p,he)}return;default:if(Gc(l)){for(var fn in c)me=c[fn],c.hasOwnProperty(fn)&&me!==void 0&&!p.hasOwnProperty(fn)&&Na(r,l,fn,void 0,p,me);for(Oe in p)me=p[Oe],he=c[Oe],!p.hasOwnProperty(Oe)||me===he||me===void 0&&he===void 0||Na(r,l,Oe,me,p,he);return}}for(var se in c)me=c[se],c.hasOwnProperty(se)&&me!=null&&!p.hasOwnProperty(se)&&Cn(r,l,se,null,p,me);for(Ne in p)me=p[Ne],he=c[Ne],!p.hasOwnProperty(Ne)||me===he||me==null&&he==null||Cn(r,l,Ne,me,p,he)}var Ts=null,Gf=null;function Qo(r){return r.nodeType===9?r:r.ownerDocument}function on(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function pn(r,l){if(r===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&l==="foreignObject"?0:r}function nu(r,l){return r==="textarea"||r==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Xs=null;function _p(){var r=window.event;return r&&r.type==="popstate"?r===Xs?!1:(Xs=r,!0):(Xs=null,!1)}var Zs=typeof setTimeout=="function"?setTimeout:void 0,Dg=typeof clearTimeout=="function"?clearTimeout:void 0,Mv=typeof Promise=="function"?Promise:void 0,bb=typeof queueMicrotask=="function"?queueMicrotask:typeof Mv<"u"?function(r){return Mv.resolve(null).then(r).catch(Ov)}:Zs;function Ov(r){setTimeout(function(){throw r})}function ha(r){return r==="head"}function zp(r,l){var c=l,p=0,x=0;do{var E=c.nextSibling;if(r.removeChild(c),E&&E.nodeType===8)if(c=E.data,c==="/$"){if(0<p&&8>p){c=p;var z=r.ownerDocument;if(c&1&&Xe(z.documentElement),c&2&&Xe(z.body),c&4)for(c=z.head,Xe(c),z=c.firstChild;z;){var j=z.nextSibling,Q=z.nodeName;z[yd]||Q==="SCRIPT"||Q==="STYLE"||Q==="LINK"&&z.rel.toLowerCase()==="stylesheet"||c.removeChild(z),z=j}}if(x===0){r.removeChild(E),Qf(l);return}x--}else c==="$"||c==="$?"||c==="$!"?x++:p=c.charCodeAt(0)-48;else p=0;c=E}while(c);Qf(l)}function Mh(r){var l=r.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var c=l;switch(l=l.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":Mh(c),at(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}r.removeChild(c)}}function Np(r,l,c,p){for(;r.nodeType===1;){var x=c;if(r.nodeName.toLowerCase()!==l.toLowerCase()){if(!p&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(p){if(!r[yd])switch(l){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(E=r.getAttribute("rel"),E==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(E!==x.rel||r.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||r.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||r.getAttribute("title")!==(x.title==null?null:x.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(E=r.getAttribute("src"),(E!==(x.src==null?null:x.src)||r.getAttribute("type")!==(x.type==null?null:x.type)||r.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&E&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(l==="input"&&r.type==="hidden"){var E=x.name==null?null:""+x.name;if(x.type==="hidden"&&r.getAttribute("name")===E)return r}else return r;if(r=As(r.nextSibling),r===null)break}return null}function Ko(r,l,c){if(l==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!c||(r=As(r.nextSibling),r===null))return null;return r}function Ni(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function au(r,l){var c=r.ownerDocument;if(r.data!=="$?"||c.readyState==="complete")l();else{var p=function(){l(),c.removeEventListener("DOMContentLoaded",p)};c.addEventListener("DOMContentLoaded",p),r._reactRetry=p}}function As(r){for(;r!=null;r=r.nextSibling){var l=r.nodeType;if(l===1||l===3)break;if(l===8){if(l=r.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return r}var Mg=null;function rc(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var c=r.data;if(c==="$"||c==="$!"||c==="$?"){if(l===0)return r;l--}else c==="/$"&&l++}r=r.previousSibling}return null}function ri(r,l,c){switch(l=Qo(c),r){case"html":if(r=l.documentElement,!r)throw Error(o(452));return r;case"head":if(r=l.head,!r)throw Error(o(453));return r;case"body":if(r=l.body,!r)throw Error(o(454));return r;default:throw Error(o(451))}}function Xe(r){for(var l=r.attributes;l.length;)r.removeAttributeNode(l[0]);at(r)}var aa=new Map,xa=new Set;function lt(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Qs=W.d;W.d={f:Qr,r:Oh,D:Ks,C:Is,L:sc,m:iu,X:ir,S:gi,M:ru};function Qr(){var r=Qs.f(),l=vh();return r||l}function Oh(r){var l=Ia(r);l!==null&&l.tag===5&&l.type==="form"?op(l):Qs.r(r)}var Io=typeof document>"u"?null:document;function _t(r,l,c){var p=Io;if(p&&typeof l=="string"&&l){var x=Vr(l);x='link[rel="'+r+'"][href="'+x+'"]',typeof c=="string"&&(x+='[crossorigin="'+c+'"]'),xa.has(x)||(xa.add(x),r={rel:r,crossOrigin:c,href:l},p.querySelector(x)===null&&(l=p.createElement("link"),pe(l,"link",r),oa(l),p.head.appendChild(l)))}}function Ks(r){Qs.D(r),_t("dns-prefetch",r,null)}function Is(r,l){Qs.C(r,l),_t("preconnect",r,l)}function sc(r,l,c){Qs.L(r,l,c);var p=Io;if(p&&r&&l){var x='link[rel="preload"][as="'+Vr(l)+'"]';l==="image"&&c&&c.imageSrcSet?(x+='[imagesrcset="'+Vr(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(x+='[imagesizes="'+Vr(c.imageSizes)+'"]')):x+='[href="'+Vr(r)+'"]';var E=x;switch(l){case"style":E=Ff(r);break;case"script":E=oc(r)}aa.has(E)||(r=w({rel:"preload",href:l==="image"&&c&&c.imageSrcSet?void 0:r,as:l},c),aa.set(E,r),p.querySelector(x)!==null||l==="style"&&p.querySelector(Rh(E))||l==="script"&&p.querySelector(ws(E))||(l=p.createElement("link"),pe(l,"link",r),oa(l),p.head.appendChild(l)))}}function iu(r,l){Qs.m(r,l);var c=Io;if(c&&r){var p=l&&typeof l.as=="string"?l.as:"script",x='link[rel="modulepreload"][as="'+Vr(p)+'"][href="'+Vr(r)+'"]',E=x;switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":E=oc(r)}if(!aa.has(E)&&(r=w({rel:"modulepreload",href:r},l),aa.set(E,r),c.querySelector(x)===null)){switch(p){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(ws(E)))return}p=c.createElement("link"),pe(p,"link",r),oa(p),c.head.appendChild(p)}}}function gi(r,l,c){Qs.S(r,l,c);var p=Io;if(p&&r){var x=$c(p).hoistableStyles,E=Ff(r);l=l||"default";var z=x.get(E);if(!z){var j={loading:0,preload:null};if(z=p.querySelector(Rh(E)))j.loading=5;else{r=w({rel:"stylesheet",href:r,"data-precedence":l},c),(c=aa.get(E))&&zh(r,c);var Q=z=p.createElement("link");oa(Q),pe(Q,"link",r),Q._p=new Promise(function(ue,Oe){Q.onload=ue,Q.onerror=Oe}),Q.addEventListener("load",function(){j.loading|=1}),Q.addEventListener("error",function(){j.loading|=2}),j.loading|=4,Lp(z,l,p)}z={type:"stylesheet",instance:z,count:1,state:j},x.set(E,z)}}}function ir(r,l){Qs.X(r,l);var c=Io;if(c&&r){var p=$c(c).hoistableScripts,x=oc(r),E=p.get(x);E||(E=c.querySelector(ws(x)),E||(r=w({src:r,async:!0},l),(l=aa.get(x))&&jp(r,l),E=c.createElement("script"),oa(E),pe(E,"link",r),c.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},p.set(x,E))}}function ru(r,l){Qs.M(r,l);var c=Io;if(c&&r){var p=$c(c).hoistableScripts,x=oc(r),E=p.get(x);E||(E=c.querySelector(ws(x)),E||(r=w({src:r,async:!0,type:"module"},l),(l=aa.get(x))&&jp(r,l),E=c.createElement("script"),oa(E),pe(E,"link",r),c.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},p.set(x,E))}}function Vp(r,l,c,p){var x=(x=qe.current)?lt(x):null;if(!x)throw Error(o(446));switch(r){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(l=Ff(c.href),c=$c(x).hoistableStyles,p=c.get(l),p||(p={type:"style",instance:null,count:0,state:null},c.set(l,p)),p):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){r=Ff(c.href);var E=$c(x).hoistableStyles,z=E.get(r);if(z||(x=x.ownerDocument||x,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},E.set(r,z),(E=x.querySelector(Rh(r)))&&!E._p&&(z.instance=E,z.state.loading=5),aa.has(r)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},aa.set(r,c),E||_h(x,r,c,z.state))),l&&p===null)throw Error(o(528,""));return z}if(l&&p!==null)throw Error(o(529,""));return null;case"script":return l=c.async,c=c.src,typeof c=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=oc(c),c=$c(x).hoistableScripts,p=c.get(l),p||(p={type:"script",instance:null,count:0,state:null},c.set(l,p)),p):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,r))}}function Ff(r){return'href="'+Vr(r)+'"'}function Rh(r){return'link[rel="stylesheet"]['+r+"]"}function Og(r){return w({},r,{"data-precedence":r.precedence,precedence:null})}function _h(r,l,c,p){r.querySelector('link[rel="preload"][as="style"]['+l+"]")?p.loading=1:(l=r.createElement("link"),p.preload=l,l.addEventListener("load",function(){return p.loading|=1}),l.addEventListener("error",function(){return p.loading|=2}),pe(l,"link",c),oa(l),r.head.appendChild(l))}function oc(r){return'[src="'+Vr(r)+'"]'}function ws(r){return"script[async]"+r}function Up(r,l,c){if(l.count++,l.instance===null)switch(l.type){case"style":var p=r.querySelector('style[data-href~="'+Vr(c.href)+'"]');if(p)return l.instance=p,oa(p),p;var x=w({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return p=(r.ownerDocument||r).createElement("style"),oa(p),pe(p,"style",x),Lp(p,c.precedence,r),l.instance=p;case"stylesheet":x=Ff(c.href);var E=r.querySelector(Rh(x));if(E)return l.state.loading|=4,l.instance=E,oa(E),E;p=Og(c),(x=aa.get(x))&&zh(p,x),E=(r.ownerDocument||r).createElement("link"),oa(E);var z=E;return z._p=new Promise(function(j,Q){z.onload=j,z.onerror=Q}),pe(E,"link",p),l.state.loading|=4,Lp(E,c.precedence,r),l.instance=E;case"script":return E=oc(c.src),(x=r.querySelector(ws(E)))?(l.instance=x,oa(x),x):(p=c,(x=aa.get(E))&&(p=w({},c),jp(p,x)),r=r.ownerDocument||r,x=r.createElement("script"),oa(x),pe(x,"link",p),r.head.appendChild(x),l.instance=x);case"void":return null;default:throw Error(o(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(p=l.instance,l.state.loading|=4,Lp(p,c.precedence,r));return l.instance}function Lp(r,l,c){for(var p=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=p.length?p[p.length-1]:null,E=x,z=0;z<p.length;z++){var j=p[z];if(j.dataset.precedence===l)E=j;else if(E!==x)break}E?E.parentNode.insertBefore(r,E.nextSibling):(l=c.nodeType===9?c.head:c,l.insertBefore(r,l.firstChild))}function zh(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.title==null&&(r.title=l.title)}function jp(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.integrity==null&&(r.integrity=l.integrity)}var lc=null;function Xf(r,l,c){if(lc===null){var p=new Map,x=lc=new Map;x.set(c,p)}else x=lc,p=x.get(c),p||(p=new Map,x.set(c,p));if(p.has(r))return p;for(p.set(r,null),c=c.getElementsByTagName(r),x=0;x<c.length;x++){var E=c[x];if(!(E[yd]||E[yn]||r==="link"&&E.getAttribute("rel")==="stylesheet")&&E.namespaceURI!=="http://www.w3.org/2000/svg"){var z=E.getAttribute(l)||"";z=r+z;var j=p.get(z);j?j.push(E):p.set(z,[E])}}return p}function Rg(r,l,c){r=r.ownerDocument||r,r.head.insertBefore(c,l==="title"?r.querySelector("head > title"):null)}function Rv(r,l,c){if(c===1||l.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return r=l.disabled,typeof l.precedence=="string"&&r==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Sa(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Va=null;function _v(){}function zv(r,l,c){if(Va===null)throw Error(o(475));var p=Va;if(l.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var x=Ff(c.href),E=r.querySelector(Rh(x));if(E){r=E._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(p.count++,p=uc.bind(p),r.then(p,p)),l.state.loading|=4,l.instance=E,oa(E);return}E=r.ownerDocument||r,c=Og(c),(x=aa.get(x))&&zh(c,x),E=E.createElement("link"),oa(E);var z=E;z._p=new Promise(function(j,Q){z.onload=j,z.onerror=Q}),pe(E,"link",c),l.instance=E}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(l,r),(r=l.state.preload)&&(l.state.loading&3)===0&&(p.count++,l=uc.bind(p),r.addEventListener("load",l),r.addEventListener("error",l))}}function Nv(){if(Va===null)throw Error(o(475));var r=Va;return r.stylesheets&&r.count===0&&Vh(r,r.stylesheets),0<r.count?function(l){var c=setTimeout(function(){if(r.stylesheets&&Vh(r,r.stylesheets),r.unsuspend){var p=r.unsuspend;r.unsuspend=null,p()}},6e4);return r.unsuspend=l,function(){r.unsuspend=null,clearTimeout(c)}}:null}function uc(){if(this.count--,this.count===0){if(this.stylesheets)Vh(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Nh=null;function Vh(r,l){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Nh=new Map,l.forEach(_g,r),Nh=null,uc.call(r))}function _g(r,l){if(!(l.state.loading&4)){var c=Nh.get(r);if(c)var p=c.get(null);else{c=new Map,Nh.set(r,c);for(var x=r.querySelectorAll("link[data-precedence],style[data-precedence]"),E=0;E<x.length;E++){var z=x[E];(z.nodeName==="LINK"||z.getAttribute("media")!=="not all")&&(c.set(z.dataset.precedence,z),p=z)}p&&c.set(null,p)}x=l.instance,z=x.getAttribute("data-precedence"),E=c.get(z)||p,E===p&&c.set(null,x),c.set(z,x),this.count++,p=uc.bind(this),x.addEventListener("load",p),x.addEventListener("error",p),E?E.parentNode.insertBefore(x,E.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(x,r.firstChild)),l.state.loading|=4}}var qa={$$typeof:F,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function Ws(r,l,c,p,x,E,z,j){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=fo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fo(0),this.hiddenUpdates=fo(null),this.identifierPrefix=p,this.onUncaughtError=x,this.onCaughtError=E,this.onRecoverableError=z,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function Vv(r,l,c,p,x,E,z,j,Q,ue,Oe,Ne){return r=new Ws(r,l,c,z,j,Q,ue,Ne),l=1,E===!0&&(l|=24),E=Ei(3,null,null,l),r.current=E,E.stateNode=r,l=G0(),l.refCount++,r.pooledCache=l,l.refCount++,E.memoizedState={element:p,isDehydrated:c,cache:l},Mo(E),r}function zg(r){return r?(r=Tl,r):Tl}function Bp(r,l,c,p,x,E){x=zg(x),p.context===null?p.context=x:p.pendingContext=x,p=Oo(l),p.payload={element:c},E=E===void 0?null:E,E!==null&&(p.callback=E),c=Mi(r,p,l),c!==null&&(ar(c,r,l),$u(c,r,l))}function $p(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var c=r.retryLane;r.retryLane=c!==0&&c<l?c:l}}function Hp(r,l){$p(r,l),(r=r.alternate)&&$p(r,l)}function Ng(r){if(r.tag===13){var l=Ls(r,67108864);l!==null&&ar(l,r,67108864),Hp(r,67108864)}}var Uh=!0;function Uv(r,l,c,p){var x=re.T;re.T=null;var E=W.p;try{W.p=2,kp(r,l,c,p)}finally{W.p=E,re.T=x}}function cc(r,l,c,p){var x=re.T;re.T=null;var E=W.p;try{W.p=8,kp(r,l,c,p)}finally{W.p=E,re.T=x}}function kp(r,l,c,p){if(Uh){var x=Vg(p);if(x===null)Ss(r,l,p,Lh,c),Lg(r,p);else if(jg(x,r,l,c,p))p.stopPropagation();else if(Lg(r,p),l&4&&-1<xb.indexOf(r)){for(;x!==null;){var E=Ia(x);if(E!==null)switch(E.tag){case 3:if(E=E.stateNode,E.current.memoizedState.isDehydrated){var z=Bi(E.pendingLanes);if(z!==0){var j=E;for(j.pendingLanes|=2,j.entangledLanes|=2;z;){var Q=1<<31-li(z);j.entanglements[1]|=Q,z&=~Q}xs(E),(mn&6)===0&&(Uf=Yn()+500,Xo(0))}}break;case 13:j=Ls(E,2),j!==null&&ar(j,E,2),vh(),Hp(E,2)}if(E=Vg(p),E===null&&Ss(r,l,p,Lh,c),E===x)break;x=E}x!==null&&p.stopPropagation()}else Ss(r,l,p,null,c)}}function Vg(r){return r=Ou(r),Ug(r)}var Lh=null;function Ug(r){if(Lh=null,r=dl(r),r!==null){var l=h(r);if(l===null)r=null;else{var c=l.tag;if(c===13){if(r=g(l),r!==null)return r;r=null}else if(c===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null)}}return Lh=r,null}function Lv(r){switch(r){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(fd()){case zc:return 2;case Nc:return 8;case bi:case Vc:return 32;case Su:return 268435456;default:return 32}default:return 32}}var jh=!1,Kr=null,Js=null,Wo=null,Zf=new Map,Bh=new Map,su=[],xb="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".split(" ");function Lg(r,l){switch(r){case"focusin":case"focusout":Kr=null;break;case"dragenter":case"dragleave":Js=null;break;case"mouseover":case"mouseout":Wo=null;break;case"pointerover":case"pointerout":Zf.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bh.delete(l.pointerId)}}function eo(r,l,c,p,x,E){return r===null||r.nativeEvent!==E?(r={blockedOn:l,domEventName:c,eventSystemFlags:p,nativeEvent:E,targetContainers:[x]},l!==null&&(l=Ia(l),l!==null&&Ng(l)),r):(r.eventSystemFlags|=p,l=r.targetContainers,x!==null&&l.indexOf(x)===-1&&l.push(x),r)}function jg(r,l,c,p,x){switch(l){case"focusin":return Kr=eo(Kr,r,l,c,p,x),!0;case"dragenter":return Js=eo(Js,r,l,c,p,x),!0;case"mouseover":return Wo=eo(Wo,r,l,c,p,x),!0;case"pointerover":var E=x.pointerId;return Zf.set(E,eo(Zf.get(E)||null,r,l,c,p,x)),!0;case"gotpointercapture":return E=x.pointerId,Bh.set(E,eo(Bh.get(E)||null,r,l,c,p,x)),!0}return!1}function Bg(r){var l=dl(r.target);if(l!==null){var c=h(l);if(c!==null){if(l=c.tag,l===13){if(l=g(c),l!==null){r.blockedOn=l,hb(r.priority,function(){if(c.tag===13){var p=pi();p=Bc(p);var x=Ls(c,p);x!==null&&ar(x,c,p),Hp(c,p)}});return}}else if(l===3&&c.stateNode.current.memoizedState.isDehydrated){r.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}r.blockedOn=null}function $h(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var c=Vg(r.nativeEvent);if(c===null){c=r.nativeEvent;var p=new c.constructor(c.type,c);Ad=p,c.target.dispatchEvent(p),Ad=null}else return l=Ia(c),l!==null&&Ng(l),r.blockedOn=c,!1;l.shift()}return!0}function $g(r,l,c){$h(r)&&c.delete(l)}function Pp(){jh=!1,Kr!==null&&$h(Kr)&&(Kr=null),Js!==null&&$h(Js)&&(Js=null),Wo!==null&&$h(Wo)&&(Wo=null),Zf.forEach($g),Bh.forEach($g)}function Jo(r,l){r.blockedOn===l&&(r.blockedOn=null,jh||(jh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Pp)))}var Yp=null;function Hh(r){Yp!==r&&(Yp=r,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Yp===r&&(Yp=null);for(var l=0;l<r.length;l+=3){var c=r[l],p=r[l+1],x=r[l+2];if(typeof p!="function"){if(Ug(p||c)===null)continue;break}var E=Ia(c);E!==null&&(r.splice(l,3),l-=3,Id(E,{pending:!0,data:x,method:c.method,action:p},p,x))}}))}function Qf(r){function l(Q){return Jo(Q,r)}Kr!==null&&Jo(Kr,r),Js!==null&&Jo(Js,r),Wo!==null&&Jo(Wo,r),Zf.forEach(l),Bh.forEach(l);for(var c=0;c<su.length;c++){var p=su[c];p.blockedOn===r&&(p.blockedOn=null)}for(;0<su.length&&(c=su[0],c.blockedOn===null);)Bg(c),c.blockedOn===null&&su.shift();if(c=(r.ownerDocument||r).$$reactFormReplay,c!=null)for(p=0;p<c.length;p+=3){var x=c[p],E=c[p+1],z=x[ui]||null;if(typeof E=="function")z||Hh(c);else if(z){var j=null;if(E&&E.hasAttribute("formAction")){if(x=E,z=E[ui]||null)j=z.formAction;else if(Ug(x)!==null)continue}else j=z.action;typeof j=="function"?c[p+1]=j:(c.splice(p,3),p-=3),Hh(c)}}}function ou(r){this._internalRoot=r}qp.prototype.render=ou.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(o(409));var c=l.current,p=pi();Bp(c,p,r,l,null,null)},qp.prototype.unmount=ou.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;Bp(r.current,2,null,r,null,null),vh(),l[ho]=null}};function qp(r){this._internalRoot=r}qp.prototype.unstable_scheduleHydration=function(r){if(r){var l=M0();r={blockedOn:null,target:r,priority:l};for(var c=0;c<su.length&&l!==0&&l<su[c].priority;c++);su.splice(c,0,r),c===0&&Bg(r)}};var jv=n.version;if(jv!=="19.1.0")throw Error(o(527,jv,"19.1.0"));W.findDOMNode=function(r){var l=r._reactInternals;if(l===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=S(l),r=r!==null?A(r):null,r=r===null?null:r.stateNode,r};var Bv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:re,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ga.isDisabled&&Ga.supportsFiber)try{Uc=Ga.inject(Bv),La=Ga}catch{}}return cb.createRoot=function(r,l){if(!u(r))throw Error(o(299));var c=!1,p="",x=cp,E=Bl,z=rg,j=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onUncaughtError!==void 0&&(x=l.onUncaughtError),l.onCaughtError!==void 0&&(E=l.onCaughtError),l.onRecoverableError!==void 0&&(z=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(j=l.unstable_transitionCallbacks)),l=Vv(r,1,!1,null,null,c,p,x,E,z,j,null),r[ho]=l.current,Ch(r),new ou(l)},cb.hydrateRoot=function(r,l,c){if(!u(r))throw Error(o(299));var p=!1,x="",E=cp,z=Bl,j=rg,Q=null,ue=null;return c!=null&&(c.unstable_strictMode===!0&&(p=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onUncaughtError!==void 0&&(E=c.onUncaughtError),c.onCaughtError!==void 0&&(z=c.onCaughtError),c.onRecoverableError!==void 0&&(j=c.onRecoverableError),c.unstable_transitionCallbacks!==void 0&&(Q=c.unstable_transitionCallbacks),c.formState!==void 0&&(ue=c.formState)),l=Vv(r,1,!0,l,c??null,p,x,E,z,j,Q,ue),l.context=zg(null),c=l.current,p=pi(),p=Bc(p),x=Oo(p),x.callback=null,Mi(c,x,p),c=p,l.current.lanes=c,as(l,c),xs(l),r[ho]=l.current,Ch(r),new qp(l)},cb.version="19.1.0",cb}var fb={},g8;function bF(){if(g8)return fb;g8=1;var t={};/**
|
|
720
|
+
* @license React
|
|
721
|
+
* react-dom-client.development.js
|
|
722
|
+
*
|
|
723
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
724
|
+
*
|
|
725
|
+
* This source code is licensed under the MIT license found in the
|
|
726
|
+
* LICENSE file in the root directory of this source tree.
|
|
727
|
+
*/return t.NODE_ENV!=="production"&&function(){function n(e,a){for(e=e.memoizedState;e!==null&&0<a;)e=e.next,a--;return e}function i(e,a,s,d){if(s>=a.length)return d;var y=a[s],b=Na(e)?e.slice():Et({},e);return b[y]=i(e[y],a,s+1,d),b}function o(e,a,s){if(a.length!==s.length)console.warn("copyWithRename() expects paths of the same length");else{for(var d=0;d<s.length-1;d++)if(a[d]!==s[d]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,a,s,0)}}function u(e,a,s,d){var y=a[d],b=Na(e)?e.slice():Et({},e);return d+1===a.length?(b[s[d]]=b[y],Na(b)?b.splice(y,1):delete b[y]):b[y]=u(e[y],a,s,d+1),b}function h(e,a,s){var d=a[s],y=Na(e)?e.slice():Et({},e);return s+1===a.length?(Na(y)?y.splice(d,1):delete y[d],y):(y[d]=h(e[d],a,s+1),y)}function g(){return!1}function v(){return null}function S(){}function A(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function w(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function C(){}function M(e){var a=[];return e.forEach(function(s){a.push(s)}),a.sort().join(", ")}function R(e,a,s,d){return new iv(e,a,s,d)}function V(e,a){e.context===Gp&&(Th(e.current,2,a,e,null,null),qs())}function L(e,a){if(uu!==null){var s=a.staleFamilies;a=a.updatedFamilies,kl(),gl(e.current,a,s),qs()}}function P(e){uu=e}function U(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function q(e){var a=e,s=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(s=a.return),e=a.return;while(e)}return a.tag===3?s:null}function F(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function ae(e){if(q(e)!==e)throw Error("Unable to find node on an unmounted component.")}function H(e){var a=e.alternate;if(!a){if(a=q(e),a===null)throw Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var s=e,d=a;;){var y=s.return;if(y===null)break;var b=y.alternate;if(b===null){if(d=y.return,d!==null){s=d;continue}break}if(y.child===b.child){for(b=y.child;b;){if(b===s)return ae(y),e;if(b===d)return ae(y),a;b=b.sibling}throw Error("Unable to find node on an unmounted component.")}if(s.return!==d.return)s=y,d=b;else{for(var D=!1,_=y.child;_;){if(_===s){D=!0,s=y,d=b;break}if(_===d){D=!0,d=y,s=b;break}_=_.sibling}if(!D){for(_=b.child;_;){if(_===s){D=!0,s=b,d=y;break}if(_===d){D=!0,d=b,s=y;break}_=_.sibling}if(!D)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(s.alternate!==d)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(s.tag!==3)throw Error("Unable to find node on an unmounted component.");return s.stateNode.current===s?e:a}function le(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=le(e),a!==null)return a;e=e.sibling}return null}function be(e){return e===null||typeof e!="object"?null:(e=Dh&&e[Dh]||e["@@iterator"],typeof e=="function"?e:null)}function de(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Cn?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case eu:return"Fragment";case Ch:return"Profiler";case ii:return"StrictMode";case da:return"Suspense";case Gn:return"SuspenseList";case Rp:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Rt:return"Portal";case ft:return(e.displayName||"Context")+".Provider";case Ss:return(e._context.displayName||"Context")+".Consumer";case tu:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Op:return a=e.displayName||null,a!==null?a:de(e.type)||"Memo";case ba:a=e._payload,e=e._init;try{return de(e(a))}catch{}}return null}function Ue(e){return typeof e.tag=="number"?De(e):typeof e.name=="string"?e.name:null}function De(e){var a=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=a.render,e=e.displayName||e.name||"",a.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(a);case 8:return a===ii?"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 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=e._debugInfo,a!=null){for(var s=a.length-1;0<=s;s--)if(typeof a[s].name=="string")return a[s].name}if(e.return!==null)return De(e.return)}return null}function $e(e){return{current:e}}function ke(e,a){0>on?console.error("Unexpected pop."):(a!==Qo[on]&&console.error("Unexpected Fiber popped."),e.current=Gf[on],Gf[on]=null,Qo[on]=null,on--)}function We(e,a,s){on++,Gf[on]=e.current,Qo[on]=s,e.current=a}function et(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ge(e,a){We(Xs,a,e),We(nu,e,e),We(pn,null,e);var s=a.nodeType;switch(s){case 9:case 11:s=s===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?tr(a):Qh;break;default:if(s=a.tagName,a=a.namespaceURI)a=tr(a),a=Yo(a,s);else switch(s){case"svg":a=u1;break;case"math":a=aT;break;default:a=Qh}}s=s.toLowerCase(),s=Sd(null,s),s={context:a,ancestorInfo:s},ke(pn,e),We(pn,s,e)}function re(e){ke(pn,e),ke(nu,e),ke(Xs,e)}function W(){return et(pn.current)}function ce(e){e.memoizedState!==null&&We(_p,e,e);var a=et(pn.current),s=e.type,d=Yo(a.context,s);s=Sd(a.ancestorInfo,s),d={context:d,ancestorInfo:s},a!==d&&(We(nu,e,e),We(pn,d,e))}function Ae(e){nu.current===e&&(ke(pn,e),ke(nu,e)),_p.current===e&&(ke(_p,e),Wb._currentValue=iy)}function Be(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return xe(e),!1}catch{return!0}}function xe(e){return""+e}function Me(e,a){if(X(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,Be(e)),xe(e)}function Ye(e,a){if(X(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,Be(e)),xe(e)}function ze(e){if(X(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Be(e)),xe(e)}function qe(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{rc=a.inject(e),ri=a}catch(s){console.error("React instrumentation encountered an error: %s.",s)}return!!a.checkDCE}function Pe(e){if(typeof As=="function"&&Mg(e),ri&&typeof ri.setStrictMode=="function")try{ri.setStrictMode(rc,e)}catch(a){aa||(aa=!0,console.error("React instrumentation encountered an error: %s",a))}}function ot(e){Xe=e}function Je(){Xe!==null&&typeof Xe.markCommitStopped=="function"&&Xe.markCommitStopped()}function Tt(e){Xe!==null&&typeof Xe.markComponentRenderStarted=="function"&&Xe.markComponentRenderStarted(e)}function pt(){Xe!==null&&typeof Xe.markComponentRenderStopped=="function"&&Xe.markComponentRenderStopped()}function zn(e){Xe!==null&&typeof Xe.markRenderStarted=="function"&&Xe.markRenderStarted(e)}function Ze(){Xe!==null&&typeof Xe.markRenderStopped=="function"&&Xe.markRenderStopped()}function dn(e,a){Xe!==null&&typeof Xe.markStateUpdateScheduled=="function"&&Xe.markStateUpdateScheduled(e,a)}function Rr(e){return e>>>=0,e===0?32:31-(Qs(e)/Qr|0)|0}function vm(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Yn(e){var a=e&42;if(a!==0)return a;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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function fd(e,a,s){var d=e.pendingLanes;if(d===0)return 0;var y=0,b=e.suspendedLanes,D=e.pingedLanes;e=e.warmLanes;var _=d&134217727;return _!==0?(d=_&~b,d!==0?y=Yn(d):(D&=_,D!==0?y=Yn(D):s||(s=_&~e,s!==0&&(y=Yn(s))))):(_=d&~b,_!==0?y=Yn(_):D!==0?y=Yn(D):s||(s=d&~e,s!==0&&(y=Yn(s)))),y===0?0:a!==0&&a!==y&&(a&b)===0&&(b=y&-y,s=a&-a,b>=s||b===32&&(s&4194048)!==0)?a:y}function zc(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Nc(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32: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 a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function bi(){var e=Oh;return Oh<<=1,(Oh&4194048)===0&&(Oh=256),e}function Vc(){var e=Io;return Io<<=1,(Io&62914560)===0&&(Io=4194304),e}function Su(e){for(var a=[],s=0;31>s;s++)a.push(e);return a}function dd(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function hd(e,a,s,d,y,b){var D=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var _=e.entanglements,$=e.expirationTimes,G=e.hiddenUpdates;for(s=D&~s;0<s;){var ye=31-lt(s),Te=1<<ye;_[ye]=0,$[ye]=-1;var ge=G[ye];if(ge!==null)for(G[ye]=null,ye=0;ye<ge.length;ye++){var Ee=ge[ye];Ee!==null&&(Ee.lane&=-536870913)}s&=~Te}d!==0&&Uc(e,d,0),b!==0&&y===0&&e.tag!==0&&(e.suspendedLanes|=b&~(D&~a))}function Uc(e,a,s){e.pendingLanes|=a,e.suspendedLanes&=~a;var d=31-lt(a);e.entangledLanes|=a,e.entanglements[d]=e.entanglements[d]|1073741824|s&4194090}function La(e,a){var s=e.entangledLanes|=a;for(e=e.entanglements;s;){var d=31-lt(s),y=1<<d;y&a|e[d]&a&&(e[d]|=a),s&=~y}}function xi(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function li(e,a,s){if(xa)for(e=e.pendingUpdatersLaneMap;0<s;){var d=31-lt(s),y=1<<d;e[d].add(a),s&=~y}}function bm(e,a){if(xa)for(var s=e.pendingUpdatersLaneMap,d=e.memoizedUpdaters;0<a;){var y=31-lt(a);e=1<<y,y=s[y],0<y.size&&(y.forEach(function(b){var D=b.alternate;D!==null&&d.has(D)||d.add(b)}),y.clear()),a&=~e}}function md(e){return e&=-e,_t<e?Ks<e?(e&134217727)!==0?Is:sc:Ks:_t}function xm(){var e=cn.p;return e!==0?e:(e=window.event,e===void 0?Is:Fo(e.type))}function Lc(e,a){var s=cn.p;try{return cn.p=e,a()}finally{cn.p=s}}function ul(e){delete e[gi],delete e[ir],delete e[Vp],delete e[Ff],delete e[Rh]}function Bi(e){var a=e[gi];if(a)return a;for(var s=e.parentNode;s;){if(a=s[ru]||s[gi]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(e=vp(e);e!==null;){if(s=e[gi])return s;e=vp(e)}return a}e=s,s=e.parentNode}return null}function _r(e){if(e=e[gi]||e[ru]){var a=e.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return e}return null}function ns(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function jc(e){var a=e[Og];return a||(a=e[Og]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Da(e){e[_h]=!0}function cl(e,a){fo(e,a),fo(e+"Capture",a)}function fo(e,a){ws[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ws[e]=a;var s=e.toLowerCase();for(Up[s]=e,e==="onDoubleClick"&&(Up.ondblclick=e),e=0;e<a.length;e++)oc.add(a[e])}function as(e,a){Lp[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function C0(e){return Zs.call(lc,e)?!0:Zs.call(jp,e)?!1:zh.test(e)?lc[e]=!0:(jp[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function D0(e,a,s){if(C0(a)){if(!e.hasAttribute(a)){switch(typeof s){case"symbol":case"object":return s;case"function":return s;case"boolean":if(s===!1)return s}return s===void 0?void 0:null}return e=e.getAttribute(a),e===""&&s===!0?!0:(Me(s,a),e===""+s?s:e)}}function pd(e,a,s){if(C0(a))if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var d=a.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){e.removeAttribute(a);return}}Me(s,a),e.setAttribute(a,""+s)}}function Bc(e,a,s){if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Me(s,a),e.setAttribute(a,""+s)}}function zr(e,a,s,d){if(d===null)e.removeAttribute(s);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}Me(d,s),e.setAttributeNS(a,s,""+d)}}function M0(){}function hb(){if(Xf===0){Rg=console.log,Rv=console.info,Sa=console.warn,Va=console.error,_v=console.group,zv=console.groupCollapsed,Nv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:M0,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Xf++}function fl(){if(Xf--,Xf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Et({},e,{value:Rg}),info:Et({},e,{value:Rv}),warn:Et({},e,{value:Sa}),error:Et({},e,{value:Va}),group:Et({},e,{value:_v}),groupCollapsed:Et({},e,{value:zv}),groupEnd:Et({},e,{value:Nv})})}0>Xf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function yn(e){if(uc===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);uc=a&&a[1]||"",Nh=-1<s.stack.indexOf(`
|
|
728
|
+
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
729
|
+
`+uc+e+Nh}function ui(e,a){if(!e||Vh)return"";var s=_g.get(e);if(s!==void 0)return s;Vh=!0,s=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=pe.H,pe.H=null,hb();try{var y={DetermineComponentFrameRoot:function(){try{if(a){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(it){var Ee=it}Reflect.construct(e,[],ge)}else{try{ge.call()}catch(it){Ee=it}e.call(ge.prototype)}}else{try{throw Error()}catch(it){Ee=it}(ge=e())&&typeof ge.catch=="function"&&ge.catch(function(){})}}catch(it){if(it&&Ee&&typeof it.stack=="string")return[it.stack,Ee.stack]}return[null,null]}};y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(y.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var D=y.DetermineComponentFrameRoot(),_=D[0],$=D[1];if(_&&$){var G=_.split(`
|
|
730
|
+
`),ye=$.split(`
|
|
731
|
+
`);for(D=b=0;b<G.length&&!G[b].includes("DetermineComponentFrameRoot");)b++;for(;D<ye.length&&!ye[D].includes("DetermineComponentFrameRoot");)D++;if(b===G.length||D===ye.length)for(b=G.length-1,D=ye.length-1;1<=b&&0<=D&&G[b]!==ye[D];)D--;for(;1<=b&&0<=D;b--,D--)if(G[b]!==ye[D]){if(b!==1||D!==1)do if(b--,D--,0>D||G[b]!==ye[D]){var Te=`
|
|
732
|
+
`+G[b].replace(" at new "," at ");return e.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",e.displayName)),typeof e=="function"&&_g.set(e,Te),Te}while(1<=b&&0<=D);break}}}finally{Vh=!1,pe.H=d,fl(),Error.prepareStackTrace=s}return G=(G=e?e.displayName||e.name:"")?yn(G):"",typeof e=="function"&&_g.set(e,G),G}function ho(e){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=a,e.startsWith(`Error: react-stack-top-frame
|
|
733
|
+
`)&&(e=e.slice(29)),a=e.indexOf(`
|
|
734
|
+
`),a!==-1&&(e=e.slice(a+1)),a=e.indexOf("react-stack-bottom-frame"),a!==-1&&(a=e.lastIndexOf(`
|
|
735
|
+
`,a)),a!==-1)e=e.slice(0,a);else return"";return e}function O0(e){switch(e.tag){case 26:case 27:case 5:return yn(e.type);case 16:return yn("Lazy");case 13:return yn("Suspense");case 19:return yn("SuspenseList");case 0:case 15:return ui(e.type,!1);case 11:return ui(e.type.render,!1);case 1:return ui(e.type,!0);case 31:return yn("Activity");default:return""}}function Gy(e){try{var a="";do{a+=O0(e);var s=e._debugInfo;if(s)for(var d=s.length-1;0<=d;d--){var y=s[d];if(typeof y.name=="string"){var b=a,D=y.env,_=yn(y.name+(D?" ["+D+"]":""));a=b+_}}e=e.return}while(e);return a}catch($){return`
|
|
736
|
+
Error generating stack: `+$.message+`
|
|
737
|
+
`+$.stack}}function Fy(e){return(e=e?e.displayName||e.name:"")?yn(e):""}function gd(){if(qa===null)return null;var e=qa._debugOwner;return e!=null?Ue(e):null}function yd(){if(qa===null)return"";var e=qa;try{var a="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:a+=yn(e.type);break;case 13:a+=yn("Suspense");break;case 19:a+=yn("SuspenseList");break;case 31:a+=yn("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||a!==""||(a+=Fy(e.type));break;case 11:e._debugOwner||a!==""||(a+=Fy(e.type.render))}for(;e;)if(typeof e.tag=="number"){var s=e;e=s._debugOwner;var d=s._debugStack;e&&d&&(typeof d!="string"&&(s._debugStack=d=ho(d)),d!==""&&(a+=`
|
|
738
|
+
`+d))}else if(e.debugStack!=null){var y=e.debugStack;(e=e.owner)&&y&&(a+=`
|
|
739
|
+
`+ho(y))}else break;var b=a}catch(D){b=`
|
|
740
|
+
Error generating stack: `+D.message+`
|
|
741
|
+
`+D.stack}return b}function at(e,a,s,d,y,b,D){var _=qa;dl(e);try{return e!==null&&e._debugTask?e._debugTask.run(a.bind(null,s,d,y,b,D)):a(s,d,y,b,D)}finally{dl(_)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function dl(e){pe.getCurrentStack=e===null?null:yd,Ws=!1,qa=e}function Ia(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ze(e),e;default:return""}}function Tu(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function $c(e){var a=Tu(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);ze(e[a]);var d=""+e[a];if(!e.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var y=s.get,b=s.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return y.call(this)},set:function(D){ze(D),d=""+D,b.call(this,D)}}),Object.defineProperty(e,a,{enumerable:s.enumerable}),{getValue:function(){return d},setValue:function(D){ze(D),d=""+D},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function oa(e){e._valueTracker||(e._valueTracker=$c(e))}function R0(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var s=a.getValue(),d="";return e&&(d=Tu(e)?e.checked?"true":"false":e.value),e=d,e!==s?(a.setValue(e),!0):!1}function vd(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 ja(e){return e.replace(Vv,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Au(e,a){a.checked===void 0||a.defaultChecked===void 0||Bp||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",gd()||"A component",a.type),Bp=!0),a.value===void 0||a.defaultValue===void 0||zg||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",gd()||"A component",a.type),zg=!0)}function Hc(e,a,s,d,y,b,D,_){e.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?(Me(D,"type"),e.type=D):e.removeAttribute("type"),a!=null?D==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Ia(a)):e.value!==""+Ia(a)&&(e.value=""+Ia(a)):D!=="submit"&&D!=="reset"||e.removeAttribute("value"),a!=null?wu(e,D,Ia(a)):s!=null?wu(e,D,Ia(s)):d!=null&&e.removeAttribute("value"),y==null&&b!=null&&(e.defaultChecked=!!b),y!=null&&(e.checked=y&&typeof y!="function"&&typeof y!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?(Me(_,"name"),e.name=""+Ia(_)):e.removeAttribute("name")}function _0(e,a,s,d,y,b,D,_){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(Me(b,"type"),e.type=b),a!=null||s!=null){if(!(b!=="submit"&&b!=="reset"||a!=null))return;s=s!=null?""+Ia(s):"",a=a!=null?""+Ia(a):s,_||a===e.value||(e.value=a),e.defaultValue=a}d=d??y,d=typeof d!="function"&&typeof d!="symbol"&&!!d,e.checked=_?e.checked:!!d,e.defaultChecked=!!d,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(Me(D,"name"),e.name=D)}function wu(e,a,s){a==="number"&&vd(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function Xy(e,a){a.value==null&&(typeof a.children=="object"&&a.children!==null?Cg.Children.forEach(a.children,function(s){s==null||typeof s=="string"||typeof s=="number"||typeof s=="bigint"||Hp||(Hp=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):a.dangerouslySetInnerHTML==null||Ng||(Ng=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),a.selected==null||$p||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),$p=!0)}function bd(){var e=gd();return e?`
|
|
742
|
+
|
|
743
|
+
Check the render method of \``+e+"`.":""}function mo(e,a,s,d){if(e=e.options,a){a={};for(var y=0;y<s.length;y++)a["$"+s[y]]=!0;for(s=0;s<e.length;s++)y=a.hasOwnProperty("$"+e[s].value),e[s].selected!==y&&(e[s].selected=y),y&&d&&(e[s].defaultSelected=!0)}else{for(s=""+Ia(s),a=null,y=0;y<e.length;y++){if(e[y].value===s){e[y].selected=!0,d&&(e[y].defaultSelected=!0);return}a!==null||e[y].disabled||(a=e[y])}a!==null&&(a.selected=!0)}}function is(e,a){for(e=0;e<Uv.length;e++){var s=Uv[e];if(a[s]!=null){var d=Na(a[s]);a.multiple&&!d?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,bd()):!a.multiple&&d&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,bd())}}a.value===void 0||a.defaultValue===void 0||Uh||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),Uh=!0)}function xd(e,a){a.value===void 0||a.defaultValue===void 0||cc||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",gd()||"A component"),cc=!0),a.children!=null&&a.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Sm(e,a,s){if(a!=null&&(a=""+Ia(a),a!==e.value&&(e.value=a),s==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=s!=null?""+Ia(s):""}function Eu(e,a,s,d){if(a==null){if(d!=null){if(s!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Na(d)){if(1<d.length)throw Error("<textarea> can only have at most one child.");d=d[0]}s=d}s==null&&(s=""),a=s}s=Ia(a),e.defaultValue=s,d=e.textContent,d===s&&d!==""&&d!==null&&(e.value=d)}function Tm(e,a){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-a?Tm(e.children[0],a):e}function Si(e){return" "+" ".repeat(e)}function kc(e){return"+ "+" ".repeat(e)}function po(e){return"- "+" ".repeat(e)}function $i(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Cu(e,a){return kp.test(e)?(e=JSON.stringify(e),e.length>a-2?8>a?'{"..."}':"{"+e.slice(0,a-7)+'..."}':"{"+e+"}"):e.length>a?5>a?'{"..."}':e.slice(0,a-3)+"...":e}function Pc(e,a,s){var d=120-2*s;if(a===null)return kc(s)+Cu(e,d)+`
|
|
744
|
+
`;if(typeof a=="string"){for(var y=0;y<a.length&&y<e.length&&a.charCodeAt(y)===e.charCodeAt(y);y++);return y>d-8&&10<y&&(e="..."+e.slice(y-8),a="..."+a.slice(y-8)),kc(s)+Cu(e,d)+`
|
|
745
|
+
`+po(s)+Cu(a,d)+`
|
|
746
|
+
`}return Si(s)+Cu(e,d)+`
|
|
747
|
+
`}function Yc(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(a,s){return s})}function Du(e,a){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>a?5>a?'"..."':e.slice(0,a-4)+'..."':e;case"object":if(e===null)return"null";if(Na(e))return"[...]";if(e.$$typeof===Zo)return(a=de(e.type))?"<"+a+">":"<...>";var s=Yc(e);if(s==="Object"){s="",a-=2;for(var d in e)if(e.hasOwnProperty(d)){var y=JSON.stringify(d);if(y!=='"'+d+'"'&&(d=y),a-=d.length-2,y=Du(e[d],15>a?a:15),a-=y.length,0>a){s+=s===""?"...":", ...";break}s+=(s===""?"":",")+d+":"+y}return"{"+s+"}"}return s;case"function":return(a=e.displayName||e.name)?"function "+a:"function";default:return String(e)}}function Nr(e,a){return typeof e!="string"||kp.test(e)?"{"+Du(e,a-2)+"}":e.length>a-2?5>a?'"..."':'"'+e.slice(0,a-5)+'..."':'"'+e+'"'}function Am(e,a,s){var d=120-s.length-e.length,y=[],b;for(b in a)if(a.hasOwnProperty(b)&&b!=="children"){var D=Nr(a[b],120-s.length-b.length-1);d-=b.length+D.length+2,y.push(b+"="+D)}return y.length===0?s+"<"+e+`>
|
|
748
|
+
`:0<d?s+"<"+e+" "+y.join(" ")+`>
|
|
749
|
+
`:s+"<"+e+`
|
|
750
|
+
`+s+" "+y.join(`
|
|
751
|
+
`+s+" ")+`
|
|
752
|
+
`+s+`>
|
|
753
|
+
`}function Vr(e,a,s){var d="",y=Et({},a),b;for(b in e)if(e.hasOwnProperty(b)){delete y[b];var D=120-2*s-b.length-2,_=Du(e[b],D);a.hasOwnProperty(b)?(D=Du(a[b],D),d+=kc(s)+b+": "+_+`
|
|
754
|
+
`,d+=po(s)+b+": "+D+`
|
|
755
|
+
`):d+=kc(s)+b+": "+_+`
|
|
756
|
+
`}for(var $ in y)y.hasOwnProperty($)&&(e=Du(y[$],120-2*s-$.length-2),d+=po(s)+$+": "+e+`
|
|
757
|
+
`);return d}function wm(e,a,s,d){var y="",b=new Map;for(G in s)s.hasOwnProperty(G)&&b.set(G.toLowerCase(),G);if(b.size===1&&b.has("children"))y+=Am(e,a,Si(d));else{for(var D in a)if(a.hasOwnProperty(D)&&D!=="children"){var _=120-2*(d+1)-D.length-1,$=b.get(D.toLowerCase());if($!==void 0){b.delete(D.toLowerCase());var G=a[D];$=s[$];var ye=Nr(G,_);_=Nr($,_),typeof G=="object"&&G!==null&&typeof $=="object"&&$!==null&&Yc(G)==="Object"&&Yc($)==="Object"&&(2<Object.keys(G).length||2<Object.keys($).length||-1<ye.indexOf("...")||-1<_.indexOf("..."))?y+=Si(d+1)+D+`={{
|
|
758
|
+
`+Vr(G,$,d+2)+Si(d+1)+`}}
|
|
759
|
+
`:(y+=kc(d+1)+D+"="+ye+`
|
|
760
|
+
`,y+=po(d+1)+D+"="+_+`
|
|
761
|
+
`)}else y+=Si(d+1)+D+"="+Nr(a[D],_)+`
|
|
762
|
+
`}b.forEach(function(Te){if(Te!=="children"){var ge=120-2*(d+1)-Te.length-1;y+=po(d+1)+Te+"="+Nr(s[Te],ge)+`
|
|
763
|
+
`}}),y=y===""?Si(d)+"<"+e+`>
|
|
764
|
+
`:Si(d)+"<"+e+`
|
|
765
|
+
`+y+Si(d)+`>
|
|
766
|
+
`}return e=s.children,a=a.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(b="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(b=""+a),y+=Pc(b,""+e,d+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(y=e==null?y+Pc(""+a,null,d+1):y+Pc(""+a,void 0,d+1)),y}function Em(e,a){var s=$i(e);if(s===null){for(s="",e=e.child;e;)s+=Em(e,a),e=e.sibling;return s}return Si(a)+"<"+s+`>
|
|
767
|
+
`}function Mu(e,a){var s=Tm(e,a);if(s!==e&&(e.children.length!==1||e.children[0]!==s))return Si(a)+`...
|
|
768
|
+
`+Mu(s,a+1);s="";var d=e.fiber._debugInfo;if(d)for(var y=0;y<d.length;y++){var b=d[y].name;typeof b=="string"&&(s+=Si(a)+"<"+b+`>
|
|
769
|
+
`,a++)}if(d="",y=e.fiber.pendingProps,e.fiber.tag===6)d=Pc(y,e.serverProps,a),a++;else if(b=$i(e.fiber),b!==null)if(e.serverProps===void 0){d=a;var D=120-2*d-b.length-2,_="";for(G in y)if(y.hasOwnProperty(G)&&G!=="children"){var $=Nr(y[G],15);if(D-=G.length+$.length+2,0>D){_+=" ...";break}_+=" "+G+"="+$}d=Si(d)+"<"+b+_+`>
|
|
770
|
+
`,a++}else e.serverProps===null?(d=Am(b,y,kc(a)),a++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(d=wm(b,y,e.serverProps,a),a++);var G="";for(y=e.fiber.child,b=0;y&&b<e.children.length;)D=e.children[b],D.fiber===y?(G+=Mu(D,a),b++):G+=Em(y,a),y=y.sibling;for(y&&0<e.children.length&&(G+=Si(a)+`...
|
|
771
|
+
`),y=e.serverTail,e.serverProps===null&&a--,e=0;e<y.length;e++)b=y[e],G=typeof b=="string"?G+(po(a)+Cu(b,120-2*a)+`
|
|
772
|
+
`):G+Am(b.type,b.props,po(a));return s+d+G}function hl(e){try{return`
|
|
773
|
+
|
|
774
|
+
`+Mu(e,0)}catch{return""}}function Cm(e,a,s){for(var d=a,y=null,b=0;d;)d===e&&(b=0),y={fiber:d,children:y!==null?[y]:[],serverProps:d===a?s:d===e?null:void 0,serverTail:[],distanceFromLeaf:b},b++,d=d.return;return y!==null?hl(y).replaceAll(/^[+-]/gm,">"):""}function Sd(e,a){var s=Et({},e||jh),d={tag:a};return Lh.indexOf(a)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),Ug.indexOf(a)!==-1&&(s.pTagInButtonScope=null),Vg.indexOf(a)!==-1&&a!=="address"&&a!=="div"&&a!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=d,a==="form"&&(s.formTag=d),a==="a"&&(s.aTagInScope=d),a==="button"&&(s.buttonTagInScope=d),a==="nobr"&&(s.nobrTagInScope=d),a==="p"&&(s.pTagInButtonScope=d),a==="li"&&(s.listItemTagAutoclosing=d),(a==="dd"||a==="dt")&&(s.dlItemTagAutoclosing=d),a==="#document"||a==="html"?s.containerTagInScope=null:s.containerTagInScope||(s.containerTagInScope=d),e!==null||a!=="#document"&&a!=="html"&&a!=="body"?s.implicitRootScope===!0&&(s.implicitRootScope=!1):s.implicitRootScope=!0,s}function go(e,a,s){switch(a){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(s)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!s)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a!=="h1"&&a!=="h2"&&a!=="h3"&&a!=="h4"&&a!=="h5"&&a!=="h6";case"rp":case"rt":return Lv.indexOf(a)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return a==null;case"head":return s||a===null;case"html":return s&&a==="#document"||a===null;case"body":return s&&(a==="#document"||a==="html")||a===null}return!0}function qc(e,a){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a.pTagInButtonScope;case"form":return a.formTag||a.pTagInButtonScope;case"li":return a.listItemTagAutoclosing;case"dd":case"dt":return a.dlItemTagAutoclosing;case"button":return a.buttonTagInScope;case"a":return a.aTagInScope;case"nobr":return a.nobrTagInScope}return null}function Dm(e,a){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===a)return e}e=e.return}return null}function Td(e,a){a=a||jh;var s=a.current;if(a=(s=go(e,s&&s.tag,a.implicitRootScope)?null:s)?null:qc(e,a),a=s||a,!a)return!0;var d=a.tag;if(a=String(!!s)+"|"+e+"|"+d,Kr[a])return!1;Kr[a]=!0;var y=(a=qa)?Dm(a.return,d):null,b=a!==null&&y!==null?Cm(y,a,null):"",D="<"+e+">";return s?(s="",d==="table"&&e==="tr"&&(s+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
775
|
+
This will cause a hydration error.%s`,D,d,s,b)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
776
|
+
This will cause a hydration error.%s`,D,d,b),a&&(e=a.return,y===null||e===null||y===e&&e._debugOwner===a._debugOwner||at(y,function(){console.error(`<%s> cannot contain a nested %s.
|
|
777
|
+
See this log for the ancestor stack trace.`,d,D)})),!1}function Gc(e,a,s){if(s||go("#text",a,!1))return!0;if(s="#text|"+a,Kr[s])return!1;Kr[s]=!0;var d=(s=qa)?Dm(s,a):null;return s=s!==null&&d!==null?Cm(d,s,s.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
778
|
+
This will cause a hydration error.%s`,a,s):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
779
|
+
This will cause a hydration error.%s`,a,s),!1}function Fc(e,a){if(a){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=a;return}}e.textContent=a}function Zy(e){return e.replace(xb,function(a,s){return s.toUpperCase()})}function Xc(e,a,s){var d=a.indexOf("--")===0;d||(-1<a.indexOf("-")?eo.hasOwnProperty(a)&&eo[a]||(eo[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,Zy(a.replace(su,"ms-")))):Bh.test(a)?eo.hasOwnProperty(a)&&eo[a]||(eo[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!Lg.test(s)||jg.hasOwnProperty(s)&&jg[s]||(jg[s]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,s.replace(Lg,""))),typeof s=="number"&&(isNaN(s)?Bg||(Bg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(s)||$h||($h=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),s==null||typeof s=="boolean"||s===""?d?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":d?e.setProperty(a,s):typeof s!="number"||s===0||$g.has(a)?a==="float"?e.cssFloat=s:(Ye(s,a),e[a]=(""+s).trim()):e[a]=s+"px"}function Ad(e,a,s){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),e=e.style,s!=null){if(a){var d={};if(s){for(var y in s)if(s.hasOwnProperty(y)&&!a.hasOwnProperty(y))for(var b=Js[y]||[y],D=0;D<b.length;D++)d[b[D]]=y}for(var _ in a)if(a.hasOwnProperty(_)&&(!s||s[_]!==a[_]))for(y=Js[_]||[_],b=0;b<y.length;b++)d[y[b]]=_;_={};for(var $ in a)for(y=Js[$]||[$],b=0;b<y.length;b++)_[y[b]]=$;$={};for(var G in d)if(y=d[G],(b=_[G])&&y!==b&&(D=y+","+b,!$[D])){$[D]=!0,D=console;var ye=a[y];D.error.call(D,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",ye==null||typeof ye=="boolean"||ye===""?"Removing":"Updating",y,b)}}for(var Te in s)!s.hasOwnProperty(Te)||a!=null&&a.hasOwnProperty(Te)||(Te.indexOf("--")===0?e.setProperty(Te,""):Te==="float"?e.cssFloat="":e[Te]="");for(var ge in a)G=a[ge],a.hasOwnProperty(ge)&&s[ge]!==G&&Xc(e,ge,G)}else for(d in a)a.hasOwnProperty(d)&&Xc(e,d,a[d])}function Ou(e){if(e.indexOf("-")===-1)return!1;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}}function Ru(e){return Yp.get(e)||e}function Zc(e,a){if(Zs.call(ou,a)&&ou[a])return!0;if(jv.test(a)){if(e="aria-"+a.slice(4).toLowerCase(),e=Qf.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),ou[a]=!0;if(a!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,e),ou[a]=!0}if(qp.test(a)){if(e=a.toLowerCase(),e=Qf.hasOwnProperty(e)?e:null,e==null)return ou[a]=!0,!1;a!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,e),ou[a]=!0)}return!0}function z0(e,a){var s=[],d;for(d in a)Zc(e,d)||s.push(d);a=s.map(function(y){return"`"+y+"`"}).join(", "),s.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e):1<s.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,e)}function N0(e,a,s,d){if(Zs.call(Ga,a)&&Ga[a])return!0;var y=a.toLowerCase();if(y==="onfocusin"||y==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ga[a]=!0;if(typeof s=="function"&&(e==="form"&&a==="action"||e==="input"&&a==="formAction"||e==="button"&&a==="formAction"))return!0;if(d!=null){if(e=d.possibleRegistrationNames,d.registrationNameDependencies.hasOwnProperty(a))return!0;if(d=e.hasOwnProperty(y)?e[y]:null,d!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,d),Ga[a]=!0;if(r.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),Ga[a]=!0}else if(r.test(a))return l.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Ga[a]=!0;if(c.test(a)||p.test(a))return!0;if(y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ga[a]=!0;if(y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ga[a]=!0;if(y==="is"&&s!==null&&s!==void 0&&typeof s!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Ga[a]=!0;if(typeof s=="number"&&isNaN(s))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Ga[a]=!0;if(Hh.hasOwnProperty(y)){if(y=Hh[y],y!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,y),Ga[a]=!0}else if(a!==y)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,y),Ga[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof s){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return y=a.toLowerCase().slice(0,5),y==="data-"||y==="aria-"?!0:(s?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,a,a,s,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,a,a,s,a,a,a),Ga[a]=!0)}case"function":case"symbol":return Ga[a]=!0,!1;case"string":if(s==="false"||s==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,a,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,s),Ga[a]=!0}}return!0}function Qy(e,a,s){var d=[],y;for(y in a)N0(e,y,a[y],s)||d.push(y);a=d.map(function(b){return"`"+b+"`"}).join(", "),d.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e):1<d.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,e)}function yo(e){return x.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Qc(e){var a=_r(e);if(a&&(e=a.stateNode)){var s=e[ir]||null;e:switch(e=a.stateNode,a.type){case"input":if(Hc(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=e;s.parentNode;)s=s.parentNode;for(Me(a,"name"),s=s.querySelectorAll('input[name="'+ja(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var d=s[a];if(d!==e&&d.form===e.form){var y=d[ir]||null;if(!y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Hc(d,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(a=0;a<s.length;a++)d=s[a],d.form===e.form&&R0(d)}break e;case"textarea":Sm(e,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&mo(e,!!s.multiple,a,!1)}}}function Kc(e,a,s){if(Q)return e(a,s);Q=!0;try{var d=e(a);return d}finally{if(Q=!1,(z!==null||j!==null)&&(qs(),z&&(a=z,e=j,j=z=null,Qc(a),e)))for(a=0;a<e.length;a++)Qc(e[a])}}function Ur(e,a){var s=e.stateNode;if(s===null)return null;var d=s[ir]||null;if(d===null)return null;s=d[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(e=e.type,d=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!d;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}function Mm(){if(mt)return mt;var e,a=he,s=a.length,d,y="value"in me?me.value:me.textContent,b=y.length;for(e=0;e<s&&a[e]===y[e];e++);var D=s-e;for(d=1;d<=D&&a[s-d]===y[b-d];d++);return mt=y.slice(e,1<d?1-d:void 0)}function _u(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function wd(){return!0}function vn(){return!1}function Mt(e){function a(s,d,y,b,D){this._reactName=s,this._targetInst=y,this.type=d,this.nativeEvent=b,this.target=D,this.currentTarget=null;for(var _ in e)e.hasOwnProperty(_)&&(s=e[_],this[_]=s?s(b):b[_]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?wd:vn,this.isPropagationStopped=vn,this}return Et(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=wd)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=wd)},persist:function(){},isPersistent:wd}),a}function Ky(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=b3[e])?!!a[e]:!1}function ci(){return Ky}function ml(e,a){switch(e){case"keyup":return _3.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==DS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ed(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Cd(e,a){switch(e){case"compositionend":return Ed(a);case"keypress":return a.which!==O?null:(k=!0,N);case"textInput":return e=a.data,e===N&&k?null:e;default:return null}}function mb(e,a){if(Z)return e==="compositionend"||!wb&&ml(e,a)?(e=Mm(),mt=he=me=null,Z=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return T&&a.locale!=="ko"?null:a.data;default:return null}}function Dd(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!ee[e.type]:a==="textarea"}function V0(e){if(!ue)return!1;e="on"+e;var a=e in document;return a||(a=document.createElement("div"),a.setAttribute(e,"return;"),a=typeof a[e]=="function"),a}function Jn(e,a,s,d){z?j?j.push(d):j=[d]:z=d,a=ni(a,"onChange"),0<a.length&&(s=new fn("onChange","change",null,s,d),e.push({event:s,listeners:a}))}function Ic(e){hg(e,0)}function ss(e){var a=ns(e);if(R0(a))return e}function U0(e,a){if(e==="change")return a}function Om(){oe&&(oe.detachEvent("onpropertychange",fr),_e=oe=null)}function fr(e){if(e.propertyName==="value"&&ss(_e)){var a=[];Jn(a,_e,e,rs(e)),Kc(Ic,a)}}function Rm(e,a,s){e==="focusin"?(Om(),oe=a,_e=s,oe.attachEvent("onpropertychange",fr)):e==="focusout"&&Om()}function Iy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ss(_e)}function Wy(e,a){if(e==="click")return ss(a)}function Jy(e,a){if(e==="input"||e==="change")return ss(a)}function ev(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}function Wc(e,a){if(Ve(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var s=Object.keys(e),d=Object.keys(a);if(s.length!==d.length)return!1;for(d=0;d<s.length;d++){var y=s[d];if(!Zs.call(a,y)||!Ve(e[y],a[y]))return!1}return!0}function Ti(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tv(e,a){var s=Ti(e);e=0;for(var d;s;){if(s.nodeType===3){if(d=e+s.textContent.length,e<=a&&d>=a)return{node:s,offset:a-e};e=d}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Ti(s)}}function dr(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?dr(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function nv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=vd(e.document);a instanceof e.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)e=a.contentWindow;else break;a=vd(e.document)}return a}function _m(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}function os(e,a,s){var d=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;bt||nt==null||nt!==vd(d)||(d=nt,"selectionStart"in d&&_m(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),zt&&Wc(zt,d)||(zt=d,d=ni(vt,"onSelect"),0<d.length&&(a=new fn("onSelect","select",null,a,s),e.push({event:a,listeners:d}),a.target=nt)))}function Vs(e,a){var s={};return s[e.toLowerCase()]=a.toLowerCase(),s["Webkit"+e]="webkit"+a,s["Moz"+e]="moz"+a,s}function vo(e){if(Zt[e])return Zt[e];if(!jt[e])return e;var a=jt[e],s;for(s in a)if(a.hasOwnProperty(s)&&s in Ir)return Zt[e]=a[s];return e}function Kt(e,a){Q8.set(e,a),cl(a,[e])}function la(e,a){if(typeof e=="object"&&e!==null){var s=N3.get(e);return s!==void 0?s:(a={value:e,source:a,stack:Gy(a)},N3.set(e,a),a)}return{value:e,source:a,stack:Gy(a)}}function Jc(){for(var e=$v,a=U3=$v=0;a<e;){var s=lu[a];lu[a++]=null;var d=lu[a];lu[a++]=null;var y=lu[a];lu[a++]=null;var b=lu[a];if(lu[a++]=null,d!==null&&y!==null){var D=d.pending;D===null?y.next=y:(y.next=D.next,D.next=y),d.pending=y}b!==0&&av(s,y,b)}}function zm(e,a,s,d){lu[$v++]=e,lu[$v++]=a,lu[$v++]=s,lu[$v++]=d,U3|=d,e.lanes|=d,e=e.alternate,e!==null&&(e.lanes|=d)}function Md(e,a,s,d){return zm(e,a,s,d),Nm(e)}function Hi(e,a){return zm(e,null,null,a),Nm(e)}function av(e,a,s){e.lanes|=s;var d=e.alternate;d!==null&&(d.lanes|=s);for(var y=!1,b=e.return;b!==null;)b.childLanes|=s,d=b.alternate,d!==null&&(d.childLanes|=s),b.tag===22&&(e=b.stateNode,e===null||e._visibility&V3||(y=!0)),e=b,b=b.return;return e.tag===3?(b=e.stateNode,y&&a!==null&&(y=31-lt(s),e=b.hiddenUpdates,d=e[y],d===null?e[y]=[a]:d.push(a),a.lane=s|536870912),b):null}function Nm(e){if(Fb>sZ)throw Jg=Fb=0,Xb=fC=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Jg>oZ&&(Jg=0,Xb=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ch(e);for(var a=e,s=a.return;s!==null;)a.alternate===null&&(a.flags&4098)!==0&&ch(e),a=s,s=a.return;return a.tag===3?a.stateNode:null}function pl(e){if(uu===null)return e;var a=uu(e);return a===void 0?e:a.current}function ef(e){if(uu===null)return e;var a=uu(e);return a===void 0?e!=null&&typeof e.render=="function"&&(a=pl(e.render),e.render!==a)?(a={$$typeof:tu,render:a},e.displayName!==void 0&&(a.displayName=e.displayName),a):e:a.current}function zu(e,a){if(uu===null)return!1;var s=e.elementType;a=a.type;var d=!1,y=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case 1:typeof a=="function"&&(d=!0);break;case 0:(typeof a=="function"||y===ba)&&(d=!0);break;case 11:(y===tu||y===ba)&&(d=!0);break;case 14:case 15:(y===Op||y===ba)&&(d=!0);break;default:return!1}return!!(d&&(e=uu(s),e!==void 0&&e===uu(a)))}function Vm(e){uu!==null&&typeof WeakSet=="function"&&(Hv===null&&(Hv=new WeakSet),Hv.add(e))}function gl(e,a,s){var d=e.alternate,y=e.child,b=e.sibling,D=e.tag,_=e.type,$=null;switch(D){case 0:case 15:case 1:$=_;break;case 11:$=_.render}if(uu===null)throw Error("Expected resolveFamily to be set during hot reload.");var G=!1;_=!1,$!==null&&($=uu($),$!==void 0&&(s.has($)?_=!0:a.has($)&&(D===1?_=!0:G=!0))),Hv!==null&&(Hv.has(e)||d!==null&&Hv.has(d))&&(_=!0),_&&(e._debugNeedsRemount=!0),(_||G)&&(d=Hi(e,2),d!==null&&Yt(d,e,2)),y===null||_||gl(y,a,s),b!==null&&gl(b,a,s)}function iv(e,a,s,d){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,I8||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function tf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Lr(e,a){var s=e.alternate;switch(s===null?(s=R(e.tag,a,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugOwner=e._debugOwner,s._debugStack=e._debugStack,s._debugTask=e._debugTask,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=a,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null,s.actualDuration=-0,s.actualStartTime=-1.1),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,a=e.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugInfo=e._debugInfo,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case 0:case 15:s.type=pl(e.type);break;case 1:s.type=pl(e.type);break;case 11:s.type=ef(e.type)}return s}function Um(e,a){e.flags&=65011714;var s=e.alternate;return s===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,a=s.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration),e}function Lm(e,a,s,d,y,b){var D=0,_=e;if(typeof e=="function")tf(e)&&(D=1),_=pl(_);else if(typeof e=="string")D=W(),D=Tp(e,s,D)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Rp:return a=R(31,s,a,y),a.elementType=Rp,a.lanes=b,a;case eu:return ki(s.children,y,b,a);case ii:D=8,y|=Jr,y|=dc;break;case Ch:return e=s,d=y,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),a=R(12,e,a,d|Tr),a.elementType=Ch,a.lanes=b,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case da:return a=R(13,s,a,y),a.elementType=da,a.lanes=b,a;case Gn:return a=R(19,s,a,y),a.elementType=Gn,a.lanes=b,a;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cv:case ft:D=10;break e;case Ss:D=9;break e;case tu:D=11,_=ef(_);break e;case Op:D=14;break e;case ba:D=16,_=null;break e}_="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?s="null":Na(e)?s="array":e!==void 0&&e.$$typeof===Zo?(s="<"+(de(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,(D=d?Ue(d):null)&&(_+=`
|
|
780
|
+
|
|
781
|
+
Check the render method of \``+D+"`."),D=29,s=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(s+"."+_)),_=null}return a=R(D,s,a,y),a.elementType=e,a.type=_,a.lanes=b,a._debugOwner=d,a}function Nu(e,a,s){return a=Lm(e.type,e.key,e.props,e._owner,a,s),a._debugOwner=e._owner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a}function ki(e,a,s,d){return e=R(7,e,d,a),e.lanes=s,e}function L0(e,a,s){return e=R(6,e,null,a),e.lanes=s,e}function jm(e,a,s){return a=R(4,e.children!==null?e.children:[],e.key,a),a.lanes=s,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function Ma(e,a){jr(),kv[Pv++]=RS,kv[Pv++]=OS,OS=e,RS=a}function Od(e,a,s){jr(),cu[fu++]=kh,cu[fu++]=Ph,cu[fu++]=kg,kg=e;var d=kh;e=Ph;var y=32-lt(d)-1;d&=~(1<<y),s+=1;var b=32-lt(a)+y;if(30<b){var D=y-y%5;b=(d&(1<<D)-1).toString(32),d>>=D,y-=D,kh=1<<32-lt(a)+y|s<<y|d,Ph=b+e}else kh=1<<b|s<<y|d,Ph=e}function yl(e){jr(),e.return!==null&&(Ma(e,1),Od(e,1,0))}function vl(e){for(;e===OS;)OS=kv[--Pv],kv[Pv]=null,RS=kv[--Pv],kv[Pv]=null;for(;e===kg;)kg=cu[--fu],cu[fu]=null,Ph=cu[--fu],cu[fu]=null,kh=cu[--fu],cu[fu]=null}function jr(){gn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Vu(e,a){if(e.return===null){if(du===null)du={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(du.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");du.distanceFromLeaf>a&&(du.distanceFromLeaf=a)}return du}var s=Vu(e.return,a+1).children;return 0<s.length&&s[s.length-1].fiber===e?(s=s[s.length-1],s.distanceFromLeaf>a&&(s.distanceFromLeaf=a),s):(a={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},s.push(a),a)}function nf(e,a){Yh||(e=Vu(e,0),e.serverProps=null,a!==null&&(a=yp(a),e.serverTail.push(a)))}function bl(e){var a="",s=du;throw s!==null&&(du=null,a=hl(s)),xl(la(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
782
|
+
|
|
783
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
784
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
785
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
786
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
787
|
+
- Invalid HTML tag nesting.
|
|
788
|
+
|
|
789
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
790
|
+
|
|
791
|
+
https://react.dev/link/hydration-mismatch`+a),e)),L3}function j0(e){var a=e.stateNode,s=e.type,d=e.memoizedProps;switch(a[gi]=e,a[ir]=d,ko(s,d),s){case"dialog":qt("cancel",a),qt("close",a);break;case"iframe":case"object":case"embed":qt("load",a);break;case"video":case"audio":for(s=0;s<Zb.length;s++)qt(Zb[s],a);break;case"source":qt("error",a);break;case"img":case"image":case"link":qt("error",a),qt("load",a);break;case"details":qt("toggle",a);break;case"input":as("input",d),qt("invalid",a),Au(a,d),_0(a,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0),oa(a);break;case"option":Xy(a,d);break;case"select":as("select",d),qt("invalid",a),is(a,d);break;case"textarea":as("textarea",d),qt("invalid",a),xd(a,d),Eu(a,d.value,d.defaultValue,d.children),oa(a)}s=d.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||d.suppressHydrationWarning===!0||Ju(a.textContent,s)?(d.popover!=null&&(qt("beforetoggle",a),qt("toggle",a)),d.onScroll!=null&&qt("scroll",a),d.onScrollEnd!=null&&qt("scrollend",a),d.onClick!=null&&(a.onclick=ql),a=!0):a=!1,a||bl(e)}function Bm(e){for(Es=e.return;Es;)switch(Es.tag){case 5:case 13:Kf=!1;return;case 27:case 3:Kf=!0;return;default:Es=Es.return}}function Br(e){if(e!==Es)return!1;if(!gn)return Bm(e),gn=!0,!1;var a=e.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||Fl(e.type,e.memoizedProps)),s=!s),s&&Xa){for(s=Xa;s;){var d=Vu(e,0),y=yp(s);d.serverTail.push(y),s=y.type==="Suspense"?tc(s):nr(s.nextSibling)}bl(e)}if(Bm(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xa=tc(e)}else a===27?(a=Xa,za(e.type)?(e=AC,AC=null,Xa=e):Xa=a):Xa=Es?nr(e.stateNode.nextSibling):null;return!0}function af(){Xa=Es=null,Yh=gn=!1}function B0(){var e=Pg;return e!==null&&(Ms===null?Ms=e:Ms.push.apply(Ms,e),Pg=null),e}function xl(e){Pg===null?Pg=[e]:Pg.push(e)}function $0(){var e=du;if(e!==null){du=null;for(var a=hl(e);0<e.children.length;)e=e.children[0];at(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
792
|
+
|
|
793
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
794
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
795
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
796
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
797
|
+
- Invalid HTML tag nesting.
|
|
798
|
+
|
|
799
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
800
|
+
|
|
801
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function ls(){Yv=_S=null,qv=!1}function us(e,a,s){We(j3,a._currentValue,e),a._currentValue=s,We(B3,a._currentRenderer,e),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==t7&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=t7}function bo(e,a){e._currentValue=j3.current;var s=B3.current;ke(B3,a),e._currentRenderer=s,ke(j3,a)}function H0(e,a,s){for(;e!==null;){var d=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,d!==null&&(d.childLanes|=a)):d!==null&&(d.childLanes&a)!==a&&(d.childLanes|=a),e===s)break;e=e.return}e!==s&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Ai(e,a,s,d){var y=e.child;for(y!==null&&(y.return=e);y!==null;){var b=y.dependencies;if(b!==null){var D=y.child;b=b.firstContext;e:for(;b!==null;){var _=b;b=y;for(var $=0;$<a.length;$++)if(_.context===a[$]){b.lanes|=s,_=b.alternate,_!==null&&(_.lanes|=s),H0(b.return,s,e),d||(D=null);break e}b=_.next}}else if(y.tag===18){if(D=y.return,D===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");D.lanes|=s,b=D.alternate,b!==null&&(b.lanes|=s),H0(D,s,e),D=null}else D=y.child;if(D!==null)D.return=y;else for(D=y;D!==null;){if(D===e){D=null;break}if(y=D.sibling,y!==null){y.return=D.return,D=y;break}D=D.return}y=D}}function Pi(e,a,s,d){e=null;for(var y=a,b=!1;y!==null;){if(!b){if((y.flags&524288)!==0)b=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var D=y.alternate;if(D===null)throw Error("Should have a current fiber. This is a bug in React.");if(D=D.memoizedProps,D!==null){var _=y.type;Ve(y.pendingProps.value,D.value)||(e!==null?e.push(_):e=[_])}}else if(y===_p.current){if(D=y.alternate,D===null)throw Error("Should have a current fiber. This is a bug in React.");D.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(e!==null?e.push(Wb):e=[Wb])}y=y.return}e!==null&&Ai(a,e,s,d),a.flags|=262144}function wi(e){for(e=e.firstContext;e!==null;){if(!Ve(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xo(e){_S=e,Yv=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $n(e){return qv&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),$m(_S,e)}function Rd(e,a){return _S===null&&xo(e),$m(e,a)}function $m(e,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},Yv===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Yv=a,e.dependencies={lanes:0,firstContext:a,_debugThenableState:null},e.flags|=524288}else Yv=Yv.next=a;return s}function k0(){return{controller:new GX,data:new Map,refCount:0}}function $r(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Hr(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&FX(XX,function(){e.controller.abort()})}function ie(){var e=Yg;return Yg=0,e}function we(e){var a=Yg;return Yg=e,a}function ve(e){var a=Yg;return Yg+=e,a}function Qe(e){no=Gv(),0>e.actualStartTime&&(e.actualStartTime=no)}function gt(e){if(0<=no){var a=Gv()-no;e.actualDuration+=a,e.selfBaseDuration=a,no=-1}}function It(e){if(0<=no){var a=Gv()-no;e.actualDuration+=a,no=-1}}function bn(){if(0<=no){var e=Gv()-no;no=-1,Yg+=e}}function Ot(){no=Gv()}function Uu(e){for(var a=e.child;a;)e.actualDuration+=a.actualDuration,a=a.sibling}function rv(e,a){if(Eb===null){var s=Eb=[];$3=0,qg=pp(),Fv={status:"pending",value:void 0,then:function(d){s.push(d)}}}return $3++,a.then(Yi,Yi),a}function Yi(){if(--$3===0&&Eb!==null){Fv!==null&&(Fv.status="fulfilled");var e=Eb;Eb=null,qg=0,Fv=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function Hm(e,a){var s=[],d={status:"pending",value:null,reason:null,then:function(y){s.push(y)}};return e.then(function(){d.status="fulfilled",d.value=a;for(var y=0;y<s.length;y++)(0,s[y])(a)},function(y){for(d.status="rejected",d.reason=y,y=0;y<s.length;y++)(0,s[y])(void 0)}),d}function P0(){var e=Gg.current;return e!==null?e:Qn.pooledCache}function So(e,a){a===null?We(Gg,Gg.current,e):We(Gg,a.pool,e)}function rf(){var e=P0();return e===null?null:{parent:Vi._currentValue,pool:e}}function sf(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function an(e){return e=e.status,e==="fulfilled"||e==="rejected"}function qi(){}function km(e,a,s){pe.actQueue!==null&&(pe.didUsePromise=!0);var d=e.thenables;switch(s=d[s],s===void 0?d.push(a):s!==a&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(qi,qi),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,hr(e),e;default:if(typeof a.status=="string")a.then(qi,qi);else{if(e=Qn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=a,e.status="pending",e.then(function(y){if(a.status==="pending"){var b=a;b.status="fulfilled",b.value=y}},function(y){if(a.status==="pending"){var b=a;b.status="rejected",b.reason=y}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,hr(e),e}throw Nb=a,jS=!0,zb}}function fi(){if(Nb===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Nb;return Nb=null,jS=!1,e}function hr(e){if(e===zb||e===LS)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Sl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _d(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gi(e){return{lane:e,tag:s7,payload:null,callback:null,next:null}}function Ba(e,a,s){var d=e.updateQueue;if(d===null)return null;if(d=d.shared,P3===d&&!u7){var y=De(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
802
|
+
|
|
803
|
+
Please update the following component: %s`,y),u7=!0}return(On&Ds)!==tl?(y=d.pending,y===null?a.next=a:(a.next=y.next,y.next=a),d.pending=a,a=Nm(e),av(e,null,s),a):(zm(e,d,a,s),Nm(e))}function Us(e,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var d=a.lanes;d&=e.pendingLanes,s|=d,a.lanes=s,La(e,s)}}function Ls(e,a){var s=e.updateQueue,d=e.alternate;if(d!==null&&(d=d.updateQueue,s===d)){var y=null,b=null;if(s=s.firstBaseUpdate,s!==null){do{var D={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};b===null?y=b=D:b=b.next=D,s=s.next}while(s!==null);b===null?y=b=a:b=b.next=a}else y=b=a;s={baseState:d.baseState,firstBaseUpdate:y,lastBaseUpdate:b,shared:d.shared,callbacks:d.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=a:e.next=a,s.lastBaseUpdate=a}function To(){if(Y3){var e=Fv;if(e!==null)throw e}}function Ao(e,a,s,d){Y3=!1;var y=e.updateQueue;Fp=!1,P3=y.shared;var b=y.firstBaseUpdate,D=y.lastBaseUpdate,_=y.shared.pending;if(_!==null){y.shared.pending=null;var $=_,G=$.next;$.next=null,D===null?b=G:D.next=G,D=$;var ye=e.alternate;ye!==null&&(ye=ye.updateQueue,_=ye.lastBaseUpdate,_!==D&&(_===null?ye.firstBaseUpdate=G:_.next=G,ye.lastBaseUpdate=$))}if(b!==null){var Te=y.baseState;D=0,ye=G=$=null,_=b;do{var ge=_.lane&-536870913,Ee=ge!==_.lane;if(Ee?(Jt&ge)===ge:(d&ge)===ge){ge!==0&&ge===qg&&(Y3=!0),ye!==null&&(ye=ye.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{ge=e;var it=_,wt=a,Kn=s;switch(it.tag){case o7:if(it=it.payload,typeof it=="function"){qv=!0;var nn=it.call(Kn,Te,wt);if(ge.mode&Jr){Pe(!0);try{it.call(Kn,Te,wt)}finally{Pe(!1)}}qv=!1,Te=nn;break e}Te=it;break e;case k3:ge.flags=ge.flags&-65537|128;case s7:if(nn=it.payload,typeof nn=="function"){if(qv=!0,it=nn.call(Kn,Te,wt),ge.mode&Jr){Pe(!0);try{nn.call(Kn,Te,wt)}finally{Pe(!1)}}qv=!1}else it=nn;if(it==null)break e;Te=Et({},Te,it);break e;case l7:Fp=!0}}ge=_.callback,ge!==null&&(e.flags|=64,Ee&&(e.flags|=8192),Ee=y.callbacks,Ee===null?y.callbacks=[ge]:Ee.push(ge))}else Ee={lane:ge,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ye===null?(G=ye=Ee,$=Te):ye=ye.next=Ee,D|=ge;if(_=_.next,_===null){if(_=y.shared.pending,_===null)break;Ee=_,_=Ee.next,Ee.next=null,y.lastBaseUpdate=Ee,y.shared.pending=null}}while(!0);ye===null&&($=Te),y.baseState=$,y.firstBaseUpdate=G,y.lastBaseUpdate=ye,b===null&&(y.shared.lanes=0),Kp|=D,e.lanes=D,e.memoizedState=Te}P3=null}function Tl(e,a){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(a)}function Pm(e,a){var s=e.shared.hiddenCallbacks;if(s!==null)for(e.shared.hiddenCallbacks=null,e=0;e<s.length;e++)Tl(s[e],a)}function Ei(e,a){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)Tl(s[e],a)}function Al(e,a){var s=Jf;We(BS,s,e),We(Xv,a,e),Jf=s|a.baseLanes}function Wa(e){We(BS,Jf,e),We(Xv,Xv.current,e)}function Lu(e){Jf=BS.current,ke(Xv,e),ke(BS,e)}function Vt(){var e=Se;pu===null?pu=[e]:pu.push(e)}function je(){var e=Se;if(pu!==null&&(Gh++,pu[Gh]!==e)){var a=De(Nt);if(!c7.has(a)&&(c7.add(a),pu!==null)){for(var s="",d=0;d<=Gh;d++){var y=pu[d],b=d===Gh?e:y;for(y=d+1+". "+y;30>y.length;)y+=" ";y+=b+`
|
|
804
|
+
`,s+=y}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
805
|
+
|
|
806
|
+
Previous render Next render
|
|
807
|
+
------------------------------------------------------
|
|
808
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
809
|
+
`,a,s)}}}function wl(e){e==null||Na(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Se,typeof e)}function wo(){var e=De(Nt);d7.has(e)||(d7.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function xn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
810
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
811
|
+
2. You might be breaking the Rules of Hooks
|
|
812
|
+
3. You might have more than one copy of React in the same app
|
|
813
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function js(e,a){if(Ub)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Se),!1;e.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
814
|
+
|
|
815
|
+
Previous: %s
|
|
816
|
+
Incoming: %s`,Se,"["+a.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<a.length&&s<e.length;s++)if(!Ve(e[s],a[s]))return!1;return!0}function of(e,a,s,d,y,b){Xp=b,Nt=a,pu=e!==null?e._debugHookTypes:null,Gh=-1,Ub=e!==null&&e.type!==a.type,(Object.prototype.toString.call(s)==="[object AsyncFunction]"||Object.prototype.toString.call(s)==="[object AsyncGeneratorFunction]")&&(b=De(Nt),q3.has(b)||(q3.add(b),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",b===null?"An unknown Component":"<"+b+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,pe.H=e!==null&&e.memoizedState!==null?F3:pu!==null?h7:G3,Xg=b=(a.mode&Jr)!==ia;var D=X3(s,d,y);if(Xg=!1,Qv&&(D=Fi(a,s,d,y)),b){Pe(!0);try{D=Fi(a,s,d,y)}finally{Pe(!1)}}return lf(e,a),D}function lf(e,a){a._debugHookTypes=pu,a.dependencies===null?qh!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:qh}):a.dependencies._debugThenableState=qh,pe.H=kS;var s=Fn!==null&&Fn.next!==null;if(Xp=0,pu=Se=yi=Fn=Nt=null,Gh=-1,e!==null&&(e.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),$S=!1,Vb=0,qh=null,s)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||sr||(e=e.dependencies,e!==null&&wi(e)&&(sr=!0)),jS?(jS=!1,e=!0):e=!1,e&&(a=De(a)||"Unknown",f7.has(a)||q3.has(a)||(f7.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Fi(e,a,s,d){Nt=e;var y=0;do{if(Qv&&(qh=null),Vb=0,Qv=!1,y>=QX)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(y+=1,Ub=!1,yi=Fn=null,e.updateQueue!=null){var b=e.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}Gh=-1,pe.H=m7,b=X3(a,s,d)}while(Qv);return b}function kr(){var e=pe.H,a=e.useState()[0];return a=typeof a.then=="function"?Eo(a):a,e=e.useState()[0],(Fn!==null?Fn.memoizedState:null)!==e&&(Nt.flags|=1024),a}function Dn(){var e=HS!==0;return HS=0,e}function Nn(e,a,s){a.updateQueue=e.updateQueue,a.flags=(a.mode&dc)!==ia?a.flags&-402655237:a.flags&-2053,e.lanes&=~s}function cs(e){if($S){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}$S=!1}Xp=0,pu=yi=Fn=Nt=null,Gh=-1,Se=null,Qv=!1,Vb=HS=0,qh=null}function pa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yi===null?Nt.memoizedState=yi=e:yi=yi.next=e,yi}function ln(){if(Fn===null){var e=Nt.alternate;e=e!==null?e.memoizedState:null}else e=Fn.next;var a=yi===null?Nt.memoizedState:yi.next;if(a!==null)yi=a,Fn=e;else{if(e===null)throw Nt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Fn=e,e={memoizedState:Fn.memoizedState,baseState:Fn.baseState,baseQueue:Fn.baseQueue,queue:Fn.queue,next:null},yi===null?Nt.memoizedState=yi=e:yi=yi.next=e}return yi}function zd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Eo(e){var a=Vb;return Vb+=1,qh===null&&(qh=sf()),e=km(qh,e,a),a=Nt,(yi===null?a.memoizedState:yi.next)===null&&(a=a.alternate,pe.H=a!==null&&a.memoizedState!==null?F3:G3),e}function Vn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Eo(e);if(e.$$typeof===ft)return $n(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function hn(e){var a=null,s=Nt.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var d=Nt.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(a={data:d.data.map(function(y){return y.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=zd(),Nt.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0||Ub)for(s=a.data[a.index]=Array(e),d=0;d<e;d++)s[d]=Dv;else s.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",s.length,e);return a.index++,s}function At(e,a){return typeof a=="function"?a(e):a}function mr(e,a,s){var d=pa();if(s!==void 0){var y=s(a);if(Xg){Pe(!0);try{s(a)}finally{Pe(!1)}}}else y=a;return d.memoizedState=d.baseState=y,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:y},d.queue=e,e=e.dispatch=ds.bind(null,Nt,e),[d.memoizedState,e]}function Oa(e){var a=ln();return El(a,Fn,e)}function El(e,a,s){var d=e.queue;if(d===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");d.lastRenderedReducer=s;var y=e.baseQueue,b=d.pending;if(b!==null){if(y!==null){var D=y.next;y.next=b.next,b.next=D}a.baseQueue!==y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=y=b,d.pending=null}if(b=e.baseState,y===null)e.memoizedState=b;else{a=y.next;var _=D=null,$=null,G=a,ye=!1;do{var Te=G.lane&-536870913;if(Te!==G.lane?(Jt&Te)===Te:(Xp&Te)===Te){var ge=G.revertLane;if(ge===0)$!==null&&($=$.next={lane:0,revertLane:0,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),Te===qg&&(ye=!0);else if((Xp&ge)===ge){G=G.next,ge===qg&&(ye=!0);continue}else Te={lane:0,revertLane:G.revertLane,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},$===null?(_=$=Te,D=b):$=$.next=Te,Nt.lanes|=ge,Kp|=ge;Te=G.action,Xg&&s(b,Te),b=G.hasEagerState?G.eagerState:s(b,Te)}else ge={lane:Te,revertLane:G.revertLane,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},$===null?(_=$=ge,D=b):$=$.next=ge,Nt.lanes|=Te,Kp|=Te;G=G.next}while(G!==null&&G!==a);if($===null?D=b:$.next=_,!Ve(b,e.memoizedState)&&(sr=!0,ye&&(s=Fv,s!==null)))throw s;e.memoizedState=b,e.baseState=D,e.baseQueue=$,d.lastRenderedState=b}return y===null&&(d.lanes=0),[e.memoizedState,d.dispatch]}function di(e){var a=ln(),s=a.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=e;var d=s.dispatch,y=s.pending,b=a.memoizedState;if(y!==null){s.pending=null;var D=y=y.next;do b=e(b,D.action),D=D.next;while(D!==y);Ve(b,a.memoizedState)||(sr=!0),a.memoizedState=b,a.baseQueue===null&&(a.baseState=b),s.lastRenderedState=b}return[b,d]}function Ym(e,a,s){var d=Nt,y=pa();if(gn){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var b=s();Zv||b===s()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Zv=!0)}else{if(b=a(),Zv||(s=a(),Ve(b,s)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Zv=!0)),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Jt&124)!==0||uf(d,a,b)}return y.memoizedState=b,s={value:b,getSnapshot:a},y.queue=s,Ld(Y0.bind(null,d,s,e),[e]),d.flags|=2048,$s(mu|Ui,hf(),cf.bind(null,d,s,b,a),null),b}function Nd(e,a,s){var d=Nt,y=ln(),b=gn;if(b){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=s()}else if(s=a(),!Zv){var D=a();Ve(s,D)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Zv=!0)}(D=!Ve((Fn||y).memoizedState,s))&&(y.memoizedState=s,sr=!0),y=y.queue;var _=Y0.bind(null,d,y,e);if(Xi(2048,Ui,_,[e]),y.getSnapshot!==a||D||yi!==null&&yi.memoizedState.tag&mu){if(d.flags|=2048,$s(mu|Ui,hf(),cf.bind(null,d,y,s,a),null),Qn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");b||(Xp&124)!==0||uf(d,a,s)}return s}function uf(e,a,s){e.flags|=16384,e={getSnapshot:a,value:s},a=Nt.updateQueue,a===null?(a=zd(),Nt.updateQueue=a,a.stores=[e]):(s=a.stores,s===null?a.stores=[e]:s.push(e))}function cf(e,a,s,d){a.value=s,a.getSnapshot=d,Co(a)&&Cl(e)}function Y0(e,a,s){return s(function(){Co(a)&&Cl(e)})}function Co(e){var a=e.getSnapshot;e=e.value;try{var s=a();return!Ve(e,s)}catch{return!0}}function Cl(e){var a=Hi(e,2);a!==null&&Yt(a,e,2)}function Bs(e){var a=pa();if(typeof e=="function"){var s=e;if(e=s(),Xg){Pe(!0);try{s()}finally{Pe(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:e},a}function B(e){e=Bs(e);var a=e.queue,s=ei.bind(null,Nt,a);return a.dispatch=s,[e.memoizedState,s]}function Ci(e){var a=pa();a.memoizedState=a.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=Hd.bind(null,Nt,!0,s),s.dispatch=a,[e,a]}function pr(e,a){var s=ln();return Di(s,Fn,e,a)}function Di(e,a,s,d){return e.baseState=s,El(e,Fn,typeof d=="function"?d:At)}function Ht(e,a){var s=ln();return Fn!==null?Di(s,Fn,e,a):(s.baseState=e,[e,s.queue.dispatch])}function Vd(e,a,s,d,y){if(Hs(e))throw Error("Cannot update form state while rendering.");if(e=a.action,e!==null){var b={payload:y,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(D){b.listeners.push(D)}};pe.T!==null?s(!0):b.isTransition=!1,d(b),s=a.pending,s===null?(b.next=a.pending=b,Ud(a,b)):(b.next=s.next,a.pending=s.next=b)}}function Ud(e,a){var s=a.action,d=a.payload,y=e.state;if(a.isTransition){var b=pe.T,D={};pe.T=D,pe.T._updatedFibers=new Set;try{var _=s(y,d),$=pe.S;$!==null&&$(D,_),Dl(e,a,_)}catch(G){ff(e,a,G)}finally{pe.T=b,b===null&&D._updatedFibers&&(e=D._updatedFibers.size,D._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{D=s(y,d),Dl(e,a,D)}catch(G){ff(e,a,G)}}function Dl(e,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?(s.then(function(d){Xn(e,a,d)},function(d){return ff(e,a,d)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Xn(e,a,s)}function Xn(e,a,s){a.status="fulfilled",a.value=s,q0(a),e.state=s,a=e.pending,a!==null&&(s=a.next,s===a?e.pending=null:(s=s.next,a.next=s,Ud(e,s)))}function ff(e,a,s){var d=e.pending;if(e.pending=null,d!==null){d=d.next;do a.status="rejected",a.reason=s,q0(a),a=a.next;while(a!==d)}e.action=null}function q0(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function sv(e,a){return a}function df(e,a){if(gn){var s=Qn.formState;if(s!==null){e:{var d=Nt;if(gn){if(Xa){t:{for(var y=Xa,b=Kf;y.nodeType!==8;){if(!b){y=null;break t}if(y=nr(y.nextSibling),y===null){y=null;break t}}b=y.data,y=b===bC||b===d2?y:null}if(y){Xa=nr(y.nextSibling),d=y.data===bC;break e}}bl(d)}d=!1}d&&(a=s[0])}}return s=pa(),s.memoizedState=s.baseState=a,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sv,lastRenderedState:a},s.queue=d,s=ei.bind(null,Nt,d),d.dispatch=s,d=Bs(!1),b=Hd.bind(null,Nt,!1,d.queue),d=pa(),y={state:a,dispatch:null,action:e,pending:null},d.queue=y,s=Vd.bind(null,Nt,y,b,s),y.dispatch=s,d.memoizedState=e,[a,s,!1]}function qm(e){var a=ln();return Tn(a,Fn,e)}function Tn(e,a,s){if(a=El(e,a,sv)[0],e=Oa(At)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var d=Eo(a)}catch(D){throw D===zb?LS:D}else d=a;a=ln();var y=a.queue,b=y.dispatch;return s!==a.memoizedState&&(Nt.flags|=2048,$s(mu|Ui,hf(),G0.bind(null,y,s),null)),[d,b,e]}function G0(e,a){e.action=a}function Ml(e){var a=ln(),s=Fn;if(s!==null)return Tn(a,s,e);ln(),a=a.memoizedState,s=ln();var d=s.queue.dispatch;return s.memoizedState=e,[a,d,!1]}function $s(e,a,s,d){return e={tag:e,create:s,deps:d,inst:a,next:null},a=Nt.updateQueue,a===null&&(a=zd(),Nt.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=e.next=e:(d=s.next,s.next=e,e.next=d,a.lastEffect=e),e}function hf(){return{destroy:void 0,resource:void 0}}function Ol(e){var a=pa();return e={current:e},a.memoizedState=e}function ga(e,a,s,d){var y=pa();d=d===void 0?null:d,Nt.flags|=e,y.memoizedState=$s(mu|a,hf(),s,d)}function Xi(e,a,s,d){var y=ln();d=d===void 0?null:d;var b=y.memoizedState.inst;Fn!==null&&d!==null&&js(d,Fn.memoizedState.deps)?y.memoizedState=$s(a,b,s,d):(Nt.flags|=e,y.memoizedState=$s(mu|a,b,s,d))}function Ld(e,a){(Nt.mode&dc)!==ia&&(Nt.mode&K8)===ia?ga(276826112,Ui,e,a):ga(8390656,Ui,e,a)}function F0(e,a){var s=4194308;return(Nt.mode&dc)!==ia&&(s|=134217728),ga(s,Ar,e,a)}function X0(e,a){if(typeof a=="function"){e=e();var s=a(e);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),e=e(),a.current=e,function(){a.current=null}}function Do(e,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([e]):null;var d=4194308;(Nt.mode&dc)!==ia&&(d|=134217728),ga(d,Ar,X0.bind(null,a,e),s)}function Pr(e,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([e]):null,Xi(4,Ar,X0.bind(null,a,e),s)}function mf(e,a){return pa().memoizedState=[e,a===void 0?null:a],e}function jd(e,a){var s=ln();a=a===void 0?null:a;var d=s.memoizedState;return a!==null&&js(a,d[1])?d[0]:(s.memoizedState=[e,a],e)}function Ja(e,a){var s=pa();a=a===void 0?null:a;var d=e();if(Xg){Pe(!0);try{e()}finally{Pe(!1)}}return s.memoizedState=[d,a],d}function Bd(e,a){var s=ln();a=a===void 0?null:a;var d=s.memoizedState;if(a!==null&&js(a,d[1]))return d[0];if(d=e(),Xg){Pe(!0);try{e()}finally{Pe(!1)}}return s.memoizedState=[d,a],d}function pf(e,a){var s=pa();return gf(s,e,a)}function Gm(e,a){var s=ln();return Fm(s,Fn.memoizedState,e,a)}function Z0(e,a){var s=ln();return Fn===null?gf(s,e,a):Fm(s,Fn.memoizedState,e,a)}function gf(e,a,s){return s===void 0||(Xp&1073741824)!==0?e.memoizedState=a:(e.memoizedState=s,e=lg(),Nt.lanes|=e,Kp|=e,s)}function Fm(e,a,s,d){return Ve(s,a)?s:Xv.current!==null?(e=gf(e,s,d),Ve(e,a)||(sr=!0),e):(Xp&42)===0?(sr=!0,e.memoizedState=s):(e=lg(),Nt.lanes|=e,Kp|=e,a)}function ju(e,a,s,d,y){var b=cn.p;cn.p=b!==0&&b<Ks?b:Ks;var D=pe.T,_={};pe.T=_,Hd(e,!1,a,s),_._updatedFibers=new Set;try{var $=y(),G=pe.S;if(G!==null&&G(_,$),$!==null&&typeof $=="object"&&typeof $.then=="function"){var ye=Hm($,d);yf(e,a,ye,Ii(e))}else yf(e,a,d,Ii(e))}catch(Te){yf(e,a,{then:function(){},status:"rejected",reason:Te},Ii(e))}finally{cn.p=b,pe.T=D,D===null&&_._updatedFibers&&(e=_._updatedFibers.size,_._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Xm(e,a,s,d){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var y=Q0(e).queue;ju(e,y,a,iy,s===null?C:function(){return fs(e),s(d)})}function Q0(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:iy,baseState:iy,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:iy},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:s},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function fs(e){pe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=Q0(e).next.queue;yf(e,a,{},Ii(e))}function Mo(){var e=Bs(!1);return e=ju.bind(null,Nt,e.queue,!0,!1),pa().memoizedState=e,[!1,e]}function Bu(){var e=Oa(At)[0],a=ln().memoizedState;return[typeof e=="boolean"?e:Eo(e),a]}function Oo(){var e=di(At)[0],a=ln().memoizedState;return[typeof e=="boolean"?e:Eo(e),a]}function Mi(){return $n(Wb)}function $u(){var e=pa(),a=Qn.identifierPrefix;if(gn){var s=Ph,d=kh;s=(d&~(1<<32-lt(d)-1)).toString(32)+s,a="«"+a+"R"+s,s=HS++,0<s&&(a+="H"+s.toString(32)),a+="»"}else s=ZX++,a="«"+a+"r"+s.toString(32)+"»";return e.memoizedState=a}function gr(){return pa().memoizedState=$d.bind(null,Nt)}function $d(e,a){for(var s=e.return;s!==null;){switch(s.tag){case 24:case 3:var d=Ii(s);e=Gi(d);var y=Ba(s,e,d);y!==null&&(Yt(y,s,d),Us(y,s,d)),s=k0(),a!=null&&y!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:s};return}s=s.return}}function ds(e,a,s){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=Ii(e);var y={lane:d,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};Hs(e)?Ro(a,y):(y=Md(e,a,y,d),y!==null&&(Yt(y,e,d),ks(y,a,d))),dn(e,d)}function ei(e,a,s){var d=arguments;typeof d[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),d=Ii(e),yf(e,a,s,d),dn(e,d)}function yf(e,a,s,d){var y={lane:d,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Hs(e))Ro(a,y);else{var b=e.alternate;if(e.lanes===0&&(b===null||b.lanes===0)&&(b=a.lastRenderedReducer,b!==null)){var D=pe.H;pe.H=mc;try{var _=a.lastRenderedState,$=b(_,s);if(y.hasEagerState=!0,y.eagerState=$,Ve($,_))return zm(e,a,y,0),Qn===null&&Jc(),!1}catch{}finally{pe.H=D}}if(s=Md(e,a,y,d),s!==null)return Yt(s,e,d),ks(s,a,d),!0}return!1}function Hd(e,a,s,d){if(pe.T===null&&qg===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),d={lane:2,revertLane:pp(),action:d,hasEagerState:!1,eagerState:null,next:null},Hs(e)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=Md(e,s,d,2),a!==null&&Yt(a,e,2);dn(e,2)}function Hs(e){var a=e.alternate;return e===Nt||a!==null&&a===Nt}function Ro(e,a){Qv=$S=!0;var s=e.pending;s===null?a.next=a:(a.next=s.next,s.next=a),e.pending=a}function ks(e,a,s){if((s&4194048)!==0){var d=a.lanes;d&=e.pendingLanes,s|=d,a.lanes=s,La(e,s)}}function ya(e){var a=Xt;return e!=null&&(Xt=a===null?e:a.concat(e)),a}function vf(e,a,s){for(var d=Object.keys(e.props),y=0;y<d.length;y++){var b=d[y];if(b!=="children"&&b!=="key"){a===null&&(a=Nu(e,s.mode,0),a._debugInfo=Xt,a.return=s),at(a,function(D){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",D)},b);break}}}function Zi(e){var a=Lb;return Lb+=1,Kv===null&&(Kv=sf()),km(Kv,e,a)}function Ct(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function rn(e,a){throw a.$$typeof===vb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
817
|
+
- Multiple copies of the "react" package is used.
|
|
818
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
819
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function kt(e,a){var s=De(e)||"Component";O7[s]||(O7[s]=!0,a=a.displayName||a.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
820
|
+
root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
821
|
+
<%s>{%s}</%s>`,a,a,s,a,s))}function _o(e,a){var s=De(e)||"Component";R7[s]||(R7[s]=!0,a=String(a),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
822
|
+
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
823
|
+
<%s>%s</%s>`,s,a,s))}function Rl(e){function a(K,I){if(e){var te=K.deletions;te===null?(K.deletions=[I],K.flags|=16):te.push(I)}}function s(K,I){if(!e)return null;for(;I!==null;)a(K,I),I=I.sibling;return null}function d(K){for(var I=new Map;K!==null;)K.key!==null?I.set(K.key,K):I.set(K.index,K),K=K.sibling;return I}function y(K,I){return K=Lr(K,I),K.index=0,K.sibling=null,K}function b(K,I,te){return K.index=te,e?(te=K.alternate,te!==null?(te=te.index,te<I?(K.flags|=67108866,I):te):(K.flags|=67108866,I)):(K.flags|=1048576,I)}function D(K){return e&&K.alternate===null&&(K.flags|=67108866),K}function _(K,I,te,Ce){return I===null||I.tag!==6?(I=L0(te,K.mode,Ce),I.return=K,I._debugOwner=K,I._debugTask=K._debugTask,I._debugInfo=Xt,I):(I=y(I,te),I.return=K,I._debugInfo=Xt,I)}function $(K,I,te,Ce){var Fe=te.type;return Fe===eu?(I=ye(K,I,te.props.children,Ce,te.key),vf(te,I,K),I):I!==null&&(I.elementType===Fe||zu(I,te)||typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===ba&&Zp(Fe)===I.type)?(I=y(I,te.props),Ct(I,te),I.return=K,I._debugOwner=te._owner,I._debugInfo=Xt,I):(I=Nu(te,K.mode,Ce),Ct(I,te),I.return=K,I._debugInfo=Xt,I)}function G(K,I,te,Ce){return I===null||I.tag!==4||I.stateNode.containerInfo!==te.containerInfo||I.stateNode.implementation!==te.implementation?(I=jm(te,K.mode,Ce),I.return=K,I._debugInfo=Xt,I):(I=y(I,te.children||[]),I.return=K,I._debugInfo=Xt,I)}function ye(K,I,te,Ce,Fe){return I===null||I.tag!==7?(I=ki(te,K.mode,Ce,Fe),I.return=K,I._debugOwner=K,I._debugTask=K._debugTask,I._debugInfo=Xt,I):(I=y(I,te),I.return=K,I._debugInfo=Xt,I)}function Te(K,I,te){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=L0(""+I,K.mode,te),I.return=K,I._debugOwner=K,I._debugTask=K._debugTask,I._debugInfo=Xt,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Zo:return te=Nu(I,K.mode,te),Ct(te,I),te.return=K,K=ya(I._debugInfo),te._debugInfo=Xt,Xt=K,te;case Rt:return I=jm(I,K.mode,te),I.return=K,I._debugInfo=Xt,I;case ba:var Ce=ya(I._debugInfo);return I=Zp(I),K=Te(K,I,te),Xt=Ce,K}if(Na(I)||be(I))return te=ki(I,K.mode,te,null),te.return=K,te._debugOwner=K,te._debugTask=K._debugTask,K=ya(I._debugInfo),te._debugInfo=Xt,Xt=K,te;if(typeof I.then=="function")return Ce=ya(I._debugInfo),K=Te(K,Zi(I),te),Xt=Ce,K;if(I.$$typeof===ft)return Te(K,Rd(K,I),te);rn(K,I)}return typeof I=="function"&&kt(K,I),typeof I=="symbol"&&_o(K,I),null}function ge(K,I,te,Ce){var Fe=I!==null?I.key:null;if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return Fe!==null?null:_(K,I,""+te,Ce);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Zo:return te.key===Fe?(Fe=ya(te._debugInfo),K=$(K,I,te,Ce),Xt=Fe,K):null;case Rt:return te.key===Fe?G(K,I,te,Ce):null;case ba:return Fe=ya(te._debugInfo),te=Zp(te),K=ge(K,I,te,Ce),Xt=Fe,K}if(Na(te)||be(te))return Fe!==null?null:(Fe=ya(te._debugInfo),K=ye(K,I,te,Ce,null),Xt=Fe,K);if(typeof te.then=="function")return Fe=ya(te._debugInfo),K=ge(K,I,Zi(te),Ce),Xt=Fe,K;if(te.$$typeof===ft)return ge(K,I,Rd(K,te),Ce);rn(K,te)}return typeof te=="function"&&kt(K,te),typeof te=="symbol"&&_o(K,te),null}function Ee(K,I,te,Ce,Fe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"||typeof Ce=="bigint")return K=K.get(te)||null,_(I,K,""+Ce,Fe);if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case Zo:return te=K.get(Ce.key===null?te:Ce.key)||null,K=ya(Ce._debugInfo),I=$(I,te,Ce,Fe),Xt=K,I;case Rt:return K=K.get(Ce.key===null?te:Ce.key)||null,G(I,K,Ce,Fe);case ba:var Bt=ya(Ce._debugInfo);return Ce=Zp(Ce),I=Ee(K,I,te,Ce,Fe),Xt=Bt,I}if(Na(Ce)||be(Ce))return te=K.get(te)||null,K=ya(Ce._debugInfo),I=ye(I,te,Ce,Fe,null),Xt=K,I;if(typeof Ce.then=="function")return Bt=ya(Ce._debugInfo),I=Ee(K,I,te,Zi(Ce),Fe),Xt=Bt,I;if(Ce.$$typeof===ft)return Ee(K,I,te,Rd(I,Ce),Fe);rn(I,Ce)}return typeof Ce=="function"&&kt(I,Ce),typeof Ce=="symbol"&&_o(I,Ce),null}function it(K,I,te,Ce){if(typeof te!="object"||te===null)return Ce;switch(te.$$typeof){case Zo:case Rt:S(K,I,te);var Fe=te.key;if(typeof Fe!="string")break;if(Ce===null){Ce=new Set,Ce.add(Fe);break}if(!Ce.has(Fe)){Ce.add(Fe);break}at(I,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Fe)});break;case ba:te=Zp(te),it(K,I,te,Ce)}return Ce}function wt(K,I,te,Ce){for(var Fe=null,Bt=null,rt=null,$t=I,Pt=I=0,ra=null;$t!==null&&Pt<te.length;Pt++){$t.index>Pt?(ra=$t,$t=null):ra=$t.sibling;var oi=ge(K,$t,te[Pt],Ce);if(oi===null){$t===null&&($t=ra);break}Fe=it(K,oi,te[Pt],Fe),e&&$t&&oi.alternate===null&&a(K,$t),I=b(oi,I,Pt),rt===null?Bt=oi:rt.sibling=oi,rt=oi,$t=ra}if(Pt===te.length)return s(K,$t),gn&&Ma(K,Pt),Bt;if($t===null){for(;Pt<te.length;Pt++)$t=Te(K,te[Pt],Ce),$t!==null&&(Fe=it(K,$t,te[Pt],Fe),I=b($t,I,Pt),rt===null?Bt=$t:rt.sibling=$t,rt=$t);return gn&&Ma(K,Pt),Bt}for($t=d($t);Pt<te.length;Pt++)ra=Ee($t,K,Pt,te[Pt],Ce),ra!==null&&(Fe=it(K,ra,te[Pt],Fe),e&&ra.alternate!==null&&$t.delete(ra.key===null?Pt:ra.key),I=b(ra,I,Pt),rt===null?Bt=ra:rt.sibling=ra,rt=ra);return e&&$t.forEach(function(Ih){return a(K,Ih)}),gn&&Ma(K,Pt),Bt}function Kn(K,I,te,Ce){if(te==null)throw Error("An iterable object provided no iterator.");for(var Fe=null,Bt=null,rt=I,$t=I=0,Pt=null,ra=null,oi=te.next();rt!==null&&!oi.done;$t++,oi=te.next()){rt.index>$t?(Pt=rt,rt=null):Pt=rt.sibling;var Ih=ge(K,rt,oi.value,Ce);if(Ih===null){rt===null&&(rt=Pt);break}ra=it(K,Ih,oi.value,ra),e&&rt&&Ih.alternate===null&&a(K,rt),I=b(Ih,I,$t),Bt===null?Fe=Ih:Bt.sibling=Ih,Bt=Ih,rt=Pt}if(oi.done)return s(K,rt),gn&&Ma(K,$t),Fe;if(rt===null){for(;!oi.done;$t++,oi=te.next())rt=Te(K,oi.value,Ce),rt!==null&&(ra=it(K,rt,oi.value,ra),I=b(rt,I,$t),Bt===null?Fe=rt:Bt.sibling=rt,Bt=rt);return gn&&Ma(K,$t),Fe}for(rt=d(rt);!oi.done;$t++,oi=te.next())Pt=Ee(rt,K,$t,oi.value,Ce),Pt!==null&&(ra=it(K,Pt,oi.value,ra),e&&Pt.alternate!==null&&rt.delete(Pt.key===null?$t:Pt.key),I=b(Pt,I,$t),Bt===null?Fe=Pt:Bt.sibling=Pt,Bt=Pt);return e&&rt.forEach(function(SZ){return a(K,SZ)}),gn&&Ma(K,$t),Fe}function nn(K,I,te,Ce){if(typeof te=="object"&&te!==null&&te.type===eu&&te.key===null&&(vf(te,null,K),te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case Zo:var Fe=ya(te._debugInfo);e:{for(var Bt=te.key;I!==null;){if(I.key===Bt){if(Bt=te.type,Bt===eu){if(I.tag===7){s(K,I.sibling),Ce=y(I,te.props.children),Ce.return=K,Ce._debugOwner=te._owner,Ce._debugInfo=Xt,vf(te,Ce,K),K=Ce;break e}}else if(I.elementType===Bt||zu(I,te)||typeof Bt=="object"&&Bt!==null&&Bt.$$typeof===ba&&Zp(Bt)===I.type){s(K,I.sibling),Ce=y(I,te.props),Ct(Ce,te),Ce.return=K,Ce._debugOwner=te._owner,Ce._debugInfo=Xt,K=Ce;break e}s(K,I);break}else a(K,I);I=I.sibling}te.type===eu?(Ce=ki(te.props.children,K.mode,Ce,te.key),Ce.return=K,Ce._debugOwner=K,Ce._debugTask=K._debugTask,Ce._debugInfo=Xt,vf(te,Ce,K),K=Ce):(Ce=Nu(te,K.mode,Ce),Ct(Ce,te),Ce.return=K,Ce._debugInfo=Xt,K=Ce)}return K=D(K),Xt=Fe,K;case Rt:e:{for(Fe=te,te=Fe.key;I!==null;){if(I.key===te)if(I.tag===4&&I.stateNode.containerInfo===Fe.containerInfo&&I.stateNode.implementation===Fe.implementation){s(K,I.sibling),Ce=y(I,Fe.children||[]),Ce.return=K,K=Ce;break e}else{s(K,I);break}else a(K,I);I=I.sibling}Ce=jm(Fe,K.mode,Ce),Ce.return=K,K=Ce}return D(K);case ba:return Fe=ya(te._debugInfo),te=Zp(te),K=nn(K,I,te,Ce),Xt=Fe,K}if(Na(te))return Fe=ya(te._debugInfo),K=wt(K,I,te,Ce),Xt=Fe,K;if(be(te)){if(Fe=ya(te._debugInfo),Bt=be(te),typeof Bt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var rt=Bt.call(te);return rt===te?(K.tag!==0||Object.prototype.toString.call(K.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(rt)!=="[object Generator]")&&(D7||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),D7=!0):te.entries!==Bt||Q3||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Q3=!0),K=Kn(K,I,rt,Ce),Xt=Fe,K}if(typeof te.then=="function")return Fe=ya(te._debugInfo),K=nn(K,I,Zi(te),Ce),Xt=Fe,K;if(te.$$typeof===ft)return nn(K,I,Rd(K,te),Ce);rn(K,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(Fe=""+te,I!==null&&I.tag===6?(s(K,I.sibling),Ce=y(I,Fe),Ce.return=K,K=Ce):(s(K,I),Ce=L0(Fe,K.mode,Ce),Ce.return=K,Ce._debugOwner=K,Ce._debugTask=K._debugTask,Ce._debugInfo=Xt,K=Ce),D(K)):(typeof te=="function"&&kt(K,te),typeof te=="symbol"&&_o(K,te),s(K,I))}return function(K,I,te,Ce){var Fe=Xt;Xt=null;try{Lb=0;var Bt=nn(K,I,te,Ce);return Kv=null,Bt}catch(ra){if(ra===zb||ra===LS)throw ra;var rt=R(29,ra,null,K.mode);rt.lanes=Ce,rt.return=K;var $t=rt._debugInfo=Xt;if(rt._debugOwner=K._debugOwner,rt._debugTask=K._debugTask,$t!=null){for(var Pt=$t.length-1;0<=Pt;Pt--)if(typeof $t[Pt].stack=="string"){rt._debugOwner=$t[Pt],rt._debugTask=$t[Pt].debugTask;break}}return rt}finally{Xt=Fe}}}function Zn(e){var a=e.alternate;We(Li,Li.current&Wv,e),We(gu,e,e),Wf===null&&(a===null||Xv.current!==null||a.memoizedState!==null)&&(Wf=e)}function Hu(e){if(e.tag===22){if(We(Li,Li.current,e),We(gu,e,e),Wf===null){var a=e.alternate;a!==null&&a.memoizedState!==null&&(Wf=e)}}else Oi(e)}function Oi(e){We(Li,Li.current,e),We(gu,gu.current,e)}function va(e){ke(gu,e),Wf===e&&(Wf=null),ke(Li,e)}function kd(e){for(var a=e;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data===Zh||Kl(s)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Ft(e){if(e!==null&&typeof e!="function"){var a=String(e);P7.has(a)||(P7.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ku(e,a,s,d){var y=e.memoizedState,b=s(d,y);if(e.mode&Jr){Pe(!0);try{b=s(d,y)}finally{Pe(!1)}}b===void 0&&(a=de(a)||"Component",B7.has(a)||(B7.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),y=b==null?y:Et({},y,b),e.memoizedState=y,e.lanes===0&&(e.updateQueue.baseState=y)}function Zm(e,a,s,d,y,b,D){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){if(s=_.shouldComponentUpdate(d,b,D),e.mode&Jr){Pe(!0);try{s=_.shouldComponentUpdate(d,b,D)}finally{Pe(!1)}}return s===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",de(a)||"Component"),s}return a.prototype&&a.prototype.isPureReactComponent?!Wc(s,d)||!Wc(y,b):!0}function K0(e,a,s,d){var y=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,d),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,d),a.state!==y&&(e=De(e)||"Component",N7.has(e)||(N7.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),K3.enqueueReplaceState(a,a.state,null))}function _l(e,a){var s=a;if("ref"in a){s={};for(var d in a)d!=="ref"&&(s[d]=a[d])}if(e=e.defaultProps){s===a&&(s=Et({},s));for(var y in e)s[y]===void 0&&(s[y]=e[y])}return s}function Qm(e){I3(e),console.warn(`%s
|
|
824
|
+
|
|
825
|
+
%s
|
|
826
|
+
`,Jv?"An error occurred in the <"+Jv+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
827
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Km(e){var a=Jv?"The above error occurred in the <"+Jv+"> component.":"The above error occurred in one of your React components.",s="React will try to recreate this component tree from scratch using the error boundary you provided, "+((W3||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var d=e.environmentName;e=[`%o
|
|
828
|
+
|
|
829
|
+
%s
|
|
830
|
+
|
|
831
|
+
%s
|
|
832
|
+
`,e,a,s].slice(0),typeof e[0]=="string"?e.splice(0,1,x2+e[0],S2,sT+d+sT,T2):e.splice(0,0,x2,S2,sT+d+sT,T2),e.unshift(console),d=bZ.apply(console.error,e),d()}else console.error(`%o
|
|
833
|
+
|
|
834
|
+
%s
|
|
835
|
+
|
|
836
|
+
%s
|
|
837
|
+
`,e,a,s)}function zl(e){I3(e)}function Pu(e,a){try{Jv=a.source?De(a.source):null,W3=null;var s=a.value;if(pe.actQueue!==null)pe.thrownErrors.push(s);else{var d=e.onUncaughtError;d(s,{componentStack:a.stack})}}catch(y){setTimeout(function(){throw y})}}function Ri(e,a,s){try{Jv=s.source?De(s.source):null,W3=De(a);var d=e.onCaughtError;d(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function ea(e,a,s){return s=Gi(s),s.tag=k3,s.payload={element:null},s.callback=function(){at(a.source,Pu,e,a)},s}function zo(e){return e=Gi(e),e.tag=k3,e}function Yu(e,a,s,d){var y=s.type.getDerivedStateFromError;if(typeof y=="function"){var b=d.value;e.payload=function(){return y(b)},e.callback=function(){Vm(s),at(d.source,Ri,a,s,d)}}var D=s.stateNode;D!==null&&typeof D.componentDidCatch=="function"&&(e.callback=function(){Vm(s),at(d.source,Ri,a,s,d),typeof y!="function"&&(Wp===null?Wp=new Set([this]):Wp.add(this)),KX(this,d),typeof y=="function"||(s.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",De(s)||"Unknown")})}function Im(e,a,s,d,y){if(s.flags|=32768,xa&&Yl(e,y),d!==null&&typeof d=="object"&&typeof d.then=="function"){if(a=s.alternate,a!==null&&Pi(a,s,y,!0),gn&&(Yh=!0),s=gu.current,s!==null){switch(s.tag){case 13:return Wf===null?dp():s.alternate===null&&Za===Xh&&(Za=nC),s.flags&=-257,s.flags|=65536,s.lanes=y,d===H3?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([d]):a.add(d),mp(e,d,y)),!1;case 22:return s.flags|=65536,d===H3?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([d])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([d]):s.add(d)),mp(e,d,y)),!1}throw Error("Unexpected Suspense handler tag ("+s.tag+"). This is a bug in React.")}return mp(e,d,y),dp(),!1}if(gn)return Yh=!0,a=gu.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=y,d!==L3&&xl(la(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:d}),s))):(d!==L3&&xl(la(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:d}),s)),e=e.current.alternate,e.flags|=65536,y&=-y,e.lanes|=y,d=la(d,s),y=ea(e.stateNode,d,y),Ls(e,y),Za!==Zg&&(Za=a1)),!1;var b=la(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:d}),s);if(qb===null?qb=[b]:qb.push(b),Za!==Zg&&(Za=a1),a===null)return!0;d=la(d,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,e=y&-y,s.lanes|=e,e=ea(s.stateNode,d,e),Ls(s,e),!1;case 1:if(a=s.type,b=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Wp===null||!Wp.has(b))))return s.flags|=65536,y&=-y,s.lanes|=y,y=zo(y),Yu(y,e,s,d),Ls(s,y),!1}s=s.return}while(s!==null);return!1}function ua(e,a,s,d){a.child=e===null?_7(a,null,s,d):Iv(a,e.child,s,d)}function hs(e,a,s,d,y){s=s.render;var b=a.ref;if("ref"in d){var D={};for(var _ in d)_!=="ref"&&(D[_]=d[_])}else D=d;return xo(a),Tt(a),d=of(e,a,s,D,b,y),_=Dn(),pt(),e!==null&&!sr?(Nn(e,a,y),Ps(e,a,y)):(gn&&_&&yl(a),a.flags|=1,ua(e,a,d,y),a.child)}function Pd(e,a,s,d,y){if(e===null){var b=s.type;return typeof b=="function"&&!tf(b)&&b.defaultProps===void 0&&s.compare===null?(s=pl(b),a.tag=15,a.type=s,bf(a,b),Wm(e,a,s,d,y)):(e=Lm(s.type,null,d,a,a.mode,y),e.ref=a.ref,e.return=a,a.child=e)}if(b=e.child,!Qd(e,y)){var D=b.memoizedProps;if(s=s.compare,s=s!==null?s:Wc,s(D,d)&&e.ref===a.ref)return Ps(e,a,y)}return a.flags|=1,e=Lr(b,d),e.ref=a.ref,e.return=a,a.child=e}function Wm(e,a,s,d,y){if(e!==null){var b=e.memoizedProps;if(Wc(b,d)&&e.ref===a.ref&&a.type===e.type)if(sr=!1,a.pendingProps=d=b,Qd(e,y))(e.flags&131072)!==0&&(sr=!0);else return a.lanes=e.lanes,Ps(e,a,y)}return tp(e,a,s,d,y)}function Jm(e,a,s){var d=a.pendingProps,y=d.children,b=e!==null?e.memoizedState:null;if(d.mode==="hidden"){if((a.flags&128)!==0){if(d=b!==null?b.baseLanes|s:s,e!==null){for(y=a.child=e.child,b=0;y!==null;)b=b|y.lanes|y.childLanes,y=y.sibling;a.childLanes=b&~d}else a.childLanes=0,a.child=null;return ep(e,a,d,s)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&So(a,b!==null?b.cachePool:null),b!==null?Al(a,b):Wa(a),Hu(a);else return a.lanes=a.childLanes=536870912,ep(e,a,b!==null?b.baseLanes|s:s,s)}else b!==null?(So(a,b.cachePool),Al(a,b),Oi(a),a.memoizedState=null):(e!==null&&So(a,null),Wa(a),Oi(a));return ua(e,a,y,s),a.child}function ep(e,a,s,d){var y=P0();return y=y===null?null:{parent:Vi._currentValue,pool:y},a.memoizedState={baseLanes:s,cachePool:y},e!==null&&So(a,null),Wa(a),Hu(a),e!==null&&Pi(e,a,d,!0),null}function qu(e,a){var s=a.ref;if(s===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==s)&&(a.flags|=4194816)}}function tp(e,a,s,d,y){if(s.prototype&&typeof s.prototype.render=="function"){var b=de(s)||"Unknown";q7[b]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",b,b),q7[b]=!0)}return a.mode&Jr&&hc.recordLegacyContextWarning(a,null),e===null&&(bf(a,a.type),s.contextTypes&&(b=de(s)||"Unknown",F7[b]||(F7[b]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",b)))),xo(a),Tt(a),s=of(e,a,s,d,void 0,y),d=Dn(),pt(),e!==null&&!sr?(Nn(e,a,y),Ps(e,a,y)):(gn&&d&&yl(a),a.flags|=1,ua(e,a,s,y),a.child)}function Yd(e,a,s,d,y,b){return xo(a),Tt(a),Gh=-1,Ub=e!==null&&e.type!==a.type,a.updateQueue=null,s=Fi(a,d,s,y),lf(e,a),d=Dn(),pt(),e!==null&&!sr?(Nn(e,a,b),Ps(e,a,b)):(gn&&d&&yl(a),a.flags|=1,ua(e,a,s,b),a.child)}function np(e,a,s,d,y){switch(v(a)){case!1:var b=a.stateNode,D=new a.type(a.memoizedProps,b.context).state;b.updater.enqueueSetState(b,D,null);break;case!0:a.flags|=128,a.flags|=65536,b=Error("Simulated error coming from DevTools");var _=y&-y;if(a.lanes|=_,D=Qn,D===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");_=zo(_),Yu(_,D,a,la(b,a)),Ls(a,_)}if(xo(a),a.stateNode===null){if(D=Gp,b=s.contextType,"contextType"in s&&b!==null&&(b===void 0||b.$$typeof!==ft)&&!k7.has(s)&&(k7.add(s),_=b===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof b!="object"?" However, it is set to a "+typeof b+".":b.$$typeof===Ss?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(b).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",de(s)||"Component",_)),typeof b=="object"&&b!==null&&(D=$n(b)),b=new s(d,D),a.mode&Jr){Pe(!0);try{b=new s(d,D)}finally{Pe(!1)}}if(D=a.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=K3,a.stateNode=b,b._reactInternals=a,b._reactInternalInstance=z7,typeof s.getDerivedStateFromProps=="function"&&D===null&&(D=de(s)||"Component",V7.has(D)||(V7.add(D),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",D,b.state===null?"null":"undefined",D))),typeof s.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var $=_=D=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?D="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(D="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(_="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?$="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&($="UNSAFE_componentWillUpdate"),D!==null||_!==null||$!==null){b=de(s)||"Component";var G=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";L7.has(b)||(L7.add(b),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
838
|
+
|
|
839
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
840
|
+
|
|
841
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
842
|
+
https://react.dev/link/unsafe-component-lifecycles`,b,G,D!==null?`
|
|
843
|
+
`+D:"",_!==null?`
|
|
844
|
+
`+_:"",$!==null?`
|
|
845
|
+
`+$:""))}}b=a.stateNode,D=de(s)||"Component",b.render||(s.prototype&&typeof s.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",D):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",D)),!b.getInitialState||b.getInitialState.isReactClassApproved||b.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",D),b.getDefaultProps&&!b.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",D),b.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",D),s.childContextTypes&&!H7.has(s)&&(H7.add(s),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",D)),s.contextTypes&&!$7.has(s)&&($7.add(s),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",D)),typeof b.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",D),s.prototype&&s.prototype.isPureReactComponent&&typeof b.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",de(s)||"A pure component"),typeof b.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",D),typeof b.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",D),typeof b.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",D),typeof b.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",D),_=b.props!==d,b.props!==void 0&&_&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",D),b.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",D,D),typeof b.getSnapshotBeforeUpdate!="function"||typeof b.componentDidUpdate=="function"||U7.has(s)||(U7.add(s),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",de(s))),typeof b.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof b.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",D),typeof s.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",D),(_=b.state)&&(typeof _!="object"||Na(_))&&console.error("%s.state: must be set to an object or null",D),typeof b.getChildContext=="function"&&typeof s.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",D),b=a.stateNode,b.props=d,b.state=a.memoizedState,b.refs={},Sl(a),D=s.contextType,b.context=typeof D=="object"&&D!==null?$n(D):Gp,b.state===d&&(D=de(s)||"Component",j7.has(D)||(j7.add(D),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",D))),a.mode&Jr&&hc.recordLegacyContextWarning(a,b),hc.recordUnsafeLifecycleWarnings(a,b),b.state=a.memoizedState,D=s.getDerivedStateFromProps,typeof D=="function"&&(ku(a,s,D,d),b.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(D=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),D!==b.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",De(a)||"Component"),K3.enqueueReplaceState(b,b.state,null)),Ao(a,d,b,y),To(),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&dc)!==ia&&(a.flags|=134217728),b=!0}else if(e===null){b=a.stateNode;var ye=a.memoizedProps;_=_l(s,ye),b.props=_;var Te=b.context;$=s.contextType,D=Gp,typeof $=="object"&&$!==null&&(D=$n($)),G=s.getDerivedStateFromProps,$=typeof G=="function"||typeof b.getSnapshotBeforeUpdate=="function",ye=a.pendingProps!==ye,$||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(ye||Te!==D)&&K0(a,b,d,D),Fp=!1;var ge=a.memoizedState;b.state=ge,Ao(a,d,b,y),To(),Te=a.memoizedState,ye||ge!==Te||Fp?(typeof G=="function"&&(ku(a,s,G,d),Te=a.memoizedState),(_=Fp||Zm(a,s,_,d,ge,Te,D))?($||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&dc)!==ia&&(a.flags|=134217728)):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&dc)!==ia&&(a.flags|=134217728),a.memoizedProps=d,a.memoizedState=Te),b.props=d,b.state=Te,b.context=D,b=_):(typeof b.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&dc)!==ia&&(a.flags|=134217728),b=!1)}else{b=a.stateNode,_d(e,a),D=a.memoizedProps,$=_l(s,D),b.props=$,G=a.pendingProps,ge=b.context,Te=s.contextType,_=Gp,typeof Te=="object"&&Te!==null&&(_=$n(Te)),ye=s.getDerivedStateFromProps,(Te=typeof ye=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(D!==G||ge!==_)&&K0(a,b,d,_),Fp=!1,ge=a.memoizedState,b.state=ge,Ao(a,d,b,y),To();var Ee=a.memoizedState;D!==G||ge!==Ee||Fp||e!==null&&e.dependencies!==null&&wi(e.dependencies)?(typeof ye=="function"&&(ku(a,s,ye,d),Ee=a.memoizedState),($=Fp||Zm(a,s,$,d,ge,Ee,_)||e!==null&&e.dependencies!==null&&wi(e.dependencies))?(Te||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,Ee,_),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,Ee,_)),typeof b.componentDidUpdate=="function"&&(a.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof b.componentDidUpdate!="function"||D===e.memoizedProps&&ge===e.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||D===e.memoizedProps&&ge===e.memoizedState||(a.flags|=1024),a.memoizedProps=d,a.memoizedState=Ee),b.props=d,b.state=Ee,b.context=_,b=$):(typeof b.componentDidUpdate!="function"||D===e.memoizedProps&&ge===e.memoizedState||(a.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||D===e.memoizedProps&&ge===e.memoizedState||(a.flags|=1024),b=!1)}if(_=b,qu(e,a),D=(a.flags&128)!==0,_||D){if(_=a.stateNode,dl(a),D&&typeof s.getDerivedStateFromError!="function")s=null,no=-1;else{if(Tt(a),s=y7(_),a.mode&Jr){Pe(!0);try{y7(_)}finally{Pe(!1)}}pt()}a.flags|=1,e!==null&&D?(a.child=Iv(a,e.child,null,y),a.child=Iv(a,null,s,y)):ua(e,a,s,y),a.memoizedState=_.state,e=a.child}else e=Ps(e,a,y);return y=a.stateNode,b&&y.props!==d&&(e1||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",De(a)||"a component"),e1=!0),e}function ap(e,a,s,d){return af(),a.flags|=256,ua(e,a,s,d),a.child}function bf(e,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
846
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(e=de(a)||"Unknown",X7[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),X7[e]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=de(a)||"Unknown",G7[a]||(console.error("%s: Function components do not support contextType.",a),G7[a]=!0))}function Gu(e){return{baseLanes:e,cachePool:rf()}}function I0(e,a,s){return e=e!==null?e.childLanes&~s:0,a&&(e|=al),e}function ip(e,a,s){var d,y=a.pendingProps;g(a)&&(a.flags|=128);var b=!1,D=(a.flags&128)!==0;if((d=D)||(d=e!==null&&e.memoizedState===null?!1:(Li.current&jb)!==0),d&&(b=!0,a.flags&=-129),d=(a.flags&32)!==0,a.flags&=-33,e===null){if(gn){if(b?Zn(a):Oi(a),gn){var _=Xa,$;if(!($=!_)){e:{var G=_;for($=Kf;G.nodeType!==8;){if(!$){$=null;break e}if(G=nr(G.nextSibling),G===null){$=null;break e}}$=G}$!==null?(jr(),a.memoizedState={dehydrated:$,treeContext:kg!==null?{id:kh,overflow:Ph}:null,retryLane:536870912,hydrationErrors:null},G=R(18,null,null,ia),G.stateNode=$,G.return=a,a.child=G,Es=a,Xa=null,$=!0):$=!1,$=!$}$&&(nf(a,_),bl(a))}if(_=a.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return Kl(_)?a.lanes=32:a.lanes=536870912,null;va(a)}return _=y.children,y=y.fallback,b?(Oi(a),b=a.mode,_=Gd({mode:"hidden",children:_},b),y=ki(y,b,s,null),_.return=a,y.return=a,_.sibling=y,a.child=_,b=a.child,b.memoizedState=Gu(s),b.childLanes=I0(e,d,s),a.memoizedState=eC,y):(Zn(a),qd(a,_))}var ye=e.memoizedState;if(ye!==null&&(_=ye.dehydrated,_!==null)){if(D)a.flags&256?(Zn(a),a.flags&=-257,a=xf(e,a,s)):a.memoizedState!==null?(Oi(a),a.child=e.child,a.flags|=128,a=null):(Oi(a),b=y.fallback,_=a.mode,y=Gd({mode:"visible",children:y.children},_),b=ki(b,_,s,null),b.flags|=2,y.return=a,b.return=a,y.sibling=b,a.child=y,Iv(a,e.child,null,s),y=a.child,y.memoizedState=Gu(s),y.childLanes=I0(e,d,s),a.memoizedState=eC,a=b);else if(Zn(a),gn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Kl(_)){if(d=_.nextSibling&&_.nextSibling.dataset,d){$=d.dgst;var Te=d.msg;G=d.stck;var ge=d.cstck}_=Te,d=$,y=G,$=b=ge,b=Error(_||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),b.stack=y||"",b.digest=d,d=$===void 0?null:$,y={value:b,source:null,stack:d},typeof d=="string"&&N3.set(b,y),xl(y),a=xf(e,a,s)}else if(sr||Pi(e,a,s,!1),d=(s&e.childLanes)!==0,sr||d){if(d=Qn,d!==null&&(y=s&-s,y=(y&42)!==0?1:xi(y),y=(y&(d.suspendedLanes|s))!==0?0:y,y!==0&&y!==ye.retryLane))throw ye.retryLane=y,Hi(e,y),Yt(d,e,y),Y7;_.data===Zh||dp(),a=xf(e,a,s)}else _.data===Zh?(a.flags|=192,a.child=e.child,a=null):(e=ye.treeContext,Xa=nr(_.nextSibling),Es=a,gn=!0,Pg=null,Yh=!1,du=null,Kf=!1,e!==null&&(jr(),cu[fu++]=kh,cu[fu++]=Ph,cu[fu++]=kg,kh=e.id,Ph=e.overflow,kg=a),a=qd(a,y.children),a.flags|=4096);return a}return b?(Oi(a),b=y.fallback,_=a.mode,$=e.child,G=$.sibling,y=Lr($,{mode:"hidden",children:y.children}),y.subtreeFlags=$.subtreeFlags&65011712,G!==null?b=Lr(G,b):(b=ki(b,_,s,null),b.flags|=2),b.return=a,y.return=a,y.sibling=b,a.child=y,y=b,b=a.child,_=e.child.memoizedState,_===null?_=Gu(s):($=_.cachePool,$!==null?(G=Vi._currentValue,$=$.parent!==G?{parent:G,pool:G}:$):$=rf(),_={baseLanes:_.baseLanes|s,cachePool:$}),b.memoizedState=_,b.childLanes=I0(e,d,s),a.memoizedState=eC,y):(Zn(a),s=e.child,e=s.sibling,s=Lr(s,{mode:"visible",children:y.children}),s.return=a,s.sibling=null,e!==null&&(d=a.deletions,d===null?(a.deletions=[e],a.flags|=16):d.push(e)),a.child=s,a.memoizedState=null,s)}function qd(e,a){return a=Gd({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function Gd(e,a){return e=R(22,e,null,a),e.lanes=0,e.stateNode={_visibility:V3,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function xf(e,a,s){return Iv(a,e.child,null,s),e=qd(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function W0(e,a,s){e.lanes|=a;var d=e.alternate;d!==null&&(d.lanes|=a),H0(e.return,a,s)}function Fd(e,a){var s=Na(e);return e=!s&&typeof be(e)=="function",s||e?(s=s?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,a,s),!1):!0}function Xd(e,a,s,d,y){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:d,tail:s,tailMode:y}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=s,b.tailMode=y)}function Zd(e,a,s){var d=a.pendingProps,y=d.revealOrder,b=d.tail;if(d=d.children,y!==void 0&&y!=="forwards"&&y!=="backwards"&&y!=="together"&&!Z7[y])if(Z7[y]=!0,typeof y=="string")switch(y.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',y,y.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',y,y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',y);b===void 0||J3[b]||(b!=="collapsed"&&b!=="hidden"?(J3[b]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',b)):y!=="forwards"&&y!=="backwards"&&(J3[b]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',b)));e:if((y==="forwards"||y==="backwards")&&d!==void 0&&d!==null&&d!==!1)if(Na(d)){for(var D=0;D<d.length;D++)if(!Fd(d[D],D))break e}else if(D=be(d),typeof D=="function"){if(D=D.call(d))for(var _=D.next(),$=0;!_.done;_=D.next()){if(!Fd(_.value,$))break e;$++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',y);if(ua(e,a,d,s),d=Li.current,(d&jb)!==0)d=d&Wv|jb,a.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&W0(e,s,a);else if(e.tag===19)W0(e,s,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}d&=Wv}switch(We(Li,d,a),y){case"forwards":for(s=a.child,y=null;s!==null;)e=s.alternate,e!==null&&kd(e)===null&&(y=s),s=s.sibling;s=y,s===null?(y=a.child,a.child=null):(y=s.sibling,s.sibling=null),Xd(a,!1,y,s,b);break;case"backwards":for(s=null,y=a.child,a.child=null;y!==null;){if(e=y.alternate,e!==null&&kd(e)===null){a.child=y;break}e=y.sibling,y.sibling=s,s=y,y=e}Xd(a,!0,s,null,b);break;case"together":Xd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Ps(e,a,s){if(e!==null&&(a.dependencies=e.dependencies),no=-1,Kp|=a.lanes,(s&a.childLanes)===0)if(e!==null){if(Pi(e,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(e=a.child,s=Lr(e,e.pendingProps),a.child=s,s.return=a;e.sibling!==null;)e=e.sibling,s=s.sibling=Lr(e,e.pendingProps),s.return=a;s.sibling=null}return a.child}function Qd(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&wi(e)))}function Lt(e,a,s){switch(a.tag){case 3:Ge(a,a.stateNode.containerInfo),us(a,Vi,e.memoizedState.cache),af();break;case 27:case 5:ce(a);break;case 4:Ge(a,a.stateNode.containerInfo);break;case 10:us(a,a.type,a.memoizedProps.value);break;case 12:(s&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var d=a.stateNode;d.effectDuration=-0,d.passiveEffectDuration=-0;break;case 13:if(d=a.memoizedState,d!==null)return d.dehydrated!==null?(Zn(a),a.flags|=128,null):(s&a.child.childLanes)!==0?ip(e,a,s):(Zn(a),e=Ps(e,a,s),e!==null?e.sibling:null);Zn(a);break;case 19:var y=(e.flags&128)!==0;if(d=(s&a.childLanes)!==0,d||(Pi(e,a,s,!1),d=(s&a.childLanes)!==0),y){if(d)return Zd(e,a,s);a.flags|=128}if(y=a.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),We(Li,Li.current,a),d)break;return null;case 22:case 23:return a.lanes=0,Jm(e,a,s);case 24:us(a,Vi,e.memoizedState.cache)}return Ps(e,a,s)}function Nl(e,a,s){if(a._debugNeedsRemount&&e!==null){s=Lm(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),s._debugStack=a._debugStack,s._debugTask=a._debugTask;var d=a.return;if(d===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,a.alternate=null,s.index=a.index,s.sibling=a.sibling,s.return=a.return,s.ref=a.ref,s._debugInfo=a._debugInfo,a===d.child)d.child=s;else{var y=d.child;if(y===null)throw Error("Expected parent to have a child.");for(;y.sibling!==a;)if(y=y.sibling,y===null)throw Error("Expected to find the previous sibling.");y.sibling=s}return a=d.deletions,a===null?(d.deletions=[e],d.flags|=16):a.push(e),s.flags|=2,s}if(e!==null)if(e.memoizedProps!==a.pendingProps||a.type!==e.type)sr=!0;else{if(!Qd(e,s)&&(a.flags&128)===0)return sr=!1,Lt(e,a,s);sr=(e.flags&131072)!==0}else sr=!1,(d=gn)&&(jr(),d=(a.flags&1048576)!==0),d&&(d=a.index,jr(),Od(a,RS,d));switch(a.lanes=0,a.tag){case 16:e:if(d=a.pendingProps,e=Zp(a.elementType),a.type=e,typeof e=="function")tf(e)?(d=_l(e,d),a.tag=1,a.type=e=pl(e),a=np(null,a,e,d,s)):(a.tag=0,bf(a,e),a.type=e=pl(e),a=tp(null,a,e,d,s));else{if(e!=null){if(y=e.$$typeof,y===tu){a.tag=11,a.type=e=ef(e),a=hs(null,a,e,d,s);break e}else if(y===Op){a.tag=14,a=Pd(null,a,e,d,s);break e}}throw a="",e!==null&&typeof e=="object"&&e.$$typeof===ba&&(a=" Did you wrap a component in React.lazy() more than once?"),e=de(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return tp(e,a,a.type,a.pendingProps,s);case 1:return d=a.type,y=_l(d,a.pendingProps),np(e,a,d,y,s);case 3:e:{if(Ge(a,a.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");d=a.pendingProps;var b=a.memoizedState;y=b.element,_d(e,a),Ao(a,d,null,s);var D=a.memoizedState;if(d=D.cache,us(a,Vi,d),d!==b.cache&&Ai(a,[Vi],s,!0),To(),d=D.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:D.cache},a.updateQueue.baseState=b,a.memoizedState=b,a.flags&256){a=ap(e,a,d,s);break e}else if(d!==y){y=la(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),xl(y),a=ap(e,a,d,s);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Xa=nr(e.firstChild),Es=a,gn=!0,Pg=null,Yh=!1,du=null,Kf=!0,e=_7(a,null,d,s),a.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(af(),d===y){a=Ps(e,a,s);break e}ua(e,a,d,s)}a=a.child}return a;case 26:return qu(e,a),e===null?(e=vh(a.type,null,a.pendingProps,null))?a.memoizedState=e:gn||(e=a.type,s=a.pendingProps,d=et(Xs.current),d=sn(d).createElement(e),d[gi]=a,d[ir]=s,Ya(d,e,s),Da(d),a.stateNode=d):a.memoizedState=vh(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return ce(a),e===null&&gn&&(d=et(Xs.current),y=W(),d=a.stateNode=ar(a.type,a.pendingProps,d,y,!1),Yh||(y=Gt(d,a.type,a.pendingProps,y),y!==null&&(Vu(a,0).serverProps=y)),Es=a,Kf=!0,y=Xa,za(a.type)?(AC=y,Xa=nr(d.firstChild)):Xa=y),ua(e,a,a.pendingProps.children,s),qu(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&gn&&(b=W(),d=Td(a.type,b.ancestorInfo),y=Xa,(D=!y)||(D=ai(y,a.type,a.pendingProps,Kf),D!==null?(a.stateNode=D,Yh||(b=Gt(D,a.type,a.pendingProps,b),b!==null&&(Vu(a,0).serverProps=b)),Es=a,Xa=nr(D.firstChild),Kf=!1,b=!0):b=!1,D=!b),D&&(d&&nf(a,y),bl(a))),ce(a),y=a.type,b=a.pendingProps,D=e!==null?e.memoizedProps:null,d=b.children,Fl(y,b)?d=null:D!==null&&Fl(y,D)&&(a.flags|=32),a.memoizedState!==null&&(y=of(e,a,kr,null,null,s),Wb._currentValue=y),qu(e,a),ua(e,a,d,s),a.child;case 6:return e===null&&gn&&(e=a.pendingProps,s=W(),d=s.ancestorInfo.current,e=d!=null?Gc(e,d.tag,s.ancestorInfo.implicitRootScope):!0,s=Xa,(d=!s)||(d=Ql(s,a.pendingProps,Kf),d!==null?(a.stateNode=d,Es=a,Xa=null,d=!0):d=!1,d=!d),d&&(e&&nf(a,s),bl(a))),null;case 13:return ip(e,a,s);case 4:return Ge(a,a.stateNode.containerInfo),d=a.pendingProps,e===null?a.child=Iv(a,null,d,s):ua(e,a,d,s),a.child;case 11:return hs(e,a,a.type,a.pendingProps,s);case 7:return ua(e,a,a.pendingProps,s),a.child;case 8:return ua(e,a,a.pendingProps.children,s),a.child;case 12:return a.flags|=4,a.flags|=2048,d=a.stateNode,d.effectDuration=-0,d.passiveEffectDuration=-0,ua(e,a,a.pendingProps.children,s),a.child;case 10:return d=a.type,y=a.pendingProps,b=y.value,"value"in y||Q7||(Q7=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),us(a,d,b),ua(e,a,y.children,s),a.child;case 9:return y=a.type._context,d=a.pendingProps.children,typeof d!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xo(a),y=$n(y),Tt(a),d=X3(d,y,void 0),pt(),a.flags|=1,ua(e,a,d,s),a.child;case 14:return Pd(e,a,a.type,a.pendingProps,s);case 15:return Wm(e,a,a.type,a.pendingProps,s);case 19:return Zd(e,a,s);case 31:return d=a.pendingProps,s=a.mode,d={mode:d.mode,children:d.children},e===null?(e=Gd(d,s),e.ref=a.ref,a.child=e,e.return=a,a=e):(e=Lr(e.child,d),e.ref=a.ref,a.child=e,e.return=a,a=e),a;case 22:return Jm(e,a,s);case 24:return xo(a),d=$n(Vi),e===null?(y=P0(),y===null&&(y=Qn,b=k0(),y.pooledCache=b,$r(b),b!==null&&(y.pooledCacheLanes|=s),y=b),a.memoizedState={parent:d,cache:y},Sl(a),us(a,Vi,y)):((e.lanes&s)!==0&&(_d(e,a),Ao(a,null,null,s),To()),y=e.memoizedState,b=a.memoizedState,y.parent!==d?(y={parent:d,cache:d},a.memoizedState=y,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=y),us(a,Vi,d)):(d=b.cache,us(a,Vi,d),d!==y.cache&&Ai(a,[Vi],s,!0))),ua(e,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Yr(e){e.flags|=4}function Fu(e,a){if(a.type!=="stylesheet"||(a.state.loading&yu)!==ay)e.flags&=-16777217;else if(e.flags|=16777216,!Ag(a)){if(a=gu.current,a!==null&&((Jt&4194048)===Jt?Wf!==null:(Jt&62914560)!==Jt&&(Jt&536870912)===0||a!==Wf))throw Nb=H3,r7;e.flags|=8192}}function Vl(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Vc():536870912,e.lanes|=a,Ig|=a)}function No(e,a){if(!gn)switch(e.tailMode){case"hidden":a=e.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:d.sibling=null}}function Hn(e){var a=e.alternate!==null&&e.alternate.child===e.child,s=0,d=0;if(a)if((e.mode&Tr)!==ia){for(var y=e.selfBaseDuration,b=e.child;b!==null;)s|=b.lanes|b.childLanes,d|=b.subtreeFlags&65011712,d|=b.flags&65011712,y+=b.treeBaseDuration,b=b.sibling;e.treeBaseDuration=y}else for(y=e.child;y!==null;)s|=y.lanes|y.childLanes,d|=y.subtreeFlags&65011712,d|=y.flags&65011712,y.return=e,y=y.sibling;else if((e.mode&Tr)!==ia){y=e.actualDuration,b=e.selfBaseDuration;for(var D=e.child;D!==null;)s|=D.lanes|D.childLanes,d|=D.subtreeFlags,d|=D.flags,y+=D.actualDuration,b+=D.treeBaseDuration,D=D.sibling;e.actualDuration=y,e.treeBaseDuration=b}else for(y=e.child;y!==null;)s|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=e,y=y.sibling;return e.subtreeFlags|=d,e.childLanes=s,a}function yr(e,a,s){var d=a.pendingProps;switch(vl(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hn(a),null;case 1:return Hn(a),null;case 3:return s=a.stateNode,d=null,e!==null&&(d=e.memoizedState.cache),a.memoizedState.cache!==d&&(a.flags|=2048),bo(Vi,a),re(a),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Br(a)?($0(),Yr(a)):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,B0())),Hn(a),null;case 26:return s=a.memoizedState,e===null?(Yr(a),s!==null?(Hn(a),Fu(a,s)):(Hn(a),a.flags&=-16777217)):s?s!==e.memoizedState?(Yr(a),Hn(a),Fu(a,s)):(Hn(a),a.flags&=-16777217):(e.memoizedProps!==d&&Yr(a),Hn(a),a.flags&=-16777217),null;case 27:Ae(a),s=et(Xs.current);var y=a.type;if(e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Yr(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Hn(a),null}e=W(),Br(a)?j0(a):(e=ar(y,d,s,e,!0),a.stateNode=e,Yr(a))}return Hn(a),null;case 5:if(Ae(a),s=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==d&&Yr(a);else{if(!d){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Hn(a),null}if(y=W(),Br(a))j0(a);else{switch(e=et(Xs.current),Td(s,y.ancestorInfo),y=y.context,e=sn(e),y){case u1:e=e.createElementNS(Jo,s);break;case aT:e=e.createElementNS(Pp,s);break;default:switch(s){case"svg":e=e.createElementNS(Jo,s);break;case"math":e=e.createElementNS(Pp,s);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof d.is=="string"?e.createElement("select",{is:d.is}):e.createElement("select"),d.multiple?e.multiple=!0:d.size&&(e.size=d.size);break;default:e=typeof d.is=="string"?e.createElement(s,{is:d.is}):e.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Zs.call(m2,s)||(m2[s]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",s)))}}e[gi]=a,e[ir]=d;e:for(y=a.child;y!==null;){if(y.tag===5||y.tag===6)e.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===a)break e;for(;y.sibling===null;){if(y.return===null||y.return===a)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}a.stateNode=e;e:switch(Ya(e,s,d),s){case"button":case"input":case"select":case"textarea":e=!!d.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Yr(a)}}return Hn(a),a.flags&=-16777217,null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==d&&Yr(a);else{if(typeof d!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=et(Xs.current),s=W(),Br(a)){e=a.stateNode,s=a.memoizedProps,y=!Yh,d=null;var b=Es;if(b!==null)switch(b.tag){case 3:y&&(y=xg(e,s,d),y!==null&&(Vu(a,0).serverProps=y));break;case 27:case 5:d=b.memoizedProps,y&&(y=xg(e,s,d),y!==null&&(Vu(a,0).serverProps=y))}e[gi]=a,e=!!(e.nodeValue===s||d!==null&&d.suppressHydrationWarning===!0||Ju(e.nodeValue,s)),e||bl(a)}else y=s.ancestorInfo.current,y!=null&&Gc(d,y.tag,s.ancestorInfo.implicitRootScope),e=sn(e).createTextNode(d),e[gi]=a,a.stateNode=e}return Hn(a),null;case 13:if(d=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(y=Br(a),d!==null&&d.dehydrated!==null){if(e===null){if(!y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(y=a.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");y[gi]=a,Hn(a),(a.mode&Tr)!==ia&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration))}else $0(),af(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,Hn(a),(a.mode&Tr)!==ia&&d!==null&&(y=a.child,y!==null&&(a.treeBaseDuration-=y.treeBaseDuration));y=!1}else y=B0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=y),y=!0;if(!y)return a.flags&256?(va(a),a):(va(a),null)}return va(a),(a.flags&128)!==0?(a.lanes=s,(a.mode&Tr)!==ia&&Uu(a),a):(s=d!==null,e=e!==null&&e.memoizedState!==null,s&&(d=a.child,y=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(y=d.alternate.memoizedState.cachePool.pool),b=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==y&&(d.flags|=2048)),s!==e&&s&&(a.child.flags|=8192),Vl(a,a.updateQueue),Hn(a),(a.mode&Tr)!==ia&&s&&(e=a.child,e!==null&&(a.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return re(a),e===null&&hh(a.stateNode.containerInfo),Hn(a),null;case 10:return bo(a.type,a),Hn(a),null;case 19:if(ke(Li,a),y=a.memoizedState,y===null)return Hn(a),null;if(d=(a.flags&128)!==0,b=y.rendering,b===null)if(d)No(y,!1);else{if(Za!==Xh||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(b=kd(e),b!==null){for(a.flags|=128,No(y,!1),e=b.updateQueue,a.updateQueue=e,Vl(a,e),a.subtreeFlags=0,e=s,s=a.child;s!==null;)Um(s,e),s=s.sibling;return We(Li,Li.current&Wv|jb,a),a.child}e=e.sibling}y.tail!==null&&ha()>GS&&(a.flags|=128,d=!0,No(y,!1),a.lanes=4194304)}else{if(!d)if(e=kd(b),e!==null){if(a.flags|=128,d=!0,e=e.updateQueue,a.updateQueue=e,Vl(a,e),No(y,!0),y.tail===null&&y.tailMode==="hidden"&&!b.alternate&&!gn)return Hn(a),null}else 2*ha()-y.renderingStartTime>GS&&s!==536870912&&(a.flags|=128,d=!0,No(y,!1),a.lanes=4194304);y.isBackwards?(b.sibling=a.child,a.child=b):(e=y.last,e!==null?e.sibling=b:a.child=b,y.last=b)}return y.tail!==null?(e=y.tail,y.rendering=e,y.tail=e.sibling,y.renderingStartTime=ha(),e.sibling=null,s=Li.current,s=d?s&Wv|jb:s&Wv,We(Li,s,a),e):(Hn(a),null);case 22:case 23:return va(a),Lu(a),d=a.memoizedState!==null,e!==null?e.memoizedState!==null!==d&&(a.flags|=8192):d&&(a.flags|=8192),d?(s&536870912)!==0&&(a.flags&128)===0&&(Hn(a),a.subtreeFlags&6&&(a.flags|=8192)):Hn(a),s=a.updateQueue,s!==null&&Vl(a,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==s&&(a.flags|=2048),e!==null&&ke(Gg,a),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),bo(Vi,a),Hn(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ov(e,a){switch(vl(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&Tr)!==ia&&Uu(a),a):null;case 3:return bo(Vi,a),re(a),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return Ae(a),null;case 13:if(va(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");af()}return e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&Tr)!==ia&&Uu(a),a):null;case 19:return ke(Li,a),null;case 4:return re(a),null;case 10:return bo(a.type,a),null;case 22:case 23:return va(a),Lu(a),e!==null&&ke(Gg,a),e=a.flags,e&65536?(a.flags=e&-65537|128,(a.mode&Tr)!==ia&&Uu(a),a):null;case 24:return bo(Vi,a),null;case 25:return null;default:return null}}function Sf(e,a){switch(vl(a),a.tag){case 3:bo(Vi,a),re(a);break;case 26:case 27:case 5:Ae(a);break;case 4:re(a);break;case 13:va(a);break;case 19:ke(Li,a);break;case 10:bo(a.type,a);break;case 22:case 23:va(a),Lu(a),e!==null&&ke(Gg,a);break;case 24:bo(Vi,a)}}function vr(e){return(e.mode&Tr)!==ia}function rp(e,a){vr(e)?(Ot(),$a(a,e),bn()):$a(a,e)}function Tf(e,a,s){vr(e)?(Ot(),Qi(s,e,a),bn()):Qi(s,e,a)}function $a(e,a){try{var s=a.updateQueue,d=s!==null?s.lastEffect:null;if(d!==null){var y=d.next;s=y;do{if((s.tag&e)===e&&((e&Ui)!==hu?Xe!==null&&typeof Xe.markComponentPassiveEffectMountStarted=="function"&&Xe.markComponentPassiveEffectMountStarted(a):(e&Ar)!==hu&&Xe!==null&&typeof Xe.markComponentLayoutEffectMountStarted=="function"&&Xe.markComponentLayoutEffectMountStarted(a),d=void 0,(e&Cs)!==hu&&(o1=!0),d=at(a,IX,s),(e&Cs)!==hu&&(o1=!1),(e&Ui)!==hu?Xe!==null&&typeof Xe.markComponentPassiveEffectMountStopped=="function"&&Xe.markComponentPassiveEffectMountStopped():(e&Ar)!==hu&&Xe!==null&&typeof Xe.markComponentLayoutEffectMountStopped=="function"&&Xe.markComponentLayoutEffectMountStopped(),d!==void 0&&typeof d!="function")){var b=void 0;b=(s.tag&Ar)!==0?"useLayoutEffect":(s.tag&Cs)!==0?"useInsertionEffect":"useEffect";var D=void 0;D=d===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof d.then=="function"?`
|
|
847
|
+
|
|
848
|
+
It looks like you wrote `+b+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
849
|
+
|
|
850
|
+
`+b+`(() => {
|
|
851
|
+
async function fetchData() {
|
|
852
|
+
// You can await here
|
|
853
|
+
const response = await MyAPI.getData(someId);
|
|
854
|
+
// ...
|
|
855
|
+
}
|
|
856
|
+
fetchData();
|
|
857
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
858
|
+
|
|
859
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+d,at(a,function(_,$){console.error("%s must not return anything besides a function, which is used for clean-up.%s",_,$)},b,D)}s=s.next}while(s!==y)}}catch(_){Sn(a,a.return,_)}}function Qi(e,a,s){try{var d=a.updateQueue,y=d!==null?d.lastEffect:null;if(y!==null){var b=y.next;d=b;do{if((d.tag&e)===e){var D=d.inst,_=D.destroy;_!==void 0&&(D.destroy=void 0,(e&Ui)!==hu?Xe!==null&&typeof Xe.markComponentPassiveEffectUnmountStarted=="function"&&Xe.markComponentPassiveEffectUnmountStarted(a):(e&Ar)!==hu&&Xe!==null&&typeof Xe.markComponentLayoutEffectUnmountStarted=="function"&&Xe.markComponentLayoutEffectUnmountStarted(a),(e&Cs)!==hu&&(o1=!0),y=a,at(y,WX,y,s,_),(e&Cs)!==hu&&(o1=!1),(e&Ui)!==hu?Xe!==null&&typeof Xe.markComponentPassiveEffectUnmountStopped=="function"&&Xe.markComponentPassiveEffectUnmountStopped():(e&Ar)!==hu&&Xe!==null&&typeof Xe.markComponentLayoutEffectUnmountStopped=="function"&&Xe.markComponentLayoutEffectUnmountStopped())}d=d.next}while(d!==b)}}catch($){Sn(a,a.return,$)}}function Af(e,a){vr(e)?(Ot(),$a(a,e),bn()):$a(a,e)}function Kd(e,a,s){vr(e)?(Ot(),Qi(s,e,a),bn()):Qi(s,e,a)}function wf(e){var a=e.updateQueue;if(a!==null){var s=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||e1||(s.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",De(e)||"instance"),s.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",De(e)||"instance"));try{at(e,Ei,a,s)}catch(d){Sn(e,e.return,d)}}}function lv(e,a,s){return e.getSnapshotBeforeUpdate(a,s)}function Id(e,a){var s=a.memoizedProps,d=a.memoizedState;a=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||e1||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",De(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",De(e)||"instance"));try{var y=_l(e.type,s,e.elementType===e.type),b=at(e,lv,a,y,d);s=K7,b!==void 0||s.has(e.type)||(s.add(e.type),at(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",De(e))})),a.__reactInternalSnapshotBeforeUpdate=b}catch(D){Sn(e,e.return,D)}}function sp(e,a,s){s.props=_l(e.type,e.memoizedProps),s.state=e.memoizedState,vr(e)?(Ot(),at(e,A7,e,a,s),bn()):at(e,A7,e,a,s)}function op(e){var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}if(typeof a=="function")if(vr(e))try{Ot(),e.refCleanup=a(s)}finally{bn()}else e.refCleanup=a(s);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",De(e)),a.current=s}}function Vo(e,a){try{at(e,op,e)}catch(s){Sn(e,a,s)}}function Ha(e,a){var s=e.ref,d=e.refCleanup;if(s!==null)if(typeof d=="function")try{if(vr(e))try{Ot(),at(e,d)}finally{bn(e)}else at(e,d)}catch(y){Sn(e,a,y)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{if(vr(e))try{Ot(),at(e,s,null)}finally{bn(e)}else at(e,s,null)}catch(y){Sn(e,a,y)}else s.current=null}function J0(e,a,s,d){var y=e.memoizedProps,b=y.id,D=y.onCommit;y=y.onRender,a=a===null?"mount":"update",NS&&(a="nested-update"),typeof y=="function"&&y(b,a,e.actualDuration,e.treeBaseDuration,e.actualStartTime,s),typeof D=="function"&&D(e.memoizedProps.id,a,d,s)}function Ul(e,a,s,d){var y=e.memoizedProps;e=y.id,y=y.onPostCommit,a=a===null?"mount":"update",NS&&(a="nested-update"),typeof y=="function"&&y(e,a,d,s)}function eg(e){var a=e.type,s=e.memoizedProps,d=e.stateNode;try{at(e,ta,d,a,s,e)}catch(y){Sn(e,e.return,y)}}function Wd(e,a,s){try{at(e,Xl,e.stateNode,e.type,s,a,e)}catch(d){Sn(e,e.return,d)}}function Ll(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&za(e.type)||e.tag===4}function Jd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ll(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.tag===27&&za(e.type)||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 Ef(e,a,s){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(e),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=ql));else if(d!==4&&(d===27&&za(e.type)&&(s=e.stateNode,a=null),e=e.child,e!==null))for(Ef(e,a,s),e=e.sibling;e!==null;)Ef(e,a,s),e=e.sibling}function eh(e,a,s){var d=e.tag;if(d===5||d===6)e=e.stateNode,a?s.insertBefore(e,a):s.appendChild(e);else if(d!==4&&(d===27&&za(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(eh(e,a,s),e=e.sibling;e!==null;)eh(e,a,s),e=e.sibling}function tg(e){for(var a,s=e.return;s!==null;){if(Ll(s)){a=s;break}s=s.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,s=Jd(e),eh(e,s,a);break;case 5:s=a.stateNode,a.flags&32&&(Zl(s),a.flags&=-33),a=Jd(e),eh(e,a,s);break;case 3:case 4:a=a.stateNode.containerInfo,s=Jd(e),Ef(e,s,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Cf(e){var a=e.stateNode,s=e.memoizedProps;try{at(e,yv,e.type,s,a,e)}catch(d){Sn(e,e.return,d)}}function uv(e,a){if(e=e.containerInfo,xC=oT,e=nv(e),_m(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var d=s.getSelection&&s.getSelection();if(d&&d.rangeCount!==0){s=d.anchorNode;var y=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{s.nodeType,b.nodeType}catch{s=null;break e}var D=0,_=-1,$=-1,G=0,ye=0,Te=e,ge=null;t:for(;;){for(var Ee;Te!==s||y!==0&&Te.nodeType!==3||(_=D+y),Te!==b||d!==0&&Te.nodeType!==3||($=D+d),Te.nodeType===3&&(D+=Te.nodeValue.length),(Ee=Te.firstChild)!==null;)ge=Te,Te=Ee;for(;;){if(Te===e)break t;if(ge===s&&++G===y&&(_=D),ge===b&&++ye===d&&($=D),(Ee=Te.nextSibling)!==null)break;Te=ge,ge=Te.parentNode}Te=Ee}s=_===-1||$===-1?null:{start:_,end:$}}else s=null}s=s||{start:0,end:0}}else s=null;for(SC={focusedElem:e,selectionRange:s},oT=!1,or=a;or!==null;)if(a=or,e=a.child,(a.subtreeFlags&1024)!==0&&e!==null)e.return=a,or=e;else for(;or!==null;){switch(e=a=or,s=e.alternate,y=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(y&1024)!==0&&s!==null&&Id(e,s);break;case 3:if((y&1024)!==0){if(e=e.stateNode.containerInfo,s=e.nodeType,s===9)Fs(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Fs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((y&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=a.sibling,e!==null){e.return=a.return,or=e;break}or=a.return}}function lp(e,a,s){var d=s.flags;switch(s.tag){case 0:case 11:case 15:ca(e,s),d&4&&rp(s,Ar|mu);break;case 1:if(ca(e,s),d&4)if(e=s.stateNode,a===null)s.type.defaultProps||"ref"in s.memoizedProps||e1||(e.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",De(s)||"instance"),e.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",De(s)||"instance")),vr(s)?(Ot(),at(s,Z3,s,e),bn()):at(s,Z3,s,e);else{var y=_l(s.type,a.memoizedProps);a=a.memoizedState,s.type.defaultProps||"ref"in s.memoizedProps||e1||(e.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",De(s)||"instance"),e.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",De(s)||"instance")),vr(s)?(Ot(),at(s,x7,s,e,y,a,e.__reactInternalSnapshotBeforeUpdate),bn()):at(s,x7,s,e,y,a,e.__reactInternalSnapshotBeforeUpdate)}d&64&&wf(s),d&512&&Vo(s,s.return);break;case 3:if(a=ie(),ca(e,s),d&64&&(d=s.updateQueue,d!==null)){if(y=null,s.child!==null)switch(s.child.tag){case 27:case 5:y=s.child.stateNode;break;case 1:y=s.child.stateNode}try{at(s,Ei,d,y)}catch(D){Sn(s,s.return,D)}}e.effectDuration+=we(a);break;case 27:a===null&&d&4&&Cf(s);case 26:case 5:ca(e,s),a===null&&d&4&&eg(s),d&512&&Vo(s,s.return);break;case 12:if(d&4){d=ie(),ca(e,s),e=s.stateNode,e.effectDuration+=ve(d);try{at(s,J0,s,a,zS,e.effectDuration)}catch(D){Sn(s,s.return,D)}}else ca(e,s);break;case 13:ca(e,s),d&4&&th(e,s),d&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Pl.bind(null,s),Lf(e,s))));break;case 22:if(d=s.memoizedState!==null||Fh,!d){a=a!==null&&a.memoizedState!==null||si,y=Fh;var b=si;Fh=d,(si=a)&&!b?ti(e,s,(s.subtreeFlags&8772)!==0):ca(e,s),Fh=y,si=b}break;case 30:break;default:ca(e,s)}}function ng(e){var a=e.alternate;a!==null&&(e.alternate=null,ng(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&ul(a)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Mn(e,a,s){for(s=s.child;s!==null;)_i(e,a,s),s=s.sibling}function _i(e,a,s){if(ri&&typeof ri.onCommitFiberUnmount=="function")try{ri.onCommitFiberUnmount(rc,s)}catch(b){aa||(aa=!0,console.error("React instrumentation encountered an error: %s",b))}switch(s.tag){case 26:si||Ha(s,a),Mn(e,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:si||Ha(s,a);var d=vi,y=ao;za(s.type)&&(vi=s.stateNode,ao=!1),Mn(e,a,s),at(s,jf,s.stateNode),vi=d,ao=y;break;case 5:si||Ha(s,a);case 6:if(d=vi,y=ao,vi=null,Mn(e,a,s),vi=d,ao=y,vi!==null)if(ao)try{at(s,gh,vi,s.stateNode)}catch(b){Sn(s,a,b)}else try{at(s,Vf,vi,s.stateNode)}catch(b){Sn(s,a,b)}break;case 18:vi!==null&&(ao?(e=vi,zi(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),qf(e)):zi(vi,s.stateNode));break;case 4:d=vi,y=ao,vi=s.stateNode.containerInfo,ao=!0,Mn(e,a,s),vi=d,ao=y;break;case 0:case 11:case 14:case 15:si||Qi(Cs,s,a),si||Tf(s,a,Ar),Mn(e,a,s);break;case 1:si||(Ha(s,a),d=s.stateNode,typeof d.componentWillUnmount=="function"&&sp(s,a,d)),Mn(e,a,s);break;case 21:Mn(e,a,s);break;case 22:si=(d=si)||s.memoizedState!==null,Mn(e,a,s),si=d;break;default:Mn(e,a,s)}}function th(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{at(a,gv,e)}catch(s){Sn(a,a.return,s)}}function nh(e){switch(e.tag){case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new I7),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new I7),a;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Uo(e,a){var s=nh(e);a.forEach(function(d){var y=dv.bind(null,e,d);if(!s.has(d)){if(s.add(d),xa)if(t1!==null&&n1!==null)Yl(n1,t1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");d.then(y,y)}})}function Ra(e,a){var s=a.deletions;if(s!==null)for(var d=0;d<s.length;d++){var y=e,b=a,D=s[d],_=b;e:for(;_!==null;){switch(_.tag){case 27:if(za(_.type)){vi=_.stateNode,ao=!1;break e}break;case 5:vi=_.stateNode,ao=!1;break e;case 3:case 4:vi=_.stateNode.containerInfo,ao=!0;break e}_=_.return}if(vi===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");_i(y,b,D),vi=null,ao=!1,y=D,b=y.alternate,b!==null&&(b.return=null),y.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)up(a,e),a=a.sibling}function up(e,a){var s=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ra(a,e),_a(e),d&4&&(Qi(Cs|mu,e,e.return),$a(Cs|mu,e),Tf(e,e.return,Ar|mu));break;case 1:Ra(a,e),_a(e),d&512&&(si||s===null||Ha(s,s.return)),d&64&&Fh&&(e=e.updateQueue,e!==null&&(d=e.callbacks,d!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?d:s.concat(d))));break;case 26:var y=pc;if(Ra(a,e),_a(e),d&512&&(si||s===null||Ha(s,s.return)),d&4)if(a=s!==null?s.memoizedState:null,d=e.memoizedState,s===null)if(d===null)if(e.stateNode===null){e:{d=e.type,s=e.memoizedProps,a=y.ownerDocument||y;t:switch(d){case"title":y=a.getElementsByTagName("title")[0],(!y||y[_h]||y[gi]||y.namespaceURI===Jo||y.hasAttribute("itemprop"))&&(y=a.createElement(d),a.head.insertBefore(y,a.querySelector("head > title"))),Ya(y,d,s),y[gi]=e,Da(y),d=y;break e;case"link":var b=Tg("link","href",a).get(d+(s.href||""));if(b){for(var D=0;D<b.length;D++)if(y=b[D],y.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&y.getAttribute("rel")===(s.rel==null?null:s.rel)&&y.getAttribute("title")===(s.title==null?null:s.title)&&y.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){b.splice(D,1);break t}}y=a.createElement(d),Ya(y,d,s),a.head.appendChild(y);break;case"meta":if(b=Tg("meta","content",a).get(d+(s.content||""))){for(D=0;D<b.length;D++)if(y=b[D],Me(s.content,"content"),y.getAttribute("content")===(s.content==null?null:""+s.content)&&y.getAttribute("name")===(s.name==null?null:s.name)&&y.getAttribute("property")===(s.property==null?null:s.property)&&y.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&y.getAttribute("charset")===(s.charSet==null?null:s.charSet)){b.splice(D,1);break t}}y=a.createElement(d),Ya(y,d,s),a.head.appendChild(y);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}y[gi]=e,Da(y),d=y}e.stateNode=d}else ac(y,e.type,e.stateNode);else e.stateNode=bv(y,d,e.memoizedProps);else a!==d?(a===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):a.count--,d===null?ac(y,e.type,e.stateNode):bv(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&Wd(e,e.memoizedProps,s.memoizedProps);break;case 27:Ra(a,e),_a(e),d&512&&(si||s===null||Ha(s,s.return)),s!==null&&d&4&&Wd(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Ra(a,e),_a(e),d&512&&(si||s===null||Ha(s,s.return)),e.flags&32){a=e.stateNode;try{at(e,Zl,a)}catch(ye){Sn(e,e.return,ye)}}d&4&&e.stateNode!=null&&(a=e.memoizedProps,Wd(e,a,s!==null?s.memoizedProps:a)),d&1024&&(tC=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ra(a,e),_a(e),d&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");d=e.memoizedProps,s=s!==null?s.memoizedProps:d,a=e.stateNode;try{at(e,yg,a,s,d)}catch(ye){Sn(e,e.return,ye)}}break;case 3:if(y=ie(),iT=null,b=pc,pc=bp(a.containerInfo),Ra(a,e),pc=b,_a(e),d&4&&s!==null&&s.memoizedState.isDehydrated)try{at(e,pi,a.containerInfo)}catch(ye){Sn(e,e.return,ye)}tC&&(tC=!1,ag(e)),a.effectDuration+=we(y);break;case 4:d=pc,pc=bp(e.stateNode.containerInfo),Ra(a,e),_a(e),pc=d;break;case 12:d=ie(),Ra(a,e),_a(e),e.stateNode.effectDuration+=ve(d);break;case 13:Ra(a,e),_a(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(oC=ha()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Uo(e,d)));break;case 22:y=e.memoizedState!==null;var _=s!==null&&s.memoizedState!==null,$=Fh,G=si;if(Fh=$||y,si=G||_,Ra(a,e),si=G,Fh=$,_a(e),d&8192)e:for(a=e.stateNode,a._visibility=y?a._visibility&-2:a._visibility|V3,y&&(s===null||_||Fh||si||ka(e)),s=null,a=e;;){if(a.tag===5||a.tag===26){if(s===null){_=s=a;try{b=_.stateNode,y?at(_,vg,b):at(_,Uf,_.stateNode,_.memoizedProps)}catch(ye){Sn(_,_.return,ye)}}}else if(a.tag===6){if(s===null){_=a;try{D=_.stateNode,y?at(_,bg,D):at(_,yh,D,_.memoizedProps)}catch(ye){Sn(_,_.return,ye)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}d&4&&(d=e.updateQueue,d!==null&&(s=d.retryQueue,s!==null&&(d.retryQueue=null,Uo(e,s))));break;case 19:Ra(a,e),_a(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Uo(e,d)));break;case 30:break;case 21:break;default:Ra(a,e),_a(e)}}function _a(e){var a=e.flags;if(a&2){try{at(e,tg,e)}catch(s){Sn(e,e.return,s)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function ag(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;ag(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function ca(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)lp(e,a.alternate,a),a=a.sibling}function hi(e){switch(e.tag){case 0:case 11:case 14:case 15:Tf(e,e.return,Ar),ka(e);break;case 1:Ha(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&sp(e,e.return,a),ka(e);break;case 27:at(e,jf,e.stateNode);case 26:case 5:Ha(e,e.return),ka(e);break;case 22:e.memoizedState===null&&ka(e);break;case 30:ka(e);break;default:ka(e)}}function ka(e){for(e=e.child;e!==null;)hi(e),e=e.sibling}function ig(e,a,s,d){var y=s.flags;switch(s.tag){case 0:case 11:case 15:ti(e,s,d),rp(s,Ar);break;case 1:if(ti(e,s,d),a=s.stateNode,typeof a.componentDidMount=="function"&&at(s,Z3,s,a),a=s.updateQueue,a!==null){e=s.stateNode;try{at(s,Pm,a,e)}catch(b){Sn(s,s.return,b)}}d&&y&64&&wf(s),Vo(s,s.return);break;case 27:Cf(s);case 26:case 5:ti(e,s,d),d&&a===null&&y&4&&eg(s),Vo(s,s.return);break;case 12:if(d&&y&4){y=ie(),ti(e,s,d),d=s.stateNode,d.effectDuration+=ve(y);try{at(s,J0,s,a,zS,d.effectDuration)}catch(b){Sn(s,s.return,b)}}else ti(e,s,d);break;case 13:ti(e,s,d),d&&y&4&&th(e,s);break;case 22:s.memoizedState===null&&ti(e,s,d),Vo(s,s.return);break;case 30:break;default:ti(e,s,d)}}function ti(e,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)ig(e,a.alternate,a,s),a=a.sibling}function qr(e,a){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==s&&(e!=null&&$r(e),s!=null&&Hr(s))}function qn(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&($r(a),e!=null&&Hr(e))}function Ki(e,a,s,d){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Xu(e,a,s,d),a=a.sibling}function Xu(e,a,s,d){var y=a.flags;switch(a.tag){case 0:case 11:case 15:Ki(e,a,s,d),y&2048&&Af(a,Ui|mu);break;case 1:Ki(e,a,s,d);break;case 3:var b=ie();Ki(e,a,s,d),y&2048&&(s=null,a.alternate!==null&&(s=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==s&&($r(a),s!=null&&Hr(s))),e.passiveEffectDuration+=we(b);break;case 12:if(y&2048){y=ie(),Ki(e,a,s,d),e=a.stateNode,e.passiveEffectDuration+=ve(y);try{at(a,Ul,a,a.alternate,zS,e.passiveEffectDuration)}catch(_){Sn(a,a.return,_)}}else Ki(e,a,s,d);break;case 13:Ki(e,a,s,d);break;case 23:break;case 22:b=a.stateNode;var D=a.alternate;a.memoizedState!==null?b._visibility&Hg?Ki(e,a,s,d):Mf(e,a):b._visibility&Hg?Ki(e,a,s,d):(b._visibility|=Hg,Ys(e,a,s,d,(a.subtreeFlags&10256)!==0)),y&2048&&qr(D,a);break;case 24:Ki(e,a,s,d),y&2048&&qn(a.alternate,a);break;default:Ki(e,a,s,d)}}function Ys(e,a,s,d,y){for(y=y&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)Df(e,a,s,d,y),a=a.sibling}function Df(e,a,s,d,y){var b=a.flags;switch(a.tag){case 0:case 11:case 15:Ys(e,a,s,d,y),Af(a,Ui);break;case 23:break;case 22:var D=a.stateNode;a.memoizedState!==null?D._visibility&Hg?Ys(e,a,s,d,y):Mf(e,a):(D._visibility|=Hg,Ys(e,a,s,d,y)),y&&b&2048&&qr(a.alternate,a);break;case 24:Ys(e,a,s,d,y),y&&b&2048&&qn(a.alternate,a);break;default:Ys(e,a,s,d,y)}}function Mf(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=e,d=a,y=d.flags;switch(d.tag){case 22:Mf(s,d),y&2048&&qr(d.alternate,d);break;case 24:Mf(s,d),y&2048&&qn(d.alternate,d);break;default:Mf(s,d)}a=a.sibling}}function br(e){if(e.subtreeFlags&Bb)for(e=e.child;e!==null;)jl(e),e=e.sibling}function jl(e){switch(e.tag){case 26:br(e),e.flags&Bb&&e.memoizedState!==null&&xv(pc,e.memoizedState,e.memoizedProps);break;case 5:br(e);break;case 3:case 4:var a=pc;pc=bp(e.stateNode.containerInfo),br(e),pc=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Bb,Bb=16777216,br(e),Bb=a):br(e));break;default:br(e)}}function cp(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function Bl(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var d=a[s];or=d,ah(d,e)}cp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rg(e),e=e.sibling}function rg(e){switch(e.tag){case 0:case 11:case 15:Bl(e),e.flags&2048&&Kd(e,e.return,Ui|mu);break;case 3:var a=ie();Bl(e),e.stateNode.passiveEffectDuration+=we(a);break;case 12:a=ie(),Bl(e),e.stateNode.passiveEffectDuration+=ve(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Hg&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,$l(e)):Bl(e);break;default:Bl(e)}}function $l(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var d=a[s];or=d,ah(d,e)}cp(e)}for(e=e.child;e!==null;)ms(e),e=e.sibling}function ms(e){switch(e.tag){case 0:case 11:case 15:Kd(e,e.return,Ui),$l(e);break;case 22:var a=e.stateNode;a._visibility&Hg&&(a._visibility&=-3,$l(e));break;default:$l(e)}}function ah(e,a){for(;or!==null;){var s=or,d=s;switch(d.tag){case 0:case 11:case 15:Kd(d,a,Ui);break;case 23:case 22:d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(d=d.memoizedState.cachePool.pool,d!=null&&$r(d));break;case 24:Hr(d.memoizedState.cache)}if(d=s.child,d!==null)d.return=s,or=d;else e:for(s=e;or!==null;){d=or;var y=d.sibling,b=d.return;if(ng(d),d===s){or=null;break e}if(y!==null){y.return=b,or=y;break e}or=b}}}function sg(){eZ.forEach(function(e){return e()})}function og(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||pe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ii(e){if((On&Ds)!==tl&&Jt!==0)return Jt&-Jt;var a=pe.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e),e=qg,e!==0?e:pp()):xm()}function lg(){al===0&&(al=(Jt&536870912)===0||gn?bi():536870912);var e=gu.current;return e!==null&&(e.flags|=32),al}function Yt(e,a,s){if(o1&&console.error("useInsertionEffect must not schedule updates."),dC&&(FS=!0),(e===Qn&&(jn===Qg||jn===Kg)||e.cancelPendingCommit!==null)&&(st(e,0),ps(e,Jt,al,!1)),dd(e,s),(On&Ds)!==0&&e===Qn){if(Ws)switch(a.tag){case 0:case 11:case 15:e=Qt&&De(Qt)||"Unknown",o2.has(e)||(o2.add(e),a=De(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,e,e));break;case 1:s2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),s2=!0)}}else xa&&li(e,a,s),fh(a),e===Qn&&((On&Ds)===tl&&(Ip|=s),Za===Zg&&ps(e,Jt,al,!1)),xr(e)}function Un(e,a,s){if((On&(Ds|gc))!==tl)throw Error("Should not already be working.");var d=!s&&(a&124)===0&&(a&e.expiredLanes)===0||zc(e,a),y=d?Pa(e,a):Qu(e,a,!0),b=d;do{if(y===Xh){r1&&!d&&ps(e,a,0,!1);break}else{if(s=e.current.alternate,b&&!fp(s)){y=Qu(e,a,!1),b=!1;continue}if(y===a1){if(b=a,e.errorRecoveryDisabledLanes&b)var D=0;else D=e.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){a=D;e:{y=e;var _=D;D=qb;var $=y.current.memoizedState.isDehydrated;if($&&(st(y,_).flags|=256),_=Qu(y,_,!1),_!==a1){if(rC&&!$){y.errorRecoveryDisabledLanes|=b,Ip|=b,y=Zg;break e}y=Ms,Ms=D,y!==null&&(Ms===null?Ms=y:Ms.push.apply(Ms,y))}y=_}if(b=!1,y!==a1)continue}}if(y===Hb){st(e,0),ps(e,a,0,!0);break}e:{switch(d=e,y){case Xh:case Hb:throw Error("Root did not complete. This is a bug in React.");case Zg:if((a&4194048)!==a)break;case YS:ps(d,a,al,!Qp);break e;case a1:Ms=null;break;case nC:case W7:break;default:throw Error("Unknown root exit status.")}if(pe.actQueue!==null)gs(d,s,a,Ms,Gb,qS,al,Ip,Ig);else{if((a&62914560)===a&&(b=oC+e2-ha(),10<b)){if(ps(d,a,al,!Qp),fd(d,0,!0)!==0)break e;d.timeoutHandle=p2(ih.bind(null,d,s,Ms,Gb,qS,a,al,Ip,Ig,Qp,y,iZ,n7,0),b);break e}ih(d,s,Ms,Gb,qS,a,al,Ip,Ig,Qp,y,nZ,n7,0)}}}break}while(!0);xr(e)}function ih(e,a,s,d,y,b,D,_,$,G,ye,Te,ge,Ee){if(e.timeoutHandle=ny,Te=a.subtreeFlags,(Te&8192||(Te&16785408)===16785408)&&(Ib={stylesheets:null,count:0,unsuspend:xh},jl(a),Te=Sv(),Te!==null)){e.cancelPendingCommit=Te(gs.bind(null,e,a,b,s,d,y,D,_,$,ye,aZ,ge,Ee)),ps(e,b,D,!G);return}gs(e,a,b,s,d,y,D,_,$)}function fp(e){for(var a=e;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var d=0;d<s.length;d++){var y=s[d],b=y.getSnapshot;y=y.value;try{if(!Ve(b(),y))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ps(e,a,s,d){a&=~sC,a&=~Ip,e.suspendedLanes|=a,e.pingedLanes&=~a,d&&(e.warmLanes|=a),d=e.expirationTimes;for(var y=a;0<y;){var b=31-lt(y),D=1<<b;d[b]=-1,y&=~D}s!==0&&Uc(e,s,a)}function qs(){return(On&(Ds|gc))===tl?($o(0),!1):!0}function Lo(){if(Qt!==null){if(jn===io)var e=Qt.return;else e=Qt,ls(),cs(e),Kv=null,Lb=0,e=Qt;for(;e!==null;)Sf(e.alternate,e),e=e.return;Qt=null}}function st(e,a){var s=e.timeoutHandle;s!==ny&&(e.timeoutHandle=ny,yZ(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),Lo(),Qn=e,Qt=s=Lr(e.current,null),Jt=a,jn=io,nl=null,Qp=!1,r1=zc(e,a),rC=!1,Za=Xh,Ig=al=sC=Ip=Kp=0,Ms=qb=null,qS=!1,(a&8)!==0&&(a|=a&32);var d=e.entangledLanes;if(d!==0)for(e=e.entanglements,d&=a;0<d;){var y=31-lt(d),b=1<<y;a|=e[y],d&=~b}return Jf=a,Jc(),a=e7(),1e3<a-J8&&(pe.recentlyCreatedOwnerStacks=0,J8=a),hc.discardPendingWarnings(),s}function Zu(e,a){Nt=null,pe.H=kS,pe.getCurrentStack=null,Ws=!1,qa=null,a===zb||a===LS?(a=fi(),jn=Pb):a===r7?(a=fi(),jn=J7):jn=a===Y7?iC:a!==null&&typeof a=="object"&&typeof a.then=="function"?i1:kb,nl=a;var s=Qt;if(s===null)Za=Hb,Pu(e,la(a,e.current));else switch(s.mode&Tr&>(s),pt(),jn){case kb:Xe!==null&&typeof Xe.markComponentErrored=="function"&&Xe.markComponentErrored(s,a,Jt);break;case Qg:case Kg:case Pb:case i1:case Yb:Xe!==null&&typeof Xe.markComponentSuspended=="function"&&Xe.markComponentSuspended(s,a,Jt)}}function rh(){var e=pe.H;return pe.H=kS,e===null?kS:e}function jo(){var e=pe.A;return pe.A=JX,e}function dp(){Za=Zg,Qp||(Jt&4194048)!==Jt&&gu.current!==null||(r1=!0),(Kp&134217727)===0&&(Ip&134217727)===0||Qn===null||ps(Qn,Jt,al,!1)}function Qu(e,a,s){var d=On;On|=Ds;var y=rh(),b=jo();if(Qn!==e||Jt!==a){if(xa){var D=e.memoizedUpdaters;0<D.size&&(Yl(e,Jt),D.clear()),bm(e,a)}Gb=null,st(e,a)}zn(a),a=!1,D=Za;e:do try{if(jn!==io&&Qt!==null){var _=Qt,$=nl;switch(jn){case iC:Lo(),D=YS;break e;case Pb:case Qg:case Kg:case i1:gu.current===null&&(a=!0);var G=jn;if(jn=io,nl=null,Hl(e,_,$,G),s&&r1){D=Xh;break e}break;default:G=jn,jn=io,nl=null,Hl(e,_,$,G)}}sh(),D=Za;break}catch(ye){Zu(e,ye)}while(!0);return a&&e.shellSuspendCounter++,ls(),On=d,pe.H=y,pe.A=b,Ze(),Qt===null&&(Qn=null,Jt=0,Jc()),D}function sh(){for(;Qt!==null;)hp(Qt)}function Pa(e,a){var s=On;On|=Ds;var d=rh(),y=jo();if(Qn!==e||Jt!==a){if(xa){var b=e.memoizedUpdaters;0<b.size&&(Yl(e,Jt),b.clear()),bm(e,a)}Gb=null,GS=ha()+t2,st(e,a)}else r1=zc(e,a);zn(a);e:do try{if(jn!==io&&Qt!==null)t:switch(a=Qt,b=nl,jn){case kb:jn=io,nl=null,Hl(e,a,b,kb);break;case Qg:case Kg:if(an(b)){jn=io,nl=null,Of(a);break}a=function(){jn!==Qg&&jn!==Kg||Qn!==e||(jn=Yb),xr(e)},b.then(a,a);break e;case Pb:jn=Yb;break e;case J7:jn=aC;break e;case Yb:an(b)?(jn=io,nl=null,Of(a)):(jn=io,nl=null,Hl(e,a,b,Yb));break;case aC:var D=null;switch(Qt.tag){case 26:D=Qt.memoizedState;case 5:case 27:var _=Qt;if(!D||Ag(D)){jn=io,nl=null;var $=_.sibling;if($!==null)Qt=$;else{var G=_.return;G!==null?(Qt=G,Rf(G)):Qt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}jn=io,nl=null,Hl(e,a,b,aC);break;case i1:jn=io,nl=null,Hl(e,a,b,i1);break;case iC:Lo(),Za=YS;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}pe.actQueue!==null?sh():cv();break}catch(ye){Zu(e,ye)}while(!0);return ls(),pe.H=d,pe.A=y,On=s,Qt!==null?(Xe!==null&&typeof Xe.markRenderYielded=="function"&&Xe.markRenderYielded(),Xh):(Ze(),Qn=null,Jt=0,Jc(),Za)}function cv(){for(;Qt!==null&&!bb();)hp(Qt)}function hp(e){var a=e.alternate;(e.mode&Tr)!==ia?(Qe(e),a=at(e,Nl,a,e,Jf),gt(e)):a=at(e,Nl,a,e,Jf),e.memoizedProps=e.pendingProps,a===null?Rf(e):Qt=a}function Of(e){var a=at(e,ug,e);e.memoizedProps=e.pendingProps,a===null?Rf(e):Qt=a}function ug(e){var a=e.alternate,s=(e.mode&Tr)!==ia;switch(s&&Qe(e),e.tag){case 15:case 0:a=Yd(a,e,e.pendingProps,e.type,void 0,Jt);break;case 11:a=Yd(a,e,e.pendingProps,e.type.render,e.ref,Jt);break;case 5:cs(e);default:Sf(a,e),e=Qt=Um(e,Jf),a=Nl(a,e,Jf)}return s&>(e),a}function Hl(e,a,s,d){ls(),cs(a),Kv=null,Lb=0;var y=a.return;try{if(Im(e,y,a,s,Jt)){Za=Hb,Pu(e,la(s,e.current)),Qt=null;return}}catch(b){if(y!==null)throw Qt=y,b;Za=Hb,Pu(e,la(s,e.current)),Qt=null;return}a.flags&32768?(gn||d===kb?e=!0:r1||(Jt&536870912)!==0?e=!1:(Qp=e=!0,(d===Qg||d===Kg||d===Pb||d===i1)&&(d=gu.current,d!==null&&d.tag===13&&(d.flags|=16384))),cg(a,e)):Rf(a)}function Rf(e){var a=e;do{if((a.flags&32768)!==0){cg(a,Qp);return}var s=a.alternate;if(e=a.return,Qe(a),s=at(a,yr,s,a,Jf),(a.mode&Tr)!==ia&&It(a),s!==null){Qt=s;return}if(a=a.sibling,a!==null){Qt=a;return}Qt=a=e}while(a!==null);Za===Xh&&(Za=W7)}function cg(e,a){do{var s=ov(e.alternate,e);if(s!==null){s.flags&=32767,Qt=s;return}if((e.mode&Tr)!==ia){It(e),s=e.actualDuration;for(var d=e.child;d!==null;)s+=d.actualDuration,d=d.sibling;e.actualDuration=s}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(e=e.sibling,e!==null)){Qt=e;return}Qt=e=s}while(e!==null);Za=YS,Qt=null}function gs(e,a,s,d,y,b,D,_,$){e.cancelPendingCommit=null;do kl();while(wr!==Wg);if(hc.flushLegacyContextWarning(),hc.flushPendingUnsafeLifecycleWarnings(),(On&(Ds|gc))!==tl)throw Error("Should not already be working.");if(Xe!==null&&typeof Xe.markCommitStarted=="function"&&Xe.markCommitStarted(s),a===null)Je();else{if(s===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(b=a.lanes|a.childLanes,b|=U3,hd(e,s,b,D,_,$),e===Qn&&(Qt=Qn=null,Jt=0),s1=a,Jp=e,e0=s,uC=b,cC=y,r2=d,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Nf(Ko,function(){return _f(),null})):(e.callbackNode=null,e.callbackPriority=0),zS=Gv(),d=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||d){d=pe.T,pe.T=null,y=cn.p,cn.p=_t,D=On,On|=gc;try{uv(e,a,s)}finally{On=D,cn.p=y,pe.T=d}}wr=n2,Gr(),mi(),oh()}}function Gr(){if(wr===n2){wr=Wg;var e=Jp,a=s1,s=e0,d=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||d){d=pe.T,pe.T=null;var y=cn.p;cn.p=_t;var b=On;On|=gc;try{t1=s,n1=e,up(a,e),n1=t1=null,s=SC;var D=nv(e.containerInfo),_=s.focusedElem,$=s.selectionRange;if(D!==_&&_&&_.ownerDocument&&dr(_.ownerDocument.documentElement,_)){if($!==null&&_m(_)){var G=$.start,ye=$.end;if(ye===void 0&&(ye=G),"selectionStart"in _)_.selectionStart=G,_.selectionEnd=Math.min(ye,_.value.length);else{var Te=_.ownerDocument||document,ge=Te&&Te.defaultView||window;if(ge.getSelection){var Ee=ge.getSelection(),it=_.textContent.length,wt=Math.min($.start,it),Kn=$.end===void 0?wt:Math.min($.end,it);!Ee.extend&&wt>Kn&&(D=Kn,Kn=wt,wt=D);var nn=tv(_,wt),K=tv(_,Kn);if(nn&&K&&(Ee.rangeCount!==1||Ee.anchorNode!==nn.node||Ee.anchorOffset!==nn.offset||Ee.focusNode!==K.node||Ee.focusOffset!==K.offset)){var I=Te.createRange();I.setStart(nn.node,nn.offset),Ee.removeAllRanges(),wt>Kn?(Ee.addRange(I),Ee.extend(K.node,K.offset)):(I.setEnd(K.node,K.offset),Ee.addRange(I))}}}}for(Te=[],Ee=_;Ee=Ee.parentNode;)Ee.nodeType===1&&Te.push({element:Ee,left:Ee.scrollLeft,top:Ee.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<Te.length;_++){var te=Te[_];te.element.scrollLeft=te.left,te.element.scrollTop=te.top}}oT=!!xC,SC=xC=null}finally{On=b,cn.p=y,pe.T=d}}e.current=a,wr=a2}}function mi(){if(wr===a2){wr=Wg;var e=Jp,a=s1,s=e0,d=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||d){d=pe.T,pe.T=null;var y=cn.p;cn.p=_t;var b=On;On|=gc;try{Xe!==null&&typeof Xe.markLayoutEffectsStarted=="function"&&Xe.markLayoutEffectsStarted(s),t1=s,n1=e,lp(e,a.alternate,a),n1=t1=null,Xe!==null&&typeof Xe.markLayoutEffectsStopped=="function"&&Xe.markLayoutEffectsStopped()}finally{On=b,cn.p=y,pe.T=d}}wr=i2}}function oh(){if(wr===rZ||wr===i2){wr=Wg,Ov();var e=Jp,a=s1,s=e0,d=r2,y=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;y?wr=lC:(wr=Wg,s1=Jp=null,lh(e,e.pendingLanes),Jg=0,Xb=null);var b=e.pendingLanes;if(b===0&&(Wp=null),y||ys(e),y=md(s),a=a.stateNode,ri&&typeof ri.onCommitFiberRoot=="function")try{var D=(a.current.flags&128)===128;switch(y){case _t:var _=Mh;break;case Ks:_=Np;break;case Is:_=Ko;break;case sc:_=au;break;default:_=Ko}ri.onCommitFiberRoot(rc,a,_,D)}catch(Te){aa||(aa=!0,console.error("React instrumentation encountered an error: %s",Te))}if(xa&&e.memoizedUpdaters.clear(),sg(),d!==null){D=pe.T,_=cn.p,cn.p=_t,pe.T=null;try{var $=e.onRecoverableError;for(a=0;a<d.length;a++){var G=d[a],ye=Bo(G.stack);at(G.source,$,G.value,ye)}}finally{pe.T=D,cn.p=_}}(e0&3)!==0&&kl(),xr(e),b=e.pendingLanes,(s&4194090)!==0&&(b&42)!==0?(VS=!0,e===fC?Fb++:(Fb=0,fC=e)):Fb=0,$o(0),Je()}}function Bo(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function lh(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Hr(a)))}function kl(e){return Gr(),mi(),oh(),_f()}function _f(){if(wr!==lC)return!1;var e=Jp,a=uC;uC=0;var s=md(e0),d=Is>s?Is:s;s=pe.T;var y=cn.p;try{cn.p=d,pe.T=null,d=cC,cC=null;var b=Jp,D=e0;if(wr=Wg,s1=Jp=null,e0=0,(On&(Ds|gc))!==tl)throw Error("Cannot flush passive effects while already rendering.");dC=!0,FS=!1,Xe!==null&&typeof Xe.markPassiveEffectsStarted=="function"&&Xe.markPassiveEffectsStarted(D);var _=On;if(On|=gc,rg(b.current),Xu(b,b.current,D,d),Xe!==null&&typeof Xe.markPassiveEffectsStopped=="function"&&Xe.markPassiveEffectsStopped(),ys(b),On=_,$o(0,!1),FS?b===Xb?Jg++:(Jg=0,Xb=b):Jg=0,FS=dC=!1,ri&&typeof ri.onPostCommitFiberRoot=="function")try{ri.onPostCommitFiberRoot(rc,b)}catch(G){aa||(aa=!0,console.error("React instrumentation encountered an error: %s",G))}var $=b.current.stateNode;return $.effectDuration=0,$.passiveEffectDuration=0,!0}finally{cn.p=y,pe.T=s,lh(e,a)}}function An(e,a,s){a=la(s,a),a=ea(e.stateNode,a,2),e=Ba(e,a,2),e!==null&&(dd(e,2),xr(e))}function Sn(e,a,s){if(o1=!1,e.tag===3)An(e,e,s);else{for(;a!==null;){if(a.tag===3){An(a,e,s);return}if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Wp===null||!Wp.has(d))){e=la(s,e),s=zo(2),d=Ba(a,s,2),d!==null&&(Yu(s,d,a,e),dd(d,2),xr(d));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
860
|
+
|
|
861
|
+
Error message:
|
|
862
|
+
|
|
863
|
+
%s`,s)}}function mp(e,a,s){var d=e.pingCache;if(d===null){d=e.pingCache=new tZ;var y=new Set;d.set(a,y)}else y=d.get(a),y===void 0&&(y=new Set,d.set(a,y));y.has(s)||(rC=!0,y.add(s),d=fv.bind(null,e,a,s),xa&&Yl(e,s),a.then(d,d))}function fv(e,a,s){var d=e.pingCache;d!==null&&d.delete(a),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,og()&&pe.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
864
|
+
|
|
865
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
866
|
+
|
|
867
|
+
act(() => {
|
|
868
|
+
/* finish loading suspended data */
|
|
869
|
+
});
|
|
870
|
+
/* assert on the output */
|
|
871
|
+
|
|
872
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Qn===e&&(Jt&s)===s&&(Za===Zg||Za===nC&&(Jt&62914560)===Jt&&ha()-oC<e2?(On&Ds)===tl&&st(e,0):sC|=s,Ig===Jt&&(Ig=0)),xr(e)}function zf(e,a){a===0&&(a=Vc()),e=Hi(e,a),e!==null&&(dd(e,a),xr(e))}function Pl(e){var a=e.memoizedState,s=0;a!==null&&(s=a.retryLane),zf(e,s)}function dv(e,a){var s=0;switch(e.tag){case 13:var d=e.stateNode,y=e.memoizedState;y!==null&&(s=y.retryLane);break;case 19:d=e.stateNode;break;case 22:d=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}d!==null&&d.delete(a),zf(e,s)}function uh(e,a,s){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var d=e,y=a,b=y.type===ii;b=s||b,y.tag!==22?y.flags&67108864?b&&at(y,Ku,d,y,(y.mode&K8)===ia):uh(d,y,b):y.memoizedState===null&&(b&&y.flags&8192?at(y,Ku,d,y):y.subtreeFlags&67108864&&at(y,uh,d,y,b)),a=a.sibling}}function Ku(e,a){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Pe(!0);try{hi(a),s&&ms(a),ig(e,a.alternate,a,!1),s&&Df(e,a,0,null,!1,0)}finally{Pe(!1)}}function ys(e){var a=!0;e.current.mode&(Jr|dc)||(a=!1),uh(e,e.current,a)}function ch(e){if((On&Ds)===tl){var a=e.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=De(e)||"ReactComponent",XS!==null){if(XS.has(a))return;XS.add(a)}else XS=new Set([a]);at(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Yl(e,a){xa&&e.memoizedUpdaters.forEach(function(s){li(e,s,a)})}function Nf(e,a){var s=pe.actQueue;return s!==null?(s.push(a),lZ):Dg(e,a)}function fh(e){og()&&pe.actQueue===null&&at(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
873
|
+
|
|
874
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
875
|
+
|
|
876
|
+
act(() => {
|
|
877
|
+
/* fire events that update state */
|
|
878
|
+
});
|
|
879
|
+
/* assert on the output */
|
|
880
|
+
|
|
881
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,De(e))})}function xr(e){e!==l1&&e.next===null&&(l1===null?ZS=l1=e:l1=l1.next=e),QS=!0,pe.actQueue!==null?mC||(mC=!0,hv()):hC||(hC=!0,hv())}function $o(e,a){if(!pC&&QS){pC=!0;do for(var s=!1,d=ZS;d!==null;){if(e!==0){var y=d.pendingLanes;if(y===0)var b=0;else{var D=d.suspendedLanes,_=d.pingedLanes;b=(1<<31-lt(42|e)+1)-1,b&=y&~(D&~_),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(s=!0,fg(d,b))}else b=Jt,b=fd(d,d===Qn?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==ny),(b&3)===0||zc(d,b)||(s=!0,fg(d,b));d=d.next}while(s);pC=!1}}function dh(){Fr()}function Fr(){QS=mC=hC=!1;var e=0;ey!==0&&(gg()&&(e=ey),ey=0);for(var a=ha(),s=null,d=ZS;d!==null;){var y=d.next,b=un(d,a);b===0?(d.next=null,s===null?ZS=y:s.next=y,y===null&&(l1=s)):(s=d,(e!==0||(b&3)!==0)&&(QS=!0)),d=y}$o(e)}function un(e,a){for(var s=e.suspendedLanes,d=e.pingedLanes,y=e.expirationTimes,b=e.pendingLanes&-62914561;0<b;){var D=31-lt(b),_=1<<D,$=y[D];$===-1?((_&s)===0||(_&d)!==0)&&(y[D]=Nc(_,a)):$<=a&&(e.expiredLanes|=_),b&=~_}if(a=Qn,s=Jt,s=fd(e,e===a?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ny),d=e.callbackNode,s===0||e===a&&(jn===Qg||jn===Kg)||e.cancelPendingCommit!==null)return d!==null&&fa(d),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||zc(e,s)){if(a=s&-s,a!==e.callbackPriority||pe.actQueue!==null&&d!==gC)fa(d);else return a;switch(md(s)){case _t:case Ks:s=Np;break;case Is:s=Ko;break;case sc:s=au;break;default:s=Ko}return d=Gs.bind(null,e),pe.actQueue!==null?(pe.actQueue.push(d),s=gC):s=Dg(s,d),e.callbackPriority=a,e.callbackNode=s,a}return d!==null&&fa(d),e.callbackPriority=2,e.callbackNode=null,2}function Gs(e,a){if(VS=NS=!1,wr!==Wg&&wr!==lC)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(kl()&&e.callbackNode!==s)return null;var d=Jt;return d=fd(e,e===Qn?d:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ny),d===0?null:(Un(e,d,a),un(e,ha()),e.callbackNode!=null&&e.callbackNode===s?Gs.bind(null,e):null)}function fg(e,a){if(kl())return null;NS=VS,VS=!1,Un(e,a,!0)}function fa(e){e!==gC&&e!==null&&Mv(e)}function hv(){pe.actQueue!==null&&pe.actQueue.push(function(){return Fr(),null}),vZ(function(){(On&(Ds|gc))!==tl?Dg(Mh,dh):Fr()})}function pp(){return ey===0&&(ey=bi()),ey}function dg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Me(e,"action"),yo(""+e))}function kn(e,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,e.id&&s.setAttribute("form",e.id),a.parentNode.insertBefore(s,a),e=new FormData(e),s.parentNode.removeChild(s),e}function Wi(e,a,s,d,y){if(a==="submit"&&s&&s.stateNode===y){var b=dg((y[ir]||null).action),D=d.submitter;D&&(a=(a=D[ir]||null)?dg(a.formAction):D.getAttribute("formAction"),a!==null&&(b=a,D=null));var _=new fn("action","action",null,d,y);e.push({event:_,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(ey!==0){var $=D?kn(y,D):new FormData(y),G={pending:!0,data:$,method:y.method,action:b};Object.freeze(G),Xm(s,G,null,$)}}else typeof b=="function"&&(_.preventDefault(),$=D?kn(y,D):new FormData(y),G={pending:!0,data:$,method:y.method,action:b},Object.freeze(G),Xm(s,G,b,$))},currentTarget:y}]})}}function Xr(e,a,s){e.currentTarget=s;try{a(e)}catch(d){I3(d)}e.currentTarget=null}function hg(e,a){a=(a&4)!==0;for(var s=0;s<e.length;s++){var d=e[s];e:{var y=void 0,b=d.event;if(d=d.listeners,a)for(var D=d.length-1;0<=D;D--){var _=d[D],$=_.instance,G=_.currentTarget;if(_=_.listener,$!==y&&b.isPropagationStopped())break e;$!==null?at($,Xr,b,_,G):Xr(b,_,G),y=$}else for(D=0;D<d.length;D++){if(_=d[D],$=_.instance,G=_.currentTarget,_=_.listener,$!==y&&b.isPropagationStopped())break e;$!==null?at($,Xr,b,_,G):Xr(b,_,G),y=$}}}}function qt(e,a){yC.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=a[Vp];s===void 0&&(s=a[Vp]=new Set);var d=e+"__bubble";s.has(d)||(Ji(a,e,2,!1),s.add(d))}function mg(e,a,s){yC.has(e)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var d=0;a&&(d|=4),Ji(s,e,d,a)}function hh(e){if(!e[KS]){e[KS]=!0,oc.forEach(function(s){s!=="selectionchange"&&(yC.has(s)||mg(s,!1,e),mg(s,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[KS]||(a[KS]=!0,mg("selectionchange",!1,a))}}function Ji(e,a,s,d){switch(Fo(a)){case _t:var y=wh;break;case Ks:y=Wl;break;default:y=Hf}s=y.bind(null,a,s,e),y=void 0,!Oe||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(y=!0),d?y!==void 0?e.addEventListener(a,s,{capture:!0,passive:y}):e.addEventListener(a,s,!0):y!==void 0?e.addEventListener(a,s,{passive:y}):e.addEventListener(a,s,!1)}function er(e,a,s,d,y){var b=d;if((a&1)===0&&(a&2)===0&&d!==null)e:for(;;){if(d===null)return;var D=d.tag;if(D===3||D===4){var _=d.stateNode.containerInfo;if(_===y)break;if(D===4)for(D=d.return;D!==null;){var $=D.tag;if(($===3||$===4)&&D.stateNode.containerInfo===y)return;D=D.return}for(;_!==null;){if(D=Bi(_),D===null)return;if($=D.tag,$===5||$===6||$===26||$===27){d=b=D;continue e}_=_.parentNode}}d=d.return}Kc(function(){var G=b,ye=rs(s),Te=[];e:{var ge=Q8.get(e);if(ge!==void 0){var Ee=fn,it=e;switch(e){case"keypress":if(_u(s)===0)break e;case"keydown":case"keyup":Ee=S3;break;case"focusin":it="focus",Ee=to;break;case"focusout":it="blur",Ee=to;break;case"beforeblur":case"afterblur":Ee=to;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ee=ut;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ee=Fa;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ee=w3;break;case rr:case Wr:case Ta:Ee=m3;break;case Z8:Ee=C3;break;case"scroll":case"scrollend":Ee=ne;break;case"wheel":Ee=M3;break;case"copy":case"cut":case"paste":Ee=Ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ee=CS;break;case"toggle":case"beforetoggle":Ee=R3}var wt=(a&4)!==0,Kn=!wt&&(e==="scroll"||e==="scrollend"),nn=wt?ge!==null?ge+"Capture":null:ge;wt=[];for(var K=G,I;K!==null;){var te=K;if(I=te.stateNode,te=te.tag,te!==5&&te!==26&&te!==27||I===null||nn===null||(te=Ur(K,nn),te!=null&&wt.push(Iu(K,te,I))),Kn)break;K=K.return}0<wt.length&&(ge=new Ee(ge,it,null,s,ye),Te.push({event:ge,listeners:wt}))}}if((a&7)===0){e:{if(ge=e==="mouseover"||e==="pointerover",Ee=e==="mouseout"||e==="pointerout",ge&&s!==E&&(it=s.relatedTarget||s.fromElement)&&(Bi(it)||it[ru]))break e;if((Ee||ge)&&(ge=ye.window===ye?ye:(ge=ye.ownerDocument)?ge.defaultView||ge.parentWindow:window,Ee?(it=s.relatedTarget||s.toElement,Ee=G,it=it?Bi(it):null,it!==null&&(Kn=q(it),wt=it.tag,it!==Kn||wt!==5&&wt!==27&&wt!==6)&&(it=null)):(Ee=null,it=G),Ee!==it)){if(wt=ut,te="onMouseLeave",nn="onMouseEnter",K="mouse",(e==="pointerout"||e==="pointerover")&&(wt=CS,te="onPointerLeave",nn="onPointerEnter",K="pointer"),Kn=Ee==null?ge:ns(Ee),I=it==null?ge:ns(it),ge=new wt(te,K+"leave",Ee,s,ye),ge.target=Kn,ge.relatedTarget=I,te=null,Bi(ye)===G&&(wt=new wt(nn,K+"enter",it,s,ye),wt.target=I,wt.relatedTarget=Kn,te=wt),Kn=te,Ee&&it)t:{for(wt=Ee,nn=it,K=0,I=wt;I;I=Wu(I))K++;for(I=0,te=nn;te;te=Wu(te))I++;for(;0<K-I;)wt=Wu(wt),K--;for(;0<I-K;)nn=Wu(nn),I--;for(;K--;){if(wt===nn||nn!==null&&wt===nn.alternate)break t;wt=Wu(wt),nn=Wu(nn)}wt=null}else wt=null;Ee!==null&&Ho(Te,ge,Ee,wt,!1),it!==null&&Kn!==null&&Ho(Te,Kn,it,wt,!0)}}e:{if(ge=G?ns(G):window,Ee=ge.nodeName&&ge.nodeName.toLowerCase(),Ee==="select"||Ee==="input"&&ge.type==="file")var Ce=U0;else if(Dd(ge))if(Le)Ce=Jy;else{Ce=Iy;var Fe=Rm}else Ee=ge.nodeName,!Ee||Ee.toLowerCase()!=="input"||ge.type!=="checkbox"&&ge.type!=="radio"?G&&Ou(G.elementType)&&(Ce=U0):Ce=Wy;if(Ce&&(Ce=Ce(e,G))){Jn(Te,Ce,s,ye);break e}Fe&&Fe(e,ge,G),e==="focusout"&&G&&ge.type==="number"&&G.memoizedProps.value!=null&&wu(ge,"number",ge.value)}switch(Fe=G?ns(G):window,e){case"focusin":(Dd(Fe)||Fe.contentEditable==="true")&&(nt=Fe,vt=G,zt=null);break;case"focusout":zt=vt=nt=null;break;case"mousedown":bt=!0;break;case"contextmenu":case"mouseup":case"dragend":bt=!1,os(Te,s,ye);break;case"selectionchange":if(Ke)break;case"keydown":case"keyup":os(Te,s,ye)}var Bt;if(wb)e:{switch(e){case"compositionstart":var rt="onCompositionStart";break e;case"compositionend":rt="onCompositionEnd";break e;case"compositionupdate":rt="onCompositionUpdate";break e}rt=void 0}else Z?ml(e,s)&&(rt="onCompositionEnd"):e==="keydown"&&s.keyCode===DS&&(rt="onCompositionStart");rt&&(T&&s.locale!=="ko"&&(Z||rt!=="onCompositionStart"?rt==="onCompositionEnd"&&Z&&(Bt=Mm()):(me=ye,he="value"in me?me.value:me.textContent,Z=!0)),Fe=ni(G,rt),0<Fe.length&&(rt=new ES(rt,e,null,s,ye),Te.push({event:rt,listeners:Fe}),Bt?rt.data=Bt:(Bt=Ed(s),Bt!==null&&(rt.data=Bt)))),(Bt=m?Cd(e,s):mb(e,s))&&(rt=ni(G,"onBeforeInput"),0<rt.length&&(Fe=new g3("onBeforeInput","beforeinput",null,s,ye),Te.push({event:Fe,listeners:rt}),Fe.data=Bt)),Wi(Te,e,G,s,ye)}hg(Te,a)})}function Iu(e,a,s){return{instance:e,listener:a,currentTarget:s}}function ni(e,a){for(var s=a+"Capture",d=[];e!==null;){var y=e,b=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||b===null||(y=Ur(e,s),y!=null&&d.unshift(Iu(e,y,b)),y=Ur(e,a),y!=null&&d.push(Iu(e,y,b))),e.tag===3)return d;e=e.return}return[]}function Wu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ho(e,a,s,d,y){for(var b=a._reactName,D=[];s!==null&&s!==d;){var _=s,$=_.alternate,G=_.stateNode;if(_=_.tag,$!==null&&$===d)break;_!==5&&_!==26&&_!==27||G===null||($=G,y?(G=Ur(s,b),G!=null&&D.unshift(Iu(s,G,$))):y||(G=Ur(s,b),G!=null&&D.push(Iu(s,G,$)))),s=s.return}D.length!==0&&e.push({event:a,listeners:D})}function ko(e,a){z0(e,a),e!=="input"&&e!=="textarea"&&e!=="select"||a==null||a.value!==null||Bv||(Bv=!0,e==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var s={registrationNameDependencies:ws,possibleRegistrationNames:Up};Ou(e)||typeof a.is=="string"||Qy(e,a,s),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Ln(e,a,s,d){a!==s&&(s=Po(s),Po(a)!==s&&(d[e]=a))}function pg(e,a,s){a.forEach(function(d){s[ec(d)]=d==="style"?gp(e):e.getAttribute(d)})}function Zr(e,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof a)}function vs(e,a){return e=e.namespaceURI===Pp||e.namespaceURI===Jo?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=a,e.innerHTML}function Po(e){return X(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Be(e)),xe(e)),(typeof e=="string"?e:""+e).replace(uZ,`
|
|
882
|
+
`).replace(cZ,"")}function Ju(e,a){return a=Po(a),Po(e)===a}function ql(){}function Dt(e,a,s,d,y,b){switch(s){case"children":typeof d=="string"?(Gc(d,a,!1),a==="body"||a==="textarea"&&d===""||Fc(e,d)):(typeof d=="number"||typeof d=="bigint")&&(Gc(""+d,a,!1),a!=="body"&&Fc(e,""+d));break;case"className":Bc(e,"class",d);break;case"tabIndex":Bc(e,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Bc(e,s,d);break;case"style":Ad(e,d,b);break;case"data":if(a!=="object"){Bc(e,"data",d);break}case"src":case"href":if(d===""&&(a!=="a"||s!=="href")){console.error(s==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',s,s),e.removeAttribute(s);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(s);break}Me(d,s),d=yo(""+d),e.setAttribute(s,d);break;case"action":case"formAction":if(d!=null&&(a==="form"?s==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof d=="function"&&(y.encType==null&&y.method==null||JS||(JS=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),y.target==null||WS||(WS=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?s==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||y.type==="submit"||y.type==="image"||IS?a!=="button"||y.type==null||y.type==="submit"||IS?typeof d=="function"&&(y.name==null||c2||(c2=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),y.formEncType==null&&y.formMethod==null||JS||(JS=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),y.formTarget==null||WS||(WS=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(IS=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(IS=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(s==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof d=="function"){e.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(s==="formAction"?(a!=="input"&&Dt(e,a,"name",y.name,y,null),Dt(e,a,"formEncType",y.formEncType,y,null),Dt(e,a,"formMethod",y.formMethod,y,null),Dt(e,a,"formTarget",y.formTarget,y,null)):(Dt(e,a,"encType",y.encType,y,null),Dt(e,a,"method",y.method,y,null),Dt(e,a,"target",y.target,y,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){e.removeAttribute(s);break}Me(d,s),d=yo(""+d),e.setAttribute(s,d);break;case"onClick":d!=null&&(typeof d!="function"&&Zr(s,d),e.onclick=ql);break;case"onScroll":d!=null&&(typeof d!="function"&&Zr(s,d),qt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&Zr(s,d),qt("scrollend",e));break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=d.__html,s!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=s}}break;case"multiple":e.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":e.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){e.removeAttribute("xlink:href");break}Me(d,s),s=yo(""+d),e.setAttributeNS(ty,"xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?(Me(d,s),e.setAttribute(s,""+d)):e.removeAttribute(s);break;case"inert":d!==""||eT[s]||(eT[s]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",s));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?e.setAttribute(s,""):e.removeAttribute(s);break;case"capture":case"download":d===!0?e.setAttribute(s,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?(Me(d,s),e.setAttribute(s,d)):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?(Me(d,s),e.setAttribute(s,d)):e.removeAttribute(s);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?e.removeAttribute(s):(Me(d,s),e.setAttribute(s,d));break;case"popover":qt("beforetoggle",e),qt("toggle",e),pd(e,"popover",d);break;case"xlinkActuate":zr(e,ty,"xlink:actuate",d);break;case"xlinkArcrole":zr(e,ty,"xlink:arcrole",d);break;case"xlinkRole":zr(e,ty,"xlink:role",d);break;case"xlinkShow":zr(e,ty,"xlink:show",d);break;case"xlinkTitle":zr(e,ty,"xlink:title",d);break;case"xlinkType":zr(e,ty,"xlink:type",d);break;case"xmlBase":zr(e,vC,"xml:base",d);break;case"xmlLang":zr(e,vC,"xml:lang",d);break;case"xmlSpace":zr(e,vC,"xml:space",d);break;case"is":b!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),pd(e,"is",d);break;case"innerText":case"textContent":break;case"popoverTarget":f2||d==null||typeof d!="object"||(f2=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",d));default:!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N"?(s=Ru(s),pd(e,s,d)):ws.hasOwnProperty(s)&&d!=null&&typeof d!="function"&&Zr(s,d)}}function Gl(e,a,s,d,y,b){switch(s){case"style":Ad(e,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=d.__html,s!=null){if(y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=s}}break;case"children":typeof d=="string"?Fc(e,d):(typeof d=="number"||typeof d=="bigint")&&Fc(e,""+d);break;case"onScroll":d!=null&&(typeof d!="function"&&Zr(s,d),qt("scroll",e));break;case"onScrollEnd":d!=null&&(typeof d!="function"&&Zr(s,d),qt("scrollend",e));break;case"onClick":d!=null&&(typeof d!="function"&&Zr(s,d),e.onclick=ql);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ws.hasOwnProperty(s))d!=null&&typeof d!="function"&&Zr(s,d);else e:{if(s[0]==="o"&&s[1]==="n"&&(y=s.endsWith("Capture"),a=s.slice(2,y?s.length-7:void 0),b=e[ir]||null,b=b!=null?b[s]:null,typeof b=="function"&&e.removeEventListener(a,b,y),typeof d=="function")){typeof b!="function"&&b!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(a,d,y);break e}s in e?e[s]=d:d===!0?e.setAttribute(s,""):pd(e,s,d)}}}function Ya(e,a,s){switch(ko(a,s),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":qt("error",e),qt("load",e);var d=!1,y=!1,b;for(b in s)if(s.hasOwnProperty(b)){var D=s[b];if(D!=null)switch(b){case"src":d=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Dt(e,a,b,D,s,null)}}y&&Dt(e,a,"srcSet",s.srcSet,s,null),d&&Dt(e,a,"src",s.src,s,null);return;case"input":as("input",s),qt("invalid",e);var _=b=D=y=null,$=null,G=null;for(d in s)if(s.hasOwnProperty(d)){var ye=s[d];if(ye!=null)switch(d){case"name":y=ye;break;case"type":D=ye;break;case"checked":$=ye;break;case"defaultChecked":G=ye;break;case"value":b=ye;break;case"defaultValue":_=ye;break;case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Dt(e,a,d,ye,s,null)}}Au(e,s),_0(e,b,_,$,G,D,y,!1),oa(e);return;case"select":as("select",s),qt("invalid",e),d=D=b=null;for(y in s)if(s.hasOwnProperty(y)&&(_=s[y],_!=null))switch(y){case"value":b=_;break;case"defaultValue":D=_;break;case"multiple":d=_;default:Dt(e,a,y,_,s,null)}is(e,s),a=b,s=D,e.multiple=!!d,a!=null?mo(e,!!d,a,!1):s!=null&&mo(e,!!d,s,!0);return;case"textarea":as("textarea",s),qt("invalid",e),b=y=d=null;for(D in s)if(s.hasOwnProperty(D)&&(_=s[D],_!=null))switch(D){case"value":d=_;break;case"defaultValue":y=_;break;case"children":b=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Dt(e,a,D,_,s,null)}xd(e,s),Eu(e,d,y,b),oa(e);return;case"option":Xy(e,s);for($ in s)if(s.hasOwnProperty($)&&(d=s[$],d!=null))switch($){case"selected":e.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:Dt(e,a,$,d,s,null)}return;case"dialog":qt("beforetoggle",e),qt("toggle",e),qt("cancel",e),qt("close",e);break;case"iframe":case"object":qt("load",e);break;case"video":case"audio":for(d=0;d<Zb.length;d++)qt(Zb[d],e);break;case"image":qt("error",e),qt("load",e);break;case"details":qt("toggle",e);break;case"embed":case"source":case"link":qt("error",e),qt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(G in s)if(s.hasOwnProperty(G)&&(d=s[G],d!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Dt(e,a,G,d,s,null)}return;default:if(Ou(a)){for(ye in s)s.hasOwnProperty(ye)&&(d=s[ye],d!==void 0&&Gl(e,a,ye,d,s,void 0));return}}for(_ in s)s.hasOwnProperty(_)&&(d=s[_],d!=null&&Dt(e,a,_,d,s,null))}function mv(e,a,s,d){switch(ko(a,d),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,b=null,D=null,_=null,$=null,G=null,ye=null;for(Ee in s){var Te=s[Ee];if(s.hasOwnProperty(Ee)&&Te!=null)switch(Ee){case"checked":break;case"value":break;case"defaultValue":$=Te;default:d.hasOwnProperty(Ee)||Dt(e,a,Ee,null,d,Te)}}for(var ge in d){var Ee=d[ge];if(Te=s[ge],d.hasOwnProperty(ge)&&(Ee!=null||Te!=null))switch(ge){case"type":b=Ee;break;case"name":y=Ee;break;case"checked":G=Ee;break;case"defaultChecked":ye=Ee;break;case"value":D=Ee;break;case"defaultValue":_=Ee;break;case"children":case"dangerouslySetInnerHTML":if(Ee!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ee!==Te&&Dt(e,a,ge,Ee,d,Te)}}a=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,d=d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null,a||!d||u2||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),u2=!0),!a||d||l2||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),l2=!0),Hc(e,D,_,$,G,ye,b,y);return;case"select":Ee=D=_=ge=null;for(b in s)if($=s[b],s.hasOwnProperty(b)&&$!=null)switch(b){case"value":break;case"multiple":Ee=$;default:d.hasOwnProperty(b)||Dt(e,a,b,null,d,$)}for(y in d)if(b=d[y],$=s[y],d.hasOwnProperty(y)&&(b!=null||$!=null))switch(y){case"value":ge=b;break;case"defaultValue":_=b;break;case"multiple":D=b;default:b!==$&&Dt(e,a,y,b,d,$)}d=_,a=D,s=Ee,ge!=null?mo(e,!!a,ge,!1):!!s!=!!a&&(d!=null?mo(e,!!a,d,!0):mo(e,!!a,a?[]:"",!1));return;case"textarea":Ee=ge=null;for(_ in s)if(y=s[_],s.hasOwnProperty(_)&&y!=null&&!d.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Dt(e,a,_,null,d,y)}for(D in d)if(y=d[D],b=s[D],d.hasOwnProperty(D)&&(y!=null||b!=null))switch(D){case"value":ge=y;break;case"defaultValue":Ee=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:y!==b&&Dt(e,a,D,y,d,b)}Sm(e,ge,Ee);return;case"option":for(var it in s)if(ge=s[it],s.hasOwnProperty(it)&&ge!=null&&!d.hasOwnProperty(it))switch(it){case"selected":e.selected=!1;break;default:Dt(e,a,it,null,d,ge)}for($ in d)if(ge=d[$],Ee=s[$],d.hasOwnProperty($)&&ge!==Ee&&(ge!=null||Ee!=null))switch($){case"selected":e.selected=ge&&typeof ge!="function"&&typeof ge!="symbol";break;default:Dt(e,a,$,ge,d,Ee)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var wt in s)ge=s[wt],s.hasOwnProperty(wt)&&ge!=null&&!d.hasOwnProperty(wt)&&Dt(e,a,wt,null,d,ge);for(G in d)if(ge=d[G],Ee=s[G],d.hasOwnProperty(G)&&ge!==Ee&&(ge!=null||Ee!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Dt(e,a,G,ge,d,Ee)}return;default:if(Ou(a)){for(var Kn in s)ge=s[Kn],s.hasOwnProperty(Kn)&&ge!==void 0&&!d.hasOwnProperty(Kn)&&Gl(e,a,Kn,void 0,d,ge);for(ye in d)ge=d[ye],Ee=s[ye],!d.hasOwnProperty(ye)||ge===Ee||ge===void 0&&Ee===void 0||Gl(e,a,ye,ge,d,Ee);return}}for(var nn in s)ge=s[nn],s.hasOwnProperty(nn)&&ge!=null&&!d.hasOwnProperty(nn)&&Dt(e,a,nn,null,d,ge);for(Te in d)ge=d[Te],Ee=s[Te],!d.hasOwnProperty(Te)||ge===Ee||ge==null&&Ee==null||Dt(e,a,Te,ge,d,Ee)}function ec(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function gp(e){var a={};e=e.style;for(var s=0;s<e.length;s++){var d=e[s];a[d]=e.getPropertyValue(d)}return a}function mh(e,a,s){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var d,y=d="",b;for(b in a)if(a.hasOwnProperty(b)){var D=a[b];D!=null&&typeof D!="boolean"&&D!==""&&(b.indexOf("--")===0?(Ye(D,b),d+=y+b+":"+(""+D).trim()):typeof D!="number"||D===0||$g.has(b)?(Ye(D,b),d+=y+b.replace(Wo,"-$1").toLowerCase().replace(Zf,"-ms-")+":"+(""+D).trim()):d+=y+b.replace(Wo,"-$1").toLowerCase().replace(Zf,"-ms-")+":"+D+"px",y=";")}d=d||null,a=e.getAttribute("style"),a!==d&&(d=Po(d),Po(a)!==d&&(s.style=gp(e)))}}function Sr(e,a,s,d,y,b){if(y.delete(s),e=e.getAttribute(s),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Me(d,a),e===""+d)return}Ln(a,e,d,b)}function pv(e,a,s,d,y,b){if(y.delete(s),e=e.getAttribute(s),e===null){switch(typeof d){case"function":case"symbol":return}if(!d)return}else switch(typeof d){case"function":case"symbol":break;default:if(d)return}Ln(a,e,d,b)}function ph(e,a,s,d,y,b){if(y.delete(s),e=e.getAttribute(s),e===null)switch(typeof d){case"undefined":case"function":case"symbol":return}else if(d!=null)switch(typeof d){case"function":case"symbol":break;default:if(Me(d,s),e===""+d)return}Ln(a,e,d,b)}function mn(e,a,s,d,y,b){if(y.delete(s),e=e.getAttribute(s),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(d))return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(!isNaN(d)&&(Me(d,a),e===""+d))return}Ln(a,e,d,b)}function wn(e,a,s,d,y,b){if(y.delete(s),e=e.getAttribute(s),e===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":return}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(Me(d,a),s=yo(""+d),e===s)return}Ln(a,e,d,b)}function Gt(e,a,s,d){for(var y={},b=new Set,D=e.attributes,_=0;_<D.length;_++)switch(D[_].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:b.add(D[_].name)}if(Ou(a)){for(var $ in s)if(s.hasOwnProperty($)){var G=s[$];if(G!=null){if(ws.hasOwnProperty($))typeof G!="function"&&Zr($,G);else if(s.suppressHydrationWarning!==!0)switch($){case"children":typeof G!="string"&&typeof G!="number"||Ln("children",e.textContent,G,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":D=e.innerHTML,G=G?G.__html:void 0,G!=null&&(G=vs(e,G),Ln($,D,G,y));continue;case"style":b.delete($),mh(e,G,y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":b.delete($.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",$);continue;case"className":b.delete("class"),D=D0(e,"class",G),Ln("className",D,G,y);continue;default:d.context===Qh&&a!=="svg"&&a!=="math"?b.delete($.toLowerCase()):b.delete($),D=D0(e,$,G),Ln($,D,G,y)}}}}else for(G in s)if(s.hasOwnProperty(G)&&($=s[G],$!=null)){if(ws.hasOwnProperty(G))typeof $!="function"&&Zr(G,$);else if(s.suppressHydrationWarning!==!0)switch(G){case"children":typeof $!="string"&&typeof $!="number"||Ln("children",e.textContent,$,y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":D=e.innerHTML,$=$?$.__html:void 0,$!=null&&($=vs(e,$),D!==$&&(y[G]={__html:D}));continue;case"className":Sr(e,G,"class",$,b,y);continue;case"tabIndex":Sr(e,G,"tabindex",$,b,y);continue;case"style":b.delete(G),mh(e,$,y);continue;case"multiple":b.delete(G),Ln(G,e.multiple,$,y);continue;case"muted":b.delete(G),Ln(G,e.muted,$,y);continue;case"autoFocus":b.delete("autofocus"),Ln(G,e.autofocus,$,y);continue;case"data":if(a!=="object"){b.delete(G),D=e.getAttribute("data"),Ln(G,D,$,y);continue}case"src":case"href":if(!($!==""||a==="a"&&G==="href"||a==="object"&&G==="data")){console.error(G==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G);continue}wn(e,G,G,$,b,y);continue;case"action":case"formAction":if(D=e.getAttribute(G),typeof $=="function"){b.delete(G.toLowerCase()),G==="formAction"?(b.delete("name"),b.delete("formenctype"),b.delete("formmethod"),b.delete("formtarget")):(b.delete("enctype"),b.delete("method"),b.delete("target"));continue}else if(D===fZ){b.delete(G.toLowerCase()),Ln(G,"function",$,y);continue}wn(e,G,G.toLowerCase(),$,b,y);continue;case"xlinkHref":wn(e,G,"xlink:href",$,b,y);continue;case"contentEditable":ph(e,G,"contenteditable",$,b,y);continue;case"spellCheck":ph(e,G,"spellcheck",$,b,y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":ph(e,G,G,$,b,y);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":pv(e,G,G.toLowerCase(),$,b,y);continue;case"capture":case"download":e:{_=e;var ye=D=G,Te=y;if(b.delete(ye),_=_.getAttribute(ye),_===null)switch(typeof $){case"undefined":case"function":case"symbol":break e;default:if($===!1)break e}else if($!=null)switch(typeof $){case"function":case"symbol":break;case"boolean":if($===!0&&_==="")break e;break;default:if(Me($,D),_===""+$)break e}Ln(D,_,$,Te)}continue;case"cols":case"rows":case"size":case"span":e:{if(_=e,ye=D=G,Te=y,b.delete(ye),_=_.getAttribute(ye),_===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN($)||1>$)break e}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(!(isNaN($)||1>$)&&(Me($,D),_===""+$))break e}Ln(D,_,$,Te)}continue;case"rowSpan":mn(e,G,"rowspan",$,b,y);continue;case"start":mn(e,G,G,$,b,y);continue;case"xHeight":Sr(e,G,"x-height",$,b,y);continue;case"xlinkActuate":Sr(e,G,"xlink:actuate",$,b,y);continue;case"xlinkArcrole":Sr(e,G,"xlink:arcrole",$,b,y);continue;case"xlinkRole":Sr(e,G,"xlink:role",$,b,y);continue;case"xlinkShow":Sr(e,G,"xlink:show",$,b,y);continue;case"xlinkTitle":Sr(e,G,"xlink:title",$,b,y);continue;case"xlinkType":Sr(e,G,"xlink:type",$,b,y);continue;case"xmlBase":Sr(e,G,"xml:base",$,b,y);continue;case"xmlLang":Sr(e,G,"xml:lang",$,b,y);continue;case"xmlSpace":Sr(e,G,"xml:space",$,b,y);continue;case"inert":$!==""||eT[G]||(eT[G]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",G)),pv(e,G,G,$,b,y);continue;default:if(!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"){_=Ru(G),D=!1,d.context===Qh&&a!=="svg"&&a!=="math"?b.delete(_.toLowerCase()):(ye=G.toLowerCase(),ye=Hh.hasOwnProperty(ye)&&Hh[ye]||null,ye!==null&&ye!==G&&(D=!0,b.delete(ye)),b.delete(_));e:if(ye=e,Te=_,_=$,C0(Te))if(ye.hasAttribute(Te))ye=ye.getAttribute(Te),Me(_,Te),_=ye===""+_?_:ye;else{switch(typeof _){case"function":case"symbol":break e;case"boolean":if(ye=Te.toLowerCase().slice(0,5),ye!=="data-"&&ye!=="aria-")break e}_=_===void 0?void 0:null}else _=void 0;D||Ln(G,_,$,y)}}}return 0<b.size&&s.suppressHydrationWarning!==!0&&pg(e,b,y),Object.keys(y).length===0?null:y}function Wt(e,a){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+a+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+a+" "+e[e.length-1]}}function sn(e){return e.nodeType===9?e:e.ownerDocument}function tr(e){switch(e){case Jo:return u1;case Pp:return aT;default:return Qh}}function Yo(e,a){if(e===Qh)switch(a){case"svg":return u1;case"math":return aT;default:return Qh}return e===u1&&a==="foreignObject"?Qh:e}function Fl(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function gg(){var e=window.event;return e&&e.type==="popstate"?e===TC?!1:(TC=e,!0):(TC=null,!1)}function qo(e){setTimeout(function(){throw e})}function ta(e,a,s){switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();break;case"img":s.src?e.src=s.src:s.srcSet&&(e.srcset=s.srcSet)}}function Xl(e,a,s,d){mv(e,a,s,d),e[ir]=d}function Zl(e){Fc(e,"")}function yg(e,a,s){e.nodeValue=s}function za(e){return e==="head"}function Vf(e,a){e.removeChild(a)}function gh(e,a){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(a)}function zi(e,a){var s=a,d=0,y=0;do{var b=s.nextSibling;if(e.removeChild(s),b&&b.nodeType===8)if(s=b.data,s===nT){if(0<d&&8>d){s=d;var D=e.ownerDocument;if(s&hZ&&jf(D.documentElement),s&mZ&&jf(D.body),s&pZ)for(s=D.head,jf(s),D=s.firstChild;D;){var _=D.nextSibling,$=D.nodeName;D[_h]||$==="SCRIPT"||$==="STYLE"||$==="LINK"&&D.rel.toLowerCase()==="stylesheet"||s.removeChild(D),D=_}}if(y===0){e.removeChild(b),qf(a);return}y--}else s===tT||s===Zh||s===Qb?y++:d=s.charCodeAt(0)-48;else d=0;s=b}while(s);qf(a)}function vg(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function bg(e){e.nodeValue=""}function Uf(e,a){a=a[gZ],a=a!=null&&a.hasOwnProperty("display")?a.display:null,e.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function yh(e,a){e.nodeValue=a}function Fs(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Fs(s),ul(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function ai(e,a,s,d){for(;e.nodeType===1;){var y=s;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!d&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(d){if(!e[_h])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(b=e.getAttribute("rel"),b==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(b!==y.rel||e.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||e.getAttribute("title")!==(y.title==null?null:y.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(b=e.getAttribute("src"),(b!==(y.src==null?null:y.src)||e.getAttribute("type")!==(y.type==null?null:y.type)||e.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&b&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){Me(y.name,"name");var b=y.name==null?null:""+y.name;if(y.type==="hidden"&&e.getAttribute("name")===b)return e}else return e;if(e=nr(e.nextSibling),e===null)break}return null}function Ql(e,a,s){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=nr(e.nextSibling),e===null))return null;return e}function Kl(e){return e.data===Qb||e.data===Zh&&e.ownerDocument.readyState===h2}function Lf(e,a){var s=e.ownerDocument;if(e.data!==Zh||s.readyState===h2)a();else{var d=function(){a(),s.removeEventListener("DOMContentLoaded",d)};s.addEventListener("DOMContentLoaded",d),e._reactRetry=d}}function nr(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a===tT||a===Qb||a===Zh||a===bC||a===d2)break;if(a===nT)return null}}return e}function yp(e){if(e.nodeType===1){for(var a=e.nodeName.toLowerCase(),s={},d=e.attributes,y=0;y<d.length;y++){var b=d[y];s[ec(b.name)]=b.name.toLowerCase()==="style"?gp(e):b.value}return{type:a,props:s}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function xg(e,a,s){return s===null||s[dZ]!==!0?(e.nodeValue===a?e=null:(a=Po(a),e=Po(e.nodeValue)===a?null:e.nodeValue),e):null}function tc(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var s=e.data;if(s===nT){if(a===0)return nr(e.nextSibling);a--}else s!==tT&&s!==Qb&&s!==Zh||a++}e=e.nextSibling}return null}function vp(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var s=e.data;if(s===tT||s===Qb||s===Zh){if(a===0)return e;a--}else s===nT&&a++}e=e.previousSibling}return null}function pi(e){qf(e)}function gv(e){qf(e)}function ar(e,a,s,d,y){switch(y&&Td(e,d.ancestorInfo),a=sn(s),e){case"html":if(e=a.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=a.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=a.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function yv(e,a,s,d){if(!s[ru]&&_r(s)){var y=s.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",y,y,y)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(y=s.attributes;y.length;)s.removeAttributeNode(y[0]);Ya(s,e,a),s[gi]=d,s[ir]=a}function jf(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);ul(e)}function bp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Go(e,a,s){var d=c1;if(d&&typeof a=="string"&&a){var y=ja(a);y='link[rel="'+e+'"][href="'+y+'"]',typeof s=="string"&&(y+='[crossorigin="'+s+'"]'),b2.has(y)||(b2.add(y),e={rel:e,crossOrigin:s,href:a},d.querySelector(y)===null&&(a=d.createElement("link"),Ya(a,"link",e),Da(a),d.head.appendChild(a)))}}function vh(e,a,s,d){var y=(y=Xs.current)?bp(y):null;if(!y)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(s=bs(s.href),a=jc(y).hoistableStyles,d=a.get(s),d||(d={type:"style",instance:null,count:0,state:null},a.set(s,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=bs(s.href);var b=jc(y).hoistableStyles,D=b.get(e);if(!D&&(y=y.ownerDocument||y,D={type:"stylesheet",instance:null,count:0,state:{loading:ay,preload:null}},b.set(e,D),(b=y.querySelector($f(e)))&&!b._p&&(D.instance=b,D.state.loading=Kb|yu),!vu.has(e))){var _={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy};vu.set(e,_),b||vv(y,e,_,D.state)}if(a&&d===null)throw s=`
|
|
883
|
+
|
|
884
|
+
- `+Bf(a)+`
|
|
885
|
+
+ `+Bf(s),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return D}if(a&&d!==null)throw s=`
|
|
886
|
+
|
|
887
|
+
- `+Bf(a)+`
|
|
888
|
+
+ `+Bf(s),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(s=Il(s),a=jc(y).hoistableScripts,d=a.get(s),d||(d={type:"script",instance:null,count:0,state:null},a.set(s,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Bf(e){var a=0,s="<link";return typeof e.rel=="string"?(a++,s+=' rel="'+e.rel+'"'):Zs.call(e,"rel")&&(a++,s+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(a++,s+=' href="'+e.href+'"'):Zs.call(e,"href")&&(a++,s+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(a++,s+=' precedence="'+e.precedence+'"'):Zs.call(e,"precedence")&&(a++,s+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>a&&(s+=" ..."),s+" />"}function bs(e){return'href="'+ja(e)+'"'}function $f(e){return'link[rel="stylesheet"]['+e+"]"}function Sg(e){return Et({},e,{"data-precedence":e.precedence,precedence:null})}function vv(e,a,s,d){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?d.loading=Kb:(a=e.createElement("link"),d.preload=a,a.addEventListener("load",function(){return d.loading|=Kb}),a.addEventListener("error",function(){return d.loading|=y2}),Ya(a,"link",s),Da(a),e.head.appendChild(a))}function Il(e){return'[src="'+ja(e)+'"]'}function nc(e){return"script[async]"+e}function bv(e,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var d=e.querySelector('style[data-href~="'+ja(s.href)+'"]');if(d)return a.instance=d,Da(d),d;var y=Et({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return d=(e.ownerDocument||e).createElement("style"),Da(d),Ya(d,"style",y),xp(d,s.precedence,e),a.instance=d;case"stylesheet":y=bs(s.href);var b=e.querySelector($f(y));if(b)return a.state.loading|=yu,a.instance=b,Da(b),b;d=Sg(s),(y=vu.get(y))&&Sp(d,y),b=(e.ownerDocument||e).createElement("link"),Da(b);var D=b;return D._p=new Promise(function(_,$){D.onload=_,D.onerror=$}),Ya(b,"link",d),a.state.loading|=yu,xp(b,s.precedence,e),a.instance=b;case"script":return b=Il(s.src),(y=e.querySelector(nc(b)))?(a.instance=y,Da(y),y):(d=s,(y=vu.get(b))&&(d=Et({},s),bh(d,y)),e=e.ownerDocument||e,y=e.createElement("script"),Da(y),Ya(y,"link",d),e.head.appendChild(y),a.instance=y);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&yu)===ay&&(d=a.instance,a.state.loading|=yu,xp(d,s.precedence,e));return a.instance}function xp(e,a,s){for(var d=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=d.length?d[d.length-1]:null,b=y,D=0;D<d.length;D++){var _=d[D];if(_.dataset.precedence===a)b=_;else if(b!==y)break}b?b.parentNode.insertBefore(e,b.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(e,a.firstChild))}function Sp(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function bh(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}function Tg(e,a,s){if(iT===null){var d=new Map,y=iT=new Map;y.set(s,d)}else y=iT,d=y.get(s),d||(d=new Map,y.set(s,d));if(d.has(e))return d;for(d.set(e,null),s=s.getElementsByTagName(e),y=0;y<s.length;y++){var b=s[y];if(!(b[_h]||b[gi]||e==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!==Jo){var D=b.getAttribute(a)||"";D=e+D;var _=d.get(D);_?_.push(b):d.set(D,[b])}}return d}function ac(e,a,s){e=e.ownerDocument||e,e.head.insertBefore(s,a==="title"?e.querySelector("head > title"):null)}function Tp(e,a,s){var d=!s.ancestorInfo.containerTagInScope;if(s.context===u1||a.itemProp!=null)return!d||a.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){d&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){e=a.href;var y=a.onError,b=a.disabled;s=[],a.onLoad&&s.push("`onLoad`"),y&&s.push("`onError`"),b!=null&&s.push("`disabled`"),y=Wt(s,"and"),y+=s.length===1?" prop":" props",b=s.length===1?"an "+y:"the "+y,s.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,b,y)}d&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return e=a.precedence,a=a.disabled,typeof e!="string"&&d&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&a==null;default:return!0}case"script":if(e=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!e||a.onLoad||a.onError||!a.src||typeof a.src!="string"){d&&(e?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":d&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Ag(e){return!(e.type==="stylesheet"&&(e.state.loading&v2)===ay)}function xh(){}function xv(e,a,s){if(Ib===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var d=Ib;if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&yu)===ay){if(a.instance===null){var y=bs(s.href),b=e.querySelector($f(y));if(b){e=b._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(d.count++,d=Sh.bind(d),e.then(d,d)),a.state.loading|=yu,a.instance=b,Da(b);return}b=e.ownerDocument||e,s=Sg(s),(y=vu.get(y))&&Sp(s,y),b=b.createElement("link"),Da(b);var D=b;D._p=new Promise(function(_,$){D.onload=_,D.onerror=$}),Ya(b,"link",s),a.instance=b}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&v2)===ay&&(d.count++,a=Sh.bind(d),e.addEventListener("load",a),e.addEventListener("error",a))}}function Sv(){if(Ib===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Ib;return e.stylesheets&&e.count===0&&Ap(e,e.stylesheets),0<e.count?function(a){var s=setTimeout(function(){if(e.stylesheets&&Ap(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(s)}}:null}function Sh(){if(this.count--,this.count===0){if(this.stylesheets)Ap(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Ap(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,rT=new Map,a.forEach(wp,e),rT=null,Sh.call(e))}function wp(e,a){if(!(a.state.loading&yu)){var s=rT.get(e);if(s)var d=s.get(wC);else{s=new Map,rT.set(e,s);for(var y=e.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<y.length;b++){var D=y[b];(D.nodeName==="LINK"||D.getAttribute("media")!=="not all")&&(s.set(D.dataset.precedence,D),d=D)}d&&s.set(wC,d)}y=a.instance,D=y.getAttribute("data-precedence"),b=s.get(D)||d,b===d&&s.set(wC,y),s.set(D,y),this.count++,d=Sh.bind(this),y.addEventListener("load",d),y.addEventListener("error",d),b?b.parentNode.insertBefore(y,b.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(y,e.firstChild)),a.state.loading|=yu}}function Tv(e,a,s,d,y,b,D,_){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ny,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Su(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Su(0),this.hiddenUpdates=Su(null),this.identifierPrefix=d,this.onUncaughtError=y,this.onCaughtError=b,this.onRecoverableError=D,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)e.push(new Set);this._debugRootType=s?"hydrateRoot()":"createRoot()"}function wg(e,a,s,d,y,b,D,_,$,G,ye,Te){return e=new Tv(e,a,s,D,_,$,G,Te),a=PX,b===!0&&(a|=Jr|dc),xa&&(a|=Tr),b=R(3,null,null,a),e.current=b,b.stateNode=e,a=k0(),$r(a),e.pooledCache=a,$r(a),b.memoizedState={element:d,isDehydrated:s,cache:a},Sl(b),e}function En(e){return e?(e=Gp,e):Gp}function Th(e,a,s,d,y,b){if(ri&&typeof ri.onScheduleFiberRoot=="function")try{ri.onScheduleFiberRoot(rc,d,s)}catch(D){aa||(aa=!0,console.error("React instrumentation encountered an error: %s",D))}Xe!==null&&typeof Xe.markRenderScheduled=="function"&&Xe.markRenderScheduled(a),y=En(y),d.context===null?d.context=y:d.pendingContext=y,Ws&&qa!==null&&!A2&&(A2=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
889
|
+
|
|
890
|
+
Check the render method of %s.`,De(qa)||"Unknown")),d=Gi(a),d.payload={element:s},b=b===void 0?null:b,b!==null&&(typeof b!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",b),d.callback=b),s=Ba(e,d,a),s!==null&&(Yt(s,e,a),Us(s,e,a))}function Av(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<a?s:a}}function Ep(e,a){Av(e,a),(e=e.alternate)&&Av(e,a)}function Ah(e){if(e.tag===13){var a=Hi(e,67108864);a!==null&&Yt(a,e,67108864),Ep(e,67108864)}}function pb(){return qa}function wv(){for(var e=new Map,a=1,s=0;31>s;s++){var d=vm(a);e.set(a,d),a*=2}return e}function wh(e,a,s,d){var y=pe.T;pe.T=null;var b=cn.p;try{cn.p=_t,Hf(e,a,s,d)}finally{cn.p=b,pe.T=y}}function Wl(e,a,s,d){var y=pe.T;pe.T=null;var b=cn.p;try{cn.p=Ks,Hf(e,a,s,d)}finally{cn.p=b,pe.T=y}}function Hf(e,a,s,d){if(oT){var y=ic(d);if(y===null)er(e,a,d,lT,s),xs(e,d);else if(gb(y,e,a,s,d))d.stopPropagation();else if(xs(e,d),a&4&&-1<xZ.indexOf(e)){for(;y!==null;){var b=_r(y);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var D=Yn(b.pendingLanes);if(D!==0){var _=b;for(_.pendingLanes|=2,_.entangledLanes|=2;D;){var $=1<<31-lt(D);_.entanglements[1]|=$,D&=~$}xr(b),(On&(Ds|gc))===tl&&(GS=ha()+t2,$o(0))}}break;case 13:_=Hi(b,2),_!==null&&Yt(_,b,2),qs(),Ep(b,2)}if(b=ic(d),b===null&&er(e,a,d,lT,s),b===y)break;y=b}y!==null&&d.stopPropagation()}else er(e,a,d,null,s)}}function ic(e){return e=rs(e),kf(e)}function kf(e){if(lT=null,e=Bi(e),e!==null){var a=q(e);if(a===null)e=null;else{var s=a.tag;if(s===13){if(e=F(a),e!==null)return e;e=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return lT=e,null}function Fo(e){switch(e){case"beforetoggle":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"toggle":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 _t;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ks;case"message":switch(zp()){case Mh:return _t;case Np:return Ks;case Ko:case Ni:return Is;case au:return sc;default:return Is}default:return Is}}function xs(e,a){switch(e){case"focusin":case"focusout":t0=null;break;case"dragenter":case"dragleave":n0=null;break;case"mouseover":case"mouseout":a0=null;break;case"pointerover":case"pointerout":Jb.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ex.delete(a.pointerId)}}function Xo(e,a,s,d,y,b){return e===null||e.nativeEvent!==b?(e={blockedOn:a,domEventName:s,eventSystemFlags:d,nativeEvent:b,targetContainers:[y]},a!==null&&(a=_r(a),a!==null&&Ah(a)),e):(e.eventSystemFlags|=d,a=e.targetContainers,y!==null&&a.indexOf(y)===-1&&a.push(y),e)}function gb(e,a,s,d,y){switch(a){case"focusin":return t0=Xo(t0,e,a,s,d,y),!0;case"dragenter":return n0=Xo(n0,e,a,s,d,y),!0;case"mouseover":return a0=Xo(a0,e,a,s,d,y),!0;case"pointerover":var b=y.pointerId;return Jb.set(b,Xo(Jb.get(b)||null,e,a,s,d,y)),!0;case"gotpointercapture":return b=y.pointerId,ex.set(b,Xo(ex.get(b)||null,e,a,s,d,y)),!0}return!1}function Pf(e){var a=Bi(e.target);if(a!==null){var s=q(a);if(s!==null){if(a=s.tag,a===13){if(a=F(s),a!==null){e.blockedOn=a,Lc(e.priority,function(){if(s.tag===13){var d=Ii(s);d=xi(d);var y=Hi(s,d);y!==null&&Yt(y,s,d),Ep(s,d)}});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Jl(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var s=ic(e.nativeEvent);if(s===null){s=e.nativeEvent;var d=new s.constructor(s.type,s),y=d;E!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),E=y,s.target.dispatchEvent(d),E===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),E=null}else return a=_r(s),a!==null&&Ah(a),e.blockedOn=s,!1;a.shift()}return!0}function Eg(e,a,s){Jl(e)&&s.delete(a)}function Ev(){EC=!1,t0!==null&&Jl(t0)&&(t0=null),n0!==null&&Jl(n0)&&(n0=null),a0!==null&&Jl(a0)&&(a0=null),Jb.forEach(Eg),ex.forEach(Eg)}function Yf(e,a){e.blockedOn===a&&(e.blockedOn=null,EC||(EC=!0,na.unstable_scheduleCallback(na.unstable_NormalPriority,Ev)))}function Eh(e){uT!==e&&(uT=e,na.unstable_scheduleCallback(na.unstable_NormalPriority,function(){uT===e&&(uT=null);for(var a=0;a<e.length;a+=3){var s=e[a],d=e[a+1],y=e[a+2];if(typeof d!="function"){if(kf(d||s)===null)continue;break}var b=_r(s);b!==null&&(e.splice(a,3),a-=3,s={pending:!0,data:y,method:s.method,action:d},Object.freeze(s),Xm(b,s,d,y))}}))}function qf(e){function a($){return Yf($,e)}t0!==null&&Yf(t0,e),n0!==null&&Yf(n0,e),a0!==null&&Yf(a0,e),Jb.forEach(a),ex.forEach(a);for(var s=0;s<i0.length;s++){var d=i0[s];d.blockedOn===e&&(d.blockedOn=null)}for(;0<i0.length&&(s=i0[0],s.blockedOn===null);)Pf(s),s.blockedOn===null&&i0.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(d=0;d<s.length;d+=3){var y=s[d],b=s[d+1],D=y[ir]||null;if(typeof b=="function")D||Eh(s);else if(D){var _=null;if(b&&b.hasAttribute("formAction")){if(y=b,D=b[ir]||null)_=D.formAction;else if(kf(y)!==null)continue}else _=D.action;typeof _=="function"?s[d+1]=_:(s.splice(d,3),d-=3),Eh(s)}}}function Cp(e){this._internalRoot=e}function Dp(e){this._internalRoot=e}function Mp(e){e[ru]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var na=m8(),Cg=J,yb=cT,Et=Object.assign,vb=Symbol.for("react.element"),Zo=Symbol.for("react.transitional.element"),Rt=Symbol.for("react.portal"),eu=Symbol.for("react.fragment"),ii=Symbol.for("react.strict_mode"),Ch=Symbol.for("react.profiler"),Cv=Symbol.for("react.provider"),Ss=Symbol.for("react.consumer"),ft=Symbol.for("react.context"),tu=Symbol.for("react.forward_ref"),da=Symbol.for("react.suspense"),Gn=Symbol.for("react.suspense_list"),Op=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),Rp=Symbol.for("react.activity"),Dv=Symbol.for("react.memo_cache_sentinel"),Dh=Symbol.iterator,Cn=Symbol.for("react.client.reference"),Na=Array.isArray,pe=Cg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cn=yb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ts=Object.freeze({pending:!1,data:null,method:null,action:null}),Gf=[],Qo=[],on=-1,pn=$e(null),nu=$e(null),Xs=$e(null),_p=$e(null),Zs=Object.prototype.hasOwnProperty,Dg=na.unstable_scheduleCallback,Mv=na.unstable_cancelCallback,bb=na.unstable_shouldYield,Ov=na.unstable_requestPaint,ha=na.unstable_now,zp=na.unstable_getCurrentPriorityLevel,Mh=na.unstable_ImmediatePriority,Np=na.unstable_UserBlockingPriority,Ko=na.unstable_NormalPriority,Ni=na.unstable_LowPriority,au=na.unstable_IdlePriority,As=na.log,Mg=na.unstable_setDisableYieldValue,rc=null,ri=null,Xe=null,aa=!1,xa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",lt=Math.clz32?Math.clz32:Rr,Qs=Math.log,Qr=Math.LN2,Oh=256,Io=4194304,_t=2,Ks=8,Is=32,sc=268435456,iu=Math.random().toString(36).slice(2),gi="__reactFiber$"+iu,ir="__reactProps$"+iu,ru="__reactContainer$"+iu,Vp="__reactEvents$"+iu,Ff="__reactListeners$"+iu,Rh="__reactHandles$"+iu,Og="__reactResources$"+iu,_h="__reactMarker$"+iu,oc=new Set,ws={},Up={},Lp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},zh=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jp={},lc={},Xf=0,Rg,Rv,Sa,Va,_v,zv,Nv;M0.__reactDisabledLog=!0;var uc,Nh,Vh=!1,_g=new(typeof WeakMap=="function"?WeakMap:Map),qa=null,Ws=!1,Vv=/[\n"\\]/g,zg=!1,Bp=!1,$p=!1,Hp=!1,Ng=!1,Uh=!1,Uv=["value","defaultValue"],cc=!1,kp=/["'&<>\n\t]|^\s|\s$/,Vg="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Lh="applet caption html table td th marquee object template foreignObject desc title".split(" "),Ug=Lh.concat(["button"]),Lv="dd dt li option optgroup p rp rt".split(" "),jh={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Kr={},Js={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Wo=/([A-Z])/g,Zf=/^ms-/,Bh=/^(?:webkit|moz|o)[A-Z]/,su=/^-ms-/,xb=/-(.)/g,Lg=/;\s*$/,eo={},jg={},Bg=!1,$h=!1,$g=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Pp="http://www.w3.org/1998/Math/MathML",Jo="http://www.w3.org/2000/svg",Yp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Hh={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Qf={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ou={},qp=RegExp("^(aria)-[: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]*$"),jv=RegExp("^(aria)[A-Z][: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]*$"),Bv=!1,Ga={},r=/^on./,l=/^on[^A-Z]/,c=RegExp("^(aria)-[: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]*$"),p=RegExp("^(aria)[A-Z][: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]*$"),x=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,E=null,z=null,j=null,Q=!1,ue=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Oe=!1;if(ue)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch{Oe=!1}var me=null,he=null,mt=null,ct={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=Mt(ct),se=Et({},ct,{view:0,detail:0}),ne=Mt(se),fe,Re,Ie,Ut=Et({},se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ci,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!==Ie&&(Ie&&e.type==="mousemove"?(fe=e.screenX-Ie.screenX,Re=e.screenY-Ie.screenY):Re=fe=0,Ie=e),fe)},movementY:function(e){return"movementY"in e?e.movementY:Re}}),ut=Mt(Ut),yt=Et({},Ut,{dataTransfer:0}),Fa=Mt(yt),tn=Et({},se,{relatedTarget:0}),to=Mt(tn),Sb=Et({},ct,{animationName:0,elapsedTime:0,pseudoElement:0}),m3=Mt(Sb),Tb=Et({},ct,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ab=Mt(Tb),p3=Et({},ct,{data:0}),ES=Mt(p3),g3=ES,y3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v3={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"},b3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},x3=Et({},se,{key:function(e){if(e.key){var a=y3[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=_u(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?v3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ci,charCode:function(e){return e.type==="keypress"?_u(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_u(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),S3=Mt(x3),T3=Et({},Ut,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),CS=Mt(T3),A3=Et({},se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ci}),w3=Mt(A3),E3=Et({},ct,{propertyName:0,elapsedTime:0,pseudoElement:0}),C3=Mt(E3),D3=Et({},Ut,{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}),M3=Mt(D3),O3=Et({},ct,{newState:0,oldState:0}),R3=Mt(O3),_3=[9,13,27,32],DS=229,wb=ue&&"CompositionEvent"in window,f=null;ue&&"documentMode"in document&&(f=document.documentMode);var m=ue&&"TextEvent"in window&&!f,T=ue&&(!wb||f&&8<f&&11>=f),O=32,N=String.fromCharCode(O),k=!1,Z=!1,ee={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},oe=null,_e=null,Le=!1;ue&&(Le=V0("input")&&(!document.documentMode||9<document.documentMode));var Ve=typeof Object.is=="function"?Object.is:ev,Ke=ue&&"documentMode"in document&&11>=document.documentMode,nt=null,vt=null,zt=null,bt=!1,jt={animationend:Vs("Animation","AnimationEnd"),animationiteration:Vs("Animation","AnimationIteration"),animationstart:Vs("Animation","AnimationStart"),transitionrun:Vs("Transition","TransitionRun"),transitionstart:Vs("Transition","TransitionStart"),transitioncancel:Vs("Transition","TransitionCancel"),transitionend:Vs("Transition","TransitionEnd")},Zt={},Ir={};ue&&(Ir=document.createElement("div").style,"AnimationEvent"in window||(delete jt.animationend.animation,delete jt.animationiteration.animation,delete jt.animationstart.animation),"TransitionEvent"in window||delete jt.transitionend.transition);var rr=vo("animationend"),Wr=vo("animationiteration"),Ta=vo("animationstart"),el=vo("transitionrun"),fc=vo("transitionstart"),MS=vo("transitioncancel"),Z8=vo("transitionend"),Q8=new Map,z3="abort auxClick beforeToggle 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(" ");z3.push("scrollEnd");var N3=new WeakMap,V3=1,Hg=2,lu=[],$v=0,U3=0,Gp={};Object.freeze(Gp);var uu=null,Hv=null,ia=0,PX=1,Tr=2,Jr=8,dc=16,K8=64,I8=!1;try{var W8=Object.preventExtensions({})}catch{I8=!0}var kv=[],Pv=0,OS=null,RS=0,cu=[],fu=0,kg=null,kh=1,Ph="",Es=null,Xa=null,gn=!1,Yh=!1,du=null,Pg=null,Kf=!1,L3=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),J8=0;if(typeof performance=="object"&&typeof performance.now=="function")var YX=performance,e7=function(){return YX.now()};else{var qX=Date;e7=function(){return qX.now()}}var j3=$e(null),B3=$e(null),t7={},_S=null,Yv=null,qv=!1,GX=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(s,d){e.push(d)}};this.abort=function(){a.aborted=!0,e.forEach(function(s){return s()})}},FX=na.unstable_scheduleCallback,XX=na.unstable_NormalPriority,Vi={$$typeof:ft,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Gv=na.unstable_now,n7=-0,zS=-0,no=-1.1,Yg=-0,NS=!1,VS=!1,Eb=null,$3=0,qg=0,Fv=null,a7=pe.S;pe.S=function(e,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&rv(e,a),a7!==null&&a7(e,a)};var Gg=$e(null),hc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Cb=[],Db=[],Mb=[],Ob=[],Rb=[],_b=[],Fg=new Set;hc.recordUnsafeLifecycleWarnings=function(e,a){Fg.has(e.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&Cb.push(e),e.mode&Jr&&typeof a.UNSAFE_componentWillMount=="function"&&Db.push(e),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Mb.push(e),e.mode&Jr&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&Ob.push(e),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Rb.push(e),e.mode&Jr&&typeof a.UNSAFE_componentWillUpdate=="function"&&_b.push(e))},hc.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Cb.length&&(Cb.forEach(function(_){e.add(De(_)||"Component"),Fg.add(_.type)}),Cb=[]);var a=new Set;0<Db.length&&(Db.forEach(function(_){a.add(De(_)||"Component"),Fg.add(_.type)}),Db=[]);var s=new Set;0<Mb.length&&(Mb.forEach(function(_){s.add(De(_)||"Component"),Fg.add(_.type)}),Mb=[]);var d=new Set;0<Ob.length&&(Ob.forEach(function(_){d.add(De(_)||"Component"),Fg.add(_.type)}),Ob=[]);var y=new Set;0<Rb.length&&(Rb.forEach(function(_){y.add(De(_)||"Component"),Fg.add(_.type)}),Rb=[]);var b=new Set;if(0<_b.length&&(_b.forEach(function(_){b.add(De(_)||"Component"),Fg.add(_.type)}),_b=[]),0<a.size){var D=M(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
891
|
+
|
|
892
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
893
|
+
|
|
894
|
+
Please update the following components: %s`,D)}0<d.size&&(D=M(d),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
895
|
+
|
|
896
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
897
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
898
|
+
|
|
899
|
+
Please update the following components: %s`,D)),0<b.size&&(D=M(b),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
900
|
+
|
|
901
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
902
|
+
|
|
903
|
+
Please update the following components: %s`,D)),0<e.size&&(D=M(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
904
|
+
|
|
905
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
906
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
907
|
+
|
|
908
|
+
Please update the following components: %s`,D)),0<s.size&&(D=M(s),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
909
|
+
|
|
910
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
911
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
912
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
913
|
+
|
|
914
|
+
Please update the following components: %s`,D)),0<y.size&&(D=M(y),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
915
|
+
|
|
916
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
917
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
918
|
+
|
|
919
|
+
Please update the following components: %s`,D))};var US=new Map,i7=new Set;hc.recordLegacyContextWarning=function(e,a){for(var s=null,d=e;d!==null;)d.mode&Jr&&(s=d),d=d.return;s===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!i7.has(e.type)&&(d=US.get(s),e.type.contextTypes!=null||e.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(d===void 0&&(d=[],US.set(s,d)),d.push(e))},hc.flushLegacyContextWarning=function(){US.forEach(function(e){if(e.length!==0){var a=e[0],s=new Set;e.forEach(function(y){s.add(De(y)||"Component"),i7.add(y.type)});var d=M(s);at(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
920
|
+
|
|
921
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
922
|
+
|
|
923
|
+
Please update the following components: %s
|
|
924
|
+
|
|
925
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,d)})}})},hc.discardPendingWarnings=function(){Cb=[],Db=[],Mb=[],Ob=[],Rb=[],_b=[],US=new Map};var zb=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),r7=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),LS=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),H3={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Nb=null,jS=!1,hu=0,mu=1,Cs=2,Ar=4,Ui=8,s7=0,o7=1,l7=2,k3=3,Fp=!1,u7=!1,P3=null,Y3=!1,Xv=$e(null),BS=$e(0),Zv,c7=new Set,f7=new Set,q3=new Set,d7=new Set,Xp=0,Nt=null,Fn=null,yi=null,$S=!1,Qv=!1,Xg=!1,HS=0,Vb=0,qh=null,ZX=0,QX=25,Se=null,pu=null,Gh=-1,Ub=!1,kS={readContext:$n,use:Vn,useCallback:xn,useContext:xn,useEffect:xn,useImperativeHandle:xn,useLayoutEffect:xn,useInsertionEffect:xn,useMemo:xn,useReducer:xn,useRef:xn,useState:xn,useDebugValue:xn,useDeferredValue:xn,useTransition:xn,useSyncExternalStore:xn,useId:xn,useHostTransitionStatus:xn,useFormState:xn,useActionState:xn,useOptimistic:xn,useMemoCache:xn,useCacheRefresh:xn},G3=null,h7=null,F3=null,m7=null,If=null,mc=null,PS=null;G3={readContext:function(e){return $n(e)},use:Vn,useCallback:function(e,a){return Se="useCallback",Vt(),wl(a),mf(e,a)},useContext:function(e){return Se="useContext",Vt(),$n(e)},useEffect:function(e,a){return Se="useEffect",Vt(),wl(a),Ld(e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",Vt(),wl(s),Do(e,a,s)},useInsertionEffect:function(e,a){Se="useInsertionEffect",Vt(),wl(a),ga(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",Vt(),wl(a),F0(e,a)},useMemo:function(e,a){Se="useMemo",Vt(),wl(a);var s=pe.H;pe.H=If;try{return Ja(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",Vt();var d=pe.H;pe.H=If;try{return mr(e,a,s)}finally{pe.H=d}},useRef:function(e){return Se="useRef",Vt(),Ol(e)},useState:function(e){Se="useState",Vt();var a=pe.H;pe.H=If;try{return B(e)}finally{pe.H=a}},useDebugValue:function(){Se="useDebugValue",Vt()},useDeferredValue:function(e,a){return Se="useDeferredValue",Vt(),pf(e,a)},useTransition:function(){return Se="useTransition",Vt(),Mo()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",Vt(),Ym(e,a,s)},useId:function(){return Se="useId",Vt(),$u()},useFormState:function(e,a){return Se="useFormState",Vt(),wo(),df(e,a)},useActionState:function(e,a){return Se="useActionState",Vt(),df(e,a)},useOptimistic:function(e){return Se="useOptimistic",Vt(),Ci(e)},useHostTransitionStatus:Mi,useMemoCache:hn,useCacheRefresh:function(){return Se="useCacheRefresh",Vt(),gr()}},h7={readContext:function(e){return $n(e)},use:Vn,useCallback:function(e,a){return Se="useCallback",je(),mf(e,a)},useContext:function(e){return Se="useContext",je(),$n(e)},useEffect:function(e,a){return Se="useEffect",je(),Ld(e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",je(),Do(e,a,s)},useInsertionEffect:function(e,a){Se="useInsertionEffect",je(),ga(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",je(),F0(e,a)},useMemo:function(e,a){Se="useMemo",je();var s=pe.H;pe.H=If;try{return Ja(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",je();var d=pe.H;pe.H=If;try{return mr(e,a,s)}finally{pe.H=d}},useRef:function(e){return Se="useRef",je(),Ol(e)},useState:function(e){Se="useState",je();var a=pe.H;pe.H=If;try{return B(e)}finally{pe.H=a}},useDebugValue:function(){Se="useDebugValue",je()},useDeferredValue:function(e,a){return Se="useDeferredValue",je(),pf(e,a)},useTransition:function(){return Se="useTransition",je(),Mo()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",je(),Ym(e,a,s)},useId:function(){return Se="useId",je(),$u()},useActionState:function(e,a){return Se="useActionState",je(),df(e,a)},useFormState:function(e,a){return Se="useFormState",je(),wo(),df(e,a)},useOptimistic:function(e){return Se="useOptimistic",je(),Ci(e)},useHostTransitionStatus:Mi,useMemoCache:hn,useCacheRefresh:function(){return Se="useCacheRefresh",je(),gr()}},F3={readContext:function(e){return $n(e)},use:Vn,useCallback:function(e,a){return Se="useCallback",je(),jd(e,a)},useContext:function(e){return Se="useContext",je(),$n(e)},useEffect:function(e,a){Se="useEffect",je(),Xi(2048,Ui,e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",je(),Pr(e,a,s)},useInsertionEffect:function(e,a){return Se="useInsertionEffect",je(),Xi(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",je(),Xi(4,Ar,e,a)},useMemo:function(e,a){Se="useMemo",je();var s=pe.H;pe.H=mc;try{return Bd(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",je();var d=pe.H;pe.H=mc;try{return Oa(e,a,s)}finally{pe.H=d}},useRef:function(){return Se="useRef",je(),ln().memoizedState},useState:function(){Se="useState",je();var e=pe.H;pe.H=mc;try{return Oa(At)}finally{pe.H=e}},useDebugValue:function(){Se="useDebugValue",je()},useDeferredValue:function(e,a){return Se="useDeferredValue",je(),Gm(e,a)},useTransition:function(){return Se="useTransition",je(),Bu()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",je(),Nd(e,a,s)},useId:function(){return Se="useId",je(),ln().memoizedState},useFormState:function(e){return Se="useFormState",je(),wo(),qm(e)},useActionState:function(e){return Se="useActionState",je(),qm(e)},useOptimistic:function(e,a){return Se="useOptimistic",je(),pr(e,a)},useHostTransitionStatus:Mi,useMemoCache:hn,useCacheRefresh:function(){return Se="useCacheRefresh",je(),ln().memoizedState}},m7={readContext:function(e){return $n(e)},use:Vn,useCallback:function(e,a){return Se="useCallback",je(),jd(e,a)},useContext:function(e){return Se="useContext",je(),$n(e)},useEffect:function(e,a){Se="useEffect",je(),Xi(2048,Ui,e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",je(),Pr(e,a,s)},useInsertionEffect:function(e,a){return Se="useInsertionEffect",je(),Xi(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",je(),Xi(4,Ar,e,a)},useMemo:function(e,a){Se="useMemo",je();var s=pe.H;pe.H=PS;try{return Bd(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",je();var d=pe.H;pe.H=PS;try{return di(e,a,s)}finally{pe.H=d}},useRef:function(){return Se="useRef",je(),ln().memoizedState},useState:function(){Se="useState",je();var e=pe.H;pe.H=PS;try{return di(At)}finally{pe.H=e}},useDebugValue:function(){Se="useDebugValue",je()},useDeferredValue:function(e,a){return Se="useDeferredValue",je(),Z0(e,a)},useTransition:function(){return Se="useTransition",je(),Oo()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",je(),Nd(e,a,s)},useId:function(){return Se="useId",je(),ln().memoizedState},useFormState:function(e){return Se="useFormState",je(),wo(),Ml(e)},useActionState:function(e){return Se="useActionState",je(),Ml(e)},useOptimistic:function(e,a){return Se="useOptimistic",je(),Ht(e,a)},useHostTransitionStatus:Mi,useMemoCache:hn,useCacheRefresh:function(){return Se="useCacheRefresh",je(),ln().memoizedState}},If={readContext:function(e){return w(),$n(e)},use:function(e){return A(),Vn(e)},useCallback:function(e,a){return Se="useCallback",A(),Vt(),mf(e,a)},useContext:function(e){return Se="useContext",A(),Vt(),$n(e)},useEffect:function(e,a){return Se="useEffect",A(),Vt(),Ld(e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",A(),Vt(),Do(e,a,s)},useInsertionEffect:function(e,a){Se="useInsertionEffect",A(),Vt(),ga(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",A(),Vt(),F0(e,a)},useMemo:function(e,a){Se="useMemo",A(),Vt();var s=pe.H;pe.H=If;try{return Ja(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",A(),Vt();var d=pe.H;pe.H=If;try{return mr(e,a,s)}finally{pe.H=d}},useRef:function(e){return Se="useRef",A(),Vt(),Ol(e)},useState:function(e){Se="useState",A(),Vt();var a=pe.H;pe.H=If;try{return B(e)}finally{pe.H=a}},useDebugValue:function(){Se="useDebugValue",A(),Vt()},useDeferredValue:function(e,a){return Se="useDeferredValue",A(),Vt(),pf(e,a)},useTransition:function(){return Se="useTransition",A(),Vt(),Mo()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",A(),Vt(),Ym(e,a,s)},useId:function(){return Se="useId",A(),Vt(),$u()},useFormState:function(e,a){return Se="useFormState",A(),Vt(),df(e,a)},useActionState:function(e,a){return Se="useActionState",A(),Vt(),df(e,a)},useOptimistic:function(e){return Se="useOptimistic",A(),Vt(),Ci(e)},useMemoCache:function(e){return A(),hn(e)},useHostTransitionStatus:Mi,useCacheRefresh:function(){return Se="useCacheRefresh",Vt(),gr()}},mc={readContext:function(e){return w(),$n(e)},use:function(e){return A(),Vn(e)},useCallback:function(e,a){return Se="useCallback",A(),je(),jd(e,a)},useContext:function(e){return Se="useContext",A(),je(),$n(e)},useEffect:function(e,a){Se="useEffect",A(),je(),Xi(2048,Ui,e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",A(),je(),Pr(e,a,s)},useInsertionEffect:function(e,a){return Se="useInsertionEffect",A(),je(),Xi(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",A(),je(),Xi(4,Ar,e,a)},useMemo:function(e,a){Se="useMemo",A(),je();var s=pe.H;pe.H=mc;try{return Bd(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",A(),je();var d=pe.H;pe.H=mc;try{return Oa(e,a,s)}finally{pe.H=d}},useRef:function(){return Se="useRef",A(),je(),ln().memoizedState},useState:function(){Se="useState",A(),je();var e=pe.H;pe.H=mc;try{return Oa(At)}finally{pe.H=e}},useDebugValue:function(){Se="useDebugValue",A(),je()},useDeferredValue:function(e,a){return Se="useDeferredValue",A(),je(),Gm(e,a)},useTransition:function(){return Se="useTransition",A(),je(),Bu()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",A(),je(),Nd(e,a,s)},useId:function(){return Se="useId",A(),je(),ln().memoizedState},useFormState:function(e){return Se="useFormState",A(),je(),qm(e)},useActionState:function(e){return Se="useActionState",A(),je(),qm(e)},useOptimistic:function(e,a){return Se="useOptimistic",A(),je(),pr(e,a)},useMemoCache:function(e){return A(),hn(e)},useHostTransitionStatus:Mi,useCacheRefresh:function(){return Se="useCacheRefresh",je(),ln().memoizedState}},PS={readContext:function(e){return w(),$n(e)},use:function(e){return A(),Vn(e)},useCallback:function(e,a){return Se="useCallback",A(),je(),jd(e,a)},useContext:function(e){return Se="useContext",A(),je(),$n(e)},useEffect:function(e,a){Se="useEffect",A(),je(),Xi(2048,Ui,e,a)},useImperativeHandle:function(e,a,s){return Se="useImperativeHandle",A(),je(),Pr(e,a,s)},useInsertionEffect:function(e,a){return Se="useInsertionEffect",A(),je(),Xi(4,Cs,e,a)},useLayoutEffect:function(e,a){return Se="useLayoutEffect",A(),je(),Xi(4,Ar,e,a)},useMemo:function(e,a){Se="useMemo",A(),je();var s=pe.H;pe.H=mc;try{return Bd(e,a)}finally{pe.H=s}},useReducer:function(e,a,s){Se="useReducer",A(),je();var d=pe.H;pe.H=mc;try{return di(e,a,s)}finally{pe.H=d}},useRef:function(){return Se="useRef",A(),je(),ln().memoizedState},useState:function(){Se="useState",A(),je();var e=pe.H;pe.H=mc;try{return di(At)}finally{pe.H=e}},useDebugValue:function(){Se="useDebugValue",A(),je()},useDeferredValue:function(e,a){return Se="useDeferredValue",A(),je(),Z0(e,a)},useTransition:function(){return Se="useTransition",A(),je(),Oo()},useSyncExternalStore:function(e,a,s){return Se="useSyncExternalStore",A(),je(),Nd(e,a,s)},useId:function(){return Se="useId",A(),je(),ln().memoizedState},useFormState:function(e){return Se="useFormState",A(),je(),Ml(e)},useActionState:function(e){return Se="useActionState",A(),je(),Ml(e)},useOptimistic:function(e,a){return Se="useOptimistic",A(),je(),Ht(e,a)},useMemoCache:function(e){return A(),hn(e)},useHostTransitionStatus:Mi,useCacheRefresh:function(){return Se="useCacheRefresh",je(),ln().memoizedState}};var p7={"react-stack-bottom-frame":function(e,a,s){var d=Ws;Ws=!0;try{return e(a,s)}finally{Ws=d}}},X3=p7["react-stack-bottom-frame"].bind(p7),g7={"react-stack-bottom-frame":function(e){var a=Ws;Ws=!0;try{return e.render()}finally{Ws=a}}},y7=g7["react-stack-bottom-frame"].bind(g7),v7={"react-stack-bottom-frame":function(e,a){try{a.componentDidMount()}catch(s){Sn(e,e.return,s)}}},Z3=v7["react-stack-bottom-frame"].bind(v7),b7={"react-stack-bottom-frame":function(e,a,s,d,y){try{a.componentDidUpdate(s,d,y)}catch(b){Sn(e,e.return,b)}}},x7=b7["react-stack-bottom-frame"].bind(b7),S7={"react-stack-bottom-frame":function(e,a){var s=a.stack;e.componentDidCatch(a.value,{componentStack:s!==null?s:""})}},KX=S7["react-stack-bottom-frame"].bind(S7),T7={"react-stack-bottom-frame":function(e,a,s){try{s.componentWillUnmount()}catch(d){Sn(e,a,d)}}},A7=T7["react-stack-bottom-frame"].bind(T7),w7={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var a=e.create;return e=e.inst,a=a(),e.destroy=a}},IX=w7["react-stack-bottom-frame"].bind(w7),E7={"react-stack-bottom-frame":function(e,a,s){try{s()}catch(d){Sn(e,a,d)}}},WX=E7["react-stack-bottom-frame"].bind(E7),C7={"react-stack-bottom-frame":function(e){var a=e._init;return a(e._payload)}},Zp=C7["react-stack-bottom-frame"].bind(C7),Kv=null,Lb=0,Xt=null,Q3,D7=Q3=!1,M7={},O7={},R7={};S=function(e,a,s){if(s!==null&&typeof s=="object"&&s._store&&(!s._store.validated&&s.key==null||s._store.validated===2)){if(typeof s._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");s._store.validated=1;var d=De(e),y=d||"null";if(!M7[y]){M7[y]=!0,s=s._owner,e=e._debugOwner;var b="";e&&typeof e.tag=="number"&&(y=De(e))&&(b=`
|
|
926
|
+
|
|
927
|
+
Check the render method of \``+y+"`."),b||d&&(b=`
|
|
928
|
+
|
|
929
|
+
Check the top-level render call using <`+d+">.");var D="";s!=null&&e!==s&&(d=null,typeof s.tag=="number"?d=De(s):typeof s.name=="string"&&(d=s.name),d&&(D=" It was passed a child from "+d+".")),at(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',b,D)})}}};var Iv=Rl(!0),_7=Rl(!1),gu=$e(null),Wf=null,Wv=1,jb=2,Li=$e(0),z7={},N7=new Set,V7=new Set,U7=new Set,L7=new Set,j7=new Set,B7=new Set,$7=new Set,H7=new Set,k7=new Set,P7=new Set;Object.freeze(z7);var K3={enqueueSetState:function(e,a,s){e=e._reactInternals;var d=Ii(e),y=Gi(d);y.payload=a,s!=null&&(Ft(s),y.callback=s),a=Ba(e,y,d),a!==null&&(Yt(a,e,d),Us(a,e,d)),dn(e,d)},enqueueReplaceState:function(e,a,s){e=e._reactInternals;var d=Ii(e),y=Gi(d);y.tag=o7,y.payload=a,s!=null&&(Ft(s),y.callback=s),a=Ba(e,y,d),a!==null&&(Yt(a,e,d),Us(a,e,d)),dn(e,d)},enqueueForceUpdate:function(e,a){e=e._reactInternals;var s=Ii(e),d=Gi(s);d.tag=l7,a!=null&&(Ft(a),d.callback=a),a=Ba(e,d,s),a!==null&&(Yt(a,e,s),Us(a,e,s)),Xe!==null&&typeof Xe.markForceUpdateScheduled=="function"&&Xe.markForceUpdateScheduled(e,s)}},I3=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Jv=null,W3=null,Y7=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),sr=!1,q7={},G7={},F7={},X7={},e1=!1,Z7={},J3={},eC={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Q7=!1,K7=null;K7=new Set;var Fh=!1,si=!1,tC=!1,I7=typeof WeakSet=="function"?WeakSet:Set,or=null,t1=null,n1=null,vi=null,ao=!1,pc=null,Bb=8192,JX={getCacheForType:function(e){var a=$n(Vi),s=a.data.get(e);return s===void 0&&(s=e(),a.data.set(e,s)),s},getOwner:function(){return qa}};if(typeof Symbol=="function"&&Symbol.for){var $b=Symbol.for;$b("selector.component"),$b("selector.has_pseudo_class"),$b("selector.role"),$b("selector.test_id"),$b("selector.text")}var eZ=[],tZ=typeof WeakMap=="function"?WeakMap:Map,tl=0,Ds=2,gc=4,Xh=0,Hb=1,a1=2,nC=3,Zg=4,YS=6,W7=5,On=tl,Qn=null,Qt=null,Jt=0,io=0,kb=1,Qg=2,Pb=3,J7=4,aC=5,i1=6,Yb=7,iC=8,Kg=9,jn=io,nl=null,Qp=!1,r1=!1,rC=!1,Jf=0,Za=Xh,Kp=0,Ip=0,sC=0,al=0,Ig=0,qb=null,Ms=null,qS=!1,oC=0,e2=300,GS=1/0,t2=500,Gb=null,Wp=null,nZ=0,aZ=1,iZ=2,Wg=0,n2=1,a2=2,i2=3,rZ=4,lC=5,wr=0,Jp=null,s1=null,e0=0,uC=0,cC=null,r2=null,sZ=50,Fb=0,fC=null,dC=!1,FS=!1,oZ=50,Jg=0,Xb=null,o1=!1,XS=null,s2=!1,o2=new Set,lZ={},ZS=null,l1=null,hC=!1,mC=!1,QS=!1,pC=!1,ey=0,gC={};(function(){for(var e=0;e<z3.length;e++){var a=z3[e],s=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),Kt(s,"on"+a)}Kt(rr,"onAnimationEnd"),Kt(Wr,"onAnimationIteration"),Kt(Ta,"onAnimationStart"),Kt("dblclick","onDoubleClick"),Kt("focusin","onFocus"),Kt("focusout","onBlur"),Kt(el,"onTransitionRun"),Kt(fc,"onTransitionStart"),Kt(MS,"onTransitionCancel"),Kt(Z8,"onTransitionEnd")})(),fo("onMouseEnter",["mouseout","mouseover"]),fo("onMouseLeave",["mouseout","mouseover"]),fo("onPointerEnter",["pointerout","pointerover"]),fo("onPointerLeave",["pointerout","pointerover"]),cl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),cl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),cl("onBeforeInput",["compositionend","keypress","textInput","paste"]),cl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),cl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),cl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zb="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(" "),yC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zb)),KS="_reactListening"+Math.random().toString(36).slice(2),l2=!1,u2=!1,IS=!1,c2=!1,WS=!1,JS=!1,f2=!1,eT={},uZ=/\r\n?/g,cZ=/\u0000|\uFFFD/g,ty="http://www.w3.org/1999/xlink",vC="http://www.w3.org/XML/1998/namespace",fZ="javascript:throw new Error('React form unexpectedly submitted.')",dZ="suppressHydrationWarning",tT="$",nT="/$",Zh="$?",Qb="$!",hZ=1,mZ=2,pZ=4,bC="F!",d2="F",h2="complete",gZ="style",Qh=0,u1=1,aT=2,xC=null,SC=null,m2={dialog:!0,webview:!0},TC=null,p2=typeof setTimeout=="function"?setTimeout:void 0,yZ=typeof clearTimeout=="function"?clearTimeout:void 0,ny=-1,g2=typeof Promise=="function"?Promise:void 0,vZ=typeof queueMicrotask=="function"?queueMicrotask:typeof g2<"u"?function(e){return g2.resolve(null).then(e).catch(qo)}:p2,AC=null,ay=0,Kb=1,y2=2,v2=3,yu=4,vu=new Map,b2=new Set,Kh=cn.d;cn.d={f:function(){var e=Kh.f(),a=qs();return e||a},r:function(e){var a=_r(e);a!==null&&a.tag===5&&a.type==="form"?fs(a):Kh.r(e)},D:function(e){Kh.D(e),Go("dns-prefetch",e,null)},C:function(e,a){Kh.C(e,a),Go("preconnect",e,a)},L:function(e,a,s){Kh.L(e,a,s);var d=c1;if(d&&e&&a){var y='link[rel="preload"][as="'+ja(a)+'"]';a==="image"&&s&&s.imageSrcSet?(y+='[imagesrcset="'+ja(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(y+='[imagesizes="'+ja(s.imageSizes)+'"]')):y+='[href="'+ja(e)+'"]';var b=y;switch(a){case"style":b=bs(e);break;case"script":b=Il(e)}vu.has(b)||(e=Et({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:e,as:a},s),vu.set(b,e),d.querySelector(y)!==null||a==="style"&&d.querySelector($f(b))||a==="script"&&d.querySelector(nc(b))||(a=d.createElement("link"),Ya(a,"link",e),Da(a),d.head.appendChild(a)))}},m:function(e,a){Kh.m(e,a);var s=c1;if(s&&e){var d=a&&typeof a.as=="string"?a.as:"script",y='link[rel="modulepreload"][as="'+ja(d)+'"][href="'+ja(e)+'"]',b=y;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Il(e)}if(!vu.has(b)&&(e=Et({rel:"modulepreload",href:e},a),vu.set(b,e),s.querySelector(y)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(nc(b)))return}d=s.createElement("link"),Ya(d,"link",e),Da(d),s.head.appendChild(d)}}},X:function(e,a){Kh.X(e,a);var s=c1;if(s&&e){var d=jc(s).hoistableScripts,y=Il(e),b=d.get(y);b||(b=s.querySelector(nc(y)),b||(e=Et({src:e,async:!0},a),(a=vu.get(y))&&bh(e,a),b=s.createElement("script"),Da(b),Ya(b,"link",e),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}},S:function(e,a,s){Kh.S(e,a,s);var d=c1;if(d&&e){var y=jc(d).hoistableStyles,b=bs(e);a=a||"default";var D=y.get(b);if(!D){var _={loading:ay,preload:null};if(D=d.querySelector($f(b)))_.loading=Kb|yu;else{e=Et({rel:"stylesheet",href:e,"data-precedence":a},s),(s=vu.get(b))&&Sp(e,s);var $=D=d.createElement("link");Da($),Ya($,"link",e),$._p=new Promise(function(G,ye){$.onload=G,$.onerror=ye}),$.addEventListener("load",function(){_.loading|=Kb}),$.addEventListener("error",function(){_.loading|=y2}),_.loading|=yu,xp(D,a,d)}D={type:"stylesheet",instance:D,count:1,state:_},y.set(b,D)}}},M:function(e,a){Kh.M(e,a);var s=c1;if(s&&e){var d=jc(s).hoistableScripts,y=Il(e),b=d.get(y);b||(b=s.querySelector(nc(y)),b||(e=Et({src:e,async:!0,type:"module"},a),(a=vu.get(y))&&bh(e,a),b=s.createElement("script"),Da(b),Ya(b,"link",e),s.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(y,b))}}};var c1=typeof document>"u"?null:document,iT=null,Ib=null,wC=null,rT=null,iy=Ts,Wb={$$typeof:ft,Provider:null,Consumer:null,_currentValue:iy,_currentValue2:iy,_threadCount:0},x2="%c%s%c ",S2="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",T2="",sT=" ",bZ=Function.prototype.bind,A2=!1,w2=null,E2=null,C2=null,D2=null,M2=null,O2=null,R2=null,_2=null,z2=null;w2=function(e,a,s,d){a=n(e,a),a!==null&&(s=i(a.memoizedState,s,0,d),a.memoizedState=s,a.baseState=s,e.memoizedProps=Et({},e.memoizedProps),s=Hi(e,2),s!==null&&Yt(s,e,2))},E2=function(e,a,s){a=n(e,a),a!==null&&(s=h(a.memoizedState,s,0),a.memoizedState=s,a.baseState=s,e.memoizedProps=Et({},e.memoizedProps),s=Hi(e,2),s!==null&&Yt(s,e,2))},C2=function(e,a,s,d){a=n(e,a),a!==null&&(s=o(a.memoizedState,s,d),a.memoizedState=s,a.baseState=s,e.memoizedProps=Et({},e.memoizedProps),s=Hi(e,2),s!==null&&Yt(s,e,2))},D2=function(e,a,s){e.pendingProps=i(e.memoizedProps,a,0,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=Hi(e,2),a!==null&&Yt(a,e,2)},M2=function(e,a){e.pendingProps=h(e.memoizedProps,a,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=Hi(e,2),a!==null&&Yt(a,e,2)},O2=function(e,a,s){e.pendingProps=o(e.memoizedProps,a,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps),a=Hi(e,2),a!==null&&Yt(a,e,2)},R2=function(e){var a=Hi(e,2);a!==null&&Yt(a,e,2)},_2=function(e){v=e},z2=function(e){g=e};var oT=!0,lT=null,EC=!1,t0=null,n0=null,a0=null,Jb=new Map,ex=new Map,i0=[],xZ="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".split(" "),uT=null;if(Dp.prototype.render=Cp.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var s=arguments;typeof s[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):U(s[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof s[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),s=e;var d=a.current,y=Ii(d);Th(d,y,s,a,null,null)},Dp.prototype.unmount=Cp.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var a=e.containerInfo;(On&(Ds|gc))!==tl&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Th(e.current,2,null,e,null,null),qs(),a[ru]=null}},Dp.prototype.unstable_scheduleHydration=function(e){if(e){var a=xm();e={blockedOn:null,target:e,priority:a};for(var s=0;s<i0.length&&a!==0&&a<i0[s].priority;s++);i0.splice(s,0,e),s===0&&Pf(e)}},function(){var e=Cg.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
930
|
+
- react: `+(e+`
|
|
931
|
+
- react-dom: 19.1.0
|
|
932
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),cn.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=H(a),e=e!==null?le(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:pe,reconcilerVersion:"19.1.0"};return e.overrideHookState=w2,e.overrideHookStateDeletePath=E2,e.overrideHookStateRenamePath=C2,e.overrideProps=D2,e.overridePropsDeletePath=M2,e.overridePropsRenamePath=O2,e.scheduleUpdate=R2,e.setErrorHandler=_2,e.setSuspenseHandler=z2,e.scheduleRefresh=L,e.scheduleRoot=V,e.setRefreshHandler=P,e.getCurrentFiber=pb,e.getLaneLabelMap=wv,e.injectProfilingHooks=ot,qe(e)}()&&ue&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var N2=window.location.protocol;/^(https?|file):$/.test(N2)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(N2==="file:"?`
|
|
933
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}fb.createRoot=function(e,a){if(!U(e))throw Error("Target container is not a DOM element.");Mp(e);var s=!1,d="",y=Qm,b=Km,D=zl,_=null;return a!=null&&(a.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof a=="object"&&a!==null&&a.$$typeof===Zo&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
934
|
+
|
|
935
|
+
let root = createRoot(domContainer);
|
|
936
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(y=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(D=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(_=a.unstable_transitionCallbacks)),a=wg(e,1,!1,null,null,s,d,y,b,D,_,null),e[ru]=a.current,hh(e),new Cp(a)},fb.hydrateRoot=function(e,a,s){if(!U(e))throw Error("Target container is not a DOM element.");Mp(e),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var d=!1,y="",b=Qm,D=Km,_=zl,$=null,G=null;return s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onUncaughtError!==void 0&&(b=s.onUncaughtError),s.onCaughtError!==void 0&&(D=s.onCaughtError),s.onRecoverableError!==void 0&&(_=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&($=s.unstable_transitionCallbacks),s.formState!==void 0&&(G=s.formState)),a=wg(e,1,!0,a,s??null,d,y,b,D,_,$,G),a.context=En(null),s=a.current,d=Ii(s),d=xi(d),y=Gi(d),y.callback=null,Ba(s,y,d),s=d,a.current.lanes=s,dd(a,s),xr(a),e[ru]=a.current,hh(e),new Dp(a)},fb.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),fb}var y8;function xF(){if(y8)return pS.exports;y8=1;var t={};function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(t.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}}return t.NODE_ENV==="production"?(n(),pS.exports=vF()):pS.exports=bF(),pS.exports}var v8=xF();const a3=[];function b8(t="bottom-center"){var n;if(!a3.find(i=>i.id===t)){const i=document.createElement("div");switch(i.classList.add("fixed","z-50","flex","flex-col","items-center","w-fit","min-w-[18rem]"),t){case"top-left":i.classList.add("top-8","left-8");break;case"top-right":i.classList.add("top-8","right-8");break;case"bottom-left":i.classList.add("bottom-8","left-8");break;case"bottom-right":i.classList.add("bottom-8","right-8");break;case"top-center":i.classList.add("top-8","left-1/2","-translate-x-1/2");break;case"bottom-center":default:i.classList.add("bottom-8","left-1/2","-translate-x-1/2")}a3.push({id:t,element:i}),document.body.appendChild(i)}return(n=a3.find(i=>i.id===t))==null?void 0:n.element}function yS(t,n="success",{position:i="top-right",duration:o=3e3}={}){const u=b8(i);if(!u)return;const h=document.createElement("div"),g=v8.createRoot(h),v=()=>{g.unmount(),u.removeChild(h)};g.render(Y.jsx(hw,{content:t,type:n,duration:o,onClose:v})),u.prepend(h),setTimeout(()=>{h.classList.add("mt-[0.5rem]")},10)}const i3=(t,n,i={})=>{const o=b8(i.position);if(!o)return;const u=document.createElement("div"),h=v8.createRoot(u),g=()=>{h.unmount(),o.removeChild(u)};h.render(Y.jsx(eO,{promise:t,messages:n,options:i,onClose:g})),o.prepend(u),setTimeout(()=>{u.classList.add("mt-[0.5rem]")},10)},x8=(t,n={})=>{let i=()=>{},o=()=>{};const u=new Promise((h,g)=>{i=h,o=g});return i3(u,t,n),{resolve:i,reject:o}},SF={success:(t,n={})=>yS(t,"success",n),error:(t,n={})=>yS(t,"error",n),warning:(t,n={})=>yS(t,"warning",n),info:(t,n={})=>yS(t,"info",n),async:(t,n,i={})=>i3(t,n,i),loading:(t,n={})=>x8(t,n)},S8=({containerProps:t={},imageProps:n={},src:i="",alt:o="",size:u=30,user:h=null})=>{const{className:g=" ",...v}=t,{className:S=" ",...A}=n,w=u+"px",C=u*.5+"px",M=u*.4+"px",[R,V]=J.useState(!1),L=()=>o?mw(o):h?mw(h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||"")+" "+((h==null?void 0:h.last_name)||""):h==null?void 0:h.email):"#9CA1B6",P=H=>{try{return H?(new URL(H),!0):!1}catch(le){return console.log(le),!1}},U=()=>P(i)?i:h!=null&&h.image&&P(h.image)?h.image:h!=null&&h.image?AO(h.image):"",q=()=>o?Y.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:o}):h?Y.jsx("h4",{className:"text-white uppercase font-600 text-nowrap",style:{fontSize:M},children:h!=null&&h.first_name||h!=null&&h.last_name?((h==null?void 0:h.first_name)||" ")[0]+((h==null?void 0:h.last_name)||" ")[0]:((h==null?void 0:h.email)||" ")[0]}):Y.jsx(Pn,{style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},icon:Ij,className:"w-full text-white"}),F=()=>{V(!0)},ae=U();return Y.jsxs("div",{className:"flex items-center justify-center rounded-full overflow-hidden h-full relative "+g,style:{maxWidth:w,maxHeight:w,minWidth:w,minHeight:w,backgroundColor:L()},...v,children:[ae&&!R&&Y.jsx("img",{src:ae,alt:o,className:`
|
|
937
|
+
object-cover w-full h-full text-center indent-[10000px] absolute
|
|
938
|
+
z-10
|
|
939
|
+
${S}
|
|
940
|
+
`,onError:F,...A}),Y.jsx("div",{className:`
|
|
941
|
+
flex items-center justify-center leading-none text-center absolute
|
|
942
|
+
`,style:{maxWidth:C,maxHeight:C,minWidth:C,minHeight:C},children:q()})]})};function T8(t){var n,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var u=t.length;for(n=0;n<u;n++)t[n]&&(i=T8(t[n]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function ud(){for(var t,n,i=0,o="",u=arguments.length;i<u;i++)(t=arguments[i])&&(n=T8(t))&&(o&&(o+=" "),o+=n);return o}const A8={filled:"bg-blue-500 text-white hover:bg-blue-600 hover:text-white active:bg-blue-700 active:text-white",transparent:"bg-blue-100 text-blue-500 hover:bg-blue-200 hover:text-blue-600 active:bg-blue-300/80 active:text-blue-700",outline:"bg-transparent border-1 border-blue-500 text-blue-500 hover:text-blue-600 hover:border-blue-600 active:text-blue-700 active:border-blue-700",invisible:"text-blue-500 hover:text-blue-600 active:text-blue-700"},w8={filled:"bg-aqua-500 text-white hover:bg-aqua-600 hover:text-white active:bg-aqua-700 active:text-white",transparent:"bg-aqua-100 text-aqua-500 hover:bg-aqua-200/50 hover:text-aqua-600 active:bg-aqua-200/70 active:text-aqua-700",outline:"bg-transparent border-1 border-aqua-500 text-aqua-500 hover:text-aqua-600 hover:border-aqua-600 active:text-aqua-700 active:border-aqua-700",invisible:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700"},E8={filled:"bg-red-500 text-white hover:bg-red-600 hover:text-white active:bg-red-700 active:text-white",transparent:"bg-red-500/20 text-error hover:bg-red-500/30 hover:text-red-600 active:text-red-700 active:bg-red-700/40",outline:"bg-transparent border-1 border-red-500 text-error hover:text-red-600 hover:border-red-600 active:text-red-700 active:border-red-700",invisible:"text-red-500 hover:text-red-600 active:text-red-700"},C8={filled:"bg-gray-500 text-white hover:bg-gray-600 hover:text-white active:bg-gray-700 active:text-white",transparent:"bg-gray-100 text-gray-500 hover:bg-gray-200 hover:text-gray-600 active:text-gray-700 active:bg-gray-300",outline:"bg-transparent border-1 border-gray-500 text-gray-500 hover:text-gray-600 hover:border-gray-600 active:text-gray-700 active:border-gray-700",invisible:"text-gray-500 hover:text-gray-600 active:text-gray-700"},TF="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] text-body-s disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",AF={lg:"gap-12 px-24 py-8 text-lg",base:"gap-8 px-20 py-7",md:"gap-8 px-16 py-6",sm:"gap-4 px-12 py-5",xs:"gap-4 px-6 py-3"},wF=(t="filled",n="blue",i="base")=>{const o=ud(TF,AF[i]),u={blue:A8[t],aqua:w8[t],red:E8[t],gray:C8[t]}[n];return ud(o,u)},db=({color:t,variant:n="filled",size:i="base",children:o,className:u,...h})=>{const{defaultColorScheme:g}=cr(),v=t||g;return Y.jsx("button",{type:"button",className:wF(n,v,i)+" "+u,...h,children:o})},D8=({className:t="",direction:n="horizontal"})=>n==="horizontal"?Y.jsx("hr",{className:`w-full min-h-1 max-h-1 bg-blue-200 ${t}`}):Y.jsx("hr",{className:`h-full min-w-1 max-w-1 bg-blue-200 ${t}`}),M8=({open:t,onClose:n,title:i,children:o})=>{const u={hidden:{opacity:0},visible:{opacity:1}},h={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.15}},exit:{opacity:0,scale:.9,transition:{duration:.15}}};return Y.jsx(lm,{children:t&&Y.jsx(Y.Fragment,{children:Y.jsx(ma.div,{className:"fixed inset-0 bg-black bg-opacity-50 z-9999 flex items-center justify-center",initial:"hidden",animate:"visible",exit:"hidden",variants:u,onClick:n,children:Y.jsx(ma.div,{className:"w-full max-w-screen-md mx-16 z-50",variants:h,initial:"hidden",animate:"visible",exit:"exit",onClick:g=>g.stopPropagation(),children:Y.jsxs(Py,{className:"flex flex-col gap-16 md:gap-24 !p-0",children:[Y.jsxs("div",{className:"flex flex-col gap-16 md:gap-24 md:p-32 md:pb-0",children:[Y.jsxs("div",{className:"flex justify-between items-center px-16 pt-16 md:px-0 md:pt-0",children:[i&&Y.jsx("h2",{className:"text-black font-700 text-2xl",children:i}),Y.jsx(Pn,{icon:tA,className:"cursor-pointer text-2xl text-gray-500 transition-all duration-300 hover:text-gray-700 ml-auto",onClick:n})]}),i&&Y.jsx(D8,{className:"!bg-gray-100"})]}),Y.jsx("div",{className:"flex flex-col gap-16 md:gap-24 p-16 pt-0 md:p-32 md:pt-4",children:typeof o=="function"?o(n):o})]})})})})})},EF=({countries:t,name:n,control:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",className:g=""})=>{const{t:v}=cr();return Y.jsx(o8,{name:n,control:i,render:({field:{onChange:S,value:A},fieldState:{error:w}})=>Y.jsx(CF,{countries:t,value:A,onChange:S,label:v(o),placeholder:v(u),language:h,error:w==null?void 0:w.message,className:g})})},CF=({countries:t,value:n,onChange:i,label:o="select_a_country",placeholder:u="type_to_search",language:h="en",error:g,className:v=""})=>{var Me,Ye;const{t:S}=cr(),[A,w]=J.useState(!1),[C,M]=J.useState(""),[R,V]=J.useState(n||null),L=J.useRef(null),P=J.useRef(null),{x:U,y:q,strategy:F,refs:ae,context:H,placement:le,middlewareData:be}=ZE({open:A,onOpenChange:w,middleware:[HE(8),PE(),kE({padding:8}),k_({apply({availableHeight:ze,elements:qe}){Object.assign(qe.floating.style,{maxHeight:`${Math.min(ze-10,300)}px`})},padding:8}),P_({element:P})],placement:"bottom-start",whileElementsMounted:BE}),de=FE(H),Ue=XE(H),{getReferenceProps:De,getFloatingProps:$e}=KE([de,Ue]),{isMounted:ke,styles:We}=IE(H,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),Ge=(Array.isArray(t)?t:[]).filter(ze=>{if(!C.trim())return!0;const qe=h==="es"&&ze.labelES?ze.labelES.toLowerCase():ze.label.toLowerCase(),Pe=ze.code?ze.code.toLowerCase():"";return qe.includes(C.toLowerCase())||Pe.includes(C.toLowerCase())}),re=ze=>{V(ze),w(!1),M(""),i(ze)},W=()=>{w(!A),!A&&L.current&&setTimeout(()=>{var ze;(ze=L.current)==null||ze.focus()},100)};J.useEffect(()=>{V(n)},[n]);const ce=ze=>{var qe;return ze?ze.codeISO2?ze.codeISO2.toLowerCase():((qe=ze.code)==null?void 0:qe.toLowerCase())||"":""},Ae=(Me=be.arrow)==null?void 0:Me.x,Be=(Ye=be.arrow)==null?void 0:Ye.y,X={top:"bottom",right:"left",bottom:"top",left:"right"}[le.split("-")[0]],xe=De({onClick:W});return Y.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${v}`,children:[Y.jsx("label",{className:`text-gray-600 font-600 group ${g&&"!text-red-500"} text-label`,children:o}),Y.jsxs("div",{ref:ae.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer border transition-all duration-200 hover:border-blue-400 ${g&&"border-red-500 hover:border-red-600"} ${ke?"border-blue-400":"border-blue-100"}`,...xe,children:[R!=null&&R.code?Y.jsxs("div",{className:"flex items-center w-full",children:[ce(R)&&Y.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${ce(R)}.png`,srcSet:`https://flagcdn.com/w40/${ce(R)}.png 2x`,alt:R.label,onError:ze=>{ze.currentTarget.style.display="none"}}),Y.jsxs("span",{className:"flex-grow",children:[h==="es"&&R.labelES?R.labelES:R.label,R.code?` (${R.code})`:S("select_country")]})]}):Y.jsx("span",{className:"text-gray-500",children:u}),Y.jsx("svg",{className:`w-16 h-16 transition-transform ${A?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:Y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),g&&Y.jsx("p",{className:"mt-1 text-sm text-red-600",children:g}),ke&&Y.jsxs("div",{ref:ae.setFloating,style:{position:F,top:q??0,left:U??0,...We},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...$e(),children:[Y.jsx("div",{ref:P,className:"absolute w-4 h-4 bg-white rotate-45 border-blue-400",style:{left:Ae!=null?`${Ae}px`:"",top:Be!=null?`${Be}px`:"",right:"",bottom:"",[X]:"-2px",borderRight:X==="left"?"1px solid":"none",borderBottom:X==="top"?"1px solid":"none",borderLeft:X==="right"?"1px solid":"none",borderTop:X==="bottom"?"1px solid":"none"}}),Y.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:Y.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:S("search")+"...",value:C,onChange:ze=>M(ze.target.value),onClick:ze=>ze.stopPropagation(),autoFocus:!0})}),Y.jsx("div",{children:Ge.length>0?Y.jsx("ul",{className:"flex flex-col",children:Ge.map((ze,qe)=>{var ot;const Pe=ze.codeISO2?ze.codeISO2.toLowerCase():((ot=ze.code)==null?void 0:ot.toLowerCase())||"";return Y.jsxs("li",{className:"flex items-center gap-10 px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:Je=>{Je.stopPropagation(),re(ze)},children:[Pe&&Y.jsx("img",{loading:"lazy",width:"24",height:"16",className:"mr-2",src:`https://flagcdn.com/w20/${Pe}.png`,srcSet:`https://flagcdn.com/w40/${Pe}.png 2x`,alt:ze.label,onError:Je=>{Je.currentTarget.style.display="none"}}),Y.jsxs("span",{children:[h==="es"&&ze.labelES?ze.labelES:ze.label,ze.code?` (${ze.code})`:"Country not found"]})]},`${ze.code}-${qe}`)})}):Y.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No countries found"})})]})]})},DF=t=>Y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:179,height:35,fill:"none",...t,children:Y.jsx("path",{fill:"#4570EB",d:"M86.789 28.867c-1.447 0-2.772-.265-3.975-.795a9.122 9.122 0 0 1-3.057-2.232 8.568 8.568 0 0 1-1.803-3.148l2.598-1.07c.55 1.467 1.366 2.598 2.446 3.393 1.1.774 2.384 1.162 3.852 1.162.896 0 1.681-.143 2.354-.428.672-.286 1.192-.683 1.559-1.193.387-.53.58-1.14.58-1.834 0-.958-.275-1.712-.825-2.262-.53-.57-1.314-.999-2.354-1.284l-4.188-1.284c-1.65-.51-2.914-1.314-3.79-2.415-.877-1.1-1.315-2.364-1.315-3.79 0-1.244.295-2.334.886-3.272.612-.957 1.447-1.701 2.507-2.231 1.08-.55 2.303-.826 3.669-.826 1.365 0 2.598.245 3.699.734 1.12.49 2.068 1.152 2.843 1.987a7.691 7.691 0 0 1 1.712 2.813l-2.568 1.07c-.49-1.284-1.223-2.252-2.201-2.905-.979-.672-2.13-1.008-3.455-1.008-.815 0-1.538.142-2.17.428a3.184 3.184 0 0 0-1.437 1.192c-.326.51-.49 1.12-.49 1.834 0 .836.266 1.58.796 2.232.53.652 1.334 1.151 2.415 1.498l3.82 1.13c1.794.55 3.15 1.335 4.067 2.355.917 1.019 1.375 2.282 1.375 3.79 0 1.243-.326 2.344-.978 3.302-.632.958-1.518 1.712-2.66 2.262-1.12.53-2.425.795-3.912.795Zm11.6-.367V12.023h2.844V28.5h-2.844Zm0-19.106V5.725h2.844v3.669h-2.844Zm7.255 19.106V12.023h2.782v3.362l-.398-.52c.408-1.039 1.06-1.834 1.957-2.384.897-.55 1.905-.825 3.026-.825 1.284 0 2.436.356 3.455 1.07 1.039.713 1.752 1.65 2.14 2.812l-.795.03c.428-1.283 1.151-2.251 2.17-2.903a6.028 6.028 0 0 1 3.394-1.01c1.141 0 2.17.266 3.087.796a5.926 5.926 0 0 1 2.232 2.2c.55.938.825 1.998.825 3.18V28.5h-2.873v-9.752c0-.917-.163-1.691-.49-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.874v-9.752c0-.917-.163-1.691-.489-2.323a3.606 3.606 0 0 0-1.345-1.468c-.55-.366-1.202-.55-1.956-.55a3.69 3.69 0 0 0-1.987.55c-.571.347-1.029.846-1.376 1.498-.326.632-.489 1.396-.489 2.293V28.5h-2.843Zm27.913 6.114V12.023h2.782v3.546l-.367-.703c.612-.979 1.447-1.753 2.507-2.324 1.06-.59 2.272-.886 3.638-.886 1.549 0 2.934.377 4.157 1.13a8.069 8.069 0 0 1 2.935 3.088c.713 1.284 1.07 2.752 1.07 4.403 0 1.61-.357 3.067-1.07 4.371a8.068 8.068 0 0 1-2.935 3.088c-1.223.754-2.619 1.13-4.188 1.13-1.325 0-2.537-.295-3.638-.886a6.185 6.185 0 0 1-2.506-2.506l.458-.49v9.63h-2.843Zm8.315-8.498c1.04 0 1.967-.255 2.782-.765a5.185 5.185 0 0 0 1.895-2.078c.469-.897.704-1.896.704-2.996 0-1.142-.235-2.14-.704-2.996a5.185 5.185 0 0 0-1.895-2.079c-.815-.53-1.742-.795-2.782-.795-1.039 0-1.977.255-2.812.764-.815.51-1.468 1.213-1.957 2.11-.468.876-.703 1.875-.703 2.996 0 1.1.235 2.099.703 2.995a5.65 5.65 0 0 0 1.957 2.08c.835.509 1.773.764 2.812.764Zm12.135 2.384V5.358h2.843V28.5h-2.843Zm14.836.367c-1.59 0-3.006-.377-4.25-1.131a8.065 8.065 0 0 1-2.934-3.088c-.714-1.325-1.07-2.802-1.07-4.433 0-1.65.346-3.118 1.039-4.402.713-1.284 1.671-2.292 2.874-3.026 1.223-.754 2.588-1.131 4.096-1.131 1.223 0 2.303.224 3.241.672a6.84 6.84 0 0 1 2.415 1.774 7.477 7.477 0 0 1 1.528 2.537 7.98 7.98 0 0 1 .55 2.934c0 .225-.02.48-.061.765-.02.265-.051.52-.091.764h-13.512v-2.446h11.861l-1.345 1.1c.183-1.059.081-2.006-.306-2.842a4.643 4.643 0 0 0-1.712-1.987c-.754-.49-1.61-.734-2.568-.734s-1.834.245-2.629.734c-.795.489-1.416 1.192-1.865 2.11-.428.896-.601 1.966-.519 3.21-.082 1.201.102 2.261.55 3.178a5.288 5.288 0 0 0 1.956 2.11c.856.489 1.784.733 2.782.733 1.101 0 2.028-.254 2.782-.764a6.011 6.011 0 0 0 1.834-1.956l2.385 1.222c-.326.755-.836 1.447-1.529 2.08-.672.61-1.477 1.1-2.415 1.467-.917.366-1.946.55-3.087.55ZM24.105 5.715h7.319v16.956h11.69V28.5h-19.01V5.715Zm31.958 0c7.97 0 11.955 3.798 11.955 11.393 0 7.595-3.985 11.392-11.955 11.392h-9.87V5.715h9.87Zm-2.55 17.32h2.417c3.07 0 4.604-1.644 4.604-4.934v-1.987c0-3.29-1.535-4.934-4.604-4.934h-2.417v11.856ZM5.94 23.162v5.36H.062v-4.521c0-.391.455-1.216.71-1.53.961-1.179 2.867-3.007 4.022-4.048.572-.515 1.108-.978 1.92-1.06 1.927-.196 4.165.139 6.127 0 3.93-.268 3.945-5.65-.061-5.928-1.784-.124-3.71.097-5.508 0-.629.061-1.078.396-1.303.993-.138 1.237.092 2.622-.026 3.837-.061.598-.409 1.025-1.022 1.092-.873.098-2.881.083-3.776 0C.56 17.306.12 16.93.063 16.327c-.087-.942-.082-2.858 0-3.806.041-.494.404-.953.905-1.02 1.067-.144 3.346.248 4.195-.138 1.583-.716.633-3.497.93-4.924.112-.536.648-.71 1.124-.798 4.2.082 8.057-.747 11.47 2.266 5.871 5.186 2.432 14.564-5.104 15.244H5.944l-.005.01Z"})}),MF="transition-colors ease-in-out duration-200 flex items-center justify-center rounded-full w-fit font-[600] leading-normal disabled:bg-gray-100 disabled:cursor-not-allowed disabled:text-gray-300",OF={lg:"min-h-[46px] max-h-[46px] min-w-[46px] max-w-[46px]",base:"min-h-[40px] max-h-[40px] min-w-[40px] max-w-[40px]",md:"min-h-[28px] max-h-[28px] min-w-[28px] max-w-[28px]",sm:"min-h-[20px] max-h-[20px] min-w-[16px] max-w-[16px]",xs:"min-h-[12px] max-h-[12px] min-w-[12px] max-w-[12px]"},RF={none:"",blue:"shadow-blue-sh hover:shadow-blue-sh active:shadow-blue-sh"},_F=(t="filled",n="blue",i="base",o="none")=>{const u=ud(MF,OF[i],RF[o]),h={blue:A8[t],aqua:w8[t],red:E8[t],gray:C8[t]}[n];return ud(u,h)},zF={lg:"min-h-[20px] max-h-[20px]",base:"min-h-[15px] max-h-[15px]",md:"min-h-[15px] max-h-[15px]",sm:"min-h-[15px] max-h-[15px]",xs:"min-h-[15px] max-h-[15px]"},r3=(t="base")=>zF[t],vS=({variant:t="filled",color:n,size:i="base",shadow:o="none",icon:u,iconProps:h={},children:g,className:v,...S})=>{const{defaultColorScheme:A}=cr(),w=n||A;return Y.jsx("button",{...S,className:`${_F(t,w,i,o)} ${v}`,children:u?Y.jsx(Pn,{...h,className:r3(i),icon:u}):g})};function NF(t){return t!==null&&typeof t=="object"&&"name"in t&&"size"in t&&"type"in t&&typeof t.name=="string"&&typeof t.size=="number"&&typeof t.type=="string"}const VF=({src:t,alt:n,isEditable:i=!1,onChange:o,className:u="",name:h,control:g,user:v})=>{const[S,A]=J.useState(t||null),[w,C]=J.useState(!!t),M=J.useRef(null),R=ub({name:h,control:g}),V=!!g;J.useEffect(()=>{if(V){const q=R==null?void 0:R.field.value;if(NF(q)){const F=URL.createObjectURL(q);return A(F),C(!0),()=>URL.revokeObjectURL(F)}else typeof q=="string"&&q&&q!==t?(A(q),C(!0)):t?(A(t),C(!0)):(A(null),C(!1))}},[R==null?void 0:R.field.value,t]);const L=()=>{var q;i&&((q=M.current)==null||q.click())},P=q=>{var ae;const F=(ae=q.target.files)==null?void 0:ae[0];if(F){const H=URL.createObjectURL(F);A(H),C(!0),V&&(R==null||R.field.onChange(F)),o&&o(F)}},U=q=>{q.stopPropagation(),A(null),C(!1),M.current&&(M.current.value=""),V&&(R==null||R.field.onChange(null)),o&&o(null)};return Y.jsxs("div",{className:"relative flex items-center gap-10",children:[i&&w&&Y.jsx("button",{type:"button",onClick:U,className:"bg-red-500 text-white rounded-full w-20 h-20 flex items-center justify-center hover:bg-red-600 focus:outline-none","aria-label":"Eliminar imagen",children:Y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[Y.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Y.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),Y.jsxs("div",{className:`relative flex items-center justify-center h-40 w-40 ${i?"cursor-pointer hover:opacity-80":""} ${u}`,onClick:L,children:[S?Y.jsx("img",{src:S,alt:n,className:"w-full h-full object-cover rounded-full"}):Y.jsx(S8,{size:60,user:v}),i&&Y.jsxs(Y.Fragment,{children:[Y.jsx("input",{type:"file",ref:q=>{M.current=q,R&&R.field.ref(q)},onChange:P,onBlur:R==null?void 0:R.field.onBlur,accept:"image/*",className:"hidden"}),!w&&Y.jsx("div",{className:"absolute bottom-0 right-0 bg-blue-100 rounded-full h-20 w-20 flex items-center justify-center",children:Y.jsx(Pn,{icon:zq,className:"text-blue-500"})})]})]})]})};var s3,O8;function UF(){if(O8)return s3;O8=1;function t(U){this._maxSize=U,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(U){return this._values[U]},t.prototype.set=function(U,q){return this._size>=this._maxSize&&this.clear(),U in this._values||this._size++,this._values[U]=q};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,h=/^\s*(['"]?)(.*?)(\1)\s*$/,g=512,v=new t(g),S=new t(g),A=new t(g);s3={Cache:t,split:C,normalizePath:w,setter:function(U){var q=w(U);return S.get(U)||S.set(U,function(ae,H){for(var le=0,be=q.length,de=ae;le<be-1;){var Ue=q[le];if(Ue==="__proto__"||Ue==="constructor"||Ue==="prototype")return ae;de=de[q[le++]]}de[q[le]]=H})},getter:function(U,q){var F=w(U);return A.get(U)||A.set(U,function(H){for(var le=0,be=F.length;le<be;)if(H!=null||!q)H=H[F[le++]];else return;return H})},join:function(U){return U.reduce(function(q,F){return q+(R(F)||i.test(F)?"["+F+"]":(q?".":"")+F)},"")},forEach:function(U,q,F){M(Array.isArray(U)?U:C(U),q,F)}};function w(U){return v.get(U)||v.set(U,C(U).map(function(q){return q.replace(h,"$2")}))}function C(U){return U.match(n)||[""]}function M(U,q,F){var ae=U.length,H,le,be,de;for(le=0;le<ae;le++)H=U[le],H&&(P(H)&&(H='"'+H+'"'),de=R(H),be=!de&&/^\d+$/.test(H),q.call(F,H,de,be,le,U))}function R(U){return typeof U=="string"&&U&&["'",'"'].indexOf(U.charAt(0))!==-1}function V(U){return U.match(o)&&!U.match(i)}function L(U){return u.test(U)}function P(U){return!R(U)&&(V(U)||L(U))}return s3}var A0=UF(),o3,R8;function LF(){if(R8)return o3;R8=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=w=>w.match(t)||[],i=w=>w[0].toUpperCase()+w.slice(1),o=(w,C)=>n(w).join(C).toLowerCase(),u=w=>n(w).reduce((C,M)=>`${C}${C?M[0].toUpperCase()+M.slice(1).toLowerCase():M.toLowerCase()}`,"");return o3={words:n,upperFirst:i,camelCase:u,pascalCase:w=>i(u(w)),snakeCase:w=>o(w,"_"),kebabCase:w=>o(w,"-"),sentenceCase:w=>i(o(w," ")),titleCase:w=>n(w).map(i).join(" ")},o3}var l3=LF(),bS={exports:{}},_8;function jF(){if(_8)return bS.exports;_8=1,bS.exports=function(u){return t(n(u),u)},bS.exports.array=t;function t(u,h){var g=u.length,v=new Array(g),S={},A=g,w=i(h),C=o(u);for(h.forEach(function(R){if(!C.has(R[0])||!C.has(R[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});A--;)S[A]||M(u[A],A,new Set);return v;function M(R,V,L){if(L.has(R)){var P;try{P=", node was:"+JSON.stringify(R)}catch{P=""}throw new Error("Cyclic dependency"+P)}if(!C.has(R))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(R));if(!S[V]){S[V]=!0;var U=w.get(R)||new Set;if(U=Array.from(U),V=U.length){L.add(R);do{var q=U[--V];M(q,C.get(q),L)}while(V);L.delete(R)}v[--g]=R}}}function n(u){for(var h=new Set,g=0,v=u.length;g<v;g++){var S=u[g];h.add(S[0]),h.add(S[1])}return Array.from(h)}function i(u){for(var h=new Map,g=0,v=u.length;g<v;g++){var S=u[g];h.has(S[0])||h.set(S[0],new Set),h.has(S[1])||h.set(S[1],new Set),h.get(S[0]).add(S[1])}return h}function o(u){for(var h=new Map,g=0,v=u.length;g<v;g++)h.set(u[g],g);return h}return bS.exports}var BF=jF();const $F=DC(BF),HF=Object.prototype.toString,kF=Error.prototype.toString,PF=RegExp.prototype.toString,YF=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",qF=/^Symbol\((.*)\)(.*)$/;function GF(t){return t!=+t?"NaN":t===0&&1/t<0?"-0":""+t}function z8(t,n=!1){if(t==null||t===!0||t===!1)return""+t;const i=typeof t;if(i==="number")return GF(t);if(i==="string")return n?`"${t}"`:t;if(i==="function")return"[Function "+(t.name||"anonymous")+"]";if(i==="symbol")return YF.call(t).replace(qF,"Symbol($1)");const o=HF.call(t).slice(8,-1);return o==="Date"?isNaN(t.getTime())?""+t:t.toISOString(t):o==="Error"||t instanceof Error?"["+kF.call(t)+"]":o==="RegExp"?PF.call(t):null}function ym(t,n){let i=z8(t,n);return i!==null?i:JSON.stringify(t,function(o,u){let h=z8(this[o],n);return h!==null?h:u},2)}function N8(t){return t==null?[]:[].concat(t)}let V8,U8,L8,FF=/\$\{\s*(\w+)\s*\}/g;V8=Symbol.toStringTag;class j8{constructor(n,i,o,u){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[V8]="Error",this.name="ValidationError",this.value=i,this.path=o,this.type=u,this.errors=[],this.inner=[],N8(n).forEach(h=>{if(zs.isError(h)){this.errors.push(...h.errors);const g=h.inner.length?h.inner:[h];this.inner.push(...g)}else this.errors.push(h)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}U8=Symbol.hasInstance,L8=Symbol.toStringTag;class zs extends Error{static formatError(n,i){const o=i.label||i.path||"this";return i=Object.assign({},i,{path:o,originalPath:i.path}),typeof n=="string"?n.replace(FF,(u,h)=>ym(i[h])):typeof n=="function"?n(i):n}static isError(n){return n&&n.name==="ValidationError"}constructor(n,i,o,u,h){const g=new j8(n,i,o,u);if(h)return g;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[L8]="Error",this.name=g.name,this.message=g.message,this.type=g.type,this.value=g.value,this.path=g.path,this.errors=g.errors,this.inner=g.inner,Error.captureStackTrace&&Error.captureStackTrace(this,zs)}static[U8](n){return j8[Symbol.hasInstance](n)||super[Symbol.hasInstance](n)}}let Rc={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{const u=o!=null&&o!==i?` (cast from the value \`${ym(o,!0)}\`).`:".";return n!=="mixed"?`${t} must be a \`${n}\` type, but the final value was: \`${ym(i,!0)}\``+u:`${t} must match the configured type. The validated value was: \`${ym(i,!0)}\``+u}},Ns={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},XF={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},u3={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},ZF={isValue:"${path} field must be ${value}"},xS={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:Rc,string:Ns,number:XF,date:u3,object:xS,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:ZF,tuple:{notType:t=>{const{path:n,value:i,spec:o}=t,u=o.types.length;if(Array.isArray(i)){if(i.length<u)return`${n} tuple value has too few items, expected a length of ${u} but got ${i.length} for value: \`${ym(i,!0)}\``;if(i.length>u)return`${n} tuple value has too many items, expected a length of ${u} but got ${i.length} for value: \`${ym(i,!0)}\``}return zs.formatError(Rc.notType,t)}}});const c3=t=>t&&t.__isYupSchema__;class SS{static fromOptions(n,i){if(!i.then&&!i.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:u,otherwise:h}=i,g=typeof o=="function"?o:(...v)=>v.every(S=>S===o);return new SS(n,(v,S)=>{var A;let w=g(...v)?u:h;return(A=w==null?void 0:w(S))!=null?A:S})}constructor(n,i){this.fn=void 0,this.refs=n,this.refs=n,this.fn=i}resolve(n,i){let o=this.refs.map(h=>h.getValue(i==null?void 0:i.value,i==null?void 0:i.parent,i==null?void 0:i.context)),u=this.fn(o,n,i);if(u===void 0||u===n)return n;if(!c3(u))throw new TypeError("conditions must return a schema object");return u.resolve(i)}}const TS={context:"$",value:"."};class w0{constructor(n,i={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof n!="string")throw new TypeError("ref must be a string, got: "+n);if(this.key=n.trim(),n==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===TS.context,this.isValue=this.key[0]===TS.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?TS.context:this.isValue?TS.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&A0.getter(this.path,!0),this.map=i.map}getValue(n,i,o){let u=this.isContext?o:this.isValue?n:i;return this.getter&&(u=this.getter(u||{})),this.map&&(u=this.map(u)),u}cast(n,i){return this.getValue(n,i==null?void 0:i.parent,i==null?void 0:i.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(n){return n&&n.__isYupRef}}w0.prototype.__isYupRef=!0;const E0=t=>t==null;function Yy(t){function n({value:i,path:o="",options:u,originalValue:h,schema:g},v,S){const{name:A,test:w,params:C,message:M,skipAbsent:R}=t;let{parent:V,context:L,abortEarly:P=g.spec.abortEarly,disableStackTrace:U=g.spec.disableStackTrace}=u;function q($e){return w0.isRef($e)?$e.getValue(i,V,L):$e}function F($e={}){const ke=Object.assign({value:i,originalValue:h,label:g.spec.label,path:$e.path||o,spec:g.spec,disableStackTrace:$e.disableStackTrace||U},C,$e.params);for(const et of Object.keys(ke))ke[et]=q(ke[et]);const We=new zs(zs.formatError($e.message||M,ke),i,ke.path,$e.type||A,ke.disableStackTrace);return We.params=ke,We}const ae=P?v:S;let H={path:o,parent:V,type:A,from:u.from,createError:F,resolve:q,options:u,originalValue:h,schema:g};const le=$e=>{zs.isError($e)?ae($e):$e?S(null):ae(F())},be=$e=>{zs.isError($e)?ae($e):v($e)};if(R&&E0(i))return le(!0);let Ue;try{var De;if(Ue=w.call(H,i,H),typeof((De=Ue)==null?void 0:De.then)=="function"){if(u.sync)throw new Error(`Validation test of type: "${H.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(Ue).then(le,be)}}catch($e){be($e);return}le(Ue)}return n.OPTIONS=t,n}function QF(t,n,i,o=i){let u,h,g;return n?(A0.forEach(n,(v,S,A)=>{let w=S?v.slice(1,v.length-1):v;t=t.resolve({context:o,parent:u,value:i});let C=t.type==="tuple",M=A?parseInt(w,10):0;if(t.innerType||C){if(C&&!A)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${g}" must contain an index to the tuple element, e.g. "${g}[0]"`);if(i&&M>=i.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${v}, in the path: ${n}. because there is no value at that index. `);u=i,i=i&&i[M],t=C?t.spec.types[M]:t.innerType}if(!A){if(!t.fields||!t.fields[w])throw new Error(`The schema does not contain the path: ${n}. (failed at: ${g} which is a type: "${t.type}")`);u=i,i=i&&i[w],t=t.fields[w]}h=w,g=S?"["+v+"]":"."+v}),{schema:t,parent:u,parentPath:h}):{parent:u,parentPath:n,schema:t}}class AS extends Set{describe(){const n=[];for(const i of this.values())n.push(w0.isRef(i)?i.describe():i);return n}resolveAll(n){let i=[];for(const o of this.values())i.push(n(o));return i}clone(){return new AS(this.values())}merge(n,i){const o=this.clone();return n.forEach(u=>o.add(u)),i.forEach(u=>o.delete(u)),o}}function qy(t,n=new Map){if(c3(t)||!t||typeof t!="object")return t;if(n.has(t))return n.get(t);let i;if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=new Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=qy(t[o],n)}else if(t instanceof Map){i=new Map,n.set(t,i);for(const[o,u]of t.entries())i.set(o,qy(u,n))}else if(t instanceof Set){i=new Set,n.set(t,i);for(const o of t)i.add(qy(o,n))}else if(t instanceof Object){i={},n.set(t,i);for(const[o,u]of Object.entries(t))i[o]=qy(u,n)}else throw Error(`Unable to clone ${t}`);return i}class _c{constructor(n){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new AS,this._blacklist=new AS,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Rc.notType)}),this.type=n.type,this._typeCheck=n.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},n==null?void 0:n.spec),this.withMutation(i=>{i.nonNullable()})}get _type(){return this.type}clone(n){if(this._mutate)return n&&Object.assign(this.spec,n),this;const i=Object.create(Object.getPrototypeOf(this));return i.type=this.type,i._typeCheck=this._typeCheck,i._whitelist=this._whitelist.clone(),i._blacklist=this._blacklist.clone(),i.internalTests=Object.assign({},this.internalTests),i.exclusiveTests=Object.assign({},this.exclusiveTests),i.deps=[...this.deps],i.conditions=[...this.conditions],i.tests=[...this.tests],i.transforms=[...this.transforms],i.spec=qy(Object.assign({},this.spec,n)),i}label(n){let i=this.clone();return i.spec.label=n,i}meta(...n){if(n.length===0)return this.spec.meta;let i=this.clone();return i.spec.meta=Object.assign(i.spec.meta||{},n[0]),i}withMutation(n){let i=this._mutate;this._mutate=!0;let o=n(this);return this._mutate=i,o}concat(n){if(!n||n===this)return this;if(n.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${n.type}`);let i=this,o=n.clone();const u=Object.assign({},i.spec,o.spec);return o.spec=u,o.internalTests=Object.assign({},i.internalTests,o.internalTests),o._whitelist=i._whitelist.merge(n._whitelist,n._blacklist),o._blacklist=i._blacklist.merge(n._blacklist,n._whitelist),o.tests=i.tests,o.exclusiveTests=i.exclusiveTests,o.withMutation(h=>{n.tests.forEach(g=>{h.test(g.OPTIONS)})}),o.transforms=[...i.transforms,...o.transforms],o}isType(n){return n==null?!!(this.spec.nullable&&n===null||this.spec.optional&&n===void 0):this._typeCheck(n)}resolve(n){let i=this;if(i.conditions.length){let o=i.conditions;i=i.clone(),i.conditions=[],i=o.reduce((u,h)=>h.resolve(u,n),i),i=i.resolve(n)}return i}resolveOptions(n){var i,o,u,h;return Object.assign({},n,{from:n.from||[],strict:(i=n.strict)!=null?i:this.spec.strict,abortEarly:(o=n.abortEarly)!=null?o:this.spec.abortEarly,recursive:(u=n.recursive)!=null?u:this.spec.recursive,disableStackTrace:(h=n.disableStackTrace)!=null?h:this.spec.disableStackTrace})}cast(n,i={}){let o=this.resolve(Object.assign({value:n},i)),u=i.assert==="ignore-optionality",h=o._cast(n,i);if(i.assert!==!1&&!o.isType(h)){if(u&&E0(h))return h;let g=ym(n),v=ym(h);throw new TypeError(`The value of ${i.path||"field"} could not be cast to a value that satisfies the schema type: "${o.type}".
|
|
943
|
+
|
|
944
|
+
attempted value: ${g}
|
|
945
|
+
`+(v!==g?`result of cast: ${v}`:""))}return h}_cast(n,i){let o=n===void 0?n:this.transforms.reduce((u,h)=>h.call(this,u,n,this),n);return o===void 0&&(o=this.getDefault(i)),o}_validate(n,i={},o,u){let{path:h,originalValue:g=n,strict:v=this.spec.strict}=i,S=n;v||(S=this._cast(S,Object.assign({assert:!1},i)));let A=[];for(let w of Object.values(this.internalTests))w&&A.push(w);this.runTests({path:h,value:S,originalValue:g,options:i,tests:A},o,w=>{if(w.length)return u(w,S);this.runTests({path:h,value:S,originalValue:g,options:i,tests:this.tests},o,u)})}runTests(n,i,o){let u=!1,{tests:h,value:g,originalValue:v,path:S,options:A}=n,w=L=>{u||(u=!0,i(L,g))},C=L=>{u||(u=!0,o(L,g))},M=h.length,R=[];if(!M)return C([]);let V={value:g,originalValue:v,path:S,options:A,schema:this};for(let L=0;L<h.length;L++){const P=h[L];P(V,w,function(q){q&&(Array.isArray(q)?R.push(...q):R.push(q)),--M<=0&&C(R)})}}asNestedTest({key:n,index:i,parent:o,parentPath:u,originalParent:h,options:g}){const v=n??i;if(v==null)throw TypeError("Must include `key` or `index` for nested validations");const S=typeof v=="number";let A=o[v];const w=Object.assign({},g,{strict:!0,parent:o,value:A,originalValue:h[v],key:void 0,[S?"index":"key"]:v,path:S||v.includes(".")?`${u||""}[${S?v:`"${v}"`}]`:(u?`${u}.`:"")+n});return(C,M,R)=>this.resolve(w)._validate(A,w,M,R)}validate(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return new Promise((g,v)=>u._validate(n,i,(S,A)=>{zs.isError(S)&&(S.value=A),v(S)},(S,A)=>{S.length?v(new zs(S,A,void 0,void 0,h)):g(A)}))}validateSync(n,i){var o;let u=this.resolve(Object.assign({},i,{value:n})),h,g=(o=i==null?void 0:i.disableStackTrace)!=null?o:u.spec.disableStackTrace;return u._validate(n,Object.assign({},i,{sync:!0}),(v,S)=>{throw zs.isError(v)&&(v.value=S),v},(v,S)=>{if(v.length)throw new zs(v,n,void 0,void 0,g);h=S}),h}isValid(n,i){return this.validate(n,i).then(()=>!0,o=>{if(zs.isError(o))return!1;throw o})}isValidSync(n,i){try{return this.validateSync(n,i),!0}catch(o){if(zs.isError(o))return!1;throw o}}_getDefault(n){let i=this.spec.default;return i==null?i:typeof i=="function"?i.call(this,n):qy(i)}getDefault(n){return this.resolve(n||{})._getDefault(n)}default(n){return arguments.length===0?this._getDefault():this.clone({default:n})}strict(n=!0){return this.clone({strict:n})}nullability(n,i){const o=this.clone({nullable:n});return o.internalTests.nullable=Yy({message:i,name:"nullable",test(u){return u===null?this.schema.spec.nullable:!0}}),o}optionality(n,i){const o=this.clone({optional:n});return o.internalTests.optionality=Yy({message:i,name:"optionality",test(u){return u===void 0?this.schema.spec.optional:!0}}),o}optional(){return this.optionality(!0)}defined(n=Rc.defined){return this.optionality(!1,n)}nullable(){return this.nullability(!0)}nonNullable(n=Rc.notNull){return this.nullability(!1,n)}required(n=Rc.required){return this.clone().withMutation(i=>i.nonNullable(n).defined(n))}notRequired(){return this.clone().withMutation(n=>n.nullable().optional())}transform(n){let i=this.clone();return i.transforms.push(n),i}test(...n){let i;if(n.length===1?typeof n[0]=="function"?i={test:n[0]}:i=n[0]:n.length===2?i={name:n[0],test:n[1]}:i={name:n[0],message:n[1],test:n[2]},i.message===void 0&&(i.message=Rc.default),typeof i.test!="function")throw new TypeError("`test` is a required parameters");let o=this.clone(),u=Yy(i),h=i.exclusive||i.name&&o.exclusiveTests[i.name]===!0;if(i.exclusive&&!i.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return i.name&&(o.exclusiveTests[i.name]=!!i.exclusive),o.tests=o.tests.filter(g=>!(g.OPTIONS.name===i.name&&(h||g.OPTIONS.test===u.OPTIONS.test))),o.tests.push(u),o}when(n,i){!Array.isArray(n)&&typeof n!="string"&&(i=n,n=".");let o=this.clone(),u=N8(n).map(h=>new w0(h));return u.forEach(h=>{h.isSibling&&o.deps.push(h.key)}),o.conditions.push(typeof i=="function"?new SS(u,i):SS.fromOptions(u,i)),o}typeError(n){let i=this.clone();return i.internalTests.typeError=Yy({message:n,name:"typeError",skipAbsent:!0,test(o){return this.schema._typeCheck(o)?!0:this.createError({params:{type:this.schema.type}})}}),i}oneOf(n,i=Rc.oneOf){let o=this.clone();return n.forEach(u=>{o._whitelist.add(u),o._blacklist.delete(u)}),o.internalTests.whiteList=Yy({message:i,name:"oneOf",skipAbsent:!0,test(u){let h=this.schema._whitelist,g=h.resolveAll(this.resolve);return g.includes(u)?!0:this.createError({params:{values:Array.from(h).join(", "),resolved:g}})}}),o}notOneOf(n,i=Rc.notOneOf){let o=this.clone();return n.forEach(u=>{o._blacklist.add(u),o._whitelist.delete(u)}),o.internalTests.blacklist=Yy({message:i,name:"notOneOf",test(u){let h=this.schema._blacklist,g=h.resolveAll(this.resolve);return g.includes(u)?this.createError({params:{values:Array.from(h).join(", "),resolved:g}}):!0}}),o}strip(n=!0){let i=this.clone();return i.spec.strip=n,i}describe(n){const i=(n?this.resolve(n):this).clone(),{label:o,meta:u,optional:h,nullable:g}=i.spec;return{meta:u,label:o,optional:h,nullable:g,default:i.getDefault(n),type:i.type,oneOf:i._whitelist.describe(),notOneOf:i._blacklist.describe(),tests:i.tests.map(S=>({name:S.OPTIONS.name,params:S.OPTIONS.params})).filter((S,A,w)=>w.findIndex(C=>C.name===S.name)===A)}}}_c.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])_c.prototype[`${t}At`]=function(n,i,o={}){const{parent:u,parentPath:h,schema:g}=QF(this,n,i,o.context);return g[t](u&&u[h],Object.assign({},o,{parent:u,path:n}))};for(const t of["equals","is"])_c.prototype[t]=_c.prototype.oneOf;for(const t of["not","nope"])_c.prototype[t]=_c.prototype.notOneOf;const KF=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function IF(t){const n=f3(t);if(!n)return Date.parse?Date.parse(t):Number.NaN;if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let i=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(i=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(i=0-i)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+i,n.second,n.millisecond)}function f3(t){var n,i;const o=KF.exec(t);return o?{year:cd(o[1]),month:cd(o[2],1)-1,day:cd(o[3],1),hour:cd(o[4]),minute:cd(o[5]),second:cd(o[6]),millisecond:o[7]?cd(o[7].substring(0,3)):0,precision:(n=(i=o[7])==null?void 0:i.length)!=null?n:void 0,z:o[8]||void 0,plusMinus:o[9]||void 0,hourOffset:cd(o[10]),minuteOffset:cd(o[11])}:null}function cd(t,n=0){return Number(t)||n}let WF=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,JF=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,eX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,tX="^\\d{4}-\\d{2}-\\d{2}",nX="\\d{2}:\\d{2}:\\d{2}",aX="(([+-]\\d{2}(:?\\d{2})?)|Z)",iX=new RegExp(`${tX}T${nX}(\\.\\d+)?${aX}$`),rX=t=>E0(t)||t===t.trim(),sX={}.toString();function d3(){return new B8}class B8 extends _c{constructor(){super({type:"string",check(n){return n instanceof String&&(n=n.valueOf()),typeof n=="string"}}),this.withMutation(()=>{this.transform((n,i,o)=>{if(!o.spec.coerce||o.isType(n)||Array.isArray(n))return n;const u=n!=null&&n.toString?n.toString():n;return u===sX?n:u})})}required(n){return super.required(n).withMutation(i=>i.test({message:n||Rc.required,name:"required",skipAbsent:!0,test:o=>!!o.length}))}notRequired(){return super.notRequired().withMutation(n=>(n.tests=n.tests.filter(i=>i.OPTIONS.name!=="required"),n))}length(n,i=Ns.length){return this.test({message:i,name:"length",exclusive:!0,params:{length:n},skipAbsent:!0,test(o){return o.length===this.resolve(n)}})}min(n,i=Ns.min){return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(o){return o.length>=this.resolve(n)}})}max(n,i=Ns.max){return this.test({name:"max",exclusive:!0,message:i,params:{max:n},skipAbsent:!0,test(o){return o.length<=this.resolve(n)}})}matches(n,i){let o=!1,u,h;return i&&(typeof i=="object"?{excludeEmptyString:o=!1,message:u,name:h}=i:u=i),this.test({name:h||"matches",message:u||Ns.matches,params:{regex:n},skipAbsent:!0,test:g=>g===""&&o||g.search(n)!==-1})}email(n=Ns.email){return this.matches(WF,{name:"email",message:n,excludeEmptyString:!0})}url(n=Ns.url){return this.matches(JF,{name:"url",message:n,excludeEmptyString:!0})}uuid(n=Ns.uuid){return this.matches(eX,{name:"uuid",message:n,excludeEmptyString:!1})}datetime(n){let i="",o,u;return n&&(typeof n=="object"?{message:i="",allowOffset:o=!1,precision:u=void 0}=n:i=n),this.matches(iX,{name:"datetime",message:i||Ns.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:i||Ns.datetime_offset,params:{allowOffset:o},skipAbsent:!0,test:h=>{if(!h||o)return!0;const g=f3(h);return g?!!g.z:!1}}).test({name:"datetime_precision",message:i||Ns.datetime_precision,params:{precision:u},skipAbsent:!0,test:h=>{if(!h||u==null)return!0;const g=f3(h);return g?g.precision===u:!1}})}ensure(){return this.default("").transform(n=>n===null?"":n)}trim(n=Ns.trim){return this.transform(i=>i!=null?i.trim():i).test({message:n,name:"trim",test:rX})}lowercase(n=Ns.lowercase){return this.transform(i=>E0(i)?i:i.toLowerCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>E0(i)||i===i.toLowerCase()})}uppercase(n=Ns.uppercase){return this.transform(i=>E0(i)?i:i.toUpperCase()).test({message:n,name:"string_case",exclusive:!0,skipAbsent:!0,test:i=>E0(i)||i===i.toUpperCase()})}}d3.prototype=B8.prototype;let oX=new Date(""),lX=t=>Object.prototype.toString.call(t)==="[object Date]";class h3 extends _c{constructor(){super({type:"date",check(n){return lX(n)&&!isNaN(n.getTime())}}),this.withMutation(()=>{this.transform((n,i,o)=>!o.spec.coerce||o.isType(n)||n===null?n:(n=IF(n),isNaN(n)?h3.INVALID_DATE:new Date(n)))})}prepareParam(n,i){let o;if(w0.isRef(n))o=n;else{let u=this.cast(n);if(!this._typeCheck(u))throw new TypeError(`\`${i}\` must be a Date or a value that can be \`cast()\` to a Date`);o=u}return o}min(n,i=u3.min){let o=this.prepareParam(n,"min");return this.test({message:i,name:"min",exclusive:!0,params:{min:n},skipAbsent:!0,test(u){return u>=this.resolve(o)}})}max(n,i=u3.max){let o=this.prepareParam(n,"max");return this.test({message:i,name:"max",exclusive:!0,params:{max:n},skipAbsent:!0,test(u){return u<=this.resolve(o)}})}}h3.INVALID_DATE=oX;function uX(t,n=[]){let i=[],o=new Set,u=new Set(n.map(([g,v])=>`${g}-${v}`));function h(g,v){let S=A0.split(g)[0];o.add(S),u.has(`${v}-${S}`)||i.push([v,S])}for(const g of Object.keys(t)){let v=t[g];o.add(g),w0.isRef(v)&&v.isSibling?h(v.path,g):c3(v)&&"deps"in v&&v.deps.forEach(S=>h(S,g))}return $F.array(Array.from(o),i).reverse()}function $8(t,n){let i=1/0;return t.some((o,u)=>{var h;if((h=n.path)!=null&&h.includes(o))return i=u,!0}),i}function H8(t){return(n,i)=>$8(t,n)-$8(t,i)}const cX=(t,n,i)=>{if(typeof t!="string")return t;let o=t;try{o=JSON.parse(t)}catch{}return i.isType(o)?o:t};function wS(t){if("fields"in t){const n={};for(const[i,o]of Object.entries(t.fields))n[i]=wS(o);return t.setFields(n)}if(t.type==="array"){const n=t.optional();return n.innerType&&(n.innerType=wS(n.innerType)),n}return t.type==="tuple"?t.optional().clone({types:t.spec.types.map(wS)}):"optional"in t?t.optional():t}const fX=(t,n)=>{const i=[...A0.normalizePath(n)];if(i.length===1)return i[0]in t;let o=i.pop(),u=A0.getter(A0.join(i),!0)(t);return!!(u&&o in u)};let k8=t=>Object.prototype.toString.call(t)==="[object Object]";function P8(t,n){let i=Object.keys(t.fields);return Object.keys(n).filter(o=>i.indexOf(o)===-1)}const dX=H8([]);function Y8(t){return new q8(t)}class q8 extends _c{constructor(n){super({type:"object",check(i){return k8(i)||typeof i=="function"}}),this.fields=Object.create(null),this._sortErrors=dX,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{n&&this.shape(n)})}_cast(n,i={}){var o;let u=super._cast(n,i);if(u===void 0)return this.getDefault(i);if(!this._typeCheck(u))return u;let h=this.fields,g=(o=i.stripUnknown)!=null?o:this.spec.noUnknown,v=[].concat(this._nodes,Object.keys(u).filter(C=>!this._nodes.includes(C))),S={},A=Object.assign({},i,{parent:S,__validating:i.__validating||!1}),w=!1;for(const C of v){let M=h[C],R=C in u;if(M){let V,L=u[C];A.path=(i.path?`${i.path}.`:"")+C,M=M.resolve({value:L,context:i.context,parent:S});let P=M instanceof _c?M.spec:void 0,U=P==null?void 0:P.strict;if(P!=null&&P.strip){w=w||C in u;continue}V=!i.__validating||!U?M.cast(u[C],A):u[C],V!==void 0&&(S[C]=V)}else R&&!g&&(S[C]=u[C]);(R!==C in S||S[C]!==u[C])&&(w=!0)}return w?S:u}_validate(n,i={},o,u){let{from:h=[],originalValue:g=n,recursive:v=this.spec.recursive}=i;i.from=[{schema:this,value:g},...h],i.__validating=!0,i.originalValue=g,super._validate(n,i,o,(S,A)=>{if(!v||!k8(A)){u(S,A);return}g=g||A;let w=[];for(let C of this._nodes){let M=this.fields[C];!M||w0.isRef(M)||w.push(M.asNestedTest({options:i,key:C,parent:A,parentPath:i.path,originalParent:g}))}this.runTests({tests:w,value:A,originalValue:g,options:i},o,C=>{u(C.sort(this._sortErrors).concat(S),A)})})}clone(n){const i=super.clone(n);return i.fields=Object.assign({},this.fields),i._nodes=this._nodes,i._excludedEdges=this._excludedEdges,i._sortErrors=this._sortErrors,i}concat(n){let i=super.concat(n),o=i.fields;for(let[u,h]of Object.entries(this.fields)){const g=o[u];o[u]=g===void 0?h:g}return i.withMutation(u=>u.setFields(o,[...this._excludedEdges,...n._excludedEdges]))}_getDefault(n){if("default"in this.spec)return super._getDefault(n);if(!this._nodes.length)return;let i={};return this._nodes.forEach(o=>{var u;const h=this.fields[o];let g=n;(u=g)!=null&&u.value&&(g=Object.assign({},g,{parent:g.value,value:g.value[o]})),i[o]=h&&"getDefault"in h?h.getDefault(g):void 0}),i}setFields(n,i){let o=this.clone();return o.fields=n,o._nodes=uX(n,i),o._sortErrors=H8(Object.keys(n)),i&&(o._excludedEdges=i),o}shape(n,i=[]){return this.clone().withMutation(o=>{let u=o._excludedEdges;return i.length&&(Array.isArray(i[0])||(i=[i]),u=[...o._excludedEdges,...i]),o.setFields(Object.assign(o.fields,n),u)})}partial(){const n={};for(const[i,o]of Object.entries(this.fields))n[i]="optional"in o&&o.optional instanceof Function?o.optional():o;return this.setFields(n)}deepPartial(){return wS(this)}pick(n){const i={};for(const o of n)this.fields[o]&&(i[o]=this.fields[o]);return this.setFields(i,this._excludedEdges.filter(([o,u])=>n.includes(o)&&n.includes(u)))}omit(n){const i=[];for(const o of Object.keys(this.fields))n.includes(o)||i.push(o);return this.pick(i)}from(n,i,o){let u=A0.getter(n,!0);return this.transform(h=>{if(!h)return h;let g=h;return fX(h,n)&&(g=Object.assign({},h),o||delete g[n],g[i]=u(h)),g})}json(){return this.transform(cX)}exact(n){return this.test({name:"exact",exclusive:!0,message:n||xS.exact,test(i){if(i==null)return!0;const o=P8(this.schema,i);return o.length===0||this.createError({params:{properties:o.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(n=!0,i=xS.noUnknown){typeof n!="boolean"&&(i=n,n=!0);let o=this.test({name:"noUnknown",exclusive:!0,message:i,test(u){if(u==null)return!0;const h=P8(this.schema,u);return!n||h.length===0||this.createError({params:{unknown:h.join(", ")}})}});return o.spec.noUnknown=n,o}unknown(n=!0,i=xS.noUnknown){return this.noUnknown(!n,i)}transformKeys(n){return this.transform(i=>{if(!i)return i;const o={};for(const u of Object.keys(i))o[n(u)]=i[u];return o})}camelCase(){return this.transformKeys(l3.camelCase)}snakeCase(){return this.transformKeys(l3.snakeCase)}constantCase(){return this.transformKeys(n=>l3.snakeCase(n).toUpperCase())}describe(n){const i=(n?this.resolve(n):this).clone(),o=super.describe(n);o.fields={};for(const[h,g]of Object.entries(i.fields)){var u;let v=n;(u=v)!=null&&u.value&&(v=Object.assign({},v,{parent:v.value,value:v.value[h]})),o.fields[h]=g.describe(v)}return o}}Y8.prototype=q8.prototype;const hX=Y8({name:d3(),base64:d3()}),mX=({size:t=16,strokeWidth:n=2,color:i="#1DA696",...o})=>{const u=(t-n)/2,h=2*Math.PI*u,{className:g="",...v}=o;return Y.jsx("div",{...v,className:`relative flex items-center justify-center ${g}`,children:Y.jsx("svg",{height:t,width:t,className:"animate-spin",children:Y.jsx("circle",{stroke:i,fill:"transparent",strokeWidth:n,strokeDasharray:h+" "+h,strokeDashoffset:h/4,r:u,cx:t/2,cy:t/2})})})},pX=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g})=>{const{field:{value:v="",onChange:S,ref:A,onBlur:w},fieldState:{error:C}}=ub({name:i,control:n}),[M,R]=J.useState(!1),{t:V}=cr();return Y.jsxs("label",{className:`flex flex-col group gap-8 select-none ${h&&"cursor-not-allowed"} ${u}`,htmlFor:i,children:[Y.jsx("h6",{className:`text-gray-600 font-600 group ${C&&"!text-red-500"} text-label ${h&&"text-gray-300"}`,children:t}),Y.jsxs("label",{htmlFor:i,className:`
|
|
946
|
+
flex items-center justify-between gap-8 p-16
|
|
947
|
+
|
|
948
|
+
${C&&"!border-red-500"}
|
|
949
|
+
|
|
950
|
+
bg-light
|
|
951
|
+
|
|
952
|
+
w-full h-full rounded-full border
|
|
953
|
+
|
|
954
|
+
${v&&!h?"border-blue-200":"border-blue-100"}
|
|
955
|
+
${!h&&"group-hover:border-blue-300"}
|
|
956
|
+
${h&&"cursor-not-allowed"}
|
|
957
|
+
|
|
958
|
+
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
959
|
+
|
|
960
|
+
group-disabled:bg-gray-500
|
|
961
|
+
`,children:[g&&g,Y.jsx("input",{id:i,type:M?"text":"password",autoComplete:"off","aria-autocomplete":"none",name:i,disabled:h,placeholder:o,value:v,onChange:L=>S(L.target.value),onBlur:w,ref:A,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none"}),Y.jsx(Pn,{icon:M?cN:oN,className:"min-h-16 max-h-16 text-gray-400 hover:text-gray-500 transition-colors duration-150 cursor-pointer ease-in-out",onClick:()=>R(!M)})]}),Y.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:C&&V(C.message||"",{x:V(i)})})]})},gX=({progress:t,showPercentage:n=!1})=>{const i=Math.min(Math.max(t,0),100);return Y.jsxs("div",{className:"flex items-center gap-12",children:[Y.jsx("div",{className:"w-full h-8 bg-blue-100 rounded-full",children:Y.jsx("div",{className:"h-full bg-blue-500 rounded-full transition-all duration-300 ease-in-out",style:{width:`${i}%`}})}),n&&Y.jsxs("span",{className:"text-sm text-gray-400 font-[500]",children:[i,"%"]})]})},yX=()=>{const[t,n]=J.useState(!1),i=J.useRef(null),o=()=>{n(!0),setTimeout(()=>{var h;return(h=i.current)==null?void 0:h.focus()},100)},u=()=>{n(!1)};return Y.jsx("div",{className:"relative flex items-center",children:Y.jsxs("div",{className:`flex items-center justify-center bg-white shadow-md rounded-full transition-all duration-300 ease-in-out ${t?"w-[200px] h-[40px]":"size-[40px]"}`,children:[Y.jsx("button",{onClick:o,className:"size-[40px] flex items-center justify-center rounded-full hover:bg-gray-100 transition-all",children:Y.jsx(Pn,{icon:Rq})}),Y.jsx("input",{ref:i,type:"text",className:`w-full outline-none bg-transparent transition-all ${t?"w-full pr-[10px]":"w-0"}`,placeholder:"Buscar...",onBlur:u,style:{border:"none",outline:"none"}})]})})},vX="w-fit transition-colors ease-in-out duration-200 flex items-center justify-center gap-12 px-24 py-7 text-base rounded-full font-[600] bg-transparent",bX={true:"bg-blue-100 text-blue-500 hover:bg-blue-100/80 active:bg-blue-100/50",false:"text-gray-800 hover:bg-blue-100/40 hover:text-blue-500 active:bg-blue-100/20 active:text-blue-500"},G8=(t=!1)=>ud(vX,bX[String(t)]),xX=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,className:h,icon:g})=>{const v=A=>{if(u){A.preventDefault();return}i==null||i(A)},S=`${G8(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""}`;return n?Y.jsxs("a",{href:n,className:`${S} ${h||""}`,onClick:v,"aria-disabled":u,children:[g&&Y.jsx(Pn,{icon:g,className:r3()}),t]}):Y.jsxs("button",{className:`${S} ${h||""}`,onClick:v,disabled:u,children:[g&&Y.jsx(Pn,{icon:g,className:r3()}),t]})},SX="w-fit transition-colors ease-in-out duration-150 flex gap-10 items-center justify-center text-xs rounded-full font-[600] bg-transparent",TX={true:"text-blue-500",false:"text-gray-800 hover:text-blue-500 active:text-blue-500"},AX="bg-transparent p-16",wX={true:"bg-blue-100 text-blue-500",false:"text-gray-800"},EX=(t=!1)=>ud(SX,TX[String(t)]),CX=(t=!1)=>ud(AX,wX[String(t)]),DX=({label:t,href:n,onClick:i,active:o=!1,disabled:u=!1,icon:h,className:g=""})=>{const v=S=>{if(u){S.preventDefault();return}i==null||i(S)};return n?Y.jsxs("a",{href:n,onClick:v,className:`${EX(o)} flex flex-col items-center group ${g}`,children:[Y.jsx(vS,{icon:h,variant:o?"transparent":"invisible",disabled:u,size:"sm",className:`${CX(o)} group group-hover:!text-blue-500 duration-150 group-hover:!bg-blue-100 `}),Y.jsx("p",{className:"group group-hover:!text-blue-500 duration-150",children:t})]}):Y.jsxs("button",{className:`${G8(o)} ${u?"!text-gray-300 cursor-not-allowed !bg-transparent":""} ${g}`,onClick:v,"aria-disabled":u,children:[Y.jsx(Pn,{icon:h}),t]})},MX=t=>{const{display:n,...i}=t;return n==="desktop"?Y.jsx(xX,{...i}):n==="mobile"?Y.jsx(DX,{...i}):null},OX=({options:t,name:n,control:i,label:o="Select an option",placeholder:u="Type to search...",className:h="",input:g=!0})=>Y.jsx(o8,{name:n,control:i,render:({field:{onChange:v,value:S},fieldState:{error:A}})=>Y.jsx(RX,{options:t,value:S,onChange:v,label:o,placeholder:u,error:A==null?void 0:A.message,className:h,input:g})}),RX=({options:t,value:n,onChange:i,label:o="Select an option",placeholder:u="Type to search...",error:h,className:g="",input:v=!0})=>{const{t:S}=cr(),[A,w]=J.useState(!1),[C,M]=J.useState(""),[R,V]=J.useState(n||null),L=J.useRef(null),P=J.useRef(null),{x:U,y:q,strategy:F,refs:ae,context:H}=ZE({open:A,onOpenChange:w,middleware:[HE(8),PE(),kE({padding:8}),k_({apply({availableHeight:re,elements:W}){Object.assign(W.floating.style,{maxHeight:`${Math.min(re-10,300)}px`})},padding:8}),P_({element:P})],placement:"bottom-start",whileElementsMounted:BE}),le=FE(H),be=XE(H),{getReferenceProps:de,getFloatingProps:Ue}=KE([le,be]),{isMounted:De,styles:$e}=IE(H,{duration:{open:200,close:150},initial:{opacity:0,transform:"translateY(-4px)"}}),ke=(()=>{const re=Array.isArray(t)?t:[];if(!C.trim())return re;const W=C.toLowerCase();return re.filter(ce=>{const Ae=ce.label.toLowerCase(),Be=ce.key.toLowerCase();return Ae.includes(W)||Be.includes(W)})})(),We=re=>{V(re),w(!1),M(""),i(re)},et=()=>{w(!A),!A&&L.current&&setTimeout(()=>{var re;return(re=L.current)==null?void 0:re.focus()},100)};J.useEffect(()=>{V(n)},[n]);const Ge=de({onClick:et});return Y.jsxs("div",{className:`w-full relative flex flex-col gap-8 ${g}`,children:[Y.jsx("label",{className:`text-gray-600 font-600 group ${h&&"!text-red-500"} text-label`,children:o}),Y.jsxs("div",{ref:ae.setReference,className:`flex items-center justify-between bg-light rounded-full p-16 cursor-pointer
|
|
962
|
+
border transition-all duration-200 hover:border-blue-400
|
|
963
|
+
${h&&"border-red-500 hover:border-red-600"} ${De?"border-blue-400":"border-blue-100"}`,...Ge,children:[R?Y.jsx("div",{className:"flex items-center w-full",children:Y.jsx("span",{className:"flex-grow",children:S(R.label)})}):Y.jsx("span",{className:"text-gray-500",children:u}),Y.jsx("svg",{className:`w-16 h-16 transition-transform ${A?"transform rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:Y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),h&&Y.jsx("p",{className:"mt-1 text-sm text-red-600",children:h}),De&&Y.jsxs("div",{ref:ae.setFloating,style:{position:F,top:q??0,left:U??0,...$e},className:"z-10 w-full bg-white border border-blue-400 rounded-3xl shadow-lg overflow-auto",...Ue(),children:[v&&Y.jsx("div",{className:"sticky top-0 bg-white p-2 z-20",children:Y.jsx("input",{ref:L,type:"text",className:"w-full p-16",placeholder:"Search...",value:C,onChange:re=>M(re.target.value),onClick:re=>re.stopPropagation(),autoFocus:!0})}),Y.jsx("div",{className:"",children:ke.length>0?Y.jsx("ul",{children:ke.map((re,W)=>Y.jsx("li",{className:"flex items-center justify-between px-16 py-8 transition-all duration-200 hover:bg-blue-100/50 cursor-pointer",onClick:ce=>{ce.stopPropagation(),We(re)},children:Y.jsx("span",{children:S(re.label)})},`${re.key}-${W}`))}):Y.jsx("div",{className:"px-3 py-2 text-gray-500",children:"No options found"})})]})]})},_X="flex w-full h-full gap-12 px-10 py-6 items-center justify-center",zX={default:"flex-row rounded-full text-blue-500",underline:"flex-col border-b-[1.3px] px-24 pb-16 text-gray-700"},NX={true:"text-blue-500 border-b-blue-500",false:"text-gray-700 border-b-gray-700"},VX=(t="underline",n=!1)=>ud(_X,zX[t],NX[String(n)]),F8=({label:t,icon:n,isSelected:i,onClick:o,variant:u="default",direction:h="row"})=>Y.jsxs("button",{className:`${VX(u,i)} w-full ${h==="row"&&"!flex-row"}`,onClick:o,children:[n&&Y.jsx(Pn,{icon:n,className:`${i?"text-blue-500":"text-gray-700"} w-20 h-20`}),Y.jsx("span",{className:"text-lg font-semibold",children:t})]}),UX="transition-colors ease-in-out duration-200 flex items-center justify-center text-body-m rounded-full w-fit font-[600] leading-normal disabled:cursor-not-allowed disabled:text-gray-300",LX={blue:"text-blue-500 hover:text-blue-600 active:text-blue-700",aqua:"text-aqua-500 hover:text-aqua-600 active:text-aqua-700",red:"text-red-500 hover:text-red-600 active:text-red-700",gray:"text-gray-500 hover:text-gray-600 active:text-gray-700"},jX=(t="blue")=>ud(UX,LX[t]),X8=({color:t,children:n,className:i,...o})=>{const{defaultColorScheme:u}=cr(),h=t||u;return Y.jsx("button",{type:"button",className:jX(h)+" "+i,...o,children:n})},BX=({label:t,control:n,name:i,placeholder:o,className:u="",disabled:h=!1,leftSide:g,rightSide:v,...S})=>{const{field:{value:A="",onChange:w,ref:C,onBlur:M},fieldState:{error:R}}=ub({name:i,control:n}),{t:V}=cr(),L=V(i);return Y.jsxs("label",{className:`flex flex-col group gap-8 select-none ${h&&"cursor-not-allowed"} ${u}`,htmlFor:i,children:[Y.jsx("h6",{className:`text-gray-600 font-600 group ${R&&"!text-red-500"} text-label ${h&&"text-gray-300"}`,children:t}),Y.jsxs("label",{htmlFor:i,className:`
|
|
964
|
+
flex items-center justify-between gap-8 p-16
|
|
965
|
+
|
|
966
|
+
${R&&"!border-red-500"}
|
|
967
|
+
|
|
968
|
+
bg-light
|
|
969
|
+
|
|
970
|
+
w-full h-full rounded-full border
|
|
971
|
+
|
|
972
|
+
${A&&!h?"border-blue-200":"border-blue-100"}
|
|
973
|
+
${!h&&"group-hover:border-blue-300"}
|
|
974
|
+
${h&&"cursor-not-allowed"}
|
|
975
|
+
|
|
976
|
+
group-focus-within:border-blue-500 transition-colors duration-200 ease-in-out
|
|
977
|
+
|
|
978
|
+
group-disabled:bg-gray-500
|
|
979
|
+
`,children:[g&&g,Y.jsx("input",{id:i,name:i,disabled:h,placeholder:o,value:A,onChange:P=>w(P.target.value),onBlur:M,ref:C,className:"group bg-transparent w-full h-full font-600 placeholder:font-600 text-body-m disabled:text-gray-300 disabled:placeholder:text-gray-300 placeholder:text-gray-400 disabled:cursor-not-allowed overflow-visible outline-none",...S}),v&&v]}),Y.jsx("h4",{className:"font-500 text-label text-red-500 leading-none",children:(R==null?void 0:R.message)&&V(R.message,{x:L})})]})};/*!
|
|
980
|
+
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
|
|
981
|
+
* License - https://fontawesome.com/license (Commercial License)
|
|
982
|
+
* Copyright 2024 Fonticons, Inc.
|
|
983
|
+
*/const $X={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},HX=({options:t,onChange:n,value:i,disabled:o,error:u,label:h,placeholder:g})=>{var A;const[v,S]=J.useState(!1);return Y.jsx(mS,{open:v,onClose:()=>S(!1),offset:12,padding:0,placement:"bottom",className:"!p-0 overflow-hidden",strategy:"fixed",component:Y.jsx("div",{className:"bg-white rounded-lg shadow-lg max-h-[150px] overflow-y-auto flex flex-col py-8",children:t.map(w=>Y.jsx("button",{onClick:()=>n(w.value),className:`w-full text-center px-16 py-8 transition-all duration-100 hover:bg-blue-100 ${i===w.label?"text-blue-500 font-medium":""}`,children:w.label},w.value))}),children:Y.jsxs("div",{className:"flex flex-col gap-8 relative",onClick:()=>S(!v),children:[Y.jsx("h6",{className:`text-gray-600 font-600 group ${u&&"!text-red-500"} text-label ${o&&"text-gray-300"}`,children:h}),Y.jsxs("div",{className:`px-10 py-8 bg-blue-50 border-1 border-blue-200 rounded-full flex items-center gap-8 cursor-pointer transition-colors duration-150 ease-in-out ${v?"!border-blue-500":""}`,children:[i?Y.jsx("h4",{className:"text-body-m",children:(A=t.find(w=>w.value===i))==null?void 0:A.label}):Y.jsx("h4",{className:"text-body-m text-gray-400",children:g}),Y.jsx(Pn,{icon:$X,className:`text-gray-400 transition-all duration-150 ease-in-out ${v?"rotate-180":""}`})]})]})})},kX=({title:t="drag_and_drop_your_files_here",subtitle:n=null,buttonTitle:i="choose_files",onUpload:o=()=>{},acceptedExtensions:u=["pdf","png","jpg","jpeg","svg","docx","doc","xls","xlsx"],maxSize:h=1024})=>{const{t:g}=cr(),[v,S]=J.useState(!1),[A,w]=J.useState(""),C=J.useRef(null),M=u.map(ae=>`.${ae}`).join(","),R=ae=>{const H=[];let le=!1;Array.from(ae).forEach(be=>{var Ue;const de=((Ue=be.name.split(".").pop())==null?void 0:Ue.toLowerCase())||"";if(!u.includes(de)){w(`El archivo ${be.name} tiene una extensión no permitida.`),le=!0;return}if(be.size>h*1024){w(`El archivo ${be.name} excede el tamaño máximo de ${h}KB.`),le=!0;return}H.push(be)}),!le&&H.length>0&&(w(""),o(H))},V=()=>{C.current&&C.current.click()},L=ae=>{const H=ae.target.files;H&&H.length>0&&R(H),ae.target.value=""},P=ae=>{ae.preventDefault(),ae.stopPropagation(),S(!0)},U=ae=>{ae.preventDefault(),ae.stopPropagation(),S(!1)},q=ae=>{ae.preventDefault(),ae.stopPropagation(),v||S(!0)},F=ae=>{ae.preventDefault(),ae.stopPropagation(),S(!1);const H=ae.dataTransfer.files;H.length>0&&R(H)};return Y.jsxs("div",{className:"w-full mx-auto font-sans",children:[Y.jsxs("div",{className:`flex flex-col border-[1.4px] border-dashed rounded-2xl pt-28 p-32 text-center cursor-pointer transition-all duration-300 ${v?"border-blue-400 bg-blue-100/50":"border-gray-200 bg-white hover:border-blue-400"}`,onDragEnter:P,onDragLeave:U,onDragOver:q,onDrop:F,onClick:V,children:[Y.jsx("div",{className:"flex justify-center translate-y-4",children:Y.jsx("img",{className:"w-full h-auto max-w-160",src:"/images/svg/empty-state/empty-state-upload.svg",alt:"empty-state"})}),Y.jsxs("div",{className:"flex flex-col items-center",children:[Y.jsx("h3",{className:"font-600 text-xl text-dark",children:g(t)}),n&&Y.jsx("p",{className:"font-400 text-lg text-gray-500",children:g(n)}),Y.jsx(X8,{color:"blue",children:g(i)}),Y.jsx("input",{type:"file",ref:C,className:"hidden",multiple:!0,accept:M,onChange:L})]})]}),A&&Y.jsx("div",{className:"mt-3 text-sm text-red-500",children:A}),Y.jsx("div",{className:"mt-10 w-full flex justify-center",children:Y.jsxs("span",{className:"text-gray-500 font-400 text-base",children:[u.join(", ").toUpperCase()," formats. Maximus size:"," ",TO(h,"mb")]})})]})};ht.ActionButton=rN,ht.AlertModal=S_,ht.AsyncToast=eO,ht.Avatar=S8,ht.BoxContainer=Py,ht.Button=db,ht.CalendarSelector=e8,ht.CenterModal=M8,ht.CountryDropdown=EF,ht.DateInput=nF,ht.DialogModal=u8,ht.Divider=D8,ht.Dropdown=rF,ht.FileUpload=sF,ht.FloatingMenu=mS,ht.FullLogo=DF,ht.IconButton=vS,ht.ImageProfileInput=VF,ht.LoadingSpinner=mX,ht.ModalContainer=dF,ht.PasswordInput=pX,ht.ProgressBar=gX,ht.SearchBar=yX,ht.SearchModal=oF,ht.SectionButton=MX,ht.SelectDropdown=OX,ht.Stepper=cF,ht.Tab=F8,ht.Tabs=fF,ht.TextButton=X8,ht.TextInput=BX,ht.Toast=hw,ht.UncontrolledSelector=HX,ht.UncontrolledTextInput=l8,ht.UploadContainer=kX,ht.capitalizeFirstLetter=vO,ht.closeModal=mF,ht.fileRedirectDownload=P$,ht.formatLocalizedDate=bO,ht.generateFileBlobURL=SO,ht.getImageUrl=AO,ht.openModal=hF,ht.renderTabContent=pF,ht.showToastAsync=i3,ht.showToastLoading=x8,ht.stringToColor=mw,ht.toBase64=Y$,ht.toast=SF,ht.translateBytes=TO,ht.yupImageProfileValidator=hX,Object.defineProperty(ht,Symbol.toStringTag,{value:"Module"})});
|