@wellesley/router 1.0.86 → 1.0.87

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.
Files changed (2) hide show
  1. package/index.mjs +12 -12
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var j1,U1,H1,V1,Zg={exports:{}},Oh={},Jg={exports:{}},_t={};
1
+ function zT(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var fa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n$,r$,o$,i$,j0={exports:{}},Jh={},B0={exports:{}},$t={};
2
2
  /**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -7,7 +7,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */function vE(){if(j1)return _t;j1=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),f=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}function m(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=v.prototype;var y=g.prototype=new m;y.constructor=g,p(y,v.prototype),y.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function E(t,n,r){var o,i={},a=null,u=null;if(null!=n)for(o in void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(a=""+n.key),n)w.call(n,o)&&!x.hasOwnProperty(o)&&(i[o]=n[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(t&&t.defaultProps)for(o in l=t.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:e,type:t,key:a,ref:u,props:i,_owner:_.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var S=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(n,r,o,i,a){var u=typeof n;("undefined"===u||"boolean"===u)&&(n=null);var l=!1;if(null===n)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case e:case t:l=!0}}if(l)return a=a(l=n),n=""===i?"."+C(l,0):i,b(a)?(o="",null!=n&&(o=n.replace(S,"$&/")+"/"),R(a,r,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+n)),r.push(a)),1;if(l=0,i=""===i?".":i+":",b(n))for(var s=0;s<n.length;s++){var c=i+C(u=n[s],s);l+=R(u,r,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),s=0;!(u=n.next()).done;)l+=R(u=u.value,r,o,c=i+C(u,s++),a);else if("object"===u)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)}),(function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},T={transition:null},O={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:T,ReactCurrentOwner:_};return _t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},_t.Component=v,_t.Fragment=n,_t.Profiler=o,_t.PureComponent=g,_t.StrictMode=r,_t.Suspense=l,_t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,_t.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),i=t.key,a=t.ref,u=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,u=_.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(s in n)w.call(n,s)&&!x.hasOwnProperty(s)&&(o[s]=void 0===n[s]&&void 0!==l?l[s]:n[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:u}},_t.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},_t.createElement=E,_t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},_t.createRef=function(){return{current:null}},_t.forwardRef=function(e){return{$$typeof:u,render:e}},_t.isValidElement=k,_t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},_t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},_t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},_t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},_t.useCallback=function(e,t){return A.current.useCallback(e,t)},_t.useContext=function(e){return A.current.useContext(e)},_t.useDebugValue=function(){},_t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},_t.useEffect=function(e,t){return A.current.useEffect(e,t)},_t.useId=function(){return A.current.useId()},_t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},_t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},_t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},_t.useMemo=function(e,t){return A.current.useMemo(e,t)},_t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},_t.useRef=function(e){return A.current.useRef(e)},_t.useState=function(e){return A.current.useState(e)},_t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},_t.useTransition=function(){return A.current.useTransition()},_t.version="18.2.0",_t}function Y0(){return U1||(U1=1,Jg.exports=vE()),Jg.exports
10
+ */function WT(){if(n$)return $t;n$=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),s=Symbol.for("react.lazy"),f=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}function y(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||d}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var m=g.prototype=new y;m.constructor=g,p(m,v.prototype),m.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,_={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function E(t,n,r){var o,i={},a=null,u=null;if(null!=n)for(o in void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(a=""+n.key),n)w.call(n,o)&&!x.hasOwnProperty(o)&&(i[o]=n[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];i.children=c}if(t&&t.defaultProps)for(o in l=t.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:e,type:t,key:a,ref:u,props:i,_owner:_.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var S=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(n,r,o,i,a){var u=typeof n;("undefined"===u||"boolean"===u)&&(n=null);var l=!1;if(null===n)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case e:case t:l=!0}}if(l)return a=a(l=n),n=""===i?"."+C(l,0):i,b(a)?(o="",null!=n&&(o=n.replace(S,"$&/")+"/"),R(a,r,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+n)),r.push(a)),1;if(l=0,i=""===i?".":i+":",b(n))for(var c=0;c<n.length;c++){var s=i+C(u=n[c],c);l+=R(u,r,o,s,a)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof s)for(n=s.call(n),c=0;!(u=n.next()).done;)l+=R(u=u.value,r,o,s=i+C(u,c++),a);else if("object"===u)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)}),(function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},O={transition:null},T={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:O,ReactCurrentOwner:_};return $t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},$t.Component=v,$t.Fragment=n,$t.Profiler=o,$t.PureComponent=g,$t.StrictMode=r,$t.Suspense=l,$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,$t.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),i=t.key,a=t.ref,u=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,u=_.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in n)w.call(n,c)&&!x.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var s=0;s<c;s++)l[s]=arguments[s+2];o.children=l}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:u}},$t.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},$t.createElement=E,$t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},$t.createRef=function(){return{current:null}},$t.forwardRef=function(e){return{$$typeof:u,render:e}},$t.isValidElement=k,$t.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:P}},$t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},$t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},$t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},$t.useCallback=function(e,t){return A.current.useCallback(e,t)},$t.useContext=function(e){return A.current.useContext(e)},$t.useDebugValue=function(){},$t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},$t.useEffect=function(e,t){return A.current.useEffect(e,t)},$t.useId=function(){return A.current.useId()},$t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},$t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},$t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},$t.useMemo=function(e,t){return A.current.useMemo(e,t)},$t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},$t.useRef=function(e){return A.current.useRef(e)},$t.useState=function(e){return A.current.useState(e)},$t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},$t.useTransition=function(){return A.current.useTransition()},$t.version="18.2.0",$t}function Lx(){return r$||(r$=1,B0.exports=WT()),B0.exports
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -16,7 +16,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */}function mE(){if(H1)return Oh;H1=1;var e=Y0(),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 a(e,n,a){var u,l={},s=null,c=null;for(u in void 0!==a&&(s=""+a),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(l[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===l[u]&&(l[u]=n[u]);return{$$typeof:t,type:e,key:s,ref:c,props:l,_owner:o.current}}return Oh.Fragment=n,Oh.jsx=a,Oh.jsxs=a,Oh}function gE(){return V1||(V1=1,Zg.exports=mE()),Zg.exports}var Z=gE(),h=Y0();const Ri=rw(h),yE=hE({__proto__:null,default:Ri},[h]);var K1,G1,Y1,q1,e0={exports:{}},ei={},t0={exports:{}},n0={};
19
+ */}function qT(){if(o$)return Jh;o$=1;var e=Lx(),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 a(e,n,a){var u,l={},c=null,s=null;for(u in void 0!==a&&(c=""+a),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(s=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(l[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===l[u]&&(l[u]=n[u]);return{$$typeof:t,type:e,key:c,ref:s,props:l,_owner:o.current}}return Jh.Fragment=n,Jh.jsx=a,Jh.jsxs=a,Jh}function jT(){return i$||(i$=1,j0.exports=qT()),j0.exports}var ge=jT(),y=Lx();const Ai=xR(y),BT=zT({__proto__:null,default:Ai},[y]);var a$,u$,s$,l$,U0={exports:{}},ti={},H0={exports:{}},G0={};
20
20
  /**
21
21
  * @license React
22
22
  * scheduler.production.min.js
@@ -25,7 +25,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
25
25
  *
26
26
  * This source code is licensed under the MIT license found in the
27
27
  * LICENSE file in the root directory of this source tree.
28
- */function wE(){return K1||(K1=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var u=2*(r+1)-1,l=e[u],s=u+1,c=e[s];if(0>o(l,n))s<i&&0>o(c,l)?(e[r]=c,e[s]=n,r=s):(e[r]=l,e[u]=n,r=u);else{if(!(s<i&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],s=[],c=1,f=null,d=3,p=!1,h=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function b(e){for(var o=n(s);null!==o;){if(null===o.callback)r(s);else{if(!(o.startTime<=e))break;r(s),o.sortIndex=o.expirationTime,t(l,o)}o=n(s)}}function w(e){if(v=!1,b(e),!h)if(null!==n(l))h=!0,O(_);else{var t=n(s);null!==t&&D(w,t.startTime-e)}}function _(t,o){h=!1,v&&(v=!1,g(S),S=-1),p=!0;var i=d;try{for(b(o),f=n(l);null!==f&&(!(f.expirationTime>o)||t&&!N());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var u=a(f.expirationTime<=o);o=e.unstable_now(),"function"==typeof u?f.callback=u:f===n(l)&&r(l),b(o)}else r(l);f=n(l)}if(null!==f)var c=!0;else{var m=n(s);null!==m&&D(w,m.startTime-o),c=!1}return c}finally{f=null,d=i,p=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,k=null,S=-1,C=5,R=-1;function N(){return!(e.unstable_now()-R<C)}function P(){if(null!==k){var t=e.unstable_now();R=t;var n=!0;try{n=k(!0,t)}finally{n?x():(E=!1,k=null)}}else E=!1}if("function"==typeof y)x=function(){y(P)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,T=A.port2;A.port1.onmessage=P,x=function(){T.postMessage(null)}}else x=function(){m(P,0)};function O(e){k=e,E||(E=!0,x())}function D(t,n){S=m((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,O(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>a?(r.sortIndex=i,t(s,r),null===n(l)&&r===n(s)&&(v?(g(S),S=-1):v=!0,D(w,i-a))):(r.sortIndex=u,t(l,r),h||p||(h=!0,O(_))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(n0)),n0}function xE(){return G1||(G1=1,t0.exports=wE()),t0.exports
28
+ */function UT(){return a$||(a$=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var u=2*(r+1)-1,l=e[u],c=u+1,s=e[c];if(0>o(l,n))c<i&&0>o(s,l)?(e[r]=s,e[c]=n,r=c):(e[r]=l,e[u]=n,r=u);else{if(!(c<i&&0>o(s,n)))break e;e[r]=s,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],c=[],s=1,f=null,d=3,p=!1,h=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;function b(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(l,o)}o=n(c)}}function w(e){if(v=!1,b(e),!h)if(null!==n(l))h=!0,T(_);else{var t=n(c);null!==t&&D(w,t.startTime-e)}}function _(t,o){h=!1,v&&(v=!1,g(S),S=-1),p=!0;var i=d;try{for(b(o),f=n(l);null!==f&&(!(f.expirationTime>o)||t&&!N());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var u=a(f.expirationTime<=o);o=e.unstable_now(),"function"==typeof u?f.callback=u:f===n(l)&&r(l),b(o)}else r(l);f=n(l)}if(null!==f)var s=!0;else{var y=n(c);null!==y&&D(w,y.startTime-o),s=!1}return s}finally{f=null,d=i,p=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,k=null,S=-1,C=5,R=-1;function N(){return!(e.unstable_now()-R<C)}function P(){if(null!==k){var t=e.unstable_now();R=t;var n=!0;try{n=k(!0,t)}finally{n?x():(E=!1,k=null)}}else E=!1}if("function"==typeof m)x=function(){m(P)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,O=A.port2;A.port1.onmessage=P,x=function(){O.postMessage(null)}}else x=function(){y(P,0)};function T(e){k=e,E||(E=!0,x())}function D(t,n){S=y((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,T(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return r={id:s++,callback:o,priorityLevel:r,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>a?(r.sortIndex=i,t(c,r),null===n(l)&&r===n(c)&&(v?(g(S),S=-1):v=!0,D(w,i-a))):(r.sortIndex=u,t(l,r),h||p||(h=!0,T(_))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(G0)),G0}function HT(){return u$||(u$=1,H0.exports=UT()),H0.exports
29
29
  /**
30
30
  * @license React
31
31
  * react-dom.production.min.js
@@ -34,7 +34,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
34
34
  *
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
- */}function _E(){if(Y1)return ei;Y1=1;var e=Y0(),t=xE();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function i(e,t){a(e,t),a(e+"Capture",t)}function a(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,s=/^[: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]*$/,c={},f={};function d(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new d(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new d(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new d(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new d(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){p[e]=new d(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new d(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new d(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new d(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new d(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function m(e,t,n,r){var o=p.hasOwnProperty(t)?p[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||typeof t>"u"||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!l.call(f,e)||!l.call(c,e)&&(s.test(e)?f[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(h,v);p[t]=new d(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(h,v);p[t]=new d(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(h,v);p[t]=new d(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new d(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new d("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new d(e,1,!1,e.toLowerCase(),null,!0,!0)}));var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),k=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),T=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var D,I=Object.assign;function L(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var j=!1;function M(e,t){if(!e||j)return"";j=!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()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function z(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=M(e.type,!1);case 11:return e=M(e.type.render,!1);case 1:return e=M(e.type,!0);default:return""}}function F(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case b:return"Portal";case x:return"Profiler";case _:return"StrictMode";case C:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return F(e(t))}catch{}}return null}function W(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=(e=t.render).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 F(t);case 8:return t===_?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function B(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function H(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function V(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function q(e,t){null!=(t=t.checked)&&m(e,"checked",t,!1)}function G(e,t){q(e,t);var n=$(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Y(e,t.type,n):t.hasOwnProperty("defaultValue")&&Y(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Y(e,t,n){("number"!==t||Z(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var X=Array.isArray;function J(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=""+$(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(X(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:$(r)}}function ne(e,t){var n=$(t.value),r=$(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(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 ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ae,ue,le=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ae=ae||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ae.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function se(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ce={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},fe=["Webkit","ms","Moz","O"];function de(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=de(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ce).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var he=I({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 ve(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function me(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 ge=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var be=null,we=null,_e=null;function xe(e){if(e=go(e)){if("function"!=typeof be)throw Error(n(280));var t=e.stateNode;t&&(t=bo(t),be(e.stateNode,e.type,t))}}function Ee(e){we?_e?_e.push(e):_e=[e]:we=e}function ke(){if(we){var e=we,t=_e;if(_e=we=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Se(e,t){return e(t)}function Ce(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Se(e,t,n)}finally{Re=!1,(null!==we||null!==_e)&&(Ce(),ke())}}function Pe(e,t){var r=e.stateNode;if(null===r)return null;var o=bo(r);if(null===o)return null;r=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ae=!1;if(u)try{var Te={};Object.defineProperty(Te,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Te,Te),window.removeEventListener("test",Te,Te)}catch{Ae=!1}function Oe(e,t,n,r,o,i,a,u,l){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var De=!1,Ie=null,Le=!1,je=null,Me={onError:function(e){De=!0,Ie=e}};function ze(e,t,n,r,o,i,a,u,l){De=!1,Ie=null,Oe.apply(Me,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{4098&(t=e).flags&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Fe(e)!==e)throw Error(n(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(o=i.return)){r=o;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return $e(i),e;if(a===o)return $e(i),t;a=a.sibling}throw Error(n(188))}if(r.return!==o.return)r=i,o=a;else{for(var u=!1,l=i.child;l;){if(l===r){u=!0,r=i,o=a;break}if(l===o){u=!0,o=i,r=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===r){u=!0,r=a,o=i;break}if(l===o){u=!0,o=a,r=i;break}l=l.sibling}if(!u)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?Be(e):null}function Be(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Be(e);if(null!==t)return t;e=e.sibling}return null}var He=t.unstable_scheduleCallback,Ze=t.unstable_cancelCallback,Ve=t.unstable_shouldYield,Ke=t.unstable_requestPaint,qe=t.unstable_now,Ge=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Ye=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var rt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ot(e)/it|0)|0},ot=Math.log,it=Math.LN2;var at=64,ut=4194304;function lt(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function st(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=lt(u):0!==(i&=a)&&(r=lt(i))}else 0!==(a=n&~o)?r=lt(a):0!==i&&(r=lt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-rt(t)),r|=e[n],t&=~o;return r}function ct(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;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function dt(){var e=at;return!(4194240&(at<<=1))&&(at=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ht(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-rt(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var mt=0;function gt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var yt,bt,wt,_t,xt,Et=!1,kt=[],St=null,Ct=null,Rt=null,Nt=new Map,Pt=new Map,At=[],Tt="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 Ot(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=go(t))&&bt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=mo(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void xt(e.priority,(function(){wt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=go(n))&&bt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ge=r,n.target.dispatchEvent(r),ge=null,t.shift()}return!0}function jt(e,t,n){Lt(e)&&n.delete(t)}function Mt(){Et=!1,null!==St&&Lt(St)&&(St=null),null!==Ct&&Lt(Ct)&&(Ct=null),null!==Rt&&Lt(Rt)&&(Rt=null),Nt.forEach(jt),Pt.forEach(jt)}function zt(e,n){e.blockedOn===n&&(e.blockedOn=null,Et||(Et=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Mt)))}function Ft(e){function t(t){return zt(t,e)}if(0<kt.length){zt(kt[0],e);for(var n=1;n<kt.length;n++){var r=kt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&zt(St,e),null!==Ct&&zt(Ct,e),null!==Rt&&zt(Rt,e),Nt.forEach(t),Pt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)It(n),null===n.blockedOn&&At.shift()}var Wt=g.ReactCurrentBatchConfig,$t=!0;function Ut(e,t,n,r){var o=mt,i=Wt.transition;Wt.transition=null;try{mt=1,Ht(e,t,n,r)}finally{mt=o,Wt.transition=i}}function Bt(e,t,n,r){var o=mt,i=Wt.transition;Wt.transition=null;try{mt=4,Ht(e,t,n,r)}finally{mt=o,Wt.transition=i}}function Ht(e,t,n,r){if($t){var o=Vt(e,t,n,r);if(null===o)$r(e,t,r,Zt,n),Ot(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return St=Dt(St,e,t,n,r,o),!0;case"dragenter":return Ct=Dt(Ct,e,t,n,r,o),!0;case"mouseover":return Rt=Dt(Rt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Nt.set(i,Dt(Nt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Pt.set(i,Dt(Pt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<Tt.indexOf(e)){for(;null!==o;){var i=go(o);if(null!==i&&yt(i),null===(i=Vt(e,t,n,r))&&$r(e,t,r,Zt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else $r(e,t,r,null,n)}}var Zt=null;function Vt(e,t,n,r){if(Zt=null,null!==(e=mo(e=ye(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Zt=e,null}function Kt(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(Ge()){case Qe:return 1;case Ye:return 4;case Xe:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var qt=null,Gt=null,Qt=null;function Yt(){if(Qt)return Qt;var e,t,n=Gt,r=n.length,o="value"in qt?qt.value:qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function Xt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Jt(){return!0}function en(){return!1}function tn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Jt:en,this.isPropagationStopped=en,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,rn,on,an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=tn(an),ln=I({},an,{view:0,detail:0}),sn=tn(ln),cn=I({},ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==on&&(on&&"mousemove"===e.type?(nn=e.screenX-on.screenX,rn=e.screenY-on.screenY):rn=nn=0,on=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:rn}}),fn=tn(cn),dn=tn(I({},cn,{dataTransfer:0})),pn=tn(I({},ln,{relatedTarget:0})),hn=tn(I({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=I({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mn=tn(vn),gn=tn(I({},an,{data:0})),yn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function xn(){return _n}var En=I({},ln,{key:function(e){if(e.key){var t=yn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?Xt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),kn=tn(En),Sn=tn(I({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cn=tn(I({},ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),Rn=tn(I({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=I({},cn,{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}),Pn=tn(Nn),An=[9,13,27,32],Tn=u&&"CompositionEvent"in window,On=null;u&&"documentMode"in document&&(On=document.documentMode);var Dn=u&&"TextEvent"in window&&!On,In=u&&(!Tn||On&&8<On&&11>=On),Ln=" ",jn=!1;function Mn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var Wn={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 $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Un(e,t,n,r){Ee(r),0<(t=Br(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bn=null,Hn=null;function Zn(e){Lr(e,0)}function Vn(e){if(H(yo(e)))return e}function Kn(e,t){if("change"===e)return t}var qn=!1;if(u){var Gn;if(u){var Qn="oninput"in document;if(!Qn){var Yn=document.createElement("div");Yn.setAttribute("oninput","return;"),Qn="function"==typeof Yn.oninput}Gn=Qn}else Gn=!1;qn=Gn&&(!document.documentMode||9<document.documentMode)}function Xn(){Bn&&(Bn.detachEvent("onpropertychange",Jn),Hn=Bn=null)}function Jn(e){if("value"===e.propertyName&&Vn(Hn)){var t=[];Un(t,Hn,e,ye(e)),Ne(Zn,t)}}function er(e,t,n){"focusin"===e?(Xn(),Hn=n,(Bn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Xn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Vn(Hn)}function nr(e,t){if("click"===e)return Vn(t)}function rr(e,t){if("input"===e||"change"===e)return Vn(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ir(e,t){if(or(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)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(!l.call(t,o)||!or(e[o],t[o]))return!1}return!0}function ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=ar(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ar(r)}}function lr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?lr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function sr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=sr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(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).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dr=u&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,vr=null,mr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;mr||null==pr||pr!==Z(r)||("selectionStart"in(r=pr)&&cr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ir(vr,r)||(vr=r,0<(r=Br(hr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var br={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},wr={},_r={};function xr(e){if(wr[e])return wr[e];if(!br[e])return e;var t,n=br[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return wr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete br.animationend.animation,delete br.animationiteration.animation,delete br.animationstart.animation),"TransitionEvent"in window||delete br.transitionend.transition);var Er=xr("animationend"),kr=xr("animationiteration"),Sr=xr("animationstart"),Cr=xr("transitionend"),Rr=new Map,Nr="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 Pr(e,t){Rr.set(e,t),i(t,[e])}for(var Ar=0;Ar<Nr.length;Ar++){var Tr=Nr[Ar];Pr(Tr.toLowerCase(),"on"+(Tr[0].toUpperCase()+Tr.slice(1)))}Pr(Er,"onAnimationEnd"),Pr(kr,"onAnimationIteration"),Pr(Sr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Cr,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Ir(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,i,a,u,l,s){if(ze.apply(this,arguments),De){if(!De)throw Error(n(198));var c=Ie;De=!1,Ie=null,Le||(Le=!0,je=c)}}(o,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=!!(4&t);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 a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,s=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,s),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,s=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,s),i=l}}}if(Le)throw e=je,Le=!1,je=null,e}function jr(e,t){var n=t[po];void 0===n&&(n=t[po]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Mr(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[zr]){e[zr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Mr(t,!1,e),Mr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Mr("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Kt(t)){case 1:var o=Ut;break;case 4:o=Bt;break;default:o=Ht}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function $r(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=mo(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}Ne((function(){var r=i,o=ye(n),a=[];e:{var u=Rr.get(e);if(void 0!==u){var l=un,s=e;switch(e){case"keypress":if(0===Xt(n))break e;case"keydown":case"keyup":l=kn;break;case"focusin":s="focus",l=pn;break;case"focusout":s="blur",l=pn;break;case"beforeblur":case"afterblur":l=pn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Cn;break;case Er:case kr:case Sr:l=hn;break;case Cr:l=Rn;break;case"scroll":l=sn;break;case"wheel":l=Pn;break;case"copy":case"cut":case"paste":l=mn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Sn}var c=!!(4&t),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Pe(h,d))&&c.push(Ur(h,v,p)))),f)break;h=h.return}0<c.length&&(u=new l(u,s,null,n,o),a.push({event:u,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===ge||!(s=n.relatedTarget||n.fromElement)||!mo(s)&&!s[fo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(s=(s=n.relatedTarget||n.toElement)?mo(s):null)&&(s!==(f=Fe(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(l=null,s=r),l!==s)){if(c=fn,v="onMouseLeave",d="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=Sn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:yo(l),p=null==s?u:yo(s),(u=new c(v,h+"leave",l,n,o)).target=f,u.relatedTarget=p,v=null,mo(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,v=c),f=v,l&&s)e:{for(d=s,h=0,p=c=l;p;p=Hr(p))h++;for(p=0,v=d;v;v=Hr(v))p++;for(;0<h-p;)c=Hr(c),h--;for(;0<p-h;)d=Hr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Hr(c),d=Hr(d)}c=null}else c=null;null!==l&&Zr(a,u,l,c,!1),null!==s&&null!==f&&Zr(a,f,s,c,!0)}if("select"===(l=(u=r?yo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var m=Kn;else if($n(u))if(qn)m=rr;else{m=tr;var g=er}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=nr);switch(m&&(m=m(e,r))?Un(a,m,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&Y(u,"number",u.value)),g=r?yo(r):window,e){case"focusin":($n(g)||"true"===g.contentEditable)&&(pr=g,hr=r,vr=null);break;case"focusout":vr=hr=pr=null;break;case"mousedown":mr=!0;break;case"contextmenu":case"mouseup":case"dragend":mr=!1,gr(a,n,o);break;case"selectionchange":if(dr)break;case"keydown":case"keyup":gr(a,n,o)}var y;if(Tn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Fn?Mn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Fn&&(y=Yt()):(Gt="value"in(qt=o)?qt.value:qt.textContent,Fn=!0)),0<(g=Br(r,b)).length&&(b=new gn(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=zn(n))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(jn=!0,Ln);case"textInput":return(e=t.data)===Ln&&jn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!Tn&&Mn(e,t)?(e=Yt(),Qt=Gt=qt=null,Fn=!1,e):null;switch(e){case"paste":default: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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Br(r,"onBeforeInput")).length&&(o=new gn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Lr(a,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Br(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Pe(e,n))&&r.unshift(Ur(e,i,o)),null!=(i=Pe(e,t))&&r.push(Ur(e,i,o))),e=e.return}return r}function Hr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Zr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,s=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==s&&(u=s,o?null!=(l=Pe(n,i))&&a.unshift(Ur(n,l,u)):o||null!=(l=Pe(n,i))&&a.push(Ur(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Vr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function qr(e){return("string"==typeof e?e:""+e).replace(Vr,"\n").replace(Kr,"")}function Gr(e,t,r){if(t=qr(t),qr(e)!==t&&r)throw Error(n(425))}function Qr(){}var Yr=null,Xr=null;function Jr(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var eo="function"==typeof setTimeout?setTimeout:void 0,to="function"==typeof clearTimeout?clearTimeout:void 0,no="function"==typeof Promise?Promise:void 0,ro="function"==typeof queueMicrotask?queueMicrotask:typeof no<"u"?function(e){return no.resolve(null).then(e).catch(oo)}:eo;function oo(e){setTimeout((function(){throw e}))}function io(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ft(t)}function ao(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var lo=Math.random().toString(36).slice(2),so="__reactFiber$"+lo,co="__reactProps$"+lo,fo="__reactContainer$"+lo,po="__reactEvents$"+lo,ho="__reactListeners$"+lo,vo="__reactHandles$"+lo;function mo(e){var t=e[so];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fo]||n[so]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[so])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function go(e){return!(e=e[so]||e[fo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function yo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function bo(e){return e[co]||null}var wo=[],_o=-1;function xo(e){return{current:e}}function Eo(e){0>_o||(e.current=wo[_o],wo[_o]=null,_o--)}function ko(e,t){_o++,wo[_o]=e.current,e.current=t}var So={},Co=xo(So),Ro=xo(!1),No=So;function Po(e,t){var n=e.type.contextTypes;if(!n)return So;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!=(e=e.childContextTypes)}function To(){Eo(Ro),Eo(Co)}function Oo(e,t,r){if(Co.current!==So)throw Error(n(168));ko(Co,t),ko(Ro,r)}function Do(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var i in o=o.getChildContext())if(!(i in t))throw Error(n(108,W(e)||"Unknown",i));return I({},r,o)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,No=Co.current,ko(Co,e),ko(Ro,Ro.current),!0}function Lo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=Do(e,t,No),o.__reactInternalMemoizedMergedChildContext=e,Eo(Ro),Eo(Co),ko(Co,e)):Eo(Ro),ko(Ro,r)}var jo=null,Mo=!1,zo=!1;function Fo(e){null===jo?jo=[e]:jo.push(e)}function Wo(){if(!zo&&null!==jo){zo=!0;var e=0,t=mt;try{var n=jo;for(mt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}jo=null,Mo=!1}catch(t){throw null!==jo&&(jo=jo.slice(e+1)),He(Qe,Wo),t}finally{mt=t,zo=!1}}return null}var $o=[],Uo=0,Bo=null,Ho=0,Zo=[],Vo=0,Ko=null,qo=1,Go="";function Qo(e,t){$o[Uo++]=Ho,$o[Uo++]=Bo,Bo=e,Ho=t}function Yo(e,t,n){Zo[Vo++]=qo,Zo[Vo++]=Go,Zo[Vo++]=Ko,Ko=e;var r=qo;e=Go;var o=32-rt(r)-1;r&=~(1<<o),n+=1;var i=32-rt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,qo=1<<32-rt(t)+o|n<<o|r,Go=i+e}else qo=1<<i|n<<o|r,Go=e}function Xo(e){null!==e.return&&(Qo(e,1),Yo(e,1,0))}function Jo(e){for(;e===Bo;)Bo=$o[--Uo],$o[Uo]=null,Ho=$o[--Uo],$o[Uo]=null;for(;e===Ko;)Ko=Zo[--Vo],Zo[Vo]=null,Go=Zo[--Vo],Zo[Vo]=null,qo=Zo[--Vo],Zo[Vo]=null}var ti=null,ni=null,ri=!1,oi=null;function ii(e,t){var n=As(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ai(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ti=e,ni=ao(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ti=e,ni=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:qo,overflow:Go}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=As(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ti=e,ni=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function li(e){if(ri){var t=ni;if(t){var r=t;if(!ai(e,t)){if(ui(e))throw Error(n(418));t=ao(r.nextSibling);var o=ti;t&&ai(e,t)?ii(o,r):(e.flags=-4097&e.flags|2,ri=!1,ti=e)}}else{if(ui(e))throw Error(n(418));e.flags=-4097&e.flags|2,ri=!1,ti=e}}}function si(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ti=e}function ci(e){if(e!==ti)return!1;if(!ri)return si(e),ri=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Jr(e.type,e.memoizedProps)),t&&(t=ni)){if(ui(e))throw fi(),Error(n(418));for(;t;)ii(e,t),t=ao(t.nextSibling)}if(si(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){ni=ao(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ni=null}}else ni=ti?ao(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ni;e;)e=ao(e.nextSibling)}function di(){ni=ti=null,ri=!1}function pi(e){null===oi?oi=[e]:oi.push(e)}var hi=g.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var mi=xo(null),gi=null,yi=null,bi=null;function wi(){bi=yi=gi=null}function _i(e){var t=mi.current;Eo(mi),e._currentValue=t}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){gi=e,bi=yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(yu=!0),e.firstContext=null)}function ki(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},null===yi){if(null===gi)throw Error(n(308));yi=e,gi.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var Si=null;function Ci(e){null===Si?Si=[e]:Si.push(e)}function Ri(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ci(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ni(e,r)}function Ni(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ai(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ti(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 Oi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Rl){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ni(e,n)}return null===(o=r.interleaved)?(t.next=t,Ci(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ni(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Li(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ji(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var l=u,s=l.next;l.next=null,null===a?i=s:a.next=s,a=l;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===u?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=l))}if(null!==i){var f=o.baseState;for(a=0,c=s=l=null,u=i;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;switch(d=t,p=n,v.tag){case 1:if("function"==typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=v.payload)?h.call(p,f,d):h))break e;f=I({},f,d);break e;case 2:Pi=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(s=c=p,l=f):c=c.next=p,a|=d;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(d=u).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(l=f),o.baseState=l,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ll|=a,e.lanes=a,e.memoizedState=f}}function Mi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;if(null!==i){if(o.callback=null,o=r,"function"!=typeof i)throw Error(n(191,i));i.call(o)}}}var zi=(new e.Component).refs;function Fi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wi={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Jl(),o=es(e),i=Oi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ts(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Jl(),o=es(e),i=Oi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ts(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jl(),r=es(e),o=Oi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Di(e,o,r))&&(ts(t,e,r,n),Ii(t,e,r))}};function $i(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(o,i))}function Ui(e,t,n){var r=!1,o=So,i=t.contextType;return"object"==typeof i&&null!==i?i=ki(i):(o=Ao(t)?No:Co.current,i=(r=null!=(r=t.contextTypes))?Po(e,o):So),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wi.enqueueReplaceState(t,t.state,null)}function Hi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=zi,Ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ki(i):(i=Ao(t)?No:Co.current,o.context=Po(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Wi.enqueueReplaceState(o,o.state,null),ji(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Zi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var i=o,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;t===zi&&(t=i.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Vi(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ki(e){return(0,e._init)(e._payload)}function qi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Os(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function u(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=js(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===w?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&Ki(o)===t.type)?((r=i(t,n.props)).ref=Zi(e,t,n),r.return=e,r):((r=Ds(n.type,n.key,n.props,null,e.mode,r)).ref=Zi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ms(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Is(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=js(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=Ds(t.type,t.key,t.props,null,e.mode,n)).ref=Zi(e,null,t),n.return=e,n;case b:return(t=Ms(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(X(t)||O(t))return(t=Is(t,e.mode,n,null)).return=e,t;Vi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===o?s(e,t,n,r):null;case b:return n.key===o?c(e,t,n,r):null;case P:return p(e,t,(o=n._init)(n._payload),r)}if(X(n)||O(n))return null!==o?null:f(e,t,n,r,null);Vi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case P:return h(e,t,n,(0,r._init)(r._payload),o)}if(X(r)||O(r))return f(t,e=e.get(n)||null,r,o,null);Vi(t,r)}return null}return function l(s,c,f,v){if("object"==typeof f&&null!==f&&f.type===w&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case y:e:{for(var m=f.key,g=c;null!==g;){if(g.key===m){if((m=f.type)===w){if(7===g.tag){r(s,g.sibling),(c=i(g,f.props.children)).return=s,s=c;break e}}else if(g.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===P&&Ki(m)===g.type){r(s,g.sibling),(c=i(g,f.props)).ref=Zi(s,g,f),c.return=s,s=c;break e}r(s,g);break}t(s,g),g=g.sibling}f.type===w?((c=Is(f.props.children,s.mode,v,f.key)).return=s,s=c):((v=Ds(f.type,f.key,f.props,null,s.mode,v)).ref=Zi(s,c,f),v.return=s,s=v)}return u(s);case b:e:{for(g=f.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){r(s,c.sibling),(c=i(c,f.children||[])).return=s,s=c;break e}r(s,c);break}t(s,c),c=c.sibling}(c=Ms(f,s.mode,v)).return=s,s=c}return u(s);case P:return l(s,c,(g=f._init)(f._payload),v)}if(X(f))return function(n,i,u,l){for(var s=null,c=null,f=i,v=i=0,m=null;null!==f&&v<u.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var g=p(n,f,u[v],l);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(n,f),i=a(g,i,v),null===c?s=g:c.sibling=g,c=g,f=m}if(v===u.length)return r(n,f),ri&&Qo(n,v),s;if(null===f){for(;v<u.length;v++)null!==(f=d(n,u[v],l))&&(i=a(f,i,v),null===c?s=f:c.sibling=f,c=f);return ri&&Qo(n,v),s}for(f=o(n,f);v<u.length;v++)null!==(m=h(f,n,v,u[v],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),i=a(m,i,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(n,e)})),ri&&Qo(n,v),s}(s,c,f,v);if(O(f))return function(i,u,l,s){var c=O(l);if("function"!=typeof c)throw Error(n(150));if(null==(l=c.call(l)))throw Error(n(151));for(var f=c=null,v=u,m=u=0,g=null,y=l.next();null!==v&&!y.done;m++,y=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=p(i,v,y.value,s);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),u=a(b,u,m),null===f?c=b:f.sibling=b,f=b,v=g}if(y.done)return r(i,v),ri&&Qo(i,m),c;if(null===v){for(;!y.done;m++,y=l.next())null!==(y=d(i,y.value,s))&&(u=a(y,u,m),null===f?c=y:f.sibling=y,f=y);return ri&&Qo(i,m),c}for(v=o(i,v);!y.done;m++,y=l.next())null!==(y=h(v,i,m,y.value,s))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),u=a(y,u,m),null===f?c=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(i,e)})),ri&&Qo(i,m),c}(s,c,f,v);Vi(s,f)}return"string"==typeof f&&""!==f||"number"==typeof f?(f=""+f,null!==c&&6===c.tag?(r(s,c.sibling),(c=i(c,f)).return=s,s=c):(r(s,c),(c=js(f,s.mode,v)).return=s,s=c),u(s)):r(s,c)}}var Gi=qi(!0),Qi=qi(!1),Yi={},Xi=xo(Yi),Ji=xo(Yi),ea=xo(Yi);function ta(e){if(e===Yi)throw Error(n(174));return e}function na(e,t){switch(ko(ea,t),ko(Ji,e),ko(Xi,Yi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ie(null,"");break;default:t=ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(Xi),ko(Xi,t)}function ra(){Eo(Xi),Eo(Ji),Eo(ea)}function oa(e){ta(ea.current);var t=ta(Xi.current),n=ie(t,e.type);t!==n&&(ko(Ji,e),ko(Xi,n))}function ia(e){Ji.current===e&&(Eo(Xi),Eo(Ji))}var aa=xo(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function sa(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var ca=g.ReactCurrentDispatcher,fa=g.ReactCurrentBatchConfig,da=0,pa=null,ha=null,va=null,ma=!1,ga=!1,ya=0,ba=0;function wa(){throw Error(n(321))}function _a(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function xa(e,t,r,o,i,a){if(da=a,pa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ca.current=null===e||null===e.memoizedState?iu:au,e=r(o,i),ga){a=0;do{if(ga=!1,ya=0,25<=a)throw Error(n(301));a+=1,va=ha=null,t.updateQueue=null,ca.current=uu,e=r(o,i)}while(ga)}if(ca.current=ou,t=null!==ha&&null!==ha.next,da=0,va=ha=pa=null,ma=!1,t)throw Error(n(300));return e}function Ea(){var e=0!==ya;return ya=0,e}function ka(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?pa.memoizedState=va=e:va=va.next=e,va}function Sa(){if(null===ha){var e=pa.alternate;e=null!==e?e.memoizedState:null}else e=ha.next;var t=null===va?pa.memoizedState:va.next;if(null!==t)va=t,ha=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ha=e).memoizedState,baseState:ha.baseState,baseQueue:ha.baseQueue,queue:ha.queue,next:null},null===va?pa.memoizedState=va=e:va=va.next=e}return va}function Ca(e,t){return"function"==typeof t?t(e):t}function Ra(e){var t=Sa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=ha,i=o.baseQueue,a=r.pending;if(null!==a){if(null!==i){var u=i.next;i.next=a.next,a.next=u}o.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,o=o.baseState;var l=u=null,s=null,c=a;do{var f=c.lane;if((da&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,u=o):s=s.next=d,pa.lanes|=f,Ll|=f}c=c.next}while(null!==c&&c!==a);null===s?u=o:s.next=l,or(o,t.memoizedState)||(yu=!0),t.memoizedState=o,t.baseState=u,t.baseQueue=s,r.lastRenderedState=o}if(null!==(e=r.interleaved)){i=e;do{a=i.lane,pa.lanes|=a,Ll|=a,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Na(e){var t=Sa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var u=i=i.next;do{a=e(a,u.action),u=u.next}while(u!==i);or(a,t.memoizedState)||(yu=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function Pa(){}function Aa(e,t){var r=pa,o=Sa(),i=t(),a=!or(o.memoizedState,i);if(a&&(o.memoizedState=i,yu=!0),o=o.queue,Ua(Da.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(r.flags|=2048,Ma(9,Oa.bind(null,r,o,i,t),void 0,null),null===Nl)throw Error(n(349));30&da||Ta(r,t,i)}return i}function Ta(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&La(e)}function Da(e,t,n){return n((function(){Ia(t)&&La(e)}))}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch{return!0}}function La(e){var t=Ni(e,1);null!==t&&ts(t,e,1,-1)}function ja(e){var t=ka();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t.queue=e,e=e.dispatch=eu.bind(null,pa,e),[t.memoizedState,e]}function Ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function za(){return Sa().memoizedState}function Fa(e,t,n,r){var o=ka();pa.flags|=e,o.memoizedState=Ma(1|t,n,void 0,void 0===r?null:r)}function Wa(e,t,n,r){var o=Sa();r=void 0===r?null:r;var i=void 0;if(null!==ha){var a=ha.memoizedState;if(i=a.destroy,null!==r&&_a(r,a.deps))return void(o.memoizedState=Ma(t,n,i,r))}pa.flags|=e,o.memoizedState=Ma(1|t,n,i,r)}function $a(e,t){return Fa(8390656,8,e,t)}function Ua(e,t){return Wa(2048,8,e,t)}function Ba(e,t){return Wa(4,2,e,t)}function Ha(e,t){return Wa(4,4,e,t)}function Za(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Va(e,t,n){return n=null!=n?n.concat([e]):null,Wa(4,4,Za.bind(null,t,e),n)}function Ka(){}function qa(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ga(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 21&da?(or(n,t)||(n=dt(),pa.lanes|=n,Ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yu=!0),e.memoizedState=n)}function Ya(e,t){var n=mt;mt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{mt=n,fa.transition=r}}function Xa(){return Sa().memoizedState}function Ja(e,t,n){var r=es(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tu(e))nu(t,n);else if(null!==(n=Ri(e,t,n,r))){ts(n,e,r,Jl()),ru(n,t,r)}}function eu(e,t,n){var r=es(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tu(e))nu(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,or(u,a)){var l=t.interleaved;return null===l?(o.next=o,Ci(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch{}null!==(n=Ri(e,t,o,r))&&(ts(n,e,r,o=Jl()),ru(n,t,r))}}function tu(e){var t=e.alternate;return e===pa||null!==t&&t===pa}function nu(e,t){ga=ma=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ru(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var ou={readContext:ki,useCallback:wa,useContext:wa,useEffect:wa,useImperativeHandle:wa,useInsertionEffect:wa,useLayoutEffect:wa,useMemo:wa,useReducer:wa,useRef:wa,useState:wa,useDebugValue:wa,useDeferredValue:wa,useTransition:wa,useMutableSource:wa,useSyncExternalStore:wa,useId:wa,unstable_isNewReconciler:!1},iu={readContext:ki,useCallback:function(e,t){return ka().memoizedState=[e,void 0===t?null:t],e},useContext:ki,useEffect:$a,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Fa(4194308,4,Za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=ka();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ka();return t=void 0!==n?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=Ja.bind(null,pa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ka().memoizedState=e},useState:ja,useDebugValue:Ka,useDeferredValue:function(e){return ka().memoizedState=e},useTransition:function(){var e=ja(!1),t=e[0];return e=Ya.bind(null,e[1]),ka().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=pa,i=ka();if(ri){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Nl)throw Error(n(349));30&da||Ta(o,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,$a(Da.bind(null,o,a,e),[e]),o.flags|=2048,Ma(9,Oa.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=ka(),t=Nl.identifierPrefix;if(ri){var n=Go;t=":"+t+"R"+(n=(qo&~(1<<32-rt(qo)-1)).toString(32)+n),0<(n=ya++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ba++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},au={readContext:ki,useCallback:qa,useContext:ki,useEffect:Ua,useImperativeHandle:Va,useInsertionEffect:Ba,useLayoutEffect:Ha,useMemo:Ga,useReducer:Ra,useRef:za,useState:function(){return Ra(Ca)},useDebugValue:Ka,useDeferredValue:function(e){return Qa(Sa(),ha.memoizedState,e)},useTransition:function(){return[Ra(Ca)[0],Sa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Aa,useId:Xa,unstable_isNewReconciler:!1},uu={readContext:ki,useCallback:qa,useContext:ki,useEffect:Ua,useImperativeHandle:Va,useInsertionEffect:Ba,useLayoutEffect:Ha,useMemo:Ga,useReducer:Na,useRef:za,useState:function(){return Na(Ca)},useDebugValue:Ka,useDeferredValue:function(e){var t=Sa();return null===ha?t.memoizedState=e:Qa(t,ha.memoizedState,e)},useTransition:function(){return[Na(Ca)[0],Sa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Aa,useId:Xa,unstable_isNewReconciler:!1};function lu(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function su(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function cu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fu="function"==typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=Oi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bl||(Bl=!0,Hl=r),cu(0,t)},n}function pu(e,t,n){(n=Oi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){cu(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){cu(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=ks.bind(null,e,t,n),t.then(e,e))}function vu(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function mu(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oi(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e)}var gu=g.ReactCurrentOwner,yu=!1;function bu(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Gi(t,e.child,n,r)}function wu(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=xa(e,t,n,r,i,o),n=Ea(),null===e||yu?(ri&&n&&Xo(t),t.flags|=1,bu(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bu(e,t,o))}function _u(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Ts(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ds(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,xu(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(a,r)&&e.ref===t.ref)return Bu(e,t,o)}return t.flags|=1,(e=Os(i,r)).ref=t.ref,e.return=t,t.child=e}function xu(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref){if(yu=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Bu(e,t,o);131072&e.flags&&(yu=!0)}}return Su(e,t,n,r,o)}function Eu(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ko(Ol,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ko(Ol,Tl),Tl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ko(Ol,Tl),Tl|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ko(Ol,Tl),Tl|=r;return bu(e,t,o,n),t.child}function ku(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Su(e,t,n,r,o){var i=Ao(n)?No:Co.current;return i=Po(t,i),Ei(t,o),n=xa(e,t,n,r,i,o),r=Ea(),null===e||yu?(ri&&r&&Xo(t),t.flags|=1,bu(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bu(e,t,o))}function Cu(e,t,n,r,o){if(Ao(n)){var i=!0;Io(t)}else i=!1;if(Ei(t,o),null===t.stateNode)Uu(e,t),Ui(t,n,r),Hi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=ki(s):s=Po(t,s=Ao(n)?No:Co.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==s)&&Bi(t,a,r,s),Pi=!1;var d=t.memoizedState;a.state=d,ji(t,r,a,o),l=t.memoizedState,u!==r||d!==l||Ro.current||Pi?("function"==typeof c&&(Fi(t,n,c,r),l=t.memoizedState),(u=Pi||$i(t,n,u,r,d,l,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ti(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:vi(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ki(l):l=Po(t,l=Ao(n)?No:Co.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==l)&&Bi(t,a,r,l),Pi=!1,d=t.memoizedState,a.state=d,ji(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||Ro.current||Pi?("function"==typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(s=Pi||$i(t,n,s,r,d,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ru(e,t,n,r,i,o)}function Ru(e,t,n,r,o,i){ku(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Lo(t,n,!1),Bu(e,t,i);r=t.stateNode,gu.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Gi(t,e.child,null,i),t.child=Gi(t,null,u,i)):bu(e,t,u,i),t.memoizedState=r.state,o&&Lo(t,n,!0),t.child}function Nu(e){var t=e.stateNode;t.pendingContext?Oo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oo(0,t.context,!1),na(e,t.containerInfo)}function Pu(e,t,n,r,o){return di(),pi(o),t.flags|=256,bu(e,t,n,r),t.child}var Au,Tu,Ou,Du,Iu={dehydrated:null,treeContext:null,retryLane:0};function Lu(e){return{baseLanes:e,cachePool:null,transitions:null}}function ju(e,t,r){var o,i=t.pendingProps,a=aa.current,u=!1,l=!!(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&!!(2&a)),o?(u=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),ko(aa,1&a),null===e)return li(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,u?(i=t.mode,u=t.child,l={mode:"hidden",children:l},1&i||null===u?u=Ls(l,i,0,null):(u.childLanes=0,u.pendingProps=l),e=Is(e,i,r,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=Lu(r),t.memoizedState=Iu,e):Mu(t,l));if(null!==(a=e.memoizedState)&&null!==(o=a.dehydrated))return function(e,t,r,o,i,a,u){if(r)return 256&t.flags?(t.flags&=-257,o=su(Error(n(422))),zu(e,t,u,o)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,i=t.mode,o=Ls({mode:"visible",children:o.children},i,0,null),a=Is(a,i,u,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,1&t.mode&&Gi(t,e.child,null,u),t.child.memoizedState=Lu(u),t.memoizedState=Iu,a);if(!(1&t.mode))return zu(e,t,u,null);if("$!"===i.data){if(o=i.nextSibling&&i.nextSibling.dataset)var l=o.dgst;return o=l,zu(e,t,u,o=su(a=Error(n(419)),o,void 0))}if(l=!!(u&e.childLanes),yu||l){if(null!==(o=Nl)){switch(u&-u){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(o.suspendedLanes|u)?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ni(e,i),ts(o,e,i,-1))}return hs(),zu(e,t,u,o=su(Error(n(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cs.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ni=ao(i.nextSibling),ti=t,ri=!0,oi=null,null!==e&&(Zo[Vo++]=qo,Zo[Vo++]=Go,Zo[Vo++]=Ko,qo=e.id,Go=e.overflow,Ko=t),t=Mu(t,o.children),t.flags|=4096,t)}(e,t,l,i,o,a,r);if(u){u=i.fallback,l=t.mode,o=(a=e.child).sibling;var s={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Os(a,s)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=s,t.deletions=null),null!==o?u=Os(o,u):(u=Is(u,l,r,null)).flags|=2,u.return=t,i.return=t,i.sibling=u,t.child=i,i=u,u=t.child,l=null===(l=e.child.memoizedState)?Lu(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},u.memoizedState=l,u.childLanes=e.childLanes&~r,t.memoizedState=Iu,i}return e=(u=e.child).sibling,i=Os(u,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function Mu(e,t){return(t=Ls({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zu(e,t,n,r){return null!==r&&pi(r),Gi(t,e.child,null,n),(e=Mu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function Wu(e,t,n,r,o){var i=e.memoizedState;null===i?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 $u(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(bu(e,t,r.children,n),2&(r=aa.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fu(e,n,t);else if(19===e.tag)Fu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ko(aa,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(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;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){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}else t.memoizedState=null;return t.child}function Uu(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bu(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Os(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Os(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Hu(e,t){if(!ri)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)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 Vu(e,t,r){var i=t.pendingProps;switch(Jo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zu(t),null;case 1:case 17:return Ao(t.type)&&To(),Zu(t),null;case 3:return i=t.stateNode,ra(),Eo(Ro),Eo(Co),sa(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===e||null===e.child)&&(ci(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oi&&(is(oi),oi=null))),Tu(e,t),Zu(t),null;case 5:ia(t);var a=ta(ea.current);if(r=t.type,null!==e&&null!=t.stateNode)Ou(e,t,r,i,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return Zu(t),null}if(e=ta(Xi.current),ci(t)){i=t.stateNode,r=t.type;var u=t.memoizedProps;switch(i[so]=t,i[co]=u,e=!!(1&t.mode),r){case"dialog":jr("cancel",i),jr("close",i);break;case"iframe":case"object":case"embed":jr("load",i);break;case"video":case"audio":for(a=0;a<Or.length;a++)jr(Or[a],i);break;case"source":jr("error",i);break;case"img":case"image":case"link":jr("error",i),jr("load",i);break;case"details":jr("toggle",i);break;case"input":K(i,u),jr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!u.multiple},jr("invalid",i);break;case"textarea":te(i,u),jr("invalid",i)}for(var l in ve(r,u),a=null,u)if(u.hasOwnProperty(l)){var s=u[l];"children"===l?"string"==typeof s?i.textContent!==s&&(!0!==u.suppressHydrationWarning&&Gr(i.textContent,s,e),a=["children",s]):"number"==typeof s&&i.textContent!==""+s&&(!0!==u.suppressHydrationWarning&&Gr(i.textContent,s,e),a=["children",""+s]):o.hasOwnProperty(l)&&null!=s&&"onScroll"===l&&jr("scroll",i)}switch(r){case"input":B(i),Q(i,u,!0);break;case"textarea":B(i),re(i);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(i.onclick=Qr)}i=a,t.updateQueue=i,null!==i&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=l.createElement(r,{is:i.is}):(e=l.createElement(r),"select"===r&&(l=e,i.multiple?l.multiple=!0:i.size&&(l.size=i.size))):e=l.createElementNS(e,r),e[so]=t,e[co]=i,Au(e,t,!1,!1),t.stateNode=e;e:{switch(l=me(r,i),r){case"dialog":jr("cancel",e),jr("close",e),a=i;break;case"iframe":case"object":case"embed":jr("load",e),a=i;break;case"video":case"audio":for(a=0;a<Or.length;a++)jr(Or[a],e);a=i;break;case"source":jr("error",e),a=i;break;case"img":case"image":case"link":jr("error",e),jr("load",e),a=i;break;case"details":jr("toggle",e),a=i;break;case"input":K(e,i),a=V(e,i),jr("invalid",e);break;case"option":default:a=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},a=I({},i,{value:void 0}),jr("invalid",e);break;case"textarea":te(e,i),a=ee(e,i),jr("invalid",e)}for(u in ve(r,a),s=a)if(s.hasOwnProperty(u)){var c=s[u];"style"===u?pe(e,c):"dangerouslySetInnerHTML"===u?null!=(c=c?c.__html:void 0)&&le(e,c):"children"===u?"string"==typeof c?("textarea"!==r||""!==c)&&se(e,c):"number"==typeof c&&se(e,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(o.hasOwnProperty(u)?null!=c&&"onScroll"===u&&jr("scroll",e):null!=c&&m(e,u,c,l))}switch(r){case"input":B(e),Q(e,i,!1);break;case"textarea":B(e),re(e);break;case"option":null!=i.value&&e.setAttribute("value",""+$(i.value));break;case"select":e.multiple=!!i.multiple,null!=(u=i.value)?J(e,!!i.multiple,u,!1):null!=i.defaultValue&&J(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Qr)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zu(t),null;case 6:if(e&&null!=t.stateNode)Du(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=ta(ea.current),ta(Xi.current),ci(t)){if(i=t.stateNode,r=t.memoizedProps,i[so]=t,(u=i.nodeValue!==r)&&null!==(e=ti))switch(e.tag){case 3:Gr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Gr(i.nodeValue,r,!!(1&e.mode))}u&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[so]=t,t.stateNode=i}return Zu(t),null;case 13:if(Eo(aa),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ri&&null!==ni&&1&t.mode&&!(128&t.flags))fi(),di(),t.flags|=98560,u=!1;else if(u=ci(t),null!==i&&null!==i.dehydrated){if(null===e){if(!u)throw Error(n(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(n(317));u[so]=t}else di(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zu(t),u=!1}else null!==oi&&(is(oi),oi=null),u=!0;if(!u)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&aa.current?0===Dl&&(Dl=3):hs())),null!==t.updateQueue&&(t.flags|=4),Zu(t),null);case 4:return ra(),Tu(e,t),null===e&&Fr(t.stateNode.containerInfo),Zu(t),null;case 10:return _i(t.type._context),Zu(t),null;case 19:if(Eo(aa),null===(u=t.memoizedState))return Zu(t),null;if(i=!!(128&t.flags),null===(l=u.rendering))if(i)Hu(u,!1);else{if(0!==Dl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,Hu(u,!1),null!==(i=l.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(u=r).flags&=14680066,null===(l=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,u.type=l.type,e=l.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ko(aa,1&aa.current|2),t.child}e=e.sibling}null!==u.tail&&qe()>$l&&(t.flags|=128,i=!0,Hu(u,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=ua(l))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Hu(u,!0),null===u.tail&&"hidden"===u.tailMode&&!l.alternate&&!ri)return Zu(t),null}else 2*qe()-u.renderingStartTime>$l&&1073741824!==r&&(t.flags|=128,i=!0,Hu(u,!1),t.lanes=4194304);u.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=u.last)?r.sibling=l:t.child=l,u.last=l)}return null!==u.tail?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=qe(),t.sibling=null,r=aa.current,ko(aa,i?1&r|2:1&r),t):(Zu(t),null);case 22:case 23:return cs(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?1073741824&Tl&&(Zu(t),6&t.subtreeFlags&&(t.flags|=8192)):Zu(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Ku(e,t){switch(Jo(t),t.tag){case 1:return Ao(t.type)&&To(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ra(),Eo(Ro),Eo(Co),sa(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ia(t),null;case 13:if(Eo(aa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));di()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(aa),null;case 4:return ra(),null;case 10:return _i(t.type._context),null;case 22:case 23:return cs(),null;default:return null}}Au=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Tu=function(){},Ou=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ta(Xi.current);var a,u=null;switch(n){case"input":i=V(e,i),r=V(e,r),u=[];break;case"select":i=I({},i,{value:void 0}),r=I({},r,{value:void 0}),u=[];break;case"textarea":i=ee(e,i),r=ee(e,r),u=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(c in ve(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?u||(u=[]):(u=u||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(u||(u=[]),u.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(u=u||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(u=u||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&jr("scroll",e),u||l===s||(u=[])):(u=u||[]).push(c,s))}n&&(u=u||[]).push("style",n);var c=u;(t.updateQueue=c)&&(t.flags|=4)}},Du=function(e,t,n,r){n!==r&&(t.flags|=4)};var qu=!1,Gu=!1,Qu="function"==typeof WeakSet?WeakSet:Set,Yu=null;function Xu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Es(e,t,n)}else n.current=null}function Ju(e,t,n){try{n()}catch(n){Es(e,t,n)}}var el=!1;function tl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Ju(t,n,i)}o=o.next}while(o!==r)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect: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 rl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[so],delete t[co],delete t[po],delete t[ho],delete t[vo])),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 il(e){return 5===e.tag||3===e.tag||4===e.tag}function al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}var sl=null,cl=!1;function fl(e,t,n){for(n=n.child;null!==n;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch{}switch(n.tag){case 5:Gu||Xu(n,t);case 6:var r=sl,o=cl;sl=null,fl(e,t,n),cl=o,null!==(sl=r)&&(cl?(e=sl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):sl.removeChild(n.stateNode));break;case 18:null!==sl&&(cl?(e=sl,n=n.stateNode,8===e.nodeType?io(e.parentNode,n):1===e.nodeType&&io(e,n),Ft(e)):io(sl,n.stateNode));break;case 4:r=sl,o=cl,sl=n.stateNode.containerInfo,cl=!0,fl(e,t,n),sl=r,cl=o;break;case 0:case 11:case 14:case 15:if(!Gu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Ju(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Gu&&(Xu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Es(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Gu=(r=Gu)||null!==n.memoizedState,fl(e,t,n),Gu=r):fl(e,t,n);break;default:fl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qu),t.forEach((function(t){var r=Rs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hl(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{var a=e,u=t,l=u;e:for(;null!==l;){switch(l.tag){case 5:sl=l.stateNode,cl=!1;break e;case 3:case 4:sl=l.stateNode.containerInfo,cl=!0;break e}l=l.return}if(null===sl)throw Error(n(160));dl(a,u,i),sl=null,cl=!1;var s=i.alternate;null!==s&&(s.return=null),i.return=null}catch(e){Es(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(t,e),ml(e),4&o){try{tl(3,e,e.return),nl(3,e)}catch(t){Es(e,e.return,t)}try{tl(5,e,e.return)}catch(t){Es(e,e.return,t)}}break;case 1:hl(t,e),ml(e),512&o&&null!==r&&Xu(r,r.return);break;case 5:if(hl(t,e),ml(e),512&o&&null!==r&&Xu(r,r.return),32&e.flags){var i=e.stateNode;try{se(i,"")}catch(t){Es(e,e.return,t)}}if(4&o&&null!=(i=e.stateNode)){var a=e.memoizedProps,u=null!==r?r.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&q(i,a),me(l,u);var c=me(l,a);for(u=0;u<s.length;u+=2){var f=s[u],d=s[u+1];"style"===f?pe(i,d):"dangerouslySetInnerHTML"===f?le(i,d):"children"===f?se(i,d):m(i,f,d,c)}switch(l){case"input":G(i,a);break;case"textarea":ne(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?J(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?J(i,!!a.multiple,a.defaultValue,!0):J(i,!!a.multiple,a.multiple?[]:"",!1))}i[co]=a}catch(t){Es(e,e.return,t)}}break;case 6:if(hl(t,e),ml(e),4&o){if(null===e.stateNode)throw Error(n(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Es(e,e.return,t)}}break;case 3:if(hl(t,e),ml(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Es(e,e.return,t)}break;case 4:default:hl(t,e),ml(e);break;case 13:hl(t,e),ml(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Wl=qe())),4&o&&pl(e);break;case 22:if(f=null!==r&&null!==r.memoizedState,1&e.mode?(Gu=(c=Gu)||f,hl(t,e),Gu=c):hl(t,e),ml(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&1&e.mode)for(Yu=e,f=e.child;null!==f;){for(d=Yu=f;null!==Yu;){switch(h=(p=Yu).child,p.tag){case 0:case 11:case 14:case 15:tl(4,p,p.return);break;case 1:Xu(p,p.return);var v=p.stateNode;if("function"==typeof v.componentWillUnmount){o=p,r=p.return;try{t=o,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){Es(o,r,e)}}break;case 5:Xu(p,p.return);break;case 22:if(null!==p.memoizedState){wl(d);continue}}null!==h?(h.return=p,Yu=h):wl(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,c?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,u=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=de("display",u))}catch(t){Es(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Es(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:hl(t,e),ml(e),4&o&&pl(e);case 21:}}function ml(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(il(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var i=o.stateNode;32&o.flags&&(se(i,""),o.flags&=-33),ll(e,al(e),i);break;case 3:case 4:var a=o.stateNode.containerInfo;ul(e,al(e),a);break;default:throw Error(n(161))}}catch(t){Es(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gl(e,t,n){Yu=e,yl(e)}function yl(e,t,n){for(var r=!!(1&e.mode);null!==Yu;){var o=Yu,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||qu;if(!a){var u=o.alternate,l=null!==u&&null!==u.memoizedState||Gu;u=qu;var s=Gu;if(qu=a,(Gu=l)&&!s)for(Yu=o;null!==Yu;)l=(a=Yu).child,22===a.tag&&null!==a.memoizedState?_l(o):null!==l?(l.return=a,Yu=l):_l(o);for(;null!==i;)Yu=i,yl(i),i=i.sibling;Yu=o,qu=u,Gu=s}bl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Yu=i):bl(e)}}function bl(e){for(;null!==Yu;){var t=Yu;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Gu||nl(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Gu)if(null===r)o.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:vi(t.type,r.memoizedProps);o.componentDidUpdate(i,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Mi(t,a,o);break;case 3:var u=t.updateQueue;if(null!==u){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Mi(t,u,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ft(d)}}}break;default:throw Error(n(163))}Gu||512&t.flags&&rl(t)}catch(e){Es(t,t.return,e)}}if(t===e){Yu=null;break}if(null!==(r=t.sibling)){r.return=t.return,Yu=r;break}Yu=t.return}}function wl(e){for(;null!==Yu;){var t=Yu;if(t===e){Yu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Yu=n;break}Yu=t.return}}function _l(e){for(;null!==Yu;){var t=Yu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nl(4,t)}catch(e){Es(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Es(t,o,e)}}var i=t.return;try{rl(t)}catch(e){Es(t,i,e)}break;case 5:var a=t.return;try{rl(t)}catch(e){Es(t,a,e)}}}catch(e){Es(t,t.return,e)}if(t===e){Yu=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Yu=u;break}Yu=t.return}}var xl,El=Math.ceil,kl=g.ReactCurrentDispatcher,Sl=g.ReactCurrentOwner,Cl=g.ReactCurrentBatchConfig,Rl=0,Nl=null,Pl=null,Al=0,Tl=0,Ol=xo(0),Dl=0,Il=null,Ll=0,jl=0,Ml=0,zl=null,Fl=null,Wl=0,$l=1/0,Ul=null,Bl=!1,Hl=null,Zl=null,Vl=!1,Kl=null,ql=0,Gl=0,Ql=null,Yl=-1,Xl=0;function Jl(){return 6&Rl?qe():-1!==Yl?Yl:Yl=qe()}function es(e){return 1&e.mode?2&Rl&&0!==Al?Al&-Al:null!==hi.transition?(0===Xl&&(Xl=dt()),Xl):(0!==(e=mt)||(e=void 0===(e=window.event)?16:Kt(e.type)),e):1}function ts(e,t,r,o){if(50<Gl)throw Gl=0,Ql=null,Error(n(185));ht(e,r,o),(!(2&Rl)||e!==Nl)&&(e===Nl&&(!(2&Rl)&&(jl|=r),4===Dl&&as(e,Al)),ns(e,o),1===r&&0===Rl&&!(1&t.mode)&&($l=qe()+500,Mo&&Wo()))}function ns(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-rt(i),u=1<<a,l=o[a];-1===l?(!(u&n)||u&r)&&(o[a]=ct(u,t)):l<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=st(e,e===Nl?Al:0);if(0===r)null!==n&&Ze(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ze(n),1===t)0===e.tag?function(e){Mo=!0,Fo(e)}(us.bind(null,e)):Fo(us.bind(null,e)),ro((function(){!(6&Rl)&&Wo()})),n=null;else{switch(gt(r)){case 1:n=Qe;break;case 4:n=Ye;break;case 16:default:n=Xe;break;case 536870912:n=et}n=Ns(n,rs.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rs(e,t){if(Yl=-1,Xl=0,6&Rl)throw Error(n(327));var r=e.callbackNode;if(_s()&&e.callbackNode!==r)return null;var o=st(e,e===Nl?Al:0);if(0===o)return null;if(30&o||o&e.expiredLanes||t)t=vs(e,o);else{t=o;var i=Rl;Rl|=2;var a=ps();for((Nl!==e||Al!==t)&&(Ul=null,$l=qe()+500,fs(e,t));;)try{gs();break}catch(t){ds(e,t)}wi(),kl.current=a,Rl=i,null!==Pl?t=0:(Nl=null,Al=0,t=Dl)}if(0!==t){if(2===t&&(0!==(i=ft(e))&&(o=i,t=os(e,i))),1===t)throw r=Il,fs(e,0),as(e,o),ns(e,qe()),r;if(6===t)as(e,o);else{if(i=e.current.alternate,!(30&o||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!or(i(),o))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=vs(e,o),2===t&&(a=ft(e),0!==a&&(o=a,t=os(e,a))),1!==t)))throw r=Il,fs(e,0),as(e,o),ns(e,qe()),r;switch(e.finishedWork=i,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:ws(e,Fl,Ul);break;case 3:if(as(e,o),(130023424&o)===o&&10<(t=Wl+500-qe())){if(0!==st(e,0))break;if(((i=e.suspendedLanes)&o)!==o){Jl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=eo(ws.bind(null,e,Fl,Ul),t);break}ws(e,Fl,Ul);break;case 4:if(as(e,o),(4194240&o)===o)break;for(t=e.eventTimes,i=-1;0<o;){var u=31-rt(o);a=1<<u,(u=t[u])>i&&(i=u),o&=~a}if(o=i,10<(o=(120>(o=qe()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*El(o/1960))-o)){e.timeoutHandle=eo(ws.bind(null,e,Fl,Ul),o);break}ws(e,Fl,Ul);break;default:throw Error(n(329))}}}return ns(e,qe()),e.callbackNode===r?rs.bind(null,e):null}function os(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fs(e,t).flags|=256),2!==(e=vs(e,t))&&(t=Fl,Fl=n,null!==t&&is(t)),e}function is(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function as(e,t){for(t&=~Ml,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function us(e){if(6&Rl)throw Error(n(327));_s();var t=st(e,0);if(!(1&t))return ns(e,qe()),null;var r=vs(e,t);if(0!==e.tag&&2===r){var o=ft(e);0!==o&&(t=o,r=os(e,o))}if(1===r)throw r=Il,fs(e,0),as(e,t),ns(e,qe()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ws(e,Fl,Ul),ns(e,qe()),null}function ls(e,t){var n=Rl;Rl|=1;try{return e(t)}finally{0===(Rl=n)&&($l=qe()+500,Mo&&Wo())}}function ss(e){null!==Kl&&0===Kl.tag&&!(6&Rl)&&_s();var t=Rl;Rl|=1;var n=Cl.transition,r=mt;try{if(Cl.transition=null,mt=1,e)return e()}finally{mt=r,Cl.transition=n,!(6&(Rl=t))&&Wo()}}function cs(){Tl=Ol.current,Eo(Ol)}function fs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,to(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(Jo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&To();break;case 3:ra(),Eo(Ro),Eo(Co),sa();break;case 5:ia(r);break;case 4:ra();break;case 13:case 19:Eo(aa);break;case 10:_i(r.type._context);break;case 22:case 23:cs()}n=n.return}if(Nl=e,Pl=e=Os(e.current,null),Al=Tl=t,Dl=0,Il=null,Ml=jl=Ll=0,Fl=zl=null,null!==Si){for(t=0;t<Si.length;t++)if(null!==(r=(n=Si[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Si=null}return e}function ds(e,t){for(;;){var r=Pl;try{if(wi(),ca.current=ou,ma){for(var o=pa.memoizedState;null!==o;){var i=o.queue;null!==i&&(i.pending=null),o=o.next}ma=!1}if(da=0,va=ha=pa=null,ga=!1,ya=0,Sl.current=null,null===r||null===r.return){Dl=1,Il=t,Pl=null;break}e:{var a=e,u=r.return,l=r,s=t;if(t=Al,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,f=l,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=vu(u);if(null!==h){h.flags&=-257,mu(h,u,l,0,t),1&h.mode&&hu(a,c,t),s=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(s),t.updateQueue=m}else v.add(s);break e}if(!(1&t)){hu(a,c,t),hs();break e}s=Error(n(426))}else if(ri&&1&l.mode){var g=vu(u);if(null!==g){!(65536&g.flags)&&(g.flags|=256),mu(g,u,l,0,t),pi(lu(s,l));break e}}a=s=lu(s,l),4!==Dl&&(Dl=2),null===zl?zl=[a]:zl.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Li(a,du(0,s,t));break e;case 1:l=s;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Zl&&Zl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Li(a,pu(a,l,t));break e}}a=a.return}while(null!==a)}bs(r)}catch(e){t=e,Pl===r&&null!==r&&(Pl=r=r.return);continue}break}}function ps(){var e=kl.current;return kl.current=ou,null===e?ou:e}function hs(){(0===Dl||3===Dl||2===Dl)&&(Dl=4),null===Nl||!(268435455&Ll)&&!(268435455&jl)||as(Nl,Al)}function vs(e,t){var r=Rl;Rl|=2;var o=ps();for((Nl!==e||Al!==t)&&(Ul=null,fs(e,t));;)try{ms();break}catch(t){ds(e,t)}if(wi(),Rl=r,kl.current=o,null!==Pl)throw Error(n(261));return Nl=null,Al=0,Dl}function ms(){for(;null!==Pl;)ys(Pl)}function gs(){for(;null!==Pl&&!Ve();)ys(Pl)}function ys(e){var t=xl(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?bs(e):Pl=t,Sl.current=null}function bs(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ku(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Dl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Vu(n,t,Tl)))return void(Pl=n);if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Dl&&(Dl=5)}function ws(e,t,r){var o=mt,i=Cl.transition;try{Cl.transition=null,mt=1,function(e,t,r,o){do{_s()}while(null!==Kl);if(6&Rl)throw Error(n(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(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-rt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Nl&&(Pl=Nl=null,Al=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Vl||(Vl=!0,Ns(Xe,(function(){return _s(),null}))),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Cl.transition,Cl.transition=null;var u=mt;mt=1;var l=Rl;Rl|=4,Sl.current=null,function(e,t){if(Yr=$t,cr(e=sr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var u=0,l=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==r||0!==i&&3!==d.nodeType||(l=u+i),d!==a||0!==o&&3!==d.nodeType||(s=u+o),3===d.nodeType&&(u+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===r&&++c===i&&(l=u),p===a&&++f===o&&(s=u),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}r=-1===l||-1===s?null:{start:l,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(Xr={focusedElem:e,selectionRange:r},$t=!1,Yu=t;null!==Yu;)if(e=(t=Yu).child,1028&t.subtreeFlags&&null!==e)e.return=t,Yu=e;else for(;null!==Yu;){t=Yu;try{var v=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:vi(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(e){Es(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Yu=e;break}Yu=t.return}v=el,el=!1}(e,r),vl(r,e),fr(Xr),$t=!!Yr,Xr=Yr=null,e.current=r,gl(r),Ke(),Rl=l,mt=u,Cl.transition=a}else e.current=r;if(Vl&&(Vl=!1,Kl=e,ql=i),a=e.pendingLanes,0===a&&(Zl=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,!(128&~e.current.flags))}catch{}}(r.stateNode),ns(e,qe()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],o(i.value,{componentStack:i.stack,digest:i.digest});if(Bl)throw Bl=!1,e=Hl,Hl=null,e;1&ql&&0!==e.tag&&_s(),a=e.pendingLanes,1&a?e===Ql?Gl++:(Gl=0,Ql=e):Gl=0,Wo()}(e,t,r,o)}finally{Cl.transition=i,mt=o}return null}function _s(){if(null!==Kl){var e=gt(ql),t=Cl.transition,r=mt;try{if(Cl.transition=null,mt=16>e?16:e,null===Kl)var o=!1;else{if(e=Kl,Kl=null,ql=0,6&Rl)throw Error(n(331));var i=Rl;for(Rl|=4,Yu=e.current;null!==Yu;){var a=Yu,u=a.child;if(16&Yu.flags){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(Yu=c;null!==Yu;){var f=Yu;switch(f.tag){case 0:case 11:case 15:tl(8,f,a)}var d=f.child;if(null!==d)d.return=f,Yu=d;else for(;null!==Yu;){var p=(f=Yu).sibling,h=f.return;if(ol(f),f===c){Yu=null;break}if(null!==p){p.return=h,Yu=p;break}Yu=h}}}var v=a.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Yu=a}}if(2064&a.subtreeFlags&&null!==u)u.return=a,Yu=u;else e:for(;null!==Yu;){if(2048&(a=Yu).flags)switch(a.tag){case 0:case 11:case 15:tl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Yu=y;break e}Yu=a.return}}var b=e.current;for(Yu=b;null!==Yu;){var w=(u=Yu).child;if(2064&u.subtreeFlags&&null!==w)w.return=u,Yu=w;else e:for(u=b;null!==Yu;){if(2048&(l=Yu).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Es(l,l.return,e)}if(l===u){Yu=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Yu=_;break e}Yu=l.return}}if(Rl=i,Wo(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch{}o=!0}return o}finally{mt=r,Cl.transition=t}}return!1}function xs(e,t,n){e=Di(e,t=du(0,t=lu(n,t),1),1),t=Jl(),null!==e&&(ht(e,1,t),ns(e,t))}function Es(e,t,n){if(3===e.tag)xs(e,e,n);else for(;null!==t;){if(3===t.tag){xs(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Di(t,e=pu(t,e=lu(n,e),1),1),e=Jl(),null!==t&&(ht(t,1,e),ns(t,e));break}}t=t.return}}function ks(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Jl(),e.pingedLanes|=e.suspendedLanes&n,Nl===e&&(Al&n)===n&&(4===Dl||3===Dl&&(130023424&Al)===Al&&500>qe()-Wl?fs(e,0):Ml|=n),ns(e,t)}function Ss(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=Jl();null!==(e=Ni(e,t))&&(ht(e,t,n),ns(e,n))}function Cs(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ss(e,n)}function Rs(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Ss(e,r)}function Ns(e,t){return He(e,t)}function Ps(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 As(e,t,n,r){return new Ps(e,t,n,r)}function Ts(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Os(e,t){var n=e.alternate;return null===n?((n=As(e.tag,t,e.key,e.mode)).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=14680064&e.flags,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=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ds(e,t,r,o,i,a){var u=2;if(o=e,"function"==typeof e)Ts(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case w:return Is(r.children,i,a,t);case _:u=8,i|=8;break;case x:return(e=As(12,r,t,2|i)).elementType=x,e.lanes=a,e;case C:return(e=As(13,r,t,i)).elementType=C,e.lanes=a,e;case R:return(e=As(19,r,t,i)).elementType=R,e.lanes=a,e;case A:return Ls(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:u=10;break e;case k:u=9;break e;case S:u=11;break e;case N:u=14;break e;case P:u=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=As(u,r,t,i)).elementType=e,t.type=o,t.lanes=a,t}function Is(e,t,n,r){return(e=As(7,e,r,t)).lanes=n,e}function Ls(e,t,n,r){return(e=As(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function js(e,t,n){return(e=As(6,e,null,t)).lanes=n,e}function Ms(e,t,n){return(t=As(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zs(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=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fs(e,t,n,r,o,i,a,u,l){return e=new zs(e,t,n,u,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=As(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ai(i),e}function Ws(e){if(!e)return So;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Ao(r))return Do(e,r,t)}return t}function $s(e,t,n,r,o,i,a,u,l){return(e=Fs(n,r,!0,e,0,i,0,u,l)).context=Ws(null),n=e.current,(i=Oi(r=Jl(),o=es(n))).callback=t??null,Di(n,i,o),e.current.lanes=o,ht(e,o,r),ns(e,r),e}function Us(e,t,n,r){var o=t.current,i=Jl(),a=es(o);return n=Ws(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(ts(e,o,a,i),Ii(e,o,a)),a}function Bs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zs(e,t){Hs(e,t),(e=e.alternate)&&Hs(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)yu=!0;else{if(!(e.lanes&r||128&t.flags))return yu=!1,function(e,t,n){switch(t.tag){case 3:Nu(t),di();break;case 5:oa(t);break;case 1:Ao(t.type)&&Io(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ko(mi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ko(aa,1&aa.current),t.flags|=128,null):n&t.child.childLanes?ju(e,t,n):(ko(aa,1&aa.current),null!==(e=Bu(e,t,n))?e.sibling:null);ko(aa,1&aa.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return $u(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ko(aa,aa.current),r)break;return null;case 22:case 23:return t.lanes=0,Eu(e,t,n)}return Bu(e,t,n)}(e,t,r);yu=!!(131072&e.flags)}else yu=!1,ri&&1048576&t.flags&&Yo(t,Ho,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Uu(e,t),e=t.pendingProps;var i=Po(t,Co.current);Ei(t,r),i=xa(null,t,o,e,i,r);var a=Ea();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(o)?(a=!0,Io(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ai(t),i.updater=Wi,t.stateNode=i,i._reactInternals=t,Hi(t,o,e,r),t=Ru(null,t,o,!0,a,r)):(t.tag=0,ri&&a&&Xo(t),bu(null,t,i,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Uu(e,t),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Ts(e)?1:0;if(null!=e){if((e=e.$$typeof)===S)return 11;if(e===N)return 14}return 2}(o),e=vi(o,e),i){case 0:t=Su(null,t,o,e,r);break e;case 1:t=Cu(null,t,o,e,r);break e;case 11:t=wu(null,t,o,e,r);break e;case 14:t=_u(null,t,o,vi(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,i=t.pendingProps,Su(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 1:return o=t.type,i=t.pendingProps,Cu(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 3:e:{if(Nu(t),null===e)throw Error(n(387));o=t.pendingProps,i=(a=t.memoizedState).element,Ti(e,t),ji(t,o,null,r);var u=t.memoizedState;if(o=u.element,a.isDehydrated){if(a={element:o,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Pu(e,t,o,r,i=lu(Error(n(423)),t));break e}if(o!==i){t=Pu(e,t,o,r,i=lu(Error(n(424)),t));break e}for(ni=ao(t.stateNode.containerInfo.firstChild),ti=t,ri=!0,oi=null,r=Qi(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(di(),o===i){t=Bu(e,t,r);break e}bu(e,t,o,r)}t=t.child}return t;case 5:return oa(t),null===e&&li(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,Jr(o,i)?u=null:null!==a&&Jr(o,a)&&(t.flags|=32),ku(e,t),bu(e,t,u,r),t.child;case 6:return null===e&&li(t),null;case 13:return ju(e,t,r);case 4:return na(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Gi(t,null,o,r):bu(e,t,o,r),t.child;case 11:return o=t.type,i=t.pendingProps,wu(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 7:return bu(e,t,t.pendingProps,r),t.child;case 8:case 12:return bu(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,a=t.memoizedProps,u=i.value,ko(mi,o._currentValue),o._currentValue=u,null!==a)if(or(a.value,u)){if(a.children===i.children&&!Ro.current){t=Bu(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){u=a.child;for(var s=l.firstContext;null!==s;){if(s.context===o){if(1===a.tag){(s=Oi(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}a.lanes|=r,null!==(s=a.alternate)&&(s.lanes|=r),xi(a.return,r,t),l.lanes|=r;break}s=s.next}}else if(10===a.tag)u=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(n(341));u.lanes|=r,null!==(l=u.alternate)&&(l.lanes|=r),xi(u,r,t),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}bu(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps.children,Ei(t,r),o=o(i=ki(i)),t.flags|=1,bu(e,t,o,r),t.child;case 14:return i=vi(o=t.type,t.pendingProps),_u(e,t,o,i=vi(o.type,i),r);case 15:return xu(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:vi(o,i),Uu(e,t),t.tag=1,Ao(o)?(e=!0,Io(t)):e=!1,Ei(t,r),Ui(t,o,i),Hi(t,o,i,r),Ru(null,t,o,!0,e,r);case 19:return $u(e,t,r);case 22:return Eu(e,t,r)}throw Error(n(156,t.tag))};var Vs="function"==typeof reportError?reportError:function(e){console.error(e)};function Ks(e){this._internalRoot=e}function qs(e){this._internalRoot=e}function Gs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ys(){}function Xs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var u=o;o=function(){var e=Bs(a);u.call(e)}}Us(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Bs(a);i.call(e)}}var a=$s(t,r,e,0,null,!1,0,"",Ys);return e._reactRootContainer=a,e[fo]=a.current,Fr(8===e.nodeType?e.parentNode:e),ss(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var u=r;r=function(){var e=Bs(l);u.call(e)}}var l=Fs(e,0,!1,null,0,!1,0,"",Ys);return e._reactRootContainer=l,e[fo]=l.current,Fr(8===e.nodeType?e.parentNode:e),ss((function(){Us(t,l,n,r)})),l}(n,t,e,o,r);return Bs(a)}qs.prototype.render=Ks.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Us(e,t,null,null)},qs.prototype.unmount=Ks.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ss((function(){Us(null,e,null,null)})),t[fo]=null}},qs.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&It(e)}},yt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=lt(t.pendingLanes);0!==n&&(vt(t,1|n),ns(t,qe()),!(6&Rl)&&($l=qe()+500,Wo()))}break;case 13:ss((function(){var t=Ni(e,1);if(null!==t){var n=Jl();ts(t,e,1,n)}})),Zs(e,1)}},bt=function(e){if(13===e.tag){var t=Ni(e,134217728);if(null!==t)ts(t,e,134217728,Jl());Zs(e,134217728)}},wt=function(e){if(13===e.tag){var t=es(e),n=Ni(e,t);if(null!==n)ts(n,e,t,Jl());Zs(e,t)}},_t=function(){return mt},xt=function(e,t){var n=mt;try{return mt=e,t()}finally{mt=n}},be=function(e,t,r){switch(t){case"input":if(G(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var i=bo(o);if(!i)throw Error(n(90));H(o),G(o,i)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&J(e,!!r.multiple,t,!1)}},Se=ls,Ce=ss;var Js={usingClientEntryPoint:!1,Events:[go,yo,bo,Ee,ke,ls]},ec={findFiberByHostInstance:mo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},tc={bundleType:ec.bundleType,version:ec.version,rendererPackageName:ec.rendererPackageName,rendererConfig:ec.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:ec.findFiberByHostInstance,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 nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{tt=nc.inject(tc),nt=nc}catch{}}return ei.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Js,ei.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gs(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},ei.createRoot=function(e,t){if(!Gs(e))throw Error(n(299));var r=!1,o="",i=Vs;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fs(e,1,!1,null,0,r,0,o,i),e[fo]=t.current,Fr(8===e.nodeType?e.parentNode:e),new Ks(t)},ei.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(n(188)):(e=Object.keys(e).join(","),Error(n(268,e)));return e=null===(e=Ue(t))?null:e.stateNode},ei.flushSync=function(e){return ss(e)},ei.hydrate=function(e,t,r){if(!Qs(t))throw Error(n(200));return Xs(null,e,t,!0,r)},ei.hydrateRoot=function(e,t,r){if(!Gs(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,i=!1,a="",u=Vs;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(u=r.onRecoverableError)),t=$s(t,null,e,1,r??null,i,0,a,u),e[fo]=t.current,Fr(e),o)for(e=0;e<o.length;e++)i=(i=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new qs(t)},ei.render=function(e,t,r){if(!Qs(t))throw Error(n(200));return Xs(null,e,t,!1,r)},ei.unmountComponentAtNode=function(e){if(!Qs(e))throw Error(n(40));return!!e._reactRootContainer&&(ss((function(){Xs(null,null,e,!1,(function(){e._reactRootContainer=null,e[fo]=null}))})),!0)},ei.unstable_batchedUpdates=ls,ei.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Qs(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xs(e,t,r,!1,o)},ei.version="18.2.0-next-9e3b772b8-20220608",ei}function bE(){if(q1)return e0.exports;return q1=1,function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e0.exports=_E(),e0.exports}var Wl=bE();const ow=rw(Wl);
37
+ */}function GT(){if(s$)return ti;s$=1;var e=Lx(),t=HT();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};function i(e,t){a(e,t),a(e+"Capture",t)}function a(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l=Object.prototype.hasOwnProperty,c=/^[: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]*$/,s={},f={};function d(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new d(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new d(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new d(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new d(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){p[e]=new d(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new d(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new d(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new d(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new d(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=p.hasOwnProperty(t)?p[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||typeof t>"u"||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!l.call(f,e)||!l.call(s,e)&&(c.test(e)?f[e]=!0:(s[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(h,v);p[t]=new d(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(h,v);p[t]=new d(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(h,v);p[t]=new d(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new d(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new d("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new d(e,1,!1,e.toLowerCase(),null,!0,!0)}));var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,m=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),k=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),O=Symbol.iterator;function T(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,I=Object.assign;function j(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var L=!1;function M(e,t){if(!e||L)return"";L=!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()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function z(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=M(e.type,!1);case 11:return e=M(e.type.render,!1);case 1:return e=M(e.type,!0);default:return""}}function F(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case b:return"Portal";case x:return"Profiler";case _:return"StrictMode";case C:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return F(e(t))}catch{}}return null}function $(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=(e=t.render).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 F(t);case 8:return t===_?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function B(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function H(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function V(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function K(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function G(e,t){Q(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Y(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function X(e,t,n){("number"!==t||V(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Z=Array.isArray;function J(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=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Z(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:W(r)}}function ne(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(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 ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ae,ue,le=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ae=ae||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ae.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function ce(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var se={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},fe=["Webkit","ms","Moz","O"];function de(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||se.hasOwnProperty(e)&&se[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=de(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(se).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),se[t]=se[e]}))}));var he=I({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 ve(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 ge=null;function me(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var be=null,we=null,_e=null;function xe(e){if(e=go(e)){if("function"!=typeof be)throw Error(n(280));var t=e.stateNode;t&&(t=bo(t),be(e.stateNode,e.type,t))}}function Ee(e){we?_e?_e.push(e):_e=[e]:we=e}function ke(){if(we){var e=we,t=_e;if(_e=we=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Se(e,t){return e(t)}function Ce(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Se(e,t,n)}finally{Re=!1,(null!==we||null!==_e)&&(Ce(),ke())}}function Pe(e,t){var r=e.stateNode;if(null===r)return null;var o=bo(r);if(null===o)return null;r=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ae=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch{Ae=!1}function Te(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var De=!1,Ie=null,je=!1,Le=null,Me={onError:function(e){De=!0,Ie=e}};function ze(e,t,n,r,o,i,a,u,l){De=!1,Ie=null,Te.apply(Me,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{4098&(t=e).flags&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Fe(e)!==e)throw Error(n(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(o=i.return)){r=o;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return We(i),e;if(a===o)return We(i),t;a=a.sibling}throw Error(n(188))}if(r.return!==o.return)r=i,o=a;else{for(var u=!1,l=i.child;l;){if(l===r){u=!0,r=i,o=a;break}if(l===o){u=!0,o=i,r=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===r){u=!0,r=a,o=i;break}if(l===o){u=!0,o=a,r=i;break}l=l.sibling}if(!u)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?Be(e):null}function Be(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Be(e);if(null!==t)return t;e=e.sibling}return null}var He=t.unstable_scheduleCallback,Ve=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,qe=t.unstable_requestPaint,Qe=t.unstable_now,Ge=t.unstable_getCurrentPriorityLevel,Ye=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var rt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ot(e)/it|0)|0},ot=Math.log,it=Math.LN2;var at=64,ut=4194304;function lt(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ct(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=lt(u):0!==(i&=a)&&(r=lt(i))}else 0!==(a=n&~o)?r=lt(a):0!==i&&(r=lt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-rt(t)),r|=e[n],t&=~o;return r}function st(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;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function dt(){var e=at;return!(4194240&(at<<=1))&&(at=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ht(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-rt(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function gt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var mt,bt,wt,_t,xt,Et=!1,kt=[],St=null,Ct=null,Rt=null,Nt=new Map,Pt=new Map,At=[],Ot="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 Tt(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=go(t))&&bt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=yo(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void xt(e.priority,(function(){wt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=go(n))&&bt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ge=r,n.target.dispatchEvent(r),ge=null,t.shift()}return!0}function Lt(e,t,n){jt(e)&&n.delete(t)}function Mt(){Et=!1,null!==St&&jt(St)&&(St=null),null!==Ct&&jt(Ct)&&(Ct=null),null!==Rt&&jt(Rt)&&(Rt=null),Nt.forEach(Lt),Pt.forEach(Lt)}function zt(e,n){e.blockedOn===n&&(e.blockedOn=null,Et||(Et=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Mt)))}function Ft(e){function t(t){return zt(t,e)}if(0<kt.length){zt(kt[0],e);for(var n=1;n<kt.length;n++){var r=kt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&zt(St,e),null!==Ct&&zt(Ct,e),null!==Rt&&zt(Rt,e),Nt.forEach(t),Pt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)It(n),null===n.blockedOn&&At.shift()}var $t=g.ReactCurrentBatchConfig,Wt=!0;function Ut(e,t,n,r){var o=yt,i=$t.transition;$t.transition=null;try{yt=1,Ht(e,t,n,r)}finally{yt=o,$t.transition=i}}function Bt(e,t,n,r){var o=yt,i=$t.transition;$t.transition=null;try{yt=4,Ht(e,t,n,r)}finally{yt=o,$t.transition=i}}function Ht(e,t,n,r){if(Wt){var o=Kt(e,t,n,r);if(null===o)Wr(e,t,r,Vt,n),Tt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return St=Dt(St,e,t,n,r,o),!0;case"dragenter":return Ct=Dt(Ct,e,t,n,r,o),!0;case"mouseover":return Rt=Dt(Rt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Nt.set(i,Dt(Nt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Pt.set(i,Dt(Pt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Tt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==o;){var i=go(o);if(null!==i&&mt(i),null===(i=Kt(e,t,n,r))&&Wr(e,t,r,Vt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Vt=null;function Kt(e,t,n,r){if(Vt=null,null!==(e=yo(e=me(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Vt=e,null}function qt(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(Ge()){case Ye:return 1;case Xe:return 4;case Ze:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var Qt=null,Gt=null,Yt=null;function Xt(){if(Yt)return Yt;var e,t,n=Gt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Yt=o.slice(e,1<t?1-t:void 0)}function Zt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Jt(){return!0}function en(){return!1}function tn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Jt:en,this.isPropagationStopped=en,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,rn,on,an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=tn(an),ln=I({},an,{view:0,detail:0}),cn=tn(ln),sn=I({},ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==on&&(on&&"mousemove"===e.type?(nn=e.screenX-on.screenX,rn=e.screenY-on.screenY):rn=nn=0,on=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:rn}}),fn=tn(sn),dn=tn(I({},sn,{dataTransfer:0})),pn=tn(I({},ln,{relatedTarget:0})),hn=tn(I({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=I({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=tn(vn),gn=tn(I({},an,{data:0})),mn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function xn(){return _n}var En=I({},ln,{key:function(e){if(e.key){var t=mn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?Zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),kn=tn(En),Sn=tn(I({},sn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cn=tn(I({},ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),Rn=tn(I({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=I({},sn,{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}),Pn=tn(Nn),An=[9,13,27,32],On=u&&"CompositionEvent"in window,Tn=null;u&&"documentMode"in document&&(Tn=document.documentMode);var Dn=u&&"TextEvent"in window&&!Tn,In=u&&(!On||Tn&&8<Tn&&11>=Tn),jn=" ",Ln=!1;function Mn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var $n={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 Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Un(e,t,n,r){Ee(r),0<(t=Br(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bn=null,Hn=null;function Vn(e){jr(e,0)}function Kn(e){if(H(mo(e)))return e}function qn(e,t){if("change"===e)return t}var Qn=!1;if(u){var Gn;if(u){var Yn="oninput"in document;if(!Yn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Yn="function"==typeof Xn.oninput}Gn=Yn}else Gn=!1;Qn=Gn&&(!document.documentMode||9<document.documentMode)}function Zn(){Bn&&(Bn.detachEvent("onpropertychange",Jn),Hn=Bn=null)}function Jn(e){if("value"===e.propertyName&&Kn(Hn)){var t=[];Un(t,Hn,e,me(e)),Ne(Vn,t)}}function er(e,t,n){"focusin"===e?(Zn(),Hn=n,(Bn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Zn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Hn)}function nr(e,t){if("click"===e)return Kn(t)}function rr(e,t){if("input"===e||"change"===e)return Kn(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ir(e,t){if(or(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)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(!l.call(t,o)||!or(e[o],t[o]))return!1}return!0}function ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=ar(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ar(r)}}function lr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?lr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function cr(){for(var e=window,t=V();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=V((e=t.contentWindow).document)}return t}function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=cr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lr(n.ownerDocument.documentElement,n)){if(null!==r&&sr(n))if(t=r.start,void 0===(e=r.end)&&(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).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dr=u&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,vr=null,yr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==pr||pr!==V(r)||("selectionStart"in(r=pr)&&sr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ir(vr,r)||(vr=r,0<(r=Br(hr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function mr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var br={animationend:mr("Animation","AnimationEnd"),animationiteration:mr("Animation","AnimationIteration"),animationstart:mr("Animation","AnimationStart"),transitionend:mr("Transition","TransitionEnd")},wr={},_r={};function xr(e){if(wr[e])return wr[e];if(!br[e])return e;var t,n=br[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return wr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete br.animationend.animation,delete br.animationiteration.animation,delete br.animationstart.animation),"TransitionEvent"in window||delete br.transitionend.transition);var Er=xr("animationend"),kr=xr("animationiteration"),Sr=xr("animationstart"),Cr=xr("transitionend"),Rr=new Map,Nr="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 Pr(e,t){Rr.set(e,t),i(t,[e])}for(var Ar=0;Ar<Nr.length;Ar++){var Or=Nr[Ar];Pr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Pr(Er,"onAnimationEnd"),Pr(kr,"onAnimationIteration"),Pr(Sr,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Cr,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tr="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Tr));function Ir(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,i,a,u,l,c){if(ze.apply(this,arguments),De){if(!De)throw Error(n(198));var s=Ie;De=!1,Ie=null,je||(je=!0,Le=s)}}(o,t,void 0,e),e.currentTarget=null}function jr(e,t){t=!!(4&t);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 a=r.length-1;0<=a;a--){var u=r[a],l=u.instance,c=u.currentTarget;if(u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}else for(a=0;a<r.length;a++){if(l=(u=r[a]).instance,c=u.currentTarget,u=u.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,u,c),i=l}}}if(je)throw e=Le,je=!1,Le=null,e}function Lr(e,t){var n=t[po];void 0===n&&(n=t[po]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Mr(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[zr]){e[zr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Mr(t,!1,e),Mr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Mr("selectionchange",!1,t))}}function $r(e,t,n,r){switch(qt(t)){case 1:var o=Ut;break;case 4:o=Bt;break;default:o=Ht}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=yo(u)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}u=u.parentNode}}r=r.return}Ne((function(){var r=i,o=me(n),a=[];e:{var u=Rr.get(e);if(void 0!==u){var l=un,c=e;switch(e){case"keypress":if(0===Zt(n))break e;case"keydown":case"keyup":l=kn;break;case"focusin":c="focus",l=pn;break;case"focusout":c="blur",l=pn;break;case"beforeblur":case"afterblur":l=pn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Cn;break;case Er:case kr:case Sr:l=hn;break;case Cr:l=Rn;break;case"scroll":l=cn;break;case"wheel":l=Pn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Sn}var s=!!(4&t),f=!s&&"scroll"===e,d=s?null!==u?u+"Capture":null:u;s=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Pe(h,d))&&s.push(Ur(h,v,p)))),f)break;h=h.return}0<s.length&&(u=new l(u,c,null,n,o),a.push({event:u,listeners:s}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===ge||!(c=n.relatedTarget||n.fromElement)||!yo(c)&&!c[fo])&&(l||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?yo(c):null)&&(c!==(f=Fe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(s=fn,v="onMouseLeave",d="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(s=Sn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?u:mo(l),p=null==c?u:mo(c),(u=new s(v,h+"leave",l,n,o)).target=f,u.relatedTarget=p,v=null,yo(o)===r&&((s=new s(d,h+"enter",c,n,o)).target=p,s.relatedTarget=f,v=s),f=v,l&&c)e:{for(d=c,h=0,p=s=l;p;p=Hr(p))h++;for(p=0,v=d;v;v=Hr(v))p++;for(;0<h-p;)s=Hr(s),h--;for(;0<p-h;)d=Hr(d),p--;for(;h--;){if(s===d||null!==d&&s===d.alternate)break e;s=Hr(s),d=Hr(d)}s=null}else s=null;null!==l&&Vr(a,u,l,s,!1),null!==c&&null!==f&&Vr(a,f,c,s,!0)}if("select"===(l=(u=r?mo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===l&&"file"===u.type)var y=qn;else if(Wn(u))if(Qn)y=rr;else{y=tr;var g=er}else(l=u.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(y=nr);switch(y&&(y=y(e,r))?Un(a,y,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&X(u,"number",u.value)),g=r?mo(r):window,e){case"focusin":(Wn(g)||"true"===g.contentEditable)&&(pr=g,hr=r,vr=null);break;case"focusout":vr=hr=pr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,gr(a,n,o);break;case"selectionchange":if(dr)break;case"keydown":case"keyup":gr(a,n,o)}var m;if(On)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Fn?Mn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Fn&&(m=Xt()):(Gt="value"in(Qt=o)?Qt.value:Qt.textContent,Fn=!0)),0<(g=Br(r,b)).length&&(b=new gn(b,e,null,n,o),a.push({event:b,listeners:g}),m?b.data=m:null!==(m=zn(n))&&(b.data=m))),(m=Dn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Ln=!0,jn);case"textInput":return(e=t.data)===jn&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!On&&Mn(e,t)?(e=Xt(),Yt=Gt=Qt=null,Fn=!1,e):null;switch(e){case"paste":default: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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Br(r,"onBeforeInput")).length&&(o=new gn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=m))}jr(a,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Br(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Pe(e,n))&&r.unshift(Ur(e,i,o)),null!=(i=Pe(e,t))&&r.push(Ur(e,i,o))),e=e.return}return r}function Hr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,l=u.alternate,c=u.stateNode;if(null!==l&&l===r)break;5===u.tag&&null!==c&&(u=c,o?null!=(l=Pe(n,i))&&a.unshift(Ur(n,l,u)):o||null!=(l=Pe(n,i))&&a.push(Ur(n,l,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,qr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(qr,"")}function Gr(e,t,r){if(t=Qr(t),Qr(e)!==t&&r)throw Error(n(425))}function Yr(){}var Xr=null,Zr=null;function Jr(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var eo="function"==typeof setTimeout?setTimeout:void 0,to="function"==typeof clearTimeout?clearTimeout:void 0,no="function"==typeof Promise?Promise:void 0,ro="function"==typeof queueMicrotask?queueMicrotask:typeof no<"u"?function(e){return no.resolve(null).then(e).catch(oo)}:eo;function oo(e){setTimeout((function(){throw e}))}function io(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ft(t)}function ao(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var lo=Math.random().toString(36).slice(2),co="__reactFiber$"+lo,so="__reactProps$"+lo,fo="__reactContainer$"+lo,po="__reactEvents$"+lo,ho="__reactListeners$"+lo,vo="__reactHandles$"+lo;function yo(e){var t=e[co];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fo]||n[co]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[co])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function go(e){return!(e=e[co]||e[fo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function mo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function bo(e){return e[so]||null}var wo=[],_o=-1;function xo(e){return{current:e}}function Eo(e){0>_o||(e.current=wo[_o],wo[_o]=null,_o--)}function ko(e,t){_o++,wo[_o]=e.current,e.current=t}var So={},Co=xo(So),Ro=xo(!1),No=So;function Po(e,t){var n=e.type.contextTypes;if(!n)return So;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!=(e=e.childContextTypes)}function Oo(){Eo(Ro),Eo(Co)}function To(e,t,r){if(Co.current!==So)throw Error(n(168));ko(Co,t),ko(Ro,r)}function Do(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var i in o=o.getChildContext())if(!(i in t))throw Error(n(108,$(e)||"Unknown",i));return I({},r,o)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,No=Co.current,ko(Co,e),ko(Ro,Ro.current),!0}function jo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=Do(e,t,No),o.__reactInternalMemoizedMergedChildContext=e,Eo(Ro),Eo(Co),ko(Co,e)):Eo(Ro),ko(Ro,r)}var Lo=null,Mo=!1,zo=!1;function Fo(e){null===Lo?Lo=[e]:Lo.push(e)}function $o(){if(!zo&&null!==Lo){zo=!0;var e=0,t=yt;try{var n=Lo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Lo=null,Mo=!1}catch(t){throw null!==Lo&&(Lo=Lo.slice(e+1)),He(Ye,$o),t}finally{yt=t,zo=!1}}return null}var Wo=[],Uo=0,Bo=null,Ho=0,Vo=[],Ko=0,qo=null,Qo=1,Go="";function Yo(e,t){Wo[Uo++]=Ho,Wo[Uo++]=Bo,Bo=e,Ho=t}function Xo(e,t,n){Vo[Ko++]=Qo,Vo[Ko++]=Go,Vo[Ko++]=qo,qo=e;var r=Qo;e=Go;var o=32-rt(r)-1;r&=~(1<<o),n+=1;var i=32-rt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-rt(t)+o|n<<o|r,Go=i+e}else Qo=1<<i|n<<o|r,Go=e}function Zo(e){null!==e.return&&(Yo(e,1),Xo(e,1,0))}function Jo(e){for(;e===Bo;)Bo=Wo[--Uo],Wo[Uo]=null,Ho=Wo[--Uo],Wo[Uo]=null;for(;e===qo;)qo=Vo[--Ko],Vo[Ko]=null,Go=Vo[--Ko],Vo[Ko]=null,Qo=Vo[--Ko],Vo[Ko]=null}var ei=null,ni=null,ri=!1,oi=null;function ii(e,t){var n=Ac(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ai(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ei=e,ni=ao(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ei=e,ni=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qo?{id:Qo,overflow:Go}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ac(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ei=e,ni=null,!0);default:return!1}}function ui(e){return!(!(1&e.mode)||128&e.flags)}function li(e){if(ri){var t=ni;if(t){var r=t;if(!ai(e,t)){if(ui(e))throw Error(n(418));t=ao(r.nextSibling);var o=ei;t&&ai(e,t)?ii(o,r):(e.flags=-4097&e.flags|2,ri=!1,ei=e)}}else{if(ui(e))throw Error(n(418));e.flags=-4097&e.flags|2,ri=!1,ei=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ei=e}function si(e){if(e!==ei)return!1;if(!ri)return ci(e),ri=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Jr(e.type,e.memoizedProps)),t&&(t=ni)){if(ui(e))throw fi(),Error(n(418));for(;t;)ii(e,t),t=ao(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){ni=ao(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ni=null}}else ni=ei?ao(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ni;e;)e=ao(e.nextSibling)}function di(){ni=ei=null,ri=!1}function pi(e){null===oi?oi=[e]:oi.push(e)}var hi=g.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=xo(null),gi=null,mi=null,bi=null;function wi(){bi=mi=gi=null}function _i(e){var t=yi.current;Eo(yi),e._currentValue=t}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){gi=e,bi=mi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(mu=!0),e.firstContext=null)}function ki(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},null===mi){if(null===gi)throw Error(n(308));mi=e,gi.dependencies={lanes:0,firstContext:e}}else mi=mi.next=e;return t}var Si=null;function Ci(e){null===Si?Si=[e]:Si.push(e)}function Ri(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ci(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ni(e,r)}function Ni(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ai(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oi(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 Ti(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Rl){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ni(e,n)}return null===(o=r.interleaved)?(t.next=t,Ci(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ni(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function ji(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Li(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var l=u,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var s=e.alternate;null!==s&&((u=(s=s.updateQueue).lastBaseUpdate)!==a&&(null===u?s.firstBaseUpdate=c:u.next=c,s.lastBaseUpdate=l))}if(null!==i){var f=o.baseState;for(a=0,s=c=l=null,u=i;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==s&&(s=s.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;switch(d=t,p=n,v.tag){case 1:if("function"==typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=v.payload)?h.call(p,f,d):h))break e;f=I({},f,d);break e;case 2:Pi=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===s?(c=s=p,l=f):s=s.next=p,a|=d;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(d=u).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===s&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=s,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);jl|=a,e.lanes=a,e.memoizedState=f}}function Mi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],i=o.callback;if(null!==i){if(o.callback=null,o=r,"function"!=typeof i)throw Error(n(191,i));i.call(o)}}}var zi=(new e.Component).refs;function Fi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $i={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Jl(),o=ec(e),i=Ti(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(tc(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Jl(),o=ec(e),i=Ti(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(tc(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jl(),r=ec(e),o=Ti(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Di(e,o,r))&&(tc(t,e,r,n),Ii(t,e,r))}};function Wi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(o,i))}function Ui(e,t,n){var r=!1,o=So,i=t.contextType;return"object"==typeof i&&null!==i?i=ki(i):(o=Ao(t)?No:Co.current,i=(r=null!=(r=t.contextTypes))?Po(e,o):So),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$i,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$i.enqueueReplaceState(t,t.state,null)}function Hi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=zi,Ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ki(i):(i=Ao(t)?No:Co.current,o.context=Po(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$i.enqueueReplaceState(o,o.state,null),Li(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Vi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var i=o,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;t===zi&&(t=i.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Ki(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qi(e){return(0,e._init)(e._payload)}function Qi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Tc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function u(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Lc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===w?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===P&&qi(o)===t.type)?((r=i(t,n.props)).ref=Vi(e,t,n),r.return=e,r):((r=Dc(n.type,n.key,n.props,null,e.mode,r)).ref=Vi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Mc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Lc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case m:return(n=Dc(t.type,t.key,t.props,null,e.mode,n)).ref=Vi(e,null,t),n.return=e,n;case b:return(t=Mc(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(Z(t)||T(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Ki(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case m:return n.key===o?c(e,t,n,r):null;case b:return n.key===o?s(e,t,n,r):null;case P:return p(e,t,(o=n._init)(n._payload),r)}if(Z(n)||T(n))return null!==o?null:f(e,t,n,r,null);Ki(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case m:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case P:return h(e,t,n,(0,r._init)(r._payload),o)}if(Z(r)||T(r))return f(t,e=e.get(n)||null,r,o,null);Ki(t,r)}return null}return function l(c,s,f,v){if("object"==typeof f&&null!==f&&f.type===w&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case m:e:{for(var y=f.key,g=s;null!==g;){if(g.key===y){if((y=f.type)===w){if(7===g.tag){r(c,g.sibling),(s=i(g,f.props.children)).return=c,c=s;break e}}else if(g.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===P&&qi(y)===g.type){r(c,g.sibling),(s=i(g,f.props)).ref=Vi(c,g,f),s.return=c,c=s;break e}r(c,g);break}t(c,g),g=g.sibling}f.type===w?((s=Ic(f.props.children,c.mode,v,f.key)).return=c,c=s):((v=Dc(f.type,f.key,f.props,null,c.mode,v)).ref=Vi(c,s,f),v.return=c,c=v)}return u(c);case b:e:{for(g=f.key;null!==s;){if(s.key===g){if(4===s.tag&&s.stateNode.containerInfo===f.containerInfo&&s.stateNode.implementation===f.implementation){r(c,s.sibling),(s=i(s,f.children||[])).return=c,c=s;break e}r(c,s);break}t(c,s),s=s.sibling}(s=Mc(f,c.mode,v)).return=c,c=s}return u(c);case P:return l(c,s,(g=f._init)(f._payload),v)}if(Z(f))return function(n,i,u,l){for(var c=null,s=null,f=i,v=i=0,y=null;null!==f&&v<u.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var g=p(n,f,u[v],l);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(n,f),i=a(g,i,v),null===s?c=g:s.sibling=g,s=g,f=y}if(v===u.length)return r(n,f),ri&&Yo(n,v),c;if(null===f){for(;v<u.length;v++)null!==(f=d(n,u[v],l))&&(i=a(f,i,v),null===s?c=f:s.sibling=f,s=f);return ri&&Yo(n,v),c}for(f=o(n,f);v<u.length;v++)null!==(y=h(f,n,v,u[v],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),i=a(y,i,v),null===s?c=y:s.sibling=y,s=y);return e&&f.forEach((function(e){return t(n,e)})),ri&&Yo(n,v),c}(c,s,f,v);if(T(f))return function(i,u,l,c){var s=T(l);if("function"!=typeof s)throw Error(n(150));if(null==(l=s.call(l)))throw Error(n(151));for(var f=s=null,v=u,y=u=0,g=null,m=l.next();null!==v&&!m.done;y++,m=l.next()){v.index>y?(g=v,v=null):g=v.sibling;var b=p(i,v,m.value,c);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),u=a(b,u,y),null===f?s=b:f.sibling=b,f=b,v=g}if(m.done)return r(i,v),ri&&Yo(i,y),s;if(null===v){for(;!m.done;y++,m=l.next())null!==(m=d(i,m.value,c))&&(u=a(m,u,y),null===f?s=m:f.sibling=m,f=m);return ri&&Yo(i,y),s}for(v=o(i,v);!m.done;y++,m=l.next())null!==(m=h(v,i,y,m.value,c))&&(e&&null!==m.alternate&&v.delete(null===m.key?y:m.key),u=a(m,u,y),null===f?s=m:f.sibling=m,f=m);return e&&v.forEach((function(e){return t(i,e)})),ri&&Yo(i,y),s}(c,s,f,v);Ki(c,f)}return"string"==typeof f&&""!==f||"number"==typeof f?(f=""+f,null!==s&&6===s.tag?(r(c,s.sibling),(s=i(s,f)).return=c,c=s):(r(c,s),(s=Lc(f,c.mode,v)).return=c,c=s),u(c)):r(c,s)}}var Gi=Qi(!0),Yi=Qi(!1),Xi={},Zi=xo(Xi),Ji=xo(Xi),ea=xo(Xi);function ta(e){if(e===Xi)throw Error(n(174));return e}function na(e,t){switch(ko(ea,t),ko(Ji,e),ko(Zi,Xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ie(null,"");break;default:t=ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(Zi),ko(Zi,t)}function ra(){Eo(Zi),Eo(Ji),Eo(ea)}function oa(e){ta(ea.current);var t=ta(Zi.current),n=ie(t,e.type);t!==n&&(ko(Ji,e),ko(Zi,n))}function ia(e){Ji.current===e&&(Eo(Zi),Eo(Ji))}var aa=xo(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function ca(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var sa=g.ReactCurrentDispatcher,fa=g.ReactCurrentBatchConfig,da=0,pa=null,ha=null,va=null,ya=!1,ga=!1,ma=0,ba=0;function wa(){throw Error(n(321))}function _a(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function xa(e,t,r,o,i,a){if(da=a,pa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,sa.current=null===e||null===e.memoizedState?iu:au,e=r(o,i),ga){a=0;do{if(ga=!1,ma=0,25<=a)throw Error(n(301));a+=1,va=ha=null,t.updateQueue=null,sa.current=uu,e=r(o,i)}while(ga)}if(sa.current=ou,t=null!==ha&&null!==ha.next,da=0,va=ha=pa=null,ya=!1,t)throw Error(n(300));return e}function Ea(){var e=0!==ma;return ma=0,e}function ka(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?pa.memoizedState=va=e:va=va.next=e,va}function Sa(){if(null===ha){var e=pa.alternate;e=null!==e?e.memoizedState:null}else e=ha.next;var t=null===va?pa.memoizedState:va.next;if(null!==t)va=t,ha=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ha=e).memoizedState,baseState:ha.baseState,baseQueue:ha.baseQueue,queue:ha.queue,next:null},null===va?pa.memoizedState=va=e:va=va.next=e}return va}function Ca(e,t){return"function"==typeof t?t(e):t}function Ra(e){var t=Sa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=ha,i=o.baseQueue,a=r.pending;if(null!==a){if(null!==i){var u=i.next;i.next=a.next,a.next=u}o.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,o=o.baseState;var l=u=null,c=null,s=a;do{var f=s.lane;if((da&f)===f)null!==c&&(c=c.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),o=s.hasEagerState?s.eagerState:e(o,s.action);else{var d={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===c?(l=c=d,u=o):c=c.next=d,pa.lanes|=f,jl|=f}s=s.next}while(null!==s&&s!==a);null===c?u=o:c.next=l,or(o,t.memoizedState)||(mu=!0),t.memoizedState=o,t.baseState=u,t.baseQueue=c,r.lastRenderedState=o}if(null!==(e=r.interleaved)){i=e;do{a=i.lane,pa.lanes|=a,jl|=a,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Na(e){var t=Sa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var u=i=i.next;do{a=e(a,u.action),u=u.next}while(u!==i);or(a,t.memoizedState)||(mu=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function Pa(){}function Aa(e,t){var r=pa,o=Sa(),i=t(),a=!or(o.memoizedState,i);if(a&&(o.memoizedState=i,mu=!0),o=o.queue,Ua(Da.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(r.flags|=2048,Ma(9,Ta.bind(null,r,o,i,t),void 0,null),null===Nl)throw Error(n(349));30&da||Oa(r,t,i)}return i}function Oa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ta(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&ja(e)}function Da(e,t,n){return n((function(){Ia(t)&&ja(e)}))}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch{return!0}}function ja(e){var t=Ni(e,1);null!==t&&tc(t,e,1,-1)}function La(e){var t=ka();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t.queue=e,e=e.dispatch=eu.bind(null,pa,e),[t.memoizedState,e]}function Ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function za(){return Sa().memoizedState}function Fa(e,t,n,r){var o=ka();pa.flags|=e,o.memoizedState=Ma(1|t,n,void 0,void 0===r?null:r)}function $a(e,t,n,r){var o=Sa();r=void 0===r?null:r;var i=void 0;if(null!==ha){var a=ha.memoizedState;if(i=a.destroy,null!==r&&_a(r,a.deps))return void(o.memoizedState=Ma(t,n,i,r))}pa.flags|=e,o.memoizedState=Ma(1|t,n,i,r)}function Wa(e,t){return Fa(8390656,8,e,t)}function Ua(e,t){return $a(2048,8,e,t)}function Ba(e,t){return $a(4,2,e,t)}function Ha(e,t){return $a(4,4,e,t)}function Va(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ka(e,t,n){return n=null!=n?n.concat([e]):null,$a(4,4,Va.bind(null,t,e),n)}function qa(){}function Qa(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ga(e,t){var n=Sa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_a(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ya(e,t,n){return 21&da?(or(n,t)||(n=dt(),pa.lanes|=n,jl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,mu=!0),e.memoizedState=n)}function Xa(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{yt=n,fa.transition=r}}function Za(){return Sa().memoizedState}function Ja(e,t,n){var r=ec(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tu(e))nu(t,n);else if(null!==(n=Ri(e,t,n,r))){tc(n,e,r,Jl()),ru(n,t,r)}}function eu(e,t,n){var r=ec(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tu(e))nu(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,or(u,a)){var l=t.interleaved;return null===l?(o.next=o,Ci(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch{}null!==(n=Ri(e,t,o,r))&&(tc(n,e,r,o=Jl()),ru(n,t,r))}}function tu(e){var t=e.alternate;return e===pa||null!==t&&t===pa}function nu(e,t){ga=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ru(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var ou={readContext:ki,useCallback:wa,useContext:wa,useEffect:wa,useImperativeHandle:wa,useInsertionEffect:wa,useLayoutEffect:wa,useMemo:wa,useReducer:wa,useRef:wa,useState:wa,useDebugValue:wa,useDeferredValue:wa,useTransition:wa,useMutableSource:wa,useSyncExternalStore:wa,useId:wa,unstable_isNewReconciler:!1},iu={readContext:ki,useCallback:function(e,t){return ka().memoizedState=[e,void 0===t?null:t],e},useContext:ki,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Fa(4194308,4,Va.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=ka();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ka();return t=void 0!==n?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=Ja.bind(null,pa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ka().memoizedState=e},useState:La,useDebugValue:qa,useDeferredValue:function(e){return ka().memoizedState=e},useTransition:function(){var e=La(!1),t=e[0];return e=Xa.bind(null,e[1]),ka().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=pa,i=ka();if(ri){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Nl)throw Error(n(349));30&da||Oa(o,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,Wa(Da.bind(null,o,a,e),[e]),o.flags|=2048,Ma(9,Ta.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=ka(),t=Nl.identifierPrefix;if(ri){var n=Go;t=":"+t+"R"+(n=(Qo&~(1<<32-rt(Qo)-1)).toString(32)+n),0<(n=ma++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ba++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},au={readContext:ki,useCallback:Qa,useContext:ki,useEffect:Ua,useImperativeHandle:Ka,useInsertionEffect:Ba,useLayoutEffect:Ha,useMemo:Ga,useReducer:Ra,useRef:za,useState:function(){return Ra(Ca)},useDebugValue:qa,useDeferredValue:function(e){return Ya(Sa(),ha.memoizedState,e)},useTransition:function(){return[Ra(Ca)[0],Sa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Aa,useId:Za,unstable_isNewReconciler:!1},uu={readContext:ki,useCallback:Qa,useContext:ki,useEffect:Ua,useImperativeHandle:Ka,useInsertionEffect:Ba,useLayoutEffect:Ha,useMemo:Ga,useReducer:Na,useRef:za,useState:function(){return Na(Ca)},useDebugValue:qa,useDeferredValue:function(e){var t=Sa();return null===ha?t.memoizedState=e:Ya(t,ha.memoizedState,e)},useTransition:function(){return[Na(Ca)[0],Sa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Aa,useId:Za,unstable_isNewReconciler:!1};function lu(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function su(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fu="function"==typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=Ti(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bl||(Bl=!0,Hl=r),su(0,t)},n}function pu(e,t,n){(n=Ti(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){su(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){su(0,t),"function"!=typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function vu(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yu(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ti(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e)}var gu=g.ReactCurrentOwner,mu=!1;function bu(e,t,n,r){t.child=null===e?Yi(t,null,n,r):Gi(t,e.child,n,r)}function wu(e,t,n,r,o){n=n.render;var i=t.ref;return Ei(t,o),r=xa(e,t,n,r,i,o),n=Ea(),null===e||mu?(ri&&n&&Zo(t),t.flags|=1,bu(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bu(e,t,o))}function _u(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Oc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,xu(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(a,r)&&e.ref===t.ref)return Bu(e,t,o)}return t.flags|=1,(e=Tc(i,r)).ref=t.ref,e.return=t,t.child=e}function xu(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref){if(mu=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Bu(e,t,o);131072&e.flags&&(mu=!0)}}return Su(e,t,n,r,o)}function Eu(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ko(Tl,Ol),Ol|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ko(Tl,Ol),Ol|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ko(Tl,Ol),Ol|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ko(Tl,Ol),Ol|=r;return bu(e,t,o,n),t.child}function ku(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Su(e,t,n,r,o){var i=Ao(n)?No:Co.current;return i=Po(t,i),Ei(t,o),n=xa(e,t,n,r,i,o),r=Ea(),null===e||mu?(ri&&r&&Zo(t),t.flags|=1,bu(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Bu(e,t,o))}function Cu(e,t,n,r,o){if(Ao(n)){var i=!0;Io(t)}else i=!1;if(Ei(t,o),null===t.stateNode)Uu(e,t),Ui(t,n,r),Hi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ki(c):c=Po(t,c=Ao(n)?No:Co.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==c)&&Bi(t,a,r,c),Pi=!1;var d=t.memoizedState;a.state=d,Li(t,r,a,o),l=t.memoizedState,u!==r||d!==l||Ro.current||Pi?("function"==typeof s&&(Fi(t,n,s,r),l=t.memoizedState),(u=Pi||Wi(t,n,u,r,d,l,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Oi(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:vi(t.type,u),a.props=c,f=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ki(l):l=Po(t,l=Ao(n)?No:Co.current);var p=n.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==l)&&Bi(t,a,r,l),Pi=!1,d=t.memoizedState,a.state=d,Li(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||Ro.current||Pi?("function"==typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(c=Pi||Wi(t,n,c,r,d,h,l)||!1)?(s||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ru(e,t,n,r,i,o)}function Ru(e,t,n,r,o,i){ku(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&jo(t,n,!1),Bu(e,t,i);r=t.stateNode,gu.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Gi(t,e.child,null,i),t.child=Gi(t,null,u,i)):bu(e,t,u,i),t.memoizedState=r.state,o&&jo(t,n,!0),t.child}function Nu(e){var t=e.stateNode;t.pendingContext?To(0,t.pendingContext,t.pendingContext!==t.context):t.context&&To(0,t.context,!1),na(e,t.containerInfo)}function Pu(e,t,n,r,o){return di(),pi(o),t.flags|=256,bu(e,t,n,r),t.child}var Au,Ou,Tu,Du,Iu={dehydrated:null,treeContext:null,retryLane:0};function ju(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lu(e,t,r){var o,i=t.pendingProps,a=aa.current,u=!1,l=!!(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&!!(2&a)),o?(u=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),ko(aa,1&a),null===e)return li(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,u?(i=t.mode,u=t.child,l={mode:"hidden",children:l},1&i||null===u?u=jc(l,i,0,null):(u.childLanes=0,u.pendingProps=l),e=Ic(e,i,r,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=ju(r),t.memoizedState=Iu,e):Mu(t,l));if(null!==(a=e.memoizedState)&&null!==(o=a.dehydrated))return function(e,t,r,o,i,a,u){if(r)return 256&t.flags?(t.flags&=-257,o=cu(Error(n(422))),zu(e,t,u,o)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,i=t.mode,o=jc({mode:"visible",children:o.children},i,0,null),a=Ic(a,i,u,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,1&t.mode&&Gi(t,e.child,null,u),t.child.memoizedState=ju(u),t.memoizedState=Iu,a);if(!(1&t.mode))return zu(e,t,u,null);if("$!"===i.data){if(o=i.nextSibling&&i.nextSibling.dataset)var l=o.dgst;return o=l,zu(e,t,u,o=cu(a=Error(n(419)),o,void 0))}if(l=!!(u&e.childLanes),mu||l){if(null!==(o=Nl)){switch(u&-u){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(o.suspendedLanes|u)?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ni(e,i),tc(o,e,i,-1))}return hc(),zu(e,t,u,o=cu(Error(n(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ni=ao(i.nextSibling),ei=t,ri=!0,oi=null,null!==e&&(Vo[Ko++]=Qo,Vo[Ko++]=Go,Vo[Ko++]=qo,Qo=e.id,Go=e.overflow,qo=t),t=Mu(t,o.children),t.flags|=4096,t)}(e,t,l,i,o,a,r);if(u){u=i.fallback,l=t.mode,o=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Tc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==o?u=Tc(o,u):(u=Ic(u,l,r,null)).flags|=2,u.return=t,i.return=t,i.sibling=u,t.child=i,i=u,u=t.child,l=null===(l=e.child.memoizedState)?ju(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},u.memoizedState=l,u.childLanes=e.childLanes&~r,t.memoizedState=Iu,i}return e=(u=e.child).sibling,i=Tc(u,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function Mu(e,t){return(t=jc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zu(e,t,n,r){return null!==r&&pi(r),Gi(t,e.child,null,n),(e=Mu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function $u(e,t,n,r,o){var i=e.memoizedState;null===i?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 Wu(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(bu(e,t,r.children,n),2&(r=aa.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fu(e,n,t);else if(19===e.tag)Fu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ko(aa,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$u(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$u(t,!0,n,null,i);break;case"together":$u(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Uu(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bu(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),jl|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Tc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Tc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Hu(e,t){if(!ri)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)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 Ku(e,t,r){var i=t.pendingProps;switch(Jo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vu(t),null;case 1:case 17:return Ao(t.type)&&Oo(),Vu(t),null;case 3:return i=t.stateNode,ra(),Eo(Ro),Eo(Co),ca(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===e||null===e.child)&&(si(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oi&&(ic(oi),oi=null))),Ou(e,t),Vu(t),null;case 5:ia(t);var a=ta(ea.current);if(r=t.type,null!==e&&null!=t.stateNode)Tu(e,t,r,i,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return Vu(t),null}if(e=ta(Zi.current),si(t)){i=t.stateNode,r=t.type;var u=t.memoizedProps;switch(i[co]=t,i[so]=u,e=!!(1&t.mode),r){case"dialog":Lr("cancel",i),Lr("close",i);break;case"iframe":case"object":case"embed":Lr("load",i);break;case"video":case"audio":for(a=0;a<Tr.length;a++)Lr(Tr[a],i);break;case"source":Lr("error",i);break;case"img":case"image":case"link":Lr("error",i),Lr("load",i);break;case"details":Lr("toggle",i);break;case"input":q(i,u),Lr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!u.multiple},Lr("invalid",i);break;case"textarea":te(i,u),Lr("invalid",i)}for(var l in ve(r,u),a=null,u)if(u.hasOwnProperty(l)){var c=u[l];"children"===l?"string"==typeof c?i.textContent!==c&&(!0!==u.suppressHydrationWarning&&Gr(i.textContent,c,e),a=["children",c]):"number"==typeof c&&i.textContent!==""+c&&(!0!==u.suppressHydrationWarning&&Gr(i.textContent,c,e),a=["children",""+c]):o.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Lr("scroll",i)}switch(r){case"input":B(i),Y(i,u,!0);break;case"textarea":B(i),re(i);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(i.onclick=Yr)}i=a,t.updateQueue=i,null!==i&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=l.createElement(r,{is:i.is}):(e=l.createElement(r),"select"===r&&(l=e,i.multiple?l.multiple=!0:i.size&&(l.size=i.size))):e=l.createElementNS(e,r),e[co]=t,e[so]=i,Au(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(r,i),r){case"dialog":Lr("cancel",e),Lr("close",e),a=i;break;case"iframe":case"object":case"embed":Lr("load",e),a=i;break;case"video":case"audio":for(a=0;a<Tr.length;a++)Lr(Tr[a],e);a=i;break;case"source":Lr("error",e),a=i;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),a=i;break;case"details":Lr("toggle",e),a=i;break;case"input":q(e,i),a=K(e,i),Lr("invalid",e);break;case"option":default:a=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},a=I({},i,{value:void 0}),Lr("invalid",e);break;case"textarea":te(e,i),a=ee(e,i),Lr("invalid",e)}for(u in ve(r,a),c=a)if(c.hasOwnProperty(u)){var s=c[u];"style"===u?pe(e,s):"dangerouslySetInnerHTML"===u?null!=(s=s?s.__html:void 0)&&le(e,s):"children"===u?"string"==typeof s?("textarea"!==r||""!==s)&&ce(e,s):"number"==typeof s&&ce(e,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(o.hasOwnProperty(u)?null!=s&&"onScroll"===u&&Lr("scroll",e):null!=s&&y(e,u,s,l))}switch(r){case"input":B(e),Y(e,i,!1);break;case"textarea":B(e),re(e);break;case"option":null!=i.value&&e.setAttribute("value",""+W(i.value));break;case"select":e.multiple=!!i.multiple,null!=(u=i.value)?J(e,!!i.multiple,u,!1):null!=i.defaultValue&&J(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Yr)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vu(t),null;case 6:if(e&&null!=t.stateNode)Du(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=ta(ea.current),ta(Zi.current),si(t)){if(i=t.stateNode,r=t.memoizedProps,i[co]=t,(u=i.nodeValue!==r)&&null!==(e=ei))switch(e.tag){case 3:Gr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Gr(i.nodeValue,r,!!(1&e.mode))}u&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[co]=t,t.stateNode=i}return Vu(t),null;case 13:if(Eo(aa),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ri&&null!==ni&&1&t.mode&&!(128&t.flags))fi(),di(),t.flags|=98560,u=!1;else if(u=si(t),null!==i&&null!==i.dehydrated){if(null===e){if(!u)throw Error(n(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(n(317));u[co]=t}else di(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vu(t),u=!1}else null!==oi&&(ic(oi),oi=null),u=!0;if(!u)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&aa.current?0===Dl&&(Dl=3):hc())),null!==t.updateQueue&&(t.flags|=4),Vu(t),null);case 4:return ra(),Ou(e,t),null===e&&Fr(t.stateNode.containerInfo),Vu(t),null;case 10:return _i(t.type._context),Vu(t),null;case 19:if(Eo(aa),null===(u=t.memoizedState))return Vu(t),null;if(i=!!(128&t.flags),null===(l=u.rendering))if(i)Hu(u,!1);else{if(0!==Dl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,Hu(u,!1),null!==(i=l.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(u=r).flags&=14680066,null===(l=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,u.type=l.type,e=l.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ko(aa,1&aa.current|2),t.child}e=e.sibling}null!==u.tail&&Qe()>Wl&&(t.flags|=128,i=!0,Hu(u,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=ua(l))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Hu(u,!0),null===u.tail&&"hidden"===u.tailMode&&!l.alternate&&!ri)return Vu(t),null}else 2*Qe()-u.renderingStartTime>Wl&&1073741824!==r&&(t.flags|=128,i=!0,Hu(u,!1),t.lanes=4194304);u.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=u.last)?r.sibling=l:t.child=l,u.last=l)}return null!==u.tail?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Qe(),t.sibling=null,r=aa.current,ko(aa,i?1&r|2:1&r),t):(Vu(t),null);case 22:case 23:return sc(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?1073741824&Ol&&(Vu(t),6&t.subtreeFlags&&(t.flags|=8192)):Vu(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function qu(e,t){switch(Jo(t),t.tag){case 1:return Ao(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ra(),Eo(Ro),Eo(Co),ca(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ia(t),null;case 13:if(Eo(aa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));di()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(aa),null;case 4:return ra(),null;case 10:return _i(t.type._context),null;case 22:case 23:return sc(),null;default:return null}}Au=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ou=function(){},Tu=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ta(Zi.current);var a,u=null;switch(n){case"input":i=K(e,i),r=K(e,r),u=[];break;case"select":i=I({},i,{value:void 0}),r=I({},r,{value:void 0}),u=[];break;case"textarea":i=ee(e,i),r=ee(e,r),u=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Yr)}for(s in ve(n,r),n=null,i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s){var l=i[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=i?i[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(u||(u=[]),u.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(u=u||[]).push(s,c)):"children"===s?"string"!=typeof c&&"number"!=typeof c||(u=u||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(o.hasOwnProperty(s)?(null!=c&&"onScroll"===s&&Lr("scroll",e),u||l===c||(u=[])):(u=u||[]).push(s,c))}n&&(u=u||[]).push("style",n);var s=u;(t.updateQueue=s)&&(t.flags|=4)}},Du=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qu=!1,Gu=!1,Yu="function"==typeof WeakSet?WeakSet:Set,Xu=null;function Zu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ec(e,t,n)}else n.current=null}function Ju(e,t,n){try{n()}catch(n){Ec(e,t,n)}}var el=!1;function tl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Ju(t,n,i)}o=o.next}while(o!==r)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect: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 rl(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[co],delete t[so],delete t[po],delete t[ho],delete t[vo])),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 il(e){return 5===e.tag||3===e.tag||4===e.tag}function al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Yr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}var cl=null,sl=!1;function fl(e,t,n){for(n=n.child;null!==n;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch{}switch(n.tag){case 5:Gu||Zu(n,t);case 6:var r=cl,o=sl;cl=null,fl(e,t,n),sl=o,null!==(cl=r)&&(sl?(e=cl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(sl?(e=cl,n=n.stateNode,8===e.nodeType?io(e.parentNode,n):1===e.nodeType&&io(e,n),Ft(e)):io(cl,n.stateNode));break;case 4:r=cl,o=sl,cl=n.stateNode.containerInfo,sl=!0,fl(e,t,n),cl=r,sl=o;break;case 0:case 11:case 14:case 15:if(!Gu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Ju(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Gu&&(Zu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ec(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Gu=(r=Gu)||null!==n.memoizedState,fl(e,t,n),Gu=r):fl(e,t,n);break;default:fl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yu),t.forEach((function(t){var r=Rc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hl(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{var a=e,u=t,l=u;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,sl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,sl=!0;break e}l=l.return}if(null===cl)throw Error(n(160));dl(a,u,i),cl=null,sl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Ec(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(t,e),yl(e),4&o){try{tl(3,e,e.return),nl(3,e)}catch(t){Ec(e,e.return,t)}try{tl(5,e,e.return)}catch(t){Ec(e,e.return,t)}}break;case 1:hl(t,e),yl(e),512&o&&null!==r&&Zu(r,r.return);break;case 5:if(hl(t,e),yl(e),512&o&&null!==r&&Zu(r,r.return),32&e.flags){var i=e.stateNode;try{ce(i,"")}catch(t){Ec(e,e.return,t)}}if(4&o&&null!=(i=e.stateNode)){var a=e.memoizedProps,u=null!==r?r.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(i,a),ye(l,u);var s=ye(l,a);for(u=0;u<c.length;u+=2){var f=c[u],d=c[u+1];"style"===f?pe(i,d):"dangerouslySetInnerHTML"===f?le(i,d):"children"===f?ce(i,d):y(i,f,d,s)}switch(l){case"input":G(i,a);break;case"textarea":ne(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?J(i,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?J(i,!!a.multiple,a.defaultValue,!0):J(i,!!a.multiple,a.multiple?[]:"",!1))}i[so]=a}catch(t){Ec(e,e.return,t)}}break;case 6:if(hl(t,e),yl(e),4&o){if(null===e.stateNode)throw Error(n(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Ec(e,e.return,t)}}break;case 3:if(hl(t,e),yl(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Ec(e,e.return,t)}break;case 4:default:hl(t,e),yl(e);break;case 13:hl(t,e),yl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||($l=Qe())),4&o&&pl(e);break;case 22:if(f=null!==r&&null!==r.memoizedState,1&e.mode?(Gu=(s=Gu)||f,hl(t,e),Gu=s):hl(t,e),yl(e),8192&o){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!f&&1&e.mode)for(Xu=e,f=e.child;null!==f;){for(d=Xu=f;null!==Xu;){switch(h=(p=Xu).child,p.tag){case 0:case 11:case 14:case 15:tl(4,p,p.return);break;case 1:Zu(p,p.return);var v=p.stateNode;if("function"==typeof v.componentWillUnmount){o=p,r=p.return;try{t=o,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){Ec(o,r,e)}}break;case 5:Zu(p,p.return);break;case 22:if(null!==p.memoizedState){wl(d);continue}}null!==h?(h.return=p,Xu=h):wl(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,s?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,u=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=de("display",u))}catch(t){Ec(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(t){Ec(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:hl(t,e),yl(e),4&o&&pl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(il(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var i=o.stateNode;32&o.flags&&(ce(i,""),o.flags&=-33),ll(e,al(e),i);break;case 3:case 4:var a=o.stateNode.containerInfo;ul(e,al(e),a);break;default:throw Error(n(161))}}catch(t){Ec(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gl(e,t,n){Xu=e,ml(e)}function ml(e,t,n){for(var r=!!(1&e.mode);null!==Xu;){var o=Xu,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Qu;if(!a){var u=o.alternate,l=null!==u&&null!==u.memoizedState||Gu;u=Qu;var c=Gu;if(Qu=a,(Gu=l)&&!c)for(Xu=o;null!==Xu;)l=(a=Xu).child,22===a.tag&&null!==a.memoizedState?_l(o):null!==l?(l.return=a,Xu=l):_l(o);for(;null!==i;)Xu=i,ml(i),i=i.sibling;Xu=o,Qu=u,Gu=c}bl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Xu=i):bl(e)}}function bl(e){for(;null!==Xu;){var t=Xu;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Gu||nl(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Gu)if(null===r)o.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:vi(t.type,r.memoizedProps);o.componentDidUpdate(i,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Mi(t,a,o);break;case 3:var u=t.updateQueue;if(null!==u){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Mi(t,u,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var f=s.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ft(d)}}}break;default:throw Error(n(163))}Gu||512&t.flags&&rl(t)}catch(e){Ec(t,t.return,e)}}if(t===e){Xu=null;break}if(null!==(r=t.sibling)){r.return=t.return,Xu=r;break}Xu=t.return}}function wl(e){for(;null!==Xu;){var t=Xu;if(t===e){Xu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xu=n;break}Xu=t.return}}function _l(e){for(;null!==Xu;){var t=Xu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nl(4,t)}catch(e){Ec(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Ec(t,o,e)}}var i=t.return;try{rl(t)}catch(e){Ec(t,i,e)}break;case 5:var a=t.return;try{rl(t)}catch(e){Ec(t,a,e)}}}catch(e){Ec(t,t.return,e)}if(t===e){Xu=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Xu=u;break}Xu=t.return}}var xl,El=Math.ceil,kl=g.ReactCurrentDispatcher,Sl=g.ReactCurrentOwner,Cl=g.ReactCurrentBatchConfig,Rl=0,Nl=null,Pl=null,Al=0,Ol=0,Tl=xo(0),Dl=0,Il=null,jl=0,Ll=0,Ml=0,zl=null,Fl=null,$l=0,Wl=1/0,Ul=null,Bl=!1,Hl=null,Vl=null,Kl=!1,ql=null,Ql=0,Gl=0,Yl=null,Xl=-1,Zl=0;function Jl(){return 6&Rl?Qe():-1!==Xl?Xl:Xl=Qe()}function ec(e){return 1&e.mode?2&Rl&&0!==Al?Al&-Al:null!==hi.transition?(0===Zl&&(Zl=dt()),Zl):(0!==(e=yt)||(e=void 0===(e=window.event)?16:qt(e.type)),e):1}function tc(e,t,r,o){if(50<Gl)throw Gl=0,Yl=null,Error(n(185));ht(e,r,o),(!(2&Rl)||e!==Nl)&&(e===Nl&&(!(2&Rl)&&(Ll|=r),4===Dl&&ac(e,Al)),nc(e,o),1===r&&0===Rl&&!(1&t.mode)&&(Wl=Qe()+500,Mo&&$o()))}function nc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-rt(i),u=1<<a,l=o[a];-1===l?(!(u&n)||u&r)&&(o[a]=st(u,t)):l<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=ct(e,e===Nl?Al:0);if(0===r)null!==n&&Ve(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ve(n),1===t)0===e.tag?function(e){Mo=!0,Fo(e)}(uc.bind(null,e)):Fo(uc.bind(null,e)),ro((function(){!(6&Rl)&&$o()})),n=null;else{switch(gt(r)){case 1:n=Ye;break;case 4:n=Xe;break;case 16:default:n=Ze;break;case 536870912:n=et}n=Nc(n,rc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rc(e,t){if(Xl=-1,Zl=0,6&Rl)throw Error(n(327));var r=e.callbackNode;if(_c()&&e.callbackNode!==r)return null;var o=ct(e,e===Nl?Al:0);if(0===o)return null;if(30&o||o&e.expiredLanes||t)t=vc(e,o);else{t=o;var i=Rl;Rl|=2;var a=pc();for((Nl!==e||Al!==t)&&(Ul=null,Wl=Qe()+500,fc(e,t));;)try{gc();break}catch(t){dc(e,t)}wi(),kl.current=a,Rl=i,null!==Pl?t=0:(Nl=null,Al=0,t=Dl)}if(0!==t){if(2===t&&(0!==(i=ft(e))&&(o=i,t=oc(e,i))),1===t)throw r=Il,fc(e,0),ac(e,o),nc(e,Qe()),r;if(6===t)ac(e,o);else{if(i=e.current.alternate,!(30&o||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!or(i(),o))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=vc(e,o),2===t&&(a=ft(e),0!==a&&(o=a,t=oc(e,a))),1!==t)))throw r=Il,fc(e,0),ac(e,o),nc(e,Qe()),r;switch(e.finishedWork=i,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:wc(e,Fl,Ul);break;case 3:if(ac(e,o),(130023424&o)===o&&10<(t=$l+500-Qe())){if(0!==ct(e,0))break;if(((i=e.suspendedLanes)&o)!==o){Jl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=eo(wc.bind(null,e,Fl,Ul),t);break}wc(e,Fl,Ul);break;case 4:if(ac(e,o),(4194240&o)===o)break;for(t=e.eventTimes,i=-1;0<o;){var u=31-rt(o);a=1<<u,(u=t[u])>i&&(i=u),o&=~a}if(o=i,10<(o=(120>(o=Qe()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*El(o/1960))-o)){e.timeoutHandle=eo(wc.bind(null,e,Fl,Ul),o);break}wc(e,Fl,Ul);break;default:throw Error(n(329))}}}return nc(e,Qe()),e.callbackNode===r?rc.bind(null,e):null}function oc(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=vc(e,t))&&(t=Fl,Fl=n,null!==t&&ic(t)),e}function ic(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function ac(e,t){for(t&=~Ml,t&=~Ll,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(6&Rl)throw Error(n(327));_c();var t=ct(e,0);if(!(1&t))return nc(e,Qe()),null;var r=vc(e,t);if(0!==e.tag&&2===r){var o=ft(e);0!==o&&(t=o,r=oc(e,o))}if(1===r)throw r=Il,fc(e,0),ac(e,t),nc(e,Qe()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Fl,Ul),nc(e,Qe()),null}function lc(e,t){var n=Rl;Rl|=1;try{return e(t)}finally{0===(Rl=n)&&(Wl=Qe()+500,Mo&&$o())}}function cc(e){null!==ql&&0===ql.tag&&!(6&Rl)&&_c();var t=Rl;Rl|=1;var n=Cl.transition,r=yt;try{if(Cl.transition=null,yt=1,e)return e()}finally{yt=r,Cl.transition=n,!(6&(Rl=t))&&$o()}}function sc(){Ol=Tl.current,Eo(Tl)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,to(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(Jo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:ra(),Eo(Ro),Eo(Co),ca();break;case 5:ia(r);break;case 4:ra();break;case 13:case 19:Eo(aa);break;case 10:_i(r.type._context);break;case 22:case 23:sc()}n=n.return}if(Nl=e,Pl=e=Tc(e.current,null),Al=Ol=t,Dl=0,Il=null,Ml=Ll=jl=0,Fl=zl=null,null!==Si){for(t=0;t<Si.length;t++)if(null!==(r=(n=Si[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Si=null}return e}function dc(e,t){for(;;){var r=Pl;try{if(wi(),sa.current=ou,ya){for(var o=pa.memoizedState;null!==o;){var i=o.queue;null!==i&&(i.pending=null),o=o.next}ya=!1}if(da=0,va=ha=pa=null,ga=!1,ma=0,Sl.current=null,null===r||null===r.return){Dl=1,Il=t,Pl=null;break}e:{var a=e,u=r.return,l=r,c=t;if(t=Al,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var s=c,f=l,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=vu(u);if(null!==h){h.flags&=-257,yu(h,u,l,0,t),1&h.mode&&hu(a,s,t),c=s;var v=(t=h).updateQueue;if(null===v){var y=new Set;y.add(c),t.updateQueue=y}else v.add(c);break e}if(!(1&t)){hu(a,s,t),hc();break e}c=Error(n(426))}else if(ri&&1&l.mode){var g=vu(u);if(null!==g){!(65536&g.flags)&&(g.flags|=256),yu(g,u,l,0,t),pi(lu(c,l));break e}}a=c=lu(c,l),4!==Dl&&(Dl=2),null===zl?zl=[a]:zl.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,ji(a,du(0,c,t));break e;case 1:l=c;var m=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof m.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Vl&&Vl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,ji(a,pu(a,l,t));break e}}a=a.return}while(null!==a)}bc(r)}catch(e){t=e,Pl===r&&null!==r&&(Pl=r=r.return);continue}break}}function pc(){var e=kl.current;return kl.current=ou,null===e?ou:e}function hc(){(0===Dl||3===Dl||2===Dl)&&(Dl=4),null===Nl||!(268435455&jl)&&!(268435455&Ll)||ac(Nl,Al)}function vc(e,t){var r=Rl;Rl|=2;var o=pc();for((Nl!==e||Al!==t)&&(Ul=null,fc(e,t));;)try{yc();break}catch(t){dc(e,t)}if(wi(),Rl=r,kl.current=o,null!==Pl)throw Error(n(261));return Nl=null,Al=0,Dl}function yc(){for(;null!==Pl;)mc(Pl)}function gc(){for(;null!==Pl&&!Ke();)mc(Pl)}function mc(e){var t=xl(e.alternate,e,Ol);e.memoizedProps=e.pendingProps,null===t?bc(e):Pl=t,Sl.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=qu(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Dl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ku(n,t,Ol)))return void(Pl=n);if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Dl&&(Dl=5)}function wc(e,t,r){var o=yt,i=Cl.transition;try{Cl.transition=null,yt=1,function(e,t,r,o){do{_c()}while(null!==ql);if(6&Rl)throw Error(n(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(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-rt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Nl&&(Pl=Nl=null,Al=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Kl||(Kl=!0,Nc(Ze,(function(){return _c(),null}))),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Cl.transition,Cl.transition=null;var u=yt;yt=1;var l=Rl;Rl|=4,Sl.current=null,function(e,t){if(Xr=Wt,sr(e=cr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var u=0,l=-1,c=-1,s=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==r||0!==i&&3!==d.nodeType||(l=u+i),d!==a||0!==o&&3!==d.nodeType||(c=u+o),3===d.nodeType&&(u+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===r&&++s===i&&(l=u),p===a&&++f===o&&(c=u),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zr={focusedElem:e,selectionRange:r},Wt=!1,Xu=t;null!==Xu;)if(e=(t=Xu).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xu=e;else for(;null!==Xu;){t=Xu;try{var v=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var y=v.memoizedProps,g=v.memoizedState,m=t.stateNode,b=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:vi(t.type,y),g);m.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(e){Ec(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xu=e;break}Xu=t.return}v=el,el=!1}(e,r),vl(r,e),fr(Zr),Wt=!!Xr,Zr=Xr=null,e.current=r,gl(r),qe(),Rl=l,yt=u,Cl.transition=a}else e.current=r;if(Kl&&(Kl=!1,ql=e,Ql=i),a=e.pendingLanes,0===a&&(Vl=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,!(128&~e.current.flags))}catch{}}(r.stateNode),nc(e,Qe()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],o(i.value,{componentStack:i.stack,digest:i.digest});if(Bl)throw Bl=!1,e=Hl,Hl=null,e;1&Ql&&0!==e.tag&&_c(),a=e.pendingLanes,1&a?e===Yl?Gl++:(Gl=0,Yl=e):Gl=0,$o()}(e,t,r,o)}finally{Cl.transition=i,yt=o}return null}function _c(){if(null!==ql){var e=gt(Ql),t=Cl.transition,r=yt;try{if(Cl.transition=null,yt=16>e?16:e,null===ql)var o=!1;else{if(e=ql,ql=null,Ql=0,6&Rl)throw Error(n(331));var i=Rl;for(Rl|=4,Xu=e.current;null!==Xu;){var a=Xu,u=a.child;if(16&Xu.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var s=l[c];for(Xu=s;null!==Xu;){var f=Xu;switch(f.tag){case 0:case 11:case 15:tl(8,f,a)}var d=f.child;if(null!==d)d.return=f,Xu=d;else for(;null!==Xu;){var p=(f=Xu).sibling,h=f.return;if(ol(f),f===s){Xu=null;break}if(null!==p){p.return=h,Xu=p;break}Xu=h}}}var v=a.alternate;if(null!==v){var y=v.child;if(null!==y){v.child=null;do{var g=y.sibling;y.sibling=null,y=g}while(null!==y)}}Xu=a}}if(2064&a.subtreeFlags&&null!==u)u.return=a,Xu=u;else e:for(;null!==Xu;){if(2048&(a=Xu).flags)switch(a.tag){case 0:case 11:case 15:tl(9,a,a.return)}var m=a.sibling;if(null!==m){m.return=a.return,Xu=m;break e}Xu=a.return}}var b=e.current;for(Xu=b;null!==Xu;){var w=(u=Xu).child;if(2064&u.subtreeFlags&&null!==w)w.return=u,Xu=w;else e:for(u=b;null!==Xu;){if(2048&(l=Xu).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Ec(l,l.return,e)}if(l===u){Xu=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Xu=_;break e}Xu=l.return}}if(Rl=i,$o(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch{}o=!0}return o}finally{yt=r,Cl.transition=t}}return!1}function xc(e,t,n){e=Di(e,t=du(0,t=lu(n,t),1),1),t=Jl(),null!==e&&(ht(e,1,t),nc(e,t))}function Ec(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=Di(t,e=pu(t,e=lu(n,e),1),1),e=Jl(),null!==t&&(ht(t,1,e),nc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Jl(),e.pingedLanes|=e.suspendedLanes&n,Nl===e&&(Al&n)===n&&(4===Dl||3===Dl&&(130023424&Al)===Al&&500>Qe()-$l?fc(e,0):Ml|=n),nc(e,t)}function Sc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=Jl();null!==(e=Ni(e,t))&&(ht(e,t,n),nc(e,n))}function Cc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sc(e,n)}function Rc(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Sc(e,r)}function Nc(e,t){return He(e,t)}function Pc(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 Ac(e,t,n,r){return new Pc(e,t,n,r)}function Oc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tc(e,t){var n=e.alternate;return null===n?((n=Ac(e.tag,t,e.key,e.mode)).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=14680064&e.flags,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=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dc(e,t,r,o,i,a){var u=2;if(o=e,"function"==typeof e)Oc(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case w:return Ic(r.children,i,a,t);case _:u=8,i|=8;break;case x:return(e=Ac(12,r,t,2|i)).elementType=x,e.lanes=a,e;case C:return(e=Ac(13,r,t,i)).elementType=C,e.lanes=a,e;case R:return(e=Ac(19,r,t,i)).elementType=R,e.lanes=a,e;case A:return jc(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:u=10;break e;case k:u=9;break e;case S:u=11;break e;case N:u=14;break e;case P:u=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Ac(u,r,t,i)).elementType=e,t.type=o,t.lanes=a,t}function Ic(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function jc(e,t,n,r){return(e=Ac(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Lc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Mc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(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=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,u,l){return e=new zc(e,t,n,u,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ac(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ai(i),e}function $c(e){if(!e)return So;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Ao(r))return Do(e,r,t)}return t}function Wc(e,t,n,r,o,i,a,u,l){return(e=Fc(n,r,!0,e,0,i,0,u,l)).context=$c(null),n=e.current,(i=Ti(r=Jl(),o=ec(n))).callback=t??null,Di(n,i,o),e.current.lanes=o,ht(e,o,r),nc(e,r),e}function Uc(e,t,n,r){var o=t.current,i=Jl(),a=ec(o);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ti(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(tc(e,o,a,i),Ii(e,o,a)),a}function Bc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){Hc(e,t),(e=e.alternate)&&Hc(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)mu=!0;else{if(!(e.lanes&r||128&t.flags))return mu=!1,function(e,t,n){switch(t.tag){case 3:Nu(t),di();break;case 5:oa(t);break;case 1:Ao(t.type)&&Io(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ko(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ko(aa,1&aa.current),t.flags|=128,null):n&t.child.childLanes?Lu(e,t,n):(ko(aa,1&aa.current),null!==(e=Bu(e,t,n))?e.sibling:null);ko(aa,1&aa.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Wu(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ko(aa,aa.current),r)break;return null;case 22:case 23:return t.lanes=0,Eu(e,t,n)}return Bu(e,t,n)}(e,t,r);mu=!!(131072&e.flags)}else mu=!1,ri&&1048576&t.flags&&Xo(t,Ho,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Uu(e,t),e=t.pendingProps;var i=Po(t,Co.current);Ei(t,r),i=xa(null,t,o,e,i,r);var a=Ea();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(o)?(a=!0,Io(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ai(t),i.updater=$i,t.stateNode=i,i._reactInternals=t,Hi(t,o,e,r),t=Ru(null,t,o,!0,a,r)):(t.tag=0,ri&&a&&Zo(t),bu(null,t,i,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Uu(e,t),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Oc(e)?1:0;if(null!=e){if((e=e.$$typeof)===S)return 11;if(e===N)return 14}return 2}(o),e=vi(o,e),i){case 0:t=Su(null,t,o,e,r);break e;case 1:t=Cu(null,t,o,e,r);break e;case 11:t=wu(null,t,o,e,r);break e;case 14:t=_u(null,t,o,vi(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,i=t.pendingProps,Su(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 1:return o=t.type,i=t.pendingProps,Cu(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 3:e:{if(Nu(t),null===e)throw Error(n(387));o=t.pendingProps,i=(a=t.memoizedState).element,Oi(e,t),Li(t,o,null,r);var u=t.memoizedState;if(o=u.element,a.isDehydrated){if(a={element:o,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Pu(e,t,o,r,i=lu(Error(n(423)),t));break e}if(o!==i){t=Pu(e,t,o,r,i=lu(Error(n(424)),t));break e}for(ni=ao(t.stateNode.containerInfo.firstChild),ei=t,ri=!0,oi=null,r=Yi(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(di(),o===i){t=Bu(e,t,r);break e}bu(e,t,o,r)}t=t.child}return t;case 5:return oa(t),null===e&&li(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,Jr(o,i)?u=null:null!==a&&Jr(o,a)&&(t.flags|=32),ku(e,t),bu(e,t,u,r),t.child;case 6:return null===e&&li(t),null;case 13:return Lu(e,t,r);case 4:return na(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Gi(t,null,o,r):bu(e,t,o,r),t.child;case 11:return o=t.type,i=t.pendingProps,wu(e,t,o,i=t.elementType===o?i:vi(o,i),r);case 7:return bu(e,t,t.pendingProps,r),t.child;case 8:case 12:return bu(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,i=t.pendingProps,a=t.memoizedProps,u=i.value,ko(yi,o._currentValue),o._currentValue=u,null!==a)if(or(a.value,u)){if(a.children===i.children&&!Ro.current){t=Bu(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){u=a.child;for(var c=l.firstContext;null!==c;){if(c.context===o){if(1===a.tag){(c=Ti(-1,r&-r)).tag=2;var s=a.updateQueue;if(null!==s){var f=(s=s.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),s.pending=c}}a.lanes|=r,null!==(c=a.alternate)&&(c.lanes|=r),xi(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===a.tag)u=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(n(341));u.lanes|=r,null!==(l=u.alternate)&&(l.lanes|=r),xi(u,r,t),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}bu(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps.children,Ei(t,r),o=o(i=ki(i)),t.flags|=1,bu(e,t,o,r),t.child;case 14:return i=vi(o=t.type,t.pendingProps),_u(e,t,o,i=vi(o.type,i),r);case 15:return xu(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,i=t.pendingProps,i=t.elementType===o?i:vi(o,i),Uu(e,t),t.tag=1,Ao(o)?(e=!0,Io(t)):e=!1,Ei(t,r),Ui(t,o,i),Hi(t,o,i,r),Ru(null,t,o,!0,e,r);case 19:return Wu(e,t,r);case 22:return Eu(e,t,r)}throw Error(n(156,t.tag))};var Kc="function"==typeof reportError?reportError:function(e){console.error(e)};function qc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Zc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var u=o;o=function(){var e=Bc(a);u.call(e)}}Uc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Bc(a);i.call(e)}}var a=Wc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[fo]=a.current,Fr(8===e.nodeType?e.parentNode:e),cc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var u=r;r=function(){var e=Bc(l);u.call(e)}}var l=Fc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[fo]=l.current,Fr(8===e.nodeType?e.parentNode:e),cc((function(){Uc(t,l,n,r)})),l}(n,t,e,o,r);return Bc(a)}Qc.prototype.render=qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Uc(e,t,null,null)},Qc.prototype.unmount=qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cc((function(){Uc(null,e,null,null)})),t[fo]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&It(e)}},mt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=lt(t.pendingLanes);0!==n&&(vt(t,1|n),nc(t,Qe()),!(6&Rl)&&(Wl=Qe()+500,$o()))}break;case 13:cc((function(){var t=Ni(e,1);if(null!==t){var n=Jl();tc(t,e,1,n)}})),Vc(e,1)}},bt=function(e){if(13===e.tag){var t=Ni(e,134217728);if(null!==t)tc(t,e,134217728,Jl());Vc(e,134217728)}},wt=function(e){if(13===e.tag){var t=ec(e),n=Ni(e,t);if(null!==n)tc(n,e,t,Jl());Vc(e,t)}},_t=function(){return yt},xt=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},be=function(e,t,r){switch(t){case"input":if(G(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var i=bo(o);if(!i)throw Error(n(90));H(o),G(o,i)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&J(e,!!r.multiple,t,!1)}},Se=lc,Ce=cc;var Jc={usingClientEntryPoint:!1,Events:[go,mo,bo,Ee,ke,lc]},es={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ts={bundleType:es.bundleType,version:es.version,rendererPackageName:es.rendererPackageName,rendererConfig:es.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:es.findFiberByHostInstance,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 ns=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ns.isDisabled&&ns.supportsFiber)try{tt=ns.inject(ts),nt=ns}catch{}}return ti.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,ti.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gc(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},ti.createRoot=function(e,t){if(!Gc(e))throw Error(n(299));var r=!1,o="",i=Kc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fc(e,1,!1,null,0,r,0,o,i),e[fo]=t.current,Fr(8===e.nodeType?e.parentNode:e),new qc(t)},ti.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(n(188)):(e=Object.keys(e).join(","),Error(n(268,e)));return e=null===(e=Ue(t))?null:e.stateNode},ti.flushSync=function(e){return cc(e)},ti.hydrate=function(e,t,r){if(!Yc(t))throw Error(n(200));return Zc(null,e,t,!0,r)},ti.hydrateRoot=function(e,t,r){if(!Gc(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,i=!1,a="",u=Kc;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(u=r.onRecoverableError)),t=Wc(t,null,e,1,r??null,i,0,a,u),e[fo]=t.current,Fr(e),o)for(e=0;e<o.length;e++)i=(i=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new Qc(t)},ti.render=function(e,t,r){if(!Yc(t))throw Error(n(200));return Zc(null,e,t,!1,r)},ti.unmountComponentAtNode=function(e){if(!Yc(e))throw Error(n(40));return!!e._reactRootContainer&&(cc((function(){Zc(null,null,e,!1,(function(){e._reactRootContainer=null,e[fo]=null}))})),!0)},ti.unstable_batchedUpdates=lc,ti.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Yc(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Zc(e,t,r,!1,o)},ti.version="18.2.0-next-9e3b772b8-20220608",ti}function KT(){if(l$)return U0.exports;return l$=1,function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),U0.exports=GT(),U0.exports}var rl=KT();const VT=xR(rl);
38
38
  /**
39
39
  * @remix-run/router v1.15.2
40
40
  *
@@ -44,7 +44,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
44
44
  * LICENSE.md file in the root directory of this source tree.
45
45
  *
46
46
  * @license MIT
47
- */function S0(){return S0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S0.apply(this,arguments)}var X1,Z1;function Vs(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function EE(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Q1(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function iw(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function $E(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=SE(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=u[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=u[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function SE(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),EE("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function CE(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function RE(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?iw(e):e;return{pathname:n?n.startsWith("/")?n:PE(n,t):t,search:kE(r),hash:NE(o)}}function PE(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}function r0(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function AE(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function aw(e,t){let n=AE(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function lw(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=iw(e):(o=S0({},e),Vs(!o.pathname||!o.pathname.includes("?"),r0("?","pathname","search",o)),Vs(!o.pathname||!o.pathname.includes("#"),r0("#","pathname","hash",o)),Vs(!o.search||!o.search.includes("#"),r0("#","search","hash",o)));let i,a=""===e||""===o.pathname,u=a?"/":o.pathname;if(null==u)i=n;else{let e=t.length-1;if(!r&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let l=RE(o,i),s=u&&"/"!==u&&u.endsWith("/"),c=(a||"."===u)&&n.endsWith("/");return!l.pathname.endsWith("/")&&(s||c)&&(l.pathname+="/"),l}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(X1||(X1={})),function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Z1||(Z1={}));const sw=e=>e.join("/").replace(/\/\/+/g,"/"),kE=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",NE=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",uw=["post","put","patch","delete"];new Set(uw);const TE=["get",...uw];function C0(){return C0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C0.apply(this,arguments)}new Set(TE);const cw=h.createContext(null),Tp=h.createContext(null),fw=h.createContext(null),om=h.createContext({outlet:null,matches:[],isDataRoute:!1});function IE(e,t){let{relative:n}=void 0===t?{}:t;q0()||Vs(!1);let{basename:r,navigator:o}=h.useContext(Tp),{hash:i,pathname:a,search:u}=hw(e,{relative:n}),l=a;return"/"!==r&&(l="/"===a?r:sw([r,a])),o.createHref({pathname:l,search:u,hash:i})}function q0(){return null!=h.useContext(fw)}function X0(){return q0()||Vs(!1),h.useContext(fw).location}function dw(e){h.useContext(Tp).static||h.useLayoutEffect(e)}function pw(){let{isDataRoute:e}=h.useContext(om);return e?FE():OE()}function OE(){q0()||Vs(!1);let e=h.useContext(cw),{basename:t,future:n,navigator:r}=h.useContext(Tp),{matches:o}=h.useContext(om),{pathname:i}=X0(),a=JSON.stringify(aw(o,n.v7_relativeSplatPath)),u=h.useRef(!1);return dw((()=>{u.current=!0})),h.useCallback((function(n,o){if(void 0===o&&(o={}),!u.current)return;if("number"==typeof n)return void r.go(n);let l=lw(n,JSON.parse(a),i,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:sw([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}),[t,r,a,i,e])}function hw(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=h.useContext(Tp),{matches:o}=h.useContext(om),{pathname:i}=X0(),a=JSON.stringify(aw(o,r.v7_relativeSplatPath));return h.useMemo((()=>lw(e,JSON.parse(a),i,"path"===n)),[e,a,i,n])}var vw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(vw||{}),mw=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(mw||{});function DE(e){let t=h.useContext(cw);return t||Vs(!1),t}function ME(e){let t=h.useContext(om);return t||Vs(!1),t}function LE(e){let t=ME(),n=t.matches[t.matches.length-1];return n.route.id||Vs(!1),n.route.id}function FE(){let{router:e}=DE(vw.UseNavigateStable),t=LE(mw.UseNavigateStable),n=h.useRef(!1);return dw((()=>{n.current=!0})),h.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,C0({fromRouteId:t},o)))}),[e,t])}function R0(){return R0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R0.apply(this,arguments)}function zE(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}function WE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function BE(e,t){return!(0!==e.button||t&&"_self"!==t||WE(e))}new Promise((()=>{}));const jE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],UE="6";try{window.__reactRouterVersion=UE}catch{}const HE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,KE=h.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:i,replace:a,state:u,target:l,to:s,preventScrollReset:c,unstable_viewTransition:f}=e,d=zE(e,jE),{basename:p}=h.useContext(Tp),v=!1;if("string"==typeof s&&VE.test(s)&&(n=s,HE))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=CE(t.pathname,p);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:v=!0}catch{}let m=IE(s,{relative:o}),g=GE(s,{replace:a,state:u,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:f});return h.createElement("a",R0({},d,{href:n||m,onClick:v||i?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}));var J1,ey;function GE(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:u}=void 0===t?{}:t,l=pw(),s=X0(),c=hw(e,{relative:a});return h.useCallback((t=>{if(BE(t,n)){t.preventDefault();let n=void 0!==r?r:Q1(s)===Q1(c);l(e,{replace:n,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:u})}}),[s,l,c,r,o,n,e,i,a,u])}!function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(J1||(J1={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ey||(ey={}));var ty,Fh={exports:{}},YE=Fh.exports;
47
+ */function ox(){return ox=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ox.apply(this,arguments)}var c$,d$;function Qs(e,t){if(!1===e||null===e||typeof e>"u")throw new Error(t)}function YT(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function f$(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function bR(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function XT(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=QT(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=u[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=u[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function QT(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),YT("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function ZT(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function JT(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?bR(e):e;return{pathname:n?n.startsWith("/")?n:eI(n,t):t,search:nI(r),hash:rI(o)}}function eI(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}function K0(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function tI(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function $R(e,t){let n=tI(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function SR(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=bR(e):(o=ox({},e),Qs(!o.pathname||!o.pathname.includes("?"),K0("?","pathname","search",o)),Qs(!o.pathname||!o.pathname.includes("#"),K0("#","pathname","hash",o)),Qs(!o.search||!o.search.includes("#"),K0("#","search","hash",o)));let i,a=""===e||""===o.pathname,u=a?"/":o.pathname;if(null==u)i=n;else{let e=t.length-1;if(!r&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let l=JT(o,i),c=u&&"/"!==u&&u.endsWith("/"),s=(a||"."===u)&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||s)&&(l.pathname+="/"),l}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c$||(c$={})),function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(d$||(d$={}));const CR=e=>e.join("/").replace(/\/\/+/g,"/"),nI=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",rI=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",ER=["post","put","patch","delete"];new Set(ER);const oI=["get",...ER];function ix(){return ix=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ix.apply(this,arguments)}new Set(oI);const RR=y.createContext(null),Yp=y.createContext(null),AR=y.createContext(null),Fg=y.createContext({outlet:null,matches:[],isDataRoute:!1});function iI(e,t){let{relative:n}=void 0===t?{}:t;Mx()||Qs(!1);let{basename:r,navigator:o}=y.useContext(Yp),{hash:i,pathname:a,search:u}=IR(e,{relative:n}),l=a;return"/"!==r&&(l="/"===a?r:CR([r,a])),o.createHref({pathname:l,search:u,hash:i})}function Mx(){return null!=y.useContext(AR)}function Fx(){return Mx()||Qs(!1),y.useContext(AR).location}function PR(e){y.useContext(Yp).static||y.useLayoutEffect(e)}function TR(){let{isDataRoute:e}=y.useContext(Fg);return e?cI():aI()}function aI(){Mx()||Qs(!1);let e=y.useContext(RR),{basename:t,future:n,navigator:r}=y.useContext(Yp),{matches:o}=y.useContext(Fg),{pathname:i}=Fx(),a=JSON.stringify($R(o,n.v7_relativeSplatPath)),u=y.useRef(!1);return PR((()=>{u.current=!0})),y.useCallback((function(n,o){if(void 0===o&&(o={}),!u.current)return;if("number"==typeof n)return void r.go(n);let l=SR(n,JSON.parse(a),i,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:CR([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}),[t,r,a,i,e])}function IR(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=y.useContext(Yp),{matches:o}=y.useContext(Fg),{pathname:i}=Fx(),a=JSON.stringify($R(o,r.v7_relativeSplatPath));return y.useMemo((()=>SR(e,JSON.parse(a),i,"path"===n)),[e,a,i,n])}var OR=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(OR||{}),kR=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(kR||{});function uI(e){let t=y.useContext(RR);return t||Qs(!1),t}function sI(e){let t=y.useContext(Fg);return t||Qs(!1),t}function lI(e){let t=sI(),n=t.matches[t.matches.length-1];return n.route.id||Qs(!1),n.route.id}function cI(){let{router:e}=uI(OR.UseNavigateStable),t=lI(kR.UseNavigateStable),n=y.useRef(!1);return PR((()=>{n.current=!0})),y.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,ix({fromRouteId:t},o)))}),[e,t])}function ax(){return ax=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ax.apply(this,arguments)}function fI(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}function dI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pI(e,t){return!(0!==e.button||t&&"_self"!==t||dI(e))}new Promise((()=>{}));const hI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vI="6";try{window.__reactRouterVersion=vI}catch{}const gI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",mI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yI=y.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:i,replace:a,state:u,target:l,to:c,preventScrollReset:s,unstable_viewTransition:f}=e,d=fI(e,hI),{basename:p}=y.useContext(Yp),h=!1;if("string"==typeof c&&mI.test(c)&&(n=c,gI))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=ZT(t.pathname,p);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:h=!0}catch{}let v=iI(c,{relative:o}),g=_I(c,{replace:a,state:u,target:l,preventScrollReset:s,relative:o,unstable_viewTransition:f});return y.createElement("a",ax({},d,{href:n||v,onClick:h||i?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}));var p$,h$;function _I(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:u}=void 0===t?{}:t,l=TR(),c=Fx(),s=IR(e,{relative:a});return y.useCallback((t=>{if(pI(t,n)){t.preventDefault();let n=void 0!==r?r:f$(c)===f$(s);l(e,{replace:n,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:u})}}),[c,l,s,r,o,n,e,i,a,u])}!function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(p$||(p$={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(h$||(h$={}));var v$,rv={exports:{}},wI=rv.exports;
48
48
  /**
49
49
  * @license
50
50
  * Lodash <https://lodash.com/>
@@ -52,7 +52,7 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
52
52
  * Released under MIT license <https://lodash.com/license>
53
53
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
54
54
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
55
- */function qE(){return ty||(ty=1,e=Fh,t=Fh.exports,function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",a=16,u=32,l=64,s=128,c=256,f=1/0,d=9007199254740991,p=NaN,h=4294967295,v=h-1,m=h>>>1,g=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",u],["partialRight",l],["rearg",c]],y="[object Arguments]",b="[object Array]",w="[object Boolean]",_="[object Date]",x="[object Error]",E="[object Function]",k="[object GeneratorFunction]",S="[object Map]",C="[object Number]",R="[object Object]",N="[object Promise]",P="[object RegExp]",A="[object Set]",T="[object String]",O="[object Symbol]",D="[object WeakMap]",I="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",F="[object Int16Array]",W="[object Int32Array]",$="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",H="[object Uint32Array]",Z=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,Q=RegExp(q.source),Y=RegExp(G.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,ke="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",Re="a-z\\xdf-\\xf6\\xf8-\\xff",Ne="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",Oe="["+ke+"]",De="["+Ae+"]",Ie="["+Se+"]",Le="\\d+",je="["+Ce+"]",Me="["+Re+"]",ze="[^"+ke+Ae+Le+Ce+Re+Ne+"]",Fe="\\ud83c[\\udffb-\\udfff]",We="[^"+ke+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Ne+"]",He="\\u200d",Ze="(?:"+Me+"|"+ze+")",Ve="(?:"+Be+"|"+ze+")",Ke="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Ie+"|"+Fe+")?",Qe="["+Pe+"]?",Ye=Qe+Ge+"(?:"+He+"(?:"+[We,$e,Ue].join("|")+")"+Qe+Ge+")*",Xe="(?:"+[je,$e,Ue].join("|")+")"+Ye,Je="(?:"+[We+Ie+"?",Ie,$e,Ue,Oe].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+Je+Ye,"g"),rt=RegExp([Be+"?"+Me+"+"+Ke+"(?="+[De,Be,"$"].join("|")+")",Ve+"+"+qe+"(?="+[De,Be+Ze,"$"].join("|")+")",Be+"?"+Ze+"+"+Ke,Be+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Xe].join("|"),"g"),ot=RegExp("["+He+ke+Se+Pe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ut=-1,lt={};lt[j]=lt[M]=lt[z]=lt[F]=lt[W]=lt[$]=lt[U]=lt[B]=lt[H]=!0,lt[y]=lt[b]=lt[I]=lt[w]=lt[L]=lt[_]=lt[x]=lt[E]=lt[S]=lt[C]=lt[R]=lt[P]=lt[A]=lt[T]=lt[D]=!1;var st={};st[y]=st[b]=st[I]=st[L]=st[w]=st[_]=st[j]=st[M]=st[z]=st[F]=st[W]=st[S]=st[C]=st[R]=st[P]=st[A]=st[T]=st[O]=st[$]=st[U]=st[B]=st[H]=!0,st[x]=st[E]=st[D]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof Cc&&Cc&&Cc.Object===Object&&Cc,ht="object"==typeof self&&self&&self.Object===Object&&self,vt=pt||ht||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,yt=gt&&gt.exports===mt,bt=yt&&pt.process,wt=function(){try{return gt&&gt.require&&gt.require("util").types||bt&&bt.binding&&bt.binding("util")}catch{}}(),_t=wt&&wt.isArrayBuffer,xt=wt&&wt.isDate,Et=wt&&wt.isMap,kt=wt&&wt.isRegExp,St=wt&&wt.isSet,Ct=wt&&wt.isTypedArray;function Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Dt(e,t){return!(null==e||!e.length)&&Bt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Lt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function jt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function zt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Ft(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Wt=Kt("length");function $t(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Bt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Zt,n)}function Ht(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Zt(e){return e!=e}function Vt(e,t){var n=null==e?0:e.length;return n?Qt(e,t)/n:p}function Kt(e){return function(t){return null==t?n:t[e]}}function qt(e){return function(t){return null==e?n:e[t]}}function Gt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Qt(e,t){for(var r,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==n&&(r=r===n?a:r+a)}return r}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Xt(e){return e&&e.slice(0,vn(e)+1).replace(ae,"")}function Jt(e){return function(t){return e(t)}}function en(e,t){return Lt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Bt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}var on=qt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),an=qt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function un(e){return"\\"+ct[e]}function ln(e){return ot.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n];(u===t||u===i)&&(e[n]=i,a[o++]=n)}return a}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){return ln(e)?function(e){for(var t=nt.lastIndex=0;nt.test(e);)++t;return t}(e):Wt(e)}function hn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&ue.test(e.charAt(t)););return t}var mn=qt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){var ue,ke=(t=null==t?vt:gn.defaults(vt.Object(),t,gn.pick(vt,at))).Array,Se=t.Date,Ce=t.Error,Re=t.Function,Ne=t.Math,Pe=t.Object,Ae=t.RegExp,Te=t.String,Oe=t.TypeError,De=ke.prototype,Ie=Re.prototype,Le=Pe.prototype,je=t["__core-js_shared__"],Me=Ie.toString,ze=Le.hasOwnProperty,Fe=0,We=(ue=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||""))?"Symbol(src)_1."+ue:"",$e=Le.toString,Ue=Me.call(Pe),Be=vt._,He=Ae("^"+Me.call(ze).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ze=yt?t.Buffer:n,Ve=t.Symbol,Ke=t.Uint8Array,qe=Ze?Ze.allocUnsafe:n,Ge=cn(Pe.getPrototypeOf,Pe),Qe=Pe.create,Ye=Le.propertyIsEnumerable,Xe=De.splice,Je=Ve?Ve.isConcatSpreadable:n,nt=Ve?Ve.iterator:n,ot=Ve?Ve.toStringTag:n,ct=function(){try{var e=hi(Pe,"defineProperty");return e({},"",{}),e}catch{}}(),pt=t.clearTimeout!==vt.clearTimeout&&t.clearTimeout,ht=Se&&Se.now!==vt.Date.now&&Se.now,mt=t.setTimeout!==vt.setTimeout&&t.setTimeout,gt=Ne.ceil,bt=Ne.floor,wt=Pe.getOwnPropertySymbols,Wt=Ze?Ze.isBuffer:n,qt=t.isFinite,yn=De.join,bn=cn(Pe.keys,Pe),wn=Ne.max,_n=Ne.min,xn=Se.now,En=t.parseInt,kn=Ne.random,Sn=De.reverse,Cn=hi(t,"DataView"),Rn=hi(t,"Map"),Nn=hi(t,"Promise"),Pn=hi(t,"Set"),An=hi(t,"WeakMap"),Tn=hi(Pe,"create"),On=An&&new An,Dn={},In=Wi(Cn),Ln=Wi(Rn),jn=Wi(Nn),Mn=Wi(Pn),zn=Wi(An),Fn=Ve?Ve.prototype:n,Wn=Fn?Fn.valueOf:n,$n=Fn?Fn.toString:n;function Un(e){if(ru(e)&&!Va(e)&&!(e instanceof Vn)){if(e instanceof Zn)return e;if(ze.call(e,"__wrapped__"))return $i(e)}return new Zn(e)}var Bn=function(){function e(){}return function(t){if(!nu(t))return{};if(Qe)return Qe(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hn(){}function Zn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function Yn(e){var t=this.__data__=new qn(e);this.size=t.size}function Xn(e,t){var n=Va(e),r=!n&&Za(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&fu(e),a=n||r||o||i,u=a?Yt(e.length,Te):[],l=u.length;for(var s in e)(t||ze.call(e,s))&&(!a||!("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||_i(s,l)))&&u.push(s);return u}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:n}function er(e,t){return Mi(Oo(e),sr(t,0,e.length))}function tr(e){return Mi(Oo(e))}function nr(e,t,r){(r!==n&&!Ua(e[t],r)||r===n&&!(t in e))&&ur(e,t,r)}function rr(e,t,r){var o=e[t];(!ze.call(e,t)||!Ua(o,r)||r===n&&!(t in e))&&ur(e,t,r)}function or(e,t){for(var n=e.length;n--;)if(Ua(e[n][0],t))return n;return-1}function ir(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ar(e,t){return e&&Do(t,Du(t),e)}function ur(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var r=-1,o=t.length,i=ke(o),a=null==e;++r<o;)i[r]=a?n:Nu(e,t[r]);return i}function sr(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function cr(e,t,r,o,i,a){var u,l=1&t,s=2&t,c=4&t;if(r&&(u=i?r(e,o,i,a):r(e)),u!==n)return u;if(!nu(e))return e;var f=Va(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ze.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Oo(e,u)}else{var d=gi(e),p=d==E||d==k;if(Qa(e))return Co(e,l);if(d==R||d==y||p&&!i){if(u=s||p?{}:bi(e),!l)return s?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Iu(t),e)}(u,e)):function(e,t){return Do(e,vi(e),t)}(e,ar(u,e))}else{if(!st[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case I:return Ro(e);case w:case _:return new r(+e);case L:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case j:case M:case z:case F:case W:case $:case U:case B:case H:return No(e,n);case S:return new r;case C:case T:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case O:return function(e){return Wn?Pe(Wn.call(e)):{}}(e)}}(e,d,l)}}a||(a=new Yn);var h=a.get(e);if(h)return h;a.set(e,u),lu(e)?e.forEach((function(n){u.add(cr(n,t,r,n,e,a))})):ou(e)&&e.forEach((function(n,o){u.set(o,cr(n,t,r,o,e,a))}));var v=f?n:(c?s?ui:ai:s?Iu:Du)(e);return Pt(v||e,(function(n,o){v&&(n=e[o=n]),rr(u,o,cr(n,t,r,o,e,a))})),u}function fr(e,t,r){var o=r.length;if(null==e)return!o;for(e=Pe(e);o--;){var i=r[o],a=t[i],u=e[i];if(u===n&&!(i in e)||!a(u))return!1}return!0}function dr(e,t,o){if("function"!=typeof e)throw new Oe(r);return Di((function(){e.apply(n,o)}),t)}function pr(e,t,n,r){var o=-1,i=Dt,a=!0,u=e.length,l=[],s=t.length;if(!u)return l;n&&(t=Lt(t,Jt(n))),r?(i=It,a=!1):t.length>=200&&(i=tn,a=!1,t=new Qn(t));e:for(;++o<u;){var c=e[o],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f==f){for(var d=s;d--;)if(t[d]===f)continue e;l.push(c)}else i(t,f,r)||l.push(c)}return l}Un.templateSettings={escape:X,evaluate:J,interpolate:ee,variable:"",imports:{_:Un}},Un.prototype=Hn.prototype,Un.prototype.constructor=Un,Zn.prototype=Bn(Hn.prototype),Zn.prototype.constructor=Zn,Vn.prototype=Bn(Hn.prototype),Vn.prototype.constructor=Vn,Kn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Kn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Kn.prototype.get=function(e){var t=this.__data__;if(Tn){var r=t[e];return r===o?n:r}return ze.call(t,e)?t[e]:n},Kn.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==n:ze.call(t,e)},Kn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tn&&t===n?o:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=or(t,e);return!(n<0||(n==t.length-1?t.pop():Xe.call(t,n,1),--this.size,0))},qn.prototype.get=function(e){var t=this.__data__,r=or(t,e);return r<0?n:t[r][1]},qn.prototype.has=function(e){return or(this.__data__,e)>-1},qn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(Rn||qn),string:new Kn}},Gn.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return di(this,e).get(e)},Gn.prototype.has=function(e){return di(this,e).has(e)},Gn.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,o),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new qn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Rn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var hr=jo(xr),vr=jo(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],u=t(a);if(null!=u&&(l===n?u==u&&!cu(u):r(u,l)))var l=u,s=a}return s}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function br(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=wi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?br(u,t-1,n,r,o):jt(o,u):r||(o[o.length]=u)}return o}var wr=Mo(),_r=Mo(!0);function xr(e,t){return e&&wr(e,t,Du)}function Er(e,t){return e&&_r(e,t,Du)}function kr(e,t){return Ot(t,(function(t){return Ja(e[t])}))}function Sr(e,t){for(var r=0,o=(t=xo(t,e)).length;null!=e&&r<o;)e=e[Fi(t[r++])];return r&&r==o?e:n}function Cr(e,t,n){var r=t(e);return Va(e)?r:jt(r,n(e))}function Rr(e){return null==e?e===n?"[object Undefined]":"[object Null]":ot&&ot in Pe(e)?function(e){var t=ze.call(e,ot),r=e[ot];try{e[ot]=n;var o=!0}catch{}var i=$e.call(e);return o&&(t?e[ot]=r:delete e[ot]),i}(e):function(e){return $e.call(e)}(e)}function Nr(e,t){return e>t}function Pr(e,t){return null!=e&&ze.call(e,t)}function Ar(e,t){return null!=e&&t in Pe(e)}function Tr(e,t,r){for(var o=r?It:Dt,i=e[0].length,a=e.length,u=a,l=ke(a),s=1/0,c=[];u--;){var f=e[u];u&&t&&(f=Lt(f,Jt(t))),s=_n(f.length,s),l[u]=!r&&(t||i>=120&&f.length>=120)?new Qn(u&&f):n}f=e[0];var d=-1,p=l[0];e:for(;++d<i&&c.length<s;){var h=f[d],v=t?t(h):h;if(h=r||0!==h?h:0,!(p?tn(p,v):o(c,v,r))){for(u=a;--u;){var m=l[u];if(!(m?tn(m,v):o(e[u],v,r)))continue e}p&&p.push(v),c.push(h)}}return c}function Or(e,t,r){var o=null==(e=Ai(e,t=xo(t,e)))?e:e[Fi(Xi(t))];return null==o?n:Rt(o,e,r)}function Dr(e){return ru(e)&&Rr(e)==y}function Ir(e,t,r,o,i){return e===t||(null==e||null==t||!ru(e)&&!ru(t)?e!=e&&t!=t:function(e,t,r,o,i,a){var u=Va(e),l=Va(t),s=u?b:gi(e),c=l?b:gi(t),f=(s=s==y?R:s)==R,d=(c=c==y?R:c)==R,p=s==c;if(p&&Qa(e)){if(!Qa(t))return!1;u=!0,f=!1}if(p&&!f)return a||(a=new Yn),u||fu(e)?oi(e,t,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Ke(e),new Ke(t)));case w:case _:case C:return Ua(+e,+t);case x:return e.name==t.name&&e.message==t.message;case P:case T:return e==t+"";case S:var u=sn;case A:var l=1&r;if(u||(u=dn),e.size!=t.size&&!l)return!1;var s=a.get(e);if(s)return s==t;r|=2,a.set(e,t);var c=oi(u(e),u(t),r,o,i,a);return a.delete(e),c;case O:if(Wn)return Wn.call(e)==Wn.call(t)}return!1}(e,t,s,r,o,i,a);if(!(1&r)){var h=f&&ze.call(e,"__wrapped__"),v=d&&ze.call(t,"__wrapped__");if(h||v){var m=h?e.value():e,g=v?t.value():t;return a||(a=new Yn),i(m,g,r,o,a)}}return!!p&&(a||(a=new Yn),function(e,t,r,o,i,a){var u=1&r,l=ai(e),s=l.length,c=ai(t),f=c.length;if(s!=f&&!u)return!1;for(var d=s;d--;){var p=l[d];if(!(u?p in t:ze.call(t,p)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=u;++d<s;){var y=e[p=l[d]],b=t[p];if(o)var w=u?o(b,y,p,t,e,a):o(y,b,p,e,t,a);if(!(w===n?y===b||i(y,b,r,o,a):w)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var _=e.constructor,x=t.constructor;_!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(m=!1)}return a.delete(e),a.delete(t),m}(e,t,r,o,i,a))}(e,t,r,o,Ir,i))}function Lr(e,t,r,o){var i=r.length,a=i,u=!o;if(null==e)return!a;for(e=Pe(e);i--;){var l=r[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var s=(l=r[i])[0],c=e[s],f=l[1];if(u&&l[2]){if(c===n&&!(s in e))return!1}else{var d=new Yn;if(o)var p=o(c,f,s,e,t,d);if(!(p===n?Ir(f,c,3,o,d):p))return!1}}return!0}function jr(e){return!(!nu(e)||function(e){return!!We&&We in e}(e))&&(Ja(e)?He:ye).test(Wi(e))}function Mr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Va(e)?Br(e[0],e[1]):Ur(e):hl(e)}function zr(e){if(!Ci(e))return bn(e);var t=[];for(var n in Pe(e))ze.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!nu(e))return function(e){var t=[];if(null!=e)for(var n in Pe(e))t.push(n);return t}(e);var t=Ci(e),n=[];for(var r in e)"constructor"==r&&(t||!ze.call(e,r))||n.push(r);return n}function Wr(e,t){return e<t}function $r(e,t){var n=-1,r=qa(e)?ke(e.length):[];return hr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Ur(e){var t=pi(e);return 1==t.length&&t[0][2]?Ni(t[0][0],t[0][1]):function(n){return n===e||Lr(n,e,t)}}function Br(e,t){return Ei(e)&&Ri(t)?Ni(Fi(e),t):function(r){var o=Nu(r,e);return o===n&&o===t?Pu(r,e):Ir(t,o,3)}}function Hr(e,t,r,o,i){e!==t&&wr(t,(function(a,u){if(i||(i=new Yn),nu(a))!function(e,t,r,o,i,a,u){var l=Ti(e,r),s=Ti(t,r),c=u.get(s);if(c)nr(e,r,c);else{var f=a?a(l,s,r+"",e,t,u):n,d=f===n;if(d){var p=Va(s),h=!p&&Qa(s),v=!p&&!h&&fu(s);f=s,p||h||v?Va(l)?f=l:Ga(l)?f=Oo(l):h?(d=!1,f=Co(s,!0)):v?(d=!1,f=No(s,!0)):f=[]:au(s)||Za(s)?(f=l,Za(l)?f=bu(l):(!nu(l)||Ja(l))&&(f=bi(s))):d=!1}d&&(u.set(s,f),i(f,s,o,a,u),u.delete(s)),nr(e,r,f)}}(e,t,u,r,Hr,o,i);else{var l=o?o(Ti(e,u),a,u+"",e,t,i):n;l===n&&(l=a),nr(e,u,l)}}),Iu)}function Zr(e,t){var r=e.length;if(r)return _i(t+=t<0?r:0,r)?e[t]:n}function Vr(e,t,n){t=t.length?Lt(t,(function(e){return Va(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;return t=Lt(t,Jt(fi())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}($r(e,(function(e,n,o){return{criteria:Lt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var l=Po(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Kr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Sr(e,a);n(u,a)&&to(i,xo(a,e),u)}return i}function qr(e,t,n,r){var o=r?Ht:Bt,i=-1,a=t.length,u=e;for(e===t&&(t=Oo(t)),n&&(u=Lt(e,Jt(n)));++i<a;)for(var l=0,s=t[i],c=n?n(s):s;(l=o(u,c,l,r))>-1;)u!==e&&Xe.call(u,l,1),Xe.call(e,l,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?Xe.call(e,o,1):ho(e,o)}}return e}function Qr(e,t){return e+bt(kn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=bt(t/2))&&(e+=e)}while(t);return n}function Xr(e,t){return Ii(Pi(e,t,il),e+"")}function Jr(e){return Jn(Uu(e))}function eo(e,t){var n=Uu(e);return Mi(n,sr(t,0,n.length))}function to(e,t,r,o){if(!nu(e))return e;for(var i=-1,a=(t=xo(t,e)).length,u=a-1,l=e;null!=l&&++i<a;){var s=Fi(t[i]),c=r;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(i!=u){var f=l[s];(c=o?o(f,s,l):n)===n&&(c=nu(f)?f:_i(t[i+1])?[]:{})}rr(l,s,c),l=l[s]}return e}var no=On?function(e,t){return On.set(e,t),e}:il,ro=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:il;function oo(e){return Mi(Uu(e))}function io(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ke(o);++r<o;)i[r]=e[r+t];return i}function ao(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function uo(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=m){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!cu(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,il,n)}function lo(e,t,r,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=r(t))!=t,l=null===t,s=cu(t),c=t===n;i<a;){var f=bt((i+a)/2),d=r(e[f]),p=d!==n,h=null===d,m=d==d,g=cu(d);if(u)var y=o||m;else y=c?m&&(o||p):l?m&&p&&(o||!h):s?m&&p&&!h&&(o||!g):!h&&!g&&(o?d<=t:d<t);y?i=f+1:a=f}return _n(a,v)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ua(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function co(e){return"number"==typeof e?e:cu(e)?p:+e}function fo(e){if("string"==typeof e)return e;if(Va(e))return Lt(e,fo)+"";if(cu(e))return $n?$n.call(e):"";var t=e+"";return"0"==t&&1/e==-f?"-0":t}function po(e,t,n){var r=-1,o=Dt,i=e.length,a=!0,u=[],l=u;if(n)a=!1,o=It;else if(i>=200){var s=t?null:Xo(e);if(s)return dn(s);a=!1,o=tn,l=new Qn}else l=t?[]:u;e:for(;++r<i;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f==f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),u.push(c)}else o(l,f,n)||(l!==u&&l.push(f),u.push(c))}return u}function ho(e,t){return null==(e=Ai(e,t=xo(t,e)))||delete e[Fi(Xi(t))]}function vo(e,t,n,r){return to(e,t,n(Sr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?io(e,r?0:i,r?i+1:o):io(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,jt([e],t.args))}),n)}function yo(e,t,n){var r=e.length;if(r<2)return r?po(e[0]):[];for(var o=-1,i=ke(r);++o<r;)for(var a=e[o],u=-1;++u<r;)u!=o&&(i[o]=pr(i[o]||a,e[u],t,n));return po(br(i,1),t,n)}function bo(e,t,r){for(var o=-1,i=e.length,a=t.length,u={};++o<i;){var l=o<a?t[o]:n;r(u,e[o],l)}return u}function wo(e){return Ga(e)?e:[]}function _o(e){return"function"==typeof e?e:il}function xo(e,t){return Va(e)?e:Ei(e,t)?[e]:zi(wu(e))}var Eo=Xr;function ko(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:io(e,t,r)}var So=pt||function(e){return vt.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Ro(e){var t=new e.constructor(e.byteLength);return new Ke(t).set(new Ke(e)),t}function No(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,a=cu(e),u=t!==n,l=null===t,s=t==t,c=cu(t);if(!l&&!c&&!a&&e>t||a&&u&&s&&!l&&!c||o&&u&&s||!r&&s||!i)return 1;if(!o&&!a&&!c&&e<t||c&&r&&i&&!o&&!a||l&&r&&i||!u&&i||!s)return-1}return 0}function Ao(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,l=t.length,s=wn(i-a,0),c=ke(l+s),f=!r;++u<l;)c[u]=t[u];for(;++o<a;)(f||o<i)&&(c[n[o]]=e[o]);for(;s--;)c[u++]=e[o++];return c}function To(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,l=-1,s=t.length,c=wn(i-u,0),f=ke(c+s),d=!r;++o<c;)f[o]=e[o];for(var p=o;++l<s;)f[p+l]=t[l];for(;++a<u;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function Oo(e,t){var n=-1,r=e.length;for(t||(t=ke(r));++n<r;)t[n]=e[n];return t}function Do(e,t,r,o){var i=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var l=t[a],s=o?o(r[l],e[l],l,r,e):n;s===n&&(s=e[l]),i?ur(r,l,s):rr(r,l,s)}return r}function Io(e,t){return function(n,r){var o=Va(n)?Nt:ir,i=t?t():{};return o(n,e,fi(r,2),i)}}function Lo(e){return Xr((function(t,r){var o=-1,i=r.length,a=i>1?r[i-1]:n,u=i>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(i--,a):n,u&&xi(r[0],r[1],u)&&(a=i<3?n:a,i=1),t=Pe(t);++o<i;){var l=r[o];l&&e(t,l,o,a)}return t}))}function jo(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Pe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Mo(e){return function(t,n,r){for(var o=-1,i=Pe(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function zo(e){return function(t){var r=ln(t=wu(t))?hn(t):n,o=r?r[0]:t.charAt(0),i=r?ko(r,1).join(""):t.slice(1);return o[e]()+i}}function Fo(e){return function(t){return Mt(Ju(Zu(t).replace(et,"")),e,"")}}function Wo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Bn(e.prototype),r=e.apply(n,t);return nu(r)?r:n}}function $o(e){return function(t,r,o){var i=Pe(t);if(!qa(t)){var a=fi(r,3);t=Du(t),r=function(e){return a(i[e],e,i)}}var u=e(t,r,o);return u>-1?i[a?t[u]:u]:n}}function Uo(e){return ii((function(t){var o=t.length,i=o,a=Zn.prototype.thru;for(e&&t.reverse();i--;){var u=t[i];if("function"!=typeof u)throw new Oe(r);if(a&&!l&&"wrapper"==si(u))var l=new Zn([],!0)}for(i=l?i:o;++i<o;){var s=si(u=t[i]),c="wrapper"==s?li(u):n;l=c&&ki(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[si(c[0])].apply(l,c[3]):1==u.length&&ki(u)?l[s]():l.thru(u)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Va(n))return l.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Bo(e,t,r,o,i,a,u,l,c,f){var d=t&s,p=1&t,h=2&t,v=24&t,m=512&t,g=h?n:Wo(e);return function s(){for(var y=arguments.length,b=ke(y),w=y;w--;)b[w]=arguments[w];if(v)var _=ci(s),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,_);if(o&&(b=Ao(b,o,i,v)),a&&(b=To(b,a,u,v)),y-=x,v&&y<f){var E=fn(b,_);return Qo(e,t,Bo,s.placeholder,r,b,E,l,c,f-y)}var k=p?r:this,S=h?k[e]:e;return y=b.length,l?b=function(e,t){for(var r=e.length,o=_n(t.length,r),i=Oo(e);o--;){var a=t[o];e[o]=_i(a,r)?i[a]:n}return e}(b,l):m&&y>1&&b.reverse(),d&&c<y&&(b.length=c),this&&this!==vt&&this instanceof s&&(S=g||Wo(S)),S.apply(k,b)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Zo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=fo(r),o=fo(o)):(r=co(r),o=co(o)),i=e(r,o)}return i}}function Vo(e){return ii((function(t){return t=Lt(t,Jt(fi())),Xr((function(n){var r=this;return e(t,(function(e){return Rt(e,r,n)}))}))}))}function Ko(e,t){var r=(t=t===n?" ":fo(t)).length;if(r<2)return r?Yr(t,e):t;var o=Yr(t,gt(e/pn(t)));return ln(t)?ko(hn(o),0,e).join(""):o.slice(0,e)}function qo(e){return function(t,r,o){return o&&"number"!=typeof o&&xi(t,r,o)&&(r=o=n),t=vu(t),r===n?(r=t,t=0):r=vu(r),function(e,t,n,r){for(var o=-1,i=wn(gt((t-e)/(n||1)),0),a=ke(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,r,o=o===n?t<r?1:-1:vu(o),e)}}function Go(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=yu(t),n=yu(n)),e(t,n)}}function Qo(e,t,r,o,i,a,s,c,f,d){var p=8&t;t|=p?u:l,4&(t&=~(p?l:u))||(t&=-4);var h=[e,t,i,p?a:n,p?s:n,p?n:a,p?n:s,c,f,d],v=r.apply(n,h);return ki(e)&&Oi(v,h),v.placeholder=o,Li(v,e,t)}function Yo(e){var t=Ne[e];return function(e,n){if(e=yu(e),(n=null==n?0:_n(mu(n),292))&&qt(e)){var r=(wu(e)+"e").split("e");return+((r=(wu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Xo=Pn&&1/dn(new Pn([,-0]))[1]==f?function(e){return new Pn(e)}:cl;function Jo(e){return function(t){var n=gi(t);return n==S?sn(t):n==A?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Lt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ei(e,t,o,f,d,p,h,v){var m=2&t;if(!m&&"function"!=typeof e)throw new Oe(r);var g=f?f.length:0;if(g||(t&=-97,f=d=n),h=h===n?h:wn(mu(h),0),v=v===n?v:mu(v),g-=d?d.length:0,t&l){var y=f,b=d;f=d=n}var w=m?n:li(e),_=[e,t,o,f,d,y,b,p,h,v];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,u=r==s&&8==n||r==s&&n==c&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!u)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var f=e[3];e[3]=f?Ao(f,l,t[4]):l,e[4]=f?fn(e[3],i):t[4]}(l=t[5])&&(f=e[5],e[5]=f?To(f,l,t[6]):l,e[6]=f?fn(e[5],i):t[6]),(l=t[7])&&(e[7]=l),r&s&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(_,w),e=_[0],t=_[1],o=_[2],f=_[3],d=_[4],!(v=_[9]=_[9]===n?m?0:e.length:wn(_[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||t==a?function(e,t,r){var o=Wo(e);return function i(){for(var a=arguments.length,u=ke(a),l=a,s=ci(i);l--;)u[l]=arguments[l];var c=a<3&&u[0]!==s&&u[a-1]!==s?[]:fn(u,s);return(a-=c.length)<r?Qo(e,t,Bo,i.placeholder,n,u,c,n,n,r-a):Rt(this&&this!==vt&&this instanceof i?o:e,this,u)}}(e,t,v):t!=u&&33!=t||d.length?Bo.apply(n,_):function(e,t,n,r){var o=1&t,i=Wo(e);return function t(){for(var a=-1,u=arguments.length,l=-1,s=r.length,c=ke(s+u),f=this&&this!==vt&&this instanceof t?i:e;++l<s;)c[l]=r[l];for(;u--;)c[l++]=arguments[++a];return Rt(f,o?n:this,c)}}(e,t,o,f);else var x=function(e,t,n){var r=1&t,o=Wo(e);return function t(){return(this&&this!==vt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return Li((w?no:Oi)(x,_),e,t)}function ti(e,t,r,o){return e===n||Ua(e,Le[r])&&!ze.call(o,r)?t:e}function ni(e,t,r,o,i,a){return nu(e)&&nu(t)&&(a.set(t,e),Hr(e,t,n,ni,a),a.delete(t)),e}function ri(e){return au(e)?n:e}function oi(e,t,r,o,i,a){var u=1&r,l=e.length,s=t.length;if(l!=s&&!(u&&s>l))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&r?new Qn:n;for(a.set(e,t),a.set(t,e);++d<l;){var v=e[d],m=t[d];if(o)var g=u?o(m,v,d,t,e,a):o(v,m,d,e,t,a);if(g!==n){if(g)continue;p=!1;break}if(h){if(!Ft(t,(function(e,t){if(!tn(h,t)&&(v===e||i(v,e,r,o,a)))return h.push(t)}))){p=!1;break}}else if(v!==m&&!i(v,m,r,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ii(e){return Ii(Pi(e,n,Ki),e+"")}function ai(e){return Cr(e,Du,vi)}function ui(e){return Cr(e,Iu,mi)}var li=On?function(e){return On.get(e)}:cl;function si(e){for(var t=e.name+"",n=Dn[t],r=ze.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(ze.call(Un,"placeholder")?Un:e).placeholder}function fi(){var e=Un.iteratee||al;return e=e===al?Mr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function pi(e){for(var t=Du(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ri(o)]}return t}function hi(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return jr(r)?r:n}var vi=wt?function(e){return null==e?[]:(e=Pe(e),Ot(wt(e),(function(t){return Ye.call(e,t)})))}:gl,mi=wt?function(e){for(var t=[];e;)jt(t,vi(e)),e=Ge(e);return t}:gl,gi=Rr;function yi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Fi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&tu(o)&&_i(a,o)&&(Va(e)||Za(e))}function bi(e){return"function"!=typeof e.constructor||Ci(e)?{}:Bn(Ge(e))}function wi(e){return Va(e)||Za(e)||!!(Je&&e&&e[Je])}function _i(e,t){var n=typeof e;return!!(t=t??d)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!nu(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&_i(t,n.length):"string"==r&&t in n)&&Ua(n[t],e)}function Ei(e,t){if(Va(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!cu(e))||ne.test(e)||!te.test(e)||null!=t&&e in Pe(t)}function ki(e){var t=si(e),n=Un[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(Cn&&gi(new Cn(new ArrayBuffer(1)))!=L||Rn&&gi(new Rn)!=S||Nn&&gi(Nn.resolve())!=N||Pn&&gi(new Pn)!=A||An&&gi(new An)!=D)&&(gi=function(e){var t=Rr(e),r=t==R?e.constructor:n,o=r?Wi(r):"";if(o)switch(o){case In:return L;case Ln:return S;case jn:return N;case Mn:return A;case zn:return D}return t});var Si=je?Ja:yl;function Ci(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Ri(e){return e==e&&!nu(e)}function Ni(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Pe(r))}}function Pi(e,t,r){return t=wn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=wn(n.length-t,0),a=ke(i);++o<i;)a[o]=n[t+o];o=-1;for(var u=ke(t+1);++o<t;)u[o]=n[o];return u[t]=r(a),Rt(e,this,u)}}function Ai(e,t){return t.length<2?e:Sr(e,io(t,0,-1))}function Ti(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oi=ji(no),Di=mt||function(e,t){return vt.setTimeout(e,t)},Ii=ji(ro);function Li(e,t,n){var r=t+"";return Ii(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(g,(function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ce):[]}(r),n)))}function ji(e){var t=0,r=0;return function(){var o=xn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Mi(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var a=Qr(r,i),u=e[a];e[a]=e[r],e[r]=u}return e.length=t,e}var zi=function(e){var t=ja(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function Fi(e){if("string"==typeof e||cu(e))return e;var t=e+"";return"0"==t&&1/e==-f?"-0":t}function Wi(e){if(null!=e){try{return Me.call(e)}catch{}try{return e+""}catch{}}return""}function $i(e){if(e instanceof Vn)return e.clone();var t=new Zn(e.__wrapped__,e.__chain__);return t.__actions__=Oo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ui=Xr((function(e,t){return Ga(e)?pr(e,br(t,1,Ga,!0)):[]})),Bi=Xr((function(e,t){var r=Xi(t);return Ga(r)&&(r=n),Ga(e)?pr(e,br(t,1,Ga,!0),fi(r,2)):[]})),Hi=Xr((function(e,t){var r=Xi(t);return Ga(r)&&(r=n),Ga(e)?pr(e,br(t,1,Ga,!0),n,r):[]}));function Zi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:mu(n);return o<0&&(o=wn(r+o,0)),Ut(e,fi(t,3),o)}function Vi(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=mu(r),i=r<0?wn(o+i,0):_n(i,o-1)),Ut(e,fi(t,3),i,!0)}function Ki(e){return null!=e&&e.length?br(e,1):[]}function qi(e){return e&&e.length?e[0]:n}var Gi=Xr((function(e){var t=Lt(e,wo);return t.length&&t[0]===e[0]?Tr(t):[]})),Qi=Xr((function(e){var t=Xi(e),r=Lt(e,wo);return t===Xi(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Tr(r,fi(t,2)):[]})),Yi=Xr((function(e){var t=Xi(e),r=Lt(e,wo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Tr(r,n,t):[]}));function Xi(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ji=Xr(ea);function ea(e,t){return e&&e.length&&t&&t.length?qr(e,t):e}var ta=ii((function(e,t){var n=null==e?0:e.length,r=lr(e,t);return Gr(e,Lt(t,(function(e){return _i(e,n)?+e:e})).sort(Po)),r}));function na(e){return null==e?e:Sn.call(e)}var ra=Xr((function(e){return po(br(e,1,Ga,!0))})),oa=Xr((function(e){var t=Xi(e);return Ga(t)&&(t=n),po(br(e,1,Ga,!0),fi(t,2))})),ia=Xr((function(e){var t=Xi(e);return t="function"==typeof t?t:n,po(br(e,1,Ga,!0),n,t)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(Ga(e))return t=wn(e.length,t),!0})),Yt(t,(function(t){return Lt(e,Kt(t))}))}function ua(e,t){if(!e||!e.length)return[];var r=aa(e);return null==t?r:Lt(r,(function(e){return Rt(t,n,e)}))}var la=Xr((function(e,t){return Ga(e)?pr(e,t):[]})),sa=Xr((function(e){return yo(Ot(e,Ga))})),ca=Xr((function(e){var t=Xi(e);return Ga(t)&&(t=n),yo(Ot(e,Ga),fi(t,2))})),fa=Xr((function(e){var t=Xi(e);return t="function"==typeof t?t:n,yo(Ot(e,Ga),n,t)})),da=Xr(aa),pa=Xr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ua(e,r)}));function ha(e){var t=Un(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ma=ii((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Vn&&_i(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:va,args:[i],thisArg:n}),new Zn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)})),ga=Io((function(e,t,n){ze.call(e,n)?++e[n]:ur(e,n,1)})),ya=$o(Zi),ba=$o(Vi);function wa(e,t){return(Va(e)?Pt:hr)(e,fi(t,3))}function _a(e,t){return(Va(e)?At:vr)(e,fi(t,3))}var xa=Io((function(e,t,n){ze.call(e,n)?e[n].push(t):ur(e,n,[t])})),Ea=Xr((function(e,t,n){var r=-1,o="function"==typeof t,i=qa(e)?ke(e.length):[];return hr(e,(function(e){i[++r]=o?Rt(t,e,n):Or(e,t,n)})),i})),ka=Io((function(e,t,n){ur(e,n,t)}));function Sa(e,t){return(Va(e)?Lt:$r)(e,fi(t,3))}var Ca=Io((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ra=Xr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,br(t,1),[])})),Na=ht||function(){return vt.Date.now()};function Pa(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ei(e,s,n,n,n,n,t)}function Aa(e,t){var o;if("function"!=typeof t)throw new Oe(r);return e=mu(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Ta=Xr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(Ta));r|=u}return ei(e,r,t,n,o)})),Oa=Xr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Oa));r|=u}return ei(t,r,e,n,o)}));function Da(e,t,o){var i,a,u,l,s,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Oe(r);function v(t){var r=i,o=a;return i=a=n,f=t,l=e.apply(o,r)}function m(e){var r=e-c;return c===n||r>=t||r<0||p&&e-f>=u}function g(){var e=Na();if(m(e))return y(e);s=Di(g,function(e){var n=t-(e-c);return p?_n(n,u-(e-f)):n}(e))}function y(e){return s=n,h&&i?v(e):(i=a=n,l)}function b(){var e=Na(),r=m(e);if(i=arguments,a=this,c=e,r){if(s===n)return function(e){return f=e,s=Di(g,t),d?v(e):l}(c);if(p)return So(s),s=Di(g,t),v(c)}return s===n&&(s=Di(g,t)),l}return t=yu(t)||0,nu(o)&&(d=!!o.leading,u=(p="maxWait"in o)?wn(yu(o.maxWait)||0,t):u,h="trailing"in o?!!o.trailing:h),b.cancel=function(){s!==n&&So(s),f=0,i=c=a=s=n},b.flush=function(){return s===n?l:y(Na())},b}var Ia=Xr((function(e,t){return dr(e,1,t)})),La=Xr((function(e,t,n){return dr(e,yu(t)||0,n)}));function ja(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ja.Cache||Gn),n}function Ma(e){if("function"!=typeof e)throw new Oe(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ja.Cache=Gn;var za=Eo((function(e,t){var n=(t=1==t.length&&Va(t[0])?Lt(t[0],Jt(fi())):Lt(br(t,1),Jt(fi()))).length;return Xr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Rt(e,this,r)}))})),Fa=Xr((function(e,t){var r=fn(t,ci(Fa));return ei(e,u,n,t,r)})),Wa=Xr((function(e,t){var r=fn(t,ci(Wa));return ei(e,l,n,t,r)})),$a=ii((function(e,t){return ei(e,c,n,n,n,t)}));function Ua(e,t){return e===t||e!=e&&t!=t}var Ba=Go(Nr),Ha=Go((function(e,t){return e>=t})),Za=Dr(function(){return arguments}())?Dr:function(e){return ru(e)&&ze.call(e,"callee")&&!Ye.call(e,"callee")},Va=ke.isArray,Ka=_t?Jt(_t):function(e){return ru(e)&&Rr(e)==I};function qa(e){return null!=e&&tu(e.length)&&!Ja(e)}function Ga(e){return ru(e)&&qa(e)}var Qa=Wt||yl,Ya=xt?Jt(xt):function(e){return ru(e)&&Rr(e)==_};function Xa(e){if(!ru(e))return!1;var t=Rr(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!au(e)}function Ja(e){if(!nu(e))return!1;var t=Rr(e);return t==E||t==k||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eu(e){return"number"==typeof e&&e==mu(e)}function tu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function nu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ru(e){return null!=e&&"object"==typeof e}var ou=Et?Jt(Et):function(e){return ru(e)&&gi(e)==S};function iu(e){return"number"==typeof e||ru(e)&&Rr(e)==C}function au(e){if(!ru(e)||Rr(e)!=R)return!1;var t=Ge(e);if(null===t)return!0;var n=ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Ue}var uu=kt?Jt(kt):function(e){return ru(e)&&Rr(e)==P},lu=St?Jt(St):function(e){return ru(e)&&gi(e)==A};function su(e){return"string"==typeof e||!Va(e)&&ru(e)&&Rr(e)==T}function cu(e){return"symbol"==typeof e||ru(e)&&Rr(e)==O}var fu=Ct?Jt(Ct):function(e){return ru(e)&&tu(e.length)&&!!lt[Rr(e)]},du=Go(Wr),pu=Go((function(e,t){return e<=t}));function hu(e){if(!e)return[];if(qa(e))return su(e)?hn(e):Oo(e);if(nt&&e[nt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[nt]());var t=gi(e);return(t==S?sn:t==A?dn:Uu)(e)}function vu(e){return e?(e=yu(e))===f||e===-f?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function mu(e){var t=vu(e),n=t%1;return t==t?n?t-n:t:0}function gu(e){return e?sr(mu(e),0,h):0}function yu(e){if("number"==typeof e)return e;if(cu(e))return p;if(nu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=ge.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):me.test(e)?p:+e}function bu(e){return Do(e,Iu(e))}function wu(e){return null==e?"":fo(e)}var _u=Lo((function(e,t){if(Ci(t)||qa(t))Do(t,Du(t),e);else for(var n in t)ze.call(t,n)&&rr(e,n,t[n])})),xu=Lo((function(e,t){Do(t,Iu(t),e)})),Eu=Lo((function(e,t,n,r){Do(t,Iu(t),e,r)})),ku=Lo((function(e,t,n,r){Do(t,Du(t),e,r)})),Su=ii(lr),Cu=Xr((function(e,t){e=Pe(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&xi(t[0],t[1],i)&&(o=1);++r<o;)for(var a=t[r],u=Iu(a),l=-1,s=u.length;++l<s;){var c=u[l],f=e[c];(f===n||Ua(f,Le[c])&&!ze.call(e,c))&&(e[c]=a[c])}return e})),Ru=Xr((function(e){return e.push(n,ni),Rt(ju,n,e)}));function Nu(e,t,r){var o=null==e?n:Sr(e,t);return o===n?r:o}function Pu(e,t){return null!=e&&yi(e,t,Ar)}var Au=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),e[t]=n}),nl(il)),Tu=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),ze.call(e,t)?e[t].push(n):e[t]=[n]}),fi),Ou=Xr(Or);function Du(e){return qa(e)?Xn(e):zr(e)}function Iu(e){return qa(e)?Xn(e,!0):Fr(e)}var Lu=Lo((function(e,t,n){Hr(e,t,n)})),ju=Lo((function(e,t,n,r){Hr(e,t,n,r)})),Mu=ii((function(e,t){var n={};if(null==e)return n;var r=!1;t=Lt(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Do(e,ui(e),n),r&&(n=cr(n,7,ri));for(var o=t.length;o--;)ho(n,t[o]);return n})),zu=ii((function(e,t){return null==e?{}:function(e,t){return Kr(e,t,(function(t,n){return Pu(e,n)}))}(e,t)}));function Fu(e,t){if(null==e)return{};var n=Lt(ui(e),(function(e){return[e]}));return t=fi(t),Kr(e,n,(function(e,n){return t(e,n[0])}))}var Wu=Jo(Du),$u=Jo(Iu);function Uu(e){return null==e?[]:en(e,Du(e))}var Bu=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hu(t):t)}));function Hu(e){return Xu(wu(e).toLowerCase())}function Zu(e){return(e=wu(e))&&e.replace(_e,on).replace(tt,"")}var Vu=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ku=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qu=zo("toLowerCase"),Gu=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Qu=Fo((function(e,t,n){return e+(n?" ":"")+Xu(t)})),Yu=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xu=zo("toUpperCase");function Ju(e,t,r){return e=wu(e),(t=r?n:t)===n?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var el=Xr((function(e,t){try{return Rt(e,n,t)}catch(e){return Xa(e)?e:new Ce(e)}})),tl=ii((function(e,t){return Pt(t,(function(t){t=Fi(t),ur(e,t,Ta(e[t],e))})),e}));function nl(e){return function(){return e}}var rl=Uo(),ol=Uo(!0);function il(e){return e}function al(e){return Mr("function"==typeof e?e:cr(e,1))}var ul=Xr((function(e,t){return function(n){return Or(n,e,t)}})),ll=Xr((function(e,t){return function(n){return Or(e,n,t)}}));function sl(e,t,n){var r=Du(t),o=kr(t,r);null==n&&(!nu(t)||!o.length&&r.length)&&(n=t,t=e,e=this,o=kr(t,Du(t)));var i=!(nu(n)&&"chain"in n&&!n.chain),a=Ja(e);return Pt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Oo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,jt([this.value()],arguments))})})),e}function cl(){}var fl=Vo(Lt),dl=Vo(Tt),pl=Vo(Ft);function hl(e){return Ei(e)?Kt(Fi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var vl=qo(),ml=qo(!0);function gl(){return[]}function yl(){return!1}var bl=Zo((function(e,t){return e+t}),0),wl=Yo("ceil"),_l=Zo((function(e,t){return e/t}),1),xl=Yo("floor"),El=Zo((function(e,t){return e*t}),1),kl=Yo("round"),Sl=Zo((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Oe(r);return e=mu(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=Pa,Un.assign=_u,Un.assignIn=xu,Un.assignInWith=Eu,Un.assignWith=ku,Un.at=Su,Un.before=Aa,Un.bind=Ta,Un.bindAll=tl,Un.bindKey=Oa,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Un.chain=ha,Un.chunk=function(e,t,r){t=(r?xi(e,t,r):t===n)?1:wn(mu(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,u=ke(gt(o/t));i<o;)u[a++]=io(e,i,i+=t);return u},Un.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ke(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return jt(Va(n)?Oo(n):[n],br(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=fi();return e=t?Lt(e,(function(e){if("function"!=typeof e[1])throw new Oe(r);return[n(e[0]),e[1]]})):[],Xr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Rt(o[0],this,n))return Rt(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Du(e);return function(n){return fr(n,e,t)}}(cr(e,1))},Un.constant=nl,Un.countBy=ga,Un.create=function(e,t){var n=Bn(e);return null==t?n:ar(n,t)},Un.curry=function e(t,r,o){var i=ei(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Un.curryRight=function e(t,r,o){var i=ei(t,a,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Un.debounce=Da,Un.defaults=Cu,Un.defaultsDeep=Ru,Un.defer=Ia,Un.delay=La,Un.difference=Ui,Un.differenceBy=Bi,Un.differenceWith=Hi,Un.drop=function(e,t,r){var o=null==e?0:e.length;return o?io(e,(t=r||t===n?1:mu(t))<0?0:t,o):[]},Un.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?io(e,0,(t=o-(t=r||t===n?1:mu(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!0):[]},Un.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&xi(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=mu(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:mu(o))<0&&(o+=i),o=r>o?0:gu(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Un.filter=function(e,t){return(Va(e)?Ot:yr)(e,fi(t,3))},Un.flatMap=function(e,t){return br(Sa(e,t),1)},Un.flatMapDeep=function(e,t){return br(Sa(e,t),f)},Un.flatMapDepth=function(e,t,r){return r=r===n?1:mu(r),br(Sa(e,t),r)},Un.flatten=Ki,Un.flattenDeep=function(e){return null!=e&&e.length?br(e,f):[]},Un.flattenDepth=function(e,t){return null!=e&&e.length?br(e,t=t===n?1:mu(t)):[]},Un.flip=function(e){return ei(e,512)},Un.flow=rl,Un.flowRight=ol,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Un.functions=function(e){return null==e?[]:kr(e,Du(e))},Un.functionsIn=function(e){return null==e?[]:kr(e,Iu(e))},Un.groupBy=xa,Un.initial=function(e){return null!=e&&e.length?io(e,0,-1):[]},Un.intersection=Gi,Un.intersectionBy=Qi,Un.intersectionWith=Yi,Un.invert=Au,Un.invertBy=Tu,Un.invokeMap=Ea,Un.iteratee=al,Un.keyBy=ka,Un.keys=Du,Un.keysIn=Iu,Un.map=Sa,Un.mapKeys=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){ur(n,t(e,r,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){ur(n,r,t(e,r,o))})),n},Un.matches=function(e){return Ur(cr(e,1))},Un.matchesProperty=function(e,t){return Br(e,cr(t,1))},Un.memoize=ja,Un.merge=Lu,Un.mergeWith=ju,Un.method=ul,Un.methodOf=ll,Un.mixin=sl,Un.negate=Ma,Un.nthArg=function(e){return e=mu(e),Xr((function(t){return Zr(t,e)}))},Un.omit=Mu,Un.omitBy=function(e,t){return Fu(e,Ma(fi(t)))},Un.once=function(e){return Aa(2,e)},Un.orderBy=function(e,t,r,o){return null==e?[]:(Va(t)||(t=null==t?[]:[t]),Va(r=o?n:r)||(r=null==r?[]:[r]),Vr(e,t,r))},Un.over=fl,Un.overArgs=za,Un.overEvery=dl,Un.overSome=pl,Un.partial=Fa,Un.partialRight=Wa,Un.partition=Ca,Un.pick=zu,Un.pickBy=Fu,Un.property=hl,Un.propertyOf=function(e){return function(t){return null==e?n:Sr(e,t)}},Un.pull=Ji,Un.pullAll=ea,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,fi(n,2)):e},Un.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?qr(e,t,n,r):e},Un.pullAt=ta,Un.range=vl,Un.rangeRight=ml,Un.rearg=$a,Un.reject=function(e,t){return(Va(e)?Ot:yr)(e,Ma(fi(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=fi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Gr(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new Oe(r);return Xr(e,t=t===n?t:mu(t))},Un.reverse=na,Un.sampleSize=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:mu(t),(Va(e)?er:eo)(e,t)},Un.set=function(e,t,n){return null==e?e:to(e,t,n)},Un.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:to(e,t,r,o)},Un.shuffle=function(e){return(Va(e)?tr:oo)(e)},Un.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xi(e,t,r)?(t=0,r=o):(t=null==t?0:mu(t),r=r===n?o:mu(r)),io(e,t,r)):[]},Un.sortBy=Ra,Un.sortedUniq=function(e){return e&&e.length?so(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?so(e,fi(t,2)):[]},Un.split=function(e,t,r){return r&&"number"!=typeof r&&xi(e,t,r)&&(t=r=n),(r=r===n?h:r>>>0)?(e=wu(e))&&("string"==typeof t||null!=t&&!uu(t))&&!(t=fo(t))&&ln(e)?ko(hn(e),0,r):e.split(t,r):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Oe(r);return t=null==t?0:wn(mu(t),0),Xr((function(n){var r=n[t],o=ko(n,0,t);return r&&jt(o,r),Rt(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},Un.take=function(e,t,r){return e&&e.length?io(e,0,(t=r||t===n?1:mu(t))<0?0:t):[]},Un.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?io(e,(t=o-(t=r||t===n?1:mu(t)))<0?0:t,o):[]},Un.takeRightWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?mo(e,fi(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new Oe(r);return nu(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),Da(e,t,{leading:o,maxWait:t,trailing:i})},Un.thru=va,Un.toArray=hu,Un.toPairs=Wu,Un.toPairsIn=$u,Un.toPath=function(e){return Va(e)?Lt(e,Fi):cu(e)?[e]:Oo(zi(wu(e)))},Un.toPlainObject=bu,Un.transform=function(e,t,n){var r=Va(e),o=r||Qa(e)||fu(e);if(t=fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:nu(e)&&Ja(i)?Bn(Ge(e)):{}}return(o?Pt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return Pa(e,1)},Un.union=ra,Un.unionBy=oa,Un.unionWith=ia,Un.uniq=function(e){return e&&e.length?po(e):[]},Un.uniqBy=function(e,t){return e&&e.length?po(e,fi(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?po(e,n,t):[]},Un.unset=function(e,t){return null==e||ho(e,t)},Un.unzip=aa,Un.unzipWith=ua,Un.update=function(e,t,n){return null==e?e:vo(e,t,_o(n))},Un.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:vo(e,t,_o(r),o)},Un.values=Uu,Un.valuesIn=function(e){return null==e?[]:en(e,Iu(e))},Un.without=la,Un.words=Ju,Un.wrap=function(e,t){return Fa(_o(t),e)},Un.xor=sa,Un.xorBy=ca,Un.xorWith=fa,Un.zip=da,Un.zipObject=function(e,t){return bo(e||[],t||[],rr)},Un.zipObjectDeep=function(e,t){return bo(e||[],t||[],to)},Un.zipWith=pa,Un.entries=Wu,Un.entriesIn=$u,Un.extend=xu,Un.extendWith=Eu,sl(Un,Un),Un.add=bl,Un.attempt=el,Un.camelCase=Bu,Un.capitalize=Hu,Un.ceil=wl,Un.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=yu(r))==r?r:0),t!==n&&(t=(t=yu(t))==t?t:0),sr(yu(e),t,r)},Un.clone=function(e){return cr(e,4)},Un.cloneDeep=function(e){return cr(e,5)},Un.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:n)},Un.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:n)},Un.conformsTo=function(e,t){return null==t||fr(e,t,Du(t))},Un.deburr=Zu,Un.defaultTo=function(e,t){return null==e||e!=e?t:e},Un.divide=_l,Un.endsWith=function(e,t,r){e=wu(e),t=fo(t);var o=e.length,i=r=r===n?o:sr(mu(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Un.eq=Ua,Un.escape=function(e){return(e=wu(e))&&Y.test(e)?e.replace(G,an):e},Un.escapeRegExp=function(e){return(e=wu(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,r){var o=Va(e)?Tt:mr;return r&&xi(e,t,r)&&(t=n),o(e,fi(t,3))},Un.find=ya,Un.findIndex=Zi,Un.findKey=function(e,t){return $t(e,fi(t,3),xr)},Un.findLast=ba,Un.findLastIndex=Vi,Un.findLastKey=function(e,t){return $t(e,fi(t,3),Er)},Un.floor=xl,Un.forEach=wa,Un.forEachRight=_a,Un.forIn=function(e,t){return null==e?e:wr(e,fi(t,3),Iu)},Un.forInRight=function(e,t){return null==e?e:_r(e,fi(t,3),Iu)},Un.forOwn=function(e,t){return e&&xr(e,fi(t,3))},Un.forOwnRight=function(e,t){return e&&Er(e,fi(t,3))},Un.get=Nu,Un.gt=Ba,Un.gte=Ha,Un.has=function(e,t){return null!=e&&yi(e,t,Pr)},Un.hasIn=Pu,Un.head=qi,Un.identity=il,Un.includes=function(e,t,n,r){e=qa(e)?e:Uu(e),n=n&&!r?mu(n):0;var o=e.length;return n<0&&(n=wn(o+n,0)),su(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Bt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:mu(n);return o<0&&(o=wn(r+o,0)),Bt(e,t,o)},Un.inRange=function(e,t,r){return t=vu(t),r===n?(r=t,t=0):r=vu(r),function(e,t,n){return e>=_n(t,n)&&e<wn(t,n)}(e=yu(e),t,r)},Un.invoke=Ou,Un.isArguments=Za,Un.isArray=Va,Un.isArrayBuffer=Ka,Un.isArrayLike=qa,Un.isArrayLikeObject=Ga,Un.isBoolean=function(e){return!0===e||!1===e||ru(e)&&Rr(e)==w},Un.isBuffer=Qa,Un.isDate=Ya,Un.isElement=function(e){return ru(e)&&1===e.nodeType&&!au(e)},Un.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Va(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||fu(e)||Za(e)))return!e.length;var t=gi(e);if(t==S||t==A)return!e.size;if(Ci(e))return!zr(e).length;for(var n in e)if(ze.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Ir(e,t)},Un.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Ir(e,t,n,r):!!o},Un.isError=Xa,Un.isFinite=function(e){return"number"==typeof e&&qt(e)},Un.isFunction=Ja,Un.isInteger=eu,Un.isLength=tu,Un.isMap=ou,Un.isMatch=function(e,t){return e===t||Lr(e,t,pi(t))},Un.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Lr(e,t,pi(t),r)},Un.isNaN=function(e){return iu(e)&&e!=+e},Un.isNative=function(e){if(Si(e))throw new Ce("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=iu,Un.isObject=nu,Un.isObjectLike=ru,Un.isPlainObject=au,Un.isRegExp=uu,Un.isSafeInteger=function(e){return eu(e)&&e>=-d&&e<=d},Un.isSet=lu,Un.isString=su,Un.isSymbol=cu,Un.isTypedArray=fu,Un.isUndefined=function(e){return e===n},Un.isWeakMap=function(e){return ru(e)&&gi(e)==D},Un.isWeakSet=function(e){return ru(e)&&"[object WeakSet]"==Rr(e)},Un.join=function(e,t){return null==e?"":yn.call(e,t)},Un.kebabCase=Vu,Un.last=Xi,Un.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=mu(r))<0?wn(o+i,0):_n(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Zt,i,!0)},Un.lowerCase=Ku,Un.lowerFirst=qu,Un.lt=du,Un.lte=pu,Un.max=function(e){return e&&e.length?gr(e,il,Nr):n},Un.maxBy=function(e,t){return e&&e.length?gr(e,fi(t,2),Nr):n},Un.mean=function(e){return Vt(e,il)},Un.meanBy=function(e,t){return Vt(e,fi(t,2))},Un.min=function(e){return e&&e.length?gr(e,il,Wr):n},Un.minBy=function(e,t){return e&&e.length?gr(e,fi(t,2),Wr):n},Un.stubArray=gl,Un.stubFalse=yl,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=El,Un.nth=function(e,t){return e&&e.length?Zr(e,mu(t)):n},Un.noConflict=function(){return vt._===this&&(vt._=Be),this},Un.noop=cl,Un.now=Na,Un.pad=function(e,t,n){e=wu(e);var r=(t=mu(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ko(bt(o),n)+e+Ko(gt(o),n)},Un.padEnd=function(e,t,n){e=wu(e);var r=(t=mu(t))?pn(e):0;return t&&r<t?e+Ko(t-r,n):e},Un.padStart=function(e,t,n){e=wu(e);var r=(t=mu(t))?pn(e):0;return t&&r<t?Ko(t-r,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(wu(e).replace(ae,""),t||0)},Un.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xi(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=vu(e),t===n?(t=e,e=0):t=vu(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Qr(e,t)},Un.reduce=function(e,t,n){var r=Va(e)?Mt:Gt,o=arguments.length<3;return r(e,fi(t,4),n,o,hr)},Un.reduceRight=function(e,t,n){var r=Va(e)?zt:Gt,o=arguments.length<3;return r(e,fi(t,4),n,o,vr)},Un.repeat=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:mu(t),Yr(wu(e),t)},Un.replace=function(){var e=arguments,t=wu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,r){var o=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=n);++o<i;){var a=null==e?n:e[Fi(t[o])];a===n&&(o=i,a=r),e=Ja(a)?a.call(e):a}return e},Un.round=kl,Un.runInContext=e,Un.sample=function(e){return(Va(e)?Jn:Jr)(e)},Un.size=function(e){if(null==e)return 0;if(qa(e))return su(e)?pn(e):e.length;var t=gi(e);return t==S||t==A?e.size:zr(e).length},Un.snakeCase=Gu,Un.some=function(e,t,r){var o=Va(e)?Ft:ao;return r&&xi(e,t,r)&&(t=n),o(e,fi(t,3))},Un.sortedIndex=function(e,t){return uo(e,t)},Un.sortedIndexBy=function(e,t,n){return lo(e,t,fi(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=uo(e,t);if(r<n&&Ua(e[r],t))return r}return-1},Un.sortedLastIndex=function(e,t){return uo(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return lo(e,t,fi(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=uo(e,t,!0)-1;if(Ua(e[n],t))return n}return-1},Un.startCase=Qu,Un.startsWith=function(e,t,n){return e=wu(e),n=null==n?0:sr(mu(n),0,e.length),t=fo(t),e.slice(n,n+t.length)==t},Un.subtract=Sl,Un.sum=function(e){return e&&e.length?Qt(e,il):0},Un.sumBy=function(e,t){return e&&e.length?Qt(e,fi(t,2)):0},Un.template=function(e,t,r){var o=Un.templateSettings;r&&xi(e,t,r)&&(t=n),e=wu(e),t=Eu({},t,o,ti);var i,a,u=Eu({},t.imports,o.imports,ti),l=Du(u),s=en(u,l),c=0,f=t.interpolate||xe,d="__p += '",p=Ae((t.escape||xe).source+"|"+f.source+"|"+(f===ee?he:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),h="//# sourceURL="+(ze.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ut+"]")+"\n";e.replace(p,(function(t,n,r,o,u,l){return r||(r=o),d+=e.slice(c,l).replace(Ee,un),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var v=ze.call(t,"variable")&&t.variable;if(v){if(de.test(v))throw new Ce("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(Z,""):d).replace(V,"$1").replace(K,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=el((function(){return Re(l,h+"return "+d).apply(n,s)}));if(m.source=d,Xa(m))throw m;return m},Un.times=function(e,t){if((e=mu(e))<1||e>d)return[];var n=h,r=_n(e,h);t=fi(t),e-=h;for(var o=Yt(r,t);++n<e;)t(n);return o},Un.toFinite=vu,Un.toInteger=mu,Un.toLength=gu,Un.toLower=function(e){return wu(e).toLowerCase()},Un.toNumber=yu,Un.toSafeInteger=function(e){return e?sr(mu(e),-d,d):0===e?e:0},Un.toString=wu,Un.toUpper=function(e){return wu(e).toUpperCase()},Un.trim=function(e,t,r){if((e=wu(e))&&(r||t===n))return Xt(e);if(!e||!(t=fo(t)))return e;var o=hn(e),i=hn(t);return ko(o,nn(o,i),rn(o,i)+1).join("")},Un.trimEnd=function(e,t,r){if((e=wu(e))&&(r||t===n))return e.slice(0,vn(e)+1);if(!e||!(t=fo(t)))return e;var o=hn(e);return ko(o,0,rn(o,hn(t))+1).join("")},Un.trimStart=function(e,t,r){if((e=wu(e))&&(r||t===n))return e.replace(ae,"");if(!e||!(t=fo(t)))return e;var o=hn(e);return ko(o,nn(o,hn(t))).join("")},Un.truncate=function(e,t){var r=30,o="...";if(nu(t)){var i="separator"in t?t.separator:i;r="length"in t?mu(t.length):r,o="omission"in t?fo(t.omission):o}var a=(e=wu(e)).length;if(ln(e)){var u=hn(e);a=u.length}if(r>=a)return e;var l=r-pn(o);if(l<1)return o;var s=u?ko(u,0,l).join(""):e.slice(0,l);if(i===n)return s+o;if(u&&(l+=s.length-l),uu(i)){if(e.slice(l).search(i)){var c,f=s;for(i.global||(i=Ae(i.source,wu(ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;s=s.slice(0,d===n?l:d)}}else if(e.indexOf(fo(i),l)!=l){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+o},Un.unescape=function(e){return(e=wu(e))&&Q.test(e)?e.replace(q,mn):e},Un.uniqueId=function(e){var t=++Fe;return wu(e)+t},Un.upperCase=Yu,Un.upperFirst=Xu,Un.each=wa,Un.eachRight=_a,Un.first=qi,sl(Un,function(){var e={};return xr(Un,(function(t,n){ze.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Pt(["drop","take"],(function(e,t){Vn.prototype[e]=function(r){r=r===n?1:wn(mu(r),0);var o=this.__filtered__&&!t?new Vn(this):this.clone();return o.__filtered__?o.__takeCount__=_n(r,o.__takeCount__):o.__views__.push({size:_n(r,h),type:e+(o.__dir__<0?"Right":"")}),o},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Xr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Or(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Ma(fi(e)))},Vn.prototype.slice=function(e,t){e=mu(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Vn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=mu(t))<0?r.dropRight(-t):r.take(t-e)),r)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(h)},xr(Vn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Un[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,u=o?[1]:arguments,l=t instanceof Vn,s=u[0],c=l||Va(t),f=function(e){var t=i.apply(Un,jt([e],u));return o&&d?t[0]:t};c&&r&&"function"==typeof s&&1!=s.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=l&&!p;if(!a&&c){t=v?t:new Vn(this);var m=e.apply(t,u);return m.__actions__.push({func:va,args:[f],thisArg:n}),new Zn(m,d)}return h&&v?e.apply(this,u):(m=this.thru(f),h?o?m.value()[0]:m.value():m)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),xr(Vn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";ze.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[Bo(n,2).name]=[{name:"wrapper",func:n}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Oo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Oo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Oo(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=wn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,s=r?u:a-1,c=this.__iteratees__,f=c.length,d=0,p=_n(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return go(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,m=e[s+=t];++v<f;){var g=c[v],y=g.iteratee,b=g.type,w=y(m);if(2==b)m=w;else if(!w){if(1==b)continue e;break e}}h[d++]=m}return h},Un.prototype.at=ma,Un.prototype.chain=function(){return ha(this)},Un.prototype.commit=function(){return new Zn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===n&&(this.__values__=hu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,r=this;r instanceof Hn;){var o=$i(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:va,args:[na],thisArg:n}),new Zn(t,this.__chain__)}return this.thru(na)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,nt&&(Un.prototype[nt]=function(){return this}),Un}();gt?((gt.exports=gn)._=gn,mt._=gn):vt._=gn}.call(YE)),Fh.exports;var e,t}var XE=qE();const Rp=new Set,PT=e=>{Rp.clear(),XE.values(e).map((({path:e})=>e)).filter((e=>!!e)).forEach((e=>Rp.add(e)))},Q0=(e,t)=>{const{props:n,params:r}=Object.keys(t).reduce(((n,r)=>(e.includes(`:${r}`)?n.props[r]=t[r]:n.params.set(r,t[r]),n)),{props:{},params:new URLSearchParams}),o=Object.keys(n).reduce(((e,t)=>{const r=new RegExp(`/:${t}\\?`,"g");return(e=e.replace(r,`/${n[t]}`)).replace(new RegExp(`:${t}`,"g"),n[t])}),e).replace(/\/:[^/]+?\?/g,"");return r.toString()?`${o}?${r.toString()}`:o};var ny,zh={exports:{}},QE=zh.exports;
55
+ */function xI(){return v$||(v$=1,e=rv,t=rv.exports,function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",a=16,u=32,l=64,c=128,s=256,f=1/0,d=9007199254740991,p=NaN,h=4294967295,v=h-1,y=h>>>1,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",u],["partialRight",l],["rearg",s]],m="[object Arguments]",b="[object Array]",w="[object Boolean]",_="[object Date]",x="[object Error]",E="[object Function]",k="[object GeneratorFunction]",S="[object Map]",C="[object Number]",R="[object Object]",N="[object Promise]",P="[object RegExp]",A="[object Set]",O="[object String]",T="[object Symbol]",D="[object WeakMap]",I="[object ArrayBuffer]",j="[object DataView]",L="[object Float32Array]",M="[object Float64Array]",z="[object Int8Array]",F="[object Int16Array]",$="[object Int32Array]",W="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",H="[object Uint32Array]",V=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,Y=RegExp(Q.source),X=RegExp(G.source),Z=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,ue=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,ke="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",Re="a-z\\xdf-\\xf6\\xf8-\\xff",Ne="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="['’]",Te="["+ke+"]",De="["+Ae+"]",Ie="["+Se+"]",je="\\d+",Le="["+Ce+"]",Me="["+Re+"]",ze="[^"+ke+Ae+je+Ce+Re+Ne+"]",Fe="\\ud83c[\\udffb-\\udfff]",$e="[^"+ke+"]",We="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Ne+"]",He="\\u200d",Ve="(?:"+Me+"|"+ze+")",Ke="(?:"+Be+"|"+ze+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Ie+"|"+Fe+")?",Ye="["+Pe+"]?",Xe=Ye+Ge+"(?:"+He+"(?:"+[$e,We,Ue].join("|")+")"+Ye+Ge+")*",Ze="(?:"+[Le,We,Ue].join("|")+")"+Xe,Je="(?:"+[$e+Ie+"?",Ie,We,Ue,Te].join("|")+")",et=RegExp(Oe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+Je+Xe,"g"),rt=RegExp([Be+"?"+Me+"+"+qe+"(?="+[De,Be,"$"].join("|")+")",Ke+"+"+Qe+"(?="+[De,Be+Ve,"$"].join("|")+")",Be+"?"+Ve+"+"+qe,Be+"+"+Qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",je,Ze].join("|"),"g"),ot=RegExp("["+He+ke+Se+Pe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ut=-1,lt={};lt[L]=lt[M]=lt[z]=lt[F]=lt[$]=lt[W]=lt[U]=lt[B]=lt[H]=!0,lt[m]=lt[b]=lt[I]=lt[w]=lt[j]=lt[_]=lt[x]=lt[E]=lt[S]=lt[C]=lt[R]=lt[P]=lt[A]=lt[O]=lt[D]=!1;var ct={};ct[m]=ct[b]=ct[I]=ct[j]=ct[w]=ct[_]=ct[L]=ct[M]=ct[z]=ct[F]=ct[$]=ct[S]=ct[C]=ct[R]=ct[P]=ct[A]=ct[O]=ct[T]=ct[W]=ct[U]=ct[B]=ct[H]=!0,ct[x]=ct[E]=ct[D]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof fa&&fa&&fa.Object===Object&&fa,ht="object"==typeof self&&self&&self.Object===Object&&self,vt=pt||ht||Function("return this")(),yt=t&&!t.nodeType&&t,gt=yt&&e&&!e.nodeType&&e,mt=gt&&gt.exports===yt,bt=mt&&pt.process,wt=function(){try{return gt&&gt.require&&gt.require("util").types||bt&&bt.binding&&bt.binding("util")}catch{}}(),_t=wt&&wt.isArrayBuffer,xt=wt&&wt.isDate,Et=wt&&wt.isMap,kt=wt&&wt.isRegExp,St=wt&&wt.isSet,Ct=wt&&wt.isTypedArray;function Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Nt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Dt(e,t){return!(null==e||!e.length)&&Bt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Lt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function zt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Ft(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var $t=qt("length");function Wt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Bt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Vt,n)}function Ht(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Vt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:p}function qt(e){return function(t){return null==t?n:t[e]}}function Qt(e){return function(t){return null==e?n:e[t]}}function Gt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Yt(e,t){for(var r,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==n&&(r=r===n?a:r+a)}return r}function Xt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e&&e.slice(0,vn(e)+1).replace(ae,"")}function Jt(e){return function(t){return e(t)}}function en(e,t){return jt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Bt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}var on=Qt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),an=Qt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function un(e){return"\\"+st[e]}function ln(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n];(u===t||u===i)&&(e[n]=i,a[o++]=n)}return a}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){return ln(e)?function(e){for(var t=nt.lastIndex=0;nt.test(e);)++t;return t}(e):$t(e)}function hn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&ue.test(e.charAt(t)););return t}var yn=Qt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){var ue,ke=(t=null==t?vt:gn.defaults(vt.Object(),t,gn.pick(vt,at))).Array,Se=t.Date,Ce=t.Error,Re=t.Function,Ne=t.Math,Pe=t.Object,Ae=t.RegExp,Oe=t.String,Te=t.TypeError,De=ke.prototype,Ie=Re.prototype,je=Pe.prototype,Le=t["__core-js_shared__"],Me=Ie.toString,ze=je.hasOwnProperty,Fe=0,$e=(ue=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+ue:"",We=je.toString,Ue=Me.call(Pe),Be=vt._,He=Ae("^"+Me.call(ze).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=mt?t.Buffer:n,Ke=t.Symbol,qe=t.Uint8Array,Qe=Ve?Ve.allocUnsafe:n,Ge=sn(Pe.getPrototypeOf,Pe),Ye=Pe.create,Xe=je.propertyIsEnumerable,Ze=De.splice,Je=Ke?Ke.isConcatSpreadable:n,nt=Ke?Ke.iterator:n,ot=Ke?Ke.toStringTag:n,st=function(){try{var e=hi(Pe,"defineProperty");return e({},"",{}),e}catch{}}(),pt=t.clearTimeout!==vt.clearTimeout&&t.clearTimeout,ht=Se&&Se.now!==vt.Date.now&&Se.now,yt=t.setTimeout!==vt.setTimeout&&t.setTimeout,gt=Ne.ceil,bt=Ne.floor,wt=Pe.getOwnPropertySymbols,$t=Ve?Ve.isBuffer:n,Qt=t.isFinite,mn=De.join,bn=sn(Pe.keys,Pe),wn=Ne.max,_n=Ne.min,xn=Se.now,En=t.parseInt,kn=Ne.random,Sn=De.reverse,Cn=hi(t,"DataView"),Rn=hi(t,"Map"),Nn=hi(t,"Promise"),Pn=hi(t,"Set"),An=hi(t,"WeakMap"),On=hi(Pe,"create"),Tn=An&&new An,Dn={},In=$i(Cn),jn=$i(Rn),Ln=$i(Nn),Mn=$i(Pn),zn=$i(An),Fn=Ke?Ke.prototype:n,$n=Fn?Fn.valueOf:n,Wn=Fn?Fn.toString:n;function Un(e){if(ru(e)&&!Ka(e)&&!(e instanceof Kn)){if(e instanceof Vn)return e;if(ze.call(e,"__wrapped__"))return Wi(e)}return new Vn(e)}var Bn=function(){function e(){}return function(t){if(!nu(t))return{};if(Ye)return Ye(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Kn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Qn(e);this.size=t.size}function Zn(e,t){var n=Ka(e),r=!n&&Va(e),o=!n&&!r&&Ya(e),i=!n&&!r&&!o&&fu(e),a=n||r||o||i,u=a?Xt(e.length,Oe):[],l=u.length;for(var c in e)(t||ze.call(e,c))&&(!a||!("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,l)))&&u.push(c);return u}function Jn(e){var t=e.length;return t?e[Yr(0,t-1)]:n}function er(e,t){return Mi(To(e),cr(t,0,e.length))}function tr(e){return Mi(To(e))}function nr(e,t,r){(r!==n&&!Ua(e[t],r)||r===n&&!(t in e))&&ur(e,t,r)}function rr(e,t,r){var o=e[t];(!ze.call(e,t)||!Ua(o,r)||r===n&&!(t in e))&&ur(e,t,r)}function or(e,t){for(var n=e.length;n--;)if(Ua(e[n][0],t))return n;return-1}function ir(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ar(e,t){return e&&Do(t,Du(t),e)}function ur(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var r=-1,o=t.length,i=ke(o),a=null==e;++r<o;)i[r]=a?n:Nu(e,t[r]);return i}function cr(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function sr(e,t,r,o,i,a){var u,l=1&t,c=2&t,s=4&t;if(r&&(u=i?r(e,o,i,a):r(e)),u!==n)return u;if(!nu(e))return e;var f=Ka(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ze.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return To(e,u)}else{var d=gi(e),p=d==E||d==k;if(Ya(e))return Co(e,l);if(d==R||d==m||p&&!i){if(u=c||p?{}:bi(e),!l)return c?function(e,t){return Do(e,yi(e),t)}(e,function(e,t){return e&&Do(t,Iu(t),e)}(u,e)):function(e,t){return Do(e,vi(e),t)}(e,ar(u,e))}else{if(!ct[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case I:return Ro(e);case w:case _:return new r(+e);case j:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case M:case z:case F:case $:case W:case U:case B:case H:return No(e,n);case S:return new r;case C:case O:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case T:return function(e){return $n?Pe($n.call(e)):{}}(e)}}(e,d,l)}}a||(a=new Xn);var h=a.get(e);if(h)return h;a.set(e,u),lu(e)?e.forEach((function(n){u.add(sr(n,t,r,n,e,a))})):ou(e)&&e.forEach((function(n,o){u.set(o,sr(n,t,r,o,e,a))}));var v=f?n:(s?c?ui:ai:c?Iu:Du)(e);return Pt(v||e,(function(n,o){v&&(n=e[o=n]),rr(u,o,sr(n,t,r,o,e,a))})),u}function fr(e,t,r){var o=r.length;if(null==e)return!o;for(e=Pe(e);o--;){var i=r[o],a=t[i],u=e[i];if(u===n&&!(i in e)||!a(u))return!1}return!0}function dr(e,t,o){if("function"!=typeof e)throw new Te(r);return Di((function(){e.apply(n,o)}),t)}function pr(e,t,n,r){var o=-1,i=Dt,a=!0,u=e.length,l=[],c=t.length;if(!u)return l;n&&(t=jt(t,Jt(n))),r?(i=It,a=!1):t.length>=200&&(i=tn,a=!1,t=new Yn(t));e:for(;++o<u;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Un.templateSettings={escape:Z,evaluate:J,interpolate:ee,variable:"",imports:{_:Un}},Un.prototype=Hn.prototype,Un.prototype.constructor=Un,Vn.prototype=Bn(Hn.prototype),Vn.prototype.constructor=Vn,Kn.prototype=Bn(Hn.prototype),Kn.prototype.constructor=Kn,qn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(On){var r=t[e];return r===o?n:r}return ze.call(t,e)?t[e]:n},qn.prototype.has=function(e){var t=this.__data__;return On?t[e]!==n:ze.call(t,e)},qn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=On&&t===n?o:t,this},Qn.prototype.clear=function(){this.__data__=[],this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=or(t,e);return!(n<0||(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,0))},Qn.prototype.get=function(e){var t=this.__data__,r=or(t,e);return r<0?n:t[r][1]},Qn.prototype.has=function(e){return or(this.__data__,e)>-1},Qn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(Rn||Qn),string:new qn}},Gn.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return di(this,e).get(e)},Gn.prototype.has=function(e){return di(this,e).has(e)},Gn.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,o),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Qn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Qn){var r=n.__data__;if(!Rn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(r)}return n.set(e,t),this.size=n.size,this};var hr=Lo(xr),vr=Lo(Er,!0);function yr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],u=t(a);if(null!=u&&(l===n?u==u&&!su(u):r(u,l)))var l=u,c=a}return c}function mr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function br(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=wi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?br(u,t-1,n,r,o):Lt(o,u):r||(o[o.length]=u)}return o}var wr=Mo(),_r=Mo(!0);function xr(e,t){return e&&wr(e,t,Du)}function Er(e,t){return e&&_r(e,t,Du)}function kr(e,t){return Tt(t,(function(t){return Ja(e[t])}))}function Sr(e,t){for(var r=0,o=(t=xo(t,e)).length;null!=e&&r<o;)e=e[Fi(t[r++])];return r&&r==o?e:n}function Cr(e,t,n){var r=t(e);return Ka(e)?r:Lt(r,n(e))}function Rr(e){return null==e?e===n?"[object Undefined]":"[object Null]":ot&&ot in Pe(e)?function(e){var t=ze.call(e,ot),r=e[ot];try{e[ot]=n;var o=!0}catch{}var i=We.call(e);return o&&(t?e[ot]=r:delete e[ot]),i}(e):function(e){return We.call(e)}(e)}function Nr(e,t){return e>t}function Pr(e,t){return null!=e&&ze.call(e,t)}function Ar(e,t){return null!=e&&t in Pe(e)}function Or(e,t,r){for(var o=r?It:Dt,i=e[0].length,a=e.length,u=a,l=ke(a),c=1/0,s=[];u--;){var f=e[u];u&&t&&(f=jt(f,Jt(t))),c=_n(f.length,c),l[u]=!r&&(t||i>=120&&f.length>=120)?new Yn(u&&f):n}f=e[0];var d=-1,p=l[0];e:for(;++d<i&&s.length<c;){var h=f[d],v=t?t(h):h;if(h=r||0!==h?h:0,!(p?tn(p,v):o(s,v,r))){for(u=a;--u;){var y=l[u];if(!(y?tn(y,v):o(e[u],v,r)))continue e}p&&p.push(v),s.push(h)}}return s}function Tr(e,t,r){var o=null==(e=Ai(e,t=xo(t,e)))?e:e[Fi(Zi(t))];return null==o?n:Rt(o,e,r)}function Dr(e){return ru(e)&&Rr(e)==m}function Ir(e,t,r,o,i){return e===t||(null==e||null==t||!ru(e)&&!ru(t)?e!=e&&t!=t:function(e,t,r,o,i,a){var u=Ka(e),l=Ka(t),c=u?b:gi(e),s=l?b:gi(t),f=(c=c==m?R:c)==R,d=(s=s==m?R:s)==R,p=c==s;if(p&&Ya(e)){if(!Ya(t))return!1;u=!0,f=!1}if(p&&!f)return a||(a=new Xn),u||fu(e)?oi(e,t,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case j:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new qe(e),new qe(t)));case w:case _:case C:return Ua(+e,+t);case x:return e.name==t.name&&e.message==t.message;case P:case O:return e==t+"";case S:var u=cn;case A:var l=1&r;if(u||(u=dn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var s=oi(u(e),u(t),r,o,i,a);return a.delete(e),s;case T:if($n)return $n.call(e)==$n.call(t)}return!1}(e,t,c,r,o,i,a);if(!(1&r)){var h=f&&ze.call(e,"__wrapped__"),v=d&&ze.call(t,"__wrapped__");if(h||v){var y=h?e.value():e,g=v?t.value():t;return a||(a=new Xn),i(y,g,r,o,a)}}return!!p&&(a||(a=new Xn),function(e,t,r,o,i,a){var u=1&r,l=ai(e),c=l.length,s=ai(t),f=s.length;if(c!=f&&!u)return!1;for(var d=c;d--;){var p=l[d];if(!(u?p in t:ze.call(t,p)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var y=!0;a.set(e,t),a.set(t,e);for(var g=u;++d<c;){var m=e[p=l[d]],b=t[p];if(o)var w=u?o(b,m,p,t,e,a):o(m,b,p,e,t,a);if(!(w===n?m===b||i(m,b,r,o,a):w)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var _=e.constructor,x=t.constructor;_!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(y=!1)}return a.delete(e),a.delete(t),y}(e,t,r,o,i,a))}(e,t,r,o,Ir,i))}function jr(e,t,r,o){var i=r.length,a=i,u=!o;if(null==e)return!a;for(e=Pe(e);i--;){var l=r[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=r[i])[0],s=e[c],f=l[1];if(u&&l[2]){if(s===n&&!(c in e))return!1}else{var d=new Xn;if(o)var p=o(s,f,c,e,t,d);if(!(p===n?Ir(f,s,3,o,d):p))return!1}}return!0}function Lr(e){return!(!nu(e)||function(e){return!!$e&&$e in e}(e))&&(Ja(e)?He:me).test($i(e))}function Mr(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Ka(e)?Br(e[0],e[1]):Ur(e):hl(e)}function zr(e){if(!Ci(e))return bn(e);var t=[];for(var n in Pe(e))ze.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!nu(e))return function(e){var t=[];if(null!=e)for(var n in Pe(e))t.push(n);return t}(e);var t=Ci(e),n=[];for(var r in e)"constructor"==r&&(t||!ze.call(e,r))||n.push(r);return n}function $r(e,t){return e<t}function Wr(e,t){var n=-1,r=Qa(e)?ke(e.length):[];return hr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Ur(e){var t=pi(e);return 1==t.length&&t[0][2]?Ni(t[0][0],t[0][1]):function(n){return n===e||jr(n,e,t)}}function Br(e,t){return Ei(e)&&Ri(t)?Ni(Fi(e),t):function(r){var o=Nu(r,e);return o===n&&o===t?Pu(r,e):Ir(t,o,3)}}function Hr(e,t,r,o,i){e!==t&&wr(t,(function(a,u){if(i||(i=new Xn),nu(a))!function(e,t,r,o,i,a,u){var l=Oi(e,r),c=Oi(t,r),s=u.get(c);if(s)nr(e,r,s);else{var f=a?a(l,c,r+"",e,t,u):n,d=f===n;if(d){var p=Ka(c),h=!p&&Ya(c),v=!p&&!h&&fu(c);f=c,p||h||v?Ka(l)?f=l:Ga(l)?f=To(l):h?(d=!1,f=Co(c,!0)):v?(d=!1,f=No(c,!0)):f=[]:au(c)||Va(c)?(f=l,Va(l)?f=bu(l):(!nu(l)||Ja(l))&&(f=bi(c))):d=!1}d&&(u.set(c,f),i(f,c,o,a,u),u.delete(c)),nr(e,r,f)}}(e,t,u,r,Hr,o,i);else{var l=o?o(Oi(e,u),a,u+"",e,t,i):n;l===n&&(l=a),nr(e,u,l)}}),Iu)}function Vr(e,t){var r=e.length;if(r)return _i(t+=t<0?r:0,r)?e[t]:n}function Kr(e,t,n){t=t.length?jt(t,(function(e){return Ka(e)?function(t){return Sr(t,1===e.length?e[0]:e)}:e})):[il];var r=-1;return t=jt(t,Jt(fi())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Wr(e,(function(e,n,o){return{criteria:jt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var l=Po(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function qr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Sr(e,a);n(u,a)&&to(i,xo(a,e),u)}return i}function Qr(e,t,n,r){var o=r?Ht:Bt,i=-1,a=t.length,u=e;for(e===t&&(t=To(t)),n&&(u=jt(e,Jt(n)));++i<a;)for(var l=0,c=t[i],s=n?n(c):c;(l=o(u,s,l,r))>-1;)u!==e&&Ze.call(u,l,1),Ze.call(e,l,1);return e}function Gr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?Ze.call(e,o,1):ho(e,o)}}return e}function Yr(e,t){return e+bt(kn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=bt(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Ii(Pi(e,t,il),e+"")}function Jr(e){return Jn(Uu(e))}function eo(e,t){var n=Uu(e);return Mi(n,cr(t,0,n.length))}function to(e,t,r,o){if(!nu(e))return e;for(var i=-1,a=(t=xo(t,e)).length,u=a-1,l=e;null!=l&&++i<a;){var c=Fi(t[i]),s=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=u){var f=l[c];(s=o?o(f,c,l):n)===n&&(s=nu(f)?f:_i(t[i+1])?[]:{})}rr(l,c,s),l=l[c]}return e}var no=Tn?function(e,t){return Tn.set(e,t),e}:il,ro=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:nl(t),writable:!0})}:il;function oo(e){return Mi(Uu(e))}function io(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ke(o);++r<o;)i[r]=e[r+t];return i}function ao(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function uo(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=y){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!su(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,il,n)}function lo(e,t,r,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var u=(t=r(t))!=t,l=null===t,c=su(t),s=t===n;i<a;){var f=bt((i+a)/2),d=r(e[f]),p=d!==n,h=null===d,y=d==d,g=su(d);if(u)var m=o||y;else m=s?y&&(o||p):l?y&&p&&(o||!h):c?y&&p&&!h&&(o||!g):!h&&!g&&(o?d<=t:d<t);m?i=f+1:a=f}return _n(a,v)}function co(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ua(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function so(e){return"number"==typeof e?e:su(e)?p:+e}function fo(e){if("string"==typeof e)return e;if(Ka(e))return jt(e,fo)+"";if(su(e))return Wn?Wn.call(e):"";var t=e+"";return"0"==t&&1/e==-f?"-0":t}function po(e,t,n){var r=-1,o=Dt,i=e.length,a=!0,u=[],l=u;if(n)a=!1,o=It;else if(i>=200){var c=t?null:Zo(e);if(c)return dn(c);a=!1,o=tn,l=new Yn}else l=t?[]:u;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),u.push(s)}else o(l,f,n)||(l!==u&&l.push(f),u.push(s))}return u}function ho(e,t){return null==(e=Ai(e,t=xo(t,e)))||delete e[Fi(Zi(t))]}function vo(e,t,n,r){return to(e,t,n(Sr(e,t)),r)}function yo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?io(e,r?0:i,r?i+1:o):io(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Kn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}function mo(e,t,n){var r=e.length;if(r<2)return r?po(e[0]):[];for(var o=-1,i=ke(r);++o<r;)for(var a=e[o],u=-1;++u<r;)u!=o&&(i[o]=pr(i[o]||a,e[u],t,n));return po(br(i,1),t,n)}function bo(e,t,r){for(var o=-1,i=e.length,a=t.length,u={};++o<i;){var l=o<a?t[o]:n;r(u,e[o],l)}return u}function wo(e){return Ga(e)?e:[]}function _o(e){return"function"==typeof e?e:il}function xo(e,t){return Ka(e)?e:Ei(e,t)?[e]:zi(wu(e))}var Eo=Zr;function ko(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:io(e,t,r)}var So=pt||function(e){return vt.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=Qe?Qe(n):new e.constructor(n);return e.copy(r),r}function Ro(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function No(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Po(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,a=su(e),u=t!==n,l=null===t,c=t==t,s=su(t);if(!l&&!s&&!a&&e>t||a&&u&&c&&!l&&!s||o&&u&&c||!r&&c||!i)return 1;if(!o&&!a&&!s&&e<t||s&&r&&i&&!o&&!a||l&&r&&i||!u&&i||!c)return-1}return 0}function Ao(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,l=t.length,c=wn(i-a,0),s=ke(l+c),f=!r;++u<l;)s[u]=t[u];for(;++o<a;)(f||o<i)&&(s[n[o]]=e[o]);for(;c--;)s[u++]=e[o++];return s}function Oo(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,l=-1,c=t.length,s=wn(i-u,0),f=ke(s+c),d=!r;++o<s;)f[o]=e[o];for(var p=o;++l<c;)f[p+l]=t[l];for(;++a<u;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function To(e,t){var n=-1,r=e.length;for(t||(t=ke(r));++n<r;)t[n]=e[n];return t}function Do(e,t,r,o){var i=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var l=t[a],c=o?o(r[l],e[l],l,r,e):n;c===n&&(c=e[l]),i?ur(r,l,c):rr(r,l,c)}return r}function Io(e,t){return function(n,r){var o=Ka(n)?Nt:ir,i=t?t():{};return o(n,e,fi(r,2),i)}}function jo(e){return Zr((function(t,r){var o=-1,i=r.length,a=i>1?r[i-1]:n,u=i>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(i--,a):n,u&&xi(r[0],r[1],u)&&(a=i<3?n:a,i=1),t=Pe(t);++o<i;){var l=r[o];l&&e(t,l,o,a)}return t}))}function Lo(e,t){return function(n,r){if(null==n)return n;if(!Qa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Pe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Mo(e){return function(t,n,r){for(var o=-1,i=Pe(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function zo(e){return function(t){var r=ln(t=wu(t))?hn(t):n,o=r?r[0]:t.charAt(0),i=r?ko(r,1).join(""):t.slice(1);return o[e]()+i}}function Fo(e){return function(t){return Mt(Ju(Vu(t).replace(et,"")),e,"")}}function $o(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Bn(e.prototype),r=e.apply(n,t);return nu(r)?r:n}}function Wo(e){return function(t,r,o){var i=Pe(t);if(!Qa(t)){var a=fi(r,3);t=Du(t),r=function(e){return a(i[e],e,i)}}var u=e(t,r,o);return u>-1?i[a?t[u]:u]:n}}function Uo(e){return ii((function(t){var o=t.length,i=o,a=Vn.prototype.thru;for(e&&t.reverse();i--;){var u=t[i];if("function"!=typeof u)throw new Te(r);if(a&&!l&&"wrapper"==ci(u))var l=new Vn([],!0)}for(i=l?i:o;++i<o;){var c=ci(u=t[i]),s="wrapper"==c?li(u):n;l=s&&ki(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?l[ci(s[0])].apply(l,s[3]):1==u.length&&ki(u)?l[c]():l.thru(u)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Ka(n))return l.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Bo(e,t,r,o,i,a,u,l,s,f){var d=t&c,p=1&t,h=2&t,v=24&t,y=512&t,g=h?n:$o(e);return function c(){for(var m=arguments.length,b=ke(m),w=m;w--;)b[w]=arguments[w];if(v)var _=si(c),x=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,_);if(o&&(b=Ao(b,o,i,v)),a&&(b=Oo(b,a,u,v)),m-=x,v&&m<f){var E=fn(b,_);return Yo(e,t,Bo,c.placeholder,r,b,E,l,s,f-m)}var k=p?r:this,S=h?k[e]:e;return m=b.length,l?b=function(e,t){for(var r=e.length,o=_n(t.length,r),i=To(e);o--;){var a=t[o];e[o]=_i(a,r)?i[a]:n}return e}(b,l):y&&m>1&&b.reverse(),d&&s<m&&(b.length=s),this&&this!==vt&&this instanceof c&&(S=g||$o(S)),S.apply(k,b)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=fo(r),o=fo(o)):(r=so(r),o=so(o)),i=e(r,o)}return i}}function Ko(e){return ii((function(t){return t=jt(t,Jt(fi())),Zr((function(n){var r=this;return e(t,(function(e){return Rt(e,r,n)}))}))}))}function qo(e,t){var r=(t=t===n?" ":fo(t)).length;if(r<2)return r?Xr(t,e):t;var o=Xr(t,gt(e/pn(t)));return ln(t)?ko(hn(o),0,e).join(""):o.slice(0,e)}function Qo(e){return function(t,r,o){return o&&"number"!=typeof o&&xi(t,r,o)&&(r=o=n),t=vu(t),r===n?(r=t,t=0):r=vu(r),function(e,t,n,r){for(var o=-1,i=wn(gt((t-e)/(n||1)),0),a=ke(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,r,o=o===n?t<r?1:-1:vu(o),e)}}function Go(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=mu(t),n=mu(n)),e(t,n)}}function Yo(e,t,r,o,i,a,c,s,f,d){var p=8&t;t|=p?u:l,4&(t&=~(p?l:u))||(t&=-4);var h=[e,t,i,p?a:n,p?c:n,p?n:a,p?n:c,s,f,d],v=r.apply(n,h);return ki(e)&&Ti(v,h),v.placeholder=o,ji(v,e,t)}function Xo(e){var t=Ne[e];return function(e,n){if(e=mu(e),(n=null==n?0:_n(yu(n),292))&&Qt(e)){var r=(wu(e)+"e").split("e");return+((r=(wu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zo=Pn&&1/dn(new Pn([,-0]))[1]==f?function(e){return new Pn(e)}:sl;function Jo(e){return function(t){var n=gi(t);return n==S?cn(t):n==A?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return jt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ei(e,t,o,f,d,p,h,v){var y=2&t;if(!y&&"function"!=typeof e)throw new Te(r);var g=f?f.length:0;if(g||(t&=-97,f=d=n),h=h===n?h:wn(yu(h),0),v=v===n?v:yu(v),g-=d?d.length:0,t&l){var m=f,b=d;f=d=n}var w=y?n:li(e),_=[e,t,o,f,d,m,b,p,h,v];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,u=r==c&&8==n||r==c&&n==s&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!u)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var f=e[3];e[3]=f?Ao(f,l,t[4]):l,e[4]=f?fn(e[3],i):t[4]}(l=t[5])&&(f=e[5],e[5]=f?Oo(f,l,t[6]):l,e[6]=f?fn(e[5],i):t[6]),(l=t[7])&&(e[7]=l),r&c&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(_,w),e=_[0],t=_[1],o=_[2],f=_[3],d=_[4],!(v=_[9]=_[9]===n?y?0:e.length:wn(_[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||t==a?function(e,t,r){var o=$o(e);return function i(){for(var a=arguments.length,u=ke(a),l=a,c=si(i);l--;)u[l]=arguments[l];var s=a<3&&u[0]!==c&&u[a-1]!==c?[]:fn(u,c);return(a-=s.length)<r?Yo(e,t,Bo,i.placeholder,n,u,s,n,n,r-a):Rt(this&&this!==vt&&this instanceof i?o:e,this,u)}}(e,t,v):t!=u&&33!=t||d.length?Bo.apply(n,_):function(e,t,n,r){var o=1&t,i=$o(e);return function t(){for(var a=-1,u=arguments.length,l=-1,c=r.length,s=ke(c+u),f=this&&this!==vt&&this instanceof t?i:e;++l<c;)s[l]=r[l];for(;u--;)s[l++]=arguments[++a];return Rt(f,o?n:this,s)}}(e,t,o,f);else var x=function(e,t,n){var r=1&t,o=$o(e);return function t(){return(this&&this!==vt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return ji((w?no:Ti)(x,_),e,t)}function ti(e,t,r,o){return e===n||Ua(e,je[r])&&!ze.call(o,r)?t:e}function ni(e,t,r,o,i,a){return nu(e)&&nu(t)&&(a.set(t,e),Hr(e,t,n,ni,a),a.delete(t)),e}function ri(e){return au(e)?n:e}function oi(e,t,r,o,i,a){var u=1&r,l=e.length,c=t.length;if(l!=c&&!(u&&c>l))return!1;var s=a.get(e),f=a.get(t);if(s&&f)return s==t&&f==e;var d=-1,p=!0,h=2&r?new Yn:n;for(a.set(e,t),a.set(t,e);++d<l;){var v=e[d],y=t[d];if(o)var g=u?o(y,v,d,t,e,a):o(v,y,d,e,t,a);if(g!==n){if(g)continue;p=!1;break}if(h){if(!Ft(t,(function(e,t){if(!tn(h,t)&&(v===e||i(v,e,r,o,a)))return h.push(t)}))){p=!1;break}}else if(v!==y&&!i(v,y,r,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ii(e){return Ii(Pi(e,n,qi),e+"")}function ai(e){return Cr(e,Du,vi)}function ui(e){return Cr(e,Iu,yi)}var li=Tn?function(e){return Tn.get(e)}:sl;function ci(e){for(var t=e.name+"",n=Dn[t],r=ze.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function si(e){return(ze.call(Un,"placeholder")?Un:e).placeholder}function fi(){var e=Un.iteratee||al;return e=e===al?Mr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function pi(e){for(var t=Du(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ri(o)]}return t}function hi(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Lr(r)?r:n}var vi=wt?function(e){return null==e?[]:(e=Pe(e),Tt(wt(e),(function(t){return Xe.call(e,t)})))}:gl,yi=wt?function(e){for(var t=[];e;)Lt(t,vi(e)),e=Ge(e);return t}:gl,gi=Rr;function mi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Fi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&tu(o)&&_i(a,o)&&(Ka(e)||Va(e))}function bi(e){return"function"!=typeof e.constructor||Ci(e)?{}:Bn(Ge(e))}function wi(e){return Ka(e)||Va(e)||!!(Je&&e&&e[Je])}function _i(e,t){var n=typeof e;return!!(t=t??d)&&("number"==n||"symbol"!=n&&we.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!nu(n))return!1;var r=typeof t;return!!("number"==r?Qa(n)&&_i(t,n.length):"string"==r&&t in n)&&Ua(n[t],e)}function Ei(e,t){if(Ka(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!su(e))||ne.test(e)||!te.test(e)||null!=t&&e in Pe(t)}function ki(e){var t=ci(e),n=Un[t];if("function"!=typeof n||!(t in Kn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(Cn&&gi(new Cn(new ArrayBuffer(1)))!=j||Rn&&gi(new Rn)!=S||Nn&&gi(Nn.resolve())!=N||Pn&&gi(new Pn)!=A||An&&gi(new An)!=D)&&(gi=function(e){var t=Rr(e),r=t==R?e.constructor:n,o=r?$i(r):"";if(o)switch(o){case In:return j;case jn:return S;case Ln:return N;case Mn:return A;case zn:return D}return t});var Si=Le?Ja:ml;function Ci(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)}function Ri(e){return e==e&&!nu(e)}function Ni(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in Pe(r))}}function Pi(e,t,r){return t=wn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=wn(n.length-t,0),a=ke(i);++o<i;)a[o]=n[t+o];o=-1;for(var u=ke(t+1);++o<t;)u[o]=n[o];return u[t]=r(a),Rt(e,this,u)}}function Ai(e,t){return t.length<2?e:Sr(e,io(t,0,-1))}function Oi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ti=Li(no),Di=yt||function(e,t){return vt.setTimeout(e,t)},Ii=Li(ro);function ji(e,t,n){var r=t+"";return Ii(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(g,(function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(se):[]}(r),n)))}function Li(e){var t=0,r=0;return function(){var o=xn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Mi(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var a=Yr(r,i),u=e[a];e[a]=e[r],e[r]=u}return e.length=t,e}var zi=function(e){var t=La(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function Fi(e){if("string"==typeof e||su(e))return e;var t=e+"";return"0"==t&&1/e==-f?"-0":t}function $i(e){if(null!=e){try{return Me.call(e)}catch{}try{return e+""}catch{}}return""}function Wi(e){if(e instanceof Kn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=To(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ui=Zr((function(e,t){return Ga(e)?pr(e,br(t,1,Ga,!0)):[]})),Bi=Zr((function(e,t){var r=Zi(t);return Ga(r)&&(r=n),Ga(e)?pr(e,br(t,1,Ga,!0),fi(r,2)):[]})),Hi=Zr((function(e,t){var r=Zi(t);return Ga(r)&&(r=n),Ga(e)?pr(e,br(t,1,Ga,!0),n,r):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:yu(n);return o<0&&(o=wn(r+o,0)),Ut(e,fi(t,3),o)}function Ki(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=yu(r),i=r<0?wn(o+i,0):_n(i,o-1)),Ut(e,fi(t,3),i,!0)}function qi(e){return null!=e&&e.length?br(e,1):[]}function Qi(e){return e&&e.length?e[0]:n}var Gi=Zr((function(e){var t=jt(e,wo);return t.length&&t[0]===e[0]?Or(t):[]})),Yi=Zr((function(e){var t=Zi(e),r=jt(e,wo);return t===Zi(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Or(r,fi(t,2)):[]})),Xi=Zr((function(e){var t=Zi(e),r=jt(e,wo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Or(r,n,t):[]}));function Zi(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ji=Zr(ea);function ea(e,t){return e&&e.length&&t&&t.length?Qr(e,t):e}var ta=ii((function(e,t){var n=null==e?0:e.length,r=lr(e,t);return Gr(e,jt(t,(function(e){return _i(e,n)?+e:e})).sort(Po)),r}));function na(e){return null==e?e:Sn.call(e)}var ra=Zr((function(e){return po(br(e,1,Ga,!0))})),oa=Zr((function(e){var t=Zi(e);return Ga(t)&&(t=n),po(br(e,1,Ga,!0),fi(t,2))})),ia=Zr((function(e){var t=Zi(e);return t="function"==typeof t?t:n,po(br(e,1,Ga,!0),n,t)}));function aa(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Ga(e))return t=wn(e.length,t),!0})),Xt(t,(function(t){return jt(e,qt(t))}))}function ua(e,t){if(!e||!e.length)return[];var r=aa(e);return null==t?r:jt(r,(function(e){return Rt(t,n,e)}))}var la=Zr((function(e,t){return Ga(e)?pr(e,t):[]})),ca=Zr((function(e){return mo(Tt(e,Ga))})),sa=Zr((function(e){var t=Zi(e);return Ga(t)&&(t=n),mo(Tt(e,Ga),fi(t,2))})),fa=Zr((function(e){var t=Zi(e);return t="function"==typeof t?t:n,mo(Tt(e,Ga),n,t)})),da=Zr(aa),pa=Zr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ua(e,r)}));function ha(e){var t=Un(e);return t.__chain__=!0,t}function va(e,t){return t(e)}var ya=ii((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Kn&&_i(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:va,args:[i],thisArg:n}),new Vn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)})),ga=Io((function(e,t,n){ze.call(e,n)?++e[n]:ur(e,n,1)})),ma=Wo(Vi),ba=Wo(Ki);function wa(e,t){return(Ka(e)?Pt:hr)(e,fi(t,3))}function _a(e,t){return(Ka(e)?At:vr)(e,fi(t,3))}var xa=Io((function(e,t,n){ze.call(e,n)?e[n].push(t):ur(e,n,[t])})),Ea=Zr((function(e,t,n){var r=-1,o="function"==typeof t,i=Qa(e)?ke(e.length):[];return hr(e,(function(e){i[++r]=o?Rt(t,e,n):Tr(e,t,n)})),i})),ka=Io((function(e,t,n){ur(e,n,t)}));function Sa(e,t){return(Ka(e)?jt:Wr)(e,fi(t,3))}var Ca=Io((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ra=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,br(t,1),[])})),Na=ht||function(){return vt.Date.now()};function Pa(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ei(e,c,n,n,n,n,t)}function Aa(e,t){var o;if("function"!=typeof t)throw new Te(r);return e=yu(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Oa=Zr((function(e,t,n){var r=1;if(n.length){var o=fn(n,si(Oa));r|=u}return ei(e,r,t,n,o)})),Ta=Zr((function(e,t,n){var r=3;if(n.length){var o=fn(n,si(Ta));r|=u}return ei(t,r,e,n,o)}));function Da(e,t,o){var i,a,u,l,c,s,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Te(r);function v(t){var r=i,o=a;return i=a=n,f=t,l=e.apply(o,r)}function y(e){var r=e-s;return s===n||r>=t||r<0||p&&e-f>=u}function g(){var e=Na();if(y(e))return m(e);c=Di(g,function(e){var n=t-(e-s);return p?_n(n,u-(e-f)):n}(e))}function m(e){return c=n,h&&i?v(e):(i=a=n,l)}function b(){var e=Na(),r=y(e);if(i=arguments,a=this,s=e,r){if(c===n)return function(e){return f=e,c=Di(g,t),d?v(e):l}(s);if(p)return So(c),c=Di(g,t),v(s)}return c===n&&(c=Di(g,t)),l}return t=mu(t)||0,nu(o)&&(d=!!o.leading,u=(p="maxWait"in o)?wn(mu(o.maxWait)||0,t):u,h="trailing"in o?!!o.trailing:h),b.cancel=function(){c!==n&&So(c),f=0,i=s=a=c=n},b.flush=function(){return c===n?l:m(Na())},b}var Ia=Zr((function(e,t){return dr(e,1,t)})),ja=Zr((function(e,t,n){return dr(e,mu(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Gn),n}function Ma(e){if("function"!=typeof e)throw new Te(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Gn;var za=Eo((function(e,t){var n=(t=1==t.length&&Ka(t[0])?jt(t[0],Jt(fi())):jt(br(t,1),Jt(fi()))).length;return Zr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Rt(e,this,r)}))})),Fa=Zr((function(e,t){var r=fn(t,si(Fa));return ei(e,u,n,t,r)})),$a=Zr((function(e,t){var r=fn(t,si($a));return ei(e,l,n,t,r)})),Wa=ii((function(e,t){return ei(e,s,n,n,n,t)}));function Ua(e,t){return e===t||e!=e&&t!=t}var Ba=Go(Nr),Ha=Go((function(e,t){return e>=t})),Va=Dr(function(){return arguments}())?Dr:function(e){return ru(e)&&ze.call(e,"callee")&&!Xe.call(e,"callee")},Ka=ke.isArray,qa=_t?Jt(_t):function(e){return ru(e)&&Rr(e)==I};function Qa(e){return null!=e&&tu(e.length)&&!Ja(e)}function Ga(e){return ru(e)&&Qa(e)}var Ya=$t||ml,Xa=xt?Jt(xt):function(e){return ru(e)&&Rr(e)==_};function Za(e){if(!ru(e))return!1;var t=Rr(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!au(e)}function Ja(e){if(!nu(e))return!1;var t=Rr(e);return t==E||t==k||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eu(e){return"number"==typeof e&&e==yu(e)}function tu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function nu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ru(e){return null!=e&&"object"==typeof e}var ou=Et?Jt(Et):function(e){return ru(e)&&gi(e)==S};function iu(e){return"number"==typeof e||ru(e)&&Rr(e)==C}function au(e){if(!ru(e)||Rr(e)!=R)return!1;var t=Ge(e);if(null===t)return!0;var n=ze.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Ue}var uu=kt?Jt(kt):function(e){return ru(e)&&Rr(e)==P},lu=St?Jt(St):function(e){return ru(e)&&gi(e)==A};function cu(e){return"string"==typeof e||!Ka(e)&&ru(e)&&Rr(e)==O}function su(e){return"symbol"==typeof e||ru(e)&&Rr(e)==T}var fu=Ct?Jt(Ct):function(e){return ru(e)&&tu(e.length)&&!!lt[Rr(e)]},du=Go($r),pu=Go((function(e,t){return e<=t}));function hu(e){if(!e)return[];if(Qa(e))return cu(e)?hn(e):To(e);if(nt&&e[nt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[nt]());var t=gi(e);return(t==S?cn:t==A?dn:Uu)(e)}function vu(e){return e?(e=mu(e))===f||e===-f?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function yu(e){var t=vu(e),n=t%1;return t==t?n?t-n:t:0}function gu(e){return e?cr(yu(e),0,h):0}function mu(e){if("number"==typeof e)return e;if(su(e))return p;if(nu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ge.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ye.test(e)?p:+e}function bu(e){return Do(e,Iu(e))}function wu(e){return null==e?"":fo(e)}var _u=jo((function(e,t){if(Ci(t)||Qa(t))Do(t,Du(t),e);else for(var n in t)ze.call(t,n)&&rr(e,n,t[n])})),xu=jo((function(e,t){Do(t,Iu(t),e)})),Eu=jo((function(e,t,n,r){Do(t,Iu(t),e,r)})),ku=jo((function(e,t,n,r){Do(t,Du(t),e,r)})),Su=ii(lr),Cu=Zr((function(e,t){e=Pe(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&xi(t[0],t[1],i)&&(o=1);++r<o;)for(var a=t[r],u=Iu(a),l=-1,c=u.length;++l<c;){var s=u[l],f=e[s];(f===n||Ua(f,je[s])&&!ze.call(e,s))&&(e[s]=a[s])}return e})),Ru=Zr((function(e){return e.push(n,ni),Rt(Lu,n,e)}));function Nu(e,t,r){var o=null==e?n:Sr(e,t);return o===n?r:o}function Pu(e,t){return null!=e&&mi(e,t,Ar)}var Au=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=We.call(t)),e[t]=n}),nl(il)),Ou=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=We.call(t)),ze.call(e,t)?e[t].push(n):e[t]=[n]}),fi),Tu=Zr(Tr);function Du(e){return Qa(e)?Zn(e):zr(e)}function Iu(e){return Qa(e)?Zn(e,!0):Fr(e)}var ju=jo((function(e,t,n){Hr(e,t,n)})),Lu=jo((function(e,t,n,r){Hr(e,t,n,r)})),Mu=ii((function(e,t){var n={};if(null==e)return n;var r=!1;t=jt(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Do(e,ui(e),n),r&&(n=sr(n,7,ri));for(var o=t.length;o--;)ho(n,t[o]);return n})),zu=ii((function(e,t){return null==e?{}:function(e,t){return qr(e,t,(function(t,n){return Pu(e,n)}))}(e,t)}));function Fu(e,t){if(null==e)return{};var n=jt(ui(e),(function(e){return[e]}));return t=fi(t),qr(e,n,(function(e,n){return t(e,n[0])}))}var $u=Jo(Du),Wu=Jo(Iu);function Uu(e){return null==e?[]:en(e,Du(e))}var Bu=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hu(t):t)}));function Hu(e){return Zu(wu(e).toLowerCase())}function Vu(e){return(e=wu(e))&&e.replace(_e,on).replace(tt,"")}var Ku=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qu=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Qu=zo("toLowerCase"),Gu=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Yu=Fo((function(e,t,n){return e+(n?" ":"")+Zu(t)})),Xu=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zu=zo("toUpperCase");function Ju(e,t,r){return e=wu(e),(t=r?n:t)===n?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var el=Zr((function(e,t){try{return Rt(e,n,t)}catch(e){return Za(e)?e:new Ce(e)}})),tl=ii((function(e,t){return Pt(t,(function(t){t=Fi(t),ur(e,t,Oa(e[t],e))})),e}));function nl(e){return function(){return e}}var rl=Uo(),ol=Uo(!0);function il(e){return e}function al(e){return Mr("function"==typeof e?e:sr(e,1))}var ul=Zr((function(e,t){return function(n){return Tr(n,e,t)}})),ll=Zr((function(e,t){return function(n){return Tr(e,n,t)}}));function cl(e,t,n){var r=Du(t),o=kr(t,r);null==n&&(!nu(t)||!o.length&&r.length)&&(n=t,t=e,e=this,o=kr(t,Du(t)));var i=!(nu(n)&&"chain"in n&&!n.chain),a=Ja(e);return Pt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=To(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function sl(){}var fl=Ko(jt),dl=Ko(Ot),pl=Ko(Ft);function hl(e){return Ei(e)?qt(Fi(e)):function(e){return function(t){return Sr(t,e)}}(e)}var vl=Qo(),yl=Qo(!0);function gl(){return[]}function ml(){return!1}var bl=Vo((function(e,t){return e+t}),0),wl=Xo("ceil"),_l=Vo((function(e,t){return e/t}),1),xl=Xo("floor"),El=Vo((function(e,t){return e*t}),1),kl=Xo("round"),Sl=Vo((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Te(r);return e=yu(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=Pa,Un.assign=_u,Un.assignIn=xu,Un.assignInWith=Eu,Un.assignWith=ku,Un.at=Su,Un.before=Aa,Un.bind=Oa,Un.bindAll=tl,Un.bindKey=Ta,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Un.chain=ha,Un.chunk=function(e,t,r){t=(r?xi(e,t,r):t===n)?1:wn(yu(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,u=ke(gt(o/t));i<o;)u[a++]=io(e,i,i+=t);return u},Un.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ke(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Lt(Ka(n)?To(n):[n],br(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=fi();return e=t?jt(e,(function(e){if("function"!=typeof e[1])throw new Te(r);return[n(e[0]),e[1]]})):[],Zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Rt(o[0],this,n))return Rt(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Du(e);return function(n){return fr(n,e,t)}}(sr(e,1))},Un.constant=nl,Un.countBy=ga,Un.create=function(e,t){var n=Bn(e);return null==t?n:ar(n,t)},Un.curry=function e(t,r,o){var i=ei(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Un.curryRight=function e(t,r,o){var i=ei(t,a,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Un.debounce=Da,Un.defaults=Cu,Un.defaultsDeep=Ru,Un.defer=Ia,Un.delay=ja,Un.difference=Ui,Un.differenceBy=Bi,Un.differenceWith=Hi,Un.drop=function(e,t,r){var o=null==e?0:e.length;return o?io(e,(t=r||t===n?1:yu(t))<0?0:t,o):[]},Un.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?io(e,0,(t=o-(t=r||t===n?1:yu(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?yo(e,fi(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?yo(e,fi(t,3),!0):[]},Un.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&xi(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=yu(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:yu(o))<0&&(o+=i),o=r>o?0:gu(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Un.filter=function(e,t){return(Ka(e)?Tt:mr)(e,fi(t,3))},Un.flatMap=function(e,t){return br(Sa(e,t),1)},Un.flatMapDeep=function(e,t){return br(Sa(e,t),f)},Un.flatMapDepth=function(e,t,r){return r=r===n?1:yu(r),br(Sa(e,t),r)},Un.flatten=qi,Un.flattenDeep=function(e){return null!=e&&e.length?br(e,f):[]},Un.flattenDepth=function(e,t){return null!=e&&e.length?br(e,t=t===n?1:yu(t)):[]},Un.flip=function(e){return ei(e,512)},Un.flow=rl,Un.flowRight=ol,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Un.functions=function(e){return null==e?[]:kr(e,Du(e))},Un.functionsIn=function(e){return null==e?[]:kr(e,Iu(e))},Un.groupBy=xa,Un.initial=function(e){return null!=e&&e.length?io(e,0,-1):[]},Un.intersection=Gi,Un.intersectionBy=Yi,Un.intersectionWith=Xi,Un.invert=Au,Un.invertBy=Ou,Un.invokeMap=Ea,Un.iteratee=al,Un.keyBy=ka,Un.keys=Du,Un.keysIn=Iu,Un.map=Sa,Un.mapKeys=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){ur(n,t(e,r,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){ur(n,r,t(e,r,o))})),n},Un.matches=function(e){return Ur(sr(e,1))},Un.matchesProperty=function(e,t){return Br(e,sr(t,1))},Un.memoize=La,Un.merge=ju,Un.mergeWith=Lu,Un.method=ul,Un.methodOf=ll,Un.mixin=cl,Un.negate=Ma,Un.nthArg=function(e){return e=yu(e),Zr((function(t){return Vr(t,e)}))},Un.omit=Mu,Un.omitBy=function(e,t){return Fu(e,Ma(fi(t)))},Un.once=function(e){return Aa(2,e)},Un.orderBy=function(e,t,r,o){return null==e?[]:(Ka(t)||(t=null==t?[]:[t]),Ka(r=o?n:r)||(r=null==r?[]:[r]),Kr(e,t,r))},Un.over=fl,Un.overArgs=za,Un.overEvery=dl,Un.overSome=pl,Un.partial=Fa,Un.partialRight=$a,Un.partition=Ca,Un.pick=zu,Un.pickBy=Fu,Un.property=hl,Un.propertyOf=function(e){return function(t){return null==e?n:Sr(e,t)}},Un.pull=Ji,Un.pullAll=ea,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Qr(e,t,fi(n,2)):e},Un.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Qr(e,t,n,r):e},Un.pullAt=ta,Un.range=vl,Un.rangeRight=yl,Un.rearg=Wa,Un.reject=function(e,t){return(Ka(e)?Tt:mr)(e,Ma(fi(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=fi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Gr(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new Te(r);return Zr(e,t=t===n?t:yu(t))},Un.reverse=na,Un.sampleSize=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:yu(t),(Ka(e)?er:eo)(e,t)},Un.set=function(e,t,n){return null==e?e:to(e,t,n)},Un.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:to(e,t,r,o)},Un.shuffle=function(e){return(Ka(e)?tr:oo)(e)},Un.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xi(e,t,r)?(t=0,r=o):(t=null==t?0:yu(t),r=r===n?o:yu(r)),io(e,t,r)):[]},Un.sortBy=Ra,Un.sortedUniq=function(e){return e&&e.length?co(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?co(e,fi(t,2)):[]},Un.split=function(e,t,r){return r&&"number"!=typeof r&&xi(e,t,r)&&(t=r=n),(r=r===n?h:r>>>0)?(e=wu(e))&&("string"==typeof t||null!=t&&!uu(t))&&!(t=fo(t))&&ln(e)?ko(hn(e),0,r):e.split(t,r):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Te(r);return t=null==t?0:wn(yu(t),0),Zr((function(n){var r=n[t],o=ko(n,0,t);return r&&Lt(o,r),Rt(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},Un.take=function(e,t,r){return e&&e.length?io(e,0,(t=r||t===n?1:yu(t))<0?0:t):[]},Un.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?io(e,(t=o-(t=r||t===n?1:yu(t)))<0?0:t,o):[]},Un.takeRightWhile=function(e,t){return e&&e.length?yo(e,fi(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?yo(e,fi(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new Te(r);return nu(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),Da(e,t,{leading:o,maxWait:t,trailing:i})},Un.thru=va,Un.toArray=hu,Un.toPairs=$u,Un.toPairsIn=Wu,Un.toPath=function(e){return Ka(e)?jt(e,Fi):su(e)?[e]:To(zi(wu(e)))},Un.toPlainObject=bu,Un.transform=function(e,t,n){var r=Ka(e),o=r||Ya(e)||fu(e);if(t=fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:nu(e)&&Ja(i)?Bn(Ge(e)):{}}return(o?Pt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return Pa(e,1)},Un.union=ra,Un.unionBy=oa,Un.unionWith=ia,Un.uniq=function(e){return e&&e.length?po(e):[]},Un.uniqBy=function(e,t){return e&&e.length?po(e,fi(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?po(e,n,t):[]},Un.unset=function(e,t){return null==e||ho(e,t)},Un.unzip=aa,Un.unzipWith=ua,Un.update=function(e,t,n){return null==e?e:vo(e,t,_o(n))},Un.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:vo(e,t,_o(r),o)},Un.values=Uu,Un.valuesIn=function(e){return null==e?[]:en(e,Iu(e))},Un.without=la,Un.words=Ju,Un.wrap=function(e,t){return Fa(_o(t),e)},Un.xor=ca,Un.xorBy=sa,Un.xorWith=fa,Un.zip=da,Un.zipObject=function(e,t){return bo(e||[],t||[],rr)},Un.zipObjectDeep=function(e,t){return bo(e||[],t||[],to)},Un.zipWith=pa,Un.entries=$u,Un.entriesIn=Wu,Un.extend=xu,Un.extendWith=Eu,cl(Un,Un),Un.add=bl,Un.attempt=el,Un.camelCase=Bu,Un.capitalize=Hu,Un.ceil=wl,Un.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=mu(r))==r?r:0),t!==n&&(t=(t=mu(t))==t?t:0),cr(mu(e),t,r)},Un.clone=function(e){return sr(e,4)},Un.cloneDeep=function(e){return sr(e,5)},Un.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:n)},Un.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:n)},Un.conformsTo=function(e,t){return null==t||fr(e,t,Du(t))},Un.deburr=Vu,Un.defaultTo=function(e,t){return null==e||e!=e?t:e},Un.divide=_l,Un.endsWith=function(e,t,r){e=wu(e),t=fo(t);var o=e.length,i=r=r===n?o:cr(yu(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Un.eq=Ua,Un.escape=function(e){return(e=wu(e))&&X.test(e)?e.replace(G,an):e},Un.escapeRegExp=function(e){return(e=wu(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,r){var o=Ka(e)?Ot:yr;return r&&xi(e,t,r)&&(t=n),o(e,fi(t,3))},Un.find=ma,Un.findIndex=Vi,Un.findKey=function(e,t){return Wt(e,fi(t,3),xr)},Un.findLast=ba,Un.findLastIndex=Ki,Un.findLastKey=function(e,t){return Wt(e,fi(t,3),Er)},Un.floor=xl,Un.forEach=wa,Un.forEachRight=_a,Un.forIn=function(e,t){return null==e?e:wr(e,fi(t,3),Iu)},Un.forInRight=function(e,t){return null==e?e:_r(e,fi(t,3),Iu)},Un.forOwn=function(e,t){return e&&xr(e,fi(t,3))},Un.forOwnRight=function(e,t){return e&&Er(e,fi(t,3))},Un.get=Nu,Un.gt=Ba,Un.gte=Ha,Un.has=function(e,t){return null!=e&&mi(e,t,Pr)},Un.hasIn=Pu,Un.head=Qi,Un.identity=il,Un.includes=function(e,t,n,r){e=Qa(e)?e:Uu(e),n=n&&!r?yu(n):0;var o=e.length;return n<0&&(n=wn(o+n,0)),cu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Bt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:yu(n);return o<0&&(o=wn(r+o,0)),Bt(e,t,o)},Un.inRange=function(e,t,r){return t=vu(t),r===n?(r=t,t=0):r=vu(r),function(e,t,n){return e>=_n(t,n)&&e<wn(t,n)}(e=mu(e),t,r)},Un.invoke=Tu,Un.isArguments=Va,Un.isArray=Ka,Un.isArrayBuffer=qa,Un.isArrayLike=Qa,Un.isArrayLikeObject=Ga,Un.isBoolean=function(e){return!0===e||!1===e||ru(e)&&Rr(e)==w},Un.isBuffer=Ya,Un.isDate=Xa,Un.isElement=function(e){return ru(e)&&1===e.nodeType&&!au(e)},Un.isEmpty=function(e){if(null==e)return!0;if(Qa(e)&&(Ka(e)||"string"==typeof e||"function"==typeof e.splice||Ya(e)||fu(e)||Va(e)))return!e.length;var t=gi(e);if(t==S||t==A)return!e.size;if(Ci(e))return!zr(e).length;for(var n in e)if(ze.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Ir(e,t)},Un.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Ir(e,t,n,r):!!o},Un.isError=Za,Un.isFinite=function(e){return"number"==typeof e&&Qt(e)},Un.isFunction=Ja,Un.isInteger=eu,Un.isLength=tu,Un.isMap=ou,Un.isMatch=function(e,t){return e===t||jr(e,t,pi(t))},Un.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,jr(e,t,pi(t),r)},Un.isNaN=function(e){return iu(e)&&e!=+e},Un.isNative=function(e){if(Si(e))throw new Ce("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=iu,Un.isObject=nu,Un.isObjectLike=ru,Un.isPlainObject=au,Un.isRegExp=uu,Un.isSafeInteger=function(e){return eu(e)&&e>=-d&&e<=d},Un.isSet=lu,Un.isString=cu,Un.isSymbol=su,Un.isTypedArray=fu,Un.isUndefined=function(e){return e===n},Un.isWeakMap=function(e){return ru(e)&&gi(e)==D},Un.isWeakSet=function(e){return ru(e)&&"[object WeakSet]"==Rr(e)},Un.join=function(e,t){return null==e?"":mn.call(e,t)},Un.kebabCase=Ku,Un.last=Zi,Un.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=yu(r))<0?wn(o+i,0):_n(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Vt,i,!0)},Un.lowerCase=qu,Un.lowerFirst=Qu,Un.lt=du,Un.lte=pu,Un.max=function(e){return e&&e.length?gr(e,il,Nr):n},Un.maxBy=function(e,t){return e&&e.length?gr(e,fi(t,2),Nr):n},Un.mean=function(e){return Kt(e,il)},Un.meanBy=function(e,t){return Kt(e,fi(t,2))},Un.min=function(e){return e&&e.length?gr(e,il,$r):n},Un.minBy=function(e,t){return e&&e.length?gr(e,fi(t,2),$r):n},Un.stubArray=gl,Un.stubFalse=ml,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=El,Un.nth=function(e,t){return e&&e.length?Vr(e,yu(t)):n},Un.noConflict=function(){return vt._===this&&(vt._=Be),this},Un.noop=sl,Un.now=Na,Un.pad=function(e,t,n){e=wu(e);var r=(t=yu(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return qo(bt(o),n)+e+qo(gt(o),n)},Un.padEnd=function(e,t,n){e=wu(e);var r=(t=yu(t))?pn(e):0;return t&&r<t?e+qo(t-r,n):e},Un.padStart=function(e,t,n){e=wu(e);var r=(t=yu(t))?pn(e):0;return t&&r<t?qo(t-r,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(wu(e).replace(ae,""),t||0)},Un.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xi(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=vu(e),t===n?(t=e,e=0):t=vu(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Yr(e,t)},Un.reduce=function(e,t,n){var r=Ka(e)?Mt:Gt,o=arguments.length<3;return r(e,fi(t,4),n,o,hr)},Un.reduceRight=function(e,t,n){var r=Ka(e)?zt:Gt,o=arguments.length<3;return r(e,fi(t,4),n,o,vr)},Un.repeat=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:yu(t),Xr(wu(e),t)},Un.replace=function(){var e=arguments,t=wu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,r){var o=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=n);++o<i;){var a=null==e?n:e[Fi(t[o])];a===n&&(o=i,a=r),e=Ja(a)?a.call(e):a}return e},Un.round=kl,Un.runInContext=e,Un.sample=function(e){return(Ka(e)?Jn:Jr)(e)},Un.size=function(e){if(null==e)return 0;if(Qa(e))return cu(e)?pn(e):e.length;var t=gi(e);return t==S||t==A?e.size:zr(e).length},Un.snakeCase=Gu,Un.some=function(e,t,r){var o=Ka(e)?Ft:ao;return r&&xi(e,t,r)&&(t=n),o(e,fi(t,3))},Un.sortedIndex=function(e,t){return uo(e,t)},Un.sortedIndexBy=function(e,t,n){return lo(e,t,fi(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=uo(e,t);if(r<n&&Ua(e[r],t))return r}return-1},Un.sortedLastIndex=function(e,t){return uo(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return lo(e,t,fi(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=uo(e,t,!0)-1;if(Ua(e[n],t))return n}return-1},Un.startCase=Yu,Un.startsWith=function(e,t,n){return e=wu(e),n=null==n?0:cr(yu(n),0,e.length),t=fo(t),e.slice(n,n+t.length)==t},Un.subtract=Sl,Un.sum=function(e){return e&&e.length?Yt(e,il):0},Un.sumBy=function(e,t){return e&&e.length?Yt(e,fi(t,2)):0},Un.template=function(e,t,r){var o=Un.templateSettings;r&&xi(e,t,r)&&(t=n),e=wu(e),t=Eu({},t,o,ti);var i,a,u=Eu({},t.imports,o.imports,ti),l=Du(u),c=en(u,l),s=0,f=t.interpolate||xe,d="__p += '",p=Ae((t.escape||xe).source+"|"+f.source+"|"+(f===ee?he:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),h="//# sourceURL="+(ze.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ut+"]")+"\n";e.replace(p,(function(t,n,r,o,u,l){return r||(r=o),d+=e.slice(s,l).replace(Ee,un),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),d+="';\n";var v=ze.call(t,"variable")&&t.variable;if(v){if(de.test(v))throw new Ce("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(V,""):d).replace(K,"$1").replace(q,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var y=el((function(){return Re(l,h+"return "+d).apply(n,c)}));if(y.source=d,Za(y))throw y;return y},Un.times=function(e,t){if((e=yu(e))<1||e>d)return[];var n=h,r=_n(e,h);t=fi(t),e-=h;for(var o=Xt(r,t);++n<e;)t(n);return o},Un.toFinite=vu,Un.toInteger=yu,Un.toLength=gu,Un.toLower=function(e){return wu(e).toLowerCase()},Un.toNumber=mu,Un.toSafeInteger=function(e){return e?cr(yu(e),-d,d):0===e?e:0},Un.toString=wu,Un.toUpper=function(e){return wu(e).toUpperCase()},Un.trim=function(e,t,r){if((e=wu(e))&&(r||t===n))return Zt(e);if(!e||!(t=fo(t)))return e;var o=hn(e),i=hn(t);return ko(o,nn(o,i),rn(o,i)+1).join("")},Un.trimEnd=function(e,t,r){if((e=wu(e))&&(r||t===n))return e.slice(0,vn(e)+1);if(!e||!(t=fo(t)))return e;var o=hn(e);return ko(o,0,rn(o,hn(t))+1).join("")},Un.trimStart=function(e,t,r){if((e=wu(e))&&(r||t===n))return e.replace(ae,"");if(!e||!(t=fo(t)))return e;var o=hn(e);return ko(o,nn(o,hn(t))).join("")},Un.truncate=function(e,t){var r=30,o="...";if(nu(t)){var i="separator"in t?t.separator:i;r="length"in t?yu(t.length):r,o="omission"in t?fo(t.omission):o}var a=(e=wu(e)).length;if(ln(e)){var u=hn(e);a=u.length}if(r>=a)return e;var l=r-pn(o);if(l<1)return o;var c=u?ko(u,0,l).join(""):e.slice(0,l);if(i===n)return c+o;if(u&&(l+=c.length-l),uu(i)){if(e.slice(l).search(i)){var s,f=c;for(i.global||(i=Ae(i.source,wu(ve.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var d=s.index;c=c.slice(0,d===n?l:d)}}else if(e.indexOf(fo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+o},Un.unescape=function(e){return(e=wu(e))&&Y.test(e)?e.replace(Q,yn):e},Un.uniqueId=function(e){var t=++Fe;return wu(e)+t},Un.upperCase=Xu,Un.upperFirst=Zu,Un.each=wa,Un.eachRight=_a,Un.first=Qi,cl(Un,function(){var e={};return xr(Un,(function(t,n){ze.call(Un.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Un.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Pt(["drop","take"],(function(e,t){Kn.prototype[e]=function(r){r=r===n?1:wn(yu(r),0);var o=this.__filtered__&&!t?new Kn(this):this.clone();return o.__filtered__?o.__takeCount__=_n(r,o.__takeCount__):o.__views__.push({size:_n(r,h),type:e+(o.__dir__<0?"Right":"")}),o},Kn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Kn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Kn.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Kn.prototype[e]=function(){return this.__filtered__?new Kn(this):this[n](1)}})),Kn.prototype.compact=function(){return this.filter(il)},Kn.prototype.find=function(e){return this.filter(e).head()},Kn.prototype.findLast=function(e){return this.reverse().find(e)},Kn.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new Kn(this):this.map((function(n){return Tr(n,e,t)}))})),Kn.prototype.reject=function(e){return this.filter(Ma(fi(e)))},Kn.prototype.slice=function(e,t){e=yu(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Kn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=yu(t))<0?r.dropRight(-t):r.take(t-e)),r)},Kn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Kn.prototype.toArray=function(){return this.take(h)},xr(Kn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Un[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,u=o?[1]:arguments,l=t instanceof Kn,c=u[0],s=l||Ka(t),f=function(e){var t=i.apply(Un,Lt([e],u));return o&&d?t[0]:t};s&&r&&"function"==typeof c&&1!=c.length&&(l=s=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,v=l&&!p;if(!a&&s){t=v?t:new Kn(this);var y=e.apply(t,u);return y.__actions__.push({func:va,args:[f],thisArg:n}),new Vn(y,d)}return h&&v?e.apply(this,u):(y=this.thru(f),h?o?y.value()[0]:y.value():y)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ka(o)?o:[],e)}return this[n]((function(n){return t.apply(Ka(n)?n:[],e)}))}})),xr(Kn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";ze.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}})),Dn[Bo(n,2).name]=[{name:"wrapper",func:n}],Kn.prototype.clone=function(){var e=new Kn(this.__wrapped__);return e.__actions__=To(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=To(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=To(this.__views__),e},Kn.prototype.reverse=function(){if(this.__filtered__){var e=new Kn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Kn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=wn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,c=r?u:a-1,s=this.__iteratees__,f=s.length,d=0,p=_n(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return go(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,y=e[c+=t];++v<f;){var g=s[v],m=g.iteratee,b=g.type,w=m(y);if(2==b)y=w;else if(!w){if(1==b)continue e;break e}}h[d++]=y}return h},Un.prototype.at=ya,Un.prototype.chain=function(){return ha(this)},Un.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===n&&(this.__values__=hu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,r=this;r instanceof Hn;){var o=Wi(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Kn){var t=e;return this.__actions__.length&&(t=new Kn(this)),(t=t.reverse()).__actions__.push({func:va,args:[na],thisArg:n}),new Vn(t,this.__chain__)}return this.thru(na)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,nt&&(Un.prototype[nt]=function(){return this}),Un}();gt?((gt.exports=gn)._=gn,yt._=gn):vt._=gn}.call(wI)),rv.exports;var e,t}var bI=xI();const jp=new Set,ZF=e=>{jp.clear(),bI.values(e).map((({path:e})=>e)).filter((e=>!!e)).forEach((e=>jp.add(e)))},zx=(e,t)=>{const{props:n,params:r}=Object.keys(t).reduce(((n,r)=>(e.includes(`:${r}`)?n.props[r]=t[r]:n.params.set(r,t[r]),n)),{props:{},params:new URLSearchParams}),o=Object.keys(n).reduce(((e,t)=>{const r=new RegExp(`/:${t}\\?`,"g");return(e=e.replace(r,`/${n[t]}`)).replace(new RegExp(`:${t}`,"g"),n[t])}),e).replace(/\/:[^/]+?\?/g,"");return r.toString()?`${o}?${r.toString()}`:o};var g$,ov={exports:{}},$I=ov.exports;
56
56
  /**
57
57
  * @license
58
58
  * Lodash <https://lodash.com/>
@@ -60,28 +60,28 @@ function hE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&
60
60
  * Released under MIT license <https://lodash.com/license>
61
61
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
62
62
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
63
- */function ZE(){return ny||(ny=1,e=zh,t=zh.exports,function(){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function o(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function i(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function a(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function u(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function l(e,t){return!(null==e||!e.length)&&g(e,t,0)>-1}function s(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function c(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function f(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function d(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function p(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function h(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function v(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function m(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function g(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):m(e,b,n)}function y(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function b(e){return e!=e}function w(e,t){var n=null==e?0:e.length;return n?k(e,t)/n:X}function _(e){return function(t){return null==t?$:t[e]}}function x(e){return function(t){return null==e?$:e[t]}}function E(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function k(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==$&&(n=n===$?i:n+i)}return n}function S(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e){return e&&e.slice(0,W(e)+1).replace(Ze,"")}function R(e){return function(t){return e(t)}}function N(e,t){return c(t,(function(t){return e[t]}))}function P(e,t){return e.has(t)}function A(e,t){for(var n=-1,r=e.length;++n<r&&g(t,e[n],0)>-1;);return n}function T(e,t){for(var n=e.length;n--&&g(t,e[n],0)>-1;);return n}function O(e){return"\\"+Gt[e]}function D(e){return Bt.test(e)}function I(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function L(e,t){return function(n){return e(t(n))}}function j(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==H||(e[n]=H,i[o++]=n)}return i}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function z(e){return D(e)?function(e){for(var t=$t.lastIndex=0;$t.test(e);)++t;return t}(e):pn(e)}function F(e){return D(e)?function(e){return e.match($t)||[]}(e):function(e){return e.split("")}(e)}function W(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var $,U="Expected a function",B="__lodash_hash_undefined__",H="__lodash_placeholder__",Z=16,V=32,K=64,q=128,G=256,Q=1/0,Y=9007199254740991,X=NaN,J=4294967295,ee=J-1,te=J>>>1,ne=[["ary",q],["bind",1],["bindKey",2],["curry",8],["curryRight",Z],["flip",512],["partial",V],["partialRight",K],["rearg",G]],re="[object Arguments]",oe="[object Array]",ie="[object Boolean]",ae="[object Date]",ue="[object Error]",le="[object Function]",se="[object GeneratorFunction]",ce="[object Map]",fe="[object Number]",de="[object Object]",pe="[object Promise]",he="[object RegExp]",ve="[object Set]",me="[object String]",ge="[object Symbol]",ye="[object WeakMap]",be="[object ArrayBuffer]",we="[object DataView]",_e="[object Float32Array]",xe="[object Float64Array]",Ee="[object Int8Array]",ke="[object Int16Array]",Se="[object Int32Array]",Ce="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ne="[object Uint16Array]",Pe="[object Uint32Array]",Ae=/\b__p \+= '';/g,Te=/\b(__p \+=) '' \+/g,Oe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,De=/&(?:amp|lt|gt|quot|#39);/g,Ie=/[&<>"']/g,Le=RegExp(De.source),je=RegExp(Ie.source),Me=/<%-([\s\S]+?)%>/g,ze=/<%([\s\S]+?)%>/g,Fe=/<%=([\s\S]+?)%>/g,We=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$e=/^\w*$/,Ue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/[\\^$.*+?()[\]{}|]/g,He=RegExp(Be.source),Ze=/^\s+/,Ve=/\s/,Ke=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ge=/,? & /,Qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ye=/[()=,{}\[\]\/\s]/,Xe=/\\(\\)?/g,Je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,et=/\w*$/,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,it=/^(?:0|[1-9]\d*)$/,at=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,st="\\ud800-\\udfff",ct="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ft="\\u2700-\\u27bf",dt="a-z\\xdf-\\xf6\\xf8-\\xff",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",ht="\\ufe0e\\ufe0f",vt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mt="['’]",gt="["+st+"]",yt="["+vt+"]",bt="["+ct+"]",wt="\\d+",_t="["+ft+"]",xt="["+dt+"]",Et="[^"+st+vt+wt+ft+dt+pt+"]",kt="\\ud83c[\\udffb-\\udfff]",St="[^"+st+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+pt+"]",Pt="\\u200d",At="(?:"+xt+"|"+Et+")",Tt="(?:"+Nt+"|"+Et+")",Ot="(?:['’](?:d|ll|m|re|s|t|ve))?",Dt="(?:['’](?:D|LL|M|RE|S|T|VE))?",It="(?:"+bt+"|"+kt+")?",Lt="["+ht+"]?",jt=Lt+It+"(?:"+Pt+"(?:"+[St,Ct,Rt].join("|")+")"+Lt+It+")*",Mt="(?:"+[_t,Ct,Rt].join("|")+")"+jt,zt="(?:"+[St+bt+"?",bt,Ct,Rt,gt].join("|")+")",Ft=RegExp(mt,"g"),Wt=RegExp(bt,"g"),$t=RegExp(kt+"(?="+kt+")|"+zt+jt,"g"),Ut=RegExp([Nt+"?"+xt+"+"+Ot+"(?="+[yt,Nt,"$"].join("|")+")",Tt+"+"+Dt+"(?="+[yt,Nt+At,"$"].join("|")+")",Nt+"?"+At+"+"+Ot,Nt+"+"+Dt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wt,Mt].join("|"),"g"),Bt=RegExp("["+Pt+st+ct+ht+"]"),Ht=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Zt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vt=-1,Kt={};Kt[_e]=Kt[xe]=Kt[Ee]=Kt[ke]=Kt[Se]=Kt[Ce]=Kt[Re]=Kt[Ne]=Kt[Pe]=!0,Kt[re]=Kt[oe]=Kt[be]=Kt[ie]=Kt[we]=Kt[ae]=Kt[ue]=Kt[le]=Kt[ce]=Kt[fe]=Kt[de]=Kt[he]=Kt[ve]=Kt[me]=Kt[ye]=!1;var qt={};qt[re]=qt[oe]=qt[be]=qt[we]=qt[ie]=qt[ae]=qt[_e]=qt[xe]=qt[Ee]=qt[ke]=qt[Se]=qt[ce]=qt[fe]=qt[de]=qt[he]=qt[ve]=qt[me]=qt[ge]=qt[Ce]=qt[Re]=qt[Ne]=qt[Pe]=!0,qt[ue]=qt[le]=qt[ye]=!1;var Gt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qt=parseFloat,Yt=parseInt,Xt="object"==typeof Cc&&Cc&&Cc.Object===Object&&Cc,Jt="object"==typeof self&&self&&self.Object===Object&&self,en=Xt||Jt||Function("return this")(),tn=t&&!t.nodeType&&t,nn=tn&&e&&!e.nodeType&&e,rn=nn&&nn.exports===tn,on=rn&&Xt.process,an=function(){try{return nn&&nn.require&&nn.require("util").types||on&&on.binding&&on.binding("util")}catch{}}(),un=an&&an.isArrayBuffer,ln=an&&an.isDate,sn=an&&an.isMap,cn=an&&an.isRegExp,fn=an&&an.isSet,dn=an&&an.isTypedArray,pn=_("length"),hn=x({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),vn=x({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),mn=x({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){function x(e){if(zo(e)&&!Nu(e)&&!(e instanceof ct)){if(e instanceof st)return e;if(Ni.call(e,"__wrapped__"))return so(e)}return new st(e)}function Ve(){}function st(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=$}function ct(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function ft(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function dt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ht(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new pt;++t<n;)this.add(e[t])}function vt(e){this.size=(this.__data__=new dt(e)).size}function mt(e,t){var n=Nu(e),r=!n&&Ru(e),o=!n&&!r&&Au(e),i=!n&&!r&&!o&&Lu(e),a=n||r||o||i,u=a?S(e.length,_i):[],l=u.length;for(var s in e)!t&&!Ni.call(e,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||qr(s,l))||u.push(s);return u}function gt(e){var t=e.length;return t?e[Dn(0,t-1)]:$}function yt(e,t){return ao(cr(e),Rt(t,0,e.length))}function bt(e){return ao(cr(e))}function wt(e,t,n){(n===$||Ao(e[t],n))&&(n!==$||t in e)||St(e,t,n)}function _t(e,t,n){var r=e[t];Ni.call(e,t)&&Ao(r,n)&&(n!==$||t in e)||St(e,t,n)}function xt(e,t){for(var n=e.length;n--;)if(Ao(e[n][0],t))return n;return-1}function Et(e,t,n,r){return Ca(e,(function(e,o,i){t(r,e,n(e),i)})),r}function kt(e,t){return e&&fr(t,Xo(t),e)}function St(e,t,n){"__proto__"==t&&Vi?Vi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ct(e,t){for(var n=-1,r=t.length,o=hi(r),i=null==e;++n<r;)o[n]=i?$:Qo(e,t[n]);return o}function Rt(e,t,n){return e==e&&(n!==$&&(e=e<=n?e:n),t!==$&&(e=e>=t?e:t)),e}function Nt(e,t,n,r,i,a){var u,l=1&t,s=2&t,c=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==$)return u;if(!Mo(e))return e;var f=Nu(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ni.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return cr(e,u)}else{var d=za(e),p=d==le||d==se;if(Au(e))return or(e,l);if(d==de||d==re||p&&!i){if(u=s||p?{}:Vr(e),!l)return s?function(e,t){return fr(e,Ma(e),t)}(e,function(e,t){return e&&fr(t,Jo(t),e)}(u,e)):function(e,t){return fr(e,ja(e),t)}(e,kt(u,e))}else{if(!qt[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case be:return ir(e);case ie:case ae:return new r(+e);case we:return function(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.byteLength)}(e,n);case _e:case xe:case Ee:case ke:case Se:case Ce:case Re:case Ne:case Pe:return ar(e,n);case ce:return new r;case fe:case me:return new r(e);case he:return function(e){var t=new e.constructor(e.source,et.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ve:return new r;case ge:return function(e){return Ea?bi(Ea.call(e)):{}}(e)}}(e,d,l)}}a||(a=new vt);var h=a.get(e);if(h)return h;a.set(e,u),Iu(e)?e.forEach((function(r){u.add(Nt(r,t,n,r,e,a))})):Ou(e)&&e.forEach((function(r,o){u.set(o,Nt(r,t,n,o,e,a))}));var v=f?$:(c?s?zr:Mr:s?Jo:Xo)(e);return o(v||e,(function(r,o){v&&(r=e[o=r]),_t(u,o,Nt(r,t,n,o,e,a))})),u}function Pt(e,t,n){var r=n.length;if(null==e)return!r;for(e=bi(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===$&&!(o in e)||!i(a))return!1}return!0}function At(e,t,n){if("function"!=typeof e)throw new xi(U);return $a((function(){e.apply($,n)}),t)}function Tt(e,t,n,r){var o=-1,i=l,a=!0,u=e.length,f=[],d=t.length;if(!u)return f;n&&(t=c(t,R(n))),r?(i=s,a=!1):t.length>=200&&(i=P,a=!1,t=new ht(t));e:for(;++o<u;){var p=e[o],h=null==n?p:n(p);if(p=r||0!==p?p:0,a&&h==h){for(var v=d;v--;)if(t[v]===h)continue e;f.push(p)}else i(t,h,r)||f.push(p)}return f}function Ot(e,t){var n=!0;return Ca(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Dt(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(u===$?a==a&&!Uo(a):n(a,u)))var u=a,l=i}return l}function It(e,t){var n=[];return Ca(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Lt(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Kr),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?Lt(u,t-1,n,r,o):f(o,u):r||(o[o.length]=u)}return o}function jt(e,t){return e&&Na(e,t,Xo)}function Mt(e,t){return e&&Pa(e,t,Xo)}function zt(e,t){return u(t,(function(t){return Io(e[t])}))}function $t(e,t){for(var n=0,r=(t=nr(t,e)).length;null!=e&&n<r;)e=e[uo(t[n++])];return n&&n==r?e:$}function Bt(e,t,n){var r=t(e);return Nu(e)?r:f(r,n(e))}function Gt(e){return null==e?e===$?"[object Undefined]":"[object Null]":Zi&&Zi in bi(e)?function(e){var t=Ni.call(e,Zi),n=e[Zi];try{e[Zi]=$;var r=!0}catch{}var o=Ti.call(e);return r&&(t?e[Zi]=n:delete e[Zi]),o}(e):function(e){return Ti.call(e)}(e)}function Xt(e,t){return e>t}function Jt(e,t){return null!=e&&Ni.call(e,t)}function tn(e,t){return null!=e&&t in bi(e)}function nn(e,t,n){for(var r=n?s:l,o=e[0].length,i=e.length,a=i,u=hi(i),f=1/0,d=[];a--;){var p=e[a];a&&t&&(p=c(p,R(t))),f=oa(p.length,f),u[a]=!n&&(t||o>=120&&p.length>=120)?new ht(a&&p):$}p=e[0];var h=-1,v=u[0];e:for(;++h<o&&d.length<f;){var m=p[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(v?P(v,g):r(d,g,n))){for(a=i;--a;){var y=u[a];if(!(y?P(y,g):r(e[a],g,n)))continue e}v&&v.push(g),d.push(m)}}return d}function on(e,t,r){var o=null==(e=no(e,t=nr(t,e)))?e:e[uo(vo(t))];return null==o?$:n(o,e,r)}function an(e){return zo(e)&&Gt(e)==re}function pn(e,t,n,r,o){return e===t||(null==e||null==t||!zo(e)&&!zo(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Nu(e),u=Nu(t),l=a?oe:za(e),s=u?oe:za(t),c=(l=l==re?de:l)==de,f=(s=s==re?de:s)==de,d=l==s;if(d&&Au(e)){if(!Au(t))return!1;a=!0,c=!1}if(d&&!c)return i||(i=new vt),a||Lu(e)?Lr(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case we:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case be:return!(e.byteLength!=t.byteLength||!i(new Mi(e),new Mi(t)));case ie:case ae:case fe:return Ao(+e,+t);case ue:return e.name==t.name&&e.message==t.message;case he:case me:return e==t+"";case ce:var u=I;case ve:var l=1&r;if(u||(u=M),e.size!=t.size&&!l)return!1;var s=a.get(e);if(s)return s==t;r|=2,a.set(e,t);var c=Lr(u(e),u(t),r,o,i,a);return a.delete(e),c;case ge:if(Ea)return Ea.call(e)==Ea.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var p=c&&Ni.call(e,"__wrapped__"),h=f&&Ni.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,m=h?t.value():t;return i||(i=new vt),o(v,m,n,r,i)}}return!!d&&(i||(i=new vt),function(e,t,n,r,o,i){var a=1&n,u=Mr(e),l=u.length;if(l!=Mr(t).length&&!a)return!1;for(var s=l;s--;){var c=u[s];if(!(a?c in t:Ni.call(t,c)))return!1}var f=i.get(e),d=i.get(t);if(f&&d)return f==t&&d==e;var p=!0;i.set(e,t),i.set(t,e);for(var h=a;++s<l;){var v=e[c=u[s]],m=t[c];if(r)var g=a?r(m,v,c,t,e,i):r(v,m,c,e,t,i);if(!(g===$?v===m||o(v,m,n,r,i):g)){p=!1;break}h||(h="constructor"==c)}if(p&&!h){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,i))}(e,t,n,r,pn,o))}function yn(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=bi(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var l=(u=n[o])[0],s=e[l],c=u[1];if(a&&u[2]){if(s===$&&!(l in e))return!1}else{var f=new vt;if(r)var d=r(s,c,l,e,t,f);if(!(d===$?pn(c,s,3,r,f):d))return!1}}return!0}function bn(e){return!(!Mo(e)||function(e){return!!Ai&&Ai in e}(e))&&(Io(e)?Ii:rt).test(lo(e))}function wn(e){return"function"==typeof e?e:null==e?ai:"object"==typeof e?Nu(e)?Cn(e[0],e[1]):Sn(e):ci(e)}function _n(e){if(!Xr(e))return na(e);var t=[];for(var n in bi(e))Ni.call(e,n)&&"constructor"!=n&&t.push(n);return t}function xn(e){if(!Mo(e))return function(e){var t=[];if(null!=e)for(var n in bi(e))t.push(n);return t}(e);var t=Xr(e),n=[];for(var r in e)("constructor"!=r||!t&&Ni.call(e,r))&&n.push(r);return n}function En(e,t){return e<t}function kn(e,t){var n=-1,r=To(e)?hi(e.length):[];return Ca(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Sn(e){var t=Br(e);return 1==t.length&&t[0][2]?eo(t[0][0],t[0][1]):function(n){return n===e||yn(n,e,t)}}function Cn(e,t){return Qr(e)&&Jr(t)?eo(uo(e),t):function(n){var r=Qo(n,e);return r===$&&r===t?Yo(n,e):pn(t,r,3)}}function Rn(e,t,n,r,o){e!==t&&Na(t,(function(i,a){if(o||(o=new vt),Mo(i))!function(e,t,n,r,o,i,a){var u=ro(e,n),l=ro(t,n),s=a.get(l);if(s)return wt(e,n,s),$;var c=i?i(u,l,n+"",e,t,a):$,f=c===$;if(f){var d=Nu(l),p=!d&&Au(l),h=!d&&!p&&Lu(l);c=l,d||p||h?Nu(u)?c=u:Oo(u)?c=cr(u):p?(f=!1,c=or(l,!0)):h?(f=!1,c=ar(l,!0)):c=[]:Wo(l)||Ru(l)?(c=u,Ru(u)?c=qo(u):Mo(u)&&!Io(u)||(c=Vr(l))):f=!1}f&&(a.set(l,c),o(c,l,r,i,a),a.delete(l)),wt(e,n,c)}(e,t,a,n,Rn,r,o);else{var u=r?r(ro(e,a),i,a+"",e,t,o):$;u===$&&(u=i),wt(e,a,u)}}),Jo)}function Nn(e,t){var n=e.length;if(n)return qr(t+=t<0?n:0,n)?e[t]:$}function Pn(e,t,n){t=t.length?c(t,(function(e){return Nu(e)?function(t){return $t(t,1===e.length?e[0]:e)}:e})):[ai];var r=-1;return t=c(t,R($r())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(kn(e,(function(e,n,o){return{criteria:c(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var l=ur(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function An(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=$t(e,a);n(u,a)&&zn(i,nr(a,e),u)}return i}function Tn(e,t,n,r){var o=r?y:g,i=-1,a=t.length,u=e;for(e===t&&(t=cr(t)),n&&(u=c(e,R(n)));++i<a;)for(var l=0,s=t[i],f=n?n(s):s;(l=o(u,f,l,r))>-1;)u!==e&&Ui.call(u,l,1),Ui.call(e,l,1);return e}function On(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;qr(o)?Ui.call(e,o,1):qn(e,o)}}return e}function Dn(e,t){return e+Yi(ua()*(t-e+1))}function In(e,t){var n="";if(!e||t<1||t>Y)return n;do{t%2&&(n+=e),(t=Yi(t/2))&&(e+=e)}while(t);return n}function Ln(e,t){return Ua(to(e,t,ai),e+"")}function jn(e){return gt(ti(e))}function Mn(e,t){var n=ti(e);return ao(n,Rt(t,0,n.length))}function zn(e,t,n,r){if(!Mo(e))return e;for(var o=-1,i=(t=nr(t,e)).length,a=i-1,u=e;null!=u&&++o<i;){var l=uo(t[o]),s=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var c=u[l];(s=r?r(c,l,u):$)===$&&(s=Mo(c)?c:qr(t[o+1])?[]:{})}_t(u,l,s),u=u[l]}return e}function Fn(e){return ao(ti(e))}function Wn(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=hi(o);++r<o;)i[r]=e[r+t];return i}function $n(e,t){var n;return Ca(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Un(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=te){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Uo(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Bn(e,t,ai,n)}function Bn(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,u=null===t,l=Uo(t),s=t===$;o<i;){var c=Yi((o+i)/2),f=n(e[c]),d=f!==$,p=null===f,h=f==f,v=Uo(f);if(a)var m=r||h;else m=s?h&&(r||d):u?h&&d&&(r||!p):l?h&&d&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);m?o=c+1:i=c}return oa(i,ee)}function Hn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ao(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function Zn(e){return"number"==typeof e?e:Uo(e)?X:+e}function Vn(e){if("string"==typeof e)return e;if(Nu(e))return c(e,Vn)+"";if(Uo(e))return ka?ka.call(e):"";var t=e+"";return"0"==t&&1/e==-Q?"-0":t}function Kn(e,t,n){var r=-1,o=l,i=e.length,a=!0,u=[],c=u;if(n)a=!1,o=s;else if(i>=200){var f=t?null:Ia(e);if(f)return M(f);a=!1,o=P,c=new ht}else c=t?[]:u;e:for(;++r<i;){var d=e[r],p=t?t(d):d;if(d=n||0!==d?d:0,a&&p==p){for(var h=c.length;h--;)if(c[h]===p)continue e;t&&c.push(p),u.push(d)}else o(c,p,n)||(c!==u&&c.push(p),u.push(d))}return u}function qn(e,t){return null==(e=no(e,t=nr(t,e)))||delete e[uo(vo(t))]}function Gn(e,t,n,r){return zn(e,t,n($t(e,t)),r)}function Qn(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Wn(e,r?0:i,r?i+1:o):Wn(e,r?i+1:0,r?o:i)}function Yn(e,t){var n=e;return n instanceof ct&&(n=n.value()),d(t,(function(e,t){return t.func.apply(t.thisArg,f([e],t.args))}),n)}function Xn(e,t,n){var r=e.length;if(r<2)return r?Kn(e[0]):[];for(var o=-1,i=hi(r);++o<r;)for(var a=e[o],u=-1;++u<r;)u!=o&&(i[o]=Tt(i[o]||a,e[u],t,n));return Kn(Lt(i,1),t,n)}function Jn(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;)n(a,e[r],r<i?t[r]:$);return a}function er(e){return Oo(e)?e:[]}function tr(e){return"function"==typeof e?e:ai}function nr(e,t){return Nu(e)?e:Qr(e,t)?[e]:Ba(Go(e))}function rr(e,t,n){var r=e.length;return n=n===$?r:n,!t&&n>=r?e:Wn(e,t,n)}function or(e,t){if(t)return e.slice();var n=e.length,r=zi?zi(n):new e.constructor(n);return e.copy(r),r}function ir(e){var t=new e.constructor(e.byteLength);return new Mi(t).set(new Mi(e)),t}function ar(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.length)}function ur(e,t){if(e!==t){var n=e!==$,r=null===e,o=e==e,i=Uo(e),a=t!==$,u=null===t,l=t==t,s=Uo(t);if(!u&&!s&&!i&&e>t||i&&a&&l&&!u&&!s||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!s&&e<t||s&&n&&o&&!r&&!i||u&&n&&o||!a&&o||!l)return-1}return 0}function lr(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,l=t.length,s=ra(i-a,0),c=hi(l+s),f=!r;++u<l;)c[u]=t[u];for(;++o<a;)(f||o<i)&&(c[n[o]]=e[o]);for(;s--;)c[u++]=e[o++];return c}function sr(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,l=-1,s=t.length,c=ra(i-u,0),f=hi(c+s),d=!r;++o<c;)f[o]=e[o];for(var p=o;++l<s;)f[p+l]=t[l];for(;++a<u;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function cr(e,t){var n=-1,r=e.length;for(t||(t=hi(r));++n<r;)t[n]=e[n];return t}function fr(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],l=r?r(n[u],e[u],u,n,e):$;l===$&&(l=e[u]),o?St(n,u,l):_t(n,u,l)}return n}function dr(e,t){return function(n,o){var i=Nu(n)?r:Et,a=t?t():{};return i(n,e,$r(o,2),a)}}function pr(e){return Ln((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:$,a=o>2?n[2]:$;for(i=e.length>3&&"function"==typeof i?(o--,i):$,a&&Gr(n[0],n[1],a)&&(i=o<3?$:i,o=1),t=bi(t);++r<o;){var u=n[r];u&&e(t,u,r,i)}return t}))}function hr(e,t){return function(n,r){if(null==n)return n;if(!To(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=bi(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function vr(e){return function(t,n,r){for(var o=-1,i=bi(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function mr(e){return function(t){var n=D(t=Go(t))?F(t):$,r=n?n[0]:t.charAt(0),o=n?rr(n,1).join(""):t.slice(1);return r[e]()+o}}function gr(e){return function(t){return d(oi(ri(t).replace(Ft,"")),e,"")}}function yr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Sa(e.prototype),r=e.apply(n,t);return Mo(r)?r:n}}function br(e){return function(t,n,r){var o=bi(t);if(!To(t)){var i=$r(n,3);t=Xo(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:$}}function wr(e){return jr((function(t){var n=t.length,r=n,o=st.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new xi(U);if(o&&!a&&"wrapper"==Fr(i))var a=new st([],!0)}for(r=a?r:n;++r<n;){var u=Fr(i=t[r]),l="wrapper"==u?La(i):$;a=l&&Yr(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Fr(l[0])].apply(a,l[3]):1==i.length&&Yr(i)?a[u]():a.thru(i)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Nu(r))return a.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function _r(e,t,n,r,o,i,a,u,l,s){var c=t&q,f=1&t,d=2&t,p=24&t,h=512&t,v=d?$:yr(e);return function m(){for(var g=arguments.length,y=hi(g),b=g;b--;)y[b]=arguments[b];if(p)var w=Wr(m),_=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(r&&(y=lr(y,r,o,p)),i&&(y=sr(y,i,a,p)),g-=_,p&&g<s)return Nr(e,t,_r,m.placeholder,n,y,j(y,w),u,l,s-g);var x=f?n:this,E=d?x[e]:e;return g=y.length,u?y=function(e,t){for(var n=e.length,r=oa(t.length,n),o=cr(e);r--;){var i=t[r];e[r]=qr(i,n)?o[i]:$}return e}(y,u):h&&g>1&&y.reverse(),c&&l<g&&(y.length=l),this&&this!==en&&this instanceof m&&(E=v||yr(E)),E.apply(x,y)}}function xr(e,t){return function(n,r){return function(e,t,n,r){return jt(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Er(e,t){return function(n,r){var o;if(n===$&&r===$)return t;if(n!==$&&(o=n),r!==$){if(o===$)return r;"string"==typeof n||"string"==typeof r?(n=Vn(n),r=Vn(r)):(n=Zn(n),r=Zn(r)),o=e(n,r)}return o}}function kr(e){return jr((function(t){return t=c(t,R($r())),Ln((function(r){var o=this;return e(t,(function(e){return n(e,o,r)}))}))}))}function Sr(e,t){var n=(t=t===$?" ":Vn(t)).length;if(n<2)return n?In(t,e):t;var r=In(t,Qi(e/z(t)));return D(t)?rr(F(r),0,e).join(""):r.slice(0,e)}function Cr(e){return function(t,n,r){return r&&"number"!=typeof r&&Gr(t,n,r)&&(n=r=$),t=Ho(t),n===$?(n=t,t=0):n=Ho(n),function(e,t,n,r){for(var o=-1,i=ra(Qi((t-e)/(n||1)),0),a=hi(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,r=r===$?t<n?1:-1:Ho(r),e)}}function Rr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ko(t),n=Ko(n)),e(t,n)}}function Nr(e,t,n,r,o,i,a,u,l,s){var c=8&t;t|=c?V:K,4&(t&=~(c?K:V))||(t&=-4);var f=[e,t,o,c?i:$,c?a:$,c?$:i,c?$:a,u,l,s],d=n.apply($,f);return Yr(e)&&Wa(d,f),d.placeholder=r,oo(d,e,t)}function Pr(e){var t=yi[e];return function(e,n){if(e=Ko(e),(n=null==n?0:oa(Zo(n),292))&&ea(e)){var r=(Go(e)+"e").split("e");return+((r=(Go(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}function Ar(e){return function(t){var n=za(t);return n==ce?I(t):n==ve?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return c(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Tr(e,t,r,o,i,a,u,l){var s=2&t;if(!s&&"function"!=typeof e)throw new xi(U);var c=o?o.length:0;if(c||(t&=-97,o=i=$),u=u===$?u:ra(Zo(u),0),l=l===$?l:Zo(l),c-=i?i.length:0,t&K){var f=o,d=i;o=i=$}var p=s?$:La(e),h=[e,t,r,o,i,f,d,a,u,l];if(p&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==q&&8==n||r==q&&n==G&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?lr(l,u,t[4]):u,e[4]=l?j(e[3],H):t[4]}(u=t[5])&&(l=e[5],e[5]=l?sr(l,u,t[6]):u,e[6]=l?j(e[5],H):t[6]),(u=t[7])&&(e[7]=u),r&q&&(e[8]=null==e[8]?t[8]:oa(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(h,p),e=h[0],t=h[1],r=h[2],o=h[3],i=h[4],!(l=h[9]=h[9]===$?s?0:e.length:ra(h[9]-c,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||t==Z?function(e,t,r){var o=yr(e);return function i(){for(var a=arguments.length,u=hi(a),l=a,s=Wr(i);l--;)u[l]=arguments[l];var c=a<3&&u[0]!==s&&u[a-1]!==s?[]:j(u,s);return(a-=c.length)<r?Nr(e,t,_r,i.placeholder,$,u,c,$,$,r-a):n(this&&this!==en&&this instanceof i?o:e,this,u)}}(e,t,l):t!=V&&33!=t||i.length?_r.apply($,h):function(e,t,r,o){var i=1&t,a=yr(e);return function t(){for(var u=-1,l=arguments.length,s=-1,c=o.length,f=hi(c+l),d=this&&this!==en&&this instanceof t?a:e;++s<c;)f[s]=o[s];for(;l--;)f[s++]=arguments[++u];return n(d,i?r:this,f)}}(e,t,r,o);else var v=function(e,t,n){var r=1&t,o=yr(e);return function t(){return(this&&this!==en&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return oo((p?Aa:Wa)(v,h),e,t)}function Or(e,t,n,r){return e===$||Ao(e,Si[n])&&!Ni.call(r,n)?t:e}function Dr(e,t,n,r,o,i){return Mo(e)&&Mo(t)&&(i.set(t,e),Rn(e,t,$,Dr,i),i.delete(t)),e}function Ir(e){return Wo(e)?$:e}function Lr(e,t,n,r,o,i){var a=1&n,u=e.length,l=t.length;if(u!=l&&!(a&&l>u))return!1;var s=i.get(e),c=i.get(t);if(s&&c)return s==t&&c==e;var f=-1,d=!0,p=2&n?new ht:$;for(i.set(e,t),i.set(t,e);++f<u;){var v=e[f],m=t[f];if(r)var g=a?r(m,v,f,t,e,i):r(v,m,f,e,t,i);if(g!==$){if(g)continue;d=!1;break}if(p){if(!h(t,(function(e,t){if(!P(p,t)&&(v===e||o(v,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(v!==m&&!o(v,m,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function jr(e){return Ua(to(e,$,po),e+"")}function Mr(e){return Bt(e,Xo,ja)}function zr(e){return Bt(e,Jo,Ma)}function Fr(e){for(var t=e.name+"",n=ma[t],r=Ni.call(ma,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Wr(e){return(Ni.call(x,"placeholder")?x:e).placeholder}function $r(){var e=x.iteratee||ui;return e=e===ui?wn:e,arguments.length?e(arguments[0],arguments[1]):e}function Ur(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Br(e){for(var t=Xo(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Jr(o)]}return t}function Hr(e,t){var n=function(e,t){return null==e?$:e[t]}(e,t);return bn(n)?n:$}function Zr(e,t,n){for(var r=-1,o=(t=nr(t,e)).length,i=!1;++r<o;){var a=uo(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&jo(o)&&qr(a,o)&&(Nu(e)||Ru(e))}function Vr(e){return"function"!=typeof e.constructor||Xr(e)?{}:Sa(Fi(e))}function Kr(e){return Nu(e)||Ru(e)||!!(Bi&&e&&e[Bi])}function qr(e,t){var n=typeof e;return!!(t=t??Y)&&("number"==n||"symbol"!=n&&it.test(e))&&e>-1&&e%1==0&&e<t}function Gr(e,t,n){if(!Mo(n))return!1;var r=typeof t;return!!("number"==r?To(n)&&qr(t,n.length):"string"==r&&t in n)&&Ao(n[t],e)}function Qr(e,t){if(Nu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Uo(e))||$e.test(e)||!We.test(e)||null!=t&&e in bi(t)}function Yr(e){var t=Fr(e),n=x[t];if("function"!=typeof n||!(t in ct.prototype))return!1;if(e===n)return!0;var r=La(n);return!!r&&e===r[0]}function Xr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Si)}function Jr(e){return e==e&&!Mo(e)}function eo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==$||e in bi(n))}}function to(e,t,r){return t=ra(t===$?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=ra(o.length-t,0),u=hi(a);++i<a;)u[i]=o[t+i];i=-1;for(var l=hi(t+1);++i<t;)l[i]=o[i];return l[t]=r(u),n(e,this,l)}}function no(e,t){return t.length<2?e:$t(e,Wn(t,0,-1))}function ro(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function oo(e,t,n){var r=t+"";return Ua(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ke,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return o(ne,(function(n){var r="_."+n[0];t&n[1]&&!l(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(qe);return t?t[1].split(Ge):[]}(r),n)))}function io(e){var t=0,n=0;return function(){var r=ia(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply($,arguments)}}function ao(e,t){var n=-1,r=e.length,o=r-1;for(t=t===$?r:t;++n<t;){var i=Dn(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function uo(e){if("string"==typeof e||Uo(e))return e;var t=e+"";return"0"==t&&1/e==-Q?"-0":t}function lo(e){if(null!=e){try{return Ri.call(e)}catch{}try{return e+""}catch{}}return""}function so(e){if(e instanceof ct)return e.clone();var t=new st(e.__wrapped__,e.__chain__);return t.__actions__=cr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function co(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Zo(n);return o<0&&(o=ra(r+o,0)),m(e,$r(t,3),o)}function fo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Zo(n),o=n<0?ra(r+o,0):oa(o,r-1)),m(e,$r(t,3),o,!0)}function po(e){return null!=e&&e.length?Lt(e,1):[]}function ho(e){return e&&e.length?e[0]:$}function vo(e){var t=null==e?0:e.length;return t?e[t-1]:$}function mo(e,t){return e&&e.length&&t&&t.length?Tn(e,t):e}function go(e){return null==e?e:la.call(e)}function yo(e){if(!e||!e.length)return[];var t=0;return e=u(e,(function(e){if(Oo(e))return t=ra(e.length,t),!0})),S(t,(function(t){return c(e,_(t))}))}function bo(e,t){if(!e||!e.length)return[];var r=yo(e);return null==t?r:c(r,(function(e){return n(t,$,e)}))}function wo(e){var t=x(e);return t.__chain__=!0,t}function _o(e,t){return t(e)}function xo(e,t){return(Nu(e)?o:Ca)(e,$r(t,3))}function Eo(e,t){return(Nu(e)?i:Ra)(e,$r(t,3))}function ko(e,t){return(Nu(e)?c:kn)(e,$r(t,3))}function So(e,t,n){return t=n?$:t,t=e&&null==t?e.length:t,Tr(e,q,$,$,$,$,t)}function Co(e,t){var n;if("function"!=typeof t)throw new xi(U);return e=Zo(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=$),n}}function Ro(e,t,n){function r(t){var n=l,r=s;return l=s=$,h=t,f=e.apply(r,n)}function o(e){var n=e-p;return p===$||n>=t||n<0||m&&e-h>=c}function i(){var e=mu();return o(e)?a(e):(d=$a(i,function(e){var n=t-(e-p);return m?oa(n,c-(e-h)):n}(e)),$)}function a(e){return d=$,g&&l?r(e):(l=s=$,f)}function u(){var e=mu(),n=o(e);if(l=arguments,s=this,p=e,n){if(d===$)return function(e){return h=e,d=$a(i,t),v?r(e):f}(p);if(m)return Da(d),d=$a(i,t),r(p)}return d===$&&(d=$a(i,t)),f}var l,s,c,f,d,p,h=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw new xi(U);return t=Ko(t)||0,Mo(n)&&(v=!!n.leading,c=(m="maxWait"in n)?ra(Ko(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),u.cancel=function(){d!==$&&Da(d),h=0,l=p=s=d=$},u.flush=function(){return d===$?f:a(mu())},u}function No(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new xi(U);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(No.Cache||pt),n}function Po(e){if("function"!=typeof e)throw new xi(U);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ao(e,t){return e===t||e!=e&&t!=t}function To(e){return null!=e&&jo(e.length)&&!Io(e)}function Oo(e){return zo(e)&&To(e)}function Do(e){if(!zo(e))return!1;var t=Gt(e);return t==ue||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Wo(e)}function Io(e){if(!Mo(e))return!1;var t=Gt(e);return t==le||t==se||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Lo(e){return"number"==typeof e&&e==Zo(e)}function jo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Y}function Mo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zo(e){return null!=e&&"object"==typeof e}function Fo(e){return"number"==typeof e||zo(e)&&Gt(e)==fe}function Wo(e){if(!zo(e)||Gt(e)!=de)return!1;var t=Fi(e);if(null===t)return!0;var n=Ni.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ri.call(n)==Oi}function $o(e){return"string"==typeof e||!Nu(e)&&zo(e)&&Gt(e)==me}function Uo(e){return"symbol"==typeof e||zo(e)&&Gt(e)==ge}function Bo(e){if(!e)return[];if(To(e))return $o(e)?F(e):cr(e);if(Hi&&e[Hi])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Hi]());var t=za(e);return(t==ce?I:t==ve?M:ti)(e)}function Ho(e){return e?(e=Ko(e))===Q||e===-Q?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Zo(e){var t=Ho(e),n=t%1;return t==t?n?t-n:t:0}function Vo(e){return e?Rt(Zo(e),0,J):0}function Ko(e){if("number"==typeof e)return e;if(Uo(e))return X;if(Mo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=C(e);var n=nt.test(e);return n||ot.test(e)?Yt(e.slice(2),n?2:8):tt.test(e)?X:+e}function qo(e){return fr(e,Jo(e))}function Go(e){return null==e?"":Vn(e)}function Qo(e,t,n){var r=null==e?$:$t(e,t);return r===$?n:r}function Yo(e,t){return null!=e&&Zr(e,t,tn)}function Xo(e){return To(e)?mt(e):_n(e)}function Jo(e){return To(e)?mt(e,!0):xn(e)}function ei(e,t){if(null==e)return{};var n=c(zr(e),(function(e){return[e]}));return t=$r(t),An(e,n,(function(e,n){return t(e,n[0])}))}function ti(e){return null==e?[]:N(e,Xo(e))}function ni(e){return ul(Go(e).toLowerCase())}function ri(e){return(e=Go(e))&&e.replace(at,hn).replace(Wt,"")}function oi(e,t,n){return e=Go(e),(t=n?$:t)===$?function(e){return Ht.test(e)}(e)?function(e){return e.match(Ut)||[]}(e):function(e){return e.match(Qe)||[]}(e):e.match(t)||[]}function ii(e){return function(){return e}}function ai(e){return e}function ui(e){return wn("function"==typeof e?e:Nt(e,1))}function li(e,t,n){var r=Xo(t),i=zt(t,r);null!=n||Mo(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=zt(t,Xo(t)));var a=!(Mo(n)&&"chain"in n&&!n.chain),u=Io(e);return o(i,(function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=cr(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,f([this.value()],arguments))})})),e}function si(){}function ci(e){return Qr(e)?_(uo(e)):function(e){return function(t){return $t(t,e)}}(e)}function fi(){return[]}function di(){return!1}var pi,hi=(t=null==t?en:gn.defaults(en.Object(),t,gn.pick(en,Zt))).Array,vi=t.Date,mi=t.Error,gi=t.Function,yi=t.Math,bi=t.Object,wi=t.RegExp,_i=t.String,xi=t.TypeError,Ei=hi.prototype,ki=gi.prototype,Si=bi.prototype,Ci=t["__core-js_shared__"],Ri=ki.toString,Ni=Si.hasOwnProperty,Pi=0,Ai=(pi=/[^.]+$/.exec(Ci&&Ci.keys&&Ci.keys.IE_PROTO||""))?"Symbol(src)_1."+pi:"",Ti=Si.toString,Oi=Ri.call(bi),Di=en._,Ii=wi("^"+Ri.call(Ni).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Li=rn?t.Buffer:$,ji=t.Symbol,Mi=t.Uint8Array,zi=Li?Li.allocUnsafe:$,Fi=L(bi.getPrototypeOf,bi),Wi=bi.create,$i=Si.propertyIsEnumerable,Ui=Ei.splice,Bi=ji?ji.isConcatSpreadable:$,Hi=ji?ji.iterator:$,Zi=ji?ji.toStringTag:$,Vi=function(){try{var e=Hr(bi,"defineProperty");return e({},"",{}),e}catch{}}(),Ki=t.clearTimeout!==en.clearTimeout&&t.clearTimeout,qi=vi&&vi.now!==en.Date.now&&vi.now,Gi=t.setTimeout!==en.setTimeout&&t.setTimeout,Qi=yi.ceil,Yi=yi.floor,Xi=bi.getOwnPropertySymbols,Ji=Li?Li.isBuffer:$,ea=t.isFinite,ta=Ei.join,na=L(bi.keys,bi),ra=yi.max,oa=yi.min,ia=vi.now,aa=t.parseInt,ua=yi.random,la=Ei.reverse,sa=Hr(t,"DataView"),ca=Hr(t,"Map"),fa=Hr(t,"Promise"),da=Hr(t,"Set"),pa=Hr(t,"WeakMap"),ha=Hr(bi,"create"),va=pa&&new pa,ma={},ga=lo(sa),ya=lo(ca),ba=lo(fa),wa=lo(da),_a=lo(pa),xa=ji?ji.prototype:$,Ea=xa?xa.valueOf:$,ka=xa?xa.toString:$,Sa=function(){function e(){}return function(t){if(!Mo(t))return{};if(Wi)return Wi(t);e.prototype=t;var n=new e;return e.prototype=$,n}}();x.templateSettings={escape:Me,evaluate:ze,interpolate:Fe,variable:"",imports:{_:x}},x.prototype=Ve.prototype,x.prototype.constructor=x,st.prototype=Sa(Ve.prototype),st.prototype.constructor=st,ct.prototype=Sa(Ve.prototype),ct.prototype.constructor=ct,ft.prototype.clear=function(){this.__data__=ha?ha(null):{},this.size=0},ft.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ft.prototype.get=function(e){var t=this.__data__;if(ha){var n=t[e];return n===B?$:n}return Ni.call(t,e)?t[e]:$},ft.prototype.has=function(e){var t=this.__data__;return ha?t[e]!==$:Ni.call(t,e)},ft.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ha&&t===$?B:t,this},dt.prototype.clear=function(){this.__data__=[],this.size=0},dt.prototype.delete=function(e){var t=this.__data__,n=xt(t,e);return!(n<0||(n==t.length-1?t.pop():Ui.call(t,n,1),--this.size,0))},dt.prototype.get=function(e){var t=this.__data__,n=xt(t,e);return n<0?$:t[n][1]},dt.prototype.has=function(e){return xt(this.__data__,e)>-1},dt.prototype.set=function(e,t){var n=this.__data__,r=xt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},pt.prototype.clear=function(){this.size=0,this.__data__={hash:new ft,map:new(ca||dt),string:new ft}},pt.prototype.delete=function(e){var t=Ur(this,e).delete(e);return this.size-=t?1:0,t},pt.prototype.get=function(e){return Ur(this,e).get(e)},pt.prototype.has=function(e){return Ur(this,e).has(e)},pt.prototype.set=function(e,t){var n=Ur(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ht.prototype.add=ht.prototype.push=function(e){return this.__data__.set(e,B),this},ht.prototype.has=function(e){return this.__data__.has(e)},vt.prototype.clear=function(){this.__data__=new dt,this.size=0},vt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},vt.prototype.get=function(e){return this.__data__.get(e)},vt.prototype.has=function(e){return this.__data__.has(e)},vt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof dt){var r=n.__data__;if(!ca||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pt(r)}return n.set(e,t),this.size=n.size,this};var Ca=hr(jt),Ra=hr(Mt,!0),Na=vr(),Pa=vr(!0),Aa=va?function(e,t){return va.set(e,t),e}:ai,Ta=Vi?function(e,t){return Vi(e,"toString",{configurable:!0,enumerable:!1,value:ii(t),writable:!0})}:ai,Oa=Ln,Da=Ki||function(e){return en.clearTimeout(e)},Ia=da&&1/M(new da([,-0]))[1]==Q?function(e){return new da(e)}:si,La=va?function(e){return va.get(e)}:si,ja=Xi?function(e){return null==e?[]:(e=bi(e),u(Xi(e),(function(t){return $i.call(e,t)})))}:fi,Ma=Xi?function(e){for(var t=[];e;)f(t,ja(e)),e=Fi(e);return t}:fi,za=Gt;(sa&&za(new sa(new ArrayBuffer(1)))!=we||ca&&za(new ca)!=ce||fa&&za(fa.resolve())!=pe||da&&za(new da)!=ve||pa&&za(new pa)!=ye)&&(za=function(e){var t=Gt(e),n=t==de?e.constructor:$,r=n?lo(n):"";if(r)switch(r){case ga:return we;case ya:return ce;case ba:return pe;case wa:return ve;case _a:return ye}return t});var Fa=Ci?Io:di,Wa=io(Aa),$a=Gi||function(e,t){return en.setTimeout(e,t)},Ua=io(Ta),Ba=function(e){var t=No(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ue,(function(e,n,r,o){t.push(r?o.replace(Xe,"$1"):n||e)})),t})),Ha=Ln((function(e,t){return Oo(e)?Tt(e,Lt(t,1,Oo,!0)):[]})),Za=Ln((function(e,t){var n=vo(t);return Oo(n)&&(n=$),Oo(e)?Tt(e,Lt(t,1,Oo,!0),$r(n,2)):[]})),Va=Ln((function(e,t){var n=vo(t);return Oo(n)&&(n=$),Oo(e)?Tt(e,Lt(t,1,Oo,!0),$,n):[]})),Ka=Ln((function(e){var t=c(e,er);return t.length&&t[0]===e[0]?nn(t):[]})),qa=Ln((function(e){var t=vo(e),n=c(e,er);return t===vo(n)?t=$:n.pop(),n.length&&n[0]===e[0]?nn(n,$r(t,2)):[]})),Ga=Ln((function(e){var t=vo(e),n=c(e,er);return(t="function"==typeof t?t:$)&&n.pop(),n.length&&n[0]===e[0]?nn(n,$,t):[]})),Qa=Ln(mo),Ya=jr((function(e,t){var n=null==e?0:e.length,r=Ct(e,t);return On(e,c(t,(function(e){return qr(e,n)?+e:e})).sort(ur)),r})),Xa=Ln((function(e){return Kn(Lt(e,1,Oo,!0))})),Ja=Ln((function(e){var t=vo(e);return Oo(t)&&(t=$),Kn(Lt(e,1,Oo,!0),$r(t,2))})),eu=Ln((function(e){var t=vo(e);return t="function"==typeof t?t:$,Kn(Lt(e,1,Oo,!0),$,t)})),tu=Ln((function(e,t){return Oo(e)?Tt(e,t):[]})),nu=Ln((function(e){return Xn(u(e,Oo))})),ru=Ln((function(e){var t=vo(e);return Oo(t)&&(t=$),Xn(u(e,Oo),$r(t,2))})),ou=Ln((function(e){var t=vo(e);return t="function"==typeof t?t:$,Xn(u(e,Oo),$,t)})),iu=Ln(yo),au=Ln((function(e){var t=e.length,n=t>1?e[t-1]:$;return n="function"==typeof n?(e.pop(),n):$,bo(e,n)})),uu=jr((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Ct(t,e)};return!(t>1||this.__actions__.length)&&r instanceof ct&&qr(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:_o,args:[o],thisArg:$}),new st(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push($),e}))):this.thru(o)})),lu=dr((function(e,t,n){Ni.call(e,n)?++e[n]:St(e,n,1)})),su=br(co),cu=br(fo),fu=dr((function(e,t,n){Ni.call(e,n)?e[n].push(t):St(e,n,[t])})),du=Ln((function(e,t,r){var o=-1,i="function"==typeof t,a=To(e)?hi(e.length):[];return Ca(e,(function(e){a[++o]=i?n(t,e,r):on(e,t,r)})),a})),pu=dr((function(e,t,n){St(e,n,t)})),hu=dr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),vu=Ln((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Gr(e,t[0],t[1])?t=[]:n>2&&Gr(t[0],t[1],t[2])&&(t=[t[0]]),Pn(e,Lt(t,1),[])})),mu=qi||function(){return en.Date.now()},gu=Ln((function(e,t,n){var r=1;if(n.length){var o=j(n,Wr(gu));r|=V}return Tr(e,r,t,n,o)})),yu=Ln((function(e,t,n){var r=3;if(n.length){var o=j(n,Wr(yu));r|=V}return Tr(t,r,e,n,o)})),bu=Ln((function(e,t){return At(e,1,t)})),wu=Ln((function(e,t,n){return At(e,Ko(t)||0,n)}));No.Cache=pt;var _u=Oa((function(e,t){var r=(t=1==t.length&&Nu(t[0])?c(t[0],R($r())):c(Lt(t,1),R($r()))).length;return Ln((function(o){for(var i=-1,a=oa(o.length,r);++i<a;)o[i]=t[i].call(this,o[i]);return n(e,this,o)}))})),xu=Ln((function(e,t){return Tr(e,V,$,t,j(t,Wr(xu)))})),Eu=Ln((function(e,t){return Tr(e,K,$,t,j(t,Wr(Eu)))})),ku=jr((function(e,t){return Tr(e,G,$,$,$,t)})),Su=Rr(Xt),Cu=Rr((function(e,t){return e>=t})),Ru=an(function(){return arguments}())?an:function(e){return zo(e)&&Ni.call(e,"callee")&&!$i.call(e,"callee")},Nu=hi.isArray,Pu=un?R(un):function(e){return zo(e)&&Gt(e)==be},Au=Ji||di,Tu=ln?R(ln):function(e){return zo(e)&&Gt(e)==ae},Ou=sn?R(sn):function(e){return zo(e)&&za(e)==ce},Du=cn?R(cn):function(e){return zo(e)&&Gt(e)==he},Iu=fn?R(fn):function(e){return zo(e)&&za(e)==ve},Lu=dn?R(dn):function(e){return zo(e)&&jo(e.length)&&!!Kt[Gt(e)]},ju=Rr(En),Mu=Rr((function(e,t){return e<=t})),zu=pr((function(e,t){if(Xr(t)||To(t))return fr(t,Xo(t),e),$;for(var n in t)Ni.call(t,n)&&_t(e,n,t[n])})),Fu=pr((function(e,t){fr(t,Jo(t),e)})),Wu=pr((function(e,t,n,r){fr(t,Jo(t),e,r)})),$u=pr((function(e,t,n,r){fr(t,Xo(t),e,r)})),Uu=jr(Ct),Bu=Ln((function(e,t){e=bi(e);var n=-1,r=t.length,o=r>2?t[2]:$;for(o&&Gr(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=Jo(i),u=-1,l=a.length;++u<l;){var s=a[u],c=e[s];(c===$||Ao(c,Si[s])&&!Ni.call(e,s))&&(e[s]=i[s])}return e})),Hu=Ln((function(e){return e.push($,Dr),n(Gu,$,e)})),Zu=xr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ti.call(t)),e[t]=n}),ii(ai)),Vu=xr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ti.call(t)),Ni.call(e,t)?e[t].push(n):e[t]=[n]}),$r),Ku=Ln(on),qu=pr((function(e,t,n){Rn(e,t,n)})),Gu=pr((function(e,t,n,r){Rn(e,t,n,r)})),Qu=jr((function(e,t){var n={};if(null==e)return n;var r=!1;t=c(t,(function(t){return t=nr(t,e),r||(r=t.length>1),t})),fr(e,zr(e),n),r&&(n=Nt(n,7,Ir));for(var o=t.length;o--;)qn(n,t[o]);return n})),Yu=jr((function(e,t){return null==e?{}:function(e,t){return An(e,t,(function(t,n){return Yo(e,n)}))}(e,t)})),Xu=Ar(Xo),Ju=Ar(Jo),el=gr((function(e,t,n){return t=t.toLowerCase(),e+(n?ni(t):t)})),tl=gr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),nl=gr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),rl=mr("toLowerCase"),ol=gr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),il=gr((function(e,t,n){return e+(n?" ":"")+ul(t)})),al=gr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ul=mr("toUpperCase"),ll=Ln((function(e,t){try{return n(e,$,t)}catch(e){return Do(e)?e:new mi(e)}})),sl=jr((function(e,t){return o(t,(function(t){t=uo(t),St(e,t,gu(e[t],e))})),e})),cl=wr(),fl=wr(!0),dl=Ln((function(e,t){return function(n){return on(n,e,t)}})),pl=Ln((function(e,t){return function(n){return on(e,n,t)}})),hl=kr(c),vl=kr(a),ml=kr(h),gl=Cr(),yl=Cr(!0),bl=Er((function(e,t){return e+t}),0),wl=Pr("ceil"),_l=Er((function(e,t){return e/t}),1),xl=Pr("floor"),El=Er((function(e,t){return e*t}),1),kl=Pr("round"),Sl=Er((function(e,t){return e-t}),0);return x.after=function(e,t){if("function"!=typeof t)throw new xi(U);return e=Zo(e),function(){if(--e<1)return t.apply(this,arguments)}},x.ary=So,x.assign=zu,x.assignIn=Fu,x.assignInWith=Wu,x.assignWith=$u,x.at=Uu,x.before=Co,x.bind=gu,x.bindAll=sl,x.bindKey=yu,x.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Nu(e)?e:[e]},x.chain=wo,x.chunk=function(e,t,n){t=(n?Gr(e,t,n):t===$)?1:ra(Zo(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=hi(Qi(r/t));o<r;)a[i++]=Wn(e,o,o+=t);return a},x.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},x.concat=function(){var e=arguments.length;if(!e)return[];for(var t=hi(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return f(Nu(n)?cr(n):[n],Lt(t,1))},x.cond=function(e){var t=null==e?0:e.length,r=$r();return e=t?c(e,(function(e){if("function"!=typeof e[1])throw new xi(U);return[r(e[0]),e[1]]})):[],Ln((function(r){for(var o=-1;++o<t;){var i=e[o];if(n(i[0],this,r))return n(i[1],this,r)}}))},x.conforms=function(e){return function(e){var t=Xo(e);return function(n){return Pt(n,e,t)}}(Nt(e,1))},x.constant=ii,x.countBy=lu,x.create=function(e,t){var n=Sa(e);return null==t?n:kt(n,t)},x.curry=function e(t,n,r){var o=Tr(t,8,$,$,$,$,$,n=r?$:n);return o.placeholder=e.placeholder,o},x.curryRight=function e(t,n,r){var o=Tr(t,Z,$,$,$,$,$,n=r?$:n);return o.placeholder=e.placeholder,o},x.debounce=Ro,x.defaults=Bu,x.defaultsDeep=Hu,x.defer=bu,x.delay=wu,x.difference=Ha,x.differenceBy=Za,x.differenceWith=Va,x.drop=function(e,t,n){var r=null==e?0:e.length;return r?Wn(e,(t=n||t===$?1:Zo(t))<0?0:t,r):[]},x.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Wn(e,0,(t=r-(t=n||t===$?1:Zo(t)))<0?0:t):[]},x.dropRightWhile=function(e,t){return e&&e.length?Qn(e,$r(t,3),!0,!0):[]},x.dropWhile=function(e,t){return e&&e.length?Qn(e,$r(t,3),!0):[]},x.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Gr(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=Zo(n))<0&&(n=-n>o?0:o+n),(r=r===$||r>o?o:Zo(r))<0&&(r+=o),r=n>r?0:Vo(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},x.filter=function(e,t){return(Nu(e)?u:It)(e,$r(t,3))},x.flatMap=function(e,t){return Lt(ko(e,t),1)},x.flatMapDeep=function(e,t){return Lt(ko(e,t),Q)},x.flatMapDepth=function(e,t,n){return n=n===$?1:Zo(n),Lt(ko(e,t),n)},x.flatten=po,x.flattenDeep=function(e){return null!=e&&e.length?Lt(e,Q):[]},x.flattenDepth=function(e,t){return null!=e&&e.length?Lt(e,t=t===$?1:Zo(t)):[]},x.flip=function(e){return Tr(e,512)},x.flow=cl,x.flowRight=fl,x.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},x.functions=function(e){return null==e?[]:zt(e,Xo(e))},x.functionsIn=function(e){return null==e?[]:zt(e,Jo(e))},x.groupBy=fu,x.initial=function(e){return null!=e&&e.length?Wn(e,0,-1):[]},x.intersection=Ka,x.intersectionBy=qa,x.intersectionWith=Ga,x.invert=Zu,x.invertBy=Vu,x.invokeMap=du,x.iteratee=ui,x.keyBy=pu,x.keys=Xo,x.keysIn=Jo,x.map=ko,x.mapKeys=function(e,t){var n={};return t=$r(t,3),jt(e,(function(e,r,o){St(n,t(e,r,o),e)})),n},x.mapValues=function(e,t){var n={};return t=$r(t,3),jt(e,(function(e,r,o){St(n,r,t(e,r,o))})),n},x.matches=function(e){return Sn(Nt(e,1))},x.matchesProperty=function(e,t){return Cn(e,Nt(t,1))},x.memoize=No,x.merge=qu,x.mergeWith=Gu,x.method=dl,x.methodOf=pl,x.mixin=li,x.negate=Po,x.nthArg=function(e){return e=Zo(e),Ln((function(t){return Nn(t,e)}))},x.omit=Qu,x.omitBy=function(e,t){return ei(e,Po($r(t)))},x.once=function(e){return Co(2,e)},x.orderBy=function(e,t,n,r){return null==e?[]:(Nu(t)||(t=null==t?[]:[t]),Nu(n=r?$:n)||(n=null==n?[]:[n]),Pn(e,t,n))},x.over=hl,x.overArgs=_u,x.overEvery=vl,x.overSome=ml,x.partial=xu,x.partialRight=Eu,x.partition=hu,x.pick=Yu,x.pickBy=ei,x.property=ci,x.propertyOf=function(e){return function(t){return null==e?$:$t(e,t)}},x.pull=Qa,x.pullAll=mo,x.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Tn(e,t,$r(n,2)):e},x.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Tn(e,t,$,n):e},x.pullAt=Ya,x.range=gl,x.rangeRight=yl,x.rearg=ku,x.reject=function(e,t){return(Nu(e)?u:It)(e,Po($r(t,3)))},x.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=$r(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return On(e,o),n},x.rest=function(e,t){if("function"!=typeof e)throw new xi(U);return Ln(e,t=t===$?t:Zo(t))},x.reverse=go,x.sampleSize=function(e,t,n){return t=(n?Gr(e,t,n):t===$)?1:Zo(t),(Nu(e)?yt:Mn)(e,t)},x.set=function(e,t,n){return null==e?e:zn(e,t,n)},x.setWith=function(e,t,n,r){return r="function"==typeof r?r:$,null==e?e:zn(e,t,n,r)},x.shuffle=function(e){return(Nu(e)?bt:Fn)(e)},x.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Gr(e,t,n)?(t=0,n=r):(t=null==t?0:Zo(t),n=n===$?r:Zo(n)),Wn(e,t,n)):[]},x.sortBy=vu,x.sortedUniq=function(e){return e&&e.length?Hn(e):[]},x.sortedUniqBy=function(e,t){return e&&e.length?Hn(e,$r(t,2)):[]},x.split=function(e,t,n){return n&&"number"!=typeof n&&Gr(e,t,n)&&(t=n=$),(n=n===$?J:n>>>0)?(e=Go(e))&&("string"==typeof t||null!=t&&!Du(t))&&!(t=Vn(t))&&D(e)?rr(F(e),0,n):e.split(t,n):[]},x.spread=function(e,t){if("function"!=typeof e)throw new xi(U);return t=null==t?0:ra(Zo(t),0),Ln((function(r){var o=r[t],i=rr(r,0,t);return o&&f(i,o),n(e,this,i)}))},x.tail=function(e){var t=null==e?0:e.length;return t?Wn(e,1,t):[]},x.take=function(e,t,n){return e&&e.length?Wn(e,0,(t=n||t===$?1:Zo(t))<0?0:t):[]},x.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Wn(e,(t=r-(t=n||t===$?1:Zo(t)))<0?0:t,r):[]},x.takeRightWhile=function(e,t){return e&&e.length?Qn(e,$r(t,3),!1,!0):[]},x.takeWhile=function(e,t){return e&&e.length?Qn(e,$r(t,3)):[]},x.tap=function(e,t){return t(e),e},x.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new xi(U);return Mo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ro(e,t,{leading:r,maxWait:t,trailing:o})},x.thru=_o,x.toArray=Bo,x.toPairs=Xu,x.toPairsIn=Ju,x.toPath=function(e){return Nu(e)?c(e,uo):Uo(e)?[e]:cr(Ba(Go(e)))},x.toPlainObject=qo,x.transform=function(e,t,n){var r=Nu(e),i=r||Au(e)||Lu(e);if(t=$r(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:Mo(e)&&Io(a)?Sa(Fi(e)):{}}return(i?o:jt)(e,(function(e,r,o){return t(n,e,r,o)})),n},x.unary=function(e){return So(e,1)},x.union=Xa,x.unionBy=Ja,x.unionWith=eu,x.uniq=function(e){return e&&e.length?Kn(e):[]},x.uniqBy=function(e,t){return e&&e.length?Kn(e,$r(t,2)):[]},x.uniqWith=function(e,t){return t="function"==typeof t?t:$,e&&e.length?Kn(e,$,t):[]},x.unset=function(e,t){return null==e||qn(e,t)},x.unzip=yo,x.unzipWith=bo,x.update=function(e,t,n){return null==e?e:Gn(e,t,tr(n))},x.updateWith=function(e,t,n,r){return r="function"==typeof r?r:$,null==e?e:Gn(e,t,tr(n),r)},x.values=ti,x.valuesIn=function(e){return null==e?[]:N(e,Jo(e))},x.without=tu,x.words=oi,x.wrap=function(e,t){return xu(tr(t),e)},x.xor=nu,x.xorBy=ru,x.xorWith=ou,x.zip=iu,x.zipObject=function(e,t){return Jn(e||[],t||[],_t)},x.zipObjectDeep=function(e,t){return Jn(e||[],t||[],zn)},x.zipWith=au,x.entries=Xu,x.entriesIn=Ju,x.extend=Fu,x.extendWith=Wu,li(x,x),x.add=bl,x.attempt=ll,x.camelCase=el,x.capitalize=ni,x.ceil=wl,x.clamp=function(e,t,n){return n===$&&(n=t,t=$),n!==$&&(n=(n=Ko(n))==n?n:0),t!==$&&(t=(t=Ko(t))==t?t:0),Rt(Ko(e),t,n)},x.clone=function(e){return Nt(e,4)},x.cloneDeep=function(e){return Nt(e,5)},x.cloneDeepWith=function(e,t){return Nt(e,5,t="function"==typeof t?t:$)},x.cloneWith=function(e,t){return Nt(e,4,t="function"==typeof t?t:$)},x.conformsTo=function(e,t){return null==t||Pt(e,t,Xo(t))},x.deburr=ri,x.defaultTo=function(e,t){return null==e||e!=e?t:e},x.divide=_l,x.endsWith=function(e,t,n){e=Go(e),t=Vn(t);var r=e.length,o=n=n===$?r:Rt(Zo(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},x.eq=Ao,x.escape=function(e){return(e=Go(e))&&je.test(e)?e.replace(Ie,vn):e},x.escapeRegExp=function(e){return(e=Go(e))&&He.test(e)?e.replace(Be,"\\$&"):e},x.every=function(e,t,n){var r=Nu(e)?a:Ot;return n&&Gr(e,t,n)&&(t=$),r(e,$r(t,3))},x.find=su,x.findIndex=co,x.findKey=function(e,t){return v(e,$r(t,3),jt)},x.findLast=cu,x.findLastIndex=fo,x.findLastKey=function(e,t){return v(e,$r(t,3),Mt)},x.floor=xl,x.forEach=xo,x.forEachRight=Eo,x.forIn=function(e,t){return null==e?e:Na(e,$r(t,3),Jo)},x.forInRight=function(e,t){return null==e?e:Pa(e,$r(t,3),Jo)},x.forOwn=function(e,t){return e&&jt(e,$r(t,3))},x.forOwnRight=function(e,t){return e&&Mt(e,$r(t,3))},x.get=Qo,x.gt=Su,x.gte=Cu,x.has=function(e,t){return null!=e&&Zr(e,t,Jt)},x.hasIn=Yo,x.head=ho,x.identity=ai,x.includes=function(e,t,n,r){e=To(e)?e:ti(e),n=n&&!r?Zo(n):0;var o=e.length;return n<0&&(n=ra(o+n,0)),$o(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&g(e,t,n)>-1},x.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Zo(n);return o<0&&(o=ra(r+o,0)),g(e,t,o)},x.inRange=function(e,t,n){return t=Ho(t),n===$?(n=t,t=0):n=Ho(n),function(e,t,n){return e>=oa(t,n)&&e<ra(t,n)}(e=Ko(e),t,n)},x.invoke=Ku,x.isArguments=Ru,x.isArray=Nu,x.isArrayBuffer=Pu,x.isArrayLike=To,x.isArrayLikeObject=Oo,x.isBoolean=function(e){return!0===e||!1===e||zo(e)&&Gt(e)==ie},x.isBuffer=Au,x.isDate=Tu,x.isElement=function(e){return zo(e)&&1===e.nodeType&&!Wo(e)},x.isEmpty=function(e){if(null==e)return!0;if(To(e)&&(Nu(e)||"string"==typeof e||"function"==typeof e.splice||Au(e)||Lu(e)||Ru(e)))return!e.length;var t=za(e);if(t==ce||t==ve)return!e.size;if(Xr(e))return!_n(e).length;for(var n in e)if(Ni.call(e,n))return!1;return!0},x.isEqual=function(e,t){return pn(e,t)},x.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:$)?n(e,t):$;return r===$?pn(e,t,$,n):!!r},x.isError=Do,x.isFinite=function(e){return"number"==typeof e&&ea(e)},x.isFunction=Io,x.isInteger=Lo,x.isLength=jo,x.isMap=Ou,x.isMatch=function(e,t){return e===t||yn(e,t,Br(t))},x.isMatchWith=function(e,t,n){return n="function"==typeof n?n:$,yn(e,t,Br(t),n)},x.isNaN=function(e){return Fo(e)&&e!=+e},x.isNative=function(e){if(Fa(e))throw new mi("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return bn(e)},x.isNil=function(e){return null==e},x.isNull=function(e){return null===e},x.isNumber=Fo,x.isObject=Mo,x.isObjectLike=zo,x.isPlainObject=Wo,x.isRegExp=Du,x.isSafeInteger=function(e){return Lo(e)&&e>=-Y&&e<=Y},x.isSet=Iu,x.isString=$o,x.isSymbol=Uo,x.isTypedArray=Lu,x.isUndefined=function(e){return e===$},x.isWeakMap=function(e){return zo(e)&&za(e)==ye},x.isWeakSet=function(e){return zo(e)&&"[object WeakSet]"==Gt(e)},x.join=function(e,t){return null==e?"":ta.call(e,t)},x.kebabCase=tl,x.last=vo,x.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==$&&(o=(o=Zo(n))<0?ra(r+o,0):oa(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):m(e,b,o,!0)},x.lowerCase=nl,x.lowerFirst=rl,x.lt=ju,x.lte=Mu,x.max=function(e){return e&&e.length?Dt(e,ai,Xt):$},x.maxBy=function(e,t){return e&&e.length?Dt(e,$r(t,2),Xt):$},x.mean=function(e){return w(e,ai)},x.meanBy=function(e,t){return w(e,$r(t,2))},x.min=function(e){return e&&e.length?Dt(e,ai,En):$},x.minBy=function(e,t){return e&&e.length?Dt(e,$r(t,2),En):$},x.stubArray=fi,x.stubFalse=di,x.stubObject=function(){return{}},x.stubString=function(){return""},x.stubTrue=function(){return!0},x.multiply=El,x.nth=function(e,t){return e&&e.length?Nn(e,Zo(t)):$},x.noConflict=function(){return en._===this&&(en._=Di),this},x.noop=si,x.now=mu,x.pad=function(e,t,n){e=Go(e);var r=(t=Zo(t))?z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Sr(Yi(o),n)+e+Sr(Qi(o),n)},x.padEnd=function(e,t,n){e=Go(e);var r=(t=Zo(t))?z(e):0;return t&&r<t?e+Sr(t-r,n):e},x.padStart=function(e,t,n){e=Go(e);var r=(t=Zo(t))?z(e):0;return t&&r<t?Sr(t-r,n)+e:e},x.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),aa(Go(e).replace(Ze,""),t||0)},x.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Gr(e,t,n)&&(t=n=$),n===$&&("boolean"==typeof t?(n=t,t=$):"boolean"==typeof e&&(n=e,e=$)),e===$&&t===$?(e=0,t=1):(e=Ho(e),t===$?(t=e,e=0):t=Ho(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=ua();return oa(e+o*(t-e+Qt("1e-"+((o+"").length-1))),t)}return Dn(e,t)},x.reduce=function(e,t,n){var r=Nu(e)?d:E,o=arguments.length<3;return r(e,$r(t,4),n,o,Ca)},x.reduceRight=function(e,t,n){var r=Nu(e)?p:E,o=arguments.length<3;return r(e,$r(t,4),n,o,Ra)},x.repeat=function(e,t,n){return t=(n?Gr(e,t,n):t===$)?1:Zo(t),In(Go(e),t)},x.replace=function(){var e=arguments,t=Go(e[0]);return e.length<3?t:t.replace(e[1],e[2])},x.result=function(e,t,n){var r=-1,o=(t=nr(t,e)).length;for(o||(o=1,e=$);++r<o;){var i=null==e?$:e[uo(t[r])];i===$&&(r=o,i=n),e=Io(i)?i.call(e):i}return e},x.round=kl,x.runInContext=e,x.sample=function(e){return(Nu(e)?gt:jn)(e)},x.size=function(e){if(null==e)return 0;if(To(e))return $o(e)?z(e):e.length;var t=za(e);return t==ce||t==ve?e.size:_n(e).length},x.snakeCase=ol,x.some=function(e,t,n){var r=Nu(e)?h:$n;return n&&Gr(e,t,n)&&(t=$),r(e,$r(t,3))},x.sortedIndex=function(e,t){return Un(e,t)},x.sortedIndexBy=function(e,t,n){return Bn(e,t,$r(n,2))},x.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Un(e,t);if(r<n&&Ao(e[r],t))return r}return-1},x.sortedLastIndex=function(e,t){return Un(e,t,!0)},x.sortedLastIndexBy=function(e,t,n){return Bn(e,t,$r(n,2),!0)},x.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Un(e,t,!0)-1;if(Ao(e[n],t))return n}return-1},x.startCase=il,x.startsWith=function(e,t,n){return e=Go(e),n=null==n?0:Rt(Zo(n),0,e.length),t=Vn(t),e.slice(n,n+t.length)==t},x.subtract=Sl,x.sum=function(e){return e&&e.length?k(e,ai):0},x.sumBy=function(e,t){return e&&e.length?k(e,$r(t,2)):0},x.template=function(e,t,n){var r=x.templateSettings;n&&Gr(e,t,n)&&(t=$),e=Go(e),t=Wu({},t,r,Or);var o,i,a=Wu({},t.imports,r.imports,Or),u=Xo(a),l=N(a,u),s=0,c=t.interpolate||ut,f="__p += '",d=wi((t.escape||ut).source+"|"+c.source+"|"+(c===Fe?Je:ut).source+"|"+(t.evaluate||ut).source+"|$","g"),p="//# sourceURL="+(Ni.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vt+"]")+"\n";e.replace(d,(function(t,n,r,a,u,l){return r||(r=a),f+=e.slice(s,l).replace(lt,O),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),u&&(i=!0,f+="';\n"+u+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),f+="';\n";var h=Ni.call(t,"variable")&&t.variable;if(h){if(Ye.test(h))throw new mi("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(Ae,""):f).replace(Te,"$1").replace(Oe,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=ll((function(){return gi(u,p+"return "+f).apply($,l)}));if(v.source=f,Do(v))throw v;return v},x.times=function(e,t){if((e=Zo(e))<1||e>Y)return[];var n=J,r=oa(e,J);t=$r(t),e-=J;for(var o=S(r,t);++n<e;)t(n);return o},x.toFinite=Ho,x.toInteger=Zo,x.toLength=Vo,x.toLower=function(e){return Go(e).toLowerCase()},x.toNumber=Ko,x.toSafeInteger=function(e){return e?Rt(Zo(e),-Y,Y):0===e?e:0},x.toString=Go,x.toUpper=function(e){return Go(e).toUpperCase()},x.trim=function(e,t,n){if((e=Go(e))&&(n||t===$))return C(e);if(!e||!(t=Vn(t)))return e;var r=F(e),o=F(t);return rr(r,A(r,o),T(r,o)+1).join("")},x.trimEnd=function(e,t,n){if((e=Go(e))&&(n||t===$))return e.slice(0,W(e)+1);if(!e||!(t=Vn(t)))return e;var r=F(e);return rr(r,0,T(r,F(t))+1).join("")},x.trimStart=function(e,t,n){if((e=Go(e))&&(n||t===$))return e.replace(Ze,"");if(!e||!(t=Vn(t)))return e;var r=F(e);return rr(r,A(r,F(t))).join("")},x.truncate=function(e,t){var n=30,r="...";if(Mo(t)){var o="separator"in t?t.separator:o;n="length"in t?Zo(t.length):n,r="omission"in t?Vn(t.omission):r}var i=(e=Go(e)).length;if(D(e)){var a=F(e);i=a.length}if(n>=i)return e;var u=n-z(r);if(u<1)return r;var l=a?rr(a,0,u).join(""):e.slice(0,u);if(o===$)return l+r;if(a&&(u+=l.length-u),Du(o)){if(e.slice(u).search(o)){var s,c=l;for(o.global||(o=wi(o.source,Go(et.exec(o))+"g")),o.lastIndex=0;s=o.exec(c);)var f=s.index;l=l.slice(0,f===$?u:f)}}else if(e.indexOf(Vn(o),u)!=u){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+r},x.unescape=function(e){return(e=Go(e))&&Le.test(e)?e.replace(De,mn):e},x.uniqueId=function(e){var t=++Pi;return Go(e)+t},x.upperCase=al,x.upperFirst=ul,x.each=xo,x.eachRight=Eo,x.first=ho,li(x,function(){var e={};return jt(x,(function(t,n){Ni.call(x.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),x.VERSION="4.17.21",o(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){x[e].placeholder=x})),o(["drop","take"],(function(e,t){ct.prototype[e]=function(n){n=n===$?1:ra(Zo(n),0);var r=this.__filtered__&&!t?new ct(this):this.clone();return r.__filtered__?r.__takeCount__=oa(n,r.__takeCount__):r.__views__.push({size:oa(n,J),type:e+(r.__dir__<0?"Right":"")}),r},ct.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),o(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;ct.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:$r(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),o(["head","last"],(function(e,t){var n="take"+(t?"Right":"");ct.prototype[e]=function(){return this[n](1).value()[0]}})),o(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");ct.prototype[e]=function(){return this.__filtered__?new ct(this):this[n](1)}})),ct.prototype.compact=function(){return this.filter(ai)},ct.prototype.find=function(e){return this.filter(e).head()},ct.prototype.findLast=function(e){return this.reverse().find(e)},ct.prototype.invokeMap=Ln((function(e,t){return"function"==typeof e?new ct(this):this.map((function(n){return on(n,e,t)}))})),ct.prototype.reject=function(e){return this.filter(Po($r(e)))},ct.prototype.slice=function(e,t){e=Zo(e);var n=this;return n.__filtered__&&(e>0||t<0)?new ct(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==$&&(n=(t=Zo(t))<0?n.dropRight(-t):n.take(t-e)),n)},ct.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ct.prototype.toArray=function(){return this.take(J)},jt(ct.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=x[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(x.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof ct,l=a[0],s=u||Nu(t),c=function(e){var t=o.apply(x,f([e],a));return r&&d?t[0]:t};s&&n&&"function"==typeof l&&1!=l.length&&(u=s=!1);var d=this.__chain__,p=!!this.__actions__.length,h=i&&!d,v=u&&!p;if(!i&&s){t=v?t:new ct(this);var m=e.apply(t,a);return m.__actions__.push({func:_o,args:[c],thisArg:$}),new st(m,d)}return h&&v?e.apply(this,a):(m=this.thru(c),h?r?m.value()[0]:m.value():m)})})),o(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ei[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);x.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Nu(o)?o:[],e)}return this[n]((function(n){return t.apply(Nu(n)?n:[],e)}))}})),jt(ct.prototype,(function(e,t){var n=x[t];if(n){var r=n.name+"";Ni.call(ma,r)||(ma[r]=[]),ma[r].push({name:t,func:n})}})),ma[_r($,2).name]=[{name:"wrapper",func:$}],ct.prototype.clone=function(){var e=new ct(this.__wrapped__);return e.__actions__=cr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=cr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=cr(this.__views__),e},ct.prototype.reverse=function(){if(this.__filtered__){var e=new ct(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},ct.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Nu(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=oa(t,e+a);break;case"takeRight":e=ra(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,s=r?u:a-1,c=this.__iteratees__,f=c.length,d=0,p=oa(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return Yn(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,m=e[s+=t];++v<f;){var g=c[v],y=g.iteratee,b=g.type,w=y(m);if(2==b)m=w;else if(!w){if(1==b)continue e;break e}}h[d++]=m}return h},x.prototype.at=uu,x.prototype.chain=function(){return wo(this)},x.prototype.commit=function(){return new st(this.value(),this.__chain__)},x.prototype.next=function(){this.__values__===$&&(this.__values__=Bo(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?$:this.__values__[this.__index__++]}},x.prototype.plant=function(e){for(var t,n=this;n instanceof Ve;){var r=so(n);r.__index__=0,r.__values__=$,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},x.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof ct){var t=e;return this.__actions__.length&&(t=new ct(this)),(t=t.reverse()).__actions__.push({func:_o,args:[go],thisArg:$}),new st(t,this.__chain__)}return this.thru(go)},x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=function(){return Yn(this.__wrapped__,this.__actions__)},x.prototype.first=x.prototype.head,Hi&&(x.prototype[Hi]=function(){return this}),x}();nn?((nn.exports=gn)._=gn,tn._=gn):en._=gn}.call(QE)),zh.exports;var e,t}var ry,i0,oy,a0,iy,l0,ay,o0={};function JE(){return ry||(ry=1,(e=o0).aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}),o0;var e}function e$(){return oy||(oy=1,i0={}),i0}function t$(){if(iy)return a0;iy=1;var e=JE(),t=e$(),n=Array.prototype.push;function r(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function o(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function i(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}return a0=function a(u,l,s,c){var f="function"==typeof l,d=l===Object(l);if(d&&(c=s,s=l,l=void 0),null==s)throw new TypeError;c||(c={});var p=!("cap"in c)||c.cap,h=!("curry"in c)||c.curry,v=!("fixed"in c)||c.fixed,m=!("immutable"in c)||c.immutable,g=!("rearg"in c)||c.rearg,y=f?s:t,b="curry"in c&&c.curry,w="fixed"in c&&c.fixed,_="rearg"in c&&c.rearg,x=f?s.runInContext():void 0,E=f?s:{ary:u.ary,assign:u.assign,clone:u.clone,curry:u.curry,forEach:u.forEach,isArray:u.isArray,isError:u.isError,isFunction:u.isFunction,isWeakMap:u.isWeakMap,iteratee:u.iteratee,keys:u.keys,rearg:u.rearg,toInteger:u.toInteger,toPath:u.toPath},k=E.ary,S=E.assign,C=E.clone,R=E.curry,N=E.forEach,P=E.isArray,A=E.isError,T=E.isFunction,O=E.isWeakMap,D=E.keys,I=E.rearg,L=E.toInteger,j=E.toPath,M=D(e.aryMethod),z={castArray:function(e){return function(){var t=arguments[0];return P(t)?e(o(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[1],n=e(arguments[0],t),o=n.length;return p&&"number"==typeof t?(t=t>2?t-2:1,o&&o<=t?n:r(n,t)):n}},mixin:function(e){return function(t){var n=this;if(!T(n))return e(n,Object(t));var r=[];return N(D(t),(function(e){T(t[e])&&r.push([e,n.prototype[e]])})),e(n,Object(t)),N(r,(function(e){var t=e[1];T(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]})),n}},nthArg:function(e){return function(t){var n=t<0?1:L(t)+1;return R(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return R(e(t,n),r)}},runInContext:function(e){return function(t){return a(u,e(t),c)}}};function F(t,n){if(p){var o=e.iterateeRearg[t];if(o)return function(e,t){return H(e,(function(e){var n=t.length;return function(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(I(r(e,n),t),n)}))}(n,o);var i=!f&&e.iterateeAry[t];if(i)return function(e,t){return H(e,(function(e){return"function"==typeof e?r(e,t):e}))}(n,i)}return n}function W(t,r,o){if(v&&(w||!e.skipFixed[t])){var i=e.methodSpread[t],a=i&&i.start;return void 0===a?k(r,o):function(e,t){return function(){for(var r=arguments.length,o=r-1,i=Array(r);r--;)i[r]=arguments[r];var a=i[t],u=i.slice(0,t);return a&&n.apply(u,a),t!=o&&n.apply(u,i.slice(t+1)),e.apply(this,u)}}(r,a)}return r}function $(t,n,r){return g&&r>1&&(_||!e.skipRearg[t])?I(n,e.methodRearg[t]||e.aryRearg[r]):n}function U(e,t){for(var n=-1,r=(t=j(t)).length,o=r-1,i=C(Object(e)),a=i;null!=a&&++n<r;){var u=t[n],l=a[u];null!=l&&!(T(l)||A(l)||O(l))&&(a[u]=C(n==o?l:Object(l))),a=a[u]}return i}function B(t,n){var r=e.aliasToReal[t]||t,o=e.remap[r]||r,i=c;return function(e){var t=f?x:E,u=f?x[o]:n,l=S(S({},i),e);return a(t,r,u,l)}}function H(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var o=g?0:n-1;return r[o]=t(r[o]),e.apply(void 0,r)}}function Z(t,n,r){var a,u=e.aliasToReal[t]||t,l=n,s=z[u];return s?l=s(n):m&&(e.mutate.array[u]?l=i(n,o):e.mutate.object[u]?l=i(n,function(e){return function(t){return e({},t)}}(n)):e.mutate.set[u]&&(l=i(n,U))),N(M,(function(t){return N(e.aryMethod[t],(function(n){if(u==n){var r=e.methodSpread[u],o=r&&r.afterRearg;return a=o?W(u,$(u,l,t),t):$(u,W(u,l,t),t),a=function(e,t,n){return b||h&&n>1?R(t,n):t}(0,a=F(u,a),t),!1}})),!a})),a||(a=l),a==n&&(a=b?R(a,1):function(){return n.apply(this,arguments)}),a.convert=B(u,n),a.placeholder=n.placeholder=r,a}if(!d)return Z(l,s,y);var V=s,K=[];return N(M,(function(t){N(e.aryMethod[t],(function(t){var n=V[e.remap[t]||t];n&&K.push([t,Z(t,n,V)])}))})),N(D(V),(function(e){var t=V[e];if("function"==typeof t){for(var n=K.length;n--;)if(K[n][0]==e)return;t.convert=B(e,t),K.push([e,t])}})),N(K,(function(e){V[e[0]]=e[1]})),V.convert=function(e){return V.runInContext.convert(e)(void 0)},V.placeholder=V,N(D(V),(function(t){N(e.realToAlias[t]||[],(function(e){V[e]=V[t]}))})),V},a0}function n$(){if(ay)return l0;ay=1;var e=ZE().runInContext();return l0=t$()(e,e)}var r$=n$();
63
+ */function SI(){return g$||(g$=1,e=ov,t=ov.exports,function(){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function o(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function i(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function a(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function u(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function l(e,t){return!(null==e||!e.length)&&g(e,t,0)>-1}function c(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function s(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function f(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function d(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function p(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function h(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function v(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function y(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function g(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):y(e,b,n)}function m(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function b(e){return e!=e}function w(e,t){var n=null==e?0:e.length;return n?k(e,t)/n:Z}function _(e){return function(t){return null==t?W:t[e]}}function x(e){return function(t){return null==e?W:e[t]}}function E(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function k(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==W&&(n=n===W?i:n+i)}return n}function S(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e){return e&&e.slice(0,$(e)+1).replace(Ve,"")}function R(e){return function(t){return e(t)}}function N(e,t){return s(t,(function(t){return e[t]}))}function P(e,t){return e.has(t)}function A(e,t){for(var n=-1,r=e.length;++n<r&&g(t,e[n],0)>-1;);return n}function O(e,t){for(var n=e.length;n--&&g(t,e[n],0)>-1;);return n}function T(e){return"\\"+Gt[e]}function D(e){return Bt.test(e)}function I(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function j(e,t){return function(n){return e(t(n))}}function L(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==H||(e[n]=H,i[o++]=n)}return i}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function z(e){return D(e)?function(e){for(var t=Wt.lastIndex=0;Wt.test(e);)++t;return t}(e):pn(e)}function F(e){return D(e)?function(e){return e.match(Wt)||[]}(e):function(e){return e.split("")}(e)}function $(e){for(var t=e.length;t--&&Ke.test(e.charAt(t)););return t}var W,U="Expected a function",B="__lodash_hash_undefined__",H="__lodash_placeholder__",V=16,K=32,q=64,Q=128,G=256,Y=1/0,X=9007199254740991,Z=NaN,J=4294967295,ee=J-1,te=J>>>1,ne=[["ary",Q],["bind",1],["bindKey",2],["curry",8],["curryRight",V],["flip",512],["partial",K],["partialRight",q],["rearg",G]],re="[object Arguments]",oe="[object Array]",ie="[object Boolean]",ae="[object Date]",ue="[object Error]",le="[object Function]",ce="[object GeneratorFunction]",se="[object Map]",fe="[object Number]",de="[object Object]",pe="[object Promise]",he="[object RegExp]",ve="[object Set]",ye="[object String]",ge="[object Symbol]",me="[object WeakMap]",be="[object ArrayBuffer]",we="[object DataView]",_e="[object Float32Array]",xe="[object Float64Array]",Ee="[object Int8Array]",ke="[object Int16Array]",Se="[object Int32Array]",Ce="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ne="[object Uint16Array]",Pe="[object Uint32Array]",Ae=/\b__p \+= '';/g,Oe=/\b(__p \+=) '' \+/g,Te=/(__e\(.*?\)|\b__t\)) \+\n'';/g,De=/&(?:amp|lt|gt|quot|#39);/g,Ie=/[&<>"']/g,je=RegExp(De.source),Le=RegExp(Ie.source),Me=/<%-([\s\S]+?)%>/g,ze=/<%([\s\S]+?)%>/g,Fe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,We=/^\w*$/,Ue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/[\\^$.*+?()[\]{}|]/g,He=RegExp(Be.source),Ve=/^\s+/,Ke=/\s/,qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ge=/,? & /,Ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xe=/[()=,{}\[\]\/\s]/,Ze=/\\(\\)?/g,Je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,et=/\w*$/,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,it=/^(?:0|[1-9]\d*)$/,at=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,ct="\\ud800-\\udfff",st="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ft="\\u2700-\\u27bf",dt="a-z\\xdf-\\xf6\\xf8-\\xff",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",ht="\\ufe0e\\ufe0f",vt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",yt="['’]",gt="["+ct+"]",mt="["+vt+"]",bt="["+st+"]",wt="\\d+",_t="["+ft+"]",xt="["+dt+"]",Et="[^"+ct+vt+wt+ft+dt+pt+"]",kt="\\ud83c[\\udffb-\\udfff]",St="[^"+ct+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+pt+"]",Pt="\\u200d",At="(?:"+xt+"|"+Et+")",Ot="(?:"+Nt+"|"+Et+")",Tt="(?:['’](?:d|ll|m|re|s|t|ve))?",Dt="(?:['’](?:D|LL|M|RE|S|T|VE))?",It="(?:"+bt+"|"+kt+")?",jt="["+ht+"]?",Lt=jt+It+"(?:"+Pt+"(?:"+[St,Ct,Rt].join("|")+")"+jt+It+")*",Mt="(?:"+[_t,Ct,Rt].join("|")+")"+Lt,zt="(?:"+[St+bt+"?",bt,Ct,Rt,gt].join("|")+")",Ft=RegExp(yt,"g"),$t=RegExp(bt,"g"),Wt=RegExp(kt+"(?="+kt+")|"+zt+Lt,"g"),Ut=RegExp([Nt+"?"+xt+"+"+Tt+"(?="+[mt,Nt,"$"].join("|")+")",Ot+"+"+Dt+"(?="+[mt,Nt+At,"$"].join("|")+")",Nt+"?"+At+"+"+Tt,Nt+"+"+Dt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wt,Mt].join("|"),"g"),Bt=RegExp("["+Pt+ct+st+ht+"]"),Ht=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,qt={};qt[_e]=qt[xe]=qt[Ee]=qt[ke]=qt[Se]=qt[Ce]=qt[Re]=qt[Ne]=qt[Pe]=!0,qt[re]=qt[oe]=qt[be]=qt[ie]=qt[we]=qt[ae]=qt[ue]=qt[le]=qt[se]=qt[fe]=qt[de]=qt[he]=qt[ve]=qt[ye]=qt[me]=!1;var Qt={};Qt[re]=Qt[oe]=Qt[be]=Qt[we]=Qt[ie]=Qt[ae]=Qt[_e]=Qt[xe]=Qt[Ee]=Qt[ke]=Qt[Se]=Qt[se]=Qt[fe]=Qt[de]=Qt[he]=Qt[ve]=Qt[ye]=Qt[ge]=Qt[Ce]=Qt[Re]=Qt[Ne]=Qt[Pe]=!0,Qt[ue]=Qt[le]=Qt[me]=!1;var Gt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yt=parseFloat,Xt=parseInt,Zt="object"==typeof fa&&fa&&fa.Object===Object&&fa,Jt="object"==typeof self&&self&&self.Object===Object&&self,en=Zt||Jt||Function("return this")(),tn=t&&!t.nodeType&&t,nn=tn&&e&&!e.nodeType&&e,rn=nn&&nn.exports===tn,on=rn&&Zt.process,an=function(){try{return nn&&nn.require&&nn.require("util").types||on&&on.binding&&on.binding("util")}catch{}}(),un=an&&an.isArrayBuffer,ln=an&&an.isDate,cn=an&&an.isMap,sn=an&&an.isRegExp,fn=an&&an.isSet,dn=an&&an.isTypedArray,pn=_("length"),hn=x({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),vn=x({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),yn=x({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),gn=function e(t){function x(e){if(zo(e)&&!Nu(e)&&!(e instanceof st)){if(e instanceof ct)return e;if(Ni.call(e,"__wrapped__"))return co(e)}return new ct(e)}function Ke(){}function ct(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=W}function st(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function ft(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function dt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ht(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new pt;++t<n;)this.add(e[t])}function vt(e){this.size=(this.__data__=new dt(e)).size}function yt(e,t){var n=Nu(e),r=!n&&Ru(e),o=!n&&!r&&Au(e),i=!n&&!r&&!o&&ju(e),a=n||r||o||i,u=a?S(e.length,_i):[],l=u.length;for(var c in e)!t&&!Ni.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Qr(c,l))||u.push(c);return u}function gt(e){var t=e.length;return t?e[Dn(0,t-1)]:W}function mt(e,t){return ao(sr(e),Rt(t,0,e.length))}function bt(e){return ao(sr(e))}function wt(e,t,n){(n===W||Ao(e[t],n))&&(n!==W||t in e)||St(e,t,n)}function _t(e,t,n){var r=e[t];Ni.call(e,t)&&Ao(r,n)&&(n!==W||t in e)||St(e,t,n)}function xt(e,t){for(var n=e.length;n--;)if(Ao(e[n][0],t))return n;return-1}function Et(e,t,n,r){return Ca(e,(function(e,o,i){t(r,e,n(e),i)})),r}function kt(e,t){return e&&fr(t,Zo(t),e)}function St(e,t,n){"__proto__"==t&&Ki?Ki(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ct(e,t){for(var n=-1,r=t.length,o=hi(r),i=null==e;++n<r;)o[n]=i?W:Yo(e,t[n]);return o}function Rt(e,t,n){return e==e&&(n!==W&&(e=e<=n?e:n),t!==W&&(e=e>=t?e:t)),e}function Nt(e,t,n,r,i,a){var u,l=1&t,c=2&t,s=4&t;if(n&&(u=i?n(e,r,i,a):n(e)),u!==W)return u;if(!Mo(e))return e;var f=Nu(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ni.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return sr(e,u)}else{var d=za(e),p=d==le||d==ce;if(Au(e))return or(e,l);if(d==de||d==re||p&&!i){if(u=c||p?{}:Kr(e),!l)return c?function(e,t){return fr(e,Ma(e),t)}(e,function(e,t){return e&&fr(t,Jo(t),e)}(u,e)):function(e,t){return fr(e,La(e),t)}(e,kt(u,e))}else{if(!Qt[d])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case be:return ir(e);case ie:case ae:return new r(+e);case we:return function(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.byteLength)}(e,n);case _e:case xe:case Ee:case ke:case Se:case Ce:case Re:case Ne:case Pe:return ar(e,n);case se:return new r;case fe:case ye:return new r(e);case he:return function(e){var t=new e.constructor(e.source,et.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ve:return new r;case ge:return function(e){return Ea?bi(Ea.call(e)):{}}(e)}}(e,d,l)}}a||(a=new vt);var h=a.get(e);if(h)return h;a.set(e,u),Iu(e)?e.forEach((function(r){u.add(Nt(r,t,n,r,e,a))})):Tu(e)&&e.forEach((function(r,o){u.set(o,Nt(r,t,n,o,e,a))}));var v=f?W:(s?c?zr:Mr:c?Jo:Zo)(e);return o(v||e,(function(r,o){v&&(r=e[o=r]),_t(u,o,Nt(r,t,n,o,e,a))})),u}function Pt(e,t,n){var r=n.length;if(null==e)return!r;for(e=bi(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===W&&!(o in e)||!i(a))return!1}return!0}function At(e,t,n){if("function"!=typeof e)throw new xi(U);return Wa((function(){e.apply(W,n)}),t)}function Ot(e,t,n,r){var o=-1,i=l,a=!0,u=e.length,f=[],d=t.length;if(!u)return f;n&&(t=s(t,R(n))),r?(i=c,a=!1):t.length>=200&&(i=P,a=!1,t=new ht(t));e:for(;++o<u;){var p=e[o],h=null==n?p:n(p);if(p=r||0!==p?p:0,a&&h==h){for(var v=d;v--;)if(t[v]===h)continue e;f.push(p)}else i(t,h,r)||f.push(p)}return f}function Tt(e,t){var n=!0;return Ca(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Dt(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(u===W?a==a&&!Uo(a):n(a,u)))var u=a,l=i}return l}function It(e,t){var n=[];return Ca(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function jt(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=qr),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?jt(u,t-1,n,r,o):f(o,u):r||(o[o.length]=u)}return o}function Lt(e,t){return e&&Na(e,t,Zo)}function Mt(e,t){return e&&Pa(e,t,Zo)}function zt(e,t){return u(t,(function(t){return Io(e[t])}))}function Wt(e,t){for(var n=0,r=(t=nr(t,e)).length;null!=e&&n<r;)e=e[uo(t[n++])];return n&&n==r?e:W}function Bt(e,t,n){var r=t(e);return Nu(e)?r:f(r,n(e))}function Gt(e){return null==e?e===W?"[object Undefined]":"[object Null]":Vi&&Vi in bi(e)?function(e){var t=Ni.call(e,Vi),n=e[Vi];try{e[Vi]=W;var r=!0}catch{}var o=Oi.call(e);return r&&(t?e[Vi]=n:delete e[Vi]),o}(e):function(e){return Oi.call(e)}(e)}function Zt(e,t){return e>t}function Jt(e,t){return null!=e&&Ni.call(e,t)}function tn(e,t){return null!=e&&t in bi(e)}function nn(e,t,n){for(var r=n?c:l,o=e[0].length,i=e.length,a=i,u=hi(i),f=1/0,d=[];a--;){var p=e[a];a&&t&&(p=s(p,R(t))),f=oa(p.length,f),u[a]=!n&&(t||o>=120&&p.length>=120)?new ht(a&&p):W}p=e[0];var h=-1,v=u[0];e:for(;++h<o&&d.length<f;){var y=p[h],g=t?t(y):y;if(y=n||0!==y?y:0,!(v?P(v,g):r(d,g,n))){for(a=i;--a;){var m=u[a];if(!(m?P(m,g):r(e[a],g,n)))continue e}v&&v.push(g),d.push(y)}}return d}function on(e,t,r){var o=null==(e=no(e,t=nr(t,e)))?e:e[uo(vo(t))];return null==o?W:n(o,e,r)}function an(e){return zo(e)&&Gt(e)==re}function pn(e,t,n,r,o){return e===t||(null==e||null==t||!zo(e)&&!zo(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Nu(e),u=Nu(t),l=a?oe:za(e),c=u?oe:za(t),s=(l=l==re?de:l)==de,f=(c=c==re?de:c)==de,d=l==c;if(d&&Au(e)){if(!Au(t))return!1;a=!0,s=!1}if(d&&!s)return i||(i=new vt),a||ju(e)?jr(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case we:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case be:return!(e.byteLength!=t.byteLength||!i(new Mi(e),new Mi(t)));case ie:case ae:case fe:return Ao(+e,+t);case ue:return e.name==t.name&&e.message==t.message;case he:case ye:return e==t+"";case se:var u=I;case ve:var l=1&r;if(u||(u=M),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var s=jr(u(e),u(t),r,o,i,a);return a.delete(e),s;case ge:if(Ea)return Ea.call(e)==Ea.call(t)}return!1}(e,t,l,n,r,o,i);if(!(1&n)){var p=s&&Ni.call(e,"__wrapped__"),h=f&&Ni.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,y=h?t.value():t;return i||(i=new vt),o(v,y,n,r,i)}}return!!d&&(i||(i=new vt),function(e,t,n,r,o,i){var a=1&n,u=Mr(e),l=u.length;if(l!=Mr(t).length&&!a)return!1;for(var c=l;c--;){var s=u[c];if(!(a?s in t:Ni.call(t,s)))return!1}var f=i.get(e),d=i.get(t);if(f&&d)return f==t&&d==e;var p=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var v=e[s=u[c]],y=t[s];if(r)var g=a?r(y,v,s,t,e,i):r(v,y,s,e,t,i);if(!(g===W?v===y||o(v,y,n,r,i):g)){p=!1;break}h||(h="constructor"==s)}if(p&&!h){var m=e.constructor,b=t.constructor;m!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,i))}(e,t,n,r,pn,o))}function mn(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=bi(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var l=(u=n[o])[0],c=e[l],s=u[1];if(a&&u[2]){if(c===W&&!(l in e))return!1}else{var f=new vt;if(r)var d=r(c,s,l,e,t,f);if(!(d===W?pn(s,c,3,r,f):d))return!1}}return!0}function bn(e){return!(!Mo(e)||function(e){return!!Ai&&Ai in e}(e))&&(Io(e)?Ii:rt).test(lo(e))}function wn(e){return"function"==typeof e?e:null==e?ai:"object"==typeof e?Nu(e)?Cn(e[0],e[1]):Sn(e):si(e)}function _n(e){if(!Zr(e))return na(e);var t=[];for(var n in bi(e))Ni.call(e,n)&&"constructor"!=n&&t.push(n);return t}function xn(e){if(!Mo(e))return function(e){var t=[];if(null!=e)for(var n in bi(e))t.push(n);return t}(e);var t=Zr(e),n=[];for(var r in e)("constructor"!=r||!t&&Ni.call(e,r))&&n.push(r);return n}function En(e,t){return e<t}function kn(e,t){var n=-1,r=Oo(e)?hi(e.length):[];return Ca(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Sn(e){var t=Br(e);return 1==t.length&&t[0][2]?eo(t[0][0],t[0][1]):function(n){return n===e||mn(n,e,t)}}function Cn(e,t){return Yr(e)&&Jr(t)?eo(uo(e),t):function(n){var r=Yo(n,e);return r===W&&r===t?Xo(n,e):pn(t,r,3)}}function Rn(e,t,n,r,o){e!==t&&Na(t,(function(i,a){if(o||(o=new vt),Mo(i))!function(e,t,n,r,o,i,a){var u=ro(e,n),l=ro(t,n),c=a.get(l);if(c)return wt(e,n,c),W;var s=i?i(u,l,n+"",e,t,a):W,f=s===W;if(f){var d=Nu(l),p=!d&&Au(l),h=!d&&!p&&ju(l);s=l,d||p||h?Nu(u)?s=u:To(u)?s=sr(u):p?(f=!1,s=or(l,!0)):h?(f=!1,s=ar(l,!0)):s=[]:$o(l)||Ru(l)?(s=u,Ru(u)?s=Qo(u):Mo(u)&&!Io(u)||(s=Kr(l))):f=!1}f&&(a.set(l,s),o(s,l,r,i,a),a.delete(l)),wt(e,n,s)}(e,t,a,n,Rn,r,o);else{var u=r?r(ro(e,a),i,a+"",e,t,o):W;u===W&&(u=i),wt(e,a,u)}}),Jo)}function Nn(e,t){var n=e.length;if(n)return Qr(t+=t<0?n:0,n)?e[t]:W}function Pn(e,t,n){t=t.length?s(t,(function(e){return Nu(e)?function(t){return Wt(t,1===e.length?e[0]:e)}:e})):[ai];var r=-1;return t=s(t,R(Wr())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(kn(e,(function(e,n,o){return{criteria:s(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var l=ur(o[r],i[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function An(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Wt(e,a);n(u,a)&&zn(i,nr(a,e),u)}return i}function On(e,t,n,r){var o=r?m:g,i=-1,a=t.length,u=e;for(e===t&&(t=sr(t)),n&&(u=s(e,R(n)));++i<a;)for(var l=0,c=t[i],f=n?n(c):c;(l=o(u,f,l,r))>-1;)u!==e&&Ui.call(u,l,1),Ui.call(e,l,1);return e}function Tn(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Qr(o)?Ui.call(e,o,1):Qn(e,o)}}return e}function Dn(e,t){return e+Xi(ua()*(t-e+1))}function In(e,t){var n="";if(!e||t<1||t>X)return n;do{t%2&&(n+=e),(t=Xi(t/2))&&(e+=e)}while(t);return n}function jn(e,t){return Ua(to(e,t,ai),e+"")}function Ln(e){return gt(ti(e))}function Mn(e,t){var n=ti(e);return ao(n,Rt(t,0,n.length))}function zn(e,t,n,r){if(!Mo(e))return e;for(var o=-1,i=(t=nr(t,e)).length,a=i-1,u=e;null!=u&&++o<i;){var l=uo(t[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var s=u[l];(c=r?r(s,l,u):W)===W&&(c=Mo(s)?s:Qr(t[o+1])?[]:{})}_t(u,l,c),u=u[l]}return e}function Fn(e){return ao(ti(e))}function $n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=hi(o);++r<o;)i[r]=e[r+t];return i}function Wn(e,t){var n;return Ca(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Un(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=te){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Uo(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Bn(e,t,ai,n)}function Bn(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,u=null===t,l=Uo(t),c=t===W;o<i;){var s=Xi((o+i)/2),f=n(e[s]),d=f!==W,p=null===f,h=f==f,v=Uo(f);if(a)var y=r||h;else y=c?h&&(r||d):u?h&&d&&(r||!p):l?h&&d&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);y?o=s+1:i=s}return oa(i,ee)}function Hn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ao(u,l)){var l=u;i[o++]=0===a?0:a}}return i}function Vn(e){return"number"==typeof e?e:Uo(e)?Z:+e}function Kn(e){if("string"==typeof e)return e;if(Nu(e))return s(e,Kn)+"";if(Uo(e))return ka?ka.call(e):"";var t=e+"";return"0"==t&&1/e==-Y?"-0":t}function qn(e,t,n){var r=-1,o=l,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=c;else if(i>=200){var f=t?null:Ia(e);if(f)return M(f);a=!1,o=P,s=new ht}else s=t?[]:u;e:for(;++r<i;){var d=e[r],p=t?t(d):d;if(d=n||0!==d?d:0,a&&p==p){for(var h=s.length;h--;)if(s[h]===p)continue e;t&&s.push(p),u.push(d)}else o(s,p,n)||(s!==u&&s.push(p),u.push(d))}return u}function Qn(e,t){return null==(e=no(e,t=nr(t,e)))||delete e[uo(vo(t))]}function Gn(e,t,n,r){return zn(e,t,n(Wt(e,t)),r)}function Yn(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?$n(e,r?0:i,r?i+1:o):$n(e,r?i+1:0,r?o:i)}function Xn(e,t){var n=e;return n instanceof st&&(n=n.value()),d(t,(function(e,t){return t.func.apply(t.thisArg,f([e],t.args))}),n)}function Zn(e,t,n){var r=e.length;if(r<2)return r?qn(e[0]):[];for(var o=-1,i=hi(r);++o<r;)for(var a=e[o],u=-1;++u<r;)u!=o&&(i[o]=Ot(i[o]||a,e[u],t,n));return qn(jt(i,1),t,n)}function Jn(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;)n(a,e[r],r<i?t[r]:W);return a}function er(e){return To(e)?e:[]}function tr(e){return"function"==typeof e?e:ai}function nr(e,t){return Nu(e)?e:Yr(e,t)?[e]:Ba(Go(e))}function rr(e,t,n){var r=e.length;return n=n===W?r:n,!t&&n>=r?e:$n(e,t,n)}function or(e,t){if(t)return e.slice();var n=e.length,r=zi?zi(n):new e.constructor(n);return e.copy(r),r}function ir(e){var t=new e.constructor(e.byteLength);return new Mi(t).set(new Mi(e)),t}function ar(e,t){return new e.constructor(t?ir(e.buffer):e.buffer,e.byteOffset,e.length)}function ur(e,t){if(e!==t){var n=e!==W,r=null===e,o=e==e,i=Uo(e),a=t!==W,u=null===t,l=t==t,c=Uo(t);if(!u&&!c&&!i&&e>t||i&&a&&l&&!u&&!c||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||u&&n&&o||!a&&o||!l)return-1}return 0}function lr(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,l=t.length,c=ra(i-a,0),s=hi(l+c),f=!r;++u<l;)s[u]=t[u];for(;++o<a;)(f||o<i)&&(s[n[o]]=e[o]);for(;c--;)s[u++]=e[o++];return s}function cr(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,l=-1,c=t.length,s=ra(i-u,0),f=hi(s+c),d=!r;++o<s;)f[o]=e[o];for(var p=o;++l<c;)f[p+l]=t[l];for(;++a<u;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function sr(e,t){var n=-1,r=e.length;for(t||(t=hi(r));++n<r;)t[n]=e[n];return t}function fr(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],l=r?r(n[u],e[u],u,n,e):W;l===W&&(l=e[u]),o?St(n,u,l):_t(n,u,l)}return n}function dr(e,t){return function(n,o){var i=Nu(n)?r:Et,a=t?t():{};return i(n,e,Wr(o,2),a)}}function pr(e){return jn((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:W,a=o>2?n[2]:W;for(i=e.length>3&&"function"==typeof i?(o--,i):W,a&&Gr(n[0],n[1],a)&&(i=o<3?W:i,o=1),t=bi(t);++r<o;){var u=n[r];u&&e(t,u,r,i)}return t}))}function hr(e,t){return function(n,r){if(null==n)return n;if(!Oo(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=bi(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function vr(e){return function(t,n,r){for(var o=-1,i=bi(t),a=r(t),u=a.length;u--;){var l=a[e?u:++o];if(!1===n(i[l],l,i))break}return t}}function yr(e){return function(t){var n=D(t=Go(t))?F(t):W,r=n?n[0]:t.charAt(0),o=n?rr(n,1).join(""):t.slice(1);return r[e]()+o}}function gr(e){return function(t){return d(oi(ri(t).replace(Ft,"")),e,"")}}function mr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Sa(e.prototype),r=e.apply(n,t);return Mo(r)?r:n}}function br(e){return function(t,n,r){var o=bi(t);if(!Oo(t)){var i=Wr(n,3);t=Zo(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:W}}function wr(e){return Lr((function(t){var n=t.length,r=n,o=ct.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new xi(U);if(o&&!a&&"wrapper"==Fr(i))var a=new ct([],!0)}for(r=a?r:n;++r<n;){var u=Fr(i=t[r]),l="wrapper"==u?ja(i):W;a=l&&Xr(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Fr(l[0])].apply(a,l[3]):1==i.length&&Xr(i)?a[u]():a.thru(i)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Nu(r))return a.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function _r(e,t,n,r,o,i,a,u,l,c){var s=t&Q,f=1&t,d=2&t,p=24&t,h=512&t,v=d?W:mr(e);return function y(){for(var g=arguments.length,m=hi(g),b=g;b--;)m[b]=arguments[b];if(p)var w=$r(y),_=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(m,w);if(r&&(m=lr(m,r,o,p)),i&&(m=cr(m,i,a,p)),g-=_,p&&g<c)return Nr(e,t,_r,y.placeholder,n,m,L(m,w),u,l,c-g);var x=f?n:this,E=d?x[e]:e;return g=m.length,u?m=function(e,t){for(var n=e.length,r=oa(t.length,n),o=sr(e);r--;){var i=t[r];e[r]=Qr(i,n)?o[i]:W}return e}(m,u):h&&g>1&&m.reverse(),s&&l<g&&(m.length=l),this&&this!==en&&this instanceof y&&(E=v||mr(E)),E.apply(x,m)}}function xr(e,t){return function(n,r){return function(e,t,n,r){return Lt(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Er(e,t){return function(n,r){var o;if(n===W&&r===W)return t;if(n!==W&&(o=n),r!==W){if(o===W)return r;"string"==typeof n||"string"==typeof r?(n=Kn(n),r=Kn(r)):(n=Vn(n),r=Vn(r)),o=e(n,r)}return o}}function kr(e){return Lr((function(t){return t=s(t,R(Wr())),jn((function(r){var o=this;return e(t,(function(e){return n(e,o,r)}))}))}))}function Sr(e,t){var n=(t=t===W?" ":Kn(t)).length;if(n<2)return n?In(t,e):t;var r=In(t,Yi(e/z(t)));return D(t)?rr(F(r),0,e).join(""):r.slice(0,e)}function Cr(e){return function(t,n,r){return r&&"number"!=typeof r&&Gr(t,n,r)&&(n=r=W),t=Ho(t),n===W?(n=t,t=0):n=Ho(n),function(e,t,n,r){for(var o=-1,i=ra(Yi((t-e)/(n||1)),0),a=hi(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,r=r===W?t<n?1:-1:Ho(r),e)}}function Rr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=qo(t),n=qo(n)),e(t,n)}}function Nr(e,t,n,r,o,i,a,u,l,c){var s=8&t;t|=s?K:q,4&(t&=~(s?q:K))||(t&=-4);var f=[e,t,o,s?i:W,s?a:W,s?W:i,s?W:a,u,l,c],d=n.apply(W,f);return Xr(e)&&$a(d,f),d.placeholder=r,oo(d,e,t)}function Pr(e){var t=mi[e];return function(e,n){if(e=qo(e),(n=null==n?0:oa(Vo(n),292))&&ea(e)){var r=(Go(e)+"e").split("e");return+((r=(Go(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}function Ar(e){return function(t){var n=za(t);return n==se?I(t):n==ve?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return s(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Or(e,t,r,o,i,a,u,l){var c=2&t;if(!c&&"function"!=typeof e)throw new xi(U);var s=o?o.length:0;if(s||(t&=-97,o=i=W),u=u===W?u:ra(Vo(u),0),l=l===W?l:Vo(l),s-=i?i.length:0,t&q){var f=o,d=i;o=i=W}var p=c?W:ja(e),h=[e,t,r,o,i,f,d,a,u,l];if(p&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==Q&&8==n||r==Q&&n==G&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?lr(l,u,t[4]):u,e[4]=l?L(e[3],H):t[4]}(u=t[5])&&(l=e[5],e[5]=l?cr(l,u,t[6]):u,e[6]=l?L(e[5],H):t[6]),(u=t[7])&&(e[7]=u),r&Q&&(e[8]=null==e[8]?t[8]:oa(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(h,p),e=h[0],t=h[1],r=h[2],o=h[3],i=h[4],!(l=h[9]=h[9]===W?c?0:e.length:ra(h[9]-s,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||t==V?function(e,t,r){var o=mr(e);return function i(){for(var a=arguments.length,u=hi(a),l=a,c=$r(i);l--;)u[l]=arguments[l];var s=a<3&&u[0]!==c&&u[a-1]!==c?[]:L(u,c);return(a-=s.length)<r?Nr(e,t,_r,i.placeholder,W,u,s,W,W,r-a):n(this&&this!==en&&this instanceof i?o:e,this,u)}}(e,t,l):t!=K&&33!=t||i.length?_r.apply(W,h):function(e,t,r,o){var i=1&t,a=mr(e);return function t(){for(var u=-1,l=arguments.length,c=-1,s=o.length,f=hi(s+l),d=this&&this!==en&&this instanceof t?a:e;++c<s;)f[c]=o[c];for(;l--;)f[c++]=arguments[++u];return n(d,i?r:this,f)}}(e,t,r,o);else var v=function(e,t,n){var r=1&t,o=mr(e);return function t(){return(this&&this!==en&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return oo((p?Aa:$a)(v,h),e,t)}function Tr(e,t,n,r){return e===W||Ao(e,Si[n])&&!Ni.call(r,n)?t:e}function Dr(e,t,n,r,o,i){return Mo(e)&&Mo(t)&&(i.set(t,e),Rn(e,t,W,Dr,i),i.delete(t)),e}function Ir(e){return $o(e)?W:e}function jr(e,t,n,r,o,i){var a=1&n,u=e.length,l=t.length;if(u!=l&&!(a&&l>u))return!1;var c=i.get(e),s=i.get(t);if(c&&s)return c==t&&s==e;var f=-1,d=!0,p=2&n?new ht:W;for(i.set(e,t),i.set(t,e);++f<u;){var v=e[f],y=t[f];if(r)var g=a?r(y,v,f,t,e,i):r(v,y,f,e,t,i);if(g!==W){if(g)continue;d=!1;break}if(p){if(!h(t,(function(e,t){if(!P(p,t)&&(v===e||o(v,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(v!==y&&!o(v,y,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Lr(e){return Ua(to(e,W,po),e+"")}function Mr(e){return Bt(e,Zo,La)}function zr(e){return Bt(e,Jo,Ma)}function Fr(e){for(var t=e.name+"",n=ya[t],r=Ni.call(ya,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function $r(e){return(Ni.call(x,"placeholder")?x:e).placeholder}function Wr(){var e=x.iteratee||ui;return e=e===ui?wn:e,arguments.length?e(arguments[0],arguments[1]):e}function Ur(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Br(e){for(var t=Zo(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Jr(o)]}return t}function Hr(e,t){var n=function(e,t){return null==e?W:e[t]}(e,t);return bn(n)?n:W}function Vr(e,t,n){for(var r=-1,o=(t=nr(t,e)).length,i=!1;++r<o;){var a=uo(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Lo(o)&&Qr(a,o)&&(Nu(e)||Ru(e))}function Kr(e){return"function"!=typeof e.constructor||Zr(e)?{}:Sa(Fi(e))}function qr(e){return Nu(e)||Ru(e)||!!(Bi&&e&&e[Bi])}function Qr(e,t){var n=typeof e;return!!(t=t??X)&&("number"==n||"symbol"!=n&&it.test(e))&&e>-1&&e%1==0&&e<t}function Gr(e,t,n){if(!Mo(n))return!1;var r=typeof t;return!!("number"==r?Oo(n)&&Qr(t,n.length):"string"==r&&t in n)&&Ao(n[t],e)}function Yr(e,t){if(Nu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Uo(e))||We.test(e)||!$e.test(e)||null!=t&&e in bi(t)}function Xr(e){var t=Fr(e),n=x[t];if("function"!=typeof n||!(t in st.prototype))return!1;if(e===n)return!0;var r=ja(n);return!!r&&e===r[0]}function Zr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Si)}function Jr(e){return e==e&&!Mo(e)}function eo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==W||e in bi(n))}}function to(e,t,r){return t=ra(t===W?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=ra(o.length-t,0),u=hi(a);++i<a;)u[i]=o[t+i];i=-1;for(var l=hi(t+1);++i<t;)l[i]=o[i];return l[t]=r(u),n(e,this,l)}}function no(e,t){return t.length<2?e:Wt(e,$n(t,0,-1))}function ro(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function oo(e,t,n){var r=t+"";return Ua(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(qe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return o(ne,(function(n){var r="_."+n[0];t&n[1]&&!l(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Qe);return t?t[1].split(Ge):[]}(r),n)))}function io(e){var t=0,n=0;return function(){var r=ia(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(W,arguments)}}function ao(e,t){var n=-1,r=e.length,o=r-1;for(t=t===W?r:t;++n<t;){var i=Dn(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function uo(e){if("string"==typeof e||Uo(e))return e;var t=e+"";return"0"==t&&1/e==-Y?"-0":t}function lo(e){if(null!=e){try{return Ri.call(e)}catch{}try{return e+""}catch{}}return""}function co(e){if(e instanceof st)return e.clone();var t=new ct(e.__wrapped__,e.__chain__);return t.__actions__=sr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function so(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vo(n);return o<0&&(o=ra(r+o,0)),y(e,Wr(t,3),o)}function fo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==W&&(o=Vo(n),o=n<0?ra(r+o,0):oa(o,r-1)),y(e,Wr(t,3),o,!0)}function po(e){return null!=e&&e.length?jt(e,1):[]}function ho(e){return e&&e.length?e[0]:W}function vo(e){var t=null==e?0:e.length;return t?e[t-1]:W}function yo(e,t){return e&&e.length&&t&&t.length?On(e,t):e}function go(e){return null==e?e:la.call(e)}function mo(e){if(!e||!e.length)return[];var t=0;return e=u(e,(function(e){if(To(e))return t=ra(e.length,t),!0})),S(t,(function(t){return s(e,_(t))}))}function bo(e,t){if(!e||!e.length)return[];var r=mo(e);return null==t?r:s(r,(function(e){return n(t,W,e)}))}function wo(e){var t=x(e);return t.__chain__=!0,t}function _o(e,t){return t(e)}function xo(e,t){return(Nu(e)?o:Ca)(e,Wr(t,3))}function Eo(e,t){return(Nu(e)?i:Ra)(e,Wr(t,3))}function ko(e,t){return(Nu(e)?s:kn)(e,Wr(t,3))}function So(e,t,n){return t=n?W:t,t=e&&null==t?e.length:t,Or(e,Q,W,W,W,W,t)}function Co(e,t){var n;if("function"!=typeof t)throw new xi(U);return e=Vo(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=W),n}}function Ro(e,t,n){function r(t){var n=l,r=c;return l=c=W,h=t,f=e.apply(r,n)}function o(e){var n=e-p;return p===W||n>=t||n<0||y&&e-h>=s}function i(){var e=yu();return o(e)?a(e):(d=Wa(i,function(e){var n=t-(e-p);return y?oa(n,s-(e-h)):n}(e)),W)}function a(e){return d=W,g&&l?r(e):(l=c=W,f)}function u(){var e=yu(),n=o(e);if(l=arguments,c=this,p=e,n){if(d===W)return function(e){return h=e,d=Wa(i,t),v?r(e):f}(p);if(y)return Da(d),d=Wa(i,t),r(p)}return d===W&&(d=Wa(i,t)),f}var l,c,s,f,d,p,h=0,v=!1,y=!1,g=!0;if("function"!=typeof e)throw new xi(U);return t=qo(t)||0,Mo(n)&&(v=!!n.leading,s=(y="maxWait"in n)?ra(qo(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),u.cancel=function(){d!==W&&Da(d),h=0,l=p=c=d=W},u.flush=function(){return d===W?f:a(yu())},u}function No(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new xi(U);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(No.Cache||pt),n}function Po(e){if("function"!=typeof e)throw new xi(U);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ao(e,t){return e===t||e!=e&&t!=t}function Oo(e){return null!=e&&Lo(e.length)&&!Io(e)}function To(e){return zo(e)&&Oo(e)}function Do(e){if(!zo(e))return!1;var t=Gt(e);return t==ue||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!$o(e)}function Io(e){if(!Mo(e))return!1;var t=Gt(e);return t==le||t==ce||"[object AsyncFunction]"==t||"[object Proxy]"==t}function jo(e){return"number"==typeof e&&e==Vo(e)}function Lo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=X}function Mo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zo(e){return null!=e&&"object"==typeof e}function Fo(e){return"number"==typeof e||zo(e)&&Gt(e)==fe}function $o(e){if(!zo(e)||Gt(e)!=de)return!1;var t=Fi(e);if(null===t)return!0;var n=Ni.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ri.call(n)==Ti}function Wo(e){return"string"==typeof e||!Nu(e)&&zo(e)&&Gt(e)==ye}function Uo(e){return"symbol"==typeof e||zo(e)&&Gt(e)==ge}function Bo(e){if(!e)return[];if(Oo(e))return Wo(e)?F(e):sr(e);if(Hi&&e[Hi])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Hi]());var t=za(e);return(t==se?I:t==ve?M:ti)(e)}function Ho(e){return e?(e=qo(e))===Y||e===-Y?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Vo(e){var t=Ho(e),n=t%1;return t==t?n?t-n:t:0}function Ko(e){return e?Rt(Vo(e),0,J):0}function qo(e){if("number"==typeof e)return e;if(Uo(e))return Z;if(Mo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=C(e);var n=nt.test(e);return n||ot.test(e)?Xt(e.slice(2),n?2:8):tt.test(e)?Z:+e}function Qo(e){return fr(e,Jo(e))}function Go(e){return null==e?"":Kn(e)}function Yo(e,t,n){var r=null==e?W:Wt(e,t);return r===W?n:r}function Xo(e,t){return null!=e&&Vr(e,t,tn)}function Zo(e){return Oo(e)?yt(e):_n(e)}function Jo(e){return Oo(e)?yt(e,!0):xn(e)}function ei(e,t){if(null==e)return{};var n=s(zr(e),(function(e){return[e]}));return t=Wr(t),An(e,n,(function(e,n){return t(e,n[0])}))}function ti(e){return null==e?[]:N(e,Zo(e))}function ni(e){return ul(Go(e).toLowerCase())}function ri(e){return(e=Go(e))&&e.replace(at,hn).replace($t,"")}function oi(e,t,n){return e=Go(e),(t=n?W:t)===W?function(e){return Ht.test(e)}(e)?function(e){return e.match(Ut)||[]}(e):function(e){return e.match(Ye)||[]}(e):e.match(t)||[]}function ii(e){return function(){return e}}function ai(e){return e}function ui(e){return wn("function"==typeof e?e:Nt(e,1))}function li(e,t,n){var r=Zo(t),i=zt(t,r);null!=n||Mo(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=zt(t,Zo(t)));var a=!(Mo(n)&&"chain"in n&&!n.chain),u=Io(e);return o(i,(function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=sr(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,f([this.value()],arguments))})})),e}function ci(){}function si(e){return Yr(e)?_(uo(e)):function(e){return function(t){return Wt(t,e)}}(e)}function fi(){return[]}function di(){return!1}var pi,hi=(t=null==t?en:gn.defaults(en.Object(),t,gn.pick(en,Vt))).Array,vi=t.Date,yi=t.Error,gi=t.Function,mi=t.Math,bi=t.Object,wi=t.RegExp,_i=t.String,xi=t.TypeError,Ei=hi.prototype,ki=gi.prototype,Si=bi.prototype,Ci=t["__core-js_shared__"],Ri=ki.toString,Ni=Si.hasOwnProperty,Pi=0,Ai=(pi=/[^.]+$/.exec(Ci&&Ci.keys&&Ci.keys.IE_PROTO||""))?"Symbol(src)_1."+pi:"",Oi=Si.toString,Ti=Ri.call(bi),Di=en._,Ii=wi("^"+Ri.call(Ni).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ji=rn?t.Buffer:W,Li=t.Symbol,Mi=t.Uint8Array,zi=ji?ji.allocUnsafe:W,Fi=j(bi.getPrototypeOf,bi),$i=bi.create,Wi=Si.propertyIsEnumerable,Ui=Ei.splice,Bi=Li?Li.isConcatSpreadable:W,Hi=Li?Li.iterator:W,Vi=Li?Li.toStringTag:W,Ki=function(){try{var e=Hr(bi,"defineProperty");return e({},"",{}),e}catch{}}(),qi=t.clearTimeout!==en.clearTimeout&&t.clearTimeout,Qi=vi&&vi.now!==en.Date.now&&vi.now,Gi=t.setTimeout!==en.setTimeout&&t.setTimeout,Yi=mi.ceil,Xi=mi.floor,Zi=bi.getOwnPropertySymbols,Ji=ji?ji.isBuffer:W,ea=t.isFinite,ta=Ei.join,na=j(bi.keys,bi),ra=mi.max,oa=mi.min,ia=vi.now,aa=t.parseInt,ua=mi.random,la=Ei.reverse,ca=Hr(t,"DataView"),sa=Hr(t,"Map"),fa=Hr(t,"Promise"),da=Hr(t,"Set"),pa=Hr(t,"WeakMap"),ha=Hr(bi,"create"),va=pa&&new pa,ya={},ga=lo(ca),ma=lo(sa),ba=lo(fa),wa=lo(da),_a=lo(pa),xa=Li?Li.prototype:W,Ea=xa?xa.valueOf:W,ka=xa?xa.toString:W,Sa=function(){function e(){}return function(t){if(!Mo(t))return{};if($i)return $i(t);e.prototype=t;var n=new e;return e.prototype=W,n}}();x.templateSettings={escape:Me,evaluate:ze,interpolate:Fe,variable:"",imports:{_:x}},x.prototype=Ke.prototype,x.prototype.constructor=x,ct.prototype=Sa(Ke.prototype),ct.prototype.constructor=ct,st.prototype=Sa(Ke.prototype),st.prototype.constructor=st,ft.prototype.clear=function(){this.__data__=ha?ha(null):{},this.size=0},ft.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ft.prototype.get=function(e){var t=this.__data__;if(ha){var n=t[e];return n===B?W:n}return Ni.call(t,e)?t[e]:W},ft.prototype.has=function(e){var t=this.__data__;return ha?t[e]!==W:Ni.call(t,e)},ft.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ha&&t===W?B:t,this},dt.prototype.clear=function(){this.__data__=[],this.size=0},dt.prototype.delete=function(e){var t=this.__data__,n=xt(t,e);return!(n<0||(n==t.length-1?t.pop():Ui.call(t,n,1),--this.size,0))},dt.prototype.get=function(e){var t=this.__data__,n=xt(t,e);return n<0?W:t[n][1]},dt.prototype.has=function(e){return xt(this.__data__,e)>-1},dt.prototype.set=function(e,t){var n=this.__data__,r=xt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},pt.prototype.clear=function(){this.size=0,this.__data__={hash:new ft,map:new(sa||dt),string:new ft}},pt.prototype.delete=function(e){var t=Ur(this,e).delete(e);return this.size-=t?1:0,t},pt.prototype.get=function(e){return Ur(this,e).get(e)},pt.prototype.has=function(e){return Ur(this,e).has(e)},pt.prototype.set=function(e,t){var n=Ur(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ht.prototype.add=ht.prototype.push=function(e){return this.__data__.set(e,B),this},ht.prototype.has=function(e){return this.__data__.has(e)},vt.prototype.clear=function(){this.__data__=new dt,this.size=0},vt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},vt.prototype.get=function(e){return this.__data__.get(e)},vt.prototype.has=function(e){return this.__data__.has(e)},vt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof dt){var r=n.__data__;if(!sa||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pt(r)}return n.set(e,t),this.size=n.size,this};var Ca=hr(Lt),Ra=hr(Mt,!0),Na=vr(),Pa=vr(!0),Aa=va?function(e,t){return va.set(e,t),e}:ai,Oa=Ki?function(e,t){return Ki(e,"toString",{configurable:!0,enumerable:!1,value:ii(t),writable:!0})}:ai,Ta=jn,Da=qi||function(e){return en.clearTimeout(e)},Ia=da&&1/M(new da([,-0]))[1]==Y?function(e){return new da(e)}:ci,ja=va?function(e){return va.get(e)}:ci,La=Zi?function(e){return null==e?[]:(e=bi(e),u(Zi(e),(function(t){return Wi.call(e,t)})))}:fi,Ma=Zi?function(e){for(var t=[];e;)f(t,La(e)),e=Fi(e);return t}:fi,za=Gt;(ca&&za(new ca(new ArrayBuffer(1)))!=we||sa&&za(new sa)!=se||fa&&za(fa.resolve())!=pe||da&&za(new da)!=ve||pa&&za(new pa)!=me)&&(za=function(e){var t=Gt(e),n=t==de?e.constructor:W,r=n?lo(n):"";if(r)switch(r){case ga:return we;case ma:return se;case ba:return pe;case wa:return ve;case _a:return me}return t});var Fa=Ci?Io:di,$a=io(Aa),Wa=Gi||function(e,t){return en.setTimeout(e,t)},Ua=io(Oa),Ba=function(e){var t=No(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ue,(function(e,n,r,o){t.push(r?o.replace(Ze,"$1"):n||e)})),t})),Ha=jn((function(e,t){return To(e)?Ot(e,jt(t,1,To,!0)):[]})),Va=jn((function(e,t){var n=vo(t);return To(n)&&(n=W),To(e)?Ot(e,jt(t,1,To,!0),Wr(n,2)):[]})),Ka=jn((function(e,t){var n=vo(t);return To(n)&&(n=W),To(e)?Ot(e,jt(t,1,To,!0),W,n):[]})),qa=jn((function(e){var t=s(e,er);return t.length&&t[0]===e[0]?nn(t):[]})),Qa=jn((function(e){var t=vo(e),n=s(e,er);return t===vo(n)?t=W:n.pop(),n.length&&n[0]===e[0]?nn(n,Wr(t,2)):[]})),Ga=jn((function(e){var t=vo(e),n=s(e,er);return(t="function"==typeof t?t:W)&&n.pop(),n.length&&n[0]===e[0]?nn(n,W,t):[]})),Ya=jn(yo),Xa=Lr((function(e,t){var n=null==e?0:e.length,r=Ct(e,t);return Tn(e,s(t,(function(e){return Qr(e,n)?+e:e})).sort(ur)),r})),Za=jn((function(e){return qn(jt(e,1,To,!0))})),Ja=jn((function(e){var t=vo(e);return To(t)&&(t=W),qn(jt(e,1,To,!0),Wr(t,2))})),eu=jn((function(e){var t=vo(e);return t="function"==typeof t?t:W,qn(jt(e,1,To,!0),W,t)})),tu=jn((function(e,t){return To(e)?Ot(e,t):[]})),nu=jn((function(e){return Zn(u(e,To))})),ru=jn((function(e){var t=vo(e);return To(t)&&(t=W),Zn(u(e,To),Wr(t,2))})),ou=jn((function(e){var t=vo(e);return t="function"==typeof t?t:W,Zn(u(e,To),W,t)})),iu=jn(mo),au=jn((function(e){var t=e.length,n=t>1?e[t-1]:W;return n="function"==typeof n?(e.pop(),n):W,bo(e,n)})),uu=Lr((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Ct(t,e)};return!(t>1||this.__actions__.length)&&r instanceof st&&Qr(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:_o,args:[o],thisArg:W}),new ct(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(W),e}))):this.thru(o)})),lu=dr((function(e,t,n){Ni.call(e,n)?++e[n]:St(e,n,1)})),cu=br(so),su=br(fo),fu=dr((function(e,t,n){Ni.call(e,n)?e[n].push(t):St(e,n,[t])})),du=jn((function(e,t,r){var o=-1,i="function"==typeof t,a=Oo(e)?hi(e.length):[];return Ca(e,(function(e){a[++o]=i?n(t,e,r):on(e,t,r)})),a})),pu=dr((function(e,t,n){St(e,n,t)})),hu=dr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),vu=jn((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Gr(e,t[0],t[1])?t=[]:n>2&&Gr(t[0],t[1],t[2])&&(t=[t[0]]),Pn(e,jt(t,1),[])})),yu=Qi||function(){return en.Date.now()},gu=jn((function(e,t,n){var r=1;if(n.length){var o=L(n,$r(gu));r|=K}return Or(e,r,t,n,o)})),mu=jn((function(e,t,n){var r=3;if(n.length){var o=L(n,$r(mu));r|=K}return Or(t,r,e,n,o)})),bu=jn((function(e,t){return At(e,1,t)})),wu=jn((function(e,t,n){return At(e,qo(t)||0,n)}));No.Cache=pt;var _u=Ta((function(e,t){var r=(t=1==t.length&&Nu(t[0])?s(t[0],R(Wr())):s(jt(t,1),R(Wr()))).length;return jn((function(o){for(var i=-1,a=oa(o.length,r);++i<a;)o[i]=t[i].call(this,o[i]);return n(e,this,o)}))})),xu=jn((function(e,t){return Or(e,K,W,t,L(t,$r(xu)))})),Eu=jn((function(e,t){return Or(e,q,W,t,L(t,$r(Eu)))})),ku=Lr((function(e,t){return Or(e,G,W,W,W,t)})),Su=Rr(Zt),Cu=Rr((function(e,t){return e>=t})),Ru=an(function(){return arguments}())?an:function(e){return zo(e)&&Ni.call(e,"callee")&&!Wi.call(e,"callee")},Nu=hi.isArray,Pu=un?R(un):function(e){return zo(e)&&Gt(e)==be},Au=Ji||di,Ou=ln?R(ln):function(e){return zo(e)&&Gt(e)==ae},Tu=cn?R(cn):function(e){return zo(e)&&za(e)==se},Du=sn?R(sn):function(e){return zo(e)&&Gt(e)==he},Iu=fn?R(fn):function(e){return zo(e)&&za(e)==ve},ju=dn?R(dn):function(e){return zo(e)&&Lo(e.length)&&!!qt[Gt(e)]},Lu=Rr(En),Mu=Rr((function(e,t){return e<=t})),zu=pr((function(e,t){if(Zr(t)||Oo(t))return fr(t,Zo(t),e),W;for(var n in t)Ni.call(t,n)&&_t(e,n,t[n])})),Fu=pr((function(e,t){fr(t,Jo(t),e)})),$u=pr((function(e,t,n,r){fr(t,Jo(t),e,r)})),Wu=pr((function(e,t,n,r){fr(t,Zo(t),e,r)})),Uu=Lr(Ct),Bu=jn((function(e,t){e=bi(e);var n=-1,r=t.length,o=r>2?t[2]:W;for(o&&Gr(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=Jo(i),u=-1,l=a.length;++u<l;){var c=a[u],s=e[c];(s===W||Ao(s,Si[c])&&!Ni.call(e,c))&&(e[c]=i[c])}return e})),Hu=jn((function(e){return e.push(W,Dr),n(Gu,W,e)})),Vu=xr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oi.call(t)),e[t]=n}),ii(ai)),Ku=xr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oi.call(t)),Ni.call(e,t)?e[t].push(n):e[t]=[n]}),Wr),qu=jn(on),Qu=pr((function(e,t,n){Rn(e,t,n)})),Gu=pr((function(e,t,n,r){Rn(e,t,n,r)})),Yu=Lr((function(e,t){var n={};if(null==e)return n;var r=!1;t=s(t,(function(t){return t=nr(t,e),r||(r=t.length>1),t})),fr(e,zr(e),n),r&&(n=Nt(n,7,Ir));for(var o=t.length;o--;)Qn(n,t[o]);return n})),Xu=Lr((function(e,t){return null==e?{}:function(e,t){return An(e,t,(function(t,n){return Xo(e,n)}))}(e,t)})),Zu=Ar(Zo),Ju=Ar(Jo),el=gr((function(e,t,n){return t=t.toLowerCase(),e+(n?ni(t):t)})),tl=gr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),nl=gr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),rl=yr("toLowerCase"),ol=gr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),il=gr((function(e,t,n){return e+(n?" ":"")+ul(t)})),al=gr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ul=yr("toUpperCase"),ll=jn((function(e,t){try{return n(e,W,t)}catch(e){return Do(e)?e:new yi(e)}})),cl=Lr((function(e,t){return o(t,(function(t){t=uo(t),St(e,t,gu(e[t],e))})),e})),sl=wr(),fl=wr(!0),dl=jn((function(e,t){return function(n){return on(n,e,t)}})),pl=jn((function(e,t){return function(n){return on(e,n,t)}})),hl=kr(s),vl=kr(a),yl=kr(h),gl=Cr(),ml=Cr(!0),bl=Er((function(e,t){return e+t}),0),wl=Pr("ceil"),_l=Er((function(e,t){return e/t}),1),xl=Pr("floor"),El=Er((function(e,t){return e*t}),1),kl=Pr("round"),Sl=Er((function(e,t){return e-t}),0);return x.after=function(e,t){if("function"!=typeof t)throw new xi(U);return e=Vo(e),function(){if(--e<1)return t.apply(this,arguments)}},x.ary=So,x.assign=zu,x.assignIn=Fu,x.assignInWith=$u,x.assignWith=Wu,x.at=Uu,x.before=Co,x.bind=gu,x.bindAll=cl,x.bindKey=mu,x.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Nu(e)?e:[e]},x.chain=wo,x.chunk=function(e,t,n){t=(n?Gr(e,t,n):t===W)?1:ra(Vo(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=hi(Yi(r/t));o<r;)a[i++]=$n(e,o,o+=t);return a},x.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},x.concat=function(){var e=arguments.length;if(!e)return[];for(var t=hi(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return f(Nu(n)?sr(n):[n],jt(t,1))},x.cond=function(e){var t=null==e?0:e.length,r=Wr();return e=t?s(e,(function(e){if("function"!=typeof e[1])throw new xi(U);return[r(e[0]),e[1]]})):[],jn((function(r){for(var o=-1;++o<t;){var i=e[o];if(n(i[0],this,r))return n(i[1],this,r)}}))},x.conforms=function(e){return function(e){var t=Zo(e);return function(n){return Pt(n,e,t)}}(Nt(e,1))},x.constant=ii,x.countBy=lu,x.create=function(e,t){var n=Sa(e);return null==t?n:kt(n,t)},x.curry=function e(t,n,r){var o=Or(t,8,W,W,W,W,W,n=r?W:n);return o.placeholder=e.placeholder,o},x.curryRight=function e(t,n,r){var o=Or(t,V,W,W,W,W,W,n=r?W:n);return o.placeholder=e.placeholder,o},x.debounce=Ro,x.defaults=Bu,x.defaultsDeep=Hu,x.defer=bu,x.delay=wu,x.difference=Ha,x.differenceBy=Va,x.differenceWith=Ka,x.drop=function(e,t,n){var r=null==e?0:e.length;return r?$n(e,(t=n||t===W?1:Vo(t))<0?0:t,r):[]},x.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?$n(e,0,(t=r-(t=n||t===W?1:Vo(t)))<0?0:t):[]},x.dropRightWhile=function(e,t){return e&&e.length?Yn(e,Wr(t,3),!0,!0):[]},x.dropWhile=function(e,t){return e&&e.length?Yn(e,Wr(t,3),!0):[]},x.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Gr(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=Vo(n))<0&&(n=-n>o?0:o+n),(r=r===W||r>o?o:Vo(r))<0&&(r+=o),r=n>r?0:Ko(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},x.filter=function(e,t){return(Nu(e)?u:It)(e,Wr(t,3))},x.flatMap=function(e,t){return jt(ko(e,t),1)},x.flatMapDeep=function(e,t){return jt(ko(e,t),Y)},x.flatMapDepth=function(e,t,n){return n=n===W?1:Vo(n),jt(ko(e,t),n)},x.flatten=po,x.flattenDeep=function(e){return null!=e&&e.length?jt(e,Y):[]},x.flattenDepth=function(e,t){return null!=e&&e.length?jt(e,t=t===W?1:Vo(t)):[]},x.flip=function(e){return Or(e,512)},x.flow=sl,x.flowRight=fl,x.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},x.functions=function(e){return null==e?[]:zt(e,Zo(e))},x.functionsIn=function(e){return null==e?[]:zt(e,Jo(e))},x.groupBy=fu,x.initial=function(e){return null!=e&&e.length?$n(e,0,-1):[]},x.intersection=qa,x.intersectionBy=Qa,x.intersectionWith=Ga,x.invert=Vu,x.invertBy=Ku,x.invokeMap=du,x.iteratee=ui,x.keyBy=pu,x.keys=Zo,x.keysIn=Jo,x.map=ko,x.mapKeys=function(e,t){var n={};return t=Wr(t,3),Lt(e,(function(e,r,o){St(n,t(e,r,o),e)})),n},x.mapValues=function(e,t){var n={};return t=Wr(t,3),Lt(e,(function(e,r,o){St(n,r,t(e,r,o))})),n},x.matches=function(e){return Sn(Nt(e,1))},x.matchesProperty=function(e,t){return Cn(e,Nt(t,1))},x.memoize=No,x.merge=Qu,x.mergeWith=Gu,x.method=dl,x.methodOf=pl,x.mixin=li,x.negate=Po,x.nthArg=function(e){return e=Vo(e),jn((function(t){return Nn(t,e)}))},x.omit=Yu,x.omitBy=function(e,t){return ei(e,Po(Wr(t)))},x.once=function(e){return Co(2,e)},x.orderBy=function(e,t,n,r){return null==e?[]:(Nu(t)||(t=null==t?[]:[t]),Nu(n=r?W:n)||(n=null==n?[]:[n]),Pn(e,t,n))},x.over=hl,x.overArgs=_u,x.overEvery=vl,x.overSome=yl,x.partial=xu,x.partialRight=Eu,x.partition=hu,x.pick=Xu,x.pickBy=ei,x.property=si,x.propertyOf=function(e){return function(t){return null==e?W:Wt(e,t)}},x.pull=Ya,x.pullAll=yo,x.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?On(e,t,Wr(n,2)):e},x.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?On(e,t,W,n):e},x.pullAt=Xa,x.range=gl,x.rangeRight=ml,x.rearg=ku,x.reject=function(e,t){return(Nu(e)?u:It)(e,Po(Wr(t,3)))},x.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Wr(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Tn(e,o),n},x.rest=function(e,t){if("function"!=typeof e)throw new xi(U);return jn(e,t=t===W?t:Vo(t))},x.reverse=go,x.sampleSize=function(e,t,n){return t=(n?Gr(e,t,n):t===W)?1:Vo(t),(Nu(e)?mt:Mn)(e,t)},x.set=function(e,t,n){return null==e?e:zn(e,t,n)},x.setWith=function(e,t,n,r){return r="function"==typeof r?r:W,null==e?e:zn(e,t,n,r)},x.shuffle=function(e){return(Nu(e)?bt:Fn)(e)},x.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Gr(e,t,n)?(t=0,n=r):(t=null==t?0:Vo(t),n=n===W?r:Vo(n)),$n(e,t,n)):[]},x.sortBy=vu,x.sortedUniq=function(e){return e&&e.length?Hn(e):[]},x.sortedUniqBy=function(e,t){return e&&e.length?Hn(e,Wr(t,2)):[]},x.split=function(e,t,n){return n&&"number"!=typeof n&&Gr(e,t,n)&&(t=n=W),(n=n===W?J:n>>>0)?(e=Go(e))&&("string"==typeof t||null!=t&&!Du(t))&&!(t=Kn(t))&&D(e)?rr(F(e),0,n):e.split(t,n):[]},x.spread=function(e,t){if("function"!=typeof e)throw new xi(U);return t=null==t?0:ra(Vo(t),0),jn((function(r){var o=r[t],i=rr(r,0,t);return o&&f(i,o),n(e,this,i)}))},x.tail=function(e){var t=null==e?0:e.length;return t?$n(e,1,t):[]},x.take=function(e,t,n){return e&&e.length?$n(e,0,(t=n||t===W?1:Vo(t))<0?0:t):[]},x.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?$n(e,(t=r-(t=n||t===W?1:Vo(t)))<0?0:t,r):[]},x.takeRightWhile=function(e,t){return e&&e.length?Yn(e,Wr(t,3),!1,!0):[]},x.takeWhile=function(e,t){return e&&e.length?Yn(e,Wr(t,3)):[]},x.tap=function(e,t){return t(e),e},x.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new xi(U);return Mo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ro(e,t,{leading:r,maxWait:t,trailing:o})},x.thru=_o,x.toArray=Bo,x.toPairs=Zu,x.toPairsIn=Ju,x.toPath=function(e){return Nu(e)?s(e,uo):Uo(e)?[e]:sr(Ba(Go(e)))},x.toPlainObject=Qo,x.transform=function(e,t,n){var r=Nu(e),i=r||Au(e)||ju(e);if(t=Wr(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:Mo(e)&&Io(a)?Sa(Fi(e)):{}}return(i?o:Lt)(e,(function(e,r,o){return t(n,e,r,o)})),n},x.unary=function(e){return So(e,1)},x.union=Za,x.unionBy=Ja,x.unionWith=eu,x.uniq=function(e){return e&&e.length?qn(e):[]},x.uniqBy=function(e,t){return e&&e.length?qn(e,Wr(t,2)):[]},x.uniqWith=function(e,t){return t="function"==typeof t?t:W,e&&e.length?qn(e,W,t):[]},x.unset=function(e,t){return null==e||Qn(e,t)},x.unzip=mo,x.unzipWith=bo,x.update=function(e,t,n){return null==e?e:Gn(e,t,tr(n))},x.updateWith=function(e,t,n,r){return r="function"==typeof r?r:W,null==e?e:Gn(e,t,tr(n),r)},x.values=ti,x.valuesIn=function(e){return null==e?[]:N(e,Jo(e))},x.without=tu,x.words=oi,x.wrap=function(e,t){return xu(tr(t),e)},x.xor=nu,x.xorBy=ru,x.xorWith=ou,x.zip=iu,x.zipObject=function(e,t){return Jn(e||[],t||[],_t)},x.zipObjectDeep=function(e,t){return Jn(e||[],t||[],zn)},x.zipWith=au,x.entries=Zu,x.entriesIn=Ju,x.extend=Fu,x.extendWith=$u,li(x,x),x.add=bl,x.attempt=ll,x.camelCase=el,x.capitalize=ni,x.ceil=wl,x.clamp=function(e,t,n){return n===W&&(n=t,t=W),n!==W&&(n=(n=qo(n))==n?n:0),t!==W&&(t=(t=qo(t))==t?t:0),Rt(qo(e),t,n)},x.clone=function(e){return Nt(e,4)},x.cloneDeep=function(e){return Nt(e,5)},x.cloneDeepWith=function(e,t){return Nt(e,5,t="function"==typeof t?t:W)},x.cloneWith=function(e,t){return Nt(e,4,t="function"==typeof t?t:W)},x.conformsTo=function(e,t){return null==t||Pt(e,t,Zo(t))},x.deburr=ri,x.defaultTo=function(e,t){return null==e||e!=e?t:e},x.divide=_l,x.endsWith=function(e,t,n){e=Go(e),t=Kn(t);var r=e.length,o=n=n===W?r:Rt(Vo(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},x.eq=Ao,x.escape=function(e){return(e=Go(e))&&Le.test(e)?e.replace(Ie,vn):e},x.escapeRegExp=function(e){return(e=Go(e))&&He.test(e)?e.replace(Be,"\\$&"):e},x.every=function(e,t,n){var r=Nu(e)?a:Tt;return n&&Gr(e,t,n)&&(t=W),r(e,Wr(t,3))},x.find=cu,x.findIndex=so,x.findKey=function(e,t){return v(e,Wr(t,3),Lt)},x.findLast=su,x.findLastIndex=fo,x.findLastKey=function(e,t){return v(e,Wr(t,3),Mt)},x.floor=xl,x.forEach=xo,x.forEachRight=Eo,x.forIn=function(e,t){return null==e?e:Na(e,Wr(t,3),Jo)},x.forInRight=function(e,t){return null==e?e:Pa(e,Wr(t,3),Jo)},x.forOwn=function(e,t){return e&&Lt(e,Wr(t,3))},x.forOwnRight=function(e,t){return e&&Mt(e,Wr(t,3))},x.get=Yo,x.gt=Su,x.gte=Cu,x.has=function(e,t){return null!=e&&Vr(e,t,Jt)},x.hasIn=Xo,x.head=ho,x.identity=ai,x.includes=function(e,t,n,r){e=Oo(e)?e:ti(e),n=n&&!r?Vo(n):0;var o=e.length;return n<0&&(n=ra(o+n,0)),Wo(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&g(e,t,n)>-1},x.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vo(n);return o<0&&(o=ra(r+o,0)),g(e,t,o)},x.inRange=function(e,t,n){return t=Ho(t),n===W?(n=t,t=0):n=Ho(n),function(e,t,n){return e>=oa(t,n)&&e<ra(t,n)}(e=qo(e),t,n)},x.invoke=qu,x.isArguments=Ru,x.isArray=Nu,x.isArrayBuffer=Pu,x.isArrayLike=Oo,x.isArrayLikeObject=To,x.isBoolean=function(e){return!0===e||!1===e||zo(e)&&Gt(e)==ie},x.isBuffer=Au,x.isDate=Ou,x.isElement=function(e){return zo(e)&&1===e.nodeType&&!$o(e)},x.isEmpty=function(e){if(null==e)return!0;if(Oo(e)&&(Nu(e)||"string"==typeof e||"function"==typeof e.splice||Au(e)||ju(e)||Ru(e)))return!e.length;var t=za(e);if(t==se||t==ve)return!e.size;if(Zr(e))return!_n(e).length;for(var n in e)if(Ni.call(e,n))return!1;return!0},x.isEqual=function(e,t){return pn(e,t)},x.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:W)?n(e,t):W;return r===W?pn(e,t,W,n):!!r},x.isError=Do,x.isFinite=function(e){return"number"==typeof e&&ea(e)},x.isFunction=Io,x.isInteger=jo,x.isLength=Lo,x.isMap=Tu,x.isMatch=function(e,t){return e===t||mn(e,t,Br(t))},x.isMatchWith=function(e,t,n){return n="function"==typeof n?n:W,mn(e,t,Br(t),n)},x.isNaN=function(e){return Fo(e)&&e!=+e},x.isNative=function(e){if(Fa(e))throw new yi("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return bn(e)},x.isNil=function(e){return null==e},x.isNull=function(e){return null===e},x.isNumber=Fo,x.isObject=Mo,x.isObjectLike=zo,x.isPlainObject=$o,x.isRegExp=Du,x.isSafeInteger=function(e){return jo(e)&&e>=-X&&e<=X},x.isSet=Iu,x.isString=Wo,x.isSymbol=Uo,x.isTypedArray=ju,x.isUndefined=function(e){return e===W},x.isWeakMap=function(e){return zo(e)&&za(e)==me},x.isWeakSet=function(e){return zo(e)&&"[object WeakSet]"==Gt(e)},x.join=function(e,t){return null==e?"":ta.call(e,t)},x.kebabCase=tl,x.last=vo,x.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==W&&(o=(o=Vo(n))<0?ra(r+o,0):oa(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):y(e,b,o,!0)},x.lowerCase=nl,x.lowerFirst=rl,x.lt=Lu,x.lte=Mu,x.max=function(e){return e&&e.length?Dt(e,ai,Zt):W},x.maxBy=function(e,t){return e&&e.length?Dt(e,Wr(t,2),Zt):W},x.mean=function(e){return w(e,ai)},x.meanBy=function(e,t){return w(e,Wr(t,2))},x.min=function(e){return e&&e.length?Dt(e,ai,En):W},x.minBy=function(e,t){return e&&e.length?Dt(e,Wr(t,2),En):W},x.stubArray=fi,x.stubFalse=di,x.stubObject=function(){return{}},x.stubString=function(){return""},x.stubTrue=function(){return!0},x.multiply=El,x.nth=function(e,t){return e&&e.length?Nn(e,Vo(t)):W},x.noConflict=function(){return en._===this&&(en._=Di),this},x.noop=ci,x.now=yu,x.pad=function(e,t,n){e=Go(e);var r=(t=Vo(t))?z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Sr(Xi(o),n)+e+Sr(Yi(o),n)},x.padEnd=function(e,t,n){e=Go(e);var r=(t=Vo(t))?z(e):0;return t&&r<t?e+Sr(t-r,n):e},x.padStart=function(e,t,n){e=Go(e);var r=(t=Vo(t))?z(e):0;return t&&r<t?Sr(t-r,n)+e:e},x.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),aa(Go(e).replace(Ve,""),t||0)},x.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Gr(e,t,n)&&(t=n=W),n===W&&("boolean"==typeof t?(n=t,t=W):"boolean"==typeof e&&(n=e,e=W)),e===W&&t===W?(e=0,t=1):(e=Ho(e),t===W?(t=e,e=0):t=Ho(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=ua();return oa(e+o*(t-e+Yt("1e-"+((o+"").length-1))),t)}return Dn(e,t)},x.reduce=function(e,t,n){var r=Nu(e)?d:E,o=arguments.length<3;return r(e,Wr(t,4),n,o,Ca)},x.reduceRight=function(e,t,n){var r=Nu(e)?p:E,o=arguments.length<3;return r(e,Wr(t,4),n,o,Ra)},x.repeat=function(e,t,n){return t=(n?Gr(e,t,n):t===W)?1:Vo(t),In(Go(e),t)},x.replace=function(){var e=arguments,t=Go(e[0]);return e.length<3?t:t.replace(e[1],e[2])},x.result=function(e,t,n){var r=-1,o=(t=nr(t,e)).length;for(o||(o=1,e=W);++r<o;){var i=null==e?W:e[uo(t[r])];i===W&&(r=o,i=n),e=Io(i)?i.call(e):i}return e},x.round=kl,x.runInContext=e,x.sample=function(e){return(Nu(e)?gt:Ln)(e)},x.size=function(e){if(null==e)return 0;if(Oo(e))return Wo(e)?z(e):e.length;var t=za(e);return t==se||t==ve?e.size:_n(e).length},x.snakeCase=ol,x.some=function(e,t,n){var r=Nu(e)?h:Wn;return n&&Gr(e,t,n)&&(t=W),r(e,Wr(t,3))},x.sortedIndex=function(e,t){return Un(e,t)},x.sortedIndexBy=function(e,t,n){return Bn(e,t,Wr(n,2))},x.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Un(e,t);if(r<n&&Ao(e[r],t))return r}return-1},x.sortedLastIndex=function(e,t){return Un(e,t,!0)},x.sortedLastIndexBy=function(e,t,n){return Bn(e,t,Wr(n,2),!0)},x.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Un(e,t,!0)-1;if(Ao(e[n],t))return n}return-1},x.startCase=il,x.startsWith=function(e,t,n){return e=Go(e),n=null==n?0:Rt(Vo(n),0,e.length),t=Kn(t),e.slice(n,n+t.length)==t},x.subtract=Sl,x.sum=function(e){return e&&e.length?k(e,ai):0},x.sumBy=function(e,t){return e&&e.length?k(e,Wr(t,2)):0},x.template=function(e,t,n){var r=x.templateSettings;n&&Gr(e,t,n)&&(t=W),e=Go(e),t=$u({},t,r,Tr);var o,i,a=$u({},t.imports,r.imports,Tr),u=Zo(a),l=N(a,u),c=0,s=t.interpolate||ut,f="__p += '",d=wi((t.escape||ut).source+"|"+s.source+"|"+(s===Fe?Je:ut).source+"|"+(t.evaluate||ut).source+"|$","g"),p="//# sourceURL="+(Ni.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(d,(function(t,n,r,a,u,l){return r||(r=a),f+=e.slice(c,l).replace(lt,T),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),u&&(i=!0,f+="';\n"+u+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),f+="';\n";var h=Ni.call(t,"variable")&&t.variable;if(h){if(Xe.test(h))throw new yi("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(Ae,""):f).replace(Oe,"$1").replace(Te,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=ll((function(){return gi(u,p+"return "+f).apply(W,l)}));if(v.source=f,Do(v))throw v;return v},x.times=function(e,t){if((e=Vo(e))<1||e>X)return[];var n=J,r=oa(e,J);t=Wr(t),e-=J;for(var o=S(r,t);++n<e;)t(n);return o},x.toFinite=Ho,x.toInteger=Vo,x.toLength=Ko,x.toLower=function(e){return Go(e).toLowerCase()},x.toNumber=qo,x.toSafeInteger=function(e){return e?Rt(Vo(e),-X,X):0===e?e:0},x.toString=Go,x.toUpper=function(e){return Go(e).toUpperCase()},x.trim=function(e,t,n){if((e=Go(e))&&(n||t===W))return C(e);if(!e||!(t=Kn(t)))return e;var r=F(e),o=F(t);return rr(r,A(r,o),O(r,o)+1).join("")},x.trimEnd=function(e,t,n){if((e=Go(e))&&(n||t===W))return e.slice(0,$(e)+1);if(!e||!(t=Kn(t)))return e;var r=F(e);return rr(r,0,O(r,F(t))+1).join("")},x.trimStart=function(e,t,n){if((e=Go(e))&&(n||t===W))return e.replace(Ve,"");if(!e||!(t=Kn(t)))return e;var r=F(e);return rr(r,A(r,F(t))).join("")},x.truncate=function(e,t){var n=30,r="...";if(Mo(t)){var o="separator"in t?t.separator:o;n="length"in t?Vo(t.length):n,r="omission"in t?Kn(t.omission):r}var i=(e=Go(e)).length;if(D(e)){var a=F(e);i=a.length}if(n>=i)return e;var u=n-z(r);if(u<1)return r;var l=a?rr(a,0,u).join(""):e.slice(0,u);if(o===W)return l+r;if(a&&(u+=l.length-u),Du(o)){if(e.slice(u).search(o)){var c,s=l;for(o.global||(o=wi(o.source,Go(et.exec(o))+"g")),o.lastIndex=0;c=o.exec(s);)var f=c.index;l=l.slice(0,f===W?u:f)}}else if(e.indexOf(Kn(o),u)!=u){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+r},x.unescape=function(e){return(e=Go(e))&&je.test(e)?e.replace(De,yn):e},x.uniqueId=function(e){var t=++Pi;return Go(e)+t},x.upperCase=al,x.upperFirst=ul,x.each=xo,x.eachRight=Eo,x.first=ho,li(x,function(){var e={};return Lt(x,(function(t,n){Ni.call(x.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),x.VERSION="4.17.21",o(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){x[e].placeholder=x})),o(["drop","take"],(function(e,t){st.prototype[e]=function(n){n=n===W?1:ra(Vo(n),0);var r=this.__filtered__&&!t?new st(this):this.clone();return r.__filtered__?r.__takeCount__=oa(n,r.__takeCount__):r.__views__.push({size:oa(n,J),type:e+(r.__dir__<0?"Right":"")}),r},st.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),o(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;st.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Wr(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),o(["head","last"],(function(e,t){var n="take"+(t?"Right":"");st.prototype[e]=function(){return this[n](1).value()[0]}})),o(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");st.prototype[e]=function(){return this.__filtered__?new st(this):this[n](1)}})),st.prototype.compact=function(){return this.filter(ai)},st.prototype.find=function(e){return this.filter(e).head()},st.prototype.findLast=function(e){return this.reverse().find(e)},st.prototype.invokeMap=jn((function(e,t){return"function"==typeof e?new st(this):this.map((function(n){return on(n,e,t)}))})),st.prototype.reject=function(e){return this.filter(Po(Wr(e)))},st.prototype.slice=function(e,t){e=Vo(e);var n=this;return n.__filtered__&&(e>0||t<0)?new st(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==W&&(n=(t=Vo(t))<0?n.dropRight(-t):n.take(t-e)),n)},st.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},st.prototype.toArray=function(){return this.take(J)},Lt(st.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=x[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(x.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof st,l=a[0],c=u||Nu(t),s=function(e){var t=o.apply(x,f([e],a));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=i&&!d,v=u&&!p;if(!i&&c){t=v?t:new st(this);var y=e.apply(t,a);return y.__actions__.push({func:_o,args:[s],thisArg:W}),new ct(y,d)}return h&&v?e.apply(this,a):(y=this.thru(s),h?r?y.value()[0]:y.value():y)})})),o(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ei[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);x.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Nu(o)?o:[],e)}return this[n]((function(n){return t.apply(Nu(n)?n:[],e)}))}})),Lt(st.prototype,(function(e,t){var n=x[t];if(n){var r=n.name+"";Ni.call(ya,r)||(ya[r]=[]),ya[r].push({name:t,func:n})}})),ya[_r(W,2).name]=[{name:"wrapper",func:W}],st.prototype.clone=function(){var e=new st(this.__wrapped__);return e.__actions__=sr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=sr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=sr(this.__views__),e},st.prototype.reverse=function(){if(this.__filtered__){var e=new st(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},st.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Nu(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=oa(t,e+a);break;case"takeRight":e=ra(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,l=u-a,c=r?u:a-1,s=this.__iteratees__,f=s.length,d=0,p=oa(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return Xn(e,this.__actions__);var h=[];e:for(;l--&&d<p;){for(var v=-1,y=e[c+=t];++v<f;){var g=s[v],m=g.iteratee,b=g.type,w=m(y);if(2==b)y=w;else if(!w){if(1==b)continue e;break e}}h[d++]=y}return h},x.prototype.at=uu,x.prototype.chain=function(){return wo(this)},x.prototype.commit=function(){return new ct(this.value(),this.__chain__)},x.prototype.next=function(){this.__values__===W&&(this.__values__=Bo(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?W:this.__values__[this.__index__++]}},x.prototype.plant=function(e){for(var t,n=this;n instanceof Ke;){var r=co(n);r.__index__=0,r.__values__=W,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},x.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof st){var t=e;return this.__actions__.length&&(t=new st(this)),(t=t.reverse()).__actions__.push({func:_o,args:[go],thisArg:W}),new ct(t,this.__chain__)}return this.thru(go)},x.prototype.toJSON=x.prototype.valueOf=x.prototype.value=function(){return Xn(this.__wrapped__,this.__actions__)},x.prototype.first=x.prototype.head,Hi&&(x.prototype[Hi]=function(){return this}),x}();nn?((nn.exports=gn)._=gn,tn._=gn):en._=gn}.call($I)),ov.exports;var e,t}var m$,Y0,y$,X0,_$,Q0,w$,V0={};function CI(){return m$||(m$=1,(e=V0).aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}),V0;var e}function NR(){return y$||(y$=1,Y0={}),Y0}function DR(){if(_$)return X0;_$=1;var e=CI(),t=NR(),n=Array.prototype.push;function r(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function o(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function i(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}return X0=function a(u,l,c,s){var f="function"==typeof l,d=l===Object(l);if(d&&(s=c,c=l,l=void 0),null==c)throw new TypeError;s||(s={});var p=!("cap"in s)||s.cap,h=!("curry"in s)||s.curry,v=!("fixed"in s)||s.fixed,y=!("immutable"in s)||s.immutable,g=!("rearg"in s)||s.rearg,m=f?c:t,b="curry"in s&&s.curry,w="fixed"in s&&s.fixed,_="rearg"in s&&s.rearg,x=f?c.runInContext():void 0,E=f?c:{ary:u.ary,assign:u.assign,clone:u.clone,curry:u.curry,forEach:u.forEach,isArray:u.isArray,isError:u.isError,isFunction:u.isFunction,isWeakMap:u.isWeakMap,iteratee:u.iteratee,keys:u.keys,rearg:u.rearg,toInteger:u.toInteger,toPath:u.toPath},k=E.ary,S=E.assign,C=E.clone,R=E.curry,N=E.forEach,P=E.isArray,A=E.isError,O=E.isFunction,T=E.isWeakMap,D=E.keys,I=E.rearg,j=E.toInteger,L=E.toPath,M=D(e.aryMethod),z={castArray:function(e){return function(){var t=arguments[0];return P(t)?e(o(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[1],n=e(arguments[0],t),o=n.length;return p&&"number"==typeof t?(t=t>2?t-2:1,o&&o<=t?n:r(n,t)):n}},mixin:function(e){return function(t){var n=this;if(!O(n))return e(n,Object(t));var r=[];return N(D(t),(function(e){O(t[e])&&r.push([e,n.prototype[e]])})),e(n,Object(t)),N(r,(function(e){var t=e[1];O(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]})),n}},nthArg:function(e){return function(t){var n=t<0?1:j(t)+1;return R(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return R(e(t,n),r)}},runInContext:function(e){return function(t){return a(u,e(t),s)}}};function F(t,n){if(p){var o=e.iterateeRearg[t];if(o)return function(e,t){return H(e,(function(e){var n=t.length;return function(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(I(r(e,n),t),n)}))}(n,o);var i=!f&&e.iterateeAry[t];if(i)return function(e,t){return H(e,(function(e){return"function"==typeof e?r(e,t):e}))}(n,i)}return n}function $(t,r,o){if(v&&(w||!e.skipFixed[t])){var i=e.methodSpread[t],a=i&&i.start;return void 0===a?k(r,o):function(e,t){return function(){for(var r=arguments.length,o=r-1,i=Array(r);r--;)i[r]=arguments[r];var a=i[t],u=i.slice(0,t);return a&&n.apply(u,a),t!=o&&n.apply(u,i.slice(t+1)),e.apply(this,u)}}(r,a)}return r}function W(t,n,r){return g&&r>1&&(_||!e.skipRearg[t])?I(n,e.methodRearg[t]||e.aryRearg[r]):n}function U(e,t){for(var n=-1,r=(t=L(t)).length,o=r-1,i=C(Object(e)),a=i;null!=a&&++n<r;){var u=t[n],l=a[u];null!=l&&!(O(l)||A(l)||T(l))&&(a[u]=C(n==o?l:Object(l))),a=a[u]}return i}function B(t,n){var r=e.aliasToReal[t]||t,o=e.remap[r]||r,i=s;return function(e){var t=f?x:E,u=f?x[o]:n,l=S(S({},i),e);return a(t,r,u,l)}}function H(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var o=g?0:n-1;return r[o]=t(r[o]),e.apply(void 0,r)}}function V(t,n,r){var a,u=e.aliasToReal[t]||t,l=n,c=z[u];return c?l=c(n):y&&(e.mutate.array[u]?l=i(n,o):e.mutate.object[u]?l=i(n,function(e){return function(t){return e({},t)}}(n)):e.mutate.set[u]&&(l=i(n,U))),N(M,(function(t){return N(e.aryMethod[t],(function(n){if(u==n){var r=e.methodSpread[u],o=r&&r.afterRearg;return a=o?$(u,W(u,l,t),t):W(u,$(u,l,t),t),a=function(e,t,n){return b||h&&n>1?R(t,n):t}(0,a=F(u,a),t),!1}})),!a})),a||(a=l),a==n&&(a=b?R(a,1):function(){return n.apply(this,arguments)}),a.convert=B(u,n),a.placeholder=n.placeholder=r,a}if(!d)return V(l,c,m);var K=c,q=[];return N(M,(function(t){N(e.aryMethod[t],(function(t){var n=K[e.remap[t]||t];n&&q.push([t,V(t,n,K)])}))})),N(D(K),(function(e){var t=K[e];if("function"==typeof t){for(var n=q.length;n--;)if(q[n][0]==e)return;t.convert=B(e,t),q.push([e,t])}})),N(q,(function(e){K[e[0]]=e[1]})),K.convert=function(e){return K.runInContext.convert(e)(void 0)},K.placeholder=K,N(D(K),(function(t){N(e.realToAlias[t]||[],(function(e){K[e]=K[t]}))})),K},X0}function EI(){if(w$)return Q0;w$=1;var e=SI().runInContext();return Q0=DR()(e,e)}var LR=EI();
64
64
  /**
65
65
  * @license lucide-react v0.471.2 - ISC
66
66
  *
67
67
  * This source code is licensed under the ISC license.
68
68
  * See the LICENSE file in the root directory of this source tree.
69
- */const o$=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gw=(...e)=>e.filter(((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim()
69
+ */const RI=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),MR=(...e)=>e.filter(((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim()
70
70
  /**
71
71
  * @license lucide-react v0.471.2 - ISC
72
72
  *
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
75
- */;var i$={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
75
+ */;var AI={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
76
76
  /**
77
77
  * @license lucide-react v0.471.2 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const a$=h.forwardRef((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...u},l)=>h.createElement("svg",{ref:l,...i$,width:t,height:t,stroke:e,strokeWidth:r?24*Number(n)/Number(t):n,className:gw("lucide",o),...u},[...a.map((([e,t])=>h.createElement(e,t))),...Array.isArray(i)?i:[i]]))),ed=(e,t)=>{const n=h.forwardRef((({className:n,...r},o)=>h.createElement(a$,{ref:o,iconNode:t,className:gw(`lucide-${o$(e)}`,n),...r})));return n.displayName=`${e}`,n},l$=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Z0=ed("Check",l$),s$=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],yw=ed("ChevronDown",s$),u$=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],c$=ed("ChevronLeft",u$),f$=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ww=ed("ChevronRight",f$),d$=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],p$=ed("ChevronUp",d$),h$=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],xw=ed("Circle",h$),v$=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_w=ed("X",v$);
81
+ */const PI=y.forwardRef((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...u},l)=>y.createElement("svg",{ref:l,...AI,width:t,height:t,stroke:e,strokeWidth:r?24*Number(n)/Number(t):n,className:MR("lucide",o),...u},[...a.map((([e,t])=>y.createElement(e,t))),...Array.isArray(i)?i:[i]]))),vd=(e,t)=>{const n=y.forwardRef((({className:n,...r},o)=>y.createElement(PI,{ref:o,iconNode:t,className:MR(`lucide-${RI(e)}`,n),...r})));return n.displayName=`${e}`,n},TI=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Wx=vd("Check",TI),II=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],FR=vd("ChevronDown",II),OI=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],kI=vd("ChevronLeft",OI),NI=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],zR=vd("ChevronRight",NI),DI=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],LI=vd("ChevronUp",DI),MI=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],WR=vd("Circle",MI),FI=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],qR=vd("X",FI);
82
82
  /**
83
83
  * @license lucide-react v0.471.2 - ISC
84
84
  *
85
85
  * This source code is licensed under the ISC license.
86
86
  * See the LICENSE file in the root directory of this source tree.
87
- */function m$(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function bw(...e){return t=>e.forEach((e=>m$(e,t)))}function td(...e){return h.useCallback(bw(...e),e)}var tv=h.forwardRef(((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(y$);if(i){const e=i.props.children,n=o.map((t=>t===i?h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null:t));return Z.jsx(P0,{...r,ref:t,children:h.isValidElement(e)?h.cloneElement(e,void 0,n):null})}return Z.jsx(P0,{...r,ref:t,children:n})}));tv.displayName="Slot";var P0=h.forwardRef(((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const e=x$(n);return h.cloneElement(n,{...w$(r,n.props),ref:t?bw(t,e):e})}return h.Children.count(n)>1?h.Children.only(null):null}));P0.displayName="SlotClone";var g$=({children:e})=>Z.jsx(Z.Fragment,{children:e});function y$(e){return h.isValidElement(e)&&e.type===g$}function w$(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function x$(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function Ew(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ew(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _$(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ew(e))&&(r&&(r+=" "),r+=t);return r}const ly=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,sy=_$,Tc=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return sy(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map((e=>{const t=null==n?void 0:n[e],r=null==i?void 0:i[e];if(null===t)return null;const a=ly(t)||ly(r);return o[e][a]})),u=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...u}[t]):{...i,...u}[t]===n}))?[...e,n,r]:e}),[]);return sy(e,a,l,null==n?void 0:n.class,null==n?void 0:n.className)};function $w(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=$w(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function b$(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=$w(e))&&(r&&(r+=" "),r+=t);return r}const J0="-";function E$(e){const t=S$(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(J0);return""===n[0]&&1!==n.length&&n.shift(),Sw(n,t)||$$(e)},getConflictingClassGroupIds:function(e,t){const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function Sw(e,t){var n;if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?Sw(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;const a=e.join(J0);return null==(n=t.validators.find((({validator:e})=>e(a))))?void 0:n.classGroupId}const uy=/^\[(.+)\]$/;function $$(e){if(uy.test(e)){const t=uy.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function S$(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return R$(Object.entries(e.classGroups),n).forEach((([e,n])=>{A0(n,r,e,t)})),r}function A0(e,t,n,r){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return C$(e)?void A0(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{A0(o,cy(t,e),n,r)}))}else{(""===e?t:cy(t,e)).classGroupId=n}}))}function cy(e,t){let n=e;return t.split(J0).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function C$(e){return e.isThemeGetter}function R$(e,t){return t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e}function P$(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}}const Cw="!";function A$(e){const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){const i=[];let a,u=0,l=0;for(let s=0;s<e.length;s++){let c=e[s];if(0===u){if(c===r&&(n||e.slice(s,s+o)===t)){i.push(e.slice(l,s)),l=s+o;continue}if("/"===c){a=s;continue}}"["===c?u++:"]"===c&&u--}const s=0===i.length?e:e.substring(l),c=s.startsWith(Cw);return{modifiers:i,hasImportantModifier:c,baseClassName:c?s.substring(1):s,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}function k$(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}function N$(e){return{cache:P$(e.cacheSize),splitModifiers:A$(e),...E$(e)}}const T$=/\s+/;function I$(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(T$).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e);let u=r(a?i.substring(0,a):i),l=!!a;if(!u){if(!a)return{isTailwindClass:!1,originalClassName:e};if(u=r(i),!u)return{isTailwindClass:!1,originalClassName:e};l=!1}const s=k$(t).join(":");return{isTailwindClass:!0,modifierId:o?s+Cw:s,classGroupId:u,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}function O$(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Rw(e))&&(r&&(r+=" "),r+=t);return r}function Rw(e){if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Rw(e[r]))&&(n&&(n+=" "),n+=t);return n}function D$(e,...t){let n,r,o,i=function(u){const l=t.reduce(((e,t)=>t(e)),e());return n=N$(l),r=n.cache.get,o=n.cache.set,i=a,a(u)};function a(e){const t=r(e);if(t)return t;const i=I$(e,n);return o(e,i),i}return function(){return i(O$.apply(null,arguments))}}function vn(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Pw=/^\[(?:([a-z-]+):)?(.+)\]$/i,M$=/^\d+\/\d+$/,L$=new Set(["px","full","screen"]),F$=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z$=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,W$=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B$=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Us(e){return Kf(e)||L$.has(e)||M$.test(e)}function bc(e){return Ip(e,"length",q$)}function Kf(e){return!!e&&!Number.isNaN(Number(e))}function Ov(e){return Ip(e,"number",Kf)}function Dh(e){return!!e&&Number.isInteger(Number(e))}function j$(e){return e.endsWith("%")&&Kf(e.slice(0,-1))}function mt(e){return Pw.test(e)}function Ec(e){return F$.test(e)}const U$=new Set(["length","size","percentage"]);function H$(e){return Ip(e,U$,Aw)}function V$(e){return Ip(e,"position",Aw)}const K$=new Set(["image","url"]);function G$(e){return Ip(e,K$,Q$)}function Y$(e){return Ip(e,"",X$)}function Mh(){return!0}function Ip(e,t,n){const r=Pw.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function q$(e){return z$.test(e)}function Aw(){return!1}function X$(e){return W$.test(e)}function Q$(e){return B$.test(e)}function Z$(){const e=vn("colors"),t=vn("spacing"),n=vn("blur"),r=vn("brightness"),o=vn("borderColor"),i=vn("borderRadius"),a=vn("borderSpacing"),u=vn("borderWidth"),l=vn("contrast"),s=vn("grayscale"),c=vn("hueRotate"),f=vn("invert"),d=vn("gap"),p=vn("gradientColorStops"),h=vn("gradientColorStopPositions"),v=vn("inset"),m=vn("margin"),g=vn("opacity"),y=vn("padding"),b=vn("saturate"),w=vn("scale"),_=vn("sepia"),x=vn("skew"),E=vn("space"),k=vn("translate"),S=()=>["auto",mt,t],C=()=>[mt,t],R=()=>["",Us,bc],N=()=>["auto",Kf,mt],P=()=>["","0",mt],A=()=>[Kf,Ov],T=()=>[Kf,mt];return{cacheSize:500,separator:":",theme:{colors:[Mh],spacing:[Us,bc],blur:["none","",Ec,mt],brightness:A(),borderColor:[e],borderRadius:["none","","full",Ec,mt],borderSpacing:C(),borderWidth:R(),contrast:A(),grayscale:P(),hueRotate:T(),invert:P(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[j$,bc],inset:S(),margin:S(),opacity:A(),padding:C(),saturate:A(),scale:A(),sepia:P(),skew:T(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",mt]}],container:["container"],columns:[{columns:[Ec]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",mt]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Dh,mt]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",mt]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Dh,mt]}],"grid-cols":[{"grid-cols":[Mh]}],"col-start-end":[{col:["auto",{span:["full",Dh,mt]},mt]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[Mh]}],"row-start-end":[{row:["auto",{span:[Dh,mt]},mt]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",mt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",mt]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",mt,t]}],"min-w":[{"min-w":[mt,t,"min","max","fit"]}],"max-w":[{"max-w":[mt,t,"none","full","min","max","fit","prose",{screen:[Ec]},Ec]}],h:[{h:[mt,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[mt,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[mt,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[mt,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ec,bc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ov]}],"font-family":[{font:[Mh]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",mt]}],"line-clamp":[{"line-clamp":["none",Kf,Ov]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Us,mt]}],"list-image":[{"list-image":["none",mt]}],"list-style-type":[{list:["none","disc","decimal",mt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Us,bc]}],"underline-offset":[{"underline-offset":["auto",Us,mt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",mt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",mt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V$]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",H$]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},G$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Us,mt]}],"outline-w":[{outline:[Us,bc]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Us,bc]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ec,Y$]}],"shadow-color":[{shadow:[Mh]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ec,mt]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",mt]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",mt]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",mt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Dh,mt]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",mt]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",mt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",mt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Us,bc,Ov]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const J$=D$(Z$);function He(...e){return J$(b$(e))}const e1=Tc("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-300 ease-in-out focus-visible:outline-none focus-visible:ring-offset-2 disabled:pointer-events-none",{variants:{variant:{black_filled:"bg-slate-700 text-white hover:bg-slate-900 disabled:bg-slate-400",red_filled:"bg-red-dark text-white hover:bg-red_100 disabled:bg-red_30",blue_filled:"bg-blue_100 text-white hover:bg-blue_120 disabled:bg-blue_10",gray_filled:"bg-slate-100 text-slate-700 hover:bg-slate-200 disabled:bg-slate-50",black_outline:"bg-transparent border border-slate-700 text-slate-700 hover:bg-slate-50 disabled:text-slate-400 disabled:border-slate-400",red_outline:"bg-transparent border text-red-dark border-red-dark hover:text-red_100 hover:border-red_100 disabled:text-red_30 disabled:border-red_30",blue_outline:"bg-transparent border text-blue_120 border-blue_120 hover:text-blue_100 hover:border-blue_100 disabled:text-blue_10 disabled:border-blue_10",gray_outline:"bg-transparent border text-slate-700 border-slate-100 hover:bg-slate-50 hover:border-slate-200 disabled:text-slate-400 disabled:border-slate-50",black_simple:"bg-transparent text-slate-700 hover:text-slate-500 disabled:text-slate-400",red_simple:"text-red-dark hover:text-red_100 disabled:text-slate-40",blue_simple:"text-blue_120 hover:text-red_100 disabled:text-slate-40",gray_simple:"text-slate-100 hover:text-slate-200 disabled:text-slate-40",link:"text-primary underline-offset-4 hover:underline",blue_link:"text-blue_100 hover:underline"},size:{l:"min-w-[128px] h-10 rounded-md text-base",m:"min-w-[120px] h-8 rounded-md text-base",s:"min-w-[102px] h-6 rounded-[3px] text-sm",xs:"min-w-[102px] h-5 rounded-[3px] text-sm",link:"",default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",h24:"h-[24px]","130/32":"h-8 min-w-[130px] rounded-md px-3",small:"py-[4px] px-[8px] rounded-[4px]"}},defaultVariants:{variant:"black_filled",size:"default"}}),t1=h.forwardRef((({className:e,variant:t,size:n,asChild:r=!1,as:o="button",...i},a)=>{const u=r?tv:o,l="link"===t||"blue_link"===t?"link":n;return Z.jsx(u,{className:He(e1({variant:t,size:l,className:e})),ref:a,...i})}));function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_e.apply(this,arguments)}function eS(e,t){const n=h.createContext(t);function r(e){const{children:t,...r}=e,o=h.useMemo((()=>r),Object.values(r));return h.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){const o=h.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}function Do(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>h.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return h.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=h.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][i])||o,l=h.useMemo((()=>a),Object.values(a));return h.createElement(u.Provider,{value:l},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const u=(null==a?void 0:a[e][i])||o,l=h.useContext(u);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},tS(r,...t)]}function tS(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return h.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function nS(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function n1(...e){return t=>e.forEach((e=>nS(e,t)))}function Ft(...e){return h.useCallback(n1(...e),e)}function et(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}t1.displayName="Button";const Oo=null!=globalThis&&globalThis.document?h.useLayoutEffect:()=>{},rS=yE.useId||(()=>{});let oS=0;function Wh(e){const[t,n]=h.useState(rS());return Oo((()=>{n((e=>e??String(oS++)))}),[e]),t?`radix-${t}`:""}function Va(e){const t=h.useRef(e);return h.useEffect((()=>{t.current=e})),h.useMemo((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function nv({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=iS({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,u=Va(n);return[a,h.useCallback((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)}),[i,e,o,u])]}function iS({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=Va(t);return h.useEffect((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}const Yf=h.forwardRef(((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(aS);if(i){const e=i.props.children,n=o.map((t=>t===i?h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null:t));return h.createElement(k0,_e({},r,{ref:t}),h.isValidElement(e)?h.cloneElement(e,void 0,n):null)}return h.createElement(k0,_e({},r,{ref:t}),n)}));Yf.displayName="Slot";const k0=h.forwardRef(((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...lS(r,n.props),ref:t?n1(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null}));k0.displayName="SlotClone";const r1=({children:e})=>h.createElement(h.Fragment,null,e);function aS(e){return h.isValidElement(e)&&e.type===r1}function lS(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const sS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],dt=sS.reduce(((e,t)=>{const n=h.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?Yf:t;return h.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),h.createElement(i,_e({},o,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function kw(e,t){e&&Wl.flushSync((()=>e.dispatchEvent(t)))}function uS(e,t=(null==globalThis?void 0:globalThis.document)){const n=Va(e);h.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}const N0="dismissableLayer.update",cS="dismissableLayer.pointerDownOutside",fS="dismissableLayer.focusOutside";let fy;const dS=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),im=h.forwardRef(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...s}=e,c=h.useContext(dS),[f,d]=h.useState(null),p=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,v]=h.useState({}),m=Ft(t,(e=>d(e))),g=Array.from(c.layers),[y]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(y),w=f?g.indexOf(f):-1,_=c.layersWithOutsidePointerEventsDisabled.size>0,x=w>=b,E=pS((e=>{const t=e.target,n=[...c.branches].some((e=>e.contains(t)));!x||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p),k=hS((e=>{const t=e.target;[...c.branches].some((e=>e.contains(t)))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p);return uS((e=>{w===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),p),h.useEffect((()=>{if(f)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(fy=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(f)),c.layers.add(f),dy(),()=>{r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=fy)}}),[f,p,r,c]),h.useEffect((()=>()=>{f&&(c.layers.delete(f),c.layersWithOutsidePointerEventsDisabled.delete(f),dy())}),[f,c]),h.useEffect((()=>{const e=()=>v({});return document.addEventListener(N0,e),()=>document.removeEventListener(N0,e)}),[]),h.createElement(dt.div,_e({},s,{ref:m,style:{pointerEvents:_?x?"auto":"none":void 0,...e.style},onFocusCapture:et(e.onFocusCapture,k.onFocusCapture),onBlurCapture:et(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:et(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function pS(e,t=(null==globalThis?void 0:globalThis.document)){const n=Va(e),r=h.useRef(!1),o=h.useRef((()=>{}));return h.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){Nw(cS,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}function hS(e,t=(null==globalThis?void 0:globalThis.document)){const n=Va(e),r=h.useRef(!1);return h.useEffect((()=>{const e=e=>{e.target&&!r.current&&Nw(fS,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dy(){const e=new CustomEvent(N0);document.dispatchEvent(e)}function Nw(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kw(o,i):o.dispatchEvent(i)}const s0="focusScope.autoFocusOnMount",u0="focusScope.autoFocusOnUnmount",py={bubbles:!1,cancelable:!0},o1=h.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,l]=h.useState(null),s=Va(o),c=Va(i),f=h.useRef(null),d=Ft(t,(e=>l(e))),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect((()=>{if(r){let e=function(e){if(p.paused||!u)return;const t=e.target;u.contains(t)?f.current=t:$c(f.current,{select:!0})},t=function(e){if(p.paused||!u)return;const t=e.relatedTarget;null!==t&&(u.contains(t)||$c(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&$c(u)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,u,p.paused]),h.useEffect((()=>{if(u){vy.add(p);const e=document.activeElement;if(!u.contains(e)){const t=new CustomEvent(s0,py);u.addEventListener(s0,s),u.dispatchEvent(t),t.defaultPrevented||(vS(xS(Tw(u)),{select:!0}),document.activeElement===e&&$c(u))}return()=>{u.removeEventListener(s0,s),setTimeout((()=>{const t=new CustomEvent(u0,py);u.addEventListener(u0,c),u.dispatchEvent(t),t.defaultPrevented||$c(e??document.body,{select:!0}),u.removeEventListener(u0,c),vy.remove(p)}),0)}}}),[u,s,c,p]);const v=h.useCallback((e=>{if(!n&&!r||p.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=mS(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&$c(i,{select:!0})):(e.preventDefault(),n&&$c(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,p.paused]);return h.createElement(dt.div,_e({tabIndex:-1},a,{ref:d,onKeyDown:v}))}));function vS(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if($c(r,{select:t}),document.activeElement!==n)return}function mS(e){const t=Tw(e);return[hy(t,e),hy(t.reverse(),e)]}function Tw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function hy(e,t){for(const n of e)if(!gS(n,{upTo:t}))return n}function gS(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function yS(e){return e instanceof HTMLInputElement&&"select"in e}function $c(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&yS(e)&&t&&e.select()}}const vy=wS();function wS(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=my(e,t),e.unshift(t)},remove(t){var n;e=my(e,t),null===(n=e[0])||void 0===n||n.resume()}}}function my(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function xS(e){return e.filter((e=>"A"!==e.tagName))}const i1=h.forwardRef(((e,t)=>{var n;const{container:r=(null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?ow.createPortal(h.createElement(dt.div,_e({},o,{ref:t})),r):null}));function _S(e,t){return h.useReducer(((e,n)=>t[e][n]??e),e)}const ua=e=>{const{present:t,children:n}=e,r=bS(t),o="function"==typeof n?n({present:r.isPresent}):h.Children.only(n),i=Ft(r.ref,o.ref);return"function"==typeof n||r.isPresent?h.cloneElement(o,{ref:i}):null};function bS(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[u,l]=_S(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect((()=>{const e=Dv(r.current);i.current="mounted"===u?e:"none"}),[u]),Oo((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Dv(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,l]),Oo((()=>{if(t){const e=e=>{const n=Dv(r.current).includes(e.animationName);e.target===t&&n&&Wl.flushSync((()=>l("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Dv(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:h.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}function Dv(e){return(null==e?void 0:e.animationName)||"none"}ua.displayName="Presence";let c0=0;function a1(){h.useEffect((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:gy()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:gy()),c0++,()=>{1===c0&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),c0--}}),[])}function gy(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var yo=function(){return yo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},yo.apply(this,arguments)};function l1(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(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 Iw(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var Bh="right-scroll-bar-position",jh="width-before-scroll-bar",ES="with-scroll-bars-hidden",$S="--removed-body-scroll-bar-size";function f0(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function SS(e,t){var n=h.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}var CS=typeof window<"u"?h.useLayoutEffect:h.useEffect,yy=new WeakMap;function Ow(e,t){var n=SS(null,(function(t){return e.forEach((function(e){return f0(e,t)}))}));return CS((function(){var t=yy.get(n);if(t){var r=new Set(t),o=new Set(e),i=n.current;r.forEach((function(e){o.has(e)||f0(e,null)})),o.forEach((function(e){r.has(e)||f0(e,i)}))}yy.set(n,e)}),[e]),n}function RS(e){return e}function PS(e,t){void 0===t&&(t=RS);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function Dw(e){void 0===e&&(e={});var t=PS(null);return t.options=yo({async:!0,ssr:!1},e),t}var Mw=function(e){var t=e.sideCar,n=l1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,yo({},n))};function Lw(e,t){return e.useMedium(t),Mw}Mw.isSideCarExport=!0;var Fw=Dw(),d0=function(){},am=h.forwardRef((function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:d0,onWheelCapture:d0,onTouchMoveCapture:d0}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,l=e.className,s=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,v=e.inert,m=e.allowPinchZoom,g=e.as,y=void 0===g?"div":g,b=l1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=d,_=Ow([n,t]),x=yo(yo({},b),o);return h.createElement(h.Fragment,null,c&&h.createElement(w,{sideCar:Fw,removeScrollBar:s,shards:f,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?h.cloneElement(h.Children.only(u),yo(yo({},x),{ref:_})):h.createElement(y,yo({},x,{className:l,ref:_}),u))}));am.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},am.classNames={fullWidth:jh,zeroRight:Bh};var AS=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kS(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=AS();return t&&e.setAttribute("nonce",t),e}function NS(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function TS(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}var IS=function(){var e=0,t=null;return{add:function(n){0==e&&(t=kS())&&(NS(t,n),TS(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},OS=function(){var e=IS();return function(t,n){h.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}},s1=function(){var e=OS();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},DS={left:0,top:0,right:0,gap:0},p0=function(e){return parseInt(e||"",10)||0},MS=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[p0(n),p0(r),p0(o)]},LS=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return DS;var t=MS(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},FS=s1(),zS=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat(ES," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Bh," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(jh," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(Bh," .").concat(Bh," {\n right: 0 ").concat(r,";\n }\n \n .").concat(jh," .").concat(jh," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat($S,": ").concat(u,"px;\n }\n")},zw=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=h.useMemo((function(){return LS(o)}),[o]);return h.createElement(FS,{styles:zS(i,!t,o,n?"":"!important")})},T0=!1;if(typeof window<"u")try{var Mv=Object.defineProperty({},"passive",{get:function(){return T0=!0,!0}});window.addEventListener("test",Mv,Mv),window.removeEventListener("test",Mv,Mv)}catch{T0=!1}var _p=!!T0&&{passive:!1},WS=function(e){return"TEXTAREA"===e.tagName},Ww=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!WS(e)&&"visible"===n[t])},BS=function(e){return Ww(e,"overflowY")},jS=function(e){return Ww(e,"overflowX")},wy=function(e,t){var n=t;do{if(typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host),Bw(e,n)){var r=jw(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},US=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},HS=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Bw=function(e,t){return"v"===e?BS(t):jS(t)},jw=function(e,t){return"v"===e?US(t):HS(t)},VS=function(e,t){return"h"===e&&"rtl"===t?-1:1},KS=function(e,t,n,r,o){var i=VS(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,l=t.contains(u),s=!1,c=a>0,f=0,d=0;do{var p=jw(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&Bw(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(c&&(0===f||!o)||!c&&(0===d||!o))&&(s=!0),s},Lv=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},xy=function(e){return[e.deltaX,e.deltaY]},_y=function(e){return e&&"current"in e?e.current:e},GS=function(e,t){return e[0]===t[0]&&e[1]===t[1]},YS=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},qS=0,bp=[];function XS(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(qS++)[0],i=h.useState((function(){return s1()}))[0],a=h.useRef(e);h.useEffect((function(){a.current=e}),[e]),h.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=Iw([e.lockRef.current],(e.shards||[]).map(_y),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=h.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=Lv(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],s="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=wy(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=wy(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var p=r.current||o;return KS(p,t,e,"h"===p?l:s,!0)}),[]),l=h.useCallback((function(e){var n=e;if(bp.length&&bp[bp.length-1]===i){var r="deltaY"in n?xy(n):Lv(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&GS(e.delta,r)}))[0];if(o&&o.should)return void(n.cancelable&&n.preventDefault());if(!o){var l=(a.current.shards||[]).map(_y).filter(Boolean).filter((function(e){return e.contains(n.target)}));(l.length>0?u(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=h.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=h.useCallback((function(e){n.current=Lv(e),r.current=void 0}),[]),f=h.useCallback((function(t){s(t.type,xy(t),t.target,u(t,e.lockRef.current))}),[]),d=h.useCallback((function(t){s(t.type,Lv(t),t.target,u(t,e.lockRef.current))}),[]);h.useEffect((function(){return bp.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,_p),document.addEventListener("touchmove",l,_p),document.addEventListener("touchstart",c,_p),function(){bp=bp.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,_p),document.removeEventListener("touchmove",l,_p),document.removeEventListener("touchstart",c,_p)}}),[]);var p=e.removeScrollBar,v=e.inert;return h.createElement(h.Fragment,null,v?h.createElement(i,{styles:YS(o)}):null,p?h.createElement(zw,{gapMode:"margin"}):null)}const QS=Lw(Fw,XS);var lm=h.forwardRef((function(e,t){return h.createElement(am,yo({},e,{ref:t,sideCar:QS}))}));lm.classNames=am.classNames;var ZS=function(e){return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Ep=new WeakMap,Fv=new WeakMap,zv={},h0=0,Uw=function(e){return e&&(e.host||Uw(e.parentNode))},JS=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=Uw(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return!!e}))},eC=function(e,t,n,r){var o=JS(t,Array.isArray(e)?e:[e]);zv[n]||(zv[n]=new WeakMap);var i=zv[n],a=[],u=new Set,l=new Set(o),s=function(e){!e||u.has(e)||(u.add(e),s(e.parentNode))};o.forEach(s);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,(function(e){if(u.has(e))c(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Ep.get(e)||0)+1,s=(i.get(e)||0)+1;Ep.set(e,l),i.set(e,s),a.push(e),1===l&&o&&Fv.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return c(t),u.clear(),h0++,function(){a.forEach((function(e){var t=Ep.get(e)-1,o=i.get(e)-1;Ep.set(e,t),i.set(e,o),t||(Fv.has(e)||e.removeAttribute(r),Fv.delete(e)),o||e.removeAttribute(n)})),--h0||(Ep=new WeakMap,Ep=new WeakMap,Fv=new WeakMap,zv={})}},sm=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ZS(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),eC(r,o,n,"aria-hidden")):function(){return null}};const Hw="Dialog",[Vw,Kw]=Do(Hw),[tC,Bl]=Vw(Hw),nC=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,u=h.useRef(null),l=h.useRef(null),[s=!1,c]=nv({prop:r,defaultProp:o,onChange:i});return h.createElement(tC,{scope:t,triggerRef:u,contentRef:l,contentId:Wh(),titleId:Wh(),descriptionId:Wh(),open:s,onOpenChange:c,onOpenToggle:h.useCallback((()=>c((e=>!e))),[c]),modal:a},n)},Gw="DialogPortal",[rC,Yw]=Vw(Gw,{forceMount:void 0}),oC=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Bl(Gw,t);return h.createElement(rC,{scope:t,forceMount:n},h.Children.map(r,(e=>h.createElement(ua,{present:n||i.open},h.createElement(i1,{asChild:!0,container:o},e)))))},I0="DialogOverlay",iC=h.forwardRef(((e,t)=>{const n=Yw(I0,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Bl(I0,e.__scopeDialog);return i.modal?h.createElement(ua,{present:r||i.open},h.createElement(aC,_e({},o,{ref:t}))):null})),aC=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Bl(I0,n);return h.createElement(lm,{as:Yf,allowPinchZoom:!0,shards:[o.contentRef]},h.createElement(dt.div,_e({"data-state":Qw(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))})),Ap="DialogContent",lC=h.forwardRef(((e,t)=>{const n=Yw(Ap,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Bl(Ap,e.__scopeDialog);return h.createElement(ua,{present:r||i.open},i.modal?h.createElement(sC,_e({},o,{ref:t})):h.createElement(uC,_e({},o,{ref:t})))})),sC=h.forwardRef(((e,t)=>{const n=Bl(Ap,e.__scopeDialog),r=h.useRef(null),o=Ft(t,n.contentRef,r);return h.useEffect((()=>{const e=r.current;if(e)return sm(e)}),[]),h.createElement(qw,_e({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:et(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:et(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:et(e.onFocusOutside,(e=>e.preventDefault()))}))})),uC=h.forwardRef(((e,t)=>{const n=Bl(Ap,e.__scopeDialog),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(qw,_e({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const u=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))})),qw=h.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,u=Bl(Ap,n),l=Ft(t,h.useRef(null));return a1(),h.createElement(h.Fragment,null,h.createElement(o1,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(im,_e({role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":Qw(u.open)},a,{ref:l,onDismiss:()=>u.onOpenChange(!1)}))),!1)})),Xw="DialogTitle",cC=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Bl(Xw,n);return h.createElement(dt.h2,_e({id:o.titleId},r,{ref:t}))})),fC="DialogDescription",dC=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Bl(fC,n);return h.createElement(dt.p,_e({id:o.descriptionId},r,{ref:t}))})),pC="DialogClose",hC=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Bl(pC,n);return h.createElement(dt.button,_e({type:"button"},r,{ref:t,onClick:et(e.onClick,(()=>o.onOpenChange(!1)))}))}));function Qw(e){return e?"open":"closed"}const vC="DialogTitleWarning",[mC,AT]=eS(vC,{contentName:Ap,titleName:Xw,docsSlug:"dialog"}),gC=nC,Zw=oC,Jw=iC,ex=lC,yC=cC,wC=dC,tx=hC,xC="AlertDialog",[_C,kT]=Do(xC,[Kw]),nd=Kw(),bC=e=>{const{__scopeAlertDialog:t,...n}=e,r=nd(t);return h.createElement(Zw,_e({},r,n))},EC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=nd(n);return h.createElement(Jw,_e({},o,r,{ref:t}))})),nx="AlertDialogContent",[$C,SC]=_C(nx),CC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=nd(n),a=Ft(t,h.useRef(null)),u=h.useRef(null);return h.createElement(mC,{contentName:nx,titleName:RC,docsSlug:"alert-dialog"},h.createElement($C,{scope:n,cancelRef:u},h.createElement(ex,_e({role:"alertdialog"},i,o,{ref:a,onOpenAutoFocus:et(o.onOpenAutoFocus,(e=>{var t;e.preventDefault(),null===(t=u.current)||void 0===t||t.focus({preventScroll:!0})})),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault()}),h.createElement(r1,null,r),!1)))})),RC="AlertDialogTitle",PC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=nd(n);return h.createElement(yC,_e({},o,r,{ref:t}))})),AC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=nd(n);return h.createElement(wC,_e({},o,r,{ref:t}))})),kC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=nd(n);return h.createElement(tx,_e({},o,r,{ref:t}))})),NC="AlertDialogCancel",TC=h.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=SC(NC,n),i=nd(n),a=Ft(t,o);return h.createElement(tx,_e({},i,r,{ref:a}))})),IC=bC,rx=EC,ox=CC,ix=kC,ax=TC,lx=PC,sx=AC,OC=IC,ux=h.forwardRef((({className:e,...t},n)=>Z.jsx(rx,{className:He("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n})));ux.displayName=rx.displayName;const DC=h.forwardRef((({className:e,...t},n)=>Z.jsxs(OC,{children:[Z.jsx(ux,{}),Z.jsx(ox,{ref:n,className:He("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]})));DC.displayName=ox.displayName;const MC=h.forwardRef((({className:e,...t},n)=>Z.jsx(lx,{ref:n,className:He("text-lg font-semibold",e),...t})));MC.displayName=lx.displayName;const LC=h.forwardRef((({className:e,...t},n)=>Z.jsx(sx,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));LC.displayName=sx.displayName;const FC=h.forwardRef((({className:e,...t},n)=>Z.jsx(ix,{ref:n,className:He(e1(),e),...t})));FC.displayName=ix.displayName;const zC=h.forwardRef((({className:e,...t},n)=>Z.jsx(ax,{ref:n,className:He(e1({variant:"black_outline"}),"mt-2 sm:mt-0",e),...t})));zC.displayName=ax.displayName;const cx="Avatar",[WC,NT]=Do(cx),[BC,fx]=WC(cx),jC=h.forwardRef(((e,t)=>{const{__scopeAvatar:n,...r}=e,[o,i]=h.useState("idle");return h.createElement(BC,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:i},h.createElement(dt.span,_e({},r,{ref:t})))})),UC="AvatarImage",HC=h.forwardRef(((e,t)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:o=()=>{},...i}=e,a=fx(UC,n),u=GC(r),l=Va((e=>{o(e),a.onImageLoadingStatusChange(e)}));return Oo((()=>{"idle"!==u&&l(u)}),[u,l]),"loaded"===u?h.createElement(dt.img,_e({},i,{ref:t,src:r})):null})),VC="AvatarFallback",KC=h.forwardRef(((e,t)=>{const{__scopeAvatar:n,delayMs:r,...o}=e,i=fx(VC,n),[a,u]=h.useState(void 0===r);return h.useEffect((()=>{if(void 0!==r){const e=window.setTimeout((()=>u(!0)),r);return()=>window.clearTimeout(e)}}),[r]),a&&"loaded"!==i.imageLoadingStatus?h.createElement(dt.span,_e({},o,{ref:t})):null}));function GC(e){const[t,n]=h.useState("idle");return Oo((()=>{if(!e)return void n("error");let t=!0;const r=new window.Image,o=e=>()=>{t&&n(e)};return n("loading"),r.onload=o("loaded"),r.onerror=o("error"),r.src=e,()=>{t=!1}}),[e]),t}const dx=jC,px=HC,hx=KC,YC=h.forwardRef((({className:e,...t},n)=>Z.jsx(dx,{ref:n,className:He("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t})));YC.displayName=dx.displayName;const qC=h.forwardRef((({className:e,...t},n)=>Z.jsx(px,{ref:n,className:He("aspect-square h-full w-full",e),...t})));qC.displayName=px.displayName;const XC=h.forwardRef((({className:e,...t},n)=>Z.jsx(hx,{ref:n,className:He("flex h-full w-full items-center justify-center bg-muted",e),...t})));XC.displayName=hx.displayName;const QC=h.forwardRef((({className:e,...t},n)=>Z.jsx("div",{ref:n,className:He("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t})));QC.displayName="Card";const ZC=h.forwardRef((({className:e,...t},n)=>Z.jsx("div",{ref:n,className:He("flex flex-col space-y-1.5 p-6",e),...t})));ZC.displayName="CardHeader";const JC=h.forwardRef((({className:e,...t},n)=>Z.jsx("h3",{ref:n,className:He("text-2xl font-semibold leading-none tracking-tight",e),...t})));JC.displayName="CardTitle";const e2=h.forwardRef((({className:e,...t},n)=>Z.jsx("p",{ref:n,className:He("text-sm text-muted-foreground",e),...t})));e2.displayName="CardDescription";const t2=h.forwardRef((({className:e,...t},n)=>Z.jsx("div",{ref:n,className:He("p-6 pt-0",e),...t})));t2.displayName="CardContent";const n2=h.forwardRef((({className:e,...t},n)=>Z.jsx("div",{ref:n,className:He("flex items-center p-6 pt-0",e),...t})));function r2(e){return"[object Object]"===Object.prototype.toString.call(e)}function by(e){return r2(e)||Array.isArray(e)}function o2(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function u1(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every((n=>{const r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:by(r)&&by(o)?u1(r,o):r===o}))}function Ey(e){return e.concat().sort(((e,t)=>e.name>t.name?1:-1)).map((e=>e.options))}function i2(e,t){if(e.length!==t.length)return!1;const n=Ey(e),r=Ey(t);return n.every(((e,t)=>u1(e,r[t])))}function c1(e){return"number"==typeof e}function O0(e){return"string"==typeof e}function f1(e){return"boolean"==typeof e}function $y(e){return"[object Object]"===Object.prototype.toString.call(e)}function xn(e){return Math.abs(e)}function d1(e){return Math.sign(e)}function Uh(e,t){return xn(e-t)}function a2(e,t){if(0===e||0===t||xn(e)<=xn(t))return 0;const n=Uh(xn(e),xn(t));return xn(n/e)}function Hh(e){return Vh(e).map(Number)}function Ua(e){return e[rv(e)]}function rv(e){return Math.max(0,e.length-1)}function p1(e,t){return t===rv(e)}function Sy(e,t=0){return Array.from(Array(e),((e,n)=>t+n))}function Vh(e){return Object.keys(e)}function vx(e,t){return[e,t].reduce(((e,t)=>(Vh(t).forEach((n=>{const r=e[n],o=t[n],i=$y(r)&&$y(o);e[n]=i?vx(r,o):o})),e)),{})}function mx(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function l2(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,o){return O0(e)?n[e](r):e(t,r,o)}}}function Kh(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,o,i),a=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),a=()=>e.removeListener(o)}return e.push(a),t},clear:function(){e=e.filter((e=>e()))}};return t}function s2(e,t,n,r){const o=Kh(),i=1e3/60;let a=null,u=0,l=0;function s(e){if(!l)return;a||(a=e);const o=e-a;for(a=e,u+=o;u>=i;)n(),u-=i;const c=xn(u/i);r(c),l&&t.requestAnimationFrame(s)}function c(){t.cancelAnimationFrame(l),a=null,u=0,l=0}return{init:function(){o.add(e,"visibilitychange",(()=>{e.hidden&&(a=null,u=0)}))},destroy:function(){c(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(s))},stop:c,update:n,render:r}}function u2(e,t){const n="y"===e?"y":"x";return{scroll:n,cross:"y"===e?"x":"y",startEdge:"y"===n?"top":"rtl"===t?"right":"left",endEdge:"y"===n?"bottom":"rtl"===t?"left":"right",measureSize:function(e){const{width:t,height:r}=e;return"x"===n?t:r}}}function qf(e=0,t=0){const n=xn(e-t);function r(t){return t<e}function o(e){return e>t}function i(e){return r(e)||o(e)}return{length:n,max:t,min:e,constrain:function(n){return i(n)?r(n)?e:t:n},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function gx(e,t,n){const{constrain:r}=qf(0,e),o=e+1;let i=a(t);function a(e){return n?xn((o+e)%o):r(e)}function u(){return i}function l(){return gx(e,u(),n)}const s={get:u,set:function(e){return i=a(e),s},add:function(e){return l().set(u()+e)},clone:l};return s}function c2(e){const t="rtl"===e?-1:1;return{apply:function(e){return e*t}}}function f2(e,t,n,r,o,i,a,u,l,s,c,f,d,p,h,v,m,g,y,b){const{cross:w}=e,_=["INPUT","SELECT","TEXTAREA"],x={passive:!1},E=Kh(),k=Kh(),S=qf(50,225).constrain(h.measure(20)),C={mouse:300,touch:400},R={mouse:500,touch:600},N=v?43:25;let P=!1,A=0,T=0,O=!1,D=!1,I=!1,L=!1;function j(e){const n=a.readPoint(e),r=a.readPoint(e,w),o=Uh(n,A),u=Uh(r,T);if(!(D||L||e.cancelable&&(D=o>u,D)))return M(e);const s=a.pointerMove(e);o>m&&(I=!0),c.useFriction(.3).useDuration(1),l.start(),i.add(t.apply(s)),e.preventDefault()}function M(e){const n=f.byDistance(0,!1).index!==d.get(),r=a.pointerUp(e)*(v?R:C)[L?"mouse":"touch"],o=function(e,t){const n=d.add(-1*d1(e)),r=f.byDistance(e,!v).distance;return v||xn(e)<S?r:g&&t?.5*r:f.byIndex(n.get(),0).distance}(t.apply(r),n),i=a2(r,o),u=N-10*i,l=y+i/50;D=!1,O=!1,k.clear(),c.useDuration(u).useFriction(l),s.distance(o,!v),L=!1,p.emit("pointerUp")}function z(e){I&&(e.stopPropagation(),e.preventDefault())}return{init:function(e){if(!b)return;function t(t){(f1(b)||b(e,t))&&function(e){const t=mx(e,o);L=t,(!t||0===e.button)&&(function(e){const t=e.nodeName||"";return _.includes(t)}(e.target)||(I=v&&t&&!e.buttons&&P,P=Uh(i.get(),u.get())>=2,O=!0,a.pointerDown(e),c.useFriction(0).useDuration(0),i.set(u),function(){const e=L?r:n;k.add(e,"touchmove",j,x).add(e,"touchend",M).add(e,"mousemove",j,x).add(e,"mouseup",M)}(),A=a.readPoint(e),T=a.readPoint(e,w),p.emit("pointerDown")))}(t)}const l=n;E.add(l,"dragstart",(e=>e.preventDefault()),x).add(l,"touchmove",(()=>{}),x).add(l,"touchend",(()=>{})).add(l,"touchstart",t).add(l,"mousedown",t).add(l,"touchcancel",M).add(l,"contextmenu",M).add(l,"click",z,!0)},pointerDown:function(){return O},destroy:function(){E.clear(),k.clear()}}}function d2(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){const o="client"+("x"===(r||e.scroll)?"X":"Y");return(mx(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){const t=i(e)-i(r),a=o(e)-o(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),a=o(e)-o(n),u=o(e)-o(r)>170,l=t/a;return a&&!u&&xn(l)>.1?l:0},readPoint:i}}function p2(){return{measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}}}function h2(e){return{measure:function(t){return e*(t/100)}}}function v2(e,t,n,r,o,i,a){let u,l,s=[],c=!1;function f(e){return o.measureSize(a.measure(e))}return{init:function(o){i&&(l=f(e),s=r.map(f),u=new ResizeObserver((a=>{c||(f1(i)||i(o,a))&&function(i){for(const a of i){const i=a.target===e,u=r.indexOf(a.target),c=i?l:s[u];if(xn(f(i?e:r[u])-c)>=.5){n.requestAnimationFrame((()=>{o.reInit(),t.emit("resize")}));break}}}(a)})),[e].concat(r).forEach((e=>u.observe(e))))},destroy:function(){u&&u.disconnect(),c=!0}}}function m2(e,t,n,r,o){let i=0,a=0,u=r,l=o,s=e.get(),c=0;function f(e){return u=e,p}function d(e){return l=e,p}const p={direction:function(){return a},duration:function(){return u},velocity:function(){return i},seek:function(){const t=n.get()-e.get();let r=0;return!u?(i=0,e.set(n),r=t):(i+=t/u,i*=l,s+=i,e.add(i),r=s-c),a=d1(r),c=s,p},settled:function(){return xn(n.get()-t.get())<.001},useBaseFriction:function(){return d(o)},useBaseDuration:function(){return f(r)},useFriction:d,useDuration:f};return p}function g2(e,t,n,r,o){const i=o.measure(10),a=o.measure(50),u=qf(.1,.99);let l=!1;return{constrain:function(o){if(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))return;const s=e.reachedMin(t.get())?"min":"max",c=xn(e[s]-t.get()),f=n.get()-t.get(),d=u.constrain(c/a);n.subtract(f*d),!o&&xn(f)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function y2(e,t,n,r,o){const i=qf(-t+e,0),a=n.map(((e,t)=>{const{min:r,max:o}=i,a=i.constrain(e),u=!t,s=p1(n,t);return u?o:s||l(r,a)?r:l(o,a)?o:a})).map((e=>parseFloat(e.toFixed(3)))),u=function(){const e=a[0],t=Ua(a),n=a.lastIndexOf(e),r=a.indexOf(t)+1;return qf(n,r)}();function l(e,t){return Uh(e,t)<1}return{snapsContained:function(){if(t<=e+o)return[i.max];if("keepSnaps"===r)return a;const{min:n,max:l}=u;return a.slice(n,l)}(),scrollContainLimit:u}}function w2(e,t,n){const r=t[0];return{limit:qf(n?r-e:Ua(t),r)}}function x2(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:u}=qf(o,i);return{loop:function(t){if(!function(e){return 1===e?u(n.get()):-1===e&&a(n.get())}(t))return;const o=e*(-1*t);r.forEach((e=>e.add(o)))}}}function _2(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}function b2(e,t,n,r,o){const{startEdge:i,endEdge:a}=e,{groupSlides:u}=o,l=u(r).map((e=>Ua(e)[a]-e[0][i])).map(xn).map(t.measure),s=r.map((e=>n[i]-e[i])).map((e=>-xn(e))),c=u(s).map((e=>e[0])).map(((e,t)=>e+l[t]));return{snaps:s,snapsAligned:c}}function E2(e,t,n,r,o,i){const{groupSlides:a}=o,{min:u,max:l}=r;return{slideRegistry:function(){const r=a(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(u,l).map(((e,t,n)=>{const r=!t,o=p1(n,t);if(r){return Sy(Ua(n[0])+1)}if(o){return Sy(rv(i)-Ua(n)[0]+1,Ua(n)[0])}return e}))}()}}function $2(e,t,n,r,o){const{reachedAny:i,removeOffset:a,constrain:u}=r;function l(e){return e.concat().sort(((e,t)=>xn(e)-xn(t)))[0]}function s(t,r){const o=[t,t+n,t-n];if(!e)return o[0];if(!r)return l(o);const i=o.filter((e=>d1(e)===r));return i.length?l(i):Ua(o)-n}return{byDistance:function(n,r){const l=o.get()+n,{index:c,distance:f}=function(n){const r=e?a(n):u(n),o=t.map((e=>e-r)).map((e=>s(e,0))).map(((e,t)=>({diff:e,index:t}))).sort(((e,t)=>xn(e.diff)-xn(t.diff))),{index:i}=o[0];return{index:i,distance:r}}(l),d=!e&&i(l);return!r||d?{index:c,distance:n}:{index:c,distance:n+s(t[c]-f,0)}},byIndex:function(e,n){return{index:e,distance:s(t[e]-o.get(),n)}},shortcut:s}}function S2(e,t,n,r,o,i,a){function u(o){const u=o.distance,l=o.index!==t.get();i.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(o.index),a.emit("select"))}return{distance:function(e,t){u(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);u(o.byIndex(r.get(),n))}}}function C2(e,t,n,r,o,i){let a=0;function u(e){"Tab"===e.code&&(a=(new Date).getTime())}function l(u){i.add(u,"focus",(()=>{if((new Date).getTime()-a>10)return;e.scrollLeft=0;const i=t.indexOf(u),l=n.findIndex((e=>e.includes(i)));c1(l)&&(o.useDuration(0),r.index(l,0))}),{passive:!0,capture:!0})}return{init:function(){i.add(document,"keydown",u,!1),t.forEach(l)}}}function Gv(e){let t=e;function n(e){return c1(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function yx(e,t,n){const r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},o=n.style;let i=!1;return{clear:function(){i||(o.transform="",n.getAttribute("style")||n.removeAttribute("style"))},to:function(e){i||(o.transform=r(t.apply(e)))},toggleActive:function(e){i=!e}}}function R2(e,t,n,r,o,i,a,u,l,s){const c=Hh(i),f=Hh(i).reverse(),d=function(){const e=u[0];return v(h(f,e),r,!1)}().concat(function(){const e=n-u[0]-1;return v(h(c,e),-r,!0)}());function p(e,t){return e.reduce(((e,t)=>e-i[t]),t)}function h(e,t){return e.reduce(((e,n)=>p(e,t)>0?e.concat([n]):e),[])}function v(i,u,c){const f=function(e){return a.map(((t,r)=>({start:t-o[r]+.5+e,end:t+n-.5+e})))}(u);return i.map((n=>{const o=c?0:-r,i=c?r:0,a=c?"end":"start",u=f[n][a];return{index:n,loopPoint:u,slideLocation:Gv(-1),translate:yx(e,t,s[n]),target:()=>l.get()>u?o:i}}))}return{canLoop:function(){return d.every((({index:e})=>p(c.filter((t=>t!==e)),n)<=.1))},clear:function(){d.forEach((e=>e.translate.clear()))},loop:function(){d.forEach((e=>{const{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))}))},loopPoints:d}}function P2(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver((e=>{o||(f1(n)||n(i,e))&&function(e){for(const n of e)if("childList"===n.type){i.reInit(),t.emit("slidesChanged");break}}(e)})),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function A2(e,t,n,r){const o={};let i,a=null,u=null,l=!1;return{init:function(){i=new IntersectionObserver((e=>{l||(e.forEach((e=>{const n=t.indexOf(e.target);o[n]=e})),a=null,u=null,n.emit("slidesInView"))}),{root:e.parentElement,threshold:r}),t.forEach((e=>i.observe(e)))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&u)return u;const t=function(e){return Vh(o).reduce(((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t}),[])}(e);return e&&(a=t),e||(u=t),t}}}function k2(e,t,n,r,o,i){const{measureSize:a,startEdge:u,endEdge:l}=e,s=n[0]&&o,c=function(){if(!s)return 0;const e=n[0];return xn(t[u]-e[u])}(),f=function(){if(!s)return 0;const e=i.getComputedStyle(Ua(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),d=n.map(a),p=n.map(((e,t,n)=>{const r=!t,o=p1(n,t);return r?d[t]+c:o?d[t]+f:n[t+1][u]-e[u]})).map(xn);return{slideSizes:d,slideSizesWithGaps:p,startGap:c,endGap:f}}function N2(e,t,n,r,o,i,a,u,l,s){const{startEdge:c,endEdge:f}=e,d=c1(r);return{groupSlides:function(e){return d?function(e,t){return Hh(e).filter((e=>e%t==0)).map((n=>e.slice(n,n+t)))}(e,r):function(e){return e.length?Hh(e).reduce(((r,d)=>{const p=Ua(r)||0,h=0===p,v=d===rv(e),m=i[c]-a[p][c],g=i[c]-a[d][f],y=!o&&h?t.apply(u):0;return xn(g-(!o&&v?t.apply(l):0)-(m+y))>n+s&&r.push(d),v&&r.push(e.length),r}),[]).map(((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)})):[]}(e)}}}function T2(e,t,n,r,o,i,a){const{align:u,axis:l,direction:s,startIndex:c,loop:f,duration:d,dragFree:p,dragThreshold:h,inViewThreshold:v,slidesToScroll:m,skipSnaps:g,containScroll:y,watchResize:b,watchSlides:w,watchDrag:_}=i,x=p2(),E=x.measure(t),k=n.map(x.measure),S=c2(s),C=u2(l,s),R=C.measureSize(E),N=h2(R),P=l2(u,R),A=!f&&!!y,T=f||!!y,{slideSizes:O,slideSizesWithGaps:D,startGap:I,endGap:L}=k2(C,E,k,n,T,o),j=N2(C,S,R,m,f,E,k,I,L,2),{snaps:M,snapsAligned:z}=b2(C,P,E,k,j),F=-Ua(M)+Ua(D),{snapsContained:W,scrollContainLimit:$}=y2(R,F,z,y,2),U=A?W:z,{limit:B}=w2(F,U,f),H=gx(rv(U),c,f),Z=H.clone(),V=Hh(n),K=s2(r,o,(()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(ae)),(e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:o,slideLooper:i,dragHandler:a,animation:u,eventHandler:l,options:{loop:s}},c)=>{const f=e.velocity(),d=e.settled();d&&!a.pointerDown()&&(u.stop(),l.emit("settle")),d||l.emit("scroll"),r.set(n.get()-f+f*c),s&&(o.loop(e.direction()),i.loop()),t.to(r.get())})(ae,e))),q=U[H.get()],G=Gv(q),Q=Gv(q),Y=Gv(q),X=m2(G,Q,Y,d,.68),J=$2(f,U,F,B,Y),ee=S2(K,H,Z,X,J,Y,a),te=_2(B),ne=Kh(),re=A2(t,n,a,v),{slideRegistry:oe}=E2(A,y,U,$,j,V),ie=C2(e,n,oe,ee,X,ne),ae={ownerDocument:r,ownerWindow:o,eventHandler:a,containerRect:E,slideRects:k,animation:K,axis:C,direction:S,dragHandler:f2(C,S,e,r,o,Y,d2(C,o),G,K,ee,X,J,H,a,N,p,h,g,.68,_),eventStore:ne,percentOfView:N,index:H,indexPrevious:Z,limit:B,location:G,offsetLocation:Q,options:i,resizeHandler:v2(t,a,o,n,C,b,x),scrollBody:X,scrollBounds:g2(B,Q,Y,X,N),scrollLooper:x2(F,B,Q,[G,Q,Y]),scrollProgress:te,scrollSnapList:U.map(te.get),scrollSnaps:U,scrollTarget:J,scrollTo:ee,slideLooper:R2(C,S,R,F,O,D,M,U,Q,n),slideFocus:ie,slidesHandler:P2(t,a,w),slidesInView:re,slideIndexes:V,slideRegistry:oe,slidesToScroll:j,target:Y,translate:yx(C,S,t)};return ae}function I2(){const e={};let t;function n(t){return e[t]||[]}const r={init:function(e){t=e},emit:function(e){return n(e).forEach((n=>n(t,e))),r},off:function(t,o){return e[t]=n(t).filter((e=>e!==o)),r},on:function(t,o){return e[t]=n(t).concat([o]),r}};return r}n2.displayName="CardFooter";const O2={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function D2(e){function t(e,t){return vx(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=Vh(r).filter((t=>e.matchMedia(t).matches)).map((e=>r[e])).reduce(((e,n)=>t(e,n)),{});return t(n,o)},optionsMediaQueries:function(t){return t.map((e=>Vh(e.breakpoints||{}))).reduce(((e,t)=>e.concat(t)),[]).map(e.matchMedia)}}}function M2(e){let t=[];return{init:function(n,r){return t=r.filter((({options:t})=>!1!==e.optionsAtMedia(t).active)),t.forEach((t=>t.init(n,e))),r.reduce(((e,t)=>Object.assign(e,{[t.name]:t})),{})},destroy:function(){t=t.filter((e=>e.destroy()))}}}function qv(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=D2(o),a=M2(i),u=Kh(),l=I2(),{mergeOptions:s,optionsAtMedia:c,optionsMediaQueries:f}=i,{on:d,off:p,emit:h}=l,v=C;let m,g,y,b,w=!1,_=s(O2,qv.globalOptions),x=s(_),E=[];function k(t){const n=T2(e,y,b,r,o,t,l);if(t.loop&&!n.slideLooper.canLoop()){return k(Object.assign({},t,{loop:!1}))}return n}function S(t,n){w||(_=s(_,t),x=c(_),E=n||E,function(){const{container:t,slides:n}=x;y=(O0(t)?e.querySelector(t):t)||e.children[0];const r=O0(n)?y.querySelectorAll(n):n;b=[].slice.call(r||y.children)}(),m=k(x),f([_,...E.map((({options:e})=>e))]).forEach((e=>u.add(e,"change",C))),x.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(),m.eventHandler.init(A),m.resizeHandler.init(A),m.slidesHandler.init(A),m.options.loop&&m.slideLooper.loop(),y.offsetParent&&b.length&&m.dragHandler.init(A),g=a.init(A,E)))}function C(e,t){const n=P();R(),S(s({startIndex:n},e),t),l.emit("reInit")}function R(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),a.destroy(),u.clear()}function N(e,t,n){!x.active||w||(m.scrollBody.useBaseFriction().useDuration(!0===t?0:x.duration),m.scrollTo.index(e,n||0))}function P(){return m.index.get()}const A={canScrollNext:function(){return m.index.add(1).get()!==P()},canScrollPrev:function(){return m.index.add(-1).get()!==P()},containerNode:function(){return y},internalEngine:function(){return m},destroy:function(){w||(w=!0,u.clear(),R(),l.emit("destroy"))},off:p,on:d,emit:h,plugins:function(){return g},previousScrollSnap:function(){return m.indexPrevious.get()},reInit:v,rootNode:function(){return e},scrollNext:function(e){N(m.index.add(1).get(),e,-1)},scrollPrev:function(e){N(m.index.add(-1).get(),e,1)},scrollProgress:function(){return m.scrollProgress.get(m.location.get())},scrollSnapList:function(){return m.scrollSnapList},scrollTo:N,selectedScrollSnap:P,slideNodes:function(){return b},slidesInView:function(){return m.slidesInView.get()},slidesNotInView:function(){return m.slidesInView.get(!1)}};return S(t,n),setTimeout((()=>l.emit("init")),0),A}function h1(e={},t=[]){const n=h.useRef(e),r=h.useRef(t),[o,i]=h.useState(),[a,u]=h.useState(),l=h.useCallback((()=>{o&&o.reInit(n.current,r.current)}),[o]);return h.useEffect((()=>{if(o2()&&a){qv.globalOptions=h1.globalOptions;const e=qv(a,n.current,r.current);return i(e),()=>e.destroy()}i(void 0)}),[a,i]),h.useEffect((()=>{u1(n.current,e)||(n.current=e,l())}),[e,l]),h.useEffect((()=>{i2(r.current,t)||(r.current=t,l())}),[t,l]),[u,o]}qv.globalOptions=void 0,h1.globalOptions=void 0;const wx=Tc("",{variants:{variant:{fullHeight:"absolute bg-base_white_90 top-[0] h-[calc(100%-35px)] w-[32px] border-0 rounded-none transform-none text-slate-700 [&>svg]:text-slate-700 [&>svg]:size-[37px] [&>svg]:stroke-[3px]",bottom:"size-[20px] bottom-[0] rounded-[2px] bg-slate-900_50 disabled:opacity-1 hover:bg-slate-900_50 [&:disabled>svg]:text-slate-900_20 [&>svg]:text-white [&>svg]:size-[20px]"},position:{left:"",right:""}},compoundVariants:[{variant:"fullHeight",position:"left",class:"rounded-tl-[6px] left-0"},{variant:"fullHeight",position:"right",class:"rounded-tr-[6px] right-0"},{variant:"bottom",position:"left",class:"mr-[6px]"}]}),xx=h.createContext(null),um=()=>{const e=h.useContext(xx);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e},L2=h.forwardRef((({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:i,...a},u)=>{const[l,s]=h1({...t,axis:"horizontal"===e?"x":"y"},r),[c,f]=h.useState(!1),[d,p]=h.useState(!1),v=h.useCallback((e=>{e&&(f(e.canScrollPrev()),p(e.canScrollNext()))}),[]),m=h.useCallback((()=>{null==s||s.scrollPrev()}),[s]),g=h.useCallback((()=>{null==s||s.scrollNext()}),[s]),y=h.useCallback((e=>{"ArrowLeft"===e.key?(e.preventDefault(),m()):"ArrowRight"===e.key&&(e.preventDefault(),g())}),[m,g]);return h.useEffect((()=>{!s||!n||n(s)}),[s,n]),h.useEffect((()=>{if(s)return v(s),s.on("reInit",v),s.on("select",v),()=>{null==s||s.off("select",v)}}),[s,v]),Z.jsx(xx.Provider,{value:{carouselRef:l,api:s,opts:t,orientation:e||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:m,scrollNext:g,canScrollPrev:c,canScrollNext:d},children:Z.jsx("div",{ref:u,onKeyDownCapture:y,className:He("relative",o),role:"region","aria-roledescription":"carousel",...a,children:i})})}));L2.displayName="Carousel";const F2=h.forwardRef((({className:e,...t},n)=>{const{carouselRef:r,orientation:o}=um();return Z.jsx("div",{ref:r,className:"overflow-hidden",children:Z.jsx("div",{ref:n,className:He("flex","horizontal"===o?"":"-mt-4 flex-col",e),...t})})}));F2.displayName="CarouselContent";const z2=h.forwardRef((({className:e,sideGap:t,isFullPreview:n,...r},o)=>{const{orientation:i}=um();return Z.jsx("div",{ref:o,role:"group","aria-roledescription":"slide",style:{...n&&{width:"100%"},marginRight:t&&`${t}px`,maxWidth:t&&`calc(100% - ${t}px)`},className:He("min-w-0 shrink-0 grow-0","horizontal"===i?!t&&"pr-[10px]":"pt-4",e),...r})}));z2.displayName="CarouselItem";const W2=h.forwardRef((({className:e,variant:t="fullHeight",size:n="icon",...r},o)=>{const{scrollPrev:i,canScrollPrev:a,opts:u}=um(),l=He(("fullHeight"===t&&!a||!(null!=u&&u.active))&&"hidden",wx({variant:t,position:"left"}),e);return Z.jsxs(t1,{ref:o,variant:"black_outline",size:n,className:l,disabled:!a,onClick:i,...r,children:[Z.jsx(c$,{}),Z.jsx("span",{className:"sr-only",children:"Previous slide"})]})}));W2.displayName="CarouselPrevious";const B2=h.forwardRef((({className:e,variant:t="fullHeight",size:n="icon",...r},o)=>{const{scrollNext:i,canScrollNext:a,opts:u}=um(),l=He(("fullHeight"===t&&!a||!(null!=u&&u.active))&&"hidden",wx({variant:t,position:"right"}),e);return Z.jsxs(t1,{ref:o,variant:"black_outline",size:n,className:l,disabled:!a,onClick:i,...r,children:[Z.jsx(ww,{}),Z.jsx("span",{className:"sr-only",children:"Next slide"})]})}));function cm(e){const t=h.useRef({value:e,previous:e});return h.useMemo((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}function fm(e){const[t,n]=h.useState(void 0);return Oo((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}B2.displayName="CarouselNext";const _x="Checkbox",[j2,TT]=Do(_x),[U2,H2]=j2(_x),V2=h.forwardRef(((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:u,value:l="on",onCheckedChange:s,...c}=e,[f,d]=h.useState(null),p=Ft(t,(e=>d(e))),v=h.useRef(!1),m=!f||!!f.closest("form"),[g=!1,y]=nv({prop:o,defaultProp:i,onChange:s}),b=h.useRef(g);return h.useEffect((()=>{const e=null==f?void 0:f.form;if(e){const t=()=>y(b.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}}),[f,y]),h.createElement(U2,{scope:n,state:g,disabled:u},h.createElement(dt.button,_e({type:"button",role:"checkbox","aria-checked":Gf(g)?"mixed":g,"aria-required":a,"data-state":bx(g),"data-disabled":u?"":void 0,disabled:u,value:l},c,{ref:p,onKeyDown:et(e.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),onClick:et(e.onClick,(e=>{y((e=>!!Gf(e)||!e)),m&&(v.current=e.isPropagationStopped(),v.current||e.stopPropagation())}))})),m&&h.createElement(Y2,{control:f,bubbles:!v.current,name:r,value:l,checked:g,required:a,disabled:u,style:{transform:"translateX(-100%)"}}))})),K2="CheckboxIndicator",G2=h.forwardRef(((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=H2(K2,n);return h.createElement(ua,{present:r||Gf(i.state)||!0===i.state},h.createElement(dt.span,_e({"data-state":bx(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))})),Y2=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=cm(n),u=fm(t);return h.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});e.indeterminate=Gf(n),o.call(e,!Gf(n)&&n),e.dispatchEvent(t)}}),[a,n,r]),h.createElement("input",_e({type:"checkbox","aria-hidden":!0,defaultChecked:!Gf(n)&&n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Gf(e){return"indeterminate"===e}function bx(e){return Gf(e)?"indeterminate":e?"checked":"unchecked"}const Ex=V2,q2=G2,Cy=Tc("",{variants:{size:{default:"h-4 w-4",20:"size-[20px]",24:"size-[24px]",32:"size-[32px]"},variant:{default:"peer shrink-0 rounded-sm border border-slate-700 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:border-slate-700 data-[state=checked]:bg-slate-700 data-[state=checked]:text-primary-foreground",dark:"shrink-0 bg-slate-900_50 data-[state=checked]:bg-slate-700 rounded-[4px] border-[2px] data-[state=checked]:text-primary-foreground border-slate-100 [&_svg]:size-[24px] [&_svg]:border-none"}},defaultVariants:{size:"default",variant:"default"}}),X2=h.forwardRef((({className:e,size:t,variant:n,...r},o)=>Z.jsx(Ex,{ref:o,className:He(e,Cy({size:t,variant:n})),...r,children:Z.jsx(q2,{className:He("flex items-center justify-center text-current"),children:Z.jsx(Z0,{className:He(Cy({size:t}))})})})));X2.displayName=Ex.displayName;var Ry=1,Q2=.9,Z2=.8,J2=.17,v0=.1,m0=.999,eR=.9999,tR=.99,nR=/[\\\/_+.#"@\[\(\{&]/,rR=/[\\\/_+.#"@\[\(\{&]/g,oR=/[\s-]/,$x=/[\s-]/g;function D0(e,t,n,r,o,i,a){if(i===t.length)return o===e.length?Ry:tR;var u=`${o},${i}`;if(void 0!==a[u])return a[u];for(var l,s,c,f,d=r.charAt(i),p=n.indexOf(d,o),h=0;p>=0;)(l=D0(e,t,n,r,p+1,i+1,a))>h&&(p===o?l*=Ry:nR.test(e.charAt(p-1))?(l*=Z2,(c=e.slice(o,p-1).match(rR))&&o>0&&(l*=Math.pow(m0,c.length))):oR.test(e.charAt(p-1))?(l*=Q2,(f=e.slice(o,p-1).match($x))&&o>0&&(l*=Math.pow(m0,f.length))):(l*=J2,o>0&&(l*=Math.pow(m0,p-o))),e.charAt(p)!==t.charAt(i)&&(l*=eR)),(l<v0&&n.charAt(p-1)===r.charAt(i+1)||r.charAt(i+1)===r.charAt(i)&&n.charAt(p-1)!==r.charAt(i))&&((s=D0(e,t,n,r,p+1,i+2,a))*v0>l&&(l=s*v0)),l>h&&(h=l),p=n.indexOf(d,p+1);return a[u]=h,h}function Py(e){return e.toLowerCase().replace($x," ")}function iR(e,t,n){return D0(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,Py(e),Py(t),0,0,{})}var Lh='[cmdk-group=""]',g0='[cmdk-group-items=""]',aR='[cmdk-group-heading=""]',v1='[cmdk-item=""]',Ay=`${v1}:not([aria-disabled="true"])`,M0="cmdk-item-select",Vf="data-value",lR=(e,t,n)=>iR(e,t,n),Sx=h.createContext(void 0),ov=()=>h.useContext(Sx),Cx=h.createContext(void 0),m1=()=>h.useContext(Cx),Rx=h.createContext(void 0),Px=h.forwardRef(((e,t)=>{let n=Cp((()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",filtered:{count:0,items:new Map,groups:new Set}}})),r=Cp((()=>new Set)),o=Cp((()=>new Map)),i=Cp((()=>new Map)),a=Cp((()=>new Set)),u=Ax(e),{label:l,children:s,value:c,onValueChange:f,filter:d,shouldFilter:p,loop:v,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,b=h.useId(),w=h.useId(),_=h.useId(),x=h.useRef(null),E=yR();Xf((()=>{if(void 0!==c){let e=c.trim();n.current.value=e,k.emit()}}),[c]),Xf((()=>{E(6,A)}),[]);let k=h.useMemo((()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var o,i,a;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)P(),R(),E(1,N);else if("value"===e&&(r||E(5,A),void 0!==(null==(o=u.current)?void 0:o.value))){let e=t??"";return void(null==(a=(i=u.current).onValueChange)||a.call(i,e))}k.emit()}},emit:()=>{a.current.forEach((e=>e()))}})),[]),S=h.useMemo((()=>({value:(e,t,r)=>{var o;t!==(null==(o=i.current.get(e))?void 0:o.value)&&(i.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,C(t,r)),E(2,(()=>{R(),k.emit()})))},item:(e,t)=>(r.current.add(e),t&&(o.current.has(t)?o.current.get(t).add(e):o.current.set(t,new Set([e]))),E(3,(()=>{P(),R(),n.current.value||N(),k.emit()})),()=>{i.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=T();E(4,(()=>{P(),(null==t?void 0:t.getAttribute("id"))===e&&N(),k.emit()}))}),group:e=>(o.current.has(e)||o.current.set(e,new Set),()=>{i.current.delete(e),o.current.delete(e)}),filter:()=>u.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:m,listId:b,inputId:_,labelId:w,listInnerRef:x})),[]);function C(e,t){var r,o;let i=null!=(o=null==(r=u.current)?void 0:r.filter)?o:lR;return e?i(e,n.current.search,t):0}function R(){if(!n.current.search||!1===u.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{let r=o.current.get(n),i=0;r.forEach((t=>{let n=e.get(t);i=Math.max(n,i)})),t.push([n,i])}));let r=x.current;O().sort(((t,n)=>{var r,o;let i=t.getAttribute("id"),a=n.getAttribute("id");return(null!=(r=e.get(a))?r:0)-(null!=(o=e.get(i))?o:0)})).forEach((e=>{let t=e.closest(g0);t?t.appendChild(e.parentElement===t?e:e.closest(`${g0} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${g0} > *`))})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{let t=x.current.querySelector(`${Lh}[${Vf}="${encodeURIComponent(e[0])}"]`);null==t||t.parentElement.appendChild(t)}))}function N(){let e=O().find((e=>"true"!==e.getAttribute("aria-disabled"))),t=null==e?void 0:e.getAttribute(Vf);k.setState("value",t||void 0)}function P(){var e,t,a,l;if(!n.current.search||!1===u.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let s=0;for(let o of r.current){let r=C(null!=(t=null==(e=i.current.get(o))?void 0:e.value)?t:"",null!=(l=null==(a=i.current.get(o))?void 0:a.keywords)?l:[]);n.current.filtered.items.set(o,r),r>0&&s++}for(let[e,t]of o.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=s}function A(){var e,t,n;let r=T();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(Lh))?void 0:t.querySelector(aR))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function T(){var e;return null==(e=x.current)?void 0:e.querySelector(`${v1}[aria-selected="true"]`)}function O(){var e;return Array.from(null==(e=x.current)?void 0:e.querySelectorAll(Ay))}function D(e){let t=O()[e];t&&k.setState("value",t.getAttribute(Vf))}function I(e){var t;let n=T(),r=O(),o=r.findIndex((e=>e===n)),i=r[o+e];null!=(t=u.current)&&t.loop&&(i=o+e<0?r[r.length-1]:o+e===r.length?r[0]:r[o+e]),i&&k.setState("value",i.getAttribute(Vf))}function L(e){let t,n=T(),r=null==n?void 0:n.closest(Lh);for(;r&&!t;)r=e>0?mR(r,Lh):gR(r,Lh),t=null==r?void 0:r.querySelector(Ay);t?k.setState("value",t.getAttribute(Vf)):I(e)}let j=()=>D(O().length-1),M=e=>{e.preventDefault(),e.metaKey?j():e.altKey?L(1):I(1)},z=e=>{e.preventDefault(),e.metaKey?D(0):e.altKey?L(-1):I(-1)};return h.createElement(dt.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&M(e);break;case"ArrowDown":M(e);break;case"p":case"k":g&&e.ctrlKey&&z(e);break;case"ArrowUp":z(e);break;case"Home":e.preventDefault(),D(0);break;case"End":e.preventDefault(),j();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();let t=T();if(t){let e=new Event(M0);t.dispatchEvent(e)}}}}},h.createElement("label",{"cmdk-label":"",htmlFor:S.inputId,id:S.labelId,style:xR},l),dm(e,(e=>h.createElement(Cx.Provider,{value:k},h.createElement(Sx.Provider,{value:S},e)))))})),sR=h.forwardRef(((e,t)=>{var n,r;let o=h.useId(),i=h.useRef(null),a=h.useContext(Rx),u=ov(),l=Ax(e),s=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==a?void 0:a.forceMount;Xf((()=>{if(!s)return u.item(o,null==a?void 0:a.id)}),[s]);let c=kx(o,i,[e.value,e.children,i],e.keywords),f=m1(),d=Qf((e=>e.value&&e.value===c.current)),p=Qf((e=>!(!s&&!1!==u.filter())||(!e.search||e.filtered.items.get(o)>0)));function v(){var e,t;m(),null==(t=(e=l.current).onSelect)||t.call(e,c.current)}function m(){f.setState("value",c.current,!0)}if(h.useEffect((()=>{let t=i.current;if(t&&!e.disabled)return t.addEventListener(M0,v),()=>t.removeEventListener(M0,v)}),[p,e.onSelect,e.disabled]),!p)return null;let{disabled:g,value:y,onSelect:b,forceMount:w,keywords:_,...x}=e;return h.createElement(dt.div,{ref:Gh([i,t]),...x,id:o,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!d,"data-disabled":!!g,"data-selected":!!d,onPointerMove:g||u.disablePointerSelection?void 0:m,onClick:g?void 0:v},e.children)})),uR=h.forwardRef(((e,t)=>{let{heading:n,children:r,forceMount:o,...i}=e,a=h.useId(),u=h.useRef(null),l=h.useRef(null),s=h.useId(),c=ov(),f=Qf((e=>!(!o&&!1!==c.filter())||(!e.search||e.filtered.groups.has(a))));Xf((()=>c.group(a)),[]),kx(a,u,[e.value,e.heading,l]);let d=h.useMemo((()=>({id:a,forceMount:o})),[o]);return h.createElement(dt.div,{ref:Gh([u,t]),...i,"cmdk-group":"",role:"presentation",hidden:!f||void 0},n&&h.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:s},n),dm(e,(e=>h.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?s:void 0},h.createElement(Rx.Provider,{value:d},e)))))})),cR=h.forwardRef(((e,t)=>{let{alwaysRender:n,...r}=e,o=h.useRef(null),i=Qf((e=>!e.search));return n||i?h.createElement(dt.div,{ref:Gh([o,t]),...r,"cmdk-separator":"",role:"separator"}):null})),fR=h.forwardRef(((e,t)=>{let{onValueChange:n,...r}=e,o=null!=e.value,i=m1(),a=Qf((e=>e.search)),u=Qf((e=>e.value)),l=ov(),s=h.useMemo((()=>{var e;let t=null==(e=l.listInnerRef.current)?void 0:e.querySelector(`${v1}[${Vf}="${encodeURIComponent(u)}"]`);return null==t?void 0:t.getAttribute("id")}),[]);return h.useEffect((()=>{null!=e.value&&i.setState("search",e.value)}),[e.value]),h.createElement(dt.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":s,id:l.inputId,type:"text",value:o?e.value:a,onChange:e=>{o||i.setState("search",e.target.value),null==n||n(e.target.value)}})})),dR=h.forwardRef(((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,i=h.useRef(null),a=h.useRef(null),u=ov();return h.useEffect((()=>{if(a.current&&i.current){let e,t=a.current,n=i.current,r=new ResizeObserver((()=>{e=requestAnimationFrame((()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")}))}));return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}}),[]),h.createElement(dt.div,{ref:Gh([i,t]),...o,"cmdk-list":"",role:"listbox","aria-label":r,id:u.listId},dm(e,(e=>h.createElement("div",{ref:Gh([a,u.listInnerRef]),"cmdk-list-sizer":""},e))))})),pR=h.forwardRef(((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:i,container:a,...u}=e;return h.createElement(gC,{open:n,onOpenChange:r},h.createElement(Zw,{container:a},h.createElement(Jw,{"cmdk-overlay":"",className:o}),h.createElement(ex,{"aria-label":e.label,"cmdk-dialog":"",className:i},h.createElement(Px,{ref:t,...u}))))})),hR=h.forwardRef(((e,t)=>Qf((e=>0===e.filtered.count))?h.createElement(dt.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),vR=h.forwardRef(((e,t)=>{let{progress:n,children:r,label:o="Loading...",...i}=e;return h.createElement(dt.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},dm(e,(e=>h.createElement("div",{"aria-hidden":!0},e))))})),ti=Object.assign(Px,{List:dR,Item:sR,Input:fR,Group:uR,Separator:cR,Dialog:pR,Empty:hR,Loading:vR});function mR(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function gR(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function Ax(e){let t=h.useRef(e);return Xf((()=>{t.current=e})),t}var Xf=typeof window>"u"?h.useEffect:h.useLayoutEffect;function Cp(e){let t=h.useRef();return void 0===t.current&&(t.current=e()),t}function Gh(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function Qf(e){let t=m1(),n=()=>e(t.snapshot());return h.useSyncExternalStore(t.subscribe,n,n)}function kx(e,t,n,r=[]){let o=h.useRef(),i=ov();return Xf((()=>{var a;let u=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():o.current}})(),l=r.map((e=>e.trim()));i.value(e,u,l),null==(a=t.current)||a.setAttribute(Vf,u),o.current=u})),o}var yR=()=>{let[e,t]=h.useState(),n=Cp((()=>new Map));return Xf((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function wR(e){let t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}function dm({asChild:e,children:t},n){return e&&h.isValidElement(t)?h.cloneElement(wR(t),{ref:t.ref},n(t.props.children)):n(t)}var xR={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function Rc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function _R(e,t){const n=h.createContext(t);function r(e){const{children:t,...r}=e,o=h.useMemo((()=>r),Object.values(r));return Z.jsx(n.Provider,{value:o,children:t})}return r.displayName=e+"Provider",[r,function(r){const o=h.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}function bR(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>h.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return h.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=h.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][i])||o,l=h.useMemo((()=>a),Object.values(a));return Z.jsx(u.Provider,{value:l,children:r})}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const u=(null==a?void 0:a[e][i])||o,l=h.useContext(u);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},ER(r,...t)]}function ER(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return h.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}var L0=null!=globalThis&&globalThis.document?h.useLayoutEffect:()=>{};function Yh(e){const t=h.useRef(e);return h.useEffect((()=>{t.current=e})),h.useMemo((()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)}),[])}var $R=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ys=$R.reduce(((e,t)=>{const n=h.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?tv:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(i,{...o,ref:n})}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function SR(e,t){e&&Wl.flushSync((()=>e.dispatchEvent(t)))}function CR(e,t=(null==globalThis?void 0:globalThis.document)){const n=Yh(e);h.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}var ky,RR="DismissableLayer",F0="dismissableLayer.update",PR="dismissableLayer.pointerDownOutside",AR="dismissableLayer.focusOutside",Nx=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Tx=h.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...l}=e,s=h.useContext(Nx),[c,f]=h.useState(null),d=(null==c?void 0:c.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,p]=h.useState({}),v=td(t,(e=>f(e))),m=Array.from(s.layers),[g]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(g),b=c?m.indexOf(c):-1,w=s.layersWithOutsidePointerEventsDisabled.size>0,_=b>=y,x=TR((e=>{const t=e.target,n=[...s.branches].some((e=>e.contains(t)));!_||n||(null==o||o(e),null==a||a(e),e.defaultPrevented||null==u||u())}),d),E=IR((e=>{const t=e.target;[...s.branches].some((e=>e.contains(t)))||(null==i||i(e),null==a||a(e),e.defaultPrevented||null==u||u())}),d);return CR((e=>{b===s.layers.size-1&&(null==r||r(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))}),d),h.useEffect((()=>{if(c)return n&&(0===s.layersWithOutsidePointerEventsDisabled.size&&(ky=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(c)),s.layers.add(c),Ny(),()=>{n&&1===s.layersWithOutsidePointerEventsDisabled.size&&(d.body.style.pointerEvents=ky)}}),[c,d,n,s]),h.useEffect((()=>()=>{c&&(s.layers.delete(c),s.layersWithOutsidePointerEventsDisabled.delete(c),Ny())}),[c,s]),h.useEffect((()=>{const e=()=>p({});return document.addEventListener(F0,e),()=>document.removeEventListener(F0,e)}),[]),Z.jsx(Ys.div,{...l,ref:v,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:Rc(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Rc(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Rc(e.onPointerDownCapture,x.onPointerDownCapture)})}));Tx.displayName=RR;var kR="DismissableLayerBranch",NR=h.forwardRef(((e,t)=>{const n=h.useContext(Nx),r=h.useRef(null),o=td(t,r);return h.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),Z.jsx(Ys.div,{...e,ref:o})}));function TR(e,t=(null==globalThis?void 0:globalThis.document)){const n=Yh(e),r=h.useRef(!1),o=h.useRef((()=>{}));return h.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){Ix(PR,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}function IR(e,t=(null==globalThis?void 0:globalThis.document)){const n=Yh(e),r=h.useRef(!1);return h.useEffect((()=>{const e=e=>{e.target&&!r.current&&Ix(AR,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ny(){const e=new CustomEvent(F0);document.dispatchEvent(e)}function Ix(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?SR(o,i):o.dispatchEvent(i)}NR.displayName=kR;var y0="focusScope.autoFocusOnMount",w0="focusScope.autoFocusOnUnmount",Ty={bubbles:!1,cancelable:!0},OR="FocusScope",Ox=h.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,l]=h.useState(null),s=Yh(o),c=Yh(i),f=h.useRef(null),d=td(t,(e=>l(e))),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect((()=>{if(r){let e=function(e){if(p.paused||!u)return;const t=e.target;u.contains(t)?f.current=t:Sc(f.current,{select:!0})},t=function(e){if(p.paused||!u)return;const t=e.relatedTarget;null!==t&&(u.contains(t)||Sc(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Sc(u)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,u,p.paused]),h.useEffect((()=>{if(u){Oy.add(p);const e=document.activeElement;if(!u.contains(e)){const t=new CustomEvent(y0,Ty);u.addEventListener(y0,s),u.dispatchEvent(t),t.defaultPrevented||(DR(WR(Dx(u)),{select:!0}),document.activeElement===e&&Sc(u))}return()=>{u.removeEventListener(y0,s),setTimeout((()=>{const t=new CustomEvent(w0,Ty);u.addEventListener(w0,c),u.dispatchEvent(t),t.defaultPrevented||Sc(e??document.body,{select:!0}),u.removeEventListener(w0,c),Oy.remove(p)}),0)}}}),[u,s,c,p]);const v=h.useCallback((e=>{if(!n&&!r||p.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=MR(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&Sc(i,{select:!0})):(e.preventDefault(),n&&Sc(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,p.paused]);return Z.jsx(Ys.div,{tabIndex:-1,...a,ref:d,onKeyDown:v})}));function DR(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Sc(r,{select:t}),document.activeElement!==n)return}function MR(e){const t=Dx(e);return[Iy(t,e),Iy(t.reverse(),e)]}function Dx(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Iy(e,t){for(const n of e)if(!LR(n,{upTo:t}))return n}function LR(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function FR(e){return e instanceof HTMLInputElement&&"select"in e}function Sc(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&FR(e)&&t&&e.select()}}Ox.displayName=OR;var Oy=zR();function zR(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Dy(e,t),e.unshift(t)},remove(t){var n;e=Dy(e,t),null==(n=e[0])||n.resume()}}}function Dy(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function WR(e){return e.filter((e=>"A"!==e.tagName))}var BR="Portal",Mx=h.forwardRef(((e,t)=>{var n;const{container:r,...o}=e,[i,a]=h.useState(!1);L0((()=>a(!0)),[]);const u=r||i&&(null==(n=null==globalThis?void 0:globalThis.document)?void 0:n.body);return u?ow.createPortal(Z.jsx(Ys.div,{...o,ref:t}),u):null}));function jR(e,t){return h.useReducer(((e,n)=>t[e][n]??e),e)}Mx.displayName=BR;var pm=e=>{const{present:t,children:n}=e,r=UR(t),o="function"==typeof n?n({present:r.isPresent}):h.Children.only(n),i=td(r.ref,HR(o));return"function"==typeof n||r.isPresent?h.cloneElement(o,{ref:i}):null};function UR(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[u,l]=jR(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect((()=>{const e=Wv(r.current);i.current="mounted"===u?e:"none"}),[u]),L0((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Wv(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,l]),L0((()=>{if(t){const e=e=>{const n=Wv(r.current).includes(e.animationName);e.target===t&&n&&Wl.flushSync((()=>l("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Wv(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:h.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}function Wv(e){return(null==e?void 0:e.animationName)||"none"}function HR(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}pm.displayName="Presence";var x0=0;function VR(){h.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??My()),document.body.insertAdjacentElement("beforeend",e[1]??My()),x0++,()=>{1===x0&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),x0--}}),[])}function My(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Lx=Dw(),_0=function(){},hm=h.forwardRef((function(e,t){var n=h.useRef(null),r=h.useState({onScrollCapture:_0,onWheelCapture:_0,onTouchMoveCapture:_0}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,l=e.className,s=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,v=e.inert,m=e.allowPinchZoom,g=e.as,y=void 0===g?"div":g,b=e.gapMode,w=l1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=d,x=Ow([n,t]),E=yo(yo({},w),o);return h.createElement(h.Fragment,null,c&&h.createElement(_,{sideCar:Lx,removeScrollBar:s,shards:f,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:b}),a?h.cloneElement(h.Children.only(u),yo(yo({},E),{ref:x})):h.createElement(y,yo({},E,{className:l,ref:x}),u))}));hm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},hm.classNames={fullWidth:jh,zeroRight:Bh};var z0=!1;if(typeof window<"u")try{var Bv=Object.defineProperty({},"passive",{get:function(){return z0=!0,!0}});window.addEventListener("test",Bv,Bv),window.removeEventListener("test",Bv,Bv)}catch{z0=!1}var $p=!!z0&&{passive:!1},KR=function(e){return"TEXTAREA"===e.tagName},Fx=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!KR(e)&&"visible"===n[t])},GR=function(e){return Fx(e,"overflowY")},YR=function(e){return Fx(e,"overflowX")},Ly=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host),zx(e,r)){var o=Wx(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},qR=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},XR=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},zx=function(e,t){return"v"===e?GR(t):YR(t)},Wx=function(e,t){return"v"===e?qR(t):XR(t)},QR=function(e,t){return"h"===e&&"rtl"===t?-1:1},ZR=function(e,t,n,r,o){var i=QR(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,l=t.contains(u),s=!1,c=a>0,f=0,d=0;do{var p=Wx(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&zx(e,u)&&(f+=v,d+=h),u=u instanceof ShadowRoot?u.host:u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(c&&(Math.abs(f)<1||!o)||!c&&(Math.abs(d)<1||!o))&&(s=!0),s},jv=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Fy=function(e){return[e.deltaX,e.deltaY]},zy=function(e){return e&&"current"in e?e.current:e},JR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},e3=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},t3=0,Sp=[];function n3(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(t3++)[0],i=h.useState(s1)[0],a=h.useRef(e);h.useEffect((function(){a.current=e}),[e]),h.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=Iw([e.lockRef.current],(e.shards||[]).map(zy),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=h.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=jv(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],s="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=Ly(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=Ly(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||s)&&(r.current=o),!o)return!0;var p=r.current||o;return ZR(p,t,e,"h"===p?l:s,!0)}),[]),l=h.useCallback((function(e){var n=e;if(Sp.length&&Sp[Sp.length-1]===i){var r="deltaY"in n?Fy(n):jv(n),o=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&JR(e.delta,r)}))[0];if(o&&o.should)return void(n.cancelable&&n.preventDefault());if(!o){var l=(a.current.shards||[]).map(zy).filter(Boolean).filter((function(e){return e.contains(n.target)}));(l.length>0?u(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=h.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:r3(r)};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=h.useCallback((function(e){n.current=jv(e),r.current=void 0}),[]),f=h.useCallback((function(t){s(t.type,Fy(t),t.target,u(t,e.lockRef.current))}),[]),d=h.useCallback((function(t){s(t.type,jv(t),t.target,u(t,e.lockRef.current))}),[]);h.useEffect((function(){return Sp.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,$p),document.addEventListener("touchmove",l,$p),document.addEventListener("touchstart",c,$p),function(){Sp=Sp.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,$p),document.removeEventListener("touchmove",l,$p),document.removeEventListener("touchstart",c,$p)}}),[]);var p=e.removeScrollBar,v=e.inert;return h.createElement(h.Fragment,null,v?h.createElement(i,{styles:e3(o)}):null,p?h.createElement(zw,{gapMode:e.gapMode}):null)}function r3(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const o3=Lw(Lx,n3);var Bx=h.forwardRef((function(e,t){return h.createElement(hm,yo({},e,{ref:t,sideCar:o3}))}));Bx.classNames=hm.classNames;var jx="Dialog",[Ux,IT]=bR(jx),[OT,Ka]=Ux(jx),Hx="DialogTrigger",i3=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ka(Hx,n),i=td(t,o.triggerRef);return Z.jsx(Ys.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":w1(o.open),...r,ref:i,onClick:Rc(e.onClick,o.onOpenToggle)})}));i3.displayName=Hx;var g1="DialogPortal",[a3,Vx]=Ux(g1,{forceMount:void 0}),Kx=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Ka(g1,t);return Z.jsx(a3,{scope:t,forceMount:n,children:h.Children.map(r,(e=>Z.jsx(pm,{present:n||i.open,children:Z.jsx(Mx,{asChild:!0,container:o,children:e})})))})};Kx.displayName=g1;var Xv="DialogOverlay",Gx=h.forwardRef(((e,t)=>{const n=Vx(Xv,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Ka(Xv,e.__scopeDialog);return i.modal?Z.jsx(pm,{present:r||i.open,children:Z.jsx(l3,{...o,ref:t})}):null}));Gx.displayName=Xv;var l3=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ka(Xv,n);return Z.jsx(Bx,{as:tv,allowPinchZoom:!0,shards:[o.contentRef],children:Z.jsx(Ys.div,{"data-state":w1(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),Zf="DialogContent",Yx=h.forwardRef(((e,t)=>{const n=Vx(Zf,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Ka(Zf,e.__scopeDialog);return Z.jsx(pm,{present:r||i.open,children:i.modal?Z.jsx(s3,{...o,ref:t}):Z.jsx(u3,{...o,ref:t})})}));Yx.displayName=Zf;var s3=h.forwardRef(((e,t)=>{const n=Ka(Zf,e.__scopeDialog),r=h.useRef(null),o=td(t,n.contentRef,r);return h.useEffect((()=>{const e=r.current;if(e)return sm(e)}),[]),Z.jsx(qx,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Rc(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()})),onPointerDownOutside:Rc(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:Rc(e.onFocusOutside,(e=>e.preventDefault()))})})),u3=h.forwardRef(((e,t)=>{const n=Ka(Zf,e.__scopeDialog),r=h.useRef(!1),o=h.useRef(!1);return Z.jsx(qx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null==(i=e.onCloseAutoFocus)||i.call(e,t),t.defaultPrevented||(r.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null==(i=e.onInteractOutside)||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const u=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})})),qx=h.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,u=Ka(Zf,n),l=h.useRef(null),s=td(t,l);return VR(),Z.jsxs(Z.Fragment,{children:[Z.jsx(Ox,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:Z.jsx(Tx,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":w1(u.open),...a,ref:s,onDismiss:()=>u.onOpenChange(!1)})}),Z.jsxs(Z.Fragment,{children:[Z.jsx(c3,{titleId:u.titleId}),Z.jsx(d3,{contentRef:l,descriptionId:u.descriptionId})]})]})})),y1="DialogTitle",Xx=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ka(y1,n);return Z.jsx(Ys.h2,{id:o.titleId,...r,ref:t})}));Xx.displayName=y1;var Qx="DialogDescription",Zx=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ka(Qx,n);return Z.jsx(Ys.p,{id:o.descriptionId,...r,ref:t})}));Zx.displayName=Qx;var Jx="DialogClose",e_=h.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ka(Jx,n);return Z.jsx(Ys.button,{type:"button",...r,ref:t,onClick:Rc(e.onClick,(()=>o.onOpenChange(!1)))})}));function w1(e){return e?"open":"closed"}e_.displayName=Jx;var t_="DialogTitleWarning",[DT,n_]=_R(t_,{contentName:Zf,titleName:y1,docsSlug:"dialog"}),c3=({titleId:e})=>{const t=n_(t_),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return h.useEffect((()=>{e&&(document.getElementById(e)||console.error(n))}),[n,e]),null},f3="DialogDescriptionWarning",d3=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n_(f3).contentName}}.`;return h.useEffect((()=>{var r;const o=null==(r=e.current)?void 0:r.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))}),[n,e,t]),null},r_=Kx,vm=Gx,mm=Yx,gm=Xx,ym=Zx,o_=e_;const p3=r_,i_=h.forwardRef((({className:e,...t},n)=>(h.useEffect((()=>{const e=document.querySelectorAll(".blured-modal-overlay");return e.forEach((e=>e&&(e.style.filter="blur(5px)"))),()=>{e.forEach((e=>e&&(e.style.filter="none")))}}),[]),Z.jsx(vm,{ref:n,"data-testid":"dialog_overlay",className:He("fixed inset-0 z-100 bg-slate-900 opacity-[0.7] data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}))));i_.displayName=vm.displayName;const h3=Tc("",{variants:{closeVariant:{insideCard:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",outsideCard:"fixed right-[30px] top-[30px] z-100"}},defaultVariants:{closeVariant:"outsideCard"}}),v3=Tc("",{variants:{closeSize:{small:"h-4 w-4",big:"h-[42px] w-[42px]"}},defaultVariants:{closeSize:"big"}}),m3=h.forwardRef((({className:e,showClose:t=!0,closeVariant:n="outsideCard",closeSize:r="big",children:o,overlayClassName:i,onOverlayClick:a,...u},l)=>{const s=Z.jsxs(o_,{className:He(h3({closeVariant:n})),children:[Z.jsx(_w,{color:"#94A3B8",className:He(v3({closeSize:r}))}),Z.jsx("span",{className:"sr-only",children:"Close"})]});return Z.jsxs(p3,{children:[Z.jsx(i_,{className:i,onClick:a}),t&&"outsideCard"===n&&s,Z.jsxs(mm,{ref:l,className:He("fixed left-[50%] top-[50%] z-100 grid max-w-[520px] translate-x-[-50%] translate-y-[-50%] gap-4 !overflow-visible rounded-lg border bg-background p-5 shadow-lg outline-none duration-200 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] max-md:w-[calc(100vw-32px)] md:w-full [&>div]:min-w-0",e),...u,children:[Z.jsx(a_,{className:"hidden",children:"DialogTitle"}),Z.jsx(l_,{className:"hidden",children:"DialogDescription"}),o,t&&"insideCard"===n&&s]})]})}));m3.displayName=mm.displayName;const a_=h.forwardRef((({className:e,...t},n)=>Z.jsx(gm,{ref:n,className:He("text-lg font-semibold leading-none tracking-tight",e),...t})));a_.displayName=gm.displayName;const l_=h.forwardRef((({className:e,...t},n)=>Z.jsx(ym,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));l_.displayName=ym.displayName;const g3=h.forwardRef((({className:e,...t},n)=>Z.jsx(ti,{ref:n,className:He("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t})));g3.displayName=ti.displayName;const y3=h.forwardRef((({className:e,...t},n)=>Z.jsx("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:Z.jsx(ti.Input,{ref:n,className:He("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})})));y3.displayName=ti.Input.displayName;const w3=h.forwardRef((({className:e,...t},n)=>Z.jsx(ti.List,{ref:n,className:He("mt-[8px] max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t})));w3.displayName=ti.List.displayName;const x3=h.forwardRef(((e,t)=>Z.jsx(ti.Empty,{ref:t,className:"py-6 text-center text-sm",...e})));x3.displayName=ti.Empty.displayName;const _3=h.forwardRef((({className:e,...t},n)=>Z.jsx(ti.Group,{ref:n,className:He("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t})));_3.displayName=ti.Group.displayName;const b3=h.forwardRef((({className:e,...t},n)=>Z.jsx(ti.Separator,{ref:n,className:He("-mx-1 h-px bg-border",e),...t})));b3.displayName=ti.Separator.displayName;const E3=h.forwardRef((({className:e,...t},n)=>Z.jsx(ti.Item,{ref:n,className:He("relative flex max-w-[215px] cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",e),...t})));function x1(e){const t=e+"CollectionProvider",[n,r]=Do(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",u=e+"CollectionItemSlot",l="data-radix-collection-item";return[{Provider:e=>{const{scope:t,children:n}=e,r=Ri.useRef(null),i=Ri.useRef(new Map).current;return Ri.createElement(o,{scope:t,itemMap:i,collectionRef:r},n)},Slot:Ri.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=Ft(t,i(a,n).collectionRef);return Ri.createElement(Yf,{ref:o},r)})),ItemSlot:Ri.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=Ri.useRef(null),s=Ft(t,a),c=i(u,n);return Ri.useEffect((()=>(c.itemMap.set(a,{ref:a,...o}),()=>{c.itemMap.delete(a)}))),Ri.createElement(Yf,{[l]:"",ref:s},r)}))},function(t){const n=i(e+"CollectionConsumer",t);return Ri.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${l}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}E3.displayName=ti.Item.displayName;const $3=h.createContext(void 0);function s_(e){const t=h.useContext($3);return e||t||"ltr"}const S3=["top","right","bottom","left"],Pc=Math.min,Pi=Math.max,Qv=Math.round,Uv=Math.floor,Ac=e=>({x:e,y:e}),C3={left:"right",right:"left",bottom:"top",top:"bottom"},R3={start:"end",end:"start"};function W0(e,t,n){return Pi(e,Pc(t,n))}function Ks(e,t){return"function"==typeof e?e(t):e}function Gs(e){return e.split("-")[0]}function Op(e){return e.split("-")[1]}function _1(e){return"x"===e?"y":"x"}function b1(e){return"y"===e?"height":"width"}function kc(e){return["top","bottom"].includes(Gs(e))?"y":"x"}function E1(e){return _1(kc(e))}function P3(e,t,n){void 0===n&&(n=!1);const r=Op(e),o=E1(e),i=b1(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Zv(a)),[a,Zv(a)]}function A3(e){const t=Zv(e);return[B0(e),t,B0(t)]}function B0(e){return e.replace(/start|end/g,(e=>R3[e]))}function k3(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function N3(e,t,n,r){const o=Op(e);let i=k3(Gs(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(B0)))),i}function Zv(e){return e.replace(/left|right|bottom|top/g,(e=>C3[e]))}function T3(e){return{top:0,right:0,bottom:0,left:0,...e}}function u_(e){return"number"!=typeof e?T3(e):{top:e,right:e,bottom:e,left:e}}function Jv(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Wy(e,t,n){let{reference:r,floating:o}=e;const i=kc(t),a=E1(t),u=b1(a),l=Gs(t),s="y"===i,c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[u]/2-o[u]/2;let p;switch(l){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Op(t)){case"start":p[a]-=d*(n&&s?-1:1);break;case"end":p[a]+=d*(n&&s?-1:1)}return p}const I3=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,u=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Wy(s,r,l),d=r,p={},h=0;for(let n=0;n<u.length;n++){const{name:i,fn:v}=u[n],{x:m,y:g,data:y,reset:b}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=m??c,f=g??f,p={...p,[i]:{...p[i],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:c,y:f}=Wy(s,d,l))),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function qh(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:u,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Ks(t,e),h=u_(p),v=u[d?"floating"===f?"reference":"floating":f],m=Jv(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:c,strategy:l})),g="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=Jv(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:g,offsetParent:y,strategy:l}):g);return{top:(m.top-w.top+h.top)/b.y,bottom:(w.bottom-m.bottom+h.bottom)/b.y,left:(m.left-w.left+h.left)/b.x,right:(w.right-m.right+h.right)/b.x}}const O3=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:u,middlewareData:l}=t,{element:s,padding:c=0}=Ks(e,t)||{};if(null==s)return{};const f=u_(c),d={x:n,y:r},p=E1(o),h=b1(p),v=await a.getDimensions(s),m="y"===p,g=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],_=d[p]-i.reference[p],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s));let E=x?x[b]:0;(!E||!await(null==a.isElement?void 0:a.isElement(x)))&&(E=u.floating[b]||i.floating[h]);const k=w/2-_/2,S=E/2-v[h]/2-1,C=Pc(f[g],S),R=Pc(f[y],S),N=C,P=E-v[h]-R,A=E/2-v[h]/2+k,T=W0(N,A,P),O=!l.arrow&&null!=Op(o)&&A!==T&&i.reference[h]/2-(A<N?C:R)-v[h]/2<0,D=O?A<N?A-N:A-P:0;return{[p]:d[p]+D,data:{[p]:T,centerOffset:A-T-D,...O&&{alignmentOffset:D}},reset:O}}}),D3=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:u,platform:l,elements:s}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...m}=Ks(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=Gs(o),y=kc(u),b=Gs(u)===u,w=await(null==l.isRTL?void 0:l.isRTL(s.floating)),_=d||(b||!v?[Zv(u)]:A3(u)),x="none"!==h;!d&&x&&_.push(...N3(u,v,h,w));const E=[u,..._],k=await qh(t,m),S=[];let C=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&S.push(k[g]),f){const e=P3(o,a,w);S.push(k[e[0]],k[e[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every((e=>e<=0))){var R,N;const e=((null==(R=i.flip)?void 0:R.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(N=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var P;const e=null==(P=C.filter((e=>{if(x){const t=kc(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}};function By(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function jy(e){return S3.some((t=>e[t]>=0))}const M3=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ks(e,t);switch(r){case"referenceHidden":{const e=By(await qh(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:jy(e)}}}case"escaped":{const e=By(await qh(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:jy(e)}}}default:return{}}}}};async function L3(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Gs(n),u=Op(n),l="y"===kc(n),s=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=Ks(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof h&&(p="end"===u?-1*h:h),l?{x:p*c,y:d*s}:{x:d*s,y:p*c}}const F3=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:u}=t,l=await L3(t,e);return a===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},z3=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Ks(e,t),s={x:n,y:r},c=await qh(t,l),f=kc(Gs(o)),d=_1(f);let p=s[d],h=s[f];if(i){const e="y"===d?"bottom":"right";p=W0(p+c["y"===d?"top":"left"],p,p-c[e])}if(a){const e="y"===f?"bottom":"right";h=W0(h+c["y"===f?"top":"left"],h,h-c[e])}const v=u.fn({...t,[d]:p,[f]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:i,[f]:a}}}}}},W3=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:u=0,mainAxis:l=!0,crossAxis:s=!0}=Ks(e,t),c={x:n,y:r},f=kc(o),d=_1(f);let p=c[d],h=c[f];const v=Ks(u,t),m="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+m.mainAxis,n=i.reference[d]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var g,y;const e="y"===d?"width":"height",t=["top","left"].includes(Gs(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[f])||0)+(t?0:m.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[f])||0)-(t?m.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}},B3=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:u}=t,{apply:l=()=>{},...s}=Ks(e,t),c=await qh(t,s),f=Gs(o),d=Op(o),p="y"===kc(o),{width:h,height:v}=i.floating;let m,g;"top"===f||"bottom"===f?(m=f,g=d===(await(null==a.isRTL?void 0:a.isRTL(u.floating))?"start":"end")?"left":"right"):(g=f,m="end"===d?"top":"bottom");const y=v-c.top-c.bottom,b=h-c.left-c.right,w=Pc(v-c[m],y),_=Pc(h-c[g],b),x=!t.middlewareData.shift;let E=w,k=_;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(E=y),x&&!d){const e=Pi(c.left,0),t=Pi(c.right,0),n=Pi(c.top,0),r=Pi(c.bottom,0);p?k=h-2*(0!==e||0!==t?e+t:Pi(c.left,c.right)):E=v-2*(0!==n||0!==r?n+r:Pi(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:E});const S=await a.getDimensions(u.floating);return h!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function wm(){return typeof window<"u"}function Nc(e){return c_(e)?(e.nodeName||"").toLowerCase():"#document"}function Ai(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function qs(e){var t;return null==(t=(c_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c_(e){return!!wm()&&(e instanceof Node||e instanceof Ai(e).Node)}function Fl(e){return!!wm()&&(e instanceof Element||e instanceof Ai(e).Element)}function zl(e){return!!wm()&&(e instanceof HTMLElement||e instanceof Ai(e).HTMLElement)}function Uy(e){return!(!wm()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Ai(e).ShadowRoot)}function iv(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sa(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function j3(e){return["table","td","th"].includes(Nc(e))}function U3(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch{return!1}}))}function $1(e){const t=S1(),n=Fl(e)?sa(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function f_(e){let t=kp(e);for(;zl(t)&&!xm(t);){if($1(t))return t;if(U3(t))return null;t=kp(t)}return null}function S1(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xm(e){return["html","body","#document"].includes(Nc(e))}function sa(e){return Ai(e).getComputedStyle(e)}function _m(e){return Fl(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function kp(e){if("html"===Nc(e))return e;const t=e.assignedSlot||e.parentNode||Uy(e)&&e.host||qs(e);return Uy(t)?t.host:t}function d_(e){const t=kp(e);return xm(t)?e.ownerDocument?e.ownerDocument.body:e.body:zl(t)&&iv(t)?t:d_(t)}function Xh(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=d_(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Ai(o);if(i){const e=H3(a);return t.concat(a,a.visualViewport||[],iv(o)?o:[],e&&n?Xh(e):[])}return t.concat(o,Xh(o,[],n))}function H3(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function p_(e){const t=sa(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=zl(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=Qv(n)!==i||Qv(r)!==a;return u&&(n=i,r=a),{width:n,height:r,$:u}}function C1(e){return Fl(e)?e:e.contextElement}function Pp(e){const t=C1(e);if(!zl(t))return Ac(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=p_(t);let a=(i?Qv(n.width):n.width)/r,u=(i?Qv(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!u||!Number.isFinite(u))&&(u=1),{x:a,y:u}}const V3=Ac(0);function h_(e){const t=Ai(e);return S1()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:V3}function K3(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ai(e))&&t}function Jf(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=C1(e);let a=Ac(1);t&&(r?Fl(r)&&(a=Pp(r)):a=Pp(e));const u=K3(i,n,r)?h_(i):Ac(0);let l=(o.left+u.x)/a.x,s=(o.top+u.y)/a.y,c=o.width/a.x,f=o.height/a.y;if(i){const e=Ai(i),t=r&&Fl(r)?Ai(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Pp(n),t=n.getBoundingClientRect(),r=sa(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,s*=e.y,c*=e.x,f*=e.y,l+=o,s+=i,n=Ai(n).frameElement}}return Jv({width:c,height:f,x:l,y:s})}const G3=[":popover-open",":modal"];function v_(e){let t=!1,n=0,r=0;if(G3.forEach((n=>{!function(n){try{t=t||e.matches(n)}catch{}}(n)})),t){const t=f_(e);if(t){const e=t.getBoundingClientRect();n=e.x,r=e.y}}return[t,n,r]}function Y3(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=qs(r),[a]=t?v_(t.floating):[!1];if(r===i||a)return n;let u={scrollLeft:0,scrollTop:0},l=Ac(1);const s=Ac(0),c=zl(r);if((c||!c&&"fixed"!==o)&&(("body"!==Nc(r)||iv(i))&&(u=_m(r)),zl(r))){const e=Jf(r);l=Pp(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+s.x,y:n.y*l.y-u.scrollTop*l.y+s.y}}function q3(e){return Array.from(e.getClientRects())}function m_(e){return Jf(qs(e)).left+_m(e).scrollLeft}function X3(e){const t=qs(e),n=_m(e),r=e.ownerDocument.body,o=Pi(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Pi(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+m_(e);const u=-n.scrollTop;return"rtl"===sa(r).direction&&(a+=Pi(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:u}}function Q3(e,t){const n=Ai(e),r=qs(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,u=0,l=0;if(o){i=o.width,a=o.height;const e=S1();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:u,y:l}}function Z3(e,t){const n=Jf(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=zl(e)?Pp(e):Ac(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}function Hy(e,t,n){let r;if("viewport"===t)r=Q3(e,n);else if("document"===t)r=X3(qs(e));else if(Fl(t))r=Z3(t,n);else{const n=h_(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Jv(r)}function g_(e,t){const n=kp(e);return!(n===t||!Fl(n)||xm(n))&&("fixed"===sa(n).position||g_(n,t))}function J3(e,t){const n=t.get(e);if(n)return n;let r=Xh(e,[],!1).filter((e=>Fl(e)&&"body"!==Nc(e))),o=null;const i="fixed"===sa(e).position;let a=i?kp(e):e;for(;Fl(a)&&!xm(a);){const t=sa(a),n=$1(a);!n&&"fixed"===t.position&&(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||iv(a)&&!n&&g_(e,a))?r=r.filter((e=>e!==a)):o=t,a=kp(a)}return t.set(e,r),r}function eP(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?J3(t,this._c):[].concat(n),r],a=i[0],u=i.reduce(((e,n)=>{const r=Hy(t,n,o);return e.top=Pi(r.top,e.top),e.right=Pc(r.right,e.right),e.bottom=Pc(r.bottom,e.bottom),e.left=Pi(r.left,e.left),e}),Hy(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function tP(e){const{width:t,height:n}=p_(e);return{width:t,height:n}}function nP(e,t,n,r){const o=zl(t),i=qs(t),a="fixed"===n,u=Jf(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=Ac(0);if(o||!o&&!a)if(("body"!==Nc(t)||iv(i))&&(l=_m(t)),o){const e=Jf(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=m_(i));let c=u.left+l.scrollLeft-s.x,f=u.top+l.scrollTop-s.y;const[d,p,h]=v_(r);return d&&(c+=p,f+=h,o&&(c+=t.clientLeft,f+=t.clientTop)),{x:c,y:f,width:u.width,height:u.height}}function Vy(e,t){return zl(e)&&"fixed"!==sa(e).position?t?t(e):e.offsetParent:null}function y_(e,t){const n=Ai(e);if(!zl(e))return n;let r=Vy(e,t);for(;r&&j3(r)&&"static"===sa(r).position;)r=Vy(r,t);return r&&("html"===Nc(r)||"body"===Nc(r)&&"static"===sa(r).position&&!$1(r))?n:r||f_(e)||n}const rP=async function(e){const t=this.getOffsetParent||y_,n=this.getDimensions;return{reference:nP(e.reference,await t(e.floating),e.strategy,e.floating),floating:{x:0,y:0,...await n(e.floating)}}};function oP(e){return"rtl"===sa(e).direction}const iP={convertOffsetParentRelativeRectToViewportRelativeRect:Y3,getDocumentElement:qs,getClippingRect:eP,getOffsetParent:y_,getElementRects:rP,getClientRects:q3,getDimensions:tP,getScale:Pp,isElement:Fl,isRTL:oP};function aP(e,t){let n,r=null;const o=qs(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(u,l){void 0===u&&(u=!1),void 0===l&&(l=1),i();const{left:s,top:c,width:f,height:d}=e.getBoundingClientRect();if(u||t(),!f||!d)return;const p={rootMargin:-Uv(c)+"px "+-Uv(o.clientWidth-(s+f))+"px "+-Uv(o.clientHeight-(c+d))+"px "+-Uv(s)+"px",threshold:Pi(0,Pc(1,l))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(v,{...p,root:o.ownerDocument})}catch{r=new IntersectionObserver(v,p)}r.observe(e)}(!0),i}function w_(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,s=C1(e),c=o||i?[...s?Xh(s):[],...Xh(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=s&&u?aP(s,n):null;let d=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),s&&!l&&p.observe(s),p.observe(t));let h,v=l?Jf(e):null;return l&&function t(){const r=Jf(e);v&&(r.x!==v.x||r.y!==v.y||r.width!==v.width||r.height!==v.height)&&n(),v=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const lP=z3,sP=D3,uP=B3,cP=M3,Ky=O3,fP=W3,dP=(e,t,n)=>{const r=new Map,o={platform:iP,...n},i={...o.platform,_c:r};return I3(e,t,{...o,platform:i})};var Yv=typeof document<"u"?h.useLayoutEffect:h.useEffect;function em(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!em(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||em(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function x_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gy(e,t){const n=x_(e);return Math.round(t*n)/n}function b0(e){const t=h.useRef(e);return Yv((()=>{t.current=e})),t}function __(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:u=!0,whileElementsMounted:l,open:s}=e,[c,f]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=h.useState(r);em(d,r)||p(r);const[v,m]=h.useState(null),[g,y]=h.useState(null),b=h.useCallback((e=>{e!==E.current&&(E.current=e,m(e))}),[]),w=h.useCallback((e=>{e!==k.current&&(k.current=e,y(e))}),[]),_=i||v,x=a||g,E=h.useRef(null),k=h.useRef(null),S=h.useRef(c),C=null!=l,R=b0(l),N=b0(o),P=b0(s),A=h.useCallback((()=>{if(!E.current||!k.current)return;const e={placement:t,strategy:n,middleware:d};N.current&&(e.platform=N.current),dP(E.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};T.current&&!em(S.current,t)&&(S.current=t,Wl.flushSync((()=>{f(t)})))}))}),[d,t,n,N,P]);Yv((()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[s]);const T=h.useRef(!1);Yv((()=>(T.current=!0,()=>{T.current=!1})),[]),Yv((()=>{if(_&&(E.current=_),x&&(k.current=x),_&&x){if(R.current)return R.current(_,x,A);A()}}),[_,x,A,R,C]);const O=h.useMemo((()=>({reference:E,floating:k,setReference:b,setFloating:w})),[b,w]),D=h.useMemo((()=>({reference:_,floating:x})),[_,x]),I=h.useMemo((()=>{const e={position:n,left:0,top:0};if(!D.floating)return e;const t=Gy(D.floating,c.x),r=Gy(D.floating,c.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...x_(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,u,D.floating,c.x,c.y]);return h.useMemo((()=>({...c,update:A,refs:O,elements:D,floatingStyles:I})),[c,A,O,D,I])}const pP=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?Ky({element:n.current,padding:r}).fn(t):{}:n?Ky({element:n,padding:r}).fn(t):{}}}),b_=(e,t)=>({...F3(e),options:[e,t]}),E_=(e,t)=>({...lP(e),options:[e,t]}),$_=(e,t)=>({...fP(e),options:[e,t]}),S_=(e,t)=>({...sP(e),options:[e,t]}),C_=(e,t)=>({...uP(e),options:[e,t]}),R_=(e,t)=>({...cP(e),options:[e,t]}),P_=(e,t)=>({...pP(e),options:[e,t]}),A_="Popper",[k_,Dp]=Do(A_),[MT,N_]=k_(A_),hP="PopperAnchor",vP=h.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=N_(hP,n),a=h.useRef(null),u=Ft(t,a);return h.useEffect((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:h.createElement(dt.div,_e({},o,{ref:u}))})),T_="PopperContent",[mP,LT]=k_(T_),gP=h.forwardRef(((e,t)=>{var n,r,o,i,a,u,l,s;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:v=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:w="partial",hideWhenDetached:_=!1,updatePositionStrategy:x="optimized",onPlaced:E,...k}=e,S=N_(T_,c),[C,R]=h.useState(null),N=Ft(t,(e=>R(e))),[P,A]=h.useState(null),T=fm(P),O=null!==(n=null==T?void 0:T.width)&&void 0!==n?n:0,D=null!==(r=null==T?void 0:T.height)&&void 0!==r?r:0,I=f+("center"!==p?"-"+p:""),L="number"==typeof b?b:{top:0,right:0,bottom:0,left:0,...b},j=Array.isArray(y)?y:[y],M=j.length>0,z={padding:L,boundary:j.filter(yP),altBoundary:M},{refs:F,floatingStyles:W,placement:$,isPositioned:U,middlewareData:B}=__({strategy:"fixed",placement:I,whileElementsMounted:(...e)=>w_(...e,{animationFrame:"always"===x}),elements:{reference:S.anchor},middleware:[b_({mainAxis:d+D,alignmentAxis:v}),g&&E_({mainAxis:!0,crossAxis:!1,limiter:"partial"===w?$_():void 0,...z}),g&&S_({...z}),C_({...z,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),P&&P_({element:P,padding:m}),wP({arrowWidth:O,arrowHeight:D}),_&&R_({strategy:"referenceHidden",...z})]}),[H,Z]=I_($),V=Va(E);Oo((()=>{U&&(null==V||V())}),[U,V]);const K=null===(o=B.arrow)||void 0===o?void 0:o.x,q=null===(i=B.arrow)||void 0===i?void 0:i.y,G=0!==(null===(a=B.arrow)||void 0===a?void 0:a.centerOffset),[Q,Y]=h.useState();return Oo((()=>{C&&Y(window.getComputedStyle(C).zIndex)}),[C]),h.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:U?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(u=B.transformOrigin)||void 0===u?void 0:u.x,null===(l=B.transformOrigin)||void 0===l?void 0:l.y].join(" ")},dir:e.dir},h.createElement(mP,{scope:c,placedSide:H,onArrowChange:A,arrowX:K,arrowY:q,shouldHideArrow:G},h.createElement(dt.div,_e({"data-side":H,"data-align":Z},k,{ref:N,style:{...k.style,animation:U?void 0:"none",opacity:null!==(s=B.hide)&&void 0!==s&&s.referenceHidden?0:void 0}}))))}));function yP(e){return null!==e}const wP=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:u,rects:l,middlewareData:s}=t,c=0!==(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=I_(u),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(r=null===(o=s.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=s.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2;let y="",b="";return"bottom"===p?(y=c?v:`${m}px`,b=-d+"px"):"top"===p?(y=c?v:`${m}px`,b=`${l.floating.height+d}px`):"right"===p?(y=-d+"px",b=c?v:`${g}px`):"left"===p&&(y=`${l.floating.width+d}px`,b=c?v:`${g}px`),{data:{x:y,y:b}}}});function I_(e){const[t,n="center"]=e.split("-");return[t,n]}const O_=vP,R1=gP,E0="rovingFocusGroup.onEntryFocus",xP={bubbles:!1,cancelable:!0},P1="RovingFocusGroup",[j0,D_,_P]=x1(P1),[bP,Mp]=Do(P1,[_P]),[EP,$P]=bP(P1),SP=h.forwardRef(((e,t)=>h.createElement(j0.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(j0.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(CP,_e({},e,{ref:t})))))),CP=h.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:s,...c}=e,f=h.useRef(null),d=Ft(t,f),p=s_(i),[v=null,m]=nv({prop:a,defaultProp:u,onChange:l}),[g,y]=h.useState(!1),b=Va(s),w=D_(n),_=h.useRef(!1),[x,E]=h.useState(0);return h.useEffect((()=>{const e=f.current;if(e)return e.addEventListener(E0,b),()=>e.removeEventListener(E0,b)}),[b]),h.createElement(EP,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:v,onItemFocus:h.useCallback((e=>m(e)),[m]),onItemShiftTab:h.useCallback((()=>y(!0)),[]),onFocusableItemAdd:h.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:h.useCallback((()=>E((e=>e-1))),[])},h.createElement(dt.div,_e({tabIndex:g||0===x?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:et(e.onMouseDown,(()=>{_.current=!0})),onFocus:et(e.onFocus,(e=>{const t=!_.current;if(e.target===e.currentTarget&&t&&!g){const t=new CustomEvent(E0,xP);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));M_([e.find((e=>e.active)),e.find((e=>e.id===v)),...e].filter(Boolean).map((e=>e.ref.current)))}}_.current=!1})),onBlur:et(e.onBlur,(()=>y(!1)))})))})),RP="RovingFocusGroupItem",PP=h.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,u=Wh(),l=i||u,s=$P(RP,n),c=s.currentTabStopId===l,f=D_(n),{onFocusableItemAdd:d,onFocusableItemRemove:p}=s;return h.useEffect((()=>{if(r)return d(),()=>p()}),[r,d,p]),h.createElement(j0.ItemSlot,{scope:n,id:l,focusable:r,active:o},h.createElement(dt.span,_e({tabIndex:c?0:-1,"data-orientation":s.orientation},a,{ref:t,onMouseDown:et(e.onMouseDown,(e=>{r?s.onItemFocus(l):e.preventDefault()})),onFocus:et(e.onFocus,(()=>s.onItemFocus(l))),onKeyDown:et(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void s.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=NP(e,s.orientation,s.dir);if(void 0!==t){e.preventDefault();let n=f().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=s.loop?TP(n,r+1):n.slice(r+1)}setTimeout((()=>M_(n)))}}))})))})),AP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kP(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function NP(e,t,n){const r=kP(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return AP[r]}function M_(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function TP(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}const A1=SP,k1=PP,U0=["Enter"," "],IP=["ArrowDown","PageUp","Home"],L_=["ArrowUp","PageDown","End"],OP=[...IP,...L_],DP={ltr:[...U0,"ArrowRight"],rtl:[...U0,"ArrowLeft"]},MP={ltr:["ArrowLeft"],rtl:["ArrowRight"]},bm="Menu",[Qh,LP,FP]=x1(bm),[rd,F_]=Do(bm,[FP,Dp,Mp]),z_=Dp(),W_=Mp(),[FT,od]=rd(bm),[zT,av]=rd(bm),zP=h.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=z_(n);return h.createElement(O_,_e({},o,r,{ref:t}))})),B_="MenuPortal",[WP,j_]=rd(B_,{forceMount:void 0}),BP=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=od(B_,t);return h.createElement(WP,{scope:t,forceMount:n},h.createElement(ua,{present:n||i.open},h.createElement(i1,{asChild:!0,container:o},r)))},Ha="MenuContent",[jP,N1]=rd(Ha),UP=h.forwardRef(((e,t)=>{const n=j_(Ha,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=od(Ha,e.__scopeMenu),a=av(Ha,e.__scopeMenu);return h.createElement(Qh.Provider,{scope:e.__scopeMenu},h.createElement(ua,{present:r||i.open},h.createElement(Qh.Slot,{scope:e.__scopeMenu},a.modal?h.createElement(HP,_e({},o,{ref:t})):h.createElement(VP,_e({},o,{ref:t})))))})),HP=h.forwardRef(((e,t)=>{const n=od(Ha,e.__scopeMenu),r=h.useRef(null),o=Ft(t,r);return h.useEffect((()=>{const e=r.current;if(e)return sm(e)}),[]),h.createElement(T1,_e({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:et(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),VP=h.forwardRef(((e,t)=>{const n=od(Ha,e.__scopeMenu);return h.createElement(T1,_e({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),T1=h.forwardRef(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,onDismiss:p,disableOutsideScroll:v,...m}=e,g=od(Ha,n),y=av(Ha,n),b=z_(n),w=W_(n),_=LP(n),[x,E]=h.useState(null),k=h.useRef(null),S=Ft(t,k,g.onContentChange),C=h.useRef(0),R=h.useRef(""),N=h.useRef(0),P=h.useRef(null),A=h.useRef("right"),T=h.useRef(0),O=v?lm:h.Fragment,D=v?{as:Yf,allowPinchZoom:!0}:void 0;h.useEffect((()=>()=>window.clearTimeout(C.current)),[]),a1();const I=h.useCallback((e=>{var t,n;return A.current===(null===(t=P.current)||void 0===t?void 0:t.side)&&uA(e,null===(n=P.current)||void 0===n?void 0:n.area)}),[]);return h.createElement(jP,{scope:n,searchRef:R,onItemEnter:h.useCallback((e=>{I(e)&&e.preventDefault()}),[I]),onItemLeave:h.useCallback((e=>{var t;I(e)||(null===(t=k.current)||void 0===t||t.focus(),E(null))}),[I]),onTriggerLeave:h.useCallback((e=>{I(e)&&e.preventDefault()}),[I]),pointerGraceTimerRef:N,onPointerGraceIntentChange:h.useCallback((e=>{P.current=e}),[])},h.createElement(O,D,h.createElement(o1,{asChild:!0,trapped:o,onMountAutoFocus:et(i,(e=>{var t;e.preventDefault(),null===(t=k.current)||void 0===t||t.focus()})),onUnmountAutoFocus:a},h.createElement(im,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,onDismiss:p},h.createElement(A1,_e({asChild:!0},w,{dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:E,onEntryFocus:et(l,(e=>{y.isUsingKeyboardRef.current||e.preventDefault()}))}),h.createElement(R1,_e({role:"menu","aria-orientation":"vertical","data-state":G_(g.open),"data-radix-menu-content":"",dir:y.dir},b,m,{ref:S,style:{outline:"none",...m.style},onKeyDown:et(m.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{var t,n;const r=R.current+e,o=_().filter((e=>!e.disabled)),i=document.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,u=lA(o.map((e=>e.textValue)),r,a),l=null===(n=o.find((e=>e.textValue===u)))||void 0===n?void 0:n.ref.current;(function e(t){R.current=t,window.clearTimeout(C.current),""!==t&&(C.current=window.setTimeout((()=>e("")),1e3))})(r),l&&setTimeout((()=>l.focus()))})(e.key));const o=k.current;if(e.target!==o||!OP.includes(e.key))return;e.preventDefault();const i=_().filter((e=>!e.disabled)).map((e=>e.ref.current));L_.includes(e.key)&&i.reverse(),iA(i)})),onBlur:et(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(C.current),R.current="")})),onPointerMove:et(e.onPointerMove,Zh((e=>{const t=e.target,n=T.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>T.current?"right":"left";A.current=t,T.current=e.clientX}})))})))))))})),KP=h.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return h.createElement(dt.div,_e({},r,{ref:t}))})),H0="MenuItem",Yy="menu.itemSelect",I1=h.forwardRef(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=h.useRef(null),a=av(H0,e.__scopeMenu),u=N1(H0,e.__scopeMenu),l=Ft(t,i),s=h.useRef(!1);return h.createElement(U_,_e({},o,{ref:l,disabled:n,onClick:et(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(Yy,{bubbles:!0,cancelable:!0});e.addEventListener(Yy,(e=>null==r?void 0:r(e)),{once:!0}),kw(e,t),t.defaultPrevented?s.current=!1:a.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),s.current=!0},onPointerUp:et(e.onPointerUp,(e=>{var t;s.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:et(e.onKeyDown,(e=>{const t=""!==u.searchRef.current;n||t&&" "===e.key||U0.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),U_=h.forwardRef(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=N1(H0,n),u=W_(n),l=h.useRef(null),s=Ft(t,l),[c,f]=h.useState(!1),[d,p]=h.useState("");return h.useEffect((()=>{const e=l.current;var t;e&&p((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[i.children]),h.createElement(Qh.ItemSlot,{scope:n,disabled:r,textValue:o??d},h.createElement(k1,_e({asChild:!0},u,{focusable:!r}),h.createElement(dt.div,_e({role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:s,onPointerMove:et(e.onPointerMove,Zh((e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())}))),onPointerLeave:et(e.onPointerLeave,Zh((e=>a.onItemLeave(e)))),onFocus:et(e.onFocus,(()=>f(!0))),onBlur:et(e.onBlur,(()=>f(!1)))}))))})),GP=h.forwardRef(((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return h.createElement(V_,{scope:e.__scopeMenu,checked:n},h.createElement(I1,_e({role:"menuitemcheckbox","aria-checked":tm(n)?"mixed":n},o,{ref:t,"data-state":O1(n),onSelect:et(o.onSelect,(()=>null==r?void 0:r(!!tm(n)||!n)),{checkForDefaultPrevented:!1})})))})),YP="MenuRadioGroup",[WT,qP]=rd(YP,{value:void 0,onValueChange:()=>{}}),XP="MenuRadioItem",QP=h.forwardRef(((e,t)=>{const{value:n,...r}=e,o=qP(XP,e.__scopeMenu),i=n===o.value;return h.createElement(V_,{scope:e.__scopeMenu,checked:i},h.createElement(I1,_e({role:"menuitemradio","aria-checked":i},r,{ref:t,"data-state":O1(i),onSelect:et(r.onSelect,(()=>{var e;return null===(e=o.onValueChange)||void 0===e?void 0:e.call(o,n)}),{checkForDefaultPrevented:!1})})))})),H_="MenuItemIndicator",[V_,ZP]=rd(H_,{checked:!1}),JP=h.forwardRef(((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=ZP(H_,n);return h.createElement(ua,{present:r||tm(i.checked)||!0===i.checked},h.createElement(dt.span,_e({},o,{ref:t,"data-state":O1(i.checked)})))})),eA=h.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return h.createElement(dt.div,_e({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),tA="MenuSub",[BT,K_]=rd(tA),Hv="MenuSubTrigger",nA=h.forwardRef(((e,t)=>{const n=od(Hv,e.__scopeMenu),r=av(Hv,e.__scopeMenu),o=K_(Hv,e.__scopeMenu),i=N1(Hv,e.__scopeMenu),a=h.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=i,s={__scopeMenu:e.__scopeMenu},c=h.useCallback((()=>{a.current&&window.clearTimeout(a.current),a.current=null}),[]);return h.useEffect((()=>c),[c]),h.useEffect((()=>{const e=u.current;return()=>{window.clearTimeout(e),l(null)}}),[u,l]),h.createElement(zP,_e({asChild:!0},s),h.createElement(U_,_e({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":G_(n.open)},e,{ref:n1(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),!e.disabled&&!t.defaultPrevented&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:et(e.onPointerMove,Zh((t=>{i.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout((()=>{n.onOpenChange(!0),c()}),100))}))),onPointerLeave:et(e.onPointerLeave,Zh((e=>{var t;c();const r=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(r){var o;const t=null===(o=n.content)||void 0===o?void 0:o.dataset.side,a="right"===t,l=a?-5:5,s=r[a?"left":"right"],c=r[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+l,y:e.clientY},{x:s,y:r.top},{x:c,y:r.top},{x:c,y:r.bottom},{x:s,y:r.bottom}],side:t}),window.clearTimeout(u.current),u.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:et(e.onKeyDown,(t=>{const o=""!==i.searchRef.current;var a;e.disabled||o&&" "===t.key||!DP[r.dir].includes(t.key)||(n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault())}))})))})),rA="MenuSubContent",oA=h.forwardRef(((e,t)=>{const n=j_(Ha,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=od(Ha,e.__scopeMenu),a=av(Ha,e.__scopeMenu),u=K_(rA,e.__scopeMenu),l=h.useRef(null),s=Ft(t,l);return h.createElement(Qh.Provider,{scope:e.__scopeMenu},h.createElement(ua,{present:r||i.open},h.createElement(Qh.Slot,{scope:e.__scopeMenu},h.createElement(T1,_e({id:u.contentId,"aria-labelledby":u.triggerId},o,{ref:s,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=l.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:et(e.onFocusOutside,(e=>{e.target!==u.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:et(e.onEscapeKeyDown,(e=>{a.onClose(),e.preventDefault()})),onKeyDown:et(e.onKeyDown,(e=>{const t=e.currentTarget.contains(e.target),n=MP[a.dir].includes(e.key);var r;t&&n&&(i.onOpenChange(!1),null===(r=u.trigger)||void 0===r||r.focus(),e.preventDefault())}))})))))}));function G_(e){return e?"open":"closed"}function tm(e){return"indeterminate"===e}function O1(e){return tm(e)?"indeterminate":e?"checked":"unchecked"}function iA(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function aA(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}function lA(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=aA(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}function sA(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,u=t[e].y,l=t[i].x,s=t[i].y;u>r!=s>r&&n<(l-a)*(r-u)/(s-u)+a&&(o=!o)}return o}function uA(e,t){if(!t)return!1;return sA({x:e.clientX,y:e.clientY},t)}function Zh(e){return t=>"mouse"===t.pointerType?e(t):void 0}const cA=BP,fA=UP,dA=KP,pA=I1,hA=GP,vA=QP,mA=JP,gA=eA,yA=nA,wA=oA,Y_="DropdownMenu",[xA,jT]=Do(Y_,[F_]),jl=F_(),[UT,_A]=xA(Y_),bA=e=>{const{__scopeDropdownMenu:t,...n}=e,r=jl(t);return h.createElement(cA,_e({},r,n))},EA="DropdownMenuContent",$A=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=_A(EA,n),i=jl(n),a=h.useRef(!1);return h.createElement(fA,_e({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:et(e.onCloseAutoFocus,(e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:et(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),SA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(dA,_e({},o,r,{ref:t}))})),CA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(pA,_e({},o,r,{ref:t}))})),RA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(hA,_e({},o,r,{ref:t}))})),PA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(vA,_e({},o,r,{ref:t}))})),AA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(mA,_e({},o,r,{ref:t}))})),kA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(gA,_e({},o,r,{ref:t}))})),NA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(yA,_e({},o,r,{ref:t}))})),TA=h.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=jl(n);return h.createElement(wA,_e({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),IA=bA,q_=$A,X_=SA,Q_=CA,Z_=RA,J_=PA,eb=AA,tb=kA,nb=NA,rb=TA,OA=h.forwardRef((({className:e,inset:t,children:n,...r},o)=>Z.jsxs(nb,{ref:o,className:He("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,Z.jsx(ww,{className:"ml-auto h-4 w-4"})]})));OA.displayName=nb.displayName;const DA=h.forwardRef((({className:e,...t},n)=>Z.jsx(rb,{ref:n,className:He("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));DA.displayName=rb.displayName;const MA=h.forwardRef((({className:e,sideOffset:t=4,...n},r)=>Z.jsx(IA,{children:Z.jsx(q_,{ref:r,sideOffset:t,className:He("z-[101] min-w-[8rem] overflow-hidden rounded-md border bg-popover p-[8px] text-popover-foreground shadow-md data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})})));MA.displayName=q_.displayName;const LA=h.forwardRef((({className:e,inset:t,...n},r)=>Z.jsx(Q_,{ref:r,className:He("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n})));LA.displayName=Q_.displayName;const FA=h.forwardRef((({className:e,children:t,checked:n,...r},o)=>Z.jsxs(Z_,{ref:o,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[Z.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Z.jsx(eb,{children:Z.jsx(Z0,{className:"h-4 w-4"})})}),t]})));FA.displayName=Z_.displayName;const zA=h.forwardRef((({className:e,children:t,...n},r)=>Z.jsxs(J_,{ref:r,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[Z.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Z.jsx(eb,{children:Z.jsx(xw,{className:"h-2 w-2 fill-current"})})}),t]})));zA.displayName=J_.displayName;const WA=h.forwardRef((({className:e,inset:t,...n},r)=>Z.jsx(X_,{ref:r,className:He("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n})));WA.displayName=X_.displayName;const BA=h.forwardRef((({className:e,...t},n)=>Z.jsx(tb,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t})));BA.displayName=tb.displayName;const jA=Ri.createContext(null),UA=()=>Ri.useContext(jA),HA="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='NEW%20p-custom%20icons'%3e%3ccircle%20id='Ellipse%2027'%20cx='7'%20cy='7'%20r='5'%20fill='%23BD3131'%20stroke='%23BD3131'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector%2071'%20d='M5.19922%205.2002L8.73475%208.73573'%20stroke='white'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector%2072'%20d='M8.80078%205.2002L5.26525%208.73573'%20stroke='white'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",VA=h.forwardRef(((e,t)=>h.createElement(dt.label,_e({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))),ob=VA,KA=Tc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ib=h.forwardRef((({className:e,...t},n)=>Z.jsx(ob,{ref:n,className:He(KA(),e),...t})));ib.displayName=ob.displayName;const GA=h.createContext({}),Lp=()=>{const e=h.useContext(GA),t=h.useContext(ab),n=UA();e||console.error("useFormContext must be used within a FormProvider");const{getFieldState:r,formState:o}=n,i=r(e.name,o);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},ab=h.createContext({}),YA=h.forwardRef((({className:e,...t},n)=>{const r=h.useId();return Z.jsx(ab.Provider,{value:{id:r},children:Z.jsx("div",{ref:n,className:He("mt-[8px]",e),...t})})}));YA.displayName="FormItem";const qA=h.forwardRef((({className:e,isRequired:t,...n},r)=>{var o;const{formItemId:i}=Lp();return Z.jsx(ib,{ref:r,className:He("mb-2 text-sm font-medium",e),htmlFor:i,...n,children:t?`*${null==(o=n.children)?void 0:o.toString()}`:n.children})}));qA.displayName="FormLabel";const XA=h.forwardRef((({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:o,formMessageId:i}=Lp();return Z.jsx(tv,{ref:t,id:r,"aria-describedby":n?`${o} ${i}`:`${o}`,"aria-invalid":!!n,...e})}));XA.displayName="FormControl";const QA=h.forwardRef((({className:e,...t},n)=>{const{formDescriptionId:r}=Lp();return Z.jsx("p",{ref:n,id:r,className:He("text-sm text-muted-foreground",e),...t})}));QA.displayName="FormDescription";const ZA=h.forwardRef((({className:e,children:t,...n},r)=>{const{error:o,formMessageId:i}=Lp(),a=o?String(null==o?void 0:o.message):t;return a?Z.jsxs("p",{ref:r,id:i,className:He("flex items-center gap-[2px] pt-2 text-sm font-medium text-destructive",e),...n,children:[Z.jsx("img",{src:HA,width:16,height:16,alt:"delete"})," ",a]}):null}));function la(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function lb(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>h.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return h.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=h.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][i])||o,l=h.useMemo((()=>a),Object.values(a));return Z.jsx(u.Provider,{value:l,children:r})}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const u=(null==a?void 0:a[e][i])||o,l=h.useContext(u);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},JA(r,...t)]}function JA(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return h.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function Em(e){const t=h.useRef(e);return h.useEffect((()=>{t.current=e})),h.useMemo((()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)}),[])}function ek(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function sb(...e){return t=>e.forEach((e=>ek(e,t)))}function Fp(...e){return h.useCallback(sb(...e),e)}ZA.displayName="FormMessage";var ub=h.forwardRef(((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(nk);if(i){const e=i.props.children,n=o.map((t=>t===i?h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null:t));return Z.jsx(V0,{...r,ref:t,children:h.isValidElement(e)?h.cloneElement(e,void 0,n):null})}return Z.jsx(V0,{...r,ref:t,children:n})}));ub.displayName="Slot";var V0=h.forwardRef(((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const e=ok(n);return h.cloneElement(n,{...rk(r,n.props),ref:t?sb(t,e):e})}return h.Children.count(n)>1?h.Children.only(null):null}));V0.displayName="SlotClone";var tk=({children:e})=>Z.jsx(Z.Fragment,{children:e});function nk(e){return h.isValidElement(e)&&e.type===tk}function rk(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function ok(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ik=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],zp=ik.reduce(((e,t)=>{const n=h.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?ub:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(i,{...o,ref:n})}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function ak(e,t){e&&Wl.flushSync((()=>e.dispatchEvent(t)))}var lk="Arrow",cb=h.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return Z.jsx(zp.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:Z.jsx("polygon",{points:"0,0 30,0 15,10"})})}));cb.displayName=lk;var sk=cb,Jh=null!=globalThis&&globalThis.document?h.useLayoutEffect:()=>{};function uk(e){const[t,n]=h.useState(void 0);return Jh((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}var fb="Popper",[db,pb]=lb(fb),[HT,hb]=db(fb),vb="PopperAnchor",mb=h.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=hb(vb,n),a=h.useRef(null),u=Fp(t,a);return h.useEffect((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Z.jsx(zp.div,{...o,ref:u})}));mb.displayName=vb;var D1="PopperContent",[ck,fk]=db(D1),gb=h.forwardRef(((e,t)=>{var n,r,o,i,a,u;const{__scopePopper:l,side:s="bottom",sideOffset:c=0,align:f="center",alignOffset:d=0,arrowPadding:p=0,avoidCollisions:v=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:w="optimized",onPlaced:_,...x}=e,E=hb(D1,l),[k,S]=h.useState(null),C=Fp(t,(e=>S(e))),[R,N]=h.useState(null),P=uk(R),A=(null==P?void 0:P.width)??0,T=(null==P?void 0:P.height)??0,O=s+("center"!==f?"-"+f:""),D="number"==typeof g?g:{top:0,right:0,bottom:0,left:0,...g},I=Array.isArray(m)?m:[m],L=I.length>0,j={padding:D,boundary:I.filter(pk),altBoundary:L},{refs:M,floatingStyles:z,placement:F,isPositioned:W,middlewareData:$}=__({strategy:"fixed",placement:O,whileElementsMounted:(...e)=>w_(...e,{animationFrame:"always"===w}),elements:{reference:E.anchor},middleware:[b_({mainAxis:c+T,alignmentAxis:d}),v&&E_({mainAxis:!0,crossAxis:!1,limiter:"partial"===y?$_():void 0,...j}),v&&S_({...j}),C_({...j,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),R&&P_({element:R,padding:p}),hk({arrowWidth:A,arrowHeight:T}),b&&R_({strategy:"referenceHidden",...j})]}),[U,B]=xb(F),H=Em(_);Jh((()=>{W&&(null==H||H())}),[W,H]);const V=null==(n=$.arrow)?void 0:n.x,K=null==(r=$.arrow)?void 0:r.y,q=0!==(null==(o=$.arrow)?void 0:o.centerOffset),[G,Q]=h.useState();return Jh((()=>{k&&Q(window.getComputedStyle(k).zIndex)}),[k]),Z.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:W?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[null==(i=$.transformOrigin)?void 0:i.x,null==(a=$.transformOrigin)?void 0:a.y].join(" "),...(null==(u=$.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:Z.jsx(ck,{scope:l,placedSide:U,onArrowChange:N,arrowX:V,arrowY:K,shouldHideArrow:q,children:Z.jsx(zp.div,{"data-side":U,"data-align":B,...x,ref:C,style:{...x.style,animation:W?void 0:"none"}})})})}));gb.displayName=D1;var yb="PopperArrow",dk={top:"bottom",right:"left",bottom:"top",left:"right"},wb=h.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,o=fk(yb,n),i=dk[o.placedSide];return Z.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:Z.jsx(sk,{...r,ref:t,style:{...r.style,display:"block"}})})}));function pk(e){return null!==e}wb.displayName=yb;var hk=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:a,middlewareData:u}=t,l=0!==(null==(n=u.arrow)?void 0:n.centerOffset),s=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[f,d]=xb(i),p={start:"0%",center:"50%",end:"100%"}[d],h=((null==(r=u.arrow)?void 0:r.x)??0)+s/2,v=((null==(o=u.arrow)?void 0:o.y)??0)+c/2;let m="",g="";return"bottom"===f?(m=l?p:`${h}px`,g=-c+"px"):"top"===f?(m=l?p:`${h}px`,g=`${a.floating.height+c}px`):"right"===f?(m=-c+"px",g=l?p:`${v}px`):"left"===f&&(m=`${a.floating.width+c}px`,g=l?p:`${v}px`),{data:{x:m,y:g}}}});function xb(e){const[t,n="center"]=e.split("-");return[t,n]}var vk=mb,mk=gb,gk=wb;function yk(e,t){return h.useReducer(((e,n)=>t[e][n]??e),e)}var _b=e=>{const{present:t,children:n}=e,r=wk(t),o="function"==typeof n?n({present:r.isPresent}):h.Children.only(n),i=Fp(r.ref,xk(o));return"function"==typeof n||r.isPresent?h.cloneElement(o,{ref:i}):null};function wk(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[u,l]=yk(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect((()=>{const e=Vv(r.current);i.current="mounted"===u?e:"none"}),[u]),Jh((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Vv(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,l]),Jh((()=>{if(t){const e=e=>{const n=Vv(r.current).includes(e.animationName);e.target===t&&n&&Wl.flushSync((()=>l("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Vv(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:h.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}function Vv(e){return(null==e?void 0:e.animationName)||"none"}function xk(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function _k(e,t=(null==globalThis?void 0:globalThis.document)){const n=Em(e);h.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}_b.displayName="Presence";var qy,bk="DismissableLayer",K0="dismissableLayer.update",Ek="dismissableLayer.pointerDownOutside",$k="dismissableLayer.focusOutside",bb=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Eb=h.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...l}=e,s=h.useContext(bb),[c,f]=h.useState(null),d=(null==c?void 0:c.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,p]=h.useState({}),v=Fp(t,(e=>f(e))),m=Array.from(s.layers),[g]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(g),b=c?m.indexOf(c):-1,w=s.layersWithOutsidePointerEventsDisabled.size>0,_=b>=y,x=Rk((e=>{const t=e.target,n=[...s.branches].some((e=>e.contains(t)));!_||n||(null==o||o(e),null==a||a(e),e.defaultPrevented||null==u||u())}),d),E=Pk((e=>{const t=e.target;[...s.branches].some((e=>e.contains(t)))||(null==i||i(e),null==a||a(e),e.defaultPrevented||null==u||u())}),d);return _k((e=>{b===s.layers.size-1&&(null==r||r(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))}),d),h.useEffect((()=>{if(c)return n&&(0===s.layersWithOutsidePointerEventsDisabled.size&&(qy=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(c)),s.layers.add(c),Xy(),()=>{n&&1===s.layersWithOutsidePointerEventsDisabled.size&&(d.body.style.pointerEvents=qy)}}),[c,d,n,s]),h.useEffect((()=>()=>{c&&(s.layers.delete(c),s.layersWithOutsidePointerEventsDisabled.delete(c),Xy())}),[c,s]),h.useEffect((()=>{const e=()=>p({});return document.addEventListener(K0,e),()=>document.removeEventListener(K0,e)}),[]),Z.jsx(zp.div,{...l,ref:v,style:{pointerEvents:w?_?"auto":"none":void 0,...e.style},onFocusCapture:la(e.onFocusCapture,E.onFocusCapture),onBlurCapture:la(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:la(e.onPointerDownCapture,x.onPointerDownCapture)})}));Eb.displayName=bk;var Sk="DismissableLayerBranch",Ck=h.forwardRef(((e,t)=>{const n=h.useContext(bb),r=h.useRef(null),o=Fp(t,r);return h.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),Z.jsx(zp.div,{...e,ref:o})}));function Rk(e,t=(null==globalThis?void 0:globalThis.document)){const n=Em(e),r=h.useRef(!1),o=h.useRef((()=>{}));return h.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){$b(Ek,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Pk(e,t=(null==globalThis?void 0:globalThis.document)){const n=Em(e),r=h.useRef(!1);return h.useEffect((()=>{const e=e=>{e.target&&!r.current&&$b($k,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Xy(){const e=new CustomEvent(K0);document.dispatchEvent(e)}function $b(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ak(o,i):o.dispatchEvent(i)}Ck.displayName=Sk;var $0,Sb="HoverCard",[Cb,VT]=lb(Sb,[pb]),M1=pb(),[KT,L1]=Cb(Sb),Rb="HoverCardTrigger",Ak=h.forwardRef(((e,t)=>{const{__scopeHoverCard:n,...r}=e,o=L1(Rb,n),i=M1(n);return Z.jsx(vk,{asChild:!0,...i,children:Z.jsx(zp.a,{"data-state":o.open?"open":"closed",...r,ref:t,onPointerEnter:la(e.onPointerEnter,rm(o.onOpen)),onPointerLeave:la(e.onPointerLeave,rm(o.onClose)),onFocus:la(e.onFocus,o.onOpen),onBlur:la(e.onBlur,o.onClose),onTouchStart:la(e.onTouchStart,(e=>e.preventDefault()))})})}));Ak.displayName=Rb;var kk="HoverCardPortal",[GT,Nk]=Cb(kk,{forceMount:void 0}),nm="HoverCardContent",Pb=h.forwardRef(((e,t)=>{const n=Nk(nm,e.__scopeHoverCard),{forceMount:r=n.forceMount,...o}=e,i=L1(nm,e.__scopeHoverCard);return Z.jsx(_b,{present:r||i.open,children:Z.jsx(Tk,{"data-state":i.open?"open":"closed",...o,onPointerEnter:la(e.onPointerEnter,rm(i.onOpen)),onPointerLeave:la(e.onPointerLeave,rm(i.onClose)),ref:t})})}));Pb.displayName=nm;var Tk=h.forwardRef(((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,...u}=e,l=L1(nm,n),s=M1(n),c=h.useRef(null),f=Fp(t,c),[d,p]=h.useState(!1);return h.useEffect((()=>{if(d){const e=document.body;return $0=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=$0,e.style.webkitUserSelect=$0}}}),[d]),h.useEffect((()=>{if(c.current){const e=()=>{p(!1),l.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null==(e=document.getSelection())?void 0:e.toString())&&(l.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!1}}}),[l.isPointerDownOnContentRef,l.hasSelectionRef]),h.useEffect((()=>{c.current&&Dk(c.current).forEach((e=>e.setAttribute("tabindex","-1")))})),Z.jsx(Eb,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:a,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:la(i,(e=>{e.preventDefault()})),onDismiss:l.onDismiss,children:Z.jsx(mk,{...s,...u,onPointerDown:la(u.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&p(!0),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!0})),ref:f,style:{...u.style,userSelect:d?"text":void 0,WebkitUserSelect:d?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})})),Ik="HoverCardArrow",Ok=h.forwardRef(((e,t)=>{const{__scopeHoverCard:n,...r}=e,o=M1(n);return Z.jsx(gk,{...o,...r,ref:t})}));function rm(e){return t=>"touch"===t.pointerType?void 0:e()}function Dk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}Ok.displayName=Ik;var Ab=Pb;const Mk=h.forwardRef((({className:e,align:t="center",sideOffset:n=4,...r},o)=>Z.jsx(Ab,{ref:o,align:t,sideOffset:n,className:He("z-50 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})));Mk.displayName=Ab.displayName;const Lk=h.forwardRef((({className:e,type:t,...n},r)=>{const{error:o}=Lp();return Z.jsx("input",{type:t,className:He("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50",{"border-red-dark focus-visible:border-input focus-visible:ring-red-dark":!!o},e),ref:r,...n})}));Lk.displayName="Input";const kb="Radio",[Fk,Nb]=Do(kb),[zk,Wk]=Fk(kb),Bk=h.forwardRef(((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:i,disabled:a,value:u="on",onCheck:l,...s}=e,[c,f]=h.useState(null),d=Ft(t,(e=>f(e))),p=h.useRef(!1),v=!c||!!c.closest("form");return h.createElement(zk,{scope:n,checked:o,disabled:a},h.createElement(dt.button,_e({type:"button",role:"radio","aria-checked":o,"data-state":Tb(o),"data-disabled":a?"":void 0,disabled:a,value:u},s,{ref:d,onClick:et(e.onClick,(e=>{o||null==l||l(),v&&(p.current=e.isPropagationStopped(),p.current||e.stopPropagation())}))})),v&&h.createElement(Hk,{control:c,bubbles:!p.current,name:r,value:u,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))})),jk="RadioIndicator",Uk=h.forwardRef(((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,i=Wk(jk,n);return h.createElement(ua,{present:r||i.checked},h.createElement(dt.span,_e({"data-state":Tb(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))})),Hk=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=cm(n),u=fm(t);return h.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});o.call(e,n),e.dispatchEvent(t)}}),[a,n,r]),h.createElement("input",_e({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Tb(e){return e?"checked":"unchecked"}const Vk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ib="RadioGroup",[Kk,YT]=Do(Ib,[Mp,Nb]),Ob=Mp(),Db=Nb(),[Gk,Yk]=Kk(Ib),qk=h.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:i,required:a=!1,disabled:u=!1,orientation:l,dir:s,loop:c=!0,onValueChange:f,...d}=e,p=Ob(n),v=s_(s),[m,g]=nv({prop:i,defaultProp:o,onChange:f});return h.createElement(Gk,{scope:n,name:r,required:a,disabled:u,value:m,onValueChange:g},h.createElement(A1,_e({asChild:!0},p,{orientation:l,dir:v,loop:c}),h.createElement(dt.div,_e({role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":u?"":void 0,dir:v},d,{ref:t}))))})),Xk="RadioGroupItem",Qk=h.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,i=Yk(Xk,n),a=i.disabled||r,u=Ob(n),l=Db(n),s=h.useRef(null),c=Ft(t,s),f=i.value===o.value,d=h.useRef(!1);return h.useEffect((()=>{const e=e=>{Vk.includes(e.key)&&(d.current=!0)},t=()=>d.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),h.createElement(k1,_e({asChild:!0},u,{focusable:!a,active:f}),h.createElement(Bk,_e({disabled:a,required:i.required,checked:f},l,o,{name:i.name,ref:c,onCheck:()=>i.onValueChange(o.value),onKeyDown:et((e=>{"Enter"===e.key&&e.preventDefault()})),onFocus:et(o.onFocus,(()=>{var e;d.current&&(null===(e=s.current)||void 0===e||e.click())}))})))})),Zk=h.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=Db(n);return h.createElement(Uk,_e({},o,r,{ref:t}))})),Mb=qk,Lb=Qk,Jk=Zk,eN=h.forwardRef((({className:e,...t},n)=>Z.jsx(Mb,{className:He("grid gap-2",e),...t,ref:n})));eN.displayName=Mb.displayName;const tN=h.forwardRef((({className:e,...t},n)=>Z.jsx(Lb,{ref:n,className:He("aspect-square h-4 w-4 rounded-full border-[1.67px] border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:Z.jsx(Jk,{className:"flex items-center justify-center",children:Z.jsx(xw,{className:"h-2.5 w-2.5 fill-current text-current"})})})));function Qy(e,[t,n]){return Math.min(n,Math.max(t,e))}tN.displayName=Lb.displayName;const Fb=h.forwardRef(((e,t)=>h.createElement(dt.span,_e({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),nN=Fb,rN=[" ","Enter","ArrowUp","ArrowDown"],oN=[" ","Enter"],$m="Select",[F1,Sm,iN]=x1($m),[Wp,qT]=Do($m,[iN,Dp]),zb=Dp(),[XT,Bp]=Wp($m),[QT,aN]=Wp($m),lN="SelectTrigger",sN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=zb(n),a=Bp(lN,n),u=a.disabled||r,l=Ft(t,a.onTriggerChange),s=Sm(n),[c,f,d]=Ub((e=>{const t=s().filter((e=>!e.disabled)),n=t.find((e=>e.value===a.value)),r=Hb(t,e,n);void 0!==r&&a.onValueChange(r.value)})),p=()=>{u||(a.onOpenChange(!0),d())};return h.createElement(O_,_e({asChild:!0},i),h.createElement(dt.button,_e({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":PN(a.value)?"":void 0},o,{ref:l,onClick:et(o.onClick,(e=>{e.currentTarget.focus()})),onPointerDown:et(o.onPointerDown,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(p(),a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:et(o.onKeyDown,(e=>{const t=""!==c.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&f(e.key),(!t||" "!==e.key)&&rN.includes(e.key)&&(p(),e.preventDefault())}))})))})),uN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return h.createElement(dt.span,_e({"aria-hidden":!0},o,{ref:t}),r||"▼")})),cN=e=>h.createElement(i1,_e({asChild:!0},e)),Np="SelectContent",fN=h.forwardRef(((e,t)=>{const n=Bp(Np,e.__scopeSelect),[r,o]=h.useState();if(Oo((()=>{o(new DocumentFragment)}),[]),!n.open){const t=r;return t?Wl.createPortal(h.createElement(Wb,{scope:e.__scopeSelect},h.createElement(F1.Slot,{scope:e.__scopeSelect},h.createElement("div",null,e.children))),t):null}return h.createElement(dN,_e({},e,{ref:t}))})),Hs=10,[Wb,id]=Wp(Np),dN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:u,sideOffset:l,align:s,alignOffset:c,arrowPadding:f,collisionBoundary:d,collisionPadding:p,sticky:v,hideWhenDetached:m,avoidCollisions:g,...y}=e,b=Bp(Np,n),[w,_]=h.useState(null),[x,E]=h.useState(null),k=Ft(t,(e=>_(e))),[S,C]=h.useState(null),[R,N]=h.useState(null),P=Sm(n),[A,T]=h.useState(!1),O=h.useRef(!1);h.useEffect((()=>{if(w)return sm(w)}),[w]),a1();const D=h.useCallback((e=>{const[t,...n]=P().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),null==n||n.focus(),document.activeElement!==o))return}),[P,x]),I=h.useCallback((()=>D([S,w])),[D,S,w]);h.useEffect((()=>{A&&I()}),[A,I]);const{onOpenChange:L,triggerPointerDownPosRef:j}=b;h.useEffect((()=>{if(w){let e={x:0,y:0};const t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=j.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=j.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():w.contains(n.target)||L(!1),document.removeEventListener("pointermove",t),j.current=null};return null!==j.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[w,L,j]),h.useEffect((()=>{const e=()=>L(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[L]);const[M,z]=Ub((e=>{const t=P().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=Hb(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),F=h.useCallback(((e,t,n)=>{const r=!O.current&&!n;(void 0!==b.value&&b.value===t||r)&&(C(e),r&&(O.current=!0))}),[b.value]),W=h.useCallback((()=>null==w?void 0:w.focus()),[w]),$=h.useCallback(((e,t,n)=>{const r=!O.current&&!n;(void 0!==b.value&&b.value===t||r)&&N(e)}),[b.value]),U="popper"===r?Zy:pN,B=U===Zy?{side:u,sideOffset:l,align:s,alignOffset:c,arrowPadding:f,collisionBoundary:d,collisionPadding:p,sticky:v,hideWhenDetached:m,avoidCollisions:g}:{};return h.createElement(Wb,{scope:n,content:w,viewport:x,onViewportChange:E,itemRefCallback:F,selectedItem:S,onItemLeave:W,itemTextRefCallback:$,focusSelectedItem:I,selectedItemText:R,position:r,isPositioned:A,searchRef:M},h.createElement(lm,{as:Yf,allowPinchZoom:!0},h.createElement(o1,{asChild:!0,trapped:b.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:et(o,(e=>{var t;null===(t=b.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},h.createElement(im,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>b.onOpenChange(!1)},h.createElement(U,_e({role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:e=>e.preventDefault()},y,B,{onPlaced:()=>T(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:et(y.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=P().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>D(t))),e.preventDefault()}}))}))))))})),pN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=Bp(Np,n),a=id(Np,n),[u,l]=h.useState(null),[s,c]=h.useState(null),f=Ft(t,(e=>c(e))),d=Sm(n),p=h.useRef(!1),v=h.useRef(!0),{viewport:m,selectedItem:g,selectedItemText:y,focusSelectedItem:b}=a,w=h.useCallback((()=>{if(i.trigger&&i.valueNode&&u&&s&&m&&g&&y){const e=i.trigger.getBoundingClientRect(),t=s.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=y.getBoundingClientRect();if("rtl"!==i.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,l=e.width+a,s=Math.max(l,t.width),c=window.innerWidth-Hs,f=Qy(i,[Hs,c-s]);u.style.minWidth=l+"px",u.style.left=f+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,l=e.width+a,s=Math.max(l,t.width),c=window.innerWidth-Hs,f=Qy(i,[Hs,c-s]);u.style.minWidth=l+"px",u.style.right=f+"px"}const a=d(),l=window.innerHeight-2*Hs,c=m.scrollHeight,f=window.getComputedStyle(s),h=parseInt(f.borderTopWidth,10),v=parseInt(f.paddingTop,10),b=parseInt(f.borderBottomWidth,10),w=h+v+c+parseInt(f.paddingBottom,10)+b,_=Math.min(5*g.offsetHeight,w),x=window.getComputedStyle(m),E=parseInt(x.paddingTop,10),k=parseInt(x.paddingBottom,10),S=e.top+e.height/2-Hs,C=l-S,R=g.offsetHeight/2,N=h+v+(g.offsetTop+R),P=w-N;if(N<=S){const e=g===a[a.length-1].ref.current;u.style.bottom="0px";const t=s.clientHeight-m.offsetTop-m.offsetHeight,n=N+Math.max(C,R+(e?k:0)+t+b);u.style.height=n+"px"}else{const e=g===a[0].ref.current;u.style.top="0px";const t=Math.max(S,h+m.offsetTop+(e?E:0)+R)+P;u.style.height=t+"px",m.scrollTop=N-S+m.offsetTop}u.style.margin=`${Hs}px 0`,u.style.minHeight=_+"px",u.style.maxHeight=l+"px",null==r||r(),requestAnimationFrame((()=>p.current=!0))}}),[d,i.trigger,i.valueNode,u,s,m,g,y,i.dir,r]);Oo((()=>w()),[w]);const[_,x]=h.useState();Oo((()=>{s&&x(window.getComputedStyle(s).zIndex)}),[s]);const E=h.useCallback((e=>{e&&!0===v.current&&(w(),null==b||b(),v.current=!1)}),[w,b]);return h.createElement(hN,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:p,onScrollButtonChange:E},h.createElement("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_}},h.createElement(dt.div,_e({},o,{ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))})),Zy=h.forwardRef(((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Hs,...i}=e,a=zb(n);return h.createElement(R1,_e({},a,i,{ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))})),[hN,z1]=Wp(Np,{}),Jy="SelectViewport",vN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=id(Jy,n),i=z1(Jy,n),a=Ft(t,o.onViewportChange),u=h.useRef(0);return h.createElement(h.Fragment,null,h.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),h.createElement(F1.Slot,{scope:n},h.createElement(dt.div,_e({"data-radix-select-viewport":"",role:"presentation"},r,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:et(r.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=i;if(null!=r&&r.current&&n){const e=Math.abs(u.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*Hs,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),u=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=u>0?u:0,n.style.justifyContent="flex-end")}}}u.current=t.scrollTop}))}))))})),mN="SelectGroup",[ZT,gN]=Wp(mN),yN="SelectLabel",wN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=gN(yN,n);return h.createElement(dt.div,_e({id:o.id},r,{ref:t}))})),G0="SelectItem",[xN,Bb]=Wp(G0),_N=h.forwardRef(((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,u=Bp(G0,n),l=id(G0,n),s=u.value===r,[c,f]=h.useState(i??""),[d,p]=h.useState(!1),v=Ft(t,(e=>{var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,o)})),m=Wh(),g=()=>{o||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return h.createElement(xN,{scope:n,value:r,disabled:o,textId:m,isSelected:s,onItemTextChange:h.useCallback((e=>{f((t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},h.createElement(F1.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},h.createElement(dt.div,_e({role:"option","aria-labelledby":m,"data-highlighted":d?"":void 0,"aria-selected":s&&d,"data-state":s?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:et(a.onFocus,(()=>p(!0))),onBlur:et(a.onBlur,(()=>p(!1))),onPointerUp:et(a.onPointerUp,g),onPointerMove:et(a.onPointerMove,(e=>{var t;o?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:et(a.onPointerLeave,(e=>{var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:et(a.onKeyDown,(e=>{var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(oN.includes(e.key)&&g()," "===e.key&&e.preventDefault())}))}))))})),Kv="SelectItemText",bN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=Bp(Kv,n),u=id(Kv,n),l=Bb(Kv,n),s=aN(Kv,n),[c,f]=h.useState(null),d=Ft(t,(e=>f(e)),l.onItemTextChange,(e=>{var t;return null===(t=u.itemTextRefCallback)||void 0===t?void 0:t.call(u,e,l.value,l.disabled)})),p=null==c?void 0:c.textContent,v=h.useMemo((()=>h.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},p)),[l.disabled,l.value,p]),{onNativeOptionAdd:m,onNativeOptionRemove:g}=s;return Oo((()=>(m(v),()=>g(v))),[m,g,v]),h.createElement(h.Fragment,null,h.createElement(dt.span,_e({id:l.textId},i,{ref:d})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Wl.createPortal(i.children,a.valueNode):null)})),EN="SelectItemIndicator",$N=h.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return Bb(EN,n).isSelected?h.createElement(dt.span,_e({"aria-hidden":!0},r,{ref:t})):null})),ew="SelectScrollUpButton",SN=h.forwardRef(((e,t)=>{const n=id(ew,e.__scopeSelect),r=z1(ew,e.__scopeSelect),[o,i]=h.useState(!1),a=Ft(t,r.onScrollButtonChange);return Oo((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?h.createElement(jb,_e({},e,{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),tw="SelectScrollDownButton",CN=h.forwardRef(((e,t)=>{const n=id(tw,e.__scopeSelect),r=z1(tw,e.__scopeSelect),[o,i]=h.useState(!1),a=Ft(t,r.onScrollButtonChange);return Oo((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?h.createElement(jb,_e({},e,{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),jb=h.forwardRef(((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=id("SelectScrollButton",n),a=h.useRef(null),u=Sm(n),l=h.useCallback((()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return h.useEffect((()=>()=>l()),[l]),Oo((()=>{var e;const t=u().find((e=>e.ref.current===document.activeElement));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[u]),h.createElement(dt.div,_e({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerDown:et(o.onPointerDown,(()=>{null===a.current&&(a.current=window.setInterval(r,50))})),onPointerMove:et(o.onPointerMove,(()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))})),onPointerLeave:et(o.onPointerLeave,(()=>{l()}))}))})),RN=h.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return h.createElement(dt.div,_e({"aria-hidden":!0},r,{ref:t}))}));function PN(e){return""===e||void 0===e}const AN=h.forwardRef(((e,t)=>{const{value:n,...r}=e,o=h.useRef(null),i=Ft(t,o),a=cm(n);return h.useEffect((()=>{const e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[a,n]),h.createElement(Fb,{asChild:!0},h.createElement("select",_e({},r,{ref:i,defaultValue:n})))}));function Ub(e){const t=Va(e),n=h.useRef(""),r=h.useRef(0),o=h.useCallback((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=h.useCallback((()=>{n.current="",window.clearTimeout(r.current)}),[]);return h.useEffect((()=>()=>window.clearTimeout(r.current)),[]),[n,o,i]}function Hb(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=kN(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.textValue.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}function kN(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}AN.displayName="BubbleSelect";const Vb=sN,NN=uN,TN=cN,Kb=fN,IN=vN,Gb=wN,Yb=_N,ON=bN,DN=$N,qb=SN,Xb=CN,Qb=RN,MN=h.forwardRef((({className:e,children:t,...n},r)=>Z.jsxs(Vb,{ref:r,className:He("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,Z.jsx(NN,{asChild:!0,children:Z.jsx(yw,{className:"h-4 w-4 opacity-50"})})]})));MN.displayName=Vb.displayName;const Zb=h.forwardRef((({className:e,...t},n)=>Z.jsx(qb,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:Z.jsx(p$,{className:"h-4 w-4"})})));Zb.displayName=qb.displayName;const Jb=h.forwardRef((({className:e,...t},n)=>Z.jsx(Xb,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:Z.jsx(yw,{className:"h-4 w-4"})})));Jb.displayName=Xb.displayName;const LN=h.forwardRef((({className:e,children:t,position:n="popper",...r},o)=>Z.jsx(TN,{children:Z.jsxs(Kb,{ref:o,className:He("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[Z.jsx(Zb,{}),Z.jsx(IN,{className:He("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),Z.jsx(Jb,{})]})})));LN.displayName=Kb.displayName;const FN=h.forwardRef((({className:e,...t},n)=>Z.jsx(Gb,{ref:n,className:He("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t})));FN.displayName=Gb.displayName;const zN=h.forwardRef((({className:e,children:t,...n},r)=>Z.jsxs(Yb,{ref:r,className:He("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[Z.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Z.jsx(DN,{children:Z.jsx(Z0,{className:"h-4 w-4"})})}),Z.jsx(ON,{children:t})]})));zN.displayName=Yb.displayName;const WN=h.forwardRef((({className:e,...t},n)=>Z.jsx(Qb,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t})));WN.displayName=Qb.displayName;const BN=r_,eE=h.forwardRef((({className:e,...t},n)=>Z.jsx(vm,{className:He("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n})));eE.displayName=vm.displayName;const jN=Tc("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),UN=h.forwardRef((({side:e="right",className:t,overlayClassName:n,children:r,...o},i)=>Z.jsxs(BN,{children:[Z.jsx(eE,{className:He("bg-slate-900/70",n)}),Z.jsxs(mm,{ref:i,className:He(jN({side:e}),t),...o,children:[r,Z.jsxs(o_,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[Z.jsx(_w,{className:"h-4 w-4"}),Z.jsx("span",{className:"sr-only",children:"Close"})]})]})]})));UN.displayName=mm.displayName;const HN=h.forwardRef((({className:e,...t},n)=>Z.jsx(gm,{ref:n,className:He("text-lg font-semibold text-foreground",e),...t})));HN.displayName=gm.displayName;const VN=h.forwardRef((({className:e,...t},n)=>Z.jsx(ym,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));VN.displayName=ym.displayName;const tE="Switch",[KN,JT]=Do(tE),[GN,YN]=KN(tE),qN=h.forwardRef(((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:a,disabled:u,value:l="on",onCheckedChange:s,...c}=e,[f,d]=h.useState(null),p=Ft(t,(e=>d(e))),v=h.useRef(!1),m=!f||!!f.closest("form"),[g=!1,y]=nv({prop:o,defaultProp:i,onChange:s});return h.createElement(GN,{scope:n,checked:g,disabled:u},h.createElement(dt.button,_e({type:"button",role:"switch","aria-checked":g,"aria-required":a,"data-state":nE(g),"data-disabled":u?"":void 0,disabled:u,value:l},c,{ref:p,onClick:et(e.onClick,(e=>{y((e=>!e)),m&&(v.current=e.isPropagationStopped(),v.current||e.stopPropagation())}))})),m&&h.createElement(ZN,{control:f,bubbles:!v.current,name:r,value:l,checked:g,required:a,disabled:u,style:{transform:"translateX(-100%)"}}))})),XN="SwitchThumb",QN=h.forwardRef(((e,t)=>{const{__scopeSwitch:n,...r}=e,o=YN(XN,n);return h.createElement(dt.span,_e({"data-state":nE(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),ZN=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=h.useRef(null),a=cm(n),u=fm(t);return h.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});o.call(e,n),e.dispatchEvent(t)}}),[a,n,r]),h.createElement("input",_e({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function nE(e){return e?"checked":"unchecked"}const rE=qN,JN=QN,eT=h.forwardRef((({className:e,...t},n)=>Z.jsx(rE,{className:He("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:!bg-slate-100 data-[state=checked]:bg-slate-700 data-[state=unchecked]:bg-input md:h-[18px] md:w-8",e),...t,ref:n,children:Z.jsx(JN,{className:He("pointer-events-none block size-[20px] rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[20px] data-[state=unchecked]:translate-x-0 md:size-[14px] md:data-[state=checked]:translate-x-[14px]")})})));eT.displayName=rE.displayName;const oE="Tabs",[tT,eI]=Do(oE,[Mp]),iE=Mp(),[tI,W1]=tT(oE),nT="TabsList",rT=h.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=W1(nT,n),a=iE(n);return h.createElement(A1,_e({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(dt.div,_e({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))})),oT="TabsTrigger",iT=h.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=W1(oT,n),u=iE(n),l=aE(a.baseId,r),s=lE(a.baseId,r),c=r===a.value;return h.createElement(k1,_e({asChild:!0},u,{focusable:!o,active:c}),h.createElement(dt.button,_e({type:"button",role:"tab","aria-selected":c,"aria-controls":s,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},i,{ref:t,onMouseDown:et(e.onMouseDown,(e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(r)})),onKeyDown:et(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(r)})),onFocus:et(e.onFocus,(()=>{const e="manual"!==a.activationMode;!c&&!o&&e&&a.onValueChange(r)}))})))})),aT="TabsContent",lT=h.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,u=W1(aT,n),l=aE(u.baseId,r),s=lE(u.baseId,r),c=r===u.value,f=h.useRef(c);return h.useEffect((()=>{const e=requestAnimationFrame((()=>f.current=!1));return()=>cancelAnimationFrame(e)}),[]),h.createElement(ua,{present:o||c},(({present:n})=>h.createElement(dt.div,_e({"data-state":c?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:s,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),n&&i)))}));function aE(e,t){return`${e}-trigger-${t}`}function lE(e,t){return`${e}-content-${t}`}const sE=rT,uE=iT,cE=lT,sT=h.forwardRef((({className:e,useDefaults:t=!0,...n},r)=>Z.jsx(sE,{ref:r,"data-testid":"tabsList",className:t?He("inline-flex items-center justify-center border-b border-slate-200 bg-white p-0 text-muted-foreground",e):e,...n})));sT.displayName=sE.displayName;const uT=h.forwardRef((({className:e,useDefaults:t=!0,...n},r)=>Z.jsx(uE,{ref:r,className:t?He("m-b-[-1px] inline-flex items-center justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring border-b-2 border-transparent focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-blue_100",e):e,...n})));uT.displayName=uE.displayName;const cT=h.forwardRef((({className:e,...t},n)=>Z.jsx(cE,{ref:n,className:He("ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t})));cT.displayName=cE.displayName;const fT=h.forwardRef((({className:e,...t},n)=>{const{error:r}=Lp();return Z.jsx("textarea",{className:He(`flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-400 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${!!r&&"border-rose-600 focus-visible:ring-rose-600"}`,e),ref:n,...t})}));fT.displayName="Textarea";const[Cm,nI]=Do("Tooltip",[Dp]),dT=Dp(),pT="TooltipProvider",nw="tooltip.open",[rI,hT]=Cm(pT),fE="Tooltip",[oI,B1]=Cm(fE),vT="TooltipPortal",[iI,mT]=Cm(vT,{forceMount:void 0}),ev="TooltipContent",gT=h.forwardRef(((e,t)=>{const n=mT(ev,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=B1(ev,e.__scopeTooltip);return h.createElement(ua,{present:r||a.open},a.disableHoverableContent?h.createElement(dE,_e({side:o},i,{ref:t})):h.createElement(yT,_e({side:o},i,{ref:t})))})),yT=h.forwardRef(((e,t)=>{const n=B1(ev,e.__scopeTooltip),r=hT(ev,e.__scopeTooltip),o=h.useRef(null),i=Ft(t,o),[a,u]=h.useState(null),{trigger:l,onClose:s}=n,c=o.current,{onPointerInTransitChange:f}=r,d=h.useCallback((()=>{u(null),f(!1)}),[f]),p=h.useCallback(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=$T([..._T(r,xT(r,n.getBoundingClientRect())),...bT(t.getBoundingClientRect())]);u(o),f(!0)}),[f]);return h.useEffect((()=>()=>d()),[d]),h.useEffect((()=>{if(l&&c){const e=e=>p(e,c),t=e=>p(e,l);return l.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}}),[l,c,p,d]),h.useEffect((()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==c?void 0:c.contains(t)),o=!ET(n,a);r?d():o&&(d(),s())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[l,c,a,s,d]),h.createElement(dE,_e({},e,{ref:i}))})),[wT,aI]=Cm(fE,{isInside:!1}),dE=h.forwardRef(((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...u}=e,l=B1(ev,n),s=dT(n),{onClose:c}=l;return h.useEffect((()=>(document.addEventListener(nw,c),()=>document.removeEventListener(nw,c))),[c]),h.useEffect((()=>{if(l.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(l.trigger)&&c()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[l.trigger,c]),h.createElement(im,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:c},h.createElement(R1,_e({"data-state":l.stateAttribute},s,u,{ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),h.createElement(r1,null,r),h.createElement(wT,{scope:n,isInside:!0},h.createElement(nN,{id:l.contentId,role:"tooltip"},o||r))))}));function xT(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function _T(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function bT(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function ET(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,u=t[e].y,l=t[i].x,s=t[i].y;u>r!=s>r&&n<(l-a)*(r-u)/(s-u)+a&&(o=!o)}return o}function $T(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),ST(t)}function ST(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const pE=gT,CT=Tc("z-50 overflow-hidden shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",{variants:{size:{default:"rounded-md border text-sm px-3 py-1.5",small:"rounded-md border px-[11px] py-[3px] text-[12px] leading-[16px]"},theme:{default:"bg-popover text-popover-foreground",dark:"bg-slate-900_90 text-slate-50"},defaultVariants:{size:"small",theme:"dark"}}}),RT=h.forwardRef((({className:e,sideOffset:t=1,size:n,theme:r,...o},i)=>Z.jsx(pE,{ref:i,sideOffset:t,className:He(CT({size:n,theme:r,className:e})),...o})));RT.displayName=pE.displayName;const lI=({to:e,props:t,children:n,target:r,...o})=>{const i=h.useContext(Tp),a=t?Q0(e,t):e;return Rp.has(e)&&i?Z.jsx(KE,{...o,to:a,className:He("cursor-pointer",o.className),children:n}):Z.jsx("a",{href:a,target:r,...o,children:n})},sI=e=>$E(e,location.pathname),uI=(e,t)=>t?Q0(e,t):e,cI=()=>{const e=pw();return(t,n)=>{if(r$.isNumber(t))return void e(t);const r=null!=n&&n.props?Q0(t,null==n?void 0:n.props):t;null!=Rp&&Rp.has(t)?e(r,n):location.href=r}};export{lI as AppsLink,Q0 as fillRoute,uI as getRoute,sI as matchPath,PT as setRoutes,cI as useAppsNavigate};
87
+ */function zI(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function WI(...e){return t=>e.forEach((e=>zI(e,t)))}var qx=y.forwardRef(((e,t)=>{const{children:n,...r}=e,o=y.Children.toArray(n),i=o.find(jI);if(i){const e=i.props.children,n=o.map((t=>t===i?y.Children.count(e)>1?y.Children.only(null):y.isValidElement(e)?e.props.children:null:t));return ge.jsx(ux,{...r,ref:t,children:y.isValidElement(e)?y.cloneElement(e,void 0,n):null})}return ge.jsx(ux,{...r,ref:t,children:n})}));qx.displayName="Slot";var ux=y.forwardRef(((e,t)=>{const{children:n,...r}=e;if(y.isValidElement(n)){const e=UI(n);return y.cloneElement(n,{...BI(r,n.props),ref:t?WI(t,e):e})}return y.Children.count(n)>1?y.Children.only(null):null}));ux.displayName="SlotClone";var qI=({children:e})=>ge.jsx(ge.Fragment,{children:e});function jI(e){return y.isValidElement(e)&&e.type===qI}function BI(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function UI(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function jR(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=jR(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function HI(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=jR(e))&&(r&&(r+=" "),r+=t);return r}const x$=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,b$=HI,Bc=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return b$(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map((e=>{const t=null==n?void 0:n[e],r=null==i?void 0:i[e];if(null===t)return null;const a=x$(t)||x$(r);return o[e][a]})),u=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...u}[t]):{...i,...u}[t]===n}))?[...e,n,r]:e}),[]);return b$(e,a,l,null==n?void 0:n.class,null==n?void 0:n.className)};function BR(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=BR(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function GI(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=BR(e))&&(r&&(r+=" "),r+=t);return r}const jx="-";function KI(e){const t=YI(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(jx);return""===n[0]&&1!==n.length&&n.shift(),UR(n,t)||VI(e)},getConflictingClassGroupIds:function(e,t){const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function UR(e,t){var n;if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?UR(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;const a=e.join(jx);return null==(n=t.validators.find((({validator:e})=>e(a))))?void 0:n.classGroupId}const $$=/^\[(.+)\]$/;function VI(e){if($$.test(e)){const t=$$.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function YI(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return QI(Object.entries(e.classGroups),n).forEach((([e,n])=>{sx(n,r,e,t)})),r}function sx(e,t,n,r){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return XI(e)?void sx(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{sx(o,S$(t,e),n,r)}))}else{(""===e?t:S$(t,e)).classGroupId=n}}))}function S$(e,t){let n=e;return t.split(jx).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function XI(e){return e.isThemeGetter}function QI(e,t){return t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e}function ZI(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}}const HR="!";function JI(e){const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){const i=[];let a,u=0,l=0;for(let c=0;c<e.length;c++){let s=e[c];if(0===u){if(s===r&&(n||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===s){a=c;continue}}"["===s?u++:"]"===s&&u--}const c=0===i.length?e:e.substring(l),s=c.startsWith(HR);return{modifiers:i,hasImportantModifier:s,baseClassName:s?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}function eO(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}function tO(e){return{cache:ZI(e.cacheSize),splitModifiers:JI(e),...KI(e)}}const nO=/\s+/;function rO(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(nO).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e);let u=r(a?i.substring(0,a):i),l=!!a;if(!u){if(!a)return{isTailwindClass:!1,originalClassName:e};if(u=r(i),!u)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=eO(t).join(":");return{isTailwindClass:!0,modifierId:o?c+HR:c,classGroupId:u,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}function oO(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=GR(e))&&(r&&(r+=" "),r+=t);return r}function GR(e){if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=GR(e[r]))&&(n&&(n+=" "),n+=t);return n}function iO(e,...t){let n,r,o,i=function(u){const l=t.reduce(((e,t)=>t(e)),e());return n=tO(l),r=n.cache.get,o=n.cache.set,i=a,a(u)};function a(e){const t=r(e);if(t)return t;const i=rO(e,n);return o(e,i),i}return function(){return i(oO.apply(null,arguments))}}function mn(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const KR=/^\[(?:([a-z-]+):)?(.+)\]$/i,aO=/^\d+\/\d+$/,uO=new Set(["px","full","screen"]),sO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lO=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,cO=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Ys(e){return id(e)||uO.has(e)||aO.test(e)}function kc(e){return Xp(e,"length",_O)}function id(e){return!!e&&!Number.isNaN(Number(e))}function lg(e){return Xp(e,"number",id)}function ev(e){return!!e&&Number.isInteger(Number(e))}function dO(e){return e.endsWith("%")&&id(e.slice(0,-1))}function _t(e){return KR.test(e)}function Nc(e){return sO.test(e)}const pO=new Set(["length","size","percentage"]);function hO(e){return Xp(e,pO,VR)}function vO(e){return Xp(e,"position",VR)}const gO=new Set(["image","url"]);function mO(e){return Xp(e,gO,xO)}function yO(e){return Xp(e,"",wO)}function tv(){return!0}function Xp(e,t,n){const r=KR.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function _O(e){return lO.test(e)}function VR(){return!1}function wO(e){return cO.test(e)}function xO(e){return fO.test(e)}function bO(){const e=mn("colors"),t=mn("spacing"),n=mn("blur"),r=mn("brightness"),o=mn("borderColor"),i=mn("borderRadius"),a=mn("borderSpacing"),u=mn("borderWidth"),l=mn("contrast"),c=mn("grayscale"),s=mn("hueRotate"),f=mn("invert"),d=mn("gap"),p=mn("gradientColorStops"),h=mn("gradientColorStopPositions"),v=mn("inset"),y=mn("margin"),g=mn("opacity"),m=mn("padding"),b=mn("saturate"),w=mn("scale"),_=mn("sepia"),x=mn("skew"),E=mn("space"),k=mn("translate"),S=()=>["auto",_t,t],C=()=>[_t,t],R=()=>["",Ys,kc],N=()=>["auto",id,_t],P=()=>["","0",_t],A=()=>[id,lg],O=()=>[id,_t];return{cacheSize:500,separator:":",theme:{colors:[tv],spacing:[Ys,kc],blur:["none","",Nc,_t],brightness:A(),borderColor:[e],borderRadius:["none","","full",Nc,_t],borderSpacing:C(),borderWidth:R(),contrast:A(),grayscale:P(),hueRotate:O(),invert:P(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[dO,kc],inset:S(),margin:S(),opacity:A(),padding:C(),saturate:A(),scale:A(),sepia:P(),skew:O(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",_t]}],container:["container"],columns:[{columns:[Nc]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",_t]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ev,_t]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_t]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",ev,_t]}],"grid-cols":[{"grid-cols":[tv]}],"col-start-end":[{col:["auto",{span:["full",ev,_t]},_t]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[tv]}],"row-start-end":[{row:["auto",{span:[ev,_t]},_t]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_t]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_t]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_t,t]}],"min-w":[{"min-w":[_t,t,"min","max","fit"]}],"max-w":[{"max-w":[_t,t,"none","full","min","max","fit","prose",{screen:[Nc]},Nc]}],h:[{h:[_t,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_t,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_t,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_t,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nc,kc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lg]}],"font-family":[{font:[tv]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_t]}],"line-clamp":[{"line-clamp":["none",id,lg]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ys,_t]}],"list-image":[{"list-image":["none",_t]}],"list-style-type":[{list:["none","disc","decimal",_t]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ys,kc]}],"underline-offset":[{"underline-offset":["auto",Ys,_t]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_t]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_t]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",vO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",hO]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mO]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Ys,_t]}],"outline-w":[{outline:[Ys,kc]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Ys,kc]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nc,yO]}],"shadow-color":[{shadow:[tv]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nc,_t]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[s]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[s]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_t]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",_t]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",_t]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[ev,_t]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_t]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_t]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_t]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ys,kc,lg]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const $O=iO(bO);function He(...e){return $O(GI(e))}const Bx=Bc("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-300 ease-in-out focus-visible:outline-none focus-visible:ring-offset-2 disabled:pointer-events-none",{variants:{variant:{black_filled:"bg-slate-700 text-white hover:bg-slate-900 disabled:bg-slate-400",red_filled:"bg-red-dark text-white hover:bg-red_100 disabled:bg-red_30",blue_filled:"bg-blue_100 text-white hover:bg-blue_120 disabled:bg-blue_10",gray_filled:"bg-slate-100 text-slate-700 hover:bg-slate-200 disabled:bg-slate-50",black_outline:"bg-transparent border border-slate-700 text-slate-700 hover:bg-slate-50 disabled:text-slate-400 disabled:border-slate-400",red_outline:"bg-transparent border text-red-dark border-red-dark hover:text-red_100 hover:border-red_100 disabled:text-red_30 disabled:border-red_30",blue_outline:"bg-transparent border text-blue_120 border-blue_120 hover:text-blue_100 hover:border-blue_100 disabled:text-blue_10 disabled:border-blue_10",gray_outline:"bg-transparent border text-slate-700 border-slate-100 hover:bg-slate-50 hover:border-slate-200 disabled:text-slate-400 disabled:border-slate-50",black_simple:"bg-transparent text-slate-700 hover:text-slate-500 disabled:text-slate-400",red_simple:"text-red-dark hover:text-red_100 disabled:text-slate-40",blue_simple:"text-blue_120 hover:text-red_100 disabled:text-slate-40",gray_simple:"text-slate-100 hover:text-slate-200 disabled:text-slate-40",link:"text-primary underline-offset-4 hover:underline",blue_link:"text-blue_100 hover:underline"},size:{l:"min-w-[128px] h-10 rounded-md text-base",m:"min-w-[120px] h-8 rounded-md text-base",s:"min-w-[102px] h-6 rounded-[3px] text-sm",xs:"min-w-[102px] h-5 rounded-[3px] text-sm",link:"",default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",h24:"h-[24px]","130/32":"h-8 min-w-[130px] rounded-md px-3",small:"py-[4px] px-[8px] rounded-[4px]"}},defaultVariants:{variant:"black_filled",size:"default"}}),Ux=y.forwardRef((({className:e,variant:t,size:n,asChild:r=!1,as:o="button",...i},a)=>{const u=r?qx:o,l="link"===t||"blue_link"===t?"link":n;return ge.jsx(u,{className:He(Bx({variant:t,size:l,className:e})),ref:a,...i})}));function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ce.apply(this,arguments)}function SO(e,t){const n=y.createContext(t);function r(e){const{children:t,...r}=e,o=y.useMemo((()=>r),Object.values(r));return y.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){const o=y.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}function Do(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>y.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return y.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=y.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][i])||o,l=y.useMemo((()=>a),Object.values(a));return y.createElement(u.Provider,{value:l},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const u=(null==a?void 0:a[e][i])||o,l=y.useContext(u);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},CO(r,...t)]}function CO(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return y.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function EO(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Hx(...e){return t=>e.forEach((e=>EO(e,t)))}function Wt(...e){return y.useCallback(Hx(...e),e)}function et(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}Ux.displayName="Button";const No=null!=globalThis&&globalThis.document?y.useLayoutEffect:()=>{},RO=BT.useId||(()=>{});let AO=0;function sv(e){const[t,n]=y.useState(RO());return No((()=>{n((e=>e??String(AO++)))}),[e]),t?`radix-${t}`:""}function Qa(e){const t=y.useRef(e);return y.useEffect((()=>{t.current=e})),y.useMemo((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function Sv({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=PO({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,u=Qa(n);return[a,y.useCallback((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)}),[i,e,o,u])]}function PO({defaultProp:e,onChange:t}){const n=y.useState(e),[r]=n,o=y.useRef(r),i=Qa(t);return y.useEffect((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}const ld=y.forwardRef(((e,t)=>{const{children:n,...r}=e,o=y.Children.toArray(n),i=o.find(TO);if(i){const e=i.props.children,n=o.map((t=>t===i?y.Children.count(e)>1?y.Children.only(null):y.isValidElement(e)?e.props.children:null:t));return y.createElement(lx,Ce({},r,{ref:t}),y.isValidElement(e)?y.cloneElement(e,void 0,n):null)}return y.createElement(lx,Ce({},r,{ref:t}),n)}));ld.displayName="Slot";const lx=y.forwardRef(((e,t)=>{const{children:n,...r}=e;return y.isValidElement(n)?y.cloneElement(n,{...IO(r,n.props),ref:t?Hx(t,n.ref):n.ref}):y.Children.count(n)>1?y.Children.only(null):null}));lx.displayName="SlotClone";const Gx=({children:e})=>y.createElement(y.Fragment,null,e);function TO(e){return y.isValidElement(e)&&e.type===Gx}function IO(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const OO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ht=OO.reduce(((e,t)=>{const n=y.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?ld:t;return y.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),y.createElement(i,Ce({},o,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function YR(e,t){e&&rl.flushSync((()=>e.dispatchEvent(t)))}function kO(e,t=(null==globalThis?void 0:globalThis.document)){const n=Qa(e);y.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}const cx="dismissableLayer.update",NO="dismissableLayer.pointerDownOutside",DO="dismissableLayer.focusOutside";let C$;const LO=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zg=y.forwardRef(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...c}=e,s=y.useContext(LO),[f,d]=y.useState(null),p=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,h]=y.useState({}),v=Wt(t,(e=>d(e))),g=Array.from(s.layers),[m]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(m),w=f?g.indexOf(f):-1,_=s.layersWithOutsidePointerEventsDisabled.size>0,x=w>=b,E=MO((e=>{const t=e.target,n=[...s.branches].some((e=>e.contains(t)));!x||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p),k=FO((e=>{const t=e.target;[...s.branches].some((e=>e.contains(t)))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p);return kO((e=>{w===s.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),p),y.useEffect((()=>{if(f)return r&&(0===s.layersWithOutsidePointerEventsDisabled.size&&(C$=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(f)),s.layers.add(f),E$(),()=>{r&&1===s.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=C$)}}),[f,p,r,s]),y.useEffect((()=>()=>{f&&(s.layers.delete(f),s.layersWithOutsidePointerEventsDisabled.delete(f),E$())}),[f,s]),y.useEffect((()=>{const e=()=>h({});return document.addEventListener(cx,e),()=>document.removeEventListener(cx,e)}),[]),y.createElement(ht.div,Ce({},c,{ref:v,style:{pointerEvents:_?x?"auto":"none":void 0,...e.style},onFocusCapture:et(e.onFocusCapture,k.onFocusCapture),onBlurCapture:et(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:et(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function MO(e,t=(null==globalThis?void 0:globalThis.document)){const n=Qa(e),r=y.useRef(!1),o=y.useRef((()=>{}));return y.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){XR(NO,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}function FO(e,t=(null==globalThis?void 0:globalThis.document)){const n=Qa(e),r=y.useRef(!1);return y.useEffect((()=>{const e=e=>{e.target&&!r.current&&XR(DO,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function E$(){const e=new CustomEvent(cx);document.dispatchEvent(e)}function XR(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?YR(o,i):o.dispatchEvent(i)}const Z0="focusScope.autoFocusOnMount",J0="focusScope.autoFocusOnUnmount",R$={bubbles:!1,cancelable:!0},Kx=y.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,l]=y.useState(null),c=Qa(o),s=Qa(i),f=y.useRef(null),d=Wt(t,(e=>l(e))),p=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect((()=>{if(r){let e=function(e){if(p.paused||!u)return;const t=e.target;u.contains(t)?f.current=t:Dc(f.current,{select:!0})},t=function(e){if(p.paused||!u)return;const t=e.relatedTarget;null!==t&&(u.contains(t)||Dc(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Dc(u)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,u,p.paused]),y.useEffect((()=>{if(u){P$.add(p);const e=document.activeElement;if(!u.contains(e)){const t=new CustomEvent(Z0,R$);u.addEventListener(Z0,c),u.dispatchEvent(t),t.defaultPrevented||(zO(UO(QR(u)),{select:!0}),document.activeElement===e&&Dc(u))}return()=>{u.removeEventListener(Z0,c),setTimeout((()=>{const t=new CustomEvent(J0,R$);u.addEventListener(J0,s),u.dispatchEvent(t),t.defaultPrevented||Dc(e??document.body,{select:!0}),u.removeEventListener(J0,s),P$.remove(p)}),0)}}}),[u,c,s,p]);const h=y.useCallback((e=>{if(!n&&!r||p.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=WO(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&Dc(i,{select:!0})):(e.preventDefault(),n&&Dc(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,p.paused]);return y.createElement(ht.div,Ce({tabIndex:-1},a,{ref:d,onKeyDown:h}))}));function zO(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Dc(r,{select:t}),document.activeElement!==n)return}function WO(e){const t=QR(e);return[A$(t,e),A$(t.reverse(),e)]}function QR(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function A$(e,t){for(const n of e)if(!qO(n,{upTo:t}))return n}function qO(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function jO(e){return e instanceof HTMLInputElement&&"select"in e}function Dc(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&jO(e)&&t&&e.select()}}const P$=BO();function BO(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=T$(e,t),e.unshift(t)},remove(t){var n;e=T$(e,t),null===(n=e[0])||void 0===n||n.resume()}}}function T$(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function UO(e){return e.filter((e=>"A"!==e.tagName))}const Vx=y.forwardRef(((e,t)=>{var n;const{container:r=(null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?VT.createPortal(y.createElement(ht.div,Ce({},o,{ref:t})),r):null}));function HO(e,t){return y.useReducer(((e,n)=>t[e][n]??e),e)}const pa=e=>{const{present:t,children:n}=e,r=GO(t),o="function"==typeof n?n({present:r.isPresent}):y.Children.only(n),i=Wt(r.ref,o.ref);return"function"==typeof n||r.isPresent?y.cloneElement(o,{ref:i}):null};function GO(e){const[t,n]=y.useState(),r=y.useRef({}),o=y.useRef(e),i=y.useRef("none"),a=e?"mounted":"unmounted",[u,l]=HO(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect((()=>{const e=cg(r.current);i.current="mounted"===u?e:"none"}),[u]),No((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=cg(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,l]),No((()=>{if(t){const e=e=>{const n=cg(r.current).includes(e.animationName);e.target===t&&n&&rl.flushSync((()=>l("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=cg(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:y.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}function cg(e){return(null==e?void 0:e.animationName)||"none"}pa.displayName="Presence";let ey=0;function Yx(){y.useEffect((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:I$()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:I$()),ey++,()=>{1===ey&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),ey--}}),[])}function I$(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Uu=function(){return Uu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Uu.apply(this,arguments)};function ZR(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(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 KO(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var xg="right-scroll-bar-position",bg="width-before-scroll-bar",VO="with-scroll-bars-hidden",YO="--removed-body-scroll-bar-size";function ty(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function XO(e,t){var n=y.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}var QO=typeof window<"u"?y.useLayoutEffect:y.useEffect,O$=new WeakMap;function ZO(e,t){var n=XO(null,(function(t){return e.forEach((function(e){return ty(e,t)}))}));return QO((function(){var t=O$.get(n);if(t){var r=new Set(t),o=new Set(e),i=n.current;r.forEach((function(e){o.has(e)||ty(e,null)})),o.forEach((function(e){r.has(e)||ty(e,i)}))}O$.set(n,e)}),[e]),n}function JO(e){return e}function e6(e,t){void 0===t&&(t=JO);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function t6(e){void 0===e&&(e={});var t=e6(null);return t.options=Uu({async:!0,ssr:!1},e),t}var JR=function(e){var t=e.sideCar,n=ZR(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return y.createElement(r,Uu({},n))};function n6(e,t){return e.useMedium(t),JR}JR.isSideCarExport=!0;var eA=t6(),ny=function(){},Wg=y.forwardRef((function(e,t){var n=y.useRef(null),r=y.useState({onScrollCapture:ny,onWheelCapture:ny,onTouchMoveCapture:ny}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,l=e.className,c=e.removeScrollBar,s=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,g=e.as,m=void 0===g?"div":g,b=ZR(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=d,_=ZO([n,t]),x=Uu(Uu({},b),o);return y.createElement(y.Fragment,null,s&&y.createElement(w,{sideCar:eA,removeScrollBar:c,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?y.cloneElement(y.Children.only(u),Uu(Uu({},x),{ref:_})):y.createElement(m,Uu({},x,{className:l,ref:_}),u))}));Wg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Wg.classNames={fullWidth:bg,zeroRight:xg};var r6=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function o6(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r6();return t&&e.setAttribute("nonce",t),e}function i6(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function a6(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}var u6=function(){var e=0,t=null;return{add:function(n){0==e&&(t=o6())&&(i6(t,n),a6(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},s6=function(){var e=u6();return function(t,n){y.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}},tA=function(){var e=s6();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},l6={left:0,top:0,right:0,gap:0},ry=function(e){return parseInt(e||"",10)||0},c6=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[ry(n),ry(r),ry(o)]},f6=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return l6;var t=c6(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},d6=tA(),p6=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat(VO," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(xg," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(bg," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(xg," .").concat(xg," {\n right: 0 ").concat(r,";\n }\n \n .").concat(bg," .").concat(bg," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat(YO,": ").concat(u,"px;\n }\n")},h6=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=y.useMemo((function(){return f6(o)}),[o]);return y.createElement(d6,{styles:p6(i,!t,o,n?"":"!important")})},fx=!1;if(typeof window<"u")try{var fg=Object.defineProperty({},"passive",{get:function(){return fx=!0,!0}});window.addEventListener("test",fg,fg),window.removeEventListener("test",fg,fg)}catch{fx=!1}var Fp=!!fx&&{passive:!1},v6=function(e){return"TEXTAREA"===e.tagName},nA=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!v6(e)&&"visible"===n[t])},g6=function(e){return nA(e,"overflowY")},m6=function(e){return nA(e,"overflowX")},k$=function(e,t){var n=t;do{if(typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host),rA(e,n)){var r=oA(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},y6=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},_6=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},rA=function(e,t){return"v"===e?g6(t):m6(t)},oA=function(e,t){return"v"===e?y6(t):_6(t)},w6=function(e,t){return"h"===e&&"rtl"===t?-1:1},x6=function(e,t,n,r,o){var i=w6(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,l=t.contains(u),c=!1,s=a>0,f=0,d=0;do{var p=oA(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&rA(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return(s&&(0===f||!o)||!s&&(0===d||!o))&&(c=!0),c},dg=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},N$=function(e){return[e.deltaX,e.deltaY]},D$=function(e){return e&&"current"in e?e.current:e},b6=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$6=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},S6=0,zp=[];function C6(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),o=y.useState(S6++)[0],i=y.useState((function(){return tA()}))[0],a=y.useRef(e);y.useEffect((function(){a.current=e}),[e]),y.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=KO([e.lockRef.current],(e.shards||[]).map(D$),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=y.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=dg(e),u=n.current,l="deltaX"in e?e.deltaX:u[0]-i[0],c="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,f=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=k$(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=k$(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return x6(p,t,e,"h"===p?l:c,!0)}),[]),l=y.useCallback((function(e){var n=e;if(zp.length&&zp[zp.length-1]===i){var r="deltaY"in n?N$(n):dg(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&b6(e.delta,r)}))[0];if(o&&o.should)return void(n.cancelable&&n.preventDefault());if(!o){var l=(a.current.shards||[]).map(D$).filter(Boolean).filter((function(e){return e.contains(n.target)}));(l.length>0?u(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),c=y.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),s=y.useCallback((function(e){n.current=dg(e),r.current=void 0}),[]),f=y.useCallback((function(t){c(t.type,N$(t),t.target,u(t,e.lockRef.current))}),[]),d=y.useCallback((function(t){c(t.type,dg(t),t.target,u(t,e.lockRef.current))}),[]);y.useEffect((function(){return zp.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Fp),document.addEventListener("touchmove",l,Fp),document.addEventListener("touchstart",s,Fp),function(){zp=zp.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,Fp),document.removeEventListener("touchmove",l,Fp),document.removeEventListener("touchstart",s,Fp)}}),[]);var p=e.removeScrollBar,h=e.inert;return y.createElement(y.Fragment,null,h?y.createElement(i,{styles:$6(o)}):null,p?y.createElement(h6,{gapMode:"margin"}):null)}const E6=n6(eA,C6);var qg=y.forwardRef((function(e,t){return y.createElement(Wg,Uu({},e,{ref:t,sideCar:E6}))}));qg.classNames=Wg.classNames;var R6=function(e){return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Wp=new WeakMap,pg=new WeakMap,hg={},oy=0,iA=function(e){return e&&(e.host||iA(e.parentNode))},A6=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=iA(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return!!e}))},P6=function(e,t,n,r){var o=A6(t,Array.isArray(e)?e:[e]);hg[n]||(hg[n]=new WeakMap);var i=hg[n],a=[],u=new Set,l=new Set(o),c=function(e){!e||u.has(e)||(u.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,(function(e){if(u.has(e))s(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Wp.get(e)||0)+1,c=(i.get(e)||0)+1;Wp.set(e,l),i.set(e,c),a.push(e),1===l&&o&&pg.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}}))};return s(t),u.clear(),oy++,function(){a.forEach((function(e){var t=Wp.get(e)-1,o=i.get(e)-1;Wp.set(e,t),i.set(e,o),t||(pg.has(e)||e.removeAttribute(r),pg.delete(e)),o||e.removeAttribute(n)})),--oy||(Wp=new WeakMap,Wp=new WeakMap,pg=new WeakMap,hg={})}},Xx=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=R6(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),P6(r,o,n,"aria-hidden")):function(){return null}};const aA="Dialog",[uA,sA]=Do(aA),[T6,Vu]=uA(aA),I6=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,u=y.useRef(null),l=y.useRef(null),[c=!1,s]=Sv({prop:r,defaultProp:o,onChange:i});return y.createElement(T6,{scope:t,triggerRef:u,contentRef:l,contentId:sv(),titleId:sv(),descriptionId:sv(),open:c,onOpenChange:s,onOpenToggle:y.useCallback((()=>s((e=>!e))),[s]),modal:a},n)},lA="DialogPortal",[O6,cA]=uA(lA,{forceMount:void 0}),k6=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Vu(lA,t);return y.createElement(O6,{scope:t,forceMount:n},y.Children.map(r,(e=>y.createElement(pa,{present:n||i.open},y.createElement(Vx,{asChild:!0,container:o},e)))))},dx="DialogOverlay",N6=y.forwardRef(((e,t)=>{const n=cA(dx,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Vu(dx,e.__scopeDialog);return i.modal?y.createElement(pa,{present:r||i.open},y.createElement(D6,Ce({},o,{ref:t}))):null})),D6=y.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Vu(dx,n);return y.createElement(qg,{as:ld,allowPinchZoom:!0,shards:[o.contentRef]},y.createElement(ht.div,Ce({"data-state":pA(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))})),Up="DialogContent",L6=y.forwardRef(((e,t)=>{const n=cA(Up,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Vu(Up,e.__scopeDialog);return y.createElement(pa,{present:r||i.open},i.modal?y.createElement(M6,Ce({},o,{ref:t})):y.createElement(F6,Ce({},o,{ref:t})))})),M6=y.forwardRef(((e,t)=>{const n=Vu(Up,e.__scopeDialog),r=y.useRef(null),o=Wt(t,n.contentRef,r);return y.useEffect((()=>{const e=r.current;if(e)return Xx(e)}),[]),y.createElement(fA,Ce({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:et(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:et(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:et(e.onFocusOutside,(e=>e.preventDefault()))}))})),F6=y.forwardRef(((e,t)=>{const n=Vu(Up,e.__scopeDialog),r=y.useRef(!1),o=y.useRef(!1);return y.createElement(fA,Ce({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const u=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))})),fA=y.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,u=Vu(Up,n),l=Wt(t,y.useRef(null));return Yx(),y.createElement(y.Fragment,null,y.createElement(Kx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},y.createElement(zg,Ce({role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":pA(u.open)},a,{ref:l,onDismiss:()=>u.onOpenChange(!1)}))),!1)})),dA="DialogTitle",z6=y.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Vu(dA,n);return y.createElement(ht.h2,Ce({id:o.titleId},r,{ref:t}))})),W6="DialogDescription",q6=y.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Vu(W6,n);return y.createElement(ht.p,Ce({id:o.descriptionId},r,{ref:t}))})),j6="DialogClose",B6=y.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Vu(j6,n);return y.createElement(ht.button,Ce({type:"button"},r,{ref:t,onClick:et(e.onClick,(()=>o.onOpenChange(!1)))}))}));function pA(e){return e?"open":"closed"}const U6="DialogTitleWarning",[H6,JF]=SO(U6,{contentName:Up,titleName:dA,docsSlug:"dialog"}),G6=I6,jg=k6,Qp=N6,Zp=L6,Cv=z6,Ev=q6,Bg=B6,K6="AlertDialog",[V6,ez]=Do(K6,[sA]),gd=sA(),Y6=e=>{const{__scopeAlertDialog:t,...n}=e,r=gd(t);return y.createElement(jg,Ce({},r,n))},X6=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=gd(n);return y.createElement(Qp,Ce({},o,r,{ref:t}))})),hA="AlertDialogContent",[Q6,Z6]=V6(hA),J6=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=gd(n),a=Wt(t,y.useRef(null)),u=y.useRef(null);return y.createElement(H6,{contentName:hA,titleName:e7,docsSlug:"alert-dialog"},y.createElement(Q6,{scope:n,cancelRef:u},y.createElement(Zp,Ce({role:"alertdialog"},i,o,{ref:a,onOpenAutoFocus:et(o.onOpenAutoFocus,(e=>{var t;e.preventDefault(),null===(t=u.current)||void 0===t||t.focus({preventScroll:!0})})),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault()}),y.createElement(Gx,null,r),!1)))})),e7="AlertDialogTitle",t7=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=gd(n);return y.createElement(Cv,Ce({},o,r,{ref:t}))})),n7=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=gd(n);return y.createElement(Ev,Ce({},o,r,{ref:t}))})),r7=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=gd(n);return y.createElement(Bg,Ce({},o,r,{ref:t}))})),o7="AlertDialogCancel",i7=y.forwardRef(((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Z6(o7,n),i=gd(n),a=Wt(t,o);return y.createElement(Bg,Ce({},i,r,{ref:a}))})),a7=Y6,vA=X6,gA=J6,mA=r7,yA=i7,_A=t7,wA=n7,u7=a7,xA=y.forwardRef((({className:e,...t},n)=>ge.jsx(vA,{className:He("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n})));xA.displayName=vA.displayName;const s7=y.forwardRef((({className:e,...t},n)=>ge.jsxs(u7,{children:[ge.jsx(xA,{}),ge.jsx(gA,{ref:n,className:He("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]})));s7.displayName=gA.displayName;const l7=y.forwardRef((({className:e,...t},n)=>ge.jsx(_A,{ref:n,className:He("text-lg font-semibold",e),...t})));l7.displayName=_A.displayName;const c7=y.forwardRef((({className:e,...t},n)=>ge.jsx(wA,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));c7.displayName=wA.displayName;const f7=y.forwardRef((({className:e,...t},n)=>ge.jsx(mA,{ref:n,className:He(Bx(),e),...t})));f7.displayName=mA.displayName;const d7=y.forwardRef((({className:e,...t},n)=>ge.jsx(yA,{ref:n,className:He(Bx({variant:"black_outline"}),"mt-2 sm:mt-0",e),...t})));d7.displayName=yA.displayName;const bA="Avatar",[p7,tz]=Do(bA),[h7,$A]=p7(bA),v7=y.forwardRef(((e,t)=>{const{__scopeAvatar:n,...r}=e,[o,i]=y.useState("idle");return y.createElement(h7,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:i},y.createElement(ht.span,Ce({},r,{ref:t})))})),g7="AvatarImage",m7=y.forwardRef(((e,t)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:o=()=>{},...i}=e,a=$A(g7,n),u=w7(r),l=Qa((e=>{o(e),a.onImageLoadingStatusChange(e)}));return No((()=>{"idle"!==u&&l(u)}),[u,l]),"loaded"===u?y.createElement(ht.img,Ce({},i,{ref:t,src:r})):null})),y7="AvatarFallback",_7=y.forwardRef(((e,t)=>{const{__scopeAvatar:n,delayMs:r,...o}=e,i=$A(y7,n),[a,u]=y.useState(void 0===r);return y.useEffect((()=>{if(void 0!==r){const e=window.setTimeout((()=>u(!0)),r);return()=>window.clearTimeout(e)}}),[r]),a&&"loaded"!==i.imageLoadingStatus?y.createElement(ht.span,Ce({},o,{ref:t})):null}));function w7(e){const[t,n]=y.useState("idle");return No((()=>{if(!e)return void n("error");let t=!0;const r=new window.Image,o=e=>()=>{t&&n(e)};return n("loading"),r.onload=o("loaded"),r.onerror=o("error"),r.src=e,()=>{t=!1}}),[e]),t}const SA=v7,CA=m7,EA=_7,x7=y.forwardRef((({className:e,...t},n)=>ge.jsx(SA,{ref:n,className:He("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t})));x7.displayName=SA.displayName;const b7=y.forwardRef((({className:e,...t},n)=>ge.jsx(CA,{ref:n,className:He("aspect-square h-full w-full",e),...t})));b7.displayName=CA.displayName;const $7=y.forwardRef((({className:e,...t},n)=>ge.jsx(EA,{ref:n,className:He("flex h-full w-full items-center justify-center bg-muted",e),...t})));$7.displayName=EA.displayName;const S7=y.forwardRef((({className:e,...t},n)=>ge.jsx("div",{ref:n,className:He("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t})));S7.displayName="Card";const C7=y.forwardRef((({className:e,...t},n)=>ge.jsx("div",{ref:n,className:He("flex flex-col space-y-1.5 p-6",e),...t})));C7.displayName="CardHeader";const E7=y.forwardRef((({className:e,...t},n)=>ge.jsx("h3",{ref:n,className:He("text-2xl font-semibold leading-none tracking-tight",e),...t})));E7.displayName="CardTitle";const R7=y.forwardRef((({className:e,...t},n)=>ge.jsx("p",{ref:n,className:He("text-sm text-muted-foreground",e),...t})));R7.displayName="CardDescription";const A7=y.forwardRef((({className:e,...t},n)=>ge.jsx("div",{ref:n,className:He("p-6 pt-0",e),...t})));A7.displayName="CardContent";const P7=y.forwardRef((({className:e,...t},n)=>ge.jsx("div",{ref:n,className:He("flex items-center p-6 pt-0",e),...t})));function T7(e){return"[object Object]"===Object.prototype.toString.call(e)}function L$(e){return T7(e)||Array.isArray(e)}function I7(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Qx(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every((n=>{const r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:L$(r)&&L$(o)?Qx(r,o):r===o}))}function M$(e){return e.concat().sort(((e,t)=>e.name>t.name?1:-1)).map((e=>e.options))}function O7(e,t){if(e.length!==t.length)return!1;const n=M$(e),r=M$(t);return n.every(((e,t)=>Qx(e,r[t])))}function Zx(e){return"number"==typeof e}function px(e){return"string"==typeof e}function Jx(e){return"boolean"==typeof e}function F$(e){return"[object Object]"===Object.prototype.toString.call(e)}function bn(e){return Math.abs(e)}function eb(e){return Math.sign(e)}function lv(e,t){return bn(e-t)}function k7(e,t){if(0===e||0===t||bn(e)<=bn(t))return 0;const n=lv(bn(e),bn(t));return bn(n/e)}function fv(e){return dv(e).map(Number)}function Ya(e){return e[Rv(e)]}function Rv(e){return Math.max(0,e.length-1)}function tb(e,t){return t===Rv(e)}function z$(e,t=0){return Array.from(Array(e),((e,n)=>t+n))}function dv(e){return Object.keys(e)}function RA(e,t){return[e,t].reduce(((e,t)=>(dv(t).forEach((n=>{const r=e[n],o=t[n],i=F$(r)&&F$(o);e[n]=i?RA(r,o):o})),e)),{})}function AA(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function N7(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,o){return px(e)?n[e](r):e(t,r,o)}}}function pv(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,o,i),a=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),a=()=>e.removeListener(o)}return e.push(a),t},clear:function(){e=e.filter((e=>e()))}};return t}function D7(e,t,n,r){const o=pv(),i=1e3/60;let a=null,u=0,l=0;function c(e){if(!l)return;a||(a=e);const o=e-a;for(a=e,u+=o;u>=i;)n(),u-=i;const s=bn(u/i);r(s),l&&t.requestAnimationFrame(c)}function s(){t.cancelAnimationFrame(l),a=null,u=0,l=0}return{init:function(){o.add(e,"visibilitychange",(()=>{e.hidden&&(a=null,u=0)}))},destroy:function(){s(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:s,update:n,render:r}}function L7(e,t){const n="y"===e?"y":"x";return{scroll:n,cross:"y"===e?"x":"y",startEdge:"y"===n?"top":"rtl"===t?"right":"left",endEdge:"y"===n?"bottom":"rtl"===t?"left":"right",measureSize:function(e){const{width:t,height:r}=e;return"x"===n?t:r}}}function cd(e=0,t=0){const n=bn(e-t);function r(t){return t<e}function o(e){return e>t}function i(e){return r(e)||o(e)}return{length:n,max:t,min:e,constrain:function(n){return i(n)?r(n)?e:t:n},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function PA(e,t,n){const{constrain:r}=cd(0,e),o=e+1;let i=a(t);function a(e){return n?bn((o+e)%o):r(e)}function u(){return i}function l(){return PA(e,u(),n)}const c={get:u,set:function(e){return i=a(e),c},add:function(e){return l().set(u()+e)},clone:l};return c}function M7(e){const t="rtl"===e?-1:1;return{apply:function(e){return e*t}}}function F7(e,t,n,r,o,i,a,u,l,c,s,f,d,p,h,v,y,g,m,b){const{cross:w}=e,_=["INPUT","SELECT","TEXTAREA"],x={passive:!1},E=pv(),k=pv(),S=cd(50,225).constrain(h.measure(20)),C={mouse:300,touch:400},R={mouse:500,touch:600},N=v?43:25;let P=!1,A=0,O=0,T=!1,D=!1,I=!1,j=!1;function L(e){const n=a.readPoint(e),r=a.readPoint(e,w),o=lv(n,A),u=lv(r,O);if(!(D||j||e.cancelable&&(D=o>u,D)))return M(e);const c=a.pointerMove(e);o>y&&(I=!0),s.useFriction(.3).useDuration(1),l.start(),i.add(t.apply(c)),e.preventDefault()}function M(e){const n=f.byDistance(0,!1).index!==d.get(),r=a.pointerUp(e)*(v?R:C)[j?"mouse":"touch"],o=function(e,t){const n=d.add(-1*eb(e)),r=f.byDistance(e,!v).distance;return v||bn(e)<S?r:g&&t?.5*r:f.byIndex(n.get(),0).distance}(t.apply(r),n),i=k7(r,o),u=N-10*i,l=m+i/50;D=!1,T=!1,k.clear(),s.useDuration(u).useFriction(l),c.distance(o,!v),j=!1,p.emit("pointerUp")}function z(e){I&&(e.stopPropagation(),e.preventDefault())}return{init:function(e){if(!b)return;function t(t){(Jx(b)||b(e,t))&&function(e){const t=AA(e,o);j=t,(!t||0===e.button)&&(function(e){const t=e.nodeName||"";return _.includes(t)}(e.target)||(I=v&&t&&!e.buttons&&P,P=lv(i.get(),u.get())>=2,T=!0,a.pointerDown(e),s.useFriction(0).useDuration(0),i.set(u),function(){const e=j?r:n;k.add(e,"touchmove",L,x).add(e,"touchend",M).add(e,"mousemove",L,x).add(e,"mouseup",M)}(),A=a.readPoint(e),O=a.readPoint(e,w),p.emit("pointerDown")))}(t)}const l=n;E.add(l,"dragstart",(e=>e.preventDefault()),x).add(l,"touchmove",(()=>{}),x).add(l,"touchend",(()=>{})).add(l,"touchstart",t).add(l,"mousedown",t).add(l,"touchcancel",M).add(l,"contextmenu",M).add(l,"click",z,!0)},pointerDown:function(){return T},destroy:function(){E.clear(),k.clear()}}}function z7(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){const o="client"+("x"===(r||e.scroll)?"X":"Y");return(AA(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){const t=i(e)-i(r),a=o(e)-o(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),a=o(e)-o(n),u=o(e)-o(r)>170,l=t/a;return a&&!u&&bn(l)>.1?l:0},readPoint:i}}function W7(){return{measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}}}function q7(e){return{measure:function(t){return e*(t/100)}}}function j7(e,t,n,r,o,i,a){let u,l,c=[],s=!1;function f(e){return o.measureSize(a.measure(e))}return{init:function(o){i&&(l=f(e),c=r.map(f),u=new ResizeObserver((a=>{s||(Jx(i)||i(o,a))&&function(i){for(const a of i){const i=a.target===e,u=r.indexOf(a.target),s=i?l:c[u];if(bn(f(i?e:r[u])-s)>=.5){n.requestAnimationFrame((()=>{o.reInit(),t.emit("resize")}));break}}}(a)})),[e].concat(r).forEach((e=>u.observe(e))))},destroy:function(){u&&u.disconnect(),s=!0}}}function B7(e,t,n,r,o){let i=0,a=0,u=r,l=o,c=e.get(),s=0;function f(e){return u=e,p}function d(e){return l=e,p}const p={direction:function(){return a},duration:function(){return u},velocity:function(){return i},seek:function(){const t=n.get()-e.get();let r=0;return!u?(i=0,e.set(n),r=t):(i+=t/u,i*=l,c+=i,e.add(i),r=c-s),a=eb(r),s=c,p},settled:function(){return bn(n.get()-t.get())<.001},useBaseFriction:function(){return d(o)},useBaseDuration:function(){return f(r)},useFriction:d,useDuration:f};return p}function U7(e,t,n,r,o){const i=o.measure(10),a=o.measure(50),u=cd(.1,.99);let l=!1;return{constrain:function(o){if(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))return;const c=e.reachedMin(t.get())?"min":"max",s=bn(e[c]-t.get()),f=n.get()-t.get(),d=u.constrain(s/a);n.subtract(f*d),!o&&bn(f)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function H7(e,t,n,r,o){const i=cd(-t+e,0),a=n.map(((e,t)=>{const{min:r,max:o}=i,a=i.constrain(e),u=!t,c=tb(n,t);return u?o:c||l(r,a)?r:l(o,a)?o:a})).map((e=>parseFloat(e.toFixed(3)))),u=function(){const e=a[0],t=Ya(a),n=a.lastIndexOf(e),r=a.indexOf(t)+1;return cd(n,r)}();function l(e,t){return lv(e,t)<1}return{snapsContained:function(){if(t<=e+o)return[i.max];if("keepSnaps"===r)return a;const{min:n,max:l}=u;return a.slice(n,l)}(),scrollContainLimit:u}}function G7(e,t,n){const r=t[0];return{limit:cd(n?r-e:Ya(t),r)}}function K7(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:u}=cd(o,i);return{loop:function(t){if(!function(e){return 1===e?u(n.get()):-1===e&&a(n.get())}(t))return;const o=e*(-1*t);r.forEach((e=>e.add(o)))}}}function V7(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}function Y7(e,t,n,r,o){const{startEdge:i,endEdge:a}=e,{groupSlides:u}=o,l=u(r).map((e=>Ya(e)[a]-e[0][i])).map(bn).map(t.measure),c=r.map((e=>n[i]-e[i])).map((e=>-bn(e))),s=u(c).map((e=>e[0])).map(((e,t)=>e+l[t]));return{snaps:c,snapsAligned:s}}function X7(e,t,n,r,o,i){const{groupSlides:a}=o,{min:u,max:l}=r;return{slideRegistry:function(){const r=a(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(u,l).map(((e,t,n)=>{const r=!t,o=tb(n,t);if(r){return z$(Ya(n[0])+1)}if(o){return z$(Rv(i)-Ya(n)[0]+1,Ya(n)[0])}return e}))}()}}function Q7(e,t,n,r,o){const{reachedAny:i,removeOffset:a,constrain:u}=r;function l(e){return e.concat().sort(((e,t)=>bn(e)-bn(t)))[0]}function c(t,r){const o=[t,t+n,t-n];if(!e)return o[0];if(!r)return l(o);const i=o.filter((e=>eb(e)===r));return i.length?l(i):Ya(o)-n}return{byDistance:function(n,r){const l=o.get()+n,{index:s,distance:f}=function(n){const r=e?a(n):u(n),o=t.map((e=>e-r)).map((e=>c(e,0))).map(((e,t)=>({diff:e,index:t}))).sort(((e,t)=>bn(e.diff)-bn(t.diff))),{index:i}=o[0];return{index:i,distance:r}}(l),d=!e&&i(l);return!r||d?{index:s,distance:n}:{index:s,distance:n+c(t[s]-f,0)}},byIndex:function(e,n){return{index:e,distance:c(t[e]-o.get(),n)}},shortcut:c}}function Z7(e,t,n,r,o,i,a){function u(o){const u=o.distance,l=o.index!==t.get();i.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(o.index),a.emit("select"))}return{distance:function(e,t){u(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);u(o.byIndex(r.get(),n))}}}function J7(e,t,n,r,o,i){let a=0;function u(e){"Tab"===e.code&&(a=(new Date).getTime())}function l(u){i.add(u,"focus",(()=>{if((new Date).getTime()-a>10)return;e.scrollLeft=0;const i=t.indexOf(u),l=n.findIndex((e=>e.includes(i)));Zx(l)&&(o.useDuration(0),r.index(l,0))}),{passive:!0,capture:!0})}return{init:function(){i.add(document,"keydown",u,!1),t.forEach(l)}}}function $g(e){let t=e;function n(e){return Zx(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function TA(e,t,n){const r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},o=n.style;let i=!1;return{clear:function(){i||(o.transform="",n.getAttribute("style")||n.removeAttribute("style"))},to:function(e){i||(o.transform=r(t.apply(e)))},toggleActive:function(e){i=!e}}}function ek(e,t,n,r,o,i,a,u,l,c){const s=fv(i),f=fv(i).reverse(),d=function(){const e=u[0];return v(h(f,e),r,!1)}().concat(function(){const e=n-u[0]-1;return v(h(s,e),-r,!0)}());function p(e,t){return e.reduce(((e,t)=>e-i[t]),t)}function h(e,t){return e.reduce(((e,n)=>p(e,t)>0?e.concat([n]):e),[])}function v(i,u,s){const f=function(e){return a.map(((t,r)=>({start:t-o[r]+.5+e,end:t+n-.5+e})))}(u);return i.map((n=>{const o=s?0:-r,i=s?r:0,a=s?"end":"start",u=f[n][a];return{index:n,loopPoint:u,slideLocation:$g(-1),translate:TA(e,t,c[n]),target:()=>l.get()>u?o:i}}))}return{canLoop:function(){return d.every((({index:e})=>p(s.filter((t=>t!==e)),n)<=.1))},clear:function(){d.forEach((e=>e.translate.clear()))},loop:function(){d.forEach((e=>{const{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))}))},loopPoints:d}}function tk(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver((e=>{o||(Jx(n)||n(i,e))&&function(e){for(const n of e)if("childList"===n.type){i.reInit(),t.emit("slidesChanged");break}}(e)})),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function nk(e,t,n,r){const o={};let i,a=null,u=null,l=!1;return{init:function(){i=new IntersectionObserver((e=>{l||(e.forEach((e=>{const n=t.indexOf(e.target);o[n]=e})),a=null,u=null,n.emit("slidesInView"))}),{root:e.parentElement,threshold:r}),t.forEach((e=>i.observe(e)))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&u)return u;const t=function(e){return dv(o).reduce(((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t}),[])}(e);return e&&(a=t),e||(u=t),t}}}function rk(e,t,n,r,o,i){const{measureSize:a,startEdge:u,endEdge:l}=e,c=n[0]&&o,s=function(){if(!c)return 0;const e=n[0];return bn(t[u]-e[u])}(),f=function(){if(!c)return 0;const e=i.getComputedStyle(Ya(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),d=n.map(a),p=n.map(((e,t,n)=>{const r=!t,o=tb(n,t);return r?d[t]+s:o?d[t]+f:n[t+1][u]-e[u]})).map(bn);return{slideSizes:d,slideSizesWithGaps:p,startGap:s,endGap:f}}function ok(e,t,n,r,o,i,a,u,l,c){const{startEdge:s,endEdge:f}=e,d=Zx(r);return{groupSlides:function(e){return d?function(e,t){return fv(e).filter((e=>e%t==0)).map((n=>e.slice(n,n+t)))}(e,r):function(e){return e.length?fv(e).reduce(((r,d)=>{const p=Ya(r)||0,h=0===p,v=d===Rv(e),y=i[s]-a[p][s],g=i[s]-a[d][f],m=!o&&h?t.apply(u):0;return bn(g-(!o&&v?t.apply(l):0)-(y+m))>n+c&&r.push(d),v&&r.push(e.length),r}),[]).map(((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)})):[]}(e)}}}function ik(e,t,n,r,o,i,a){const{align:u,axis:l,direction:c,startIndex:s,loop:f,duration:d,dragFree:p,dragThreshold:h,inViewThreshold:v,slidesToScroll:y,skipSnaps:g,containScroll:m,watchResize:b,watchSlides:w,watchDrag:_}=i,x=W7(),E=x.measure(t),k=n.map(x.measure),S=M7(c),C=L7(l,c),R=C.measureSize(E),N=q7(R),P=N7(u,R),A=!f&&!!m,O=f||!!m,{slideSizes:T,slideSizesWithGaps:D,startGap:I,endGap:j}=rk(C,E,k,n,O,o),L=ok(C,S,R,y,f,E,k,I,j,2),{snaps:M,snapsAligned:z}=Y7(C,P,E,k,L),F=-Ya(M)+Ya(D),{snapsContained:$,scrollContainLimit:W}=H7(R,F,z,m,2),U=A?$:z,{limit:B}=G7(F,U,f),H=PA(Rv(U),s,f),V=H.clone(),K=fv(n),q=D7(r,o,(()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(ae)),(e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:o,slideLooper:i,dragHandler:a,animation:u,eventHandler:l,options:{loop:c}},s)=>{const f=e.velocity(),d=e.settled();d&&!a.pointerDown()&&(u.stop(),l.emit("settle")),d||l.emit("scroll"),r.set(n.get()-f+f*s),c&&(o.loop(e.direction()),i.loop()),t.to(r.get())})(ae,e))),Q=U[H.get()],G=$g(Q),Y=$g(Q),X=$g(Q),Z=B7(G,Y,X,d,.68),J=Q7(f,U,F,B,X),ee=Z7(q,H,V,Z,J,X,a),te=V7(B),ne=pv(),re=nk(t,n,a,v),{slideRegistry:oe}=X7(A,m,U,W,L,K),ie=J7(e,n,oe,ee,Z,ne),ae={ownerDocument:r,ownerWindow:o,eventHandler:a,containerRect:E,slideRects:k,animation:q,axis:C,direction:S,dragHandler:F7(C,S,e,r,o,X,z7(C,o),G,q,ee,Z,J,H,a,N,p,h,g,.68,_),eventStore:ne,percentOfView:N,index:H,indexPrevious:V,limit:B,location:G,offsetLocation:Y,options:i,resizeHandler:j7(t,a,o,n,C,b,x),scrollBody:Z,scrollBounds:U7(B,Y,X,Z,N),scrollLooper:K7(F,B,Y,[G,Y,X]),scrollProgress:te,scrollSnapList:U.map(te.get),scrollSnaps:U,scrollTarget:J,scrollTo:ee,slideLooper:ek(C,S,R,F,T,D,M,U,Y,n),slideFocus:ie,slidesHandler:tk(t,a,w),slidesInView:re,slideIndexes:K,slideRegistry:oe,slidesToScroll:L,target:X,translate:TA(C,S,t)};return ae}function ak(){const e={};let t;function n(t){return e[t]||[]}const r={init:function(e){t=e},emit:function(e){return n(e).forEach((n=>n(t,e))),r},off:function(t,o){return e[t]=n(t).filter((e=>e!==o)),r},on:function(t,o){return e[t]=n(t).concat([o]),r}};return r}P7.displayName="CardFooter";const uk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function sk(e){function t(e,t){return RA(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=dv(r).filter((t=>e.matchMedia(t).matches)).map((e=>r[e])).reduce(((e,n)=>t(e,n)),{});return t(n,o)},optionsMediaQueries:function(t){return t.map((e=>dv(e.breakpoints||{}))).reduce(((e,t)=>e.concat(t)),[]).map(e.matchMedia)}}}function lk(e){let t=[];return{init:function(n,r){return t=r.filter((({options:t})=>!1!==e.optionsAtMedia(t).active)),t.forEach((t=>t.init(n,e))),r.reduce(((e,t)=>Object.assign(e,{[t.name]:t})),{})},destroy:function(){t=t.filter((e=>e.destroy()))}}}function Cg(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=sk(o),a=lk(i),u=pv(),l=ak(),{mergeOptions:c,optionsAtMedia:s,optionsMediaQueries:f}=i,{on:d,off:p,emit:h}=l,v=C;let y,g,m,b,w=!1,_=c(uk,Cg.globalOptions),x=c(_),E=[];function k(t){const n=ik(e,m,b,r,o,t,l);if(t.loop&&!n.slideLooper.canLoop()){return k(Object.assign({},t,{loop:!1}))}return n}function S(t,n){w||(_=c(_,t),x=s(_),E=n||E,function(){const{container:t,slides:n}=x;m=(px(t)?e.querySelector(t):t)||e.children[0];const r=px(n)?m.querySelectorAll(n):n;b=[].slice.call(r||m.children)}(),y=k(x),f([_,...E.map((({options:e})=>e))]).forEach((e=>u.add(e,"change",C))),x.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(),y.eventHandler.init(A),y.resizeHandler.init(A),y.slidesHandler.init(A),y.options.loop&&y.slideLooper.loop(),m.offsetParent&&b.length&&y.dragHandler.init(A),g=a.init(A,E)))}function C(e,t){const n=P();R(),S(c({startIndex:n},e),t),l.emit("reInit")}function R(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),a.destroy(),u.clear()}function N(e,t,n){!x.active||w||(y.scrollBody.useBaseFriction().useDuration(!0===t?0:x.duration),y.scrollTo.index(e,n||0))}function P(){return y.index.get()}const A={canScrollNext:function(){return y.index.add(1).get()!==P()},canScrollPrev:function(){return y.index.add(-1).get()!==P()},containerNode:function(){return m},internalEngine:function(){return y},destroy:function(){w||(w=!0,u.clear(),R(),l.emit("destroy"))},off:p,on:d,emit:h,plugins:function(){return g},previousScrollSnap:function(){return y.indexPrevious.get()},reInit:v,rootNode:function(){return e},scrollNext:function(e){N(y.index.add(1).get(),e,-1)},scrollPrev:function(e){N(y.index.add(-1).get(),e,1)},scrollProgress:function(){return y.scrollProgress.get(y.location.get())},scrollSnapList:function(){return y.scrollSnapList},scrollTo:N,selectedScrollSnap:P,slideNodes:function(){return b},slidesInView:function(){return y.slidesInView.get()},slidesNotInView:function(){return y.slidesInView.get(!1)}};return S(t,n),setTimeout((()=>l.emit("init")),0),A}function nb(e={},t=[]){const n=y.useRef(e),r=y.useRef(t),[o,i]=y.useState(),[a,u]=y.useState(),l=y.useCallback((()=>{o&&o.reInit(n.current,r.current)}),[o]);return y.useEffect((()=>{if(I7()&&a){Cg.globalOptions=nb.globalOptions;const e=Cg(a,n.current,r.current);return i(e),()=>e.destroy()}i(void 0)}),[a,i]),y.useEffect((()=>{Qx(n.current,e)||(n.current=e,l())}),[e,l]),y.useEffect((()=>{O7(r.current,t)||(r.current=t,l())}),[t,l]),[u,o]}Cg.globalOptions=void 0,nb.globalOptions=void 0;const IA=Bc("",{variants:{variant:{fullHeight:"absolute bg-base_white_90 top-[0] h-[calc(100%-35px)] w-[32px] border-0 rounded-none transform-none text-slate-700 [&>svg]:text-slate-700 [&>svg]:size-[37px] [&>svg]:stroke-[3px]",bottom:"size-[20px] bottom-[0] rounded-[2px] bg-slate-900_50 disabled:opacity-1 hover:bg-slate-900_50 [&:disabled>svg]:text-slate-900_20 [&>svg]:text-white [&>svg]:size-[20px]"},position:{left:"",right:""}},compoundVariants:[{variant:"fullHeight",position:"left",class:"rounded-tl-[6px] left-0"},{variant:"fullHeight",position:"right",class:"rounded-tr-[6px] right-0"},{variant:"bottom",position:"left",class:"mr-[6px]"}]}),OA=y.createContext(null),Ug=()=>{const e=y.useContext(OA);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e},ck=y.forwardRef((({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:o,children:i,...a},u)=>{const[l,c]=nb({...t,axis:"horizontal"===e?"x":"y"},r),[s,f]=y.useState(!1),[d,p]=y.useState(!1),h=y.useCallback((e=>{e&&(f(e.canScrollPrev()),p(e.canScrollNext()))}),[]),v=y.useCallback((()=>{null==c||c.scrollPrev()}),[c]),g=y.useCallback((()=>{null==c||c.scrollNext()}),[c]),m=y.useCallback((e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),g())}),[v,g]);return y.useEffect((()=>{!c||!n||n(c)}),[c,n]),y.useEffect((()=>{if(c)return h(c),c.on("reInit",h),c.on("select",h),()=>{null==c||c.off("select",h)}}),[c,h]),ge.jsx(OA.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:e||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),scrollPrev:v,scrollNext:g,canScrollPrev:s,canScrollNext:d},children:ge.jsx("div",{ref:u,onKeyDownCapture:m,className:He("relative",o),role:"region","aria-roledescription":"carousel",...a,children:i})})}));ck.displayName="Carousel";const fk=y.forwardRef((({className:e,...t},n)=>{const{carouselRef:r,orientation:o}=Ug();return ge.jsx("div",{ref:r,children:ge.jsx("div",{ref:n,className:He("flex","horizontal"===o?"":"-mt-4 flex-col",e),...t})})}));fk.displayName="CarouselContent";const dk=y.forwardRef((({className:e,sideGap:t,isFullPreview:n,...r},o)=>{const{orientation:i}=Ug();return ge.jsx("div",{ref:o,role:"group","aria-roledescription":"slide",style:{...n&&{width:"100%"},marginRight:t&&`${t}px`,maxWidth:t&&`calc(100% - ${t}px)`},className:He("min-w-0 shrink-0 grow-0","horizontal"===i?!t&&"pr-[10px]":"pt-4",e),...r})}));dk.displayName="CarouselItem";const pk=y.forwardRef((({className:e,variant:t="fullHeight",size:n="icon",...r},o)=>{const{scrollPrev:i,canScrollPrev:a,opts:u}=Ug(),l=He(("fullHeight"===t&&!a||!(null!=u&&u.active))&&"hidden",IA({variant:t,position:"left"}),e);return ge.jsxs(Ux,{ref:o,variant:"black_outline",size:n,className:l,disabled:!a,onClick:i,...r,children:[ge.jsx(kI,{}),ge.jsx("span",{className:"sr-only",children:"Previous slide"})]})}));pk.displayName="CarouselPrevious";const hk=y.forwardRef((({className:e,variant:t="fullHeight",size:n="icon",...r},o)=>{const{scrollNext:i,canScrollNext:a,opts:u}=Ug(),l=He(("fullHeight"===t&&!a||!(null!=u&&u.active))&&"hidden",IA({variant:t,position:"right"}),e);return ge.jsxs(Ux,{ref:o,variant:"black_outline",size:n,className:l,disabled:!a,onClick:i,...r,children:[ge.jsx(zR,{}),ge.jsx("span",{className:"sr-only",children:"Next slide"})]})}));function Hg(e){const t=y.useRef({value:e,previous:e});return y.useMemo((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}function Gg(e){const[t,n]=y.useState(void 0);return No((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}hk.displayName="CarouselNext";const kA="Checkbox",[vk,nz]=Do(kA),[gk,mk]=vk(kA),yk=y.forwardRef(((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:u,value:l="on",onCheckedChange:c,...s}=e,[f,d]=y.useState(null),p=Wt(t,(e=>d(e))),h=y.useRef(!1),v=!f||!!f.closest("form"),[g=!1,m]=Sv({prop:o,defaultProp:i,onChange:c}),b=y.useRef(g);return y.useEffect((()=>{const e=null==f?void 0:f.form;if(e){const t=()=>m(b.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}}),[f,m]),y.createElement(gk,{scope:n,state:g,disabled:u},y.createElement(ht.button,Ce({type:"button",role:"checkbox","aria-checked":ud(g)?"mixed":g,"aria-required":a,"data-state":NA(g),"data-disabled":u?"":void 0,disabled:u,value:l},s,{ref:p,onKeyDown:et(e.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),onClick:et(e.onClick,(e=>{m((e=>!!ud(e)||!e)),v&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())}))})),v&&y.createElement(xk,{control:f,bubbles:!h.current,name:r,value:l,checked:g,required:a,disabled:u,style:{transform:"translateX(-100%)"}}))})),_k="CheckboxIndicator",wk=y.forwardRef(((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=mk(_k,n);return y.createElement(pa,{present:r||ud(i.state)||!0===i.state},y.createElement(ht.span,Ce({"data-state":NA(i.state),"data-disabled":i.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))})),xk=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=y.useRef(null),a=Hg(n),u=Gg(t);return y.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});e.indeterminate=ud(n),o.call(e,!ud(n)&&n),e.dispatchEvent(t)}}),[a,n,r]),y.createElement("input",Ce({type:"checkbox","aria-hidden":!0,defaultChecked:!ud(n)&&n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ud(e){return"indeterminate"===e}function NA(e){return ud(e)?"indeterminate":e?"checked":"unchecked"}const DA=yk,bk=wk,W$=Bc("",{variants:{size:{default:"h-4 w-4",20:"size-[20px]",24:"size-[24px]",32:"size-[32px]"},variant:{default:"peer shrink-0 rounded-sm border border-slate-700 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:border-slate-700 data-[state=checked]:bg-slate-700 data-[state=checked]:text-primary-foreground",dark:"shrink-0 bg-slate-900_50 data-[state=checked]:bg-slate-700 rounded-[4px] border-[2px] data-[state=checked]:text-primary-foreground border-slate-100 [&_svg]:size-[24px] [&_svg]:border-none"}},defaultVariants:{size:"default",variant:"default"}}),$k=y.forwardRef((({className:e,size:t,variant:n,...r},o)=>ge.jsx(DA,{ref:o,className:He(e,W$({size:t,variant:n})),...r,children:ge.jsx(bk,{className:He("flex items-center justify-center text-current"),children:ge.jsx(Wx,{className:He(W$({size:t}))})})})));$k.displayName=DA.displayName;var q$=1,Sk=.9,Ck=.8,Ek=.17,iy=.1,ay=.999,Rk=.9999,Ak=.99,Pk=/[\\\/_+.#"@\[\(\{&]/,Tk=/[\\\/_+.#"@\[\(\{&]/g,Ik=/[\s-]/,LA=/[\s-]/g;function hx(e,t,n,r,o,i,a){if(i===t.length)return o===e.length?q$:Ak;var u=`${o},${i}`;if(void 0!==a[u])return a[u];for(var l,c,s,f,d=r.charAt(i),p=n.indexOf(d,o),h=0;p>=0;)(l=hx(e,t,n,r,p+1,i+1,a))>h&&(p===o?l*=q$:Pk.test(e.charAt(p-1))?(l*=Ck,(s=e.slice(o,p-1).match(Tk))&&o>0&&(l*=Math.pow(ay,s.length))):Ik.test(e.charAt(p-1))?(l*=Sk,(f=e.slice(o,p-1).match(LA))&&o>0&&(l*=Math.pow(ay,f.length))):(l*=Ek,o>0&&(l*=Math.pow(ay,p-o))),e.charAt(p)!==t.charAt(i)&&(l*=Rk)),(l<iy&&n.charAt(p-1)===r.charAt(i+1)||r.charAt(i+1)===r.charAt(i)&&n.charAt(p-1)!==r.charAt(i))&&((c=hx(e,t,n,r,p+1,i+2,a))*iy>l&&(l=c*iy)),l>h&&(h=l),p=n.indexOf(d,p+1);return a[u]=h,h}function j$(e){return e.toLowerCase().replace(LA," ")}function Ok(e,t,n){return hx(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,j$(e),j$(t),0,0,{})}var nv='[cmdk-group=""]',uy='[cmdk-group-items=""]',kk='[cmdk-group-heading=""]',rb='[cmdk-item=""]',B$=`${rb}:not([aria-disabled="true"])`,vx="cmdk-item-select",od="data-value",Nk=(e,t,n)=>Ok(e,t,n),MA=y.createContext(void 0),Av=()=>y.useContext(MA),FA=y.createContext(void 0),ob=()=>y.useContext(FA),zA=y.createContext(void 0),WA=y.forwardRef(((e,t)=>{let n=qp((()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",filtered:{count:0,items:new Map,groups:new Set}}})),r=qp((()=>new Set)),o=qp((()=>new Map)),i=qp((()=>new Map)),a=qp((()=>new Set)),u=qA(e),{label:l,children:c,value:s,onValueChange:f,filter:d,shouldFilter:p,loop:h,disablePointerSelection:v=!1,vimBindings:g=!0,...m}=e,b=y.useId(),w=y.useId(),_=y.useId(),x=y.useRef(null),E=Hk();fd((()=>{if(void 0!==s){let e=s.trim();n.current.value=e,k.emit()}}),[s]),fd((()=>{E(6,A)}),[]);let k=y.useMemo((()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var o,i,a;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)P(),R(),E(1,N);else if("value"===e&&(r||E(5,A),void 0!==(null==(o=u.current)?void 0:o.value))){let e=t??"";return void(null==(a=(i=u.current).onValueChange)||a.call(i,e))}k.emit()}},emit:()=>{a.current.forEach((e=>e()))}})),[]),S=y.useMemo((()=>({value:(e,t,r)=>{var o;t!==(null==(o=i.current.get(e))?void 0:o.value)&&(i.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,C(t,r)),E(2,(()=>{R(),k.emit()})))},item:(e,t)=>(r.current.add(e),t&&(o.current.has(t)?o.current.get(t).add(e):o.current.set(t,new Set([e]))),E(3,(()=>{P(),R(),n.current.value||N(),k.emit()})),()=>{i.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=O();E(4,(()=>{P(),(null==t?void 0:t.getAttribute("id"))===e&&N(),k.emit()}))}),group:e=>(o.current.has(e)||o.current.set(e,new Set),()=>{i.current.delete(e),o.current.delete(e)}),filter:()=>u.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:v,listId:b,inputId:_,labelId:w,listInnerRef:x})),[]);function C(e,t){var r,o;let i=null!=(o=null==(r=u.current)?void 0:r.filter)?o:Nk;return e?i(e,n.current.search,t):0}function R(){if(!n.current.search||!1===u.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{let r=o.current.get(n),i=0;r.forEach((t=>{let n=e.get(t);i=Math.max(n,i)})),t.push([n,i])}));let r=x.current;T().sort(((t,n)=>{var r,o;let i=t.getAttribute("id"),a=n.getAttribute("id");return(null!=(r=e.get(a))?r:0)-(null!=(o=e.get(i))?o:0)})).forEach((e=>{let t=e.closest(uy);t?t.appendChild(e.parentElement===t?e:e.closest(`${uy} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${uy} > *`))})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{let t=x.current.querySelector(`${nv}[${od}="${encodeURIComponent(e[0])}"]`);null==t||t.parentElement.appendChild(t)}))}function N(){let e=T().find((e=>"true"!==e.getAttribute("aria-disabled"))),t=null==e?void 0:e.getAttribute(od);k.setState("value",t||void 0)}function P(){var e,t,a,l;if(!n.current.search||!1===u.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let c=0;for(let o of r.current){let r=C(null!=(t=null==(e=i.current.get(o))?void 0:e.value)?t:"",null!=(l=null==(a=i.current.get(o))?void 0:a.keywords)?l:[]);n.current.filtered.items.set(o,r),r>0&&c++}for(let[e,t]of o.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=c}function A(){var e,t,n;let r=O();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(nv))?void 0:t.querySelector(kk))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function O(){var e;return null==(e=x.current)?void 0:e.querySelector(`${rb}[aria-selected="true"]`)}function T(){var e;return Array.from(null==(e=x.current)?void 0:e.querySelectorAll(B$))}function D(e){let t=T()[e];t&&k.setState("value",t.getAttribute(od))}function I(e){var t;let n=O(),r=T(),o=r.findIndex((e=>e===n)),i=r[o+e];null!=(t=u.current)&&t.loop&&(i=o+e<0?r[r.length-1]:o+e===r.length?r[0]:r[o+e]),i&&k.setState("value",i.getAttribute(od))}function j(e){let t,n=O(),r=null==n?void 0:n.closest(nv);for(;r&&!t;)r=e>0?Bk(r,nv):Uk(r,nv),t=null==r?void 0:r.querySelector(B$);t?k.setState("value",t.getAttribute(od)):I(e)}let L=()=>D(T().length-1),M=e=>{e.preventDefault(),e.metaKey?L():e.altKey?j(1):I(1)},z=e=>{e.preventDefault(),e.metaKey?D(0):e.altKey?j(-1):I(-1)};return y.createElement(ht.div,{ref:t,tabIndex:-1,...m,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=m.onKeyDown)||t.call(m,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&M(e);break;case"ArrowDown":M(e);break;case"p":case"k":g&&e.ctrlKey&&z(e);break;case"ArrowUp":z(e);break;case"Home":e.preventDefault(),D(0);break;case"End":e.preventDefault(),L();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();let t=O();if(t){let e=new Event(vx);t.dispatchEvent(e)}}}}},y.createElement("label",{"cmdk-label":"",htmlFor:S.inputId,id:S.labelId,style:Kk},l),Kg(e,(e=>y.createElement(FA.Provider,{value:k},y.createElement(MA.Provider,{value:S},e)))))})),Dk=y.forwardRef(((e,t)=>{var n,r;let o=y.useId(),i=y.useRef(null),a=y.useContext(zA),u=Av(),l=qA(e),c=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==a?void 0:a.forceMount;fd((()=>{if(!c)return u.item(o,null==a?void 0:a.id)}),[c]);let s=jA(o,i,[e.value,e.children,i],e.keywords),f=ob(),d=dd((e=>e.value&&e.value===s.current)),p=dd((e=>!(!c&&!1!==u.filter())||(!e.search||e.filtered.items.get(o)>0)));function h(){var e,t;v(),null==(t=(e=l.current).onSelect)||t.call(e,s.current)}function v(){f.setState("value",s.current,!0)}if(y.useEffect((()=>{let t=i.current;if(t&&!e.disabled)return t.addEventListener(vx,h),()=>t.removeEventListener(vx,h)}),[p,e.onSelect,e.disabled]),!p)return null;let{disabled:g,value:m,onSelect:b,forceMount:w,keywords:_,...x}=e;return y.createElement(ht.div,{ref:hv([i,t]),...x,id:o,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!d,"data-disabled":!!g,"data-selected":!!d,onPointerMove:g||u.disablePointerSelection?void 0:v,onClick:g?void 0:h},e.children)})),Lk=y.forwardRef(((e,t)=>{let{heading:n,children:r,forceMount:o,...i}=e,a=y.useId(),u=y.useRef(null),l=y.useRef(null),c=y.useId(),s=Av(),f=dd((e=>!(!o&&!1!==s.filter())||(!e.search||e.filtered.groups.has(a))));fd((()=>s.group(a)),[]),jA(a,u,[e.value,e.heading,l]);let d=y.useMemo((()=>({id:a,forceMount:o})),[o]);return y.createElement(ht.div,{ref:hv([u,t]),...i,"cmdk-group":"",role:"presentation",hidden:!f||void 0},n&&y.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),Kg(e,(e=>y.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},y.createElement(zA.Provider,{value:d},e)))))})),Mk=y.forwardRef(((e,t)=>{let{alwaysRender:n,...r}=e,o=y.useRef(null),i=dd((e=>!e.search));return n||i?y.createElement(ht.div,{ref:hv([o,t]),...r,"cmdk-separator":"",role:"separator"}):null})),Fk=y.forwardRef(((e,t)=>{let{onValueChange:n,...r}=e,o=null!=e.value,i=ob(),a=dd((e=>e.search)),u=dd((e=>e.value)),l=Av(),c=y.useMemo((()=>{var e;let t=null==(e=l.listInnerRef.current)?void 0:e.querySelector(`${rb}[${od}="${encodeURIComponent(u)}"]`);return null==t?void 0:t.getAttribute("id")}),[]);return y.useEffect((()=>{null!=e.value&&i.setState("search",e.value)}),[e.value]),y.createElement(ht.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:"text",value:o?e.value:a,onChange:e=>{o||i.setState("search",e.target.value),null==n||n(e.target.value)}})})),zk=y.forwardRef(((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,i=y.useRef(null),a=y.useRef(null),u=Av();return y.useEffect((()=>{if(a.current&&i.current){let e,t=a.current,n=i.current,r=new ResizeObserver((()=>{e=requestAnimationFrame((()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")}))}));return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}}),[]),y.createElement(ht.div,{ref:hv([i,t]),...o,"cmdk-list":"",role:"listbox","aria-label":r,id:u.listId},Kg(e,(e=>y.createElement("div",{ref:hv([a,u.listInnerRef]),"cmdk-list-sizer":""},e))))})),Wk=y.forwardRef(((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:i,container:a,...u}=e;return y.createElement(G6,{open:n,onOpenChange:r},y.createElement(jg,{container:a},y.createElement(Qp,{"cmdk-overlay":"",className:o}),y.createElement(Zp,{"aria-label":e.label,"cmdk-dialog":"",className:i},y.createElement(WA,{ref:t,...u}))))})),qk=y.forwardRef(((e,t)=>dd((e=>0===e.filtered.count))?y.createElement(ht.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),jk=y.forwardRef(((e,t)=>{let{progress:n,children:r,label:o="Loading...",...i}=e;return y.createElement(ht.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},Kg(e,(e=>y.createElement("div",{"aria-hidden":!0},e))))})),ni=Object.assign(WA,{List:zk,Item:Dk,Input:Fk,Group:Lk,Separator:Mk,Dialog:Wk,Empty:qk,Loading:jk});function Bk(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Uk(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function qA(e){let t=y.useRef(e);return fd((()=>{t.current=e})),t}var fd=typeof window>"u"?y.useEffect:y.useLayoutEffect;function qp(e){let t=y.useRef();return void 0===t.current&&(t.current=e()),t}function hv(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function dd(e){let t=ob(),n=()=>e(t.snapshot());return y.useSyncExternalStore(t.subscribe,n,n)}function jA(e,t,n,r=[]){let o=y.useRef(),i=Av();return fd((()=>{var a;let u=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():o.current}})(),l=r.map((e=>e.trim()));i.value(e,u,l),null==(a=t.current)||a.setAttribute(od,u),o.current=u})),o}var Hk=()=>{let[e,t]=y.useState(),n=qp((()=>new Map));return fd((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Gk(e){let t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}function Kg({asChild:e,children:t},n){return e&&y.isValidElement(t)?y.cloneElement(Gk(t),{ref:t.ref},n(t.props.children)):n(t)}var Kk={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Vk=jg,BA=y.forwardRef((({className:e,...t},n)=>(y.useEffect((()=>{const e=document.querySelectorAll(".blured-modal-overlay");return e.forEach((e=>e&&(e.style.filter="blur(5px)"))),()=>{e.forEach((e=>e&&(e.style.filter="none")))}}),[]),ge.jsx(Qp,{ref:n,"data-testid":"dialog_overlay",className:He("fixed inset-0 z-100 bg-slate-900 opacity-[0.7] data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}))));BA.displayName=Qp.displayName;const Yk=Bc("",{variants:{closeVariant:{insideCard:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground text-slate-400",outsideCard:"fixed right-[30px] top-[30px] z-100 text-slate-400",mobileGallery:"fixed right-4 top-[62px] text-white z-[110]"}},defaultVariants:{closeVariant:"outsideCard"}}),Xk=Bc("",{variants:{closeSize:{small:"size-4",big:"size-[42px]","18x18":"size-[18px]"}},defaultVariants:{closeSize:"big"}}),Qk=y.forwardRef((({className:e,showClose:t=!0,closeVariant:n="outsideCard",closeSize:r="big",children:o,overlayClassName:i,onOverlayClick:a,...u},l)=>{const c=ge.jsxs(Bg,{className:He(Yk({closeVariant:n})),children:[ge.jsx(qR,{fill:"currentColor",className:He(Xk({closeSize:r}))}),ge.jsx("span",{className:"sr-only",children:"Close"})]});return ge.jsxs(Vk,{children:[ge.jsx(BA,{className:i,onClick:a}),t&&"insideCard"!==n&&c,ge.jsxs(Zp,{ref:l,className:He("fixed left-[50%] top-[50%] z-100 grid max-w-[520px] translate-x-[-50%] translate-y-[-50%] gap-4 !overflow-visible rounded-lg border bg-background p-5 shadow-lg outline-none duration-200 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] max-md:w-[calc(100vw-32px)] md:w-full [&>div]:min-w-0",e),...u,children:[ge.jsx(UA,{className:"hidden",children:"DialogTitle"}),ge.jsx(HA,{className:"hidden",children:"DialogDescription"}),o,t&&"insideCard"===n&&c]})]})}));Qk.displayName=Zp.displayName;const UA=y.forwardRef((({className:e,...t},n)=>ge.jsx(Cv,{ref:n,className:He("text-lg font-semibold leading-none tracking-tight",e),...t})));UA.displayName=Cv.displayName;const HA=y.forwardRef((({className:e,...t},n)=>ge.jsx(Ev,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));HA.displayName=Ev.displayName;const Zk=y.forwardRef((({className:e,...t},n)=>ge.jsx(ni,{ref:n,className:He("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t})));Zk.displayName=ni.displayName;const Jk=y.forwardRef((({className:e,...t},n)=>ge.jsx("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:ge.jsx(ni.Input,{ref:n,className:He("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})})));Jk.displayName=ni.Input.displayName;const e8=y.forwardRef((({className:e,...t},n)=>ge.jsx(ni.List,{ref:n,className:He("mt-2 max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t})));e8.displayName=ni.List.displayName;const t8=y.forwardRef(((e,t)=>ge.jsx(ni.Empty,{ref:t,className:"py-6 text-center text-sm",...e})));t8.displayName=ni.Empty.displayName;const n8=y.forwardRef((({className:e,...t},n)=>ge.jsx(ni.Group,{ref:n,className:He("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t})));n8.displayName=ni.Group.displayName;const r8=y.forwardRef((({className:e,...t},n)=>ge.jsx(ni.Separator,{ref:n,className:He("-mx-1 h-px bg-border",e),...t})));r8.displayName=ni.Separator.displayName;const o8=y.forwardRef((({className:e,...t},n)=>ge.jsx(ni.Item,{ref:n,className:He("relative flex max-w-[215px] cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",e),...t})));function ib(e){const t=e+"CollectionProvider",[n,r]=Do(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",u=e+"CollectionItemSlot",l="data-radix-collection-item";return[{Provider:e=>{const{scope:t,children:n}=e,r=Ai.useRef(null),i=Ai.useRef(new Map).current;return Ai.createElement(o,{scope:t,itemMap:i,collectionRef:r},n)},Slot:Ai.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=Wt(t,i(a,n).collectionRef);return Ai.createElement(ld,{ref:o},r)})),ItemSlot:Ai.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=Ai.useRef(null),c=Wt(t,a),s=i(u,n);return Ai.useEffect((()=>(s.itemMap.set(a,{ref:a,...o}),()=>{s.itemMap.delete(a)}))),Ai.createElement(ld,{[l]:"",ref:c},r)}))},function(t){const n=i(e+"CollectionConsumer",t);return Ai.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${l}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}o8.displayName=ni.Item.displayName;const i8=y.createContext(void 0);function GA(e){const t=y.useContext(i8);return e||t||"ltr"}const a8=["top","right","bottom","left"],Mc=Math.min,Pi=Math.max,Eg=Math.round,vg=Math.floor,Fc=e=>({x:e,y:e}),u8={left:"right",right:"left",bottom:"top",top:"bottom"},s8={start:"end",end:"start"};function gx(e,t,n){return Pi(e,Mc(t,n))}function el(e,t){return"function"==typeof e?e(t):e}function tl(e){return e.split("-")[0]}function Jp(e){return e.split("-")[1]}function ab(e){return"x"===e?"y":"x"}function ub(e){return"y"===e?"height":"width"}function zc(e){return["top","bottom"].includes(tl(e))?"y":"x"}function sb(e){return ab(zc(e))}function l8(e,t,n){void 0===n&&(n=!1);const r=Jp(e),o=sb(e),i=ub(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Rg(a)),[a,Rg(a)]}function c8(e){const t=Rg(e);return[mx(e),t,mx(t)]}function mx(e){return e.replace(/start|end/g,(e=>s8[e]))}function f8(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function d8(e,t,n,r){const o=Jp(e);let i=f8(tl(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(mx)))),i}function Rg(e){return e.replace(/left|right|bottom|top/g,(e=>u8[e]))}function p8(e){return{top:0,right:0,bottom:0,left:0,...e}}function KA(e){return"number"!=typeof e?p8(e):{top:e,right:e,bottom:e,left:e}}function Ag(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function U$(e,t,n){let{reference:r,floating:o}=e;const i=zc(t),a=sb(t),u=ub(a),l=tl(t),c="y"===i,s=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[u]/2-o[u]/2;let p;switch(l){case"top":p={x:s,y:r.y-o.height};break;case"bottom":p={x:s,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Jp(t)){case"start":p[a]-=d*(n&&c?-1:1);break;case"end":p[a]+=d*(n&&c?-1:1)}return p}const h8=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,u=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=U$(c,r,l),d=r,p={},h=0;for(let n=0;n<u.length;n++){const{name:i,fn:v}=u[n],{x:y,y:g,data:m,reset:b}=await v({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});s=y??s,f=g??f,p={...p,[i]:{...p[i],...m}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:s,y:f}=U$(c,d,l))),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:p}};async function vv(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=el(t,e),h=KA(p),v=u[d?"floating"===f?"reference":"floating":f],y=Ag(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:s,strategy:l})),g="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),b=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},w=Ag(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:g,offsetParent:m,strategy:l}):g);return{top:(y.top-w.top+h.top)/b.y,bottom:(w.bottom-y.bottom+h.bottom)/b.y,left:(y.left-w.left+h.left)/b.x,right:(w.right-y.right+h.right)/b.x}}const v8=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:u,middlewareData:l}=t,{element:c,padding:s=0}=el(e,t)||{};if(null==c)return{};const f=KA(s),d={x:n,y:r},p=sb(o),h=ub(p),v=await a.getDimensions(c),y="y"===p,g=y?"top":"left",m=y?"bottom":"right",b=y?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],_=d[p]-i.reference[p],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let E=x?x[b]:0;(!E||!await(null==a.isElement?void 0:a.isElement(x)))&&(E=u.floating[b]||i.floating[h]);const k=w/2-_/2,S=E/2-v[h]/2-1,C=Mc(f[g],S),R=Mc(f[m],S),N=C,P=E-v[h]-R,A=E/2-v[h]/2+k,O=gx(N,A,P),T=!l.arrow&&null!=Jp(o)&&A!==O&&i.reference[h]/2-(A<N?C:R)-v[h]/2<0,D=T?A<N?A-N:A-P:0;return{[p]:d[p]+D,data:{[p]:O,centerOffset:A-O-D,...T&&{alignmentOffset:D}},reset:T}}}),g8=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:u,platform:l,elements:c}=t,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...y}=el(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=tl(o),m=zc(u),b=tl(u)===u,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),_=d||(b||!v?[Rg(u)]:c8(u)),x="none"!==h;!d&&x&&_.push(...d8(u,v,h,w));const E=[u,..._],k=await vv(t,y),S=[];let C=(null==(r=i.flip)?void 0:r.overflows)||[];if(s&&S.push(k[g]),f){const e=l8(o,a,w);S.push(k[e[0]],k[e[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every((e=>e<=0))){var R,N;const e=((null==(R=i.flip)?void 0:R.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(N=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:N.placement;if(!n)switch(p){case"bestFit":{var P;const e=null==(P=C.filter((e=>{if(x){const t=zc(e.placement);return t===m||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(o!==n)return{reset:{placement:n}}}return{}}}};function H$(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G$(e){return a8.some((t=>e[t]>=0))}const m8=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=el(e,t);switch(r){case"referenceHidden":{const e=H$(await vv(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:G$(e)}}}case"escaped":{const e=H$(await vv(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:G$(e)}}}default:return{}}}}};async function y8(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=tl(n),u=Jp(n),l="y"===zc(n),c=["left","top"].includes(a)?-1:1,s=i&&l?-1:1,f=el(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof h&&(p="end"===u?-1*h:h),l?{x:p*s,y:d*c}:{x:d*c,y:p*s}}const _8=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:u}=t,l=await y8(t,e);return a===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},w8=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=el(e,t),c={x:n,y:r},s=await vv(t,l),f=zc(tl(o)),d=ab(f);let p=c[d],h=c[f];if(i){const e="y"===d?"bottom":"right";p=gx(p+s["y"===d?"top":"left"],p,p-s[e])}if(a){const e="y"===f?"bottom":"right";h=gx(h+s["y"===f?"top":"left"],h,h-s[e])}const v=u.fn({...t,[d]:p,[f]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:i,[f]:a}}}}}},x8=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=el(e,t),s={x:n,y:r},f=zc(o),d=ab(f);let p=s[d],h=s[f];const v=el(u,t),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+y.mainAxis,n=i.reference[d]+i.reference[e]-y.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var g,m;const e="y"===d?"width":"height",t=["top","left"].includes(tl(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[f])||0)+(t?0:y.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(m=a.offset)?void 0:m[f])||0)-(t?y.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}},b8=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:u}=t,{apply:l=()=>{},...c}=el(e,t),s=await vv(t,c),f=tl(o),d=Jp(o),p="y"===zc(o),{width:h,height:v}=i.floating;let y,g;"top"===f||"bottom"===f?(y=f,g=d===(await(null==a.isRTL?void 0:a.isRTL(u.floating))?"start":"end")?"left":"right"):(g=f,y="end"===d?"top":"bottom");const m=v-s.top-s.bottom,b=h-s.left-s.right,w=Mc(v-s[y],m),_=Mc(h-s[g],b),x=!t.middlewareData.shift;let E=w,k=_;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(E=m),x&&!d){const e=Pi(s.left,0),t=Pi(s.right,0),n=Pi(s.top,0),r=Pi(s.bottom,0);p?k=h-2*(0!==e||0!==t?e+t:Pi(s.left,s.right)):E=v-2*(0!==n||0!==r?n+r:Pi(s.top,s.bottom))}await l({...t,availableWidth:k,availableHeight:E});const S=await a.getDimensions(u.floating);return h!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function Vg(){return typeof window<"u"}function Wc(e){return VA(e)?(e.nodeName||"").toLowerCase():"#document"}function Ti(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ol(e){var t;return null==(t=(VA(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function VA(e){return!!Vg()&&(e instanceof Node||e instanceof Ti(e).Node)}function Hu(e){return!!Vg()&&(e instanceof Element||e instanceof Ti(e).Element)}function Gu(e){return!!Vg()&&(e instanceof HTMLElement||e instanceof Ti(e).HTMLElement)}function K$(e){return!(!Vg()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Ti(e).ShadowRoot)}function Pv(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=da(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function $8(e){return["table","td","th"].includes(Wc(e))}function S8(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch{return!1}}))}function lb(e){const t=cb(),n=Hu(e)?da(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function YA(e){let t=Hp(e);for(;Gu(t)&&!Yg(t);){if(lb(t))return t;if(S8(t))return null;t=Hp(t)}return null}function cb(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Yg(e){return["html","body","#document"].includes(Wc(e))}function da(e){return Ti(e).getComputedStyle(e)}function Xg(e){return Hu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Hp(e){if("html"===Wc(e))return e;const t=e.assignedSlot||e.parentNode||K$(e)&&e.host||ol(e);return K$(t)?t.host:t}function XA(e){const t=Hp(e);return Yg(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gu(t)&&Pv(t)?t:XA(t)}function gv(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=XA(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Ti(o);if(i){const e=C8(a);return t.concat(a,a.visualViewport||[],Pv(o)?o:[],e&&n?gv(e):[])}return t.concat(o,gv(o,[],n))}function C8(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function QA(e){const t=da(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Gu(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=Eg(n)!==i||Eg(r)!==a;return u&&(n=i,r=a),{width:n,height:r,$:u}}function fb(e){return Hu(e)?e:e.contextElement}function Bp(e){const t=fb(e);if(!Gu(t))return Fc(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=QA(t);let a=(i?Eg(n.width):n.width)/r,u=(i?Eg(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!u||!Number.isFinite(u))&&(u=1),{x:a,y:u}}const E8=Fc(0);function ZA(e){const t=Ti(e);return cb()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:E8}function R8(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ti(e))&&t}function pd(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=fb(e);let a=Fc(1);t&&(r?Hu(r)&&(a=Bp(r)):a=Bp(e));const u=R8(i,n,r)?ZA(i):Fc(0);let l=(o.left+u.x)/a.x,c=(o.top+u.y)/a.y,s=o.width/a.x,f=o.height/a.y;if(i){const e=Ti(i),t=r&&Hu(r)?Ti(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Bp(n),t=n.getBoundingClientRect(),r=da(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,s*=e.x,f*=e.y,l+=o,c+=i,n=Ti(n).frameElement}}return Ag({width:s,height:f,x:l,y:c})}const A8=[":popover-open",":modal"];function JA(e){let t=!1,n=0,r=0;if(A8.forEach((n=>{!function(n){try{t=t||e.matches(n)}catch{}}(n)})),t){const t=YA(e);if(t){const e=t.getBoundingClientRect();n=e.x,r=e.y}}return[t,n,r]}function P8(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=ol(r),[a]=t?JA(t.floating):[!1];if(r===i||a)return n;let u={scrollLeft:0,scrollTop:0},l=Fc(1);const c=Fc(0),s=Gu(r);if((s||!s&&"fixed"!==o)&&(("body"!==Wc(r)||Pv(i))&&(u=Xg(r)),Gu(r))){const e=pd(r);l=Bp(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x,y:n.y*l.y-u.scrollTop*l.y+c.y}}function T8(e){return Array.from(e.getClientRects())}function eP(e){return pd(ol(e)).left+Xg(e).scrollLeft}function I8(e){const t=ol(e),n=Xg(e),r=e.ownerDocument.body,o=Pi(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Pi(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+eP(e);const u=-n.scrollTop;return"rtl"===da(r).direction&&(a+=Pi(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:u}}function O8(e,t){const n=Ti(e),r=ol(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,u=0,l=0;if(o){i=o.width,a=o.height;const e=cb();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:u,y:l}}function k8(e,t){const n=pd(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Gu(e)?Bp(e):Fc(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}function V$(e,t,n){let r;if("viewport"===t)r=O8(e,n);else if("document"===t)r=I8(ol(e));else if(Hu(t))r=k8(t,n);else{const n=ZA(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Ag(r)}function tP(e,t){const n=Hp(e);return!(n===t||!Hu(n)||Yg(n))&&("fixed"===da(n).position||tP(n,t))}function N8(e,t){const n=t.get(e);if(n)return n;let r=gv(e,[],!1).filter((e=>Hu(e)&&"body"!==Wc(e))),o=null;const i="fixed"===da(e).position;let a=i?Hp(e):e;for(;Hu(a)&&!Yg(a);){const t=da(a),n=lb(a);!n&&"fixed"===t.position&&(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Pv(a)&&!n&&tP(e,a))?r=r.filter((e=>e!==a)):o=t,a=Hp(a)}return t.set(e,r),r}function D8(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?N8(t,this._c):[].concat(n),r],a=i[0],u=i.reduce(((e,n)=>{const r=V$(t,n,o);return e.top=Pi(r.top,e.top),e.right=Mc(r.right,e.right),e.bottom=Mc(r.bottom,e.bottom),e.left=Pi(r.left,e.left),e}),V$(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function L8(e){const{width:t,height:n}=QA(e);return{width:t,height:n}}function M8(e,t,n,r){const o=Gu(t),i=ol(t),a="fixed"===n,u=pd(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const c=Fc(0);if(o||!o&&!a)if(("body"!==Wc(t)||Pv(i))&&(l=Xg(t)),o){const e=pd(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=eP(i));let s=u.left+l.scrollLeft-c.x,f=u.top+l.scrollTop-c.y;const[d,p,h]=JA(r);return d&&(s+=p,f+=h,o&&(s+=t.clientLeft,f+=t.clientTop)),{x:s,y:f,width:u.width,height:u.height}}function Y$(e,t){return Gu(e)&&"fixed"!==da(e).position?t?t(e):e.offsetParent:null}function nP(e,t){const n=Ti(e);if(!Gu(e))return n;let r=Y$(e,t);for(;r&&$8(r)&&"static"===da(r).position;)r=Y$(r,t);return r&&("html"===Wc(r)||"body"===Wc(r)&&"static"===da(r).position&&!lb(r))?n:r||YA(e)||n}const F8=async function(e){const t=this.getOffsetParent||nP,n=this.getDimensions;return{reference:M8(e.reference,await t(e.floating),e.strategy,e.floating),floating:{x:0,y:0,...await n(e.floating)}}};function z8(e){return"rtl"===da(e).direction}const W8={convertOffsetParentRelativeRectToViewportRelativeRect:P8,getDocumentElement:ol,getClippingRect:D8,getOffsetParent:nP,getElementRects:F8,getClientRects:T8,getDimensions:L8,getScale:Bp,isElement:Hu,isRTL:z8};function q8(e,t){let n,r=null;const o=ol(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(u,l){void 0===u&&(u=!1),void 0===l&&(l=1),i();const{left:c,top:s,width:f,height:d}=e.getBoundingClientRect();if(u||t(),!f||!d)return;const p={rootMargin:-vg(s)+"px "+-vg(o.clientWidth-(c+f))+"px "+-vg(o.clientHeight-(s+d))+"px "+-vg(c)+"px",threshold:Pi(0,Mc(1,l))||1};let h=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(v,{...p,root:o.ownerDocument})}catch{r=new IntersectionObserver(v,p)}r.observe(e)}(!0),i}function j8(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=fb(e),s=o||i?[...c?gv(c):[],...gv(t)]:[];s.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=c&&u?q8(c,n):null;let d=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let h,v=l?pd(e):null;return l&&function t(){const r=pd(e);v&&(r.x!==v.x||r.y!==v.y||r.width!==v.width||r.height!==v.height)&&n(),v=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;s.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const B8=w8,U8=g8,H8=b8,G8=m8,X$=v8,K8=x8,V8=(e,t,n)=>{const r=new Map,o={platform:W8,...n},i={...o.platform,_c:r};return h8(e,t,{...o,platform:i})};var Sg=typeof document<"u"?y.useLayoutEffect:y.useEffect;function Pg(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Pg(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||Pg(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function rP(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Q$(e,t){const n=rP(e);return Math.round(t*n)/n}function sy(e){const t=y.useRef(e);return Sg((()=>{t.current=e})),t}function Y8(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[s,f]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=y.useState(r);Pg(d,r)||p(r);const[h,v]=y.useState(null),[g,m]=y.useState(null),b=y.useCallback((e=>{e!==E.current&&(E.current=e,v(e))}),[]),w=y.useCallback((e=>{e!==k.current&&(k.current=e,m(e))}),[]),_=i||h,x=a||g,E=y.useRef(null),k=y.useRef(null),S=y.useRef(s),C=null!=l,R=sy(l),N=sy(o),P=sy(c),A=y.useCallback((()=>{if(!E.current||!k.current)return;const e={placement:t,strategy:n,middleware:d};N.current&&(e.platform=N.current),V8(E.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};O.current&&!Pg(S.current,t)&&(S.current=t,rl.flushSync((()=>{f(t)})))}))}),[d,t,n,N,P]);Sg((()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[c]);const O=y.useRef(!1);Sg((()=>(O.current=!0,()=>{O.current=!1})),[]),Sg((()=>{if(_&&(E.current=_),x&&(k.current=x),_&&x){if(R.current)return R.current(_,x,A);A()}}),[_,x,A,R,C]);const T=y.useMemo((()=>({reference:E,floating:k,setReference:b,setFloating:w})),[b,w]),D=y.useMemo((()=>({reference:_,floating:x})),[_,x]),I=y.useMemo((()=>{const e={position:n,left:0,top:0};if(!D.floating)return e;const t=Q$(D.floating,s.x),r=Q$(D.floating,s.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...rP(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,u,D.floating,s.x,s.y]);return y.useMemo((()=>({...s,update:A,refs:T,elements:D,floatingStyles:I})),[s,A,T,D,I])}const X8=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?X$({element:n.current,padding:r}).fn(t):{}:n?X$({element:n,padding:r}).fn(t):{}}}),Q8=(e,t)=>({..._8(e),options:[e,t]}),Z8=(e,t)=>({...B8(e),options:[e,t]}),J8=(e,t)=>({...K8(e),options:[e,t]}),e5=(e,t)=>({...U8(e),options:[e,t]}),t5=(e,t)=>({...H8(e),options:[e,t]}),n5=(e,t)=>({...G8(e),options:[e,t]}),r5=(e,t)=>({...X8(e),options:[e,t]}),oP="Popper",[iP,eh]=Do(oP),[rz,aP]=iP(oP),o5="PopperAnchor",i5=y.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=aP(o5,n),a=y.useRef(null),u=Wt(t,a);return y.useEffect((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:y.createElement(ht.div,Ce({},o,{ref:u}))})),uP="PopperContent",[a5,oz]=iP(uP),u5=y.forwardRef(((e,t)=>{var n,r,o,i,a,u,l,c;const{__scopePopper:s,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:h=0,arrowPadding:v=0,avoidCollisions:g=!0,collisionBoundary:m=[],collisionPadding:b=0,sticky:w="partial",hideWhenDetached:_=!1,updatePositionStrategy:x="optimized",onPlaced:E,...k}=e,S=aP(uP,s),[C,R]=y.useState(null),N=Wt(t,(e=>R(e))),[P,A]=y.useState(null),O=Gg(P),T=null!==(n=null==O?void 0:O.width)&&void 0!==n?n:0,D=null!==(r=null==O?void 0:O.height)&&void 0!==r?r:0,I=f+("center"!==p?"-"+p:""),j="number"==typeof b?b:{top:0,right:0,bottom:0,left:0,...b},L=Array.isArray(m)?m:[m],M=L.length>0,z={padding:j,boundary:L.filter(s5),altBoundary:M},{refs:F,floatingStyles:$,placement:W,isPositioned:U,middlewareData:B}=Y8({strategy:"fixed",placement:I,whileElementsMounted:(...e)=>j8(...e,{animationFrame:"always"===x}),elements:{reference:S.anchor},middleware:[Q8({mainAxis:d+D,alignmentAxis:h}),g&&Z8({mainAxis:!0,crossAxis:!1,limiter:"partial"===w?J8():void 0,...z}),g&&e5({...z}),t5({...z,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),P&&r5({element:P,padding:v}),l5({arrowWidth:T,arrowHeight:D}),_&&n5({strategy:"referenceHidden",...z})]}),[H,V]=sP(W),K=Qa(E);No((()=>{U&&(null==K||K())}),[U,K]);const q=null===(o=B.arrow)||void 0===o?void 0:o.x,Q=null===(i=B.arrow)||void 0===i?void 0:i.y,G=0!==(null===(a=B.arrow)||void 0===a?void 0:a.centerOffset),[Y,X]=y.useState();return No((()=>{C&&X(window.getComputedStyle(C).zIndex)}),[C]),y.createElement("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:U?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[null===(u=B.transformOrigin)||void 0===u?void 0:u.x,null===(l=B.transformOrigin)||void 0===l?void 0:l.y].join(" ")},dir:e.dir},y.createElement(a5,{scope:s,placedSide:H,onArrowChange:A,arrowX:q,arrowY:Q,shouldHideArrow:G},y.createElement(ht.div,Ce({"data-side":H,"data-align":V},k,{ref:N,style:{...k.style,animation:U?void 0:"none",opacity:null!==(c=B.hide)&&void 0!==c&&c.referenceHidden?0:void 0}}))))}));function s5(e){return null!==e}const l5=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:u,rects:l,middlewareData:c}=t,s=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,h]=sP(u),v={start:"0%",center:"50%",end:"100%"}[h],y=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2;let m="",b="";return"bottom"===p?(m=s?v:`${y}px`,b=-d+"px"):"top"===p?(m=s?v:`${y}px`,b=`${l.floating.height+d}px`):"right"===p?(m=-d+"px",b=s?v:`${g}px`):"left"===p&&(m=`${l.floating.width+d}px`,b=s?v:`${g}px`),{data:{x:m,y:b}}}});function sP(e){const[t,n="center"]=e.split("-");return[t,n]}const lP=i5,db=u5,ly="rovingFocusGroup.onEntryFocus",c5={bubbles:!1,cancelable:!0},pb="RovingFocusGroup",[yx,cP,f5]=ib(pb),[d5,th]=Do(pb,[f5]),[p5,h5]=d5(pb),v5=y.forwardRef(((e,t)=>y.createElement(yx.Provider,{scope:e.__scopeRovingFocusGroup},y.createElement(yx.Slot,{scope:e.__scopeRovingFocusGroup},y.createElement(g5,Ce({},e,{ref:t})))))),g5=y.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:l,onEntryFocus:c,...s}=e,f=y.useRef(null),d=Wt(t,f),p=GA(i),[h=null,v]=Sv({prop:a,defaultProp:u,onChange:l}),[g,m]=y.useState(!1),b=Qa(c),w=cP(n),_=y.useRef(!1),[x,E]=y.useState(0);return y.useEffect((()=>{const e=f.current;if(e)return e.addEventListener(ly,b),()=>e.removeEventListener(ly,b)}),[b]),y.createElement(p5,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:h,onItemFocus:y.useCallback((e=>v(e)),[v]),onItemShiftTab:y.useCallback((()=>m(!0)),[]),onFocusableItemAdd:y.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:y.useCallback((()=>E((e=>e-1))),[])},y.createElement(ht.div,Ce({tabIndex:g||0===x?-1:0,"data-orientation":r},s,{ref:d,style:{outline:"none",...e.style},onMouseDown:et(e.onMouseDown,(()=>{_.current=!0})),onFocus:et(e.onFocus,(e=>{const t=!_.current;if(e.target===e.currentTarget&&t&&!g){const t=new CustomEvent(ly,c5);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));fP([e.find((e=>e.active)),e.find((e=>e.id===h)),...e].filter(Boolean).map((e=>e.ref.current)))}}_.current=!1})),onBlur:et(e.onBlur,(()=>m(!1)))})))})),m5="RovingFocusGroupItem",y5=y.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,u=sv(),l=i||u,c=h5(m5,n),s=c.currentTabStopId===l,f=cP(n),{onFocusableItemAdd:d,onFocusableItemRemove:p}=c;return y.useEffect((()=>{if(r)return d(),()=>p()}),[r,d,p]),y.createElement(yx.ItemSlot,{scope:n,id:l,focusable:r,active:o},y.createElement(ht.span,Ce({tabIndex:s?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:et(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:et(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:et(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=x5(e,c.orientation,c.dir);if(void 0!==t){e.preventDefault();let n=f().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=c.loop?b5(n,r+1):n.slice(r+1)}setTimeout((()=>fP(n)))}}))})))})),_5={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function w5(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function x5(e,t,n){const r=w5(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return _5[r]}function fP(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function b5(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}const hb=v5,vb=y5,_x=["Enter"," "],$5=["ArrowDown","PageUp","Home"],dP=["ArrowUp","PageDown","End"],S5=[...$5,...dP],C5={ltr:[..._x,"ArrowRight"],rtl:[..._x,"ArrowLeft"]},E5={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Qg="Menu",[mv,R5,A5]=ib(Qg),[md,pP]=Do(Qg,[A5,eh,th]),hP=eh(),vP=th(),[iz,yd]=md(Qg),[az,Tv]=md(Qg),P5=y.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=hP(n);return y.createElement(lP,Ce({},o,r,{ref:t}))})),gP="MenuPortal",[T5,mP]=md(gP,{forceMount:void 0}),I5=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=yd(gP,t);return y.createElement(T5,{scope:t,forceMount:n},y.createElement(pa,{present:n||i.open},y.createElement(Vx,{asChild:!0,container:o},r)))},Xa="MenuContent",[O5,gb]=md(Xa),k5=y.forwardRef(((e,t)=>{const n=mP(Xa,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=yd(Xa,e.__scopeMenu),a=Tv(Xa,e.__scopeMenu);return y.createElement(mv.Provider,{scope:e.__scopeMenu},y.createElement(pa,{present:r||i.open},y.createElement(mv.Slot,{scope:e.__scopeMenu},a.modal?y.createElement(N5,Ce({},o,{ref:t})):y.createElement(D5,Ce({},o,{ref:t})))))})),N5=y.forwardRef(((e,t)=>{const n=yd(Xa,e.__scopeMenu),r=y.useRef(null),o=Wt(t,r);return y.useEffect((()=>{const e=r.current;if(e)return Xx(e)}),[]),y.createElement(mb,Ce({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:et(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),D5=y.forwardRef(((e,t)=>{const n=yd(Xa,e.__scopeMenu);return y.createElement(mb,Ce({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),mb=y.forwardRef(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:u,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:f,onInteractOutside:d,onDismiss:p,disableOutsideScroll:h,...v}=e,g=yd(Xa,n),m=Tv(Xa,n),b=hP(n),w=vP(n),_=R5(n),[x,E]=y.useState(null),k=y.useRef(null),S=Wt(t,k,g.onContentChange),C=y.useRef(0),R=y.useRef(""),N=y.useRef(0),P=y.useRef(null),A=y.useRef("right"),O=y.useRef(0),T=h?qg:y.Fragment,D=h?{as:ld,allowPinchZoom:!0}:void 0;y.useEffect((()=>()=>window.clearTimeout(C.current)),[]),Yx();const I=y.useCallback((e=>{var t,n;return A.current===(null===(t=P.current)||void 0===t?void 0:t.side)&&J5(e,null===(n=P.current)||void 0===n?void 0:n.area)}),[]);return y.createElement(O5,{scope:n,searchRef:R,onItemEnter:y.useCallback((e=>{I(e)&&e.preventDefault()}),[I]),onItemLeave:y.useCallback((e=>{var t;I(e)||(null===(t=k.current)||void 0===t||t.focus(),E(null))}),[I]),onTriggerLeave:y.useCallback((e=>{I(e)&&e.preventDefault()}),[I]),pointerGraceTimerRef:N,onPointerGraceIntentChange:y.useCallback((e=>{P.current=e}),[])},y.createElement(T,D,y.createElement(Kx,{asChild:!0,trapped:o,onMountAutoFocus:et(i,(e=>{var t;e.preventDefault(),null===(t=k.current)||void 0===t||t.focus()})),onUnmountAutoFocus:a},y.createElement(zg,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:f,onInteractOutside:d,onDismiss:p},y.createElement(hb,Ce({asChild:!0},w,{dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:E,onEntryFocus:et(l,(e=>{m.isUsingKeyboardRef.current||e.preventDefault()}))}),y.createElement(db,Ce({role:"menu","aria-orientation":"vertical","data-state":bP(g.open),"data-radix-menu-content":"",dir:m.dir},b,v,{ref:S,style:{outline:"none",...v.style},onKeyDown:et(v.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{var t,n;const r=R.current+e,o=_().filter((e=>!e.disabled)),i=document.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,u=Q5(o.map((e=>e.textValue)),r,a),l=null===(n=o.find((e=>e.textValue===u)))||void 0===n?void 0:n.ref.current;(function e(t){R.current=t,window.clearTimeout(C.current),""!==t&&(C.current=window.setTimeout((()=>e("")),1e3))})(r),l&&setTimeout((()=>l.focus()))})(e.key));const o=k.current;if(e.target!==o||!S5.includes(e.key))return;e.preventDefault();const i=_().filter((e=>!e.disabled)).map((e=>e.ref.current));dP.includes(e.key)&&i.reverse(),Y5(i)})),onBlur:et(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(C.current),R.current="")})),onPointerMove:et(e.onPointerMove,yv((e=>{const t=e.target,n=O.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>O.current?"right":"left";A.current=t,O.current=e.clientX}})))})))))))})),L5=y.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return y.createElement(ht.div,Ce({},r,{ref:t}))})),wx="MenuItem",Z$="menu.itemSelect",yb=y.forwardRef(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=y.useRef(null),a=Tv(wx,e.__scopeMenu),u=gb(wx,e.__scopeMenu),l=Wt(t,i),c=y.useRef(!1);return y.createElement(yP,Ce({},o,{ref:l,disabled:n,onClick:et(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(Z$,{bubbles:!0,cancelable:!0});e.addEventListener(Z$,(e=>null==r?void 0:r(e)),{once:!0}),YR(e,t),t.defaultPrevented?c.current=!1:a.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),c.current=!0},onPointerUp:et(e.onPointerUp,(e=>{var t;c.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:et(e.onKeyDown,(e=>{const t=""!==u.searchRef.current;n||t&&" "===e.key||_x.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),yP=y.forwardRef(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=gb(wx,n),u=vP(n),l=y.useRef(null),c=Wt(t,l),[s,f]=y.useState(!1),[d,p]=y.useState("");return y.useEffect((()=>{const e=l.current;var t;e&&p((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[i.children]),y.createElement(mv.ItemSlot,{scope:n,disabled:r,textValue:o??d},y.createElement(vb,Ce({asChild:!0},u,{focusable:!r}),y.createElement(ht.div,Ce({role:"menuitem","data-highlighted":s?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:et(e.onPointerMove,yv((e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())}))),onPointerLeave:et(e.onPointerLeave,yv((e=>a.onItemLeave(e)))),onFocus:et(e.onFocus,(()=>f(!0))),onBlur:et(e.onBlur,(()=>f(!1)))}))))})),M5=y.forwardRef(((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return y.createElement(wP,{scope:e.__scopeMenu,checked:n},y.createElement(yb,Ce({role:"menuitemcheckbox","aria-checked":Tg(n)?"mixed":n},o,{ref:t,"data-state":_b(n),onSelect:et(o.onSelect,(()=>null==r?void 0:r(!!Tg(n)||!n)),{checkForDefaultPrevented:!1})})))})),F5="MenuRadioGroup",[uz,z5]=md(F5,{value:void 0,onValueChange:()=>{}}),W5="MenuRadioItem",q5=y.forwardRef(((e,t)=>{const{value:n,...r}=e,o=z5(W5,e.__scopeMenu),i=n===o.value;return y.createElement(wP,{scope:e.__scopeMenu,checked:i},y.createElement(yb,Ce({role:"menuitemradio","aria-checked":i},r,{ref:t,"data-state":_b(i),onSelect:et(r.onSelect,(()=>{var e;return null===(e=o.onValueChange)||void 0===e?void 0:e.call(o,n)}),{checkForDefaultPrevented:!1})})))})),_P="MenuItemIndicator",[wP,j5]=md(_P,{checked:!1}),B5=y.forwardRef(((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=j5(_P,n);return y.createElement(pa,{present:r||Tg(i.checked)||!0===i.checked},y.createElement(ht.span,Ce({},o,{ref:t,"data-state":_b(i.checked)})))})),U5=y.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return y.createElement(ht.div,Ce({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),H5="MenuSub",[sz,xP]=md(H5),gg="MenuSubTrigger",G5=y.forwardRef(((e,t)=>{const n=yd(gg,e.__scopeMenu),r=Tv(gg,e.__scopeMenu),o=xP(gg,e.__scopeMenu),i=gb(gg,e.__scopeMenu),a=y.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:l}=i,c={__scopeMenu:e.__scopeMenu},s=y.useCallback((()=>{a.current&&window.clearTimeout(a.current),a.current=null}),[]);return y.useEffect((()=>s),[s]),y.useEffect((()=>{const e=u.current;return()=>{window.clearTimeout(e),l(null)}}),[u,l]),y.createElement(P5,Ce({asChild:!0},c),y.createElement(yP,Ce({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":bP(n.open)},e,{ref:Hx(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),!e.disabled&&!t.defaultPrevented&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:et(e.onPointerMove,yv((t=>{i.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout((()=>{n.onOpenChange(!0),s()}),100))}))),onPointerLeave:et(e.onPointerLeave,yv((e=>{var t;s();const r=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(r){var o;const t=null===(o=n.content)||void 0===o?void 0:o.dataset.side,a="right"===t,l=a?-5:5,c=r[a?"left":"right"],s=r[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+l,y:e.clientY},{x:c,y:r.top},{x:s,y:r.top},{x:s,y:r.bottom},{x:c,y:r.bottom}],side:t}),window.clearTimeout(u.current),u.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:et(e.onKeyDown,(t=>{const o=""!==i.searchRef.current;var a;e.disabled||o&&" "===t.key||!C5[r.dir].includes(t.key)||(n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault())}))})))})),K5="MenuSubContent",V5=y.forwardRef(((e,t)=>{const n=mP(Xa,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=yd(Xa,e.__scopeMenu),a=Tv(Xa,e.__scopeMenu),u=xP(K5,e.__scopeMenu),l=y.useRef(null),c=Wt(t,l);return y.createElement(mv.Provider,{scope:e.__scopeMenu},y.createElement(pa,{present:r||i.open},y.createElement(mv.Slot,{scope:e.__scopeMenu},y.createElement(mb,Ce({id:u.contentId,"aria-labelledby":u.triggerId},o,{ref:c,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=l.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:et(e.onFocusOutside,(e=>{e.target!==u.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:et(e.onEscapeKeyDown,(e=>{a.onClose(),e.preventDefault()})),onKeyDown:et(e.onKeyDown,(e=>{const t=e.currentTarget.contains(e.target),n=E5[a.dir].includes(e.key);var r;t&&n&&(i.onOpenChange(!1),null===(r=u.trigger)||void 0===r||r.focus(),e.preventDefault())}))})))))}));function bP(e){return e?"open":"closed"}function Tg(e){return"indeterminate"===e}function _b(e){return Tg(e)?"indeterminate":e?"checked":"unchecked"}function Y5(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function X5(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}function Q5(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=X5(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}function Z5(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,u=t[e].y,l=t[i].x,c=t[i].y;u>r!=c>r&&n<(l-a)*(r-u)/(c-u)+a&&(o=!o)}return o}function J5(e,t){if(!t)return!1;return Z5({x:e.clientX,y:e.clientY},t)}function yv(e){return t=>"mouse"===t.pointerType?e(t):void 0}const eN=I5,tN=k5,nN=L5,rN=yb,oN=M5,iN=q5,aN=B5,uN=U5,sN=G5,lN=V5,$P="DropdownMenu",[cN,lz]=Do($P,[pP]),Yu=pP(),[cz,fN]=cN($P),dN=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Yu(t);return y.createElement(eN,Ce({},r,n))},pN="DropdownMenuContent",hN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=fN(pN,n),i=Yu(n),a=y.useRef(!1);return y.createElement(tN,Ce({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:et(e.onCloseAutoFocus,(e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:et(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),vN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(nN,Ce({},o,r,{ref:t}))})),gN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(rN,Ce({},o,r,{ref:t}))})),mN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(oN,Ce({},o,r,{ref:t}))})),yN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(iN,Ce({},o,r,{ref:t}))})),_N=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(aN,Ce({},o,r,{ref:t}))})),wN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(uN,Ce({},o,r,{ref:t}))})),xN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(sN,Ce({},o,r,{ref:t}))})),bN=y.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Yu(n);return y.createElement(lN,Ce({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),$N=dN,SP=hN,CP=vN,EP=gN,RP=mN,AP=yN,PP=_N,TP=wN,IP=xN,OP=bN,SN=y.forwardRef((({className:e,inset:t,children:n,...r},o)=>ge.jsxs(IP,{ref:o,className:He("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,ge.jsx(zR,{className:"ml-auto h-4 w-4"})]})));SN.displayName=IP.displayName;const CN=y.forwardRef((({className:e,...t},n)=>ge.jsx(OP,{ref:n,className:He("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})));CN.displayName=OP.displayName;const EN=y.forwardRef((({className:e,sideOffset:t=4,...n},r)=>ge.jsx($N,{children:ge.jsx(SP,{ref:r,sideOffset:t,className:He("z-[101] min-w-[8rem] overflow-hidden rounded-md border bg-popover p-[8px] text-popover-foreground shadow-md data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})})));EN.displayName=SP.displayName;const RN=y.forwardRef((({className:e,inset:t,...n},r)=>ge.jsx(EP,{ref:r,className:He("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n})));RN.displayName=EP.displayName;const AN=y.forwardRef((({className:e,children:t,checked:n,...r},o)=>ge.jsxs(RP,{ref:o,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[ge.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:ge.jsx(PP,{children:ge.jsx(Wx,{className:"h-4 w-4"})})}),t]})));AN.displayName=RP.displayName;const PN=y.forwardRef((({className:e,children:t,...n},r)=>ge.jsxs(AP,{ref:r,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[ge.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:ge.jsx(PP,{children:ge.jsx(WR,{className:"h-2 w-2 fill-current"})})}),t]})));PN.displayName=AP.displayName;const TN=y.forwardRef((({className:e,inset:t,...n},r)=>ge.jsx(CP,{ref:r,className:He("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n})));TN.displayName=CP.displayName;const IN=y.forwardRef((({className:e,...t},n)=>ge.jsx(TP,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t})));IN.displayName=TP.displayName;const ON=Ai.createContext(null),kN=()=>Ai.useContext(ON),NN="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='NEW%20p-custom%20icons'%3e%3ccircle%20id='Ellipse%2027'%20cx='7'%20cy='7'%20r='5'%20fill='%23BD3131'%20stroke='%23BD3131'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector%2071'%20d='M5.19922%205.2002L8.73475%208.73573'%20stroke='white'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector%2072'%20d='M8.80078%205.2002L5.26525%208.73573'%20stroke='white'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",DN=y.forwardRef(((e,t)=>y.createElement(ht.label,Ce({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))),kP=DN,LN=Bc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),NP=y.forwardRef((({className:e,...t},n)=>ge.jsx(kP,{ref:n,className:He(LN(),e),...t})));NP.displayName=kP.displayName;const MN=y.createContext({}),nh=()=>{const e=y.useContext(MN),t=y.useContext(DP),n=kN();e||console.error("useFormContext must be used within a FormProvider");const{getFieldState:r,formState:o}=n,i=r(e.name,o);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...i}},DP=y.createContext({}),FN=y.forwardRef((({className:e,...t},n)=>{const r=y.useId();return ge.jsx(DP.Provider,{value:{id:r},children:ge.jsx("div",{ref:n,className:He("mt-[8px]",e),...t})})}));FN.displayName="FormItem";const zN=y.forwardRef((({className:e,isRequired:t,...n},r)=>{var o;const{formItemId:i}=nh();return ge.jsx(NP,{ref:r,className:He("mb-2 text-sm font-medium",e),htmlFor:i,...n,children:t?`*${null==(o=n.children)?void 0:o.toString()}`:n.children})}));zN.displayName="FormLabel";const WN=y.forwardRef((({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:o,formMessageId:i}=nh();return ge.jsx(qx,{ref:t,id:r,"aria-describedby":n?`${o} ${i}`:`${o}`,"aria-invalid":!!n,...e})}));WN.displayName="FormControl";const qN=y.forwardRef((({className:e,...t},n)=>{const{formDescriptionId:r}=nh();return ge.jsx("p",{ref:n,id:r,className:He("text-sm text-muted-foreground",e),...t})}));qN.displayName="FormDescription";const jN=y.forwardRef((({className:e,children:t,...n},r)=>{const{error:o,formMessageId:i}=nh(),a=o?String(null==o?void 0:o.message):t;return a?ge.jsxs("p",{ref:r,id:i,className:He("flex items-center gap-0.5 pt-2 text-sm font-medium text-destructive",e),...n,children:[ge.jsx("img",{src:NN,width:16,height:16,alt:"delete"})," ",a]}):null}));function sd(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function LP(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>y.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return y.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=y.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][i])||o,l=y.useMemo((()=>a),Object.values(a));return y.createElement(u.Provider,{value:l},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const u=(null==a?void 0:a[e][i])||o,l=y.useContext(u);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},BN(r,...t)]}function BN(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return y.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function Zg(e){const t=y.useRef(e);return y.useEffect((()=>{t.current=e})),y.useMemo((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function UN(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function HN(...e){return t=>e.forEach((e=>UN(e,t)))}function GN(...e){return y.useCallback(HN(...e),e)}function _d(e){return e.split("-")[0]}function Iv(e){return e.split("-")[1]}function rh(e){return["top","bottom"].includes(_d(e))?"x":"y"}function wb(e){return"y"===e?"height":"width"}function J$(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,u=rh(t),l=wb(u),c=r[l]/2-o[l]/2,s="x"===u;let f;switch(_d(t)){case"top":f={x:i,y:r.y-o.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-o.width,y:a};break;default:f={x:r.x,y:r.y}}switch(Iv(t)){case"start":f[u]-=c*(n&&s?-1:1);break;case"end":f[u]+=c*(n&&s?-1:1)}return f}jN.displayName="FormMessage";const KN=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,u=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:s}=J$(l,r,u),f=r,d={},p=0;for(let n=0;n<i.length;n++){const{name:h,fn:v}=i[n],{x:y,y:g,data:m,reset:b}=await v({x:c,y:s,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:l,platform:a,elements:{reference:e,floating:t}});c=y??c,s=g??s,d={...d,[h]:{...d[h],...m}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:c,y:s}=J$(l,f,u))),n=-1)}return{x:c,y:s,placement:f,strategy:o,middlewareData:d}};function MP(e){return"number"!=typeof e?(t=e,{top:0,right:0,bottom:0,left:0,...t}):{top:e,right:e,bottom:e,left:e};var t}function Ig(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function _v(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:u,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=MP(p),v=u[d?"floating"===f?"reference":"floating":f],y=Ig(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:c,rootBoundary:s,strategy:l})),g=Ig(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),strategy:l}):a[f]);return{top:y.top-g.top+h.top,bottom:g.bottom-y.bottom+h.bottom,left:y.left-g.left+h.left,right:g.right-y.right+h.right}}const VN=Math.min,nd=Math.max;function xx(e,t,n){return nd(e,VN(t,n))}const eS=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:o,y:i,placement:a,rects:u,platform:l}=t;if(null==n)return{};const c=MP(r),s={x:o,y:i},f=rh(a),d=Iv(a),p=wb(f),h=await l.getDimensions(n),v="y"===f?"top":"left",y="y"===f?"bottom":"right",g=u.reference[p]+u.reference[f]-s[f]-u.floating[p],m=s[f]-u.reference[f],b=await(null==l.getOffsetParent?void 0:l.getOffsetParent(n));let w=b?"y"===f?b.clientHeight||0:b.clientWidth||0:0;0===w&&(w=u.floating[p]);const _=g/2-m/2,x=c[v],E=w-h[p]-c[y],k=w/2-h[p]/2+_,S=xx(x,k,E),C=("start"===d?c[v]:c[y])>0&&k!==S&&u.reference[p]<=u.floating[p];return{[f]:s[f]-(C?k<x?x-k:E-k:0),data:{[f]:S,centerOffset:k-S}}}}),YN={left:"right",right:"left",bottom:"top",top:"bottom"};function Og(e){return e.replace(/left|right|bottom|top/g,(e=>YN[e]))}function XN(e,t,n){void 0===n&&(n=!1);const r=Iv(e),o=rh(e),i=wb(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Og(a)),{main:a,cross:Og(a)}}const QN={start:"end",end:"start"};function tS(e){return e.replace(/start|end/g,(e=>QN[e]))}const FP=["top","right","bottom","left"];FP.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const ZN=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:s=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=e,v=_d(r),y=[a,...f||(v!==a&&p?function(e){const t=Og(e);return[tS(e),t,tS(t)]}(a):[Og(a)])],g=await _v(t,h),m=[];let b=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&m.push(g[v]),s){const{main:e,cross:t}=XN(r,i,await(null==u.isRTL?void 0:u.isRTL(l.floating)));m.push(g[e],g[t])}if(b=[...b,{placement:r,overflows:m}],!m.every((e=>e<=0))){var w,_;const e=(null!=(w=null==(_=o.flip)?void 0:_.index)?w:0)+1,t=y[e];if(t)return{data:{index:e,overflows:b},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var x;const e=null==(x=b.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:x[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function nS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rS(e){return FP.some((t=>e[t]>=0))}const JN=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=nS(await _v(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:rS(t)}}}case"escaped":{const t=nS(await _v(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:rS(t)}}}default:return{}}}}},e4=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=_d(n),u=Iv(n),l="x"===rh(n),c=["left","top"].includes(a)?-1:1,s=i&&l?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return u&&"number"==typeof h&&(p="end"===u?-1*h:h),l?{x:p*s,y:d*c}:{x:d*c,y:p*s}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function zP(e){return"x"===e?"y":"x"}const t4=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,c={x:n,y:r},s=await _v(t,l),f=rh(_d(o)),d=zP(f);let p=c[f],h=c[d];if(i){const e="y"===f?"bottom":"right";p=xx(p+s["y"===f?"top":"left"],p,p-s[e])}if(a){const e="y"===d?"bottom":"right";h=xx(h+s["y"===d?"top":"left"],h,h-s[e])}const v=u.fn({...t,[f]:p,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},n4=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:u=0,mainAxis:l=!0,crossAxis:c=!0}=e,s={x:n,y:r},f=rh(o),d=zP(f);let p=s[f],h=s[d];const v="function"==typeof u?u({...i,placement:o}):u,y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+y.mainAxis,n=i.reference[f]+i.reference[e]-y.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var g,m,b,w;const e="y"===f?"width":"height",t=["top","left"].includes(_d(o)),n=i.reference[d]-i.floating[e]+(t&&null!=(g=null==(m=a.offset)?void 0:m[d])?g:0)+(t?0:y.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:null!=(b=null==(w=a.offset)?void 0:w[d])?b:0)-(t?y.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},r4=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...u}=e,l=await _v(t,u),c=_d(n),s=Iv(n);let f,d;"top"===c||"bottom"===c?(f=c,d=s===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(d=c,f="end"===s?"top":"bottom");const p=nd(l.left,0),h=nd(l.right,0),v=nd(l.top,0),y=nd(l.bottom,0),g={availableHeight:r.floating.height-(["left","right"].includes(n)?2*(0!==v||0!==y?v+y:nd(l.top,l.bottom)):l[f]),availableWidth:r.floating.width-(["top","bottom"].includes(n)?2*(0!==p||0!==h?p+h:nd(l.left,l.right)):l[d])},m=await o.getDimensions(i.floating);null==a||a({...t,...g});const b=await o.getDimensions(i.floating);return m.width!==b.width||m.height!==b.height?{reset:{rects:!0}}:{}}}};function WP(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function il(e){if(null==e)return window;if(!WP(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ov(e){return il(e).getComputedStyle(e)}function Zs(e){return WP(e)?"":e?(e.nodeName||"").toLowerCase():""}function qP(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function Ku(e){return e instanceof il(e).HTMLElement}function qc(e){return e instanceof il(e).Element}function xb(e){return!(typeof ShadowRoot>"u")&&(e instanceof il(e).ShadowRoot||e instanceof ShadowRoot)}function Jg(e){const{overflow:t,overflowX:n,overflowY:r}=Ov(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function o4(e){return["table","td","th"].includes(Zs(e))}function oS(e){const t=/firefox/i.test(qP()),n=Ov(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function jP(){return!/^((?!chrome|android).)*safari/i.test(qP())}const iS=Math.min,cv=Math.max,kg=Math.round;function Js(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const u=e.getBoundingClientRect();let l=1,c=1;t&&Ku(e)&&(l=e.offsetWidth>0&&kg(u.width)/e.offsetWidth||1,c=e.offsetHeight>0&&kg(u.height)/e.offsetHeight||1);const s=qc(e)?il(e):window,f=!jP()&&n,d=(u.left+(f&&null!=(r=null==(o=s.visualViewport)?void 0:o.offsetLeft)?r:0))/l,p=(u.top+(f&&null!=(i=null==(a=s.visualViewport)?void 0:a.offsetTop)?i:0))/c,h=u.width/l,v=u.height/c;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function Lc(e){return(t=e,(t instanceof il(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function em(e){return qc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function BP(e){return Js(Lc(e)).left+em(e).scrollLeft}function i4(e,t,n){const r=Ku(t),o=Lc(t),i=Js(e,r&&function(e){const t=Js(e);return kg(t.width)!==e.offsetWidth||kg(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Zs(t)||Jg(o))&&(a=em(t)),Ku(t)){const e=Js(t,!0);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=BP(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function UP(e){return"html"===Zs(e)?e:e.assignedSlot||e.parentNode||(xb(e)?e.host:null)||Lc(e)}function aS(e){return Ku(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function bx(e){const t=il(e);let n=aS(e);for(;n&&o4(n)&&"static"===getComputedStyle(n).position;)n=aS(n);return n&&("html"===Zs(n)||"body"===Zs(n)&&"static"===getComputedStyle(n).position&&!oS(n))?t:n||function(e){let t=UP(e);for(xb(t)&&(t=t.host);Ku(t)&&!["html","body"].includes(Zs(t));){if(oS(t))return t;t=t.parentNode}return null}(e)||t}function uS(e){if(Ku(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Js(e);return{width:t.width,height:t.height}}function HP(e){const t=UP(e);return["html","body","#document"].includes(Zs(t))?e.ownerDocument.body:Ku(t)&&Jg(t)?t:HP(t)}function Ng(e,t){var n;void 0===t&&(t=[]);const r=HP(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=il(r),a=o?[i].concat(i.visualViewport||[],Jg(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(Ng(a))}function sS(e,t,n){return"viewport"===t?Ig(function(e,t){const n=il(e),r=Lc(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,u=0,l=0;if(o){i=o.width,a=o.height;const e=jP();(e||!e&&"fixed"===t)&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:u,y:l}}(e,n)):qc(t)?function(e,t){const n=Js(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):Ig(function(e){var t;const n=Lc(e),r=em(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=cv(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cv(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let u=-r.scrollLeft+BP(e);const l=-r.scrollTop;return"rtl"===Ov(o||n).direction&&(u+=cv(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:l}}(Lc(e)))}function a4(e){const t=Ng(e),n=["absolute","fixed"].includes(Ov(e).position)&&Ku(e)?bx(e):e;return qc(n)?t.filter((e=>qc(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&xb(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==Zs(e))):[]}const u4={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?a4(t):[].concat(n),r],a=i[0],u=i.reduce(((e,n)=>{const r=sS(t,n,o);return e.top=cv(r.top,e.top),e.right=iS(r.right,e.right),e.bottom=iS(r.bottom,e.bottom),e.left=cv(r.left,e.left),e}),sS(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ku(n),i=Lc(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Zs(n)||Jg(i))&&(a=em(n)),Ku(n))){const e=Js(n,!0);u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y}},isElement:qc,getDimensions:uS,getOffsetParent:bx,getDocumentElement:Lc,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:i4(t,bx(n),r),floating:{...uS(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Ov(e).direction};function s4(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:u=!1}=r,l=o&&!u,c=i&&!u,s=l||c?[...qc(e)?Ng(e):[],...Ng(t)]:[];s.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));let f,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),qc(e)&&!u&&d.observe(e),d.observe(t)}let p=u?Js(e):null;return u&&function t(){const r=Js(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;s.forEach((e=>{l&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,u&&cancelAnimationFrame(f)}}const l4=(e,t,n)=>KN(e,t,{platform:u4,...n});var $x=typeof document<"u"?y.useLayoutEffect:y.useEffect;function Sx(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!Sx(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||Sx(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function c4(e){const t=y.useRef(e);return $x((()=>{t.current=e})),t}function f4(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===e?{}:e;const i=y.useRef(null),a=y.useRef(null),u=c4(o),l=y.useRef(null),[c,s]=y.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=y.useState(t);Sx(null==f?void 0:f.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||d(t);const p=y.useCallback((()=>{!i.current||!a.current||l4(i.current,a.current,{middleware:f,placement:n,strategy:r}).then((e=>{h.current&&rl.flushSync((()=>{s(e)}))}))}),[f,n,r]);$x((()=>{h.current&&p()}),[p]);const h=y.useRef(!1);$x((()=>(h.current=!0,()=>{h.current=!1})),[]);const v=y.useCallback((()=>{if("function"==typeof l.current&&(l.current(),l.current=null),i.current&&a.current)if(u.current){const e=u.current(i.current,a.current,p);l.current=e}else p()}),[p,u]),g=y.useCallback((e=>{i.current=e,v()}),[v]),m=y.useCallback((e=>{a.current=e,v()}),[v]),b=y.useMemo((()=>({reference:i,floating:a})),[]);return y.useMemo((()=>({...c,update:p,refs:b,reference:g,floating:m})),[c,p,b,g,m])}const d4=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn:e=>function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?eS({element:t.current,padding:n}).fn(e):{}:t?eS({element:t,padding:n}).fn(e):{}}};function p4(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function h4(...e){return t=>e.forEach((e=>p4(e,t)))}const GP=y.forwardRef(((e,t)=>{const{children:n,...r}=e,o=y.Children.toArray(n),i=o.find(g4);if(i){const e=i.props.children,n=o.map((t=>t===i?y.Children.count(e)>1?y.Children.only(null):y.isValidElement(e)?e.props.children:null:t));return y.createElement(Cx,Ce({},r,{ref:t}),y.isValidElement(e)?y.cloneElement(e,void 0,n):null)}return y.createElement(Cx,Ce({},r,{ref:t}),n)}));GP.displayName="Slot";const Cx=y.forwardRef(((e,t)=>{const{children:n,...r}=e;return y.isValidElement(n)?y.cloneElement(n,{...m4(r,n.props),ref:h4(t,n.ref)}):y.Children.count(n)>1?y.Children.only(null):null}));Cx.displayName="SlotClone";const v4=({children:e})=>y.createElement(y.Fragment,null,e);function g4(e){return y.isValidElement(e)&&e.type===v4}function m4(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const y4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ex=y4.reduce(((e,t)=>{const n=y.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?GP:t;return y.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),y.createElement(i,Ce({},o,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function _4(e,t){e&&rl.flushSync((()=>e.dispatchEvent(t)))}function w4(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function x4(...e){return t=>e.forEach((e=>w4(e,t)))}function b4(...e){return y.useCallback(x4(...e),e)}const ad=null!=globalThis&&globalThis.document?y.useLayoutEffect:()=>{};function $4(e){const[t,n]=y.useState(void 0);return ad((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}const KP="Popper",[bb,VP]=LP(KP),[fz,S4]=bb(KP),Dg="PopperContent",[C4,dz]=bb(Dg),[E4,R4]=bb(Dg,{hasParent:!1,positionUpdateFns:new Set}),A4=y.forwardRef(((e,t)=>{var n,r,o,i,a,u,l,c;const{__scopePopper:s,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:h=0,arrowPadding:v=0,collisionBoundary:g=[],collisionPadding:m=0,sticky:b="partial",hideWhenDetached:w=!1,avoidCollisions:_=!0,onPlaced:x,...E}=e,k=S4(Dg,s),[S,C]=y.useState(null),R=b4(t,(e=>C(e))),[N,P]=y.useState(null),A=$4(N),O=null!==(n=null==A?void 0:A.width)&&void 0!==n?n:0,T=null!==(r=null==A?void 0:A.height)&&void 0!==r?r:0,D=f+("center"!==p?"-"+p:""),I="number"==typeof m?m:{top:0,right:0,bottom:0,left:0,...m},j=Array.isArray(g)?g:[g],L=j.length>0,M={padding:I,boundary:j.filter(T4),altBoundary:L},{reference:z,floating:F,strategy:$,x:W,y:U,placement:B,middlewareData:H,update:V}=f4({strategy:"fixed",placement:D,whileElementsMounted:s4,middleware:[I4(),e4({mainAxis:d+T,alignmentAxis:h}),_?t4({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?n4():void 0,...M}):void 0,N?d4({element:N,padding:v}):void 0,_?ZN({...M}):void 0,r4({...M,apply:({elements:e,availableWidth:t,availableHeight:n})=>{e.floating.style.setProperty("--radix-popper-available-width",`${t}px`),e.floating.style.setProperty("--radix-popper-available-height",`${n}px`)}}),O4({arrowWidth:O,arrowHeight:T}),w?JN({strategy:"referenceHidden"}):void 0].filter(P4)});ad((()=>{z(k.anchor)}),[z,k.anchor]);const K=null!==W&&null!==U,[q,Q]=YP(B),G=Zg(x);ad((()=>{K&&(null==G||G())}),[K,G]);const Y=null===(o=H.arrow)||void 0===o?void 0:o.x,X=null===(i=H.arrow)||void 0===i?void 0:i.y,Z=0!==(null===(a=H.arrow)||void 0===a?void 0:a.centerOffset),[J,ee]=y.useState();ad((()=>{S&&ee(window.getComputedStyle(S).zIndex)}),[S]);const{hasParent:te,positionUpdateFns:ne}=R4(Dg,s),re=!te;y.useLayoutEffect((()=>{if(!re)return ne.add(V),()=>{ne.delete(V)}}),[re,ne,V]),ad((()=>{re&&K&&Array.from(ne).reverse().forEach((e=>requestAnimationFrame(e)))}),[re,K,ne]);const oe={"data-side":q,"data-align":Q,...E,ref:R,style:{...E.style,animation:K?void 0:"none",opacity:null!==(u=H.hide)&&void 0!==u&&u.referenceHidden?0:void 0}};return y.createElement("div",{ref:F,"data-radix-popper-content-wrapper":"",style:{position:$,left:0,top:0,transform:K?`translate3d(${Math.round(W)}px, ${Math.round(U)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:J,"--radix-popper-transform-origin":[null===(l=H.transformOrigin)||void 0===l?void 0:l.x,null===(c=H.transformOrigin)||void 0===c?void 0:c.y].join(" ")},dir:e.dir},y.createElement(C4,{scope:s,placedSide:q,onArrowChange:P,arrowX:Y,arrowY:X,shouldHideArrow:Z},re?y.createElement(E4,{scope:s,hasParent:!0,positionUpdateFns:ne},y.createElement(Ex.div,oe)):y.createElement(Ex.div,oe)))}));function P4(e){return void 0!==e}function T4(e){return null!==e}const I4=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:o}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${o}px`),{}}}),O4=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:u,rects:l,middlewareData:c}=t,s=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,h]=YP(u),v={start:"0%",center:"50%",end:"100%"}[h],y=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2;let m="",b="";return"bottom"===p?(m=s?v:`${y}px`,b=-d+"px"):"top"===p?(m=s?v:`${y}px`,b=`${l.floating.height+d}px`):"right"===p?(m=-d+"px",b=s?v:`${g}px`):"left"===p&&(m=`${l.floating.width+d}px`,b=s?v:`${g}px`),{data:{x:m,y:b}}}});function YP(e){const[t,n="center"]=e.split("-");return[t,n]}const k4=A4;function N4(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function D4(...e){return t=>e.forEach((e=>N4(e,t)))}function L4(...e){return y.useCallback(D4(...e),e)}function M4(e,t){return y.useReducer(((e,n)=>t[e][n]??e),e)}const XP=e=>{const{present:t,children:n}=e,r=F4(t),o="function"==typeof n?n({present:r.isPresent}):y.Children.only(n),i=L4(r.ref,o.ref);return"function"==typeof n||r.isPresent?y.cloneElement(o,{ref:i}):null};function F4(e){const[t,n]=y.useState(),r=y.useRef({}),o=y.useRef(e),i=y.useRef("none"),a=e?"mounted":"unmounted",[u,l]=M4(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect((()=>{const e=mg(r.current);i.current="mounted"===u?e:"none"}),[u]),ad((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=mg(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,l]),ad((()=>{if(t){const e=e=>{const n=mg(r.current).includes(e.animationName);e.target===t&&n&&rl.flushSync((()=>l("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=mg(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[t,l]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:y.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}function mg(e){return(null==e?void 0:e.animationName)||"none"}function z4(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function W4(...e){return t=>e.forEach((e=>z4(e,t)))}function q4(...e){return y.useCallback(W4(...e),e)}function j4(e,t=(null==globalThis?void 0:globalThis.document)){const n=Zg(e);y.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}XP.displayName="Presence";const Rx="dismissableLayer.update",B4="dismissableLayer.pointerDownOutside",U4="dismissableLayer.focusOutside";let lS;const H4=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),G4=y.forwardRef(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:l,...c}=e,s=y.useContext(H4),[f,d]=y.useState(null),p=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,h]=y.useState({}),v=q4(t,(e=>d(e))),g=Array.from(s.layers),[m]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(m),w=f?g.indexOf(f):-1,_=s.layersWithOutsidePointerEventsDisabled.size>0,x=w>=b,E=K4((e=>{const t=e.target,n=[...s.branches].some((e=>e.contains(t)));!x||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p),k=V4((e=>{const t=e.target;[...s.branches].some((e=>e.contains(t)))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==l||l())}),p);return j4((e=>{w===s.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))}),p),y.useEffect((()=>{if(f)return r&&(0===s.layersWithOutsidePointerEventsDisabled.size&&(lS=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(f)),s.layers.add(f),cS(),()=>{r&&1===s.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=lS)}}),[f,p,r,s]),y.useEffect((()=>()=>{f&&(s.layers.delete(f),s.layersWithOutsidePointerEventsDisabled.delete(f),cS())}),[f,s]),y.useEffect((()=>{const e=()=>h({});return document.addEventListener(Rx,e),()=>document.removeEventListener(Rx,e)}),[]),y.createElement(Ex.div,Ce({},c,{ref:v,style:{pointerEvents:_?x?"auto":"none":void 0,...e.style},onFocusCapture:sd(e.onFocusCapture,k.onFocusCapture),onBlurCapture:sd(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:sd(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function K4(e,t=(null==globalThis?void 0:globalThis.document)){const n=Zg(e),r=y.useRef(!1),o=y.useRef((()=>{}));return y.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){QP(B4,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}function V4(e,t=(null==globalThis?void 0:globalThis.document)){const n=Zg(e),r=y.useRef(!1);return y.useEffect((()=>{const e=e=>{e.target&&!r.current&&QP(U4,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function cS(){const e=new CustomEvent(Rx);document.dispatchEvent(e)}function QP(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?_4(o,i):o.dispatchEvent(i)}let cy;const ZP="HoverCard",[JP,pz]=LP(ZP,[VP]),Y4=VP(),[hz,e3]=JP(ZP),X4="HoverCardPortal",[vz,Q4]=JP(X4,{forceMount:void 0}),Ax="HoverCardContent",Z4=y.forwardRef(((e,t)=>{const n=Q4(Ax,e.__scopeHoverCard),{forceMount:r=n.forceMount,...o}=e,i=e3(Ax,e.__scopeHoverCard);return y.createElement(XP,{present:r||i.open},y.createElement(J4,Ce({"data-state":i.open?"open":"closed"},o,{onPointerEnter:sd(e.onPointerEnter,fS(i.onOpen)),onPointerLeave:sd(e.onPointerLeave,fS(i.onClose)),ref:t})))})),J4=y.forwardRef(((e,t)=>{const{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,...u}=e,l=e3(Ax,n),c=Y4(n),s=y.useRef(null),f=GN(t,s),[d,p]=y.useState(!1);return y.useEffect((()=>{if(d){const e=document.body;return cy=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=cy,e.style.webkitUserSelect=cy}}}),[d]),y.useEffect((()=>{if(s.current){const e=()=>{p(!1),l.isPointerDownOnContentRef.current=!1,setTimeout((()=>{var e;""!==(null===(e=document.getSelection())||void 0===e?void 0:e.toString())&&(l.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!1}}}),[l.isPointerDownOnContentRef,l.hasSelectionRef]),y.useEffect((()=>{s.current&&eD(s.current).forEach((e=>e.setAttribute("tabindex","-1")))})),y.createElement(G4,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:a,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:sd(i,(e=>{e.preventDefault()})),onDismiss:l.onDismiss},y.createElement(k4,Ce({},c,u,{onPointerDown:sd(u.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&p(!0),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!0})),ref:f,style:{...u.style,userSelect:d?"text":void 0,WebkitUserSelect:d?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))}));function fS(e){return t=>"touch"===t.pointerType?void 0:e()}function eD(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}const t3=Z4,tD=y.forwardRef((({className:e,align:t="center",sideOffset:n=4,...r},o)=>ge.jsx(t3,{ref:o,align:t,sideOffset:n,className:He("z-50 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})));tD.displayName=t3.displayName;const nD=y.forwardRef((({className:e,type:t,...n},r)=>{const{error:o}=nh();return ge.jsx("input",{type:t,className:He("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50",{"border-red-dark focus-visible:border-input focus-visible:ring-red-dark":!!o},e),ref:r,...n})}));nD.displayName="Input";const n3="Radio",[rD,r3]=Do(n3),[oD,iD]=rD(n3),aD=y.forwardRef(((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:i,disabled:a,value:u="on",onCheck:l,...c}=e,[s,f]=y.useState(null),d=Wt(t,(e=>f(e))),p=y.useRef(!1),h=!s||!!s.closest("form");return y.createElement(oD,{scope:n,checked:o,disabled:a},y.createElement(ht.button,Ce({type:"button",role:"radio","aria-checked":o,"data-state":o3(o),"data-disabled":a?"":void 0,disabled:a,value:u},c,{ref:d,onClick:et(e.onClick,(e=>{o||null==l||l(),h&&(p.current=e.isPropagationStopped(),p.current||e.stopPropagation())}))})),h&&y.createElement(lD,{control:s,bubbles:!p.current,name:r,value:u,checked:o,required:i,disabled:a,style:{transform:"translateX(-100%)"}}))})),uD="RadioIndicator",sD=y.forwardRef(((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,i=iD(uD,n);return y.createElement(pa,{present:r||i.checked},y.createElement(ht.span,Ce({"data-state":o3(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t})))})),lD=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=y.useRef(null),a=Hg(n),u=Gg(t);return y.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});o.call(e,n),e.dispatchEvent(t)}}),[a,n,r]),y.createElement("input",Ce({type:"radio","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function o3(e){return e?"checked":"unchecked"}const cD=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],i3="RadioGroup",[fD,gz]=Do(i3,[th,r3]),a3=th(),u3=r3(),[dD,pD]=fD(i3),hD=y.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:i,required:a=!1,disabled:u=!1,orientation:l,dir:c,loop:s=!0,onValueChange:f,...d}=e,p=a3(n),h=GA(c),[v,g]=Sv({prop:i,defaultProp:o,onChange:f});return y.createElement(dD,{scope:n,name:r,required:a,disabled:u,value:v,onValueChange:g},y.createElement(hb,Ce({asChild:!0},p,{orientation:l,dir:h,loop:s}),y.createElement(ht.div,Ce({role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":u?"":void 0,dir:h},d,{ref:t}))))})),vD="RadioGroupItem",gD=y.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,i=pD(vD,n),a=i.disabled||r,u=a3(n),l=u3(n),c=y.useRef(null),s=Wt(t,c),f=i.value===o.value,d=y.useRef(!1);return y.useEffect((()=>{const e=e=>{cD.includes(e.key)&&(d.current=!0)},t=()=>d.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),y.createElement(vb,Ce({asChild:!0},u,{focusable:!a,active:f}),y.createElement(aD,Ce({disabled:a,required:i.required,checked:f},l,o,{name:i.name,ref:s,onCheck:()=>i.onValueChange(o.value),onKeyDown:et((e=>{"Enter"===e.key&&e.preventDefault()})),onFocus:et(o.onFocus,(()=>{var e;d.current&&(null===(e=c.current)||void 0===e||e.click())}))})))})),mD=y.forwardRef(((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=u3(n);return y.createElement(sD,Ce({},o,r,{ref:t}))})),s3=hD,l3=gD,yD=mD,_D=y.forwardRef((({className:e,...t},n)=>ge.jsx(s3,{className:He("grid gap-2",e),...t,ref:n})));_D.displayName=s3.displayName;const wD=y.forwardRef((({className:e,...t},n)=>ge.jsx(l3,{ref:n,className:He("aspect-square h-4 w-4 rounded-full border-[1.67px] border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:ge.jsx(yD,{className:"flex items-center justify-center",children:ge.jsx(WR,{className:"h-2.5 w-2.5 fill-current text-current"})})})));function dS(e,[t,n]){return Math.min(n,Math.max(t,e))}wD.displayName=l3.displayName;const c3=y.forwardRef(((e,t)=>y.createElement(ht.span,Ce({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),xD=c3,bD=[" ","Enter","ArrowUp","ArrowDown"],$D=[" ","Enter"],tm="Select",[$b,nm,SD]=ib(tm),[oh,mz]=Do(tm,[SD,eh]),f3=eh(),[yz,ih]=oh(tm),[_z,CD]=oh(tm),ED="SelectTrigger",RD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=f3(n),a=ih(ED,n),u=a.disabled||r,l=Wt(t,a.onTriggerChange),c=nm(n),[s,f,d]=v3((e=>{const t=c().filter((e=>!e.disabled)),n=t.find((e=>e.value===a.value)),r=g3(t,e,n);void 0!==r&&a.onValueChange(r.value)})),p=()=>{u||(a.onOpenChange(!0),d())};return y.createElement(lP,Ce({asChild:!0},i),y.createElement(ht.button,Ce({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":KD(a.value)?"":void 0},o,{ref:l,onClick:et(o.onClick,(e=>{e.currentTarget.focus()})),onPointerDown:et(o.onPointerDown,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(p(),a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:et(o.onKeyDown,(e=>{const t=""!==s.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&f(e.key),(!t||" "!==e.key)&&bD.includes(e.key)&&(p(),e.preventDefault())}))})))})),AD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return y.createElement(ht.span,Ce({"aria-hidden":!0},o,{ref:t}),r||"▼")})),PD=e=>y.createElement(Vx,Ce({asChild:!0},e)),Gp="SelectContent",TD=y.forwardRef(((e,t)=>{const n=ih(Gp,e.__scopeSelect),[r,o]=y.useState();if(No((()=>{o(new DocumentFragment)}),[]),!n.open){const t=r;return t?rl.createPortal(y.createElement(d3,{scope:e.__scopeSelect},y.createElement($b.Slot,{scope:e.__scopeSelect},y.createElement("div",null,e.children))),t):null}return y.createElement(ID,Ce({},e,{ref:t}))})),Xs=10,[d3,wd]=oh(Gp),ID=y.forwardRef(((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:u,sideOffset:l,align:c,alignOffset:s,arrowPadding:f,collisionBoundary:d,collisionPadding:p,sticky:h,hideWhenDetached:v,avoidCollisions:g,...m}=e,b=ih(Gp,n),[w,_]=y.useState(null),[x,E]=y.useState(null),k=Wt(t,(e=>_(e))),[S,C]=y.useState(null),[R,N]=y.useState(null),P=nm(n),[A,O]=y.useState(!1),T=y.useRef(!1);y.useEffect((()=>{if(w)return Xx(w)}),[w]),Yx();const D=y.useCallback((e=>{const[t,...n]=P().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),null==n||n.focus(),document.activeElement!==o))return}),[P,x]),I=y.useCallback((()=>D([S,w])),[D,S,w]);y.useEffect((()=>{A&&I()}),[A,I]);const{onOpenChange:j,triggerPointerDownPosRef:L}=b;y.useEffect((()=>{if(w){let e={x:0,y:0};const t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=L.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=L.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():w.contains(n.target)||j(!1),document.removeEventListener("pointermove",t),L.current=null};return null!==L.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[w,j,L]),y.useEffect((()=>{const e=()=>j(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[j]);const[M,z]=v3((e=>{const t=P().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=g3(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),F=y.useCallback(((e,t,n)=>{const r=!T.current&&!n;(void 0!==b.value&&b.value===t||r)&&(C(e),r&&(T.current=!0))}),[b.value]),$=y.useCallback((()=>null==w?void 0:w.focus()),[w]),W=y.useCallback(((e,t,n)=>{const r=!T.current&&!n;(void 0!==b.value&&b.value===t||r)&&N(e)}),[b.value]),U="popper"===r?pS:OD,B=U===pS?{side:u,sideOffset:l,align:c,alignOffset:s,arrowPadding:f,collisionBoundary:d,collisionPadding:p,sticky:h,hideWhenDetached:v,avoidCollisions:g}:{};return y.createElement(d3,{scope:n,content:w,viewport:x,onViewportChange:E,itemRefCallback:F,selectedItem:S,onItemLeave:$,itemTextRefCallback:W,focusSelectedItem:I,selectedItemText:R,position:r,isPositioned:A,searchRef:M},y.createElement(qg,{as:ld,allowPinchZoom:!0},y.createElement(Kx,{asChild:!0,trapped:b.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:et(o,(e=>{var t;null===(t=b.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},y.createElement(zg,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>b.onOpenChange(!1)},y.createElement(U,Ce({role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:e=>e.preventDefault()},m,B,{onPlaced:()=>O(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...m.style},onKeyDown:et(m.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=P().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>D(t))),e.preventDefault()}}))}))))))})),OD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=ih(Gp,n),a=wd(Gp,n),[u,l]=y.useState(null),[c,s]=y.useState(null),f=Wt(t,(e=>s(e))),d=nm(n),p=y.useRef(!1),h=y.useRef(!0),{viewport:v,selectedItem:g,selectedItemText:m,focusSelectedItem:b}=a,w=y.useCallback((()=>{if(i.trigger&&i.valueNode&&u&&c&&v&&g&&m){const e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=m.getBoundingClientRect();if("rtl"!==i.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,l=e.width+a,c=Math.max(l,t.width),s=window.innerWidth-Xs,f=dS(i,[Xs,s-c]);u.style.minWidth=l+"px",u.style.left=f+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,l=e.width+a,c=Math.max(l,t.width),s=window.innerWidth-Xs,f=dS(i,[Xs,s-c]);u.style.minWidth=l+"px",u.style.right=f+"px"}const a=d(),l=window.innerHeight-2*Xs,s=v.scrollHeight,f=window.getComputedStyle(c),h=parseInt(f.borderTopWidth,10),y=parseInt(f.paddingTop,10),b=parseInt(f.borderBottomWidth,10),w=h+y+s+parseInt(f.paddingBottom,10)+b,_=Math.min(5*g.offsetHeight,w),x=window.getComputedStyle(v),E=parseInt(x.paddingTop,10),k=parseInt(x.paddingBottom,10),S=e.top+e.height/2-Xs,C=l-S,R=g.offsetHeight/2,N=h+y+(g.offsetTop+R),P=w-N;if(N<=S){const e=g===a[a.length-1].ref.current;u.style.bottom="0px";const t=c.clientHeight-v.offsetTop-v.offsetHeight,n=N+Math.max(C,R+(e?k:0)+t+b);u.style.height=n+"px"}else{const e=g===a[0].ref.current;u.style.top="0px";const t=Math.max(S,h+v.offsetTop+(e?E:0)+R)+P;u.style.height=t+"px",v.scrollTop=N-S+v.offsetTop}u.style.margin=`${Xs}px 0`,u.style.minHeight=_+"px",u.style.maxHeight=l+"px",null==r||r(),requestAnimationFrame((()=>p.current=!0))}}),[d,i.trigger,i.valueNode,u,c,v,g,m,i.dir,r]);No((()=>w()),[w]);const[_,x]=y.useState();No((()=>{c&&x(window.getComputedStyle(c).zIndex)}),[c]);const E=y.useCallback((e=>{e&&!0===h.current&&(w(),null==b||b(),h.current=!1)}),[w,b]);return y.createElement(kD,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:p,onScrollButtonChange:E},y.createElement("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_}},y.createElement(ht.div,Ce({},o,{ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}}))))})),pS=y.forwardRef(((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Xs,...i}=e,a=f3(n);return y.createElement(db,Ce({},a,i,{ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))})),[kD,Sb]=oh(Gp,{}),hS="SelectViewport",ND=y.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=wd(hS,n),i=Sb(hS,n),a=Wt(t,o.onViewportChange),u=y.useRef(0);return y.createElement(y.Fragment,null,y.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),y.createElement($b.Slot,{scope:n},y.createElement(ht.div,Ce({"data-radix-select-viewport":"",role:"presentation"},r,{ref:a,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:et(r.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=i;if(null!=r&&r.current&&n){const e=Math.abs(u.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*Xs,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),u=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=u>0?u:0,n.style.justifyContent="flex-end")}}}u.current=t.scrollTop}))}))))})),DD="SelectGroup",[wz,LD]=oh(DD),MD="SelectLabel",FD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=LD(MD,n);return y.createElement(ht.div,Ce({id:o.id},r,{ref:t}))})),Px="SelectItem",[zD,p3]=oh(Px),WD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,u=ih(Px,n),l=wd(Px,n),c=u.value===r,[s,f]=y.useState(i??""),[d,p]=y.useState(!1),h=Wt(t,(e=>{var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,o)})),v=sv(),g=()=>{o||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return y.createElement(zD,{scope:n,value:r,disabled:o,textId:v,isSelected:c,onItemTextChange:y.useCallback((e=>{f((t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},y.createElement($b.ItemSlot,{scope:n,value:r,disabled:o,textValue:s},y.createElement(ht.div,Ce({role:"option","aria-labelledby":v,"data-highlighted":d?"":void 0,"aria-selected":c&&d,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:h,onFocus:et(a.onFocus,(()=>p(!0))),onBlur:et(a.onBlur,(()=>p(!1))),onPointerUp:et(a.onPointerUp,g),onPointerMove:et(a.onPointerMove,(e=>{var t;o?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:et(a.onPointerLeave,(e=>{var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:et(a.onKeyDown,(e=>{var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||($D.includes(e.key)&&g()," "===e.key&&e.preventDefault())}))}))))})),yg="SelectItemText",qD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=ih(yg,n),u=wd(yg,n),l=p3(yg,n),c=CD(yg,n),[s,f]=y.useState(null),d=Wt(t,(e=>f(e)),l.onItemTextChange,(e=>{var t;return null===(t=u.itemTextRefCallback)||void 0===t?void 0:t.call(u,e,l.value,l.disabled)})),p=null==s?void 0:s.textContent,h=y.useMemo((()=>y.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},p)),[l.disabled,l.value,p]),{onNativeOptionAdd:v,onNativeOptionRemove:g}=c;return No((()=>(v(h),()=>g(h))),[v,g,h]),y.createElement(y.Fragment,null,y.createElement(ht.span,Ce({id:l.textId},i,{ref:d})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?rl.createPortal(i.children,a.valueNode):null)})),jD="SelectItemIndicator",BD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return p3(jD,n).isSelected?y.createElement(ht.span,Ce({"aria-hidden":!0},r,{ref:t})):null})),vS="SelectScrollUpButton",UD=y.forwardRef(((e,t)=>{const n=wd(vS,e.__scopeSelect),r=Sb(vS,e.__scopeSelect),[o,i]=y.useState(!1),a=Wt(t,r.onScrollButtonChange);return No((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?y.createElement(h3,Ce({},e,{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),gS="SelectScrollDownButton",HD=y.forwardRef(((e,t)=>{const n=wd(gS,e.__scopeSelect),r=Sb(gS,e.__scopeSelect),[o,i]=y.useState(!1),a=Wt(t,r.onScrollButtonChange);return No((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?y.createElement(h3,Ce({},e,{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),h3=y.forwardRef(((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=wd("SelectScrollButton",n),a=y.useRef(null),u=nm(n),l=y.useCallback((()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return y.useEffect((()=>()=>l()),[l]),No((()=>{var e;const t=u().find((e=>e.ref.current===document.activeElement));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[u]),y.createElement(ht.div,Ce({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerDown:et(o.onPointerDown,(()=>{null===a.current&&(a.current=window.setInterval(r,50))})),onPointerMove:et(o.onPointerMove,(()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))})),onPointerLeave:et(o.onPointerLeave,(()=>{l()}))}))})),GD=y.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return y.createElement(ht.div,Ce({"aria-hidden":!0},r,{ref:t}))}));function KD(e){return""===e||void 0===e}const VD=y.forwardRef(((e,t)=>{const{value:n,...r}=e,o=y.useRef(null),i=Wt(t,o),a=Hg(n);return y.useEffect((()=>{const e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[a,n]),y.createElement(c3,{asChild:!0},y.createElement("select",Ce({},r,{ref:i,defaultValue:n})))}));function v3(e){const t=Qa(e),n=y.useRef(""),r=y.useRef(0),o=y.useCallback((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=y.useCallback((()=>{n.current="",window.clearTimeout(r.current)}),[]);return y.useEffect((()=>()=>window.clearTimeout(r.current)),[]),[n,o,i]}function g3(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=YD(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.textValue.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}function YD(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}VD.displayName="BubbleSelect";const m3=RD,XD=AD,QD=PD,y3=TD,ZD=ND,_3=FD,w3=WD,JD=qD,e9=BD,x3=UD,b3=HD,$3=GD,t9=y.forwardRef((({className:e,children:t,...n},r)=>ge.jsxs(m3,{ref:r,className:He("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,ge.jsx(XD,{asChild:!0,children:ge.jsx(FR,{className:"h-4 w-4 opacity-50"})})]})));t9.displayName=m3.displayName;const S3=y.forwardRef((({className:e,...t},n)=>ge.jsx(x3,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:ge.jsx(LI,{className:"h-4 w-4"})})));S3.displayName=x3.displayName;const C3=y.forwardRef((({className:e,...t},n)=>ge.jsx(b3,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:ge.jsx(FR,{className:"h-4 w-4"})})));C3.displayName=b3.displayName;const n9=y.forwardRef((({className:e,children:t,position:n="popper",...r},o)=>ge.jsx(QD,{children:ge.jsxs(y3,{ref:o,className:He("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[ge.jsx(S3,{}),ge.jsx(ZD,{className:He("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),ge.jsx(C3,{})]})})));n9.displayName=y3.displayName;const r9=y.forwardRef((({className:e,...t},n)=>ge.jsx(_3,{ref:n,className:He("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t})));r9.displayName=_3.displayName;const o9=y.forwardRef((({className:e,children:t,...n},r)=>ge.jsxs(w3,{ref:r,className:He("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[ge.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:ge.jsx(e9,{children:ge.jsx(Wx,{className:"h-4 w-4"})})}),ge.jsx(JD,{children:t})]})));o9.displayName=w3.displayName;const i9=y.forwardRef((({className:e,...t},n)=>ge.jsx($3,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t})));i9.displayName=$3.displayName;const a9=jg,E3=y.forwardRef((({className:e,...t},n)=>ge.jsx(Qp,{className:He("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n})));E3.displayName=Qp.displayName;const u9=Bc("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),s9=y.forwardRef((({side:e="right",className:t,overlayClassName:n,children:r,...o},i)=>ge.jsxs(a9,{children:[ge.jsx(E3,{className:He("bg-slate-900/70",n)}),ge.jsxs(Zp,{ref:i,className:He(u9({side:e}),t),...o,children:[r,ge.jsxs(Bg,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[ge.jsx(qR,{className:"h-4 w-4"}),ge.jsx("span",{className:"sr-only",children:"Close"})]})]})]})));s9.displayName=Zp.displayName;const l9=y.forwardRef((({className:e,...t},n)=>ge.jsx(Cv,{ref:n,className:He("text-lg font-semibold text-foreground",e),...t})));l9.displayName=Cv.displayName;const c9=y.forwardRef((({className:e,...t},n)=>ge.jsx(Ev,{ref:n,className:He("text-sm text-muted-foreground",e),...t})));c9.displayName=Ev.displayName;const R3="Switch",[f9,xz]=Do(R3),[d9,p9]=f9(R3),h9=y.forwardRef(((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:a,disabled:u,value:l="on",onCheckedChange:c,...s}=e,[f,d]=y.useState(null),p=Wt(t,(e=>d(e))),h=y.useRef(!1),v=!f||!!f.closest("form"),[g=!1,m]=Sv({prop:o,defaultProp:i,onChange:c});return y.createElement(d9,{scope:n,checked:g,disabled:u},y.createElement(ht.button,Ce({type:"button",role:"switch","aria-checked":g,"aria-required":a,"data-state":A3(g),"data-disabled":u?"":void 0,disabled:u,value:l},s,{ref:p,onClick:et(e.onClick,(e=>{m((e=>!e)),v&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())}))})),v&&y.createElement(m9,{control:f,bubbles:!h.current,name:r,value:l,checked:g,required:a,disabled:u,style:{transform:"translateX(-100%)"}}))})),v9="SwitchThumb",g9=y.forwardRef(((e,t)=>{const{__scopeSwitch:n,...r}=e,o=p9(v9,n);return y.createElement(ht.span,Ce({"data-state":A3(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),m9=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=y.useRef(null),a=Hg(n),u=Gg(t);return y.useEffect((()=>{const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set;if(a!==n&&o){const t=new Event("click",{bubbles:r});o.call(e,n),e.dispatchEvent(t)}}),[a,n,r]),y.createElement("input",Ce({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function A3(e){return e?"checked":"unchecked"}const P3=h9,y9=g9,_9=y.forwardRef((({className:e,...t},n)=>ge.jsx(P3,{className:He("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:!bg-slate-100 data-[state=checked]:bg-slate-700 data-[state=unchecked]:bg-input md:h-[18px] md:w-8",e),...t,ref:n,children:ge.jsx(y9,{className:He("pointer-events-none block size-[20px] rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[20px] data-[state=unchecked]:translate-x-0 md:size-[14px] md:data-[state=checked]:translate-x-[14px]")})})));_9.displayName=P3.displayName;const T3="Tabs",[w9,bz]=Do(T3,[th]),I3=th(),[$z,Cb]=w9(T3),x9="TabsList",b9=y.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=Cb(x9,n),a=I3(n);return y.createElement(hb,Ce({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),y.createElement(ht.div,Ce({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))})),$9="TabsTrigger",S9=y.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=Cb($9,n),u=I3(n),l=O3(a.baseId,r),c=k3(a.baseId,r),s=r===a.value;return y.createElement(vb,Ce({asChild:!0},u,{focusable:!o,active:s}),y.createElement(ht.button,Ce({type:"button",role:"tab","aria-selected":s,"aria-controls":c,"data-state":s?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},i,{ref:t,onMouseDown:et(e.onMouseDown,(e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(r)})),onKeyDown:et(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(r)})),onFocus:et(e.onFocus,(()=>{const e="manual"!==a.activationMode;!s&&!o&&e&&a.onValueChange(r)}))})))})),C9="TabsContent",E9=y.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,u=Cb(C9,n),l=O3(u.baseId,r),c=k3(u.baseId,r),s=r===u.value,f=y.useRef(s);return y.useEffect((()=>{const e=requestAnimationFrame((()=>f.current=!1));return()=>cancelAnimationFrame(e)}),[]),y.createElement(pa,{present:o||s},(({present:n})=>y.createElement(ht.div,Ce({"data-state":s?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),n&&i)))}));function O3(e,t){return`${e}-trigger-${t}`}function k3(e,t){return`${e}-content-${t}`}const N3=b9,D3=S9,L3=E9,R9=y.forwardRef((({className:e,useDefaults:t=!0,...n},r)=>ge.jsx(N3,{ref:r,"data-testid":"tabsList",className:t?He("inline-flex items-center justify-center border-b border-slate-200 bg-white p-0 text-muted-foreground",e):e,...n})));R9.displayName=N3.displayName;const A9=y.forwardRef((({className:e,useDefaults:t=!0,...n},r)=>ge.jsx(D3,{ref:r,className:t?He("m-b-[-1px] inline-flex items-center justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring border-b-2 border-transparent focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-blue_100",e):e,...n})));A9.displayName=D3.displayName;const P9=y.forwardRef((({className:e,...t},n)=>ge.jsx(L3,{ref:n,className:He("ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t})));P9.displayName=L3.displayName;const T9=y.forwardRef((({className:e,...t},n)=>{const{error:r}=nh();return ge.jsx("textarea",{className:He(`flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-400 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${!!r&&"border-rose-600 focus-visible:ring-rose-600"}`,e),ref:n,...t})}));T9.displayName="Textarea";const[rm,Sz]=Do("Tooltip",[eh]),I9=eh(),O9="TooltipProvider",mS="tooltip.open",[Cz,k9]=rm(O9),M3="Tooltip",[Ez,Eb]=rm(M3),N9="TooltipPortal",[Rz,D9]=rm(N9,{forceMount:void 0}),wv="TooltipContent",L9=y.forwardRef(((e,t)=>{const n=D9(wv,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=Eb(wv,e.__scopeTooltip);return y.createElement(pa,{present:r||a.open},a.disableHoverableContent?y.createElement(F3,Ce({side:o},i,{ref:t})):y.createElement(M9,Ce({side:o},i,{ref:t})))})),M9=y.forwardRef(((e,t)=>{const n=Eb(wv,e.__scopeTooltip),r=k9(wv,e.__scopeTooltip),o=y.useRef(null),i=Wt(t,o),[a,u]=y.useState(null),{trigger:l,onClose:c}=n,s=o.current,{onPointerInTransitChange:f}=r,d=y.useCallback((()=>{u(null),f(!1)}),[f]),p=y.useCallback(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=B9([...W9(r,z9(r,n.getBoundingClientRect())),...q9(t.getBoundingClientRect())]);u(o),f(!0)}),[f]);return y.useEffect((()=>()=>d()),[d]),y.useEffect((()=>{if(l&&s){const e=e=>p(e,s),t=e=>p(e,l);return l.addEventListener("pointerleave",e),s.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),s.removeEventListener("pointerleave",t)}}}),[l,s,p,d]),y.useEffect((()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==s?void 0:s.contains(t)),o=!j9(n,a);r?d():o&&(d(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[l,s,a,c,d]),y.createElement(F3,Ce({},e,{ref:i}))})),[F9,Az]=rm(M3,{isInside:!1}),F3=y.forwardRef(((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...u}=e,l=Eb(wv,n),c=I9(n),{onClose:s}=l;return y.useEffect((()=>(document.addEventListener(mS,s),()=>document.removeEventListener(mS,s))),[s]),y.useEffect((()=>{if(l.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(l.trigger)&&s()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[l.trigger,s]),y.createElement(zg,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:s},y.createElement(db,Ce({"data-state":l.stateAttribute},c,u,{ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),y.createElement(Gx,null,r),y.createElement(F9,{scope:n,isInside:!0},y.createElement(xD,{id:l.contentId,role:"tooltip"},o||r))))}));function z9(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function W9(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function q9(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function j9(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,u=t[e].y,l=t[i].x,c=t[i].y;u>r!=c>r&&n<(l-a)*(r-u)/(c-u)+a&&(o=!o)}return o}function B9(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),U9(t)}function U9(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const z3=L9,H9=Bc("z-50 overflow-hidden shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",{variants:{size:{default:"rounded-md border text-sm px-3 py-1.5",small:"rounded-md border px-[11px] py-[3px] text-base leading-[16px]"},theme:{default:"bg-popover text-popover-foreground",dark:"bg-slate-900_90 text-slate-50"},defaultVariants:{size:"small",theme:"dark"}}}),G9=y.forwardRef((({className:e,sideOffset:t=1,size:n,theme:r,...o},i)=>ge.jsx(z3,{ref:i,sideOffset:t,className:He(H9({size:n,theme:r,className:e})),...o})));function K9(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function V9(e){return K9(e)&&"type"in e&&"string"==typeof e.type}G9.displayName=z3.displayName;var W3=Symbol.for("immer-nothing"),yS=Symbol.for("immer-draftable"),Oi=Symbol.for("immer-state");function Va(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Kp=Object.getPrototypeOf;function jc(e){return!!e&&!!e[Oi]}function nl(e){var t;return!!e&&(q3(e)||Array.isArray(e)||!!e[yS]||!(null==(t=e.constructor)||!t[yS])||im(e)||am(e))}var Y9=Object.prototype.constructor.toString();function q3(e){if(!e||"object"!=typeof e)return!1;const t=Kp(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Y9}function xv(e,t){0===om(e)?Object.entries(e).forEach((([n,r])=>{t(n,r,e)})):e.forEach(((n,r)=>t(r,n,e)))}function om(e){const t=e[Oi];return t?t.type_:Array.isArray(e)?1:im(e)?2:am(e)?3:0}function Tx(e,t){return 2===om(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function j3(e,t,n){const r=om(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function X9(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function im(e){return e instanceof Map}function am(e){return e instanceof Set}function rd(e){return e.copy_||e.base_}function Ix(e,t){if(im(e))return new Map(e);if(am(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&q3(e))return Kp(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[Oi];let r=Reflect.ownKeys(n);for(let t=0;t<r.length;t++){const o=r[t],i=n[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(n[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Kp(e),n)}function Rb(e,t=!1){return um(e)||jc(e)||!nl(e)||(om(e)>1&&(e.set=e.add=e.clear=e.delete=Q9),Object.freeze(e),t&&xv(e,((e,t)=>Rb(t,!0)))),e}function Q9(){Va(2)}function um(e){return Object.isFrozen(e)}var bv,Z9={};function hd(e){const t=Z9[e];return t||Va(0,e),t}function B3(){return bv}function J9(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _S(e,t){t&&(hd("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ox(e){kx(e),e.drafts_.forEach(eL),e.drafts_=null}function kx(e){e===bv&&(bv=e.parent_)}function wS(e){return bv=J9(bv,e)}function eL(e){const t=e[Oi];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function xS(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[Oi].modified_&&(Ox(t),Va(4)),nl(e)&&(e=Lg(t,e),t.parent_||Mg(t,e)),t.patches_&&hd("Patches").generateReplacementPatches_(n[Oi].base_,e,t.patches_,t.inversePatches_)):e=Lg(t,n,[]),Ox(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==W3?e:void 0}function Lg(e,t,n){if(um(t))return t;const r=t[Oi];if(!r)return xv(t,((o,i)=>bS(e,r,t,o,i,n))),t;if(r.scope_!==e)return t;if(!r.modified_)return Mg(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const t=r.copy_;let o=t,i=!1;3===r.type_&&(o=new Set(t),t.clear(),i=!0),xv(o,((o,a)=>bS(e,r,t,o,a,n,i))),Mg(e,t,!1),n&&e.patches_&&hd("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function bS(e,t,n,r,o,i,a){if(jc(o)){const a=Lg(e,o,i&&t&&3!==t.type_&&!Tx(t.assigned_,r)?i.concat(r):void 0);if(j3(n,r,a),!jc(a))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(nl(o)&&!um(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Lg(e,o),(!t||!t.scope_.parent_)&&Mg(e,o)}}function Mg(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Rb(t,n)}function tL(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:B3(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=Ab;n&&(o=[r],i=$v);const{revoke:a,proxy:u}=Proxy.revocable(o,i);return r.draft_=u,r.revoke_=a,u}var Ab={get(e,t){if(t===Oi)return e;const n=rd(e);if(!Tx(n,t))return nL(e,n,t);const r=n[t];return e.finalized_||!nl(r)?r:r===fy(e.base_,t)?(dy(e),e.copy_[t]=Dx(r,e)):r},has:(e,t)=>t in rd(e),ownKeys:e=>Reflect.ownKeys(rd(e)),set(e,t,n){const r=U3(rd(e),t);if(null!=r&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=fy(rd(e),t),o=null==r?void 0:r[Oi];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(X9(n,r)&&(void 0!==n||Tx(e.base_,t)))return!0;dy(e),Nx(e)}return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==fy(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,dy(e),Nx(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=rd(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}},defineProperty(){Va(11)},getPrototypeOf:e=>Kp(e.base_),setPrototypeOf(){Va(12)}},$v={};function fy(e,t){const n=e[Oi];return(n?rd(n):e)[t]}function nL(e,t,n){var r;const o=U3(t,n);return o?"value"in o?o.value:null==(r=o.get)?void 0:r.call(e.draft_):void 0}function U3(e,t){if(!(t in e))return;let n=Kp(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Kp(n)}}function Nx(e){e.modified_||(e.modified_=!0,e.parent_&&Nx(e.parent_))}function dy(e){e.copy_||(e.copy_=Ix(e.base_,e.scope_.immer_.useStrictShallowCopy_))}xv(Ab,((e,t)=>{$v[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$v.deleteProperty=function(e,t){return $v.set.call(this,e,t,void 0)},$v.set=function(e,t,n){return Ab.set.call(this,e[0],t,n,e[0])};var rL=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,(e=>t.call(this,e,...o)))}}let r;if("function"!=typeof t&&Va(6),void 0!==n&&"function"!=typeof n&&Va(7),nl(e)){const o=wS(this),i=Dx(e,void 0);let a=!0;try{r=t(i),a=!1}finally{a?Ox(o):kx(o)}return _S(o,n),xS(r,o)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===W3&&(r=void 0),this.autoFreeze_&&Rb(r,!0),n){const t=[],o=[];hd("Patches").generateReplacementPatches_(e,r,t,o),n(t,o)}return r}Va(1,e)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>{n=e,r=t})),n,r]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){nl(e)||Va(8),jc(e)&&(e=H3(e));const t=wS(this),n=Dx(e,void 0);return n[Oi].isManual_=!0,kx(t),n}finishDraft(e,t){const n=e&&e[Oi];(!n||!n.isManual_)&&Va(9);const{scope_:r}=n;return _S(r,t),xS(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=hd("Patches").applyPatches_;return jc(e)?r(e,t):this.produce(e,(e=>r(e,t)))}};function Dx(e,t){const n=im(e)?hd("MapSet").proxyMap_(e,t):am(e)?hd("MapSet").proxySet_(e,t):tL(e,t);return(t?t.scope_:B3()).drafts_.push(n),n}function H3(e){return jc(e)||Va(10,e),G3(e)}function G3(e){if(!nl(e)||um(e))return e;const t=e[Oi];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ix(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Ix(e,!0);return xv(n,((e,t)=>{j3(n,e,G3(t))})),t&&(t.finalized_=!1),n}var ki=new rL,K3=ki.produce;function oL(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}function iL(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}function aL(e,t="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"==typeof e))){const n=e.map((e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ");throw new TypeError(`${t}[${n}]`)}}ki.produceWithPatches.bind(ki),ki.setAutoFreeze.bind(ki),ki.setUseStrictShallowCopy.bind(ki),ki.applyPatches.bind(ki),ki.createDraft.bind(ki),ki.finishDraft.bind(ki);var $S=e=>Array.isArray(e)?e:[e];function uL(e){const t=Array.isArray(e[0])?e[0]:e;return aL(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function sL(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}var lL=class{constructor(e){this.value=e}deref(){return this.value}},cL=typeof WeakRef<"u"?WeakRef:lL,fL=0,SS=1;function _g(){return{s:fL,v:void 0,o:null,p:null}}function Pb(e,t={}){let n=_g();const{resultEqualityCheck:r}=t;let o,i=0;function a(){var t;let a=n;const{length:u}=arguments;for(let e=0,t=u;e<t;e++){const t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=a.o;null===e&&(a.o=e=new WeakMap);const n=e.get(t);void 0===n?(a=_g(),e.set(t,a)):a=n}else{let e=a.p;null===e&&(a.p=e=new Map);const n=e.get(t);void 0===n?(a=_g(),e.set(t,a)):a=n}}const l=a;let c;if(a.s===SS?c=a.v:(c=e.apply(null,arguments),i++),l.s=SS,r){const e=(null==(t=null==o?void 0:o.deref)?void 0:t.call(o))??o;null!=e&&r(e,c)&&(c=e,0!==i&&i--),o="object"==typeof c&&null!==c||"function"==typeof c?new cL(c):c}return l.v=c,c}return a.clearCache=()=>{n=_g(),a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function V3(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,i={},a=e.pop();"object"==typeof a&&(i=a,a=e.pop()),oL(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const u={...n,...i},{memoize:l,memoizeOptions:c=[],argsMemoize:s=Pb,argsMemoizeOptions:f=[],devModeChecks:d={}}=u,p=$S(c),h=$S(f),v=uL(e),y=l((function(){return r++,a.apply(null,arguments)}),...p),g=s((function(){o++;const e=sL(v,arguments);return t=y.apply(null,e),t}),...h);return Object.assign(g,{resultFunc:a,memoizedResultFunc:y,dependencies:v,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:l,argsMemoize:s})};return Object.assign(r,{withTypes:()=>r}),r}var dL=V3(Pb),pL=Object.assign(((e,t=dL)=>{iL(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map((t=>e[t])),((...e)=>e.reduce(((e,t,r)=>(e[n[r]]=t,e)),{})))}),{withTypes:()=>pL}),hL=(...e)=>{const t=V3(...e),n=Object.assign(((...e)=>{const n=t(...e),r=(e,...t)=>n(jc(e)?H3(e):e,...t);return Object.assign(r,n),r}),{withTypes:()=>n});return n};function Vp(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw new Error(Ii(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>V9(t)&&t.type===e,n}function CS(e){return nl(e)?K3(e,(()=>{})):e}function ES(e,t,n){if(e.has(t)){let r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(Ii(10));const r=n.insert(t,e);return e.set(t,r),r}function Y3(e){const t={},n=[];let r;const o={addCase(e,n){const r="string"==typeof e?e:e.type;if(!r)throw new Error(Ii(28));if(r in t)throw new Error(Ii(29));return t[r]=n,o},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),o),addDefaultCase:e=>(r=e,o)};return e(o),[t,n,r]}function vL(e){return"function"==typeof e}function gL(e,t){let n,[r,o,i]=Y3(t);if(vL(e))n=()=>CS(e());else{const t=CS(e);n=()=>t}function a(e=n(),t){let a=[r[t.type],...o.filter((({matcher:e})=>e(t))).map((({reducer:e})=>e))];return 0===a.filter((e=>!!e)).length&&(a=[i]),a.reduce(((e,n)=>{if(n){if(jc(e)){const r=n(e,t);return void 0===r?e:r}if(nl(e))return K3(e,(e=>n(e,t)));{const r=n(e,t);if(void 0===r){if(null===e)return e;throw new Error(Ii(9))}return r}}return e}),e)}return a.getInitialState=n,a}hL(Pb);var mL="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",yL=(e=21)=>{let t="",n=e;for(;n--;)t+=mL[64*Math.random()|0];return t},_L=Symbol.for("rtk-slice-createasyncthunk");function wL(e,t){return`${e}/${t}`}function xL({creators:e}={}){var t;const n=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[_L];return function(e){const{name:t,reducerPath:r=t}=e;if(!t)throw new Error(Ii(11));const o=("function"==typeof e.reducers?e.reducers(SL()):e.reducers)||{},i=Object.keys(o),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},u={addCase(e,t){const n="string"==typeof e?e:e.type;if(!n)throw new Error(Ii(12));if(n in a.sliceCaseReducersByType)throw new Error(Ii(13));return a.sliceCaseReducersByType[n]=t,u},addMatcher:(e,t)=>(a.sliceMatchers.push({matcher:e,reducer:t}),u),exposeAction:(e,t)=>(a.actionCreators[e]=t,u),exposeCaseReducer:(e,t)=>(a.sliceCaseReducersByName[e]=t,u)};function l(){const[t={},n=[],r]="function"==typeof e.extraReducers?Y3(e.extraReducers):[e.extraReducers],o={...t,...a.sliceCaseReducersByType};return gL(e.initialState,(e=>{for(let t in o)e.addCase(t,o[t]);for(let t of a.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)}))}i.forEach((r=>{const i=o[r],a={reducerName:r,type:wL(t,r),createNotation:"function"==typeof e.reducers};EL(i)?AL(a,i,u,n):CL(a,i,u)}));const c=e=>e,s=new Map;let f;function d(e,t){return f||(f=l()),f(e,t)}function p(){return f||(f=l()),f.getInitialState()}function h(t,n=!1){function r(e){let r=e[t];return typeof r>"u"&&n&&(r=p()),r}function o(t=c){const r=ES(s,n,{insert:()=>new WeakMap});return ES(r,t,{insert:()=>{const r={};for(const[o,i]of Object.entries(e.selectors??{}))r[o]=bL(i,t,p,n);return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}const v={name:t,reducer:d,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:p,...h(r),injectInto(e,{reducerPath:t,...n}={}){const o=t??r;return e.inject({reducerPath:o,reducer:d},n),{...v,...h(o,!0)}}};return v}}function bL(e,t,n,r){function o(o,...i){let a=t(o);return typeof a>"u"&&r&&(a=n()),e(a,...i)}return o.unwrapped=e,o}var $L=xL();function SL(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}function CL({type:e,reducerName:t,createNotation:n},r,o){let i,a;if("reducer"in r){if(n&&!RL(r))throw new Error(Ii(17));i=r.reducer,a=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?Vp(e,a):Vp(e))}function EL(e){return"asyncThunk"===e._reducerDefinitionType}function RL(e){return"reducerWithPrepare"===e._reducerDefinitionType}function AL({type:e,reducerName:t},n,r,o){if(!o)throw new Error(Ii(18));const{payloadCreator:i,fulfilled:a,pending:u,rejected:l,settled:c,options:s}=n,f=o(e,i,s);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),u&&r.addCase(f.pending,u),l&&r.addCase(f.rejected,l),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:a||wg,pending:u||wg,rejected:l||wg,settled:c||wg})}function wg(){}var PL=(e,t)=>{if("function"!=typeof e)throw new Error(Ii(32))},Tb="listenerMiddleware",TL=e=>{let{type:t,actionCreator:n,matcher:r,predicate:o,effect:i}=e;if(t)o=Vp(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(Ii(21));return PL(i),{predicate:o,type:t,effect:i}},IL=Object.assign((e=>{const{type:t,predicate:n,effect:r}=TL(e);return{id:yL(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Ii(22))}}}),{withTypes:()=>IL}),OL=Object.assign(Vp(`${Tb}/add`),{withTypes:()=>OL});Vp(`${Tb}/removeAll`);var kL=Object.assign(Vp(`${Tb}/remove`),{withTypes:()=>kL});function Ii(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const NL=()=>{const e=window.innerWidth;return e<768?"mobile":e<1024?"tablet":"desktop"},DL={deviceType:NL()};var py,RS,hy,AS,vy,PS,gy,TS,my,IS,yy,OS,_y,kS,wy,NS,xy,DS,by,LS,$y,MS,Sy,FS,Cy,zS,Ey,WS,Ry,qS,Ay,jS,Py,BS,Ty,US,Iy,HS,Oy,GS,ky,KS,Ny,VS,Dy,YS,Ly,XS,My,QS,Fy,ZS,zy,JS,Wy,eC,qy,tC,jy,nC,By,rC,Uy,oC,Hy,iC,Gy,aC,Ky,uC,Vy,sC,Yy,lC,Xy,cC,Qy,fC,Zy,dC,Jy,pC,e1,hC,t1,vC,n1,gC,r1,mC,o1,yC,i1,_C,a1,wC,u1,xC,s1,bC,l1,$C,c1,SC,f1,CC,d1,EC,p1,RC,h1,AC,v1,PC,g1,TC,m1,IC,y1,OC,_1,kC,w1,NC,x1,DC,b1,LC,$1,MC,S1,FC,C1,zC,E1,WC,R1,qC,A1,jC,P1,BC,T1,UC,I1,HC,O1,GC,k1,KC,N1,VC,D1,YC,L1,XC;function Ib(){if(RS)return py;return RS=1,py=function(e){return e}}function X3(){if(AS)return hy;AS=1;var e="object"==typeof fa&&fa&&fa.Object===Object&&fa;return hy=e}function Lo(){if(PS)return vy;PS=1;var e=X3(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return vy=n}function ah(){if(TS)return gy;TS=1;var e=Lo().Symbol;return gy=e}function LL(){if(IS)return my;IS=1;var e=ah(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return my=function(e){var t=n.call(e,o),i=e[o];try{e[o]=void 0;var a=!0}catch{}var u=r.call(e);return a&&(t?e[o]=i:delete e[o]),u}}function ML(){if(OS)return yy;OS=1;var e=Object.prototype.toString;return yy=function(t){return e.call(t)}}function xd(){if(kS)return _y;kS=1;var e=ah(),t=LL(),n=ML(),r=e?e.toStringTag:void 0;return _y=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function al(){if(NS)return wy;return NS=1,wy=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Ob(){if(DS)return xy;DS=1;var e=xd(),t=al();return xy=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function FL(){if(LS)return by;LS=1;var e=Lo()["__core-js_shared__"];return by=e}function zL(){if(MS)return $y;MS=1;var e,t=FL(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return $y=function(e){return!!n&&n in e},$y}function Q3(){if(FS)return Sy;FS=1;var e=Function.prototype.toString;return Sy=function(t){if(null!=t){try{return e.call(t)}catch{}try{return t+""}catch{}}return""}}function WL(){if(zS)return Cy;zS=1;var e=Ob(),t=zL(),n=al(),r=Q3(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,u=i.toString,l=a.hasOwnProperty,c=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Cy=function(i){return!(!n(i)||t(i))&&(e(i)?c:o).test(r(i))}}function qL(){if(WS)return Ey;return WS=1,Ey=function(e,t){return null==e?void 0:e[t]}}function bd(){if(qS)return Ry;qS=1;var e=WL(),t=qL();return Ry=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function Z3(){if(jS)return Ay;jS=1;var e=bd()(Lo(),"WeakMap");return Ay=e}function J3(){if(BS)return Py;BS=1;var e=Z3(),t=e&&new e;return Py=t}function eT(){if(US)return Ty;US=1;var e=Ib(),t=J3();return Ty=t?function(e,n){return t.set(e,n),e}:e}function sm(){if(HS)return Iy;HS=1;var e=al(),t=Object.create;return Iy=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var o=new n;return n.prototype=void 0,o}}()}function lm(){if(GS)return Oy;GS=1;var e=sm(),t=al();return Oy=function(n){return function(){var r=arguments;switch(r.length){case 0:return new n;case 1:return new n(r[0]);case 2:return new n(r[0],r[1]);case 3:return new n(r[0],r[1],r[2]);case 4:return new n(r[0],r[1],r[2],r[3]);case 5:return new n(r[0],r[1],r[2],r[3],r[4]);case 6:return new n(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new n(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var o=e(n.prototype),i=n.apply(o,r);return t(i)?i:o}},Oy}function jL(){if(KS)return ky;KS=1;var e=lm(),t=Lo();return ky=function(n,r,o){var i=1&r,a=e(n);return function e(){return(this&&this!==t&&this instanceof e?a:n).apply(i?o:this,arguments)}},ky}function kb(){if(VS)return Ny;return VS=1,Ny=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}}function tT(){if(YS)return Dy;YS=1;var e=Math.max;return Dy=function(t,n,r,o){for(var i=-1,a=t.length,u=r.length,l=-1,c=n.length,s=e(a-u,0),f=Array(c+s),d=!o;++l<c;)f[l]=n[l];for(;++i<u;)(d||i<a)&&(f[r[i]]=t[i]);for(;s--;)f[l++]=t[i++];return f}}function nT(){if(XS)return Ly;XS=1;var e=Math.max;return Ly=function(t,n,r,o){for(var i=-1,a=t.length,u=-1,l=r.length,c=-1,s=n.length,f=e(a-l,0),d=Array(f+s),p=!o;++i<f;)d[i]=t[i];for(var h=i;++c<s;)d[h+c]=n[c];for(;++u<l;)(p||i<a)&&(d[h+r[u]]=t[i++]);return d}}function BL(){if(QS)return My;return QS=1,My=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}}function Nb(){if(ZS)return Fy;return ZS=1,Fy=function(){}}function Db(){if(JS)return zy;JS=1;var e=sm(),t=Nb();function n(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}return n.prototype=e(t.prototype),n.prototype.constructor=n,zy=n}function UL(){if(eC)return Wy;return eC=1,Wy=function(){}}function rT(){if(tC)return qy;tC=1;var e=J3(),t=UL();return qy=e?function(t){return e.get(t)}:t}function HL(){if(nC)return jy;nC=1;return jy={}}function GL(){if(rC)return By;rC=1;var e=HL(),t=Object.prototype.hasOwnProperty;return By=function(n){for(var r=n.name+"",o=e[r],i=t.call(e,r)?o.length:0;i--;){var a=o[i],u=a.func;if(null==u||u==n)return a.name}return r}}function oT(){if(oC)return Uy;oC=1;var e=sm(),t=Nb();function n(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}return n.prototype=e(t.prototype),n.prototype.constructor=n,Uy=n}function Ni(){if(iC)return Hy;iC=1;var e=Array.isArray;return Hy=e}function Za(){if(aC)return Gy;return aC=1,Gy=function(e){return null!=e&&"object"==typeof e}}function cm(){if(uC)return Ky;return uC=1,Ky=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}}function KL(){if(sC)return Vy;sC=1;var e=Db(),t=oT(),n=cm();return Vy=function(r){if(r instanceof e)return r.clone();var o=new t(r.__wrapped__,r.__chain__);return o.__actions__=n(r.__actions__),o.__index__=r.__index__,o.__values__=r.__values__,o}}function VL(){if(lC)return Yy;lC=1;var e=Db(),t=oT(),n=Nb(),r=Ni(),o=Za(),i=KL(),a=Object.prototype.hasOwnProperty;function u(n){if(o(n)&&!r(n)&&!(n instanceof e)){if(n instanceof t)return n;if(a.call(n,"__wrapped__"))return i(n)}return new t(n)}return u.prototype=n.prototype,u.prototype.constructor=u,Yy=u}function YL(){if(cC)return Xy;cC=1;var e=Db(),t=rT(),n=GL(),r=VL();return Xy=function(o){var i=n(o),a=r[i];if("function"!=typeof a||!(i in e.prototype))return!1;if(o===a)return!0;var u=t(a);return!!u&&o===u[0]}}function iT(){if(fC)return Qy;fC=1;var e=Date.now;return Qy=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},Qy}function aT(){if(dC)return Zy;dC=1;var e=eT(),t=iT()(e);return Zy=t}function XL(){if(pC)return Jy;pC=1;var e=/\{\n\/\* \[wrapped with (.+)\] \*/,t=/,? & /;return Jy=function(n){var r=n.match(e);return r?r[1].split(t):[]}}function QL(){if(hC)return e1;hC=1;var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;return e1=function(t,n){var r=n.length;if(!r)return t;var o=r-1;return n[o]=(r>1?"& ":"")+n[o],n=n.join(r>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+n+"] */\n")}}function ZL(){if(vC)return t1;return vC=1,t1=function(e){return function(){return e}}}function uT(){if(gC)return n1;gC=1;var e=bd(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}}();return n1=t}function JL(){if(mC)return r1;mC=1;var e=ZL(),t=uT(),n=Ib();return r1=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function sT(){if(yC)return o1;yC=1;var e=JL(),t=iT()(e);return o1=t}function Lb(){if(_C)return i1;return _C=1,i1=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}}function eM(){if(wC)return a1;return wC=1,a1=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}}function tM(){if(xC)return u1;return xC=1,u1=function(e){return e!=e}}function nM(){if(bC)return s1;return bC=1,s1=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}}function rM(){if($C)return l1;$C=1;var e=eM(),t=tM(),n=nM();return l1=function(r,o,i){return o==o?n(r,o,i):e(r,t,i)}}function oM(){if(SC)return c1;SC=1;var e=rM();return c1=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1}}function iM(){if(CC)return f1;CC=1;var e=Lb(),t=oM(),n=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];return f1=function(r,o){return e(n,(function(e){var n="_."+e[0];o&e[1]&&!t(r,n)&&r.push(n)})),r.sort()}}function lT(){if(EC)return d1;EC=1;var e=XL(),t=QL(),n=sT(),r=iM();return d1=function(o,i,a){var u=i+"";return n(o,t(u,r(e(u),a)))}}function cT(){if(RC)return p1;RC=1;var e=YL(),t=aT(),n=lT();return p1=function(r,o,i,a,u,l,c,s,f,d){var p=8&o;o|=p?32:64,4&(o&=~(p?64:32))||(o&=-4);var h=[r,o,u,p?l:void 0,p?c:void 0,p?void 0:l,p?void 0:c,s,f,d],v=i.apply(void 0,h);return e(r)&&t(v,h),v.placeholder=a,n(v,r,o)}}function fT(){if(AC)return h1;return AC=1,h1=function(e){return e.placeholder}}function Mb(){if(PC)return v1;PC=1;var e=/^(?:0|[1-9]\d*)$/;return v1=function(t,n){var r=typeof t;return!!(n=n??9007199254740991)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function aM(){if(TC)return g1;TC=1;var e=cm(),t=Mb(),n=Math.min;return g1=function(r,o){for(var i=r.length,a=n(o.length,i),u=e(r);a--;){var l=o[a];r[a]=t(l,i)?u[l]:void 0}return r}}function Fb(){if(IC)return m1;IC=1;var e="__lodash_placeholder__";return m1=function(t,n){for(var r=-1,o=t.length,i=0,a=[];++r<o;){var u=t[r];(u===n||u===e)&&(t[r]=e,a[i++]=r)}return a}}function dT(){if(OC)return y1;OC=1;var e=tT(),t=nT(),n=BL(),r=lm(),o=cT(),i=fT(),a=aM(),u=Fb(),l=Lo();return y1=function c(s,f,d,p,h,v,y,g,m,b){var w=128&f,_=1&f,x=2&f,E=24&f,k=512&f,S=x?void 0:r(s);return function C(){for(var R=arguments.length,N=Array(R),P=R;P--;)N[P]=arguments[P];if(E)var A=i(C),O=n(N,A);if(p&&(N=e(N,p,h,E)),v&&(N=t(N,v,y,E)),R-=O,E&&R<b){var T=u(N,A);return o(s,f,c,C.placeholder,d,N,T,g,m,b-R)}var D=_?d:this,I=x?D[s]:s;return R=N.length,g?N=a(N,g):k&&R>1&&N.reverse(),w&&m<R&&(N.length=m),this&&this!==l&&this instanceof C&&(I=S||r(I)),I.apply(D,N)}},y1}function uM(){if(kC)return _1;kC=1;var e=kb(),t=lm(),n=dT(),r=cT(),o=fT(),i=Fb(),a=Lo();return _1=function(u,l,c){var s=t(u);return function t(){for(var f=arguments.length,d=Array(f),p=f,h=o(t);p--;)d[p]=arguments[p];var v=f<3&&d[0]!==h&&d[f-1]!==h?[]:i(d,h);return(f-=v.length)<c?r(u,l,n,t.placeholder,void 0,d,v,void 0,void 0,c-f):e(this&&this!==a&&this instanceof t?s:u,this,d)}},_1}function sM(){if(NC)return w1;NC=1;var e=kb(),t=lm(),n=Lo();return w1=function(r,o,i,a){var u=1&o,l=t(r);return function t(){for(var o=-1,c=arguments.length,s=-1,f=a.length,d=Array(f+c),p=this&&this!==n&&this instanceof t?l:r;++s<f;)d[s]=a[s];for(;c--;)d[s++]=arguments[++o];return e(p,u?i:this,d)}},w1}function lM(){if(DC)return x1;DC=1;var e=tT(),t=nT(),n=Fb(),r="__lodash_placeholder__",o=128,i=Math.min;return x1=function(a,u){var l=a[1],c=u[1],s=l|c,f=s<131,d=c==o&&8==l||c==o&&256==l&&a[7].length<=u[8]||384==c&&u[7].length<=u[8]&&8==l;if(!f&&!d)return a;1&c&&(a[2]=u[2],s|=1&l?0:4);var p=u[3];if(p){var h=a[3];a[3]=h?e(h,p,u[4]):p,a[4]=h?n(a[3],r):u[4]}return(p=u[5])&&(h=a[5],a[5]=h?t(h,p,u[6]):p,a[6]=h?n(a[5],r):u[6]),(p=u[7])&&(a[7]=p),c&o&&(a[8]=null==a[8]?u[8]:i(a[8],u[8])),null==a[9]&&(a[9]=u[9]),a[0]=u[0],a[1]=s,a}}function cM(){if(LC)return b1;LC=1;var e=/\s/;return b1=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}function fM(){if(MC)return $1;MC=1;var e=cM(),t=/^\s+/;return $1=function(n){return n&&n.slice(0,e(n)+1).replace(t,"")}}function kv(){if(FC)return S1;FC=1;var e=xd(),t=Za();return S1=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function pT(){if(zC)return C1;zC=1;var e=fM(),t=al(),n=kv(),r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt;return C1=function(u){if("number"==typeof u)return u;if(n(u))return NaN;if(t(u)){var l="function"==typeof u.valueOf?u.valueOf():u;u=t(l)?l+"":l}if("string"!=typeof u)return 0===u?u:+u;u=e(u);var c=o.test(u);return c||i.test(u)?a(u.slice(2),c?2:8):r.test(u)?NaN:+u}}function dM(){if(WC)return E1;WC=1;var e=pT(),t=1/0;return E1=function(n){return n?(n=e(n))===t||n===-t?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}}function hT(){if(qC)return R1;qC=1;var e=dM();return R1=function(t){var n=e(t),r=n%1;return n==n?r?n-r:n:0}}function zb(){if(jC)return A1;jC=1;var e=eT(),t=jL(),n=uM(),r=dT(),o=sM(),i=rT(),a=lM(),u=aT(),l=lT(),c=hT(),s=Math.max;return A1=function(f,d,p,h,v,y,g,m){var b=2&d;if(!b&&"function"!=typeof f)throw new TypeError("Expected a function");var w=h?h.length:0;if(w||(d&=-97,h=v=void 0),g=void 0===g?g:s(c(g),0),m=void 0===m?m:c(m),w-=v?v.length:0,64&d){var _=h,x=v;h=v=void 0}var E=b?void 0:i(f),k=[f,d,p,h,v,_,x,y,g,m];if(E&&a(k,E),f=k[0],d=k[1],p=k[2],h=k[3],v=k[4],!(m=k[9]=void 0===k[9]?b?0:f.length:s(k[9]-w,0))&&24&d&&(d&=-25),d&&1!=d)S=8==d||16==d?n(f,d,m):32!=d&&33!=d||v.length?r.apply(void 0,k):o(f,d,p,h);else var S=t(f,d,p);return l((E?e:u)(S,k),f,d)}}function pM(){if(BC)return P1;BC=1;var e=zb();return P1=function(t,n,r){return n=r?void 0:n,n=t&&null==n?t.length:n,e(t,128,void 0,void 0,void 0,void 0,n)}}function vT(){if(UC)return T1;UC=1;var e=uT();return T1=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function Wb(){if(HC)return I1;return HC=1,I1=function(e,t){return e===t||e!=e&&t!=t}}function gT(){if(GC)return O1;GC=1;var e=vT(),t=Wb(),n=Object.prototype.hasOwnProperty;return O1=function(r,o,i){var a=r[o];(!n.call(r,o)||!t(a,i)||void 0===i&&!(o in r))&&e(r,o,i)}}function fm(){if(KC)return k1;KC=1;var e=gT(),t=vT();return k1=function(n,r,o,i){var a=!o;o||(o={});for(var u=-1,l=r.length;++u<l;){var c=r[u],s=i?i(o[c],n[c],c,o,n):void 0;void 0===s&&(s=n[c]),a?t(o,c,s):e(o,c,s)}return o}}function hM(){if(VC)return N1;return VC=1,N1=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}}function vM(){if(YC)return D1;YC=1;var e=xd(),t=Za();return D1=function(n){return t(n)&&"[object Arguments]"==e(n)}}function qb(){if(XC)return L1;XC=1;var e=vM(),t=Za(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return L1=i}$L({name:"ui",initialState:DL,reducers:{setDeviceType:(e,{payload:t})=>{e.deviceType=t}},selectors:{selectDeviceType:e=>e.deviceType,selectIsMobile:e=>"mobile"===e.deviceType,selectIsTablet:e=>"tablet"===e.deviceType,selectIsDesktop:e=>"desktop"===e.deviceType}});var M1,QC,ZC,F1,JC,z1,eE,W1,tE,iv={exports:{}};function gM(){if(QC)return M1;return QC=1,M1=function(){return!1}}function jb(){return ZC||(ZC=1,e=iv,t=iv.exports,n=Lo(),r=gM(),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=(a?a.isBuffer:void 0)||r,e.exports=u),iv.exports;var e,t,n,r,o,i,a,u}function Bb(){if(JC)return F1;JC=1;return F1=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function mM(){if(eE)return z1;eE=1;var e=xd(),t=Bb(),n=Za(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,z1=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}function Ub(){if(tE)return W1;return tE=1,W1=function(e){return function(t){return e(t)}}}iv.exports;var nE,q1,rE,j1,oE,B1,iE,U1,aE,H1,uE,G1,sE,K1,lE,V1,cE,Y1,fE,X1,dE,Q1,pE,Z1,hE,J1,vE,e_,gE,t_,mE,n_,yE,r_,_E,o_,wE,i_,xE,a_,bE,u_,$E,s_,SE,l_,CE,c_,EE,f_,RE,d_,AE,p_,PE,h_,TE,v_,IE,g_,OE,m_,kE,y_,NE,__,DE,w_,LE,x_,ME,b_,FE,$_,zE,S_,WE,C_,qE,E_,jE,R_,BE,A_,UE,av={exports:{}};function Hb(){return nE||(nE=1,e=av,t=av.exports,n=X3(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch{}}(),e.exports=a),av.exports;var e,t,n,r,o,i,a}function mT(){if(rE)return q1;rE=1;var e=mM(),t=Ub(),n=Hb(),r=n&&n.isTypedArray,o=r?t(r):e;return q1=o}function yT(){if(oE)return j1;oE=1;var e=hM(),t=qb(),n=Ni(),r=jb(),o=Mb(),i=mT(),a=Object.prototype.hasOwnProperty;return j1=function(u,l){var c=n(u),s=!c&&t(u),f=!c&&!s&&r(u),d=!c&&!s&&!f&&i(u),p=c||s||f||d,h=p?e(u.length,String):[],v=h.length;for(var y in u)(l||a.call(u,y))&&(!p||!("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||o(y,v)))&&h.push(y);return h}}function Gb(){if(iE)return B1;iE=1;var e=Object.prototype;return B1=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function _T(){if(aE)return U1;return aE=1,U1=function(e,t){return function(n){return e(t(n))}}}function yM(){if(uE)return H1;uE=1;var e=_T()(Object.keys,Object);return H1=e}function wT(){if(sE)return G1;sE=1;var e=Gb(),t=yM(),n=Object.prototype.hasOwnProperty;return G1=function(r){if(!e(r))return t(r);var o=[];for(var i in Object(r))n.call(r,i)&&"constructor"!=i&&o.push(i);return o}}function xT(){if(lE)return K1;lE=1;var e=Ob(),t=Bb();return K1=function(n){return null!=n&&t(n.length)&&!e(n)}}function dm(){if(cE)return V1;cE=1;var e=yT(),t=wT(),n=xT();return V1=function(r){return n(r)?e(r):t(r)}}function bT(){if(fE)return Y1;fE=1;var e=fm(),t=dm();return Y1=function(n,r){return n&&e(r,t(r),n)}}function _M(){if(dE)return X1;return dE=1,X1=function(){this.__data__=[],this.size=0}}function pm(){if(pE)return Q1;pE=1;var e=Wb();return Q1=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function wM(){if(hE)return Z1;hE=1;var e=pm(),t=Array.prototype.splice;return Z1=function(n){var r=this.__data__,o=e(r,n);return!(o<0)&&(o==r.length-1?r.pop():t.call(r,o,1),--this.size,!0)}}function xM(){if(vE)return J1;vE=1;var e=pm();return J1=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}function bM(){if(gE)return e_;gE=1;var e=pm();return e_=function(t){return e(this.__data__,t)>-1}}function $M(){if(mE)return t_;mE=1;var e=pm();return t_=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}function hm(){if(yE)return n_;yE=1;var e=_M(),t=wM(),n=xM(),r=bM(),o=$M();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,n_=i}function SM(){if(_E)return r_;_E=1;var e=hm();return r_=function(){this.__data__=new e,this.size=0}}function CM(){if(wE)return o_;return wE=1,o_=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}}function EM(){if(xE)return i_;return xE=1,i_=function(e){return this.__data__.get(e)}}function RM(){if(bE)return a_;return bE=1,a_=function(e){return this.__data__.has(e)}}function Kb(){if($E)return u_;$E=1;var e=bd()(Lo(),"Map");return u_=e}function vm(){if(SE)return s_;SE=1;var e=bd()(Object,"create");return s_=e}function AM(){if(CE)return l_;CE=1;var e=vm();return l_=function(){this.__data__=e?e(null):{},this.size=0}}function PM(){if(EE)return c_;return EE=1,c_=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}function TM(){if(RE)return f_;RE=1;var e=vm(),t=Object.prototype.hasOwnProperty;return f_=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}function IM(){if(AE)return d_;AE=1;var e=vm(),t=Object.prototype.hasOwnProperty;return d_=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}function OM(){if(PE)return p_;PE=1;var e=vm();return p_=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}function kM(){if(TE)return h_;TE=1;var e=AM(),t=PM(),n=TM(),r=IM(),o=OM();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,h_=i}function NM(){if(IE)return v_;IE=1;var e=kM(),t=hm(),n=Kb();return v_=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}function DM(){if(OE)return g_;return OE=1,g_=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}function gm(){if(kE)return m_;kE=1;var e=DM();return m_=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}}function LM(){if(NE)return y_;NE=1;var e=gm();return y_=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}function MM(){if(DE)return __;DE=1;var e=gm();return __=function(t){return e(this,t).get(t)}}function FM(){if(LE)return w_;LE=1;var e=gm();return w_=function(t){return e(this,t).has(t)}}function zM(){if(ME)return x_;ME=1;var e=gm();return x_=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this}}function Vb(){if(FE)return b_;FE=1;var e=NM(),t=LM(),n=MM(),r=FM(),o=zM();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,b_=i}function WM(){if(zE)return $_;zE=1;var e=hm(),t=Kb(),n=Vb();return $_=function(r,o){var i=this.__data__;if(i instanceof e){var a=i.__data__;if(!t||a.length<199)return a.push([r,o]),this.size=++i.size,this;i=this.__data__=new n(a)}return i.set(r,o),this.size=i.size,this}}function Yb(){if(WE)return S_;WE=1;var e=hm(),t=SM(),n=CM(),r=EM(),o=RM(),i=WM();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=o,a.prototype.set=i,S_=a}function qM(){if(qE)return C_;return qE=1,C_=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}}function jM(){if(jE)return E_;jE=1;var e=al(),t=Gb(),n=qM(),r=Object.prototype.hasOwnProperty;return E_=function(o){if(!e(o))return n(o);var i=t(o),a=[];for(var u in o)"constructor"==u&&(i||!r.call(o,u))||a.push(u);return a}}function Xb(){if(BE)return R_;BE=1;var e=yT(),t=jM(),n=xT();return R_=function(r){return n(r)?e(r,!0):t(r)}}function BM(){if(UE)return A_;UE=1;var e=fm(),t=Xb();return A_=function(n,r){return n&&e(r,t(r),n)}}av.exports;var HE,P_,GE,T_,KE,I_,VE,O_,YE,k_,XE,N_,QE,D_,ZE,L_,JE,M_,e2,F_,t2,z_,n2,W_,r2,q_,o2,j_,i2,B_,a2,U_,u2,H_,s2,G_,l2,K_,c2,V_,f2,Y_,d2,X_,p2,Q_,h2,Z_,v2,J_,g2,ew,m2,tw,y2,nw,_2,rw,w2,ow,x2,iw,b2,aw,$2,uw,S2,sw,C2,lw,E2,cw,R2,fw,A2,dw,P2,pw,T2,hw,I2,vw,O2,gw,k2,mw,N2,yw,D2,_w,L2,ww,M2,xw,F2,bw,z2,$w,W2,Sw,q2,Cw,j2,Ew,B2,Rw,U2,Aw,H2,Pw,G2,Tw,K2,Iw,V2,Ow,Y2,kw,X2,Nw,Q2,Dw,Z2,Lw,J2,Mw,eR,Fw,tR,zw,nR,Ww,rR,qw,oR,jw,iR,Bw,aR,Uw,uR,Hw,sR,Gw,lR,Kw,cR,Vw,fR,Yw,dR,Xw,pR,Qw,hR,Zw,vR,Jw,gR,ex,mR,tx,yR,nx,_R,rx,wR,uv={exports:{}};function UM(){return HE||(HE=1,e=uv,t=uv.exports,n=Lo(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r?n.Buffer:void 0,a=i?i.allocUnsafe:void 0,e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}),uv.exports;var e,t,n,r,o,i,a}function HM(){if(GE)return P_;return GE=1,P_=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}}function $T(){if(KE)return T_;return KE=1,T_=function(){return[]}}function Qb(){if(VE)return I_;VE=1;var e=HM(),t=$T(),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return I_=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t}function GM(){if(YE)return O_;YE=1;var e=fm(),t=Qb();return O_=function(n,r){return e(n,t(n),r)}}function Zb(){if(XE)return k_;return XE=1,k_=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}}function Jb(){if(QE)return N_;QE=1;var e=_T()(Object.getPrototypeOf,Object);return N_=e}function ST(){if(ZE)return D_;ZE=1;var e=Zb(),t=Jb(),n=Qb(),r=$T(),o=Object.getOwnPropertySymbols;return D_=o?function(r){for(var o=[];r;)e(o,n(r)),r=t(r);return o}:r}function KM(){if(JE)return L_;JE=1;var e=fm(),t=ST();return L_=function(n,r){return e(n,t(n),r)}}function CT(){if(e2)return M_;e2=1;var e=Zb(),t=Ni();return M_=function(n,r,o){var i=r(n);return t(n)?i:e(i,o(n))}}function ET(){if(t2)return F_;t2=1;var e=CT(),t=Qb(),n=dm();return F_=function(r){return e(r,n,t)}}function VM(){if(n2)return z_;n2=1;var e=CT(),t=ST(),n=Xb();return z_=function(r){return e(r,n,t)}}function YM(){if(r2)return W_;r2=1;var e=bd()(Lo(),"DataView");return W_=e}function XM(){if(o2)return q_;o2=1;var e=bd()(Lo(),"Promise");return q_=e}function QM(){if(i2)return j_;i2=1;var e=bd()(Lo(),"Set");return j_=e}function Nv(){if(a2)return B_;a2=1;var e=YM(),t=Kb(),n=XM(),r=QM(),o=Z3(),i=xd(),a=Q3(),u="[object Map]",l="[object Promise]",c="[object Set]",s="[object WeakMap]",f="[object DataView]",d=a(e),p=a(t),h=a(n),v=a(r),y=a(o),g=i;return(e&&g(new e(new ArrayBuffer(1)))!=f||t&&g(new t)!=u||n&&g(n.resolve())!=l||r&&g(new r)!=c||o&&g(new o)!=s)&&(g=function(e){var t=i(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case d:return f;case p:return u;case h:return l;case v:return c;case y:return s}return t}),B_=g}function ZM(){if(u2)return U_;u2=1;var e=Object.prototype.hasOwnProperty;return U_=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}}function RT(){if(s2)return H_;s2=1;var e=Lo().Uint8Array;return H_=e}function e$(){if(l2)return G_;l2=1;var e=RT();return G_=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}function JM(){if(c2)return K_;c2=1;var e=e$();return K_=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}}function eF(){if(f2)return V_;f2=1;var e=/\w*$/;return V_=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}}function tF(){if(d2)return Y_;d2=1;var e=ah(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;return Y_=function(e){return n?Object(n.call(e)):{}}}function nF(){if(p2)return X_;p2=1;var e=e$();return X_=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function rF(){if(h2)return Q_;h2=1;var e=e$(),t=JM(),n=eF(),r=tF(),o=nF();return Q_=function(i,a,u){var l=i.constructor;switch(a){case"[object ArrayBuffer]":return e(i);case"[object Boolean]":case"[object Date]":return new l(+i);case"[object DataView]":return t(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(i,u);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(i);case"[object RegExp]":return n(i);case"[object Symbol]":return r(i)}}}function oF(){if(v2)return Z_;v2=1;var e=sm(),t=Jb(),n=Gb();return Z_=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))}}function iF(){if(g2)return J_;g2=1;var e=Nv(),t=Za();return J_=function(n){return t(n)&&"[object Map]"==e(n)}}function aF(){if(m2)return ew;m2=1;var e=iF(),t=Ub(),n=Hb(),r=n&&n.isMap,o=r?t(r):e;return ew=o}function uF(){if(y2)return tw;y2=1;var e=Nv(),t=Za();return tw=function(n){return t(n)&&"[object Set]"==e(n)}}function sF(){if(_2)return nw;_2=1;var e=uF(),t=Ub(),n=Hb(),r=n&&n.isSet,o=r?t(r):e;return nw=o}function AT(){if(w2)return rw;w2=1;var e=Yb(),t=Lb(),n=gT(),r=bT(),o=BM(),i=UM(),a=cm(),u=GM(),l=KM(),c=ET(),s=VM(),f=Nv(),d=ZM(),p=rF(),h=oF(),v=Ni(),y=jb(),g=aF(),m=al(),b=sF(),w=dm(),_=Xb(),x="[object Arguments]",E="[object Function]",k="[object Object]",S={};return S[x]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[k]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[E]=S["[object WeakMap]"]=!1,rw=function C(R,N,P,A,O,T){var D,I=1&N,j=2&N,L=4&N;if(P&&(D=O?P(R,A,O,T):P(R)),void 0!==D)return D;if(!m(R))return R;var M=v(R);if(M){if(D=d(R),!I)return a(R,D)}else{var z=f(R),F=z==E||"[object GeneratorFunction]"==z;if(y(R))return i(R,I);if(z==k||z==x||F&&!O){if(D=j||F?{}:h(R),!I)return j?l(R,o(D,R)):u(R,r(D,R))}else{if(!S[z])return O?R:{};D=p(R,z,I)}}T||(T=new e);var $=T.get(R);if($)return $;T.set(R,D),b(R)?R.forEach((function(e){D.add(C(e,N,P,e,R,T))})):g(R)&&R.forEach((function(e,t){D.set(t,C(e,N,P,t,R,T))}));var W=M?void 0:(L?j?s:c:j?_:w)(R);return t(W||R,(function(e,t){W&&(e=R[t=e]),n(D,t,C(e,N,P,t,R,T))})),D},rw}function lF(){if(x2)return ow;x2=1;var e=AT();return ow=function(t){return e(t,4)}}function cF(){if(b2)return iw;b2=1;var e=zb();function t(n,r,o){var i=e(n,8,void 0,void 0,void 0,void 0,void 0,r=o?void 0:r);return i.placeholder=t.placeholder,i}return t.placeholder={},iw=t}function fF(){if($2)return aw;$2=1;var e=xd(),t=Jb(),n=Za(),r=Function.prototype,o=Object.prototype,i=r.toString,a=o.hasOwnProperty,u=i.call(Object);return aw=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var o=t(r);if(null===o)return!0;var l=a.call(o,"constructor")&&o.constructor;return"function"==typeof l&&l instanceof l&&i.call(l)==u}}function dF(){if(S2)return uw;S2=1;var e=xd(),t=Za(),n=fF();return uw=function(r){if(!t(r))return!1;var o=e(r);return"[object Error]"==o||"[object DOMException]"==o||"string"==typeof r.message&&"string"==typeof r.name&&!n(r)}}function pF(){if(C2)return sw;C2=1;var e=Nv(),t=Za();return sw=function(n){return t(n)&&"[object WeakMap]"==e(n)}}function hF(){if(E2)return lw;E2=1;return lw=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}}function vF(){if(R2)return cw;return R2=1,cw=function(e){return this.__data__.has(e)}}function gF(){if(A2)return fw;A2=1;var e=Vb(),t=hF(),n=vF();function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,fw=r}function mF(){if(P2)return dw;return P2=1,dw=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}}function yF(){if(T2)return pw;return T2=1,pw=function(e,t){return e.has(t)}}function PT(){if(I2)return hw;I2=1;var e=gF(),t=mF(),n=yF();return hw=function(r,o,i,a,u,l){var c=1&i,s=r.length,f=o.length;if(s!=f&&!(c&&f>s))return!1;var d=l.get(r),p=l.get(o);if(d&&p)return d==o&&p==r;var h=-1,v=!0,y=2&i?new e:void 0;for(l.set(r,o),l.set(o,r);++h<s;){var g=r[h],m=o[h];if(a)var b=c?a(m,g,h,o,r,l):a(g,m,h,r,o,l);if(void 0!==b){if(b)continue;v=!1;break}if(y){if(!t(o,(function(e,t){if(!n(y,t)&&(g===e||u(g,e,i,a,l)))return y.push(t)}))){v=!1;break}}else if(g!==m&&!u(g,m,i,a,l)){v=!1;break}}return l.delete(r),l.delete(o),v}}function _F(){if(O2)return vw;return O2=1,vw=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}}function wF(){if(k2)return gw;return k2=1,gw=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}}function xF(){if(N2)return mw;N2=1;var e=ah(),t=RT(),n=Wb(),r=PT(),o=_F(),i=wF(),a=e?e.prototype:void 0,u=a?a.valueOf:void 0;return mw=function(e,a,l,c,s,f,d){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!f(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var p=o;case"[object Set]":var h=1&c;if(p||(p=i),e.size!=a.size&&!h)return!1;var v=d.get(e);if(v)return v==a;c|=2,d.set(e,a);var y=r(p(e),p(a),c,s,f,d);return d.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(a)}return!1}}function bF(){if(D2)return yw;D2=1;var e=ET(),t=Object.prototype.hasOwnProperty;return yw=function(n,r,o,i,a,u){var l=1&o,c=e(n),s=c.length;if(s!=e(r).length&&!l)return!1;for(var f=s;f--;){var d=c[f];if(!(l?d in r:t.call(r,d)))return!1}var p=u.get(n),h=u.get(r);if(p&&h)return p==r&&h==n;var v=!0;u.set(n,r),u.set(r,n);for(var y=l;++f<s;){var g=n[d=c[f]],m=r[d];if(i)var b=l?i(m,g,d,r,n,u):i(g,m,d,n,r,u);if(!(void 0===b?g===m||a(g,m,o,i,u):b)){v=!1;break}y||(y="constructor"==d)}if(v&&!y){var w=n.constructor,_=r.constructor;w!=_&&"constructor"in n&&"constructor"in r&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return u.delete(n),u.delete(r),v}}function $F(){if(L2)return _w;L2=1;var e=Yb(),t=PT(),n=xF(),r=bF(),o=Nv(),i=Ni(),a=jb(),u=mT(),l="[object Arguments]",c="[object Array]",s="[object Object]",f=Object.prototype.hasOwnProperty;return _w=function(d,p,h,v,y,g){var m=i(d),b=i(p),w=m?c:o(d),_=b?c:o(p),x=(w=w==l?s:w)==s,E=(_=_==l?s:_)==s,k=w==_;if(k&&a(d)){if(!a(p))return!1;m=!0,x=!1}if(k&&!x)return g||(g=new e),m||u(d)?t(d,p,h,v,y,g):n(d,p,w,h,v,y,g);if(!(1&h)){var S=x&&f.call(d,"__wrapped__"),C=E&&f.call(p,"__wrapped__");if(S||C){var R=S?d.value():d,N=C?p.value():p;return g||(g=new e),y(R,N,h,v,g)}}return!!k&&(g||(g=new e),r(d,p,h,v,y,g))}}function TT(){if(M2)return ww;M2=1;var e=$F(),t=Za();return ww=function n(r,o,i,a,u){return r===o||(null==r||null==o||!t(r)&&!t(o)?r!=r&&o!=o:e(r,o,i,a,n,u))},ww}function SF(){if(F2)return xw;F2=1;var e=Yb(),t=TT();return xw=function(n,r,o,i){var a=o.length,u=a,l=!i;if(null==n)return!u;for(n=Object(n);a--;){var c=o[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<u;){var s=(c=o[a])[0],f=n[s],d=c[1];if(l&&c[2]){if(void 0===f&&!(s in n))return!1}else{var p=new e;if(i)var h=i(f,d,s,n,r,p);if(!(void 0===h?t(d,f,3,i,p):h))return!1}}return!0}}function IT(){if(z2)return bw;z2=1;var e=al();return bw=function(t){return t==t&&!e(t)}}function CF(){if(W2)return $w;W2=1;var e=IT(),t=dm();return $w=function(n){for(var r=t(n),o=r.length;o--;){var i=r[o],a=n[i];r[o]=[i,a,e(a)]}return r}}function OT(){if(q2)return Sw;return q2=1,Sw=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}function EF(){if(j2)return Cw;j2=1;var e=SF(),t=CF(),n=OT();return Cw=function(r){var o=t(r);return 1==o.length&&o[0][2]?n(o[0][0],o[0][1]):function(t){return t===r||e(t,r,o)}}}function t$(){if(B2)return Ew;B2=1;var e=Ni(),t=kv(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return Ew=function(o,i){if(e(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!t(o))||(r.test(o)||!n.test(o)||null!=i&&o in Object(i))}}function RF(){if(U2)return Rw;U2=1;var e=Vb();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var o=function(){var e=arguments,t=r?r.apply(this,e):e[0],i=o.cache;if(i.has(t))return i.get(t);var a=n.apply(this,e);return o.cache=i.set(t,a)||i,a};return o.cache=new(t.Cache||e),o}return t.Cache=e,Rw=t}function AF(){if(H2)return Aw;H2=1;var e=RF();return Aw=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function kT(){if(G2)return Pw;G2=1;var e=AF(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,o,i){r.push(o?i.replace(n,"$1"):t||e)})),r}));return Pw=r}function NT(){if(K2)return Tw;return K2=1,Tw=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}}function PF(){if(V2)return Iw;V2=1;var e=ah(),t=NT(),n=Ni(),r=kv(),o=1/0,i=e?e.prototype:void 0,a=i?i.toString:void 0;return Iw=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return a?a.call(i):"";var u=i+"";return"0"==u&&1/i==-o?"-0":u},Iw}function DT(){if(Y2)return Ow;Y2=1;var e=PF();return Ow=function(t){return null==t?"":e(t)}}function LT(){if(X2)return kw;X2=1;var e=Ni(),t=t$(),n=kT(),r=DT();return kw=function(o,i){return e(o)?o:t(o,i)?[o]:n(r(o))}}function Dv(){if(Q2)return Nw;Q2=1;var e=kv(),t=1/0;return Nw=function(n){if("string"==typeof n||e(n))return n;var r=n+"";return"0"==r&&1/n==-t?"-0":r}}function MT(){if(Z2)return Dw;Z2=1;var e=LT(),t=Dv();return Dw=function(n,r){for(var o=0,i=(r=e(r,n)).length;null!=n&&o<i;)n=n[t(r[o++])];return o&&o==i?n:void 0}}function TF(){if(J2)return Lw;J2=1;var e=MT();return Lw=function(t,n,r){var o=null==t?void 0:e(t,n);return void 0===o?r:o}}function IF(){if(eR)return Mw;return eR=1,Mw=function(e,t){return null!=e&&t in Object(e)}}function OF(){if(tR)return Fw;tR=1;var e=LT(),t=qb(),n=Ni(),r=Mb(),o=Bb(),i=Dv();return Fw=function(a,u,l){for(var c=-1,s=(u=e(u,a)).length,f=!1;++c<s;){var d=i(u[c]);if(!(f=null!=a&&l(a,d)))break;a=a[d]}return f||++c!=s?f:!!(s=null==a?0:a.length)&&o(s)&&r(d,s)&&(n(a)||t(a))}}function kF(){if(nR)return zw;nR=1;var e=IF(),t=OF();return zw=function(n,r){return null!=n&&t(n,r,e)}}function NF(){if(rR)return Ww;rR=1;var e=TT(),t=TF(),n=kF(),r=t$(),o=IT(),i=OT(),a=Dv();return Ww=function(u,l){return r(u)&&o(l)?i(a(u),l):function(r){var o=t(r,u);return void 0===o&&o===l?n(r,u):e(l,o,3)}}}function DF(){if(oR)return qw;return oR=1,qw=function(e){return function(t){return null==t?void 0:t[e]}}}function LF(){if(iR)return jw;iR=1;var e=MT();return jw=function(t){return function(n){return e(n,t)}}}function MF(){if(aR)return Bw;aR=1;var e=DF(),t=LF(),n=t$(),r=Dv();return Bw=function(o){return n(o)?e(r(o)):t(o)}}function FF(){if(uR)return Uw;uR=1;var e=EF(),t=NF(),n=Ib(),r=Ni(),o=MF();return Uw=function(i){return"function"==typeof i?i:null==i?n:"object"==typeof i?r(i)?t(i[0],i[1]):e(i):o(i)}}function zF(){if(sR)return Hw;sR=1;var e=AT(),t=FF();return Hw=function(n){return t("function"==typeof n?n:e(n,1))}}function WF(){if(lR)return Gw;lR=1;var e=ah(),t=qb(),n=Ni(),r=e?e.isConcatSpreadable:void 0;return Gw=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}function qF(){if(cR)return Kw;cR=1;var e=Zb(),t=WF();return Kw=function n(r,o,i,a,u){var l=-1,c=r.length;for(i||(i=t),u||(u=[]);++l<c;){var s=r[l];o>0&&i(s)?o>1?n(s,o-1,i,a,u):e(u,s):a||(u[u.length]=s)}return u},Kw}function jF(){if(fR)return Vw;fR=1;var e=qF();return Vw=function(t){return(null==t?0:t.length)?e(t,1):[]}}function BF(){if(dR)return Yw;dR=1;var e=kb(),t=Math.max;return Yw=function(n,r,o){return r=t(void 0===r?n.length-1:r,0),function(){for(var i=arguments,a=-1,u=t(i.length-r,0),l=Array(u);++a<u;)l[a]=i[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=i[a];return c[r]=o(l),e(n,this,c)}},Yw}function UF(){if(pR)return Xw;pR=1;var e=jF(),t=BF(),n=sT();return Xw=function(r){return n(t(r,void 0,e),r+"")}}function HF(){if(hR)return Qw;hR=1;var e=zb(),t=UF(),n=t((function(t,n){return e(t,256,void 0,void 0,void 0,n)}));return Qw=n}function GF(){if(vR)return Zw;vR=1;var e=NT(),t=cm(),n=Ni(),r=kv(),o=kT(),i=Dv(),a=DT();return Zw=function(u){return n(u)?e(u,i):r(u)?[u]:t(o(a(u)))}}function KF(){return gR||(gR=1,Jw={ary:pM(),assign:bT(),clone:lF(),curry:cF(),forEach:Lb(),isArray:Ni(),isError:dF(),isFunction:Ob(),isWeakMap:pF(),iteratee:zF(),keys:wT(),rearg:HF(),toInteger:hT(),toPath:GF()}),Jw}function VF(){if(mR)return ex;mR=1;var e=DR(),t=KF();return ex=function(n,r,o){return e(t,n,r,o)}}function YF(){if(yR)return tx;yR=1;var e=Lo();return tx=function(){return e.Date.now()}}function XF(){if(_R)return nx;_R=1;var e=al(),t=YF(),n=pT(),r=Math.max,o=Math.min;return nx=function(i,a,u){var l,c,s,f,d,p,h=0,v=!1,y=!1,g=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function m(e){var t=l,n=c;return l=c=void 0,h=e,f=i.apply(n,t)}function b(e){var t=e-p;return void 0===p||t>=a||t<0||y&&e-h>=s}function w(){var e=t();if(b(e))return _(e);d=setTimeout(w,function(e){var t=a-(e-p);return y?o(t,s-(e-h)):t}(e))}function _(e){return d=void 0,g&&l?m(e):(l=c=void 0,f)}function x(){var e=t(),n=b(e);if(l=arguments,c=this,p=e,n){if(void 0===d)return function(e){return h=e,d=setTimeout(w,a),v?m(e):f}(p);if(y)return clearTimeout(d),d=setTimeout(w,a),m(p)}return void 0===d&&(d=setTimeout(w,a)),f}return a=n(a)||0,e(u)&&(v=!!u.leading,s=(y="maxWait"in u)?r(n(u.maxWait)||0,a):s,g="trailing"in u?!!u.trailing:g),x.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=c=d=void 0},x.flush=function(){return void 0===d?f:_(t())},x},nx}function QF(){if(wR)return rx;wR=1;var e=VF()("debounce",XF());return e.placeholder=NR(),rx=e}uv.exports,QF();const FT=e=>e&&LR.values(e).length?"?"+new URLSearchParams(e).toString():"",Pz=({to:e,props:t,children:n,target:r,queryParams:o,...i})=>{const a=y.useContext(Yp),u=FT(o),l=(t?zx(e,t):e)+u;return jp.has(e)&&a?ge.jsx(yI,{...i,to:l,className:He("cursor-pointer",i.className),children:n}):ge.jsx("a",{href:l,target:r,...i,children:n})},Tz=e=>XT(e,location.pathname),Iz=(e,t)=>t?zx(e,t):e,Oz=()=>{const e=TR();return(t,n)=>{const r=FT(null==n?void 0:n.queryParams);if(LR.isNumber(t))return void e(t);const o=(null!=n&&n.props?zx(t,null==n?void 0:n.props):t)+r;null!=jp&&jp.has(t)?e(o,n):location.href=o}};export{Pz as AppsLink,zx as fillRoute,Iz as getRoute,Tz as matchPath,ZF as setRoutes,Oz as useAppsNavigate};