@x4b/webcomponent-banner 28.9.0 → 30.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(ve,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(ve=typeof globalThis<"u"?globalThis:ve||self,Ie(ve.webcomponentBanner={}))})(this,function(ve){"use strict";var Vv=Object.defineProperty;var Gv=(ve,Ie,Yt)=>Ie in ve?Vv(ve,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):ve[Ie]=Yt;var Wp=(ve,Ie,Yt)=>(Gv(ve,typeof Ie!="symbol"?Ie+"":Ie,Yt),Yt);function Ie(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},A={};/**
1
+ (function(ge,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(ge=typeof globalThis<"u"?globalThis:ge||self,Ie(ge.webcomponentBanner={}))})(this,function(ge){"use strict";var Fg=Object.defineProperty;var bg=(ge,Ie,Yt)=>Ie in ge?Fg(ge,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):ge[Ie]=Yt;var Xp=(ge,Ie,Yt)=>(bg(ge,typeof Ie!="symbol"?Ie+"":Ie,Yt),Yt);function Ie(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S={exports:{}},D={};/**
2
2
  * @license React
3
3
  * react.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Yn=Symbol.for("react.element"),Qp=Symbol.for("react.portal"),Kp=Symbol.for("react.fragment"),Yp=Symbol.for("react.strict_mode"),Jp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),eh=Symbol.for("react.context"),th=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),rh=Symbol.for("react.memo"),oh=Symbol.for("react.lazy"),Hu=Symbol.iterator;function ih(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var zu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bu=Object.assign,bu={};function vn(e,t,n){this.props=e,this.context=t,this.refs=bu,this.updater=n||zu}vn.prototype.isReactComponent={},vn.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")},vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Fu(){}Fu.prototype=vn.prototype;function Li(e,t,n){this.props=e,this.context=t,this.refs=bu,this.updater=n||zu}var Ii=Li.prototype=new Fu;Ii.constructor=Li,Bu(Ii,vn.prototype),Ii.isPureReactComponent=!0;var Uu=Array.isArray,ju=Object.prototype.hasOwnProperty,_i={current:null},Vu={key:!0,ref:!0,__self:!0,__source:!0};function Gu(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)ju.call(t,r)&&!Vu.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Yn,type:e,key:i,ref:l,props:o,_owner:_i.current}}function lh(e,t){return{$$typeof:Yn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Oi(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yn}function ah(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $u=/\/+/g;function Ai(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ah(""+e.key):t.toString(36)}function Kr(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Yn:case Qp:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+Ai(l,0):r,Uu(o)?(n="",e!=null&&(n=e.replace($u,"$&/")+"/"),Kr(o,t,n,"",function(s){return s})):o!=null&&(Oi(o)&&(o=lh(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace($u,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Uu(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+Ai(i,a);l+=Kr(i,t,n,u,o)}else if(u=ih(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+Ai(i,a++),l+=Kr(i,t,n,u,o);else if(i==="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 Yr(e,t,n){if(e==null)return e;var r=[],o=0;return Kr(e,r,"","",function(i){return t.call(n,i,o++)}),r}function uh(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 ye={current:null},Jr={transition:null},sh={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Jr,ReactCurrentOwner:_i};A.Children={map:Yr,forEach:function(e,t,n){Yr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Yr(e,function(){t++}),t},toArray:function(e){return Yr(e,function(t){return t})||[]},only:function(e){if(!Oi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},A.Component=vn,A.Fragment=Kp,A.Profiler=Jp,A.PureComponent=Li,A.StrictMode=Yp,A.Suspense=nh,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sh,A.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=Bu({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=_i.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ju.call(t,u)&&!Vu.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var s=0;s<u;s++)a[s]=arguments[s+2];r.children=a}return{$$typeof:Yn,type:e.type,key:o,ref:i,props:r,_owner:l}},A.createContext=function(e){return e={$$typeof:eh,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qp,_context:e},e.Consumer=e},A.createElement=Gu,A.createFactory=function(e){var t=Gu.bind(null,e);return t.type=e,t},A.createRef=function(){return{current:null}},A.forwardRef=function(e){return{$$typeof:th,render:e}},A.isValidElement=Oi,A.lazy=function(e){return{$$typeof:oh,_payload:{_status:-1,_result:e},_init:uh}},A.memo=function(e,t){return{$$typeof:rh,type:e,compare:t===void 0?null:t}},A.startTransition=function(e){var t=Jr.transition;Jr.transition={};try{e()}finally{Jr.transition=t}},A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},A.useCallback=function(e,t){return ye.current.useCallback(e,t)},A.useContext=function(e){return ye.current.useContext(e)},A.useDebugValue=function(){},A.useDeferredValue=function(e){return ye.current.useDeferredValue(e)},A.useEffect=function(e,t){return ye.current.useEffect(e,t)},A.useId=function(){return ye.current.useId()},A.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)},A.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)},A.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)},A.useMemo=function(e,t){return ye.current.useMemo(e,t)},A.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)},A.useRef=function(e){return ye.current.useRef(e)},A.useState=function(e){return ye.current.useState(e)},A.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)},A.useTransition=function(){return ye.current.useTransition()},A.version="18.2.0",function(e){e.exports=A}(k);const we=Yt(k.exports),ch=Ie({__proto__:null,default:we},[k.exports]);function Xu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Xu(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Di(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Xu(e))&&(r&&(r+=" "),r+=t);return r}var qr={exports:{}},Jn={};/**
9
+ */var Yn=Symbol.for("react.element"),$p=Symbol.for("react.portal"),Zp=Symbol.for("react.fragment"),Wp=Symbol.for("react.strict_mode"),Qp=Symbol.for("react.profiler"),Kp=Symbol.for("react.provider"),Yp=Symbol.for("react.context"),Jp=Symbol.for("react.forward_ref"),qp=Symbol.for("react.suspense"),eh=Symbol.for("react.memo"),th=Symbol.for("react.lazy"),Oa=Symbol.iterator;function nh(e){return e===null||typeof e!="object"?null:(e=Oa&&e[Oa]||e["@@iterator"],typeof e=="function"?e:null)}var Da={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Aa=Object.assign,Ha={};function vn(e,t,n){this.props=e,this.context=t,this.refs=Ha,this.updater=n||Da}vn.prototype.isReactComponent={},vn.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")},vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ba(){}Ba.prototype=vn.prototype;function Pi(e,t,n){this.props=e,this.context=t,this.refs=Ha,this.updater=n||Da}var Mi=Pi.prototype=new Ba;Mi.constructor=Pi,Aa(Mi,vn.prototype),Mi.isPureReactComponent=!0;var za=Array.isArray,Fa=Object.prototype.hasOwnProperty,Li={current:null},ba={key:!0,ref:!0,__self:!0,__source:!0};function Ua(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Fa.call(t,r)&&!ba.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];o.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:Yn,type:e,key:i,ref:l,props:o,_owner:Li.current}}function rh(e,t){return{$$typeof:Yn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ii(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yn}function oh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ja=/\/+/g;function _i(e,t){return typeof e=="object"&&e!==null&&e.key!=null?oh(""+e.key):t.toString(36)}function Wr(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Yn:case $p:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+_i(l,0):r,za(o)?(n="",e!=null&&(n=e.replace(ja,"$&/")+"/"),Wr(o,t,n,"",function(s){return s})):o!=null&&(Ii(o)&&(o=rh(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(ja,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",za(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+_i(i,u);l+=Wr(i,t,n,a,o)}else if(a=nh(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+_i(i,u++),l+=Wr(i,t,n,a,o);else if(i==="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 Qr(e,t,n){if(e==null)return e;var r=[],o=0;return Wr(e,r,"","",function(i){return t.call(n,i,o++)}),r}function ih(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 ye={current:null},Kr={transition:null},lh={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Kr,ReactCurrentOwner:Li};D.Children={map:Qr,forEach:function(e,t,n){Qr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Qr(e,function(){t++}),t},toArray:function(e){return Qr(e,function(t){return t})||[]},only:function(e){if(!Ii(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},D.Component=vn,D.Fragment=Zp,D.Profiler=Qp,D.PureComponent=Pi,D.StrictMode=Wp,D.Suspense=qp,D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lh,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=Aa({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=Li.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)Fa.call(t,a)&&!ba.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var s=0;s<a;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:Yn,type:e.type,key:o,ref:i,props:r,_owner:l}},D.createContext=function(e){return e={$$typeof:Yp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Kp,_context:e},e.Consumer=e},D.createElement=Ua,D.createFactory=function(e){var t=Ua.bind(null,e);return t.type=e,t},D.createRef=function(){return{current:null}},D.forwardRef=function(e){return{$$typeof:Jp,render:e}},D.isValidElement=Ii,D.lazy=function(e){return{$$typeof:th,_payload:{_status:-1,_result:e},_init:ih}},D.memo=function(e,t){return{$$typeof:eh,type:e,compare:t===void 0?null:t}},D.startTransition=function(e){var t=Kr.transition;Kr.transition={};try{e()}finally{Kr.transition=t}},D.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},D.useCallback=function(e,t){return ye.current.useCallback(e,t)},D.useContext=function(e){return ye.current.useContext(e)},D.useDebugValue=function(){},D.useDeferredValue=function(e){return ye.current.useDeferredValue(e)},D.useEffect=function(e,t){return ye.current.useEffect(e,t)},D.useId=function(){return ye.current.useId()},D.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)},D.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)},D.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)},D.useMemo=function(e,t){return ye.current.useMemo(e,t)},D.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)},D.useRef=function(e){return ye.current.useRef(e)},D.useState=function(e){return ye.current.useState(e)},D.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)},D.useTransition=function(){return ye.current.useTransition()},D.version="18.2.0",function(e){e.exports=D}(S);const we=Yt(S.exports),uh=Ie({__proto__:null,default:we},[S.exports]);function Va(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Va(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Oi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Va(e))&&(r&&(r+=" "),r+=t);return r}var Yr={exports:{}},Jn={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Zu;function fh(){if(Zu)return Jn;Zu=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(a,u,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(v=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(m[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)m[f]===void 0&&(m[f]=u[f]);return{$$typeof:t,type:a,key:p,ref:v,props:m,_owner:o.current}}return Jn.Fragment=n,Jn.jsx=l,Jn.jsxs=l,Jn}(function(e){e.exports=fh()})(qr);const dh=qr.exports.Fragment,yn=qr.exports.jsx,ph=qr.exports.jsxs;function hh({label:e,className:t,...n}){return yn("div",{...n,className:Di("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent",t),children:yn("p",{className:"tw-sr-only",children:e})})}const _e=we.forwardRef(({variant:e="solid",isLoading:t=!1,colorScheme:n="primary",size:r="base",compact:o=!1,rounded:i=!1,loadingLabel:l,children:a,className:u,as:s,disabled:f,...m},p)=>{const v=s||"button",y=f||t;return yn(v,{ref:p,disabled:y,className:Di("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none",r==="sm"&&"tw-text-sm",r==="base"&&"tw-text-base",r==="lg"&&"tw-text-base lg:tw-text-lg",r==="xl"&&"tw-text-base lg:tw-text-lg xl:tw-text-xl",i?"tw-px-3":o?"tw-px-2":"tw-px-4",i?"tw-rounded-full tw-py-3":"tw-rounded-lg tw-py-2",y?"tw-cursor-default tw-opacity-40":"tw-cursor-pointer",e==="solid"&&["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring",n==="primary"&&["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white",!y&&"hover:tw-bg-primary-700 hover:tw-border-primary-700"],n==="accent"&&["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white",!y&&"hover:tw-bg-accent-900 hover:tw-border-accent-900"],n==="gray"&&["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ",!y&&"hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"],n==="red"&&["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-800"],n==="green"&&["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-800"]],e==="outline"&&["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"],n==="accent"&&["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"],n==="gray"&&["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"],n==="green"&&["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="ghost"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"],n==="accent"&&["tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"],n==="green"&&["tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="link"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2",n==="primary"&&["focus-visible:tw-ring-primary-300 tw-text-primary-700"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300"]],u),...m,children:yn(mh,{isLoading:t,loadingLabel:l,children:a})})});function mh({isLoading:e,loadingLabel:t,children:n}){return ph(dh,{children:[yn("div",{className:Di("tw-block tw-transition-opacity",{"tw-opacity-0":e,"tw-opacity-100":!e}),children:n}),e&&yn(hh,{className:"tw-absolute tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-m-auto",label:t})]})}typeof window>"u"||we.useLayoutEffect;var gh={width:"w",height:"h",x:"x",y:"y",quality:"q",if:"if",aspectRatio:"ar",rotate:"a",opacity:"o",radius:"r",dpr:"dpr",effect:"e",border:"bo",currentPage:"cp",preview:"preview:duration",duration:"du",faceCount:"fc",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags"};""+Object.keys(gh).join("|");var eo=globalThis&&globalThis.__assign||function(){return eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},eo.apply(this,arguments)},Wu={},vh=function(e){return Wu=eo(eo({},Wu),e)};vh({cloudName:"x4b"});var Hi={exports:{}},Oe={},Qu={exports:{}},Ku={};/**
17
+ */var Ga;function ah(){if(Ga)return Jn;Ga=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(u,a,s){var f,m={},p=null,g=null;s!==void 0&&(p=""+s),a.key!==void 0&&(p=""+a.key),a.ref!==void 0&&(g=a.ref);for(f in a)r.call(a,f)&&!i.hasOwnProperty(f)&&(m[f]=a[f]);if(u&&u.defaultProps)for(f in a=u.defaultProps,a)m[f]===void 0&&(m[f]=a[f]);return{$$typeof:t,type:u,key:p,ref:g,props:m,_owner:o.current}}return Jn.Fragment=n,Jn.jsx=l,Jn.jsxs=l,Jn}(function(e){e.exports=ah()})(Yr);const sh=Yr.exports.Fragment,gn=Yr.exports.jsx,ch=Yr.exports.jsxs;function fh({label:e,className:t,...n}){return gn("div",{...n,className:Oi("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent",t),children:gn("p",{className:"tw-sr-only",children:e})})}const _e=we.forwardRef(({variant:e="solid",isLoading:t=!1,colorScheme:n="primary",size:r="base",compact:o=!1,rounded:i=!1,loadingLabel:l,children:u,className:a,as:s,disabled:f,...m},p)=>{const g=s||"button",y=f||t;return gn(g,{ref:p,disabled:y,className:Oi("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none",r==="sm"&&"tw-text-sm",r==="base"&&"tw-text-base",r==="lg"&&"tw-text-base lg:tw-text-lg",r==="xl"&&"tw-text-base lg:tw-text-lg xl:tw-text-xl",i?"tw-px-3":o?"tw-px-2":"tw-px-4",i?"tw-rounded-full tw-py-3":"tw-rounded-lg tw-py-2",y?"tw-cursor-default tw-opacity-40":"tw-cursor-pointer",e==="solid"&&["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring",n==="primary"&&["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white",!y&&"hover:tw-bg-primary-700 hover:tw-border-primary-700"],n==="accent"&&["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white",!y&&"hover:tw-bg-accent-900 hover:tw-border-accent-900"],n==="gray"&&["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ",!y&&"hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"],n==="red"&&["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-800"],n==="green"&&["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-800"]],e==="outline"&&["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"],n==="accent"&&["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"],n==="gray"&&["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"],n==="green"&&["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="ghost"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"],n==="accent"&&["tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"],n==="green"&&["tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="link"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2",n==="primary"&&["focus-visible:tw-ring-primary-300 tw-text-primary-700"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300"]],a),...m,children:gn(dh,{isLoading:t,loadingLabel:l,children:u})})});function dh({isLoading:e,loadingLabel:t,children:n}){return ch(sh,{children:[gn("div",{className:Oi("tw-block tw-transition-opacity",{"tw-opacity-0":e,"tw-opacity-100":!e}),children:n}),e&&gn(fh,{className:"tw-absolute tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-m-auto",label:t})]})}typeof window>"u"||we.useLayoutEffect;var ph={width:"w",height:"h",x:"x",y:"y",quality:"q",if:"if",aspectRatio:"ar",rotate:"a",opacity:"o",radius:"r",dpr:"dpr",effect:"e",border:"bo",currentPage:"cp",preview:"preview:duration",duration:"du",faceCount:"fc",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags"};""+Object.keys(ph).join("|");var Jr=globalThis&&globalThis.__assign||function(){return Jr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Jr.apply(this,arguments)},Xa={},hh=function(e){return Xa=Jr(Jr({},Xa),e)};hh({cloudName:"x4b"});var Di={exports:{}},Oe={},$a={exports:{}},Za={};/**
18
18
  * @license React
19
19
  * scheduler.production.min.js
20
20
  *
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */(function(e){function t(C,I){var O=C.length;C.push(I);e:for(;0<O;){var Y=O-1>>>1,ne=C[Y];if(0<o(ne,I))C[Y]=I,C[O]=ne,O=Y;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var I=C[0],O=C.pop();if(O!==I){C[0]=O;e:for(var Y=0,ne=C.length,Kn=ne>>>1;Y<Kn;){var Tt=2*(Y+1)-1,Qr=C[Tt],Nt=Tt+1,U=C[Nt];if(0>o(Qr,O))Nt<ne&&0>o(U,Qr)?(C[Y]=U,C[Nt]=O,Y=Nt):(C[Y]=Qr,C[Tt]=O,Y=Tt);else if(Nt<ne&&0>o(U,O))C[Y]=U,C[Nt]=O,Y=Nt;else break e}}return I}function o(C,I){var O=C.sortIndex-I.sortIndex;return O!==0?O:C.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,m=null,p=3,v=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=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 d(C){for(var I=n(s);I!==null;){if(I.callback===null)r(s);else if(I.startTime<=C)r(s),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(s)}}function E(C){if(w=!1,d(C),!y)if(n(u)!==null)y=!0,tt(g);else{var I=n(s);I!==null&&Wr(E,I.startTime-C)}}function g(C,I){y=!1,w&&(w=!1,h(P),P=-1),v=!0;var O=p;try{for(d(I),m=n(u);m!==null&&(!(m.expirationTime>I)||C&&!ue());){var Y=m.callback;if(typeof Y=="function"){m.callback=null,p=m.priorityLevel;var ne=Y(m.expirationTime<=I);I=e.unstable_now(),typeof ne=="function"?m.callback=ne:m===n(u)&&r(u),d(I)}else r(u);m=n(u)}if(m!==null)var Kn=!0;else{var Tt=n(s);Tt!==null&&Wr(E,Tt.startTime-I),Kn=!1}return Kn}finally{m=null,p=O,v=!1}}var x=!1,R=null,P=-1,V=5,_=-1;function ue(){return!(e.unstable_now()-_<V)}function ft(){if(R!==null){var C=e.unstable_now();_=C;var I=!0;try{I=R(!0,C)}finally{I?xt():(x=!1,R=null)}}else x=!1}var xt;if(typeof c=="function")xt=function(){c(ft)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,ie=Te.port2;Te.port1.onmessage=ft,xt=function(){ie.postMessage(null)}}else xt=function(){N(ft,0)};function tt(C){R=C,x||(x=!0,xt())}function Wr(C,I){P=N(function(){C(e.unstable_now())},I)}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||v||(y=!0,tt(g))},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"):V=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var I=3;break;default:I=p}var O=p;p=I;try{return C()}finally{p=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,I){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var O=p;p=C;try{return I()}finally{p=O}},e.unstable_scheduleCallback=function(C,I,O){var Y=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?Y+O:Y):O=Y,C){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=O+ne,C={id:f++,callback:I,priorityLevel:C,startTime:O,expirationTime:ne,sortIndex:-1},O>Y?(C.sortIndex=O,t(s,C),n(u)===null&&C===n(s)&&(w?(h(P),P=-1):w=!0,Wr(E,O-Y))):(C.sortIndex=ne,t(u,C),y||v||(y=!0,tt(g))),C},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(C){var I=p;return function(){var O=p;p=I;try{return C.apply(this,arguments)}finally{p=O}}}})(Ku),function(e){e.exports=Ku}(Qu);/**
25
+ */(function(e){function t(R,I){var O=R.length;R.push(I);e:for(;0<O;){var Y=O-1>>>1,ne=R[Y];if(0<o(ne,I))R[Y]=I,R[O]=ne,O=Y;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var I=R[0],O=R.pop();if(O!==I){R[0]=O;e:for(var Y=0,ne=R.length,Kn=ne>>>1;Y<Kn;){var Tt=2*(Y+1)-1,Zr=R[Tt],Nt=Tt+1,j=R[Nt];if(0>o(Zr,O))Nt<ne&&0>o(j,Zr)?(R[Y]=j,R[Nt]=O,Y=Nt):(R[Y]=Zr,R[Tt]=O,Y=Tt);else if(Nt<ne&&0>o(j,O))R[Y]=j,R[Nt]=O,Y=Nt;else break e}}return I}function o(R,I){var O=R.sortIndex-I.sortIndex;return O!==0?O:R.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var a=[],s=[],f=1,m=null,p=3,g=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=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 d(R){for(var I=n(s);I!==null;){if(I.callback===null)r(s);else if(I.startTime<=R)r(s),I.sortIndex=I.expirationTime,t(a,I);else break;I=n(s)}}function E(R){if(w=!1,d(R),!y)if(n(a)!==null)y=!0,tt(v);else{var I=n(s);I!==null&&$r(E,I.startTime-R)}}function v(R,I){y=!1,w&&(w=!1,h(M),M=-1),g=!0;var O=p;try{for(d(I),m=n(a);m!==null&&(!(m.expirationTime>I)||R&&!ae());){var Y=m.callback;if(typeof Y=="function"){m.callback=null,p=m.priorityLevel;var ne=Y(m.expirationTime<=I);I=e.unstable_now(),typeof ne=="function"?m.callback=ne:m===n(a)&&r(a),d(I)}else r(a);m=n(a)}if(m!==null)var Kn=!0;else{var Tt=n(s);Tt!==null&&$r(E,Tt.startTime-I),Kn=!1}return Kn}finally{m=null,p=O,g=!1}}var T=!1,C=null,M=-1,b=5,_=-1;function ae(){return!(e.unstable_now()-_<b)}function ft(){if(C!==null){var R=e.unstable_now();_=R;var I=!0;try{I=C(!0,R)}finally{I?xt():(T=!1,C=null)}}else T=!1}var xt;if(typeof c=="function")xt=function(){c(ft)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,ie=Te.port2;Te.port1.onmessage=ft,xt=function(){ie.postMessage(null)}}else xt=function(){N(ft,0)};function tt(R){C=R,T||(T=!0,xt())}function $r(R,I){M=N(function(){R(e.unstable_now())},I)}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(R){R.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,tt(v))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(R){switch(p){case 1:case 2:case 3:var I=3;break;default:I=p}var O=p;p=I;try{return R()}finally{p=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,I){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var O=p;p=R;try{return I()}finally{p=O}},e.unstable_scheduleCallback=function(R,I,O){var Y=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?Y+O:Y):O=Y,R){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=O+ne,R={id:f++,callback:I,priorityLevel:R,startTime:O,expirationTime:ne,sortIndex:-1},O>Y?(R.sortIndex=O,t(s,R),n(a)===null&&R===n(s)&&(w?(h(M),M=-1):w=!0,$r(E,O-Y))):(R.sortIndex=ne,t(a,R),y||g||(y=!0,tt(v))),R},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(R){var I=p;return function(){var O=p;p=I;try{return R.apply(this,arguments)}finally{p=O}}}})(Za),function(e){e.exports=Za}($a);/**
26
26
  * @license React
27
27
  * react-dom.production.min.js
28
28
  *
@@ -30,42 +30,42 @@
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
32
  * LICENSE file in the root directory of this source tree.
33
- */var Yu=k.exports,Ae=Qu.exports;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ju=new Set,qn={};function Jt(e,t){wn(e,t),wn(e+"Capture",t)}function wn(e,t){for(qn[e]=t,e=0;e<t.length;e++)Ju.add(t[e])}var dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zi=Object.prototype.hasOwnProperty,yh=/^[: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]*$/,qu={},es={};function wh(e){return zi.call(es,e)?!0:zi.call(qu,e)?!1:yh.test(e)?es[e]=!0:(qu[e]=!0,!1)}function Eh(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 Sh(e,t,n,r){if(t===null||typeof t>"u"||Eh(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 Ee(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new Ee(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new Ee(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new Ee(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){se[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){se[e]=new Ee(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){se[e]=new Ee(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){se[e]=new Ee(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){se[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bi=/[\-:]([a-z])/g;function bi(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(Bi,bi);se[t]=new Ee(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(Bi,bi);se[t]=new Ee(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(Bi,bi);se[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)}),se.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fi(e,t,n,r){var o=se.hasOwnProperty(t)?se[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Sh(t,n,o,r)&&(n=null),r||o===null?wh(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var pt=Yu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,to=Symbol.for("react.element"),En=Symbol.for("react.portal"),Sn=Symbol.for("react.fragment"),Ui=Symbol.for("react.strict_mode"),ji=Symbol.for("react.profiler"),ts=Symbol.for("react.provider"),ns=Symbol.for("react.context"),Vi=Symbol.for("react.forward_ref"),Gi=Symbol.for("react.suspense"),$i=Symbol.for("react.suspense_list"),Xi=Symbol.for("react.memo"),Rt=Symbol.for("react.lazy"),rs=Symbol.for("react.offscreen"),os=Symbol.iterator;function er(e){return e===null||typeof e!="object"?null:(e=os&&e[os]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,Zi;function tr(e){if(Zi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zi=t&&t[1]||""}return`
34
- `+Zi+e}var Wi=!1;function Qi(e,t){if(!e||Wi)return"";Wi=!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(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
33
+ */var Wa=S.exports,De=$a.exports;function x(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 Qa=new Set,qn={};function Jt(e,t){yn(e,t),yn(e+"Capture",t)}function yn(e,t){for(qn[e]=t,e=0;e<t.length;e++)Qa.add(t[e])}var dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ai=Object.prototype.hasOwnProperty,mh=/^[: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]*$/,Ka={},Ya={};function vh(e){return Ai.call(Ya,e)?!0:Ai.call(Ka,e)?!1:mh.test(e)?Ya[e]=!0:(Ka[e]=!0,!1)}function gh(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 yh(e,t,n,r){if(t===null||typeof t>"u"||gh(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 Ee(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new Ee(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new Ee(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new Ee(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){se[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){se[e]=new Ee(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){se[e]=new Ee(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){se[e]=new Ee(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){se[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var Hi=/[\-:]([a-z])/g;function Bi(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(Hi,Bi);se[t]=new Ee(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(Hi,Bi);se[t]=new Ee(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(Hi,Bi);se[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)}),se.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function zi(e,t,n,r){var o=se.hasOwnProperty(t)?se[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(yh(t,n,o,r)&&(n=null),r||o===null?vh(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var pt=Wa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,qr=Symbol.for("react.element"),wn=Symbol.for("react.portal"),En=Symbol.for("react.fragment"),Fi=Symbol.for("react.strict_mode"),bi=Symbol.for("react.profiler"),Ja=Symbol.for("react.provider"),qa=Symbol.for("react.context"),Ui=Symbol.for("react.forward_ref"),ji=Symbol.for("react.suspense"),Vi=Symbol.for("react.suspense_list"),Gi=Symbol.for("react.memo"),Ct=Symbol.for("react.lazy"),es=Symbol.for("react.offscreen"),ts=Symbol.iterator;function er(e){return e===null||typeof e!="object"?null:(e=ts&&e[ts]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,Xi;function tr(e){if(Xi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xi=t&&t[1]||""}return`
34
+ `+Xi+e}var $i=!1;function Zi(e,t){if(!e||$i)return"";$i=!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(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
35
35
  `),i=r.stack.split(`
36
- `),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==i[a]){var u=`
37
- `+o[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{Wi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tr(e):""}function kh(e){switch(e.tag){case 5:return tr(e.type);case 16:return tr("Lazy");case 13:return tr("Suspense");case 19:return tr("SuspenseList");case 0:case 2:case 15:return e=Qi(e.type,!1),e;case 11:return e=Qi(e.type.render,!1),e;case 1:return e=Qi(e.type,!0),e;default:return""}}function Ki(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 Sn:return"Fragment";case En:return"Portal";case ji:return"Profiler";case Ui:return"StrictMode";case Gi:return"Suspense";case $i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ns:return(e.displayName||"Context")+".Consumer";case ts:return(e._context.displayName||"Context")+".Provider";case Vi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xi:return t=e.displayName||null,t!==null?t:Ki(e.type)||"Memo";case Rt:t=e._payload,e=e._init;try{return Ki(e(t))}catch{}}return null}function xh(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 Ki(t);case 8:return t===Ui?"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 Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function is(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Th(e){var t=is(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.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 no(e){e._valueTracker||(e._valueTracker=Th(e))}function ls(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=is(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ro(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 Yi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function as(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ct(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 us(e,t){t=t.checked,t!=null&&Fi(e,"checked",t,!1)}function Ji(e,t){us(e,t);var n=Ct(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")?qi(e,t.type,n):t.hasOwnProperty("defaultValue")&&qi(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ss(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 qi(e,t,n){(t!=="number"||ro(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var nr=Array.isArray;function kn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ct(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function el(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function cs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));if(nr(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ct(n)}}function fs(e,t){var n=Ct(t.value),r=Ct(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 ds(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ps(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 tl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ps(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oo,hs=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(oo=oo||document.createElement("div"),oo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var or={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},Nh=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(e){Nh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),or[t]=or[e]})});function ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||or.hasOwnProperty(e)&&or[e]?(""+t).trim():t+"px"}function gs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Rh=W({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 nl(e,t){if(t){if(Rh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function 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 ol=null;function il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ll=null,xn=null,Tn=null;function vs(e){if(e=Rr(e)){if(typeof ll!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Mo(t),ll(e.stateNode,e.type,t))}}function ys(e){xn?Tn?Tn.push(e):Tn=[e]:xn=e}function ws(){if(xn){var e=xn,t=Tn;if(Tn=xn=null,vs(e),t)for(e=0;e<t.length;e++)vs(t[e])}}function Es(e,t){return e(t)}function Ss(){}var al=!1;function ks(e,t,n){if(al)return e(t,n);al=!0;try{return Es(e,t,n)}finally{al=!1,(xn!==null||Tn!==null)&&(Ss(),ws())}}function ir(e,t){var n=e.stateNode;if(n===null)return null;var r=Mo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var ul=!1;if(dt)try{var lr={};Object.defineProperty(lr,"passive",{get:function(){ul=!0}}),window.addEventListener("test",lr,lr),window.removeEventListener("test",lr,lr)}catch{ul=!1}function Ch(e,t,n,r,o,i,l,a,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(f){this.onError(f)}}var ar=!1,io=null,lo=!1,sl=null,Mh={onError:function(e){ar=!0,io=e}};function Ph(e,t,n,r,o,i,l,a,u){ar=!1,io=null,Ch.apply(Mh,arguments)}function Lh(e,t,n,r,o,i,l,a,u){if(Ph.apply(this,arguments),ar){if(ar){var s=io;ar=!1,io=null}else throw Error(T(198));lo||(lo=!0,sl=s)}}function qt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function xs(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 Ts(e){if(qt(e)!==e)throw Error(T(188))}function Ih(e){var t=e.alternate;if(!t){if(t=qt(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ts(o),e;if(i===r)return Ts(o),t;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l){for(a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function Ns(e){return e=Ih(e),e!==null?Rs(e):null}function Rs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rs(e);if(t!==null)return t;e=e.sibling}return null}var Cs=Ae.unstable_scheduleCallback,Ms=Ae.unstable_cancelCallback,_h=Ae.unstable_shouldYield,Oh=Ae.unstable_requestPaint,q=Ae.unstable_now,Ah=Ae.unstable_getCurrentPriorityLevel,cl=Ae.unstable_ImmediatePriority,Ps=Ae.unstable_UserBlockingPriority,ao=Ae.unstable_NormalPriority,Dh=Ae.unstable_LowPriority,Ls=Ae.unstable_IdlePriority,uo=null,nt=null;function Hh(e){if(nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(uo,e,void 0,(e.current.flags&128)===128)}catch{}}var Ze=Math.clz32?Math.clz32:bh,zh=Math.log,Bh=Math.LN2;function bh(e){return e>>>=0,e===0?32:31-(zh(e)/Bh|0)|0}var so=64,co=4194304;function ur(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 fo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=ur(a):(i&=l,i!==0&&(r=ur(i)))}else l=n&~o,l!==0?r=ur(l):i!==0&&(r=ur(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ze(t),o=1<<n,r|=e[n],t&=~o;return r}function Fh(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 Uh(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Ze(i),a=1<<l,u=o[l];u===-1?((a&n)===0||(a&r)!==0)&&(o[l]=Fh(a,t)):u<=t&&(e.expiredLanes|=a),i&=~a}}function fl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Is(){var e=so;return so<<=1,(so&4194240)===0&&(so=64),e}function dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function jh(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 o=31-Ze(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function pl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var F=0;function _s(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Os,hl,As,Ds,Hs,ml=!1,po=[],Mt=null,Pt=null,Lt=null,cr=new Map,fr=new Map,It=[],Vh="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 zs(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fr.delete(t.pointerId)}}function dr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Rr(t),t!==null&&hl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Gh(e,t,n,r,o){switch(t){case"focusin":return Mt=dr(Mt,e,t,n,r,o),!0;case"dragenter":return Pt=dr(Pt,e,t,n,r,o),!0;case"mouseover":return Lt=dr(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return cr.set(i,dr(cr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,fr.set(i,dr(fr.get(i)||null,e,t,n,r,o)),!0}return!1}function Bs(e){var t=en(e.target);if(t!==null){var n=qt(t);if(n!==null){if(t=n.tag,t===13){if(t=xs(n),t!==null){e.blockedOn=t,Hs(e.priority,function(){As(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 ho(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ol=r,n.target.dispatchEvent(r),ol=null}else return t=Rr(n),t!==null&&hl(t),e.blockedOn=n,!1;t.shift()}return!0}function bs(e,t,n){ho(e)&&n.delete(t)}function $h(){ml=!1,Mt!==null&&ho(Mt)&&(Mt=null),Pt!==null&&ho(Pt)&&(Pt=null),Lt!==null&&ho(Lt)&&(Lt=null),cr.forEach(bs),fr.forEach(bs)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,ml||(ml=!0,Ae.unstable_scheduleCallback(Ae.unstable_NormalPriority,$h)))}function hr(e){function t(o){return pr(o,e)}if(0<po.length){pr(po[0],e);for(var n=1;n<po.length;n++){var r=po[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mt!==null&&pr(Mt,e),Pt!==null&&pr(Pt,e),Lt!==null&&pr(Lt,e),cr.forEach(t),fr.forEach(t),n=0;n<It.length;n++)r=It[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&(n=It[0],n.blockedOn===null);)Bs(n),n.blockedOn===null&&It.shift()}var Nn=pt.ReactCurrentBatchConfig,mo=!0;function Xh(e,t,n,r){var o=F,i=Nn.transition;Nn.transition=null;try{F=1,gl(e,t,n,r)}finally{F=o,Nn.transition=i}}function Zh(e,t,n,r){var o=F,i=Nn.transition;Nn.transition=null;try{F=4,gl(e,t,n,r)}finally{F=o,Nn.transition=i}}function gl(e,t,n,r){if(mo){var o=vl(e,t,n,r);if(o===null)Al(e,t,r,go,n),zs(e,r);else if(Gh(o,e,t,n,r))r.stopPropagation();else if(zs(e,r),t&4&&-1<Vh.indexOf(e)){for(;o!==null;){var i=Rr(o);if(i!==null&&Os(i),i=vl(e,t,n,r),i===null&&Al(e,t,r,go,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Al(e,t,r,null,n)}}var go=null;function vl(e,t,n,r){if(go=null,e=il(r),e=en(e),e!==null)if(t=qt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=xs(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 go=e,null}function Fs(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(Ah()){case cl:return 1;case Ps:return 4;case ao:case Dh:return 16;case Ls:return 536870912;default:return 16}default:return 16}}var _t=null,yl=null,vo=null;function Us(){if(vo)return vo;var e,t=yl,n=t.length,r,o="value"in _t?_t.value:_t.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return vo=o.slice(e,1<r?1-r:void 0)}function yo(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 wo(){return!0}function js(){return!1}function De(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?wo:js,this.isPropagationStopped=js,this}return W(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=wo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),t}var Rn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wl=De(Rn),mr=W({},Rn,{view:0,detail:0}),Wh=De(mr),El,Sl,gr,Eo=W({},mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xl,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!==gr&&(gr&&e.type==="mousemove"?(El=e.screenX-gr.screenX,Sl=e.screenY-gr.screenY):Sl=El=0,gr=e),El)},movementY:function(e){return"movementY"in e?e.movementY:Sl}}),Vs=De(Eo),Qh=W({},Eo,{dataTransfer:0}),Kh=De(Qh),Yh=W({},mr,{relatedTarget:0}),kl=De(Yh),Jh=W({},Rn,{animationName:0,elapsedTime:0,pseudoElement:0}),qh=De(Jh),e0=W({},Rn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),t0=De(e0),n0=W({},Rn,{data:0}),Gs=De(n0),r0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o0={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"},i0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i0[e])?!!t[e]:!1}function xl(){return l0}var a0=W({},mr,{key:function(e){if(e.key){var t=r0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?o0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xl,charCode:function(e){return e.type==="keypress"?yo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),u0=De(a0),s0=W({},Eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$s=De(s0),c0=W({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xl}),f0=De(c0),d0=W({},Rn,{propertyName:0,elapsedTime:0,pseudoElement:0}),p0=De(d0),h0=W({},Eo,{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}),m0=De(h0),g0=[9,13,27,32],Tl=dt&&"CompositionEvent"in window,vr=null;dt&&"documentMode"in document&&(vr=document.documentMode);var v0=dt&&"TextEvent"in window&&!vr,Xs=dt&&(!Tl||vr&&8<vr&&11>=vr),Zs=String.fromCharCode(32),Ws=!1;function Qs(e,t){switch(e){case"keyup":return g0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ks(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cn=!1;function y0(e,t){switch(e){case"compositionend":return Ks(t);case"keypress":return t.which!==32?null:(Ws=!0,Zs);case"textInput":return e=t.data,e===Zs&&Ws?null:e;default:return null}}function w0(e,t){if(Cn)return e==="compositionend"||!Tl&&Qs(e,t)?(e=Us(),vo=yl=_t=null,Cn=!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 Xs&&t.locale!=="ko"?null:t.data;default:return null}}var E0={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 Ys(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!E0[e.type]:t==="textarea"}function Js(e,t,n,r){ys(r),t=No(t,"onChange"),0<t.length&&(n=new wl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yr=null,wr=null;function S0(e){gc(e,0)}function So(e){var t=_n(e);if(ls(t))return e}function k0(e,t){if(e==="change")return t}var qs=!1;if(dt){var Nl;if(dt){var Rl="oninput"in document;if(!Rl){var ec=document.createElement("div");ec.setAttribute("oninput","return;"),Rl=typeof ec.oninput=="function"}Nl=Rl}else Nl=!1;qs=Nl&&(!document.documentMode||9<document.documentMode)}function tc(){yr&&(yr.detachEvent("onpropertychange",nc),wr=yr=null)}function nc(e){if(e.propertyName==="value"&&So(wr)){var t=[];Js(t,wr,e,il(e)),ks(S0,t)}}function x0(e,t,n){e==="focusin"?(tc(),yr=t,wr=n,yr.attachEvent("onpropertychange",nc)):e==="focusout"&&tc()}function T0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return So(wr)}function N0(e,t){if(e==="click")return So(t)}function R0(e,t){if(e==="input"||e==="change")return So(t)}function C0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var We=typeof Object.is=="function"?Object.is:C0;function Er(e,t){if(We(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 o=n[r];if(!zi.call(t,o)||!We(e[o],t[o]))return!1}return!0}function rc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oc(e,t){var n=rc(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=rc(n)}}function ic(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ic(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lc(){for(var e=window,t=ro();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ro(e.document)}return t}function Cl(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 M0(e){var t=lc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ic(n.ownerDocument.documentElement,n)){if(r!==null&&Cl(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=oc(n,i);var l=oc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>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 P0=dt&&"documentMode"in document&&11>=document.documentMode,Mn=null,Ml=null,Sr=null,Pl=!1;function ac(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pl||Mn==null||Mn!==ro(r)||(r=Mn,"selectionStart"in r&&Cl(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}),Sr&&Er(Sr,r)||(Sr=r,r=No(Ml,"onSelect"),0<r.length&&(t=new wl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Mn)))}function ko(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pn={animationend:ko("Animation","AnimationEnd"),animationiteration:ko("Animation","AnimationIteration"),animationstart:ko("Animation","AnimationStart"),transitionend:ko("Transition","TransitionEnd")},Ll={},uc={};dt&&(uc=document.createElement("div").style,"AnimationEvent"in window||(delete Pn.animationend.animation,delete Pn.animationiteration.animation,delete Pn.animationstart.animation),"TransitionEvent"in window||delete Pn.transitionend.transition);function xo(e){if(Ll[e])return Ll[e];if(!Pn[e])return e;var t=Pn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in uc)return Ll[e]=t[n];return e}var sc=xo("animationend"),cc=xo("animationiteration"),fc=xo("animationstart"),dc=xo("transitionend"),pc=new Map,hc="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 Ot(e,t){pc.set(e,t),Jt(t,[e])}for(var Il=0;Il<hc.length;Il++){var _l=hc[Il],L0=_l.toLowerCase(),I0=_l[0].toUpperCase()+_l.slice(1);Ot(L0,"on"+I0)}Ot(sc,"onAnimationEnd"),Ot(cc,"onAnimationIteration"),Ot(fc,"onAnimationStart"),Ot("dblclick","onDoubleClick"),Ot("focusin","onFocus"),Ot("focusout","onBlur"),Ot(dc,"onTransitionEnd"),wn("onMouseEnter",["mouseout","mouseover"]),wn("onMouseLeave",["mouseout","mouseover"]),wn("onPointerEnter",["pointerout","pointerover"]),wn("onPointerLeave",["pointerout","pointerover"]),Jt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="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(" "),_0=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function mc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Lh(r,t,void 0,e),e.currentTarget=null}function gc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],u=a.instance,s=a.currentTarget;if(a=a.listener,u!==i&&o.isPropagationStopped())break e;mc(o,a,s),i=u}else for(l=0;l<r.length;l++){if(a=r[l],u=a.instance,s=a.currentTarget,a=a.listener,u!==i&&o.isPropagationStopped())break e;mc(o,a,s),i=u}}}if(lo)throw e=sl,lo=!1,sl=null,e}function G(e,t){var n=t[Fl];n===void 0&&(n=t[Fl]=new Set);var r=e+"__bubble";n.has(r)||(vc(t,e,2,!1),n.add(r))}function Ol(e,t,n){var r=0;t&&(r|=4),vc(n,e,r,t)}var To="_reactListening"+Math.random().toString(36).slice(2);function xr(e){if(!e[To]){e[To]=!0,Ju.forEach(function(n){n!=="selectionchange"&&(_0.has(n)||Ol(n,!1,e),Ol(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[To]||(t[To]=!0,Ol("selectionchange",!1,t))}}function vc(e,t,n,r){switch(Fs(t)){case 1:var o=Xh;break;case 4:o=Zh;break;default:o=gl}n=o.bind(null,t,n,e),o=void 0,!ul||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Al(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var u=l.tag;if((u===3||u===4)&&(u=l.stateNode.containerInfo,u===o||u.nodeType===8&&u.parentNode===o))return;l=l.return}for(;a!==null;){if(l=en(a),l===null)return;if(u=l.tag,u===5||u===6){r=i=l;continue e}a=a.parentNode}}r=r.return}ks(function(){var s=i,f=il(n),m=[];e:{var p=pc.get(e);if(p!==void 0){var v=wl,y=e;switch(e){case"keypress":if(yo(n)===0)break e;case"keydown":case"keyup":v=u0;break;case"focusin":y="focus",v=kl;break;case"focusout":y="blur",v=kl;break;case"beforeblur":case"afterblur":v=kl;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":v=Vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Kh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=f0;break;case sc:case cc:case fc:v=qh;break;case dc:v=p0;break;case"scroll":v=Wh;break;case"wheel":v=m0;break;case"copy":case"cut":case"paste":v=t0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=$s}var w=(t&4)!==0,N=!w&&e==="scroll",h=w?p!==null?p+"Capture":null:p;w=[];for(var c=s,d;c!==null;){d=c;var E=d.stateNode;if(d.tag===5&&E!==null&&(d=E,h!==null&&(E=ir(c,h),E!=null&&w.push(Tr(c,E,d)))),N)break;c=c.return}0<w.length&&(p=new v(p,y,null,n,f),m.push({event:p,listeners:w}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",p&&n!==ol&&(y=n.relatedTarget||n.fromElement)&&(en(y)||y[ht]))break e;if((v||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=s,y=y?en(y):null,y!==null&&(N=qt(y),y!==N||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=s),v!==y)){if(w=Vs,E="onMouseLeave",h="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(w=$s,E="onPointerLeave",h="onPointerEnter",c="pointer"),N=v==null?p:_n(v),d=y==null?p:_n(y),p=new w(E,c+"leave",v,n,f),p.target=N,p.relatedTarget=d,E=null,en(f)===s&&(w=new w(h,c+"enter",y,n,f),w.target=d,w.relatedTarget=N,E=w),N=E,v&&y)t:{for(w=v,h=y,c=0,d=w;d;d=Ln(d))c++;for(d=0,E=h;E;E=Ln(E))d++;for(;0<c-d;)w=Ln(w),c--;for(;0<d-c;)h=Ln(h),d--;for(;c--;){if(w===h||h!==null&&w===h.alternate)break t;w=Ln(w),h=Ln(h)}w=null}else w=null;v!==null&&yc(m,p,v,w,!1),y!==null&&N!==null&&yc(m,N,y,w,!0)}}e:{if(p=s?_n(s):window,v=p.nodeName&&p.nodeName.toLowerCase(),v==="select"||v==="input"&&p.type==="file")var g=k0;else if(Ys(p))if(qs)g=R0;else{g=T0;var x=x0}else(v=p.nodeName)&&v.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(g=N0);if(g&&(g=g(e,s))){Js(m,g,n,f);break e}x&&x(e,p,s),e==="focusout"&&(x=p._wrapperState)&&x.controlled&&p.type==="number"&&qi(p,"number",p.value)}switch(x=s?_n(s):window,e){case"focusin":(Ys(x)||x.contentEditable==="true")&&(Mn=x,Ml=s,Sr=null);break;case"focusout":Sr=Ml=Mn=null;break;case"mousedown":Pl=!0;break;case"contextmenu":case"mouseup":case"dragend":Pl=!1,ac(m,n,f);break;case"selectionchange":if(P0)break;case"keydown":case"keyup":ac(m,n,f)}var R;if(Tl)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Cn?Qs(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Xs&&n.locale!=="ko"&&(Cn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Cn&&(R=Us()):(_t=f,yl="value"in _t?_t.value:_t.textContent,Cn=!0)),x=No(s,P),0<x.length&&(P=new Gs(P,e,null,n,f),m.push({event:P,listeners:x}),R?P.data=R:(R=Ks(n),R!==null&&(P.data=R)))),(R=v0?y0(e,n):w0(e,n))&&(s=No(s,"onBeforeInput"),0<s.length&&(f=new Gs("onBeforeInput","beforeinput",null,n,f),m.push({event:f,listeners:s}),f.data=R))}gc(m,t)})}function Tr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function No(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ir(e,n),i!=null&&r.unshift(Tr(e,i,o)),i=ir(e,t),i!=null&&r.push(Tr(e,i,o))),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 yc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var a=n,u=a.alternate,s=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&s!==null&&(a=s,o?(u=ir(n,i),u!=null&&l.unshift(Tr(n,u,a))):o||(u=ir(n,i),u!=null&&l.push(Tr(n,u,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var O0=/\r\n?/g,A0=/\u0000|\uFFFD/g;function wc(e){return(typeof e=="string"?e:""+e).replace(O0,`
38
- `).replace(A0,"")}function Ro(e,t,n){if(t=wc(t),wc(e)!==t&&n)throw Error(T(425))}function Co(){}var Dl=null,Hl=null;function zl(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 Bl=typeof setTimeout=="function"?setTimeout:void 0,D0=typeof clearTimeout=="function"?clearTimeout:void 0,Ec=typeof Promise=="function"?Promise:void 0,H0=typeof queueMicrotask=="function"?queueMicrotask:typeof Ec<"u"?function(e){return Ec.resolve(null).then(e).catch(z0)}:Bl;function z0(e){setTimeout(function(){throw e})}function bl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),hr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);hr(t)}function At(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Sc(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 In=Math.random().toString(36).slice(2),rt="__reactFiber$"+In,Nr="__reactProps$"+In,ht="__reactContainer$"+In,Fl="__reactEvents$"+In,B0="__reactListeners$"+In,b0="__reactHandles$"+In;function en(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ht]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Sc(e);e!==null;){if(n=e[rt])return n;e=Sc(e)}return t}e=n,n=e.parentNode}return null}function Rr(e){return e=e[rt]||e[ht],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Mo(e){return e[Nr]||null}var Ul=[],On=-1;function Dt(e){return{current:e}}function $(e){0>On||(e.current=Ul[On],Ul[On]=null,On--)}function j(e,t){On++,Ul[On]=e.current,e.current=t}var Ht={},de=Dt(Ht),Ne=Dt(!1),tn=Ht;function An(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function Po(){$(Ne),$(de)}function kc(e,t,n){if(de.current!==Ht)throw Error(T(168));j(de,t),j(Ne,n)}function xc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,xh(e)||"Unknown",o));return W({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,tn=de.current,j(de,e),j(Ne,Ne.current),!0}function Tc(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=xc(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,$(Ne),$(de),j(de,e)):$(Ne),j(Ne,n)}var mt=null,Io=!1,jl=!1;function Nc(e){mt===null?mt=[e]:mt.push(e)}function F0(e){Io=!0,Nc(e)}function zt(){if(!jl&&mt!==null){jl=!0;var e=0,t=F;try{var n=mt;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mt=null,Io=!1}catch(o){throw mt!==null&&(mt=mt.slice(e+1)),Cs(cl,zt),o}finally{F=t,jl=!1}}return null}var Dn=[],Hn=0,_o=null,Oo=0,be=[],Fe=0,nn=null,gt=1,vt="";function rn(e,t){Dn[Hn++]=Oo,Dn[Hn++]=_o,_o=e,Oo=t}function Rc(e,t,n){be[Fe++]=gt,be[Fe++]=vt,be[Fe++]=nn,nn=e;var r=gt;e=vt;var o=32-Ze(r)-1;r&=~(1<<o),n+=1;var i=32-Ze(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,gt=1<<32-Ze(t)+o|n<<o|r,vt=i+e}else gt=1<<i|n<<o|r,vt=e}function Vl(e){e.return!==null&&(rn(e,1),Rc(e,1,0))}function Gl(e){for(;e===_o;)_o=Dn[--Hn],Dn[Hn]=null,Oo=Dn[--Hn],Dn[Hn]=null;for(;e===nn;)nn=be[--Fe],be[Fe]=null,vt=be[--Fe],be[Fe]=null,gt=be[--Fe],be[Fe]=null}var He=null,ze=null,Z=!1,Qe=null;function Cc(e,t){var n=Ge(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 Mc(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,He=e,ze=At(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,He=e,ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=nn!==null?{id:gt,overflow:vt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ge(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,He=e,ze=null,!0):!1;default:return!1}}function $l(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xl(e){if(Z){var t=ze;if(t){var n=t;if(!Mc(e,t)){if($l(e))throw Error(T(418));t=At(n.nextSibling);var r=He;t&&Mc(e,t)?Cc(r,n):(e.flags=e.flags&-4097|2,Z=!1,He=e)}}else{if($l(e))throw Error(T(418));e.flags=e.flags&-4097|2,Z=!1,He=e}}}function Pc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;He=e}function Ao(e){if(e!==He)return!1;if(!Z)return Pc(e),Z=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zl(e.type,e.memoizedProps)),t&&(t=ze)){if($l(e))throw Lc(),Error(T(418));for(;t;)Cc(e,t),t=At(t.nextSibling)}if(Pc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ze=At(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ze=null}}else ze=He?At(e.stateNode.nextSibling):null;return!0}function Lc(){for(var e=ze;e;)e=At(e.nextSibling)}function zn(){ze=He=null,Z=!1}function Zl(e){Qe===null?Qe=[e]:Qe.push(e)}var U0=pt.ReactCurrentBatchConfig;function Ke(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Do=Dt(null),Ho=null,Bn=null,Wl=null;function Ql(){Wl=Bn=Ho=null}function Kl(e){var t=Do.current;$(Do),e._currentValue=t}function Yl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bn(e,t){Ho=e,Wl=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ce=!0),e.firstContext=null)}function Ue(e){var t=e._currentValue;if(Wl!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(Ho===null)throw Error(T(308));Bn=e,Ho.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var on=null;function Jl(e){on===null?on=[e]:on.push(e)}function Ic(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Jl(t)):(n.next=o.next,o.next=n),t.interleaved=n,yt(e,r)}function yt(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 Bt=!1;function ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _c(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 wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(z&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yt(e,n)}return o=r.interleaved,o===null?(t.next=t,Jl(r)):(t.next=o.next,o.next=t),r.interleaved=t,yt(e,n)}function zo(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,pl(e,n)}}function Oc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=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};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Bo(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?i=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(i!==null){var m=o.baseState;l=0,f=s=u=null,a=i;do{var p=a.lane,v=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(p=t,v=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){m=y.call(v,m,p);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,p=typeof y=="function"?y.call(v,m,p):y,p==null)break e;m=W({},m,p);break e;case 2:Bt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else v={eventTime:v,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=v,u=m):f=f.next=v,l|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(f===null&&(u=m),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);un|=l,e.lanes=l,e.memoizedState=m}}function Ac(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var Dc=new Yu.Component().refs;function ea(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bo={isMounted:function(e){return(e=e._reactInternals)?qt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.payload=t,n!=null&&(i.callback=n),t=bt(e,i,o),t!==null&&(qe(t,e,o,r),zo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=bt(e,i,o),t!==null&&(qe(t,e,o,r),zo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ke(),r=Vt(e),o=wt(n,r);o.tag=2,t!=null&&(o.callback=t),t=bt(e,o,r),t!==null&&(qe(t,e,r,n),zo(t,e,r))}};function Hc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!Er(n,r)||!Er(o,i):!0}function zc(e,t,n){var r=!1,o=Ht,i=t.contextType;return typeof i=="object"&&i!==null?i=Ue(i):(o=Re(t)?tn:de.current,r=t.contextTypes,i=(r=r!=null)?An(e,o):Ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bc(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&&bo.enqueueReplaceState(t,t.state,null)}function ta(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Dc,ql(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ue(i):(i=Re(t)?tn:de.current,o.context=An(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ea(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&bo.enqueueReplaceState(o,o.state,null),Bo(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Cr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var a=o.refs;a===Dc&&(a=o.refs={}),l===null?delete a[i]:a[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Fo(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bc(e){var t=e._init;return t(e._payload)}function Fc(e){function t(h,c){if(e){var d=h.deletions;d===null?(h.deletions=[c],h.flags|=16):d.push(c)}}function n(h,c){if(!e)return null;for(;c!==null;)t(h,c),c=c.sibling;return null}function r(h,c){for(h=new Map;c!==null;)c.key!==null?h.set(c.key,c):h.set(c.index,c),c=c.sibling;return h}function o(h,c){return h=$t(h,c),h.index=0,h.sibling=null,h}function i(h,c,d){return h.index=d,e?(d=h.alternate,d!==null?(d=d.index,d<c?(h.flags|=2,c):d):(h.flags|=2,c)):(h.flags|=1048576,c)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,c,d,E){return c===null||c.tag!==6?(c=Ba(d,h.mode,E),c.return=h,c):(c=o(c,d),c.return=h,c)}function u(h,c,d,E){var g=d.type;return g===Sn?f(h,c,d.props.children,E,d.key):c!==null&&(c.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Rt&&bc(g)===c.type)?(E=o(c,d.props),E.ref=Cr(h,c,d),E.return=h,E):(E=ii(d.type,d.key,d.props,null,h.mode,E),E.ref=Cr(h,c,d),E.return=h,E)}function s(h,c,d,E){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=ba(d,h.mode,E),c.return=h,c):(c=o(c,d.children||[]),c.return=h,c)}function f(h,c,d,E,g){return c===null||c.tag!==7?(c=dn(d,h.mode,E,g),c.return=h,c):(c=o(c,d),c.return=h,c)}function m(h,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Ba(""+c,h.mode,d),c.return=h,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case to:return d=ii(c.type,c.key,c.props,null,h.mode,d),d.ref=Cr(h,null,c),d.return=h,d;case En:return c=ba(c,h.mode,d),c.return=h,c;case Rt:var E=c._init;return m(h,E(c._payload),d)}if(nr(c)||er(c))return c=dn(c,h.mode,d,null),c.return=h,c;Fo(h,c)}return null}function p(h,c,d,E){var g=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return g!==null?null:a(h,c,""+d,E);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case to:return d.key===g?u(h,c,d,E):null;case En:return d.key===g?s(h,c,d,E):null;case Rt:return g=d._init,p(h,c,g(d._payload),E)}if(nr(d)||er(d))return g!==null?null:f(h,c,d,E,null);Fo(h,d)}return null}function v(h,c,d,E,g){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(d)||null,a(c,h,""+E,g);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case to:return h=h.get(E.key===null?d:E.key)||null,u(c,h,E,g);case En:return h=h.get(E.key===null?d:E.key)||null,s(c,h,E,g);case Rt:var x=E._init;return v(h,c,d,x(E._payload),g)}if(nr(E)||er(E))return h=h.get(d)||null,f(c,h,E,g,null);Fo(c,E)}return null}function y(h,c,d,E){for(var g=null,x=null,R=c,P=c=0,V=null;R!==null&&P<d.length;P++){R.index>P?(V=R,R=null):V=R.sibling;var _=p(h,R,d[P],E);if(_===null){R===null&&(R=V);break}e&&R&&_.alternate===null&&t(h,R),c=i(_,c,P),x===null?g=_:x.sibling=_,x=_,R=V}if(P===d.length)return n(h,R),Z&&rn(h,P),g;if(R===null){for(;P<d.length;P++)R=m(h,d[P],E),R!==null&&(c=i(R,c,P),x===null?g=R:x.sibling=R,x=R);return Z&&rn(h,P),g}for(R=r(h,R);P<d.length;P++)V=v(R,h,P,d[P],E),V!==null&&(e&&V.alternate!==null&&R.delete(V.key===null?P:V.key),c=i(V,c,P),x===null?g=V:x.sibling=V,x=V);return e&&R.forEach(function(ue){return t(h,ue)}),Z&&rn(h,P),g}function w(h,c,d,E){var g=er(d);if(typeof g!="function")throw Error(T(150));if(d=g.call(d),d==null)throw Error(T(151));for(var x=g=null,R=c,P=c=0,V=null,_=d.next();R!==null&&!_.done;P++,_=d.next()){R.index>P?(V=R,R=null):V=R.sibling;var ue=p(h,R,_.value,E);if(ue===null){R===null&&(R=V);break}e&&R&&ue.alternate===null&&t(h,R),c=i(ue,c,P),x===null?g=ue:x.sibling=ue,x=ue,R=V}if(_.done)return n(h,R),Z&&rn(h,P),g;if(R===null){for(;!_.done;P++,_=d.next())_=m(h,_.value,E),_!==null&&(c=i(_,c,P),x===null?g=_:x.sibling=_,x=_);return Z&&rn(h,P),g}for(R=r(h,R);!_.done;P++,_=d.next())_=v(R,h,P,_.value,E),_!==null&&(e&&_.alternate!==null&&R.delete(_.key===null?P:_.key),c=i(_,c,P),x===null?g=_:x.sibling=_,x=_);return e&&R.forEach(function(ft){return t(h,ft)}),Z&&rn(h,P),g}function N(h,c,d,E){if(typeof d=="object"&&d!==null&&d.type===Sn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case to:e:{for(var g=d.key,x=c;x!==null;){if(x.key===g){if(g=d.type,g===Sn){if(x.tag===7){n(h,x.sibling),c=o(x,d.props.children),c.return=h,h=c;break e}}else if(x.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Rt&&bc(g)===x.type){n(h,x.sibling),c=o(x,d.props),c.ref=Cr(h,x,d),c.return=h,h=c;break e}n(h,x);break}else t(h,x);x=x.sibling}d.type===Sn?(c=dn(d.props.children,h.mode,E,d.key),c.return=h,h=c):(E=ii(d.type,d.key,d.props,null,h.mode,E),E.ref=Cr(h,c,d),E.return=h,h=E)}return l(h);case En:e:{for(x=d.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(h,c.sibling),c=o(c,d.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=ba(d,h.mode,E),c.return=h,h=c}return l(h);case Rt:return x=d._init,N(h,c,x(d._payload),E)}if(nr(d))return y(h,c,d,E);if(er(d))return w(h,c,d,E);Fo(h,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(h,c.sibling),c=o(c,d),c.return=h,h=c):(n(h,c),c=Ba(d,h.mode,E),c.return=h,h=c),l(h)):n(h,c)}return N}var Fn=Fc(!0),Uc=Fc(!1),Mr={},ot=Dt(Mr),Pr=Dt(Mr),Lr=Dt(Mr);function ln(e){if(e===Mr)throw Error(T(174));return e}function na(e,t){switch(j(Lr,t),j(Pr,e),j(ot,Mr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tl(t,e)}$(ot),j(ot,t)}function Un(){$(ot),$(Pr),$(Lr)}function jc(e){ln(Lr.current);var t=ln(ot.current),n=tl(t,e.type);t!==n&&(j(Pr,e),j(ot,n))}function ra(e){Pr.current===e&&($(ot),$(Pr))}var Q=Dt(0);function Uo(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oa=[];function ia(){for(var e=0;e<oa.length;e++)oa[e]._workInProgressVersionPrimary=null;oa.length=0}var jo=pt.ReactCurrentDispatcher,la=pt.ReactCurrentBatchConfig,an=0,K=null,re=null,le=null,Vo=!1,Ir=!1,_r=0,j0=0;function pe(){throw Error(T(321))}function aa(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!We(e[n],t[n]))return!1;return!0}function ua(e,t,n,r,o,i){if(an=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?X0:Z0,e=n(r,o),Ir){i=0;do{if(Ir=!1,_r=0,25<=i)throw Error(T(301));i+=1,le=re=null,t.updateQueue=null,jo.current=W0,e=n(r,o)}while(Ir)}if(jo.current=Xo,t=re!==null&&re.next!==null,an=0,le=re=K=null,Vo=!1,t)throw Error(T(300));return e}function sa(){var e=_r!==0;return _r=0,e}function it(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?K.memoizedState=le=e:le=le.next=e,le}function je(){if(re===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=re.next;var t=le===null?K.memoizedState:le.next;if(t!==null)le=t,re=e;else{if(e===null)throw Error(T(310));re=e,e={memoizedState:re.memoizedState,baseState:re.baseState,baseQueue:re.baseQueue,queue:re.queue,next:null},le===null?K.memoizedState=le=e:le=le.next=e}return le}function Or(e,t){return typeof t=="function"?t(e):t}function ca(e){var t=je(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=re,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=l=null,u=null,s=i;do{var f=s.lane;if((an&f)===f)u!==null&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var m={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};u===null?(a=u=m,l=r):u=u.next=m,K.lanes|=f,un|=f}s=s.next}while(s!==null&&s!==i);u===null?l=r:u.next=a,We(r,t.memoizedState)||(Ce=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,K.lanes|=i,un|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function fa(e){var t=je(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);We(i,t.memoizedState)||(Ce=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Vc(){}function Gc(e,t){var n=K,r=je(),o=t(),i=!We(r.memoizedState,o);if(i&&(r.memoizedState=o,Ce=!0),r=r.queue,da(Zc.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||le!==null&&le.memoizedState.tag&1){if(n.flags|=2048,Ar(9,Xc.bind(null,n,r,o,t),void 0,null),ae===null)throw Error(T(349));(an&30)!==0||$c(n,t,o)}return o}function $c(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xc(e,t,n,r){t.value=n,t.getSnapshot=r,Wc(t)&&Qc(e)}function Zc(e,t,n){return n(function(){Wc(t)&&Qc(e)})}function Wc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!We(e,n)}catch{return!0}}function Qc(e){var t=yt(e,1);t!==null&&qe(t,e,1,-1)}function Kc(e){var t=it();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Or,lastRenderedState:e},t.queue=e,e=e.dispatch=$0.bind(null,K,e),[t.memoizedState,e]}function Ar(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.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 Yc(){return je().memoizedState}function Go(e,t,n,r){var o=it();K.flags|=e,o.memoizedState=Ar(1|t,n,void 0,r===void 0?null:r)}function $o(e,t,n,r){var o=je();r=r===void 0?null:r;var i=void 0;if(re!==null){var l=re.memoizedState;if(i=l.destroy,r!==null&&aa(r,l.deps)){o.memoizedState=Ar(t,n,i,r);return}}K.flags|=e,o.memoizedState=Ar(1|t,n,i,r)}function Jc(e,t){return Go(8390656,8,e,t)}function da(e,t){return $o(2048,8,e,t)}function qc(e,t){return $o(4,2,e,t)}function ef(e,t){return $o(4,4,e,t)}function tf(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 nf(e,t,n){return n=n!=null?n.concat([e]):null,$o(4,4,tf.bind(null,t,e),n)}function pa(){}function rf(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function of(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function lf(e,t,n){return(an&21)===0?(e.baseState&&(e.baseState=!1,Ce=!0),e.memoizedState=n):(We(n,t)||(n=Is(),K.lanes|=n,un|=n,e.baseState=!0),t)}function V0(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=la.transition;la.transition={};try{e(!1),t()}finally{F=n,la.transition=r}}function af(){return je().memoizedState}function G0(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uf(e))sf(t,n);else if(n=Ic(e,t,n,r),n!==null){var o=ke();qe(n,e,r,o),cf(n,t,r)}}function $0(e,t,n){var r=Vt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uf(e))sf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,We(a,l)){var u=t.interleaved;u===null?(o.next=o,Jl(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Ic(e,t,o,r),n!==null&&(o=ke(),qe(n,e,r,o),cf(n,t,r))}}function uf(e){var t=e.alternate;return e===K||t!==null&&t===K}function sf(e,t){Ir=Vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cf(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pl(e,n)}}var Xo={readContext:Ue,useCallback:pe,useContext:pe,useEffect:pe,useImperativeHandle:pe,useInsertionEffect:pe,useLayoutEffect:pe,useMemo:pe,useReducer:pe,useRef:pe,useState:pe,useDebugValue:pe,useDeferredValue:pe,useTransition:pe,useMutableSource:pe,useSyncExternalStore:pe,useId:pe,unstable_isNewReconciler:!1},X0={readContext:Ue,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:Jc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,tf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=it();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=it();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=G0.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:Kc,useDebugValue:pa,useDeferredValue:function(e){return it().memoizedState=e},useTransition:function(){var e=Kc(!1),t=e[0];return e=V0.bind(null,e[1]),it().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,o=it();if(Z){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),ae===null)throw Error(T(349));(an&30)!==0||$c(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Jc(Zc.bind(null,r,i,e),[e]),r.flags|=2048,Ar(9,Xc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=it(),t=ae.identifierPrefix;if(Z){var n=vt,r=gt;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_r++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=j0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Z0={readContext:Ue,useCallback:rf,useContext:Ue,useEffect:da,useImperativeHandle:nf,useInsertionEffect:qc,useLayoutEffect:ef,useMemo:of,useReducer:ca,useRef:Yc,useState:function(){return ca(Or)},useDebugValue:pa,useDeferredValue:function(e){var t=je();return lf(t,re.memoizedState,e)},useTransition:function(){var e=ca(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:Vc,useSyncExternalStore:Gc,useId:af,unstable_isNewReconciler:!1},W0={readContext:Ue,useCallback:rf,useContext:Ue,useEffect:da,useImperativeHandle:nf,useInsertionEffect:qc,useLayoutEffect:ef,useMemo:of,useReducer:fa,useRef:Yc,useState:function(){return fa(Or)},useDebugValue:pa,useDeferredValue:function(e){var t=je();return re===null?t.memoizedState=e:lf(t,re.memoizedState,e)},useTransition:function(){var e=fa(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:Vc,useSyncExternalStore:Gc,useId:af,unstable_isNewReconciler:!1};function jn(e,t){try{var n="",r=t;do n+=kh(r),r=r.return;while(r);var o=n}catch(i){o=`
36
+ `),l=o.length-1,u=i.length-1;1<=l&&0<=u&&o[l]!==i[u];)u--;for(;1<=l&&0<=u;l--,u--)if(o[l]!==i[u]){if(l!==1||u!==1)do if(l--,u--,0>u||o[l]!==i[u]){var a=`
37
+ `+o[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=u);break}}}finally{$i=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tr(e):""}function wh(e){switch(e.tag){case 5:return tr(e.type);case 16:return tr("Lazy");case 13:return tr("Suspense");case 19:return tr("SuspenseList");case 0:case 2:case 15:return e=Zi(e.type,!1),e;case 11:return e=Zi(e.type.render,!1),e;case 1:return e=Zi(e.type,!0),e;default:return""}}function Wi(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 En:return"Fragment";case wn:return"Portal";case bi:return"Profiler";case Fi:return"StrictMode";case ji:return"Suspense";case Vi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qa:return(e.displayName||"Context")+".Consumer";case Ja:return(e._context.displayName||"Context")+".Provider";case Ui:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gi:return t=e.displayName||null,t!==null?t:Wi(e.type)||"Memo";case Ct:t=e._payload,e=e._init;try{return Wi(e(t))}catch{}}return null}function Eh(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 Wi(t);case 8:return t===Fi?"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 Rt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ns(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sh(e){var t=ns(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.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 eo(e){e._valueTracker||(e._valueTracker=Sh(e))}function rs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ns(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function to(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 Qi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function os(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rt(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 is(e,t){t=t.checked,t!=null&&zi(e,"checked",t,!1)}function Ki(e,t){is(e,t);var n=Rt(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")?Yi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yi(e,t.type,Rt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ls(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 Yi(e,t,n){(t!=="number"||to(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var nr=Array.isArray;function Sn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ji(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(x(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function us(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(x(92));if(nr(n)){if(1<n.length)throw Error(x(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Rt(n)}}function as(e,t){var n=Rt(t.value),r=Rt(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 ss(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function cs(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 qi(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?cs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var no,fs=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(no=no||document.createElement("div"),no.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=no.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var or={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},kh=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(e){kh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),or[t]=or[e]})});function ds(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||or.hasOwnProperty(e)&&or[e]?(""+t).trim():t+"px"}function ps(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ds(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var xh=W({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 el(e,t){if(t){if(xh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function tl(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 nl=null;function rl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ol=null,kn=null,xn=null;function hs(e){if(e=Cr(e)){if(typeof ol!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Co(t),ol(e.stateNode,e.type,t))}}function ms(e){kn?xn?xn.push(e):xn=[e]:kn=e}function vs(){if(kn){var e=kn,t=xn;if(xn=kn=null,hs(e),t)for(e=0;e<t.length;e++)hs(t[e])}}function gs(e,t){return e(t)}function ys(){}var il=!1;function ws(e,t,n){if(il)return e(t,n);il=!0;try{return gs(e,t,n)}finally{il=!1,(kn!==null||xn!==null)&&(ys(),vs())}}function ir(e,t){var n=e.stateNode;if(n===null)return null;var r=Co(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(x(231,t,typeof n));return n}var ll=!1;if(dt)try{var lr={};Object.defineProperty(lr,"passive",{get:function(){ll=!0}}),window.addEventListener("test",lr,lr),window.removeEventListener("test",lr,lr)}catch{ll=!1}function Th(e,t,n,r,o,i,l,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(f){this.onError(f)}}var ur=!1,ro=null,oo=!1,ul=null,Nh={onError:function(e){ur=!0,ro=e}};function Ch(e,t,n,r,o,i,l,u,a){ur=!1,ro=null,Th.apply(Nh,arguments)}function Rh(e,t,n,r,o,i,l,u,a){if(Ch.apply(this,arguments),ur){if(ur){var s=ro;ur=!1,ro=null}else throw Error(x(198));oo||(oo=!0,ul=s)}}function qt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Es(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 Ss(e){if(qt(e)!==e)throw Error(x(188))}function Ph(e){var t=e.alternate;if(!t){if(t=qt(e),t===null)throw Error(x(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ss(o),e;if(i===r)return Ss(o),t;i=i.sibling}throw Error(x(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(x(189))}}if(n.alternate!==r)throw Error(x(190))}if(n.tag!==3)throw Error(x(188));return n.stateNode.current===n?e:t}function ks(e){return e=Ph(e),e!==null?xs(e):null}function xs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xs(e);if(t!==null)return t;e=e.sibling}return null}var Ts=De.unstable_scheduleCallback,Ns=De.unstable_cancelCallback,Mh=De.unstable_shouldYield,Lh=De.unstable_requestPaint,q=De.unstable_now,Ih=De.unstable_getCurrentPriorityLevel,al=De.unstable_ImmediatePriority,Cs=De.unstable_UserBlockingPriority,io=De.unstable_NormalPriority,_h=De.unstable_LowPriority,Rs=De.unstable_IdlePriority,lo=null,nt=null;function Oh(e){if(nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(lo,e,void 0,(e.current.flags&128)===128)}catch{}}var Ze=Math.clz32?Math.clz32:Hh,Dh=Math.log,Ah=Math.LN2;function Hh(e){return e>>>=0,e===0?32:31-(Dh(e)/Ah|0)|0}var uo=64,ao=4194304;function ar(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 so(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=ar(u):(i&=l,i!==0&&(r=ar(i)))}else l=n&~o,l!==0?r=ar(l):i!==0&&(r=ar(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ze(t),o=1<<n,r|=e[n],t&=~o;return r}function Bh(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 zh(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Ze(i),u=1<<l,a=o[l];a===-1?((u&n)===0||(u&r)!==0)&&(o[l]=Bh(u,t)):a<=t&&(e.expiredLanes|=u),i&=~u}}function sl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ps(){var e=uo;return uo<<=1,(uo&4194240)===0&&(uo=64),e}function cl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function Fh(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 o=31-Ze(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function fl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var F=0;function Ms(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ls,dl,Is,_s,Os,pl=!1,co=[],Pt=null,Mt=null,Lt=null,cr=new Map,fr=new Map,It=[],bh="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 Ds(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fr.delete(t.pointerId)}}function dr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Cr(t),t!==null&&dl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Uh(e,t,n,r,o){switch(t){case"focusin":return Pt=dr(Pt,e,t,n,r,o),!0;case"dragenter":return Mt=dr(Mt,e,t,n,r,o),!0;case"mouseover":return Lt=dr(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return cr.set(i,dr(cr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,fr.set(i,dr(fr.get(i)||null,e,t,n,r,o)),!0}return!1}function As(e){var t=en(e.target);if(t!==null){var n=qt(t);if(n!==null){if(t=n.tag,t===13){if(t=Es(n),t!==null){e.blockedOn=t,Os(e.priority,function(){Is(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 fo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ml(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nl=r,n.target.dispatchEvent(r),nl=null}else return t=Cr(n),t!==null&&dl(t),e.blockedOn=n,!1;t.shift()}return!0}function Hs(e,t,n){fo(e)&&n.delete(t)}function jh(){pl=!1,Pt!==null&&fo(Pt)&&(Pt=null),Mt!==null&&fo(Mt)&&(Mt=null),Lt!==null&&fo(Lt)&&(Lt=null),cr.forEach(Hs),fr.forEach(Hs)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,pl||(pl=!0,De.unstable_scheduleCallback(De.unstable_NormalPriority,jh)))}function hr(e){function t(o){return pr(o,e)}if(0<co.length){pr(co[0],e);for(var n=1;n<co.length;n++){var r=co[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Pt!==null&&pr(Pt,e),Mt!==null&&pr(Mt,e),Lt!==null&&pr(Lt,e),cr.forEach(t),fr.forEach(t),n=0;n<It.length;n++)r=It[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&(n=It[0],n.blockedOn===null);)As(n),n.blockedOn===null&&It.shift()}var Tn=pt.ReactCurrentBatchConfig,po=!0;function Vh(e,t,n,r){var o=F,i=Tn.transition;Tn.transition=null;try{F=1,hl(e,t,n,r)}finally{F=o,Tn.transition=i}}function Gh(e,t,n,r){var o=F,i=Tn.transition;Tn.transition=null;try{F=4,hl(e,t,n,r)}finally{F=o,Tn.transition=i}}function hl(e,t,n,r){if(po){var o=ml(e,t,n,r);if(o===null)_l(e,t,r,ho,n),Ds(e,r);else if(Uh(o,e,t,n,r))r.stopPropagation();else if(Ds(e,r),t&4&&-1<bh.indexOf(e)){for(;o!==null;){var i=Cr(o);if(i!==null&&Ls(i),i=ml(e,t,n,r),i===null&&_l(e,t,r,ho,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else _l(e,t,r,null,n)}}var ho=null;function ml(e,t,n,r){if(ho=null,e=rl(r),e=en(e),e!==null)if(t=qt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Es(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 ho=e,null}function Bs(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(Ih()){case al:return 1;case Cs:return 4;case io:case _h:return 16;case Rs:return 536870912;default:return 16}default:return 16}}var _t=null,vl=null,mo=null;function zs(){if(mo)return mo;var e,t=vl,n=t.length,r,o="value"in _t?_t.value:_t.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return mo=o.slice(e,1<r?1-r:void 0)}function vo(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 go(){return!0}function Fs(){return!1}function Ae(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?go:Fs,this.isPropagationStopped=Fs,this}return W(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=go)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=go)},persist:function(){},isPersistent:go}),t}var Nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gl=Ae(Nn),mr=W({},Nn,{view:0,detail:0}),Xh=Ae(mr),yl,wl,vr,yo=W({},mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sl,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"?(yl=e.screenX-vr.screenX,wl=e.screenY-vr.screenY):wl=yl=0,vr=e),yl)},movementY:function(e){return"movementY"in e?e.movementY:wl}}),bs=Ae(yo),$h=W({},yo,{dataTransfer:0}),Zh=Ae($h),Wh=W({},mr,{relatedTarget:0}),El=Ae(Wh),Qh=W({},Nn,{animationName:0,elapsedTime:0,pseudoElement:0}),Kh=Ae(Qh),Yh=W({},Nn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jh=Ae(Yh),qh=W({},Nn,{data:0}),Us=Ae(qh),em={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tm={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"},nm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nm[e])?!!t[e]:!1}function Sl(){return rm}var om=W({},mr,{key:function(e){if(e.key){var t=em[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=vo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sl,charCode:function(e){return e.type==="keypress"?vo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),im=Ae(om),lm=W({},yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),js=Ae(lm),um=W({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sl}),am=Ae(um),sm=W({},Nn,{propertyName:0,elapsedTime:0,pseudoElement:0}),cm=Ae(sm),fm=W({},yo,{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}),dm=Ae(fm),pm=[9,13,27,32],kl=dt&&"CompositionEvent"in window,gr=null;dt&&"documentMode"in document&&(gr=document.documentMode);var hm=dt&&"TextEvent"in window&&!gr,Vs=dt&&(!kl||gr&&8<gr&&11>=gr),Gs=String.fromCharCode(32),Xs=!1;function $s(e,t){switch(e){case"keyup":return pm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cn=!1;function mm(e,t){switch(e){case"compositionend":return Zs(t);case"keypress":return t.which!==32?null:(Xs=!0,Gs);case"textInput":return e=t.data,e===Gs&&Xs?null:e;default:return null}}function vm(e,t){if(Cn)return e==="compositionend"||!kl&&$s(e,t)?(e=zs(),mo=vl=_t=null,Cn=!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 Vs&&t.locale!=="ko"?null:t.data;default:return null}}var gm={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 Ws(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gm[e.type]:t==="textarea"}function Qs(e,t,n,r){ms(r),t=xo(t,"onChange"),0<t.length&&(n=new gl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yr=null,wr=null;function ym(e){pc(e,0)}function wo(e){var t=In(e);if(rs(t))return e}function wm(e,t){if(e==="change")return t}var Ks=!1;if(dt){var xl;if(dt){var Tl="oninput"in document;if(!Tl){var Ys=document.createElement("div");Ys.setAttribute("oninput","return;"),Tl=typeof Ys.oninput=="function"}xl=Tl}else xl=!1;Ks=xl&&(!document.documentMode||9<document.documentMode)}function Js(){yr&&(yr.detachEvent("onpropertychange",qs),wr=yr=null)}function qs(e){if(e.propertyName==="value"&&wo(wr)){var t=[];Qs(t,wr,e,rl(e)),ws(ym,t)}}function Em(e,t,n){e==="focusin"?(Js(),yr=t,wr=n,yr.attachEvent("onpropertychange",qs)):e==="focusout"&&Js()}function Sm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wo(wr)}function km(e,t){if(e==="click")return wo(t)}function xm(e,t){if(e==="input"||e==="change")return wo(t)}function Tm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var We=typeof Object.is=="function"?Object.is:Tm;function Er(e,t){if(We(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 o=n[r];if(!Ai.call(t,o)||!We(e[o],t[o]))return!1}return!0}function ec(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tc(e,t){var n=ec(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=ec(n)}}function nc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rc(){for(var e=window,t=to();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=to(e.document)}return t}function Nl(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 Nm(e){var t=rc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&nc(n.ownerDocument.documentElement,n)){if(r!==null&&Nl(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=tc(n,i);var l=tc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>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 Cm=dt&&"documentMode"in document&&11>=document.documentMode,Rn=null,Cl=null,Sr=null,Rl=!1;function oc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rl||Rn==null||Rn!==to(r)||(r=Rn,"selectionStart"in r&&Nl(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}),Sr&&Er(Sr,r)||(Sr=r,r=xo(Cl,"onSelect"),0<r.length&&(t=new gl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Rn)))}function Eo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pn={animationend:Eo("Animation","AnimationEnd"),animationiteration:Eo("Animation","AnimationIteration"),animationstart:Eo("Animation","AnimationStart"),transitionend:Eo("Transition","TransitionEnd")},Pl={},ic={};dt&&(ic=document.createElement("div").style,"AnimationEvent"in window||(delete Pn.animationend.animation,delete Pn.animationiteration.animation,delete Pn.animationstart.animation),"TransitionEvent"in window||delete Pn.transitionend.transition);function So(e){if(Pl[e])return Pl[e];if(!Pn[e])return e;var t=Pn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ic)return Pl[e]=t[n];return e}var lc=So("animationend"),uc=So("animationiteration"),ac=So("animationstart"),sc=So("transitionend"),cc=new Map,fc="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 Ot(e,t){cc.set(e,t),Jt(t,[e])}for(var Ml=0;Ml<fc.length;Ml++){var Ll=fc[Ml],Rm=Ll.toLowerCase(),Pm=Ll[0].toUpperCase()+Ll.slice(1);Ot(Rm,"on"+Pm)}Ot(lc,"onAnimationEnd"),Ot(uc,"onAnimationIteration"),Ot(ac,"onAnimationStart"),Ot("dblclick","onDoubleClick"),Ot("focusin","onFocus"),Ot("focusout","onBlur"),Ot(sc,"onTransitionEnd"),yn("onMouseEnter",["mouseout","mouseover"]),yn("onMouseLeave",["mouseout","mouseover"]),yn("onPointerEnter",["pointerout","pointerover"]),yn("onPointerLeave",["pointerout","pointerover"]),Jt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="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(" "),Mm=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function dc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Rh(r,t,void 0,e),e.currentTarget=null}function pc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==i&&o.isPropagationStopped())break e;dc(o,u,s),i=a}else for(l=0;l<r.length;l++){if(u=r[l],a=u.instance,s=u.currentTarget,u=u.listener,a!==i&&o.isPropagationStopped())break e;dc(o,u,s),i=a}}}if(oo)throw e=ul,oo=!1,ul=null,e}function G(e,t){var n=t[zl];n===void 0&&(n=t[zl]=new Set);var r=e+"__bubble";n.has(r)||(hc(t,e,2,!1),n.add(r))}function Il(e,t,n){var r=0;t&&(r|=4),hc(n,e,r,t)}var ko="_reactListening"+Math.random().toString(36).slice(2);function xr(e){if(!e[ko]){e[ko]=!0,Qa.forEach(function(n){n!=="selectionchange"&&(Mm.has(n)||Il(n,!1,e),Il(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ko]||(t[ko]=!0,Il("selectionchange",!1,t))}}function hc(e,t,n,r){switch(Bs(t)){case 1:var o=Vh;break;case 4:o=Gh;break;default:o=hl}n=o.bind(null,t,n,e),o=void 0,!ll||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function _l(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;l=l.return}for(;u!==null;){if(l=en(u),l===null)return;if(a=l.tag,a===5||a===6){r=i=l;continue e}u=u.parentNode}}r=r.return}ws(function(){var s=i,f=rl(n),m=[];e:{var p=cc.get(e);if(p!==void 0){var g=gl,y=e;switch(e){case"keypress":if(vo(n)===0)break e;case"keydown":case"keyup":g=im;break;case"focusin":y="focus",g=El;break;case"focusout":y="blur",g=El;break;case"beforeblur":case"afterblur":g=El;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=bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Zh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=am;break;case lc:case uc:case ac:g=Kh;break;case sc:g=cm;break;case"scroll":g=Xh;break;case"wheel":g=dm;break;case"copy":case"cut":case"paste":g=Jh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=js}var w=(t&4)!==0,N=!w&&e==="scroll",h=w?p!==null?p+"Capture":null:p;w=[];for(var c=s,d;c!==null;){d=c;var E=d.stateNode;if(d.tag===5&&E!==null&&(d=E,h!==null&&(E=ir(c,h),E!=null&&w.push(Tr(c,E,d)))),N)break;c=c.return}0<w.length&&(p=new g(p,y,null,n,f),m.push({event:p,listeners:w}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&n!==nl&&(y=n.relatedTarget||n.fromElement)&&(en(y)||y[ht]))break e;if((g||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=s,y=y?en(y):null,y!==null&&(N=qt(y),y!==N||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=s),g!==y)){if(w=bs,E="onMouseLeave",h="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(w=js,E="onPointerLeave",h="onPointerEnter",c="pointer"),N=g==null?p:In(g),d=y==null?p:In(y),p=new w(E,c+"leave",g,n,f),p.target=N,p.relatedTarget=d,E=null,en(f)===s&&(w=new w(h,c+"enter",y,n,f),w.target=d,w.relatedTarget=N,E=w),N=E,g&&y)t:{for(w=g,h=y,c=0,d=w;d;d=Mn(d))c++;for(d=0,E=h;E;E=Mn(E))d++;for(;0<c-d;)w=Mn(w),c--;for(;0<d-c;)h=Mn(h),d--;for(;c--;){if(w===h||h!==null&&w===h.alternate)break t;w=Mn(w),h=Mn(h)}w=null}else w=null;g!==null&&mc(m,p,g,w,!1),y!==null&&N!==null&&mc(m,N,y,w,!0)}}e:{if(p=s?In(s):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var v=wm;else if(Ws(p))if(Ks)v=xm;else{v=Sm;var T=Em}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(v=km);if(v&&(v=v(e,s))){Qs(m,v,n,f);break e}T&&T(e,p,s),e==="focusout"&&(T=p._wrapperState)&&T.controlled&&p.type==="number"&&Yi(p,"number",p.value)}switch(T=s?In(s):window,e){case"focusin":(Ws(T)||T.contentEditable==="true")&&(Rn=T,Cl=s,Sr=null);break;case"focusout":Sr=Cl=Rn=null;break;case"mousedown":Rl=!0;break;case"contextmenu":case"mouseup":case"dragend":Rl=!1,oc(m,n,f);break;case"selectionchange":if(Cm)break;case"keydown":case"keyup":oc(m,n,f)}var C;if(kl)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Cn?$s(e,n)&&(M="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(M="onCompositionStart");M&&(Vs&&n.locale!=="ko"&&(Cn||M!=="onCompositionStart"?M==="onCompositionEnd"&&Cn&&(C=zs()):(_t=f,vl="value"in _t?_t.value:_t.textContent,Cn=!0)),T=xo(s,M),0<T.length&&(M=new Us(M,e,null,n,f),m.push({event:M,listeners:T}),C?M.data=C:(C=Zs(n),C!==null&&(M.data=C)))),(C=hm?mm(e,n):vm(e,n))&&(s=xo(s,"onBeforeInput"),0<s.length&&(f=new Us("onBeforeInput","beforeinput",null,n,f),m.push({event:f,listeners:s}),f.data=C))}pc(m,t)})}function Tr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xo(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ir(e,n),i!=null&&r.unshift(Tr(e,i,o)),i=ir(e,t),i!=null&&r.push(Tr(e,i,o))),e=e.return}return r}function Mn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,o?(a=ir(n,i),a!=null&&l.unshift(Tr(n,a,u))):o||(a=ir(n,i),a!=null&&l.push(Tr(n,a,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Lm=/\r\n?/g,Im=/\u0000|\uFFFD/g;function vc(e){return(typeof e=="string"?e:""+e).replace(Lm,`
38
+ `).replace(Im,"")}function To(e,t,n){if(t=vc(t),vc(e)!==t&&n)throw Error(x(425))}function No(){}var Ol=null,Dl=null;function Al(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 Hl=typeof setTimeout=="function"?setTimeout:void 0,_m=typeof clearTimeout=="function"?clearTimeout:void 0,gc=typeof Promise=="function"?Promise:void 0,Om=typeof queueMicrotask=="function"?queueMicrotask:typeof gc<"u"?function(e){return gc.resolve(null).then(e).catch(Dm)}:Hl;function Dm(e){setTimeout(function(){throw e})}function Bl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),hr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);hr(t)}function Dt(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 yc(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 Ln=Math.random().toString(36).slice(2),rt="__reactFiber$"+Ln,Nr="__reactProps$"+Ln,ht="__reactContainer$"+Ln,zl="__reactEvents$"+Ln,Am="__reactListeners$"+Ln,Hm="__reactHandles$"+Ln;function en(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ht]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yc(e);e!==null;){if(n=e[rt])return n;e=yc(e)}return t}e=n,n=e.parentNode}return null}function Cr(e){return e=e[rt]||e[ht],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function In(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(x(33))}function Co(e){return e[Nr]||null}var Fl=[],_n=-1;function At(e){return{current:e}}function X(e){0>_n||(e.current=Fl[_n],Fl[_n]=null,_n--)}function V(e,t){_n++,Fl[_n]=e.current,e.current=t}var Ht={},de=At(Ht),Ne=At(!1),tn=Ht;function On(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ce(e){return e=e.childContextTypes,e!=null}function Ro(){X(Ne),X(de)}function wc(e,t,n){if(de.current!==Ht)throw Error(x(168));V(de,t),V(Ne,n)}function Ec(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,Eh(e)||"Unknown",o));return W({},n,r)}function Po(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,tn=de.current,V(de,e),V(Ne,Ne.current),!0}function Sc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=Ec(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,X(Ne),X(de),V(de,e)):X(Ne),V(Ne,n)}var mt=null,Mo=!1,bl=!1;function kc(e){mt===null?mt=[e]:mt.push(e)}function Bm(e){Mo=!0,kc(e)}function Bt(){if(!bl&&mt!==null){bl=!0;var e=0,t=F;try{var n=mt;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mt=null,Mo=!1}catch(o){throw mt!==null&&(mt=mt.slice(e+1)),Ts(al,Bt),o}finally{F=t,bl=!1}}return null}var Dn=[],An=0,Lo=null,Io=0,Fe=[],be=0,nn=null,vt=1,gt="";function rn(e,t){Dn[An++]=Io,Dn[An++]=Lo,Lo=e,Io=t}function xc(e,t,n){Fe[be++]=vt,Fe[be++]=gt,Fe[be++]=nn,nn=e;var r=vt;e=gt;var o=32-Ze(r)-1;r&=~(1<<o),n+=1;var i=32-Ze(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,vt=1<<32-Ze(t)+o|n<<o|r,gt=i+e}else vt=1<<i|n<<o|r,gt=e}function Ul(e){e.return!==null&&(rn(e,1),xc(e,1,0))}function jl(e){for(;e===Lo;)Lo=Dn[--An],Dn[An]=null,Io=Dn[--An],Dn[An]=null;for(;e===nn;)nn=Fe[--be],Fe[be]=null,gt=Fe[--be],Fe[be]=null,vt=Fe[--be],Fe[be]=null}var He=null,Be=null,Z=!1,Qe=null;function Tc(e,t){var n=Ge(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 Nc(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,He=e,Be=Dt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,He=e,Be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=nn!==null?{id:vt,overflow:gt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ge(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,He=e,Be=null,!0):!1;default:return!1}}function Vl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Gl(e){if(Z){var t=Be;if(t){var n=t;if(!Nc(e,t)){if(Vl(e))throw Error(x(418));t=Dt(n.nextSibling);var r=He;t&&Nc(e,t)?Tc(r,n):(e.flags=e.flags&-4097|2,Z=!1,He=e)}}else{if(Vl(e))throw Error(x(418));e.flags=e.flags&-4097|2,Z=!1,He=e}}}function Cc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;He=e}function _o(e){if(e!==He)return!1;if(!Z)return Cc(e),Z=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Al(e.type,e.memoizedProps)),t&&(t=Be)){if(Vl(e))throw Rc(),Error(x(418));for(;t;)Tc(e,t),t=Dt(t.nextSibling)}if(Cc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(x(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Be=Dt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Be=null}}else Be=He?Dt(e.stateNode.nextSibling):null;return!0}function Rc(){for(var e=Be;e;)e=Dt(e.nextSibling)}function Hn(){Be=He=null,Z=!1}function Xl(e){Qe===null?Qe=[e]:Qe.push(e)}var zm=pt.ReactCurrentBatchConfig;function Ke(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Oo=At(null),Do=null,Bn=null,$l=null;function Zl(){$l=Bn=Do=null}function Wl(e){var t=Oo.current;X(Oo),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 zn(e,t){Do=e,$l=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Re=!0),e.firstContext=null)}function Ue(e){var t=e._currentValue;if($l!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(Do===null)throw Error(x(308));Bn=e,Do.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var on=null;function Kl(e){on===null?on=[e]:on.push(e)}function Pc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Kl(t)):(n.next=o.next,o.next=n),t.interleaved=n,yt(e,r)}function yt(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 zt=!1;function Yl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mc(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 wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ft(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(B&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yt(e,n)}return o=r.interleaved,o===null?(t.next=t,Kl(r)):(t.next=o.next,o.next=t),r.interleaved=t,yt(e,n)}function Ao(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,fl(e,n)}}function Lc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=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};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Ho(e,t,n,r){var o=e.updateQueue;zt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var a=u,s=a.next;a.next=null,l===null?i=s:l.next=s,l=a;var f=e.alternate;f!==null&&(f=f.updateQueue,u=f.lastBaseUpdate,u!==l&&(u===null?f.firstBaseUpdate=s:u.next=s,f.lastBaseUpdate=a))}if(i!==null){var m=o.baseState;l=0,f=s=a=null,u=i;do{var p=u.lane,g=u.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,w=u;switch(p=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){m=y.call(g,m,p);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,p=typeof y=="function"?y.call(g,m,p):y,p==null)break e;m=W({},m,p);break e;case 2:zt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[u]:p.push(u))}else g={eventTime:g,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},f===null?(s=f=g,a=m):f=f.next=g,l|=p;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;p=u,u=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(f===null&&(a=m),o.baseState=a,o.firstBaseUpdate=s,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);an|=l,e.lanes=l,e.memoizedState=m}}function Ic(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(x(191,o));o.call(r)}}}var _c=new Wa.Component().refs;function Jl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Bo={isMounted:function(e){return(e=e._reactInternals)?qt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.payload=t,n!=null&&(i.callback=n),t=Ft(e,i,o),t!==null&&(qe(t,e,o,r),Ao(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ft(e,i,o),t!==null&&(qe(t,e,o,r),Ao(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ke(),r=Vt(e),o=wt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Ft(e,o,r),t!==null&&(qe(t,e,r,n),Ao(t,e,r))}};function Oc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!Er(n,r)||!Er(o,i):!0}function Dc(e,t,n){var r=!1,o=Ht,i=t.contextType;return typeof i=="object"&&i!==null?i=Ue(i):(o=Ce(t)?tn:de.current,r=t.contextTypes,i=(r=r!=null)?On(e,o):Ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Bo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ac(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&&Bo.enqueueReplaceState(t,t.state,null)}function ql(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=_c,Yl(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ue(i):(i=Ce(t)?tn:de.current,o.context=On(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Jl(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Bo.enqueueReplaceState(o,o.state,null),Ho(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Rr(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(x(309));var r=n.stateNode}if(!r)throw Error(x(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var u=o.refs;u===_c&&(u=o.refs={}),l===null?delete u[i]:u[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(x(284));if(!n._owner)throw Error(x(290,e))}return e}function zo(e,t){throw e=Object.prototype.toString.call(t),Error(x(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hc(e){var t=e._init;return t(e._payload)}function Bc(e){function t(h,c){if(e){var d=h.deletions;d===null?(h.deletions=[c],h.flags|=16):d.push(c)}}function n(h,c){if(!e)return null;for(;c!==null;)t(h,c),c=c.sibling;return null}function r(h,c){for(h=new Map;c!==null;)c.key!==null?h.set(c.key,c):h.set(c.index,c),c=c.sibling;return h}function o(h,c){return h=Xt(h,c),h.index=0,h.sibling=null,h}function i(h,c,d){return h.index=d,e?(d=h.alternate,d!==null?(d=d.index,d<c?(h.flags|=2,c):d):(h.flags|=2,c)):(h.flags|=1048576,c)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function u(h,c,d,E){return c===null||c.tag!==6?(c=Hu(d,h.mode,E),c.return=h,c):(c=o(c,d),c.return=h,c)}function a(h,c,d,E){var v=d.type;return v===En?f(h,c,d.props.children,E,d.key):c!==null&&(c.elementType===v||typeof v=="object"&&v!==null&&v.$$typeof===Ct&&Hc(v)===c.type)?(E=o(c,d.props),E.ref=Rr(h,c,d),E.return=h,E):(E=ri(d.type,d.key,d.props,null,h.mode,E),E.ref=Rr(h,c,d),E.return=h,E)}function s(h,c,d,E){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=Bu(d,h.mode,E),c.return=h,c):(c=o(c,d.children||[]),c.return=h,c)}function f(h,c,d,E,v){return c===null||c.tag!==7?(c=dn(d,h.mode,E,v),c.return=h,c):(c=o(c,d),c.return=h,c)}function m(h,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Hu(""+c,h.mode,d),c.return=h,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case qr:return d=ri(c.type,c.key,c.props,null,h.mode,d),d.ref=Rr(h,null,c),d.return=h,d;case wn:return c=Bu(c,h.mode,d),c.return=h,c;case Ct:var E=c._init;return m(h,E(c._payload),d)}if(nr(c)||er(c))return c=dn(c,h.mode,d,null),c.return=h,c;zo(h,c)}return null}function p(h,c,d,E){var v=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return v!==null?null:u(h,c,""+d,E);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case qr:return d.key===v?a(h,c,d,E):null;case wn:return d.key===v?s(h,c,d,E):null;case Ct:return v=d._init,p(h,c,v(d._payload),E)}if(nr(d)||er(d))return v!==null?null:f(h,c,d,E,null);zo(h,d)}return null}function g(h,c,d,E,v){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(d)||null,u(c,h,""+E,v);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case qr:return h=h.get(E.key===null?d:E.key)||null,a(c,h,E,v);case wn:return h=h.get(E.key===null?d:E.key)||null,s(c,h,E,v);case Ct:var T=E._init;return g(h,c,d,T(E._payload),v)}if(nr(E)||er(E))return h=h.get(d)||null,f(c,h,E,v,null);zo(c,E)}return null}function y(h,c,d,E){for(var v=null,T=null,C=c,M=c=0,b=null;C!==null&&M<d.length;M++){C.index>M?(b=C,C=null):b=C.sibling;var _=p(h,C,d[M],E);if(_===null){C===null&&(C=b);break}e&&C&&_.alternate===null&&t(h,C),c=i(_,c,M),T===null?v=_:T.sibling=_,T=_,C=b}if(M===d.length)return n(h,C),Z&&rn(h,M),v;if(C===null){for(;M<d.length;M++)C=m(h,d[M],E),C!==null&&(c=i(C,c,M),T===null?v=C:T.sibling=C,T=C);return Z&&rn(h,M),v}for(C=r(h,C);M<d.length;M++)b=g(C,h,M,d[M],E),b!==null&&(e&&b.alternate!==null&&C.delete(b.key===null?M:b.key),c=i(b,c,M),T===null?v=b:T.sibling=b,T=b);return e&&C.forEach(function(ae){return t(h,ae)}),Z&&rn(h,M),v}function w(h,c,d,E){var v=er(d);if(typeof v!="function")throw Error(x(150));if(d=v.call(d),d==null)throw Error(x(151));for(var T=v=null,C=c,M=c=0,b=null,_=d.next();C!==null&&!_.done;M++,_=d.next()){C.index>M?(b=C,C=null):b=C.sibling;var ae=p(h,C,_.value,E);if(ae===null){C===null&&(C=b);break}e&&C&&ae.alternate===null&&t(h,C),c=i(ae,c,M),T===null?v=ae:T.sibling=ae,T=ae,C=b}if(_.done)return n(h,C),Z&&rn(h,M),v;if(C===null){for(;!_.done;M++,_=d.next())_=m(h,_.value,E),_!==null&&(c=i(_,c,M),T===null?v=_:T.sibling=_,T=_);return Z&&rn(h,M),v}for(C=r(h,C);!_.done;M++,_=d.next())_=g(C,h,M,_.value,E),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?M:_.key),c=i(_,c,M),T===null?v=_:T.sibling=_,T=_);return e&&C.forEach(function(ft){return t(h,ft)}),Z&&rn(h,M),v}function N(h,c,d,E){if(typeof d=="object"&&d!==null&&d.type===En&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case qr:e:{for(var v=d.key,T=c;T!==null;){if(T.key===v){if(v=d.type,v===En){if(T.tag===7){n(h,T.sibling),c=o(T,d.props.children),c.return=h,h=c;break e}}else if(T.elementType===v||typeof v=="object"&&v!==null&&v.$$typeof===Ct&&Hc(v)===T.type){n(h,T.sibling),c=o(T,d.props),c.ref=Rr(h,T,d),c.return=h,h=c;break e}n(h,T);break}else t(h,T);T=T.sibling}d.type===En?(c=dn(d.props.children,h.mode,E,d.key),c.return=h,h=c):(E=ri(d.type,d.key,d.props,null,h.mode,E),E.ref=Rr(h,c,d),E.return=h,h=E)}return l(h);case wn:e:{for(T=d.key;c!==null;){if(c.key===T)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(h,c.sibling),c=o(c,d.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=Bu(d,h.mode,E),c.return=h,h=c}return l(h);case Ct:return T=d._init,N(h,c,T(d._payload),E)}if(nr(d))return y(h,c,d,E);if(er(d))return w(h,c,d,E);zo(h,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(h,c.sibling),c=o(c,d),c.return=h,h=c):(n(h,c),c=Hu(d,h.mode,E),c.return=h,h=c),l(h)):n(h,c)}return N}var Fn=Bc(!0),zc=Bc(!1),Pr={},ot=At(Pr),Mr=At(Pr),Lr=At(Pr);function ln(e){if(e===Pr)throw Error(x(174));return e}function eu(e,t){switch(V(Lr,t),V(Mr,e),V(ot,Pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qi(t,e)}X(ot),V(ot,t)}function bn(){X(ot),X(Mr),X(Lr)}function Fc(e){ln(Lr.current);var t=ln(ot.current),n=qi(t,e.type);t!==n&&(V(Mr,e),V(ot,n))}function tu(e){Mr.current===e&&(X(ot),X(Mr))}var Q=At(0);function Fo(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nu=[];function ru(){for(var e=0;e<nu.length;e++)nu[e]._workInProgressVersionPrimary=null;nu.length=0}var bo=pt.ReactCurrentDispatcher,ou=pt.ReactCurrentBatchConfig,un=0,K=null,re=null,le=null,Uo=!1,Ir=!1,_r=0,Fm=0;function pe(){throw Error(x(321))}function iu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!We(e[n],t[n]))return!1;return!0}function lu(e,t,n,r,o,i){if(un=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,bo.current=e===null||e.memoizedState===null?Vm:Gm,e=n(r,o),Ir){i=0;do{if(Ir=!1,_r=0,25<=i)throw Error(x(301));i+=1,le=re=null,t.updateQueue=null,bo.current=Xm,e=n(r,o)}while(Ir)}if(bo.current=Go,t=re!==null&&re.next!==null,un=0,le=re=K=null,Uo=!1,t)throw Error(x(300));return e}function uu(){var e=_r!==0;return _r=0,e}function it(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?K.memoizedState=le=e:le=le.next=e,le}function je(){if(re===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=re.next;var t=le===null?K.memoizedState:le.next;if(t!==null)le=t,re=e;else{if(e===null)throw Error(x(310));re=e,e={memoizedState:re.memoizedState,baseState:re.baseState,baseQueue:re.baseQueue,queue:re.queue,next:null},le===null?K.memoizedState=le=e:le=le.next=e}return le}function Or(e,t){return typeof t=="function"?t(e):t}function au(e){var t=je(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=re,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var u=l=null,a=null,s=i;do{var f=s.lane;if((un&f)===f)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var m={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=m,l=r):a=a.next=m,K.lanes|=f,an|=f}s=s.next}while(s!==null&&s!==i);a===null?l=r:a.next=u,We(r,t.memoizedState)||(Re=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,K.lanes|=i,an|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function su(e){var t=je(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);We(i,t.memoizedState)||(Re=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function bc(){}function Uc(e,t){var n=K,r=je(),o=t(),i=!We(r.memoizedState,o);if(i&&(r.memoizedState=o,Re=!0),r=r.queue,cu(Gc.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||le!==null&&le.memoizedState.tag&1){if(n.flags|=2048,Dr(9,Vc.bind(null,n,r,o,t),void 0,null),ue===null)throw Error(x(349));(un&30)!==0||jc(n,t,o)}return o}function jc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vc(e,t,n,r){t.value=n,t.getSnapshot=r,Xc(t)&&$c(e)}function Gc(e,t,n){return n(function(){Xc(t)&&$c(e)})}function Xc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!We(e,n)}catch{return!0}}function $c(e){var t=yt(e,1);t!==null&&qe(t,e,1,-1)}function Zc(e){var t=it();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Or,lastRenderedState:e},t.queue=e,e=e.dispatch=jm.bind(null,K,e),[t.memoizedState,e]}function Dr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.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 Wc(){return je().memoizedState}function jo(e,t,n,r){var o=it();K.flags|=e,o.memoizedState=Dr(1|t,n,void 0,r===void 0?null:r)}function Vo(e,t,n,r){var o=je();r=r===void 0?null:r;var i=void 0;if(re!==null){var l=re.memoizedState;if(i=l.destroy,r!==null&&iu(r,l.deps)){o.memoizedState=Dr(t,n,i,r);return}}K.flags|=e,o.memoizedState=Dr(1|t,n,i,r)}function Qc(e,t){return jo(8390656,8,e,t)}function cu(e,t){return Vo(2048,8,e,t)}function Kc(e,t){return Vo(4,2,e,t)}function Yc(e,t){return Vo(4,4,e,t)}function Jc(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 qc(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4,4,Jc.bind(null,t,e),n)}function fu(){}function ef(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&iu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tf(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&iu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nf(e,t,n){return(un&21)===0?(e.baseState&&(e.baseState=!1,Re=!0),e.memoizedState=n):(We(n,t)||(n=Ps(),K.lanes|=n,an|=n,e.baseState=!0),t)}function bm(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=ou.transition;ou.transition={};try{e(!1),t()}finally{F=n,ou.transition=r}}function rf(){return je().memoizedState}function Um(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},of(e))lf(t,n);else if(n=Pc(e,t,n,r),n!==null){var o=ke();qe(n,e,r,o),uf(n,t,r)}}function jm(e,t,n){var r=Vt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(of(e))lf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,We(u,l)){var a=t.interleaved;a===null?(o.next=o,Kl(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Pc(e,t,o,r),n!==null&&(o=ke(),qe(n,e,r,o),uf(n,t,r))}}function of(e){var t=e.alternate;return e===K||t!==null&&t===K}function lf(e,t){Ir=Uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uf(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fl(e,n)}}var Go={readContext:Ue,useCallback:pe,useContext:pe,useEffect:pe,useImperativeHandle:pe,useInsertionEffect:pe,useLayoutEffect:pe,useMemo:pe,useReducer:pe,useRef:pe,useState:pe,useDebugValue:pe,useDeferredValue:pe,useTransition:pe,useMutableSource:pe,useSyncExternalStore:pe,useId:pe,unstable_isNewReconciler:!1},Vm={readContext:Ue,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:Qc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,jo(4194308,4,Jc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return jo(4,2,e,t)},useMemo:function(e,t){var n=it();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=it();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=Um.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:Zc,useDebugValue:fu,useDeferredValue:function(e){return it().memoizedState=e},useTransition:function(){var e=Zc(!1),t=e[0];return e=bm.bind(null,e[1]),it().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,o=it();if(Z){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),ue===null)throw Error(x(349));(un&30)!==0||jc(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Qc(Gc.bind(null,r,i,e),[e]),r.flags|=2048,Dr(9,Vc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=it(),t=ue.identifierPrefix;if(Z){var n=gt,r=vt;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_r++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Fm++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Gm={readContext:Ue,useCallback:ef,useContext:Ue,useEffect:cu,useImperativeHandle:qc,useInsertionEffect:Kc,useLayoutEffect:Yc,useMemo:tf,useReducer:au,useRef:Wc,useState:function(){return au(Or)},useDebugValue:fu,useDeferredValue:function(e){var t=je();return nf(t,re.memoizedState,e)},useTransition:function(){var e=au(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:bc,useSyncExternalStore:Uc,useId:rf,unstable_isNewReconciler:!1},Xm={readContext:Ue,useCallback:ef,useContext:Ue,useEffect:cu,useImperativeHandle:qc,useInsertionEffect:Kc,useLayoutEffect:Yc,useMemo:tf,useReducer:su,useRef:Wc,useState:function(){return su(Or)},useDebugValue:fu,useDeferredValue:function(e){var t=je();return re===null?t.memoizedState=e:nf(t,re.memoizedState,e)},useTransition:function(){var e=su(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:bc,useSyncExternalStore:Uc,useId:rf,unstable_isNewReconciler:!1};function Un(e,t){try{var n="",r=t;do n+=wh(r),r=r.return;while(r);var o=n}catch(i){o=`
39
39
  Error generating stack: `+i.message+`
40
- `+i.stack}return{value:e,source:t,stack:o,digest:null}}function ha(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function ma(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Q0=typeof WeakMap=="function"?WeakMap:Map;function ff(e,t,n){n=wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qo||(qo=!0,La=r),ma(e,t)},n}function df(e,t,n){n=wt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ma(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ma(e,t),typeof r!="function"&&(Ut===null?Ut=new Set([this]):Ut.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function pf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Q0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=sm.bind(null,e,t,n),t.then(e,e))}function hf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mf(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wt(-1,1),t.tag=2,bt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var K0=pt.ReactCurrentOwner,Ce=!1;function Se(e,t,n,r){t.child=e===null?Uc(t,null,n,r):Fn(t,e.child,n,r)}function gf(e,t,n,r,o){n=n.render;var i=t.ref;return bn(t,o),r=ua(e,t,n,r,i,o),n=sa(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&n&&Vl(t),t.flags|=1,Se(e,t,r,o),t.child)}function vf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!za(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,yf(e,t,i,r,o)):(e=ii(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Er,n(l,r)&&e.ref===t.ref)return Et(e,t,o)}return t.flags|=1,e=$t(i,r),e.ref=t.ref,e.return=t,t.child=e}function yf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Er(i,r)&&e.ref===t.ref)if(Ce=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ce=!0);else return t.lanes=e.lanes,Et(e,t,o)}return ga(e,t,n,r,o)}function wf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},j(Gn,Be),Be|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,j(Gn,Be),Be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,j(Gn,Be),Be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,j(Gn,Be),Be|=r;return Se(e,t,o,n),t.child}function Ef(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ga(e,t,n,r,o){var i=Re(n)?tn:de.current;return i=An(t,i),bn(t,o),n=ua(e,t,n,r,i,o),r=sa(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&r&&Vl(t),t.flags|=1,Se(e,t,n,o),t.child)}function Sf(e,t,n,r,o){if(Re(n)){var i=!0;Lo(t)}else i=!1;if(bn(t,o),t.stateNode===null)Wo(e,t),zc(t,n,r),ta(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Ue(s):(s=Re(n)?tn:de.current,s=An(t,s));var f=n.getDerivedStateFromProps,m=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||u!==s)&&Bc(t,l,r,s),Bt=!1;var p=t.memoizedState;l.state=p,Bo(t,r,l,o),u=t.memoizedState,a!==r||p!==u||Ne.current||Bt?(typeof f=="function"&&(ea(t,n,f,r),u=t.memoizedState),(a=Bt||Hc(t,n,a,r,p,u,s))?(m||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=u),l.props=r,l.state=u,l.context=s,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,_c(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:Ke(t.type,a),l.props=s,m=t.pendingProps,p=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ue(u):(u=Re(n)?tn:de.current,u=An(t,u));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==m||p!==u)&&Bc(t,l,r,u),Bt=!1,p=t.memoizedState,l.state=p,Bo(t,r,l,o);var y=t.memoizedState;a!==m||p!==y||Ne.current||Bt?(typeof v=="function"&&(ea(t,n,v,r),y=t.memoizedState),(s=Bt||Hc(t,n,s,r,p,y,u)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=u,r=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return va(e,t,n,r,i,o)}function va(e,t,n,r,o,i){Ef(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Tc(t,n,!1),Et(e,t,i);r=t.stateNode,K0.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Fn(t,e.child,null,i),t.child=Fn(t,null,a,i)):Se(e,t,a,i),t.memoizedState=r.state,o&&Tc(t,n,!0),t.child}function kf(e){var t=e.stateNode;t.pendingContext?kc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kc(e,t.context,!1),na(e,t.containerInfo)}function xf(e,t,n,r,o){return zn(),Zl(o),t.flags|=256,Se(e,t,n,r),t.child}var ya={dehydrated:null,treeContext:null,retryLane:0};function wa(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tf(e,t,n){var r=t.pendingProps,o=Q.current,i=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),j(Q,o&1),e===null)return Xl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=li(l,r,0,null),e=dn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=wa(n),t.memoizedState=ya,e):Ea(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Y0(e,t,l,r,a,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=$t(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=$t(a,i):(i=dn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?wa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=ya,r}return i=e.child,e=i.sibling,r=$t(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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=li({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zo(e,t,n,r){return r!==null&&Zl(r),Fn(t,e.child,null,n),e=Ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y0(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=ha(Error(T(422))),Zo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=li({mode:"visible",children:r.children},o,0,null),i=dn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Fn(t,e.child,null,l),t.child.memoizedState=wa(l),t.memoizedState=ya,i);if((t.mode&1)===0)return Zo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(T(419)),r=ha(i,r,void 0),Zo(e,t,l,r)}if(a=(l&e.childLanes)!==0,Ce||a){if(r=ae,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,yt(e,o),qe(r,e,o,-1))}return Ha(),r=ha(Error(T(421))),Zo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=cm.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ze=At(o.nextSibling),He=t,Z=!0,Qe=null,e!==null&&(be[Fe++]=gt,be[Fe++]=vt,be[Fe++]=nn,gt=e.id,vt=e.overflow,nn=t),t=Ea(t,r.children),t.flags|=4096,t)}function Nf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Yl(e.return,t,n)}function Sa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Rf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Se(e,t,r.children,n),r=Q.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Nf(e,n,t);else if(e.tag===19)Nf(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(j(Q,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Uo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Sa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Uo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Sa(t,!0,n,null,i);break;case"together":Sa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wo(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=$t(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$t(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function J0(e,t,n){switch(t.tag){case 3:kf(t),zn();break;case 5:jc(t);break;case 1:Re(t.type)&&Lo(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;j(Do,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(j(Q,Q.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Tf(e,t,n):(j(Q,Q.current&1),e=Et(e,t,n),e!==null?e.sibling:null);j(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Rf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),j(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,wf(e,t,n)}return Et(e,t,n)}var Cf,ka,Mf,Pf;Cf=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}},ka=function(){},Mf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ln(ot.current);var i=null;switch(n){case"input":o=Yi(e,o),r=Yi(e,r),i=[];break;case"select":o=W({},o,{value:void 0}),r=W({},r,{value:void 0}),i=[];break;case"textarea":o=el(e,o),r=el(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Co)}nl(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(qn.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(i||(i=[]),i.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(qn.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&G("scroll",e),i||a===u||(i=[])):(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Pf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Dr(e,t){if(!Z)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 he(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function q0(e,t,n){var r=t.pendingProps;switch(Gl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return he(t),null;case 1:return Re(t.type)&&Po(),he(t),null;case 3:return r=t.stateNode,Un(),$(Ne),$(de),ia(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ao(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qe!==null&&(Oa(Qe),Qe=null))),ka(e,t),he(t),null;case 5:ra(t);var o=ln(Lr.current);if(n=t.type,e!==null&&t.stateNode!=null)Mf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return he(t),null}if(e=ln(ot.current),Ao(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[rt]=t,r[Nr]=i,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(o=0;o<kr.length;o++)G(kr[o],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":as(r,i),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},G("invalid",r);break;case"textarea":cs(r,i),G("invalid",r)}nl(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var a=i[l];l==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ro(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ro(r.textContent,a,e),o=["children",""+a]):qn.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&G("scroll",r)}switch(n){case"input":no(r),ss(r,i,!0);break;case"textarea":no(r),ds(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Co)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ps(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[rt]=t,e[Nr]=r,Cf(e,t,!1,!1),t.stateNode=e;e:{switch(l=rl(n,r),n){case"dialog":G("cancel",e),G("close",e),o=r;break;case"iframe":case"object":case"embed":G("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)G(kr[o],e);o=r;break;case"source":G("error",e),o=r;break;case"img":case"image":case"link":G("error",e),G("load",e),o=r;break;case"details":G("toggle",e),o=r;break;case"input":as(e,r),o=Yi(e,r),G("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=W({},r,{value:void 0}),G("invalid",e);break;case"textarea":cs(e,r),o=el(e,r),G("invalid",e);break;default:o=r}nl(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];i==="style"?gs(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&hs(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&rr(e,u):typeof u=="number"&&rr(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(qn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&G("scroll",e):u!=null&&Fi(e,i,u,l))}switch(n){case"input":no(e),ss(e,r,!1);break;case"textarea":no(e),ds(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ct(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?kn(e,!!r.multiple,i,!1):r.defaultValue!=null&&kn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Co)}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 he(t),null;case 6:if(e&&t.stateNode!=null)Pf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=ln(Lr.current),ln(ot.current),Ao(t)){if(r=t.stateNode,n=t.memoizedProps,r[rt]=t,(i=r.nodeValue!==n)&&(e=He,e!==null))switch(e.tag){case 3:Ro(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ro(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rt]=t,t.stateNode=r}return he(t),null;case 13:if($(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Z&&ze!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Lc(),zn(),t.flags|=98560,i=!1;else if(i=Ao(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[rt]=t}else zn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;he(t),i=!1}else Qe!==null&&(Oa(Qe),Qe=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Q.current&1)!==0?oe===0&&(oe=3):Ha())),t.updateQueue!==null&&(t.flags|=4),he(t),null);case 4:return Un(),ka(e,t),e===null&&xr(t.stateNode.containerInfo),he(t),null;case 10:return Kl(t.type._context),he(t),null;case 17:return Re(t.type)&&Po(),he(t),null;case 19:if($(Q),i=t.memoizedState,i===null)return he(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Dr(i,!1);else{if(oe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Uo(e),l!==null){for(t.flags|=128,Dr(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return j(Q,Q.current&1|2),t.child}e=e.sibling}i.tail!==null&&q()>$n&&(t.flags|=128,r=!0,Dr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Uo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Dr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Z)return he(t),null}else 2*q()-i.renderingStartTime>$n&&n!==1073741824&&(t.flags|=128,r=!0,Dr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=q(),t.sibling=null,n=Q.current,j(Q,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Da(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Be&1073741824)!==0&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function em(e,t){switch(Gl(t),t.tag){case 1:return Re(t.type)&&Po(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Un(),$(Ne),$(de),ia(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ra(t),null;case 13:if($(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));zn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(Q),null;case 4:return Un(),null;case 10:return Kl(t.type._context),null;case 22:case 23:return Da(),null;case 24:return null;default:return null}}var Qo=!1,me=!1,tm=typeof WeakSet=="function"?WeakSet:Set,M=null;function Vn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function xa(e,t,n){try{n()}catch(r){J(e,t,r)}}var Lf=!1;function nm(e,t){if(Dl=mo,e=lc(),Cl(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,f=0,m=e,p=null;t:for(;;){for(var v;m!==n||o!==0&&m.nodeType!==3||(a=l+o),m!==i||r!==0&&m.nodeType!==3||(u=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(v=m.firstChild)!==null;)p=m,m=v;for(;;){if(m===e)break t;if(p===n&&++s===o&&(a=l),p===i&&++f===r&&(u=l),(v=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hl={focusedElem:e,selectionRange:n},mo=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ke(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(E){J(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return y=Lf,Lf=!1,y}function Hr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&xa(t,n,i)}o=o.next}while(o!==r)}}function Ko(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 Ta(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 If(e){var t=e.alternate;t!==null&&(e.alternate=null,If(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Nr],delete t[Fl],delete t[B0],delete t[b0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _f(e){return e.tag===5||e.tag===3||e.tag===4}function Of(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_f(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Na(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=Co));else if(r!==4&&(e=e.child,e!==null))for(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}function Ra(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(Ra(e,t,n),e=e.sibling;e!==null;)Ra(e,t,n),e=e.sibling}var ce=null,Ye=!1;function Ft(e,t,n){for(n=n.child;n!==null;)Af(e,t,n),n=n.sibling}function Af(e,t,n){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(uo,n)}catch{}switch(n.tag){case 5:me||Vn(n,t);case 6:var r=ce,o=Ye;ce=null,Ft(e,t,n),ce=r,Ye=o,ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ce.removeChild(n.stateNode));break;case 18:ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?bl(e.parentNode,n):e.nodeType===1&&bl(e,n),hr(e)):bl(ce,n.stateNode));break;case 4:r=ce,o=Ye,ce=n.stateNode.containerInfo,Ye=!0,Ft(e,t,n),ce=r,Ye=o;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&xa(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!me&&(Vn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,Ft(e,t,n),me=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Df(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tm),t.forEach(function(r){var o=fm.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Je(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:ce=a.stateNode,Ye=!1;break e;case 3:ce=a.stateNode.containerInfo,Ye=!0;break e;case 4:ce=a.stateNode.containerInfo,Ye=!0;break e}a=a.return}if(ce===null)throw Error(T(160));Af(i,l,o),ce=null,Ye=!1;var u=o.alternate;u!==null&&(u.return=null),o.return=null}catch(s){J(o,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Hf(t,e),t=t.sibling}function Hf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Je(t,e),lt(e),r&4){try{Hr(3,e,e.return),Ko(3,e)}catch(w){J(e,e.return,w)}try{Hr(5,e,e.return)}catch(w){J(e,e.return,w)}}break;case 1:Je(t,e),lt(e),r&512&&n!==null&&Vn(n,n.return);break;case 5:if(Je(t,e),lt(e),r&512&&n!==null&&Vn(n,n.return),e.flags&32){var o=e.stateNode;try{rr(o,"")}catch(w){J(e,e.return,w)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&us(o,i),rl(a,l);var s=rl(a,i);for(l=0;l<u.length;l+=2){var f=u[l],m=u[l+1];f==="style"?gs(o,m):f==="dangerouslySetInnerHTML"?hs(o,m):f==="children"?rr(o,m):Fi(o,f,m,s)}switch(a){case"input":Ji(o,i);break;case"textarea":fs(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?kn(o,!!i.multiple,v,!1):p!==!!i.multiple&&(i.defaultValue!=null?kn(o,!!i.multiple,i.defaultValue,!0):kn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Nr]=i}catch(w){J(e,e.return,w)}}break;case 6:if(Je(t,e),lt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(w){J(e,e.return,w)}}break;case 3:if(Je(t,e),lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{hr(t.containerInfo)}catch(w){J(e,e.return,w)}break;case 4:Je(t,e),lt(e);break;case 13:Je(t,e),lt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Pa=q())),r&4&&Df(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(me=(s=me)||f,Je(t,e),me=s):Je(t,e),lt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!f&&(e.mode&1)!==0)for(M=e,f=e.child;f!==null;){for(m=M=f;M!==null;){switch(p=M,v=p.child,p.tag){case 0:case 11:case 14:case 15:Hr(4,p,p.return);break;case 1:Vn(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(w){J(r,n,w)}}break;case 5:Vn(p,p.return);break;case 22:if(p.memoizedState!==null){bf(m);continue}}v!==null?(v.return=p,M=v):bf(m)}f=f.sibling}e:for(f=null,m=e;;){if(m.tag===5){if(f===null){f=m;try{o=m.stateNode,s?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=m.stateNode,u=m.memoizedProps.style,l=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=ms("display",l))}catch(w){J(e,e.return,w)}}}else if(m.tag===6){if(f===null)try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(w){J(e,e.return,w)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Je(t,e),lt(e),r&4&&Df(e);break;case 21:break;default:Je(t,e),lt(e)}}function lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(_f(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(rr(o,""),r.flags&=-33);var i=Of(e);Ra(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,a=Of(e);Na(e,a,l);break;default:throw Error(T(161))}}catch(u){J(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rm(e,t,n){M=e,zf(e)}function zf(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var o=M,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||Qo;if(!l){var a=o.alternate,u=a!==null&&a.memoizedState!==null||me;a=Qo;var s=me;if(Qo=l,(me=u)&&!s)for(M=o;M!==null;)l=M,u=l.child,l.tag===22&&l.memoizedState!==null?Ff(o):u!==null?(u.return=l,M=u):Ff(o);for(;i!==null;)M=i,zf(i),i=i.sibling;M=o,Qo=a,me=s}Bf(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,M=i):Bf(e)}}function Bf(e){for(;M!==null;){var t=M;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:me||Ko(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!me)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ke(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ac(t,i,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}Ac(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var f=s.memoizedState;if(f!==null){var m=f.dehydrated;m!==null&&hr(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}me||t.flags&512&&Ta(t)}catch(p){J(t,t.return,p)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function bf(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function Ff(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ko(4,t)}catch(u){J(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(u){J(t,o,u)}}var i=t.return;try{Ta(t)}catch(u){J(t,i,u)}break;case 5:var l=t.return;try{Ta(t)}catch(u){J(t,l,u)}}}catch(u){J(t,t.return,u)}if(t===e){M=null;break}var a=t.sibling;if(a!==null){a.return=t.return,M=a;break}M=t.return}}var om=Math.ceil,Yo=pt.ReactCurrentDispatcher,Ca=pt.ReactCurrentOwner,Ve=pt.ReactCurrentBatchConfig,z=0,ae=null,te=null,fe=0,Be=0,Gn=Dt(0),oe=0,zr=null,un=0,Jo=0,Ma=0,Br=null,Me=null,Pa=0,$n=1/0,St=null,qo=!1,La=null,Ut=null,ei=!1,jt=null,ti=0,br=0,Ia=null,ni=-1,ri=0;function ke(){return(z&6)!==0?q():ni!==-1?ni:ni=q()}function Vt(e){return(e.mode&1)===0?1:(z&2)!==0&&fe!==0?fe&-fe:U0.transition!==null?(ri===0&&(ri=Is()),ri):(e=F,e!==0||(e=window.event,e=e===void 0?16:Fs(e.type)),e)}function qe(e,t,n,r){if(50<br)throw br=0,Ia=null,Error(T(185));sr(e,n,r),((z&2)===0||e!==ae)&&(e===ae&&((z&2)===0&&(Jo|=n),oe===4&&Gt(e,fe)),Pe(e,r),n===1&&z===0&&(t.mode&1)===0&&($n=q()+500,Io&&zt()))}function Pe(e,t){var n=e.callbackNode;Uh(e,t);var r=fo(e,e===ae?fe:0);if(r===0)n!==null&&Ms(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ms(n),t===1)e.tag===0?F0(jf.bind(null,e)):Nc(jf.bind(null,e)),H0(function(){(z&6)===0&&zt()}),n=null;else{switch(_s(r)){case 1:n=cl;break;case 4:n=Ps;break;case 16:n=ao;break;case 536870912:n=Ls;break;default:n=ao}n=Kf(n,Uf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Uf(e,t){if(ni=-1,ri=0,(z&6)!==0)throw Error(T(327));var n=e.callbackNode;if(Xn()&&e.callbackNode!==n)return null;var r=fo(e,e===ae?fe:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=oi(e,r);else{t=r;var o=z;z|=2;var i=Gf();(ae!==e||fe!==t)&&(St=null,$n=q()+500,cn(e,t));do try{am();break}catch(a){Vf(e,a)}while(1);Ql(),Yo.current=i,z=o,te!==null?t=0:(ae=null,fe=0,t=oe)}if(t!==0){if(t===2&&(o=fl(e),o!==0&&(r=o,t=_a(e,o))),t===1)throw n=zr,cn(e,0),Gt(e,r),Pe(e,q()),n;if(t===6)Gt(e,r);else{if(o=e.current.alternate,(r&30)===0&&!im(o)&&(t=oi(e,r),t===2&&(i=fl(e),i!==0&&(r=i,t=_a(e,i))),t===1))throw n=zr,cn(e,0),Gt(e,r),Pe(e,q()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:fn(e,Me,St);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=Pa+500-q(),10<t)){if(fo(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ke(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Bl(fn.bind(null,e,Me,St),t);break}fn(e,Me,St);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Ze(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*om(r/1960))-r,10<r){e.timeoutHandle=Bl(fn.bind(null,e,Me,St),r);break}fn(e,Me,St);break;case 5:fn(e,Me,St);break;default:throw Error(T(329))}}}return Pe(e,q()),e.callbackNode===n?Uf.bind(null,e):null}function _a(e,t){var n=Br;return e.current.memoizedState.isDehydrated&&(cn(e,t).flags|=256),e=oi(e,t),e!==2&&(t=Me,Me=n,t!==null&&Oa(t)),e}function Oa(e){Me===null?Me=e:Me.push.apply(Me,e)}function im(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 o=n[r],i=o.getSnapshot;o=o.value;try{if(!We(i(),o))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 Gt(e,t){for(t&=~Ma,t&=~Jo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ze(t),r=1<<n;e[n]=-1,t&=~r}}function jf(e){if((z&6)!==0)throw Error(T(327));Xn();var t=fo(e,0);if((t&1)===0)return Pe(e,q()),null;var n=oi(e,t);if(e.tag!==0&&n===2){var r=fl(e);r!==0&&(t=r,n=_a(e,r))}if(n===1)throw n=zr,cn(e,0),Gt(e,t),Pe(e,q()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fn(e,Me,St),Pe(e,q()),null}function Aa(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&($n=q()+500,Io&&zt())}}function sn(e){jt!==null&&jt.tag===0&&(z&6)===0&&Xn();var t=z;z|=1;var n=Ve.transition,r=F;try{if(Ve.transition=null,F=1,e)return e()}finally{F=r,Ve.transition=n,z=t,(z&6)===0&&zt()}}function Da(){Be=Gn.current,$(Gn)}function cn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,D0(n)),te!==null)for(n=te.return;n!==null;){var r=n;switch(Gl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Po();break;case 3:Un(),$(Ne),$(de),ia();break;case 5:ra(r);break;case 4:Un();break;case 13:$(Q);break;case 19:$(Q);break;case 10:Kl(r.type._context);break;case 22:case 23:Da()}n=n.return}if(ae=e,te=e=$t(e.current,null),fe=Be=t,oe=0,zr=null,Ma=Jo=un=0,Me=Br=null,on!==null){for(t=0;t<on.length;t++)if(n=on[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}on=null}return e}function Vf(e,t){do{var n=te;try{if(Ql(),jo.current=Xo,Vo){for(var r=K.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Vo=!1}if(an=0,le=re=K=null,Ir=!1,_r=0,Ca.current=null,n===null||n.return===null){oe=1,zr=t,te=null;break}e:{var i=e,l=n.return,a=n,u=t;if(t=fe,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=u,f=a,m=f.tag;if((f.mode&1)===0&&(m===0||m===11||m===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=hf(l);if(v!==null){v.flags&=-257,mf(v,l,a,i,t),v.mode&1&&pf(i,s,t),t=v,u=s;var y=t.updateQueue;if(y===null){var w=new Set;w.add(u),t.updateQueue=w}else y.add(u);break e}else{if((t&1)===0){pf(i,s,t),Ha();break e}u=Error(T(426))}}else if(Z&&a.mode&1){var N=hf(l);if(N!==null){(N.flags&65536)===0&&(N.flags|=256),mf(N,l,a,i,t),Zl(jn(u,a));break e}}i=u=jn(u,a),oe!==4&&(oe=2),Br===null?Br=[i]:Br.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=ff(i,u,t);Oc(i,h);break e;case 1:a=u;var c=i.type,d=i.stateNode;if((i.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ut===null||!Ut.has(d)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=df(i,a,t);Oc(i,E);break e}}i=i.return}while(i!==null)}Xf(n)}catch(g){t=g,te===n&&n!==null&&(te=n=n.return);continue}break}while(1)}function Gf(){var e=Yo.current;return Yo.current=Xo,e===null?Xo:e}function Ha(){(oe===0||oe===3||oe===2)&&(oe=4),ae===null||(un&268435455)===0&&(Jo&268435455)===0||Gt(ae,fe)}function oi(e,t){var n=z;z|=2;var r=Gf();(ae!==e||fe!==t)&&(St=null,cn(e,t));do try{lm();break}catch(o){Vf(e,o)}while(1);if(Ql(),z=n,Yo.current=r,te!==null)throw Error(T(261));return ae=null,fe=0,oe}function lm(){for(;te!==null;)$f(te)}function am(){for(;te!==null&&!_h();)$f(te)}function $f(e){var t=Qf(e.alternate,e,Be);e.memoizedProps=e.pendingProps,t===null?Xf(e):te=t,Ca.current=null}function Xf(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=q0(n,t,Be),n!==null){te=n;return}}else{if(n=em(n,t),n!==null){n.flags&=32767,te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{oe=6,te=null;return}}if(t=t.sibling,t!==null){te=t;return}te=t=e}while(t!==null);oe===0&&(oe=5)}function fn(e,t,n){var r=F,o=Ve.transition;try{Ve.transition=null,F=1,um(e,t,n,r)}finally{Ve.transition=o,F=r}return null}function um(e,t,n,r){do Xn();while(jt!==null);if((z&6)!==0)throw Error(T(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(jh(e,i),e===ae&&(te=ae=null,fe=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ei||(ei=!0,Kf(ao,function(){return Xn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=Ve.transition,Ve.transition=null;var l=F;F=1;var a=z;z|=4,Ca.current=null,nm(e,n),Hf(n,e),M0(Hl),mo=!!Dl,Hl=Dl=null,e.current=n,rm(n),Oh(),z=a,F=l,Ve.transition=i}else e.current=n;if(ei&&(ei=!1,jt=e,ti=o),i=e.pendingLanes,i===0&&(Ut=null),Hh(n.stateNode),Pe(e,q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qo)throw qo=!1,e=La,La=null,e;return(ti&1)!==0&&e.tag!==0&&Xn(),i=e.pendingLanes,(i&1)!==0?e===Ia?br++:(br=0,Ia=e):br=0,zt(),null}function Xn(){if(jt!==null){var e=_s(ti),t=Ve.transition,n=F;try{if(Ve.transition=null,F=16>e?16:e,jt===null)var r=!1;else{if(e=jt,jt=null,ti=0,(z&6)!==0)throw Error(T(331));var o=z;for(z|=4,M=e.current;M!==null;){var i=M,l=i.child;if((M.flags&16)!==0){var a=i.deletions;if(a!==null){for(var u=0;u<a.length;u++){var s=a[u];for(M=s;M!==null;){var f=M;switch(f.tag){case 0:case 11:case 15:Hr(8,f,i)}var m=f.child;if(m!==null)m.return=f,M=m;else for(;M!==null;){f=M;var p=f.sibling,v=f.return;if(If(f),f===s){M=null;break}if(p!==null){p.return=v,M=p;break}M=v}}}var y=i.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var N=w.sibling;w.sibling=null,w=N}while(w!==null)}}M=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,M=l;else e:for(;M!==null;){if(i=M,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Hr(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,M=h;break e}M=i.return}}var c=e.current;for(M=c;M!==null;){l=M;var d=l.child;if((l.subtreeFlags&2064)!==0&&d!==null)d.return=l,M=d;else e:for(l=c;M!==null;){if(a=M,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Ko(9,a)}}catch(g){J(a,a.return,g)}if(a===l){M=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,M=E;break e}M=a.return}}if(z=o,zt(),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(uo,e)}catch{}r=!0}return r}finally{F=n,Ve.transition=t}}return!1}function Zf(e,t,n){t=jn(n,t),t=ff(e,t,1),e=bt(e,t,1),t=ke(),e!==null&&(sr(e,1,t),Pe(e,t))}function J(e,t,n){if(e.tag===3)Zf(e,e,n);else for(;t!==null;){if(t.tag===3){Zf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ut===null||!Ut.has(r))){e=jn(n,e),e=df(t,e,1),t=bt(t,e,1),e=ke(),t!==null&&(sr(t,1,e),Pe(t,e));break}}t=t.return}}function sm(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ke(),e.pingedLanes|=e.suspendedLanes&n,ae===e&&(fe&n)===n&&(oe===4||oe===3&&(fe&130023424)===fe&&500>q()-Pa?cn(e,0):Ma|=n),Pe(e,t)}function Wf(e,t){t===0&&((e.mode&1)===0?t=1:(t=co,co<<=1,(co&130023424)===0&&(co=4194304)));var n=ke();e=yt(e,t),e!==null&&(sr(e,t,n),Pe(e,n))}function cm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wf(e,n)}function fm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Wf(e,n)}var Qf;Qf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Ce=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ce=!1,J0(e,t,n);Ce=(e.flags&131072)!==0}else Ce=!1,Z&&(t.flags&1048576)!==0&&Rc(t,Oo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wo(e,t),e=t.pendingProps;var o=An(t,de.current);bn(t,n),o=ua(null,t,r,e,o,n);var i=sa();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Lo(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ql(t),o.updater=bo,t.stateNode=o,o._reactInternals=t,ta(t,r,e,n),t=va(null,t,r,!0,i,n)):(t.tag=0,Z&&i&&Vl(t),Se(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=pm(r),e=Ke(r,e),o){case 0:t=ga(null,t,r,e,n);break e;case 1:t=Sf(null,t,r,e,n);break e;case 11:t=gf(null,t,r,e,n);break e;case 14:t=vf(null,t,r,Ke(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),ga(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),Sf(e,t,r,o,n);case 3:e:{if(kf(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,_c(e,t),Bo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=jn(Error(T(423)),t),t=xf(e,t,r,n,o);break e}else if(r!==o){o=jn(Error(T(424)),t),t=xf(e,t,r,n,o);break e}else for(ze=At(t.stateNode.containerInfo.firstChild),He=t,Z=!0,Qe=null,n=Uc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(zn(),r===o){t=Et(e,t,n);break e}Se(e,t,r,n)}t=t.child}return t;case 5:return jc(t),e===null&&Xl(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,zl(r,o)?l=null:i!==null&&zl(r,i)&&(t.flags|=32),Ef(e,t),Se(e,t,l,n),t.child;case 6:return e===null&&Xl(t),null;case 13:return Tf(e,t,n);case 4:return na(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):Se(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),gf(e,t,r,o,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,o=t.pendingProps,i=t.memoizedProps,l=o.value,j(Do,r._currentValue),r._currentValue=l,i!==null)if(We(i.value,l)){if(i.children===o.children&&!Ne.current){t=Et(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=wt(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Yl(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(T(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Yl(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Se(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,bn(t,n),o=Ue(o),r=r(o),t.flags|=1,Se(e,t,r,n),t.child;case 14:return r=t.type,o=Ke(r,t.pendingProps),o=Ke(r.type,o),vf(e,t,r,o,n);case 15:return yf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),Wo(e,t),t.tag=1,Re(r)?(e=!0,Lo(t)):e=!1,bn(t,n),zc(t,r,o),ta(t,r,o,n),va(null,t,r,!0,e,n);case 19:return Rf(e,t,n);case 22:return wf(e,t,n)}throw Error(T(156,t.tag))};function Kf(e,t){return Cs(e,t)}function dm(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 Ge(e,t,n,r){return new dm(e,t,n,r)}function za(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pm(e){if(typeof e=="function")return za(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vi)return 11;if(e===Xi)return 14}return 2}function $t(e,t){var n=e.alternate;return n===null?(n=Ge(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 ii(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")za(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Sn:return dn(n.children,o,i,t);case Ui:l=8,o|=8;break;case ji:return e=Ge(12,n,t,o|2),e.elementType=ji,e.lanes=i,e;case Gi:return e=Ge(13,n,t,o),e.elementType=Gi,e.lanes=i,e;case $i:return e=Ge(19,n,t,o),e.elementType=$i,e.lanes=i,e;case rs:return li(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ts:l=10;break e;case ns:l=9;break e;case Vi:l=11;break e;case Xi:l=14;break e;case Rt:l=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Ge(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function dn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function li(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=rs,e.lanes=n,e.stateNode={isHidden:!1},e}function Ba(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function ba(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hm(e,t,n,r,o){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=dl(0),this.expirationTimes=dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fa(e,t,n,r,o,i,l,a,u){return e=new hm(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ge(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(i),e}function mm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:En,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Yf(e){if(!e)return Ht;e=e._reactInternals;e:{if(qt(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Re(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Re(n))return xc(e,n,t)}return t}function Jf(e,t,n,r,o,i,l,a,u){return e=Fa(n,r,!0,e,o,i,l,a,u),e.context=Yf(null),n=e.current,r=ke(),o=Vt(n),i=wt(r,o),i.callback=t!=null?t:null,bt(n,i,o),e.current.lanes=o,sr(e,o,r),Pe(e,r),e}function ai(e,t,n,r){var o=t.current,i=ke(),l=Vt(o);return n=Yf(n),t.context===null?t.context=n:t.pendingContext=n,t=wt(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=bt(o,t,l),e!==null&&(qe(e,o,l,i),zo(e,o,l)),l}function ui(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 qf(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){qf(e,t),(e=e.alternate)&&qf(e,t)}function gm(){return null}var ed=typeof reportError=="function"?reportError:function(e){console.error(e)};function ja(e){this._internalRoot=e}si.prototype.render=ja.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));ai(e,t,null,null)},si.prototype.unmount=ja.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){ai(null,e,null,null)}),t[ht]=null}};function si(e){this._internalRoot=e}si.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ds();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&t!==0&&t<It[n].priority;n++);It.splice(n,0,e),n===0&&Bs(e)}};function Va(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ci(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function td(){}function vm(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var s=ui(l);i.call(s)}}var l=Jf(t,r,e,0,null,!1,!1,"",td);return e._reactRootContainer=l,e[ht]=l.current,xr(e.nodeType===8?e.parentNode:e),sn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var s=ui(u);a.call(s)}}var u=Fa(e,0,!1,null,null,!1,!1,"",td);return e._reactRootContainer=u,e[ht]=u.current,xr(e.nodeType===8?e.parentNode:e),sn(function(){ai(t,u,n,r)}),u}function fi(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var a=o;o=function(){var u=ui(l);a.call(u)}}ai(t,l,e,o)}else l=vm(n,t,e,o,r);return ui(l)}Os=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ur(t.pendingLanes);n!==0&&(pl(t,n|1),Pe(t,q()),(z&6)===0&&($n=q()+500,zt()))}break;case 13:sn(function(){var r=yt(e,1);if(r!==null){var o=ke();qe(r,e,1,o)}}),Ua(e,1)}},hl=function(e){if(e.tag===13){var t=yt(e,134217728);if(t!==null){var n=ke();qe(t,e,134217728,n)}Ua(e,134217728)}},As=function(e){if(e.tag===13){var t=Vt(e),n=yt(e,t);if(n!==null){var r=ke();qe(n,e,t,r)}Ua(e,t)}},Ds=function(){return F},Hs=function(e,t){var n=F;try{return F=e,t()}finally{F=n}},ll=function(e,t,n){switch(t){case"input":if(Ji(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 o=Mo(r);if(!o)throw Error(T(90));ls(r),Ji(r,o)}}}break;case"textarea":fs(e,n);break;case"select":t=n.value,t!=null&&kn(e,!!n.multiple,t,!1)}},Es=Aa,Ss=sn;var ym={usingClientEntryPoint:!1,Events:[Rr,_n,Mo,ys,ws,Aa]},Fr={findFiberByHostInstance:en,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},wm={bundleType:Fr.bundleType,version:Fr.version,rendererPackageName:Fr.rendererPackageName,rendererConfig:Fr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ns(e),e===null?null:e.stateNode},findFiberByHostInstance:Fr.findFiberByHostInstance||gm,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 di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!di.isDisabled&&di.supportsFiber)try{uo=di.inject(wm),nt=di}catch{}}Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ym,Oe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Va(t))throw Error(T(200));return mm(e,t,null,n)},Oe.createRoot=function(e,t){if(!Va(e))throw Error(T(299));var n=!1,r="",o=ed;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Fa(e,1,!1,null,null,n,!1,r,o),e[ht]=t.current,xr(e.nodeType===8?e.parentNode:e),new ja(t)},Oe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Ns(t),e=e===null?null:e.stateNode,e},Oe.flushSync=function(e){return sn(e)},Oe.hydrate=function(e,t,n){if(!ci(t))throw Error(T(200));return fi(null,e,t,!0,n)},Oe.hydrateRoot=function(e,t,n){if(!Va(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=ed;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Jf(t,null,e,1,n!=null?n:null,o,!1,i,l),e[ht]=t.current,xr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new si(t)},Oe.render=function(e,t,n){if(!ci(t))throw Error(T(200));return fi(null,e,t,!1,n)},Oe.unmountComponentAtNode=function(e){if(!ci(e))throw Error(T(40));return e._reactRootContainer?(sn(function(){fi(null,null,e,!1,function(){e._reactRootContainer=null,e[ht]=null})}),!0):!1},Oe.unstable_batchedUpdates=Aa,Oe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ci(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return fi(e,t,n,!1,r)},Oe.version="18.2.0-next-9e3b772b8-20220608",function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Oe}(Hi);var Ga=function(e,t){return Ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Ga(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ga(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},L.apply(this,arguments)};function $a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function at(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Xa={exports:{}},b={};/** @license React v16.13.1
40
+ `+i.stack}return{value:e,source:t,stack:o,digest:null}}function du(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function pu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $m=typeof WeakMap=="function"?WeakMap:Map;function af(e,t,n){n=wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Yo||(Yo=!0,Pu=r),pu(e,t)},n}function sf(e,t,n){n=wt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){pu(e,t),typeof r!="function"&&(Ut===null?Ut=new Set([this]):Ut.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function cf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $m;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=l0.bind(null,e,t,n),t.then(e,e))}function ff(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 df(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wt(-1,1),t.tag=2,Ft(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Zm=pt.ReactCurrentOwner,Re=!1;function Se(e,t,n,r){t.child=e===null?zc(t,null,n,r):Fn(t,e.child,n,r)}function pf(e,t,n,r,o){n=n.render;var i=t.ref;return zn(t,o),r=lu(e,t,n,r,i,o),n=uu(),e!==null&&!Re?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&n&&Ul(t),t.flags|=1,Se(e,t,r,o),t.child)}function hf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Au(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,mf(e,t,i,r,o)):(e=ri(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Er,n(l,r)&&e.ref===t.ref)return Et(e,t,o)}return t.flags|=1,e=Xt(i,r),e.ref=t.ref,e.return=t,t.child=e}function mf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Er(i,r)&&e.ref===t.ref)if(Re=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Re=!0);else return t.lanes=e.lanes,Et(e,t,o)}return hu(e,t,n,r,o)}function vf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Vn,ze),ze|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Vn,ze),ze|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,V(Vn,ze),ze|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,V(Vn,ze),ze|=r;return Se(e,t,o,n),t.child}function gf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function hu(e,t,n,r,o){var i=Ce(n)?tn:de.current;return i=On(t,i),zn(t,o),n=lu(e,t,n,r,i,o),r=uu(),e!==null&&!Re?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&r&&Ul(t),t.flags|=1,Se(e,t,n,o),t.child)}function yf(e,t,n,r,o){if(Ce(n)){var i=!0;Po(t)}else i=!1;if(zn(t,o),t.stateNode===null)$o(e,t),Dc(t,n,r),ql(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var a=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Ue(s):(s=Ce(n)?tn:de.current,s=On(t,s));var f=n.getDerivedStateFromProps,m=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||a!==s)&&Ac(t,l,r,s),zt=!1;var p=t.memoizedState;l.state=p,Ho(t,r,l,o),a=t.memoizedState,u!==r||p!==a||Ne.current||zt?(typeof f=="function"&&(Jl(t,n,f,r),a=t.memoizedState),(u=zt||Oc(t,n,u,r,p,a,s))?(m||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=s,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Mc(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:Ke(t.type,u),l.props=s,m=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ue(a):(a=Ce(n)?tn:de.current,a=On(t,a));var g=n.getDerivedStateFromProps;(f=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==m||p!==a)&&Ac(t,l,r,a),zt=!1,p=t.memoizedState,l.state=p,Ho(t,r,l,o);var y=t.memoizedState;u!==m||p!==y||Ne.current||zt?(typeof g=="function"&&(Jl(t,n,g,r),y=t.memoizedState),(s=zt||Oc(t,n,s,r,p,y,a)||!1)?(f||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"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=s):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return mu(e,t,n,r,i,o)}function mu(e,t,n,r,o,i){gf(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Sc(t,n,!1),Et(e,t,i);r=t.stateNode,Zm.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Fn(t,e.child,null,i),t.child=Fn(t,null,u,i)):Se(e,t,u,i),t.memoizedState=r.state,o&&Sc(t,n,!0),t.child}function wf(e){var t=e.stateNode;t.pendingContext?wc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wc(e,t.context,!1),eu(e,t.containerInfo)}function Ef(e,t,n,r,o){return Hn(),Xl(o),t.flags|=256,Se(e,t,n,r),t.child}var vu={dehydrated:null,treeContext:null,retryLane:0};function gu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sf(e,t,n){var r=t.pendingProps,o=Q.current,i=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),V(Q,o&1),e===null)return Gl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=oi(l,r,0,null),e=dn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=gu(n),t.memoizedState=vu,e):yu(t,l));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return Wm(e,t,l,r,u,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,u=o.sibling;var a={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Xt(o,a),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?i=Xt(u,i):(i=dn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?gu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=vu,r}return i=e.child,e=i.sibling,r=Xt(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 yu(e,t){return t=oi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xo(e,t,n,r){return r!==null&&Xl(r),Fn(t,e.child,null,n),e=yu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Wm(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=du(Error(x(422))),Xo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=oi({mode:"visible",children:r.children},o,0,null),i=dn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Fn(t,e.child,null,l),t.child.memoizedState=gu(l),t.memoizedState=vu,i);if((t.mode&1)===0)return Xo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(x(419)),r=du(i,r,void 0),Xo(e,t,l,r)}if(u=(l&e.childLanes)!==0,Re||u){if(r=ue,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,yt(e,o),qe(r,e,o,-1))}return Du(),r=du(Error(x(421))),Xo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=u0.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Be=Dt(o.nextSibling),He=t,Z=!0,Qe=null,e!==null&&(Fe[be++]=vt,Fe[be++]=gt,Fe[be++]=nn,vt=e.id,gt=e.overflow,nn=t),t=yu(t,r.children),t.flags|=4096,t)}function kf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ql(e.return,t,n)}function wu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function xf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Se(e,t,r.children,n),r=Q.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kf(e,n,t);else if(e.tag===19)kf(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(V(Q,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Fo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),wu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Fo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}wu(t,!0,n,null,i);break;case"together":wu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $o(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),an|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(x(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Qm(e,t,n){switch(t.tag){case 3:wf(t),Hn();break;case 5:Fc(t);break;case 1:Ce(t.type)&&Po(t);break;case 4:eu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;V(Oo,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(Q,Q.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Sf(e,t,n):(V(Q,Q.current&1),e=Et(e,t,n),e!==null?e.sibling:null);V(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return xf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),V(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,vf(e,t,n)}return Et(e,t,n)}var Tf,Eu,Nf,Cf;Tf=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}},Eu=function(){},Nf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ln(ot.current);var i=null;switch(n){case"input":o=Qi(e,o),r=Qi(e,r),i=[];break;case"select":o=W({},o,{value:void 0}),r=W({},r,{value:void 0}),i=[];break;case"textarea":o=Ji(e,o),r=Ji(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=No)}el(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var u=o[s];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(qn.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(u=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(l in u)!u.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&u[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(i||(i=[]),i.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(qn.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&G("scroll",e),i||u===a||(i=[])):(i=i||[]).push(s,a))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Cf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ar(e,t){if(!Z)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 he(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Km(e,t,n){var r=t.pendingProps;switch(jl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return he(t),null;case 1:return Ce(t.type)&&Ro(),he(t),null;case 3:return r=t.stateNode,bn(),X(Ne),X(de),ru(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_o(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qe!==null&&(Iu(Qe),Qe=null))),Eu(e,t),he(t),null;case 5:tu(t);var o=ln(Lr.current);if(n=t.type,e!==null&&t.stateNode!=null)Nf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(x(166));return he(t),null}if(e=ln(ot.current),_o(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[rt]=t,r[Nr]=i,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(o=0;o<kr.length;o++)G(kr[o],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":os(r,i),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},G("invalid",r);break;case"textarea":us(r,i),G("invalid",r)}el(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var u=i[l];l==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&To(r.textContent,u,e),o=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&To(r.textContent,u,e),o=["children",""+u]):qn.hasOwnProperty(l)&&u!=null&&l==="onScroll"&&G("scroll",r)}switch(n){case"input":eo(r),ls(r,i,!0);break;case"textarea":eo(r),ss(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=No)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cs(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[rt]=t,e[Nr]=r,Tf(e,t,!1,!1),t.stateNode=e;e:{switch(l=tl(n,r),n){case"dialog":G("cancel",e),G("close",e),o=r;break;case"iframe":case"object":case"embed":G("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)G(kr[o],e);o=r;break;case"source":G("error",e),o=r;break;case"img":case"image":case"link":G("error",e),G("load",e),o=r;break;case"details":G("toggle",e),o=r;break;case"input":os(e,r),o=Qi(e,r),G("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=W({},r,{value:void 0}),G("invalid",e);break;case"textarea":us(e,r),o=Ji(e,r),G("invalid",e);break;default:o=r}el(n,o),u=o;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?ps(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&fs(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&rr(e,a):typeof a=="number"&&rr(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(qn.hasOwnProperty(i)?a!=null&&i==="onScroll"&&G("scroll",e):a!=null&&zi(e,i,a,l))}switch(n){case"input":eo(e),ls(e,r,!1);break;case"textarea":eo(e),ss(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Rt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Sn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Sn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=No)}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 he(t),null;case 6:if(e&&t.stateNode!=null)Cf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(x(166));if(n=ln(Lr.current),ln(ot.current),_o(t)){if(r=t.stateNode,n=t.memoizedProps,r[rt]=t,(i=r.nodeValue!==n)&&(e=He,e!==null))switch(e.tag){case 3:To(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&To(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rt]=t,t.stateNode=r}return he(t),null;case 13:if(X(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Z&&Be!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Rc(),Hn(),t.flags|=98560,i=!1;else if(i=_o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(x(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(x(317));i[rt]=t}else Hn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;he(t),i=!1}else Qe!==null&&(Iu(Qe),Qe=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Q.current&1)!==0?oe===0&&(oe=3):Du())),t.updateQueue!==null&&(t.flags|=4),he(t),null);case 4:return bn(),Eu(e,t),e===null&&xr(t.stateNode.containerInfo),he(t),null;case 10:return Wl(t.type._context),he(t),null;case 17:return Ce(t.type)&&Ro(),he(t),null;case 19:if(X(Q),i=t.memoizedState,i===null)return he(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Ar(i,!1);else{if(oe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Fo(e),l!==null){for(t.flags|=128,Ar(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return V(Q,Q.current&1|2),t.child}e=e.sibling}i.tail!==null&&q()>Gn&&(t.flags|=128,r=!0,Ar(i,!1),t.lanes=4194304)}else{if(!r)if(e=Fo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ar(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Z)return he(t),null}else 2*q()-i.renderingStartTime>Gn&&n!==1073741824&&(t.flags|=128,r=!0,Ar(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=q(),t.sibling=null,n=Q.current,V(Q,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Ou(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ze&1073741824)!==0&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Ym(e,t){switch(jl(t),t.tag){case 1:return Ce(t.type)&&Ro(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bn(),X(Ne),X(de),ru(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return tu(t),null;case 13:if(X(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(Q),null;case 4:return bn(),null;case 10:return Wl(t.type._context),null;case 22:case 23:return Ou(),null;case 24:return null;default:return null}}var Zo=!1,me=!1,Jm=typeof WeakSet=="function"?WeakSet:Set,P=null;function jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function Su(e,t,n){try{n()}catch(r){J(e,t,r)}}var Rf=!1;function qm(e,t){if(Ol=po,e=rc(),Nl(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,a=-1,s=0,f=0,m=e,p=null;t:for(;;){for(var g;m!==n||o!==0&&m.nodeType!==3||(u=l+o),m!==i||r!==0&&m.nodeType!==3||(a=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break t;if(p===n&&++s===o&&(u=l),p===i&&++f===r&&(a=l),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dl={focusedElem:e,selectionRange:n},po=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ke(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(E){J(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=Rf,Rf=!1,y}function Hr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Su(t,n,i)}o=o.next}while(o!==r)}}function Wo(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 ku(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 Pf(e){var t=e.alternate;t!==null&&(e.alternate=null,Pf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Nr],delete t[zl],delete t[Am],delete t[Hm])),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 Mf(e){return e.tag===5||e.tag===3||e.tag===4}function Lf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Mf(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 xu(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=No));else if(r!==4&&(e=e.child,e!==null))for(xu(e,t,n),e=e.sibling;e!==null;)xu(e,t,n),e=e.sibling}function Tu(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(Tu(e,t,n),e=e.sibling;e!==null;)Tu(e,t,n),e=e.sibling}var ce=null,Ye=!1;function bt(e,t,n){for(n=n.child;n!==null;)If(e,t,n),n=n.sibling}function If(e,t,n){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(lo,n)}catch{}switch(n.tag){case 5:me||jn(n,t);case 6:var r=ce,o=Ye;ce=null,bt(e,t,n),ce=r,Ye=o,ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ce.removeChild(n.stateNode));break;case 18:ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),hr(e)):Bl(ce,n.stateNode));break;case 4:r=ce,o=Ye,ce=n.stateNode.containerInfo,Ye=!0,bt(e,t,n),ce=r,Ye=o;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&Su(n,t,l),o=o.next}while(o!==r)}bt(e,t,n);break;case 1:if(!me&&(jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){J(n,t,u)}bt(e,t,n);break;case 21:bt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,bt(e,t,n),me=r):bt(e,t,n);break;default:bt(e,t,n)}}function _f(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Jm),t.forEach(function(r){var o=a0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Je(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,u=l;e:for(;u!==null;){switch(u.tag){case 5:ce=u.stateNode,Ye=!1;break e;case 3:ce=u.stateNode.containerInfo,Ye=!0;break e;case 4:ce=u.stateNode.containerInfo,Ye=!0;break e}u=u.return}if(ce===null)throw Error(x(160));If(i,l,o),ce=null,Ye=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(s){J(o,t,s)}}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(Je(t,e),lt(e),r&4){try{Hr(3,e,e.return),Wo(3,e)}catch(w){J(e,e.return,w)}try{Hr(5,e,e.return)}catch(w){J(e,e.return,w)}}break;case 1:Je(t,e),lt(e),r&512&&n!==null&&jn(n,n.return);break;case 5:if(Je(t,e),lt(e),r&512&&n!==null&&jn(n,n.return),e.flags&32){var o=e.stateNode;try{rr(o,"")}catch(w){J(e,e.return,w)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&is(o,i),tl(u,l);var s=tl(u,i);for(l=0;l<a.length;l+=2){var f=a[l],m=a[l+1];f==="style"?ps(o,m):f==="dangerouslySetInnerHTML"?fs(o,m):f==="children"?rr(o,m):zi(o,f,m,s)}switch(u){case"input":Ki(o,i);break;case"textarea":as(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?Sn(o,!!i.multiple,g,!1):p!==!!i.multiple&&(i.defaultValue!=null?Sn(o,!!i.multiple,i.defaultValue,!0):Sn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Nr]=i}catch(w){J(e,e.return,w)}}break;case 6:if(Je(t,e),lt(e),r&4){if(e.stateNode===null)throw Error(x(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(w){J(e,e.return,w)}}break;case 3:if(Je(t,e),lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{hr(t.containerInfo)}catch(w){J(e,e.return,w)}break;case 4:Je(t,e),lt(e);break;case 13:Je(t,e),lt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Ru=q())),r&4&&_f(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(me=(s=me)||f,Je(t,e),me=s):Je(t,e),lt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!f&&(e.mode&1)!==0)for(P=e,f=e.child;f!==null;){for(m=P=f;P!==null;){switch(p=P,g=p.child,p.tag){case 0:case 11:case 14:case 15:Hr(4,p,p.return);break;case 1:jn(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(w){J(r,n,w)}}break;case 5:jn(p,p.return);break;case 22:if(p.memoizedState!==null){Hf(m);continue}}g!==null?(g.return=p,P=g):Hf(m)}f=f.sibling}e:for(f=null,m=e;;){if(m.tag===5){if(f===null){f=m;try{o=m.stateNode,s?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=m.stateNode,a=m.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=ds("display",l))}catch(w){J(e,e.return,w)}}}else if(m.tag===6){if(f===null)try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(w){J(e,e.return,w)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Je(t,e),lt(e),r&4&&_f(e);break;case 21:break;default:Je(t,e),lt(e)}}function lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Mf(n)){var r=n;break e}n=n.return}throw Error(x(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(rr(o,""),r.flags&=-33);var i=Lf(e);Tu(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,u=Lf(e);xu(e,u,l);break;default:throw Error(x(161))}}catch(a){J(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function e0(e,t,n){P=e,Df(e)}function Df(e,t,n){for(var r=(e.mode&1)!==0;P!==null;){var o=P,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||Zo;if(!l){var u=o.alternate,a=u!==null&&u.memoizedState!==null||me;u=Zo;var s=me;if(Zo=l,(me=a)&&!s)for(P=o;P!==null;)l=P,a=l.child,l.tag===22&&l.memoizedState!==null?Bf(o):a!==null?(a.return=l,P=a):Bf(o);for(;i!==null;)P=i,Df(i),i=i.sibling;P=o,Zo=u,me=s}Af(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,P=i):Af(e)}}function Af(e){for(;P!==null;){var t=P;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:me||Wo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!me)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ke(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ic(t,i,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}Ic(t,l,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;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 s=t.alternate;if(s!==null){var f=s.memoizedState;if(f!==null){var m=f.dehydrated;m!==null&&hr(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(x(163))}me||t.flags&512&&ku(t)}catch(p){J(t,t.return,p)}}if(t===e){P=null;break}if(n=t.sibling,n!==null){n.return=t.return,P=n;break}P=t.return}}function Hf(e){for(;P!==null;){var t=P;if(t===e){P=null;break}var n=t.sibling;if(n!==null){n.return=t.return,P=n;break}P=t.return}}function Bf(e){for(;P!==null;){var t=P;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wo(4,t)}catch(a){J(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){J(t,o,a)}}var i=t.return;try{ku(t)}catch(a){J(t,i,a)}break;case 5:var l=t.return;try{ku(t)}catch(a){J(t,l,a)}}}catch(a){J(t,t.return,a)}if(t===e){P=null;break}var u=t.sibling;if(u!==null){u.return=t.return,P=u;break}P=t.return}}var t0=Math.ceil,Qo=pt.ReactCurrentDispatcher,Nu=pt.ReactCurrentOwner,Ve=pt.ReactCurrentBatchConfig,B=0,ue=null,te=null,fe=0,ze=0,Vn=At(0),oe=0,Br=null,an=0,Ko=0,Cu=0,zr=null,Pe=null,Ru=0,Gn=1/0,St=null,Yo=!1,Pu=null,Ut=null,Jo=!1,jt=null,qo=0,Fr=0,Mu=null,ei=-1,ti=0;function ke(){return(B&6)!==0?q():ei!==-1?ei:ei=q()}function Vt(e){return(e.mode&1)===0?1:(B&2)!==0&&fe!==0?fe&-fe:zm.transition!==null?(ti===0&&(ti=Ps()),ti):(e=F,e!==0||(e=window.event,e=e===void 0?16:Bs(e.type)),e)}function qe(e,t,n,r){if(50<Fr)throw Fr=0,Mu=null,Error(x(185));sr(e,n,r),((B&2)===0||e!==ue)&&(e===ue&&((B&2)===0&&(Ko|=n),oe===4&&Gt(e,fe)),Me(e,r),n===1&&B===0&&(t.mode&1)===0&&(Gn=q()+500,Mo&&Bt()))}function Me(e,t){var n=e.callbackNode;zh(e,t);var r=so(e,e===ue?fe:0);if(r===0)n!==null&&Ns(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ns(n),t===1)e.tag===0?Bm(Ff.bind(null,e)):kc(Ff.bind(null,e)),Om(function(){(B&6)===0&&Bt()}),n=null;else{switch(Ms(r)){case 1:n=al;break;case 4:n=Cs;break;case 16:n=io;break;case 536870912:n=Rs;break;default:n=io}n=Zf(n,zf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function zf(e,t){if(ei=-1,ti=0,(B&6)!==0)throw Error(x(327));var n=e.callbackNode;if(Xn()&&e.callbackNode!==n)return null;var r=so(e,e===ue?fe:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=ni(e,r);else{t=r;var o=B;B|=2;var i=Uf();(ue!==e||fe!==t)&&(St=null,Gn=q()+500,cn(e,t));do try{o0();break}catch(u){bf(e,u)}while(1);Zl(),Qo.current=i,B=o,te!==null?t=0:(ue=null,fe=0,t=oe)}if(t!==0){if(t===2&&(o=sl(e),o!==0&&(r=o,t=Lu(e,o))),t===1)throw n=Br,cn(e,0),Gt(e,r),Me(e,q()),n;if(t===6)Gt(e,r);else{if(o=e.current.alternate,(r&30)===0&&!n0(o)&&(t=ni(e,r),t===2&&(i=sl(e),i!==0&&(r=i,t=Lu(e,i))),t===1))throw n=Br,cn(e,0),Gt(e,r),Me(e,q()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(x(345));case 2:fn(e,Pe,St);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=Ru+500-q(),10<t)){if(so(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ke(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Hl(fn.bind(null,e,Pe,St),t);break}fn(e,Pe,St);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Ze(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*t0(r/1960))-r,10<r){e.timeoutHandle=Hl(fn.bind(null,e,Pe,St),r);break}fn(e,Pe,St);break;case 5:fn(e,Pe,St);break;default:throw Error(x(329))}}}return Me(e,q()),e.callbackNode===n?zf.bind(null,e):null}function Lu(e,t){var n=zr;return e.current.memoizedState.isDehydrated&&(cn(e,t).flags|=256),e=ni(e,t),e!==2&&(t=Pe,Pe=n,t!==null&&Iu(t)),e}function Iu(e){Pe===null?Pe=e:Pe.push.apply(Pe,e)}function n0(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 o=n[r],i=o.getSnapshot;o=o.value;try{if(!We(i(),o))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 Gt(e,t){for(t&=~Cu,t&=~Ko,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ze(t),r=1<<n;e[n]=-1,t&=~r}}function Ff(e){if((B&6)!==0)throw Error(x(327));Xn();var t=so(e,0);if((t&1)===0)return Me(e,q()),null;var n=ni(e,t);if(e.tag!==0&&n===2){var r=sl(e);r!==0&&(t=r,n=Lu(e,r))}if(n===1)throw n=Br,cn(e,0),Gt(e,t),Me(e,q()),n;if(n===6)throw Error(x(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fn(e,Pe,St),Me(e,q()),null}function _u(e,t){var n=B;B|=1;try{return e(t)}finally{B=n,B===0&&(Gn=q()+500,Mo&&Bt())}}function sn(e){jt!==null&&jt.tag===0&&(B&6)===0&&Xn();var t=B;B|=1;var n=Ve.transition,r=F;try{if(Ve.transition=null,F=1,e)return e()}finally{F=r,Ve.transition=n,B=t,(B&6)===0&&Bt()}}function Ou(){ze=Vn.current,X(Vn)}function cn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,_m(n)),te!==null)for(n=te.return;n!==null;){var r=n;switch(jl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ro();break;case 3:bn(),X(Ne),X(de),ru();break;case 5:tu(r);break;case 4:bn();break;case 13:X(Q);break;case 19:X(Q);break;case 10:Wl(r.type._context);break;case 22:case 23:Ou()}n=n.return}if(ue=e,te=e=Xt(e.current,null),fe=ze=t,oe=0,Br=null,Cu=Ko=an=0,Pe=zr=null,on!==null){for(t=0;t<on.length;t++)if(n=on[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}on=null}return e}function bf(e,t){do{var n=te;try{if(Zl(),bo.current=Go,Uo){for(var r=K.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Uo=!1}if(un=0,le=re=K=null,Ir=!1,_r=0,Nu.current=null,n===null||n.return===null){oe=1,Br=t,te=null;break}e:{var i=e,l=n.return,u=n,a=t;if(t=fe,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,f=u,m=f.tag;if((f.mode&1)===0&&(m===0||m===11||m===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var g=ff(l);if(g!==null){g.flags&=-257,df(g,l,u,i,t),g.mode&1&&cf(i,s,t),t=g,a=s;var y=t.updateQueue;if(y===null){var w=new Set;w.add(a),t.updateQueue=w}else y.add(a);break e}else{if((t&1)===0){cf(i,s,t),Du();break e}a=Error(x(426))}}else if(Z&&u.mode&1){var N=ff(l);if(N!==null){(N.flags&65536)===0&&(N.flags|=256),df(N,l,u,i,t),Xl(Un(a,u));break e}}i=a=Un(a,u),oe!==4&&(oe=2),zr===null?zr=[i]:zr.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=af(i,a,t);Lc(i,h);break e;case 1:u=a;var c=i.type,d=i.stateNode;if((i.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ut===null||!Ut.has(d)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=sf(i,u,t);Lc(i,E);break e}}i=i.return}while(i!==null)}Vf(n)}catch(v){t=v,te===n&&n!==null&&(te=n=n.return);continue}break}while(1)}function Uf(){var e=Qo.current;return Qo.current=Go,e===null?Go:e}function Du(){(oe===0||oe===3||oe===2)&&(oe=4),ue===null||(an&268435455)===0&&(Ko&268435455)===0||Gt(ue,fe)}function ni(e,t){var n=B;B|=2;var r=Uf();(ue!==e||fe!==t)&&(St=null,cn(e,t));do try{r0();break}catch(o){bf(e,o)}while(1);if(Zl(),B=n,Qo.current=r,te!==null)throw Error(x(261));return ue=null,fe=0,oe}function r0(){for(;te!==null;)jf(te)}function o0(){for(;te!==null&&!Mh();)jf(te)}function jf(e){var t=$f(e.alternate,e,ze);e.memoizedProps=e.pendingProps,t===null?Vf(e):te=t,Nu.current=null}function Vf(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Km(n,t,ze),n!==null){te=n;return}}else{if(n=Ym(n,t),n!==null){n.flags&=32767,te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{oe=6,te=null;return}}if(t=t.sibling,t!==null){te=t;return}te=t=e}while(t!==null);oe===0&&(oe=5)}function fn(e,t,n){var r=F,o=Ve.transition;try{Ve.transition=null,F=1,i0(e,t,n,r)}finally{Ve.transition=o,F=r}return null}function i0(e,t,n,r){do Xn();while(jt!==null);if((B&6)!==0)throw Error(x(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(x(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Fh(e,i),e===ue&&(te=ue=null,fe=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Jo||(Jo=!0,Zf(io,function(){return Xn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=Ve.transition,Ve.transition=null;var l=F;F=1;var u=B;B|=4,Nu.current=null,qm(e,n),Of(n,e),Nm(Dl),po=!!Ol,Dl=Ol=null,e.current=n,e0(n),Lh(),B=u,F=l,Ve.transition=i}else e.current=n;if(Jo&&(Jo=!1,jt=e,qo=o),i=e.pendingLanes,i===0&&(Ut=null),Oh(n.stateNode),Me(e,q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Yo)throw Yo=!1,e=Pu,Pu=null,e;return(qo&1)!==0&&e.tag!==0&&Xn(),i=e.pendingLanes,(i&1)!==0?e===Mu?Fr++:(Fr=0,Mu=e):Fr=0,Bt(),null}function Xn(){if(jt!==null){var e=Ms(qo),t=Ve.transition,n=F;try{if(Ve.transition=null,F=16>e?16:e,jt===null)var r=!1;else{if(e=jt,jt=null,qo=0,(B&6)!==0)throw Error(x(331));var o=B;for(B|=4,P=e.current;P!==null;){var i=P,l=i.child;if((P.flags&16)!==0){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(P=s;P!==null;){var f=P;switch(f.tag){case 0:case 11:case 15:Hr(8,f,i)}var m=f.child;if(m!==null)m.return=f,P=m;else for(;P!==null;){f=P;var p=f.sibling,g=f.return;if(Pf(f),f===s){P=null;break}if(p!==null){p.return=g,P=p;break}P=g}}}var y=i.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var N=w.sibling;w.sibling=null,w=N}while(w!==null)}}P=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,P=l;else e:for(;P!==null;){if(i=P,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Hr(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,P=h;break e}P=i.return}}var c=e.current;for(P=c;P!==null;){l=P;var d=l.child;if((l.subtreeFlags&2064)!==0&&d!==null)d.return=l,P=d;else e:for(l=c;P!==null;){if(u=P,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:Wo(9,u)}}catch(v){J(u,u.return,v)}if(u===l){P=null;break e}var E=u.sibling;if(E!==null){E.return=u.return,P=E;break e}P=u.return}}if(B=o,Bt(),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(lo,e)}catch{}r=!0}return r}finally{F=n,Ve.transition=t}}return!1}function Gf(e,t,n){t=Un(n,t),t=af(e,t,1),e=Ft(e,t,1),t=ke(),e!==null&&(sr(e,1,t),Me(e,t))}function J(e,t,n){if(e.tag===3)Gf(e,e,n);else for(;t!==null;){if(t.tag===3){Gf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ut===null||!Ut.has(r))){e=Un(n,e),e=sf(t,e,1),t=Ft(t,e,1),e=ke(),t!==null&&(sr(t,1,e),Me(t,e));break}}t=t.return}}function l0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ke(),e.pingedLanes|=e.suspendedLanes&n,ue===e&&(fe&n)===n&&(oe===4||oe===3&&(fe&130023424)===fe&&500>q()-Ru?cn(e,0):Cu|=n),Me(e,t)}function Xf(e,t){t===0&&((e.mode&1)===0?t=1:(t=ao,ao<<=1,(ao&130023424)===0&&(ao=4194304)));var n=ke();e=yt(e,t),e!==null&&(sr(e,t,n),Me(e,n))}function u0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xf(e,n)}function a0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),Xf(e,n)}var $f;$f=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Re=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Re=!1,Qm(e,t,n);Re=(e.flags&131072)!==0}else Re=!1,Z&&(t.flags&1048576)!==0&&xc(t,Io,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$o(e,t),e=t.pendingProps;var o=On(t,de.current);zn(t,n),o=lu(null,t,r,e,o,n);var i=uu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ce(r)?(i=!0,Po(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yl(t),o.updater=Bo,t.stateNode=o,o._reactInternals=t,ql(t,r,e,n),t=mu(null,t,r,!0,i,n)):(t.tag=0,Z&&i&&Ul(t),Se(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch($o(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=c0(r),e=Ke(r,e),o){case 0:t=hu(null,t,r,e,n);break e;case 1:t=yf(null,t,r,e,n);break e;case 11:t=pf(null,t,r,e,n);break e;case 14:t=hf(null,t,r,Ke(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),hu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),yf(e,t,r,o,n);case 3:e:{if(wf(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Mc(e,t),Ho(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Un(Error(x(423)),t),t=Ef(e,t,r,n,o);break e}else if(r!==o){o=Un(Error(x(424)),t),t=Ef(e,t,r,n,o);break e}else for(Be=Dt(t.stateNode.containerInfo.firstChild),He=t,Z=!0,Qe=null,n=zc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===o){t=Et(e,t,n);break e}Se(e,t,r,n)}t=t.child}return t;case 5:return Fc(t),e===null&&Gl(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Al(r,o)?l=null:i!==null&&Al(r,i)&&(t.flags|=32),gf(e,t),Se(e,t,l,n),t.child;case 6:return e===null&&Gl(t),null;case 13:return Sf(e,t,n);case 4:return eu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):Se(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),pf(e,t,r,o,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,o=t.pendingProps,i=t.memoizedProps,l=o.value,V(Oo,r._currentValue),r._currentValue=l,i!==null)if(We(i.value,l)){if(i.children===o.children&&!Ne.current){t=Et(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=wt(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?a.next=a:(a.next=f.next,f.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ql(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Ql(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Se(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,zn(t,n),o=Ue(o),r=r(o),t.flags|=1,Se(e,t,r,n),t.child;case 14:return r=t.type,o=Ke(r,t.pendingProps),o=Ke(r.type,o),hf(e,t,r,o,n);case 15:return mf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),$o(e,t),t.tag=1,Ce(r)?(e=!0,Po(t)):e=!1,zn(t,n),Dc(t,r,o),ql(t,r,o,n),mu(null,t,r,!0,e,n);case 19:return xf(e,t,n);case 22:return vf(e,t,n)}throw Error(x(156,t.tag))};function Zf(e,t){return Ts(e,t)}function s0(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 Ge(e,t,n,r){return new s0(e,t,n,r)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function c0(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ui)return 11;if(e===Gi)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=Ge(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 ri(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Au(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case En:return dn(n.children,o,i,t);case Fi:l=8,o|=8;break;case bi:return e=Ge(12,n,t,o|2),e.elementType=bi,e.lanes=i,e;case ji:return e=Ge(13,n,t,o),e.elementType=ji,e.lanes=i,e;case Vi:return e=Ge(19,n,t,o),e.elementType=Vi,e.lanes=i,e;case es:return oi(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ja:l=10;break e;case qa:l=9;break e;case Ui:l=11;break e;case Gi:l=14;break e;case Ct:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Ge(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function dn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function oi(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=es,e.lanes=n,e.stateNode={isHidden:!1},e}function Hu(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function Bu(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function f0(e,t,n,r,o){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=cl(0),this.expirationTimes=cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function zu(e,t,n,r,o,i,l,u,a){return e=new f0(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ge(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yl(i),e}function d0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Wf(e){if(!e)return Ht;e=e._reactInternals;e:{if(qt(e)!==e||e.tag!==1)throw Error(x(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ce(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(x(171))}if(e.tag===1){var n=e.type;if(Ce(n))return Ec(e,n,t)}return t}function Qf(e,t,n,r,o,i,l,u,a){return e=zu(n,r,!0,e,o,i,l,u,a),e.context=Wf(null),n=e.current,r=ke(),o=Vt(n),i=wt(r,o),i.callback=t!=null?t:null,Ft(n,i,o),e.current.lanes=o,sr(e,o,r),Me(e,r),e}function ii(e,t,n,r){var o=t.current,i=ke(),l=Vt(o);return n=Wf(n),t.context===null?t.context=n:t.pendingContext=n,t=wt(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ft(o,t,l),e!==null&&(qe(e,o,l,i),Ao(e,o,l)),l}function li(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 Kf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fu(e,t){Kf(e,t),(e=e.alternate)&&Kf(e,t)}function p0(){return null}var Yf=typeof reportError=="function"?reportError:function(e){console.error(e)};function bu(e){this._internalRoot=e}ui.prototype.render=bu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(x(409));ii(e,t,null,null)},ui.prototype.unmount=bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){ii(null,e,null,null)}),t[ht]=null}};function ui(e){this._internalRoot=e}ui.prototype.unstable_scheduleHydration=function(e){if(e){var t=_s();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&t!==0&&t<It[n].priority;n++);It.splice(n,0,e),n===0&&As(e)}};function Uu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ai(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Jf(){}function h0(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var s=li(l);i.call(s)}}var l=Qf(t,r,e,0,null,!1,!1,"",Jf);return e._reactRootContainer=l,e[ht]=l.current,xr(e.nodeType===8?e.parentNode:e),sn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var u=r;r=function(){var s=li(a);u.call(s)}}var a=zu(e,0,!1,null,null,!1,!1,"",Jf);return e._reactRootContainer=a,e[ht]=a.current,xr(e.nodeType===8?e.parentNode:e),sn(function(){ii(t,a,n,r)}),a}function si(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var u=o;o=function(){var a=li(l);u.call(a)}}ii(t,l,e,o)}else l=h0(n,t,e,o,r);return li(l)}Ls=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ar(t.pendingLanes);n!==0&&(fl(t,n|1),Me(t,q()),(B&6)===0&&(Gn=q()+500,Bt()))}break;case 13:sn(function(){var r=yt(e,1);if(r!==null){var o=ke();qe(r,e,1,o)}}),Fu(e,1)}},dl=function(e){if(e.tag===13){var t=yt(e,134217728);if(t!==null){var n=ke();qe(t,e,134217728,n)}Fu(e,134217728)}},Is=function(e){if(e.tag===13){var t=Vt(e),n=yt(e,t);if(n!==null){var r=ke();qe(n,e,t,r)}Fu(e,t)}},_s=function(){return F},Os=function(e,t){var n=F;try{return F=e,t()}finally{F=n}},ol=function(e,t,n){switch(t){case"input":if(Ki(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 o=Co(r);if(!o)throw Error(x(90));rs(r),Ki(r,o)}}}break;case"textarea":as(e,n);break;case"select":t=n.value,t!=null&&Sn(e,!!n.multiple,t,!1)}},gs=_u,ys=sn;var m0={usingClientEntryPoint:!1,Events:[Cr,In,Co,ms,vs,_u]},br={findFiberByHostInstance:en,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},v0={bundleType:br.bundleType,version:br.version,rendererPackageName:br.rendererPackageName,rendererConfig:br.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ks(e),e===null?null:e.stateNode},findFiberByHostInstance:br.findFiberByHostInstance||p0,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 ci=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ci.isDisabled&&ci.supportsFiber)try{lo=ci.inject(v0),nt=ci}catch{}}Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=m0,Oe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uu(t))throw Error(x(200));return d0(e,t,null,n)},Oe.createRoot=function(e,t){if(!Uu(e))throw Error(x(299));var n=!1,r="",o=Yf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=zu(e,1,!1,null,null,n,!1,r,o),e[ht]=t.current,xr(e.nodeType===8?e.parentNode:e),new bu(t)},Oe.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(x(188)):(e=Object.keys(e).join(","),Error(x(268,e)));return e=ks(t),e=e===null?null:e.stateNode,e},Oe.flushSync=function(e){return sn(e)},Oe.hydrate=function(e,t,n){if(!ai(t))throw Error(x(200));return si(null,e,t,!0,n)},Oe.hydrateRoot=function(e,t,n){if(!Uu(e))throw Error(x(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=Yf;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Qf(t,null,e,1,n!=null?n:null,o,!1,i,l),e[ht]=t.current,xr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ui(t)},Oe.render=function(e,t,n){if(!ai(t))throw Error(x(200));return si(null,e,t,!1,n)},Oe.unmountComponentAtNode=function(e){if(!ai(e))throw Error(x(40));return e._reactRootContainer?(sn(function(){si(null,null,e,!1,function(){e._reactRootContainer=null,e[ht]=null})}),!0):!1},Oe.unstable_batchedUpdates=_u,Oe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ai(n))throw Error(x(200));if(e==null||e._reactInternals===void 0)throw Error(x(38));return si(e,t,n,!1,r)},Oe.version="18.2.0-next-9e3b772b8-20220608",function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Oe}(Di);var ju=function(e,t){return ju=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},ju(e,t)};function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ju(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},L.apply(this,arguments)};function Vu(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function ut(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Gu={exports:{}},z={};/** @license React v16.13.1
41
41
  * react-is.production.min.js
42
42
  *
43
43
  * Copyright (c) Facebook, Inc. and its affiliates.
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var nd;function Em(){if(nd)return b;nd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,c=e?Symbol.for("react.scope"):60119;function d(g){if(typeof g=="object"&&g!==null){var x=g.$$typeof;switch(x){case t:switch(g=g.type,g){case u:case s:case r:case i:case o:case m:return g;default:switch(g=g&&g.$$typeof,g){case a:case f:case y:case v:case l:return g;default:return x}}case n:return x}}}function E(g){return d(g)===s}return b.AsyncMode=u,b.ConcurrentMode=s,b.ContextConsumer=a,b.ContextProvider=l,b.Element=t,b.ForwardRef=f,b.Fragment=r,b.Lazy=y,b.Memo=v,b.Portal=n,b.Profiler=i,b.StrictMode=o,b.Suspense=m,b.isAsyncMode=function(g){return E(g)||d(g)===u},b.isConcurrentMode=E,b.isContextConsumer=function(g){return d(g)===a},b.isContextProvider=function(g){return d(g)===l},b.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},b.isForwardRef=function(g){return d(g)===f},b.isFragment=function(g){return d(g)===r},b.isLazy=function(g){return d(g)===y},b.isMemo=function(g){return d(g)===v},b.isPortal=function(g){return d(g)===n},b.isProfiler=function(g){return d(g)===i},b.isStrictMode=function(g){return d(g)===o},b.isSuspense=function(g){return d(g)===m},b.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===s||g===i||g===o||g===m||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===y||g.$$typeof===v||g.$$typeof===l||g.$$typeof===a||g.$$typeof===f||g.$$typeof===N||g.$$typeof===h||g.$$typeof===c||g.$$typeof===w)},b.typeOf=d,b}(function(e){e.exports=Em()})(Xa);var rd=Xa.exports,Sm={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},km={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},od={};od[rd.ForwardRef]=Sm,od[rd.Memo]=km;function id(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var D;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(D||(D={}));var X;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(X||(X={}));var Zn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Zn||(Zn={}));function ld(e){return e.type===X.literal}function xm(e){return e.type===X.argument}function ad(e){return e.type===X.number}function ud(e){return e.type===X.date}function sd(e){return e.type===X.time}function cd(e){return e.type===X.select}function fd(e){return e.type===X.plural}function Tm(e){return e.type===X.pound}function dd(e){return e.type===X.tag}function pd(e){return!!(e&&typeof e=="object"&&e.type===Zn.number)}function Za(e){return!!(e&&typeof e=="object"&&e.type===Zn.dateTime)}var hd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Nm=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Rm(e){var t={};return e.replace(Nm,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"short":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Cm=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Mm(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Cm).filter(function(p){return p.length>0}),n=[],r=0,o=t;r<o.length;r++){var i=o[r],l=i.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var a=l[0],u=l.slice(1),s=0,f=u;s<f.length;s++){var m=f[s];if(m.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function Pm(e){return e.replace(/^(.*?)-/,"")}var md=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,gd=/^(@+)?(\+|#+)?[rs]?$/g,Lm=/(\*)(0+)|(#+)(0+)|(0+)/g,vd=/^(0+)$/;function yd(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(gd,function(n,r,o){return typeof o!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),t}function wd(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Im(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!vd.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ed(e){var t={},n=wd(e);return n||t}function _m(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Pm(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=L(L(L({},t),{notation:"scientific"}),o.options.reduce(function(u,s){return L(L({},u),Ed(s))},{}));continue;case"engineering":t=L(L(L({},t),{notation:"engineering"}),o.options.reduce(function(u,s){return L(L({},u),Ed(s))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Lm,function(u,s,f,m,p,v){if(s)t.minimumIntegerDigits=f.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(vd.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(md.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(md,function(u,s,f,m,p,v){return f==="*"?t.minimumFractionDigits=s.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&v?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var i=o.options[0];i==="w"?t=L(L({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=L(L({},t),yd(i)));continue}if(gd.test(o.stem)){t=L(L({},t),yd(o.stem));continue}var l=wd(o.stem);l&&(t=L(L({},t),l));var a=Im(o.stem);a&&(t=L(L({},t),a))}return t}var pi={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Om(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var l=1+(i&1),a=i<2?1:3+(i>>1),u="a",s=Am(t);for((s=="H"||s=="k")&&(a=0);a-- >0;)n+=u;for(;l-- >0;)n=s+n}else o==="J"?n+="H":n+=o}return n}function Am(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=pi[r||""]||pi[n||""]||pi["".concat(n,"-001")]||pi["001"];return o[0]}var Wa,Dm=new RegExp("^".concat(hd.source,"*")),Hm=new RegExp("".concat(hd.source,"*$"));function H(e,t){return{start:e,end:t}}var zm=!!String.prototype.startsWith,Bm=!!String.fromCodePoint,bm=!!Object.fromEntries,Fm=!!String.prototype.codePointAt,Um=!!String.prototype.trimStart,jm=!!String.prototype.trimEnd,Vm=!!Number.isSafeInteger,Gm=Vm?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qa=!0;try{var $m=Td("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qa=((Wa=$m.exec("a"))===null||Wa===void 0?void 0:Wa[0])==="a"}catch{Qa=!1}var Sd=zm?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ka=Bm?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=e.length,o=0,i;r>o;){if(i=e[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},kd=bm?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],l=o[1];t[i]=l}return t},xd=Fm?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Xm=Um?function(e){return e.trimStart()}:function(e){return e.replace(Dm,"")},Zm=jm?function(e){return e.trimEnd()}:function(e){return e.replace(Hm,"")};function Td(e,t){return new RegExp(e,t)}var Ya;if(Qa){var Nd=Td("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ya=function(e,t){var n;Nd.lastIndex=t;var r=Nd.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else Ya=function(e,t){for(var n=[];;){var r=xd(e,t);if(r===void 0||Rd(r)||Ym(r))break;n.push(r),t+=r>=65536?2:1}return Ka.apply(void 0,n)};var Wm=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var l=this.parseArgument(t,r);if(l.err)return l;o.push(l.val)}else{if(i===125&&t>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),o.push({type:X.pound,location:H(a,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(D.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ja(this.peek()||0)){var l=this.parseTag(t,n);if(l.err)return l;o.push(l.val)}else{var l=this.parseLiteral(t,n);if(l.err)return l;o.push(l.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:X.literal,value:"<".concat(o,"/>"),location:H(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,n,!0);if(i.err)return i;var l=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ja(this.char()))return this.error(D.INVALID_TAG,H(a,this.clonePosition()));var u=this.clonePosition(),s=this.parseTagName();return o!==s?this.error(D.UNMATCHED_CLOSING_TAG,H(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:X.tag,value:o,children:l,location:H(r,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,H(r,this.clonePosition()))}else return this.error(D.INVALID_TAG,H(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Km(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(n);if(i){o+=i;continue}var l=this.tryParseUnquoted(t,n);if(l){o+=l;continue}var a=this.tryParseLeftAngleBracket();if(a){o+=a;continue}break}var u=H(r,this.clonePosition());return{val:{type:X.literal,value:o,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Qm(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Ka.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Ka(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,H(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(D.MALFORMED_ARGUMENT,H(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:X.argument,value:o,location:H(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(D.MALFORMED_ARGUMENT,H(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Ya(this.message,n),o=n+r.length;this.bumpTo(o);var i=this.clonePosition(),l=H(t,i);return{value:r,location:l}},e.prototype.parseArgumentOptions=function(t,n,r,o){var i,l=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,H(l,u));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=Zm(m.val);if(p.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var v=H(f,this.clonePosition());s={style:p,styleLocation:v}}var y=this.tryParseArgumentClose(o);if(y.err)return y;var w=H(o,this.clonePosition());if(s&&Sd(s==null?void 0:s.style,"::",0)){var N=Xm(s.style.slice(2));if(a==="number"){var m=this.parseNumberSkeletonFromString(N,s.styleLocation);return m.err?m:{val:{type:X.number,value:r,location:w,style:m.val},err:null}}else{if(N.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,w);var h=N;this.locale&&(h=Om(N,this.locale));var p={type:Zn.dateTime,pattern:h,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?Rm(h):{}},c=a==="date"?X.date:X.time;return{val:{type:c,value:r,location:w,style:p},err:null}}}return{val:{type:a==="number"?X.number:a==="date"?X.date:X.time,value:r,location:w,style:(i=s==null?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,H(d,L({},d)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),g=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),E=this.parseIdentifierIfPossible(),g=m.val}var x=this.tryParsePluralOrSelectOptions(t,a,n,E);if(x.err)return x;var y=this.tryParseArgumentClose(o);if(y.err)return y;var R=H(o,this.clonePosition());return a==="select"?{val:{type:X.select,value:r,options:kd(x.val),location:R},err:null}:{val:{type:X.plural,value:r,options:kd(x.val),offset:g,pluralType:a==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,H(l,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Mm(t)}catch{return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Zn.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?_m(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var i,l=!1,a=[],u=new Set,s=o.value,f=o.location;;){if(s.length===0){var m=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=H(m,this.clonePosition()),s=this.message.slice(m.offset,this.offset())}else break}if(u.has(s))return this.error(n==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);s==="other"&&(l=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var w=this.tryParseArgumentClose(v);if(w.err)return w;a.push([s,{value:y.val,location:H(v,this.clonePosition())}]),u.add(s),this.bumpSpace(),i=this.parseIdentifierIfPossible(),s=i.value,f=i.location}return a.length===0?this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(D.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,l=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,l=l*10+(a-48),this.bump();else break}var u=H(o,this.clonePosition());return i?(l*=r,Gm(l)?{val:l,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=xd(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Sd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Rd(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Ja(e){return e>=97&&e<=122||e>=65&&e<=90}function Qm(e){return Ja(e)||e===47}function Km(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Rd(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ym(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function qa(e){e.forEach(function(t){if(delete t.location,cd(t)||fd(t))for(var n in t.options)delete t.options[n].location,qa(t.options[n].value);else ad(t)&&pd(t.style)||(ud(t)||sd(t))&&Za(t.style)?delete t.style.location:dd(t)&&qa(t.children)})}function Jm(e,t){t===void 0&&(t={}),t=L({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Wm(e,t).parse();if(n.err){var r=SyntaxError(D[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||qa(n.val),n.val}function ut(e,t){var n=t&&t.cache?t.cache:o1,r=t&&t.serializer?t.serializer:r1,o=t&&t.strategy?t.strategy:e1;return o(e,{cache:n,serializer:r})}function qm(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Cd(e,t,n,r){var o=qm(r)?r:n(r),i=t.get(o);return typeof i>"u"&&(i=e.call(this,r),t.set(o,i)),i}function Md(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,r),t.set(o,i)),i}function eu(e,t,n,r,o){return n.bind(t,e,r,o)}function e1(e,t){var n=e.length===1?Cd:Md;return eu(e,this,n,t.cache.create(),t.serializer)}function t1(e,t){return eu(e,this,Md,t.cache.create(),t.serializer)}function n1(e,t){return eu(e,this,Cd,t.cache.create(),t.serializer)}var r1=function(){return JSON.stringify(arguments)};function tu(){this.cache=Object.create(null)}tu.prototype.get=function(e){return this.cache[e]},tu.prototype.set=function(e,t){this.cache[e]=t};var o1={create:function(){return new tu}},st={variadic:t1,monadic:n1},ct;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ct||(ct={}));var Xt=function(e){$e(t,e);function t(n,r,o){var i=e.call(this,n)||this;return i.code=r,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Pd=function(e){$e(t,e);function t(n,r,o,i){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),ct.INVALID_VALUE,i)||this}return t}(Xt),i1=function(e){$e(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),ct.INVALID_VALUE,o)||this}return t}(Xt),l1=function(e){$e(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),ct.MISSING_VALUE,r)||this}return t}(Xt),xe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(xe||(xe={}));function a1(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==xe.literal||n.type!==xe.literal?t.push(n):r.value+=n.value,t},[])}function Ld(e){return typeof e=="function"}function hi(e,t,n,r,o,i,l){if(e.length===1&&ld(e[0]))return[{type:xe.literal,value:e[0].value}];for(var a=[],u=0,s=e;u<s.length;u++){var f=s[u];if(ld(f)){a.push({type:xe.literal,value:f.value});continue}if(Tm(f)){typeof i=="number"&&a.push({type:xe.literal,value:n.getNumberFormat(t).format(i)});continue}var m=f.value;if(!(o&&m in o))throw new l1(m,l);var p=o[m];if(xm(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?xe.literal:xe.object,value:p});continue}if(ud(f)){var v=typeof f.style=="string"?r.date[f.style]:Za(f.style)?f.style.parsedOptions:void 0;a.push({type:xe.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(sd(f)){var v=typeof f.style=="string"?r.time[f.style]:Za(f.style)?f.style.parsedOptions:r.time.medium;a.push({type:xe.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(ad(f)){var v=typeof f.style=="string"?r.number[f.style]:pd(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),a.push({type:xe.literal,value:n.getNumberFormat(t,v).format(p)});continue}if(dd(f)){var y=f.children,w=f.value,N=o[w];if(!Ld(N))throw new i1(w,"function",l);var h=hi(y,t,n,r,o,i),c=N(h.map(function(g){return g.value}));Array.isArray(c)||(c=[c]),a.push.apply(a,c.map(function(g){return{type:typeof g=="string"?xe.literal:xe.object,value:g}}))}if(cd(f)){var d=f.options[p]||f.options.other;if(!d)throw new Pd(f.value,p,Object.keys(f.options),l);a.push.apply(a,hi(d.value,t,n,r,o));continue}if(fd(f)){var d=f.options["=".concat(p)];if(!d){if(!Intl.PluralRules)throw new Xt(`Intl.PluralRules is not available in this environment.
47
+ */var qf;function g0(){if(qf)return z;qf=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,c=e?Symbol.for("react.scope"):60119;function d(v){if(typeof v=="object"&&v!==null){var T=v.$$typeof;switch(T){case t:switch(v=v.type,v){case a:case s:case r:case i:case o:case m:return v;default:switch(v=v&&v.$$typeof,v){case u:case f:case y:case g:case l:return v;default:return T}}case n:return T}}}function E(v){return d(v)===s}return z.AsyncMode=a,z.ConcurrentMode=s,z.ContextConsumer=u,z.ContextProvider=l,z.Element=t,z.ForwardRef=f,z.Fragment=r,z.Lazy=y,z.Memo=g,z.Portal=n,z.Profiler=i,z.StrictMode=o,z.Suspense=m,z.isAsyncMode=function(v){return E(v)||d(v)===a},z.isConcurrentMode=E,z.isContextConsumer=function(v){return d(v)===u},z.isContextProvider=function(v){return d(v)===l},z.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},z.isForwardRef=function(v){return d(v)===f},z.isFragment=function(v){return d(v)===r},z.isLazy=function(v){return d(v)===y},z.isMemo=function(v){return d(v)===g},z.isPortal=function(v){return d(v)===n},z.isProfiler=function(v){return d(v)===i},z.isStrictMode=function(v){return d(v)===o},z.isSuspense=function(v){return d(v)===m},z.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===s||v===i||v===o||v===m||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===g||v.$$typeof===l||v.$$typeof===u||v.$$typeof===f||v.$$typeof===N||v.$$typeof===h||v.$$typeof===c||v.$$typeof===w)},z.typeOf=d,z}(function(e){e.exports=g0()})(Gu);var ed=Gu.exports,y0={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},w0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},td={};td[ed.ForwardRef]=y0,td[ed.Memo]=w0;function nd(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var A;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(A||(A={}));var $;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})($||($={}));var $n;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})($n||($n={}));function rd(e){return e.type===$.literal}function E0(e){return e.type===$.argument}function od(e){return e.type===$.number}function id(e){return e.type===$.date}function ld(e){return e.type===$.time}function ud(e){return e.type===$.select}function ad(e){return e.type===$.plural}function S0(e){return e.type===$.pound}function sd(e){return e.type===$.tag}function cd(e){return!!(e&&typeof e=="object"&&e.type===$n.number)}function Xu(e){return!!(e&&typeof e=="object"&&e.type===$n.dateTime)}var fd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k0=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function x0(e){var t={};return e.replace(k0,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"short":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var T0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function N0(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(T0).filter(function(p){return p.length>0}),n=[],r=0,o=t;r<o.length;r++){var i=o[r],l=i.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var u=l[0],a=l.slice(1),s=0,f=a;s<f.length;s++){var m=f[s];if(m.length===0)throw new Error("Invalid number skeleton")}n.push({stem:u,options:a})}return n}function C0(e){return e.replace(/^(.*?)-/,"")}var dd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pd=/^(@+)?(\+|#+)?[rs]?$/g,R0=/(\*)(0+)|(#+)(0+)|(0+)/g,hd=/^(0+)$/;function md(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(pd,function(n,r,o){return typeof o!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),t}function vd(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function P0(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!hd.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function gd(e){var t={},n=vd(e);return n||t}function M0(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=C0(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=L(L(L({},t),{notation:"scientific"}),o.options.reduce(function(a,s){return L(L({},a),gd(s))},{}));continue;case"engineering":t=L(L(L({},t),{notation:"engineering"}),o.options.reduce(function(a,s){return L(L({},a),gd(s))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(R0,function(a,s,f,m,p,g){if(s)t.minimumIntegerDigits=f.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hd.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(dd.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(dd,function(a,s,f,m,p,g){return f==="*"?t.minimumFractionDigits=s.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&g?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+g.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var i=o.options[0];i==="w"?t=L(L({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=L(L({},t),md(i)));continue}if(pd.test(o.stem)){t=L(L({},t),md(o.stem));continue}var l=vd(o.stem);l&&(t=L(L({},t),l));var u=P0(o.stem);u&&(t=L(L({},t),u))}return t}var fi={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function L0(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var l=1+(i&1),u=i<2?1:3+(i>>1),a="a",s=I0(t);for((s=="H"||s=="k")&&(u=0);u-- >0;)n+=a;for(;l-- >0;)n=s+n}else o==="J"?n+="H":n+=o}return n}function I0(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=fi[r||""]||fi[n||""]||fi["".concat(n,"-001")]||fi["001"];return o[0]}var $u,_0=new RegExp("^".concat(fd.source,"*")),O0=new RegExp("".concat(fd.source,"*$"));function H(e,t){return{start:e,end:t}}var D0=!!String.prototype.startsWith,A0=!!String.fromCodePoint,H0=!!Object.fromEntries,B0=!!String.prototype.codePointAt,z0=!!String.prototype.trimStart,F0=!!String.prototype.trimEnd,b0=!!Number.isSafeInteger,U0=b0?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Zu=!0;try{var j0=Sd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Zu=(($u=j0.exec("a"))===null||$u===void 0?void 0:$u[0])==="a"}catch{Zu=!1}var yd=D0?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Wu=A0?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=e.length,o=0,i;r>o;){if(i=e[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},wd=H0?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],l=o[1];t[i]=l}return t},Ed=B0?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},V0=z0?function(e){return e.trimStart()}:function(e){return e.replace(_0,"")},G0=F0?function(e){return e.trimEnd()}:function(e){return e.replace(O0,"")};function Sd(e,t){return new RegExp(e,t)}var Qu;if(Zu){var kd=Sd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qu=function(e,t){var n;kd.lastIndex=t;var r=kd.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else Qu=function(e,t){for(var n=[];;){var r=Ed(e,t);if(r===void 0||xd(r)||W0(r))break;n.push(r),t+=r>=65536?2:1}return Wu.apply(void 0,n)};var X0=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var l=this.parseArgument(t,r);if(l.err)return l;o.push(l.val)}else{if(i===125&&t>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var u=this.clonePosition();this.bump(),o.push({type:$.pound,location:H(u,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(A.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ku(this.peek()||0)){var l=this.parseTag(t,n);if(l.err)return l;o.push(l.val)}else{var l=this.parseLiteral(t,n);if(l.err)return l;o.push(l.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(o,"/>"),location:H(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,n,!0);if(i.err)return i;var l=i.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ku(this.char()))return this.error(A.INVALID_TAG,H(u,this.clonePosition()));var a=this.clonePosition(),s=this.parseTagName();return o!==s?this.error(A.UNMATCHED_CLOSING_TAG,H(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:o,children:l,location:H(r,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,H(u,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,H(r,this.clonePosition()))}else return this.error(A.INVALID_TAG,H(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Z0(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(n);if(i){o+=i;continue}var l=this.tryParseUnquoted(t,n);if(l){o+=l;continue}var u=this.tryParseLeftAngleBracket();if(u){o+=u;continue}break}var a=H(r,this.clonePosition());return{val:{type:$.literal,value:o,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!$0(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Wu.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Wu(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,H(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(A.MALFORMED_ARGUMENT,H(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:o,location:H(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(A.MALFORMED_ARGUMENT,H(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Qu(this.message,n),o=n+r.length;this.bumpTo(o);var i=this.clonePosition(),l=H(t,i);return{value:r,location:l}},e.prototype.parseArgumentOptions=function(t,n,r,o){var i,l=this.clonePosition(),u=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(u){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,H(l,a));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=G0(m.val);if(p.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var g=H(f,this.clonePosition());s={style:p,styleLocation:g}}var y=this.tryParseArgumentClose(o);if(y.err)return y;var w=H(o,this.clonePosition());if(s&&yd(s==null?void 0:s.style,"::",0)){var N=V0(s.style.slice(2));if(u==="number"){var m=this.parseNumberSkeletonFromString(N,s.styleLocation);return m.err?m:{val:{type:$.number,value:r,location:w,style:m.val},err:null}}else{if(N.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,w);var h=N;this.locale&&(h=L0(N,this.locale));var p={type:$n.dateTime,pattern:h,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?x0(h):{}},c=u==="date"?$.date:$.time;return{val:{type:c,value:r,location:w,style:p},err:null}}}return{val:{type:u==="number"?$.number:u==="date"?$.date:$.time,value:r,location:w,style:(i=s==null?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,H(d,L({},d)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),v=0;if(u!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),E=this.parseIdentifierIfPossible(),v=m.val}var T=this.tryParsePluralOrSelectOptions(t,u,n,E);if(T.err)return T;var y=this.tryParseArgumentClose(o);if(y.err)return y;var C=H(o,this.clonePosition());return u==="select"?{val:{type:$.select,value:r,options:wd(T.val),location:C},err:null}:{val:{type:$.plural,value:r,options:wd(T.val),offset:v,pluralType:u==="plural"?"cardinal":"ordinal",location:C},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,H(l,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=N0(t)}catch{return this.error(A.INVALID_NUMBER_SKELETON,n)}return{val:{type:$n.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?M0(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var i,l=!1,u=[],a=new Set,s=o.value,f=o.location;;){if(s.length===0){var m=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=H(m,this.clonePosition()),s=this.message.slice(m.offset,this.offset())}else break}if(a.has(s))return this.error(n==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);s==="other"&&(l=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var w=this.tryParseArgumentClose(g);if(w.err)return w;u.push([s,{value:y.val,location:H(g,this.clonePosition())}]),a.add(s),this.bumpSpace(),i=this.parseIdentifierIfPossible(),s=i.value,f=i.location}return u.length===0?this.error(n==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(A.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,l=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)i=!0,l=l*10+(u-48),this.bump();else break}var a=H(o,this.clonePosition());return i?(l*=r,U0(l)?{val:l,err:null}:this.error(n,a)):this.error(t,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Ed(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(yd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&xd(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Ku(e){return e>=97&&e<=122||e>=65&&e<=90}function $0(e){return Ku(e)||e===47}function Z0(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function xd(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function W0(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Yu(e){e.forEach(function(t){if(delete t.location,ud(t)||ad(t))for(var n in t.options)delete t.options[n].location,Yu(t.options[n].value);else od(t)&&cd(t.style)||(id(t)||ld(t))&&Xu(t.style)?delete t.style.location:sd(t)&&Yu(t.children)})}function Q0(e,t){t===void 0&&(t={}),t=L({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new X0(e,t).parse();if(n.err){var r=SyntaxError(A[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Yu(n.val),n.val}function at(e,t){var n=t&&t.cache?t.cache:t1,r=t&&t.serializer?t.serializer:e1,o=t&&t.strategy?t.strategy:Y0;return o(e,{cache:n,serializer:r})}function K0(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Td(e,t,n,r){var o=K0(r)?r:n(r),i=t.get(o);return typeof i>"u"&&(i=e.call(this,r),t.set(o,i)),i}function Nd(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,r),t.set(o,i)),i}function Ju(e,t,n,r,o){return n.bind(t,e,r,o)}function Y0(e,t){var n=e.length===1?Td:Nd;return Ju(e,this,n,t.cache.create(),t.serializer)}function J0(e,t){return Ju(e,this,Nd,t.cache.create(),t.serializer)}function q0(e,t){return Ju(e,this,Td,t.cache.create(),t.serializer)}var e1=function(){return JSON.stringify(arguments)};function qu(){this.cache=Object.create(null)}qu.prototype.get=function(e){return this.cache[e]},qu.prototype.set=function(e,t){this.cache[e]=t};var t1={create:function(){return new qu}},st={variadic:J0,monadic:q0},ct;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ct||(ct={}));var $t=function(e){Xe(t,e);function t(n,r,o){var i=e.call(this,n)||this;return i.code=r,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Cd=function(e){Xe(t,e);function t(n,r,o,i){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),ct.INVALID_VALUE,i)||this}return t}($t),n1=function(e){Xe(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),ct.INVALID_VALUE,o)||this}return t}($t),r1=function(e){Xe(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),ct.MISSING_VALUE,r)||this}return t}($t),xe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(xe||(xe={}));function o1(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==xe.literal||n.type!==xe.literal?t.push(n):r.value+=n.value,t},[])}function Rd(e){return typeof e=="function"}function di(e,t,n,r,o,i,l){if(e.length===1&&rd(e[0]))return[{type:xe.literal,value:e[0].value}];for(var u=[],a=0,s=e;a<s.length;a++){var f=s[a];if(rd(f)){u.push({type:xe.literal,value:f.value});continue}if(S0(f)){typeof i=="number"&&u.push({type:xe.literal,value:n.getNumberFormat(t).format(i)});continue}var m=f.value;if(!(o&&m in o))throw new r1(m,l);var p=o[m];if(E0(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),u.push({type:typeof p=="string"?xe.literal:xe.object,value:p});continue}if(id(f)){var g=typeof f.style=="string"?r.date[f.style]:Xu(f.style)?f.style.parsedOptions:void 0;u.push({type:xe.literal,value:n.getDateTimeFormat(t,g).format(p)});continue}if(ld(f)){var g=typeof f.style=="string"?r.time[f.style]:Xu(f.style)?f.style.parsedOptions:r.time.medium;u.push({type:xe.literal,value:n.getDateTimeFormat(t,g).format(p)});continue}if(od(f)){var g=typeof f.style=="string"?r.number[f.style]:cd(f.style)?f.style.parsedOptions:void 0;g&&g.scale&&(p=p*(g.scale||1)),u.push({type:xe.literal,value:n.getNumberFormat(t,g).format(p)});continue}if(sd(f)){var y=f.children,w=f.value,N=o[w];if(!Rd(N))throw new n1(w,"function",l);var h=di(y,t,n,r,o,i),c=N(h.map(function(v){return v.value}));Array.isArray(c)||(c=[c]),u.push.apply(u,c.map(function(v){return{type:typeof v=="string"?xe.literal:xe.object,value:v}}))}if(ud(f)){var d=f.options[p]||f.options.other;if(!d)throw new Cd(f.value,p,Object.keys(f.options),l);u.push.apply(u,di(d.value,t,n,r,o));continue}if(ad(f)){var d=f.options["=".concat(p)];if(!d){if(!Intl.PluralRules)throw new $t(`Intl.PluralRules is not available in this environment.
48
48
  Try polyfilling it using "@formatjs/intl-pluralrules"
49
- `,ct.MISSING_INTL_API,l);var E=n.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));d=f.options[E]||f.options.other}if(!d)throw new Pd(f.value,p,Object.keys(f.options),l);a.push.apply(a,hi(d.value,t,n,r,o,p-(f.offset||0)));continue}}return a1(a)}function u1(e,t){return t?L(L(L({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=L(L({},e[r]),t[r]||{}),n},{})):e}function s1(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=u1(e[r],t[r]),n},L({},e)):e}function nu(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function c1(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.number),strategy:st.variadic}),getDateTimeFormat:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.dateTime),strategy:st.variadic}),getPluralRules:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.pluralRules),strategy:st.variadic})}}var Id=function(){function e(t,n,r,o){n===void 0&&(n=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var a=i.formatToParts(l);if(a.length===1)return a[0].value;var u=a.reduce(function(s,f){return!s.length||f.type!==xe.literal||typeof s[s.length-1]!="string"?s.push(f.value):s[s.length-1]+=f.value,s},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return hi(i.ast,i.locales,i.formatters,i.formats,l,void 0,i.message)},this.resolvedOptions=function(){var l;return{locale:((l=i.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:o==null?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s1(e.formats,r),this.formatters=o&&o.formatters||c1(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Jm,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ge;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(ge||(ge={}));var Le=function(e){$e(t,e);function t(n,r,o){var i=this,l=o?o instanceof Error?o:new Error(String(o)):void 0;return i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
49
+ `,ct.MISSING_INTL_API,l);var E=n.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));d=f.options[E]||f.options.other}if(!d)throw new Cd(f.value,p,Object.keys(f.options),l);u.push.apply(u,di(d.value,t,n,r,o,p-(f.offset||0)));continue}}return o1(u)}function i1(e,t){return t?L(L(L({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=L(L({},e[r]),t[r]||{}),n},{})):e}function l1(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=i1(e[r],t[r]),n},L({},e)):e}function ea(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function u1(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:at(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ut([void 0],n,!1)))},{cache:ea(e.number),strategy:st.variadic}),getDateTimeFormat:at(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ut([void 0],n,!1)))},{cache:ea(e.dateTime),strategy:st.variadic}),getPluralRules:at(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ut([void 0],n,!1)))},{cache:ea(e.pluralRules),strategy:st.variadic})}}var Pd=function(){function e(t,n,r,o){n===void 0&&(n=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=i.formatToParts(l);if(u.length===1)return u[0].value;var a=u.reduce(function(s,f){return!s.length||f.type!==xe.literal||typeof s[s.length-1]!="string"?s.push(f.value):s[s.length-1]+=f.value,s},[]);return a.length<=1?a[0]||"":a},this.formatToParts=function(l){return di(i.ast,i.locales,i.formatters,i.formats,l,void 0,i.message)},this.resolvedOptions=function(){var l;return{locale:((l=i.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:o==null?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=l1(e.formats,r),this.formatters=o&&o.formatters||u1(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Q0,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ve;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(ve||(ve={}));var Le=function(e){Xe(t,e);function t(n,r,o){var i=this,l=o?o instanceof Error?o:new Error(String(o)):void 0;return i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
50
50
  `).concat(l?`
51
51
  `.concat(l.message,`
52
- `).concat(l.stack):""))||this,i.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i,t),i}return t}(Error),f1=function(e){$e(t,e);function t(n,r){return e.call(this,ge.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Le),d1=function(e){$e(t,e);function t(n,r){return e.call(this,ge.INVALID_CONFIG,n,r)||this}return t}(Le),_d=function(e){$e(t,e);function t(n,r){return e.call(this,ge.MISSING_DATA,n,r)||this}return t}(Le),ru=function(e){$e(t,e);function t(n,r,o){return e.call(this,ge.FORMAT_ERROR,"".concat(n,`
52
+ `).concat(l.stack):""))||this,i.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i,t),i}return t}(Error),a1=function(e){Xe(t,e);function t(n,r){return e.call(this,ve.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Le),s1=function(e){Xe(t,e);function t(n,r){return e.call(this,ve.INVALID_CONFIG,n,r)||this}return t}(Le),Md=function(e){Xe(t,e);function t(n,r){return e.call(this,ve.MISSING_DATA,n,r)||this}return t}(Le),ta=function(e){Xe(t,e);function t(n,r,o){return e.call(this,ve.FORMAT_ERROR,"".concat(n,`
53
53
  Locale: `).concat(r,`
54
- `),o)||this}return t}(Le),ou=function(e){$e(t,e);function t(n,r,o,i){var l=e.call(this,"".concat(n,`
54
+ `),o)||this}return t}(Le),na=function(e){Xe(t,e);function t(n,r,o,i){var l=e.call(this,"".concat(n,`
55
55
  MessageID: `).concat(o==null?void 0:o.id,`
56
56
  Default Message: `).concat(o==null?void 0:o.defaultMessage,`
57
57
  Description: `).concat(o==null?void 0:o.description,`
58
- `),r,i)||this;return l.descriptor=o,l}return t}(ru),p1=function(e){$e(t,e);function t(n,r){var o=e.call(this,ge.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(i){var l;return(l=i.value)!==null&&l!==void 0?l:JSON.stringify(i)}).join(),")"):"id"," as fallback."))||this;return o.descriptor=n,o}return t}(Le);function pn(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,o){return o in e?r[o]=e[o]:o in n&&(r[o]=n[o]),r},{})}var h1=function(e){},m1=function(e){},Od={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:h1,onWarn:m1};function Ad(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function hn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function g1(e){e===void 0&&(e=Ad());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.DateTimeFormat).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.dateTime),strategy:st.variadic}),i=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.NumberFormat).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.number),strategy:st.variadic}),l=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.PluralRules).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.pluralRules),strategy:st.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:ut(function(a,u,s,f){return new Id(a,u,s,L({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:l}},f||{}))},{cache:hn(e.message),strategy:st.variadic}),getRelativeTimeFormat:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(t.bind.apply(t,at([void 0],a,!1)))},{cache:hn(e.relativeTime),strategy:st.variadic}),getPluralRules:l,getListFormat:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(n.bind.apply(n,at([void 0],a,!1)))},{cache:hn(e.list),strategy:st.variadic}),getDisplayNames:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(r.bind.apply(r,at([void 0],a,!1)))},{cache:hn(e.displayNames),strategy:st.variadic})}}function iu(e,t,n,r){var o=e&&e[t],i;if(o&&(i=o[n]),i)return i;r(new f1("No ".concat(t," format named: ").concat(n)))}function mi(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=L({timeZone:t},e[r]),n},{})}function Dd(e,t){var n=Object.keys(L(L({},e),t));return n.reduce(function(r,o){return r[o]=L(L({},e[o]||{}),t[o]||{}),r},{})}function Hd(e,t){if(!t)return e;var n=Id.formats;return L(L(L({},n),e),{date:Dd(mi(n.date,t),mi(e.date||{},t)),time:Dd(mi(n.time,t),mi(e.time||{},t))})}var lu=function(e,t,n,r,o){var i=e.locale,l=e.formats,a=e.messages,u=e.defaultLocale,s=e.defaultFormats,f=e.fallbackOnEmptyString,m=e.onError,p=e.timeZone,v=e.defaultRichTextElements;n===void 0&&(n={id:""});var y=n.id,w=n.defaultMessage;id(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var N=String(y),h=a&&Object.prototype.hasOwnProperty.call(a,N)&&a[N];if(Array.isArray(h)&&h.length===1&&h[0].type===X.literal)return h[0].value;if(!r&&h&&typeof h=="string"&&!v)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=L(L({},v),r||{}),l=Hd(l,p),s=Hd(s,p),!h){if(f===!1&&h==="")return h;if((!w||i&&i.toLowerCase()!==u.toLowerCase())&&m(new p1(n,i)),w)try{var c=t.getMessageFormat(w,u,s,o);return c.format(r)}catch(d){return m(new ou('Error formatting default message for: "'.concat(N,'", rendering default message verbatim'),i,n,d)),typeof w=="string"?w:N}return N}try{var c=t.getMessageFormat(h,i,l,L({formatters:t},o||{}));return c.format(r)}catch(d){m(new ou('Error formatting message: "'.concat(N,'", using ').concat(w?"default message":"id"," as fallback."),i,n,d))}if(w)try{var c=t.getMessageFormat(w,u,s,o);return c.format(r)}catch(d){m(new ou('Error formatting the default message for: "'.concat(N,'", rendering message verbatim'),i,n,d))}return typeof h=="string"?h:typeof w=="string"?w:N},zd=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function gi(e,t,n,r){var o=e.locale,i=e.formats,l=e.onError,a=e.timeZone;r===void 0&&(r={});var u=r.format,s=L(L({},a&&{timeZone:a}),u&&iu(i,t,u,l)),f=pn(r,zd,s);return t==="time"&&!f.hour&&!f.minute&&!f.second&&!f.timeStyle&&!f.dateStyle&&(f=L(L({},f),{hour:"numeric",minute:"numeric"})),n(o,f)}function v1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"date",t,l).format(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting date.",u))}return String(a)}function y1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"time",t,l).format(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting time.",u))}return String(a)}function w1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=n[2],a=l===void 0?{}:l,u=e.timeZone,s=e.locale,f=e.onError,m=pn(a,zd,u?{timeZone:u}:{});try{return t(s,m).formatRange(o,i)}catch(p){f(new Le(ge.FORMAT_ERROR,"Error formatting date time range.",p))}return String(o)}function E1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"date",t,l).formatToParts(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting date.",u))}return[]}function S1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"time",t,l).formatToParts(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting time.",u))}return[]}var k1=["style","type","fallback"];function x1(e,t,n,r){var o=e.locale,i=e.onError,l=Intl.DisplayNames;l||i(new Xt(`Intl.DisplayNames is not available in this environment.
58
+ `),r,i)||this;return l.descriptor=o,l}return t}(ta),c1=function(e){Xe(t,e);function t(n,r){var o=e.call(this,ve.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(i){var l;return(l=i.value)!==null&&l!==void 0?l:JSON.stringify(i)}).join(),")"):"id"," as fallback."))||this;return o.descriptor=n,o}return t}(Le);function pn(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,o){return o in e?r[o]=e[o]:o in n&&(r[o]=n[o]),r},{})}var f1=function(e){},d1=function(e){},Ld={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:f1,onWarn:d1};function Id(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function hn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function p1(e){e===void 0&&(e=Id());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=at(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.DateTimeFormat).bind.apply(u,ut([void 0],a,!1)))},{cache:hn(e.dateTime),strategy:st.variadic}),i=at(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.NumberFormat).bind.apply(u,ut([void 0],a,!1)))},{cache:hn(e.number),strategy:st.variadic}),l=at(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.PluralRules).bind.apply(u,ut([void 0],a,!1)))},{cache:hn(e.pluralRules),strategy:st.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:at(function(u,a,s,f){return new Pd(u,a,s,L({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:l}},f||{}))},{cache:hn(e.message),strategy:st.variadic}),getRelativeTimeFormat:at(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(t.bind.apply(t,ut([void 0],u,!1)))},{cache:hn(e.relativeTime),strategy:st.variadic}),getPluralRules:l,getListFormat:at(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(n.bind.apply(n,ut([void 0],u,!1)))},{cache:hn(e.list),strategy:st.variadic}),getDisplayNames:at(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(r.bind.apply(r,ut([void 0],u,!1)))},{cache:hn(e.displayNames),strategy:st.variadic})}}function ra(e,t,n,r){var o=e&&e[t],i;if(o&&(i=o[n]),i)return i;r(new a1("No ".concat(t," format named: ").concat(n)))}function pi(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=L({timeZone:t},e[r]),n},{})}function _d(e,t){var n=Object.keys(L(L({},e),t));return n.reduce(function(r,o){return r[o]=L(L({},e[o]||{}),t[o]||{}),r},{})}function Od(e,t){if(!t)return e;var n=Pd.formats;return L(L(L({},n),e),{date:_d(pi(n.date,t),pi(e.date||{},t)),time:_d(pi(n.time,t),pi(e.time||{},t))})}var oa=function(e,t,n,r,o){var i=e.locale,l=e.formats,u=e.messages,a=e.defaultLocale,s=e.defaultFormats,f=e.fallbackOnEmptyString,m=e.onError,p=e.timeZone,g=e.defaultRichTextElements;n===void 0&&(n={id:""});var y=n.id,w=n.defaultMessage;nd(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var N=String(y),h=u&&Object.prototype.hasOwnProperty.call(u,N)&&u[N];if(Array.isArray(h)&&h.length===1&&h[0].type===$.literal)return h[0].value;if(!r&&h&&typeof h=="string"&&!g)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=L(L({},g),r||{}),l=Od(l,p),s=Od(s,p),!h){if(f===!1&&h==="")return h;if((!w||i&&i.toLowerCase()!==a.toLowerCase())&&m(new c1(n,i)),w)try{var c=t.getMessageFormat(w,a,s,o);return c.format(r)}catch(d){return m(new na('Error formatting default message for: "'.concat(N,'", rendering default message verbatim'),i,n,d)),typeof w=="string"?w:N}return N}try{var c=t.getMessageFormat(h,i,l,L({formatters:t},o||{}));return c.format(r)}catch(d){m(new na('Error formatting message: "'.concat(N,'", using ').concat(w?"default message":"id"," as fallback."),i,n,d))}if(w)try{var c=t.getMessageFormat(w,a,s,o);return c.format(r)}catch(d){m(new na('Error formatting the default message for: "'.concat(N,'", rendering message verbatim'),i,n,d))}return typeof h=="string"?h:typeof w=="string"?w:N},Dd=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function hi(e,t,n,r){var o=e.locale,i=e.formats,l=e.onError,u=e.timeZone;r===void 0&&(r={});var a=r.format,s=L(L({},u&&{timeZone:u}),a&&ra(i,t,a,l)),f=pn(r,Dd,s);return t==="time"&&!f.hour&&!f.minute&&!f.second&&!f.timeStyle&&!f.dateStyle&&(f=L(L({},f),{hour:"numeric",minute:"numeric"})),n(o,f)}function h1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return hi(e,"date",t,l).format(u)}catch(a){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting date.",a))}return String(u)}function m1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return hi(e,"time",t,l).format(u)}catch(a){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting time.",a))}return String(u)}function v1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=n[2],u=l===void 0?{}:l,a=e.timeZone,s=e.locale,f=e.onError,m=pn(u,Dd,a?{timeZone:a}:{});try{return t(s,m).formatRange(o,i)}catch(p){f(new Le(ve.FORMAT_ERROR,"Error formatting date time range.",p))}return String(o)}function g1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return hi(e,"date",t,l).formatToParts(u)}catch(a){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting date.",a))}return[]}function y1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return hi(e,"time",t,l).formatToParts(u)}catch(a){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting time.",a))}return[]}var w1=["style","type","fallback"];function E1(e,t,n,r){var o=e.locale,i=e.onError,l=Intl.DisplayNames;l||i(new $t(`Intl.DisplayNames is not available in this environment.
59
59
  Try polyfilling it using "@formatjs/intl-displaynames"
60
- `,ct.MISSING_INTL_API));var a=pn(r,k1);try{return t(o,a).of(n)}catch(u){i(new Le(ge.FORMAT_ERROR,"Error formatting display name.",u))}}var T1=["type","style"],Bd=Date.now();function N1(e){return"".concat(Bd,"_").concat(e,"_").concat(Bd)}function R1(e,t,n,r){r===void 0&&(r={});var o=bd(e,t,n,r).reduce(function(i,l){var a=l.value;return typeof a!="string"?i.push(a):typeof i[i.length-1]=="string"?i[i.length-1]+=a:i.push(a),i},[]);return o.length===1?o[0]:o.length===0?"":o}function bd(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={});var l=Intl.ListFormat;l||i(new Xt(`Intl.ListFormat is not available in this environment.
60
+ `,ct.MISSING_INTL_API));var u=pn(r,w1);try{return t(o,u).of(n)}catch(a){i(new Le(ve.FORMAT_ERROR,"Error formatting display name.",a))}}var S1=["type","style"],Ad=Date.now();function k1(e){return"".concat(Ad,"_").concat(e,"_").concat(Ad)}function x1(e,t,n,r){r===void 0&&(r={});var o=Hd(e,t,n,r).reduce(function(i,l){var u=l.value;return typeof u!="string"?i.push(u):typeof i[i.length-1]=="string"?i[i.length-1]+=u:i.push(u),i},[]);return o.length===1?o[0]:o.length===0?"":o}function Hd(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={});var l=Intl.ListFormat;l||i(new $t(`Intl.ListFormat is not available in this environment.
61
61
  Try polyfilling it using "@formatjs/intl-listformat"
62
- `,ct.MISSING_INTL_API));var a=pn(r,T1);try{var u={},s=n.map(function(f,m){if(typeof f=="object"){var p=N1(m);return u[p]=f,p}return String(f)});return t(o,a).formatToParts(s).map(function(f){return f.type==="literal"?f:L(L({},f),{value:u[f.value]||f.value})})}catch(f){i(new Le(ge.FORMAT_ERROR,"Error formatting list.",f))}return n}var C1=["type"];function M1(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={}),Intl.PluralRules||i(new Xt(`Intl.PluralRules is not available in this environment.
62
+ `,ct.MISSING_INTL_API));var u=pn(r,S1);try{var a={},s=n.map(function(f,m){if(typeof f=="object"){var p=k1(m);return a[p]=f,p}return String(f)});return t(o,u).formatToParts(s).map(function(f){return f.type==="literal"?f:L(L({},f),{value:a[f.value]||f.value})})}catch(f){i(new Le(ve.FORMAT_ERROR,"Error formatting list.",f))}return n}var T1=["type"];function N1(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={}),Intl.PluralRules||i(new $t(`Intl.PluralRules is not available in this environment.
63
63
  Try polyfilling it using "@formatjs/intl-pluralrules"
64
- `,ct.MISSING_INTL_API));var l=pn(r,C1);try{return t(o,l).select(n)}catch(a){i(new ru("Error formatting plural.",o,a))}return"other"}var P1=["numeric","style"];function L1(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,a=!!l&&iu(o,"relative",l,i)||{},u=pn(n,P1,a);return t(r,u)}function I1(e,t,n,r,o){o===void 0&&(o={}),r||(r="second");var i=Intl.RelativeTimeFormat;i||e.onError(new Xt(`Intl.RelativeTimeFormat is not available in this environment.
64
+ `,ct.MISSING_INTL_API));var l=pn(r,T1);try{return t(o,l).select(n)}catch(u){i(new ta("Error formatting plural.",o,u))}return"other"}var C1=["numeric","style"];function R1(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,u=!!l&&ra(o,"relative",l,i)||{},a=pn(n,C1,u);return t(r,a)}function P1(e,t,n,r,o){o===void 0&&(o={}),r||(r="second");var i=Intl.RelativeTimeFormat;i||e.onError(new $t(`Intl.RelativeTimeFormat is not available in this environment.
65
65
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
66
- `,ct.MISSING_INTL_API));try{return L1(e,t,o).format(n,r)}catch(l){e.onError(new ru("Error formatting relative time.",e.locale,l))}return String(n)}var _1=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Fd(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,a=l&&iu(o,"number",l,i)||{},u=pn(n,_1,a);return t(r,u)}function O1(e,t,n,r){r===void 0&&(r={});try{return Fd(e,t,r).format(n)}catch(o){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting number.",o))}return String(n)}function A1(e,t,n,r){r===void 0&&(r={});try{return Fd(e,t,r).formatToParts(n)}catch(o){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting number.",o))}return[]}function D1(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function H1(e){e.onWarn&&e.defaultRichTextElements&&D1(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
66
+ `,ct.MISSING_INTL_API));try{return R1(e,t,o).format(n,r)}catch(l){e.onError(new ta("Error formatting relative time.",e.locale,l))}return String(n)}var M1=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Bd(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,u=l&&ra(o,"number",l,i)||{},a=pn(n,M1,u);return t(r,a)}function L1(e,t,n,r){r===void 0&&(r={});try{return Bd(e,t,r).format(n)}catch(o){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting number.",o))}return String(n)}function I1(e,t,n,r){r===void 0&&(r={});try{return Bd(e,t,r).formatToParts(n)}catch(o){e.onError(new Le(ve.FORMAT_ERROR,"Error formatting number.",o))}return[]}function _1(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function O1(e){e.onWarn&&e.defaultRichTextElements&&_1(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
67
67
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
68
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function z1(e,t){var n=g1(t),r=L(L({},Od),e),o=r.locale,i=r.defaultLocale,l=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&l?l(new _d('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&l&&l(new _d('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(l&&l(new d1('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),H1(r),L(L({},r),{formatters:n,formatNumber:O1.bind(null,r,n.getNumberFormat),formatNumberToParts:A1.bind(null,r,n.getNumberFormat),formatRelativeTime:I1.bind(null,r,n.getRelativeTimeFormat),formatDate:v1.bind(null,r,n.getDateTimeFormat),formatDateToParts:E1.bind(null,r,n.getDateTimeFormat),formatTime:y1.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:w1.bind(null,r,n.getDateTimeFormat),formatTimeToParts:S1.bind(null,r,n.getDateTimeFormat),formatPlural:M1.bind(null,r,n.getPluralRules),formatMessage:lu.bind(null,r,n),$t:lu.bind(null,r,n),formatList:R1.bind(null,r,n.getListFormat),formatListToParts:bd.bind(null,r,n.getListFormat),formatDisplayName:x1.bind(null,r,n.getDisplayNames)})}function Ud(e){id(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var jd=L(L({},Od),{textComponent:k.exports.Fragment});function B1(e){return function(t){return e(k.exports.Children.toArray(t))}}function b1(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var l=n[i];if(e[l]!==t[l]||!Object.prototype.hasOwnProperty.call(t,l))return!1}return!0}var vi={exports:{}},Ur={};/**
68
+ For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function D1(e,t){var n=p1(t),r=L(L({},Ld),e),o=r.locale,i=r.defaultLocale,l=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&l?l(new Md('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&l&&l(new Md('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(l&&l(new s1('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),O1(r),L(L({},r),{formatters:n,formatNumber:L1.bind(null,r,n.getNumberFormat),formatNumberToParts:I1.bind(null,r,n.getNumberFormat),formatRelativeTime:P1.bind(null,r,n.getRelativeTimeFormat),formatDate:h1.bind(null,r,n.getDateTimeFormat),formatDateToParts:g1.bind(null,r,n.getDateTimeFormat),formatTime:m1.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:v1.bind(null,r,n.getDateTimeFormat),formatTimeToParts:y1.bind(null,r,n.getDateTimeFormat),formatPlural:N1.bind(null,r,n.getPluralRules),formatMessage:oa.bind(null,r,n),$t:oa.bind(null,r,n),formatList:x1.bind(null,r,n.getListFormat),formatListToParts:Hd.bind(null,r,n.getListFormat),formatDisplayName:E1.bind(null,r,n.getDisplayNames)})}function zd(e){nd(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Fd=L(L({},Ld),{textComponent:S.exports.Fragment});function A1(e){return function(t){return e(S.exports.Children.toArray(t))}}function H1(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var l=n[i];if(e[l]!==t[l]||!Object.prototype.hasOwnProperty.call(t,l))return!1}return!0}var mi={exports:{}},Ur={};/**
69
69
  * @license React
70
70
  * react-jsx-runtime.production.min.js
71
71
  *
@@ -73,16 +73,16 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
73
73
  *
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
- */var Vd;function F1(){if(Vd)return Ur;Vd=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(a,u,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(v=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(m[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)m[f]===void 0&&(m[f]=u[f]);return{$$typeof:t,type:a,key:p,ref:v,props:m,_owner:o.current}}return Ur.Fragment=n,Ur.jsx=l,Ur.jsxs=l,Ur}(function(e){e.exports=F1()})(vi);const yi=vi.exports.Fragment,S=vi.exports.jsx,B=vi.exports.jsxs;var au=k.exports.createContext(null);au.Consumer;var U1=au.Provider,j1=U1,V1=au;function mn(){var e=k.exports.useContext(V1);return Ud(e),e}var uu;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(uu||(uu={}));var su;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(su||(su={}));function Gd(e){var t=function(n){var r=mn(),o=n.value,i=n.children,l=$a(n,["value","children"]),a=typeof o=="string"?new Date(o||0):o,u=e==="formatDate"?r.formatDateToParts(a,l):r.formatTimeToParts(a,l);return i(u)};return t.displayName=su[e],t}function jr(e){var t=function(n){var r=mn(),o=n.value,i=n.children,l=$a(n,["value","children"]),a=r[e](o,l);if(typeof i=="function")return i(a);var u=r.textComponent||k.exports.Fragment;return S(u,{children:a})};return t.displayName=uu[e],t}function cu(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function $d(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=Ld(r)?B1(r):r,t},{})}var Xd=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var l=$d(r),a=lu.apply(void 0,at([e,t,n,l],o,!1));return Array.isArray(a)?k.exports.Children.toArray(a):a},Zd=function(e,t){var n=e.defaultRichTextElements,r=$a(e,["defaultRichTextElements"]),o=$d(n),i=z1(L(L(L({},jd),r),{defaultRichTextElements:o}),t),l={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o};return L(L({},i),{formatMessage:Xd.bind(null,l,i.formatters),$t:Xd.bind(null,l,i.formatters)})},G1=function(e){$e(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=Ad(),n.state={cache:n.cache,intl:Zd(cu(n.props),n.cache),prevConfig:cu(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var o=r.prevConfig,i=r.cache,l=cu(n);return b1(o,l)?null:{intl:Zd(l,i),prevConfig:l}},t.prototype.render=function(){return Ud(this.state.intl),S(j1,{value:this.state.intl,children:this.props.children})},t.displayName="IntlProvider",t.defaultProps=jd,t}(k.exports.PureComponent);const $1=G1;jr("formatDate"),jr("formatTime"),jr("formatNumber"),jr("formatList"),jr("formatDisplayName"),Gd("formatDate"),Gd("formatTime");function Wd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Wd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function wi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Wd(e))&&(r&&(r+=" "),r+=t);return r}const X1=`
76
+ */var bd;function B1(){if(bd)return Ur;bd=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(u,a,s){var f,m={},p=null,g=null;s!==void 0&&(p=""+s),a.key!==void 0&&(p=""+a.key),a.ref!==void 0&&(g=a.ref);for(f in a)r.call(a,f)&&!i.hasOwnProperty(f)&&(m[f]=a[f]);if(u&&u.defaultProps)for(f in a=u.defaultProps,a)m[f]===void 0&&(m[f]=a[f]);return{$$typeof:t,type:u,key:p,ref:g,props:m,_owner:o.current}}return Ur.Fragment=n,Ur.jsx=l,Ur.jsxs=l,Ur}(function(e){e.exports=B1()})(mi);const vi=mi.exports.Fragment,k=mi.exports.jsx,U=mi.exports.jsxs;var ia=S.exports.createContext(null);ia.Consumer;var z1=ia.Provider,F1=z1,b1=ia;function Zn(){var e=S.exports.useContext(b1);return zd(e),e}var la;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(la||(la={}));var ua;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(ua||(ua={}));function Ud(e){var t=function(n){var r=Zn(),o=n.value,i=n.children,l=Vu(n,["value","children"]),u=typeof o=="string"?new Date(o||0):o,a=e==="formatDate"?r.formatDateToParts(u,l):r.formatTimeToParts(u,l);return i(a)};return t.displayName=ua[e],t}function jr(e){var t=function(n){var r=Zn(),o=n.value,i=n.children,l=Vu(n,["value","children"]),u=r[e](o,l);if(typeof i=="function")return i(u);var a=r.textComponent||S.exports.Fragment;return k(a,{children:u})};return t.displayName=la[e],t}function aa(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function jd(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=Rd(r)?A1(r):r,t},{})}var Vd=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var l=jd(r),u=oa.apply(void 0,ut([e,t,n,l],o,!1));return Array.isArray(u)?S.exports.Children.toArray(u):u},Gd=function(e,t){var n=e.defaultRichTextElements,r=Vu(e,["defaultRichTextElements"]),o=jd(n),i=D1(L(L(L({},Fd),r),{defaultRichTextElements:o}),t),l={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o};return L(L({},i),{formatMessage:Vd.bind(null,l,i.formatters),$t:Vd.bind(null,l,i.formatters)})},U1=function(e){Xe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=Id(),n.state={cache:n.cache,intl:Gd(aa(n.props),n.cache),prevConfig:aa(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var o=r.prevConfig,i=r.cache,l=aa(n);return H1(o,l)?null:{intl:Gd(l,i),prevConfig:l}},t.prototype.render=function(){return zd(this.state.intl),k(F1,{value:this.state.intl,children:this.props.children})},t.displayName="IntlProvider",t.defaultProps=Fd,t}(S.exports.PureComponent);const j1=U1;jr("formatDate"),jr("formatTime"),jr("formatNumber"),jr("formatList"),jr("formatDisplayName"),Ud("formatDate"),Ud("formatTime");function Xd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Xd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function gi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Xd(e))&&(r&&(r+=" "),r+=t);return r}const V1=`
77
77
  ---
78
78
  Request Info [please do not remove or edit this footer]
79
- `,Z1=`
79
+ `,G1=`
80
80
  ---
81
- `;function W1(e){const t=`User Name: ${e.username}
81
+ `;function X1(e){const t=`User Name: ${e.username}
82
82
  Application: ${e.applicationName}
83
83
  App Version: ${e.version}
84
84
  X4B-UI Version: __npm_package_version__
85
- URL: ${e.url}`;return X1+t+Z1}function fu(e,t,n,r){const o=n.replace("{application.name}",r.applicationName)+W1(r);return`mailto:${e}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(o)}`}const Qd="x4b.menu.fullsize";function Kd(){return(window.localStorage.getItem(Qd)||"true")==="true"}function Q1(e){window.localStorage.setItem(Qd,String(e))}/**
85
+ URL: ${e.url}`;return V1+t+G1}function $1(e,t,n,r){const o=n.replace("{application.name}",r.applicationName)+X1(r);return`mailto:${e}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(o)}`}const $d="x4b.menu.fullsize";function Zd(){return(window.localStorage.getItem($d)||"true")==="true"}function Z1(e){window.localStorage.setItem($d,String(e))}/**
86
86
  * @reach/utils v0.18.0
87
87
  *
88
88
  * Copyright (c) 2018-2022, React Training LLC
@@ -91,10 +91,10 @@ URL: ${e.url}`;return X1+t+Z1}function fu(e,t,n,r){const o=n.replace("{applicati
91
91
  * LICENSE.md file in the root directory of this source tree.
92
92
  *
93
93
  * @license MIT
94
- */function Yd(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ee(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function Jd(e){return typeof e=="boolean"}function Ei(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function K1(e){return typeof e=="string"}function Y1(e,t){if(e!=null)if(Ei(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function gn(...e){return k.exports.useCallback(t=>{for(let n of e)Y1(n,t)},e)}function Zt(e){return Yd()?e?e.ownerDocument:document:null}function J1(e,t){let n=k.exports.createContext(t);function r(i){let{children:l,...a}=i,u=k.exports.useMemo(()=>a,Object.values(a));return S(n.Provider,{value:u,children:l})}function o(i){let l=k.exports.useContext(n);if(l)return l;if(t)return t;throw Error(`${i} must be rendered inside of a ${e} component.`)}return n.displayName=`${e}Context`,r.displayName=`${e}Provider`,[r,o]}function q1(e){var t,n;let r=Zt(e),o=r.defaultView||window;return r?{width:(t=r.documentElement.clientWidth)!=null?t:o.innerWidth,height:(n=r.documentElement.clientHeight)!=null?n:o.innerHeight}:{width:0,height:0}}function Si(e){return"which"in e?e.which===3:"button"in e?e.button===2:!1}function Wn(...e){return e.filter(t=>t!=null).join("--")}function du(){}function qd(){let[,e]=k.exports.useState(Object.create(null));return k.exports.useCallback(()=>{e(Object.create(null))},[])}var Qn=Yd()?k.exports.useLayoutEffect:k.exports.useEffect;function pu(e){const t=k.exports.useRef(null);return k.exports.useEffect(()=>{t.current=e},[e]),t.current}function eg(e,t){let[n,r]=k.exports.useState(t),o=k.exports.useCallback(i=>{e.current=i,r(i)},[]);return[n,o]}var tg=({children:e,type:t="reach-portal",containerRef:n})=>{let r=k.exports.useRef(null),o=k.exports.useRef(null),i=qd();return k.exports.useEffect(()=>{n!=null&&(typeof n!="object"||!("current"in n)?console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."):n.current==null&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."))},[n]),Qn(()=>{if(!r.current)return;let l=r.current.ownerDocument,a=(n==null?void 0:n.current)||l.body;return o.current=l==null?void 0:l.createElement(t),a.appendChild(o.current),i(),()=>{o.current&&a&&a.removeChild(o.current)}},[t,i,n]),o.current?Hi.exports.createPortal(e,o.current):S("span",{ref:r})},hu=({unstable_skipInitialRender:e,...t})=>{let[n,r]=k.exports.useState(!1);return k.exports.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:S(tg,{...t})};hu.displayName="Portal";var ng=["bottom","height","left","right","top","width"],rg=function(e,t){return e===void 0&&(e={}),t===void 0&&(t={}),ng.some(function(n){return e[n]!==t[n]})},Wt=new Map,ep,og=function e(){var t=[];Wt.forEach(function(n,r){var o=r.getBoundingClientRect();rg(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),ep=window.requestAnimationFrame(e)};function ig(e,t){return{observe:function(){var n=Wt.size===0;Wt.has(e)?Wt.get(e).callbacks.push(t):Wt.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&og()},unobserve:function(){var n=Wt.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||Wt.delete(e),Wt.size||cancelAnimationFrame(ep)}}}}function ki(e,t,n){var r;let o,i;Jd(t)?o=t:(o=(r=t==null?void 0:t.observe)!=null?r:!0,i=t==null?void 0:t.onChange),Ei(n)&&(i=n),k.exports.useEffect(()=>{Jd(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),k.exports.useEffect(()=>{Ei(n)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[n]);let[l,a]=k.exports.useState(e.current),u=k.exports.useRef(!1),s=k.exports.useRef(!1),[f,m]=k.exports.useState(null),p=k.exports.useRef(i);return Qn(()=>{p.current=i,e.current!==l&&a(e.current)}),Qn(()=>{l&&!u.current&&(u.current=!0,m(l.getBoundingClientRect()))},[l]),Qn(()=>{if(!o)return;let v=l;if(s.current||(s.current=!0,v=e.current),!v){console.warn("You need to place the ref");return}let y=ig(v,w=>{var N;(N=p.current)==null||N.call(p,w),m(w)});return y.observe(),()=>{y.unobserve()}},[o,l,e]),f}/*!
94
+ */function Wd(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ee(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function Qd(e){return typeof e=="boolean"}function yi(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function W1(e){return typeof e=="string"}function Q1(e,t){if(e!=null)if(yi(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function mn(...e){return S.exports.useCallback(t=>{for(let n of e)Q1(n,t)},e)}function Zt(e){return Wd()?e?e.ownerDocument:document:null}function K1(e,t){let n=S.exports.createContext(t);function r(i){let{children:l,...u}=i,a=S.exports.useMemo(()=>u,Object.values(u));return k(n.Provider,{value:a,children:l})}function o(i){let l=S.exports.useContext(n);if(l)return l;if(t)return t;throw Error(`${i} must be rendered inside of a ${e} component.`)}return n.displayName=`${e}Context`,r.displayName=`${e}Provider`,[r,o]}function Y1(e){var t,n;let r=Zt(e),o=r.defaultView||window;return r?{width:(t=r.documentElement.clientWidth)!=null?t:o.innerWidth,height:(n=r.documentElement.clientHeight)!=null?n:o.innerHeight}:{width:0,height:0}}function wi(e){return"which"in e?e.which===3:"button"in e?e.button===2:!1}function Wn(...e){return e.filter(t=>t!=null).join("--")}function sa(){}function Kd(){let[,e]=S.exports.useState(Object.create(null));return S.exports.useCallback(()=>{e(Object.create(null))},[])}var Qn=Wd()?S.exports.useLayoutEffect:S.exports.useEffect;function ca(e){const t=S.exports.useRef(null);return S.exports.useEffect(()=>{t.current=e},[e]),t.current}function J1(e,t){let[n,r]=S.exports.useState(t),o=S.exports.useCallback(i=>{e.current=i,r(i)},[]);return[n,o]}var q1=({children:e,type:t="reach-portal",containerRef:n})=>{let r=S.exports.useRef(null),o=S.exports.useRef(null),i=Kd();return S.exports.useEffect(()=>{n!=null&&(typeof n!="object"||!("current"in n)?console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."):n.current==null&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."))},[n]),Qn(()=>{if(!r.current)return;let l=r.current.ownerDocument,u=(n==null?void 0:n.current)||l.body;return o.current=l==null?void 0:l.createElement(t),u.appendChild(o.current),i(),()=>{o.current&&u&&u.removeChild(o.current)}},[t,i,n]),o.current?Di.exports.createPortal(e,o.current):k("span",{ref:r})},fa=({unstable_skipInitialRender:e,...t})=>{let[n,r]=S.exports.useState(!1);return S.exports.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:k(q1,{...t})};fa.displayName="Portal";var ev=["bottom","height","left","right","top","width"],tv=function(e,t){return e===void 0&&(e={}),t===void 0&&(t={}),ev.some(function(n){return e[n]!==t[n]})},Wt=new Map,Yd,nv=function e(){var t=[];Wt.forEach(function(n,r){var o=r.getBoundingClientRect();tv(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),Yd=window.requestAnimationFrame(e)};function rv(e,t){return{observe:function(){var n=Wt.size===0;Wt.has(e)?Wt.get(e).callbacks.push(t):Wt.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&nv()},unobserve:function(){var n=Wt.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||Wt.delete(e),Wt.size||cancelAnimationFrame(Yd)}}}}function Ei(e,t,n){var r;let o,i;Qd(t)?o=t:(o=(r=t==null?void 0:t.observe)!=null?r:!0,i=t==null?void 0:t.onChange),yi(n)&&(i=n),S.exports.useEffect(()=>{Qd(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),S.exports.useEffect(()=>{yi(n)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[n]);let[l,u]=S.exports.useState(e.current),a=S.exports.useRef(!1),s=S.exports.useRef(!1),[f,m]=S.exports.useState(null),p=S.exports.useRef(i);return Qn(()=>{p.current=i,e.current!==l&&u(e.current)}),Qn(()=>{l&&!a.current&&(a.current=!0,m(l.getBoundingClientRect()))},[l]),Qn(()=>{if(!o)return;let g=l;if(s.current||(s.current=!0,g=e.current),!g){console.warn("You need to place the ref");return}let y=rv(g,w=>{var N;(N=p.current)==null||N.call(p,w),m(w)});return y.observe(),()=>{y.unobserve()}},[o,l,e]),f}/*!
95
95
  * tabbable 5.3.3
96
96
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
97
- */var lg=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],mu=lg.join(","),tp=typeof Element>"u",Vr=tp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,gu=!tp&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},ag=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(mu));return t&&Vr.call(e,mu)&&r.unshift(e),r=r.filter(n),r},ug=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(l.tagName==="SLOT"){var a=l.assignedElements(),u=a.length?a:l.children,s=e(u,!0,r);r.flatten?o.push.apply(o,s):o.push({scope:l,candidates:s})}else{var f=Vr.call(l,mu);f&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var m=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),p=!r.shadowRootFilter||r.shadowRootFilter(l);if(m&&p){var v=e(m===!0?l.children:m.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scope:l,candidates:v})}else i.unshift.apply(i,l.children)}}return o},np=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},sg=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rp=function(e){return e.tagName==="INPUT"},cg=function(e){return rp(e)&&e.type==="hidden"},fg=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},dg=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},pg=function(e){if(!e.name)return!0;var t=e.form||gu(e),n=function(i){return t.querySelectorAll('input[type="radio"][name="'+i+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=dg(r,e.form);return!o||o===e},hg=function(e){return rp(e)&&e.type==="radio"},mg=function(e){return hg(e)&&!pg(e)},op=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},gg=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=Vr.call(e,"details>summary:first-of-type"),i=o?e.parentElement:e;if(Vr.call(i,"details:not([open]) *"))return!0;var l=gu(e).host,a=(l==null?void 0:l.ownerDocument.contains(l))||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof r=="function"){for(var u=e;e;){var s=e.parentElement,f=gu(e);if(s&&!s.shadowRoot&&r(s)===!0)return op(e);e.assignedSlot?e=e.assignedSlot:!s&&f!==e.ownerDocument?e=f.host:e=s}e=u}if(a)return!e.getClientRects().length}else if(n==="non-zero-area")return op(e);return!1},vg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return Vr.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},yg=function(e,t){return!(t.disabled||cg(t)||gg(t,e)||fg(t)||vg(t))},ip=function(e,t){return!(mg(t)||np(t)<0||!yg(e,t))},wg=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Eg=function e(t){var n=[],r=[];return t.forEach(function(o,i){var l=!!o.scope,a=l?o.scope:o,u=np(a,l),s=l?e(o.candidates):a;u===0?l?n.push.apply(n,s):n.push(a):r.push({documentOrder:i,tabIndex:u,item:o,isScope:l,content:s})}),r.sort(sg).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},kt=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ug([e],t.includeContainer,{filter:ip.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:wg}):n=ag(e,t.includeContainer,ip.bind(null,t)),Eg(n)},vu=k.exports.forwardRef(function({unstable_skipInitialPortalRender:e,...t},n){return S(hu,{unstable_skipInitialRender:e,children:S(lp,{ref:n,...t})})});vu.displayName="Popover";var lp=k.exports.forwardRef(function({as:e="div",targetRef:t,position:n=xg,unstable_observableRefs:r=[],...o},i){const l=k.exports.useRef(null),a=ki(l,{observe:!o.hidden}),u=ki(t,{observe:!0}),s=gn(l,i);return Ng(t,l),S(e,{"data-reach-popover":"",ref:s,...o,style:{position:"absolute",...Sg(n,u,a,...r),...o.style}})});lp.displayName="PopoverImpl";function Sg(e,t,n,...r){return n?e(t,n,...r.map(o=>o.current)):{visibility:"hidden"}}function kg(e,t,n){return{top:n?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}var xg=(e,t)=>{if(!e||!t)return{};const{directionRight:n,directionUp:r}=Tg(e,t);return{left:n?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...kg(e,t,r)}};function Tg(e,t,n=0,r=0){const o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0},i=o.right&&!o.left,l=o.left&&!o.right,a=o.bottom&&!o.top,u=o.top&&!o.bottom;return{directionRight:i,directionLeft:l,directionUp:a,directionDown:u}}function Ng(e,t){const n=Zt(e.current);function r(c){c.key==="Tab"&&t.current&&kt(t.current).length===0||(c.key==="Tab"&&c.shiftKey?s(c)?f(c):m(c)?p(c):y(c)&&N():c.key==="Tab"&&(i()?l(c):a()?u(c):v(c)&&N()))}k.exports.useEffect(()=>(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)}),[]);function o(){const c=kt(n),d=c&&e.current?c.indexOf(e.current):-1,E=c&&c[d+1];return t.current&&t.current.contains(E||null)?!1:E}function i(){return e.current?e.current===n.activeElement:!1}function l(c){const d=t.current&&kt(t.current);d&&d[0]&&(c.preventDefault(),d[0].focus())}function a(){if(t.current&&t.current.contains(n.activeElement||null)){const c=t.current&&kt(t.current);return Boolean(c&&c[c.length-1]===n.activeElement)}return!1}function u(c){const d=o();d&&(c.preventDefault(),d.focus())}function s(c){if(!c.shiftKey)return;const d=o();return c.target===d}function f(c){const d=t.current&&kt(t.current),E=d&&d[d.length-1];E&&(c.preventDefault(),E.focus())}function m(c){const d=t.current&&kt(t.current);return d?d.length===0?!1:c.target===d[0]:!1}function p(c){var d;c.preventDefault(),(d=e.current)==null||d.focus()}function v(c){const d=t.current?kt(n).filter(E=>!t.current.contains(E)):null;return d?c.target===d[d.length-1]:!1}function y(c){return c.target===kt(n)[0]}let w=[];function N(){const c=t.current&&kt(t.current);c&&(c.forEach(d=>{w.push([d,d.tabIndex]),d.tabIndex=-1}),n.addEventListener("focusin",h))}function h(){n.removeEventListener("focusin",h),w.forEach(([c,d])=>{c.tabIndex=d})}}var yu=!1,Rg=0;function ap(){return++Rg}var up=ch["useId".toString()];function sp(e){var t;if(up!==void 0){let i=up();return e!=null?e:i}let n=e!=null?e:yu?ap():null,[r,o]=k.exports.useState(n);return Qn(()=>{r===null&&o(ap())},[]),k.exports.useEffect(()=>{yu===!1&&(yu=!0)},[]),(t=e!=null?e:r)!=null?t:void 0}function Cg(e,t={}){const n=[];let r=k.exports.createContext({descendants:n,registerDescendant:()=>du,...t});return r.displayName=e,r}function Mg(e,t,n){let r=qd(),{registerDescendant:o,descendants:i}=k.exports.useContext(t),l=n!=null?n:i.findIndex(a=>a.element===e.element);return Qn(()=>(e.element||r(),o({...e,index:l})),[e,r,l,o,...Object.values(e)]),l}function Pg(){return k.exports.useState([])}function Lg(e){return k.exports.useContext(e).descendants}function Ig({context:e,children:t,items:n,set:r}){let o=k.exports.useCallback(({element:i,index:l,...a})=>i?(r(u=>{if(l!=null&&l!==-1)return fp(u,{element:i,index:l,...a},l);if(u.length===0)return[{...a,element:i,index:0}];if(u.find(m=>m.element===i))return console.warn(`[reach-ui]: \`useDescendant\` was called with an element that was already registered.
97
+ */var ov=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],da=ov.join(","),Jd=typeof Element>"u",Vr=Jd?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,pa=!Jd&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},iv=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(da));return t&&Vr.call(e,da)&&r.unshift(e),r=r.filter(n),r},lv=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(l.tagName==="SLOT"){var u=l.assignedElements(),a=u.length?u:l.children,s=e(a,!0,r);r.flatten?o.push.apply(o,s):o.push({scope:l,candidates:s})}else{var f=Vr.call(l,da);f&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var m=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),p=!r.shadowRootFilter||r.shadowRootFilter(l);if(m&&p){var g=e(m===!0?l.children:m.children,!0,r);r.flatten?o.push.apply(o,g):o.push({scope:l,candidates:g})}else i.unshift.apply(i,l.children)}}return o},qd=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},uv=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ep=function(e){return e.tagName==="INPUT"},av=function(e){return ep(e)&&e.type==="hidden"},sv=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},cv=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},fv=function(e){if(!e.name)return!0;var t=e.form||pa(e),n=function(i){return t.querySelectorAll('input[type="radio"][name="'+i+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=cv(r,e.form);return!o||o===e},dv=function(e){return ep(e)&&e.type==="radio"},pv=function(e){return dv(e)&&!fv(e)},tp=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},hv=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=Vr.call(e,"details>summary:first-of-type"),i=o?e.parentElement:e;if(Vr.call(i,"details:not([open]) *"))return!0;var l=pa(e).host,u=(l==null?void 0:l.ownerDocument.contains(l))||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof r=="function"){for(var a=e;e;){var s=e.parentElement,f=pa(e);if(s&&!s.shadowRoot&&r(s)===!0)return tp(e);e.assignedSlot?e=e.assignedSlot:!s&&f!==e.ownerDocument?e=f.host:e=s}e=a}if(u)return!e.getClientRects().length}else if(n==="non-zero-area")return tp(e);return!1},mv=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return Vr.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},vv=function(e,t){return!(t.disabled||av(t)||hv(t,e)||sv(t)||mv(t))},np=function(e,t){return!(pv(t)||qd(t)<0||!vv(e,t))},gv=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},yv=function e(t){var n=[],r=[];return t.forEach(function(o,i){var l=!!o.scope,u=l?o.scope:o,a=qd(u,l),s=l?e(o.candidates):u;a===0?l?n.push.apply(n,s):n.push(u):r.push({documentOrder:i,tabIndex:a,item:o,isScope:l,content:s})}),r.sort(uv).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},kt=function(e,t){t=t||{};var n;return t.getShadowRoot?n=lv([e],t.includeContainer,{filter:np.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gv}):n=iv(e,t.includeContainer,np.bind(null,t)),yv(n)},ha=S.exports.forwardRef(function({unstable_skipInitialPortalRender:e,...t},n){return k(fa,{unstable_skipInitialRender:e,children:k(rp,{ref:n,...t})})});ha.displayName="Popover";var rp=S.exports.forwardRef(function({as:e="div",targetRef:t,position:n=Sv,unstable_observableRefs:r=[],...o},i){const l=S.exports.useRef(null),u=Ei(l,{observe:!o.hidden}),a=Ei(t,{observe:!0}),s=mn(l,i);return xv(t,l),k(e,{"data-reach-popover":"",ref:s,...o,style:{position:"absolute",...wv(n,a,u,...r),...o.style}})});rp.displayName="PopoverImpl";function wv(e,t,n,...r){return n?e(t,n,...r.map(o=>o.current)):{visibility:"hidden"}}function Ev(e,t,n){return{top:n?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}var Sv=(e,t)=>{if(!e||!t)return{};const{directionRight:n,directionUp:r}=kv(e,t);return{left:n?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...Ev(e,t,r)}};function kv(e,t,n=0,r=0){const o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0},i=o.right&&!o.left,l=o.left&&!o.right,u=o.bottom&&!o.top,a=o.top&&!o.bottom;return{directionRight:i,directionLeft:l,directionUp:u,directionDown:a}}function xv(e,t){const n=Zt(e.current);function r(c){c.key==="Tab"&&t.current&&kt(t.current).length===0||(c.key==="Tab"&&c.shiftKey?s(c)?f(c):m(c)?p(c):y(c)&&N():c.key==="Tab"&&(i()?l(c):u()?a(c):g(c)&&N()))}S.exports.useEffect(()=>(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)}),[]);function o(){const c=kt(n),d=c&&e.current?c.indexOf(e.current):-1,E=c&&c[d+1];return t.current&&t.current.contains(E||null)?!1:E}function i(){return e.current?e.current===n.activeElement:!1}function l(c){const d=t.current&&kt(t.current);d&&d[0]&&(c.preventDefault(),d[0].focus())}function u(){if(t.current&&t.current.contains(n.activeElement||null)){const c=t.current&&kt(t.current);return Boolean(c&&c[c.length-1]===n.activeElement)}return!1}function a(c){const d=o();d&&(c.preventDefault(),d.focus())}function s(c){if(!c.shiftKey)return;const d=o();return c.target===d}function f(c){const d=t.current&&kt(t.current),E=d&&d[d.length-1];E&&(c.preventDefault(),E.focus())}function m(c){const d=t.current&&kt(t.current);return d?d.length===0?!1:c.target===d[0]:!1}function p(c){var d;c.preventDefault(),(d=e.current)==null||d.focus()}function g(c){const d=t.current?kt(n).filter(E=>!t.current.contains(E)):null;return d?c.target===d[d.length-1]:!1}function y(c){return c.target===kt(n)[0]}let w=[];function N(){const c=t.current&&kt(t.current);c&&(c.forEach(d=>{w.push([d,d.tabIndex]),d.tabIndex=-1}),n.addEventListener("focusin",h))}function h(){n.removeEventListener("focusin",h),w.forEach(([c,d])=>{c.tabIndex=d})}}var ma=!1,Tv=0;function op(){return++Tv}var ip=uh["useId".toString()];function lp(e){var t;if(ip!==void 0){let i=ip();return e!=null?e:i}let n=e!=null?e:ma?op():null,[r,o]=S.exports.useState(n);return Qn(()=>{r===null&&o(op())},[]),S.exports.useEffect(()=>{ma===!1&&(ma=!0)},[]),(t=e!=null?e:r)!=null?t:void 0}function Nv(e,t={}){const n=[];let r=S.exports.createContext({descendants:n,registerDescendant:()=>sa,...t});return r.displayName=e,r}function Cv(e,t,n){let r=Kd(),{registerDescendant:o,descendants:i}=S.exports.useContext(t),l=n!=null?n:i.findIndex(u=>u.element===e.element);return Qn(()=>(e.element||r(),o({...e,index:l})),[e,r,l,o,...Object.values(e)]),l}function Rv(){return S.exports.useState([])}function Pv(e){return S.exports.useContext(e).descendants}function Mv({context:e,children:t,items:n,set:r}){let o=S.exports.useCallback(({element:i,index:l,...u})=>i?(r(a=>{if(l!=null&&l!==-1)return ap(a,{element:i,index:l,...u},l);if(a.length===0)return[{...u,element:i,index:0}];if(a.find(m=>m.element===i))return console.warn(`[reach-ui]: \`useDescendant\` was called with an element that was already registered.
98
98
 
99
99
  If you are using the \`@reach/descendants\` package directly, make sure to only register descendants once. Registering a descendant more than once will lead to bugs in your app.
100
100
 
@@ -104,7 +104,7 @@ To report a bug, open a new issue:
104
104
 
105
105
  https://github.com/reach/reach-ui/issues/new?assignees=&labels=&template=Bug_report.md
106
106
 
107
- IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),Ag(u);let s=Og(u,i),f;return s===-1?f=[...u,{...a,element:i,index:u.length}]:f=fp(u,{...a,element:i,index:s},s),f}),()=>{!i||r(u=>u.filter(s=>i!==s.element))}):du,[]);return S(e.Provider,{value:k.exports.useMemo(()=>({descendants:n,registerDescendant:o}),[n,o]),children:t})}function _g(e,t){let{descendants:n}=k.exports.useContext(e),{callback:r,currentIndex:o,filter:i,key:l="index",orientation:a="vertical",rotate:u=!0,rtl:s=!1}=t;return function(f){if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(f.key))return;let m=o!=null?o:-1,p=i?n.filter(i):n;if(!p.length)return;let v=p.findIndex(c=>c.index===o);function y(){return m===h().index?u?N():p[v]:p[(v+1)%p.length]}function w(){return m===N().index?u?h():p[v]:p[(v-1+p.length)%p.length]}function N(){return p[0]}function h(){return p[p.length-1]}switch(f.key){case"ArrowDown":if(a==="vertical"||a==="both"){f.preventDefault();let x=y();r(l==="option"?x:x[l])}break;case"ArrowUp":if(a==="vertical"||a==="both"){f.preventDefault();let x=w();r(l==="option"?x:x[l])}break;case"ArrowLeft":if(a==="horizontal"||a==="both"){f.preventDefault();let x=(s?y:w)();r(l==="option"?x:x[l])}break;case"ArrowRight":if(a==="horizontal"||a==="both"){f.preventDefault();let x=(s?w:y)();r(l==="option"?x:x[l])}break;case"PageUp":f.preventDefault();let c=(f.ctrlKey?w:N)();r(l==="option"?c:c[l]);break;case"Home":f.preventDefault();let d=N();r(l==="option"?d:d[l]);break;case"PageDown":f.preventDefault();let E=(f.ctrlKey?y:h)();r(l==="option"?E:E[l]);break;case"End":f.preventDefault();let g=h();r(l==="option"?g:g[l]);break}}}function cp(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Og(e,t){if(!t||!e.length)return-1;let n=e.length;for(;n--;){let r=e[n].element;if(!!r&&cp(r,t))return n+1}return-1}function fp(e,t,n){return n==null||!(n in e)?[...e,t]:[...e.slice(0,n),t,...e.slice(n)]}function Ag(e){return e.sort((t,n)=>!t.element||!n.element?0:cp(t.element,n.element)?-1:1).map((t,n)=>({...t,index:n}))}var dp="CLEAR_SELECTION_INDEX",wu="CLICK_MENU_ITEM",Gr="CLOSE_MENU",Dg="OPEN_MENU_AT_FIRST_ITEM",Eu="OPEN_MENU_AT_INDEX",pp="OPEN_MENU_CLEARED",Su="SEARCH_FOR_ITEM",Qt="SELECT_ITEM_AT_INDEX",ku="SET_BUTTON_ID",xi=Cg("DropdownDescendantContext"),[Hg,$r]=J1("Dropdown"),zg={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},hp=({id:e,children:t})=>{let n=k.exports.useRef(null),r=k.exports.useRef(null),o=k.exports.useRef(null),[i,l]=Pg(),a=sp(e),u=e||Wn("menu",a),s=Wn("menu-button",u),[f,m]=k.exports.useReducer(Gg,{...zg,triggerId:s}),p=k.exports.useRef(!1),v=k.exports.useRef([]),y=k.exports.useRef(!1),w=k.exports.useRef({x:0,y:0});return k.exports.useEffect(()=>{f.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame(()=>{Ti(r.current)})):window.__REACH_DISABLE_TOOLTIPS=!1},[f.isExpanded]),S(Ig,{context:xi,items:i,set:l,children:S(Hg,{dispatch:m,dropdownId:u,dropdownRef:r,mouseDownStartPosRef:w,popoverRef:o,readyToSelect:y,selectCallbacks:v,state:f,triggerClickedRef:p,triggerRef:n,children:Ei(t)?t({isExpanded:f.isExpanded,isOpen:f.isExpanded}):t})})};hp.displayName="DropdownProvider";function mp({onKeyDown:e,onMouseDown:t,id:n,ref:r,...o}){let{dispatch:i,dropdownId:l,mouseDownStartPosRef:a,triggerClickedRef:u,triggerRef:s,state:{triggerId:f,isExpanded:m}}=$r("useDropdownTrigger"),p=gn(s,r),v=Ep(),y=k.exports.useMemo(()=>v.findIndex(h=>!h.disabled),[v]);k.exports.useEffect(()=>{n!=null&&n!==f&&i({type:ku,payload:n})},[f,i,n]),k.exports.useEffect(()=>{n==null&&i({type:ku,payload:Wn("menu-button",l)})},[l,i,n]);function w(h){switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),i({type:Eu,payload:{index:y}});break;case"Enter":case" ":i({type:Eu,payload:{index:y}});break}}function N(h){Si(h.nativeEvent)||(a.current={x:h.clientX,y:h.clientY},m||(u.current=!0),i(m?{type:Gr}:{type:pp}))}return{data:{isExpanded:m,controls:l},props:{...o,ref:p,id:f||void 0,onKeyDown:ee(e,w),onMouseDown:ee(t,N),type:"button"}}}var Bg=k.exports.forwardRef(({as:e="button",...t},n)=>{let{props:r}=mp({...t,ref:n});return S(e,{"data-reach-dropdown-trigger":"",...r})});Bg.displayName="DropdownTrigger";function gp({index:e,isLink:t=!1,onClick:n,onDragStart:r,onMouseDown:o,onMouseEnter:i,onMouseLeave:l,onMouseMove:a,onMouseUp:u,onSelect:s,disabled:f,onFocus:m,valueText:p,ref:v,...y}){let{dispatch:w,dropdownRef:N,mouseDownStartPosRef:h,readyToSelect:c,selectCallbacks:d,triggerRef:E,state:{selectionIndex:g,isExpanded:x}}=$r("useDropdownItem"),R=k.exports.useRef(null),[P,V]=k.exports.useState(p||""),_=k.exports.useCallback(U=>{!p&&(U==null?void 0:U.textContent)&&V(U.textContent)},[p]),ue=k.exports.useRef(!1),[ft,xt]=eg(R,null),Te=k.exports.useMemo(()=>({element:ft,key:P,disabled:f,isLink:t}),[f,ft,t,P]),ie=Mg(Te,xi,e),tt=ie===g&&!f,Wr=gn(v,xt,_);d.current[ie]=s;function C(){Ti(E.current),s&&s(),w({type:wu})}function I(U){Si(U.nativeEvent)||t&&(f?U.preventDefault():C())}function O(U){t&&U.preventDefault()}function Y(U){Si(U.nativeEvent)||(t?ue.current=!0:U.preventDefault())}function ne(U){let Kt=Zt(N.current);!tt&&ie!=null&&!f&&((N==null?void 0:N.current)&&N.current!==Kt.activeElement&&R.current!==Kt.activeElement&&N.current.focus(),w({type:Qt,payload:{index:ie}}))}function Kn(U){w({type:dp})}function Tt(U){if(!c.current){let Kt=8,Uv=Math.abs(U.clientX-h.current.x),jv=Math.abs(U.clientY-h.current.y);(Uv>Kt||jv>Kt)&&(c.current=!0)}!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie,dropdownRef:N}})}function Qr(){c.current=!0,!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie}})}function Nt(U){if(!Si(U.nativeEvent)){if(!c.current){c.current=!0;return}t?ue.current?ue.current=!1:R.current&&R.current.click():f||C()}}return k.exports.useEffect(()=>{if(x){let U=window.setTimeout(()=>{c.current=!0},400);return()=>{window.clearTimeout(U)}}else c.current=!1},[x,c]),k.exports.useEffect(()=>{let U=Zt(R.current);return U.addEventListener("mouseup",Kt),()=>{U.removeEventListener("mouseup",Kt)};function Kt(){ue.current=!1}},[]),{data:{disabled:f},props:{id:wp(ie),tabIndex:-1,...y,ref:Wr,"data-disabled":f?"":void 0,"data-selected":tt?"":void 0,"data-valuetext":P,onClick:ee(n,I),onDragStart:ee(r,O),onMouseDown:ee(o,Y),onMouseEnter:ee(i,ne),onMouseLeave:ee(l,Kn),onMouseMove:ee(a,Tt),onFocus:ee(m,Qr),onMouseUp:ee(u,Nt)}}}var bg=k.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=gp({...t,ref:n});return S(e,{"data-reach-dropdown-item":"",...r})});bg.displayName="DropdownItem";function vp({id:e,onKeyDown:t,ref:n,...r}){let{dispatch:o,triggerRef:i,dropdownRef:l,selectCallbacks:a,dropdownId:u,state:{isExpanded:s,triggerId:f,selectionIndex:m,typeaheadQuery:p}}=$r("useDropdownItems"),v=Ep(),y=gn(l,n);k.exports.useEffect(()=>{let d=jg(v,p);p&&d!=null&&o({type:Qt,payload:{index:d,dropdownRef:l}});let E=window.setTimeout(()=>p&&o({type:Su,payload:""}),1e3);return()=>window.clearTimeout(E)},[o,v,p,l]);let w=pu(v.length),N=pu(v[m]),h=pu(m);k.exports.useEffect(()=>{m>v.length-1?o({type:Qt,payload:{index:v.length-1,dropdownRef:l}}):w!==v.length&&m>-1&&N&&h===m&&v[m]!==N&&o({type:Qt,payload:{index:v.findIndex(d=>d.key===(N==null?void 0:N.key)),dropdownRef:l}})},[l,o,v,w,N,h,m]);let c=ee(function(d){let{key:E}=d;if(s)switch(E){case"Enter":case" ":let g=v.find(x=>x.index===m);g&&!g.disabled&&(d.preventDefault(),g.isLink&&g.element?g.element.click():(Ti(i.current),a.current[g.index]&&a.current[g.index](),o({type:wu})));break;case"Escape":Ti(i.current),o({type:Gr});break;case"Tab":d.preventDefault();break;default:if(K1(E)&&E.length===1){let x=p+E.toLowerCase();o({type:Su,payload:x})}break}},_g(xi,{currentIndex:m,orientation:"vertical",rotate:!1,filter:d=>!d.disabled,callback:d=>{o({type:Qt,payload:{index:d,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:wp(m)||void 0,triggerId:f},props:{tabIndex:-1,...r,ref:y,id:u,onKeyDown:ee(t,c)}}}var Fg=k.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=vp({...t,ref:n});return S(e,{"data-reach-dropdown-items":"",...r})});Fg.displayName="DropdownItems";function yp({onBlur:e,portal:t=!0,position:n,ref:r,...o}){let{triggerRef:i,triggerClickedRef:l,dispatch:a,dropdownRef:u,popoverRef:s,state:{isExpanded:f}}=$r("useDropdownPopover"),m=gn(s,r);return k.exports.useEffect(()=>{if(!f)return;let p=Zt(s.current);function v(y){l.current?l.current=!1:Vg(s.current,y.target)||a({type:Gr})}return p.addEventListener("mousedown",v),()=>{p.removeEventListener("mousedown",v)}},[l,i,a,u,s,f]),{data:{portal:t,position:n,targetRef:i,isExpanded:f},props:{ref:m,hidden:!f,onBlur:ee(e,p=>{p.currentTarget.contains(p.relatedTarget)||a({type:Gr})}),...o}}}var Ug=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=yp({...t,ref:n}),a={"data-reach-dropdown-popover":""};return r?S(vu,{...l,...a,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...a})});Ug.displayName="DropdownPopover";function jg(e,t=""){if(!t)return null;let n=e.find(r=>{var o,i,l;return r.disabled?!1:(l=(i=(o=r.element)==null?void 0:o.dataset)==null?void 0:i.valuetext)==null?void 0:l.toLowerCase().startsWith(t)});return n?e.indexOf(n):null}function wp(e){let{dropdownId:t}=$r("useItemId");return e!=null&&e>-1?Wn(`option-${e}`,t):void 0}function Ti(e){e&&e.focus()}function Vg(e,t){return!!(e&&e.contains(t))}function Gg(e,t={}){switch(t.type){case wu:return{...e,isExpanded:!1,selectionIndex:-1};case Gr:return{...e,isExpanded:!1,selectionIndex:-1};case Dg:return{...e,isExpanded:!0,selectionIndex:0};case Eu:return{...e,isExpanded:!0,selectionIndex:t.payload.index};case pp:return{...e,isExpanded:!0,selectionIndex:-1};case Qt:{let{dropdownRef:n={current:null}}=t.payload;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(n.current){let r=Zt(n.current);n.current!==(r==null?void 0:r.activeElement)&&n.current.focus()}return{...e,selectionIndex:t.payload.max!=null?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)}}return e}case dp:return{...e,selectionIndex:-1};case ku:return{...e,triggerId:t.payload};case Su:return typeof t.payload<"u"?{...e,typeaheadQuery:t.payload}:e;default:return e}}function Ep(){return Lg(xi)}var Xr=k.exports.forwardRef(({as:e=k.exports.Fragment,id:t,children:n,...r},o)=>{let i=k.exports.useMemo(()=>{try{return Xa.exports.isFragment(S(e,{}))}catch{return!1}},[e])?{}:{ref:o,id:t,"data-reach-menu":"",...r};return S(e,{...i,children:S(hp,{id:t,children:n})})});Xr.displayName="Menu";var Zr=k.exports.forwardRef(({as:e="button",...t},n)=>{let{data:{isExpanded:r,controls:o},props:i}=mp({...t,ref:n});return S(e,{"aria-expanded":r?!0:void 0,"aria-haspopup":!0,"aria-controls":o,...i,"data-reach-menu-button":""})});Zr.displayName="MenuButton";var xu=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{disabled:r},props:o}=gp({...t,ref:n});return S(e,{role:"menuitem",...o,"aria-disabled":r||void 0,"data-reach-menu-item":""})});xu.displayName="MenuItemImpl";var Sp=k.exports.forwardRef(({as:e="div",...t},n)=>S(xu,{...t,ref:n,as:e}));Sp.displayName="MenuItem";var kp=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{activeDescendant:r,triggerId:o},props:i}=vp({...t,ref:n});return S(e,{"aria-activedescendant":r,"aria-labelledby":o||void 0,role:"menu",...i,"data-reach-menu-items":""})});kp.displayName="MenuItems";var Ni=k.exports.forwardRef(({as:e="a",component:t,onSelect:n,...r},o)=>(k.exports.useEffect(()=>{t&&console.warn("[@reach/menu-button]: Please use the `as` prop instead of `component`")},[t]),S(xu,{...r,ref:o,"data-reach-menu-link":"",as:e,isLink:!0,onSelect:n||du})));Ni.displayName="MenuLink";var xp=k.exports.forwardRef(({portal:e=!0,...t},n)=>S(Tp,{portal:e,children:S(kp,{...t,ref:n,"data-reach-menu-list":""})}));xp.displayName="MenuList";var Tp=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=yp({...t,ref:n}),a={"data-reach-menu-popover":""};return r?S(vu,{...l,...a,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...a})});Tp.displayName="MenuPopover";function Ri({children:e,withMinWidth:t=!0,className:n,...r}){return S(xp,{...r,className:wi({"tw-min-w-[13.125rem]":t},"motion-safe:data-[reach-menu-list]:tw-animate-slideDown motion-safe:data-[reach-menu-items]:tw-animate-slideDown tw-z-[1] tw-mt-2 tw-bg-white tw-shadow-[0_1px_2px_0_rgb(60,64,67,0.3),0_2px_6px_2px_rgb(60,64,67,0.15)] tw-outline-none tw-will-change-transform",n),children:e})}function $g({applicationDescriptions:e,refreshToken:t}){const n=mn(),r=Object.values(e).filter(o=>!o.hidden).map(o=>({...o,url:`${o.url}${t?`#refreshToken=${t}`:""}`}));return B(Xr,{children:[B(Zr,{as:_e,className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"appSelector"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:[S("title",{children:n.formatMessage({id:"appSelector"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M15 20h5v-5h-5m0-2.5h5v-5h-5M7.5 5h5V0h-5M15 5h5V0h-5M7.5 12.5h5v-5h-5m-7.5 5h5v-5H0M0 20h5v-5H0m7.5 5h5v-5h-5M0 5h5V0H0v5z"})})]})]}),S(Ri,{className:"tw-grid tw-max-w-[250px] tw-grid-cols-2 tw-gap-3 tw-px-4 tw-py-4",children:r.map(o=>B(Ni,{className:"data-selected:tw-duration-150 tw-flex tw-flex-col tw-items-center tw-gap-2 tw-rounded-lg tw-px-2 tw-py-2 tw-text-center tw-text-sm tw-font-light tw-text-black tw-no-underline tw-transition-colors tw-duration-500 hover:tw-cursor-pointer hover:tw-bg-gray-50 hover:tw-duration-150 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:o.url,children:[S("img",{alt:"",width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${o.logo}`,className:"tw-my-0 tw-mx-2 tw-block"}),o.name]},`app-selector-${o.name}`))})]})}function Np({children:e,className:t,...n}){return S("h1",{...n,className:wi("tw-my-0 tw-mr-auto tw-ml-2 tw-text-lg tw-font-light tw-leading-none tw-tracking-wide tw-text-black md:tw-text-xl lg:tw-text-2xl",t),children:e})}var Rp=k.exports.forwardRef(function({as:e="span",style:t={},...n},r){return S(e,{ref:r,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal",...t},...n})});Rp.displayName="VisuallyHidden";var Xg=100,Zg=500,Tu={initial:"IDLE",states:{IDLE:{enter:Cu,on:{MOUSE_ENTER:"FOCUSED",FOCUS:"VISIBLE"}},FOCUSED:{enter:Kg,leave:Yg,on:{MOUSE_MOVE:"FOCUSED",MOUSE_LEAVE:"IDLE",MOUSE_DOWN:"DISMISSED",BLUR:"IDLE",REST:"VISIBLE"}},VISIBLE:{on:{FOCUS:"FOCUSED",MOUSE_ENTER:"FOCUSED",MOUSE_LEAVE:"LEAVING_VISIBLE",BLUR:"LEAVING_VISIBLE",MOUSE_DOWN:"DISMISSED",SELECT_WITH_KEYBOARD:"DISMISSED",GLOBAL_MOUSE_MOVE:"LEAVING_VISIBLE"}},LEAVING_VISIBLE:{enter:Jg,leave:()=>{qg(),Cu()},on:{MOUSE_ENTER:"VISIBLE",FOCUS:"VISIBLE",TIME_COMPLETE:"IDLE"}},DISMISSED:{leave:()=>{Cu()},on:{MOUSE_LEAVE:"IDLE",BLUR:"IDLE"}}}},Xe={value:Tu.initial,context:{id:null}},Ci=[];function Wg(e){return Ci.push(e),()=>{Ci.splice(Ci.indexOf(e),1)}}function Qg(){Ci.forEach(e=>e(Xe))}var Nu;function Kg(){window.clearTimeout(Nu),Nu=window.setTimeout(()=>{et({type:"REST"})},Xg)}function Yg(){window.clearTimeout(Nu)}var Ru;function Jg(){window.clearTimeout(Ru),Ru=window.setTimeout(()=>et({type:"TIME_COMPLETE"}),Zg)}function qg(){window.clearTimeout(Ru)}function Cu(){Xe.context.id=null}function Cp({id:e,onPointerEnter:t,onPointerMove:n,onPointerLeave:r,onPointerDown:o,onMouseEnter:i,onMouseMove:l,onMouseLeave:a,onMouseDown:u,onFocus:s,onBlur:f,onKeyDown:m,disabled:p,ref:v,DEBUG_STYLE:y}={}){let w=String(sp(e)),[N,h]=k.exports.useState(y?!0:Pp(w,!0)),c=k.exports.useRef(null),d=gn(v,c),E=ki(c,{observe:N});k.exports.useEffect(()=>Wg(()=>{h(Pp(w))}),[w]),k.exports.useEffect(()=>{let Te=Zt(c.current);function ie(tt){(tt.key==="Escape"||tt.key==="Esc")&&Xe.value==="VISIBLE"&&et({type:"SELECT_WITH_KEYBOARD"})}return Te.addEventListener("keydown",ie),()=>Te.removeEventListener("keydown",ie)},[]),ov({disabled:p,isVisible:N,ref:c});function g(Te,ie){return typeof window<"u"&&"PointerEvent"in window?Te:ee(Te,ie)}function x(Te){return function(ie){ie.pointerType==="mouse"&&Te(ie)}}function R(){et({type:"MOUSE_ENTER",id:w})}function P(){et({type:"MOUSE_MOVE",id:w})}function V(){et({type:"MOUSE_LEAVE"})}function _(){Xe.context.id===w&&et({type:"MOUSE_DOWN"})}function ue(){window.__REACH_DISABLE_TOOLTIPS||et({type:"FOCUS",id:w})}function ft(){Xe.context.id===w&&et({type:"BLUR"})}function xt(Te){(Te.key==="Enter"||Te.key===" ")&&et({type:"SELECT_WITH_KEYBOARD"})}return[{"aria-describedby":N?Wn("tooltip",w):void 0,"data-state":N?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:d,onPointerEnter:ee(t,x(R)),onPointerMove:ee(n,x(P)),onPointerLeave:ee(r,x(V)),onPointerDown:ee(o,x(_)),onMouseEnter:g(i,R),onMouseMove:g(l,P),onMouseLeave:g(a,V),onMouseDown:g(u,_),onFocus:ee(s,ue),onBlur:ee(f,ft),onKeyDown:ee(m,xt)},{id:w,triggerRect:E,isVisible:N},N]}var ev=k.exports.forwardRef(function({children:e,label:t,ariaLabel:n,id:r,DEBUG_STYLE:o,...i},l){let a=k.exports.Children.only(e);k.exports.useEffect(()=>{n&&console.warn("The `ariaLabel prop is deprecated and will be removed from @reach/tooltip in a future version of Reach UI. Please use `aria-label` instead.")},[n]);let[u,s]=Cp({id:r,onPointerEnter:a.props.onPointerEnter,onPointerMove:a.props.onPointerMove,onPointerLeave:a.props.onPointerLeave,onPointerDown:a.props.onPointerDown,onMouseEnter:a.props.onMouseEnter,onMouseMove:a.props.onMouseMove,onMouseLeave:a.props.onMouseLeave,onMouseDown:a.props.onMouseDown,onFocus:a.props.onFocus,onBlur:a.props.onBlur,onKeyDown:a.props.onKeyDown,disabled:a.props.disabled,ref:a.ref,DEBUG_STYLE:o});return B(yi,{children:[k.exports.cloneElement(a,u),S(Mu,{ref:l,label:t,"aria-label":n,...s,...i})]})});ev.displayName="Tooltip";var Mu=k.exports.forwardRef(function({label:e,ariaLabel:t,isVisible:n,id:r,...o},i){return n?S(hu,{children:S(Mp,{ref:i,label:e,"aria-label":t,isVisible:n,...o,id:Wn("tooltip",String(r))})}):null});Mu.displayName="TooltipPopup";var Mp=k.exports.forwardRef(function({ariaLabel:e,"aria-label":t,as:n="div",id:r,isVisible:o,label:i,position:l=rv,style:a,triggerRect:u,...s},f){let m=(t||e)!=null,p=k.exports.useRef(null),v=gn(f,p),y=ki(p,{observe:o});return B(yi,{children:[S(n,{role:m?void 0:"tooltip",...s,ref:v,"data-reach-tooltip":"",id:m?void 0:r,style:{...a,...tv(l,u,y)},children:i}),m&&S(Rp,{role:"tooltip",id:r,children:t||e})]})});Mp.displayName="TooltipContent";function tv(e,t,n){return n?e(t,n):{visibility:"hidden"}}var nv=8,rv=(e,t,n=nv)=>{let{width:r,height:o}=q1();if(!e||!t)return{};let i={top:e.top-t.height<0,right:r<e.left+t.width,bottom:o<e.bottom+t.height+n,left:e.left-t.width<0},l=i.right&&!i.left,a=i.bottom&&!i.top;return{left:l?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,top:a?`${e.top-n-t.height+window.pageYOffset}px`:`${e.top+n+e.height+window.pageYOffset}px`}};function ov({disabled:e,isVisible:t,ref:n}){k.exports.useEffect(()=>{if(!(typeof window<"u"&&"PointerEvent"in window)||!e||!t)return;let r=Zt(n.current);function o(i){!t||i.target instanceof Element&&i.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||et({type:"GLOBAL_MOUSE_MOVE"})}return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)}},[e,t,n])}function et(e){let{value:t,context:n,changed:r}=iv(Xe,e);r&&(Xe={value:t,context:n},Qg())}function iv(e,t){let n=Tu.states[e.value],r=n&&n.on&&n.on[t.type];if(!r)return{...e,changed:!1};n&&n.leave&&n.leave(e.context,t);const{type:o,...i}=t;let l={...Xe.context,...i},a=typeof r=="string"?r:r.target,u=Tu.states[a];return u&&u.enter&&u.enter(e.context,t),{value:a,context:l,changed:!0}}function Pp(e,t){return Xe.context.id===e&&(t?Xe.value==="VISIBLE":Xe.value==="VISIBLE"||Xe.value==="LEAVING_VISIBLE")}const lv=(e,t)=>{const n=e&&t?e.right-t.width+window.scrollX:"",r=e?e.bottom+window.scrollY:"";return{left:`${n}px`,top:`${r}px`}};function av({children:e,label:t}){const[n,r]=Cp();return B(yi,{children:[we.cloneElement(e,n),S(Mu,{...r,label:t,"aria-label":t,style:{background:"white",color:"black",border:"none",borderRadius:"0.5rem",boxShadow:"0 2px 10px rgba(0,0,0,0.1)"},position:lv,className:"tw-border tw-border-blue-500 tw-p-2"})]})}const uv="support@xcomponent.com",sv="sales@xcomponent.com";function cv({systemInfo:e,documentationUrl:t}){const n=mn();return B(Xr,{children:[B(Zr,{className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 tw-hidden aria-expanded:tw-duration-150 sm:tw-inline-block",as:_e,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"help"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:n.formatMessage({id:"help"})}),B("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:[S("path",{d:"M11 2.221c2.343 0 4.548.915 6.209 2.57A8.742 8.742 0 0 1 19.779 11a8.742 8.742 0 0 1-2.57 6.209A8.742 8.742 0 0 1 11 19.779a8.742 8.742 0 0 1-6.209-2.57A8.742 8.742 0 0 1 2.221 11c0-2.343.915-4.548 2.57-6.209A8.742 8.742 0 0 1 11 2.221M11 0C4.924 0 0 4.924 0 11s4.924 11 11 11 11-4.924 11-11S17.076 0 11 0z"}),S("path",{d:"M9.89 15.39h2.22v2.22H9.89v-2.22zm2.21-1.111H9.9c0-3.543 3.3-3.29 3.3-5.49A2.21 2.21 0 0 0 11 6.584c-1.211 0-2.2 1.031-2.2 2.195H6.6a4.388 4.388 0 0 1 4.4-4.39c2.433 0 4.4 1.962 4.4 4.395 0 2.75-3.3 3.062-3.3 5.495z"})]})]})]}),B(Ri,{children:[t&&S(Pu,{href:t,label:n.formatMessage({id:"documentation"}),icon:B("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:[S("path",{strokeWidth:"1",fill:"currentColor",d:"M52.586 20.5H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM52.586 32.1H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM70.25 40.7h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 52.3h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 63.9h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM56 75.5H29.75a1.5 1.5 0 100 3H56a1.5 1.5 0 100-3zM44.181 35.785a1.5 1.5 0 001.5-1.5V16a1.5 1.5 0 00-1.5-1.5H28.896a1.5 1.5 0 00-1.5 1.5v18.285a1.5 1.5 0 001.5 1.5h15.285zM30.396 17.5h12.285v15.285H30.396V17.5z"}),S("path",{strokeWidth:"1",fill:"currentColor",d:"M78.521 5H21.479a4.067 4.067 0 00-4.063 4.063v81.875a4.067 4.067 0 004.063 4.063h43.522c.161 0 .314-.032.46-.08.023-.007.045-.012.067-.021.148-.056.282-.136.404-.233.011-.008.024-.011.034-.02L82.05 81.083c.015-.013.026-.029.041-.042a1.27 1.27 0 00.114-.118c.03-.034.06-.068.086-.104.03-.041.056-.084.082-.128a1.2 1.2 0 00.066-.122c.021-.045.038-.092.055-.139a1.315 1.315 0 00.084-.43c.001-.021.006-.041.006-.062V9.063A4.068 4.068 0 0078.521 5zM20.417 90.938V9.063c0-.586.476-1.063 1.062-1.063h57.042c.586 0 1.063.477 1.063 1.063v69.374H65a1.5 1.5 0 00-1.5 1.5V92H21.479a1.063 1.063 0 01-1.062-1.062zm56.562-9.501L66.5 90.273v-8.837h10.479z"})]})}),S(Pu,{href:fu(uv,`[${e.applicationName}] Support Request`,n.formatMessage({id:"contactUsMailBody"}),e),label:n.formatMessage({id:"contactus"}),icon:S("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})}),S(Pu,{href:fu(sv,`[${e.applicationName}] Sales Contact Request`,n.formatMessage({id:"contactSalesMailBody"}),e),label:n.formatMessage({id:"contactSales"}),icon:S("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})})]})]})}function Pu({href:e,label:t,icon:n}){return B(Ni,{className:"tw-m-0 tw-flex tw-items-center tw-gap-4 tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black tw-no-underline hover:tw-cursor-pointer hover:tw-bg-gray-50 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:e,target:"_blank",rel:"noopener noreferrer nofollow",children:[n,t]})}const Lu="tw-w-[1.5rem] tw-h-[1.5rem] tw-block",Lp="x4b.language",fv=e=>{window.localStorage.setItem(Lp,e)};function Ip(){return window.localStorage.getItem(Lp)||"en"}const _p={en:"EN - English",fr:"FR - Fran\xE7ais"};function dv({language:e,languages:t,onLanguageSelected:n}){return B(Xr,{children:[S(Zr,{as:_e,className:"aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"gray",rounded:!0,compact:!0,children:B("div",{className:"tw-min-w-[36px] tw-text-base lg:tw-text-lg",children:[S("span",{children:e.toUpperCase()}),B("svg",{"aria-hidden":!0,className:"tw-ml-1 !tw-inline-block",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"5",viewBox:"0 0 8 5",children:[S("defs",{children:S("path",{id:"a",d:"M1367.876 32.83a.5.5 0 01-.752-.66l3.5-4a.5.5 0 01.752 0l3.5 4a.5.5 0 01-.752.66L1371 29.26l-3.124 3.57z"})}),S("use",{fill:"currentColor",transform:"matrix(1 0 0 -1 -1367 33)",xlinkHref:"#a"})]})]})}),S(Ri,{withMinWidth:!1,className:"tw-min-w-fit",children:t.filter(r=>_p[r]).map(r=>S(Sp,{className:"tw-cursor-pointer tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black hover:tw-bg-gray-50 data-[selected]:tw-bg-gray-50",onSelect:()=>{fv(r),n&&n(r)},children:_p[r]},r))})]})}function pv({count:e,onClick:t}){const n=mn();return B(_e,{className:"tw-hidden sm:tw-inline-block",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:t,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"notifications"})}),B("svg",{"aria-hidden":!0,width:"22",height:"22",opacity:"0.9",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"tw-block tw-scale-[1.08]",children:[S("title",{children:n.formatMessage({id:"notifications"})}),S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"})]}),e?S("div",{className:"tw-absolute tw-top-[0.3em] tw-left-[22px] tw-min-w-[1em] tw-rounded-[1em] tw-bg-red-600 tw-py-[0.1em] tw-px-[0.3em] tw-text-center tw-text-[0.8em] tw-font-semibold tw-leading-[1em] tw-text-white",children:e}):void 0]})}function hv({username:e,version:t,onLogout:n}){const r=mn();return B(Xr,{children:[B(Zr,{className:"!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",as:_e,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:r.formatMessage({id:"userAccountTooltip"})}),B("svg",{"aria-hidden":!0,width:44,height:44,viewBox:"0 0 44 44",version:"1.1",children:[S("title",{children:r.formatMessage({id:"userAccountTooltip"})}),S("defs",{children:S("clipPath",{id:"user-badge--clip-path",children:S("circle",{cx:"50%",cy:"50%",r:"22",fill:"#FFFFFF",fillRule:"evenodd"})})}),S("image",{width:"44",height:"44",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfMAAAHyCAMAAADIjdfcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYBQTFRFM22C0LKTQX6aSEhIRoSiSoyuMGp+0cjRRICdNXCFQH2ZP3uWs7OwJ11xhoeGR2VzSIalSousPnqVSoqrOHOKz6jORoalPHmT/ubPR4enR4WkRYSjPXqUoYt2VVVVQ4GeOnaPSYqs5NbjOXSNS4ytrGeqcXBvdIeENnGIRVZdRUVFSl9o/vDjOVll4sWlRXSKLlpp/dy8sKqXN1FaUVFR8cqjO3eQTExMPnuWk5uYbZKet5yCR4OgRElL0b2jW4mboKWiRm19TIOa/dKoT4efQk1STI2vUVtf////Rn6apFiiU1dZSIioQHePQoCcSYmpRYKgRYOhQX+bQHSLRIKgQ4GdRIOhSIinQHyXPHiROnWNPnmTSImqO3iRQn+cQoCdSImpSYqqOnWOQX6ZSYioQ4CdOXSMuoK56ebpjnxs8/Pz5r2eUFVXc2hdXl5f/dWuXFZRUE1L+fT58+rz/vz5Z19X/vjxQXCEXHp+OHSOak5pSH+bRnuUklWRgW6AU0pTDizfXgAAHjtJREFUeNrs3etjE8d2APAxohKxPRZ140DBXqe6tYikGBljX9coMiiKasVcqHmlUFJyb9Nb2WBjDAFze932X69k+aHHrnYeZ2bOked8SfIFVvvLOXNmZneW/TPC+JvI+MeT+NuI+Ie/C40//ennn3/+4x//pTP+0BX/+Yd/bcbf98Xldnx1FEf/eq03Ll4/jYtH8eg0fjqKp+3YPInmv892x7Oj+POlS5d++eVhZ7w6icftuNAVv452xvPuGOuJycnJ6WZMTjJPft7IMZp7crPk08yTnzdyfOae3DQ5OnNPbpwcm7knN0+OzNyTWyDHZe7JbZCjMvfkVsgxmXtyO+RXmCc/b+QvmSc/b+RozD25NXIs5p7cHjkSc09ukRyHuSe3SY6ib/fkVskxmHtyu+QIzD25ZXL35p7cNrlzc09undy1uSe3T+7Y3JM7IHdr7sldkDs19+ROyF2ae3I35A7NPbkj8hfMk583cmfmntwZuStzT+6O3JG5J3dI7sbck7skd2LuyZ2SuzD35G7JHZh7csfk9s09uWty6+ae3Dn5vzNPft7ILZt7cgTkds09OQZyq+aeHAW5TXNPjoP898yTnzdye+aeHAu5NXNPjobclrknx0NuydyTIyK3Y+7JMZFbMffkqMhtmHtyXOQWzD05MnLz5p4cG7lxc0+Ojty0uSfHR27Y3JMjJP+aefLzRm7U3JOjJDdp7slxkhs09+RIyc2Ze3Ks5MbMPTlaclPmnhwvuSFzT46Y3Iy5J8dMbsTck6MmN2HuyXGTGzD35MjJ/4OdH/LDYiWdzjWjlj+JWus/0+l0sXiOyMHNMZJvNrFz5XxM1Jr4xUvngBzaHB35YaUjrQWinEsfHA43+b+xISb/sRKf3VHwxeElhzXHRH6YruW1ouk+nOSg5njItcFP3Q+HjxzSHAv5dxUY8OPWLl0cMnJAcyTkP6bLeeCoFYrDRA5njoP8x0LeSNRaRX5IyMHMUZCbEm+P7QdDQg5ljoF806R4O9l/HQZyIHMM5JVy3nwUDumTw5gjID+s5e1Erkid/HdsOMjTeXvRVCdNDmHuntxakp+qUyb/LzYE5FZG8h71Q7rk+ubuyQt5F1E4pEqube6cfLOWdxPlClFyXXPX5MWKK/JWgX9AklzT3Cl5Me3Qux1piuR65g7Ji4VyHkGcpjohci1zZ+TfVWp5JFGukCPXMXdF/l26nEcUBWrkGuauyCuoxFv1/TktcnVzR+TFWh5d1B6QIlc2d0P+XTqPMcpPKJGrmrshP6zl83jRqZB/yQiRV/Joo4lOhlzN3An5d4U84iiPkSFXMndDXsujjtoYFXIVcyfkf0VO3pyyUSFXMHdCfljOo480EXJ5c08eGU9okEub+7F8wJBOg1zW3JMPrO4kyCXN3czLc3kq8YQCuZy5G/I0GfJ8jgK5lLlffYuN+TH85DLmbsj/WqZkXuZj6MklzB1tntbypOI2H8NOLm7uiDydJxacjyEnFzZ3RH5IjbyZ6PyfcJOLmrt6ECpHzryZ6Pz3qMkFzZ09+0aPvJXoJ+g4ycXMnT3hWiNoXuYn6EjJhcydPceezueJJnoLHSu5iLm7VxfKJM1r/AgdLbmAubsXlGimeT6/cIT+JVbyeHN35ETT/Li4c/4NUvJYc4evIVbyVIP3oqMijzN3+bJxjaz5Qg86LvIYc5fkRbLkx13cKToy8m8Y2iMFCnTNT4o75wwh+UBzp+SbZcLmt0/Rk/jIB5m7PSumQpj8rLg30dGRDzB3fDxQjrL5WXHvRUdAHm3u+kQo0uSnnXsvOgbySHPnh4DRNr/NO9GvoCKPMnd+1F+atnmZd8UVTOQR5u4P9Kzlh6e4n6AjIQ83d0++SZy8u7i30bGQh5ojOI9dZTjf30Vszq+gIQ8zx/ChDcnhfD9bGqlWqyW0A3ozXmAhDzFH8QUlqdn5dql6HCW0A3oz/oKEvN8cx3fSxBde92eWq2exjbe4t9BRkPeZ4yDfVBPHhB5izn+HgrzXHMkHMEVbuO0ecUToZR6GjoG8xxzLZ27FNljejVRDAsuYzgegOyXvNkfzMeu0YpJjQl8IRf/GPXmXOZ7vl4s8L1GqRsXIPtYBvRlfOCfvNMdDLjBV2x+pRsebj3jN+ReuyTvMEZHHmw8kr1aXEXRyNR6F7pj8zBwT+eWaHnlrUN/H2cQdo7skPzVHRX5Zm7w5qH/E2cS1y7tL8i8YRvI4cwFyBPU92pwnXZIfmyMjv6zasfek+juUTVwnugvytjk28sHm21XRcJvqg8yP0Z2QH5mjIx9ovluVCJejeo3Hobshb5njIx9kvv+mKhXuGvgyj0F3RN40R0j+FcBgflbgZ9BN1o7Rv3ZD/gXDSP4VUGU/WZbbRmnO+ddOyAeYOyT/CqyyO1VfEEO3TR5t7pI82nymqhgu1OPNW+jWySPNnZJHmr9brlbV1fcxTdZO0O2TR5m7Jf8KrIHr6ebeoTM/QrdLHmHumPxyxCOQ76q6UcpiM+d/sU0ebu6a/HLORJofl/gSyDLN/u7MzEzMaFETMudfWiYPNXdOHmH+rgoTI9uaNf5j6WSXp/RO37wT3QZ5mLl78gjzUhUsRtSz/d3MG8El/TKXRbdCHmKOgDzcfH+5ChnLJYV0f7c9IvFwNZdEt0Peb46B/FpObz9NYnDflsj33VLoxv22vnkb3RJ5nzkK8nDzkaqZGCltx7/Rurtdiiwz2/rmLXRb5L3mOMivhT3f/rFqMt6MlGayu2FJv5udKcU8cflRfSHu7CQ5a+Q95kjIQ81LVSvxZqQVzYlYqfVPseX9EQDzTnSz5N3mWMhDzd9U8cYMgPkZumHyLnM05GHmH6uY4x2A+Qm6afJOczzkYeYl1OYlCPM2unHyDnNE5GHmb6r0El3WvIVunvzMHBP5taKxdVerI7q0OU9aID81R0UeYr6N3PwNjHkT3Tj5iTku8hDzEnLz6kcYc540Tn5sjow8xHwZu3kJyPwU3Rh52xwbeb/5Lnby0OKuZH6Mbo78yBwd+bVDasN5eOeuZn6EbpC8ZY6P/No1csN56E6LonkT3SR50xwj+TVis/OIAV3VnPMvDZJ/wVCSXyQ2O4/YaFE370QHJ2coya+Ta+GaAWp+hg5PzlCSXy8Dvb7itonTMT9BN0DOUJJfz5Fr4arVXVjzNroJcoaSvNd8hIL5NrB5C90IOUNJ3mtOgTxkm0XTnH9phpyhJO8x/0jCvKTzDGTEoWJGyBlK8usFem17yGSNG0LXJGcoya+nqa28GjIPRdclZyjJe8xJTNX6J+hlbgRdm5yhJO8xH6FpXuMm0PXJGUryi0VvfvaQHDQ5Q0neY75Mw3xX6cwBOXQIcoaSvMe8er7NO9BByBlK8osXvXnXhjooOcNJfpHe9LzffIEDowORM5zkj2oEzbfNmR+hQ5EznOR3Os/+oGI+A78k04kORs5Qkq+2HiTdpbUM122eLS1XF2HRwcgZVvKOTYsZcua77ef3zKMrkTOE5HeXu3eqyJmfPuLx2TC6GjnDR/5ovGd7kpr52VM9N7lRdEVyho/8h95WmIp5qf9Brhsm0VXJGTryR/c67tnyOypPw51upnZdLeyI3o2uTM7QkT+62XsfRyiZ90wyuDF0dXKGjvxR30IHJfPex7g+m0LXIGfoyO9037Q3tMx7r3WVm0HXIWfYyLuG83aiEzLvazcXuRF0LXKGjbxjpnaS6FTMl0OOIR7hJtD1yBk28kdrfVsXVMyrYTMMbgJdj5xhI+83HyFjHvb6LDeCznTIGTby7qlau2ZSMS/ZMuecaZAzbOQ/VYcrPltHjyVn2Mi9uSZ6PDnDRu7N9dCZqrlD8mEzr3Cr6EzV3CX5TzeHy5xzm+hM1dwp+U9r3lwZnamauyV/6s2V0ZmquWPyp+NDRb7G7aEzVXPX5E/vDZX5CLeGLiqeZNjIn64OlfmiafPTxXdh8l5z9+RP7wyV+Sq3hC5O3mOOgPzpD35JRgFdgrzbHAP5082hmqBXuBV0GfIucxzkm8M0WVvmViIpQ95pjoR8c5ga9xGOCT3Za46FfPOOb+HMoCd7zdGQb276Fs4IerLXHBH5MA3onKNBT/aaYyIfogF9kaNBT/aaoyIfogH9BseCnuw1x0X+9OnQzNArHAl6stccG/nQbK2tcY4DPdlrjo58dliK+wTHgZ7sNcdHPjs7JMU9yVGgJ3vNMZLPDkfnvsg5BvRkvzlC8tnh2Fv7zDGgJ/vNMZLPzg5DF3eTcwToyVBzhOSzd/3kHAY9GWqOkXx2ds2nOQR6MtQcJ/kQTNcmuHv0ZIQ5SnL6ie4wzU/RkxHmSMnJj+g3uHP0pIg5IvLZZ4v+ARk99KSIOSryZz+QXoyrcOfoIua4yJ89o9zGrXKOF52hJX9GuLqvcY4YneEl//MlqtV9ucIxozPE5Jd+WKZp/plzzOgMMfmlX+6QRL/BOWp0hpn8l4cU0RGRh6Mz1OQPH96hNqYvoyIPRWe4yR8+/J5W9z5S4Rw7OkNO3oy742QK/OJnji9CzLGTPyRT4SscZ/SZUyB/+IpCgV/jnAY6I0H+isI67Congs5IkL/63q/EwKEzEuSvXuF/hGKZcyLojAb5K/wniC1yKuiMBvkr/I/N3OBU0BkN8lev0M/WkpwKOiNC/hj7bG2NcyrojAj5Y+yztQlOBp0RIX/8GHlxr3Ay6IwKOfLivsY5GXRGhRx5cZ/gnIw6o0L++MJNX9ph0BkZ8guLvrQDve1AhvzCXV/aYYKRIb+AubgnSZnTIb+Ad819kVMzJ0KOuLjfoGZOhfzCBawbqsucmDkdcrTFfZGYOSHyCxeQPgBboW6OmPwCziPE1jhxc8zkSLu4G8TNUZP/Oopxir6cpG2OnHx01Xdw0ObYyUdHl30HB2uOn3wU34nPI5yyOQHy0bu+g4M0p0A+OoptunaTEzanQT6K7XGZCcLmRMhHR9f8RA3InAw5sunaKidrTod89PlNP1GDMKdE/hxToi9yquakyJ9jSvQKVXNi5IgSnWSat8ypkT//ftmnuZ45OfLnz+/5NNcyJ0iOJtErpM1JkWMZ0Ymm+bE5MfLnd3ya65pTI8dhTjXNj8zJkeMwrxA2p0f+fMyvtGuZUyRHYE5xQ+3EnCQ5AvMJTtycGrl785ucuDk58jHnD058Jm5Oj9y9OadtTpDcm+uZUyT35vprr9TIvbm2OTnysXveXM+cHrk31zQnSO7N9cwpkntzLXOS5N4c1JwE+dgdbw5nToPcmwOaEyGf9OZg5lTIvTmYORlybw5lTod82pvDmBMin77rzSHMKZFPT3tzAHNa5JP+0Sh9c2Lkrs1HhsCcGrk31zYnRz7tzTXN6ZF7c01zguTeXM+cIvn0sjfXMCdJPr3mzdXNaZJ7cx1zmuTeHMScFLk3hzAnRf79HcdnQa7dTdI3p0R+J1WvX3VrfrVeT90lbk6I/OBtvY7BvL5VW6BsTog8nbjXMv/WvXl9onybrjkd8oNaIvEai3kmkSCZ6owUeTqRSGTrWMzrbxMJiqnOCJE/aSZ5ol3acZhPtK6nRtCcDHm63LrFiRQe8/GjCypTq++MCvnvc4l2bOExTx1f0m2K5vjJD2rH9zdRx2O+dXJNtFo5RoM8fXJ3E2/b5nW35p/aF3F6VeV5YuboyU/r+mnb7nhR5la9x5xUfWcEyA/KiX5zp8X92+OLyHZcGJ36zvCTpxOJEPP6LXfke/UQczqpzrCTP8klws0/uU/zHnMqU3WGnLxSTkSYuxvRb9UjzIlM1Rlq8geFRCLS/DdH1X3vt0hzGvWdYSY/m5SHmdc/7bmt7GHmFFo5hpg8XU4MNHfTu3eQtzZZ+gJ/fWdoyR/kEokYcxfoVzv//tArRF/fGVbySjkRb24fvYs8whx7qjOc5BFJfrbe7gi9m7weeZG3kZsjJA9r3sLN7aL3kGeirxJzK8cQkofM0DridS/6npP2rXMvlViqM4RZnht0K4+fmajbn7Lt9ZIPNseLzhC2b5LmlhZnbn3q+4vvDbzQGmpzZPPygXcyMV7vDwvLsLd+qw+TObY19sHm90LMjQ/qe1fD/tYsWXN0O2mDzSfC7r7h+h5S1+PNE3jNke+XxyzKdNT3PVtTtPjpOXJzZORP0utLMbcyAqD+6ZbVJK/XX8dcaJCbX0BsjmNeXincD4Igzvx1FLqRUX3vauRfl4q50KXmj9nJLSA1R0BeSa8H7diPuZWpSIT6b1etJfnpKw2DzY/YkaU7Q0D+4CBdCM5iJSE/WTtL9Vtml2E6Y1XMHJ07c0z+4Cy/Rc1X6wMDrsAPKOsibXtiv/t3oXFnDsmb6X0/6I848+xgiWaBh1G/+lvMXxTImaOBZ27IDyqF9SAiEnHtcD0uPl01O5CLte2JlahfmJt3Cs+skw/iFjI/fkvRqPqtb+P/jpSy+XHCu4JnFslfFtMx3GLmqXrdrLqIeNxqe5z5cca7KPXMDnmzVRPhDgSm5xEr7nDqYuLHJw5omjuBZ8bJi5XwVk3dfKJeN6d+9ZPon56NvVCJX33U3C3YNDdD/rJYEU1uKfO3deGQ7OH3xMVjV9slzS0O8swM+VgxrcAttAw3cPVVa5VmL3Z2JtXCKZjbqfXMAPlYpRCoh4B5qi4Vn4SSXXQYF1157V6IU8h4k+bA5GPpQCtWElBNXEeJj1uck0txsRZOy7zFvmDMHJi8uB4YN5+oy8cg9b1vFf7At6bNm0Xe3Ho7JLlmkouZB3WViKzw8jkusgoHYB7smDIHJB8raJMHAvdSZCVO+KGKvU9Kf5hACxe64I6gvjNQ8vXAjnmqrhZXxZ5nBVmFAzE3gs6wkQuZr9ah0K+q/klZgctcCVCiM2zkSyLm2ToQumqWx2+kQpkbQGfIyMXME8rm3cdN7SmTZxK2zOEbOQbWscOQC5qnlM0/DXrpEHRFBsocHJ3hmaQJL8OprMqEVvdb6n/KhNBlAt2TnDFzLfJKYNVceUD/kMm8OY7l6id187c2zYN5Q+Z6q29Qv05kSUZ+QN/KTE01GnMbfdFoTE1lPsiTbyWsmgcLRsz11tjv2zYXHtA/NLU34qIxlTEwnAOa75gw19tJKwS2zcdFdeLB2zE3tQU+nOsvvhoZ0hkE+QEceSB2M4W3Wd5viMf7D1uwwzmgOeSQziD2y+/bNxfdZslImDc25j6ADueQ5jvA5ppPxQBWdmHzRAa2tJ+wv4ccziHNAas70yeHrOyCSzLCA/rUhmQ0IIdzUHO43p1pkwOtucqaT0BX9uOYAhzOITbWDFR3pv24YzpwYi4yQ/8wJ2++sQU3nMOag7VxTJf8QeDIPAU+mB9P2t6DDefA5jug5hrPsRdgzfeFze/BD+ai1V10OIfaZAFu45gmeTFwZZ41UtlbETslCByZA7VxTPNtFeA0F12GE3mzoaFIHlvdMwlX5jkocx1y6DSXMU8ZqewC1X3cmTlMojO9d9LWHZqvmqns8dU9684cJNGZFnklcGieNVPZ41dmxC8xEWBMdKb15il4mgcS93PgU+6ZDa2Y0nyy3Zh5DsZcnRw+zaXMBy2/zumZD9psWXVpDpHoTOdIgYJb8wkjDVxsomedmgMkOtMgLwZuzQMzDVxMG7eVcGoOkOhM4+AQA2m+JHNDo/dTtdN8QBs37thcP9GZOrmJNJczv2emgWtHSnfhFXwz9ThgzeWOByo4N8+amKfFrcYFrs3nIc3lyB8Ezs0jll9B0jyqjcskXJvvAJpLHgKWNmG+L2c+bmKeNjjR7zk31050pnzu230E5qGztdTGhsFEz7o334EylyWvBAjMw2Zr7+egzDc+qB0pYtpcd7rGVA/0LGAwD5utTYGRz6U0Z2qmzHMg5tLkRSM/RmaLJWK2BpbmjdR73ZmaKfMAwlz+2N4CDvOsoTRvpD4AzNSMmc/rm8uTv7yPw7x/b21Ke3I+6IXFVAKF+Y62ucLh3GY6OAXzsNlaZqqhWODn4l5QXZW8vH1D92lB01zlPPYCFvPIvbVMKvyN8+iZWUrgdai3SMxzeuZKR/AHWMzj3lXcymQEq73I64lbCSTmWl0cU/rQRhqNucirDR+Eyjrku4nmzechzKW+rbJu6qdIkwsdDzil95CE8kzNoPkOgLkUeTHAYy7y0YaMxtapxiKcSXOdLo6pfEGpgMhc6EX0BsxwPo7IfF7XXPKjWfcxmYu8iL4F8975BCLzHU1zSfKDAJO50FFxUyDDufzlLQUIiztT+BpiAZW52GHucegiI0Qqgck8p2MuS/4ywGUudMpIBsBcbhFuZd8guFZxZ/LfPK0gMwc5ZUSkbX+LhVuzi2Pyn7ktIDMX+tzalP54nsHDrVfcmTS5ydKuZp4CMG8AzNRWlqx5axV3Jv0xa5OlPVjaXzFT3Kf0l16zMeCB7ZjXMZf6fnnB+G9ZasqvdNqvdP+nypmQsasyWvsrK4GLyGmYS5E/cPLzllZMHyGV0SrtTtB31M2lyM2WdiVxoX2WhvZ6+4TlIyXMFXcmSW6htMuKC+2zaO+rxe+vrFAp7kySfOw+OnGhfRbtBXeR/RXbfdwOhHk8ueXSLvj+Wmxxf6/9zITY/opl9QV983jysbTNn7QCts8isIMOtb+yj764MznysXVcRV10n0XAPAO2v2Iv2Xd0zUXIixjBBfZZUroPykhuna9gLu5MitzScC6/FpfV3T+Pa9xRbZ1rztaYFLmF0r60r7TmvqVt3gDeOrfCntMxFyN/gKykCxf3hubDzquq12V6bNcwFyM3XdqVxWP3WURea4B8f8VaHz+vbC5IbnoRbkn9zsZsoouYZyBO77Zd4HOq5qLkphfhdMwHF/c5vSfcVzUuDN9sjcmQG5+pJUwVd83jPt+iNVeZrTEJcvOLcCumirveAd46pd30TH1exVyc3PyemqnintF7S3EV7XCuVNyZBLmFxyUMFXexUwIplnaV2RoTJ7exCJcwU9zFzDMES7tKcWfi5Db21FbMFHexg4VSYK8m4l6KY+Lkkxb21JbMFHcx8ymAQ/rtm+/omMeRP7GxaaBT3HXNG0AHilgdzhVma0yYfNLKnppOcU9pfoRpDr6029hTnVc2jyWftPL0o5niLnhmHMXSrjCgM2HyaTuPyOjUUd2vMGUolnb5AZ0Jk1sZzvUG9JTOMlxU4469tMsP6EyUfNrSE6/7Joq7vQPbHTwrIz2gM1HyaUsvMywZKO5bguYNiqVdfkBnouTTtl5mMFDcRT/QMkeytEsvvzJRckvDud5sbULz21skS7v0gM4EySetvcBioLgLn+meoVjapQd0Jkg+ae/dRPjiLmyeIlnaZQd0Jkg+ae8FFvjiLmw+RbK0yw7oTJDc2nBuorgLf7qhQbK0yw7oTIx82ub7qODFXdh8jmRplx3QmRj5tM2jBsDX3MU/0UKztEsO6EyMfHo9IJLor9WX4fobdyKlXXJAZ2Lkdk8Ogn5aRvkD2ERKu+SAzoTIp+0eLwFc3D+Im0/BPfxo9cSJeRXzweTTVo+XgC7uEt/GboA9/Gi1tMsN6EyIfNryaVGwxV3CfA7sufZ9qzdsR948jnzaLjlwcZf5nOZ7Ms+1qw/oTIj8wPIvgC3uMuYZMs+1qw/oTITc9nAO/BKTjPkUkVeWdAZ0JkJ+xf7hj5DFvaFoTqi0Sw3oTIT85bp1c8g3VGXMGzRLu9SAzkTIn1j/BaDFXcZ8jsJBA5oDOhMgf+niLGeNG55VXobratzfUkpzmQGdCZC/TAe0En1LwzyjdzyYmw5Oxzyc/GUhoJXo45Ln+4Y2cROkSrvMNgsTIH/p4ifodHFZ1WW4TnON/+n2XdyvBSXzKPIDJ+ZgxV3OvAFQ2p3cr3kV8yjyKxUnvwGsuKekzOf0Szv2L/KwePIr6YBaor9VXYY7a9wDUh2c1KoMiye/sh6QS/SMunmGZmmXaOJYPPkVR79B53XFVXXzKd3SvuTodi1Img8iP3BlHsAU94aC+Wt6aS7exLFYclfDud50LaNs3tB8EG7f1d3KSZkPJL9SCAgm+qr0IRNdjfsEvTQXb+JYLLmzFk4r0QPFpdd24/6a2kRNakBnseRX3P0InelaStk8o1XaHd6teWHzOPIDh79Co7hPqC3DtZu4LMU0FzePI3fYwmkleqBhvkVvoibTxLE4cpctnFaip1TNGxql3WWaCzdxLI7csfmSdnGfkjWf0yjtS05vlmATx+LIXwQB0UR/rWi+kSLZwYkP6CyO/MCxufoC7Liq+f8STXMJ84HkLyoB1USfUFqGa8b/EU1z0SaOxZC/SAdkE31Lzfx/qKa5aBPHYshfrAdkE31cZel1Y+O/qaa5aBP3/wIMAI6prfGsFSkIAAAAAElFTkSuQmCC",clipPath:"url(#user-badge--clip-path)"})]})]}),B(Ri,{withMinWidth:!1,className:"tw-w-[310px]",children:[B("div",{className:"tw-flex tw-flex-col tw-gap-4 tw-py-4 tw-px-5",children:[S("div",{className:"tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",children:e}),S(Ni,{as:_e,className:"tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",variant:"outline",colorScheme:"gray",onSelect:n,children:r.formatMessage({id:"logout"})})]}),S("div",{className:"tw-flex tw-w-full tw-justify-center tw-bg-gray-50 tw-py-4 tw-px-0 tw-text-sm tw-font-normal tw-text-gray-700",children:r.formatMessage({id:"version"},{version:t})})]})]})}function mv({application:e,applications:t,notificationCount:n,onNotificationClick:r,onInstallationClick:o,onToggleMenuClick:i,language:l,languages:a,onLanguageChange:u,username:s,version:f,logout:m,refreshToken:p,loginUrl:v,withMaxWith:y=!1,className:w,showUpgrade:N,...h}){const c=mn(),d=t==null?void 0:t[e],E=t==null?void 0:t["x4b-settings"],g="support@xcomponent.com",x=d&&{applicationName:d==null?void 0:d.name,username:s,version:f,url:d==null?void 0:d.url},R=()=>{const P=!Kd();Q1(P),i&&i(P)};return d?S("header",{...h,"aria-label":"Global",className:wi(w,"tw-box-border tw-bg-white ",p&&"tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),children:B("nav",{"aria-label":"top",className:wi(p?"tw-gap-0 sm:tw-gap-1 lg:tw-gap-2":"tw-gap-0 sm:tw-gap-1",y&&"tw-mx-auto tw-max-w-7xl","tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),children:[p&&i&&B(_e,{variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:R,children:[S("p",{className:"tw-sr-only",children:c.formatMessage({id:"mainMenu"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 18 16",children:[S("title",{children:c.formatMessage({id:"mainMenu"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M18 6.818H0v1.364h18zM18 13H0v1.36h18zM18 .364H0v1.36h18z"})})]})]}),S("img",{alt:e,width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${d.logo}`,className:"tw-my-0 tw-block"}),S(Np,{className:"tw-hidden md:tw-block",children:d.name}),S(Np,{className:"tw-block md:tw-hidden",children:d.shortname||d.name}),o!==void 0&&S(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!1,rounded:!1,"aria-label":c.formatMessage({id:"installGateway"}),onClick:o,children:c.formatMessage({id:"installGateway"})}),N&&S(av,{label:c.formatMessage({id:"upgradeBtnTooltip"}),children:B(_e,{as:"a",variant:"outline",colorScheme:"primary",rounded:!0,href:x&&fu(g,`[${x.applicationName}] Support Request`,c.formatMessage({id:"contactUpgradeMailBody"}),x),target:"_blank",rel:"noopener noreferrer nofollow",children:[B("p",{className:"tw-sr-only",children:[" ",c.formatMessage({id:"upgradeBtnTooltip"})]}),c.formatMessage({id:"upgradeBtn"})]})}),n!==void 0&&p&&S(pv,{count:n,onClick:r}),E&&p&&B(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,href:`${E.url}${p?`#refreshToken=${p}`:""}`,children:[S("p",{className:"tw-sr-only",children:c.formatMessage({id:"settings"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:c.formatMessage({id:"settings"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M14.037 19.103v2.25c0 .357-.29.647-.647.647H8.61a.647.647 0 0 1-.647-.647v-2.25c-.981-.278-1.658-.682-2.422-1.353a15.057 15.057 0 0 1-.108-.096L3.35 18.811a.647.647 0 0 1-.875-.242L.087 14.43a.647.647 0 0 1 .237-.884l1.995-1.15a8.415 8.415 0 0 1 .005-2.796L.344 8.452a.647.647 0 0 1-.234-.885l2.413-4.138A.647.647 0 0 1 3.4 3.19l2.036 1.152.105-.093c.764-.67 1.44-1.073 2.422-1.353V.647c0-.357.29-.647.647-.647h4.78c.357 0 .647.29.647.647v2.25c.982.28 1.658.683 2.422 1.353l.105.093L18.6 3.191a.647.647 0 0 1 .878.238l2.412 4.138c.18.309.075.706-.234.885l-1.98 1.149c.156.934.161 1.857.005 2.797l1.995 1.149c.31.178.416.574.237.884l-2.388 4.138a.647.647 0 0 1-.874.242l-2.084-1.157-.108.096c-.764.671-1.44 1.075-2.422 1.353zm-1.294-.504c0-.303.21-.566.507-.632 1.043-.231 1.621-.545 2.355-1.19.114-.1.181-.161.432-.39a.647.647 0 0 1 .752-.09l1.933 1.074 1.747-3.026-1.834-1.056a.647.647 0 0 1-.308-.7 7.203 7.203 0 0 0-.005-3.178.647.647 0 0 1 .307-.699l1.816-1.054-1.764-3.026L16.793 5.7a.647.647 0 0 1-.756-.086c-.246-.226-.318-.291-.432-.391-.733-.644-1.311-.958-2.356-1.19a.647.647 0 0 1-.506-.632V1.294H9.257v2.107c0 .303-.21.566-.506.631-1.044.233-1.623.547-2.356 1.19-.114.101-.185.166-.432.392a.647.647 0 0 1-.756.086L3.32 4.632 1.555 7.658l1.816 1.054a.647.647 0 0 1 .308.699 7.203 7.203 0 0 0-.005 3.177.647.647 0 0 1-.31.7l-1.833 1.057 1.747 3.026 1.934-1.074a.647.647 0 0 1 .751.09c.25.229.318.29.432.39.734.645 1.312.959 2.355 1.19a.647.647 0 0 1 .507.632v2.107h3.486v-2.107zM14.276 11a3.275 3.275 0 1 1-6.551 0 3.275 3.275 0 0 1 6.55 0zm-1.294 0a1.981 1.981 0 1 0-3.963 0 1.981 1.981 0 0 0 3.963 0z"})})]})]}),S(cv,{documentationUrl:d.documentationUrl,systemInfo:{applicationName:d.name,username:s,version:f,url:d.url}}),S(_e,{href:"https://slack.xcomponent.com",as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,"aria-label":c.formatMessage({id:"contactDevelopers"}),children:B("svg",{viewBox:"8 8 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"tw-w-[1.5rem] tw-h-[1.5rem] tw-block",children:[S("title",{children:c.formatMessage({id:"contactDevelopers"})}),S("path",{d:"M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",fill:"#E01E5A"}),S("path",{d:"M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",fill:"#36C5F0"}),S("path",{d:"M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",fill:"#2EB67D"}),S("path",{d:"M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",fill:"#ECB22E"})]})}),p&&t&&S($g,{applicationDescriptions:t,refreshToken:p}),p&&s&&f&&m&&S(hv,{username:s,version:f,onLogout:m}),S(dv,{language:l||"en",languages:a||["en"],onLanguageSelected:u}),!p&&B(yi,{children:[S(_e,{className:"tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",size:"lg",href:v,as:"a",variant:"link",colorScheme:"gray",children:c.formatMessage({id:"login"})}),S(_e,{className:"tw-ml-3 tw-hidden lg:tw-inline-block",size:"xl",href:v,as:"a",variant:"solid",colorScheme:"primary",children:c.formatMessage({id:"getStartedFree"})})]})]})}):(console.error(`Unknown application ${e}`),S("div",{"data-testid":"init-error"}))}const gv={mainMenu:"Main menu",settings:"Settings",help:"Help",contactDevelopers:"Contact Community",contactus:"Contact Support",contactUsMailBody:`Hello Support team,
107
+ IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),_v(a);let s=Iv(a,i),f;return s===-1?f=[...a,{...u,element:i,index:a.length}]:f=ap(a,{...u,element:i,index:s},s),f}),()=>{!i||r(a=>a.filter(s=>i!==s.element))}):sa,[]);return k(e.Provider,{value:S.exports.useMemo(()=>({descendants:n,registerDescendant:o}),[n,o]),children:t})}function Lv(e,t){let{descendants:n}=S.exports.useContext(e),{callback:r,currentIndex:o,filter:i,key:l="index",orientation:u="vertical",rotate:a=!0,rtl:s=!1}=t;return function(f){if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(f.key))return;let m=o!=null?o:-1,p=i?n.filter(i):n;if(!p.length)return;let g=p.findIndex(c=>c.index===o);function y(){return m===h().index?a?N():p[g]:p[(g+1)%p.length]}function w(){return m===N().index?a?h():p[g]:p[(g-1+p.length)%p.length]}function N(){return p[0]}function h(){return p[p.length-1]}switch(f.key){case"ArrowDown":if(u==="vertical"||u==="both"){f.preventDefault();let T=y();r(l==="option"?T:T[l])}break;case"ArrowUp":if(u==="vertical"||u==="both"){f.preventDefault();let T=w();r(l==="option"?T:T[l])}break;case"ArrowLeft":if(u==="horizontal"||u==="both"){f.preventDefault();let T=(s?y:w)();r(l==="option"?T:T[l])}break;case"ArrowRight":if(u==="horizontal"||u==="both"){f.preventDefault();let T=(s?w:y)();r(l==="option"?T:T[l])}break;case"PageUp":f.preventDefault();let c=(f.ctrlKey?w:N)();r(l==="option"?c:c[l]);break;case"Home":f.preventDefault();let d=N();r(l==="option"?d:d[l]);break;case"PageDown":f.preventDefault();let E=(f.ctrlKey?y:h)();r(l==="option"?E:E[l]);break;case"End":f.preventDefault();let v=h();r(l==="option"?v:v[l]);break}}}function up(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Iv(e,t){if(!t||!e.length)return-1;let n=e.length;for(;n--;){let r=e[n].element;if(!!r&&up(r,t))return n+1}return-1}function ap(e,t,n){return n==null||!(n in e)?[...e,t]:[...e.slice(0,n),t,...e.slice(n)]}function _v(e){return e.sort((t,n)=>!t.element||!n.element?0:up(t.element,n.element)?-1:1).map((t,n)=>({...t,index:n}))}var sp="CLEAR_SELECTION_INDEX",va="CLICK_MENU_ITEM",Gr="CLOSE_MENU",Ov="OPEN_MENU_AT_FIRST_ITEM",ga="OPEN_MENU_AT_INDEX",cp="OPEN_MENU_CLEARED",ya="SEARCH_FOR_ITEM",Qt="SELECT_ITEM_AT_INDEX",wa="SET_BUTTON_ID",Si=Nv("DropdownDescendantContext"),[Dv,Xr]=K1("Dropdown"),Av={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},fp=({id:e,children:t})=>{let n=S.exports.useRef(null),r=S.exports.useRef(null),o=S.exports.useRef(null),[i,l]=Rv(),u=lp(e),a=e||Wn("menu",u),s=Wn("menu-button",a),[f,m]=S.exports.useReducer(jv,{...Av,triggerId:s}),p=S.exports.useRef(!1),g=S.exports.useRef([]),y=S.exports.useRef(!1),w=S.exports.useRef({x:0,y:0});return S.exports.useEffect(()=>{f.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame(()=>{ki(r.current)})):window.__REACH_DISABLE_TOOLTIPS=!1},[f.isExpanded]),k(Mv,{context:Si,items:i,set:l,children:k(Dv,{dispatch:m,dropdownId:a,dropdownRef:r,mouseDownStartPosRef:w,popoverRef:o,readyToSelect:y,selectCallbacks:g,state:f,triggerClickedRef:p,triggerRef:n,children:yi(t)?t({isExpanded:f.isExpanded,isOpen:f.isExpanded}):t})})};fp.displayName="DropdownProvider";function dp({onKeyDown:e,onMouseDown:t,id:n,ref:r,...o}){let{dispatch:i,dropdownId:l,mouseDownStartPosRef:u,triggerClickedRef:a,triggerRef:s,state:{triggerId:f,isExpanded:m}}=Xr("useDropdownTrigger"),p=mn(s,r),g=gp(),y=S.exports.useMemo(()=>g.findIndex(h=>!h.disabled),[g]);S.exports.useEffect(()=>{n!=null&&n!==f&&i({type:wa,payload:n})},[f,i,n]),S.exports.useEffect(()=>{n==null&&i({type:wa,payload:Wn("menu-button",l)})},[l,i,n]);function w(h){switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),i({type:ga,payload:{index:y}});break;case"Enter":case" ":i({type:ga,payload:{index:y}});break}}function N(h){wi(h.nativeEvent)||(u.current={x:h.clientX,y:h.clientY},m||(a.current=!0),i(m?{type:Gr}:{type:cp}))}return{data:{isExpanded:m,controls:l},props:{...o,ref:p,id:f||void 0,onKeyDown:ee(e,w),onMouseDown:ee(t,N),type:"button"}}}var Hv=S.exports.forwardRef(({as:e="button",...t},n)=>{let{props:r}=dp({...t,ref:n});return k(e,{"data-reach-dropdown-trigger":"",...r})});Hv.displayName="DropdownTrigger";function pp({index:e,isLink:t=!1,onClick:n,onDragStart:r,onMouseDown:o,onMouseEnter:i,onMouseLeave:l,onMouseMove:u,onMouseUp:a,onSelect:s,disabled:f,onFocus:m,valueText:p,ref:g,...y}){let{dispatch:w,dropdownRef:N,mouseDownStartPosRef:h,readyToSelect:c,selectCallbacks:d,triggerRef:E,state:{selectionIndex:v,isExpanded:T}}=Xr("useDropdownItem"),C=S.exports.useRef(null),[M,b]=S.exports.useState(p||""),_=S.exports.useCallback(j=>{!p&&(j==null?void 0:j.textContent)&&b(j.textContent)},[p]),ae=S.exports.useRef(!1),[ft,xt]=J1(C,null),Te=S.exports.useMemo(()=>({element:ft,key:M,disabled:f,isLink:t}),[f,ft,t,M]),ie=Cv(Te,Si,e),tt=ie===v&&!f,$r=mn(g,xt,_);d.current[ie]=s;function R(){ki(E.current),s&&s(),w({type:va})}function I(j){wi(j.nativeEvent)||t&&(f?j.preventDefault():R())}function O(j){t&&j.preventDefault()}function Y(j){wi(j.nativeEvent)||(t?ae.current=!0:j.preventDefault())}function ne(j){let Kt=Zt(N.current);!tt&&ie!=null&&!f&&((N==null?void 0:N.current)&&N.current!==Kt.activeElement&&C.current!==Kt.activeElement&&N.current.focus(),w({type:Qt,payload:{index:ie}}))}function Kn(j){w({type:sp})}function Tt(j){if(!c.current){let Kt=8,Bg=Math.abs(j.clientX-h.current.x),zg=Math.abs(j.clientY-h.current.y);(Bg>Kt||zg>Kt)&&(c.current=!0)}!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie,dropdownRef:N}})}function Zr(){c.current=!0,!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie}})}function Nt(j){if(!wi(j.nativeEvent)){if(!c.current){c.current=!0;return}t?ae.current?ae.current=!1:C.current&&C.current.click():f||R()}}return S.exports.useEffect(()=>{if(T){let j=window.setTimeout(()=>{c.current=!0},400);return()=>{window.clearTimeout(j)}}else c.current=!1},[T,c]),S.exports.useEffect(()=>{let j=Zt(C.current);return j.addEventListener("mouseup",Kt),()=>{j.removeEventListener("mouseup",Kt)};function Kt(){ae.current=!1}},[]),{data:{disabled:f},props:{id:vp(ie),tabIndex:-1,...y,ref:$r,"data-disabled":f?"":void 0,"data-selected":tt?"":void 0,"data-valuetext":M,onClick:ee(n,I),onDragStart:ee(r,O),onMouseDown:ee(o,Y),onMouseEnter:ee(i,ne),onMouseLeave:ee(l,Kn),onMouseMove:ee(u,Tt),onFocus:ee(m,Zr),onMouseUp:ee(a,Nt)}}}var Bv=S.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=pp({...t,ref:n});return k(e,{"data-reach-dropdown-item":"",...r})});Bv.displayName="DropdownItem";function hp({id:e,onKeyDown:t,ref:n,...r}){let{dispatch:o,triggerRef:i,dropdownRef:l,selectCallbacks:u,dropdownId:a,state:{isExpanded:s,triggerId:f,selectionIndex:m,typeaheadQuery:p}}=Xr("useDropdownItems"),g=gp(),y=mn(l,n);S.exports.useEffect(()=>{let d=bv(g,p);p&&d!=null&&o({type:Qt,payload:{index:d,dropdownRef:l}});let E=window.setTimeout(()=>p&&o({type:ya,payload:""}),1e3);return()=>window.clearTimeout(E)},[o,g,p,l]);let w=ca(g.length),N=ca(g[m]),h=ca(m);S.exports.useEffect(()=>{m>g.length-1?o({type:Qt,payload:{index:g.length-1,dropdownRef:l}}):w!==g.length&&m>-1&&N&&h===m&&g[m]!==N&&o({type:Qt,payload:{index:g.findIndex(d=>d.key===(N==null?void 0:N.key)),dropdownRef:l}})},[l,o,g,w,N,h,m]);let c=ee(function(d){let{key:E}=d;if(s)switch(E){case"Enter":case" ":let v=g.find(T=>T.index===m);v&&!v.disabled&&(d.preventDefault(),v.isLink&&v.element?v.element.click():(ki(i.current),u.current[v.index]&&u.current[v.index](),o({type:va})));break;case"Escape":ki(i.current),o({type:Gr});break;case"Tab":d.preventDefault();break;default:if(W1(E)&&E.length===1){let T=p+E.toLowerCase();o({type:ya,payload:T})}break}},Lv(Si,{currentIndex:m,orientation:"vertical",rotate:!1,filter:d=>!d.disabled,callback:d=>{o({type:Qt,payload:{index:d,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:vp(m)||void 0,triggerId:f},props:{tabIndex:-1,...r,ref:y,id:a,onKeyDown:ee(t,c)}}}var zv=S.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=hp({...t,ref:n});return k(e,{"data-reach-dropdown-items":"",...r})});zv.displayName="DropdownItems";function mp({onBlur:e,portal:t=!0,position:n,ref:r,...o}){let{triggerRef:i,triggerClickedRef:l,dispatch:u,dropdownRef:a,popoverRef:s,state:{isExpanded:f}}=Xr("useDropdownPopover"),m=mn(s,r);return S.exports.useEffect(()=>{if(!f)return;let p=Zt(s.current);function g(y){l.current?l.current=!1:Uv(s.current,y.target)||u({type:Gr})}return p.addEventListener("mousedown",g),()=>{p.removeEventListener("mousedown",g)}},[l,i,u,a,s,f]),{data:{portal:t,position:n,targetRef:i,isExpanded:f},props:{ref:m,hidden:!f,onBlur:ee(e,p=>{p.currentTarget.contains(p.relatedTarget)||u({type:Gr})}),...o}}}var Fv=S.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=mp({...t,ref:n}),u={"data-reach-dropdown-popover":""};return r?k(ha,{...l,...u,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):k(e,{...l,...u})});Fv.displayName="DropdownPopover";function bv(e,t=""){if(!t)return null;let n=e.find(r=>{var o,i,l;return r.disabled?!1:(l=(i=(o=r.element)==null?void 0:o.dataset)==null?void 0:i.valuetext)==null?void 0:l.toLowerCase().startsWith(t)});return n?e.indexOf(n):null}function vp(e){let{dropdownId:t}=Xr("useItemId");return e!=null&&e>-1?Wn(`option-${e}`,t):void 0}function ki(e){e&&e.focus()}function Uv(e,t){return!!(e&&e.contains(t))}function jv(e,t={}){switch(t.type){case va:return{...e,isExpanded:!1,selectionIndex:-1};case Gr:return{...e,isExpanded:!1,selectionIndex:-1};case Ov:return{...e,isExpanded:!0,selectionIndex:0};case ga:return{...e,isExpanded:!0,selectionIndex:t.payload.index};case cp:return{...e,isExpanded:!0,selectionIndex:-1};case Qt:{let{dropdownRef:n={current:null}}=t.payload;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(n.current){let r=Zt(n.current);n.current!==(r==null?void 0:r.activeElement)&&n.current.focus()}return{...e,selectionIndex:t.payload.max!=null?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)}}return e}case sp:return{...e,selectionIndex:-1};case wa:return{...e,triggerId:t.payload};case ya:return typeof t.payload<"u"?{...e,typeaheadQuery:t.payload}:e;default:return e}}function gp(){return Pv(Si)}var xi=S.exports.forwardRef(({as:e=S.exports.Fragment,id:t,children:n,...r},o)=>{let i=S.exports.useMemo(()=>{try{return Gu.exports.isFragment(k(e,{}))}catch{return!1}},[e])?{}:{ref:o,id:t,"data-reach-menu":"",...r};return k(e,{...i,children:k(fp,{id:t,children:n})})});xi.displayName="Menu";var Ti=S.exports.forwardRef(({as:e="button",...t},n)=>{let{data:{isExpanded:r,controls:o},props:i}=dp({...t,ref:n});return k(e,{"aria-expanded":r?!0:void 0,"aria-haspopup":!0,"aria-controls":o,...i,"data-reach-menu-button":""})});Ti.displayName="MenuButton";var Ea=S.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{disabled:r},props:o}=pp({...t,ref:n});return k(e,{role:"menuitem",...o,"aria-disabled":r||void 0,"data-reach-menu-item":""})});Ea.displayName="MenuItemImpl";var yp=S.exports.forwardRef(({as:e="div",...t},n)=>k(Ea,{...t,ref:n,as:e}));yp.displayName="MenuItem";var wp=S.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{activeDescendant:r,triggerId:o},props:i}=hp({...t,ref:n});return k(e,{"aria-activedescendant":r,"aria-labelledby":o||void 0,role:"menu",...i,"data-reach-menu-items":""})});wp.displayName="MenuItems";var Sa=S.exports.forwardRef(({as:e="a",component:t,onSelect:n,...r},o)=>(S.exports.useEffect(()=>{t&&console.warn("[@reach/menu-button]: Please use the `as` prop instead of `component`")},[t]),k(Ea,{...r,ref:o,"data-reach-menu-link":"",as:e,isLink:!0,onSelect:n||sa})));Sa.displayName="MenuLink";var Ep=S.exports.forwardRef(({portal:e=!0,...t},n)=>k(Sp,{portal:e,children:k(wp,{...t,ref:n,"data-reach-menu-list":""})}));Ep.displayName="MenuList";var Sp=S.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=mp({...t,ref:n}),u={"data-reach-menu-popover":""};return r?k(ha,{...l,...u,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):k(e,{...l,...u})});Sp.displayName="MenuPopover";function ka({children:e,withMinWidth:t=!0,className:n,...r}){return k(Ep,{...r,className:gi({"tw-min-w-[13.125rem]":t},"motion-safe:data-[reach-menu-list]:tw-animate-slideDown motion-safe:data-[reach-menu-items]:tw-animate-slideDown tw-z-[1] tw-mt-2 tw-bg-white tw-shadow-[0_1px_2px_0_rgb(60,64,67,0.3),0_2px_6px_2px_rgb(60,64,67,0.15)] tw-outline-none tw-will-change-transform",n),children:e})}function Vv({applicationDescriptions:e,refreshToken:t}){const n=Zn(),r=Object.values(e).filter(o=>!o.hidden).map(o=>({...o,url:`${o.url}${t?`#refreshToken=${t}`:""}`}));return U(xi,{children:[U(Ti,{as:_e,className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[k("p",{className:"tw-sr-only",children:n.formatMessage({id:"appSelector"})}),U("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:[k("title",{children:n.formatMessage({id:"appSelector"})}),k("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:k("path",{d:"M15 20h5v-5h-5m0-2.5h5v-5h-5M7.5 5h5V0h-5M15 5h5V0h-5M7.5 12.5h5v-5h-5m-7.5 5h5v-5H0M0 20h5v-5H0m7.5 5h5v-5h-5M0 5h5V0H0v5z"})})]})]}),k(ka,{className:"tw-grid tw-max-w-[250px] tw-grid-cols-2 tw-gap-3 tw-px-4 tw-py-4",children:r.map(o=>U(Sa,{className:"data-selected:tw-duration-150 tw-flex tw-flex-col tw-items-center tw-gap-2 tw-rounded-lg tw-px-2 tw-py-2 tw-text-center tw-text-sm tw-font-light tw-text-black tw-no-underline tw-transition-colors tw-duration-500 hover:tw-cursor-pointer hover:tw-bg-gray-50 hover:tw-duration-150 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:o.url,children:[k("img",{alt:"",width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${o.logo}`,className:"tw-my-0 tw-mx-2 tw-block"}),o.name]},`app-selector-${o.name}`))})]})}function kp({children:e,className:t,...n}){return k("h1",{...n,className:gi("tw-my-0 tw-mr-auto tw-ml-2 tw-text-lg tw-font-light tw-leading-none tw-tracking-wide tw-text-black md:tw-text-xl lg:tw-text-2xl",t),children:e})}var xp=S.exports.forwardRef(function({as:e="span",style:t={},...n},r){return k(e,{ref:r,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal",...t},...n})});xp.displayName="VisuallyHidden";var Gv=100,Xv=500,xa={initial:"IDLE",states:{IDLE:{enter:Ca,on:{MOUSE_ENTER:"FOCUSED",FOCUS:"VISIBLE"}},FOCUSED:{enter:Wv,leave:Qv,on:{MOUSE_MOVE:"FOCUSED",MOUSE_LEAVE:"IDLE",MOUSE_DOWN:"DISMISSED",BLUR:"IDLE",REST:"VISIBLE"}},VISIBLE:{on:{FOCUS:"FOCUSED",MOUSE_ENTER:"FOCUSED",MOUSE_LEAVE:"LEAVING_VISIBLE",BLUR:"LEAVING_VISIBLE",MOUSE_DOWN:"DISMISSED",SELECT_WITH_KEYBOARD:"DISMISSED",GLOBAL_MOUSE_MOVE:"LEAVING_VISIBLE"}},LEAVING_VISIBLE:{enter:Kv,leave:()=>{Yv(),Ca()},on:{MOUSE_ENTER:"VISIBLE",FOCUS:"VISIBLE",TIME_COMPLETE:"IDLE"}},DISMISSED:{leave:()=>{Ca()},on:{MOUSE_LEAVE:"IDLE",BLUR:"IDLE"}}}},$e={value:xa.initial,context:{id:null}},Ni=[];function $v(e){return Ni.push(e),()=>{Ni.splice(Ni.indexOf(e),1)}}function Zv(){Ni.forEach(e=>e($e))}var Ta;function Wv(){window.clearTimeout(Ta),Ta=window.setTimeout(()=>{et({type:"REST"})},Gv)}function Qv(){window.clearTimeout(Ta)}var Na;function Kv(){window.clearTimeout(Na),Na=window.setTimeout(()=>et({type:"TIME_COMPLETE"}),Xv)}function Yv(){window.clearTimeout(Na)}function Ca(){$e.context.id=null}function Tp({id:e,onPointerEnter:t,onPointerMove:n,onPointerLeave:r,onPointerDown:o,onMouseEnter:i,onMouseMove:l,onMouseLeave:u,onMouseDown:a,onFocus:s,onBlur:f,onKeyDown:m,disabled:p,ref:g,DEBUG_STYLE:y}={}){let w=String(lp(e)),[N,h]=S.exports.useState(y?!0:Cp(w,!0)),c=S.exports.useRef(null),d=mn(g,c),E=Ei(c,{observe:N});S.exports.useEffect(()=>$v(()=>{h(Cp(w))}),[w]),S.exports.useEffect(()=>{let Te=Zt(c.current);function ie(tt){(tt.key==="Escape"||tt.key==="Esc")&&$e.value==="VISIBLE"&&et({type:"SELECT_WITH_KEYBOARD"})}return Te.addEventListener("keydown",ie),()=>Te.removeEventListener("keydown",ie)},[]),ng({disabled:p,isVisible:N,ref:c});function v(Te,ie){return typeof window<"u"&&"PointerEvent"in window?Te:ee(Te,ie)}function T(Te){return function(ie){ie.pointerType==="mouse"&&Te(ie)}}function C(){et({type:"MOUSE_ENTER",id:w})}function M(){et({type:"MOUSE_MOVE",id:w})}function b(){et({type:"MOUSE_LEAVE"})}function _(){$e.context.id===w&&et({type:"MOUSE_DOWN"})}function ae(){window.__REACH_DISABLE_TOOLTIPS||et({type:"FOCUS",id:w})}function ft(){$e.context.id===w&&et({type:"BLUR"})}function xt(Te){(Te.key==="Enter"||Te.key===" ")&&et({type:"SELECT_WITH_KEYBOARD"})}return[{"aria-describedby":N?Wn("tooltip",w):void 0,"data-state":N?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:d,onPointerEnter:ee(t,T(C)),onPointerMove:ee(n,T(M)),onPointerLeave:ee(r,T(b)),onPointerDown:ee(o,T(_)),onMouseEnter:v(i,C),onMouseMove:v(l,M),onMouseLeave:v(u,b),onMouseDown:v(a,_),onFocus:ee(s,ae),onBlur:ee(f,ft),onKeyDown:ee(m,xt)},{id:w,triggerRect:E,isVisible:N},N]}var Jv=S.exports.forwardRef(function({children:e,label:t,ariaLabel:n,id:r,DEBUG_STYLE:o,...i},l){let u=S.exports.Children.only(e);S.exports.useEffect(()=>{n&&console.warn("The `ariaLabel prop is deprecated and will be removed from @reach/tooltip in a future version of Reach UI. Please use `aria-label` instead.")},[n]);let[a,s]=Tp({id:r,onPointerEnter:u.props.onPointerEnter,onPointerMove:u.props.onPointerMove,onPointerLeave:u.props.onPointerLeave,onPointerDown:u.props.onPointerDown,onMouseEnter:u.props.onMouseEnter,onMouseMove:u.props.onMouseMove,onMouseLeave:u.props.onMouseLeave,onMouseDown:u.props.onMouseDown,onFocus:u.props.onFocus,onBlur:u.props.onBlur,onKeyDown:u.props.onKeyDown,disabled:u.props.disabled,ref:u.ref,DEBUG_STYLE:o});return U(vi,{children:[S.exports.cloneElement(u,a),k(Ra,{ref:l,label:t,"aria-label":n,...s,...i})]})});Jv.displayName="Tooltip";var Ra=S.exports.forwardRef(function({label:e,ariaLabel:t,isVisible:n,id:r,...o},i){return n?k(fa,{children:k(Np,{ref:i,label:e,"aria-label":t,isVisible:n,...o,id:Wn("tooltip",String(r))})}):null});Ra.displayName="TooltipPopup";var Np=S.exports.forwardRef(function({ariaLabel:e,"aria-label":t,as:n="div",id:r,isVisible:o,label:i,position:l=tg,style:u,triggerRect:a,...s},f){let m=(t||e)!=null,p=S.exports.useRef(null),g=mn(f,p),y=Ei(p,{observe:o});return U(vi,{children:[k(n,{role:m?void 0:"tooltip",...s,ref:g,"data-reach-tooltip":"",id:m?void 0:r,style:{...u,...qv(l,a,y)},children:i}),m&&k(xp,{role:"tooltip",id:r,children:t||e})]})});Np.displayName="TooltipContent";function qv(e,t,n){return n?e(t,n):{visibility:"hidden"}}var eg=8,tg=(e,t,n=eg)=>{let{width:r,height:o}=Y1();if(!e||!t)return{};let i={top:e.top-t.height<0,right:r<e.left+t.width,bottom:o<e.bottom+t.height+n,left:e.left-t.width<0},l=i.right&&!i.left,u=i.bottom&&!i.top;return{left:l?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,top:u?`${e.top-n-t.height+window.pageYOffset}px`:`${e.top+n+e.height+window.pageYOffset}px`}};function ng({disabled:e,isVisible:t,ref:n}){S.exports.useEffect(()=>{if(!(typeof window<"u"&&"PointerEvent"in window)||!e||!t)return;let r=Zt(n.current);function o(i){!t||i.target instanceof Element&&i.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||et({type:"GLOBAL_MOUSE_MOVE"})}return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)}},[e,t,n])}function et(e){let{value:t,context:n,changed:r}=rg($e,e);r&&($e={value:t,context:n},Zv())}function rg(e,t){let n=xa.states[e.value],r=n&&n.on&&n.on[t.type];if(!r)return{...e,changed:!1};n&&n.leave&&n.leave(e.context,t);const{type:o,...i}=t;let l={...$e.context,...i},u=typeof r=="string"?r:r.target,a=xa.states[u];return a&&a.enter&&a.enter(e.context,t),{value:u,context:l,changed:!0}}function Cp(e,t){return $e.context.id===e&&(t?$e.value==="VISIBLE":$e.value==="VISIBLE"||$e.value==="LEAVING_VISIBLE")}const og=(e,t)=>{const n=e&&t?e.right-t.width+window.scrollX:"",r=e?e.bottom+window.scrollY:"";return{left:`${n}px`,top:`${r}px`}};function ig({children:e,label:t}){const[n,r]=Tp();return U(vi,{children:[we.cloneElement(e,n),k(Ra,{...r,label:t,"aria-label":t,style:{background:"white",color:"black",border:"none",borderRadius:"0.5rem",boxShadow:"0 2px 10px rgba(0,0,0,0.1)"},position:og,className:"tw-border tw-border-blue-500 tw-p-2"})]})}const Rp="x4b.language",lg=e=>{window.localStorage.setItem(Rp,e)};function Pp(){return window.localStorage.getItem(Rp)||"en"}const Mp={en:"EN - English",fr:"FR - Fran\xE7ais"};function ug({language:e,languages:t,onLanguageSelected:n}){return U(xi,{children:[k(Ti,{as:_e,className:"aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"gray",rounded:!0,compact:!0,children:U("div",{className:"tw-min-w-[36px] tw-text-base lg:tw-text-lg",children:[k("span",{children:e.toUpperCase()}),U("svg",{"aria-hidden":!0,className:"tw-ml-1 !tw-inline-block",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"5",viewBox:"0 0 8 5",children:[k("defs",{children:k("path",{id:"a",d:"M1367.876 32.83a.5.5 0 01-.752-.66l3.5-4a.5.5 0 01.752 0l3.5 4a.5.5 0 01-.752.66L1371 29.26l-3.124 3.57z"})}),k("use",{fill:"currentColor",transform:"matrix(1 0 0 -1 -1367 33)",xlinkHref:"#a"})]})]})}),k(ka,{withMinWidth:!1,className:"tw-min-w-fit",children:t.filter(r=>Mp[r]).map(r=>k(yp,{className:"tw-cursor-pointer tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black hover:tw-bg-gray-50 data-[selected]:tw-bg-gray-50",onSelect:()=>{lg(r),n&&n(r)},children:Mp[r]},r))})]})}function ag({count:e,onClick:t}){const n=Zn();return U(_e,{className:"tw-hidden sm:tw-inline-block",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:t,children:[k("p",{className:"tw-sr-only",children:n.formatMessage({id:"notifications"})}),U("svg",{"aria-hidden":!0,width:"22",height:"22",opacity:"0.9",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"tw-block tw-scale-[1.08]",children:[k("title",{children:n.formatMessage({id:"notifications"})}),k("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"})]}),e?k("div",{className:"tw-absolute tw-top-[0.3em] tw-left-[22px] tw-min-w-[1em] tw-rounded-[1em] tw-bg-red-600 tw-py-[0.1em] tw-px-[0.3em] tw-text-center tw-text-[0.8em] tw-font-semibold tw-leading-[1em] tw-text-white",children:e}):void 0]})}function sg({username:e,version:t,onLogout:n}){const r=Zn();return U(xi,{children:[U(Ti,{className:"!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",as:_e,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[k("p",{className:"tw-sr-only",children:r.formatMessage({id:"userAccountTooltip"})}),U("svg",{"aria-hidden":!0,width:44,height:44,viewBox:"0 0 44 44",version:"1.1",children:[k("title",{children:r.formatMessage({id:"userAccountTooltip"})}),k("defs",{children:k("clipPath",{id:"user-badge--clip-path",children:k("circle",{cx:"50%",cy:"50%",r:"22",fill:"#FFFFFF",fillRule:"evenodd"})})}),k("image",{width:"44",height:"44",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfMAAAHyCAMAAADIjdfcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYBQTFRFM22C0LKTQX6aSEhIRoSiSoyuMGp+0cjRRICdNXCFQH2ZP3uWs7OwJ11xhoeGR2VzSIalSousPnqVSoqrOHOKz6jORoalPHmT/ubPR4enR4WkRYSjPXqUoYt2VVVVQ4GeOnaPSYqs5NbjOXSNS4ytrGeqcXBvdIeENnGIRVZdRUVFSl9o/vDjOVll4sWlRXSKLlpp/dy8sKqXN1FaUVFR8cqjO3eQTExMPnuWk5uYbZKet5yCR4OgRElL0b2jW4mboKWiRm19TIOa/dKoT4efQk1STI2vUVtf////Rn6apFiiU1dZSIioQHePQoCcSYmpRYKgRYOhQX+bQHSLRIKgQ4GdRIOhSIinQHyXPHiROnWNPnmTSImqO3iRQn+cQoCdSImpSYqqOnWOQX6ZSYioQ4CdOXSMuoK56ebpjnxs8/Pz5r2eUFVXc2hdXl5f/dWuXFZRUE1L+fT58+rz/vz5Z19X/vjxQXCEXHp+OHSOak5pSH+bRnuUklWRgW6AU0pTDizfXgAAHjtJREFUeNrs3etjE8d2APAxohKxPRZ140DBXqe6tYikGBljX9coMiiKasVcqHmlUFJyb9Nb2WBjDAFze932X69k+aHHrnYeZ2bOked8SfIFVvvLOXNmZneW/TPC+JvI+MeT+NuI+Ie/C40//ennn3/+4x//pTP+0BX/+Yd/bcbf98Xldnx1FEf/eq03Ll4/jYtH8eg0fjqKp+3YPInmv892x7Oj+POlS5d++eVhZ7w6icftuNAVv452xvPuGOuJycnJ6WZMTjJPft7IMZp7crPk08yTnzdyfOae3DQ5OnNPbpwcm7knN0+OzNyTWyDHZe7JbZCjMvfkVsgxmXtyO+RXmCc/b+QvmSc/b+RozD25NXIs5p7cHjkSc09ukRyHuSe3SY6ib/fkVskxmHtyu+QIzD25ZXL35p7cNrlzc09undy1uSe3T+7Y3JM7IHdr7sldkDs19+ROyF2ae3I35A7NPbkj8hfMk583cmfmntwZuStzT+6O3JG5J3dI7sbck7skd2LuyZ2SuzD35G7JHZh7csfk9s09uWty6+ae3Dn5vzNPft7ILZt7cgTkds09OQZyq+aeHAW5TXNPjoP898yTnzdye+aeHAu5NXNPjobclrknx0NuydyTIyK3Y+7JMZFbMffkqMhtmHtyXOQWzD05MnLz5p4cG7lxc0+Ojty0uSfHR27Y3JMjJP+aefLzRm7U3JOjJDdp7slxkhs09+RIyc2Ze3Ks5MbMPTlaclPmnhwvuSFzT46Y3Iy5J8dMbsTck6MmN2HuyXGTGzD35MjJ/4OdH/LDYiWdzjWjlj+JWus/0+l0sXiOyMHNMZJvNrFz5XxM1Jr4xUvngBzaHB35YaUjrQWinEsfHA43+b+xISb/sRKf3VHwxeElhzXHRH6YruW1ouk+nOSg5njItcFP3Q+HjxzSHAv5dxUY8OPWLl0cMnJAcyTkP6bLeeCoFYrDRA5njoP8x0LeSNRaRX5IyMHMUZCbEm+P7QdDQg5ljoF806R4O9l/HQZyIHMM5JVy3nwUDumTw5gjID+s5e1Erkid/HdsOMjTeXvRVCdNDmHuntxakp+qUyb/LzYE5FZG8h71Q7rk+ubuyQt5F1E4pEqube6cfLOWdxPlClFyXXPX5MWKK/JWgX9AklzT3Cl5Me3Qux1piuR65g7Ji4VyHkGcpjohci1zZ+TfVWp5JFGukCPXMXdF/l26nEcUBWrkGuauyCuoxFv1/TktcnVzR+TFWh5d1B6QIlc2d0P+XTqPMcpPKJGrmrshP6zl83jRqZB/yQiRV/Joo4lOhlzN3An5d4U84iiPkSFXMndDXsujjtoYFXIVcyfkf0VO3pyyUSFXMHdCfljOo480EXJ5c08eGU9okEub+7F8wJBOg1zW3JMPrO4kyCXN3czLc3kq8YQCuZy5G/I0GfJ8jgK5lLlffYuN+TH85DLmbsj/WqZkXuZj6MklzB1tntbypOI2H8NOLm7uiDydJxacjyEnFzZ3RH5IjbyZ6PyfcJOLmrt6ECpHzryZ6Pz3qMkFzZ09+0aPvJXoJ+g4ycXMnT3hWiNoXuYn6EjJhcydPceezueJJnoLHSu5iLm7VxfKJM1r/AgdLbmAubsXlGimeT6/cIT+JVbyeHN35ETT/Li4c/4NUvJYc4evIVbyVIP3oqMijzN3+bJxjaz5Qg86LvIYc5fkRbLkx13cKToy8m8Y2iMFCnTNT4o75wwh+UBzp+SbZcLmt0/Rk/jIB5m7PSumQpj8rLg30dGRDzB3fDxQjrL5WXHvRUdAHm3u+kQo0uSnnXsvOgbySHPnh4DRNr/NO9GvoCKPMnd+1F+atnmZd8UVTOQR5u4P9Kzlh6e4n6AjIQ83d0++SZy8u7i30bGQh5ojOI9dZTjf30Vszq+gIQ8zx/ChDcnhfD9bGqlWqyW0A3ozXmAhDzFH8QUlqdn5dql6HCW0A3oz/oKEvN8cx3fSxBde92eWq2exjbe4t9BRkPeZ4yDfVBPHhB5izn+HgrzXHMkHMEVbuO0ecUToZR6GjoG8xxzLZ27FNljejVRDAsuYzgegOyXvNkfzMeu0YpJjQl8IRf/GPXmXOZ7vl4s8L1GqRsXIPtYBvRlfOCfvNMdDLjBV2x+pRsebj3jN+ReuyTvMEZHHmw8kr1aXEXRyNR6F7pj8zBwT+eWaHnlrUN/H2cQdo7skPzVHRX5Zm7w5qH/E2cS1y7tL8i8YRvI4cwFyBPU92pwnXZIfmyMjv6zasfek+juUTVwnugvytjk28sHm21XRcJvqg8yP0Z2QH5mjIx9ovluVCJejeo3Hobshb5njIx9kvv+mKhXuGvgyj0F3RN40R0j+FcBgflbgZ9BN1o7Rv3ZD/gXDSP4VUGU/WZbbRmnO+ddOyAeYOyT/CqyyO1VfEEO3TR5t7pI82nymqhgu1OPNW+jWySPNnZJHmr9brlbV1fcxTdZO0O2TR5m7Jf8KrIHr6ebeoTM/QrdLHmHumPxyxCOQ76q6UcpiM+d/sU0ebu6a/HLORJofl/gSyDLN/u7MzEzMaFETMudfWiYPNXdOHmH+rgoTI9uaNf5j6WSXp/RO37wT3QZ5mLl78gjzUhUsRtSz/d3MG8El/TKXRbdCHmKOgDzcfH+5ChnLJYV0f7c9IvFwNZdEt0Peb46B/FpObz9NYnDflsj33VLoxv22vnkb3RJ5nzkK8nDzkaqZGCltx7/Rurtdiiwz2/rmLXRb5L3mOMivhT3f/rFqMt6MlGayu2FJv5udKcU8cflRfSHu7CQ5a+Q95kjIQ81LVSvxZqQVzYlYqfVPseX9EQDzTnSz5N3mWMhDzd9U8cYMgPkZumHyLnM05GHmH6uY4x2A+Qm6afJOczzkYeYl1OYlCPM2unHyDnNE5GHmb6r0El3WvIVunvzMHBP5taKxdVerI7q0OU9aID81R0UeYr6N3PwNjHkT3Tj5iTku8hDzEnLz6kcYc540Tn5sjow8xHwZu3kJyPwU3Rh52xwbeb/5Lnby0OKuZH6Mbo78yBwd+bVDasN5eOeuZn6EbpC8ZY6P/No1csN56E6LonkT3SR50xwj+TVis/OIAV3VnPMvDZJ/wVCSXyQ2O4/YaFE370QHJ2coya+Ta+GaAWp+hg5PzlCSXy8Dvb7itonTMT9BN0DOUJJfz5Fr4arVXVjzNroJcoaSvNd8hIL5NrB5C90IOUNJ3mtOgTxkm0XTnH9phpyhJO8x/0jCvKTzDGTEoWJGyBlK8usFem17yGSNG0LXJGcoya+nqa28GjIPRdclZyjJe8xJTNX6J+hlbgRdm5yhJO8xH6FpXuMm0PXJGUryi0VvfvaQHDQ5Q0neY75Mw3xX6cwBOXQIcoaSvMe8er7NO9BByBlK8osXvXnXhjooOcNJfpHe9LzffIEDowORM5zkj2oEzbfNmR+hQ5EznOR3Os/+oGI+A78k04kORs5Qkq+2HiTdpbUM122eLS1XF2HRwcgZVvKOTYsZcua77ef3zKMrkTOE5HeXu3eqyJmfPuLx2TC6GjnDR/5ovGd7kpr52VM9N7lRdEVyho/8h95WmIp5qf9Brhsm0VXJGTryR/c67tnyOypPw51upnZdLeyI3o2uTM7QkT+62XsfRyiZ90wyuDF0dXKGjvxR30IHJfPex7g+m0LXIGfoyO9037Q3tMx7r3WVm0HXIWfYyLuG83aiEzLvazcXuRF0LXKGjbxjpnaS6FTMl0OOIR7hJtD1yBk28kdrfVsXVMyrYTMMbgJdj5xhI+83HyFjHvb6LDeCznTIGTby7qlau2ZSMS/ZMuecaZAzbOQ/VYcrPltHjyVn2Mi9uSZ6PDnDRu7N9dCZqrlD8mEzr3Cr6EzV3CX5TzeHy5xzm+hM1dwp+U9r3lwZnamauyV/6s2V0ZmquWPyp+NDRb7G7aEzVXPX5E/vDZX5CLeGLiqeZNjIn64OlfmiafPTxXdh8l5z9+RP7wyV+Sq3hC5O3mOOgPzpD35JRgFdgrzbHAP5082hmqBXuBV0GfIucxzkm8M0WVvmViIpQ95pjoR8c5ga9xGOCT3Za46FfPOOb+HMoCd7zdGQb276Fs4IerLXHBH5MA3onKNBT/aaYyIfogF9kaNBT/aaoyIfogH9BseCnuw1x0X+9OnQzNArHAl6stccG/nQbK2tcY4DPdlrjo58dliK+wTHgZ7sNcdHPjs7JMU9yVGgJ3vNMZLPDkfnvsg5BvRkvzlC8tnh2Fv7zDGgJ/vNMZLPzg5DF3eTcwToyVBzhOSzd/3kHAY9GWqOkXx2ds2nOQR6MtQcJ/kQTNcmuHv0ZIQ5SnL6ie4wzU/RkxHmSMnJj+g3uHP0pIg5IvLZZ4v+ARk99KSIOSryZz+QXoyrcOfoIua4yJ89o9zGrXKOF52hJX9GuLqvcY4YneEl//MlqtV9ucIxozPE5Jd+WKZp/plzzOgMMfmlX+6QRL/BOWp0hpn8l4cU0RGRh6Mz1OQPH96hNqYvoyIPRWe4yR8+/J5W9z5S4Rw7OkNO3oy742QK/OJnji9CzLGTPyRT4SscZ/SZUyB/+IpCgV/jnAY6I0H+isI67Congs5IkL/63q/EwKEzEuSvXuF/hGKZcyLojAb5K/wniC1yKuiMBvkr/I/N3OBU0BkN8lev0M/WkpwKOiNC/hj7bG2NcyrojAj5Y+yztQlOBp0RIX/8GHlxr3Ay6IwKOfLivsY5GXRGhRx5cZ/gnIw6o0L++MJNX9ph0BkZ8guLvrQDve1AhvzCXV/aYYKRIb+AubgnSZnTIb+Ad819kVMzJ0KOuLjfoGZOhfzCBawbqsucmDkdcrTFfZGYOSHyCxeQPgBboW6OmPwCziPE1jhxc8zkSLu4G8TNUZP/Oopxir6cpG2OnHx01Xdw0ObYyUdHl30HB2uOn3wU34nPI5yyOQHy0bu+g4M0p0A+OoptunaTEzanQT6K7XGZCcLmRMhHR9f8RA3InAw5sunaKidrTod89PlNP1GDMKdE/hxToi9yquakyJ9jSvQKVXNi5IgSnWSat8ypkT//ftmnuZ45OfLnz+/5NNcyJ0iOJtErpM1JkWMZ0Ymm+bE5MfLnd3ya65pTI8dhTjXNj8zJkeMwrxA2p0f+fMyvtGuZUyRHYE5xQ+3EnCQ5AvMJTtycGrl785ucuDk58jHnD058Jm5Oj9y9OadtTpDcm+uZUyT35vprr9TIvbm2OTnysXveXM+cHrk31zQnSO7N9cwpkntzLXOS5N4c1JwE+dgdbw5nToPcmwOaEyGf9OZg5lTIvTmYORlybw5lTod82pvDmBMin77rzSHMKZFPT3tzAHNa5JP+0Sh9c2Lkrs1HhsCcGrk31zYnRz7tzTXN6ZF7c01zguTeXM+cIvn0sjfXMCdJPr3mzdXNaZJ7cx1zmuTeHMScFLk3hzAnRf79HcdnQa7dTdI3p0R+J1WvX3VrfrVeT90lbk6I/OBtvY7BvL5VW6BsTog8nbjXMv/WvXl9onybrjkd8oNaIvEai3kmkSCZ6owUeTqRSGTrWMzrbxMJiqnOCJE/aSZ5ol3acZhPtK6nRtCcDHm63LrFiRQe8/GjCypTq++MCvnvc4l2bOExTx1f0m2K5vjJD2rH9zdRx2O+dXJNtFo5RoM8fXJ3E2/b5nW35p/aF3F6VeV5YuboyU/r+mnb7nhR5la9x5xUfWcEyA/KiX5zp8X92+OLyHZcGJ36zvCTpxOJEPP6LXfke/UQczqpzrCTP8klws0/uU/zHnMqU3WGnLxSTkSYuxvRb9UjzIlM1Rlq8geFRCLS/DdH1X3vt0hzGvWdYSY/m5SHmdc/7bmt7GHmFFo5hpg8XU4MNHfTu3eQtzZZ+gJ/fWdoyR/kEokYcxfoVzv//tArRF/fGVbySjkRb24fvYs8whx7qjOc5BFJfrbe7gi9m7weeZG3kZsjJA9r3sLN7aL3kGeirxJzK8cQkofM0DridS/6npP2rXMvlViqM4RZnht0K4+fmajbn7Lt9ZIPNseLzhC2b5LmlhZnbn3q+4vvDbzQGmpzZPPygXcyMV7vDwvLsLd+qw+TObY19sHm90LMjQ/qe1fD/tYsWXN0O2mDzSfC7r7h+h5S1+PNE3jNke+XxyzKdNT3PVtTtPjpOXJzZORP0utLMbcyAqD+6ZbVJK/XX8dcaJCbX0BsjmNeXincD4Igzvx1FLqRUX3vauRfl4q50KXmj9nJLSA1R0BeSa8H7diPuZWpSIT6b1etJfnpKw2DzY/YkaU7Q0D+4CBdCM5iJSE/WTtL9Vtml2E6Y1XMHJ07c0z+4Cy/Rc1X6wMDrsAPKOsibXtiv/t3oXFnDsmb6X0/6I848+xgiWaBh1G/+lvMXxTImaOBZ27IDyqF9SAiEnHtcD0uPl01O5CLte2JlahfmJt3Cs+skw/iFjI/fkvRqPqtb+P/jpSy+XHCu4JnFslfFtMx3GLmqXrdrLqIeNxqe5z5cca7KPXMDnmzVRPhDgSm5xEr7nDqYuLHJw5omjuBZ8bJi5XwVk3dfKJeN6d+9ZPon56NvVCJX33U3C3YNDdD/rJYEU1uKfO3deGQ7OH3xMVjV9slzS0O8swM+VgxrcAttAw3cPVVa5VmL3Z2JtXCKZjbqfXMAPlYpRCoh4B5qi4Vn4SSXXQYF1157V6IU8h4k+bA5GPpQCtWElBNXEeJj1uck0txsRZOy7zFvmDMHJi8uB4YN5+oy8cg9b1vFf7At6bNm0Xe3Ho7JLlmkouZB3WViKzw8jkusgoHYB7smDIHJB8raJMHAvdSZCVO+KGKvU9Kf5hACxe64I6gvjNQ8vXAjnmqrhZXxZ5nBVmFAzE3gs6wkQuZr9ah0K+q/klZgctcCVCiM2zkSyLm2ToQumqWx2+kQpkbQGfIyMXME8rm3cdN7SmTZxK2zOEbOQbWscOQC5qnlM0/DXrpEHRFBsocHJ3hmaQJL8OprMqEVvdb6n/KhNBlAt2TnDFzLfJKYNVceUD/kMm8OY7l6id187c2zYN5Q+Z6q29Qv05kSUZ+QN/KTE01GnMbfdFoTE1lPsiTbyWsmgcLRsz11tjv2zYXHtA/NLU34qIxlTEwnAOa75gw19tJKwS2zcdFdeLB2zE3tQU+nOsvvhoZ0hkE+QEceSB2M4W3Wd5viMf7D1uwwzmgOeSQziD2y+/bNxfdZslImDc25j6ADueQ5jvA5ppPxQBWdmHzRAa2tJ+wv4ccziHNAas70yeHrOyCSzLCA/rUhmQ0IIdzUHO43p1pkwOtucqaT0BX9uOYAhzOITbWDFR3pv24YzpwYi4yQ/8wJ2++sQU3nMOag7VxTJf8QeDIPAU+mB9P2t6DDefA5jug5hrPsRdgzfeFze/BD+ai1V10OIfaZAFu45gmeTFwZZ41UtlbETslCByZA7VxTPNtFeA0F12GE3mzoaFIHlvdMwlX5jkocx1y6DSXMU8ZqewC1X3cmTlMojO9d9LWHZqvmqns8dU9684cJNGZFnklcGieNVPZ41dmxC8xEWBMdKb15il4mgcS93PgU+6ZDa2Y0nyy3Zh5DsZcnRw+zaXMBy2/zumZD9psWXVpDpHoTOdIgYJb8wkjDVxsomedmgMkOtMgLwZuzQMzDVxMG7eVcGoOkOhM4+AQA2m+JHNDo/dTtdN8QBs37thcP9GZOrmJNJczv2emgWtHSnfhFXwz9ThgzeWOByo4N8+amKfFrcYFrs3nIc3lyB8Ezs0jll9B0jyqjcskXJvvAJpLHgKWNmG+L2c+bmKeNjjR7zk31050pnzu230E5qGztdTGhsFEz7o334EylyWvBAjMw2Zr7+egzDc+qB0pYtpcd7rGVA/0LGAwD5utTYGRz6U0Z2qmzHMg5tLkRSM/RmaLJWK2BpbmjdR73ZmaKfMAwlz+2N4CDvOsoTRvpD4AzNSMmc/rm8uTv7yPw7x/b21Ke3I+6IXFVAKF+Y62ucLh3GY6OAXzsNlaZqqhWODn4l5QXZW8vH1D92lB01zlPPYCFvPIvbVMKvyN8+iZWUrgdai3SMxzeuZKR/AHWMzj3lXcymQEq73I64lbCSTmWl0cU/rQRhqNucirDR+Eyjrku4nmzechzKW+rbJu6qdIkwsdDzil95CE8kzNoPkOgLkUeTHAYy7y0YaMxtapxiKcSXOdLo6pfEGpgMhc6EX0BsxwPo7IfF7XXPKjWfcxmYu8iL4F8975BCLzHU1zSfKDAJO50FFxUyDDufzlLQUIiztT+BpiAZW52GHucegiI0Qqgck8p2MuS/4ywGUudMpIBsBcbhFuZd8guFZxZ/LfPK0gMwc5ZUSkbX+LhVuzi2Pyn7ktIDMX+tzalP54nsHDrVfcmTS5ydKuZp4CMG8AzNRWlqx5axV3Jv0xa5OlPVjaXzFT3Kf0l16zMeCB7ZjXMZf6fnnB+G9ZasqvdNqvdP+nypmQsasyWvsrK4GLyGmYS5E/cPLzllZMHyGV0SrtTtB31M2lyM2WdiVxoX2WhvZ6+4TlIyXMFXcmSW6htMuKC+2zaO+rxe+vrFAp7kySfOw+OnGhfRbtBXeR/RXbfdwOhHk8ueXSLvj+Wmxxf6/9zITY/opl9QV983jysbTNn7QCts8isIMOtb+yj764MznysXVcRV10n0XAPAO2v2Iv2Xd0zUXIixjBBfZZUroPykhuna9gLu5MitzScC6/FpfV3T+Pa9xRbZ1rztaYFLmF0r60r7TmvqVt3gDeOrfCntMxFyN/gKykCxf3hubDzquq12V6bNcwFyM3XdqVxWP3WURea4B8f8VaHz+vbC5IbnoRbkn9zsZsoouYZyBO77Zd4HOq5qLkphfhdMwHF/c5vSfcVzUuDN9sjcmQG5+pJUwVd83jPt+iNVeZrTEJcvOLcCumirveAd46pd30TH1exVyc3PyemqnintF7S3EV7XCuVNyZBLmFxyUMFXexUwIplnaV2RoTJ7exCJcwU9zFzDMES7tKcWfi5Db21FbMFHexg4VSYK8m4l6KY+Lkkxb21JbMFHcx8ymAQ/rtm+/omMeRP7GxaaBT3HXNG0AHilgdzhVma0yYfNLKnppOcU9pfoRpDr6029hTnVc2jyWftPL0o5niLnhmHMXSrjCgM2HyaTuPyOjUUd2vMGUolnb5AZ0Jk1sZzvUG9JTOMlxU4469tMsP6EyUfNrSE6/7Joq7vQPbHTwrIz2gM1HyaUsvMywZKO5bguYNiqVdfkBnouTTtl5mMFDcRT/QMkeytEsvvzJRckvDud5sbULz21skS7v0gM4EySetvcBioLgLn+meoVjapQd0Jkg+ae/dRPjiLmyeIlnaZQd0Jkg+ae8FFvjiLmw+RbK0yw7oTJDc2nBuorgLf7qhQbK0yw7oTIx82ub7qODFXdh8jmRplx3QmRj5tM2jBsDX3MU/0UKztEsO6EyMfHo9IJLor9WX4fobdyKlXXJAZ2Lkdk8Ogn5aRvkD2ERKu+SAzoTIp+0eLwFc3D+Im0/BPfxo9cSJeRXzweTTVo+XgC7uEt/GboA9/Gi1tMsN6EyIfNryaVGwxV3CfA7sufZ9qzdsR948jnzaLjlwcZf5nOZ7Ms+1qw/oTIj8wPIvgC3uMuYZMs+1qw/oTITc9nAO/BKTjPkUkVeWdAZ0JkJ+xf7hj5DFvaFoTqi0Sw3oTIT85bp1c8g3VGXMGzRLu9SAzkTIn1j/BaDFXcZ8jsJBA5oDOhMgf+niLGeNG55VXobratzfUkpzmQGdCZC/TAe0En1LwzyjdzyYmw5Oxzyc/GUhoJXo45Ln+4Y2cROkSrvMNgsTIH/p4ifodHFZ1WW4TnON/+n2XdyvBSXzKPIDJ+ZgxV3OvAFQ2p3cr3kV8yjyKxUnvwGsuKekzOf0Szv2L/KwePIr6YBaor9VXYY7a9wDUh2c1KoMiye/sh6QS/SMunmGZmmXaOJYPPkVR79B53XFVXXzKd3SvuTodi1Img8iP3BlHsAU94aC+Wt6aS7exLFYclfDud50LaNs3tB8EG7f1d3KSZkPJL9SCAgm+qr0IRNdjfsEvTQXb+JYLLmzFk4r0QPFpdd24/6a2kRNakBnseRX3P0InelaStk8o1XaHd6teWHzOPIDh79Co7hPqC3DtZu4LMU0FzePI3fYwmkleqBhvkVvoibTxLE4cpctnFaip1TNGxql3WWaCzdxLI7csfmSdnGfkjWf0yjtS05vlmATx+LIXwQB0UR/rWi+kSLZwYkP6CyO/MCxufoC7Liq+f8STXMJ84HkLyoB1USfUFqGa8b/EU1z0SaOxZC/SAdkE31Lzfx/qKa5aBPHYshfrAdkE31cZel1Y+O/qaa5aBP3/wIMAI6prfGsFSkIAAAAAElFTkSuQmCC",clipPath:"url(#user-badge--clip-path)"})]})]}),U(ka,{withMinWidth:!1,className:"tw-w-[310px]",children:[U("div",{className:"tw-flex tw-flex-col tw-gap-4 tw-py-4 tw-px-5",children:[k("div",{className:"tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",children:e}),k(Sa,{as:_e,className:"tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",variant:"outline",colorScheme:"gray",onSelect:n,children:r.formatMessage({id:"logout"})})]}),k("div",{className:"tw-flex tw-w-full tw-justify-center tw-bg-gray-50 tw-py-4 tw-px-0 tw-text-sm tw-font-normal tw-text-gray-700",children:r.formatMessage({id:"version"},{version:t})})]})]})}const cg="https://xcomponent.github.io/appcontrol-documentation/contact/";function fg({application:e,applications:t,notificationCount:n,onNotificationClick:r,onInstallationClick:o,onToggleMenuClick:i,language:l,languages:u,onLanguageChange:a,username:s,version:f,logout:m,refreshToken:p,loginUrl:g,withMaxWith:y=!1,className:w,showUpgrade:N,...h}){const c=Zn(),d=t==null?void 0:t[e],E="x4b-settings",v=t==null?void 0:t[E],T="support@xcomponent.com",C=d&&{applicationName:d==null?void 0:d.name,username:s,version:f,url:d==null?void 0:d.url},M=()=>{const b=!Zd();Z1(b),i&&i(b)};return d?k("header",{...h,"aria-label":"Global",className:gi(w,"tw-box-border tw-bg-white ",p&&"tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),children:U("nav",{"aria-label":"top",className:gi(p?"tw-gap-0 sm:tw-gap-1 lg:tw-gap-2":"tw-gap-0 sm:tw-gap-1",y&&"tw-mx-auto tw-max-w-7xl","tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),children:[p&&i&&U(_e,{variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:M,children:[k("p",{className:"tw-sr-only",children:c.formatMessage({id:"mainMenu"})}),U("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 18 16",children:[k("title",{children:c.formatMessage({id:"mainMenu"})}),k("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:k("path",{d:"M18 6.818H0v1.364h18zM18 13H0v1.36h18zM18 .364H0v1.36h18z"})})]})]}),k("img",{alt:e,width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${d.logo}`,className:"tw-my-0 tw-block"}),k(kp,{className:"tw-hidden md:tw-block",children:d.name}),k(kp,{className:"tw-block md:tw-hidden",children:d.shortname||d.name}),o!==void 0&&k(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!1,rounded:!1,"aria-label":c.formatMessage({id:"installGateway"}),onClick:o,children:c.formatMessage({id:"installGateway"})}),N&&k(ig,{label:c.formatMessage({id:"upgradeBtnTooltip"}),children:U(_e,{as:"a",variant:"outline",colorScheme:"primary",rounded:!0,href:C&&$1(T,`[${C.applicationName}] Support Request`,c.formatMessage({id:"contactUpgradeMailBody"}),C),target:"_blank",rel:"noopener noreferrer nofollow",children:[U("p",{className:"tw-sr-only",children:[" ",c.formatMessage({id:"upgradeBtnTooltip"})]}),c.formatMessage({id:"upgradeBtn"})]})}),n!==void 0&&p&&k(ag,{count:n,onClick:r}),v&&e!==E&&p&&U(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,href:`${v.url}${p?`#refreshToken=${p}`:""}`,children:[k("p",{className:"tw-sr-only",children:c.formatMessage({id:"settings"})}),U("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[k("title",{children:c.formatMessage({id:"settings"})}),k("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:k("path",{d:"M14.037 19.103v2.25c0 .357-.29.647-.647.647H8.61a.647.647 0 0 1-.647-.647v-2.25c-.981-.278-1.658-.682-2.422-1.353a15.057 15.057 0 0 1-.108-.096L3.35 18.811a.647.647 0 0 1-.875-.242L.087 14.43a.647.647 0 0 1 .237-.884l1.995-1.15a8.415 8.415 0 0 1 .005-2.796L.344 8.452a.647.647 0 0 1-.234-.885l2.413-4.138A.647.647 0 0 1 3.4 3.19l2.036 1.152.105-.093c.764-.67 1.44-1.073 2.422-1.353V.647c0-.357.29-.647.647-.647h4.78c.357 0 .647.29.647.647v2.25c.982.28 1.658.683 2.422 1.353l.105.093L18.6 3.191a.647.647 0 0 1 .878.238l2.412 4.138c.18.309.075.706-.234.885l-1.98 1.149c.156.934.161 1.857.005 2.797l1.995 1.149c.31.178.416.574.237.884l-2.388 4.138a.647.647 0 0 1-.874.242l-2.084-1.157-.108.096c-.764.671-1.44 1.075-2.422 1.353zm-1.294-.504c0-.303.21-.566.507-.632 1.043-.231 1.621-.545 2.355-1.19.114-.1.181-.161.432-.39a.647.647 0 0 1 .752-.09l1.933 1.074 1.747-3.026-1.834-1.056a.647.647 0 0 1-.308-.7 7.203 7.203 0 0 0-.005-3.178.647.647 0 0 1 .307-.699l1.816-1.054-1.764-3.026L16.793 5.7a.647.647 0 0 1-.756-.086c-.246-.226-.318-.291-.432-.391-.733-.644-1.311-.958-2.356-1.19a.647.647 0 0 1-.506-.632V1.294H9.257v2.107c0 .303-.21.566-.506.631-1.044.233-1.623.547-2.356 1.19-.114.101-.185.166-.432.392a.647.647 0 0 1-.756.086L3.32 4.632 1.555 7.658l1.816 1.054a.647.647 0 0 1 .308.699 7.203 7.203 0 0 0-.005 3.177.647.647 0 0 1-.31.7l-1.833 1.057 1.747 3.026 1.934-1.074a.647.647 0 0 1 .751.09c.25.229.318.29.432.39.734.645 1.312.959 2.355 1.19a.647.647 0 0 1 .507.632v2.107h3.486v-2.107zM14.276 11a3.275 3.275 0 1 1-6.551 0 3.275 3.275 0 0 1 6.55 0zm-1.294 0a1.981 1.981 0 1 0-3.963 0 1.981 1.981 0 0 0 3.963 0z"})})]})]}),U(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,href:cg,children:[k("p",{className:"tw-sr-only",children:c.formatMessage({id:"documentation"})}),U("svg",{className:"tw-w-[1.5rem] tw-h-[1.5rem] tw-block","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:[k("title",{children:c.formatMessage({id:"documentation"})}),k("path",{strokeWidth:"1",fill:"currentColor",d:"M52.586 20.5H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM52.586 32.1H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM70.25 40.7h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 52.3h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 63.9h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM56 75.5H29.75a1.5 1.5 0 100 3H56a1.5 1.5 0 100-3zM44.181 35.785a1.5 1.5 0 001.5-1.5V16a1.5 1.5 0 00-1.5-1.5H28.896a1.5 1.5 0 00-1.5 1.5v18.285a1.5 1.5 0 001.5 1.5h15.285zM30.396 17.5h12.285v15.285H30.396V17.5z"}),k("path",{strokeWidth:"1",fill:"currentColor",d:"M78.521 5H21.479a4.067 4.067 0 00-4.063 4.063v81.875a4.067 4.067 0 004.063 4.063h43.522c.161 0 .314-.032.46-.08.023-.007.045-.012.067-.021.148-.056.282-.136.404-.233.011-.008.024-.011.034-.02L82.05 81.083c.015-.013.026-.029.041-.042a1.27 1.27 0 00.114-.118c.03-.034.06-.068.086-.104.03-.041.056-.084.082-.128a1.2 1.2 0 00.066-.122c.021-.045.038-.092.055-.139a1.315 1.315 0 00.084-.43c.001-.021.006-.041.006-.062V9.063A4.068 4.068 0 0078.521 5zM20.417 90.938V9.063c0-.586.476-1.063 1.062-1.063h57.042c.586 0 1.063.477 1.063 1.063v69.374H65a1.5 1.5 0 00-1.5 1.5V92H21.479a1.063 1.063 0 01-1.062-1.062zm56.562-9.501L66.5 90.273v-8.837h10.479z"})]})]}),k(_e,{href:"https://slack.xcomponent.com",as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,"aria-label":c.formatMessage({id:"contactDevelopers"}),children:U("svg",{viewBox:"8 8 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"tw-w-[1.5rem] tw-h-[1.5rem] tw-block",children:[k("title",{children:c.formatMessage({id:"contactDevelopers"})}),k("path",{d:"M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",fill:"#E01E5A"}),k("path",{d:"M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",fill:"#36C5F0"}),k("path",{d:"M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",fill:"#2EB67D"}),k("path",{d:"M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",fill:"#ECB22E"})]})}),p&&e===E&&t&&k(Vv,{applicationDescriptions:t,refreshToken:p}),p&&s&&f&&m&&k(sg,{username:s,version:f,onLogout:m}),k(ug,{language:l||"en",languages:u||["en"],onLanguageSelected:a}),!p&&U(vi,{children:[k(_e,{className:"tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",size:"lg",href:g,as:"a",variant:"link",colorScheme:"gray",children:c.formatMessage({id:"login"})}),k(_e,{className:"tw-ml-3 tw-hidden lg:tw-inline-block",size:"xl",href:g,as:"a",variant:"solid",colorScheme:"primary",children:c.formatMessage({id:"getStartedFree"})})]})]})}):(console.error(`Unknown application ${e}`),k("div",{"data-testid":"init-error"}))}const dg={mainMenu:"Main menu",settings:"Settings",help:"Help",contactDevelopers:"Contact Community",contactus:"Contact Support",contactUsMailBody:`Hello Support team,
108
108
 
109
109
  <Please describe your problem/request here.
110
110
  Do not hesitate to add as many details as possible.
@@ -118,15 +118,18 @@ The more precise your explanation, the better our answer. \u{1F60A}>
118
118
  I look forward to hearing from you.
119
119
 
120
120
  Regards,
121
- <Your name>`,contactUpgradeMailBody:`Hello Admin team,
121
+ <Your name>`,contactUpgradeMailBody:`Hello Sales Team,
122
122
 
123
- Requesting upgrade from Free to Enterprise Edition.
124
- Please provide details on process, pricing, and features.
123
+ I'm interested in upgrading from the Free to the Enterprise Edition. Please could you provide details on the process, pricing, and features?
125
124
 
126
- Thank you\u{1F60A}
125
+ For further correspondence, please contact me at my phone number and company details provided below:
126
+ - Phone Number: <Your Phone Number>
127
+ - Company Name: <Your Company Name>
128
+
129
+ Thank you \u{1F60A}
127
130
 
128
131
  Regards,
129
- <Your name>`,documentation:"Documentation",notifications:"Notifications",appSelector:"X4B applications",userAccountTooltip:"X4B account",logout:"Sign out",version:"Version: {version}",login:"Log in",getStartedFree:"Get started free",installGateway:"Install Gateways & Agents",upgradeBtn:"Upgrade to Enterprise plan",upgradeBtnTooltip:"Email for Enterprise upgrade"},vv={mainMenu:"Menu principal",settings:"Param\xE8tres",help:"Aide",contactDevelopers:"Contacter la communaut\xE9",contactus:"Contacter le support",contactUsMailBody:`Bonjour,
132
+ <Your Name>`,documentation:"Documentation",notifications:"Notifications",appSelector:"X4B applications",userAccountTooltip:"X4B account",logout:"Sign out",version:"Version: {version}",login:"Log in",getStartedFree:"Get started free",installGateway:"Install Gateways & Agents",upgradeBtn:"Upgrade to Enterprise plan",upgradeBtnTooltip:"Email for Enterprise upgrade"},pg={mainMenu:"Menu principal",settings:"Param\xE8tres",help:"Aide",contactDevelopers:"Contacter la communaut\xE9",contactus:"Contacter le support",contactUsMailBody:`Bonjour,
130
133
 
131
134
  <Merci d'entrer la description de votre probl\xE8me/requ\xEAte au support ici.
132
135
  N'h\xE9sitez pas \xE0 rajouter le plus de d\xE9tails possible. Plus votre demande
@@ -140,15 +143,17 @@ The more precise your explanation, the better our answer. \u{1F60A}>
140
143
  Merci d'avance.
141
144
 
142
145
  Cordialement,
143
- <Votre nom>`,contactUpgradeMailBody:`Bonjour \xE9quipe administrative,
144
-
145
- Demande de passage du plan Gratuit \xE0 l'\xE9dition Entreprise.
146
- Veuillez fournir des d\xE9tails sur le processus, les tarifs et les fonctionnalit\xE9s.
147
-
148
- Merci \u{1F60A}
149
-
150
- Cordialement,
151
- <Votre nom>`,documentation:"Documentation",notifications:"Notifications",appSelector:"Applications X4B",userAccountTooltip:"Compte X4B",logout:"D\xE9connexion",version:"Version : {version}",login:"Se connecter",getStartedFree:"Essayer gratuitement",installGateway:"Installation des passerelles & agents",upgradeBtn:"Basculer vers l'\xE9dition Entreprise",upgradeBtnTooltip:"Email pour la mise \xE0 niveau Entreprise"},yv={en:gv,fr:vv},wv=e=>yv[e];function Ev(e){const t=e.language||"en";return S($1,{locale:t,messages:wv(t),children:S(mv,{...e})})}async function Sv(e){const t=await fetch(`${e}/applications`);return t.ok?(await t.json()).reduce((n,r)=>(n[r.id]={name:r.label,url:r.url,logo:r.logo,documentationUrl:r.documentationUrl,hidden:Boolean(r.hidden)},n),{}):(console.error(t.text),{})}function Iu(e){this.message=e}Iu.prototype=new Error,Iu.prototype.name="InvalidCharacterError";var Op=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Iu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,l="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?l+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function kv(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Op(n).replace(/(.)/g,function(r,o){var i=o.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}(t)}catch{return Op(t)}}function Mi(e){this.message=e}function _u(e,t){if(typeof e!="string")throw new Mi("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(kv(e.split(".")[n]))}catch(r){throw new Mi("Invalid token specified: "+r.message)}}Mi.prototype=new Error,Mi.prototype.name="InvalidTokenError";const xv=e=>{if(e){const t=_u(e);return t?t.user:void 0}},Tv=()=>{const e=Ap("refreshToken");return e?{refreshToken:e,accessToken:Ap("accessToken")}:{}};function Ap(e){var t;const n=(t=window.location.hash)==null?void 0:t.slice(1).split("#").map(r=>{const o=r.split("=");return{key:o[0],value:o[1]}}).filter(r=>r.key===e).map(r=>r.value);return n&&n.length>0?n[0]:void 0}const Nv=()=>window.accessToken,Ou=60,Rv=5*Ou*1e3,Dp=e=>{const t=_u(e),n=Date.now()/1e3;return!t.exp||t.exp>n+Ou},Cv=e=>{const t=_u(e),n=Date.now()/1e3;return t.exp?Dp(e)?(t.exp-n-Ou)*1e3:0:Rv},Hp=()=>{const e=Ip();return e?`lang=${e}&`:""};async function Mv(e,t){const n=await fetch(`${e}/services`);if(n.ok){const r=await n.json(),o=r.login,i=r.authentication,l=()=>{window.location.href=`${o}/logout?${Hp()}redirectUrl=${encodeURIComponent(window.location.href)}`},a=Tv();if(a!=null&&a.refreshToken){const u=await Bp(l,i,a,t);if(history.replaceState({},"",window.location.href.split("#")[0]),u)return{token:u,logout:l}}else window.location.href=`${o}?${Hp()}redirectUrl=${encodeURIComponent(window.location.href)}`}else throw new Error(await n.text())}function zp(e,t,n,r){const o=Cv(window.accessToken||"");console.debug(`Token will refresh in ${o} ms`),setTimeout(()=>Bp(e,t,n,r),o)}async function Bp(e,t,n,r){if(n.accessToken&&Dp(n.accessToken))return window.accessToken=n.accessToken,zp(e,t,n,r),n;if(!n.refreshToken){window.accessToken=void 0,console.error("no refresh token, nothing to refresh");return}try{const o=await fetch(`${t}/api/Users/RefreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n.refreshToken)});if(o.ok){const i=await o.json();if(i.refreshToken)return window.accessToken=i.accessToken,r&&r(i),zp(e,t,i,r),i;console.error("no refresh token");return}else{const i=await o.json();console.error(i),e()}}catch(o){console.error(o),e()}}const Au=we.createContext(void 0);Au.displayName="AuthContext";function Pv({appsServiceUrl:e,children:t}){const[n,r]=we.useState(),[o,i]=we.useState(),l=we.useCallback(u=>{r(s=>({logout:(s==null?void 0:s.logout)||(()=>{}),token:{accessToken:u.accessToken,refreshToken:u.refreshToken}}))},[]);we.useEffect(()=>{Promise.all([Mv(e,l),Sv(e)]).then(([u,s])=>{Object.keys(s).forEach(f=>{s[f].logo=window.btoa(s[f].logo)}),i(s),r(u)})},[e,l]);const a=we.useCallback(u=>({...u,applications:o,username:xv(n==null?void 0:n.token.refreshToken),logout:n==null?void 0:n.logout,refreshToken:n==null?void 0:n.token.refreshToken}),[o,n]);return S(Au.Provider,{value:{appsServiceUrl:e,authResult:n,applications:o,getBannerProps:a},children:n&&o&&t})}function Lv(){const e=we.useContext(Au);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}var bp,Fp=Hi.exports;bp=Fp.createRoot,Fp.hydrateRoot;var Up={exports:{}},Pi={};/**
146
+ <Votre nom>`,contactUpgradeMailBody:`Bonjour \xE9quipe de commerciale,
147
+
148
+ Je suis int\xE9ress\xE9 par la mise \xE0 niveau de l'\xE9dition Gratuite \xE0 l'\xE9dition Entreprise. Pourriez-vous me fournir des d\xE9tails sur le processus, les tarifs et les fonctionnalit\xE9s ?
149
+
150
+ Pour toute correspondance ult\xE9rieure, veuillez me contacter \xE0 mon num\xE9ro de t\xE9l\xE9phone et les d\xE9tails de mon entreprise ci-dessous :
151
+ - Num\xE9ro de t\xE9l\xE9phone : <Votre num\xE9ro de t\xE9l\xE9phone>
152
+ - Nom de l'entreprise : <Votre nom d'entreprise>
153
+
154
+ Merci \u{1F60A}
155
+ Cordialement,
156
+ <Votre nom>`,documentation:"Documentation",notifications:"Notifications",appSelector:"Applications X4B",userAccountTooltip:"Compte X4B",logout:"D\xE9connexion",version:"Version : {version}",login:"Se connecter",getStartedFree:"Essayer gratuitement",installGateway:"Installation des passerelles & agents",upgradeBtn:"Mettre \xE0 niveau",upgradeBtnTooltip:"Email pour la mise \xE0 niveau Entreprise"},hg={en:dg,fr:pg},mg=e=>hg[e];function vg(e){const t=e.language||"en";return k(j1,{locale:t,messages:mg(t),children:k(fg,{...e})})}async function gg(e){const t=await fetch(`${e}/applications`);return t.ok?(await t.json()).reduce((n,r)=>(n[r.id]={name:r.label,url:r.url,logo:r.logo,documentationUrl:r.documentationUrl,hidden:Boolean(r.hidden)},n),{}):(console.error(t.text),{})}function Pa(e){this.message=e}Pa.prototype=new Error,Pa.prototype.name="InvalidCharacterError";var Lp=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Pa("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,l="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?l+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function yg(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Lp(n).replace(/(.)/g,function(r,o){var i=o.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}(t)}catch{return Lp(t)}}function Ci(e){this.message=e}function Ma(e,t){if(typeof e!="string")throw new Ci("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(yg(e.split(".")[n]))}catch(r){throw new Ci("Invalid token specified: "+r.message)}}Ci.prototype=new Error,Ci.prototype.name="InvalidTokenError";const wg=e=>{if(e){const t=Ma(e);return t?t.user:void 0}},Eg=()=>{const e=Ip("refreshToken");return e?{refreshToken:e,accessToken:Ip("accessToken")}:{}};function Ip(e){var t;const n=(t=window.location.hash)==null?void 0:t.slice(1).split("#").map(r=>{const o=r.split("=");return{key:o[0],value:o[1]}}).filter(r=>r.key===e).map(r=>r.value);return n&&n.length>0?n[0]:void 0}const Sg=()=>window.accessToken,La=60,kg=5*La*1e3,_p=e=>{const t=Ma(e),n=Date.now()/1e3;return!t.exp||t.exp>n+La},xg=e=>{const t=Ma(e),n=Date.now()/1e3;return t.exp?_p(e)?(t.exp-n-La)*1e3:0:kg},Op=()=>{const e=Pp();return e?`lang=${e}&`:""};async function Tg(e,t){const n=await fetch(`${e}/services`);if(n.ok){const r=await n.json(),o=r.login,i=r.authentication,l=()=>{window.location.href=`${o}/logout?${Op()}redirectUrl=${encodeURIComponent(window.location.href)}`},u=Eg();if(u!=null&&u.refreshToken){const a=await Ap(l,i,u,t);if(history.replaceState({},"",window.location.href.split("#")[0]),a)return{token:a,logout:l}}else window.location.href=`${o}?${Op()}redirectUrl=${encodeURIComponent(window.location.href)}`}else throw new Error(await n.text())}function Dp(e,t,n,r){const o=xg(window.accessToken||"");console.debug(`Token will refresh in ${o} ms`),setTimeout(()=>Ap(e,t,n,r),o)}async function Ap(e,t,n,r){if(n.accessToken&&_p(n.accessToken))return window.accessToken=n.accessToken,Dp(e,t,n,r),n;if(!n.refreshToken){window.accessToken=void 0,console.error("no refresh token, nothing to refresh");return}try{const o=await fetch(`${t}/api/Users/RefreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n.refreshToken)});if(o.ok){const i=await o.json();if(i.refreshToken)return window.accessToken=i.accessToken,r&&r(i),Dp(e,t,i,r),i;console.error("no refresh token");return}else{const i=await o.json();console.error(i),e()}}catch(o){console.error(o),e()}}const Ia=we.createContext(void 0);Ia.displayName="AuthContext";function Ng({appsServiceUrl:e,children:t}){const[n,r]=we.useState(),[o,i]=we.useState(),l=we.useCallback(a=>{r(s=>({logout:(s==null?void 0:s.logout)||(()=>{}),token:{accessToken:a.accessToken,refreshToken:a.refreshToken}}))},[]);we.useEffect(()=>{Promise.all([Tg(e,l),gg(e)]).then(([a,s])=>{Object.keys(s).forEach(f=>{s[f].logo=window.btoa(s[f].logo)}),i(s),r(a)})},[e,l]);const u=we.useCallback(a=>({...a,applications:o,username:wg(n==null?void 0:n.token.refreshToken),logout:n==null?void 0:n.logout,refreshToken:n==null?void 0:n.token.refreshToken}),[o,n]);return k(Ia.Provider,{value:{appsServiceUrl:e,authResult:n,applications:o,getBannerProps:u},children:n&&o&&t})}function Cg(){const e=we.useContext(Ia);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}var Hp,Bp=Di.exports;Hp=Bp.createRoot,Bp.hydrateRoot;var zp={exports:{}},Ri={};/**
152
157
  * @license React
153
158
  * react-jsx-runtime.production.min.js
154
159
  *
@@ -156,5 +161,5 @@ The more precise your explanation, the better our answer. \u{1F60A}>
156
161
  *
157
162
  * This source code is licensed under the MIT license found in the
158
163
  * LICENSE file in the root directory of this source tree.
159
- */var Iv=k.exports,_v=Symbol.for("react.element"),Ov=Symbol.for("react.fragment"),Av=Object.prototype.hasOwnProperty,Dv=Iv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Hv={key:!0,ref:!0,__self:!0,__source:!0};function jp(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Av.call(t,r)&&!Hv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:_v,type:e,key:i,ref:l,props:o,_owner:Dv.current}}Pi.Fragment=Ov,Pi.jsx=jp,Pi.jsxs=jp,function(e){e.exports=Pi}(Up);const Du=Up.exports.jsx,Vp="notification-count",Gp="application",$p="language",Xp="version",Zp="languages",zv="apps-service-url";class Bv extends HTMLElement{constructor(){super(...arguments);Wp(this,"root")}static get observedAttributes(){return[Vp,Gp,$p,Xp,Zp]}connectedCallback(){this.root=bp(this),this.renderReactApp()}disconnectedCallback(){var n;(n=this.root)==null||n.unmount()}renderReactApp(){var i;const n=this.getAttribute(Vp),r=this.getAttribute(Zp)||void 0,o=Du(Pv,{appsServiceUrl:this.getAttribute(zv)||"",children:Du(bv,{notificationCount:n?Number.parseInt(n):void 0,application:this.getAttribute(Gp)||"",language:this.getAttribute($p)||void 0,languages:r?r.split(","):void 0,version:this.getAttribute(Xp)||""})});(i=this.root)==null||i.render(o)}attributeChangedCallback(){this.renderReactApp()}}function bv({notificationCount:e,application:t,language:n,languages:r,version:o}){const{getBannerProps:i,authResult:l}=Lv(),a=f=>{document.dispatchEvent(new CustomEvent("menuToggleButtonClicked",{detail:f}))},u=()=>{document.dispatchEvent(new CustomEvent("notificationButtonClicked"))},s=f=>{document.dispatchEvent(new CustomEvent("languageChanged",{detail:f}))};return we.useEffect(()=>{document.dispatchEvent(new CustomEvent("startupFinished",{}))},[]),we.useEffect(()=>{document.dispatchEvent(new CustomEvent("tokenRefreshed",{}))},[l]),Du(Ev,{...i({application:t,notificationCount:e,onNotificationClick:u,onToggleMenuClick:a,language:n,languages:r,onLanguageChange:s,version:o})})}function Fv(){window.customElements.define("x4b-banner",Bv)}ve.getDefaultLanguage=Ip,ve.getToken=Nv,ve.isMenuOpen=Kd,ve.register=Fv,Object.defineProperties(ve,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
164
+ */var Rg=S.exports,Pg=Symbol.for("react.element"),Mg=Symbol.for("react.fragment"),Lg=Object.prototype.hasOwnProperty,Ig=Rg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_g={key:!0,ref:!0,__self:!0,__source:!0};function Fp(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Lg.call(t,r)&&!_g.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Pg,type:e,key:i,ref:l,props:o,_owner:Ig.current}}Ri.Fragment=Mg,Ri.jsx=Fp,Ri.jsxs=Fp,function(e){e.exports=Ri}(zp);const _a=zp.exports.jsx,bp="notification-count",Up="application",jp="language",Vp="version",Gp="languages",Og="apps-service-url";class Dg extends HTMLElement{constructor(){super(...arguments);Xp(this,"root")}static get observedAttributes(){return[bp,Up,jp,Vp,Gp]}connectedCallback(){this.root=Hp(this),this.renderReactApp()}disconnectedCallback(){var n;(n=this.root)==null||n.unmount()}renderReactApp(){var i;const n=this.getAttribute(bp),r=this.getAttribute(Gp)||void 0,o=_a(Ng,{appsServiceUrl:this.getAttribute(Og)||"",children:_a(Ag,{notificationCount:n?Number.parseInt(n):void 0,application:this.getAttribute(Up)||"",language:this.getAttribute(jp)||void 0,languages:r?r.split(","):void 0,version:this.getAttribute(Vp)||""})});(i=this.root)==null||i.render(o)}attributeChangedCallback(){this.renderReactApp()}}function Ag({notificationCount:e,application:t,language:n,languages:r,version:o}){const{getBannerProps:i,authResult:l}=Cg(),u=f=>{document.dispatchEvent(new CustomEvent("menuToggleButtonClicked",{detail:f}))},a=()=>{document.dispatchEvent(new CustomEvent("notificationButtonClicked"))},s=f=>{document.dispatchEvent(new CustomEvent("languageChanged",{detail:f}))};return we.useEffect(()=>{document.dispatchEvent(new CustomEvent("startupFinished",{}))},[]),we.useEffect(()=>{document.dispatchEvent(new CustomEvent("tokenRefreshed",{}))},[l]),_a(vg,{...i({application:t,notificationCount:e,onNotificationClick:a,onToggleMenuClick:u,language:n,languages:r,onLanguageChange:s,version:o})})}function Hg(){window.customElements.define("x4b-banner",Dg)}ge.getDefaultLanguage=Pp,ge.getToken=Sg,ge.isMenuOpen=Zd,ge.register=Hg,Object.defineProperties(ge,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
160
165
  //# sourceMappingURL=webcomponent-banner.umd.js.map