Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[Docs] Port release docs (#26689)

Tatiana Savinacf7c24cf0e3e
diff --git a/docs/articles_en/about-openvino/key-features.rst b/docs/articles_en/about-openvino/key-features.rst
index 128d3947b3b..6514bdc67a3 100644
--- a/docs/articles_en/about-openvino/key-features.rst
+++ b/docs/articles_en/about-openvino/key-features.rst
@@ -5,65 +5,65 @@ Easy Integration
#########################
| :doc:`Support for multiple frameworks <../openvino-workflow/model-preparation/convert-model-to-ir>`
-| Use deep learning models from PyTorch, TensorFlow, TensorFlow Lite, PaddlePaddle, and ONNX
- directly or convert them to the optimized OpenVINO IR format for improved performance.
+| Use deep learning models from PyTorch, TensorFlow, TensorFlow Lite, PaddlePaddle, and ONNX
+ directly or convert them to the optimized OpenVINO IR format for improved performance.
| :doc:`Close integration with PyTorch <../openvino-workflow/torch-compile>`
-| For PyTorch-based applications, specify OpenVINO as a backend using
- :doc:`torch.compile <../openvino-workflow/torch-compile>` to improve model inference. Apply
- OpenVINO optimizations to your PyTorch models directly with a single line of code.
+| For PyTorch-based applications, specify OpenVINO as a backend using
+ :doc:`torch.compile <../openvino-workflow/torch-compile>` to improve model inference. Apply
+ OpenVINO optimizations to your PyTorch models directly with a single line of code.
| :doc:`GenAI Out Of The Box <../learn-openvino/llm_inference_guide/genai-guide>`
-| With the genAI flavor of OpenVINO, you can run generative AI with just a couple lines of code.
- Check out the GenAI guide for instructions on how to do it.
+| With the genAI flavor of OpenVINO, you can run generative AI with just a couple lines of code.
+ Check out the GenAI guide for instructions on how to do it.
| `Python / C++ / C / NodeJS APIs <https://docs.openvino.ai/2024/api/api_reference.html>`__
-| OpenVINO offers the C++ API as a complete set of available methods. For less resource-critical
- solutions, the Python API provides almost full coverage, while C and NodeJS ones are limited
- to the methods most basic for their typical environments. The NodeJS API, is still in its
- early and active development.
+| OpenVINO offers the C++ API as a complete set of available methods. For less resource-critical
+ solutions, the Python API provides almost full coverage, while C and NodeJS ones are limited
+ to the methods most basic for their typical environments. The NodeJS API, is still in its
+ early and active development.
| :doc:`Open source and easy to extend <../about-openvino/contributing>`
-| If you need a particular feature or inference accelerator to be supported, you are free to file
- a feature request or develop new components specific to your projects yourself. As open source,
- OpenVINO may be used and modified freely. See the extensibility guide for more information on
- how to adapt it to your needs.
+| If you need a particular feature or inference accelerator to be supported, you are free to file
+ a feature request or develop new components specific to your projects yourself. As open source,
+ OpenVINO may be used and modified freely. See the extensibility guide for more information on
+ how to adapt it to your needs.
Deployment
#########################
| :doc:`Local or remote <../openvino-workflow>`
-| Integrate the OpenVINO runtime directly with your application to run inference locally or use
- `OpenVINO Model Server <https://github.com/openvinotoolkit/model_server>`__ to shift the inference
- workload to a remote system, a separate server or a Kubernetes environment. For serving,
- OpenVINO is also integrated with `vLLM <https://docs.vllm.ai/en/stable/getting_started/openvino-installation.html>`__
- and `Triton <https://github.com/triton-inference-server/openvino_backend>`__ services.
+| Integrate the OpenVINO runtime directly with your application to run inference locally or use
+ `OpenVINO Model Server <https://github.com/openvinotoolkit/model_server>`__ to shift the inference
+ workload to a remote system, a separate server or a Kubernetes environment. For serving,
+ OpenVINO is also integrated with `vLLM <https://docs.vllm.ai/en/stable/getting_started/openvino-installation.html>`__
+ and `Triton <https://github.com/triton-inference-server/openvino_backend>`__ services.
| :doc:`Scalable and portable <release-notes-openvino/system-requirements>`
-| Write an application once, deploy it anywhere, always making the most out of your hardware setup.
- The automatic device selection mode gives you the ultimate deployment flexibility on all major
- operating systems. Check out system requirements.
+| Write an application once, deploy it anywhere, always making the most out of your hardware setup.
+ The automatic device selection mode gives you the ultimate deployment flexibility on all major
+ operating systems. Check out system requirements.
| **Light-weight**
-| Designed with minimal external dependencies, OpenVINO does not bloat your application
- and simplifies installation and dependency management. The custom compilation for your specific
- model(s) may further reduce the final binary size.
+| Designed with minimal external dependencies, OpenVINO does not bloat your application
+ and simplifies installation and dependency management. The custom compilation for your specific
+ model(s) may further reduce the final binary size.
Performance
#########################
| :doc:`Model Optimization <../openvino-workflow/model-optimization>`
-| Optimize your deep learning models with NNCF, using various training-time and post-training
- compression methods, such as pruning, sparsity, quantization, and weight compression. Make
- your models take less space, run faster, and use less resources.
+| Optimize your deep learning models with NNCF, using various training-time and post-training
+ compression methods, such as pruning, sparsity, quantization, and weight compression. Make
+ your models take less space, run faster, and use less resources.
| :doc:`Top performance <../about-openvino/performance-benchmarks>`
-| OpenVINO is optimized to work with Intel hardware, delivering confirmed high performance for
- hundreds of models. Explore OpenVINO Performance Benchmarks to discover the optimal hardware
- configurations and plan your AI deployment based on verified data.
+| OpenVINO is optimized to work with Intel hardware, delivering confirmed high performance for
+ hundreds of models. Explore OpenVINO Performance Benchmarks to discover the optimal hardware
+ configurations and plan your AI deployment based on verified data.
| :doc:`Enhanced App Start-Up Time <../openvino-workflow/running-inference/optimize-inference>`
-| If you need your application to launch immediately, OpenVINO will reduce first-inference latency,
- running inference on CPU until a more suited device is ready to take over. Once a model
- is compiled for inference, it is also cached, improving the start-up time even more.
+| If you need your application to launch immediately, OpenVINO will reduce first-inference latency,
+ running inference on CPU until a more suited device is ready to take over. Once a model
+ is compiled for inference, it is also cached, improving the start-up time even more.
diff --git a/docs/articles_en/about-openvino/release-notes-openvino.rst b/docs/articles_en/about-openvino/release-notes-openvino.rst
index c60371119de..0e3e84cfdc2 100644
--- a/docs/articles_en/about-openvino/release-notes-openvino.rst
+++ b/docs/articles_en/about-openvino/release-notes-openvino.rst
@@ -15,7 +15,7 @@ OpenVINO Release Notes
-2024.4 - 18 September 2024
+2024.4 - 19 September 2024
#############################
:doc:`System Requirements <./release-notes-openvino/system-requirements>` | :doc:`Release policy <./release-notes-openvino/release-policy>` | :doc:`Installation Guides <./../get-started/install-openvino>`
@@ -203,8 +203,7 @@ OpenVINO Model Server
* Ability to compress the KV Cache to a lower precision, reducing memory consumption without
a significant loss of accuracy.
* ``stop`` sampling parameters, to define a sequence that stops text generation.
- * ``logprobs`` sampling parameter, returning the probabilities to returned tokens, which can
- be used to calculate the model perplexity metric, among other things.
+ * ``logprobs`` sampling parameter, returning the probabilities to returned tokens.
* Generic metrics related to execution of the MediaPipe graph that can be used for autoscaling
based on the current load and the level of concurrency.
* `Demo of text generation horizontal scalability <https://github.com/openvinotoolkit/model_server/tree/main/demos/continuous_batching/scaling>`__
@@ -212,6 +211,7 @@ OpenVINO Model Server
* Automatic cancelling of text generation for disconnected clients.
* Non-UTF-8 responses from the model can be now automatically changed to Unicode replacement
characters, due to their configurable handling.
+ * Intel GPU with paged attention is now supported.
* Support for Llama3.1 models.
* The following has been improved:
@@ -301,6 +301,24 @@ Known Issues
| OpenVINO.GenAI archive doesn't have debug libraries for OpenVINO Tokenizers and
OpenVINO.GenAI.
+| **Component: ONNX for ARM**
+| ID: n/a
+| Description:
+| For ARM binaries, the `1.16 ONNX library <https://vcpkg.link/ports/onnx/versions>`__
+ is not yet available, while the current latest has shown two significant vulnerabilities:
+ `CVE-2024-27318 <https://nvd.nist.gov/vuln/detail/CVE-2024-27318>`__ and
+ `CVE-2024-27319 <https://nvd.nist.gov/vuln/detail/CVE-2024-27319>`__.
+ The vulnerabilities are less severe in the context of OpenVINO and will be fixed as soon as
+ the most recent version of the library is available for ARM, expected at the 2024.5 release.
+
+
+
+
+
+
+
+
+
diff --git a/docs/articles_en/get-started/install-openvino.rst b/docs/articles_en/get-started/install-openvino.rst
index b843bc3682f..6dda915af93 100644
--- a/docs/articles_en/get-started/install-openvino.rst
+++ b/docs/articles_en/get-started/install-openvino.rst
@@ -21,7 +21,7 @@ Install OpenVINO™ 2024.4
<script type="module" crossorigin src="../_static/selector-tool/assets/index-f34d1fad.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <iframe id="selector" src="../_static/selector-tool/selector-9dbd5b1.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>
+ <iframe id="selector" src="../_static/selector-tool/selector-8d4cf1d.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>
OpenVINO 2024.4, described here, is not a Long-Term-Support version!
All currently supported versions are:
diff --git a/docs/sphinx_setup/_static/selector-tool/assets/selector-83076730.js b/docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.js
similarity index 51%
rename from docs/sphinx_setup/_static/selector-tool/assets/selector-83076730.js
rename to docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.js
index c6a30484013..0836ad1aed4 100644
--- a/docs/sphinx_setup/_static/selector-tool/assets/selector-83076730.js
+++ b/docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.js
@@ -1,4 +1,4 @@
-var Xf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Xf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ze=(e,t,n)=>(Jf(e,typeof t!="symbol"?t+"":t,n),n);function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cc={exports:{}},po={},dc={exports:{}},D={};/**
+var Xf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Xf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ve=(e,t,n)=>(Jf(e,typeof t!="symbol"?t+"":t,n),n);function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cc={exports:{}},po={},dc={exports:{}},D={};/**
* @license React
* react.production.min.js
*
@@ -6,7 +6,7 @@ var Xf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Xf(e,t,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var qr=Symbol.for("react.element"),Zf=Symbol.for("react.portal"),qf=Symbol.for("react.fragment"),ep=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),np=Symbol.for("react.provider"),rp=Symbol.for("react.context"),ip=Symbol.for("react.forward_ref"),op=Symbol.for("react.suspense"),lp=Symbol.for("react.memo"),sp=Symbol.for("react.lazy"),Oa=Symbol.iterator;function ap(e){return e===null||typeof e!="object"?null:(e=Oa&&e[Oa]||e["@@iterator"],typeof e=="function"?e:null)}var fc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pc=Object.assign,hc={};function sr(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}sr.prototype.isReactComponent={};sr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mc(){}mc.prototype=sr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}var ms=hs.prototype=new mc;ms.constructor=hs;pc(ms,sr.prototype);ms.isPureReactComponent=!0;var _a=Array.isArray,gc=Object.prototype.hasOwnProperty,gs={current:null},vc={key:!0,ref:!0,__self:!0,__source:!0};function yc(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)gc.call(t,r)&&!vc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:qr,type:e,key:o,ref:l,props:i,_owner:gs.current}}function up(e,t){return{$$typeof:qr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vs(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr}function cp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Na=/\/+/g;function Ao(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cp(""+e.key):t.toString(36)}function xi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case qr:case Zf:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Ao(l,0):r,_a(i)?(n="",e!=null&&(n=e.replace(Na,"$&/")+"/"),xi(i,t,n,"",function(u){return u})):i!=null&&(vs(i)&&(i=up(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Na,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",_a(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+Ao(o,s);l+=xi(o,t,n,a,i)}else if(a=ap(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+Ao(o,s++),l+=xi(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function li(e,t,n){if(e==null)return e;var r=[],i=0;return xi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function dp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ne={current:null},Ei={transition:null},fp={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:Ei,ReactCurrentOwner:gs};D.Children={map:li,forEach:function(e,t,n){li(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return li(e,function(){t++}),t},toArray:function(e){return li(e,function(t){return t})||[]},only:function(e){if(!vs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=sr;D.Fragment=qf;D.Profiler=tp;D.PureComponent=hs;D.StrictMode=ep;D.Suspense=op;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fp;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=pc({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=gs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)gc.call(t,a)&&!vc.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:qr,type:e.type,key:i,ref:o,props:r,_owner:l}};D.createContext=function(e){return e={$$typeof:rp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:np,_context:e},e.Consumer=e};D.createElement=yc;D.createFactory=function(e){var t=yc.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:ip,render:e}};D.isValidElement=vs;D.lazy=function(e){return{$$typeof:sp,_payload:{_status:-1,_result:e},_init:dp}};D.memo=function(e,t){return{$$typeof:lp,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Ei.transition;Ei.transition={};try{e()}finally{Ei.transition=t}};D.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};D.useCallback=function(e,t){return Ne.current.useCallback(e,t)};D.useContext=function(e){return Ne.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return Ne.current.useDeferredValue(e)};D.useEffect=function(e,t){return Ne.current.useEffect(e,t)};D.useId=function(){return Ne.current.useId()};D.useImperativeHandle=function(e,t,n){return Ne.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return Ne.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return Ne.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return Ne.current.useMemo(e,t)};D.useReducer=function(e,t,n){return Ne.current.useReducer(e,t,n)};D.useRef=function(e){return Ne.current.useRef(e)};D.useState=function(e){return Ne.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return Ne.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return Ne.current.useTransition()};D.version="18.2.0";dc.exports=D;var U=dc.exports;const pp=uc(U);/**
+ */var qr=Symbol.for("react.element"),Zf=Symbol.for("react.portal"),qf=Symbol.for("react.fragment"),ep=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),np=Symbol.for("react.provider"),rp=Symbol.for("react.context"),ip=Symbol.for("react.forward_ref"),op=Symbol.for("react.suspense"),lp=Symbol.for("react.memo"),sp=Symbol.for("react.lazy"),Oa=Symbol.iterator;function ap(e){return e===null||typeof e!="object"?null:(e=Oa&&e[Oa]||e["@@iterator"],typeof e=="function"?e:null)}var fc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pc=Object.assign,hc={};function sr(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}sr.prototype.isReactComponent={};sr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mc(){}mc.prototype=sr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}var ms=hs.prototype=new mc;ms.constructor=hs;pc(ms,sr.prototype);ms.isPureReactComponent=!0;var _a=Array.isArray,gc=Object.prototype.hasOwnProperty,gs={current:null},vc={key:!0,ref:!0,__self:!0,__source:!0};function yc(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)gc.call(t,r)&&!vc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:qr,type:e,key:o,ref:l,props:i,_owner:gs.current}}function up(e,t){return{$$typeof:qr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vs(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr}function cp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Na=/\/+/g;function Fo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cp(""+e.key):t.toString(36)}function Ei(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case qr:case Zf:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Fo(l,0):r,_a(i)?(n="",e!=null&&(n=e.replace(Na,"$&/")+"/"),Ei(i,t,n,"",function(u){return u})):i!=null&&(vs(i)&&(i=up(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Na,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",_a(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+Fo(o,s);l+=Ei(o,t,n,a,i)}else if(a=ap(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+Fo(o,s++),l+=Ei(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function li(e,t,n){if(e==null)return e;var r=[],i=0;return Ei(e,r,"","",function(o){return t.call(n,o,i++)}),r}function dp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xe={current:null},xi={transition:null},fp={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:xi,ReactCurrentOwner:gs};D.Children={map:li,forEach:function(e,t,n){li(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return li(e,function(){t++}),t},toArray:function(e){return li(e,function(t){return t})||[]},only:function(e){if(!vs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=sr;D.Fragment=qf;D.Profiler=tp;D.PureComponent=hs;D.StrictMode=ep;D.Suspense=op;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fp;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=pc({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=gs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)gc.call(t,a)&&!vc.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:qr,type:e.type,key:i,ref:o,props:r,_owner:l}};D.createContext=function(e){return e={$$typeof:rp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:np,_context:e},e.Consumer=e};D.createElement=yc;D.createFactory=function(e){var t=yc.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:ip,render:e}};D.isValidElement=vs;D.lazy=function(e){return{$$typeof:sp,_payload:{_status:-1,_result:e},_init:dp}};D.memo=function(e,t){return{$$typeof:lp,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=xi.transition;xi.transition={};try{e()}finally{xi.transition=t}};D.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};D.useCallback=function(e,t){return xe.current.useCallback(e,t)};D.useContext=function(e){return xe.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return xe.current.useDeferredValue(e)};D.useEffect=function(e,t){return xe.current.useEffect(e,t)};D.useId=function(){return xe.current.useId()};D.useImperativeHandle=function(e,t,n){return xe.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return xe.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return xe.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return xe.current.useMemo(e,t)};D.useReducer=function(e,t,n){return xe.current.useReducer(e,t,n)};D.useRef=function(e){return xe.current.useRef(e)};D.useState=function(e){return xe.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return xe.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return xe.current.useTransition()};D.version="18.2.0";dc.exports=D;var U=dc.exports;const pp=uc(U);/**
* @license React
* react-jsx-runtime.production.min.js
*
@@ -16,10 +16,10 @@ var Xf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Xf(e,t,{enumerable:!0,config
* LICENSE file in the root directory of this source tree.
*/var hp=U,mp=Symbol.for("react.element"),gp=Symbol.for("react.fragment"),vp=Object.prototype.hasOwnProperty,yp=hp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wp={key:!0,ref:!0,__self:!0,__source:!0};function wc(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)vp.call(t,r)&&!wp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:mp,type:e,key:o,ref:l,props:i,_owner:yp.current}}po.Fragment=gp;po.jsx=wc;po.jsxs=wc;cc.exports=po;var ys=cc.exports;const Zn=ys.Fragment,v=ys.jsx,R=ys.jsxs;document.body.style.cssText+=`
overflow: hidden;
-`;const kp=()=>{const e={type:"size",height:document.body.offsetHeight};window.parent.postMessage(e)};new ResizeObserver(kp).observe(document.body);function pe(e){"@babel/helpers - typeof";return pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pe(e)}function ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){if(pe(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(pe(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kc(e){var t=Sp(e,"string");return pe(t)==="symbol"?t:String(t)}function Pa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kc(r.key),r)}}function pt(e,t,n){return t&&Pa(e.prototype,t),n&&Pa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gl(e,t){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},gl(e,t)}function ho(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gl(e,t)}function ei(e,t){if(t&&(pe(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ht(e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(e)}function tt(e,t,n){return t=kc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){if(Array.isArray(e))return e}function Op(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oc(e,t){if(e){if(typeof e=="string")return xa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xa(e,t)}}function _c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _p(e){return Sc(e)||Op(e)||Oc(e)||_c()}function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ca(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ea(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Np={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},Pp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ft(this,e),this.init(t,n)}return pt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||Np,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,Ca(Ca({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),wt=new Pp,en=function(){function e(){ft(this,e),this.observers={}}return pt(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var l=[].concat(this.observers[n]);l.forEach(function(a){a.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(a){a.apply(a,[n].concat(i))})}}}]),e}();function fr(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function Ia(e){return e==null?"":""+e}function xp(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function ws(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var l=r(o.shift());!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function Ta(e,t,n){var r=ws(e,t,Object),i=r.obj,o=r.k;i[o]=n}function Ep(e,t,n,r){var i=ws(e,t,Object),o=i.obj,l=i.k;o[l]=o[l]||[],r&&(o[l]=o[l].concat(n)),r||o[l].push(n)}function zi(e,t){var n=ws(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ra(e,t,n){var r=zi(e,n);return r!==void 0?r:zi(t,n)}function Nc(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Nc(e[r],t[r],n):e[r]=t[r]);return e}function Tn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Cp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Ip(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Cp[t]}):e}var mo=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Tp=[" ",",","?","!",";"];function Rp(e,t,n){t=t||"",n=n||"";var r=Tp.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var l=e.indexOf(n);l>0&&!i.test(e.substring(0,l))&&(o=!0)}return o}function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?La(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lp(e){var t=jp();return function(){var r=Ot(e),i;if(t){var o=Ot(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function jp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var l=2,s=r.slice(o,o+l).join(n),a=i[s];a===void 0&&r.length>o+l;)l++,s=r.slice(o,o+l).join(n),a=i[s];if(a===void 0)return;if(a===null)return null;if(t.endsWith(s)){if(typeof a=="string")return a;if(s&&typeof a[s]=="string")return a[s]}var u=r.slice(o+l).join(n);return u?Pc(a,u,n):void 0}i=i[r[o]]}return i}}var Fp=function(e){ho(n,e);var t=Lp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ft(this,n),i=t.call(this),mo&&en.call(Ht(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pt(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];l&&typeof l!="string"&&(p=p.concat(l)),l&&typeof l=="string"&&(p=p.concat(a?l.split(a):l)),i.indexOf(".")>-1&&(p=i.split("."));var d=zi(this.data,p);return d||!u||typeof l!="string"?d:Pc(this.data&&this.data[i]&&this.data[i][o],l,a)}},{key:"addResource",value:function(i,o,l,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];l&&(p=p.concat(u?l.split(u):l)),i.indexOf(".")>-1&&(p=i.split("."),s=o,o=p[1]),this.addNamespaces(o),Ta(this.data,p,s),a.silent||this.emit("added",i,o,l,s)}},{key:"addResources",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in l)(typeof l[a]=="string"||Object.prototype.toString.apply(l[a])==="[object Array]")&&this.addResource(i,o,a,l[a],{silent:!0});s.silent||this.emit("added",i,o,l)}},{key:"addResourceBundle",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),s=l,l=o,o=p[1]),this.addNamespaces(o);var d=zi(this.data,p)||{};s?Nc(d,l,a):d=si(si({},d),l),Ta(this.data,p,d),u.silent||this.emit("added",i,o,l)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?si(si({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),l=o&&Object.keys(o)||[];return!!l.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(en),xc={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var l=this;return t.forEach(function(s){l.processors[s]&&(n=l.processors[s].process(n,r,i,o))}),n}};function ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ja(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ap(e){var t=Dp();return function(){var r=Ot(e),i;if(t){var o=Ot(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Dp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Fa={},Aa=function(e){ho(n,e);var t=Ap(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ft(this,n),i=t.call(this),mo&&en.call(Ht(i)),xp(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Ht(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=wt.create("translator"),i}return pt(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var l=this.resolve(i,o);return l&&l.res!==void 0}},{key:"extractFromKey",value:function(i,o){var l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,a=o.ns||this.options.defaultNS||[],u=l&&i.indexOf(l)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Rp(i,l,s);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:a};var h=i.split(l);(l!==s||l===s&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),i=h.join(s)}return typeof a=="string"&&(a=[a]),{key:i,namespaces:a}}},{key:"translate",value:function(i,o,l){var s=this;if(pe(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,h=p.namespaces,g=h[h.length-1],y=o.lng||this.language,k=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y&&y.toLowerCase()==="cimode"){if(k){var _=o.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(g).concat(_).concat(d),usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:"".concat(g).concat(_).concat(d)}return a?{res:d,usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:d}var f=this.resolve(i,o),c=f&&f.res,m=f&&f.usedKey||d,w=f&&f.exactUsedKey||d,O=Object.prototype.toString.apply(c),S=["[object Number]","[object Function]","[object RegExp]"],P=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,j=typeof c!="string"&&typeof c!="boolean"&&typeof c!="number";if(x&&c&&j&&S.indexOf(O)<0&&!(typeof P=="string"&&O==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,c,ke(ke({},o),{},{ns:h})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return a?(f.res=E,f):E}if(u){var W=O==="[object Array]",Ie=W?[]:{},_t=W?w:m;for(var nt in c)if(Object.prototype.hasOwnProperty.call(c,nt)){var En="".concat(_t).concat(u).concat(nt);Ie[nt]=this.translate(En,ke(ke({},o),{joinArrays:!1,ns:h})),Ie[nt]===En&&(Ie[nt]=c[nt])}c=Ie}}else if(x&&typeof P=="string"&&O==="[object Array]")c=c.join(P),c&&(c=this.extendTranslation(c,i,o,l));else{var ht=!1,rt=!1,C=o.count!==void 0&&typeof o.count!="string",L=n.hasDefaultValue(o),F=C?this.pluralResolver.getSuffix(y,o.count,o):"",V=o["defaultValue".concat(F)]||o.defaultValue;!this.isValidLookup(c)&&L&&(ht=!0,c=V),this.isValidLookup(c)||(rt=!0,c=d);var X=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Nt=X&&rt?void 0:c,Ue=L&&V!==c&&this.options.updateMissing;if(rt||ht||Ue){if(this.logger.log(Ue?"updateKey":"missingKey",y,g,d,Ue?V:c),u){var Cn=this.resolve(d,ke(ke({},o),{},{keySeparator:!1}));Cn&&Cn.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var be=[],Pt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Pt&&Pt[0])for(var Lo=0;Lo<Pt.length;Lo++)be.push(Pt[Lo]);else this.options.saveMissingTo==="all"?be=this.languageUtils.toResolveHierarchy(o.lng||this.language):be.push(o.lng||this.language);var wa=function(In,Fo,ka){var Sa=L&&ka!==c?ka:Nt;s.options.missingKeyHandler?s.options.missingKeyHandler(In,g,Fo,Sa,Ue,o):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(In,g,Fo,Sa,Ue,o),s.emit("missingKey",In,g,Fo,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?be.forEach(function(jo){s.pluralResolver.getSuffixes(jo,o).forEach(function(In){wa([jo],d+In,o["defaultValue".concat(In)]||V)})}):wa(be,d,V))}c=this.extendTranslation(c,i,o,f,l),rt&&c===d&&this.options.appendNamespaceToMissingKey&&(c="".concat(g,":").concat(d)),(rt||ht)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(g,":").concat(d):d,ht?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f):c}},{key:"extendTranslation",value:function(i,o,l,s,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,ke(ke({},this.options.interpolation.defaultVariables),l),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init(ke(ke({},l),{interpolation:ke(ke({},this.options.interpolation),l.interpolation)}));var p=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var h=i.match(this.interpolator.nestingRegexp);d=h&&h.length}var g=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(g=ke(ke({},this.options.interpolation.defaultVariables),g)),i=this.interpolator.interpolate(i,g,l.lng||this.language,l),p){var y=i.match(this.interpolator.nestingRegexp),k=y&&y.length;d<k&&(l.nest=!1)}l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var c=arguments.length,m=new Array(c),w=0;w<c;w++)m[w]=arguments[w];return a&&a[0]===m[0]&&!l.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(m[0]," in key: ").concat(o[0])),null):u.translate.apply(u,m.concat([o]))},l)),l.interpolation&&this.interpolator.reset()}var _=l.postProcess||this.options.postProcess,f=typeof _=="string"?[_]:_;return i!=null&&f&&f.length&&l.applyPostProcessor!==!1&&(i=xc.handle(f,i,o,this.options&&this.options.postProcessPassResolved?ke({i18nResolved:s},l):l,this)),i}},{key:"resolve",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(h){if(!o.isValidLookup(s)){var g=o.extractFromKey(h,l),y=g.key;a=y;var k=g.namespaces;o.options.fallbackNS&&(k=k.concat(o.options.fallbackNS));var _=l.count!==void 0&&typeof l.count!="string",f=_&&!l.ordinal&&l.count===0&&o.pluralResolver.shouldUseIntlApi(),c=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",m=l.lngs?l.lngs:o.languageUtils.toResolveHierarchy(l.lng||o.language,l.fallbackLng);k.forEach(function(w){o.isValidLookup(s)||(d=w,!Fa["".concat(m[0],"-").concat(w)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(Fa["".concat(m[0],"-").concat(w)]=!0,o.logger.warn('key "'.concat(a,'" for languages "').concat(m.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(function(O){if(!o.isValidLookup(s)){p=O;var S=[y];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(S,y,O,w,l);else{var P;_&&(P=o.pluralResolver.getSuffix(O,l.count,l));var x="".concat(o.options.pluralSeparator,"zero");if(_&&(S.push(y+P),f&&S.push(y+x)),c){var j="".concat(y).concat(o.options.contextSeparator).concat(l.context);S.push(j),_&&(S.push(j+P),f&&S.push(j+x))}}for(var E;E=S.pop();)o.isValidLookup(s)||(u=E,s=o.getResource(O,w,E,l))}}))})}}),{res:s,usedKey:a,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,s):this.resourceStore.getResource(i,o,l,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}]),n}(en);function Do(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Da=function(){function e(t){ft(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wt.create("languageUtils")}return pt(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Do(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var l=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(l))&&(i=l)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var l=r.getLanguagePartFromCode(o);if(r.isSupportedCode(l))return i=l;i=r.options.supportedLngs.find(function(s){if(s.indexOf(l)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),l=[],s=function(u){u&&(i.isSupportedCode(u)?l.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(a){l.indexOf(a)<0&&s(i.formatLanguageCode(a))}),l}}]),e}(),Up=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],bp={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},zp=["v1","v2","v3"],Ua={zero:0,one:1,two:2,few:3,many:4,other:5};function Vp(){var e={};return Up.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:bp[t.fc]}})}),e}var Mp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ft(this,e),this.languageUtils=t,this.options=n,this.logger=wt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Vp()}return pt(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(l,s){return Ua[l]-Ua[s]}).map(function(l){return"".concat(r.options.prepend).concat(l)}):o.numbers.map(function(l){return r.getSuffix(n,l,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),l=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(l===2?l="plural":l===1&&(l=""));var s=function(){return i.options.prepend&&l.toString()?i.options.prepend+l.toString():l.toString()};return this.options.compatibilityJSON==="v1"?l===1?"":typeof l=="number"?"_plural_".concat(l.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!zp.includes(this.options.compatibilityJSON)}}]),e}();function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ba(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var $p=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ft(this,e),this.logger=wt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pt(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:Ip,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Tn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Tn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Tn(r.nestingPrefix):r.nestingPrefixEscaped||Tn("$t("),this.nestingSuffix=r.nestingSuffix?Tn(r.nestingSuffix):r.nestingSuffixEscaped||Tn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var l=this,s,a,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(_){return _.replace(/\$/g,"$$$$")}var h=function(f){if(f.indexOf(l.formatSeparator)<0){var c=Ra(r,p,f);return l.alwaysFormat?l.format(c,void 0,i,it(it(it({},o),r),{},{interpolationkey:f})):c}var m=f.split(l.formatSeparator),w=m.shift().trim(),O=m.join(l.formatSeparator).trim();return l.format(Ra(r,p,w),O,i,it(it(it({},o),r),{},{interpolationkey:w}))};this.resetRegExp();var g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,y=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,k=[{regex:this.regexpUnescape,safeValue:function(f){return d(f)}},{regex:this.regexp,safeValue:function(f){return l.escapeValue?d(l.escape(f)):d(f)}}];return k.forEach(function(_){for(u=0;s=_.regex.exec(n);){var f=s[1].trim();if(a=h(f),a===void 0)if(typeof g=="function"){var c=g(n,s,o);a=typeof c=="string"?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,f))a="";else if(y){a=s[0];continue}else l.logger.warn("missed to pass in variable ".concat(f," for interpolating ").concat(n)),a="";else typeof a!="string"&&!l.useRawValueToEscape&&(a=Ia(a));var m=_.safeValue(a);if(n=n.replace(s[0],m),y?(_.regex.lastIndex+=a.length,_.regex.lastIndex-=s[0].length):_.regex.lastIndex=0,u++,u>=l.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,s,a;function u(g,y){var k=this.nestingOptionsSeparator;if(g.indexOf(k)<0)return g;var _=g.split(new RegExp("".concat(k,"[ ]*{"))),f="{".concat(_[1]);g=_[0],f=this.interpolate(f,a);var c=f.match(/'/g),m=f.match(/"/g);(c&&c.length%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),y&&(a=it(it({},y),a))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(g),w),"".concat(g).concat(k).concat(f)}return delete a.defaultValue,g}for(;l=this.nestingRegexp.exec(n);){var p=[];a=it({},o),a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;var d=!1;if(l[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(l[1])){var h=l[1].split(this.formatSeparator).map(function(g){return g.trim()});l[1]=h.shift(),p=h,d=!0}if(s=r(u.call(this,l[1].trim(),a),a),s&&l[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=Ia(s)),s||(this.logger.warn("missed to resolve ".concat(l[1]," for nesting ").concat(n)),s=""),d&&(s=p.reduce(function(g,y){return i.format(g,y,o.lng,it(it({},o),{},{interpolationkey:l[1].trim()}))},s.trim())),n=n.replace(l[0],s),this.regexp.lastIndex=0}return n}}]),e}();function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bp(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(l){if(l){var s=l.split(":"),a=_p(s),u=a[0],p=a.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function Rn(e){var t={};return function(r,i,o){var l=i+JSON.stringify(o),s=t[l];return s||(s=e(i,o),t[l]=s),s(r)}}var Kp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ft(this,e),this.logger=wt.create("formatter"),this.options=t,this.formats={number:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt({},r));return function(o){return i.format(o)}}),currency:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt(xt({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Rn(function(n,r){var i=new Intl.DateTimeFormat(n,xt({},r));return function(o){return i.format(o)}}),relativetime:Rn(function(n,r){var i=new Intl.RelativeTimeFormat(n,xt({},r));return function(o){return i.format(o,r.range||"day")}}),list:Rn(function(n,r){var i=new Intl.ListFormat(n,xt({},r));return function(o){return i.format(o)}})},this.init(t)}return pt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Rn(r)}},{key:"format",value:function(n,r,i){var o=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=r.split(this.formatSeparator),a=s.reduce(function(u,p){var d=Bp(p),h=d.formatName,g=d.formatOptions;if(o.formats[h]){var y=u;try{var k=l&&l.formatParams&&l.formatParams[l.interpolationkey]||{},_=k.locale||k.lng||l.locale||l.lng||i;y=o.formats[h](u,_,xt(xt(xt({},g),l),k))}catch(f){o.logger.warn(f)}return y}else o.logger.warn("there was no format function for ".concat(h));return u},n);return a}}]),e}();function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ma(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Va(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hp(e){var t=Wp();return function(){var r=Ot(e),i;if(t){var o=Ot(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Wp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gp(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Yp=function(e){ho(n,e);var t=Hp(n);function n(r,i,o){var l,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ft(this,n),l=t.call(this),mo&&en.call(Ht(l)),l.backend=r,l.store=i,l.services=o,l.languageUtils=o.languageUtils,l.options=s,l.logger=wt.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=s.maxParallelReads||10,l.readingCalls=0,l.maxRetries=s.maxRetries>=0?s.maxRetries:5,l.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(o,s.backend,s),l}return pt(n,[{key:"queueLoad",value:function(i,o,l,s){var a=this,u={},p={},d={},h={};return i.forEach(function(g){var y=!0;o.forEach(function(k){var _="".concat(g,"|").concat(k);!l.reload&&a.store.hasResourceBundle(g,k)?a.state[_]=2:a.state[_]<0||(a.state[_]===1?p[_]===void 0&&(p[_]=!0):(a.state[_]=1,y=!1,p[_]===void 0&&(p[_]=!0),u[_]===void 0&&(u[_]=!0),h[k]===void 0&&(h[k]=!0)))}),y||(d[g]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(h)}}},{key:"loaded",value:function(i,o,l){var s=i.split("|"),a=s[0],u=s[1];o&&this.emit("failedLoading",a,u,o),l&&this.store.addResourceBundle(a,u,l),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){Ep(d.loaded,[a],u),Gp(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(h){p[h]||(p[h]={});var g=d.loaded[h];g.length&&g.forEach(function(y){p[h][y]===void 0&&(p[h][y]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,l){var s=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:a,wait:u,callback:p});return}this.readingCalls++;var d=function(k,_){if(s.readingCalls--,s.waitingReads.length>0){var f=s.waitingReads.shift();s.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(k&&_&&a<s.maxRetries){setTimeout(function(){s.read.call(s,i,o,l,a+1,u*2,p)},u);return}p(k,_)},h=this.backend[l].bind(this.backend);if(h.length===2){try{var g=h(i,o);g&&typeof g.then=="function"?g.then(function(y){return d(null,y)}).catch(d):d(null,g)}catch(y){d(y)}return}return h(i,o,d)}},{key:"prepareLoading",value:function(i,o){var l=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(p){l.loadOne(p)})}},{key:"load",value:function(i,o,l){this.prepareLoading(i,o,{},l)}},{key:"reload",value:function(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}},{key:"loadOne",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),a=s[0],u=s[1];this.read(a,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(l,"loading namespace ").concat(u," for language ").concat(a," failed"),p),!p&&d&&o.logger.log("".concat(l,"loaded namespace ").concat(u," for language ").concat(a),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(l,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){var d=Ma(Ma({},u),{},{isUpdate:a}),h=this.backend.create.bind(this.backend);if(h.length<6)try{var g;h.length===5?g=h(i,o,l,s,d):g=h(i,o,l,s),g&&typeof g.then=="function"?g.then(function(y){return p(null,y)}).catch(p):p(null,g)}catch(y){p(y)}else h(i,o,l,s,p,d)}!i||!i[0]||this.store.addResource(i[0],o,l,s)}}}]),n}(en);function $a(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(pe(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),pe(t[2])==="object"||pe(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ba(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qp(e){var t=Xp();return function(){var r=Ot(e),i;if(t){var o=Ot(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Xp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ai(){}function Jp(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Vi=function(e){ho(n,e);var t=Qp(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(ft(this,n),r=t.call(this),mo&&en.call(Ht(r)),r.options=Ba(i),r.services={},r.logger=wt,r.modules={external:[]},Jp(Ht(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),ei(r,Ht(r));setTimeout(function(){r.init(i,o)},0)}return r}return pt(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=$a();this.options=mt(mt(mt({},s),this.options),Ba(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=mt(mt({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function a(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?wt.init(a(this.modules.logger),this.options):wt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Kp);var p=new Da(this.options);this.store=new Fp(this.options.resources,this.options);var d=this.services;d.logger=wt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new Mp(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=a(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new $p(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Yp(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.languageDetector&&(d.languageDetector=a(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=a(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Aa(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.external.forEach(function(f){f.init&&f.init(i)})}if(this.format=this.options.interpolation.format,l||(l=ai),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var g=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];g.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments)}});var y=["addResource","addResources","addResourceBundle","removeResourceBundle"];y.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments),i}});var k=fr(),_=function(){var c=function(w,O){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),k.resolve(O),l(w,O)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return c(null,i.t.bind(i));i.changeLanguage(i.options.lng,c)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),k}},{key:"loadResources",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=l,a=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return s();var u=[],p=function(g){if(g){var y=o.services.languageUtils.toResolveHierarchy(g);y.forEach(function(k){u.indexOf(k)<0&&u.push(k)})}};if(a)p(a);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(h){return p(h)})}this.options.preload&&this.options.preload.forEach(function(h){return p(h)}),this.services.backendConnector.load(u,this.options.ns,function(h){!h&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(h)})}else s(null)}},{key:"reloadResources",value:function(i,o,l){var s=fr();return i||(i=this.languages),o||(o=this.options.ns),l||(l=ai),this.services.backendConnector.reload(i,o,function(a){s.resolve(),l(a)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&xc.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}},{key:"changeLanguage",value:function(i,o){var l=this;this.isLanguageChangingTo=i;var s=fr();this.emit("languageChanging",i);var a=function(h){l.language=h,l.languages=l.services.languageUtils.toResolveHierarchy(h),l.resolvedLanguage=void 0,l.setResolvedLanguage(h)},u=function(h,g){g?(a(g),l.translator.changeLanguage(g),l.isLanguageChangingTo=void 0,l.emit("languageChanged",g),l.logger.log("languageChanged",g)):l.isLanguageChangingTo=void 0,s.resolve(function(){return l.t.apply(l,arguments)}),o&&o(h,function(){return l.t.apply(l,arguments)})},p=function(h){!i&&!h&&l.services.languageDetector&&(h=[]);var g=typeof h=="string"?h:l.services.languageUtils.getBestMatchFromCodes(h);g&&(l.language||a(g),l.translator.language||l.translator.changeLanguage(g),l.services.languageDetector&&l.services.languageDetector.cacheUserLanguage&&l.services.languageDetector.cacheUserLanguage(g)),l.loadResources(g,function(y){u(y,g)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),s}},{key:"getFixedT",value:function(i,o,l){var s=this,a=function u(p,d){var h;if(pe(d)!=="object"){for(var g=arguments.length,y=new Array(g>2?g-2:0),k=2;k<g;k++)y[k-2]=arguments[k];h=s.options.overloadTranslationOptionHandler([p,d].concat(y))}else h=mt({},d);h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix=h.keyPrefix||l||u.keyPrefix;var _=s.options.keySeparator||".",f;return h.keyPrefix&&Array.isArray(p)?f=p.map(function(c){return"".concat(h.keyPrefix).concat(_).concat(c)}):f=h.keyPrefix?"".concat(h.keyPrefix).concat(_).concat(p):p,s.t(f,h)};return typeof i=="string"?a.lng=i:a.lngs=i,a.ns=o,a.keyPrefix=l,a}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var p=function(g,y){var k=o.services.backendConnector.state["".concat(g,"|").concat(y)];return k===-1||k===2};if(l.precheck){var d=l.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(s,i)&&(!a||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var l=this,s=fr();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(a){l.options.ns.indexOf(a)<0&&l.options.ns.push(a)}),this.loadResources(function(a){s.resolve(),o&&o(a)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var l=fr();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],a=i.filter(function(u){return s.indexOf(u)<0});return a.length?(this.options.preload=s.concat(a),this.loadResources(function(u){l.resolve(),o&&o(u)}),l):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],l=this.services&&this.services.languageUtils||new Da($a());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=mt(mt(mt({},this.options),o),{isClone:!0}),a=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(a.logger=a.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){a[p]=i[p]}),a.services=mt({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new Aa(a.services,a.options),a.translator.on("*",function(p){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];a.emit.apply(a,[p].concat(h))}),a.init(s,l),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(en);tt(Vi,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Vi(e,t)});var ce=Vi.createInstance();ce.createInstance=Vi.createInstance;ce.createInstance;ce.dir;ce.init;ce.loadResources;ce.reloadResources;ce.use;ce.changeLanguage;ce.getFixedT;ce.t;ce.exists;ce.setDefaultNamespace;ce.hasLoadedNamespace;ce.loadNamespaces;ce.loadLanguages;function Zp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ks(e,t){if(e==null)return{};var n=Zp(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var qp={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const eh=uc(qp);var th=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Ha(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(eh[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var i=new RegExp(th),o=null;(o=i.exec(e))!==null;)if(o[0].trim())if(o[1]){var l=o[1].trim(),s=[l,""];l.indexOf("=")>-1&&(s=l.split("=")),t.attrs[s[0]]=s[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var nh=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,rh=/^\s*$/,ih=Object.create(null);function Ec(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(Ec,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var oh={parse:function(e,t){t||(t={}),t.components||(t.components=ih);var n,r=[],i=[],o=-1,l=!1;if(e.indexOf("<")!==0){var s=e.indexOf("<");r.push({type:"text",content:s===-1?e:e.substring(0,s)})}return e.replace(nh,function(a,u){if(l){if(a!=="</"+n.name+">")return;l=!1}var p,d=a.charAt(1)!=="/",h=a.startsWith("<!--"),g=u+a.length,y=e.charAt(g);if(h){var k=Ha(a);return o<0?(r.push(k),r):((p=i[o]).children.push(k),r)}if(d&&(o++,(n=Ha(a)).type==="tag"&&t.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!y||y==="<"||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),o===0&&r.push(n),(p=i[o-1])&&p.children.push(n),i[o]=n),(!d||n.voidElement)&&(o>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(o--,n=o===-1?r:i[o]),!l&&y!=="<"&&y)){p=o===-1?r:i[o].children;var _=e.indexOf("<",g),f=e.slice(g,_===-1?void 0:_);rh.test(f)&&(f=" "),(_>-1&&o+p.length>=0||f!==" ")&&p.push({type:"text",content:f})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+Ec("",n)},"")}};function Ci(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Wa={};function Mi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Wa[t[0]]||(typeof t[0]=="string"&&(Wa[t[0]]=new Date),Ci.apply(void 0,t))}function Ga(e,t,n){e.loadNamespaces(t,function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}})}function lh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var l=function(a,u){var p=t.services.backendConnector.state["".concat(a,"|").concat(u)];return p===-1||p===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||l(r,e)&&(!i||l(o,e)))}function sh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Mi("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,l){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,e))return!1}}):lh(e,t,n)}var ah=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,uh={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},ch=function(t){return uh[t]},dh=function(t){return t.replace(ah,ch)};function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var vl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:dh};function fh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vl=Qa(Qa({},vl),e)}function Cc(){return vl}var Ic;function ph(e){Ic=e}function Ss(){return Ic}var hh=["format"],mh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uo(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function bo(e){return e?e.props?e.props.children:e.children:[]}function gh(e){return Object.prototype.toString.call(e)!=="[object Array]"?!1:e.every(function(t){return U.isValidElement(t)})}function Or(e){return Array.isArray(e)?e:[e]}function vh(e,t){var n=oe({},t);return n.props=Object.assign(e.props,t.props),n}function Tc(e,t){if(!e)return"";var n="",r=Or(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(function(o,l){if(typeof o=="string")n+="".concat(o);else if(U.isValidElement(o)){var s=Object.keys(o.props).length,a=i.indexOf(o.type)>-1,u=o.props.children;if(!u&&a&&s===0)n+="<".concat(o.type,"/>");else if(!u&&(!a||s!==0))n+="<".concat(l,"></").concat(l,">");else if(o.props.i18nIsDynamicList)n+="<".concat(l,"></").concat(l,">");else if(a&&s===1&&typeof u=="string")n+="<".concat(o.type,">").concat(u,"</").concat(o.type,">");else{var p=Tc(u,t);n+="<".concat(l,">").concat(p,"</").concat(l,">")}}else if(o===null)Ci("Trans: the passed in value is invalid - seems you passed in a null child.");else if(pe(o)==="object"){var d=o.format,h=ks(o,hh),g=Object.keys(h);if(g.length===1){var y=d?"".concat(g[0],", ").concat(d):g[0];n+="{{".concat(y,"}}")}else Ci("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else Ci("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n}function yh(e,t,n,r,i,o){if(t==="")return[];var l=r.transKeepBasicHtmlNodesFor||[],s=t&&new RegExp(l.join("|")).test(t);if(!e&&!s)return[t];var a={};function u(_){var f=Or(_);f.forEach(function(c){typeof c!="string"&&(Uo(c)?u(bo(c)):pe(c)==="object"&&!U.isValidElement(c)&&Object.assign(a,c))})}u(e);var p=oh.parse("<0>".concat(t,"</0>")),d=oe(oe({},a),i);function h(_,f,c){var m=bo(_),w=y(m,f.children,c);return gh(m)&&w.length===0?m:w}function g(_,f,c,m,w){_.dummy&&(_.children=f),c.push(U.cloneElement(_,oe(oe({},_.props),{},{key:m}),w?void 0:f))}function y(_,f,c){var m=Or(_),w=Or(f);return w.reduce(function(O,S,P){var x=S.children&&S.children[0]&&S.children[0].content&&n.services.interpolator.interpolate(S.children[0].content,d,n.language);if(S.type==="tag"){var j=m[parseInt(S.name,10)];!j&&c.length===1&&c[0][S.name]&&(j=c[0][S.name]),j||(j={});var E=Object.keys(S.attrs).length!==0?vh({props:S.attrs},j):j,W=U.isValidElement(E),Ie=W&&Uo(S,!0)&&!S.voidElement,_t=s&&pe(E)==="object"&&E.dummy&&!W,nt=pe(e)==="object"&&e!==null&&Object.hasOwnProperty.call(e,S.name);if(typeof E=="string"){var En=n.services.interpolator.interpolate(E,d,n.language);O.push(En)}else if(Uo(E)||Ie){var ht=h(E,S,c);g(E,ht,O,P)}else if(_t){var rt=y(m,S.children,c);O.push(U.cloneElement(E,oe(oe({},E.props),{},{key:P}),rt))}else if(Number.isNaN(parseFloat(S.name)))if(nt){var C=h(E,S,c);g(E,C,O,P,S.voidElement)}else if(r.transSupportBasicHtmlNodes&&l.indexOf(S.name)>-1)if(S.voidElement)O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)}));else{var L=y(m,S.children,c);O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)},L))}else if(S.voidElement)O.push("<".concat(S.name," />"));else{var F=y(m,S.children,c);O.push("<".concat(S.name,">").concat(F,"</").concat(S.name,">"))}else if(pe(E)==="object"&&!W){var V=S.children[0]?x:null;V&&O.push(V)}else S.children.length===1&&x?O.push(U.cloneElement(E,oe(oe({},E.props),{},{key:P}),x)):O.push(U.cloneElement(E,oe(oe({},E.props),{},{key:P})))}else if(S.type==="text"){var X=r.transWrapTextNodes,Nt=o?r.unescape(n.services.interpolator.interpolate(S.content,d,n.language)):n.services.interpolator.interpolate(S.content,d,n.language);X?O.push(U.createElement(X,{key:"".concat(S.name,"-").concat(P)},Nt)):O.push(Nt)}return O},[])}var k=y([{dummy:!0,children:e||[]}],p,Or(e||[]));return bo(k[0])}function wh(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,mh),_=h||Ss();if(!_)return Mi("You will need to pass in an i18next instance by using i18nextReactModule"),t;var f=g||_.t.bind(_)||function(Ie){return Ie};o&&(s.context=o);var c=oe(oe({},Cc()),_.options&&_.options.react),m=d||f.ns||_.options&&_.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"];var w=u||Tc(t,c)||c.transEmptyNodeValue||i,O=c.hashTransKey,S=i||(O?O(w):w),P=a?s.interpolation:{interpolation:oe(oe({},s.interpolation),{},{prefix:"#$?",suffix:"?$#"})},x=oe(oe(oe(oe({},s),{},{count:n},a),P),{},{defaultValue:w,ns:m}),j=S?f(S,x):w,E=yh(p||t,j,_,c,x,y),W=r!==void 0?r:c.defaultTransParent;return W?U.createElement(W,k,E):E}var kh={type:"3rdParty",init:function(t){fh(t.options.react),ph(t)}},Rc=U.createContext(),Sh=function(){function e(){ft(this,e),this.usedNamespaces={}}return pt(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}(),Oh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function z(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,Oh),_=U.useContext(Rc)||{},f=_.i18n,c=_.defaultNS,m=h||f||Ss(),w=g||m&&m.t.bind(m);return wh(_h({children:t,count:n,parent:r,i18nKey:i,context:o,tOptions:s,values:a,defaults:u,components:p,ns:d||w&&w.ns||c||m&&m.options&&m.options.defaultNS,i18n:m,t:g,shouldUnescape:y},k))}function Nh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,s=[],a=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);a=!0);}catch(p){u=!0,i=p}finally{try{if(!a&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return s}}function Ph(e,t){return Sc(e)||Nh(e,t)||Oc(e,t)||_c()}function Za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Za(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var xh=function(t,n){var r=U.useRef();return U.useEffect(function(){r.current=n?r.current:t},[t,n]),r.current};function $(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=U.useContext(Rc)||{},i=r.i18n,o=r.defaultNS,l=n||i||Ss();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new Sh),!l){Mi("You will need to pass in an i18next instance by using initReactI18next");var s=function(j,E){return typeof E=="string"?E:E&&pe(E)==="object"&&typeof E.defaultValue=="string"?E.defaultValue:Array.isArray(j)?j[j.length-1]:j},a=[s,{},!1];return a.t=s,a.i18n={},a.ready=!1,a}l.options.react&&l.options.react.wait!==void 0&&Mi("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=zo(zo(zo({},Cc()),l.options.react),t),p=u.useSuspense,d=u.keyPrefix,h=e||o||l.options&&l.options.defaultNS;h=typeof h=="string"?[h]:h||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(h);var g=(l.isInitialized||l.initializedStoreOnce)&&h.every(function(x){return sh(x,l,u)});function y(){return l.getFixedT(null,u.nsMode==="fallback"?h:h[0],d)}var k=U.useState(y),_=Ph(k,2),f=_[0],c=_[1],m=h.join(),w=xh(m),O=U.useRef(!0);U.useEffect(function(){var x=u.bindI18n,j=u.bindI18nStore;O.current=!0,!g&&!p&&Ga(l,h,function(){O.current&&c(y)}),g&&w&&w!==m&&O.current&&c(y);function E(){O.current&&c(y)}return x&&l&&l.on(x,E),j&&l&&l.store.on(j,E),function(){O.current=!1,x&&l&&x.split(" ").forEach(function(W){return l.off(W,E)}),j&&l&&j.split(" ").forEach(function(W){return l.store.off(W,E)})}},[l,m]);var S=U.useRef(!0);U.useEffect(function(){O.current&&!S.current&&c(y),S.current=!1},[l,d]);var P=[f,l,g];if(P.t=f,P.i18n=l,P.ready=g,g||!g&&!p)return P;throw new Promise(function(x){Ga(l,h,function(){x()})})}const Eh={installationInstructions:"安装说明",getStarted:"入门指南",notebooks:"笔记本电脑",troubleshooting:"故障排除指南"},Ch={OpenVINONotebooks:"准备好运行 OpenVINO 笔记本",tokenizers:"<0>OpenVINO Tokenizers</0> 用于简化 tokenizer 转换",nncf:"<0>NNCF</0> 用于在模型上执行压缩算法",ovms:"<0>OVMS</0> 用于为部署提供优化模型"},Ih={copy:"复制",copied:"已复制"},Th={distributionLinks:Eh,relatedTools:Ch,copyCommand:Ih},Rh={titles:{recommended:"推荐",stable:"稳定",latestLTS:"最新的 LTS 版本",hddlSupport:"包含 NCS2/HDDL 支持",previousLTS:"旧 LTS 版本",LTS:"LTS",latestBuild:"最新内部版本",nightly:"隔夜预览",nightlyBuild:"每日构建版"}},Lh={devTools:{title:"开发工具",subtitle:"开发和优化深度学习模型的最佳选择。"},runtime:{title:"运行时",subtitle:"您已拥有模型,并且希望对其运行推理。"}},jh={common:{modules:{runtime:"运行时/推理引擎",modelOptimizer:"模型优化器",benchmarkTool:"基准测试工具",accuracyChecker:"准确性检查程序",annotationConverter:"批注转换器",pot:"训练后优化工具",openCVPython:"OpenCV Python",omz:"模型下载程序和其他 Open Model Zoo 工具"},includesNPUPlugin:"包括 NPU"},openVINOArchives:"OpenVINO 归档文件",source:"源",offlineInstaller:"离线安装程序",recommendedOption:"推荐选项",pythonAPIOnly:"仅限 Python API",CAPIOnly:"仅限 C++ API",jsAPIOnly:"仅限 JavaScript API"},Fh={package:{base:{title:"OpenVINO 基础程序包",subtitle:"利用基本 GenAI 进行全面推理"},genai:{title:"具有 GenAI 的 OpenVINO",subtitle:"全面推理 + 完整 GenAI 程序包"}},versions:Rh,environment:Lh,distributions:jh},Ah={titles:{envinronment:"环境",os:"操作系统",version:"版本",distribution:"分发",frameworks:"框架",package:"封装",resources:"资源",relatedTools:"相关工具"},prevReleases:"旧版",nncf:"高级优化工具可单独购买:<1>了解 NNCF</1>",simplifiedInstallOptions:"我们简化了安装选项(示例:运行时工具和开发工具整合):<1>了解详情</1>"},Dh={title:"系统要求"},Uh={apt:{title:"使用 APT 安装",downloadTitle:"下载",steps:{download:"<0>第 1 步:</0>下载 <2>{{filename}}</2>。您也可以使用以下命令",addKey:"<0>第 2 步:</0>将此密钥添加到系统密钥环。",addRepository:"<0>第 3 步:</0>通过以下命令添加存储库。",updateList:"<0>第 4 步:</0>使用更新命令更新软件包列表。",verify:"<0>第 5 步:</0>验证 APT 存储库的设置是否正确。使用 apt-cache 命令查看包含所有可用 OpenVINO 程序包和组件的列表",install:"<0>第 6 步:</0>安装 OpenVINO 运行时。"}},download:{title:"下载",download:"下载",downloadArchives:"下载归档文件",downloadArchivesGenAI:"下载 GenAI 档案",gotoDocker:"转到 Docker",gotoInstallInstruction:"转到安装说明"},githubGitee:{openSource:"使用开源存储库,在发布版本之间获取最新版本,并为开源社区做出贡献。",installationInstructions:"安装说明",githubRepository:"OpenVINO 工具套件 GitHub 存储库",giteeRepository:"OpenVINO 工具套件 Gitee 存储库",titleGitee:"基于 Gitee 上的源构建",titleGithub:"基于 GitHub 上的源构建",steps:{useGitClone:"<0>第 1 步:</0>运用 Git 克隆 OpenVINO 工具套件存储库。",buildInstructions:"<0>第 2 步:</0>按照<2>说明从源代码构建</2>"}},pip:{downloadRuntime:"下载 OpenVINO™ 运行时",downloadDevtools:"下载 OpenVINO™ 开发工具",install:"使用 PIP 安装",steps:{createVenv:"<0>第 1 步:</0>创建虚拟环境。",activateVenv:"<0>第 2 步:</0>激活虚拟环境。",upgradePip:"<0>第 3 步:</0>将 pip 升级到最新版本。",install:"<0>第 4 步:</0>下载并安装程序包。"}},conda:{download:"下载 OpenVINO™ 运行时",install:"使用 Conda 安装",steps:{createEnv:"<0>第 1 步:</0>创建 Anaconda 环境(以 Python 3.10 为例)",activateEnv:"<0>第 2 步:</0>激活 Anaconda 环境",update:"<0>第 3 步:</0>将 Anaconda 环境更新至最新版本",install:"<0>第 4 步:</0>下载并安装程序包。"}},conan:{install:"使用 Conan 安装",steps:{createConanFile:"<0>第 1 步:</0>为您的 OpenVINO 项目创建一个 <2>{{txtFilename}}</2> 文件并在那里添加 “openvino” 依赖项",install:"<0>第 2 步:</0>运行下面的命令创建 <2>{{cmakeFilename}}</2> 文件,该文件将用来编译 OpenVINO 项目",compile:"<0>第 3 步:</0>配置和编译 OpenVINO 项目"}},brew:{download:"下载 OpenVINO™ 运行时",install:"使用 Homebrew 安装",steps:{install:"下载并安装程序包"}},vcpkg:{install:"使用 vcpkg 安装",steps:{install:"下载并安装程序包"}},yum:{title:"使用 YUM 安装",downloadTitle:"下载",steps:{createRepoFile:"<0>第 1 步:</0>以正常用户身份在 /tmp 目录中创建 YUM 存储库文件。",moveFile:"<0>第 2 步:</0>将新的 openvino-{{year}}.repo 文件移动到 YUM 配置目录 <4>{{directory}}</4>。",verify:"<0>第 3 步:</0>使用以下命令验证新建存储库的设置是否正确。",install:"<0>第 4 步:</0>安装 OpenVINO 运行时。"}},npm:{install:"使用 npm 安装",steps:{install:"下载并安装程序包"}},zypper:{title:"使用 ZYPPER 安装",steps:{addRepo:"<0>第 1 步:</0>使用下面的命令创建一个 ZYPPER 存储库文件",refresh:"<0>第 2 步:</0>刷新存储库",install:"<0>第 3 步:</0>安装 OpenVINO"}}},bh={frameworks:{install:"安装框架",tooltip:`我们假设所需的框架已经安装到您的环境中。如果没有,您可以使用 OpenVINO 工具套件安装该框架。
-可用框架:Caffe、Kaldi、Apache MXNet、PyTorch、ONNX、TensorFlow。`},selectorForm:{titles:{install:"安装"}},distributions:{download:{useFollowingLink:"使用下方链接:"}}},zh={selectorForm:Ah,systemRequirements:Dh,distributions:Uh,compact:bh},Vh={translation:zh,common:Th,core:Fh},Mh={installationInstructions:"Installation Instructions",getStarted:"Get Started Guide",notebooks:"Notebooks",troubleshooting:"Troubleshooting Guide"},$h={OpenVINONotebooks:"Ready to run OpenVINO Notebooks",tokenizers:"<0>OpenVINO Tokenizers</0> to streamline tokenizer conversion",nncf:"<0>NNCF</0> for implementing compression algorithms on models",ovms:"<0>OVMS</0> for serving models optimized for deployment"},Bh={copy:"Copy",copied:"Copied"},Kh={distributionLinks:Mh,relatedTools:$h,copyCommand:Bh},Hh={titles:{recommended:"Recommended",stable:"Stable",latestLTS:"Latest LTS release",hddlSupport:"Includes NCS2/HDDL support",previousLTS:"Previous LTS release",LTS:"LTS",latestBuild:"Latest Build",nightly:"Nightly Preview",nightlyBuild:"Nightly Build"}},Wh={devTools:{title:"Development Tools",subtitle:"Your best option to develop and optimize deep learning models."},runtime:{title:"Runtime",subtitle:"You already have a model and want to run inference on it."}},Gh={common:{modules:{runtime:"Runtime/Inference Engine",modelOptimizer:"Model Optimizer",benchmarkTool:"Benchmark Tool",accuracyChecker:"Accuracy Checker",annotationConverter:"Annotation Converter",pot:"Post-Training Optimization Tool",openCVPython:"OpenCV Python",omz:"Model Downloader and other Open Model Zoo Tools"},includesNPUPlugin:"Includes NPU plugin"},openVINOArchives:"OpenVINO Archives",source:"Source",offlineInstaller:"Offline Installer",recommendedOption:"Recommended option",pythonAPIOnly:"Python API only",CAPIOnly:"C++ API only",jsAPIOnly:"JavaScript API only"},Yh={package:{base:{title:"OpenVINO Base Package",subtitle:"Full inference with basic GenAI"},genai:{title:"OpenVINO with GenAI",subtitle:"Full inference + complete GenAI package"}},versions:Hh,environment:Wh,distributions:Gh},Qh={titles:{envinronment:"Environment",os:"Operating System",version:"Version",distribution:"Distribution",frameworks:"Frameworks",package:"Package",resources:"Resources",relatedTools:"Related Tools"},prevReleases:"Previous Releases",nncf:"Advanced Optimization tool available separately: <1>Learn about NNCF</1>",simplifiedInstallOptions:"We have simplified the install options (example: consolidation of Runtime and Development Tools): <1>Learn more</1>"},Xh={title:"System Requirements"},Jh={apt:{title:"Install with APT",downloadTitle:"Download",steps:{download:"<0>Step 1:</0> Download the <2>{{filename}}</2>. You can also use the following command",addKey:"<0>Step 2:</0> Add this key to the system keyring",addRepository:"<0>Step 3:</0> Add the repository via the following command",updateList:"<0>Step 4:</0> Update the list of packages via the update command",verify:"<0>Step 5:</0> Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components",install:"<0>Step 6:</0> Install OpenVINO Runtime"}},download:{title:"Download",download:"Download",downloadArchives:"Download Archives",downloadArchivesGenAI:"Download Archives with GenAI",gotoDocker:"Go to Docker",gotoInstallInstruction:"Go to Installation Instructions"},githubGitee:{openSource:"Use an open source repository, get the most recent version in between releases, and contribute to the open source community.",installationInstructions:"Installation instructions",githubRepository:"OpenVINO Toolkit GitHub Repository",giteeRepository:"OpenVINO Toolkit Gitee Repository",titleGitee:"Build from Source on Gitee",titleGithub:"Build from Source on GitHub",steps:{useGitClone:"<0>Step 1:</0> Use Git to clone the OpenVINO toolkit repository",buildInstructions:"<0>Step 2:</0> Follow the <2>instructions to build from source</2>"}},pip:{downloadRuntime:"Download OpenVINO™ Runtime",downloadDevtools:"Download OpenVINO™ Development Tools",install:"Install with PIP",steps:{createVenv:"<0>Step 1:</0> Create virtual environment",activateVenv:"<0>Step 2:</0> Activate virtual environment",upgradePip:"<0>Step 3:</0> Upgrade pip to latest version",install:"<0>Step 4:</0> Download and install the package"}},conda:{download:"Download OpenVINO™ Runtime",install:"Install with Conda",steps:{createEnv:"<0>Step 1:</0> Create the Anaconda environment (Python 3.10 used as an example)",activateEnv:"<0>Step 2:</0> Activate the Anaconda environment",update:"<0>Step 3:</0> Update the Anaconda environment to the latest version",install:"<0>Step 4:</0> Download and install the package"}},conan:{install:"Install with Conan",steps:{createConanFile:"<0>Step 1:</0> Create a <2>{{txtFilename}}</2> file for your OpenVINO project and add “openvino” dependency in there",install:"<0>Step 2:</0> Run the command below to create <2>{{cmakeFilename}}</2> file, which will be used to compile your project with OpenVINO",compile:"<0>Step 3:</0> Configure and compile your project with OpenVINO"}},brew:{download:"Download OpenVINO™ Runtime",install:"Install with Homebrew",steps:{install:"Download and install the package"}},vcpkg:{install:"Install with vcpkg",steps:{install:"Download and install the package"}},yum:{title:"Install with YUM",downloadTitle:"Download",steps:{createRepoFile:"<0>Step 1:</0> Create the YUM repo file in the /tmp directory as a normal user",moveFile:"<0>Step 2:</0> Move the new openvino-{{year}}.repo file to the YUM configuration directory <4>{{directory}}</4>",verify:"<0>Step 3:</0> Verify that the new repo is properly set up by running the following command",install:"<0>Step 4:</0> Install OpenVINO Runtime"}},npm:{install:"Install with npm",steps:{install:"Download and install the package"}},zypper:{title:"Install with ZYPPER",steps:{addRepo:"<0>Step 1:</0> Create a ZYPPER repository file with the command below",refresh:"<0>Step 2:</0> Refresh repositories",install:"<0>Step 3:</0> Install OpenVINO"}}},Zh={frameworks:{install:"Install Frameworks",tooltip:`We assume that needed frameworks are already installed in your environment. If not, you can install them with OpenVINO toolkit.
-Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},selectorForm:{titles:{install:"Install"}},distributions:{download:{useFollowingLink:"Use the following link:"}}},qh={selectorForm:Qh,systemRequirements:Xh,distributions:Jh,compact:Zh},em={translation:qh,common:Kh,core:Yh},qn={en:em,cn:Vh},yl="en";if(!(yl in qn))throw new Error(`'${yl}' language is not supported`);ce.use(kh).init({debug:!1,resources:qn,lng:yl,fallbackLng:"en",interpolation:{escapeValue:!1},supportedLngs:Object.keys(qn),returnObjects:!1,returnNull:!1});ce.t;var wl={},Lc={exports:{}},He={},jc={exports:{}},Fc={};/**
+`;const kp=()=>{const e={type:"size",height:document.body.offsetHeight};window.parent.postMessage(e)};new ResizeObserver(kp).observe(document.body);function me(e){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){if(me(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(me(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kc(e){var t=Sp(e,"string");return me(t)==="symbol"?t:String(t)}function Pa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kc(r.key),r)}}function ht(e,t,n){return t&&Pa(e.prototype,t),n&&Pa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gl(e,t){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},gl(e,t)}function ho(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gl(e,t)}function ei(e,t){if(t&&(me(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gt(e)}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(e)}function nt(e,t,n){return t=kc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){if(Array.isArray(e))return e}function Op(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ea(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oc(e,t){if(e){if(typeof e=="string")return Ea(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ea(e,t)}}function _c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _p(e){return Sc(e)||Op(e)||Oc(e)||_c()}function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ca(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Np={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},Pp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pt(this,e),this.init(t,n)}return ht(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||Np,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,Ca(Ca({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),kt=new Pp,nn=function(){function e(){pt(this,e),this.observers={}}return ht(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var l=[].concat(this.observers[n]);l.forEach(function(a){a.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(a){a.apply(a,[n].concat(i))})}}}]),e}();function fr(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function Ia(e){return e==null?"":""+e}function Ep(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function ws(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var l=r(o.shift());!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function Ta(e,t,n){var r=ws(e,t,Object),i=r.obj,o=r.k;i[o]=n}function xp(e,t,n,r){var i=ws(e,t,Object),o=i.obj,l=i.k;o[l]=o[l]||[],r&&(o[l]=o[l].concat(n)),r||o[l].push(n)}function bi(e,t){var n=ws(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ra(e,t,n){var r=bi(e,n);return r!==void 0?r:bi(t,n)}function Nc(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Nc(e[r],t[r],n):e[r]=t[r]);return e}function Tn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Cp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Ip(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Cp[t]}):e}var mo=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Tp=[" ",",","?","!",";"];function Rp(e,t,n){t=t||"",n=n||"";var r=Tp.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var l=e.indexOf(n);l>0&&!i.test(e.substring(0,l))&&(o=!0)}return o}function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?La(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lp(e){var t=Ap();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Ap(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var l=2,s=r.slice(o,o+l).join(n),a=i[s];a===void 0&&r.length>o+l;)l++,s=r.slice(o,o+l).join(n),a=i[s];if(a===void 0)return;if(a===null)return null;if(t.endsWith(s)){if(typeof a=="string")return a;if(s&&typeof a[s]=="string")return a[s]}var u=r.slice(o+l).join(n);return u?Pc(a,u,n):void 0}i=i[r[o]]}return i}}var jp=function(e){ho(n,e);var t=Lp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return pt(this,n),i=t.call(this),mo&&nn.call(Gt(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return ht(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];l&&typeof l!="string"&&(p=p.concat(l)),l&&typeof l=="string"&&(p=p.concat(a?l.split(a):l)),i.indexOf(".")>-1&&(p=i.split("."));var d=bi(this.data,p);return d||!u||typeof l!="string"?d:Pc(this.data&&this.data[i]&&this.data[i][o],l,a)}},{key:"addResource",value:function(i,o,l,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];l&&(p=p.concat(u?l.split(u):l)),i.indexOf(".")>-1&&(p=i.split("."),s=o,o=p[1]),this.addNamespaces(o),Ta(this.data,p,s),a.silent||this.emit("added",i,o,l,s)}},{key:"addResources",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in l)(typeof l[a]=="string"||Object.prototype.toString.apply(l[a])==="[object Array]")&&this.addResource(i,o,a,l[a],{silent:!0});s.silent||this.emit("added",i,o,l)}},{key:"addResourceBundle",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),s=l,l=o,o=p[1]),this.addNamespaces(o);var d=bi(this.data,p)||{};s?Nc(d,l,a):d=si(si({},d),l),Ta(this.data,p,d),u.silent||this.emit("added",i,o,l)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?si(si({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),l=o&&Object.keys(o)||[];return!!l.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(nn),Ec={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var l=this;return t.forEach(function(s){l.processors[s]&&(n=l.processors[s].process(n,r,i,o))}),n}};function Aa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Aa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fp(e){var t=Dp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Dp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var ja={},Fa=function(e){ho(n,e);var t=Fp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pt(this,n),i=t.call(this),mo&&nn.call(Gt(i)),Ep(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Gt(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=kt.create("translator"),i}return ht(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var l=this.resolve(i,o);return l&&l.res!==void 0}},{key:"extractFromKey",value:function(i,o){var l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,a=o.ns||this.options.defaultNS||[],u=l&&i.indexOf(l)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Rp(i,l,s);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:a};var h=i.split(l);(l!==s||l===s&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),i=h.join(s)}return typeof a=="string"&&(a=[a]),{key:i,namespaces:a}}},{key:"translate",value:function(i,o,l){var s=this;if(me(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,h=p.namespaces,g=h[h.length-1],y=o.lng||this.language,k=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y&&y.toLowerCase()==="cimode"){if(k){var _=o.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(g).concat(_).concat(d),usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:"".concat(g).concat(_).concat(d)}return a?{res:d,usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:d}var f=this.resolve(i,o),c=f&&f.res,m=f&&f.usedKey||d,w=f&&f.exactUsedKey||d,O=Object.prototype.toString.apply(c),S=["[object Number]","[object Function]","[object RegExp]"],P=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,A=typeof c!="string"&&typeof c!="boolean"&&typeof c!="number";if(E&&c&&A&&S.indexOf(O)<0&&!(typeof P=="string"&&O==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,c,Oe(Oe({},o),{},{ns:h})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return a?(f.res=x,f):x}if(u){var H=O==="[object Array]",Te=H?[]:{},Nt=H?w:m;for(var rt in c)if(Object.prototype.hasOwnProperty.call(c,rt)){var xn="".concat(Nt).concat(u).concat(rt);Te[rt]=this.translate(xn,Oe(Oe({},o),{joinArrays:!1,ns:h})),Te[rt]===xn&&(Te[rt]=c[rt])}c=Te}}else if(E&&typeof P=="string"&&O==="[object Array]")c=c.join(P),c&&(c=this.extendTranslation(c,i,o,l));else{var mt=!1,it=!1,C=o.count!==void 0&&typeof o.count!="string",L=n.hasDefaultValue(o),j=C?this.pluralResolver.getSuffix(y,o.count,o):"",V=o["defaultValue".concat(j)]||o.defaultValue;!this.isValidLookup(c)&&L&&(mt=!0,c=V),this.isValidLookup(c)||(it=!0,c=d);var Q=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pt=Q&&it?void 0:c,ze=L&&V!==c&&this.options.updateMissing;if(it||mt||ze){if(this.logger.log(ze?"updateKey":"missingKey",y,g,d,ze?V:c),u){var Cn=this.resolve(d,Oe(Oe({},o),{},{keySeparator:!1}));Cn&&Cn.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var be=[],Et=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Et&&Et[0])for(var Lo=0;Lo<Et.length;Lo++)be.push(Et[Lo]);else this.options.saveMissingTo==="all"?be=this.languageUtils.toResolveHierarchy(o.lng||this.language):be.push(o.lng||this.language);var wa=function(In,jo,ka){var Sa=L&&ka!==c?ka:Pt;s.options.missingKeyHandler?s.options.missingKeyHandler(In,g,jo,Sa,ze,o):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(In,g,jo,Sa,ze,o),s.emit("missingKey",In,g,jo,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?be.forEach(function(Ao){s.pluralResolver.getSuffixes(Ao,o).forEach(function(In){wa([Ao],d+In,o["defaultValue".concat(In)]||V)})}):wa(be,d,V))}c=this.extendTranslation(c,i,o,f,l),it&&c===d&&this.options.appendNamespaceToMissingKey&&(c="".concat(g,":").concat(d)),(it||mt)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(g,":").concat(d):d,mt?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f):c}},{key:"extendTranslation",value:function(i,o,l,s,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,Oe(Oe({},this.options.interpolation.defaultVariables),l),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init(Oe(Oe({},l),{interpolation:Oe(Oe({},this.options.interpolation),l.interpolation)}));var p=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var h=i.match(this.interpolator.nestingRegexp);d=h&&h.length}var g=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(g=Oe(Oe({},this.options.interpolation.defaultVariables),g)),i=this.interpolator.interpolate(i,g,l.lng||this.language,l),p){var y=i.match(this.interpolator.nestingRegexp),k=y&&y.length;d<k&&(l.nest=!1)}l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var c=arguments.length,m=new Array(c),w=0;w<c;w++)m[w]=arguments[w];return a&&a[0]===m[0]&&!l.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(m[0]," in key: ").concat(o[0])),null):u.translate.apply(u,m.concat([o]))},l)),l.interpolation&&this.interpolator.reset()}var _=l.postProcess||this.options.postProcess,f=typeof _=="string"?[_]:_;return i!=null&&f&&f.length&&l.applyPostProcessor!==!1&&(i=Ec.handle(f,i,o,this.options&&this.options.postProcessPassResolved?Oe({i18nResolved:s},l):l,this)),i}},{key:"resolve",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(h){if(!o.isValidLookup(s)){var g=o.extractFromKey(h,l),y=g.key;a=y;var k=g.namespaces;o.options.fallbackNS&&(k=k.concat(o.options.fallbackNS));var _=l.count!==void 0&&typeof l.count!="string",f=_&&!l.ordinal&&l.count===0&&o.pluralResolver.shouldUseIntlApi(),c=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",m=l.lngs?l.lngs:o.languageUtils.toResolveHierarchy(l.lng||o.language,l.fallbackLng);k.forEach(function(w){o.isValidLookup(s)||(d=w,!ja["".concat(m[0],"-").concat(w)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(ja["".concat(m[0],"-").concat(w)]=!0,o.logger.warn('key "'.concat(a,'" for languages "').concat(m.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(function(O){if(!o.isValidLookup(s)){p=O;var S=[y];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(S,y,O,w,l);else{var P;_&&(P=o.pluralResolver.getSuffix(O,l.count,l));var E="".concat(o.options.pluralSeparator,"zero");if(_&&(S.push(y+P),f&&S.push(y+E)),c){var A="".concat(y).concat(o.options.contextSeparator).concat(l.context);S.push(A),_&&(S.push(A+P),f&&S.push(A+E))}}for(var x;x=S.pop();)o.isValidLookup(s)||(u=x,s=o.getResource(O,w,x,l))}}))})}}),{res:s,usedKey:a,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,s):this.resourceStore.getResource(i,o,l,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}]),n}(nn);function Do(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Da=function(){function e(t){pt(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=kt.create("languageUtils")}return ht(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Do(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var l=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(l))&&(i=l)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var l=r.getLanguagePartFromCode(o);if(r.isSupportedCode(l))return i=l;i=r.options.supportedLngs.find(function(s){if(s.indexOf(l)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),l=[],s=function(u){u&&(i.isSupportedCode(u)?l.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(a){l.indexOf(a)<0&&s(i.formatLanguageCode(a))}),l}}]),e}(),Up=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],zp={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},bp=["v1","v2","v3"],Ua={zero:0,one:1,two:2,few:3,many:4,other:5};function Vp(){var e={};return Up.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:zp[t.fc]}})}),e}var $p=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pt(this,e),this.languageUtils=t,this.options=n,this.logger=kt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Vp()}return ht(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(l,s){return Ua[l]-Ua[s]}).map(function(l){return"".concat(r.options.prepend).concat(l)}):o.numbers.map(function(l){return r.getSuffix(n,l,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),l=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(l===2?l="plural":l===1&&(l=""));var s=function(){return i.options.prepend&&l.toString()?i.options.prepend+l.toString():l.toString()};return this.options.compatibilityJSON==="v1"?l===1?"":typeof l=="number"?"_plural_".concat(l.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!bp.includes(this.options.compatibilityJSON)}}]),e}();function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ot(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Mp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(this,e),this.logger=kt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ht(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:Ip,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Tn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Tn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Tn(r.nestingPrefix):r.nestingPrefixEscaped||Tn("$t("),this.nestingSuffix=r.nestingSuffix?Tn(r.nestingSuffix):r.nestingSuffixEscaped||Tn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var l=this,s,a,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(_){return _.replace(/\$/g,"$$$$")}var h=function(f){if(f.indexOf(l.formatSeparator)<0){var c=Ra(r,p,f);return l.alwaysFormat?l.format(c,void 0,i,ot(ot(ot({},o),r),{},{interpolationkey:f})):c}var m=f.split(l.formatSeparator),w=m.shift().trim(),O=m.join(l.formatSeparator).trim();return l.format(Ra(r,p,w),O,i,ot(ot(ot({},o),r),{},{interpolationkey:w}))};this.resetRegExp();var g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,y=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,k=[{regex:this.regexpUnescape,safeValue:function(f){return d(f)}},{regex:this.regexp,safeValue:function(f){return l.escapeValue?d(l.escape(f)):d(f)}}];return k.forEach(function(_){for(u=0;s=_.regex.exec(n);){var f=s[1].trim();if(a=h(f),a===void 0)if(typeof g=="function"){var c=g(n,s,o);a=typeof c=="string"?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,f))a="";else if(y){a=s[0];continue}else l.logger.warn("missed to pass in variable ".concat(f," for interpolating ").concat(n)),a="";else typeof a!="string"&&!l.useRawValueToEscape&&(a=Ia(a));var m=_.safeValue(a);if(n=n.replace(s[0],m),y?(_.regex.lastIndex+=a.length,_.regex.lastIndex-=s[0].length):_.regex.lastIndex=0,u++,u>=l.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,s,a;function u(g,y){var k=this.nestingOptionsSeparator;if(g.indexOf(k)<0)return g;var _=g.split(new RegExp("".concat(k,"[ ]*{"))),f="{".concat(_[1]);g=_[0],f=this.interpolate(f,a);var c=f.match(/'/g),m=f.match(/"/g);(c&&c.length%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),y&&(a=ot(ot({},y),a))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(g),w),"".concat(g).concat(k).concat(f)}return delete a.defaultValue,g}for(;l=this.nestingRegexp.exec(n);){var p=[];a=ot({},o),a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;var d=!1;if(l[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(l[1])){var h=l[1].split(this.formatSeparator).map(function(g){return g.trim()});l[1]=h.shift(),p=h,d=!0}if(s=r(u.call(this,l[1].trim(),a),a),s&&l[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=Ia(s)),s||(this.logger.warn("missed to resolve ".concat(l[1]," for nesting ").concat(n)),s=""),d&&(s=p.reduce(function(g,y){return i.format(g,y,o.lng,ot(ot({},o),{},{interpolationkey:l[1].trim()}))},s.trim())),n=n.replace(l[0],s),this.regexp.lastIndex=0}return n}}]),e}();function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ba(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bp(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(l){if(l){var s=l.split(":"),a=_p(s),u=a[0],p=a.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function Rn(e){var t={};return function(r,i,o){var l=i+JSON.stringify(o),s=t[l];return s||(s=e(i,o),t[l]=s),s(r)}}var Kp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(this,e),this.logger=kt.create("formatter"),this.options=t,this.formats={number:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt({},r));return function(o){return i.format(o)}}),currency:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt(xt({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Rn(function(n,r){var i=new Intl.DateTimeFormat(n,xt({},r));return function(o){return i.format(o)}}),relativetime:Rn(function(n,r){var i=new Intl.RelativeTimeFormat(n,xt({},r));return function(o){return i.format(o,r.range||"day")}}),list:Rn(function(n,r){var i=new Intl.ListFormat(n,xt({},r));return function(o){return i.format(o)}})},this.init(t)}return ht(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Rn(r)}},{key:"format",value:function(n,r,i){var o=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=r.split(this.formatSeparator),a=s.reduce(function(u,p){var d=Bp(p),h=d.formatName,g=d.formatOptions;if(o.formats[h]){var y=u;try{var k=l&&l.formatParams&&l.formatParams[l.interpolationkey]||{},_=k.locale||k.lng||l.locale||l.lng||i;y=o.formats[h](u,_,xt(xt(xt({},g),l),k))}catch(f){o.logger.warn(f)}return y}else o.logger.warn("there was no format function for ".concat(h));return u},n);return a}}]),e}();function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Va(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hp(e){var t=Wp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Wp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gp(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Yp=function(e){ho(n,e);var t=Hp(n);function n(r,i,o){var l,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return pt(this,n),l=t.call(this),mo&&nn.call(Gt(l)),l.backend=r,l.store=i,l.services=o,l.languageUtils=o.languageUtils,l.options=s,l.logger=kt.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=s.maxParallelReads||10,l.readingCalls=0,l.maxRetries=s.maxRetries>=0?s.maxRetries:5,l.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(o,s.backend,s),l}return ht(n,[{key:"queueLoad",value:function(i,o,l,s){var a=this,u={},p={},d={},h={};return i.forEach(function(g){var y=!0;o.forEach(function(k){var _="".concat(g,"|").concat(k);!l.reload&&a.store.hasResourceBundle(g,k)?a.state[_]=2:a.state[_]<0||(a.state[_]===1?p[_]===void 0&&(p[_]=!0):(a.state[_]=1,y=!1,p[_]===void 0&&(p[_]=!0),u[_]===void 0&&(u[_]=!0),h[k]===void 0&&(h[k]=!0)))}),y||(d[g]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(h)}}},{key:"loaded",value:function(i,o,l){var s=i.split("|"),a=s[0],u=s[1];o&&this.emit("failedLoading",a,u,o),l&&this.store.addResourceBundle(a,u,l),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){xp(d.loaded,[a],u),Gp(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(h){p[h]||(p[h]={});var g=d.loaded[h];g.length&&g.forEach(function(y){p[h][y]===void 0&&(p[h][y]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,l){var s=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:a,wait:u,callback:p});return}this.readingCalls++;var d=function(k,_){if(s.readingCalls--,s.waitingReads.length>0){var f=s.waitingReads.shift();s.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(k&&_&&a<s.maxRetries){setTimeout(function(){s.read.call(s,i,o,l,a+1,u*2,p)},u);return}p(k,_)},h=this.backend[l].bind(this.backend);if(h.length===2){try{var g=h(i,o);g&&typeof g.then=="function"?g.then(function(y){return d(null,y)}).catch(d):d(null,g)}catch(y){d(y)}return}return h(i,o,d)}},{key:"prepareLoading",value:function(i,o){var l=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(p){l.loadOne(p)})}},{key:"load",value:function(i,o,l){this.prepareLoading(i,o,{},l)}},{key:"reload",value:function(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}},{key:"loadOne",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),a=s[0],u=s[1];this.read(a,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(l,"loading namespace ").concat(u," for language ").concat(a," failed"),p),!p&&d&&o.logger.log("".concat(l,"loaded namespace ").concat(u," for language ").concat(a),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(l,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){var d=$a($a({},u),{},{isUpdate:a}),h=this.backend.create.bind(this.backend);if(h.length<6)try{var g;h.length===5?g=h(i,o,l,s,d):g=h(i,o,l,s),g&&typeof g.then=="function"?g.then(function(y){return p(null,y)}).catch(p):p(null,g)}catch(y){p(y)}else h(i,o,l,s,p,d)}!i||!i[0]||this.store.addResource(i[0],o,l,s)}}}]),n}(nn);function Ma(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(me(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),me(t[2])==="object"||me(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ba(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qp(e){var t=Xp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Xp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ai(){}function Jp(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Vi=function(e){ho(n,e);var t=Qp(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(pt(this,n),r=t.call(this),mo&&nn.call(Gt(r)),r.options=Ba(i),r.services={},r.logger=kt,r.modules={external:[]},Jp(Gt(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),ei(r,Gt(r));setTimeout(function(){r.init(i,o)},0)}return r}return ht(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=Ma();this.options=gt(gt(gt({},s),this.options),Ba(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=gt(gt({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function a(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?kt.init(a(this.modules.logger),this.options):kt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Kp);var p=new Da(this.options);this.store=new jp(this.options.resources,this.options);var d=this.services;d.logger=kt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new $p(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=a(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Mp(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Yp(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.languageDetector&&(d.languageDetector=a(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=a(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Fa(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.external.forEach(function(f){f.init&&f.init(i)})}if(this.format=this.options.interpolation.format,l||(l=ai),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var g=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];g.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments)}});var y=["addResource","addResources","addResourceBundle","removeResourceBundle"];y.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments),i}});var k=fr(),_=function(){var c=function(w,O){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),k.resolve(O),l(w,O)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return c(null,i.t.bind(i));i.changeLanguage(i.options.lng,c)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),k}},{key:"loadResources",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=l,a=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return s();var u=[],p=function(g){if(g){var y=o.services.languageUtils.toResolveHierarchy(g);y.forEach(function(k){u.indexOf(k)<0&&u.push(k)})}};if(a)p(a);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(h){return p(h)})}this.options.preload&&this.options.preload.forEach(function(h){return p(h)}),this.services.backendConnector.load(u,this.options.ns,function(h){!h&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(h)})}else s(null)}},{key:"reloadResources",value:function(i,o,l){var s=fr();return i||(i=this.languages),o||(o=this.options.ns),l||(l=ai),this.services.backendConnector.reload(i,o,function(a){s.resolve(),l(a)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&Ec.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}},{key:"changeLanguage",value:function(i,o){var l=this;this.isLanguageChangingTo=i;var s=fr();this.emit("languageChanging",i);var a=function(h){l.language=h,l.languages=l.services.languageUtils.toResolveHierarchy(h),l.resolvedLanguage=void 0,l.setResolvedLanguage(h)},u=function(h,g){g?(a(g),l.translator.changeLanguage(g),l.isLanguageChangingTo=void 0,l.emit("languageChanged",g),l.logger.log("languageChanged",g)):l.isLanguageChangingTo=void 0,s.resolve(function(){return l.t.apply(l,arguments)}),o&&o(h,function(){return l.t.apply(l,arguments)})},p=function(h){!i&&!h&&l.services.languageDetector&&(h=[]);var g=typeof h=="string"?h:l.services.languageUtils.getBestMatchFromCodes(h);g&&(l.language||a(g),l.translator.language||l.translator.changeLanguage(g),l.services.languageDetector&&l.services.languageDetector.cacheUserLanguage&&l.services.languageDetector.cacheUserLanguage(g)),l.loadResources(g,function(y){u(y,g)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),s}},{key:"getFixedT",value:function(i,o,l){var s=this,a=function u(p,d){var h;if(me(d)!=="object"){for(var g=arguments.length,y=new Array(g>2?g-2:0),k=2;k<g;k++)y[k-2]=arguments[k];h=s.options.overloadTranslationOptionHandler([p,d].concat(y))}else h=gt({},d);h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix=h.keyPrefix||l||u.keyPrefix;var _=s.options.keySeparator||".",f;return h.keyPrefix&&Array.isArray(p)?f=p.map(function(c){return"".concat(h.keyPrefix).concat(_).concat(c)}):f=h.keyPrefix?"".concat(h.keyPrefix).concat(_).concat(p):p,s.t(f,h)};return typeof i=="string"?a.lng=i:a.lngs=i,a.ns=o,a.keyPrefix=l,a}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var p=function(g,y){var k=o.services.backendConnector.state["".concat(g,"|").concat(y)];return k===-1||k===2};if(l.precheck){var d=l.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(s,i)&&(!a||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var l=this,s=fr();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(a){l.options.ns.indexOf(a)<0&&l.options.ns.push(a)}),this.loadResources(function(a){s.resolve(),o&&o(a)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var l=fr();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],a=i.filter(function(u){return s.indexOf(u)<0});return a.length?(this.options.preload=s.concat(a),this.loadResources(function(u){l.resolve(),o&&o(u)}),l):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],l=this.services&&this.services.languageUtils||new Da(Ma());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=gt(gt(gt({},this.options),o),{isClone:!0}),a=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(a.logger=a.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){a[p]=i[p]}),a.services=gt({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new Fa(a.services,a.options),a.translator.on("*",function(p){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];a.emit.apply(a,[p].concat(h))}),a.init(s,l),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(nn);nt(Vi,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Vi(e,t)});var fe=Vi.createInstance();fe.createInstance=Vi.createInstance;fe.createInstance;fe.dir;fe.init;fe.loadResources;fe.reloadResources;fe.use;fe.changeLanguage;fe.getFixedT;fe.t;fe.exists;fe.setDefaultNamespace;fe.hasLoadedNamespace;fe.loadNamespaces;fe.loadLanguages;function Zp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ks(e,t){if(e==null)return{};var n=Zp(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var qp={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const eh=uc(qp);var th=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Ha(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(eh[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var i=new RegExp(th),o=null;(o=i.exec(e))!==null;)if(o[0].trim())if(o[1]){var l=o[1].trim(),s=[l,""];l.indexOf("=")>-1&&(s=l.split("=")),t.attrs[s[0]]=s[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var nh=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,rh=/^\s*$/,ih=Object.create(null);function xc(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(xc,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var oh={parse:function(e,t){t||(t={}),t.components||(t.components=ih);var n,r=[],i=[],o=-1,l=!1;if(e.indexOf("<")!==0){var s=e.indexOf("<");r.push({type:"text",content:s===-1?e:e.substring(0,s)})}return e.replace(nh,function(a,u){if(l){if(a!=="</"+n.name+">")return;l=!1}var p,d=a.charAt(1)!=="/",h=a.startsWith("<!--"),g=u+a.length,y=e.charAt(g);if(h){var k=Ha(a);return o<0?(r.push(k),r):((p=i[o]).children.push(k),r)}if(d&&(o++,(n=Ha(a)).type==="tag"&&t.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!y||y==="<"||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),o===0&&r.push(n),(p=i[o-1])&&p.children.push(n),i[o]=n),(!d||n.voidElement)&&(o>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(o--,n=o===-1?r:i[o]),!l&&y!=="<"&&y)){p=o===-1?r:i[o].children;var _=e.indexOf("<",g),f=e.slice(g,_===-1?void 0:_);rh.test(f)&&(f=" "),(_>-1&&o+p.length>=0||f!==" ")&&p.push({type:"text",content:f})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+xc("",n)},"")}};function Ci(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Wa={};function $i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Wa[t[0]]||(typeof t[0]=="string"&&(Wa[t[0]]=new Date),Ci.apply(void 0,t))}function Ga(e,t,n){e.loadNamespaces(t,function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}})}function lh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var l=function(a,u){var p=t.services.backendConnector.state["".concat(a,"|").concat(u)];return p===-1||p===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||l(r,e)&&(!i||l(o,e)))}function sh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return $i("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,l){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,e))return!1}}):lh(e,t,n)}var ah=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,uh={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},ch=function(t){return uh[t]},dh=function(t){return t.replace(ah,ch)};function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var vl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:dh};function fh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vl=Qa(Qa({},vl),e)}function Cc(){return vl}var Ic;function ph(e){Ic=e}function Ss(){return Ic}var hh=["format"],mh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uo(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function zo(e){return e?e.props?e.props.children:e.children:[]}function gh(e){return Object.prototype.toString.call(e)!=="[object Array]"?!1:e.every(function(t){return U.isValidElement(t)})}function Or(e){return Array.isArray(e)?e:[e]}function vh(e,t){var n=se({},t);return n.props=Object.assign(e.props,t.props),n}function Tc(e,t){if(!e)return"";var n="",r=Or(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(function(o,l){if(typeof o=="string")n+="".concat(o);else if(U.isValidElement(o)){var s=Object.keys(o.props).length,a=i.indexOf(o.type)>-1,u=o.props.children;if(!u&&a&&s===0)n+="<".concat(o.type,"/>");else if(!u&&(!a||s!==0))n+="<".concat(l,"></").concat(l,">");else if(o.props.i18nIsDynamicList)n+="<".concat(l,"></").concat(l,">");else if(a&&s===1&&typeof u=="string")n+="<".concat(o.type,">").concat(u,"</").concat(o.type,">");else{var p=Tc(u,t);n+="<".concat(l,">").concat(p,"</").concat(l,">")}}else if(o===null)Ci("Trans: the passed in value is invalid - seems you passed in a null child.");else if(me(o)==="object"){var d=o.format,h=ks(o,hh),g=Object.keys(h);if(g.length===1){var y=d?"".concat(g[0],", ").concat(d):g[0];n+="{{".concat(y,"}}")}else Ci("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else Ci("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n}function yh(e,t,n,r,i,o){if(t==="")return[];var l=r.transKeepBasicHtmlNodesFor||[],s=t&&new RegExp(l.join("|")).test(t);if(!e&&!s)return[t];var a={};function u(_){var f=Or(_);f.forEach(function(c){typeof c!="string"&&(Uo(c)?u(zo(c)):me(c)==="object"&&!U.isValidElement(c)&&Object.assign(a,c))})}u(e);var p=oh.parse("<0>".concat(t,"</0>")),d=se(se({},a),i);function h(_,f,c){var m=zo(_),w=y(m,f.children,c);return gh(m)&&w.length===0?m:w}function g(_,f,c,m,w){_.dummy&&(_.children=f),c.push(U.cloneElement(_,se(se({},_.props),{},{key:m}),w?void 0:f))}function y(_,f,c){var m=Or(_),w=Or(f);return w.reduce(function(O,S,P){var E=S.children&&S.children[0]&&S.children[0].content&&n.services.interpolator.interpolate(S.children[0].content,d,n.language);if(S.type==="tag"){var A=m[parseInt(S.name,10)];!A&&c.length===1&&c[0][S.name]&&(A=c[0][S.name]),A||(A={});var x=Object.keys(S.attrs).length!==0?vh({props:S.attrs},A):A,H=U.isValidElement(x),Te=H&&Uo(S,!0)&&!S.voidElement,Nt=s&&me(x)==="object"&&x.dummy&&!H,rt=me(e)==="object"&&e!==null&&Object.hasOwnProperty.call(e,S.name);if(typeof x=="string"){var xn=n.services.interpolator.interpolate(x,d,n.language);O.push(xn)}else if(Uo(x)||Te){var mt=h(x,S,c);g(x,mt,O,P)}else if(Nt){var it=y(m,S.children,c);O.push(U.cloneElement(x,se(se({},x.props),{},{key:P}),it))}else if(Number.isNaN(parseFloat(S.name)))if(rt){var C=h(x,S,c);g(x,C,O,P,S.voidElement)}else if(r.transSupportBasicHtmlNodes&&l.indexOf(S.name)>-1)if(S.voidElement)O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)}));else{var L=y(m,S.children,c);O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)},L))}else if(S.voidElement)O.push("<".concat(S.name," />"));else{var j=y(m,S.children,c);O.push("<".concat(S.name,">").concat(j,"</").concat(S.name,">"))}else if(me(x)==="object"&&!H){var V=S.children[0]?E:null;V&&O.push(V)}else S.children.length===1&&E?O.push(U.cloneElement(x,se(se({},x.props),{},{key:P}),E)):O.push(U.cloneElement(x,se(se({},x.props),{},{key:P})))}else if(S.type==="text"){var Q=r.transWrapTextNodes,Pt=o?r.unescape(n.services.interpolator.interpolate(S.content,d,n.language)):n.services.interpolator.interpolate(S.content,d,n.language);Q?O.push(U.createElement(Q,{key:"".concat(S.name,"-").concat(P)},Pt)):O.push(Pt)}return O},[])}var k=y([{dummy:!0,children:e||[]}],p,Or(e||[]));return zo(k[0])}function wh(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,mh),_=h||Ss();if(!_)return $i("You will need to pass in an i18next instance by using i18nextReactModule"),t;var f=g||_.t.bind(_)||function(Te){return Te};o&&(s.context=o);var c=se(se({},Cc()),_.options&&_.options.react),m=d||f.ns||_.options&&_.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"];var w=u||Tc(t,c)||c.transEmptyNodeValue||i,O=c.hashTransKey,S=i||(O?O(w):w),P=a?s.interpolation:{interpolation:se(se({},s.interpolation),{},{prefix:"#$?",suffix:"?$#"})},E=se(se(se(se({},s),{},{count:n},a),P),{},{defaultValue:w,ns:m}),A=S?f(S,E):w,x=yh(p||t,A,_,c,E,y),H=r!==void 0?r:c.defaultTransParent;return H?U.createElement(H,k,x):x}var kh={type:"3rdParty",init:function(t){fh(t.options.react),ph(t)}},Rc=U.createContext(),Sh=function(){function e(){pt(this,e),this.usedNamespaces={}}return ht(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}(),Oh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function b(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,Oh),_=U.useContext(Rc)||{},f=_.i18n,c=_.defaultNS,m=h||f||Ss(),w=g||m&&m.t.bind(m);return wh(_h({children:t,count:n,parent:r,i18nKey:i,context:o,tOptions:s,values:a,defaults:u,components:p,ns:d||w&&w.ns||c||m&&m.options&&m.options.defaultNS,i18n:m,t:g,shouldUnescape:y},k))}function Nh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,s=[],a=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);a=!0);}catch(p){u=!0,i=p}finally{try{if(!a&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return s}}function Ph(e,t){return Sc(e)||Nh(e,t)||Oc(e,t)||_c()}function Za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Za(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Eh=function(t,n){var r=U.useRef();return U.useEffect(function(){r.current=n?r.current:t},[t,n]),r.current};function B(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=U.useContext(Rc)||{},i=r.i18n,o=r.defaultNS,l=n||i||Ss();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new Sh),!l){$i("You will need to pass in an i18next instance by using initReactI18next");var s=function(A,x){return typeof x=="string"?x:x&&me(x)==="object"&&typeof x.defaultValue=="string"?x.defaultValue:Array.isArray(A)?A[A.length-1]:A},a=[s,{},!1];return a.t=s,a.i18n={},a.ready=!1,a}l.options.react&&l.options.react.wait!==void 0&&$i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=bo(bo(bo({},Cc()),l.options.react),t),p=u.useSuspense,d=u.keyPrefix,h=e||o||l.options&&l.options.defaultNS;h=typeof h=="string"?[h]:h||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(h);var g=(l.isInitialized||l.initializedStoreOnce)&&h.every(function(E){return sh(E,l,u)});function y(){return l.getFixedT(null,u.nsMode==="fallback"?h:h[0],d)}var k=U.useState(y),_=Ph(k,2),f=_[0],c=_[1],m=h.join(),w=Eh(m),O=U.useRef(!0);U.useEffect(function(){var E=u.bindI18n,A=u.bindI18nStore;O.current=!0,!g&&!p&&Ga(l,h,function(){O.current&&c(y)}),g&&w&&w!==m&&O.current&&c(y);function x(){O.current&&c(y)}return E&&l&&l.on(E,x),A&&l&&l.store.on(A,x),function(){O.current=!1,E&&l&&E.split(" ").forEach(function(H){return l.off(H,x)}),A&&l&&A.split(" ").forEach(function(H){return l.store.off(H,x)})}},[l,m]);var S=U.useRef(!0);U.useEffect(function(){O.current&&!S.current&&c(y),S.current=!1},[l,d]);var P=[f,l,g];if(P.t=f,P.i18n=l,P.ready=g,g||!g&&!p)return P;throw new Promise(function(E){Ga(l,h,function(){E()})})}const xh={prevReleases:"旧版",installationInstructions:"安装说明",getStarted:"入门指南",troubleshooting:"故障排除指南",systemRequirements:"系统要求",githubRepository:"OpenVINO 工具套件 GitHub 存储库",githubGenAIRepository:"OpenVINO GenAI GitHub 存储库",giteeRepository:"OpenVINO 工具套件 Gitee 存储库",giteeGenAIRepository:"OpenVINO GenAI Gitee 存储库"},Ch={OpenVINONotebooks:"准备好运行 OpenVINO 笔记本",tokenizers:"<0>OpenVINO Tokenizers</0> 用于简化 tokenizer 转换",nncf:"<0>NNCF</0> 用于在模型上执行压缩算法",ovms:"<0>OVMS</0> 用于为部署提供优化模型"},Ih={copy:"复制",copied:"已复制"},Th={resources:xh,relatedTools:Ch,copyCommand:Ih},Rh={titles:{recommended:"推荐",hddlSupport:"包含 NCS2/HDDL 支持",LTS:"LTS",nightlyBuild:"每日构建版"}},Lh={devTools:{title:"开发工具",subtitle:"开发和优化深度学习模型的最佳选择。"},runtime:{title:"运行时",subtitle:"您已拥有模型,并且希望对其运行推理。"}},Ah={includesNPUPlugin:"包括 NPU",openVINOArchives:"OpenVINO 归档文件",source:"源",pythonAPIOnly:"仅限 Python API",CAPIOnly:"仅限 C++ API",jsAPIOnly:"仅限 JavaScript API"},jh={package:{base:{title:"OpenVINO 基础程序包",subtitle:"利用基本 GenAI 进行全面推理"},genai:{title:"具有 GenAI 的 OpenVINO",subtitle:"全面推理 + 完整 GenAI 程序包"}},versions:Rh,environment:Lh,distributions:Ah},Fh={titles:{envinronment:"环境",os:"操作系统",version:"版本",distribution:"分发",frameworks:"框架",package:"封装",install:"安装",resources:"资源",relatedTools:"相关工具"}},Dh={install:"安装框架",tooltip:`我们假设所需的框架已经安装到您的环境中。如果没有,您可以使用 OpenVINO 工具套件安装该框架。
+可用框架:Caffe、Kaldi、Apache MXNet、PyTorch、ONNX、TensorFlow。`},Uh={apt:{steps:{download:"<0>第 1 步:</0>下载 <2>{{filename}}</2>。您也可以使用以下命令",addKey:"<0>第 2 步:</0>将此密钥添加到系统密钥环。",addRepository:"<0>第 3 步:</0>通过以下命令添加存储库。",updateList:"<0>第 4 步:</0>使用更新命令更新软件包列表。",verify:"<0>第 5 步:</0>验证 APT 存储库的设置是否正确。使用 apt-cache 命令查看包含所有可用 OpenVINO 程序包和组件的列表",install:"<0>第 6 步:</0>安装 OpenVINO 运行时。"}},brew:{steps:{install:"下载并安装程序包"}},conan:{steps:{createConanFile:"<0>第 1 步:</0>为您的 OpenVINO 项目创建一个 <2>{{txtFilename}}</2> 文件并在那里添加 “openvino” 依赖项",install:"<0>第 2 步:</0>运行下面的命令创建 <2>{{cmakeFilename}}</2> 文件,该文件将用来编译 OpenVINO 项目",compile:"<0>第 3 步:</0>配置和编译 OpenVINO 项目"}},conda:{steps:{createEnv:"<0>第 1 步:</0>创建 Anaconda 环境(以 Python 3.10 为例)",activateEnv:"<0>第 2 步:</0>激活 Anaconda 环境",update:"<0>第 3 步:</0>将 Anaconda 环境更新至最新版本",install:"<0>第 4 步:</0>下载并安装程序包。"}},download:{downloadArchives:"下载归档文件",downloadArchivesGenAI:"下载 GenAI 档案",gotoDocker:"转到 Docker",gotoInstallInstruction:"转到安装说明",useFollowingLink:"使用下方链接:"},githubGitee:{steps:{useGitClone:"<0>第 1 步:</0>运用 Git 克隆 OpenVINO 工具套件存储库。",buildInstructions:"<0>第 2 步:</0>按照<2>说明从源代码构建</2>"}},npm:{steps:{install:"下载并安装程序包"}},pip:{steps:{createVenv:"<0>第 1 步:</0>创建虚拟环境。",activateVenv:"<0>第 2 步:</0>激活虚拟环境。",upgradePip:"<0>第 3 步:</0>将 pip 升级到最新版本。",install:"<0>第 4 步:</0>下载并安装程序包。"}},vcpkg:{steps:{install:"下载并安装程序包"}},yum:{steps:{createRepoFile:"<0>第 1 步:</0>以正常用户身份在 /tmp 目录中创建 YUM 存储库文件。",moveFile:"<0>第 2 步:</0>将新的 openvino-{{year}}.repo 文件移动到 YUM 配置目录 <4>{{directory}}</4>。",verify:"<0>第 3 步:</0>使用以下命令验证新建存储库的设置是否正确。",install:"<0>第 4 步:</0>安装 OpenVINO 运行时。"}},zypper:{steps:{addRepo:"<0>第 1 步:</0>使用下面的命令创建一个 ZYPPER 存储库文件",refresh:"<0>第 2 步:</0>刷新存储库",install:"<0>第 3 步:</0>安装 OpenVINO"}}},zh={selectorForm:Fh,frameworks:Dh,distributions:Uh},bh={translation:zh,common:Th,core:jh},Vh={prevReleases:"Previous Releases",installationInstructions:"Installation Instructions",getStarted:"Get Started Guide",troubleshooting:"Troubleshooting Guide",systemRequirements:"System Requirements",githubRepository:"OpenVINO Toolkit GitHub Repository",githubGenAIRepository:"OpenVINO GenAI GitHub Repository",giteeRepository:"OpenVINO Toolkit Gitee Repository",giteeGenAIRepository:"OpenVINO GenAI Gitee Repository"},$h={OpenVINONotebooks:"Ready to run OpenVINO Notebooks",tokenizers:"<0>OpenVINO Tokenizers</0> to streamline tokenizer conversion",nncf:"<0>NNCF</0> for implementing compression algorithms on models",ovms:"<0>OVMS</0> for serving models optimized for deployment"},Mh={copy:"Copy",copied:"Copied"},Bh={resources:Vh,relatedTools:$h,copyCommand:Mh},Kh={titles:{recommended:"Recommended",hddlSupport:"Includes NCS2/HDDL support",LTS:"LTS",nightlyBuild:"Nightly Build"}},Hh={devTools:{title:"Development Tools",subtitle:"Your best option to develop and optimize deep learning models."},runtime:{title:"Runtime",subtitle:"You already have a model and want to run inference on it."}},Wh={includesNPUPlugin:"Includes NPU plugin",openVINOArchives:"OpenVINO Archives",source:"Source",pythonAPIOnly:"Python API only",CAPIOnly:"C++ API only",jsAPIOnly:"JavaScript API only"},Gh={package:{base:{title:"OpenVINO Base Package",subtitle:"Full inference with basic GenAI"},genai:{title:"OpenVINO with GenAI",subtitle:"Full inference + complete GenAI package"}},versions:Kh,environment:Hh,distributions:Wh},Yh={titles:{envinronment:"Environment",os:"Operating System",version:"Version",distribution:"Distribution",frameworks:"Frameworks",package:"Package",install:"Install",resources:"Resources",relatedTools:"Related Tools"}},Qh={install:"Install Frameworks",tooltip:`We assume that needed frameworks are already installed in your environment. If not, you can install them with OpenVINO toolkit.
+Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},Xh={apt:{steps:{download:"<0>Step 1:</0> Download the <2>{{filename}}</2>. You can also use the following command",addKey:"<0>Step 2:</0> Add this key to the system keyring",addRepository:"<0>Step 3:</0> Add the repository via the following command",updateList:"<0>Step 4:</0> Update the list of packages via the update command",verify:"<0>Step 5:</0> Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components",install:"<0>Step 6:</0> Install OpenVINO Runtime"}},brew:{steps:{install:"Download and install the package"}},conan:{steps:{createConanFile:"<0>Step 1:</0> Create a <2>{{txtFilename}}</2> file for your OpenVINO project and add “openvino” dependency in there",install:"<0>Step 2:</0> Run the command below to create <2>{{cmakeFilename}}</2> file, which will be used to compile your project with OpenVINO",compile:"<0>Step 3:</0> Configure and compile your project with OpenVINO"}},conda:{steps:{createEnv:"<0>Step 1:</0> Create the Anaconda environment (Python 3.10 used as an example)",activateEnv:"<0>Step 2:</0> Activate the Anaconda environment",update:"<0>Step 3:</0> Update the Anaconda environment to the latest version",install:"<0>Step 4:</0> Download and install the package"}},download:{downloadArchives:"Download Archives",downloadArchivesGenAI:"Download Archives with GenAI",gotoDocker:"Go to Docker",gotoInstallInstruction:"Go to Installation Instructions",useFollowingLink:"Use the following link:"},githubGitee:{steps:{useGitClone:"<0>Step 1:</0> Use Git to clone the OpenVINO toolkit repository",buildInstructions:"<0>Step 2:</0> Follow the <2>instructions to build from source</2>"}},npm:{steps:{install:"Download and install the package"}},pip:{steps:{createVenv:"<0>Step 1:</0> Create virtual environment",activateVenv:"<0>Step 2:</0> Activate virtual environment",upgradePip:"<0>Step 3:</0> Upgrade pip to latest version",install:"<0>Step 4:</0> Download and install the package"}},vcpkg:{steps:{install:"Download and install the package"}},yum:{steps:{createRepoFile:"<0>Step 1:</0> Create the YUM repo file in the /tmp directory as a normal user",moveFile:"<0>Step 2:</0> Move the new openvino-{{year}}.repo file to the YUM configuration directory <4>{{directory}}</4>",verify:"<0>Step 3:</0> Verify that the new repo is properly set up by running the following command",install:"<0>Step 4:</0> Install OpenVINO Runtime"}},zypper:{steps:{addRepo:"<0>Step 1:</0> Create a ZYPPER repository file with the command below",refresh:"<0>Step 2:</0> Refresh repositories",install:"<0>Step 3:</0> Install OpenVINO"}}},Jh={selectorForm:Yh,frameworks:Qh,distributions:Xh},Zh={translation:Jh,common:Bh,core:Gh},qn={en:Zh,cn:bh},yl="en";if(!(yl in qn))throw new Error(`'${yl}' language is not supported`);fe.use(kh).init({debug:!1,resources:qn,lng:yl,fallbackLng:"en",interpolation:{escapeValue:!1},supportedLngs:Object.keys(qn),returnObjects:!1,returnNull:!1});fe.t;var wl={},Lc={exports:{}},We={},Ac={exports:{}},jc={};/**
* @license React
* scheduler.production.min.js
*
@@ -27,7 +27,7 @@ Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},s
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */(function(e){function t(C,L){var F=C.length;C.push(L);e:for(;0<F;){var V=F-1>>>1,X=C[V];if(0<i(X,L))C[V]=L,C[F]=X,F=V;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var L=C[0],F=C.pop();if(F!==L){C[0]=F;e:for(var V=0,X=C.length,Nt=X>>>1;V<Nt;){var Ue=2*(V+1)-1,Cn=C[Ue],be=Ue+1,Pt=C[be];if(0>i(Cn,F))be<X&&0>i(Pt,Cn)?(C[V]=Pt,C[be]=F,V=be):(C[V]=Cn,C[Ue]=F,V=Ue);else if(be<X&&0>i(Pt,F))C[V]=Pt,C[be]=F,V=be;else break e}}return L}function i(C,L){var F=C.sortIndex-L.sortIndex;return F!==0?F:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],p=1,d=null,h=3,g=!1,y=!1,k=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(C){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=C)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function w(C){if(k=!1,m(C),!y)if(n(a)!==null)y=!0,ht(O);else{var L=n(u);L!==null&&rt(w,L.startTime-C)}}function O(C,L){y=!1,k&&(k=!1,f(x),x=-1),g=!0;var F=h;try{for(m(L),d=n(a);d!==null&&(!(d.expirationTime>L)||C&&!W());){var V=d.callback;if(typeof V=="function"){d.callback=null,h=d.priorityLevel;var X=V(d.expirationTime<=L);L=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(a)&&r(a),m(L)}else r(a);d=n(a)}if(d!==null)var Nt=!0;else{var Ue=n(u);Ue!==null&&rt(w,Ue.startTime-L),Nt=!1}return Nt}finally{d=null,h=F,g=!1}}var S=!1,P=null,x=-1,j=5,E=-1;function W(){return!(e.unstable_now()-E<j)}function Ie(){if(P!==null){var C=e.unstable_now();E=C;var L=!0;try{L=P(!0,C)}finally{L?_t():(S=!1,P=null)}}else S=!1}var _t;if(typeof c=="function")_t=function(){c(Ie)};else if(typeof MessageChannel<"u"){var nt=new MessageChannel,En=nt.port2;nt.port1.onmessage=Ie,_t=function(){En.postMessage(null)}}else _t=function(){_(Ie,0)};function ht(C){P=C,S||(S=!0,_t())}function rt(C,L){x=_(function(){C(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,ht(O))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(C){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var F=h;h=L;try{return C()}finally{h=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var F=h;h=C;try{return L()}finally{h=F}},e.unstable_scheduleCallback=function(C,L,F){var V=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?V+F:V):F=V,C){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=F+X,C={id:p++,callback:L,priorityLevel:C,startTime:F,expirationTime:X,sortIndex:-1},F>V?(C.sortIndex=F,t(u,C),n(a)===null&&C===n(u)&&(k?(f(x),x=-1):k=!0,rt(w,F-V))):(C.sortIndex=X,t(a,C),y||g||(y=!0,ht(O))),C},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(C){var L=h;return function(){var F=h;h=L;try{return C.apply(this,arguments)}finally{h=F}}}})(Fc);jc.exports=Fc;var tm=jc.exports;/**
+ */(function(e){function t(C,L){var j=C.length;C.push(L);e:for(;0<j;){var V=j-1>>>1,Q=C[V];if(0<i(Q,L))C[V]=L,C[j]=Q,j=V;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var L=C[0],j=C.pop();if(j!==L){C[0]=j;e:for(var V=0,Q=C.length,Pt=Q>>>1;V<Pt;){var ze=2*(V+1)-1,Cn=C[ze],be=ze+1,Et=C[be];if(0>i(Cn,j))be<Q&&0>i(Et,Cn)?(C[V]=Et,C[be]=j,V=be):(C[V]=Cn,C[ze]=j,V=ze);else if(be<Q&&0>i(Et,j))C[V]=Et,C[be]=j,V=be;else break e}}return L}function i(C,L){var j=C.sortIndex-L.sortIndex;return j!==0?j:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],p=1,d=null,h=3,g=!1,y=!1,k=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(C){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=C)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function w(C){if(k=!1,m(C),!y)if(n(a)!==null)y=!0,mt(O);else{var L=n(u);L!==null&&it(w,L.startTime-C)}}function O(C,L){y=!1,k&&(k=!1,f(E),E=-1),g=!0;var j=h;try{for(m(L),d=n(a);d!==null&&(!(d.expirationTime>L)||C&&!H());){var V=d.callback;if(typeof V=="function"){d.callback=null,h=d.priorityLevel;var Q=V(d.expirationTime<=L);L=e.unstable_now(),typeof Q=="function"?d.callback=Q:d===n(a)&&r(a),m(L)}else r(a);d=n(a)}if(d!==null)var Pt=!0;else{var ze=n(u);ze!==null&&it(w,ze.startTime-L),Pt=!1}return Pt}finally{d=null,h=j,g=!1}}var S=!1,P=null,E=-1,A=5,x=-1;function H(){return!(e.unstable_now()-x<A)}function Te(){if(P!==null){var C=e.unstable_now();x=C;var L=!0;try{L=P(!0,C)}finally{L?Nt():(S=!1,P=null)}}else S=!1}var Nt;if(typeof c=="function")Nt=function(){c(Te)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,xn=rt.port2;rt.port1.onmessage=Te,Nt=function(){xn.postMessage(null)}}else Nt=function(){_(Te,0)};function mt(C){P=C,S||(S=!0,Nt())}function it(C,L){E=_(function(){C(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,mt(O))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(C){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var j=h;h=L;try{return C()}finally{h=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var j=h;h=C;try{return L()}finally{h=j}},e.unstable_scheduleCallback=function(C,L,j){var V=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?V+j:V):j=V,C){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=j+Q,C={id:p++,callback:L,priorityLevel:C,startTime:j,expirationTime:Q,sortIndex:-1},j>V?(C.sortIndex=j,t(u,C),n(a)===null&&C===n(u)&&(k?(f(E),E=-1):k=!0,it(w,j-V))):(C.sortIndex=Q,t(a,C),y||g||(y=!0,mt(O))),C},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(C){var L=h;return function(){var j=h;h=L;try{return C.apply(this,arguments)}finally{h=j}}}})(jc);Ac.exports=jc;var qh=Ac.exports;/**
* @license React
* react-dom.production.min.js
*
@@ -35,22 +35,22 @@ Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},s
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var Ac=U,Ke=tm;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Dc=new Set,Dr={};function kn(e,t){er(e,t),er(e+"Capture",t)}function er(e,t){for(Dr[e]=t,e=0;e<t.length;e++)Dc.add(t[e])}var Lt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kl=Object.prototype.hasOwnProperty,nm=/^[: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]*$/,qa={},eu={};function rm(e){return kl.call(eu,e)?!0:kl.call(qa,e)?!1:nm.test(e)?eu[e]=!0:(qa[e]=!0,!1)}function im(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function om(e,t,n,r){if(t===null||typeof t>"u"||im(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Pe(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new Pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new Pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new Pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new Pe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new Pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new Pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new Pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new Pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new Pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Os=/[\-:]([a-z])/g;function _s(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Os,_s);me[t]=new Pe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Os,_s);me[t]=new Pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Os,_s);me[t]=new Pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new Pe(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new Pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new Pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ns(e,t,n,r){var i=me.hasOwnProperty(t)?me[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(om(t,n,i,r)&&(n=null),r||i===null?rm(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Dt=Ac.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ui=Symbol.for("react.element"),Fn=Symbol.for("react.portal"),An=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),Sl=Symbol.for("react.profiler"),Uc=Symbol.for("react.provider"),bc=Symbol.for("react.context"),xs=Symbol.for("react.forward_ref"),Ol=Symbol.for("react.suspense"),_l=Symbol.for("react.suspense_list"),Es=Symbol.for("react.memo"),zt=Symbol.for("react.lazy"),zc=Symbol.for("react.offscreen"),tu=Symbol.iterator;function pr(e){return e===null||typeof e!="object"?null:(e=tu&&e[tu]||e["@@iterator"],typeof e=="function"?e:null)}var q=Object.assign,Vo;function _r(e){if(Vo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Vo=t&&t[1]||""}return`
-`+Vo+e}var Mo=!1;function $o(e,t){if(!e||Mo)return"";Mo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
+ */var Fc=U,He=qh;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Dc=new Set,Dr={};function On(e,t){er(e,t),er(e+"Capture",t)}function er(e,t){for(Dr[e]=t,e=0;e<t.length;e++)Dc.add(t[e])}var At=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kl=Object.prototype.hasOwnProperty,em=/^[: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]*$/,qa={},eu={};function tm(e){return kl.call(eu,e)?!0:kl.call(qa,e)?!1:em.test(e)?eu[e]=!0:(qa[e]=!0,!1)}function nm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rm(e,t,n,r){if(t===null||typeof t>"u"||nm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ce(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ve[e]=new Ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ve[t]=new Ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ve[e]=new Ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ve[e]=new Ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ve[e]=new Ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ve[e]=new Ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ve[e]=new Ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ve[e]=new Ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ve[e]=new Ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Os=/[\-:]([a-z])/g;function _s(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ve[e]=new Ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ve.xlinkHref=new Ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ve[e]=new Ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ns(e,t,n,r){var i=ve.hasOwnProperty(t)?ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(rm(t,n,i,r)&&(n=null),r||i===null?tm(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ut=Fc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ui=Symbol.for("react.element"),jn=Symbol.for("react.portal"),Fn=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),Sl=Symbol.for("react.profiler"),Uc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Es=Symbol.for("react.forward_ref"),Ol=Symbol.for("react.suspense"),_l=Symbol.for("react.suspense_list"),xs=Symbol.for("react.memo"),$t=Symbol.for("react.lazy"),bc=Symbol.for("react.offscreen"),tu=Symbol.iterator;function pr(e){return e===null||typeof e!="object"?null:(e=tu&&e[tu]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,Vo;function _r(e){if(Vo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Vo=t&&t[1]||""}return`
+`+Vo+e}var $o=!1;function Mo(e,t){if(!e||$o)return"";$o=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),o=r.stack.split(`
`),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=`
-`+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Mo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_r(e):""}function lm(e){switch(e.tag){case 5:return _r(e.type);case 16:return _r("Lazy");case 13:return _r("Suspense");case 19:return _r("SuspenseList");case 0:case 2:case 15:return e=$o(e.type,!1),e;case 11:return e=$o(e.type.render,!1),e;case 1:return e=$o(e.type,!0),e;default:return""}}function Nl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case An:return"Fragment";case Fn:return"Portal";case Sl:return"Profiler";case Ps:return"StrictMode";case Ol:return"Suspense";case _l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bc:return(e.displayName||"Context")+".Consumer";case Uc:return(e._context.displayName||"Context")+".Provider";case xs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:Nl(e.type)||"Memo";case zt:t=e._payload,e=e._init;try{return Nl(e(t))}catch{}}return null}function sm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nl(t);case 8:return t===Ps?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function am(e){var t=Vc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ci(e){e._valueTracker||(e._valueTracker=am(e))}function Mc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $i(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 Pl(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $c(e,t){t=t.checked,t!=null&&Ns(e,"checked",t,!1)}function xl(e,t){$c(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?El(e,t.type,n):t.hasOwnProperty("defaultValue")&&El(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ru(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function El(e,t,n){(t!=="number"||$i(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Cl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function iu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(N(92));if(Nr(n)){if(1<n.length)throw Error(N(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tn(n)}}function Bc(e,t){var n=tn(t.value),r=tn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ou(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Kc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Il(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Kc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var di,Hc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(di=di||document.createElement("div"),di.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Er={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},um=["Webkit","ms","Moz","O"];Object.keys(Er).forEach(function(e){um.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Er[t]=Er[e]})});function Wc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Er.hasOwnProperty(e)&&Er[e]?(""+t).trim():t+"px"}function Gc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Wc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var cm=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tl(e,t){if(t){if(cm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Rl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jl=null,Gn=null,Yn=null;function lu(e){if(e=ri(e)){if(typeof jl!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ko(t),jl(e.stateNode,e.type,t))}}function Yc(e){Gn?Yn?Yn.push(e):Yn=[e]:Gn=e}function Qc(){if(Gn){var e=Gn,t=Yn;if(Yn=Gn=null,lu(e),t)for(e=0;e<t.length;e++)lu(t[e])}}function Xc(e,t){return e(t)}function Jc(){}var Bo=!1;function Zc(e,t,n){if(Bo)return e(t,n);Bo=!0;try{return Xc(e,t,n)}finally{Bo=!1,(Gn!==null||Yn!==null)&&(Jc(),Qc())}}function br(e,t){var n=e.stateNode;if(n===null)return null;var r=ko(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(N(231,t,typeof n));return n}var Fl=!1;if(Lt)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){Fl=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{Fl=!1}function dm(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Cr=!1,Bi=null,Ki=!1,Al=null,fm={onError:function(e){Cr=!0,Bi=e}};function pm(e,t,n,r,i,o,l,s,a){Cr=!1,Bi=null,dm.apply(fm,arguments)}function hm(e,t,n,r,i,o,l,s,a){if(pm.apply(this,arguments),Cr){if(Cr){var u=Bi;Cr=!1,Bi=null}else throw Error(N(198));Ki||(Ki=!0,Al=u)}}function Sn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function qc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function su(e){if(Sn(e)!==e)throw Error(N(188))}function mm(e){var t=e.alternate;if(!t){if(t=Sn(e),t===null)throw Error(N(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return su(i),e;if(o===r)return su(i),t;o=o.sibling}throw Error(N(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(N(189))}}if(n.alternate!==r)throw Error(N(190))}if(n.tag!==3)throw Error(N(188));return n.stateNode.current===n?e:t}function ed(e){return e=mm(e),e!==null?td(e):null}function td(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=td(e);if(t!==null)return t;e=e.sibling}return null}var nd=Ke.unstable_scheduleCallback,au=Ke.unstable_cancelCallback,gm=Ke.unstable_shouldYield,vm=Ke.unstable_requestPaint,re=Ke.unstable_now,ym=Ke.unstable_getCurrentPriorityLevel,Is=Ke.unstable_ImmediatePriority,rd=Ke.unstable_UserBlockingPriority,Hi=Ke.unstable_NormalPriority,wm=Ke.unstable_LowPriority,id=Ke.unstable_IdlePriority,go=null,kt=null;function km(e){if(kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(go,e,void 0,(e.current.flags&128)===128)}catch{}}var ut=Math.clz32?Math.clz32:_m,Sm=Math.log,Om=Math.LN2;function _m(e){return e>>>=0,e===0?32:31-(Sm(e)/Om|0)|0}var fi=64,pi=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=Pr(s):(o&=l,o!==0&&(r=Pr(o)))}else l=n&~i,l!==0?r=Pr(l):o!==0&&(r=Pr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ut(t),i=1<<n,r|=e[n],t&=~i;return r}function Nm(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pm(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ut(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=Nm(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Dl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function od(){var e=fi;return fi<<=1,!(fi&4194240)&&(fi=64),e}function Ko(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function xm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ut(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ts(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ut(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var B=0;function ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var sd,Rs,ad,ud,cd,Ul=!1,hi=[],Wt=null,Gt=null,Yt=null,zr=new Map,Vr=new Map,Mt=[],Em="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function uu(e,t){switch(e){case"focusin":case"focusout":Wt=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Yt=null;break;case"pointerover":case"pointerout":zr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vr.delete(t.pointerId)}}function mr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&Rs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Cm(e,t,n,r,i){switch(t){case"focusin":return Wt=mr(Wt,e,t,n,r,i),!0;case"dragenter":return Gt=mr(Gt,e,t,n,r,i),!0;case"mouseover":return Yt=mr(Yt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zr.set(o,mr(zr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Vr.set(o,mr(Vr.get(o)||null,e,t,n,r,i)),!0}return!1}function dd(e){var t=cn(e.target);if(t!==null){var n=Sn(t);if(n!==null){if(t=n.tag,t===13){if(t=qc(n),t!==null){e.blockedOn=t,cd(e.priority,function(){ad(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ii(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ll=r,n.target.dispatchEvent(r),Ll=null}else return t=ri(n),t!==null&&Rs(t),e.blockedOn=n,!1;t.shift()}return!0}function cu(e,t,n){Ii(e)&&n.delete(t)}function Im(){Ul=!1,Wt!==null&&Ii(Wt)&&(Wt=null),Gt!==null&&Ii(Gt)&&(Gt=null),Yt!==null&&Ii(Yt)&&(Yt=null),zr.forEach(cu),Vr.forEach(cu)}function gr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ul||(Ul=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,Im)))}function Mr(e){function t(i){return gr(i,e)}if(0<hi.length){gr(hi[0],e);for(var n=1;n<hi.length;n++){var r=hi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Wt!==null&&gr(Wt,e),Gt!==null&&gr(Gt,e),Yt!==null&&gr(Yt,e),zr.forEach(t),Vr.forEach(t),n=0;n<Mt.length;n++)r=Mt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&(n=Mt[0],n.blockedOn===null);)dd(n),n.blockedOn===null&&Mt.shift()}var Qn=Dt.ReactCurrentBatchConfig,Gi=!0;function Tm(e,t,n,r){var i=B,o=Qn.transition;Qn.transition=null;try{B=1,Ls(e,t,n,r)}finally{B=i,Qn.transition=o}}function Rm(e,t,n,r){var i=B,o=Qn.transition;Qn.transition=null;try{B=4,Ls(e,t,n,r)}finally{B=i,Qn.transition=o}}function Ls(e,t,n,r){if(Gi){var i=bl(e,t,n,r);if(i===null)el(e,t,r,Yi,n),uu(e,r);else if(Cm(i,e,t,n,r))r.stopPropagation();else if(uu(e,r),t&4&&-1<Em.indexOf(e)){for(;i!==null;){var o=ri(i);if(o!==null&&sd(o),o=bl(e,t,n,r),o===null&&el(e,t,r,Yi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else el(e,t,r,null,n)}}var Yi=null;function bl(e,t,n,r){if(Yi=null,e=Cs(r),e=cn(e),e!==null)if(t=Sn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=qc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yi=e,null}function fd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ym()){case Is:return 1;case rd:return 4;case Hi:case wm:return 16;case id:return 536870912;default:return 16}default:return 16}}var Bt=null,js=null,Ti=null;function pd(){if(Ti)return Ti;var e,t=js,n=t.length,r,i="value"in Bt?Bt.value:Bt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Ti=i.slice(e,1<r?1-r:void 0)}function Ri(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function mi(){return!0}function du(){return!1}function We(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?mi:du,this.isPropagationStopped=du,this}return q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=mi)},persist:function(){},isPersistent:mi}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fs=We(ar),ni=q({},ar,{view:0,detail:0}),Lm=We(ni),Ho,Wo,vr,vo=q({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:As,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vr&&(vr&&e.type==="mousemove"?(Ho=e.screenX-vr.screenX,Wo=e.screenY-vr.screenY):Wo=Ho=0,vr=e),Ho)},movementY:function(e){return"movementY"in e?e.movementY:Wo}}),fu=We(vo),jm=q({},vo,{dataTransfer:0}),Fm=We(jm),Am=q({},ni,{relatedTarget:0}),Go=We(Am),Dm=q({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),Um=We(Dm),bm=q({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zm=We(bm),Vm=q({},ar,{data:0}),pu=We(Vm),Mm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$m={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"},Bm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Km(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bm[e])?!!t[e]:!1}function As(){return Km}var Hm=q({},ni,{key:function(e){if(e.key){var t=Mm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ri(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$m[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:As,charCode:function(e){return e.type==="keypress"?Ri(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ri(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wm=We(Hm),Gm=q({},vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hu=We(Gm),Ym=q({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:As}),Qm=We(Ym),Xm=q({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jm=We(Xm),Zm=q({},vo,{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}),qm=We(Zm),eg=[9,13,27,32],Ds=Lt&&"CompositionEvent"in window,Ir=null;Lt&&"documentMode"in document&&(Ir=document.documentMode);var tg=Lt&&"TextEvent"in window&&!Ir,hd=Lt&&(!Ds||Ir&&8<Ir&&11>=Ir),mu=String.fromCharCode(32),gu=!1;function md(e,t){switch(e){case"keyup":return eg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function ng(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(gu=!0,mu);case"textInput":return e=t.data,e===mu&&gu?null:e;default:return null}}function rg(e,t){if(Dn)return e==="compositionend"||!Ds&&md(e,t)?(e=pd(),Ti=js=Bt=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hd&&t.locale!=="ko"?null:t.data;default:return null}}var ig={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 vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ig[e.type]:t==="textarea"}function vd(e,t,n,r){Yc(r),t=Qi(t,"onChange"),0<t.length&&(n=new Fs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Tr=null,$r=null;function og(e){Cd(e,0)}function yo(e){var t=zn(e);if(Mc(t))return e}function lg(e,t){if(e==="change")return t}var yd=!1;if(Lt){var Yo;if(Lt){var Qo="oninput"in document;if(!Qo){var yu=document.createElement("div");yu.setAttribute("oninput","return;"),Qo=typeof yu.oninput=="function"}Yo=Qo}else Yo=!1;yd=Yo&&(!document.documentMode||9<document.documentMode)}function wu(){Tr&&(Tr.detachEvent("onpropertychange",wd),$r=Tr=null)}function wd(e){if(e.propertyName==="value"&&yo($r)){var t=[];vd(t,$r,e,Cs(e)),Zc(og,t)}}function sg(e,t,n){e==="focusin"?(wu(),Tr=t,$r=n,Tr.attachEvent("onpropertychange",wd)):e==="focusout"&&wu()}function ag(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yo($r)}function ug(e,t){if(e==="click")return yo(t)}function cg(e,t){if(e==="input"||e==="change")return yo(t)}function dg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:dg;function Br(e,t){if(dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kl.call(t,i)||!dt(e[i],t[i]))return!1}return!0}function ku(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Su(e,t){var n=ku(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ku(n)}}function kd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=$i();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$i(e.document)}return t}function Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fg(e){var t=Sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kd(n.ownerDocument.documentElement,n)){if(r!==null&&Us(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Su(n,o);var l=Su(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pg=Lt&&"documentMode"in document&&11>=document.documentMode,Un=null,zl=null,Rr=null,Vl=!1;function Ou(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vl||Un==null||Un!==$i(r)||(r=Un,"selectionStart"in r&&Us(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&Br(Rr,r)||(Rr=r,r=Qi(zl,"onSelect"),0<r.length&&(t=new Fs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Un)))}function gi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bn={animationend:gi("Animation","AnimationEnd"),animationiteration:gi("Animation","AnimationIteration"),animationstart:gi("Animation","AnimationStart"),transitionend:gi("Transition","TransitionEnd")},Xo={},Od={};Lt&&(Od=document.createElement("div").style,"AnimationEvent"in window||(delete bn.animationend.animation,delete bn.animationiteration.animation,delete bn.animationstart.animation),"TransitionEvent"in window||delete bn.transitionend.transition);function wo(e){if(Xo[e])return Xo[e];if(!bn[e])return e;var t=bn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Od)return Xo[e]=t[n];return e}var _d=wo("animationend"),Nd=wo("animationiteration"),Pd=wo("animationstart"),xd=wo("transitionend"),Ed=new Map,_u="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rn(e,t){Ed.set(e,t),kn(t,[e])}for(var Jo=0;Jo<_u.length;Jo++){var Zo=_u[Jo],hg=Zo.toLowerCase(),mg=Zo[0].toUpperCase()+Zo.slice(1);rn(hg,"on"+mg)}rn(_d,"onAnimationEnd");rn(Nd,"onAnimationIteration");rn(Pd,"onAnimationStart");rn("dblclick","onDoubleClick");rn("focusin","onFocus");rn("focusout","onBlur");rn(xd,"onTransitionEnd");er("onMouseEnter",["mouseout","mouseover"]);er("onMouseLeave",["mouseout","mouseover"]);er("onPointerEnter",["pointerout","pointerover"]);er("onPointerLeave",["pointerout","pointerover"]);kn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));kn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));kn("onBeforeInput",["compositionend","keypress","textInput","paste"]);kn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));kn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));kn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="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(" "),gg=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function Nu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,hm(r,t,void 0,e),e.currentTarget=null}function Cd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}}}if(Ki)throw e=Al,Ki=!1,Al=null,e}function G(e,t){var n=t[Hl];n===void 0&&(n=t[Hl]=new Set);var r=e+"__bubble";n.has(r)||(Id(t,e,2,!1),n.add(r))}function qo(e,t,n){var r=0;t&&(r|=4),Id(n,e,r,t)}var vi="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[vi]){e[vi]=!0,Dc.forEach(function(n){n!=="selectionchange"&&(gg.has(n)||qo(n,!1,e),qo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vi]||(t[vi]=!0,qo("selectionchange",!1,t))}}function Id(e,t,n,r){switch(fd(t)){case 1:var i=Tm;break;case 4:i=Rm;break;default:i=Ls}n=i.bind(null,t,n,e),i=void 0,!Fl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function el(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=cn(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}Zc(function(){var u=o,p=Cs(n),d=[];e:{var h=Ed.get(e);if(h!==void 0){var g=Fs,y=e;switch(e){case"keypress":if(Ri(n)===0)break e;case"keydown":case"keyup":g=Wm;break;case"focusin":y="focus",g=Go;break;case"focusout":y="blur",g=Go;break;case"beforeblur":case"afterblur":g=Go;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=fu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Fm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Qm;break;case _d:case Nd:case Pd:g=Um;break;case xd:g=Jm;break;case"scroll":g=Lm;break;case"wheel":g=qm;break;case"copy":case"cut":case"paste":g=zm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=hu}var k=(t&4)!==0,_=!k&&e==="scroll",f=k?h!==null?h+"Capture":null:h;k=[];for(var c=u,m;c!==null;){m=c;var w=m.stateNode;if(m.tag===5&&w!==null&&(m=w,f!==null&&(w=br(c,f),w!=null&&k.push(Hr(c,w,m)))),_)break;c=c.return}0<k.length&&(h=new g(h,y,null,n,p),d.push({event:h,listeners:k}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",h&&n!==Ll&&(y=n.relatedTarget||n.fromElement)&&(cn(y)||y[jt]))break e;if((g||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?cn(y):null,y!==null&&(_=Sn(y),y!==_||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(k=fu,w="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=hu,w="onPointerLeave",f="onPointerEnter",c="pointer"),_=g==null?h:zn(g),m=y==null?h:zn(y),h=new k(w,c+"leave",g,n,p),h.target=_,h.relatedTarget=m,w=null,cn(p)===u&&(k=new k(f,c+"enter",y,n,p),k.target=m,k.relatedTarget=_,w=k),_=w,g&&y)t:{for(k=g,f=y,c=0,m=k;m;m=Ln(m))c++;for(m=0,w=f;w;w=Ln(w))m++;for(;0<c-m;)k=Ln(k),c--;for(;0<m-c;)f=Ln(f),m--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=Ln(k),f=Ln(f)}k=null}else k=null;g!==null&&Pu(d,h,g,k,!1),y!==null&&_!==null&&Pu(d,_,y,k,!0)}}e:{if(h=u?zn(u):window,g=h.nodeName&&h.nodeName.toLowerCase(),g==="select"||g==="input"&&h.type==="file")var O=lg;else if(vu(h))if(yd)O=cg;else{O=ag;var S=sg}else(g=h.nodeName)&&g.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(O=ug);if(O&&(O=O(e,u))){vd(d,O,n,p);break e}S&&S(e,h,u),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&El(h,"number",h.value)}switch(S=u?zn(u):window,e){case"focusin":(vu(S)||S.contentEditable==="true")&&(Un=S,zl=u,Rr=null);break;case"focusout":Rr=zl=Un=null;break;case"mousedown":Vl=!0;break;case"contextmenu":case"mouseup":case"dragend":Vl=!1,Ou(d,n,p);break;case"selectionchange":if(pg)break;case"keydown":case"keyup":Ou(d,n,p)}var P;if(Ds)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Dn?md(e,n)&&(x="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(x="onCompositionStart");x&&(hd&&n.locale!=="ko"&&(Dn||x!=="onCompositionStart"?x==="onCompositionEnd"&&Dn&&(P=pd()):(Bt=p,js="value"in Bt?Bt.value:Bt.textContent,Dn=!0)),S=Qi(u,x),0<S.length&&(x=new pu(x,e,null,n,p),d.push({event:x,listeners:S}),P?x.data=P:(P=gd(n),P!==null&&(x.data=P)))),(P=tg?ng(e,n):rg(e,n))&&(u=Qi(u,"onBeforeInput"),0<u.length&&(p=new pu("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=P))}Cd(d,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=br(e,n),o!=null&&r.unshift(Hr(e,o,i)),o=br(e,t),o!=null&&r.push(Hr(e,o,i))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pu(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=br(n,o),a!=null&&l.unshift(Hr(n,a,s))):i||(a=br(n,o),a!=null&&l.push(Hr(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var vg=/\r\n?/g,yg=/\u0000|\uFFFD/g;function xu(e){return(typeof e=="string"?e:""+e).replace(vg,`
-`).replace(yg,"")}function yi(e,t,n){if(t=xu(t),xu(e)!==t&&n)throw Error(N(425))}function Xi(){}var Ml=null,$l=null;function Bl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kl=typeof setTimeout=="function"?setTimeout:void 0,wg=typeof clearTimeout=="function"?clearTimeout:void 0,Eu=typeof Promise=="function"?Promise:void 0,kg=typeof queueMicrotask=="function"?queueMicrotask:typeof Eu<"u"?function(e){return Eu.resolve(null).then(e).catch(Sg)}:Kl;function Sg(e){setTimeout(function(){throw e})}function tl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Mr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Mr(t)}function Qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ur=Math.random().toString(36).slice(2),yt="__reactFiber$"+ur,Wr="__reactProps$"+ur,jt="__reactContainer$"+ur,Hl="__reactEvents$"+ur,Og="__reactListeners$"+ur,_g="__reactHandles$"+ur;function cn(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cu(e);e!==null;){if(n=e[yt])return n;e=Cu(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[yt]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function zn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function ko(e){return e[Wr]||null}var Wl=[],Vn=-1;function on(e){return{current:e}}function Y(e){0>Vn||(e.current=Wl[Vn],Wl[Vn]=null,Vn--)}function H(e,t){Vn++,Wl[Vn]=e.current,e.current=t}var nn={},we=on(nn),je=on(!1),mn=nn;function tr(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Fe(e){return e=e.childContextTypes,e!=null}function Ji(){Y(je),Y(we)}function Iu(e,t,n){if(we.current!==nn)throw Error(N(168));H(we,t),H(je,n)}function Td(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(N(108,sm(e)||"Unknown",i));return q({},n,r)}function Zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,mn=we.current,H(we,e),H(je,je.current),!0}function Tu(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Td(e,t,mn),r.__reactInternalMemoizedMergedChildContext=e,Y(je),Y(we),H(we,e)):Y(je),H(je,n)}var Ct=null,So=!1,nl=!1;function Rd(e){Ct===null?Ct=[e]:Ct.push(e)}function Ng(e){So=!0,Rd(e)}function ln(){if(!nl&&Ct!==null){nl=!0;var e=0,t=B;try{var n=Ct;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ct=null,So=!1}catch(i){throw Ct!==null&&(Ct=Ct.slice(e+1)),nd(Is,ln),i}finally{B=t,nl=!1}}return null}var Mn=[],$n=0,qi=null,eo=0,Ye=[],Qe=0,gn=null,It=1,Tt="";function sn(e,t){Mn[$n++]=eo,Mn[$n++]=qi,qi=e,eo=t}function Ld(e,t,n){Ye[Qe++]=It,Ye[Qe++]=Tt,Ye[Qe++]=gn,gn=e;var r=It;e=Tt;var i=32-ut(r)-1;r&=~(1<<i),n+=1;var o=32-ut(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,It=1<<32-ut(t)+i|n<<i|r,Tt=o+e}else It=1<<o|n<<i|r,Tt=e}function bs(e){e.return!==null&&(sn(e,1),Ld(e,1,0))}function zs(e){for(;e===qi;)qi=Mn[--$n],Mn[$n]=null,eo=Mn[--$n],Mn[$n]=null;for(;e===gn;)gn=Ye[--Qe],Ye[Qe]=null,Tt=Ye[--Qe],Ye[Qe]=null,It=Ye[--Qe],Ye[Qe]=null}var Be=null,$e=null,Q=!1,at=null;function jd(e,t){var n=Xe(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ru(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Be=e,$e=Qt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Be=e,$e=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=gn!==null?{id:It,overflow:Tt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Xe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Be=e,$e=null,!0):!1;default:return!1}}function Gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Yl(e){if(Q){var t=$e;if(t){var n=t;if(!Ru(e,t)){if(Gl(e))throw Error(N(418));t=Qt(n.nextSibling);var r=Be;t&&Ru(e,t)?jd(r,n):(e.flags=e.flags&-4097|2,Q=!1,Be=e)}}else{if(Gl(e))throw Error(N(418));e.flags=e.flags&-4097|2,Q=!1,Be=e}}}function Lu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Be=e}function wi(e){if(e!==Be)return!1;if(!Q)return Lu(e),Q=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bl(e.type,e.memoizedProps)),t&&(t=$e)){if(Gl(e))throw Fd(),Error(N(418));for(;t;)jd(e,t),t=Qt(t.nextSibling)}if(Lu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(N(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){$e=Qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}$e=null}}else $e=Be?Qt(e.stateNode.nextSibling):null;return!0}function Fd(){for(var e=$e;e;)e=Qt(e.nextSibling)}function nr(){$e=Be=null,Q=!1}function Vs(e){at===null?at=[e]:at.push(e)}var Pg=Dt.ReactCurrentBatchConfig;function lt(e,t){if(e&&e.defaultProps){t=q({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var to=on(null),no=null,Bn=null,Ms=null;function $s(){Ms=Bn=no=null}function Bs(e){var t=to.current;Y(to),e._currentValue=t}function Ql(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xn(e,t){no=e,Ms=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function qe(e){var t=e._currentValue;if(Ms!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(no===null)throw Error(N(308));Bn=e,no.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var dn=null;function Ks(e){dn===null?dn=[e]:dn.push(e)}function Ad(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ks(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ft(e,r)}function Ft(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Vt=!1;function Hs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,b&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ft(e,n)}return i=r.interleaved,i===null?(t.next=t,Ks(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ft(e,n)}function Li(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}function ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ro(e,t,n,r){var i=e.updateQueue;Vt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var p=e.alternate;p!==null&&(p=p.updateQueue,s=p.lastBaseUpdate,s!==l&&(s===null?p.firstBaseUpdate=u:s.next=u,p.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;l=0,p=u=a=null,s=o;do{var h=s.lane,g=s.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,k=s;switch(h=t,g=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){d=y.call(g,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,h=typeof y=="function"?y.call(g,d,h):y,h==null)break e;d=q({},d,h);break e;case 2:Vt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else g={eventTime:g,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},p===null?(u=p=g,a=d):p=p.next=g,l|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(1);if(p===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);yn|=l,e.lanes=l,e.memoizedState=d}}function Fu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(N(191,i));i.call(r)}}}var Ud=new Ac.Component().refs;function Xl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:q({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Oo={isMounted:function(e){return(e=e._reactInternals)?Sn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),i=Zt(e),o=Rt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Xt(e,o,i),t!==null&&(ct(t,e,i,r),Li(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),i=Zt(e),o=Rt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Xt(e,o,i),t!==null&&(ct(t,e,i,r),Li(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=Zt(e),i=Rt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Xt(e,i,r),t!==null&&(ct(t,e,r,n),Li(t,e,r))}};function Au(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Br(n,r)||!Br(i,o):!0}function bd(e,t,n){var r=!1,i=nn,o=t.contextType;return typeof o=="object"&&o!==null?o=qe(o):(i=Fe(t)?mn:we.current,r=t.contextTypes,o=(r=r!=null)?tr(e,i):nn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Oo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Du(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Oo.enqueueReplaceState(t,t.state,null)}function Jl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ud,Hs(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=qe(o):(o=Fe(t)?mn:we.current,i.context=tr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Oo.enqueueReplaceState(i,i.state,null),ro(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function yr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(N(309));var r=n.stateNode}if(!r)throw Error(N(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var s=i.refs;s===Ud&&(s=i.refs={}),l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(N(284));if(!n._owner)throw Error(N(290,e))}return e}function ki(e,t){throw e=Object.prototype.toString.call(t),Error(N(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uu(e){var t=e._init;return t(e._payload)}function zd(e){function t(f,c){if(e){var m=f.deletions;m===null?(f.deletions=[c],f.flags|=16):m.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function i(f,c){return f=qt(f,c),f.index=0,f.sibling=null,f}function o(f,c,m){return f.index=m,e?(m=f.alternate,m!==null?(m=m.index,m<c?(f.flags|=2,c):m):(f.flags|=2,c)):(f.flags|=1048576,c)}function l(f){return e&&f.alternate===null&&(f.flags|=2),f}function s(f,c,m,w){return c===null||c.tag!==6?(c=ul(m,f.mode,w),c.return=f,c):(c=i(c,m),c.return=f,c)}function a(f,c,m,w){var O=m.type;return O===An?p(f,c,m.props.children,w,m.key):c!==null&&(c.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===zt&&Uu(O)===c.type)?(w=i(c,m.props),w.ref=yr(f,c,m),w.return=f,w):(w=bi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,w)}function u(f,c,m,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=cl(m,f.mode,w),c.return=f,c):(c=i(c,m.children||[]),c.return=f,c)}function p(f,c,m,w,O){return c===null||c.tag!==7?(c=hn(m,f.mode,w,O),c.return=f,c):(c=i(c,m),c.return=f,c)}function d(f,c,m){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ul(""+c,f.mode,m),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case ui:return m=bi(c.type,c.key,c.props,null,f.mode,m),m.ref=yr(f,null,c),m.return=f,m;case Fn:return c=cl(c,f.mode,m),c.return=f,c;case zt:var w=c._init;return d(f,w(c._payload),m)}if(Nr(c)||pr(c))return c=hn(c,f.mode,m,null),c.return=f,c;ki(f,c)}return null}function h(f,c,m,w){var O=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return O!==null?null:s(f,c,""+m,w);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:return m.key===O?a(f,c,m,w):null;case Fn:return m.key===O?u(f,c,m,w):null;case zt:return O=m._init,h(f,c,O(m._payload),w)}if(Nr(m)||pr(m))return O!==null?null:p(f,c,m,w,null);ki(f,m)}return null}function g(f,c,m,w,O){if(typeof w=="string"&&w!==""||typeof w=="number")return f=f.get(m)||null,s(c,f,""+w,O);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ui:return f=f.get(w.key===null?m:w.key)||null,a(c,f,w,O);case Fn:return f=f.get(w.key===null?m:w.key)||null,u(c,f,w,O);case zt:var S=w._init;return g(f,c,m,S(w._payload),O)}if(Nr(w)||pr(w))return f=f.get(m)||null,p(c,f,w,O,null);ki(c,w)}return null}function y(f,c,m,w){for(var O=null,S=null,P=c,x=c=0,j=null;P!==null&&x<m.length;x++){P.index>x?(j=P,P=null):j=P.sibling;var E=h(f,P,m[x],w);if(E===null){P===null&&(P=j);break}e&&P&&E.alternate===null&&t(f,P),c=o(E,c,x),S===null?O=E:S.sibling=E,S=E,P=j}if(x===m.length)return n(f,P),Q&&sn(f,x),O;if(P===null){for(;x<m.length;x++)P=d(f,m[x],w),P!==null&&(c=o(P,c,x),S===null?O=P:S.sibling=P,S=P);return Q&&sn(f,x),O}for(P=r(f,P);x<m.length;x++)j=g(P,f,x,m[x],w),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?x:j.key),c=o(j,c,x),S===null?O=j:S.sibling=j,S=j);return e&&P.forEach(function(W){return t(f,W)}),Q&&sn(f,x),O}function k(f,c,m,w){var O=pr(m);if(typeof O!="function")throw Error(N(150));if(m=O.call(m),m==null)throw Error(N(151));for(var S=O=null,P=c,x=c=0,j=null,E=m.next();P!==null&&!E.done;x++,E=m.next()){P.index>x?(j=P,P=null):j=P.sibling;var W=h(f,P,E.value,w);if(W===null){P===null&&(P=j);break}e&&P&&W.alternate===null&&t(f,P),c=o(W,c,x),S===null?O=W:S.sibling=W,S=W,P=j}if(E.done)return n(f,P),Q&&sn(f,x),O;if(P===null){for(;!E.done;x++,E=m.next())E=d(f,E.value,w),E!==null&&(c=o(E,c,x),S===null?O=E:S.sibling=E,S=E);return Q&&sn(f,x),O}for(P=r(f,P);!E.done;x++,E=m.next())E=g(P,f,x,E.value,w),E!==null&&(e&&E.alternate!==null&&P.delete(E.key===null?x:E.key),c=o(E,c,x),S===null?O=E:S.sibling=E,S=E);return e&&P.forEach(function(Ie){return t(f,Ie)}),Q&&sn(f,x),O}function _(f,c,m,w){if(typeof m=="object"&&m!==null&&m.type===An&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:e:{for(var O=m.key,S=c;S!==null;){if(S.key===O){if(O=m.type,O===An){if(S.tag===7){n(f,S.sibling),c=i(S,m.props.children),c.return=f,f=c;break e}}else if(S.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===zt&&Uu(O)===S.type){n(f,S.sibling),c=i(S,m.props),c.ref=yr(f,S,m),c.return=f,f=c;break e}n(f,S);break}else t(f,S);S=S.sibling}m.type===An?(c=hn(m.props.children,f.mode,w,m.key),c.return=f,f=c):(w=bi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,f=w)}return l(f);case Fn:e:{for(S=m.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(f,c.sibling),c=i(c,m.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=cl(m,f.mode,w),c.return=f,f=c}return l(f);case zt:return S=m._init,_(f,c,S(m._payload),w)}if(Nr(m))return y(f,c,m,w);if(pr(m))return k(f,c,m,w);ki(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,m),c.return=f,f=c):(n(f,c),c=ul(m,f.mode,w),c.return=f,f=c),l(f)):n(f,c)}return _}var rr=zd(!0),Vd=zd(!1),ii={},St=on(ii),Gr=on(ii),Yr=on(ii);function fn(e){if(e===ii)throw Error(N(174));return e}function Ws(e,t){switch(H(Yr,t),H(Gr,e),H(St,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Il(t,e)}Y(St),H(St,t)}function ir(){Y(St),Y(Gr),Y(Yr)}function Md(e){fn(Yr.current);var t=fn(St.current),n=Il(t,e.type);t!==n&&(H(Gr,e),H(St,n))}function Gs(e){Gr.current===e&&(Y(St),Y(Gr))}var J=on(0);function io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rl=[];function Ys(){for(var e=0;e<rl.length;e++)rl[e]._workInProgressVersionPrimary=null;rl.length=0}var ji=Dt.ReactCurrentDispatcher,il=Dt.ReactCurrentBatchConfig,vn=0,Z=null,le=null,ae=null,oo=!1,Lr=!1,Qr=0,xg=0;function ge(){throw Error(N(321))}function Qs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dt(e[n],t[n]))return!1;return!0}function Xs(e,t,n,r,i,o){if(vn=o,Z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ji.current=e===null||e.memoizedState===null?Tg:Rg,e=n(r,i),Lr){o=0;do{if(Lr=!1,Qr=0,25<=o)throw Error(N(301));o+=1,ae=le=null,t.updateQueue=null,ji.current=Lg,e=n(r,i)}while(Lr)}if(ji.current=lo,t=le!==null&&le.next!==null,vn=0,ae=le=Z=null,oo=!1,t)throw Error(N(300));return e}function Js(){var e=Qr!==0;return Qr=0,e}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ae===null?Z.memoizedState=ae=e:ae=ae.next=e,ae}function et(){if(le===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=le.next;var t=ae===null?Z.memoizedState:ae.next;if(t!==null)ae=t,le=e;else{if(e===null)throw Error(N(310));le=e,e={memoizedState:le.memoizedState,baseState:le.baseState,baseQueue:le.baseQueue,queue:le.queue,next:null},ae===null?Z.memoizedState=ae=e:ae=ae.next=e}return ae}function Xr(e,t){return typeof t=="function"?t(e):t}function ol(e){var t=et(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=le,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var p=u.lane;if((vn&p)===p)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:p,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=d,l=r):a=a.next=d,Z.lanes|=p,yn|=p}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,dt(r,t.memoizedState)||(Le=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Z.lanes|=o,yn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ll(e){var t=et(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);dt(o,t.memoizedState)||(Le=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function $d(){}function Bd(e,t){var n=Z,r=et(),i=t(),o=!dt(r.memoizedState,i);if(o&&(r.memoizedState=i,Le=!0),r=r.queue,Zs(Wd.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ae!==null&&ae.memoizedState.tag&1){if(n.flags|=2048,Jr(9,Hd.bind(null,n,r,i,t),void 0,null),ue===null)throw Error(N(349));vn&30||Kd(n,t,i)}return i}function Kd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Z.updateQueue,t===null?(t={lastEffect:null,stores:null},Z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Hd(e,t,n,r){t.value=n,t.getSnapshot=r,Gd(t)&&Yd(e)}function Wd(e,t,n){return n(function(){Gd(t)&&Yd(e)})}function Gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dt(e,n)}catch{return!0}}function Yd(e){var t=Ft(e,1);t!==null&&ct(t,e,1,-1)}function bu(e){var t=vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xr,lastRenderedState:e},t.queue=e,e=e.dispatch=Ig.bind(null,Z,e),[t.memoizedState,e]}function Jr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Z.updateQueue,t===null?(t={lastEffect:null,stores:null},Z.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qd(){return et().memoizedState}function Fi(e,t,n,r){var i=vt();Z.flags|=e,i.memoizedState=Jr(1|t,n,void 0,r===void 0?null:r)}function _o(e,t,n,r){var i=et();r=r===void 0?null:r;var o=void 0;if(le!==null){var l=le.memoizedState;if(o=l.destroy,r!==null&&Qs(r,l.deps)){i.memoizedState=Jr(t,n,o,r);return}}Z.flags|=e,i.memoizedState=Jr(1|t,n,o,r)}function zu(e,t){return Fi(8390656,8,e,t)}function Zs(e,t){return _o(2048,8,e,t)}function Xd(e,t){return _o(4,2,e,t)}function Jd(e,t){return _o(4,4,e,t)}function Zd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qd(e,t,n){return n=n!=null?n.concat([e]):null,_o(4,4,Zd.bind(null,t,e),n)}function qs(){}function ef(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tf(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nf(e,t,n){return vn&21?(dt(n,t)||(n=od(),Z.lanes|=n,yn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Le=!0),e.memoizedState=n)}function Eg(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{B=n,il.transition=r}}function rf(){return et().memoizedState}function Cg(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},of(e))lf(t,n);else if(n=Ad(e,t,n,r),n!==null){var i=_e();ct(n,e,r,i),sf(n,t,r)}}function Ig(e,t,n){var r=Zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(of(e))lf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,dt(s,l)){var a=t.interleaved;a===null?(i.next=i,Ks(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Ad(e,t,i,r),n!==null&&(i=_e(),ct(n,e,r,i),sf(n,t,r))}}function of(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function lf(e,t){Lr=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}var lo={readContext:qe,useCallback:ge,useContext:ge,useEffect:ge,useImperativeHandle:ge,useInsertionEffect:ge,useLayoutEffect:ge,useMemo:ge,useReducer:ge,useRef:ge,useState:ge,useDebugValue:ge,useDeferredValue:ge,useTransition:ge,useMutableSource:ge,useSyncExternalStore:ge,useId:ge,unstable_isNewReconciler:!1},Tg={readContext:qe,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:qe,useEffect:zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fi(4194308,4,Zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fi(4,2,e,t)},useMemo:function(e,t){var n=vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cg.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:bu,useDebugValue:qs,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=bu(!1),t=e[0];return e=Eg.bind(null,e[1]),vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,i=vt();if(Q){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),ue===null)throw Error(N(349));vn&30||Kd(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,zu(Wd.bind(null,r,o,e),[e]),r.flags|=2048,Jr(9,Hd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vt(),t=ue.identifierPrefix;if(Q){var n=Tt,r=It;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=xg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Rg={readContext:qe,useCallback:ef,useContext:qe,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ol,useRef:Qd,useState:function(){return ol(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=et();return nf(t,le.memoizedState,e)},useTransition:function(){var e=ol(Xr)[0],t=et().memoizedState;return[e,t]},useMutableSource:$d,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1},Lg={readContext:qe,useCallback:ef,useContext:qe,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ll,useRef:Qd,useState:function(){return ll(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=et();return le===null?t.memoizedState=e:nf(t,le.memoizedState,e)},useTransition:function(){var e=ll(Xr)[0],t=et().memoizedState;return[e,t]},useMutableSource:$d,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1};function or(e,t){try{var n="",r=t;do n+=lm(r),r=r.return;while(r);var i=n}catch(o){i=`
+`+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_r(e):""}function im(e){switch(e.tag){case 5:return _r(e.type);case 16:return _r("Lazy");case 13:return _r("Suspense");case 19:return _r("SuspenseList");case 0:case 2:case 15:return e=Mo(e.type,!1),e;case 11:return e=Mo(e.type.render,!1),e;case 1:return e=Mo(e.type,!0),e;default:return""}}function Nl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fn:return"Fragment";case jn:return"Portal";case Sl:return"Profiler";case Ps:return"StrictMode";case Ol:return"Suspense";case _l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zc:return(e.displayName||"Context")+".Consumer";case Uc:return(e._context.displayName||"Context")+".Provider";case Es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xs:return t=e.displayName||null,t!==null?t:Nl(e.type)||"Memo";case $t:t=e._payload,e=e._init;try{return Nl(e(t))}catch{}}return null}function om(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nl(t);case 8:return t===Ps?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lm(e){var t=Vc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ci(e){e._valueTracker||(e._valueTracker=lm(e))}function $c(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mi(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 Pl(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mc(e,t){t=t.checked,t!=null&&Ns(e,"checked",t,!1)}function El(e,t){Mc(e,t);var n=rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&xl(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ru(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xl(e,t,n){(t!=="number"||Mi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Cl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function iu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(N(92));if(Nr(n)){if(1<n.length)throw Error(N(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rn(n)}}function Bc(e,t){var n=rn(t.value),r=rn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ou(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Kc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Il(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Kc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var di,Hc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(di=di||document.createElement("div"),di.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sm=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){sm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function Wc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function Gc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Wc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var am=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tl(e,t){if(t){if(am[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Rl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Al=null,Gn=null,Yn=null;function lu(e){if(e=ri(e)){if(typeof Al!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ko(t),Al(e.stateNode,e.type,t))}}function Yc(e){Gn?Yn?Yn.push(e):Yn=[e]:Gn=e}function Qc(){if(Gn){var e=Gn,t=Yn;if(Yn=Gn=null,lu(e),t)for(e=0;e<t.length;e++)lu(t[e])}}function Xc(e,t){return e(t)}function Jc(){}var Bo=!1;function Zc(e,t,n){if(Bo)return e(t,n);Bo=!0;try{return Xc(e,t,n)}finally{Bo=!1,(Gn!==null||Yn!==null)&&(Jc(),Qc())}}function zr(e,t){var n=e.stateNode;if(n===null)return null;var r=ko(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(N(231,t,typeof n));return n}var jl=!1;if(At)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){jl=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{jl=!1}function um(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Cr=!1,Bi=null,Ki=!1,Fl=null,cm={onError:function(e){Cr=!0,Bi=e}};function dm(e,t,n,r,i,o,l,s,a){Cr=!1,Bi=null,um.apply(cm,arguments)}function fm(e,t,n,r,i,o,l,s,a){if(dm.apply(this,arguments),Cr){if(Cr){var u=Bi;Cr=!1,Bi=null}else throw Error(N(198));Ki||(Ki=!0,Fl=u)}}function _n(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function qc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function su(e){if(_n(e)!==e)throw Error(N(188))}function pm(e){var t=e.alternate;if(!t){if(t=_n(e),t===null)throw Error(N(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return su(i),e;if(o===r)return su(i),t;o=o.sibling}throw Error(N(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(N(189))}}if(n.alternate!==r)throw Error(N(190))}if(n.tag!==3)throw Error(N(188));return n.stateNode.current===n?e:t}function ed(e){return e=pm(e),e!==null?td(e):null}function td(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=td(e);if(t!==null)return t;e=e.sibling}return null}var nd=He.unstable_scheduleCallback,au=He.unstable_cancelCallback,hm=He.unstable_shouldYield,mm=He.unstable_requestPaint,re=He.unstable_now,gm=He.unstable_getCurrentPriorityLevel,Is=He.unstable_ImmediatePriority,rd=He.unstable_UserBlockingPriority,Hi=He.unstable_NormalPriority,vm=He.unstable_LowPriority,id=He.unstable_IdlePriority,go=null,St=null;function ym(e){if(St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(go,e,void 0,(e.current.flags&128)===128)}catch{}}var ct=Math.clz32?Math.clz32:Sm,wm=Math.log,km=Math.LN2;function Sm(e){return e>>>=0,e===0?32:31-(wm(e)/km|0)|0}var fi=64,pi=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=Pr(s):(o&=l,o!==0&&(r=Pr(o)))}else l=n&~i,l!==0?r=Pr(l):o!==0&&(r=Pr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ct(t),i=1<<n,r|=e[n],t&=~i;return r}function Om(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _m(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ct(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=Om(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Dl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function od(){var e=fi;return fi<<=1,!(fi&4194240)&&(fi=64),e}function Ko(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Nm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ct(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ts(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ct(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var sd,Rs,ad,ud,cd,Ul=!1,hi=[],Yt=null,Qt=null,Xt=null,br=new Map,Vr=new Map,Bt=[],Pm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function uu(e,t){switch(e){case"focusin":case"focusout":Yt=null;break;case"dragenter":case"dragleave":Qt=null;break;case"mouseover":case"mouseout":Xt=null;break;case"pointerover":case"pointerout":br.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vr.delete(t.pointerId)}}function mr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&Rs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Em(e,t,n,r,i){switch(t){case"focusin":return Yt=mr(Yt,e,t,n,r,i),!0;case"dragenter":return Qt=mr(Qt,e,t,n,r,i),!0;case"mouseover":return Xt=mr(Xt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return br.set(o,mr(br.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Vr.set(o,mr(Vr.get(o)||null,e,t,n,r,i)),!0}return!1}function dd(e){var t=fn(e.target);if(t!==null){var n=_n(t);if(n!==null){if(t=n.tag,t===13){if(t=qc(n),t!==null){e.blockedOn=t,cd(e.priority,function(){ad(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ii(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ll=r,n.target.dispatchEvent(r),Ll=null}else return t=ri(n),t!==null&&Rs(t),e.blockedOn=n,!1;t.shift()}return!0}function cu(e,t,n){Ii(e)&&n.delete(t)}function xm(){Ul=!1,Yt!==null&&Ii(Yt)&&(Yt=null),Qt!==null&&Ii(Qt)&&(Qt=null),Xt!==null&&Ii(Xt)&&(Xt=null),br.forEach(cu),Vr.forEach(cu)}function gr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ul||(Ul=!0,He.unstable_scheduleCallback(He.unstable_NormalPriority,xm)))}function $r(e){function t(i){return gr(i,e)}if(0<hi.length){gr(hi[0],e);for(var n=1;n<hi.length;n++){var r=hi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yt!==null&&gr(Yt,e),Qt!==null&&gr(Qt,e),Xt!==null&&gr(Xt,e),br.forEach(t),Vr.forEach(t),n=0;n<Bt.length;n++)r=Bt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Bt.length&&(n=Bt[0],n.blockedOn===null);)dd(n),n.blockedOn===null&&Bt.shift()}var Qn=Ut.ReactCurrentBatchConfig,Gi=!0;function Cm(e,t,n,r){var i=M,o=Qn.transition;Qn.transition=null;try{M=1,Ls(e,t,n,r)}finally{M=i,Qn.transition=o}}function Im(e,t,n,r){var i=M,o=Qn.transition;Qn.transition=null;try{M=4,Ls(e,t,n,r)}finally{M=i,Qn.transition=o}}function Ls(e,t,n,r){if(Gi){var i=zl(e,t,n,r);if(i===null)el(e,t,r,Yi,n),uu(e,r);else if(Em(i,e,t,n,r))r.stopPropagation();else if(uu(e,r),t&4&&-1<Pm.indexOf(e)){for(;i!==null;){var o=ri(i);if(o!==null&&sd(o),o=zl(e,t,n,r),o===null&&el(e,t,r,Yi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else el(e,t,r,null,n)}}var Yi=null;function zl(e,t,n,r){if(Yi=null,e=Cs(r),e=fn(e),e!==null)if(t=_n(e),t===null)e=null;else if(n=t.tag,n===13){if(e=qc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yi=e,null}function fd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gm()){case Is:return 1;case rd:return 4;case Hi:case vm:return 16;case id:return 536870912;default:return 16}default:return 16}}var Ht=null,As=null,Ti=null;function pd(){if(Ti)return Ti;var e,t=As,n=t.length,r,i="value"in Ht?Ht.value:Ht.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Ti=i.slice(e,1<r?1-r:void 0)}function Ri(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function mi(){return!0}function du(){return!1}function Ge(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?mi:du,this.isPropagationStopped=du,this}return Z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=mi)},persist:function(){},isPersistent:mi}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},js=Ge(ar),ni=Z({},ar,{view:0,detail:0}),Tm=Ge(ni),Ho,Wo,vr,vo=Z({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vr&&(vr&&e.type==="mousemove"?(Ho=e.screenX-vr.screenX,Wo=e.screenY-vr.screenY):Wo=Ho=0,vr=e),Ho)},movementY:function(e){return"movementY"in e?e.movementY:Wo}}),fu=Ge(vo),Rm=Z({},vo,{dataTransfer:0}),Lm=Ge(Rm),Am=Z({},ni,{relatedTarget:0}),Go=Ge(Am),jm=Z({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),Fm=Ge(jm),Dm=Z({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Um=Ge(Dm),zm=Z({},ar,{data:0}),pu=Ge(zm),bm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vm={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"},$m={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$m[e])?!!t[e]:!1}function Fs(){return Mm}var Bm=Z({},ni,{key:function(e){if(e.key){var t=bm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ri(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fs,charCode:function(e){return e.type==="keypress"?Ri(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ri(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Km=Ge(Bm),Hm=Z({},vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hu=Ge(Hm),Wm=Z({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fs}),Gm=Ge(Wm),Ym=Z({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qm=Ge(Ym),Xm=Z({},vo,{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}),Jm=Ge(Xm),Zm=[9,13,27,32],Ds=At&&"CompositionEvent"in window,Ir=null;At&&"documentMode"in document&&(Ir=document.documentMode);var qm=At&&"TextEvent"in window&&!Ir,hd=At&&(!Ds||Ir&&8<Ir&&11>=Ir),mu=String.fromCharCode(32),gu=!1;function md(e,t){switch(e){case"keyup":return Zm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function eg(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(gu=!0,mu);case"textInput":return e=t.data,e===mu&&gu?null:e;default:return null}}function tg(e,t){if(Dn)return e==="compositionend"||!Ds&&md(e,t)?(e=pd(),Ti=As=Ht=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hd&&t.locale!=="ko"?null:t.data;default:return null}}var ng={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 vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ng[e.type]:t==="textarea"}function vd(e,t,n,r){Yc(r),t=Qi(t,"onChange"),0<t.length&&(n=new js("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Tr=null,Mr=null;function rg(e){Cd(e,0)}function yo(e){var t=bn(e);if($c(t))return e}function ig(e,t){if(e==="change")return t}var yd=!1;if(At){var Yo;if(At){var Qo="oninput"in document;if(!Qo){var yu=document.createElement("div");yu.setAttribute("oninput","return;"),Qo=typeof yu.oninput=="function"}Yo=Qo}else Yo=!1;yd=Yo&&(!document.documentMode||9<document.documentMode)}function wu(){Tr&&(Tr.detachEvent("onpropertychange",wd),Mr=Tr=null)}function wd(e){if(e.propertyName==="value"&&yo(Mr)){var t=[];vd(t,Mr,e,Cs(e)),Zc(rg,t)}}function og(e,t,n){e==="focusin"?(wu(),Tr=t,Mr=n,Tr.attachEvent("onpropertychange",wd)):e==="focusout"&&wu()}function lg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yo(Mr)}function sg(e,t){if(e==="click")return yo(t)}function ag(e,t){if(e==="input"||e==="change")return yo(t)}function ug(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ft=typeof Object.is=="function"?Object.is:ug;function Br(e,t){if(ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kl.call(t,i)||!ft(e[i],t[i]))return!1}return!0}function ku(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Su(e,t){var n=ku(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ku(n)}}function kd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=Mi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mi(e.document)}return t}function Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cg(e){var t=Sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kd(n.ownerDocument.documentElement,n)){if(r!==null&&Us(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Su(n,o);var l=Su(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dg=At&&"documentMode"in document&&11>=document.documentMode,Un=null,bl=null,Rr=null,Vl=!1;function Ou(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vl||Un==null||Un!==Mi(r)||(r=Un,"selectionStart"in r&&Us(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&Br(Rr,r)||(Rr=r,r=Qi(bl,"onSelect"),0<r.length&&(t=new js("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Un)))}function gi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zn={animationend:gi("Animation","AnimationEnd"),animationiteration:gi("Animation","AnimationIteration"),animationstart:gi("Animation","AnimationStart"),transitionend:gi("Transition","TransitionEnd")},Xo={},Od={};At&&(Od=document.createElement("div").style,"AnimationEvent"in window||(delete zn.animationend.animation,delete zn.animationiteration.animation,delete zn.animationstart.animation),"TransitionEvent"in window||delete zn.transitionend.transition);function wo(e){if(Xo[e])return Xo[e];if(!zn[e])return e;var t=zn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Od)return Xo[e]=t[n];return e}var _d=wo("animationend"),Nd=wo("animationiteration"),Pd=wo("animationstart"),Ed=wo("transitionend"),xd=new Map,_u="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ln(e,t){xd.set(e,t),On(t,[e])}for(var Jo=0;Jo<_u.length;Jo++){var Zo=_u[Jo],fg=Zo.toLowerCase(),pg=Zo[0].toUpperCase()+Zo.slice(1);ln(fg,"on"+pg)}ln(_d,"onAnimationEnd");ln(Nd,"onAnimationIteration");ln(Pd,"onAnimationStart");ln("dblclick","onDoubleClick");ln("focusin","onFocus");ln("focusout","onBlur");ln(Ed,"onTransitionEnd");er("onMouseEnter",["mouseout","mouseover"]);er("onMouseLeave",["mouseout","mouseover"]);er("onPointerEnter",["pointerout","pointerover"]);er("onPointerLeave",["pointerout","pointerover"]);On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));On("onBeforeInput",["compositionend","keypress","textInput","paste"]);On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="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(" "),hg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function Nu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fm(r,t,void 0,e),e.currentTarget=null}function Cd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}}}if(Ki)throw e=Fl,Ki=!1,Fl=null,e}function W(e,t){var n=t[Hl];n===void 0&&(n=t[Hl]=new Set);var r=e+"__bubble";n.has(r)||(Id(t,e,2,!1),n.add(r))}function qo(e,t,n){var r=0;t&&(r|=4),Id(n,e,r,t)}var vi="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[vi]){e[vi]=!0,Dc.forEach(function(n){n!=="selectionchange"&&(hg.has(n)||qo(n,!1,e),qo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vi]||(t[vi]=!0,qo("selectionchange",!1,t))}}function Id(e,t,n,r){switch(fd(t)){case 1:var i=Cm;break;case 4:i=Im;break;default:i=Ls}n=i.bind(null,t,n,e),i=void 0,!jl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function el(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=fn(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}Zc(function(){var u=o,p=Cs(n),d=[];e:{var h=xd.get(e);if(h!==void 0){var g=js,y=e;switch(e){case"keypress":if(Ri(n)===0)break e;case"keydown":case"keyup":g=Km;break;case"focusin":y="focus",g=Go;break;case"focusout":y="blur",g=Go;break;case"beforeblur":case"afterblur":g=Go;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=fu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Lm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Gm;break;case _d:case Nd:case Pd:g=Fm;break;case Ed:g=Qm;break;case"scroll":g=Tm;break;case"wheel":g=Jm;break;case"copy":case"cut":case"paste":g=Um;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=hu}var k=(t&4)!==0,_=!k&&e==="scroll",f=k?h!==null?h+"Capture":null:h;k=[];for(var c=u,m;c!==null;){m=c;var w=m.stateNode;if(m.tag===5&&w!==null&&(m=w,f!==null&&(w=zr(c,f),w!=null&&k.push(Hr(c,w,m)))),_)break;c=c.return}0<k.length&&(h=new g(h,y,null,n,p),d.push({event:h,listeners:k}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",h&&n!==Ll&&(y=n.relatedTarget||n.fromElement)&&(fn(y)||y[jt]))break e;if((g||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?fn(y):null,y!==null&&(_=_n(y),y!==_||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(k=fu,w="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=hu,w="onPointerLeave",f="onPointerEnter",c="pointer"),_=g==null?h:bn(g),m=y==null?h:bn(y),h=new k(w,c+"leave",g,n,p),h.target=_,h.relatedTarget=m,w=null,fn(p)===u&&(k=new k(f,c+"enter",y,n,p),k.target=m,k.relatedTarget=_,w=k),_=w,g&&y)t:{for(k=g,f=y,c=0,m=k;m;m=Ln(m))c++;for(m=0,w=f;w;w=Ln(w))m++;for(;0<c-m;)k=Ln(k),c--;for(;0<m-c;)f=Ln(f),m--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=Ln(k),f=Ln(f)}k=null}else k=null;g!==null&&Pu(d,h,g,k,!1),y!==null&&_!==null&&Pu(d,_,y,k,!0)}}e:{if(h=u?bn(u):window,g=h.nodeName&&h.nodeName.toLowerCase(),g==="select"||g==="input"&&h.type==="file")var O=ig;else if(vu(h))if(yd)O=ag;else{O=lg;var S=og}else(g=h.nodeName)&&g.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(O=sg);if(O&&(O=O(e,u))){vd(d,O,n,p);break e}S&&S(e,h,u),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&xl(h,"number",h.value)}switch(S=u?bn(u):window,e){case"focusin":(vu(S)||S.contentEditable==="true")&&(Un=S,bl=u,Rr=null);break;case"focusout":Rr=bl=Un=null;break;case"mousedown":Vl=!0;break;case"contextmenu":case"mouseup":case"dragend":Vl=!1,Ou(d,n,p);break;case"selectionchange":if(dg)break;case"keydown":case"keyup":Ou(d,n,p)}var P;if(Ds)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Dn?md(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(hd&&n.locale!=="ko"&&(Dn||E!=="onCompositionStart"?E==="onCompositionEnd"&&Dn&&(P=pd()):(Ht=p,As="value"in Ht?Ht.value:Ht.textContent,Dn=!0)),S=Qi(u,E),0<S.length&&(E=new pu(E,e,null,n,p),d.push({event:E,listeners:S}),P?E.data=P:(P=gd(n),P!==null&&(E.data=P)))),(P=qm?eg(e,n):tg(e,n))&&(u=Qi(u,"onBeforeInput"),0<u.length&&(p=new pu("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=P))}Cd(d,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=zr(e,n),o!=null&&r.unshift(Hr(e,o,i)),o=zr(e,t),o!=null&&r.push(Hr(e,o,i))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pu(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=zr(n,o),a!=null&&l.unshift(Hr(n,a,s))):i||(a=zr(n,o),a!=null&&l.push(Hr(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var mg=/\r\n?/g,gg=/\u0000|\uFFFD/g;function Eu(e){return(typeof e=="string"?e:""+e).replace(mg,`
+`).replace(gg,"")}function yi(e,t,n){if(t=Eu(t),Eu(e)!==t&&n)throw Error(N(425))}function Xi(){}var $l=null,Ml=null;function Bl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kl=typeof setTimeout=="function"?setTimeout:void 0,vg=typeof clearTimeout=="function"?clearTimeout:void 0,xu=typeof Promise=="function"?Promise:void 0,yg=typeof queueMicrotask=="function"?queueMicrotask:typeof xu<"u"?function(e){return xu.resolve(null).then(e).catch(wg)}:Kl;function wg(e){setTimeout(function(){throw e})}function tl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),$r(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);$r(t)}function Jt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ur=Math.random().toString(36).slice(2),wt="__reactFiber$"+ur,Wr="__reactProps$"+ur,jt="__reactContainer$"+ur,Hl="__reactEvents$"+ur,kg="__reactListeners$"+ur,Sg="__reactHandles$"+ur;function fn(e){var t=e[wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cu(e);e!==null;){if(n=e[wt])return n;e=Cu(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[wt]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function ko(e){return e[Wr]||null}var Wl=[],Vn=-1;function sn(e){return{current:e}}function G(e){0>Vn||(e.current=Wl[Vn],Wl[Vn]=null,Vn--)}function K(e,t){Vn++,Wl[Vn]=e.current,e.current=t}var on={},Se=sn(on),je=sn(!1),vn=on;function tr(e,t){var n=e.type.contextTypes;if(!n)return on;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Fe(e){return e=e.childContextTypes,e!=null}function Ji(){G(je),G(Se)}function Iu(e,t,n){if(Se.current!==on)throw Error(N(168));K(Se,t),K(je,n)}function Td(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(N(108,om(e)||"Unknown",i));return Z({},n,r)}function Zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||on,vn=Se.current,K(Se,e),K(je,je.current),!0}function Tu(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Td(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,G(je),G(Se),K(Se,e)):G(je),K(je,n)}var It=null,So=!1,nl=!1;function Rd(e){It===null?It=[e]:It.push(e)}function Og(e){So=!0,Rd(e)}function an(){if(!nl&&It!==null){nl=!0;var e=0,t=M;try{var n=It;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}It=null,So=!1}catch(i){throw It!==null&&(It=It.slice(e+1)),nd(Is,an),i}finally{M=t,nl=!1}}return null}var $n=[],Mn=0,qi=null,eo=0,Qe=[],Xe=0,yn=null,Tt=1,Rt="";function un(e,t){$n[Mn++]=eo,$n[Mn++]=qi,qi=e,eo=t}function Ld(e,t,n){Qe[Xe++]=Tt,Qe[Xe++]=Rt,Qe[Xe++]=yn,yn=e;var r=Tt;e=Rt;var i=32-ct(r)-1;r&=~(1<<i),n+=1;var o=32-ct(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,Tt=1<<32-ct(t)+i|n<<i|r,Rt=o+e}else Tt=1<<o|n<<i|r,Rt=e}function zs(e){e.return!==null&&(un(e,1),Ld(e,1,0))}function bs(e){for(;e===qi;)qi=$n[--Mn],$n[Mn]=null,eo=$n[--Mn],$n[Mn]=null;for(;e===yn;)yn=Qe[--Xe],Qe[Xe]=null,Rt=Qe[--Xe],Qe[Xe]=null,Tt=Qe[--Xe],Qe[Xe]=null}var Ke=null,Be=null,Y=!1,ut=null;function Ad(e,t){var n=Je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ru(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ke=e,Be=Jt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ke=e,Be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=yn!==null?{id:Tt,overflow:Rt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ke=e,Be=null,!0):!1;default:return!1}}function Gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Yl(e){if(Y){var t=Be;if(t){var n=t;if(!Ru(e,t)){if(Gl(e))throw Error(N(418));t=Jt(n.nextSibling);var r=Ke;t&&Ru(e,t)?Ad(r,n):(e.flags=e.flags&-4097|2,Y=!1,Ke=e)}}else{if(Gl(e))throw Error(N(418));e.flags=e.flags&-4097|2,Y=!1,Ke=e}}}function Lu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ke=e}function wi(e){if(e!==Ke)return!1;if(!Y)return Lu(e),Y=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bl(e.type,e.memoizedProps)),t&&(t=Be)){if(Gl(e))throw jd(),Error(N(418));for(;t;)Ad(e,t),t=Jt(t.nextSibling)}if(Lu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(N(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Be=Jt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Be=null}}else Be=Ke?Jt(e.stateNode.nextSibling):null;return!0}function jd(){for(var e=Be;e;)e=Jt(e.nextSibling)}function nr(){Be=Ke=null,Y=!1}function Vs(e){ut===null?ut=[e]:ut.push(e)}var _g=Ut.ReactCurrentBatchConfig;function st(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var to=sn(null),no=null,Bn=null,$s=null;function Ms(){$s=Bn=no=null}function Bs(e){var t=to.current;G(to),e._currentValue=t}function Ql(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xn(e,t){no=e,$s=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function et(e){var t=e._currentValue;if($s!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(no===null)throw Error(N(308));Bn=e,no.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var pn=null;function Ks(e){pn===null?pn=[e]:pn.push(e)}function Fd(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ks(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ft(e,r)}function Ft(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function Hs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ft(e,n)}return i=r.interleaved,i===null?(t.next=t,Ks(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ft(e,n)}function Li(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}function Au(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ro(e,t,n,r){var i=e.updateQueue;Mt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var p=e.alternate;p!==null&&(p=p.updateQueue,s=p.lastBaseUpdate,s!==l&&(s===null?p.firstBaseUpdate=u:s.next=u,p.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;l=0,p=u=a=null,s=o;do{var h=s.lane,g=s.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,k=s;switch(h=t,g=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){d=y.call(g,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,h=typeof y=="function"?y.call(g,d,h):y,h==null)break e;d=Z({},d,h);break e;case 2:Mt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else g={eventTime:g,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},p===null?(u=p=g,a=d):p=p.next=g,l|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(1);if(p===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);kn|=l,e.lanes=l,e.memoizedState=d}}function ju(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(N(191,i));i.call(r)}}}var Ud=new Fc.Component().refs;function Xl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Oo={isMounted:function(e){return(e=e._reactInternals)?_n(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=en(e),o=Lt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Zt(e,o,i),t!==null&&(dt(t,e,i,r),Li(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=en(e),o=Lt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Zt(e,o,i),t!==null&&(dt(t,e,i,r),Li(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),r=en(e),i=Lt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zt(e,i,r),t!==null&&(dt(t,e,r,n),Li(t,e,r))}};function Fu(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Br(n,r)||!Br(i,o):!0}function zd(e,t,n){var r=!1,i=on,o=t.contextType;return typeof o=="object"&&o!==null?o=et(o):(i=Fe(t)?vn:Se.current,r=t.contextTypes,o=(r=r!=null)?tr(e,i):on),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Oo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Du(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Oo.enqueueReplaceState(t,t.state,null)}function Jl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ud,Hs(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=et(o):(o=Fe(t)?vn:Se.current,i.context=tr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Oo.enqueueReplaceState(i,i.state,null),ro(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function yr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(N(309));var r=n.stateNode}if(!r)throw Error(N(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var s=i.refs;s===Ud&&(s=i.refs={}),l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(N(284));if(!n._owner)throw Error(N(290,e))}return e}function ki(e,t){throw e=Object.prototype.toString.call(t),Error(N(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uu(e){var t=e._init;return t(e._payload)}function bd(e){function t(f,c){if(e){var m=f.deletions;m===null?(f.deletions=[c],f.flags|=16):m.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function i(f,c){return f=tn(f,c),f.index=0,f.sibling=null,f}function o(f,c,m){return f.index=m,e?(m=f.alternate,m!==null?(m=m.index,m<c?(f.flags|=2,c):m):(f.flags|=2,c)):(f.flags|=1048576,c)}function l(f){return e&&f.alternate===null&&(f.flags|=2),f}function s(f,c,m,w){return c===null||c.tag!==6?(c=ul(m,f.mode,w),c.return=f,c):(c=i(c,m),c.return=f,c)}function a(f,c,m,w){var O=m.type;return O===Fn?p(f,c,m.props.children,w,m.key):c!==null&&(c.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===$t&&Uu(O)===c.type)?(w=i(c,m.props),w.ref=yr(f,c,m),w.return=f,w):(w=zi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,w)}function u(f,c,m,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=cl(m,f.mode,w),c.return=f,c):(c=i(c,m.children||[]),c.return=f,c)}function p(f,c,m,w,O){return c===null||c.tag!==7?(c=gn(m,f.mode,w,O),c.return=f,c):(c=i(c,m),c.return=f,c)}function d(f,c,m){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ul(""+c,f.mode,m),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case ui:return m=zi(c.type,c.key,c.props,null,f.mode,m),m.ref=yr(f,null,c),m.return=f,m;case jn:return c=cl(c,f.mode,m),c.return=f,c;case $t:var w=c._init;return d(f,w(c._payload),m)}if(Nr(c)||pr(c))return c=gn(c,f.mode,m,null),c.return=f,c;ki(f,c)}return null}function h(f,c,m,w){var O=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return O!==null?null:s(f,c,""+m,w);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:return m.key===O?a(f,c,m,w):null;case jn:return m.key===O?u(f,c,m,w):null;case $t:return O=m._init,h(f,c,O(m._payload),w)}if(Nr(m)||pr(m))return O!==null?null:p(f,c,m,w,null);ki(f,m)}return null}function g(f,c,m,w,O){if(typeof w=="string"&&w!==""||typeof w=="number")return f=f.get(m)||null,s(c,f,""+w,O);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ui:return f=f.get(w.key===null?m:w.key)||null,a(c,f,w,O);case jn:return f=f.get(w.key===null?m:w.key)||null,u(c,f,w,O);case $t:var S=w._init;return g(f,c,m,S(w._payload),O)}if(Nr(w)||pr(w))return f=f.get(m)||null,p(c,f,w,O,null);ki(c,w)}return null}function y(f,c,m,w){for(var O=null,S=null,P=c,E=c=0,A=null;P!==null&&E<m.length;E++){P.index>E?(A=P,P=null):A=P.sibling;var x=h(f,P,m[E],w);if(x===null){P===null&&(P=A);break}e&&P&&x.alternate===null&&t(f,P),c=o(x,c,E),S===null?O=x:S.sibling=x,S=x,P=A}if(E===m.length)return n(f,P),Y&&un(f,E),O;if(P===null){for(;E<m.length;E++)P=d(f,m[E],w),P!==null&&(c=o(P,c,E),S===null?O=P:S.sibling=P,S=P);return Y&&un(f,E),O}for(P=r(f,P);E<m.length;E++)A=g(P,f,E,m[E],w),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?E:A.key),c=o(A,c,E),S===null?O=A:S.sibling=A,S=A);return e&&P.forEach(function(H){return t(f,H)}),Y&&un(f,E),O}function k(f,c,m,w){var O=pr(m);if(typeof O!="function")throw Error(N(150));if(m=O.call(m),m==null)throw Error(N(151));for(var S=O=null,P=c,E=c=0,A=null,x=m.next();P!==null&&!x.done;E++,x=m.next()){P.index>E?(A=P,P=null):A=P.sibling;var H=h(f,P,x.value,w);if(H===null){P===null&&(P=A);break}e&&P&&H.alternate===null&&t(f,P),c=o(H,c,E),S===null?O=H:S.sibling=H,S=H,P=A}if(x.done)return n(f,P),Y&&un(f,E),O;if(P===null){for(;!x.done;E++,x=m.next())x=d(f,x.value,w),x!==null&&(c=o(x,c,E),S===null?O=x:S.sibling=x,S=x);return Y&&un(f,E),O}for(P=r(f,P);!x.done;E++,x=m.next())x=g(P,f,E,x.value,w),x!==null&&(e&&x.alternate!==null&&P.delete(x.key===null?E:x.key),c=o(x,c,E),S===null?O=x:S.sibling=x,S=x);return e&&P.forEach(function(Te){return t(f,Te)}),Y&&un(f,E),O}function _(f,c,m,w){if(typeof m=="object"&&m!==null&&m.type===Fn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:e:{for(var O=m.key,S=c;S!==null;){if(S.key===O){if(O=m.type,O===Fn){if(S.tag===7){n(f,S.sibling),c=i(S,m.props.children),c.return=f,f=c;break e}}else if(S.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===$t&&Uu(O)===S.type){n(f,S.sibling),c=i(S,m.props),c.ref=yr(f,S,m),c.return=f,f=c;break e}n(f,S);break}else t(f,S);S=S.sibling}m.type===Fn?(c=gn(m.props.children,f.mode,w,m.key),c.return=f,f=c):(w=zi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,f=w)}return l(f);case jn:e:{for(S=m.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(f,c.sibling),c=i(c,m.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=cl(m,f.mode,w),c.return=f,f=c}return l(f);case $t:return S=m._init,_(f,c,S(m._payload),w)}if(Nr(m))return y(f,c,m,w);if(pr(m))return k(f,c,m,w);ki(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,m),c.return=f,f=c):(n(f,c),c=ul(m,f.mode,w),c.return=f,f=c),l(f)):n(f,c)}return _}var rr=bd(!0),Vd=bd(!1),ii={},Ot=sn(ii),Gr=sn(ii),Yr=sn(ii);function hn(e){if(e===ii)throw Error(N(174));return e}function Ws(e,t){switch(K(Yr,t),K(Gr,e),K(Ot,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Il(t,e)}G(Ot),K(Ot,t)}function ir(){G(Ot),G(Gr),G(Yr)}function $d(e){hn(Yr.current);var t=hn(Ot.current),n=Il(t,e.type);t!==n&&(K(Gr,e),K(Ot,n))}function Gs(e){Gr.current===e&&(G(Ot),G(Gr))}var X=sn(0);function io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rl=[];function Ys(){for(var e=0;e<rl.length;e++)rl[e]._workInProgressVersionPrimary=null;rl.length=0}var Ai=Ut.ReactCurrentDispatcher,il=Ut.ReactCurrentBatchConfig,wn=0,J=null,ae=null,ce=null,oo=!1,Lr=!1,Qr=0,Ng=0;function ye(){throw Error(N(321))}function Qs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ft(e[n],t[n]))return!1;return!0}function Xs(e,t,n,r,i,o){if(wn=o,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ai.current=e===null||e.memoizedState===null?Cg:Ig,e=n(r,i),Lr){o=0;do{if(Lr=!1,Qr=0,25<=o)throw Error(N(301));o+=1,ce=ae=null,t.updateQueue=null,Ai.current=Tg,e=n(r,i)}while(Lr)}if(Ai.current=lo,t=ae!==null&&ae.next!==null,wn=0,ce=ae=J=null,oo=!1,t)throw Error(N(300));return e}function Js(){var e=Qr!==0;return Qr=0,e}function yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ce===null?J.memoizedState=ce=e:ce=ce.next=e,ce}function tt(){if(ae===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=ae.next;var t=ce===null?J.memoizedState:ce.next;if(t!==null)ce=t,ae=e;else{if(e===null)throw Error(N(310));ae=e,e={memoizedState:ae.memoizedState,baseState:ae.baseState,baseQueue:ae.baseQueue,queue:ae.queue,next:null},ce===null?J.memoizedState=ce=e:ce=ce.next=e}return ce}function Xr(e,t){return typeof t=="function"?t(e):t}function ol(e){var t=tt(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=ae,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var p=u.lane;if((wn&p)===p)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:p,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=d,l=r):a=a.next=d,J.lanes|=p,kn|=p}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,ft(r,t.memoizedState)||(Ae=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,J.lanes|=o,kn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ll(e){var t=tt(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);ft(o,t.memoizedState)||(Ae=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Md(){}function Bd(e,t){var n=J,r=tt(),i=t(),o=!ft(r.memoizedState,i);if(o&&(r.memoizedState=i,Ae=!0),r=r.queue,Zs(Wd.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ce!==null&&ce.memoizedState.tag&1){if(n.flags|=2048,Jr(9,Hd.bind(null,n,r,i,t),void 0,null),de===null)throw Error(N(349));wn&30||Kd(n,t,i)}return i}function Kd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Hd(e,t,n,r){t.value=n,t.getSnapshot=r,Gd(t)&&Yd(e)}function Wd(e,t,n){return n(function(){Gd(t)&&Yd(e)})}function Gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ft(e,n)}catch{return!0}}function Yd(e){var t=Ft(e,1);t!==null&&dt(t,e,1,-1)}function zu(e){var t=yt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xr,lastRenderedState:e},t.queue=e,e=e.dispatch=xg.bind(null,J,e),[t.memoizedState,e]}function Jr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qd(){return tt().memoizedState}function ji(e,t,n,r){var i=yt();J.flags|=e,i.memoizedState=Jr(1|t,n,void 0,r===void 0?null:r)}function _o(e,t,n,r){var i=tt();r=r===void 0?null:r;var o=void 0;if(ae!==null){var l=ae.memoizedState;if(o=l.destroy,r!==null&&Qs(r,l.deps)){i.memoizedState=Jr(t,n,o,r);return}}J.flags|=e,i.memoizedState=Jr(1|t,n,o,r)}function bu(e,t){return ji(8390656,8,e,t)}function Zs(e,t){return _o(2048,8,e,t)}function Xd(e,t){return _o(4,2,e,t)}function Jd(e,t){return _o(4,4,e,t)}function Zd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qd(e,t,n){return n=n!=null?n.concat([e]):null,_o(4,4,Zd.bind(null,t,e),n)}function qs(){}function ef(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tf(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nf(e,t,n){return wn&21?(ft(n,t)||(n=od(),J.lanes|=n,kn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ae=!0),e.memoizedState=n)}function Pg(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{M=n,il.transition=r}}function rf(){return tt().memoizedState}function Eg(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},of(e))lf(t,n);else if(n=Fd(e,t,n,r),n!==null){var i=Pe();dt(n,e,r,i),sf(n,t,r)}}function xg(e,t,n){var r=en(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(of(e))lf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,ft(s,l)){var a=t.interleaved;a===null?(i.next=i,Ks(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Fd(e,t,i,r),n!==null&&(i=Pe(),dt(n,e,r,i),sf(n,t,r))}}function of(e){var t=e.alternate;return e===J||t!==null&&t===J}function lf(e,t){Lr=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}var lo={readContext:et,useCallback:ye,useContext:ye,useEffect:ye,useImperativeHandle:ye,useInsertionEffect:ye,useLayoutEffect:ye,useMemo:ye,useReducer:ye,useRef:ye,useState:ye,useDebugValue:ye,useDeferredValue:ye,useTransition:ye,useMutableSource:ye,useSyncExternalStore:ye,useId:ye,unstable_isNewReconciler:!1},Cg={readContext:et,useCallback:function(e,t){return yt().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:bu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ji(4194308,4,Zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return ji(4,2,e,t)},useMemo:function(e,t){var n=yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Eg.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=yt();return e={current:e},t.memoizedState=e},useState:zu,useDebugValue:qs,useDeferredValue:function(e){return yt().memoizedState=e},useTransition:function(){var e=zu(!1),t=e[0];return e=Pg.bind(null,e[1]),yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=J,i=yt();if(Y){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),de===null)throw Error(N(349));wn&30||Kd(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,bu(Wd.bind(null,r,o,e),[e]),r.flags|=2048,Jr(9,Hd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=yt(),t=de.identifierPrefix;if(Y){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Ng++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ig={readContext:et,useCallback:ef,useContext:et,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ol,useRef:Qd,useState:function(){return ol(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=tt();return nf(t,ae.memoizedState,e)},useTransition:function(){var e=ol(Xr)[0],t=tt().memoizedState;return[e,t]},useMutableSource:Md,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1},Tg={readContext:et,useCallback:ef,useContext:et,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ll,useRef:Qd,useState:function(){return ll(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=tt();return ae===null?t.memoizedState=e:nf(t,ae.memoizedState,e)},useTransition:function(){var e=ll(Xr)[0],t=tt().memoizedState;return[e,t]},useMutableSource:Md,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1};function or(e,t){try{var n="",r=t;do n+=im(r),r=r.return;while(r);var i=n}catch(o){i=`
Error generating stack: `+o.message+`
-`+o.stack}return{value:e,source:t,stack:i,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Zl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jg=typeof WeakMap=="function"?WeakMap:Map;function af(e,t,n){n=Rt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ao||(ao=!0,as=r),Zl(e,t)},n}function uf(e,t,n){n=Rt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Zl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Zl(e,t),typeof r!="function"&&(Jt===null?Jt=new Set([this]):Jt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Vu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new jg;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Gg.bind(null,e,t,n),t.then(e,e))}function Mu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $u(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Rt(-1,1),t.tag=2,Xt(n,t,1))),n.lanes|=1),e)}var Fg=Dt.ReactCurrentOwner,Le=!1;function Se(e,t,n,r){t.child=e===null?Vd(t,null,n,r):rr(t,e.child,n,r)}function Bu(e,t,n,r,i){n=n.render;var o=t.ref;return Xn(t,i),r=Xs(e,t,n,r,o,i),n=Js(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,At(e,t,i)):(Q&&n&&bs(t),t.flags|=1,Se(e,t,r,i),t.child)}function Ku(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sa(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,cf(e,t,o,r,i)):(e=bi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(l,r)&&e.ref===t.ref)return At(e,t,i)}return t.flags|=1,e=qt(o,r),e.ref=t.ref,e.return=t,t.child=e}function cf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Br(o,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,At(e,t,i)}return ql(e,t,n,r,i)}function df(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},H(Hn,Ve),Ve|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,H(Hn,Ve),Ve|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,H(Hn,Ve),Ve|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,H(Hn,Ve),Ve|=r;return Se(e,t,i,n),t.child}function ff(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ql(e,t,n,r,i){var o=Fe(n)?mn:we.current;return o=tr(t,o),Xn(t,i),n=Xs(e,t,n,r,o,i),r=Js(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,At(e,t,i)):(Q&&r&&bs(t),t.flags|=1,Se(e,t,n,i),t.child)}function Hu(e,t,n,r,i){if(Fe(n)){var o=!0;Zi(t)}else o=!1;if(Xn(t,i),t.stateNode===null)Ai(e,t),bd(t,n,r),Jl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=qe(u):(u=Fe(n)?mn:we.current,u=tr(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Du(t,l,r,u),Vt=!1;var h=t.memoizedState;l.state=h,ro(t,r,l,i),a=t.memoizedState,s!==r||h!==a||je.current||Vt?(typeof p=="function"&&(Xl(t,n,p,r),a=t.memoizedState),(s=Vt||Au(t,n,s,r,h,a,u))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Dd(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:lt(t.type,s),l.props=u,d=t.pendingProps,h=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=qe(a):(a=Fe(n)?mn:we.current,a=tr(t,a));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==d||h!==a)&&Du(t,l,r,a),Vt=!1,h=t.memoizedState,l.state=h,ro(t,r,l,i);var y=t.memoizedState;s!==d||h!==y||je.current||Vt?(typeof g=="function"&&(Xl(t,n,g,r),y=t.memoizedState),(u=Vt||Au(t,n,u,r,h,y,a)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return es(e,t,n,r,o,i)}function es(e,t,n,r,i,o){ff(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Tu(t,n,!1),At(e,t,o);r=t.stateNode,Fg.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=rr(t,e.child,null,o),t.child=rr(t,null,s,o)):Se(e,t,s,o),t.memoizedState=r.state,i&&Tu(t,n,!0),t.child}function pf(e){var t=e.stateNode;t.pendingContext?Iu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Iu(e,t.context,!1),Ws(e,t.containerInfo)}function Wu(e,t,n,r,i){return nr(),Vs(i),t.flags|=256,Se(e,t,n,r),t.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function hf(e,t,n){var r=t.pendingProps,i=J.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),H(J,i&1),e===null)return Yl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=xo(l,r,0,null),e=hn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ns(n),t.memoizedState=ts,e):ea(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Ag(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=qt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=qt(s,o):(o=hn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=ts,r}return o=e.child,e=o.sibling,r=qt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ea(e,t){return t=xo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Si(e,t,n,r){return r!==null&&Vs(r),rr(t,e.child,null,n),e=ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ag(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=sl(Error(N(422))),Si(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=xo({mode:"visible",children:r.children},i,0,null),o=hn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&rr(t,e.child,null,l),t.child.memoizedState=ns(l),t.memoizedState=ts,o);if(!(t.mode&1))return Si(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(N(419)),r=sl(o,r,void 0),Si(e,t,l,r)}if(s=(l&e.childLanes)!==0,Le||s){if(r=ue,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ft(e,i),ct(r,e,i,-1))}return la(),r=sl(Error(N(421))),Si(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Yg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,$e=Qt(i.nextSibling),Be=t,Q=!0,at=null,e!==null&&(Ye[Qe++]=It,Ye[Qe++]=Tt,Ye[Qe++]=gn,It=e.id,Tt=e.overflow,gn=t),t=ea(t,r.children),t.flags|=4096,t)}function Gu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ql(e.return,t,n)}function al(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function mf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Se(e,t,r.children,n),r=J.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gu(e,n,t);else if(e.tag===19)Gu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(H(J,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&io(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),al(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}al(t,!0,n,null,o);break;case"together":al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ai(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function At(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),yn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(N(153));if(t.child!==null){for(e=t.child,n=qt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dg(e,t,n){switch(t.tag){case 3:pf(t),nr();break;case 5:Md(t);break;case 1:Fe(t.type)&&Zi(t);break;case 4:Ws(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;H(to,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(H(J,J.current&1),t.flags|=128,null):n&t.child.childLanes?hf(e,t,n):(H(J,J.current&1),e=At(e,t,n),e!==null?e.sibling:null);H(J,J.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return mf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),H(J,J.current),r)break;return null;case 22:case 23:return t.lanes=0,df(e,t,n)}return At(e,t,n)}var gf,rs,vf,yf;gf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};rs=function(){};vf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,fn(St.current);var o=null;switch(n){case"input":i=Pl(e,i),r=Pl(e,r),o=[];break;case"select":i=q({},i,{value:void 0}),r=q({},r,{value:void 0}),o=[];break;case"textarea":i=Cl(e,i),r=Cl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xi)}Tl(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Dr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Dr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&G("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};yf=function(e,t,n,r){n!==r&&(t.flags|=4)};function wr(e,t){if(!Q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ug(e,t,n){var r=t.pendingProps;switch(zs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ve(t),null;case 1:return Fe(t.type)&&Ji(),ve(t),null;case 3:return r=t.stateNode,ir(),Y(je),Y(we),Ys(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,at!==null&&(ds(at),at=null))),rs(e,t),ve(t),null;case 5:Gs(t);var i=fn(Yr.current);if(n=t.type,e!==null&&t.stateNode!=null)vf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(N(166));return ve(t),null}if(e=fn(St.current),wi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[yt]=t,r[Wr]=o,e=(t.mode&1)!==0,n){case"dialog":G("cancel",r),G("close",r);break;case"iframe":case"object":case"embed":G("load",r);break;case"video":case"audio":for(i=0;i<xr.length;i++)G(xr[i],r);break;case"source":G("error",r);break;case"img":case"image":case"link":G("error",r),G("load",r);break;case"details":G("toggle",r);break;case"input":nu(r,o),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},G("invalid",r);break;case"textarea":iu(r,o),G("invalid",r)}Tl(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",""+s]):Dr.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&G("scroll",r)}switch(n){case"input":ci(r),ru(r,o,!0);break;case"textarea":ci(r),ou(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Xi)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Kc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[yt]=t,e[Wr]=r,gf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Rl(n,r),n){case"dialog":G("cancel",e),G("close",e),i=r;break;case"iframe":case"object":case"embed":G("load",e),i=r;break;case"video":case"audio":for(i=0;i<xr.length;i++)G(xr[i],e);i=r;break;case"source":G("error",e),i=r;break;case"img":case"image":case"link":G("error",e),G("load",e),i=r;break;case"details":G("toggle",e),i=r;break;case"input":nu(e,r),i=Pl(e,r),G("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=q({},r,{value:void 0}),G("invalid",e);break;case"textarea":iu(e,r),i=Cl(e,r),G("invalid",e);break;default:i=r}Tl(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?Gc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Hc(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ur(e,a):typeof a=="number"&&Ur(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Dr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&G("scroll",e):a!=null&&Ns(e,o,a,l))}switch(n){case"input":ci(e),ru(e,r,!1);break;case"textarea":ci(e),ou(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Wn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Wn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Xi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ve(t),null;case 6:if(e&&t.stateNode!=null)yf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(N(166));if(n=fn(Yr.current),fn(St.current),wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[yt]=t,(o=r.nodeValue!==n)&&(e=Be,e!==null))switch(e.tag){case 3:yi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&yi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yt]=t,t.stateNode=r}return ve(t),null;case 13:if(Y(J),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Q&&$e!==null&&t.mode&1&&!(t.flags&128))Fd(),nr(),t.flags|=98560,o=!1;else if(o=wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(N(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(N(317));o[yt]=t}else nr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ve(t),o=!1}else at!==null&&(ds(at),at=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||J.current&1?se===0&&(se=3):la())),t.updateQueue!==null&&(t.flags|=4),ve(t),null);case 4:return ir(),rs(e,t),e===null&&Kr(t.stateNode.containerInfo),ve(t),null;case 10:return Bs(t.type._context),ve(t),null;case 17:return Fe(t.type)&&Ji(),ve(t),null;case 19:if(Y(J),o=t.memoizedState,o===null)return ve(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)wr(o,!1);else{if(se!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=io(e),l!==null){for(t.flags|=128,wr(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return H(J,J.current&1|2),t.child}e=e.sibling}o.tail!==null&&re()>lr&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304)}else{if(!r)if(e=io(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Q)return ve(t),null}else 2*re()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,n=J.current,H(J,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return oa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ve&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function bg(e,t){switch(zs(t),t.tag){case 1:return Fe(t.type)&&Ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),Y(je),Y(we),Ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gs(t),null;case 13:if(Y(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(J),null;case 4:return ir(),null;case 10:return Bs(t.type._context),null;case 22:case 23:return oa(),null;case 24:return null;default:return null}}var Oi=!1,ye=!1,zg=typeof WeakSet=="function"?WeakSet:Set,T=null;function Kn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ee(e,t,r)}else n.current=null}function is(e,t,n){try{n()}catch(r){ee(e,t,r)}}var Yu=!1;function Vg(e,t){if(Ml=Gi,e=Sd(),Us(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,p=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(s=l+i),d!==o||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++u===i&&(s=l),h===o&&++p===r&&(a=l),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for($l={focusedElem:e,selectionRange:n},Gi=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,_=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:lt(t.type,k),_);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(w){ee(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=Yu,Yu=!1,y}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&is(t,n,o)}i=i.next}while(i!==r)}}function No(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wf(e){var t=e.alternate;t!==null&&(e.alternate=null,wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[Wr],delete t[Hl],delete t[Og],delete t[_g])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kf(e){return e.tag===5||e.tag===3||e.tag===4}function Qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xi));else if(r!==4&&(e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function ss(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var fe=null,st=!1;function bt(e,t,n){for(n=n.child;n!==null;)Sf(e,t,n),n=n.sibling}function Sf(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(go,n)}catch{}switch(n.tag){case 5:ye||Kn(n,t);case 6:var r=fe,i=st;fe=null,bt(e,t,n),fe=r,st=i,fe!==null&&(st?(e=fe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):fe.removeChild(n.stateNode));break;case 18:fe!==null&&(st?(e=fe,n=n.stateNode,e.nodeType===8?tl(e.parentNode,n):e.nodeType===1&&tl(e,n),Mr(e)):tl(fe,n.stateNode));break;case 4:r=fe,i=st,fe=n.stateNode.containerInfo,st=!0,bt(e,t,n),fe=r,st=i;break;case 0:case 11:case 14:case 15:if(!ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&is(n,t,l),i=i.next}while(i!==r)}bt(e,t,n);break;case 1:if(!ye&&(Kn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ee(n,t,s)}bt(e,t,n);break;case 21:bt(e,t,n);break;case 22:n.mode&1?(ye=(r=ye)||n.memoizedState!==null,bt(e,t,n),ye=r):bt(e,t,n);break;default:bt(e,t,n)}}function Xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new zg),t.forEach(function(r){var i=Qg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:fe=s.stateNode,st=!1;break e;case 3:fe=s.stateNode.containerInfo,st=!0;break e;case 4:fe=s.stateNode.containerInfo,st=!0;break e}s=s.return}if(fe===null)throw Error(N(160));Sf(o,l,i),fe=null,st=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){ee(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Of(t,e),t=t.sibling}function Of(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ot(t,e),gt(e),r&4){try{jr(3,e,e.return),No(3,e)}catch(k){ee(e,e.return,k)}try{jr(5,e,e.return)}catch(k){ee(e,e.return,k)}}break;case 1:ot(t,e),gt(e),r&512&&n!==null&&Kn(n,n.return);break;case 5:if(ot(t,e),gt(e),r&512&&n!==null&&Kn(n,n.return),e.flags&32){var i=e.stateNode;try{Ur(i,"")}catch(k){ee(e,e.return,k)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&$c(i,o),Rl(s,l);var u=Rl(s,o);for(l=0;l<a.length;l+=2){var p=a[l],d=a[l+1];p==="style"?Gc(i,d):p==="dangerouslySetInnerHTML"?Hc(i,d):p==="children"?Ur(i,d):Ns(i,p,d,u)}switch(s){case"input":xl(i,o);break;case"textarea":Bc(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Wn(i,!!o.multiple,g,!1):h!==!!o.multiple&&(o.defaultValue!=null?Wn(i,!!o.multiple,o.defaultValue,!0):Wn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Wr]=o}catch(k){ee(e,e.return,k)}}break;case 6:if(ot(t,e),gt(e),r&4){if(e.stateNode===null)throw Error(N(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){ee(e,e.return,k)}}break;case 3:if(ot(t,e),gt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Mr(t.containerInfo)}catch(k){ee(e,e.return,k)}break;case 4:ot(t,e),gt(e);break;case 13:ot(t,e),gt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ra=re())),r&4&&Xu(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(ye=(u=ye)||p,ot(t,e),ye=u):ot(t,e),gt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!p&&e.mode&1)for(T=e,p=e.child;p!==null;){for(d=T=p;T!==null;){switch(h=T,g=h.child,h.tag){case 0:case 11:case 14:case 15:jr(4,h,h.return);break;case 1:Kn(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){ee(r,n,k)}}break;case 5:Kn(h,h.return);break;case 22:if(h.memoizedState!==null){Zu(d);continue}}g!==null?(g.return=h,T=g):Zu(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=d.stateNode,a=d.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Wc("display",l))}catch(k){ee(e,e.return,k)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(k){ee(e,e.return,k)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ot(t,e),gt(e),r&4&&Xu(e);break;case 21:break;default:ot(t,e),gt(e)}}function gt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(kf(n)){var r=n;break e}n=n.return}throw Error(N(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ur(i,""),r.flags&=-33);var o=Qu(e);ss(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=Qu(e);ls(e,s,l);break;default:throw Error(N(161))}}catch(a){ee(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Mg(e,t,n){T=e,_f(e)}function _f(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var i=T,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Oi;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||ye;s=Oi;var u=ye;if(Oi=l,(ye=a)&&!u)for(T=i;T!==null;)l=T,a=l.child,l.tag===22&&l.memoizedState!==null?qu(i):a!==null?(a.return=l,T=a):qu(i);for(;o!==null;)T=o,_f(o),o=o.sibling;T=i,Oi=s,ye=u}Ju(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,T=o):Ju(e)}}function Ju(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ye||No(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ye)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:lt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Fu(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fu(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&Mr(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(N(163))}ye||t.flags&512&&os(t)}catch(h){ee(t,t.return,h)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function Zu(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function qu(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{No(4,t)}catch(a){ee(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ee(t,i,a)}}var o=t.return;try{os(t)}catch(a){ee(t,o,a)}break;case 5:var l=t.return;try{os(t)}catch(a){ee(t,l,a)}}}catch(a){ee(t,t.return,a)}if(t===e){T=null;break}var s=t.sibling;if(s!==null){s.return=t.return,T=s;break}T=t.return}}var $g=Math.ceil,so=Dt.ReactCurrentDispatcher,ta=Dt.ReactCurrentOwner,Ze=Dt.ReactCurrentBatchConfig,b=0,ue=null,ie=null,he=0,Ve=0,Hn=on(0),se=0,Zr=null,yn=0,Po=0,na=0,Fr=null,Re=null,ra=0,lr=1/0,Et=null,ao=!1,as=null,Jt=null,_i=!1,Kt=null,uo=0,Ar=0,us=null,Di=-1,Ui=0;function _e(){return b&6?re():Di!==-1?Di:Di=re()}function Zt(e){return e.mode&1?b&2&&he!==0?he&-he:Pg.transition!==null?(Ui===0&&(Ui=od()),Ui):(e=B,e!==0||(e=window.event,e=e===void 0?16:fd(e.type)),e):1}function ct(e,t,n,r){if(50<Ar)throw Ar=0,us=null,Error(N(185));ti(e,n,r),(!(b&2)||e!==ue)&&(e===ue&&(!(b&2)&&(Po|=n),se===4&&$t(e,he)),Ae(e,r),n===1&&b===0&&!(t.mode&1)&&(lr=re()+500,So&&ln()))}function Ae(e,t){var n=e.callbackNode;Pm(e,t);var r=Wi(e,e===ue?he:0);if(r===0)n!==null&&au(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&au(n),t===1)e.tag===0?Ng(ec.bind(null,e)):Rd(ec.bind(null,e)),kg(function(){!(b&6)&&ln()}),n=null;else{switch(ld(r)){case 1:n=Is;break;case 4:n=rd;break;case 16:n=Hi;break;case 536870912:n=id;break;default:n=Hi}n=Rf(n,Nf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nf(e,t){if(Di=-1,Ui=0,b&6)throw Error(N(327));var n=e.callbackNode;if(Jn()&&e.callbackNode!==n)return null;var r=Wi(e,e===ue?he:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=co(e,r);else{t=r;var i=b;b|=2;var o=xf();(ue!==e||he!==t)&&(Et=null,lr=re()+500,pn(e,t));do try{Hg();break}catch(s){Pf(e,s)}while(1);$s(),so.current=o,b=i,ie!==null?t=0:(ue=null,he=0,t=se)}if(t!==0){if(t===2&&(i=Dl(e),i!==0&&(r=i,t=cs(e,i))),t===1)throw n=Zr,pn(e,0),$t(e,r),Ae(e,re()),n;if(t===6)$t(e,r);else{if(i=e.current.alternate,!(r&30)&&!Bg(i)&&(t=co(e,r),t===2&&(o=Dl(e),o!==0&&(r=o,t=cs(e,o))),t===1))throw n=Zr,pn(e,0),$t(e,r),Ae(e,re()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(N(345));case 2:an(e,Re,Et);break;case 3:if($t(e,r),(r&130023424)===r&&(t=ra+500-re(),10<t)){if(Wi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Kl(an.bind(null,e,Re,Et),t);break}an(e,Re,Et);break;case 4:if($t(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-ut(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$g(r/1960))-r,10<r){e.timeoutHandle=Kl(an.bind(null,e,Re,Et),r);break}an(e,Re,Et);break;case 5:an(e,Re,Et);break;default:throw Error(N(329))}}}return Ae(e,re()),e.callbackNode===n?Nf.bind(null,e):null}function cs(e,t){var n=Fr;return e.current.memoizedState.isDehydrated&&(pn(e,t).flags|=256),e=co(e,t),e!==2&&(t=Re,Re=n,t!==null&&ds(t)),e}function ds(e){Re===null?Re=e:Re.push.apply(Re,e)}function Bg(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!dt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function $t(e,t){for(t&=~na,t&=~Po,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ut(t),r=1<<n;e[n]=-1,t&=~r}}function ec(e){if(b&6)throw Error(N(327));Jn();var t=Wi(e,0);if(!(t&1))return Ae(e,re()),null;var n=co(e,t);if(e.tag!==0&&n===2){var r=Dl(e);r!==0&&(t=r,n=cs(e,r))}if(n===1)throw n=Zr,pn(e,0),$t(e,t),Ae(e,re()),n;if(n===6)throw Error(N(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,an(e,Re,Et),Ae(e,re()),null}function ia(e,t){var n=b;b|=1;try{return e(t)}finally{b=n,b===0&&(lr=re()+500,So&&ln())}}function wn(e){Kt!==null&&Kt.tag===0&&!(b&6)&&Jn();var t=b;b|=1;var n=Ze.transition,r=B;try{if(Ze.transition=null,B=1,e)return e()}finally{B=r,Ze.transition=n,b=t,!(b&6)&&ln()}}function oa(){Ve=Hn.current,Y(Hn)}function pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,wg(n)),ie!==null)for(n=ie.return;n!==null;){var r=n;switch(zs(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ji();break;case 3:ir(),Y(je),Y(we),Ys();break;case 5:Gs(r);break;case 4:ir();break;case 13:Y(J);break;case 19:Y(J);break;case 10:Bs(r.type._context);break;case 22:case 23:oa()}n=n.return}if(ue=e,ie=e=qt(e.current,null),he=Ve=t,se=0,Zr=null,na=Po=yn=0,Re=Fr=null,dn!==null){for(t=0;t<dn.length;t++)if(n=dn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}dn=null}return e}function Pf(e,t){do{var n=ie;try{if($s(),ji.current=lo,oo){for(var r=Z.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}oo=!1}if(vn=0,ae=le=Z=null,Lr=!1,Qr=0,ta.current=null,n===null||n.return===null){se=1,Zr=t,ie=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=he,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,p=s,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=Mu(l);if(g!==null){g.flags&=-257,$u(g,l,s,o,t),g.mode&1&&Vu(o,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var k=new Set;k.add(a),t.updateQueue=k}else y.add(a);break e}else{if(!(t&1)){Vu(o,u,t),la();break e}a=Error(N(426))}}else if(Q&&s.mode&1){var _=Mu(l);if(_!==null){!(_.flags&65536)&&(_.flags|=256),$u(_,l,s,o,t),Vs(or(a,s));break e}}o=a=or(a,s),se!==4&&(se=2),Fr===null?Fr=[o]:Fr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=af(o,a,t);ju(o,f);break e;case 1:s=a;var c=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Jt===null||!Jt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=uf(o,s,t);ju(o,w);break e}}o=o.return}while(o!==null)}Cf(n)}catch(O){t=O,ie===n&&n!==null&&(ie=n=n.return);continue}break}while(1)}function xf(){var e=so.current;return so.current=lo,e===null?lo:e}function la(){(se===0||se===3||se===2)&&(se=4),ue===null||!(yn&268435455)&&!(Po&268435455)||$t(ue,he)}function co(e,t){var n=b;b|=2;var r=xf();(ue!==e||he!==t)&&(Et=null,pn(e,t));do try{Kg();break}catch(i){Pf(e,i)}while(1);if($s(),b=n,so.current=r,ie!==null)throw Error(N(261));return ue=null,he=0,se}function Kg(){for(;ie!==null;)Ef(ie)}function Hg(){for(;ie!==null&&!gm();)Ef(ie)}function Ef(e){var t=Tf(e.alternate,e,Ve);e.memoizedProps=e.pendingProps,t===null?Cf(e):ie=t,ta.current=null}function Cf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=bg(n,t),n!==null){n.flags&=32767,ie=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{se=6,ie=null;return}}else if(n=Ug(n,t,Ve),n!==null){ie=n;return}if(t=t.sibling,t!==null){ie=t;return}ie=t=e}while(t!==null);se===0&&(se=5)}function an(e,t,n){var r=B,i=Ze.transition;try{Ze.transition=null,B=1,Wg(e,t,n,r)}finally{Ze.transition=i,B=r}return null}function Wg(e,t,n,r){do Jn();while(Kt!==null);if(b&6)throw Error(N(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(N(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(xm(e,o),e===ue&&(ie=ue=null,he=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_i||(_i=!0,Rf(Hi,function(){return Jn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ze.transition,Ze.transition=null;var l=B;B=1;var s=b;b|=4,ta.current=null,Vg(e,n),Of(n,e),fg($l),Gi=!!Ml,$l=Ml=null,e.current=n,Mg(n),vm(),b=s,B=l,Ze.transition=o}else e.current=n;if(_i&&(_i=!1,Kt=e,uo=i),o=e.pendingLanes,o===0&&(Jt=null),km(n.stateNode),Ae(e,re()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ao)throw ao=!1,e=as,as=null,e;return uo&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===us?Ar++:(Ar=0,us=e):Ar=0,ln(),null}function Jn(){if(Kt!==null){var e=ld(uo),t=Ze.transition,n=B;try{if(Ze.transition=null,B=16>e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,uo=0,b&6)throw Error(N(331));var i=b;for(b|=4,T=e.current;T!==null;){var o=T,l=o.child;if(T.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(T=u;T!==null;){var p=T;switch(p.tag){case 0:case 11:case 15:jr(8,p,o)}var d=p.child;if(d!==null)d.return=p,T=d;else for(;T!==null;){p=T;var h=p.sibling,g=p.return;if(wf(p),p===u){T=null;break}if(h!==null){h.return=g,T=h;break}T=g}}}var y=o.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var _=k.sibling;k.sibling=null,k=_}while(k!==null)}}T=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,T=l;else e:for(;T!==null;){if(o=T,o.flags&2048)switch(o.tag){case 0:case 11:case 15:jr(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,T=f;break e}T=o.return}}var c=e.current;for(T=c;T!==null;){l=T;var m=l.child;if(l.subtreeFlags&2064&&m!==null)m.return=l,T=m;else e:for(l=c;T!==null;){if(s=T,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:No(9,s)}}catch(O){ee(s,s.return,O)}if(s===l){T=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,T=w;break e}T=s.return}}if(b=i,ln(),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(go,e)}catch{}r=!0}return r}finally{B=n,Ze.transition=t}}return!1}function tc(e,t,n){t=or(n,t),t=af(e,t,1),e=Xt(e,t,1),t=_e(),e!==null&&(ti(e,1,t),Ae(e,t))}function ee(e,t,n){if(e.tag===3)tc(e,e,n);else for(;t!==null;){if(t.tag===3){tc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jt===null||!Jt.has(r))){e=or(n,e),e=uf(t,e,1),t=Xt(t,e,1),e=_e(),t!==null&&(ti(t,1,e),Ae(t,e));break}}t=t.return}}function Gg(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,ue===e&&(he&n)===n&&(se===4||se===3&&(he&130023424)===he&&500>re()-ra?pn(e,0):na|=n),Ae(e,t)}function If(e,t){t===0&&(e.mode&1?(t=pi,pi<<=1,!(pi&130023424)&&(pi=4194304)):t=1);var n=_e();e=Ft(e,t),e!==null&&(ti(e,t,n),Ae(e,n))}function Yg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),If(e,n)}function Qg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),If(e,n)}var Tf;Tf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,Dg(e,t,n);Le=!!(e.flags&131072)}else Le=!1,Q&&t.flags&1048576&&Ld(t,eo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ai(e,t),e=t.pendingProps;var i=tr(t,we.current);Xn(t,n),i=Xs(null,t,r,e,i,n);var o=Js();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(o=!0,Zi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hs(t),i.updater=Oo,t.stateNode=i,i._reactInternals=t,Jl(t,r,e,n),t=es(null,t,r,!0,o,n)):(t.tag=0,Q&&o&&bs(t),Se(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ai(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Jg(r),e=lt(r,e),i){case 0:t=ql(null,t,r,e,n);break e;case 1:t=Hu(null,t,r,e,n);break e;case 11:t=Bu(null,t,r,e,n);break e;case 14:t=Ku(null,t,r,lt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),ql(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),Hu(e,t,r,i,n);case 3:e:{if(pf(t),e===null)throw Error(N(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Dd(e,t),ro(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=or(Error(N(423)),t),t=Wu(e,t,r,n,i);break e}else if(r!==i){i=or(Error(N(424)),t),t=Wu(e,t,r,n,i);break e}else for($e=Qt(t.stateNode.containerInfo.firstChild),Be=t,Q=!0,at=null,n=Vd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===i){t=At(e,t,n);break e}Se(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&Yl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Bl(r,i)?l=null:o!==null&&Bl(r,o)&&(t.flags|=32),ff(e,t),Se(e,t,l,n),t.child;case 6:return e===null&&Yl(t),null;case 13:return hf(e,t,n);case 4:return Ws(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):Se(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),Bu(e,t,r,i,n);case 7:return Se(e,t,t.pendingProps,n),t.child;case 8:return Se(e,t,t.pendingProps.children,n),t.child;case 12:return Se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,H(to,r._currentValue),r._currentValue=l,o!==null)if(dt(o.value,l)){if(o.children===i.children&&!je.current){t=At(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Rt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ql(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(N(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ql(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Se(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xn(t,n),i=qe(i),r=r(i),t.flags|=1,Se(e,t,r,n),t.child;case 14:return r=t.type,i=lt(r,t.pendingProps),i=lt(r.type,i),Ku(e,t,r,i,n);case 15:return cf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:lt(r,i),Ai(e,t),t.tag=1,Fe(r)?(e=!0,Zi(t)):e=!1,Xn(t,n),bd(t,r,i),Jl(t,r,i,n),es(null,t,r,!0,e,n);case 19:return mf(e,t,n);case 22:return df(e,t,n)}throw Error(N(156,t.tag))};function Rf(e,t){return nd(e,t)}function Xg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,t,n,r){return new Xg(e,t,n,r)}function sa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jg(e){if(typeof e=="function")return sa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xs)return 11;if(e===Es)return 14}return 2}function qt(e,t){var n=e.alternate;return n===null?(n=Xe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bi(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")sa(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case An:return hn(n.children,i,o,t);case Ps:l=8,i|=8;break;case Sl:return e=Xe(12,n,t,i|2),e.elementType=Sl,e.lanes=o,e;case Ol:return e=Xe(13,n,t,i),e.elementType=Ol,e.lanes=o,e;case _l:return e=Xe(19,n,t,i),e.elementType=_l,e.lanes=o,e;case zc:return xo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uc:l=10;break e;case bc:l=9;break e;case xs:l=11;break e;case Es:l=14;break e;case zt:l=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=Xe(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function hn(e,t,n,r){return e=Xe(7,e,r,t),e.lanes=n,e}function xo(e,t,n,r){return e=Xe(22,e,r,t),e.elementType=zc,e.lanes=n,e.stateNode={isHidden:!1},e}function ul(e,t,n){return e=Xe(6,e,null,t),e.lanes=n,e}function cl(e,t,n){return t=Xe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zg(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ko(0),this.expirationTimes=Ko(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ko(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function aa(e,t,n,r,i,o,l,s,a){return e=new Zg(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Xe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hs(o),e}function qg(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lf(e){if(!e)return nn;e=e._reactInternals;e:{if(Sn(e)!==e||e.tag!==1)throw Error(N(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(N(171))}if(e.tag===1){var n=e.type;if(Fe(n))return Td(e,n,t)}return t}function jf(e,t,n,r,i,o,l,s,a){return e=aa(n,r,!0,e,i,o,l,s,a),e.context=Lf(null),n=e.current,r=_e(),i=Zt(n),o=Rt(r,i),o.callback=t??null,Xt(n,o,i),e.current.lanes=i,ti(e,i,r),Ae(e,r),e}function Eo(e,t,n,r){var i=t.current,o=_e(),l=Zt(i);return n=Lf(n),t.context===null?t.context=n:t.pendingContext=n,t=Rt(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xt(i,t,l),e!==null&&(ct(e,i,l,o),Li(e,i,l)),l}function fo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function nc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ua(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ev(){return null}var Ff=typeof reportError=="function"?reportError:function(e){console.error(e)};function ca(e){this._internalRoot=e}Co.prototype.render=ca.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(N(409));Eo(e,t,null,null)};Co.prototype.unmount=ca.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wn(function(){Eo(null,e,null,null)}),t[jt]=null}};function Co(e){this._internalRoot=e}Co.prototype.unstable_scheduleHydration=function(e){if(e){var t=ud();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&t!==0&&t<Mt[n].priority;n++);Mt.splice(n,0,e),n===0&&dd(e)}};function da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Io(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rc(){}function tv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=fo(l);o.call(u)}}var l=jf(t,r,e,0,null,!1,!1,"",rc);return e._reactRootContainer=l,e[jt]=l.current,Kr(e.nodeType===8?e.parentNode:e),wn(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=fo(a);s.call(u)}}var a=aa(e,0,!1,null,null,!1,!1,"",rc);return e._reactRootContainer=a,e[jt]=a.current,Kr(e.nodeType===8?e.parentNode:e),wn(function(){Eo(t,a,n,r)}),a}function To(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=fo(l);s.call(a)}}Eo(t,l,e,i)}else l=tv(n,t,e,i,r);return fo(l)}sd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pr(t.pendingLanes);n!==0&&(Ts(t,n|1),Ae(t,re()),!(b&6)&&(lr=re()+500,ln()))}break;case 13:wn(function(){var r=Ft(e,1);if(r!==null){var i=_e();ct(r,e,1,i)}}),ua(e,1)}};Rs=function(e){if(e.tag===13){var t=Ft(e,134217728);if(t!==null){var n=_e();ct(t,e,134217728,n)}ua(e,134217728)}};ad=function(e){if(e.tag===13){var t=Zt(e),n=Ft(e,t);if(n!==null){var r=_e();ct(n,e,t,r)}ua(e,t)}};ud=function(){return B};cd=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};jl=function(e,t,n){switch(t){case"input":if(xl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ko(r);if(!i)throw Error(N(90));Mc(r),xl(r,i)}}}break;case"textarea":Bc(e,n);break;case"select":t=n.value,t!=null&&Wn(e,!!n.multiple,t,!1)}};Xc=ia;Jc=wn;var nv={usingClientEntryPoint:!1,Events:[ri,zn,ko,Yc,Qc,ia]},kr={findFiberByHostInstance:cn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rv={bundleType:kr.bundleType,version:kr.version,rendererPackageName:kr.rendererPackageName,rendererConfig:kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Dt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ed(e),e===null?null:e.stateNode},findFiberByHostInstance:kr.findFiberByHostInstance||ev,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{go=Ni.inject(rv),kt=Ni}catch{}}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nv;He.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!da(t))throw Error(N(200));return qg(e,t,null,n)};He.createRoot=function(e,t){if(!da(e))throw Error(N(299));var n=!1,r="",i=Ff;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=aa(e,1,!1,null,null,n,!1,r,i),e[jt]=t.current,Kr(e.nodeType===8?e.parentNode:e),new ca(t)};He.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(N(188)):(e=Object.keys(e).join(","),Error(N(268,e)));return e=ed(t),e=e===null?null:e.stateNode,e};He.flushSync=function(e){return wn(e)};He.hydrate=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!0,n)};He.hydrateRoot=function(e,t,n){if(!da(e))throw Error(N(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=Ff;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=jf(t,null,e,1,n??null,i,!1,o,l),e[jt]=t.current,Kr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Co(t)};He.render=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!1,n)};He.unmountComponentAtNode=function(e){if(!Io(e))throw Error(N(40));return e._reactRootContainer?(wn(function(){To(null,null,e,!1,function(){e._reactRootContainer=null,e[jt]=null})}),!0):!1};He.unstable_batchedUpdates=ia;He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Io(n))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return To(e,t,n,!1,r)};He.version="18.2.0-next-9e3b772b8-20220608";function Af(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Af)}catch(e){console.error(e)}}Af(),Lc.exports=He;var iv=Lc.exports,ic=iv;wl.createRoot=ic.createRoot,wl.hydrateRoot=ic.hydrateRoot;const fa=ce.createInstance(),fs="en";if(!(fs in qn))throw new Error(`'${fs}' language is not supported`);fa.init({debug:!1,resources:qn,lng:fs,fallbackLng:"en",supportedLngs:Object.keys(qn)});const K=fa.getFixedT(null,"core"),ov=e=>fa.getFixedT(null,"core",e);var I=(e=>(e.ROOT="ROOT",e.PACKAGE="PACKAGE",e.VERSION="VERSION",e.ENVIRONMENT="ENVIRONMENT",e.OP_SYSTEM="OP_SYSTEM",e.DISTRIBUTION="DISTRIBUTION",e.FRAMEWORK="FRAMEWORK",e))(I||{}),Df=(e=>(e.ROOT="ROOT",e))(Df||{}),Ut=(e=>(e.v_2022_3_2="v_2022_3_2",e.v_2023_3_0="v_2023_3_0",e.v_2024_3_0="v_2024_3_0",e.NIGHTLY="NIGHTLY",e))(Ut||{}),oi=(e=>(e.DEV_TOOLS="DEV_TOOLS",e.RUNTIME="RUNTIME",e))(oi||{}),Je=(e=>(e.WINDOWS="WINDOWS",e.MACOS="MACOS",e.LINUX="LINUX",e))(Je||{}),On=(e=>(e.OPENVINO_BASE="OPENVINO_BASE",e.OPENVINO_GENAI="OPENVINO_GENAI",e))(On||{});const lv={title:"Windows"},sv={title:"macOS"},av={title:"Linux"};var A=(e=>(e.PIP="PIP",e.ARCHIVE="ARCHIVE",e.GITHUB="GITHUB",e.GITEE="GITEE",e.DOCKER="DOCKER",e.APT="APT",e.YUM="YUM",e.CONDA="CONDA",e.BREW="BREW",e.VCPKG="VCPKG",e.CONAN="CONAN",e.NPM="NPM",e.ZYPPER="ZYPPER",e.SNAP="SNAP",e))(A||{}),Me=(e=>(e.CAFFE="CAFFE",e.PYTORCH="PYTORCH",e.TENSORFLOW_1="TENSORFLOW_1",e.TENSORFLOW_2="TENSORFLOW_2",e.ONNX="ONNX",e.KALDI="KALDI",e.MXNET="MXNET",e))(Me||{});class Te{constructor(t,n=[]){ze(this,"level");ze(this,"key");ze(this,"metadata");ze(this,"children",[]);ze(this,"isDefault",!1);ze(this,"checked",!1);ze(this,"childrenSelector");this.level=t.level,this.key=t.key,this.metadata=t.metadata,this.children=n,this.childrenSelector=t.childrenSelector}default(){return this.isDefault=!0,this.checked=!0,this}toOption(){return{level:this.level,key:this.key,metadata:this.metadata,checked:this.checked,hasFootnote:!1}}}const uv=ov("distributions.common");var ne=(e=>(e[e.UBUNTU_18=0]="UBUNTU_18",e[e.UBUNTU_20=1]="UBUNTU_20",e[e.UBUNTU_22=2]="UBUNTU_22",e[e.UBUNTU_24=3]="UBUNTU_24",e))(ne||{});class De extends Te{constructor(n,r=[]){super(n,r);ze(this,"footnoteLevel",null)}toOption(){return{...super.toOption(),key:this.key,data:this.data}}addFootnote(n){return this.footnoteLevel=n,this}includesNPUPlugin(){const n=uv("includesNPUPlugin");return this.metadata.subtitle?this.metadata.subtitle=[n,this.metadata.subtitle].join(`
-`):this.metadata.subtitle=n,this}}class pa extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.APT,metadata:{title:"APT"}}),this._data=t}get data(){return{...this._data,commands:mv}}cApiOnly(){return this.metadata.subtitle=K("distributions.CAPIOnly"),this}}const ps="GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",oc=`https://apt.repos.intel.com/intel-gpg-keys/${ps}`,cv={[ne.UBUNTU_24]:24,[ne.UBUNTU_22]:22,[ne.UBUNTU_20]:20,[ne.UBUNTU_18]:18},dv={alias:{[ne.UBUNTU_24]:"noble",[ne.UBUNTU_22]:"jammy",[ne.UBUNTU_20]:"focal",[ne.UBUNTU_18]:"bionic"},numberName:{[ne.UBUNTU_24]:"ubuntu24",[ne.UBUNTU_22]:"ubuntu22",[ne.UBUNTU_20]:"ubuntu20",[ne.UBUNTU_18]:"ubuntu18"}},fv=new Set([Ut.v_2022_3_2]),pv=(e,t)=>{const n=fv.has(e.key)?"alias":"numberName";return dv[n][t]},hv=(e,t)=>{const n=pv(e,t);return`echo "deb https://apt.repos.intel.com/openvino/${e.metadata.aptYear} ${n} main" | sudo tee /etc/apt/sources.list.d/intel-openvino-${e.metadata.aptYear}.list`},mv={keyFilename:ps,keyHref:oc,downloadKeyCommand:`wget ${oc}`,addKeyCommand:`sudo apt-key add ${ps}`,getAddRepositoryCommands:(e,t)=>t.map(n=>({ubuntuVersionNumber:cv[n],command:hv(e,n)})),updatePackagesCommand:"sudo apt update",verifyAptCacheCommand:"apt-cache search openvino",getInstallCommand:e=>`sudo apt install openvino-${e.metadata.aptVersion}`};class de extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.ARCHIVE,metadata:{title:K("distributions.openVINOArchives")}}),this.data=t}}class Uf extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.BREW,metadata:{title:"Homebrew"}}),this._data=t}get data(){return{...this._data,commands:gv}}}const gv={install:"brew install openvino"};class cr extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.CONAN,metadata:{title:"Conan"}}),this._data=t}get data(){return{...this._data,commands:yv}}}const lc="conanfile.txt",sc="conan_toolchain.cmake",vv=e=>`[requires]
+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Zl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rg=typeof WeakMap=="function"?WeakMap:Map;function af(e,t,n){n=Lt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ao||(ao=!0,as=r),Zl(e,t)},n}function uf(e,t,n){n=Lt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Zl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Zl(e,t),typeof r!="function"&&(qt===null?qt=new Set([this]):qt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Vu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rg;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Hg.bind(null,e,t,n),t.then(e,e))}function $u(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Mu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Lt(-1,1),t.tag=2,Zt(n,t,1))),n.lanes|=1),e)}var Lg=Ut.ReactCurrentOwner,Ae=!1;function _e(e,t,n,r){t.child=e===null?Vd(t,null,n,r):rr(t,e.child,n,r)}function Bu(e,t,n,r,i){n=n.render;var o=t.ref;return Xn(t,i),r=Xs(e,t,n,r,o,i),n=Js(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Dt(e,t,i)):(Y&&n&&zs(t),t.flags|=1,_e(e,t,r,i),t.child)}function Ku(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sa(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,cf(e,t,o,r,i)):(e=zi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(l,r)&&e.ref===t.ref)return Dt(e,t,i)}return t.flags|=1,e=tn(o,r),e.ref=t.ref,e.return=t,t.child=e}function cf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Br(o,r)&&e.ref===t.ref)if(Ae=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ae=!0);else return t.lanes=e.lanes,Dt(e,t,i)}return ql(e,t,n,r,i)}function df(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(Hn,$e),$e|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(Hn,$e),$e|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(Hn,$e),$e|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(Hn,$e),$e|=r;return _e(e,t,i,n),t.child}function ff(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ql(e,t,n,r,i){var o=Fe(n)?vn:Se.current;return o=tr(t,o),Xn(t,i),n=Xs(e,t,n,r,o,i),r=Js(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Dt(e,t,i)):(Y&&r&&zs(t),t.flags|=1,_e(e,t,n,i),t.child)}function Hu(e,t,n,r,i){if(Fe(n)){var o=!0;Zi(t)}else o=!1;if(Xn(t,i),t.stateNode===null)Fi(e,t),zd(t,n,r),Jl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=et(u):(u=Fe(n)?vn:Se.current,u=tr(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Du(t,l,r,u),Mt=!1;var h=t.memoizedState;l.state=h,ro(t,r,l,i),a=t.memoizedState,s!==r||h!==a||je.current||Mt?(typeof p=="function"&&(Xl(t,n,p,r),a=t.memoizedState),(s=Mt||Fu(t,n,s,r,h,a,u))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Dd(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:st(t.type,s),l.props=u,d=t.pendingProps,h=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=et(a):(a=Fe(n)?vn:Se.current,a=tr(t,a));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==d||h!==a)&&Du(t,l,r,a),Mt=!1,h=t.memoizedState,l.state=h,ro(t,r,l,i);var y=t.memoizedState;s!==d||h!==y||je.current||Mt?(typeof g=="function"&&(Xl(t,n,g,r),y=t.memoizedState),(u=Mt||Fu(t,n,u,r,h,y,a)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return es(e,t,n,r,o,i)}function es(e,t,n,r,i,o){ff(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Tu(t,n,!1),Dt(e,t,o);r=t.stateNode,Lg.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=rr(t,e.child,null,o),t.child=rr(t,null,s,o)):_e(e,t,s,o),t.memoizedState=r.state,i&&Tu(t,n,!0),t.child}function pf(e){var t=e.stateNode;t.pendingContext?Iu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Iu(e,t.context,!1),Ws(e,t.containerInfo)}function Wu(e,t,n,r,i){return nr(),Vs(i),t.flags|=256,_e(e,t,n,r),t.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function hf(e,t,n){var r=t.pendingProps,i=X.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(X,i&1),e===null)return Yl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Eo(l,r,0,null),e=gn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ns(n),t.memoizedState=ts,e):ea(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Ag(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=tn(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=tn(s,o):(o=gn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=ts,r}return o=e.child,e=o.sibling,r=tn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ea(e,t){return t=Eo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Si(e,t,n,r){return r!==null&&Vs(r),rr(t,e.child,null,n),e=ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ag(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=sl(Error(N(422))),Si(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Eo({mode:"visible",children:r.children},i,0,null),o=gn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&rr(t,e.child,null,l),t.child.memoizedState=ns(l),t.memoizedState=ts,o);if(!(t.mode&1))return Si(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(N(419)),r=sl(o,r,void 0),Si(e,t,l,r)}if(s=(l&e.childLanes)!==0,Ae||s){if(r=de,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ft(e,i),dt(r,e,i,-1))}return la(),r=sl(Error(N(421))),Si(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Wg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Be=Jt(i.nextSibling),Ke=t,Y=!0,ut=null,e!==null&&(Qe[Xe++]=Tt,Qe[Xe++]=Rt,Qe[Xe++]=yn,Tt=e.id,Rt=e.overflow,yn=t),t=ea(t,r.children),t.flags|=4096,t)}function Gu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ql(e.return,t,n)}function al(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function mf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_e(e,t,r.children,n),r=X.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gu(e,n,t);else if(e.tag===19)Gu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(X,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&io(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),al(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}al(t,!0,n,null,o);break;case"together":al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Dt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),kn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(N(153));if(t.child!==null){for(e=t.child,n=tn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jg(e,t,n){switch(t.tag){case 3:pf(t),nr();break;case 5:$d(t);break;case 1:Fe(t.type)&&Zi(t);break;case 4:Ws(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(to,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(X,X.current&1),t.flags|=128,null):n&t.child.childLanes?hf(e,t,n):(K(X,X.current&1),e=Dt(e,t,n),e!==null?e.sibling:null);K(X,X.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return mf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(X,X.current),r)break;return null;case 22:case 23:return t.lanes=0,df(e,t,n)}return Dt(e,t,n)}var gf,rs,vf,yf;gf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};rs=function(){};vf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,hn(Ot.current);var o=null;switch(n){case"input":i=Pl(e,i),r=Pl(e,r),o=[];break;case"select":i=Z({},i,{value:void 0}),r=Z({},r,{value:void 0}),o=[];break;case"textarea":i=Cl(e,i),r=Cl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xi)}Tl(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Dr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Dr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&W("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};yf=function(e,t,n,r){n!==r&&(t.flags|=4)};function wr(e,t){if(!Y)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Fg(e,t,n){var r=t.pendingProps;switch(bs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return Fe(t.type)&&Ji(),we(t),null;case 3:return r=t.stateNode,ir(),G(je),G(Se),Ys(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ut!==null&&(ds(ut),ut=null))),rs(e,t),we(t),null;case 5:Gs(t);var i=hn(Yr.current);if(n=t.type,e!==null&&t.stateNode!=null)vf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(N(166));return we(t),null}if(e=hn(Ot.current),wi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[wt]=t,r[Wr]=o,e=(t.mode&1)!==0,n){case"dialog":W("cancel",r),W("close",r);break;case"iframe":case"object":case"embed":W("load",r);break;case"video":case"audio":for(i=0;i<Er.length;i++)W(Er[i],r);break;case"source":W("error",r);break;case"img":case"image":case"link":W("error",r),W("load",r);break;case"details":W("toggle",r);break;case"input":nu(r,o),W("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},W("invalid",r);break;case"textarea":iu(r,o),W("invalid",r)}Tl(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",""+s]):Dr.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&W("scroll",r)}switch(n){case"input":ci(r),ru(r,o,!0);break;case"textarea":ci(r),ou(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Xi)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Kc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[wt]=t,e[Wr]=r,gf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Rl(n,r),n){case"dialog":W("cancel",e),W("close",e),i=r;break;case"iframe":case"object":case"embed":W("load",e),i=r;break;case"video":case"audio":for(i=0;i<Er.length;i++)W(Er[i],e);i=r;break;case"source":W("error",e),i=r;break;case"img":case"image":case"link":W("error",e),W("load",e),i=r;break;case"details":W("toggle",e),i=r;break;case"input":nu(e,r),i=Pl(e,r),W("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Z({},r,{value:void 0}),W("invalid",e);break;case"textarea":iu(e,r),i=Cl(e,r),W("invalid",e);break;default:i=r}Tl(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?Gc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Hc(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ur(e,a):typeof a=="number"&&Ur(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Dr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&W("scroll",e):a!=null&&Ns(e,o,a,l))}switch(n){case"input":ci(e),ru(e,r,!1);break;case"textarea":ci(e),ou(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Wn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Wn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Xi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return we(t),null;case 6:if(e&&t.stateNode!=null)yf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(N(166));if(n=hn(Yr.current),hn(Ot.current),wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[wt]=t,(o=r.nodeValue!==n)&&(e=Ke,e!==null))switch(e.tag){case 3:yi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&yi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[wt]=t,t.stateNode=r}return we(t),null;case 13:if(G(X),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Y&&Be!==null&&t.mode&1&&!(t.flags&128))jd(),nr(),t.flags|=98560,o=!1;else if(o=wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(N(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(N(317));o[wt]=t}else nr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;we(t),o=!1}else ut!==null&&(ds(ut),ut=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||X.current&1?ue===0&&(ue=3):la())),t.updateQueue!==null&&(t.flags|=4),we(t),null);case 4:return ir(),rs(e,t),e===null&&Kr(t.stateNode.containerInfo),we(t),null;case 10:return Bs(t.type._context),we(t),null;case 17:return Fe(t.type)&&Ji(),we(t),null;case 19:if(G(X),o=t.memoizedState,o===null)return we(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)wr(o,!1);else{if(ue!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=io(e),l!==null){for(t.flags|=128,wr(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(X,X.current&1|2),t.child}e=e.sibling}o.tail!==null&&re()>lr&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304)}else{if(!r)if(e=io(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Y)return we(t),null}else 2*re()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,n=X.current,K(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return oa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?$e&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function Dg(e,t){switch(bs(t),t.tag){case 1:return Fe(t.type)&&Ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),G(je),G(Se),Ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gs(t),null;case 13:if(G(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(X),null;case 4:return ir(),null;case 10:return Bs(t.type._context),null;case 22:case 23:return oa(),null;case 24:return null;default:return null}}var Oi=!1,ke=!1,Ug=typeof WeakSet=="function"?WeakSet:Set,T=null;function Kn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ee(e,t,r)}else n.current=null}function is(e,t,n){try{n()}catch(r){ee(e,t,r)}}var Yu=!1;function zg(e,t){if($l=Gi,e=Sd(),Us(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,p=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(s=l+i),d!==o||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++u===i&&(s=l),h===o&&++p===r&&(a=l),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ml={focusedElem:e,selectionRange:n},Gi=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,_=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:st(t.type,k),_);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(w){ee(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=Yu,Yu=!1,y}function Ar(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&is(t,n,o)}i=i.next}while(i!==r)}}function No(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wf(e){var t=e.alternate;t!==null&&(e.alternate=null,wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Wr],delete t[Hl],delete t[kg],delete t[Sg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kf(e){return e.tag===5||e.tag===3||e.tag===4}function Qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xi));else if(r!==4&&(e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function ss(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var he=null,at=!1;function Vt(e,t,n){for(n=n.child;n!==null;)Sf(e,t,n),n=n.sibling}function Sf(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(go,n)}catch{}switch(n.tag){case 5:ke||Kn(n,t);case 6:var r=he,i=at;he=null,Vt(e,t,n),he=r,at=i,he!==null&&(at?(e=he,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):he.removeChild(n.stateNode));break;case 18:he!==null&&(at?(e=he,n=n.stateNode,e.nodeType===8?tl(e.parentNode,n):e.nodeType===1&&tl(e,n),$r(e)):tl(he,n.stateNode));break;case 4:r=he,i=at,he=n.stateNode.containerInfo,at=!0,Vt(e,t,n),he=r,at=i;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&is(n,t,l),i=i.next}while(i!==r)}Vt(e,t,n);break;case 1:if(!ke&&(Kn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ee(n,t,s)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Vt(e,t,n),ke=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function Xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ug),t.forEach(function(r){var i=Gg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:he=s.stateNode,at=!1;break e;case 3:he=s.stateNode.containerInfo,at=!0;break e;case 4:he=s.stateNode.containerInfo,at=!0;break e}s=s.return}if(he===null)throw Error(N(160));Sf(o,l,i),he=null,at=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){ee(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Of(t,e),t=t.sibling}function Of(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lt(t,e),vt(e),r&4){try{Ar(3,e,e.return),No(3,e)}catch(k){ee(e,e.return,k)}try{Ar(5,e,e.return)}catch(k){ee(e,e.return,k)}}break;case 1:lt(t,e),vt(e),r&512&&n!==null&&Kn(n,n.return);break;case 5:if(lt(t,e),vt(e),r&512&&n!==null&&Kn(n,n.return),e.flags&32){var i=e.stateNode;try{Ur(i,"")}catch(k){ee(e,e.return,k)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Mc(i,o),Rl(s,l);var u=Rl(s,o);for(l=0;l<a.length;l+=2){var p=a[l],d=a[l+1];p==="style"?Gc(i,d):p==="dangerouslySetInnerHTML"?Hc(i,d):p==="children"?Ur(i,d):Ns(i,p,d,u)}switch(s){case"input":El(i,o);break;case"textarea":Bc(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Wn(i,!!o.multiple,g,!1):h!==!!o.multiple&&(o.defaultValue!=null?Wn(i,!!o.multiple,o.defaultValue,!0):Wn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Wr]=o}catch(k){ee(e,e.return,k)}}break;case 6:if(lt(t,e),vt(e),r&4){if(e.stateNode===null)throw Error(N(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){ee(e,e.return,k)}}break;case 3:if(lt(t,e),vt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{$r(t.containerInfo)}catch(k){ee(e,e.return,k)}break;case 4:lt(t,e),vt(e);break;case 13:lt(t,e),vt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ra=re())),r&4&&Xu(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(ke=(u=ke)||p,lt(t,e),ke=u):lt(t,e),vt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!p&&e.mode&1)for(T=e,p=e.child;p!==null;){for(d=T=p;T!==null;){switch(h=T,g=h.child,h.tag){case 0:case 11:case 14:case 15:Ar(4,h,h.return);break;case 1:Kn(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){ee(r,n,k)}}break;case 5:Kn(h,h.return);break;case 22:if(h.memoizedState!==null){Zu(d);continue}}g!==null?(g.return=h,T=g):Zu(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=d.stateNode,a=d.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Wc("display",l))}catch(k){ee(e,e.return,k)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(k){ee(e,e.return,k)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:lt(t,e),vt(e),r&4&&Xu(e);break;case 21:break;default:lt(t,e),vt(e)}}function vt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(kf(n)){var r=n;break e}n=n.return}throw Error(N(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ur(i,""),r.flags&=-33);var o=Qu(e);ss(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=Qu(e);ls(e,s,l);break;default:throw Error(N(161))}}catch(a){ee(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bg(e,t,n){T=e,_f(e)}function _f(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var i=T,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Oi;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||ke;s=Oi;var u=ke;if(Oi=l,(ke=a)&&!u)for(T=i;T!==null;)l=T,a=l.child,l.tag===22&&l.memoizedState!==null?qu(i):a!==null?(a.return=l,T=a):qu(i);for(;o!==null;)T=o,_f(o),o=o.sibling;T=i,Oi=s,ke=u}Ju(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,T=o):Ju(e)}}function Ju(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ke||No(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ke)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:st(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&ju(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ju(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&$r(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(N(163))}ke||t.flags&512&&os(t)}catch(h){ee(t,t.return,h)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function Zu(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function qu(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{No(4,t)}catch(a){ee(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ee(t,i,a)}}var o=t.return;try{os(t)}catch(a){ee(t,o,a)}break;case 5:var l=t.return;try{os(t)}catch(a){ee(t,l,a)}}}catch(a){ee(t,t.return,a)}if(t===e){T=null;break}var s=t.sibling;if(s!==null){s.return=t.return,T=s;break}T=t.return}}var Vg=Math.ceil,so=Ut.ReactCurrentDispatcher,ta=Ut.ReactCurrentOwner,qe=Ut.ReactCurrentBatchConfig,z=0,de=null,le=null,ge=0,$e=0,Hn=sn(0),ue=0,Zr=null,kn=0,Po=0,na=0,jr=null,Le=null,ra=0,lr=1/0,Ct=null,ao=!1,as=null,qt=null,_i=!1,Wt=null,uo=0,Fr=0,us=null,Di=-1,Ui=0;function Pe(){return z&6?re():Di!==-1?Di:Di=re()}function en(e){return e.mode&1?z&2&&ge!==0?ge&-ge:_g.transition!==null?(Ui===0&&(Ui=od()),Ui):(e=M,e!==0||(e=window.event,e=e===void 0?16:fd(e.type)),e):1}function dt(e,t,n,r){if(50<Fr)throw Fr=0,us=null,Error(N(185));ti(e,n,r),(!(z&2)||e!==de)&&(e===de&&(!(z&2)&&(Po|=n),ue===4&&Kt(e,ge)),De(e,r),n===1&&z===0&&!(t.mode&1)&&(lr=re()+500,So&&an()))}function De(e,t){var n=e.callbackNode;_m(e,t);var r=Wi(e,e===de?ge:0);if(r===0)n!==null&&au(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&au(n),t===1)e.tag===0?Og(ec.bind(null,e)):Rd(ec.bind(null,e)),yg(function(){!(z&6)&&an()}),n=null;else{switch(ld(r)){case 1:n=Is;break;case 4:n=rd;break;case 16:n=Hi;break;case 536870912:n=id;break;default:n=Hi}n=Rf(n,Nf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nf(e,t){if(Di=-1,Ui=0,z&6)throw Error(N(327));var n=e.callbackNode;if(Jn()&&e.callbackNode!==n)return null;var r=Wi(e,e===de?ge:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=co(e,r);else{t=r;var i=z;z|=2;var o=Ef();(de!==e||ge!==t)&&(Ct=null,lr=re()+500,mn(e,t));do try{Bg();break}catch(s){Pf(e,s)}while(1);Ms(),so.current=o,z=i,le!==null?t=0:(de=null,ge=0,t=ue)}if(t!==0){if(t===2&&(i=Dl(e),i!==0&&(r=i,t=cs(e,i))),t===1)throw n=Zr,mn(e,0),Kt(e,r),De(e,re()),n;if(t===6)Kt(e,r);else{if(i=e.current.alternate,!(r&30)&&!$g(i)&&(t=co(e,r),t===2&&(o=Dl(e),o!==0&&(r=o,t=cs(e,o))),t===1))throw n=Zr,mn(e,0),Kt(e,r),De(e,re()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(N(345));case 2:cn(e,Le,Ct);break;case 3:if(Kt(e,r),(r&130023424)===r&&(t=ra+500-re(),10<t)){if(Wi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Pe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Kl(cn.bind(null,e,Le,Ct),t);break}cn(e,Le,Ct);break;case 4:if(Kt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-ct(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vg(r/1960))-r,10<r){e.timeoutHandle=Kl(cn.bind(null,e,Le,Ct),r);break}cn(e,Le,Ct);break;case 5:cn(e,Le,Ct);break;default:throw Error(N(329))}}}return De(e,re()),e.callbackNode===n?Nf.bind(null,e):null}function cs(e,t){var n=jr;return e.current.memoizedState.isDehydrated&&(mn(e,t).flags|=256),e=co(e,t),e!==2&&(t=Le,Le=n,t!==null&&ds(t)),e}function ds(e){Le===null?Le=e:Le.push.apply(Le,e)}function $g(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ft(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Kt(e,t){for(t&=~na,t&=~Po,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ct(t),r=1<<n;e[n]=-1,t&=~r}}function ec(e){if(z&6)throw Error(N(327));Jn();var t=Wi(e,0);if(!(t&1))return De(e,re()),null;var n=co(e,t);if(e.tag!==0&&n===2){var r=Dl(e);r!==0&&(t=r,n=cs(e,r))}if(n===1)throw n=Zr,mn(e,0),Kt(e,t),De(e,re()),n;if(n===6)throw Error(N(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cn(e,Le,Ct),De(e,re()),null}function ia(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&(lr=re()+500,So&&an())}}function Sn(e){Wt!==null&&Wt.tag===0&&!(z&6)&&Jn();var t=z;z|=1;var n=qe.transition,r=M;try{if(qe.transition=null,M=1,e)return e()}finally{M=r,qe.transition=n,z=t,!(z&6)&&an()}}function oa(){$e=Hn.current,G(Hn)}function mn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,vg(n)),le!==null)for(n=le.return;n!==null;){var r=n;switch(bs(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ji();break;case 3:ir(),G(je),G(Se),Ys();break;case 5:Gs(r);break;case 4:ir();break;case 13:G(X);break;case 19:G(X);break;case 10:Bs(r.type._context);break;case 22:case 23:oa()}n=n.return}if(de=e,le=e=tn(e.current,null),ge=$e=t,ue=0,Zr=null,na=Po=kn=0,Le=jr=null,pn!==null){for(t=0;t<pn.length;t++)if(n=pn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}pn=null}return e}function Pf(e,t){do{var n=le;try{if(Ms(),Ai.current=lo,oo){for(var r=J.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}oo=!1}if(wn=0,ce=ae=J=null,Lr=!1,Qr=0,ta.current=null,n===null||n.return===null){ue=1,Zr=t,le=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=ge,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,p=s,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=$u(l);if(g!==null){g.flags&=-257,Mu(g,l,s,o,t),g.mode&1&&Vu(o,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var k=new Set;k.add(a),t.updateQueue=k}else y.add(a);break e}else{if(!(t&1)){Vu(o,u,t),la();break e}a=Error(N(426))}}else if(Y&&s.mode&1){var _=$u(l);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Mu(_,l,s,o,t),Vs(or(a,s));break e}}o=a=or(a,s),ue!==4&&(ue=2),jr===null?jr=[o]:jr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=af(o,a,t);Au(o,f);break e;case 1:s=a;var c=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(qt===null||!qt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=uf(o,s,t);Au(o,w);break e}}o=o.return}while(o!==null)}Cf(n)}catch(O){t=O,le===n&&n!==null&&(le=n=n.return);continue}break}while(1)}function Ef(){var e=so.current;return so.current=lo,e===null?lo:e}function la(){(ue===0||ue===3||ue===2)&&(ue=4),de===null||!(kn&268435455)&&!(Po&268435455)||Kt(de,ge)}function co(e,t){var n=z;z|=2;var r=Ef();(de!==e||ge!==t)&&(Ct=null,mn(e,t));do try{Mg();break}catch(i){Pf(e,i)}while(1);if(Ms(),z=n,so.current=r,le!==null)throw Error(N(261));return de=null,ge=0,ue}function Mg(){for(;le!==null;)xf(le)}function Bg(){for(;le!==null&&!hm();)xf(le)}function xf(e){var t=Tf(e.alternate,e,$e);e.memoizedProps=e.pendingProps,t===null?Cf(e):le=t,ta.current=null}function Cf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Dg(n,t),n!==null){n.flags&=32767,le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ue=6,le=null;return}}else if(n=Fg(n,t,$e),n!==null){le=n;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);ue===0&&(ue=5)}function cn(e,t,n){var r=M,i=qe.transition;try{qe.transition=null,M=1,Kg(e,t,n,r)}finally{qe.transition=i,M=r}return null}function Kg(e,t,n,r){do Jn();while(Wt!==null);if(z&6)throw Error(N(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(N(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Nm(e,o),e===de&&(le=de=null,ge=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_i||(_i=!0,Rf(Hi,function(){return Jn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=qe.transition,qe.transition=null;var l=M;M=1;var s=z;z|=4,ta.current=null,zg(e,n),Of(n,e),cg(Ml),Gi=!!$l,Ml=$l=null,e.current=n,bg(n),mm(),z=s,M=l,qe.transition=o}else e.current=n;if(_i&&(_i=!1,Wt=e,uo=i),o=e.pendingLanes,o===0&&(qt=null),ym(n.stateNode),De(e,re()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ao)throw ao=!1,e=as,as=null,e;return uo&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===us?Fr++:(Fr=0,us=e):Fr=0,an(),null}function Jn(){if(Wt!==null){var e=ld(uo),t=qe.transition,n=M;try{if(qe.transition=null,M=16>e?16:e,Wt===null)var r=!1;else{if(e=Wt,Wt=null,uo=0,z&6)throw Error(N(331));var i=z;for(z|=4,T=e.current;T!==null;){var o=T,l=o.child;if(T.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(T=u;T!==null;){var p=T;switch(p.tag){case 0:case 11:case 15:Ar(8,p,o)}var d=p.child;if(d!==null)d.return=p,T=d;else for(;T!==null;){p=T;var h=p.sibling,g=p.return;if(wf(p),p===u){T=null;break}if(h!==null){h.return=g,T=h;break}T=g}}}var y=o.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var _=k.sibling;k.sibling=null,k=_}while(k!==null)}}T=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,T=l;else e:for(;T!==null;){if(o=T,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ar(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,T=f;break e}T=o.return}}var c=e.current;for(T=c;T!==null;){l=T;var m=l.child;if(l.subtreeFlags&2064&&m!==null)m.return=l,T=m;else e:for(l=c;T!==null;){if(s=T,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:No(9,s)}}catch(O){ee(s,s.return,O)}if(s===l){T=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,T=w;break e}T=s.return}}if(z=i,an(),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(go,e)}catch{}r=!0}return r}finally{M=n,qe.transition=t}}return!1}function tc(e,t,n){t=or(n,t),t=af(e,t,1),e=Zt(e,t,1),t=Pe(),e!==null&&(ti(e,1,t),De(e,t))}function ee(e,t,n){if(e.tag===3)tc(e,e,n);else for(;t!==null;){if(t.tag===3){tc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qt===null||!qt.has(r))){e=or(n,e),e=uf(t,e,1),t=Zt(t,e,1),e=Pe(),t!==null&&(ti(t,1,e),De(t,e));break}}t=t.return}}function Hg(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pe(),e.pingedLanes|=e.suspendedLanes&n,de===e&&(ge&n)===n&&(ue===4||ue===3&&(ge&130023424)===ge&&500>re()-ra?mn(e,0):na|=n),De(e,t)}function If(e,t){t===0&&(e.mode&1?(t=pi,pi<<=1,!(pi&130023424)&&(pi=4194304)):t=1);var n=Pe();e=Ft(e,t),e!==null&&(ti(e,t,n),De(e,n))}function Wg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),If(e,n)}function Gg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),If(e,n)}var Tf;Tf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,jg(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,Y&&t.flags&1048576&&Ld(t,eo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fi(e,t),e=t.pendingProps;var i=tr(t,Se.current);Xn(t,n),i=Xs(null,t,r,e,i,n);var o=Js();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(o=!0,Zi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hs(t),i.updater=Oo,t.stateNode=i,i._reactInternals=t,Jl(t,r,e,n),t=es(null,t,r,!0,o,n)):(t.tag=0,Y&&o&&zs(t),_e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Qg(r),e=st(r,e),i){case 0:t=ql(null,t,r,e,n);break e;case 1:t=Hu(null,t,r,e,n);break e;case 11:t=Bu(null,t,r,e,n);break e;case 14:t=Ku(null,t,r,st(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),ql(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Hu(e,t,r,i,n);case 3:e:{if(pf(t),e===null)throw Error(N(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Dd(e,t),ro(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=or(Error(N(423)),t),t=Wu(e,t,r,n,i);break e}else if(r!==i){i=or(Error(N(424)),t),t=Wu(e,t,r,n,i);break e}else for(Be=Jt(t.stateNode.containerInfo.firstChild),Ke=t,Y=!0,ut=null,n=Vd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===i){t=Dt(e,t,n);break e}_e(e,t,r,n)}t=t.child}return t;case 5:return $d(t),e===null&&Yl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Bl(r,i)?l=null:o!==null&&Bl(r,o)&&(t.flags|=32),ff(e,t),_e(e,t,l,n),t.child;case 6:return e===null&&Yl(t),null;case 13:return hf(e,t,n);case 4:return Ws(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):_e(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Bu(e,t,r,i,n);case 7:return _e(e,t,t.pendingProps,n),t.child;case 8:return _e(e,t,t.pendingProps.children,n),t.child;case 12:return _e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,K(to,r._currentValue),r._currentValue=l,o!==null)if(ft(o.value,l)){if(o.children===i.children&&!je.current){t=Dt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Lt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ql(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(N(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ql(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}_e(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xn(t,n),i=et(i),r=r(i),t.flags|=1,_e(e,t,r,n),t.child;case 14:return r=t.type,i=st(r,t.pendingProps),i=st(r.type,i),Ku(e,t,r,i,n);case 15:return cf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Fi(e,t),t.tag=1,Fe(r)?(e=!0,Zi(t)):e=!1,Xn(t,n),zd(t,r,i),Jl(t,r,i,n),es(null,t,r,!0,e,n);case 19:return mf(e,t,n);case 22:return df(e,t,n)}throw Error(N(156,t.tag))};function Rf(e,t){return nd(e,t)}function Yg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,n,r){return new Yg(e,t,n,r)}function sa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qg(e){if(typeof e=="function")return sa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Es)return 11;if(e===xs)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=Je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zi(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")sa(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Fn:return gn(n.children,i,o,t);case Ps:l=8,i|=8;break;case Sl:return e=Je(12,n,t,i|2),e.elementType=Sl,e.lanes=o,e;case Ol:return e=Je(13,n,t,i),e.elementType=Ol,e.lanes=o,e;case _l:return e=Je(19,n,t,i),e.elementType=_l,e.lanes=o,e;case bc:return Eo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uc:l=10;break e;case zc:l=9;break e;case Es:l=11;break e;case xs:l=14;break e;case $t:l=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=Je(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function gn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function Eo(e,t,n,r){return e=Je(22,e,r,t),e.elementType=bc,e.lanes=n,e.stateNode={isHidden:!1},e}function ul(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function cl(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xg(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ko(0),this.expirationTimes=Ko(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ko(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function aa(e,t,n,r,i,o,l,s,a){return e=new Xg(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hs(o),e}function Jg(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:jn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lf(e){if(!e)return on;e=e._reactInternals;e:{if(_n(e)!==e||e.tag!==1)throw Error(N(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(N(171))}if(e.tag===1){var n=e.type;if(Fe(n))return Td(e,n,t)}return t}function Af(e,t,n,r,i,o,l,s,a){return e=aa(n,r,!0,e,i,o,l,s,a),e.context=Lf(null),n=e.current,r=Pe(),i=en(n),o=Lt(r,i),o.callback=t??null,Zt(n,o,i),e.current.lanes=i,ti(e,i,r),De(e,r),e}function xo(e,t,n,r){var i=t.current,o=Pe(),l=en(i);return n=Lf(n),t.context===null?t.context=n:t.pendingContext=n,t=Lt(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zt(i,t,l),e!==null&&(dt(e,i,l,o),Li(e,i,l)),l}function fo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function nc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ua(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function Zg(){return null}var jf=typeof reportError=="function"?reportError:function(e){console.error(e)};function ca(e){this._internalRoot=e}Co.prototype.render=ca.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(N(409));xo(e,t,null,null)};Co.prototype.unmount=ca.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Sn(function(){xo(null,e,null,null)}),t[jt]=null}};function Co(e){this._internalRoot=e}Co.prototype.unstable_scheduleHydration=function(e){if(e){var t=ud();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Bt.length&&t!==0&&t<Bt[n].priority;n++);Bt.splice(n,0,e),n===0&&dd(e)}};function da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Io(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rc(){}function qg(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=fo(l);o.call(u)}}var l=Af(t,r,e,0,null,!1,!1,"",rc);return e._reactRootContainer=l,e[jt]=l.current,Kr(e.nodeType===8?e.parentNode:e),Sn(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=fo(a);s.call(u)}}var a=aa(e,0,!1,null,null,!1,!1,"",rc);return e._reactRootContainer=a,e[jt]=a.current,Kr(e.nodeType===8?e.parentNode:e),Sn(function(){xo(t,a,n,r)}),a}function To(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=fo(l);s.call(a)}}xo(t,l,e,i)}else l=qg(n,t,e,i,r);return fo(l)}sd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pr(t.pendingLanes);n!==0&&(Ts(t,n|1),De(t,re()),!(z&6)&&(lr=re()+500,an()))}break;case 13:Sn(function(){var r=Ft(e,1);if(r!==null){var i=Pe();dt(r,e,1,i)}}),ua(e,1)}};Rs=function(e){if(e.tag===13){var t=Ft(e,134217728);if(t!==null){var n=Pe();dt(t,e,134217728,n)}ua(e,134217728)}};ad=function(e){if(e.tag===13){var t=en(e),n=Ft(e,t);if(n!==null){var r=Pe();dt(n,e,t,r)}ua(e,t)}};ud=function(){return M};cd=function(e,t){var n=M;try{return M=e,t()}finally{M=n}};Al=function(e,t,n){switch(t){case"input":if(El(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ko(r);if(!i)throw Error(N(90));$c(r),El(r,i)}}}break;case"textarea":Bc(e,n);break;case"select":t=n.value,t!=null&&Wn(e,!!n.multiple,t,!1)}};Xc=ia;Jc=Sn;var ev={usingClientEntryPoint:!1,Events:[ri,bn,ko,Yc,Qc,ia]},kr={findFiberByHostInstance:fn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},tv={bundleType:kr.bundleType,version:kr.version,rendererPackageName:kr.rendererPackageName,rendererConfig:kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ed(e),e===null?null:e.stateNode},findFiberByHostInstance:kr.findFiberByHostInstance||Zg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{go=Ni.inject(tv),St=Ni}catch{}}We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ev;We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!da(t))throw Error(N(200));return Jg(e,t,null,n)};We.createRoot=function(e,t){if(!da(e))throw Error(N(299));var n=!1,r="",i=jf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=aa(e,1,!1,null,null,n,!1,r,i),e[jt]=t.current,Kr(e.nodeType===8?e.parentNode:e),new ca(t)};We.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(N(188)):(e=Object.keys(e).join(","),Error(N(268,e)));return e=ed(t),e=e===null?null:e.stateNode,e};We.flushSync=function(e){return Sn(e)};We.hydrate=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!0,n)};We.hydrateRoot=function(e,t,n){if(!da(e))throw Error(N(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=jf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Af(t,null,e,1,n??null,i,!1,o,l),e[jt]=t.current,Kr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Co(t)};We.render=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!1,n)};We.unmountComponentAtNode=function(e){if(!Io(e))throw Error(N(40));return e._reactRootContainer?(Sn(function(){To(null,null,e,!1,function(){e._reactRootContainer=null,e[jt]=null})}),!0):!1};We.unstable_batchedUpdates=ia;We.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Io(n))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return To(e,t,n,!1,r)};We.version="18.2.0-next-9e3b772b8-20220608";function Ff(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ff)}catch(e){console.error(e)}}Ff(),Lc.exports=We;var nv=Lc.exports,ic=nv;wl.createRoot=ic.createRoot,wl.hydrateRoot=ic.hydrateRoot;const fa=fe.createInstance(),fs="en";if(!(fs in qn))throw new Error(`'${fs}' language is not supported`);fa.init({debug:!1,resources:qn,lng:fs,fallbackLng:"en",supportedLngs:Object.keys(qn)});const q=fa.getFixedT(null,"core"),rv=e=>fa.getFixedT(null,"core",e);var I=(e=>(e.ROOT="ROOT",e.PACKAGE="PACKAGE",e.VERSION="VERSION",e.ENVIRONMENT="ENVIRONMENT",e.OP_SYSTEM="OP_SYSTEM",e.DISTRIBUTION="DISTRIBUTION",e.FRAMEWORK="FRAMEWORK",e))(I||{}),Df=(e=>(e.ROOT="ROOT",e))(Df||{}),zt=(e=>(e.v_2022_3_2="v_2022_3_2",e.v_2023_3_0="v_2023_3_0",e.v_2024_4_0="v_2024_4_0",e.NIGHTLY="NIGHTLY",e))(zt||{}),oi=(e=>(e.DEV_TOOLS="DEV_TOOLS",e.RUNTIME="RUNTIME",e))(oi||{}),Ze=(e=>(e.WINDOWS="WINDOWS",e.MACOS="MACOS",e.LINUX="LINUX",e))(Ze||{}),Ee=(e=>(e.OPENVINO_BASE="OPENVINO_BASE",e.OPENVINO_GENAI="OPENVINO_GENAI",e))(Ee||{});const iv={title:"Windows"},ov={title:"macOS"},lv={title:"Linux"};var F=(e=>(e.PIP="PIP",e.ARCHIVE="ARCHIVE",e.GITHUB="GITHUB",e.GITEE="GITEE",e.DOCKER="DOCKER",e.APT="APT",e.YUM="YUM",e.CONDA="CONDA",e.BREW="BREW",e.VCPKG="VCPKG",e.CONAN="CONAN",e.NPM="NPM",e.ZYPPER="ZYPPER",e.SNAP="SNAP",e))(F||{}),Me=(e=>(e.CAFFE="CAFFE",e.PYTORCH="PYTORCH",e.TENSORFLOW_1="TENSORFLOW_1",e.TENSORFLOW_2="TENSORFLOW_2",e.ONNX="ONNX",e.KALDI="KALDI",e.MXNET="MXNET",e))(Me||{});class Re{constructor(t,n=[]){Ve(this,"level");Ve(this,"key");Ve(this,"metadata");Ve(this,"children",[]);Ve(this,"isDefault",!1);Ve(this,"checked",!1);Ve(this,"childrenSelector");this.level=t.level,this.key=t.key,this.metadata=t.metadata,this.children=n,this.childrenSelector=t.childrenSelector}default(){return this.isDefault=!0,this.checked=!0,this}toOption(){return{level:this.level,key:this.key,metadata:this.metadata,checked:this.checked,hasFootnote:!1}}}const sv=rv("distributions");var ne=(e=>(e[e.UBUNTU_18=0]="UBUNTU_18",e[e.UBUNTU_20=1]="UBUNTU_20",e[e.UBUNTU_22=2]="UBUNTU_22",e[e.UBUNTU_24=3]="UBUNTU_24",e))(ne||{});class Ue extends Re{constructor(n,r=[]){super(n,r);Ve(this,"footnoteLevel",null)}toOption(){return{...super.toOption(),key:this.key,data:this.data}}addFootnote(n){return this.footnoteLevel=n,this}includesNPUPlugin(){const n=sv("includesNPUPlugin");return this.metadata.subtitle?this.metadata.subtitle=[n,this.metadata.subtitle].join(`
+`):this.metadata.subtitle=n,this}}class pa extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.APT,metadata:{title:"APT"}}),this._data=t}get data(){return{...this._data,commands:pv}}cApiOnly(){return this.metadata.subtitle=q("distributions.CAPIOnly"),this}}const ps="GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",oc=`https://apt.repos.intel.com/intel-gpg-keys/${ps}`,av={[ne.UBUNTU_24]:24,[ne.UBUNTU_22]:22,[ne.UBUNTU_20]:20,[ne.UBUNTU_18]:18},uv={alias:{[ne.UBUNTU_24]:"noble",[ne.UBUNTU_22]:"jammy",[ne.UBUNTU_20]:"focal",[ne.UBUNTU_18]:"bionic"},numberName:{[ne.UBUNTU_24]:"ubuntu24",[ne.UBUNTU_22]:"ubuntu22",[ne.UBUNTU_20]:"ubuntu20",[ne.UBUNTU_18]:"ubuntu18"}},cv=new Set([zt.v_2022_3_2]),dv=(e,t)=>{const n=cv.has(e.key)?"alias":"numberName";return uv[n][t]},fv=(e,t)=>{const n=dv(e,t);return`echo "deb https://apt.repos.intel.com/openvino/${e.metadata.aptYear} ${n} main" | sudo tee /etc/apt/sources.list.d/intel-openvino-${e.metadata.aptYear}.list`},pv={keyFilename:ps,keyHref:oc,downloadKeyCommand:`wget ${oc}`,addKeyCommand:`sudo apt-key add ${ps}`,getAddRepositoryCommands:(e,t)=>t.map(n=>({ubuntuVersionNumber:av[n],command:fv(e,n)})),updatePackagesCommand:"sudo apt update",verifyAptCacheCommand:"apt-cache search openvino",getInstallCommand:e=>`sudo apt install openvino-${e.metadata.aptVersion}`};class pe extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.ARCHIVE,metadata:{title:q("distributions.openVINOArchives")}}),this.data=t}}class Uf extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.BREW,metadata:{title:"Homebrew"}}),this._data=t}get data(){return{...this._data,commands:hv}}}const hv={install:"brew install openvino"};class cr extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.CONAN,metadata:{title:"Conan"}}),this._data=t}get data(){return{...this._data,commands:gv}}}const lc="conanfile.txt",sc="conan_toolchain.cmake",mv=e=>`[requires]
openvino/${e.metadata.conanVersion}
[generators]
CMakeDeps
CMakeToolchain
[layout]
-cmake_layout`,yv={conanTXTContent:vv,txtFilename:lc,cmakeFilename:sc,install:`conan install ${lc} --build=missing`,compile:`cmake -DCMAKE_TOOLCHAIN_FILE=<path to ${sc}> -DCMAKE_BUILD_TYPE=Release -S <path to CMakeLists.txt of your project> -B <build dir>
-cmake --build <build dir> --parallel`};class dr extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.CONDA,metadata:{title:"Conda"}}),this._data=t}get data(){return{...this._data,commands:wv}}}const wv={createEnv:"conda create --name py310 python=3.10",activateEnv:"conda activate py310",update:"conda update --all",getInstall:({metadata:e})=>`conda install -c conda-forge openvino=${e.condaVersion}`};class _n extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.DOCKER,metadata:{title:"Docker"}}),this.data=t}}class xe extends De{constructor(){super({level:I.DISTRIBUTION,key:A.GITEE,metadata:{title:"Gitee",subtitle:K("distributions.source")}})}get data(){return{commands:kv,links:Sv}}}const kv={getCloneCommand(e){return`git clone -b ${e.metadata.giteeVersion} https://gitee.com/openvinotoolkit-prc/openvino.git`}},Sv={getBuildInstructionsLink:e=>`https://github.com/openvinotoolkit/openvino/blob/${e.metadata.giteeVersion}/docs/dev/build.md`,getRepositoryLink:e=>`https://gitee.com/openvinotoolkit-prc/openvino/tree/${e.metadata.giteeVersion}`};class Ee extends De{constructor(){super({level:I.DISTRIBUTION,key:A.GITHUB,metadata:{title:"GitHub",subtitle:K("distributions.source")}})}get data(){return{commands:Ov,links:_v}}}const Ov={getCloneCommand(e){return`git clone -b ${e.metadata.githubVersion} https://github.com/openvinotoolkit/openvino.git`}},_v={getBuildInstructionsLink:e=>`https://github.com/openvinotoolkit/openvino/blob/${e.metadata.githubVersion}/docs/dev/build.md`,getRepositoryLink:e=>`https://github.com/openvinotoolkit/openvino/tree/${e.metadata.githubVersion}`};class ha extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.NPM,metadata:{title:"npm",subtitle:K("distributions.jsAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Nv}}}const Nv={getInstall:({metadata:e})=>`npm install openvino-node@${e.npmVersion}`},Pv=(e,t)=>{e.forEach(n=>{n.key===Me.TENSORFLOW_1&&n.checked&&t===Me.TENSORFLOW_2||n.key===Me.TENSORFLOW_2&&n.checked&&t===Me.TENSORFLOW_1?n.checked=!1:t===n.key&&(n.checked=!n.checked)})},bf=(e,t)=>{e.forEach(n=>{n.checked=n.key===t,n.key===A.PIP&&n.checked&&n.children.forEach(r=>r.checked=r.isDefault)})},xv=()=>[new Te({level:I.FRAMEWORK,key:Me.CAFFE,metadata:{title:"Caffe",pipKey:"caffe"}}),new Te({level:I.FRAMEWORK,key:Me.KALDI,metadata:{title:"Kaldi",pipKey:"kaldi"}}),new Te({level:I.FRAMEWORK,key:Me.MXNET,metadata:{title:"Apache MXNet",pipKey:"mxnet"}}),new Te({level:I.FRAMEWORK,key:Me.ONNX,metadata:{title:"Open Neural Network Exchange (ONNX)",pipKey:"ONNX"}}),new Te({level:I.FRAMEWORK,key:Me.PYTORCH,metadata:{title:"PyTorch",pipKey:"pytorch"}}),new Te({level:I.FRAMEWORK,key:Me.TENSORFLOW_1,metadata:{title:"TensorFlow 1.x",pipKey:"tensorflow"}}),new Te({level:I.FRAMEWORK,key:Me.TENSORFLOW_2,metadata:{title:"TensorFlow 2.x",pipKey:"tensorflow2"}})];class te extends De{constructor(t,{hasFrameworks:n,pythonAPI:r}={}){super({level:I.DISTRIBUTION,key:A.PIP,metadata:{title:"PIP",subtitle:r?K("distributions.pythonAPIOnly"):void 0},childrenSelector:Pv},n?xv():[]),this._data=t}get data(){return{...this._data,commands:Tv,frameworks:this.children.filter(({checked:t})=>t).map(t=>t.toOption())}}}function zf(e){return e.key===Ut.NIGHTLY?"openvino_nightly_env":"openvino_env"}function Ev(e,t){const n=zf(t);return e.key===Je.WINDOWS?`python -m venv ${n}`:`python3 -m venv ${n}`}function Cv(e,t){const n=zf(t);return e.key===Je.WINDOWS?`${n}\\Scripts\\activate`:`source ${n}/bin/activate`}function Iv({ovPackage:e,environment:t,os:n,version:r,distribution:i}){const o=i.data.frameworks.map(u=>u.metadata.pipKey),l=o.length?`[${o.join(",")}]`:"",s=(t==null?void 0:t.key)===oi.DEV_TOOLS?"openvino-dev":e.key===On.OPENVINO_GENAI?"openvino-genai":"openvino";if(r.key===Ut.NIGHTLY)return`pip install --pre -U ${s} --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly`;let a=`${s}${l}==${r.metadata.pipVersion}`;return n.key===Je.MACOS&&(a=`'${a}'`),`pip install ${a}`}const Tv={getCreateVenvCommand:Ev,getActivateVenvCommand:Cv,upgradeCommand:"python -m pip install --upgrade pip",getInstallCommand:Iv};class Rv extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.SNAP,metadata:{title:"Snap",subtitle:K("distributions.CAPIOnly")}}),this.data=t}}class ma extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.VCPKG,metadata:{title:"vcpkg",subtitle:K("distributions.source")}}),this._data=t}get data(){return{...this._data,commands:Lv}}}const Lv={install:"vcpkg install openvino"};class ga extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.YUM,metadata:{title:"YUM",subtitle:K("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:jv}}}const ac="/etc/yum.repos.d",jv={directory:ac,getCreateRepoCommand:e=>`tee > /tmp/openvino-${e.metadata.yumYear}.repo << EOF
+cmake_layout`,gv={conanTXTContent:mv,txtFilename:lc,cmakeFilename:sc,install:`conan install ${lc} --build=missing`,compile:`cmake -DCMAKE_TOOLCHAIN_FILE=<path to ${sc}> -DCMAKE_BUILD_TYPE=Release -S <path to CMakeLists.txt of your project> -B <build dir>
+cmake --build <build dir> --parallel`};class dr extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.CONDA,metadata:{title:"Conda"}}),this._data=t}get data(){return{...this._data,commands:vv}}}const vv={createEnv:"conda create --name py310 python=3.10",activateEnv:"conda activate py310",update:"conda update --all",getInstall:({metadata:e})=>`conda install -c conda-forge openvino=${e.condaVersion}`};class bt extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.DOCKER,metadata:{title:"Docker"}}),this.data=t}}class ie extends Ue{constructor(){super({level:I.DISTRIBUTION,key:F.GITEE,metadata:{title:"Gitee",subtitle:q("distributions.source")}})}get data(){return{commands:yv,links:wv}}}const yv={getCloneCommand(e,t){return e.key===Ee.OPENVINO_BASE?`git clone -b ${t.metadata.giteeVersion} https://gitee.com/openvinotoolkit-prc/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://gitee.com/openvinotoolkit-prc/openvino.genai.git`}},wv={getBuildInstructionsLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.giteeVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://gitee.com/openvinotoolkit-prc/openvino/tree/${t.metadata.giteeVersion}`:`https://gitee.com/openvinotoolkit-prc/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class oe extends Ue{constructor(){super({level:I.DISTRIBUTION,key:F.GITHUB,metadata:{title:"GitHub",subtitle:q("distributions.source")}})}get data(){return{commands:kv,links:Sv}}}const kv={getCloneCommand(e,t){return e.key===Ee.OPENVINO_BASE?`git clone -b ${t.metadata.githubVersion} https://github.com/openvinotoolkit/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://github.com/openvinotoolkit/openvino.genai.git`}},Sv={getBuildInstructionsLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.githubVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/tree/${t.metadata.githubVersion}`:`https://github.com/openvinotoolkit/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class ha extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.NPM,metadata:{title:"npm",subtitle:q("distributions.jsAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Ov}}}const Ov={getInstall:({metadata:e})=>`npm install openvino-node@${e.npmVersion}`},_v=(e,t)=>{e.forEach(n=>{n.key===Me.TENSORFLOW_1&&n.checked&&t===Me.TENSORFLOW_2||n.key===Me.TENSORFLOW_2&&n.checked&&t===Me.TENSORFLOW_1?n.checked=!1:t===n.key&&(n.checked=!n.checked)})},zf=(e,t)=>{e.forEach(n=>{n.checked=n.key===t,n.key===F.PIP&&n.checked&&n.children.forEach(r=>r.checked=r.isDefault)})},Nv=()=>[new Re({level:I.FRAMEWORK,key:Me.CAFFE,metadata:{title:"Caffe",pipKey:"caffe"}}),new Re({level:I.FRAMEWORK,key:Me.KALDI,metadata:{title:"Kaldi",pipKey:"kaldi"}}),new Re({level:I.FRAMEWORK,key:Me.MXNET,metadata:{title:"Apache MXNet",pipKey:"mxnet"}}),new Re({level:I.FRAMEWORK,key:Me.ONNX,metadata:{title:"Open Neural Network Exchange (ONNX)",pipKey:"ONNX"}}),new Re({level:I.FRAMEWORK,key:Me.PYTORCH,metadata:{title:"PyTorch",pipKey:"pytorch"}}),new Re({level:I.FRAMEWORK,key:Me.TENSORFLOW_1,metadata:{title:"TensorFlow 1.x",pipKey:"tensorflow"}}),new Re({level:I.FRAMEWORK,key:Me.TENSORFLOW_2,metadata:{title:"TensorFlow 2.x",pipKey:"tensorflow2"}})];class te extends Ue{constructor(t,{hasFrameworks:n,pythonAPI:r}={}){super({level:I.DISTRIBUTION,key:F.PIP,metadata:{title:"PIP",subtitle:r?q("distributions.pythonAPIOnly"):void 0},childrenSelector:_v},n?Nv():[]),this._data=t}get data(){return{...this._data,commands:Cv,frameworks:this.children.filter(({checked:t})=>t).map(t=>t.toOption())}}}function bf(e){return e.key===zt.NIGHTLY?"openvino_nightly_env":"openvino_env"}function Pv(e,t){const n=bf(t);return e.key===Ze.WINDOWS?`python -m venv ${n}`:`python3 -m venv ${n}`}function Ev(e,t){const n=bf(t);return e.key===Ze.WINDOWS?`${n}\\Scripts\\activate`:`source ${n}/bin/activate`}function xv({ovPackage:e,environment:t,os:n,version:r,distribution:i}){const o=i.data.frameworks.map(u=>u.metadata.pipKey),l=o.length?`[${o.join(",")}]`:"",s=(t==null?void 0:t.key)===oi.DEV_TOOLS?"openvino-dev":e.key===Ee.OPENVINO_GENAI?"openvino-genai":"openvino";if(r.key===zt.NIGHTLY)return`pip install --pre -U ${s} --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly`;let a=`${s}${l}==${r.metadata.pipVersion}`;return n.key===Ze.MACOS&&(a=`'${a}'`),`pip install ${a}`}const Cv={getCreateVenvCommand:Pv,getActivateVenvCommand:Ev,upgradeCommand:"python -m pip install --upgrade pip",getInstallCommand:xv};class Iv extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.SNAP,metadata:{title:"Snap",subtitle:q("distributions.CAPIOnly")}}),this.data=t}}class ma extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.VCPKG,metadata:{title:"vcpkg",subtitle:q("distributions.source")}}),this._data=t}get data(){return{...this._data,commands:Tv}}}const Tv={install:"vcpkg install openvino"};class ga extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.YUM,metadata:{title:"YUM",subtitle:q("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Rv}}}const ac="/etc/yum.repos.d",Rv={directory:ac,getCreateRepoCommand:e=>`tee > /tmp/openvino-${e.metadata.yumYear}.repo << EOF
[OpenVINO]
name=Intel(R) Distribution of OpenVINO ${e.metadata.yumYear}
baseurl=https://yum.repos.intel.com/openvino/${e.metadata.yumYear}
@@ -58,4 +58,4 @@ enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
-EOF`,getMoveRepoFileCommand:e=>`sudo mv /tmp/openvino-${e.metadata.yumYear}.repo ${ac}`,verifyRepoCommand:"yum repolist | grep -i openvino",getInstallCommand:e=>`sudo yum install openvino-${e.metadata.yumVersion}`};class Fv extends De{constructor(t){super({level:I.DISTRIBUTION,key:A.ZYPPER,metadata:{title:"ZYPPER",subtitle:K("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Av}}}const Av={addRepo:"sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo",refresh:"sudo zypper refresh",getInstallCommand:({metadata:e})=>`sudo zypper install openvino-devel-${e.zypperVersion} openvino-sample-${e.zypperVersion}`};class Vf extends Te{constructor(t,n,r){super({level:I.PACKAGE,key:t,metadata:n,childrenSelector:bf},r),this._setDefaultPackage()}_setDefaultPackage(){const t=On.OPENVINO_BASE;this.key===t&&this.default()}}class Dv extends Vf{constructor(t){super(On.OPENVINO_BASE,{title:K("package.base.title"),subtitle:K("package.base.subtitle")},t)}}class Uv extends Vf{constructor(t){super(On.OPENVINO_GENAI,{title:K("package.genai.title"),subtitle:K("package.genai.subtitle")},t)}}class Ro extends Te{constructor(t,n,r){super({level:I.VERSION,key:t,metadata:n},r)}}const bv={title:K("versions.titles.nightlyBuild"),compactTitle:K("versions.titles.nightlyBuild"),pipVersion:"",githubVersion:"master",giteeVersion:"master",systemRequirementsLink:"https://docs.openvino.ai/nightly/about-openvino/release-notes-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/nightly/get-started.html",troubleshootingLink:"https://docs.openvino.ai/nightly/get-started/troubleshooting-install-config.html"};class Mf extends Ro{constructor(t){super(Ut.NIGHTLY,bv,t)}}const zv={title:"2024.3",subtitle:K("versions.titles.recommended"),compactTitle:"2024.3",compactSubtitle:K("versions.titles.recommended"),pipVersion:"2024.3.0",githubVersion:"2024.3.0",giteeVersion:"2024.3.0",aptYear:2024,aptVersion:"2024.3.0",yumYear:2024,yumVersion:"2024.3.0",condaVersion:"2024.3.0",conanVersion:"2024.3.0",npmVersion:"2024.3.0",zypperVersion:"2024.3.0",systemRequirementsLink:"https://docs.openvino.ai/2024/about-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/2024/get-started.html",troubleshootingLink:"https://docs.openvino.ai/2024/get-started/troubleshooting-install-config.html"};class $f extends Ro{constructor(t){super(Ut.v_2024_3_0,zv,t)}}const Vv={title:`2023.3 ${K("versions.titles.LTS")}`,subtitle:"",compactTitle:`2023.3 ${K("versions.titles.LTS")}`,compactSubtitle:"",pipVersion:"2023.3.0",githubVersion:"2023.3.0",giteeVersion:"2023.3.0",aptYear:2023,aptVersion:"2023.3.0",yumYear:2023,yumVersion:"2023.3.0",condaVersion:"2023.3.0",conanVersion:"2023.3.0",systemRequirementsLink:"https://docs.openvino.ai/2023.3/system_requirements.html",getStartedLink:"https://docs.openvino.ai/2023.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2023.3/openvino_docs_get_started_guide_troubleshooting.html"};class Mv extends Ro{constructor(t){super(Ut.v_2023_3_0,Vv,t)}}const $v={title:`2022.3.2 ${K("versions.titles.LTS")}`,subtitle:K("versions.titles.hddlSupport"),compactTitle:`2022.3.2 ${K("versions.titles.LTS")}`,compactSubtitle:K("versions.titles.hddlSupport"),pipVersion:"2022.3.2",githubVersion:"2022.3.2",giteeVersion:"2022.3.2",aptYear:2022,aptVersion:"2022.3.2",yumYear:2022,yumVersion:"2022.3.2",systemRequirementsLink:"https://docs.openvino.ai/systemrequirements",getStartedLink:"https://docs.openvino.ai/2022.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2022.3/openvino_docs_get_started_guide_troubleshooting_steps.html"};class Bf extends Ro{constructor(t){super(Ut.v_2022_3_2,$v,t)}}class va extends Te{constructor(t,n,r){super({level:I.OP_SYSTEM,key:t,metadata:n,childrenSelector:bf},r),this._setDefaultOS()}_setDefaultOS(){const t=this._detectOS()||Je.WINDOWS;this.key===t&&this.default()}_detectOS(){const{userAgent:t}=navigator,n={windows:/(Windows|Win)/g,macOS:/(Macintosh|Mac)/g,linux:/(Linux|X11)/g};return n.windows.test(t)?Je.WINDOWS:n.macOS.test(t)?Je.MACOS:n.linux.test(t)?Je.LINUX:null}}class Nn extends va{constructor(t){super(Je.WINDOWS,lv,t)}}class Pn extends va{constructor(t){super(Je.MACOS,sv,t)}}class xn extends va{constructor(t){super(Je.LINUX,av,t)}}const Bv=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new Ee,new xe]),Kv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new Ee,new xe]),Hv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new Ee,new xe]),Wv=new Mf([Hv,Kv,Bv]);class Gv extends Te{constructor(t){super({level:I.ENVIRONMENT,key:oi.RUNTIME,metadata:{title:K("environment.runtime.title"),subtitle:K("environment.runtime.subtitle")}},t)}}class Yv extends Te{constructor(t){super({level:I.ENVIRONMENT,key:oi.DEV_TOOLS,metadata:{title:K("environment.devTools.title"),subtitle:K("environment.devTools.subtitle")}},t)}}const Qv=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Xv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).addFootnote(I.OP_SYSTEM).default(),new Ee().addFootnote(I.OP_SYSTEM),new xe().addFootnote(I.OP_SYSTEM)]),Jv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new Ee,new xe]),Zv=new Yv([Jv,Xv,Qv]),qv=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/linux"}),new pa({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),ey=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).addFootnote(I.OP_SYSTEM).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/macos"}).addFootnote(I.OP_SYSTEM),new Ee().addFootnote(I.OP_SYSTEM),new xe().addFootnote(I.OP_SYSTEM)]),ty=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/windows"}),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"})]),ny=new Gv([ty,ey,qv]),ry=new Bf([Zv.default(),ny]),iy=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20,ne.UBUNTU_22]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),oy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/macos"}),new Ee,new xe,new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ly=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/windows"}).includesNPUPlugin(),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),sy=new Mv([ly,oy,iy]),ay=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.3/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-apt.html"},os:[ne.UBUNTU_20,ne.UBUNTU_22,ne.UBUNTU_24]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-yum.html"}}),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}}),new Fv({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-zypper.html"}}),new Rv({linksSet:{installation:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"},downloadLink:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"})]),uy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.3/macos"}),new Ee,new xe,new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),cy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.3/windows"}).includesNPUPlugin(),new Ee,new xe,new _n({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),dy=new $f([cy,uy,ay]),fy=new Dv([dy.default(),Wv,sy,ry]),py=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"})]),hy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"})]),my=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"})]),gy=new Mf([my,hy,py]),vy=new xn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.3/linux"}).includesNPUPlugin()]),yy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.3/macos"})]),wy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new de({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.3/windows"}).includesNPUPlugin()]),ky=new $f([wy,yy,vy]),Sy=new Uv([ky.default(),gy]),Oy=new Te({level:I.ROOT,key:Df.ROOT,metadata:{title:"ROOT"}},[fy.default(),Sy]).default();function _y(e,t){var i,o;if(t.key===A.DOCKER||!t.footnoteLevel)return e;const n=(i=e[t.footnoteLevel])==null?void 0:i.selected,r=(o=e[t.footnoteLevel])==null?void 0:o.nodes;return!n||!r||((Array.isArray(n)?[...n,...r]:[n]).forEach(l=>l.hasFootnote=!0),r.forEach(l=>l.checked&&(l.hasFootnote=!0))),e}class Ny{constructor(){ze(this,"_root",Oy)}getState(){try{return this._getState()}catch(t){return console.error(t),this._selectDefaults(this._root),this._getState()}}_getState(){const t=this._root.children,n=this._get_selected(t),r=n.children,i=this._get_selected(r),{environments:o,environment:l,systems:s,system:a}=this._processVersion(i),u=a.children,p=this._get_selected(u),d=this._processDistribution(p),h={[I.PACKAGE]:{nodes:t.map(g=>g.toOption()),selected:n.toOption()},[I.VERSION]:{nodes:r.map(g=>g.toOption()),selected:i.toOption()},[I.ENVIRONMENT]:l&&o?{nodes:o.map(g=>g.toOption()),selected:l.toOption()}:null,[I.OP_SYSTEM]:{nodes:s.map(g=>g.toOption()),selected:a.toOption()},[I.DISTRIBUTION]:{nodes:u.map(g=>g.toOption()),selected:p.toOption()},[I.FRAMEWORK]:d!=null&&d.length?{nodes:d.map(g=>g.toOption()),selected:d.filter(({checked:g})=>g).map(g=>g.toOption())}:null};return _y(h,p)}_get_selected(t){t.some(({checked:r})=>r)||this._selectDefaultsForLevel(t[0].level);const n=t.find(({checked:r})=>r);if(!n)throw new Error("Not valid tree");return n}_processVersion(t){if(t instanceof Bf){const i=t.children,o=this._get_selected(i),l=o.children,s=this._get_selected(l);return{environments:i,environment:o,systems:l,system:s}}const n=t.children,r=this._get_selected(n);return{environments:null,environment:null,systems:n,system:r}}_processDistribution(t){return t instanceof te?t.children:null}setState(t){this._setState(t)}_setState(t,n=this._root){if(!n.children.length)return;const r=n.children[0].level,i=Py(t[r]);n.children.forEach(o=>o.checked=i.includes(o.key)),n.children.forEach(o=>this._setState(t,o))}select(t,n){return this._select(t,n),this.getState()}_select(t,n,r=this._root){var i;if(((i=r.children[0])==null?void 0:i.level)!==t){r.children.forEach(o=>this._select(t,n,o));return}if(r.childrenSelector){r.childrenSelector(r.children,n);return}r.children.forEach(o=>o.checked=o.key===n)}_selectDefaultsForLevel(t,n=this._root){if(n.children.length){if(n.children[0].level!==t){n.children.forEach(r=>this._selectDefaultsForLevel(t,r));return}this._selectDefaults(n)}}_selectDefaults(t){t.children.forEach(n=>{n.checked=n.isDefault,this._selectDefaults(n)})}}const jn=new Ny;function Py(e){const t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),t}function Kf(e,{serializeVersion:t}={serializeVersion:!0}){var i,o;const n=[[I.PACKAGE,e.PACKAGE.selected.key],[I.VERSION,t?e.VERSION.selected.key:null],[I.ENVIRONMENT,(i=e.ENVIRONMENT)==null?void 0:i.selected.key],[I.OP_SYSTEM,e.OP_SYSTEM.selected.key],[I.DISTRIBUTION,e.DISTRIBUTION.selected.key],[I.FRAMEWORK,(o=e.FRAMEWORK)==null?void 0:o.selected.map(l=>l.key).join(",")]],r=new URLSearchParams;for(const[l,s]of n)s&&r.set(l,s);return r}function Hf(e){function t(r,i){const o=e.get(r);if(!o)throw new Error(`Cannot extract value for: ${r}`);if(!i[o])throw new Error(`Bad node key for: ${r}`);return i[o]}function n(r,i){const o=e.get(r);return o?o.split(",").map(s=>{if(!s||!i[s])throw new Error(`Bad node key for: ${r}`);return i[s]}):null}try{return{[I.PACKAGE]:t(I.PACKAGE,On),[I.VERSION]:e.has(I.VERSION)?t(I.VERSION,Ut):null,[I.ENVIRONMENT]:e.has(I.ENVIRONMENT)?t(I.ENVIRONMENT,oi):null,[I.OP_SYSTEM]:t(I.OP_SYSTEM,Je),[I.DISTRIBUTION]:t(I.DISTRIBUTION,A),[I.FRAMEWORK]:n(I.FRAMEWORK,Me)}}catch(r){return console.log(`Cannot restore state from url due to error "${r}"`),null}}function xy(){const e=window.parent;if(!e.location.search)return null;const t=new URLSearchParams(e.location.search);return Hf(t)}function Ey(e,t,n,{serializeVersion:r}={serializeVersion:!0}){U.useEffect(()=>{const i=window.parent,o=Kf(t,{serializeVersion:r}).toString(),l=new URL(i.location.toString());if(!l.search){l.search=o,i.history.replaceState(null,"",l);return}l.search.slice(1)!==o&&(l.search=o,i.history.pushState(null,"",l))}),parent.onpopstate=()=>{const i=window.parent,o=new URLSearchParams(i.location.search),l=Hf(o);l&&(e.setState(l),n(e.getState()))}}const dl=function(e){let t,n=!1;return function(...r){return n||(t=e(r),n=!0),t}};function Cy(e){var t,n;return typeof((n=(t=e.wap_tms)==null?void 0:t.custom)==null?void 0:n.trackComponentClick)!="function"?null:e.wap_tms.custom.trackComponentClick.bind(e.wap_tms.custom)}class Iy{constructor(){ze(this,"_window");ze(this,"_consoleNotification",{notInitialized:dl(()=>console.log("Adobe analytics is not initialized")),notFound:dl(()=>console.log("Adobe analytics not found on a page")),devMode:dl(()=>console.log("Analytics in dev mode"))});ze(this,"_send",t=>{if(!this._window){this._consoleNotification.notInitialized();return}const n=Kf(jn.getState()).toString(),r=Cy(this._window);if(!r){this._consoleNotification.notFound();return}try{r(t,n)}catch(i){console.error(i)}})}initialize(t){this._window=t}install(){this._send("install")}combinationView(){this._send("combination-view")}}const Ge=new Iy;function Ty(){const e=xy();e&&jn.setState(e);const t=U.createContext((r,i)=>{jn.select(r,i)});function n(){const[r,i]=U.useState(jn.getState());return Ey(jn,r,i),[r,(o,l)=>i(jn.select(o,l))]}return{SelectorContext:t,useSelector:n}}async function Ry(e){e&&(navigator.clipboard?await navigator.clipboard.writeText(e):Ly(e))}function Ly(e){const t=jy(e);document.body.append(t),t.select(),document.execCommand("copy"),t.remove()}function jy(e){const t=document.createElement("textarea");t.style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style.left="-9999px";const n=window.pageYOffset||document.documentElement.scrollTop;return t.style.top=`${n}px`,t.setAttribute("readonly",""),t.value=e,t}function Fy(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 205 205",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("path",{fill:"none",stroke:"currentColor",strokeWidth:"10",d:"M 50 145 a 15 15 0 0 1 -15 -15 v -90 a 15 15 0 0 1 15 -15 h 70 a 15 15 0 0 1 15 15 v 5"}),v("rect",{x:"65",y:"60",width:"100",height:"120",rx:"15",fill:"none",stroke:"currentColor",strokeWidth:"10"})]})}function Ay(){return v("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:v("path",{strokeLinejoin:"round",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:"15",d:"M 40 100 L 90 150 L 170 40"})})}function Dy(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("circle",{cx:"100",cy:"100",r:"90",fill:"none",strokeWidth:"15",stroke:"currentColor"}),v("path",{fill:"none",stroke:"currentColor",strokeWidth:"15",strokeLinecap:"round",d:"M 65 80 A 35 35 0 1 1 100 115"}),v("circle",{cx:"100",cy:"150",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"15"})]})}const M=({comment:e,command:t,onCopy:n})=>{const[r,i]=U.useState(!1);return R("div",{className:"st-code-snippet","data-cy":"instructions-step",children:[e&&v(Wf,{children:e}),R("div",{"data-cy":"command",children:[t&&v("code",{className:"st-code-snippet-content",children:t}),t&&v("button",{className:"copy-button",type:"button","aria-label":"Copy","data-cy":"copy",onClick:async()=>{r||(await Ry(t),i(!0),setTimeout(()=>i(!1),1500),n==null||n())},children:r?v(Ay,{}):v(Fy,{})})]})]})},Wf=({children:e})=>R("pre",{className:"st-code-snippet-comment",children:["# ",e]}),Uy=({comment:e,snippets:t})=>R("div",{className:"st-code-snippet-multi-line","data-cy":"command",children:[e&&v(Wf,{children:e}),t.map(n=>v(M,{...n},n.command))]});function by(e){return e.host==="docs.openvino.ai"}const fl="production.en",Gf=(fl==null?void 0:fl.includes("idz"))||!1,pl={link:"spark-hyperlink spark-hyperlink-primary spark-hyperlink-standard spark-focus-visible spark-focus-visible-self spark-focus-visible-snap spark-focus-visible-background",button:"spark-button spark-button-action spark-button-size-m spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",buttonContent:"spark-button-content"},Oe=({href:e,children:t,type:n="link",testId:r="link",onClick:i})=>{const o=!Gf&&by(new URL(e))?"_parent":"_blank";return n==="link"?v("a",{href:e,className:pl.link,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t}):v("span",{className:pl.button,children:v("span",{className:pl.buttonContent,children:v("a",{href:e,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t})})})};const zy={heading:"spark-heading spark-font-200"},Ce=({title:e,accent:t=!1,dashed:n=!1,children:r,testId:i})=>R("div",{className:`st-section ${t?"st-section-accent":""} ${n?"st-section-dashed":""}`,"data-cy":i,children:[v("span",{className:`st-section-title ${zy.heading}`,children:e}),v("div",{className:"st-section-content",children:U.Children.map(r,o=>v(Vy,{children:o}))})]}),Vy=({children:e})=>v("div",{className:"st-section-content-row",children:e}),My=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.apt"}),{t:r}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:i}=t.data,o={comment:R(z,{ns:"translation",i18nKey:"distributions.apt.steps.addRepository",children:[v("b",{children:"Step 3:"})," Add the repository via the following command"]}),snippets:i.getAddRepositoryCommands(e,t.data.os).map(({ubuntuVersionNumber:s,command:a})=>({comment:`Ubuntu ${s}`,command:a}))},l={downloadKey:{comment:R(z,{ns:"translation",i18nKey:"distributions.apt.steps.download",values:{filename:i.keyFilename},children:[v("b",{children:"Step 1:"})," Download the ",v(Oe,{href:i.keyHref,children:i.keyFilename}),". You can also use the following command"]}),command:i.downloadKeyCommand},addKey:{comment:R(z,{t:n,i18nKey:"steps.addKey",children:[v("b",{children:"Step 2:"})," Add this key to the system keyring"]}),command:i.addKeyCommand},addRepository:o,updatePackages:{comment:R(z,{t:n,i18nKey:"steps.updateList",children:[v("b",{children:"Step 4:"})," Update the list of packages via the update command"]}),command:i.updatePackagesCommand},verifyAptCache:{comment:R(z,{t:n,i18nKey:"steps.verify",children:[v("b",{children:"Step 5:"})," Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components"]}),command:i.verifyAptCacheCommand},install:{comment:R(z,{t:n,i18nKey:"steps.install",children:[v("b",{children:"Step 6:"})," Install OpenVINO Runtime"]}),command:i.getInstallCommand(e),onCopy:()=>Ge.install()}};return R(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[v(M,{...l.downloadKey}),v(M,{...l.addKey}),v(Uy,{...l.addRepository}),v(M,{...l.updatePackages}),v(M,{...l.verifyAptCache}),v(M,{...l.install})]})},$y=({distribution:e})=>{const{t}=$("translation",{keyPrefix:"distributions.brew.steps"}),{t:n}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(z,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ge.install()}};return v(Ce,{title:n("install"),accent:!0,testId:"instructions",children:v(M,{...i.install})})},By=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.conan.steps"}),{t:r}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:i}=t.data,{txtFilename:o,cmakeFilename:l}=i,s={createConanFile:{comment:R(z,{t:n,i18nKey:"createConanFile",values:{txtFilename:o},children:[v("b",{children:"Step 1:"})," Create a ",v("b",{children:o})," file for your OpenVINO project and add “openvino” dependency in there"]}),command:i.conanTXTContent(e)},install:{comment:R(z,{t:n,i18nKey:"install",values:{cmakeFilename:l},children:[v("b",{children:"Step 2:"})," Run the command below to create ",v("b",{children:l})," file, which will be used to compile your project with OpenVINO"]}),command:i.install,onCopy:()=>Ge.install()},compile:{comment:R(z,{t:n,i18nKey:"compile",children:[v("b",{children:"Step 3:"})," Configure and compile your project with OpenVINO"]}),command:i.compile}};return R(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[v(M,{...s.createConanFile}),v(M,{...s.install}),v(M,{...s.compile})]})},Ky=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.conda.steps"}),{t:r}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:i}=t.data,o={createEnv:{comment:R(z,{t:n,i18nKey:"createEnv",children:[v("b",{children:"Step 1:"})," Create the Anaconda environment (Python 3.10 used as an example)"]}),command:i.createEnv},activateEnv:{comment:R(z,{t:n,i18nKey:"activateEnv",children:[v("b",{children:"Step 2:"})," Activate the Anaconda environment"]}),command:i.activateEnv},upgradePip:{comment:R(z,{t:n,i18nKey:"update",children:[v("b",{children:"Step 3:"})," Update the Anaconda to latest version"]}),command:i.update},install:{comment:R(z,{t:n,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:i.getInstall(e),onCopy:()=>Ge.install()}};return R(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[v(M,{...o.createEnv}),v(M,{...o.activateEnv}),v(M,{...o.upgradePip}),v(M,{...o.install})]})},hl=({ovPackage:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.download"}),{t:r}=$("translation",{keyPrefix:"compact"}),i={[A.ARCHIVE]:e.key===On.OPENVINO_BASE?n("downloadArchives"):n("downloadArchivesGenAI"),[A.DOCKER]:n("gotoDocker"),[A.SNAP]:n("gotoInstallInstruction")}[t.key],o=R(Zn,{children:[r("distributions.download.useFollowingLink"),v("br",{}),v("b",{children:v(Oe,{href:t.data.downloadLink,testId:"download-button",onClick:()=>Ge.install(),children:i})})]});return v(Ce,{title:r("selectorForm.titles.install"),accent:!0,testId:"instructions",children:v(M,{comment:o})})},Hy=({version:e,distribution:t})=>{const{t:n}=$("common",{keyPrefix:"distributionLinks"}),{t:r}=$("translation",{keyPrefix:"distributions.githubGitee"}),{t:i}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),o={build:{href:t.data.links.getBuildInstructionsLink(e),text:n("installationInstructions")},repository:{href:t.data.links.getRepositoryLink(e),text:t.key===A.GITHUB?r("githubRepository"):r("giteeRepository")}},l={clone:{comment:R(z,{t:r,i18nKey:"steps.useGitClone",children:[v("b",{children:"Step 1:"})," Use Git to clone the OpenVINO toolkit repository"]}),command:t.data.commands.getCloneCommand(e),onCopy:()=>Ge.install()},build:{comment:R(z,{t:r,i18nKey:"steps.buildInstructions",children:[v("b",{children:"Step 2:"})," Follow the",v(Oe,{href:o.build.href,testId:"build-instructions-link",children:o.build.text})]})}};return R(Ce,{title:i("install"),accent:!0,testId:"instructions",children:[v(M,{...l.clone}),v(M,{...l.build})]})},Wy=({distribution:e,version:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.npm.steps"}),{t:r}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:i}=e.data,o={install:{comment:v(z,{t:n,i18nKey:"install",children:"Download and install the package"}),command:i.getInstall(t),onCopy:()=>Ge.install()}};return v(Ce,{title:r("install"),accent:!0,testId:"instructions",children:v(M,{...o.install})})},Gy=({ovPackage:e,environment:t,os:n,version:r,distribution:i})=>{const{t:o}=$("translation",{keyPrefix:"distributions.pip.steps"}),{t:l}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:s}=i.data,a=s.getCreateVenvCommand(n,r),u=s.getActivateVenvCommand(n,r),p=s.getInstallCommand({ovPackage:e,environment:t,os:n,version:r,distribution:i}),d={createEnv:{comment:R(z,{t:o,i18nKey:"createVenv",children:[v("b",{children:"Step 1:"})," Create virtual environment"]}),command:a},activateEnv:{comment:R(z,{t:o,i18nKey:"activateVenv",children:[v("b",{children:"Step 2:"})," Activate virtual environment"]}),command:u},upgradePip:{comment:R(z,{t:o,i18nKey:"upgradePip",children:[v("b",{children:"Step 3:"})," Upgrade pip to latest version"]}),command:s.upgradeCommand},install:{comment:R(z,{t:o,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:p,onCopy:()=>Ge.install()}};return R(Ce,{title:l("install"),accent:!0,testId:"instructions",children:[v(M,{...d.createEnv}),v(M,{...d.activateEnv}),v(M,{...d.upgradePip}),v(M,{...d.install})]})},Yy=({distribution:e})=>{const{t}=$("translation",{keyPrefix:"distributions.vcpkg.steps"}),{t:n}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(z,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ge.install()}};return v(Ce,{title:n("install"),accent:!0,testId:"instructions",children:v(M,{...i.install})})},Qy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.yum"}),{t:r}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{yumYear:i}=e.metadata,{commands:o}=t.data,l={createRepo:{comment:R(z,{ns:"translation",i18nKey:"distributions.yum.steps.createRepoFile",children:[v("b",{children:"Step 1:"})," Create the YUM repo file in the /tmp directory as a normal user"]}),command:o.getCreateRepoCommand(e)},moveRepoFile:{comment:R(z,{ns:"translation",i18nKey:"distributions.yum.steps.moveFile",values:{year:i,directory:o.directory},children:[v("b",{children:"Step 2:"})," Move the new openvino-",{year:i},".repo file to the YUM configuration directory ",v("b",{children:o.directory})]}),command:o.getMoveRepoFileCommand(e)},verifyRepo:{comment:R(z,{t:n,i18nKey:"steps.verify",children:[v("b",{children:"Step 3:"})," Verify that the new repo is properly setup by running the following command"]}),command:o.verifyRepoCommand},install:{comment:R(z,{t:n,i18nKey:"steps.install",children:[v("b",{children:"Step 4:"})," Install OpenVINO Runtime"]}),command:o.getInstallCommand(e),onCopy:()=>Ge.install()}};return R(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[v(M,{...l.createRepo}),v(M,{...l.moveRepoFile}),v(M,{...l.verifyRepo}),v(M,{...l.install})]})},Xy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"compact.selectorForm.titles"}),{commands:r}=t.data,i={addRepo:{comment:R(z,{ns:"translation",i18nKey:"distributions.zypper.steps.addRepo",children:[v("b",{children:"Step 1:"})," Create a ZYPPER repository file with the command below"]}),command:r.addRepo},refresh:{comment:R(z,{ns:"translation",i18nKey:"distributions.zypper.steps.refresh",children:[v("b",{children:"Step 2:"})," Refresh repositories"]}),command:r.refresh},install:{comment:R(z,{ns:"translation",i18nKey:"distributions.zypper.steps.install",children:[v("b",{children:"Step 3:"})," Install OpenVINO"]}),command:r.getInstallCommand(e),onCopy:()=>Ge.install()}};return R(Ce,{title:n("install"),accent:!0,testId:"instructions",children:[v(M,{...i.addRepo}),v(M,{...i.refresh}),v(M,{...i.install})]})},Jy=({state:e})=>{var r;const t={ovPackage:e.PACKAGE.selected,environment:(r=e.ENVIRONMENT)==null?void 0:r.selected,os:e.OP_SYSTEM.selected,version:e.VERSION.selected,distribution:e.DISTRIBUTION.selected};if(t.distribution.key===A.PIP)return v(Gy,{...t,distribution:t.distribution});if(t.distribution.key===A.ARCHIVE)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===A.DOCKER)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===A.GITHUB||t.distribution.key===A.GITEE)return v(Hy,{...t,distribution:t.distribution});if(t.distribution.key===A.APT)return v(My,{...t,distribution:t.distribution});if(t.distribution.key===A.YUM)return v(Qy,{...t,distribution:t.distribution});if(t.distribution.key===A.CONDA)return v(Ky,{...t,distribution:t.distribution});if(t.distribution.key===A.BREW)return v($y,{...t,distribution:t.distribution});if(t.distribution.key===A.VCPKG)return v(Yy,{...t,distribution:t.distribution});if(t.distribution.key===A.CONAN)return v(By,{...t,distribution:t.distribution});if(t.distribution.key===A.NPM)return v(Wy,{...t,distribution:t.distribution});if(t.distribution.key===A.ZYPPER)return v(Xy,{...t,distribution:t.distribution});if(t.distribution.key===A.SNAP)return v(hl,{...t,distribution:t.distribution});const n=t.distribution;throw new Error(`${n}`)};function Zy(){const{t:e}=$("common",{keyPrefix:"relatedTools"}),{t}=$("translation");return v(Ce,{title:t("selectorForm.titles.relatedTools"),testId:"relatedTools",accent:!0,dashed:!0,children:R("div",{className:"st-related-tools-links",children:[v(Oe,{href:"https://github.com/openvinotoolkit/openvino_notebooks",testId:"notebooks-link",children:e("OpenVINONotebooks")}),v(Oe,{href:"https://huggingface.co/docs/optimum/main/intel/openvino/inference",testId:"hf_optimum-link",children:"Hugging Face + Optimum Intel"}),v("div",{children:R(z,{t:e,i18nKey:"tokenizers",children:[v(Oe,{href:"https://docs.openvino.ai/2024/learn-openvino/llm_inference_guide/ov-tokenizers.html",testId:"openvino_tokenizers-link",children:"OpenVINO Tokenizers"}),"to streamline tokenizer conversion"]})}),v("div",{children:R(z,{t:e,i18nKey:"nncf",children:[v(Oe,{href:"https://docs.openvino.ai/2024/openvino-workflow/model-optimization-guide/compressing-models-during-training.html",testId:"nncf-link",children:"NNCF"}),"for implementing compression algorithms on models"]})}),v("div",{children:R(z,{t:e,i18nKey:"ovms",children:[v(Oe,{href:"https://docs.openvino.ai/2024/ovms_what_is_openvino_model_server.html",testId:"ovms-link",children:"OVMS"}),"for serving models optimized for deployment"]})})]})})}function qy({state:e}){const t=e.DISTRIBUTION.selected,n=e.VERSION.selected,{t:r}=$("translation"),{t:i}=$("translation",{keyPrefix:"distributions.githubGitee"}),{t:o}=$("common",{keyPrefix:"distributionLinks"});let l=v(Zn,{});return A.GITHUB===t.key||A.GITEE===t.key?l=R(Zn,{children:[v(Oe,{href:t.data.links.getBuildInstructionsLink(n),testId:"install-instructions-link",children:o("installationInstructions")}),v(Oe,{href:t.data.links.getRepositoryLink(n),testId:"repository-link",children:t.key===A.GITHUB?i("githubRepository"):i("giteeRepository")})]}):l=v(Oe,{href:t.data.linksSet.installation,testId:"install-instructions-link",children:o("installationInstructions")}),v(Ce,{title:r("selectorForm.titles.resources"),testId:"resources",accent:!0,children:R("div",{className:"st-resources-links",children:[R("div",{children:[l,v(Oe,{href:"https://github.com/openvinotoolkit/openvino/releases",testId:"previous-releases-link",children:r("selectorForm.prevReleases")}),v(Oe,{href:n.metadata.systemRequirementsLink,testId:"system-requirements-link",children:r("systemRequirements.title")})]}),R("div",{children:[v(Oe,{href:n.metadata.getStartedLink,testId:"get-started-link",children:o("getStarted")}),v(Oe,{href:n.metadata.troubleshootingLink,testId:"troubleshooting-link",children:o("troubleshooting")})]})]})})}const Pi={tooltipToggle:"spark-tooltip-toggle",tooltipPopover:"spark-tooltip spark-tooltip-size-m spark-shadow spark-tooltip-bottom",tooltipLabel:"spark-tooltip-label",tooltipArrow:"spark-tooltip-tip"},e0=({content:e})=>{const[t,n]=U.useState(!1);return v("div",{className:"help-tooltip",children:R("div",{className:Pi.tooltipToggle,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[v("div",{"aria-hidden":"true",role:"img",className:"help-tooltip-icon",children:v(Dy,{})}),t&&R("div",{className:`help-tooltip-popover ${Pi.tooltipPopover}`,role:"tooltip",children:[v("span",{className:`help-tooltip-popover-content ${Pi.tooltipLabel}`,children:e}),v("span",{className:Pi.tooltipArrow})]})]})})};const ml={toggleSwitchField:"spark-fieldlabel spark-fieldlabel-size-m spark-toggle-switch spark-toggle-switch-action spark-toggle-switch-size-l",toggleSwitchInput:"spark-focus-visible spark-focus-visible-suppress spark-focus-visible-adjacent",toggleSwitchSelector:"spark-toggle-switch-selector spark-focus-visible spark-focus-visible-snap"},t0=({label:e,checked:t=!1,onClick:n,testId:r})=>R("label",{className:ml.toggleSwitchField,"data-cy":r,children:[v("input",{type:"checkbox",className:ml.toggleSwitchInput,role:"switch",checked:t,onChange:()=>n==null?void 0:n()}),v("span",{className:ml.toggleSwitchSelector}),v("div",{children:e})]});const un={toggleButton:"spark-button spark-button-size-l spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",toggleButtonGroup:"spark-button-group spark-button-group-orientation-horizontal spark-button-group-align-start spark-button-group-spacing-l",actionButton:"spark-button-action",secondaryButton:"spark-button-secondary",disabledButton:"spark-button-disabled",buttonContent:"spark-button-content",fontXs:"spark-font-25"},Yf=({onClick:e,checked:t=!1,disabled:n=!1,title:r,subtitle:i,value:o})=>v("button",{className:`${un.toggleButton} ${t?un.actionButton:un.secondaryButton} ${n&&un.disabledButton}`,type:"button",role:"radio","aria-checked":t,onClick:()=>e==null?void 0:e(),"data-cy":o,"aria-label":r,children:R("span",{className:un.buttonContent,children:[v("span",{className:"title",children:r}),i&&v("span",{className:`${un.fontXs} subtitle`,children:i})]})}),Qf=({children:e,className:t})=>v("div",{className:`option-button-group ${t||""} ${un.toggleButtonGroup}`,children:e});function n0({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.some(({checked:u})=>u),[o,l]=U.useState(i),s=t.map(({level:u,key:p,checked:d,metadata:h})=>v(Yf,{value:`${u}_${p}`,checked:d,title:h.title,onClick:()=>r(u,p)},p)),{t:a}=$("translation",{keyPrefix:"compact.frameworks"});return R(Ce,{title:e,testId:n,children:[R(Zn,{children:[v(t0,{label:a("install"),checked:o,onClick:()=>l(!o),testId:"frameworks-toggle-switch"}),v(e0,{content:a("tooltip")})]}),v(Zn,{children:o&&v(Qf,{children:s})})]})}function Sr({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.map(({level:o,key:l,checked:s,metadata:a})=>v(Yf,{value:`${o}_${l}`,checked:s,title:a.compactTitle||a.title,subtitle:a.compactSubtitle||a.subtitle,onClick:()=>r(o,l)},l));return v(Ce,{title:e,testId:n,children:v(Qf,{children:i})})}function r0({state:e}){var a,u;const t=e.PACKAGE.nodes,n=e.VERSION.nodes,r=(a=e.ENVIRONMENT)==null?void 0:a.nodes.map(p=>({...p,metadata:{...p.metadata,subtitle:void 0}})),i=e.OP_SYSTEM.nodes,o=e.DISTRIBUTION.nodes,l=(u=e.FRAMEWORK)==null?void 0:u.nodes;U.useEffect(()=>Ge.combinationView(),[e]);const{t:s}=$("translation",{keyPrefix:"selectorForm.titles"});return R(Zn,{children:[v(Sr,{title:s("package"),options:t,level:I.PACKAGE}),v(Sr,{title:s("version"),options:n,level:I.VERSION}),r&&v(Sr,{title:s("envinronment"),options:r,level:I.ENVIRONMENT}),v(Sr,{title:s("os"),options:i,level:I.OP_SYSTEM}),v(Sr,{title:s("distribution"),options:o,level:I.DISTRIBUTION}),l&&v(n0,{title:s("frameworks"),options:l,level:I.FRAMEWORK})]})}const{SelectorContext:ya,useSelector:i0}=Ty();Ge.initialize(window.parent);function o0(){const[e,t]=i0();return v("div",{className:`st-responsive-container ${Gf?"idz-page":""}`,children:R(ya.Provider,{value:t,children:[v(r0,{state:e}),v(Jy,{state:e}),v(qy,{state:e}),v(Zy,{})]})})}wl.createRoot(document.getElementById("root")).render(v(pp.StrictMode,{children:v(o0,{})}));
+EOF`,getMoveRepoFileCommand:e=>`sudo mv /tmp/openvino-${e.metadata.yumYear}.repo ${ac}`,verifyRepoCommand:"yum repolist | grep -i openvino",getInstallCommand:e=>`sudo yum install openvino-${e.metadata.yumVersion}`};class Lv extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.ZYPPER,metadata:{title:"ZYPPER",subtitle:q("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Av}}}const Av={addRepo:"sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo",refresh:"sudo zypper refresh",getInstallCommand:({metadata:e})=>`sudo zypper install openvino-devel-${e.zypperVersion} openvino-sample-${e.zypperVersion}`};class Vf extends Re{constructor(t,n,r){super({level:I.PACKAGE,key:t,metadata:n,childrenSelector:zf},r),this._setDefaultPackage()}_setDefaultPackage(){const t=Ee.OPENVINO_BASE;this.key===t&&this.default()}}class jv extends Vf{constructor(t){super(Ee.OPENVINO_BASE,{title:q("package.base.title"),subtitle:q("package.base.subtitle")},t)}}class Fv extends Vf{constructor(t){super(Ee.OPENVINO_GENAI,{title:q("package.genai.title"),subtitle:q("package.genai.subtitle")},t)}}class Ro extends Re{constructor(t,n,r){super({level:I.VERSION,key:t,metadata:n},r)}}const Dv={title:q("versions.titles.nightlyBuild"),pipVersion:"",githubVersion:"master",giteeVersion:"master",genaiGitVersion:"master",systemRequirementsLink:"https://docs.openvino.ai/nightly/about-openvino/release-notes-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/nightly/get-started.html",troubleshootingLink:"https://docs.openvino.ai/nightly/get-started/troubleshooting-install-config.html"};class $f extends Ro{constructor(t){super(zt.NIGHTLY,Dv,t)}}const Uv={title:"2024.4",subtitle:q("versions.titles.recommended"),pipVersion:"2024.4.0",githubVersion:"2024.4.0",giteeVersion:"2024.4.0",genaiGitVersion:"releases/2024/4",aptYear:2024,aptVersion:"2024.4.0",yumYear:2024,yumVersion:"2024.4.0",condaVersion:"2024.4.0",conanVersion:"2024.4.0",npmVersion:"2024.4.0",zypperVersion:"2024.4.0",systemRequirementsLink:"https://docs.openvino.ai/2024/about-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/2024/get-started.html",troubleshootingLink:"https://docs.openvino.ai/2024/get-started/troubleshooting-install-config.html"};class Mf extends Ro{constructor(t){super(zt.v_2024_4_0,Uv,t)}}const zv={title:`2023.3 ${q("versions.titles.LTS")}`,pipVersion:"2023.3.0",githubVersion:"2023.3.0",giteeVersion:"2023.3.0",aptYear:2023,aptVersion:"2023.3.0",yumYear:2023,yumVersion:"2023.3.0",condaVersion:"2023.3.0",conanVersion:"2023.3.0",systemRequirementsLink:"https://docs.openvino.ai/2023.3/system_requirements.html",getStartedLink:"https://docs.openvino.ai/2023.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2023.3/openvino_docs_get_started_guide_troubleshooting.html"};class bv extends Ro{constructor(t){super(zt.v_2023_3_0,zv,t)}}const Vv={title:`2022.3.2 ${q("versions.titles.LTS")}`,subtitle:q("versions.titles.hddlSupport"),pipVersion:"2022.3.2",githubVersion:"2022.3.2",giteeVersion:"2022.3.2",aptYear:2022,aptVersion:"2022.3.2",yumYear:2022,yumVersion:"2022.3.2",systemRequirementsLink:"https://docs.openvino.ai/systemrequirements",getStartedLink:"https://docs.openvino.ai/2022.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2022.3/openvino_docs_get_started_guide_troubleshooting_steps.html"};class Bf extends Ro{constructor(t){super(zt.v_2022_3_2,Vv,t)}}class va extends Re{constructor(t,n,r){super({level:I.OP_SYSTEM,key:t,metadata:n,childrenSelector:zf},r),this._setDefaultOS()}_setDefaultOS(){const t=this._detectOS()||Ze.WINDOWS;this.key===t&&this.default()}_detectOS(){const{userAgent:t}=navigator,n={windows:/(Windows|Win)/g,macOS:/(Macintosh|Mac)/g,linux:/(Linux|X11)/g};return n.windows.test(t)?Ze.WINDOWS:n.macOS.test(t)?Ze.MACOS:n.linux.test(t)?Ze.LINUX:null}}class Nn extends va{constructor(t){super(Ze.WINDOWS,iv,t)}}class Pn extends va{constructor(t){super(Ze.MACOS,ov,t)}}class En extends va{constructor(t){super(Ze.LINUX,lv,t)}}const $v=new En([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Mv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Bv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Kv=new $f([Bv,Mv,$v]);class Hv extends Re{constructor(t){super({level:I.ENVIRONMENT,key:oi.RUNTIME,metadata:{title:q("environment.runtime.title"),subtitle:q("environment.runtime.subtitle")}},t)}}class Wv extends Re{constructor(t){super({level:I.ENVIRONMENT,key:oi.DEV_TOOLS,metadata:{title:q("environment.devTools.title"),subtitle:q("environment.devTools.subtitle")}},t)}}const Gv=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Yv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).addFootnote(I.OP_SYSTEM).default(),new oe().addFootnote(I.OP_SYSTEM),new ie().addFootnote(I.OP_SYSTEM)]),Qv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new oe,new ie]),Xv=new Wv([Qv,Yv,Gv]),Jv=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/linux"}),new pa({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Zv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).addFootnote(I.OP_SYSTEM).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/macos"}).addFootnote(I.OP_SYSTEM),new oe().addFootnote(I.OP_SYSTEM),new ie().addFootnote(I.OP_SYSTEM)]),qv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/windows"}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"})]),ey=new Hv([qv,Zv,Jv]),ty=new Bf([Xv.default(),ey]),ny=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20,ne.UBUNTU_22]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ry=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/macos"}),new oe,new ie,new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),iy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),oy=new bv([iy,ry,ny]),ly=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-apt.html"},os:[ne.UBUNTU_20,ne.UBUNTU_22,ne.UBUNTU_24]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}}),new Lv({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-zypper.html"}}),new Iv({linksSet:{installation:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"},downloadLink:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"})]),sy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/macos"}),new oe,new ie,new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),ay=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),uy=new Mf([ay,sy,ly]),cy=new jv([uy.default(),Kv,oy,ty]),dy=new En([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),fy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),py=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),hy=new $f([py,fy,dy]),my=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/linux"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),gy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/macos"}),new oe,new ie]),vy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),yy=new Mf([vy,gy,my]),wy=new Fv([yy.default(),hy]),ky=new Re({level:I.ROOT,key:Df.ROOT,metadata:{title:"ROOT"}},[cy.default(),wy]).default();function Sy(e,t){var i,o;if(t.key===F.DOCKER||!t.footnoteLevel)return e;const n=(i=e[t.footnoteLevel])==null?void 0:i.selected,r=(o=e[t.footnoteLevel])==null?void 0:o.nodes;return!n||!r||((Array.isArray(n)?[...n,...r]:[n]).forEach(l=>l.hasFootnote=!0),r.forEach(l=>l.checked&&(l.hasFootnote=!0))),e}class Oy{constructor(){Ve(this,"_root",ky)}getState(){try{return this._getState()}catch(t){return console.error(t),this._selectDefaults(this._root),this._getState()}}_getState(){const t=this._root.children,n=this._get_selected(t),r=n.children,i=this._get_selected(r),{environments:o,environment:l,systems:s,system:a}=this._processVersion(i),u=a.children,p=this._get_selected(u),d=this._processDistribution(p),h={[I.PACKAGE]:{nodes:t.map(g=>g.toOption()),selected:n.toOption()},[I.VERSION]:{nodes:r.map(g=>g.toOption()),selected:i.toOption()},[I.ENVIRONMENT]:l&&o?{nodes:o.map(g=>g.toOption()),selected:l.toOption()}:null,[I.OP_SYSTEM]:{nodes:s.map(g=>g.toOption()),selected:a.toOption()},[I.DISTRIBUTION]:{nodes:u.map(g=>g.toOption()),selected:p.toOption()},[I.FRAMEWORK]:d!=null&&d.length?{nodes:d.map(g=>g.toOption()),selected:d.filter(({checked:g})=>g).map(g=>g.toOption())}:null};return Sy(h,p)}_get_selected(t){t.some(({checked:r})=>r)||this._selectDefaultsForLevel(t[0].level);const n=t.find(({checked:r})=>r);if(!n)throw new Error("Not valid tree");return n}_processVersion(t){if(t instanceof Bf){const i=t.children,o=this._get_selected(i),l=o.children,s=this._get_selected(l);return{environments:i,environment:o,systems:l,system:s}}const n=t.children,r=this._get_selected(n);return{environments:null,environment:null,systems:n,system:r}}_processDistribution(t){return t instanceof te?t.children:null}setState(t){this._setState(t)}_setState(t,n=this._root){if(!n.children.length)return;const r=n.children[0].level,i=_y(t[r]);n.children.forEach(o=>o.checked=i.includes(o.key)),n.children.forEach(o=>this._setState(t,o))}select(t,n){return this._select(t,n),this.getState()}_select(t,n,r=this._root){var i;if(((i=r.children[0])==null?void 0:i.level)!==t){r.children.forEach(o=>this._select(t,n,o));return}if(r.childrenSelector){r.childrenSelector(r.children,n);return}r.children.forEach(o=>o.checked=o.key===n)}_selectDefaultsForLevel(t,n=this._root){if(n.children.length){if(n.children[0].level!==t){n.children.forEach(r=>this._selectDefaultsForLevel(t,r));return}this._selectDefaults(n)}}_selectDefaults(t){t.children.forEach(n=>{n.checked=n.isDefault,this._selectDefaults(n)})}}const An=new Oy;function _y(e){const t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),t}function Kf(e,{serializeVersion:t}={serializeVersion:!0}){var i,o;const n=[[I.PACKAGE,e.PACKAGE.selected.key],[I.VERSION,t?e.VERSION.selected.key:null],[I.ENVIRONMENT,(i=e.ENVIRONMENT)==null?void 0:i.selected.key],[I.OP_SYSTEM,e.OP_SYSTEM.selected.key],[I.DISTRIBUTION,e.DISTRIBUTION.selected.key],[I.FRAMEWORK,(o=e.FRAMEWORK)==null?void 0:o.selected.map(l=>l.key).join(",")]],r=new URLSearchParams;for(const[l,s]of n)s&&r.set(l,s);return r}function Hf(e){function t(r,i){const o=e.get(r);if(!o)throw new Error(`Cannot extract value for: ${r}`);if(!i[o])throw new Error(`Bad node key for: ${r}`);return i[o]}function n(r,i){const o=e.get(r);return o?o.split(",").map(s=>{if(!s||!i[s])throw new Error(`Bad node key for: ${r}`);return i[s]}):null}try{return{[I.PACKAGE]:t(I.PACKAGE,Ee),[I.VERSION]:e.has(I.VERSION)?t(I.VERSION,zt):null,[I.ENVIRONMENT]:e.has(I.ENVIRONMENT)?t(I.ENVIRONMENT,oi):null,[I.OP_SYSTEM]:t(I.OP_SYSTEM,Ze),[I.DISTRIBUTION]:t(I.DISTRIBUTION,F),[I.FRAMEWORK]:n(I.FRAMEWORK,Me)}}catch(r){return console.log(`Cannot restore state from url due to error "${r}"`),null}}function Ny(){const e=window.parent;if(!e.location.search)return null;const t=new URLSearchParams(e.location.search);return Hf(t)}function Py(e,t,n,{serializeVersion:r}={serializeVersion:!0}){U.useEffect(()=>{const i=window.parent,o=Kf(t,{serializeVersion:r}).toString(),l=new URL(i.location.toString());if(!l.search){l.search=o,i.history.replaceState(null,"",l);return}l.search.slice(1)!==o&&(l.search=o,i.history.pushState(null,"",l))}),parent.onpopstate=()=>{const i=window.parent,o=new URLSearchParams(i.location.search),l=Hf(o);l&&(e.setState(l),n(e.getState()))}}const dl=function(e){let t,n=!1;return function(...r){return n||(t=e(r),n=!0),t}};function Ey(e){var t,n;return typeof((n=(t=e.wap_tms)==null?void 0:t.custom)==null?void 0:n.trackComponentClick)!="function"?null:e.wap_tms.custom.trackComponentClick.bind(e.wap_tms.custom)}class xy{constructor(){Ve(this,"_window");Ve(this,"_consoleNotification",{notInitialized:dl(()=>console.log("Adobe analytics is not initialized")),notFound:dl(()=>console.log("Adobe analytics not found on a page")),devMode:dl(()=>console.log("Analytics in dev mode"))});Ve(this,"_send",t=>{if(!this._window){this._consoleNotification.notInitialized();return}const n=Kf(An.getState()).toString(),r=Ey(this._window);if(!r){this._consoleNotification.notFound();return}try{r(t,n)}catch(i){console.error(i)}})}initialize(t){this._window=t}install(){this._send("install")}combinationView(){this._send("combination-view")}}const Ye=new xy;function Cy(){const e=Ny();e&&An.setState(e);const t=U.createContext((r,i)=>{An.select(r,i)});function n(){const[r,i]=U.useState(An.getState());return Py(An,r,i),[r,(o,l)=>i(An.select(o,l))]}return{SelectorContext:t,useSelector:n}}async function Iy(e){e&&(navigator.clipboard?await navigator.clipboard.writeText(e):Ty(e))}function Ty(e){const t=Ry(e);document.body.append(t),t.select(),document.execCommand("copy"),t.remove()}function Ry(e){const t=document.createElement("textarea");t.style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style.left="-9999px";const n=window.pageYOffset||document.documentElement.scrollTop;return t.style.top=`${n}px`,t.setAttribute("readonly",""),t.value=e,t}function Ly(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 205 205",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("path",{fill:"none",stroke:"currentColor",strokeWidth:"10",d:"M 50 145 a 15 15 0 0 1 -15 -15 v -90 a 15 15 0 0 1 15 -15 h 70 a 15 15 0 0 1 15 15 v 5"}),v("rect",{x:"65",y:"60",width:"100",height:"120",rx:"15",fill:"none",stroke:"currentColor",strokeWidth:"10"})]})}function Ay(){return v("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:v("path",{strokeLinejoin:"round",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:"15",d:"M 40 100 L 90 150 L 170 40"})})}function jy(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("circle",{cx:"100",cy:"100",r:"90",fill:"none",strokeWidth:"15",stroke:"currentColor"}),v("path",{fill:"none",stroke:"currentColor",strokeWidth:"15",strokeLinecap:"round",d:"M 65 80 A 35 35 0 1 1 100 115"}),v("circle",{cx:"100",cy:"150",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"15"})]})}const $=({comment:e,command:t,onCopy:n})=>{const[r,i]=U.useState(!1);return R("div",{className:"st-code-snippet","data-cy":"instructions-step",children:[e&&v(Wf,{children:e}),R("div",{"data-cy":"command",children:[t&&v("code",{className:"st-code-snippet-content",children:t}),t&&v("button",{className:"copy-button",type:"button","aria-label":"Copy","data-cy":"copy",onClick:async()=>{r||(await Iy(t),i(!0),setTimeout(()=>i(!1),1500),n==null||n())},children:r?v(Ay,{}):v(Ly,{})})]})]})},Wf=({children:e})=>R("pre",{className:"st-code-snippet-comment",children:["# ",e]}),Fy=({comment:e,snippets:t})=>R("div",{className:"st-code-snippet-multi-line","data-cy":"command",children:[e&&v(Wf,{children:e}),t.map(n=>v($,{...n},n.command))]});function Dy(e){return e.host==="docs.openvino.ai"}const fl="production.docs.en",Gf=(fl==null?void 0:fl.includes("idz"))||!1,pl={link:"spark-hyperlink spark-hyperlink-primary spark-hyperlink-standard spark-focus-visible spark-focus-visible-self spark-focus-visible-snap spark-focus-visible-background",button:"spark-button spark-button-action spark-button-size-m spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",buttonContent:"spark-button-content"},Ne=({href:e,children:t,type:n="link",testId:r="link",onClick:i})=>{const o=!Gf&&Dy(new URL(e))?"_parent":"_blank";return n==="link"?v("a",{href:e,className:pl.link,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t}):v("span",{className:pl.button,children:v("span",{className:pl.buttonContent,children:v("a",{href:e,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t})})})};const Uy={heading:"spark-heading spark-font-200"},Ie=({title:e,accent:t=!1,dashed:n=!1,children:r,testId:i})=>R("div",{className:`st-section ${t?"st-section-accent":""} ${n?"st-section-dashed":""}`,"data-cy":i,children:[v("span",{className:`st-section-title ${Uy.heading}`,children:e}),v("div",{className:"st-section-content",children:U.Children.map(r,o=>v(zy,{children:o}))})]}),zy=({children:e})=>v("div",{className:"st-section-content-row",children:e}),by=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.apt.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={comment:R(b,{ns:"translation",i18nKey:"distributions.apt.steps.addRepository",children:[v("b",{children:"Step 3:"})," Add the repository via the following command"]}),snippets:i.getAddRepositoryCommands(e,t.data.os).map(({ubuntuVersionNumber:s,command:a})=>({comment:`Ubuntu ${s}`,command:a}))},l={downloadKey:{comment:R(b,{t:n,i18nKey:"download",values:{filename:i.keyFilename},children:[v("b",{children:"Step 1:"})," Download the ",v(Ne,{href:i.keyHref,children:i.keyFilename}),". You can also use the following command"]}),command:i.downloadKeyCommand},addKey:{comment:R(b,{t:n,i18nKey:"addKey",children:[v("b",{children:"Step 2:"})," Add this key to the system keyring"]}),command:i.addKeyCommand},addRepository:o,updatePackages:{comment:R(b,{t:n,i18nKey:"updateList",children:[v("b",{children:"Step 4:"})," Update the list of packages via the update command"]}),command:i.updatePackagesCommand},verifyAptCache:{comment:R(b,{t:n,i18nKey:"verify",children:[v("b",{children:"Step 5:"})," Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components"]}),command:i.verifyAptCacheCommand},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 6:"})," Install OpenVINO Runtime"]}),command:i.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...l.downloadKey}),v($,{...l.addKey}),v(Fy,{...l.addRepository}),v($,{...l.updatePackages}),v($,{...l.verifyAptCache}),v($,{...l.install})]})},Vy=({distribution:e})=>{const{t}=B("translation",{keyPrefix:"distributions.brew.steps"}),{t:n}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(b,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ye.install()}};return v(Ie,{title:n("install"),accent:!0,testId:"instructions",children:v($,{...i.install})})},$y=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.conan.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,{txtFilename:o,cmakeFilename:l}=i,s={createConanFile:{comment:R(b,{t:n,i18nKey:"createConanFile",values:{txtFilename:o},children:[v("b",{children:"Step 1:"})," Create a ",v("b",{children:o})," file for your OpenVINO project and add “openvino” dependency in there"]}),command:i.conanTXTContent(e)},install:{comment:R(b,{t:n,i18nKey:"install",values:{cmakeFilename:l},children:[v("b",{children:"Step 2:"})," Run the command below to create ",v("b",{children:l})," file, which will be used to compile your project with OpenVINO"]}),command:i.install,onCopy:()=>Ye.install()},compile:{comment:R(b,{t:n,i18nKey:"compile",children:[v("b",{children:"Step 3:"})," Configure and compile your project with OpenVINO"]}),command:i.compile}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...s.createConanFile}),v($,{...s.install}),v($,{...s.compile})]})},My=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.conda.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={createEnv:{comment:R(b,{t:n,i18nKey:"createEnv",children:[v("b",{children:"Step 1:"})," Create the Anaconda environment (Python 3.10 used as an example)"]}),command:i.createEnv},activateEnv:{comment:R(b,{t:n,i18nKey:"activateEnv",children:[v("b",{children:"Step 2:"})," Activate the Anaconda environment"]}),command:i.activateEnv},upgradePip:{comment:R(b,{t:n,i18nKey:"update",children:[v("b",{children:"Step 3:"})," Update the Anaconda to latest version"]}),command:i.update},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:i.getInstall(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...o.createEnv}),v($,{...o.activateEnv}),v($,{...o.upgradePip}),v($,{...o.install})]})},hl=({ovPackage:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.download"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),i={[F.ARCHIVE]:e.key===Ee.OPENVINO_BASE?n("downloadArchives"):n("downloadArchivesGenAI"),[F.DOCKER]:n("gotoDocker"),[F.SNAP]:n("gotoInstallInstruction")}[t.key],o=R(Zn,{children:[n("useFollowingLink"),v("br",{}),v("b",{children:v(Ne,{href:t.data.downloadLink,testId:"download-button",onClick:()=>Ye.install(),children:i})})]});return v(Ie,{title:r("install"),accent:!0,testId:"instructions",children:v($,{comment:o})})},By=({ovPackage:e,version:t,distribution:n})=>{const{t:r}=B("translation",{keyPrefix:"distributions.githubGitee"}),{t:i}=B("translation",{keyPrefix:"selectorForm.titles"}),o={clone:{comment:R(b,{t:r,i18nKey:"steps.useGitClone",children:[v("b",{children:"Step 1:"})," Use Git to clone the OpenVINO toolkit repository"]}),command:n.data.commands.getCloneCommand(e,t),onCopy:()=>Ye.install()},build:{comment:R(b,{t:r,i18nKey:"steps.buildInstructions",children:[v("b",{children:"Step 2:"})," Follow the ",v(Ne,{href:n.data.links.getBuildInstructionsLink(e,t),testId:"build-instructions-link",children:"instructions to build from source"})]})}};return R(Ie,{title:i("install"),accent:!0,testId:"instructions",children:[v($,{...o.clone}),v($,{...o.build})]})},Ky=({distribution:e,version:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.npm.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=e.data,o={install:{comment:v(b,{t:n,i18nKey:"install",children:"Download and install the package"}),command:i.getInstall(t),onCopy:()=>Ye.install()}};return v(Ie,{title:r("install"),accent:!0,testId:"instructions",children:v($,{...o.install})})},Hy=({ovPackage:e,environment:t,os:n,version:r,distribution:i})=>{const{t:o}=B("translation",{keyPrefix:"distributions.pip.steps"}),{t:l}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:s}=i.data,a=s.getCreateVenvCommand(n,r),u=s.getActivateVenvCommand(n,r),p=s.getInstallCommand({ovPackage:e,environment:t,os:n,version:r,distribution:i}),d={createEnv:{comment:R(b,{t:o,i18nKey:"createVenv",children:[v("b",{children:"Step 1:"})," Create virtual environment"]}),command:a},activateEnv:{comment:R(b,{t:o,i18nKey:"activateVenv",children:[v("b",{children:"Step 2:"})," Activate virtual environment"]}),command:u},upgradePip:{comment:R(b,{t:o,i18nKey:"upgradePip",children:[v("b",{children:"Step 3:"})," Upgrade pip to latest version"]}),command:s.upgradeCommand},install:{comment:R(b,{t:o,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:p,onCopy:()=>Ye.install()}};return R(Ie,{title:l("install"),accent:!0,testId:"instructions",children:[v($,{...d.createEnv}),v($,{...d.activateEnv}),v($,{...d.upgradePip}),v($,{...d.install})]})},Wy=({distribution:e})=>{const{t}=B("translation",{keyPrefix:"distributions.vcpkg.steps"}),{t:n}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(b,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ye.install()}};return v(Ie,{title:n("install"),accent:!0,testId:"instructions",children:v($,{...i.install})})},Gy=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.yum.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{yumYear:i}=e.metadata,{commands:o}=t.data,l={createRepo:{comment:R(b,{t:n,i18nKey:"createRepoFile",children:[v("b",{children:"Step 1:"})," Create the YUM repo file in the /tmp directory as a normal user"]}),command:o.getCreateRepoCommand(e)},moveRepoFile:{comment:R(b,{t:n,i18nKey:"moveFile",values:{year:i,directory:o.directory},children:[v("b",{children:"Step 2:"})," Move the new openvino-",{year:i},".repo file to the YUM configuration directory ",v("b",{children:o.directory})]}),command:o.getMoveRepoFileCommand(e)},verifyRepo:{comment:R(b,{t:n,i18nKey:"verify",children:[v("b",{children:"Step 3:"})," Verify that the new repo is properly setup by running the following command"]}),command:o.verifyRepoCommand},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Install OpenVINO Runtime"]}),command:o.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...l.createRepo}),v($,{...l.moveRepoFile}),v($,{...l.verifyRepo}),v($,{...l.install})]})},Yy=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.zypper.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={addRepo:{comment:R(b,{t:n,i18nKey:"addRepo",children:[v("b",{children:"Step 1:"})," Create a ZYPPER repository file with the command below"]}),command:i.addRepo},refresh:{comment:R(b,{t:n,i18nKey:"refresh",children:[v("b",{children:"Step 2:"})," Refresh repositories"]}),command:i.refresh},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 3:"})," Install OpenVINO"]}),command:i.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...o.addRepo}),v($,{...o.refresh}),v($,{...o.install})]})},Qy=({state:e})=>{var r;const t={ovPackage:e.PACKAGE.selected,environment:(r=e.ENVIRONMENT)==null?void 0:r.selected,os:e.OP_SYSTEM.selected,version:e.VERSION.selected,distribution:e.DISTRIBUTION.selected};if(t.distribution.key===F.PIP)return v(Hy,{...t,distribution:t.distribution});if(t.distribution.key===F.ARCHIVE)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===F.DOCKER)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===F.GITHUB||t.distribution.key===F.GITEE)return v(By,{...t,distribution:t.distribution});if(t.distribution.key===F.APT)return v(by,{...t,distribution:t.distribution});if(t.distribution.key===F.YUM)return v(Gy,{...t,distribution:t.distribution});if(t.distribution.key===F.CONDA)return v(My,{...t,distribution:t.distribution});if(t.distribution.key===F.BREW)return v(Vy,{...t,distribution:t.distribution});if(t.distribution.key===F.VCPKG)return v(Wy,{...t,distribution:t.distribution});if(t.distribution.key===F.CONAN)return v($y,{...t,distribution:t.distribution});if(t.distribution.key===F.NPM)return v(Ky,{...t,distribution:t.distribution});if(t.distribution.key===F.ZYPPER)return v(Yy,{...t,distribution:t.distribution});if(t.distribution.key===F.SNAP)return v(hl,{...t,distribution:t.distribution});const n=t.distribution;throw new Error(`${n}`)};function Xy(){const{t:e}=B("common",{keyPrefix:"relatedTools"}),{t}=B("translation");return v(Ie,{title:t("selectorForm.titles.relatedTools"),testId:"relatedTools",accent:!0,dashed:!0,children:R("div",{className:"st-related-tools-links",children:[v(Ne,{href:"https://github.com/openvinotoolkit/openvino_notebooks",testId:"notebooks-link",children:e("OpenVINONotebooks")}),v(Ne,{href:"https://huggingface.co/docs/optimum/main/intel/openvino/inference",testId:"hf_optimum-link",children:"Hugging Face + Optimum Intel"}),v("div",{children:R(b,{t:e,i18nKey:"tokenizers",children:[v(Ne,{href:"https://docs.openvino.ai/2024/learn-openvino/llm_inference_guide/ov-tokenizers.html",testId:"openvino_tokenizers-link",children:"OpenVINO Tokenizers"}),"to streamline tokenizer conversion"]})}),v("div",{children:R(b,{t:e,i18nKey:"nncf",children:[v(Ne,{href:"https://docs.openvino.ai/2024/openvino-workflow/model-optimization-guide/compressing-models-during-training.html",testId:"nncf-link",children:"NNCF"}),"for implementing compression algorithms on models"]})}),v("div",{children:R(b,{t:e,i18nKey:"ovms",children:[v(Ne,{href:"https://docs.openvino.ai/2024/ovms_what_is_openvino_model_server.html",testId:"ovms-link",children:"OVMS"}),"for serving models optimized for deployment"]})})]})})}function Jy({state:e}){const t=e.PACKAGE.selected,n=e.DISTRIBUTION.selected,r=e.VERSION.selected,{t:i}=B("translation",{keyPrefix:"selectorForm.titles"}),{t:o}=B("common",{keyPrefix:"resources"});let l=v(Zn,{});if(F.GITHUB===n.key||F.GITEE===n.key){const s=n.key===F.GITHUB?t.key===Ee.OPENVINO_BASE?o("githubRepository"):o("githubGenAIRepository"):t.key===Ee.OPENVINO_BASE?o("giteeRepository"):o("giteeGenAIRepository");l=R(Zn,{children:[v(Ne,{href:n.data.links.getBuildInstructionsLink(t,r),testId:"install-instructions-link",children:o("installationInstructions")}),v(Ne,{href:n.data.links.getRepositoryLink(t,r),testId:"repository-link",children:s})]})}else l=v(Ne,{href:n.data.linksSet.installation,testId:"install-instructions-link",children:o("installationInstructions")});return v(Ie,{title:i("resources"),testId:"resources",accent:!0,children:R("div",{className:"st-resources-links",children:[R("div",{children:[l,v(Ne,{href:"https://github.com/openvinotoolkit/openvino/releases",testId:"previous-releases-link",children:o("prevReleases")}),v(Ne,{href:r.metadata.systemRequirementsLink,testId:"system-requirements-link",children:o("systemRequirements")})]}),R("div",{children:[v(Ne,{href:r.metadata.getStartedLink,testId:"get-started-link",children:o("getStarted")}),v(Ne,{href:r.metadata.troubleshootingLink,testId:"troubleshooting-link",children:o("troubleshooting")})]})]})})}const Pi={tooltipToggle:"spark-tooltip-toggle",tooltipPopover:"spark-tooltip spark-tooltip-size-m spark-shadow spark-tooltip-bottom",tooltipLabel:"spark-tooltip-label",tooltipArrow:"spark-tooltip-tip"},Zy=({content:e})=>{const[t,n]=U.useState(!1);return v("div",{className:"help-tooltip",children:R("div",{className:Pi.tooltipToggle,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[v("div",{"aria-hidden":"true",role:"img",className:"help-tooltip-icon",children:v(jy,{})}),t&&R("div",{className:`help-tooltip-popover ${Pi.tooltipPopover}`,role:"tooltip",children:[v("span",{className:`help-tooltip-popover-content ${Pi.tooltipLabel}`,children:e}),v("span",{className:Pi.tooltipArrow})]})]})})};const ml={toggleSwitchField:"spark-fieldlabel spark-fieldlabel-size-m spark-toggle-switch spark-toggle-switch-action spark-toggle-switch-size-l",toggleSwitchInput:"spark-focus-visible spark-focus-visible-suppress spark-focus-visible-adjacent",toggleSwitchSelector:"spark-toggle-switch-selector spark-focus-visible spark-focus-visible-snap"},qy=({label:e,checked:t=!1,onClick:n,testId:r})=>R("label",{className:ml.toggleSwitchField,"data-cy":r,children:[v("input",{type:"checkbox",className:ml.toggleSwitchInput,role:"switch",checked:t,onChange:()=>n==null?void 0:n()}),v("span",{className:ml.toggleSwitchSelector}),v("div",{children:e})]});const dn={toggleButton:"spark-button spark-button-size-l spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",toggleButtonGroup:"spark-button-group spark-button-group-orientation-horizontal spark-button-group-align-start spark-button-group-spacing-l",actionButton:"spark-button-action",secondaryButton:"spark-button-secondary",disabledButton:"spark-button-disabled",buttonContent:"spark-button-content",fontXs:"spark-font-25"},Yf=({onClick:e,checked:t=!1,disabled:n=!1,title:r,subtitle:i,value:o})=>v("button",{className:`${dn.toggleButton} ${t?dn.actionButton:dn.secondaryButton} ${n&&dn.disabledButton}`,type:"button",role:"radio","aria-checked":t,onClick:()=>e==null?void 0:e(),"data-cy":o,"aria-label":r,children:R("span",{className:dn.buttonContent,children:[v("span",{className:"title",children:r}),i&&v("span",{className:`${dn.fontXs} subtitle`,children:i})]})}),Qf=({children:e,className:t})=>v("div",{className:`option-button-group ${t||""} ${dn.toggleButtonGroup}`,children:e});function e0({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.some(({checked:u})=>u),[o,l]=U.useState(i),s=t.map(({level:u,key:p,checked:d,metadata:h})=>v(Yf,{value:`${u}_${p}`,checked:d,title:h.title,onClick:()=>r(u,p)},p)),{t:a}=B("translation",{keyPrefix:"frameworks"});return R(Ie,{title:e,testId:n,children:[R(Zn,{children:[v(qy,{label:a("install"),checked:o,onClick:()=>l(!o),testId:"frameworks-toggle-switch"}),v(Zy,{content:a("tooltip")})]}),v(Zn,{children:o&&v(Qf,{children:s})})]})}function Sr({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.map(({level:o,key:l,checked:s,metadata:a})=>v(Yf,{value:`${o}_${l}`,checked:s,title:a.title,subtitle:a.subtitle,onClick:()=>r(o,l)},l));return v(Ie,{title:e,testId:n,children:v(Qf,{children:i})})}function t0({state:e}){var a,u;const t=e.PACKAGE.nodes,n=e.VERSION.nodes,r=(a=e.ENVIRONMENT)==null?void 0:a.nodes.map(p=>({...p,metadata:{...p.metadata,subtitle:void 0}})),i=e.OP_SYSTEM.nodes,o=e.DISTRIBUTION.nodes,l=(u=e.FRAMEWORK)==null?void 0:u.nodes;U.useEffect(()=>Ye.combinationView(),[e]);const{t:s}=B("translation",{keyPrefix:"selectorForm.titles"});return R(Zn,{children:[v(Sr,{title:s("package"),options:t,level:I.PACKAGE}),v(Sr,{title:s("version"),options:n,level:I.VERSION}),r&&v(Sr,{title:s("envinronment"),options:r,level:I.ENVIRONMENT}),v(Sr,{title:s("os"),options:i,level:I.OP_SYSTEM}),v(Sr,{title:s("distribution"),options:o,level:I.DISTRIBUTION}),l&&v(e0,{title:s("frameworks"),options:l,level:I.FRAMEWORK})]})}const{SelectorContext:ya,useSelector:n0}=Cy();Ye.initialize(window.parent);function r0(){const[e,t]=n0();return v("div",{className:`st-responsive-container ${Gf?"idz-page":""}`,children:R(ya.Provider,{value:t,children:[v(t0,{state:e}),v(Qy,{state:e}),v(Jy,{state:e}),v(Xy,{})]})})}wl.createRoot(document.getElementById("root")).render(v(pp.StrictMode,{children:v(r0,{})}));
diff --git a/docs/sphinx_setup/_static/selector-tool/selector-9dbd5b1.html b/docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.html
similarity index 77%
rename from docs/sphinx_setup/_static/selector-tool/selector-9dbd5b1.html
rename to docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.html
index bafe5d817e8..460b5c14848 100644
--- a/docs/sphinx_setup/_static/selector-tool/selector-9dbd5b1.html
+++ b/docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta name="version" content="v_2024_3_0-9dbd5b1" />
+ <meta name="version" content="v_2024_4_0-8d4cf1d" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Download Intel® Distribution of OpenVINO™ Toolkit</title>
@@ -9,11 +9,11 @@
name="description"
content="Download a version of the Intel® Distribution of OpenVINO™ toolkit for Linux, Windows, or macOS."
/>
- <script type="module" crossorigin src="./assets/selector-83076730.js"></script>
+ <script type="module" crossorigin src="./assets/selector-4f9c3c09.js"></script>
<link rel="stylesheet" href="./assets/selector-b0e2854e.css">
</head>
<body>
<div id="root"></div>
-
+
</body>
</html>