matterbridge 3.2.8-dev-20250916-da71182 → 3.2.8-dev-20250919-e967b55

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 (105) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/frontend.js +190 -256
  3. package/dist/frontendTypes.js +25 -0
  4. package/dist/matterbridge.js +18 -54
  5. package/dist/shelly.js +4 -5
  6. package/dist/update.js +0 -2
  7. package/dist/utils/spawn.js +4 -4
  8. package/frontend/build/assets/index.css +1 -0
  9. package/frontend/build/assets/index.js +23 -0
  10. package/frontend/build/assets/vendor_emotion.js +1 -0
  11. package/frontend/build/assets/vendor_lodash.js +1 -0
  12. package/frontend/build/assets/vendor_mdi.js +1 -0
  13. package/frontend/build/assets/vendor_mui.js +137 -0
  14. package/frontend/build/assets/vendor_node_modules.js +100 -0
  15. package/frontend/build/assets/vendor_notistack.js +5 -0
  16. package/frontend/build/assets/vendor_qrcode.js +9 -0
  17. package/frontend/build/assets/vendor_react_table.js +1 -0
  18. package/frontend/build/assets/vendor_rjsf.js +10 -0
  19. package/frontend/build/index.html +27 -1
  20. package/frontend/index.html +17 -0
  21. package/frontend/package-lock.json +5678 -17171
  22. package/frontend/package.json +60 -53
  23. package/npm-shrinkwrap.json +5 -5
  24. package/package.json +1 -1
  25. package/frontend/build/asset-manifest.json +0 -85
  26. package/frontend/build/favicon.ico +0 -0
  27. package/frontend/build/manifest.json +0 -15
  28. package/frontend/build/robots.txt +0 -3
  29. package/frontend/build/static/css/main.56c16a87.css +0 -2
  30. package/frontend/build/static/css/main.56c16a87.css.map +0 -1
  31. package/frontend/build/static/js/main.565f820c.js +0 -3
  32. package/frontend/build/static/js/main.565f820c.js.LICENSE.txt +0 -97
  33. package/frontend/build/static/js/main.565f820c.js.map +0 -1
  34. package/frontend/build/static/media/roboto-cyrillic-300-normal.44340549d94d10899346.woff +0 -0
  35. package/frontend/build/static/media/roboto-cyrillic-300-normal.89d0351bce4bc857dba6.woff2 +0 -0
  36. package/frontend/build/static/media/roboto-cyrillic-400-normal.86d5c52f4588f9f221d7.woff2 +0 -0
  37. package/frontend/build/static/media/roboto-cyrillic-400-normal.d67ac585bb6a05dbf71c.woff +0 -0
  38. package/frontend/build/static/media/roboto-cyrillic-500-normal.1fb2c6d685bfb888cfa3.woff2 +0 -0
  39. package/frontend/build/static/media/roboto-cyrillic-500-normal.36f79cc7e73a69da4438.woff +0 -0
  40. package/frontend/build/static/media/roboto-cyrillic-700-normal.e00802373a2c2db6b30d.woff +0 -0
  41. package/frontend/build/static/media/roboto-cyrillic-700-normal.fd3dfdd6cb1a9175b63d.woff2 +0 -0
  42. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.a80c0d0719b1acb8f731.woff +0 -0
  43. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.b9d87b04a9119d8d2fdf.woff2 +0 -0
  44. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.31476620b88eec076438.woff2 +0 -0
  45. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.5e3f232f89080810567d.woff +0 -0
  46. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.634ee2238bf30f362d52.woff2 +0 -0
  47. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.d6c661248da2fde17768.woff +0 -0
  48. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.361cdfd3a3f9c4bb09ca.woff2 +0 -0
  49. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.6b08bc756cd72f5af9e8.woff +0 -0
  50. package/frontend/build/static/media/roboto-greek-300-normal.8300b541aa89b8301a6f.woff +0 -0
  51. package/frontend/build/static/media/roboto-greek-300-normal.fdd1f928a606aa116a44.woff2 +0 -0
  52. package/frontend/build/static/media/roboto-greek-400-normal.98a717d5a38e77c0f657.woff2 +0 -0
  53. package/frontend/build/static/media/roboto-greek-400-normal.ecd8572d631f20ff5bd5.woff +0 -0
  54. package/frontend/build/static/media/roboto-greek-500-normal.4fe733bc436afc295c24.woff +0 -0
  55. package/frontend/build/static/media/roboto-greek-500-normal.5c8100481d4e784afbf2.woff2 +0 -0
  56. package/frontend/build/static/media/roboto-greek-700-normal.d23e03cf87ba44e5af6f.woff +0 -0
  57. package/frontend/build/static/media/roboto-greek-700-normal.d7dfd0b02cd8311e2a97.woff2 +0 -0
  58. package/frontend/build/static/media/roboto-greek-ext-300-normal.60729cafbded24073dfb.woff +0 -0
  59. package/frontend/build/static/media/roboto-greek-ext-300-normal.a88b77bb10633a8045e3.woff2 +0 -0
  60. package/frontend/build/static/media/roboto-greek-ext-400-normal.2d5875b032a1cca91eb2.woff2 +0 -0
  61. package/frontend/build/static/media/roboto-greek-ext-400-normal.a0baf7d6726d8f751a27.woff +0 -0
  62. package/frontend/build/static/media/roboto-greek-ext-500-normal.1964239c2800b6bd7e39.woff +0 -0
  63. package/frontend/build/static/media/roboto-greek-ext-500-normal.bef9c15c7164d6435aad.woff2 +0 -0
  64. package/frontend/build/static/media/roboto-greek-ext-700-normal.1aff9f4cd71608489b9a.woff +0 -0
  65. package/frontend/build/static/media/roboto-greek-ext-700-normal.eb28a447335ba6d54fcb.woff2 +0 -0
  66. package/frontend/build/static/media/roboto-latin-300-normal.cb14f8e80cc69ddbac34.woff +0 -0
  67. package/frontend/build/static/media/roboto-latin-300-normal.db56943a88e4852343ae.woff2 +0 -0
  68. package/frontend/build/static/media/roboto-latin-400-normal.50a0a61e29c19a2f05cb.woff +0 -0
  69. package/frontend/build/static/media/roboto-latin-400-normal.df1be0be92f6f19b8115.woff2 +0 -0
  70. package/frontend/build/static/media/roboto-latin-500-normal.599f66a60bdf974e578e.woff2 +0 -0
  71. package/frontend/build/static/media/roboto-latin-500-normal.c320def131b39bceabd8.woff +0 -0
  72. package/frontend/build/static/media/roboto-latin-700-normal.bcfbe8accc968a375a8e.woff +0 -0
  73. package/frontend/build/static/media/roboto-latin-700-normal.c4d6cab43bec89049809.woff2 +0 -0
  74. package/frontend/build/static/media/roboto-latin-ext-300-normal.6ddd1cfdbc5e74bcdab8.woff +0 -0
  75. package/frontend/build/static/media/roboto-latin-ext-300-normal.948c05192b1e64d931b1.woff2 +0 -0
  76. package/frontend/build/static/media/roboto-latin-ext-400-normal.0f86a30ca7e981fcfc99.woff2 +0 -0
  77. package/frontend/build/static/media/roboto-latin-ext-400-normal.2bfbba2d51a85c8702dd.woff +0 -0
  78. package/frontend/build/static/media/roboto-latin-ext-500-normal.8f02573e78730021ef49.woff2 +0 -0
  79. package/frontend/build/static/media/roboto-latin-ext-500-normal.aecaab4c4da2bf91377a.woff +0 -0
  80. package/frontend/build/static/media/roboto-latin-ext-700-normal.2d3c3ba6fe2d9c1026a5.woff +0 -0
  81. package/frontend/build/static/media/roboto-latin-ext-700-normal.8e656eff240311c6050a.woff2 +0 -0
  82. package/frontend/build/static/media/roboto-math-300-normal.90364ecfad5101ceb1a0.woff +0 -0
  83. package/frontend/build/static/media/roboto-math-300-normal.acc9c7c1d1fe3a1c7d44.woff2 +0 -0
  84. package/frontend/build/static/media/roboto-math-400-normal.3d3a272e5233c5fb1969.woff +0 -0
  85. package/frontend/build/static/media/roboto-math-400-normal.b60d9fba1e21da7497e6.woff2 +0 -0
  86. package/frontend/build/static/media/roboto-math-500-normal.41db483cb764343fca71.woff2 +0 -0
  87. package/frontend/build/static/media/roboto-math-500-normal.c3014a611cd9d8fa6252.woff +0 -0
  88. package/frontend/build/static/media/roboto-math-700-normal.a6fde3ddcb1629fd58b7.woff +0 -0
  89. package/frontend/build/static/media/roboto-math-700-normal.f6f4b54add6ab9d60a0f.woff2 +0 -0
  90. package/frontend/build/static/media/roboto-symbols-300-normal.52cdf8344b378f0c4580.woff +0 -0
  91. package/frontend/build/static/media/roboto-symbols-300-normal.616638ec44336b3da884.woff2 +0 -0
  92. package/frontend/build/static/media/roboto-symbols-400-normal.bb5b5d1459beb07bd3d5.woff2 +0 -0
  93. package/frontend/build/static/media/roboto-symbols-400-normal.f4f7e3bd8264f1a640cb.woff +0 -0
  94. package/frontend/build/static/media/roboto-symbols-500-normal.09b674875029289fd9a7.woff +0 -0
  95. package/frontend/build/static/media/roboto-symbols-500-normal.a5457b0ec984fd4cc8da.woff2 +0 -0
  96. package/frontend/build/static/media/roboto-symbols-700-normal.017e476ef02f62144169.woff +0 -0
  97. package/frontend/build/static/media/roboto-symbols-700-normal.634070e045ac99822c21.woff2 +0 -0
  98. package/frontend/build/static/media/roboto-vietnamese-300-normal.53f399e4522b647bafa7.woff +0 -0
  99. package/frontend/build/static/media/roboto-vietnamese-300-normal.6f0bf63e956c09377ef8.woff2 +0 -0
  100. package/frontend/build/static/media/roboto-vietnamese-400-normal.1cffe58e71a9109191a2.woff +0 -0
  101. package/frontend/build/static/media/roboto-vietnamese-400-normal.b1b8baa94fbcaa57d098.woff2 +0 -0
  102. package/frontend/build/static/media/roboto-vietnamese-500-normal.148734d63bd96c6e964f.woff2 +0 -0
  103. package/frontend/build/static/media/roboto-vietnamese-500-normal.72dbf2a25dd55b80b137.woff +0 -0
  104. package/frontend/build/static/media/roboto-vietnamese-700-normal.44a103f706f3ffe6a041.woff2 +0 -0
  105. package/frontend/build/static/media/roboto-vietnamese-700-normal.fa58a041a3336692af1e.woff +0 -0
@@ -0,0 +1,100 @@
1
+ import{g as Ia,r as G0,a as K0,b as ad,c as rd,d as mb,e as X0,f as id,h as pb,i as Q0,j as Z0,k as vb,l as J0,m as yb,n as gb,o as _b,p as bb}from"./vendor_lodash.js";function Sb(r,i){for(var o=0;o<i.length;o++){const u=i[o];if(typeof u!="string"&&!Array.isArray(u)){for(const f in u)if(f!=="default"&&!(f in r)){const c=Object.getOwnPropertyDescriptor(u,f);c&&Object.defineProperty(r,f,c.get?c:{enumerable:!0,get:()=>u[f]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var nf={exports:{}},Qi={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var bv;function Eb(){if(bv)return Qi;bv=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(u,f,c){var p=null;if(c!==void 0&&(p=""+c),f.key!==void 0&&(p=""+f.key),"key"in f){c={};for(var d in f)d!=="key"&&(c[d]=f[d])}else c=f;return f=c.ref,{$$typeof:r,type:u,key:p,ref:f!==void 0?f:null,props:c}}return Qi.Fragment=i,Qi.jsx=o,Qi.jsxs=o,Qi}var Sv;function $b(){return Sv||(Sv=1,nf.exports=Eb()),nf.exports}var dw=$b(),af={exports:{}},Oe={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Ev;function Ob(){if(Ev)return Oe;Ev=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),p=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),R=Symbol.iterator;function E(z){return z===null||typeof z!="object"?null:(z=R&&z[R]||z["@@iterator"],typeof z=="function"?z:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,O={};function S(z,q,P){this.props=z,this.context=q,this.refs=O,this.updater=P||T}S.prototype.isReactComponent={},S.prototype.setState=function(z,q){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,q,"setState")},S.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function v(){}v.prototype=S.prototype;function g(z,q,P){this.props=z,this.context=q,this.refs=O,this.updater=P||T}var b=g.prototype=new v;b.constructor=g,w(b,S.prototype),b.isPureReactComponent=!0;var A=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},N=Object.prototype.hasOwnProperty;function C(z,q,P,j,M,x){return P=x.ref,{$$typeof:r,type:z,key:q,ref:P!==void 0?P:null,props:x}}function V(z,q){return C(z.type,q,void 0,void 0,void 0,z.props)}function B(z){return typeof z=="object"&&z!==null&&z.$$typeof===r}function J(z){var q={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(P){return q[P]})}var W=/\/+/g;function ue(z,q){return typeof z=="object"&&z!==null&&z.key!=null?J(""+z.key):q.toString(36)}function G(){}function oe(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(G,G):(z.status="pending",z.then(function(q){z.status==="pending"&&(z.status="fulfilled",z.value=q)},function(q){z.status==="pending"&&(z.status="rejected",z.reason=q)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function me(z,q,P,j,M){var x=typeof z;(x==="undefined"||x==="boolean")&&(z=null);var L=!1;if(z===null)L=!0;else switch(x){case"bigint":case"string":case"number":L=!0;break;case"object":switch(z.$$typeof){case r:case i:L=!0;break;case y:return L=z._init,me(L(z._payload),q,P,j,M)}}if(L)return M=M(z),L=j===""?"."+ue(z,0):j,A(M)?(P="",L!=null&&(P=L.replace(W,"$&/")+"/"),me(M,q,P,"",function(ae){return ae})):M!=null&&(B(M)&&(M=V(M,P+(M.key==null||z&&z.key===M.key?"":(""+M.key).replace(W,"$&/")+"/")+L)),q.push(M)),1;L=0;var he=j===""?".":j+":";if(A(z))for(var fe=0;fe<z.length;fe++)j=z[fe],x=he+ue(j,fe),L+=me(j,q,P,x,M);else if(fe=E(z),typeof fe=="function")for(z=fe.call(z),fe=0;!(j=z.next()).done;)j=j.value,x=he+ue(j,fe++),L+=me(j,q,P,x,M);else if(x==="object"){if(typeof z.then=="function")return me(oe(z),q,P,j,M);throw q=String(z),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return L}function X(z,q,P){if(z==null)return z;var j=[],M=0;return me(z,j,"","",function(x){return q.call(P,x,M++)}),j}function se(z){if(z._status===-1){var q=z._result;q=q(),q.then(function(P){(z._status===0||z._status===-1)&&(z._status=1,z._result=P)},function(P){(z._status===0||z._status===-1)&&(z._status=2,z._result=P)}),z._status===-1&&(z._status=0,z._result=q)}if(z._status===1)return z._result.default;throw z._result}var ie=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)};function ve(){}return Oe.Children={map:X,forEach:function(z,q,P){X(z,function(){q.apply(this,arguments)},P)},count:function(z){var q=0;return X(z,function(){q++}),q},toArray:function(z){return X(z,function(q){return q})||[]},only:function(z){if(!B(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},Oe.Component=S,Oe.Fragment=o,Oe.Profiler=f,Oe.PureComponent=g,Oe.StrictMode=u,Oe.Suspense=h,Oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,Oe.__COMPILER_RUNTIME={__proto__:null,c:function(z){return _.H.useMemoCache(z)}},Oe.cache=function(z){return function(){return z.apply(null,arguments)}},Oe.cloneElement=function(z,q,P){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var j=w({},z.props),M=z.key,x=void 0;if(q!=null)for(L in q.ref!==void 0&&(x=void 0),q.key!==void 0&&(M=""+q.key),q)!N.call(q,L)||L==="key"||L==="__self"||L==="__source"||L==="ref"&&q.ref===void 0||(j[L]=q[L]);var L=arguments.length-2;if(L===1)j.children=P;else if(1<L){for(var he=Array(L),fe=0;fe<L;fe++)he[fe]=arguments[fe+2];j.children=he}return C(z.type,M,void 0,void 0,x,j)},Oe.createContext=function(z){return z={$$typeof:p,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:c,_context:z},z},Oe.createElement=function(z,q,P){var j,M={},x=null;if(q!=null)for(j in q.key!==void 0&&(x=""+q.key),q)N.call(q,j)&&j!=="key"&&j!=="__self"&&j!=="__source"&&(M[j]=q[j]);var L=arguments.length-2;if(L===1)M.children=P;else if(1<L){for(var he=Array(L),fe=0;fe<L;fe++)he[fe]=arguments[fe+2];M.children=he}if(z&&z.defaultProps)for(j in L=z.defaultProps,L)M[j]===void 0&&(M[j]=L[j]);return C(z,x,void 0,void 0,null,M)},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(z){return{$$typeof:d,render:z}},Oe.isValidElement=B,Oe.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:se}},Oe.memo=function(z,q){return{$$typeof:m,type:z,compare:q===void 0?null:q}},Oe.startTransition=function(z){var q=_.T,P={};_.T=P;try{var j=z(),M=_.S;M!==null&&M(P,j),typeof j=="object"&&j!==null&&typeof j.then=="function"&&j.then(ve,ie)}catch(x){ie(x)}finally{_.T=q}},Oe.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},Oe.use=function(z){return _.H.use(z)},Oe.useActionState=function(z,q,P){return _.H.useActionState(z,q,P)},Oe.useCallback=function(z,q){return _.H.useCallback(z,q)},Oe.useContext=function(z){return _.H.useContext(z)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(z,q){return _.H.useDeferredValue(z,q)},Oe.useEffect=function(z,q,P){var j=_.H;if(typeof P=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return j.useEffect(z,q)},Oe.useId=function(){return _.H.useId()},Oe.useImperativeHandle=function(z,q,P){return _.H.useImperativeHandle(z,q,P)},Oe.useInsertionEffect=function(z,q){return _.H.useInsertionEffect(z,q)},Oe.useLayoutEffect=function(z,q){return _.H.useLayoutEffect(z,q)},Oe.useMemo=function(z,q){return _.H.useMemo(z,q)},Oe.useOptimistic=function(z,q){return _.H.useOptimistic(z,q)},Oe.useReducer=function(z,q,P){return _.H.useReducer(z,q,P)},Oe.useRef=function(z){return _.H.useRef(z)},Oe.useState=function(z){return _.H.useState(z)},Oe.useSyncExternalStore=function(z,q,P){return _.H.useSyncExternalStore(z,q,P)},Oe.useTransition=function(){return _.H.useTransition()},Oe.version="19.1.1",Oe}var $v;function ld(){return $v||($v=1,af.exports=Ob()),af.exports}var te=ld();const _n=Ia(te),hw=Sb({__proto__:null,default:_n},[te]);var rf={exports:{}},Zi={},lf={exports:{}},uf={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var Ov;function wb(){return Ov||(Ov=1,(function(r){function i(X,se){var ie=X.length;X.push(se);e:for(;0<ie;){var ve=ie-1>>>1,z=X[ve];if(0<f(z,se))X[ve]=se,X[ie]=z,ie=ve;else break e}}function o(X){return X.length===0?null:X[0]}function u(X){if(X.length===0)return null;var se=X[0],ie=X.pop();if(ie!==se){X[0]=ie;e:for(var ve=0,z=X.length,q=z>>>1;ve<q;){var P=2*(ve+1)-1,j=X[P],M=P+1,x=X[M];if(0>f(j,ie))M<z&&0>f(x,j)?(X[ve]=x,X[M]=ie,ve=M):(X[ve]=j,X[P]=ie,ve=P);else if(M<z&&0>f(x,ie))X[ve]=x,X[M]=ie,ve=M;else break e}}return se}function f(X,se){var ie=X.sortIndex-se.sortIndex;return ie!==0?ie:X.id-se.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;r.unstable_now=function(){return c.now()}}else{var p=Date,d=p.now();r.unstable_now=function(){return p.now()-d}}var h=[],m=[],y=1,R=null,E=3,T=!1,w=!1,O=!1,S=!1,v=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;function A(X){for(var se=o(m);se!==null;){if(se.callback===null)u(m);else if(se.startTime<=X)u(m),se.sortIndex=se.expirationTime,i(h,se);else break;se=o(m)}}function _(X){if(O=!1,A(X),!w)if(o(h)!==null)w=!0,N||(N=!0,ue());else{var se=o(m);se!==null&&me(_,se.startTime-X)}}var N=!1,C=-1,V=5,B=-1;function J(){return S?!0:!(r.unstable_now()-B<V)}function W(){if(S=!1,N){var X=r.unstable_now();B=X;var se=!0;try{e:{w=!1,O&&(O=!1,g(C),C=-1),T=!0;var ie=E;try{t:{for(A(X),R=o(h);R!==null&&!(R.expirationTime>X&&J());){var ve=R.callback;if(typeof ve=="function"){R.callback=null,E=R.priorityLevel;var z=ve(R.expirationTime<=X);if(X=r.unstable_now(),typeof z=="function"){R.callback=z,A(X),se=!0;break t}R===o(h)&&u(h),A(X)}else u(h);R=o(h)}if(R!==null)se=!0;else{var q=o(m);q!==null&&me(_,q.startTime-X),se=!1}}break e}finally{R=null,E=ie,T=!1}se=void 0}}finally{se?ue():N=!1}}}var ue;if(typeof b=="function")ue=function(){b(W)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,oe=G.port2;G.port1.onmessage=W,ue=function(){oe.postMessage(null)}}else ue=function(){v(W,0)};function me(X,se){C=v(function(){X(r.unstable_now())},se)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(X){X.callback=null},r.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<X?Math.floor(1e3/X):5},r.unstable_getCurrentPriorityLevel=function(){return E},r.unstable_next=function(X){switch(E){case 1:case 2:case 3:var se=3;break;default:se=E}var ie=E;E=se;try{return X()}finally{E=ie}},r.unstable_requestPaint=function(){S=!0},r.unstable_runWithPriority=function(X,se){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var ie=E;E=X;try{return se()}finally{E=ie}},r.unstable_scheduleCallback=function(X,se,ie){var ve=r.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?ve+ie:ve):ie=ve,X){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=ie+z,X={id:y++,callback:se,priorityLevel:X,startTime:ie,expirationTime:z,sortIndex:-1},ie>ve?(X.sortIndex=ie,i(m,X),o(h)===null&&X===o(m)&&(O?(g(C),C=-1):O=!0,me(_,ie-ve))):(X.sortIndex=z,i(h,X),w||T||(w=!0,N||(N=!0,ue()))),X},r.unstable_shouldYield=J,r.unstable_wrapCallback=function(X){var se=E;return function(){var ie=E;E=se;try{return X.apply(this,arguments)}finally{E=ie}}}})(uf)),uf}var wv;function Rb(){return wv||(wv=1,lf.exports=wb()),lf.exports}var of={exports:{}},wt={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var Rv;function Tb(){if(Rv)return wt;Rv=1;var r=ld();function i(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var u={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for("react.portal");function c(h,m,y){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:R==null?null:""+R,children:h,containerInfo:m,implementation:y}}var p=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,wt.createPortal=function(h,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return c(h,m,null,y)},wt.flushSync=function(h){var m=p.T,y=u.p;try{if(p.T=null,u.p=2,h)return h()}finally{p.T=m,u.p=y,u.d.f()}},wt.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,u.d.C(h,m))},wt.prefetchDNS=function(h){typeof h=="string"&&u.d.D(h)},wt.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var y=m.as,R=d(y,m.crossOrigin),E=typeof m.integrity=="string"?m.integrity:void 0,T=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?u.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:R,integrity:E,fetchPriority:T}):y==="script"&&u.d.X(h,{crossOrigin:R,integrity:E,fetchPriority:T,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},wt.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=d(m.as,m.crossOrigin);u.d.M(h,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&u.d.M(h)},wt.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,R=d(y,m.crossOrigin);u.d.L(h,y,{crossOrigin:R,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},wt.preloadModule=function(h,m){if(typeof h=="string")if(m){var y=d(m.as,m.crossOrigin);u.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else u.d.m(h)},wt.requestFormReset=function(h){u.d.r(h)},wt.unstable_batchedUpdates=function(h,m){return h(m)},wt.useFormState=function(h,m,y){return p.H.useFormState(h,m,y)},wt.useFormStatus=function(){return p.H.useHostTransitionStatus()},wt.version="19.1.1",wt}var Tv;function F0(){if(Tv)return of.exports;Tv=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),of.exports=Tb(),of.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var Av;function Ab(){if(Av)return Zi;Av=1;var r=Rb(),i=ld(),o=F0();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function p(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(c(e)!==e)throw Error(u(188))}function h(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,a=t;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return d(l),e;if(s===a)return d(l),t;s=s.sibling}throw Error(u(188))}if(n.return!==a.return)n=l,a=s;else{for(var $=!1,D=l.child;D;){if(D===n){$=!0,n=l,a=s;break}if(D===a){$=!0,a=l,n=s;break}D=D.sibling}if(!$){for(D=s.child;D;){if(D===n){$=!0,n=s,a=l;break}if(D===a){$=!0,a=s,n=l;break}D=D.sibling}if(!$)throw Error(u(189))}}if(n.alternate!==a)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,R=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),g=Symbol.for("react.consumer"),b=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function ue(e){return e===null||typeof e!="object"?null:(e=W&&e[W]||e["@@iterator"],typeof e=="function"?e:null)}var G=Symbol.for("react.client.reference");function oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===G?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case S:return"Profiler";case O:return"StrictMode";case _:return"Suspense";case N:return"SuspenseList";case B:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case b:return(e.displayName||"Context")+".Provider";case g:return(e._context.displayName||"Context")+".Consumer";case A:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case C:return t=e.displayName||null,t!==null?t:oe(e.type)||"Memo";case V:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}var me=Array.isArray,X=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},ve=[],z=-1;function q(e){return{current:e}}function P(e){0>z||(e.current=ve[z],ve[z]=null,z--)}function j(e,t){z++,ve[z]=e.current,e.current=t}var M=q(null),x=q(null),L=q(null),he=q(null);function fe(e,t){switch(j(L,t),j(x,e),j(M,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Qp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Qp(t),e=Zp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P(M),j(M,e)}function ae(){P(M),P(x),P(L)}function de(e){e.memoizedState!==null&&j(he,e);var t=M.current,n=Zp(t,e.type);t!==n&&(j(x,e),j(M,n))}function H(e){x.current===e&&(P(M),P(x)),he.current===e&&(P(he),Pi._currentValue=ie)}var Y=Object.prototype.hasOwnProperty,ee=r.unstable_scheduleCallback,ce=r.unstable_cancelCallback,pe=r.unstable_shouldYield,ye=r.unstable_requestPaint,$e=r.unstable_now,Qe=r.unstable_getCurrentPriorityLevel,xe=r.unstable_ImmediatePriority,ze=r.unstable_UserBlockingPriority,Ce=r.unstable_NormalPriority,we=r.unstable_LowPriority,Ze=r.unstable_IdlePriority,ot=r.log,_t=r.unstable_setDisableYieldValue,bt=null,et=null;function St(e){if(typeof ot=="function"&&_t(e),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,e)}catch{}}var Et=Math.clz32?Math.clz32:e1,Yo=Math.log,Wg=Math.LN2;function e1(e){return e>>>=0,e===0?32:31-(Yo(e)/Wg|0)|0}var pl=256,vl=4194304;function $a(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yl(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,s=e.suspendedLanes,$=e.pingedLanes;e=e.warmLanes;var D=a&134217727;return D!==0?(a=D&~s,a!==0?l=$a(a):($&=D,$!==0?l=$a($):n||(n=D&~e,n!==0&&(l=$a(n))))):(D=a&~s,D!==0?l=$a(D):$!==0?l=$a($):n||(n=a&~e,n!==0&&(l=$a(n)))),l===0?0:t!==0&&t!==l&&(t&s)===0&&(s=l&-l,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:l}function Ir(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function t1(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dd(){var e=pl;return pl<<=1,(pl&4194048)===0&&(pl=256),e}function Cd(){var e=vl;return vl<<=1,(vl&62914560)===0&&(vl=4194304),e}function Go(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wr(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function n1(e,t,n,a,l,s){var $=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var D=e.entanglements,U=e.expirationTimes,Z=e.hiddenUpdates;for(n=$&~n;0<n;){var ne=31-Et(n),le=1<<ne;D[ne]=0,U[ne]=-1;var F=Z[ne];if(F!==null)for(Z[ne]=null,ne=0;ne<F.length;ne++){var I=F[ne];I!==null&&(I.lane&=-536870913)}n&=~le}a!==0&&zd(e,a,0),s!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=s&~($&~t))}function zd(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Et(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&4194090}function qd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Et(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function Ko(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Xo(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function xd(){var e=se.p;return e!==0?e:(e=window.event,e===void 0?32:mv(e.type))}function a1(e,t){var n=se.p;try{return se.p=e,t()}finally{se.p=n}}var Kn=Math.random().toString(36).slice(2),$t="__reactFiber$"+Kn,At="__reactProps$"+Kn,Wa="__reactContainer$"+Kn,Qo="__reactEvents$"+Kn,r1="__reactListeners$"+Kn,i1="__reactHandles$"+Kn,jd="__reactResources$"+Kn,ei="__reactMarker$"+Kn;function Zo(e){delete e[$t],delete e[At],delete e[Qo],delete e[r1],delete e[i1]}function er(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wa]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Wp(e);e!==null;){if(n=e[$t])return n;e=Wp(e)}return t}e=n,n=e.parentNode}return null}function tr(e){if(e=e[$t]||e[Wa]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function ti(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function nr(e){var t=e[jd];return t||(t=e[jd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ft(e){e[ei]=!0}var Ud=new Set,Hd={};function Oa(e,t){ar(e,t),ar(e+"Capture",t)}function ar(e,t){for(Hd[e]=t,e=0;e<t.length;e++)Ud.add(t[e])}var l1=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ld={},kd={};function u1(e){return Y.call(kd,e)?!0:Y.call(Ld,e)?!1:l1.test(e)?kd[e]=!0:(Ld[e]=!0,!1)}function gl(e,t,n){if(u1(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function _l(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function $n(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}var Jo,Vd;function rr(e){if(Jo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Jo=t&&t[1]||"",Vd=-1<n.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Jo+e+Vd}var Fo=!1;function Io(e,t){if(!e||Fo)return"";Fo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var le=function(){throw Error()};if(Object.defineProperty(le.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(le,[])}catch(I){var F=I}Reflect.construct(e,[],le)}else{try{le.call()}catch(I){F=I}e.call(le.prototype)}}else{try{throw Error()}catch(I){F=I}(le=e())&&typeof le.catch=="function"&&le.catch(function(){})}}catch(I){if(I&&F&&typeof I.stack=="string")return[I.stack,F.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),$=s[0],D=s[1];if($&&D){var U=$.split(`
44
+ `),Z=D.split(`
45
+ `);for(l=a=0;a<U.length&&!U[a].includes("DetermineComponentFrameRoot");)a++;for(;l<Z.length&&!Z[l].includes("DetermineComponentFrameRoot");)l++;if(a===U.length||l===Z.length)for(a=U.length-1,l=Z.length-1;1<=a&&0<=l&&U[a]!==Z[l];)l--;for(;1<=a&&0<=l;a--,l--)if(U[a]!==Z[l]){if(a!==1||l!==1)do if(a--,l--,0>l||U[a]!==Z[l]){var ne=`
46
+ `+U[a].replace(" at new "," at ");return e.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",e.displayName)),ne}while(1<=a&&0<=l);break}}}finally{Fo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?rr(n):""}function o1(e){switch(e.tag){case 26:case 27:case 5:return rr(e.type);case 16:return rr("Lazy");case 13:return rr("Suspense");case 19:return rr("SuspenseList");case 0:case 15:return Io(e.type,!1);case 11:return Io(e.type.render,!1);case 1:return Io(e.type,!0);case 31:return rr("Activity");default:return""}}function Bd(e){try{var t="";do t+=o1(e),e=e.return;while(e);return t}catch(n){return`
47
+ Error generating stack: `+n.message+`
48
+ `+n.stack}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function s1(e){var t=Pd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function($){a=""+$,s.call(this,$)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function($){a=""+$},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bl(e){e._valueTracker||(e._valueTracker=s1(e))}function Yd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Pd(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Sl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var c1=/[\n"\\]/g;function Gt(e){return e.replace(c1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Wo(e,t,n,a,l,s,$,D){e.name="",$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?e.type=$:e.removeAttribute("type"),t!=null?$==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yt(t)):e.value!==""+Yt(t)&&(e.value=""+Yt(t)):$!=="submit"&&$!=="reset"||e.removeAttribute("value"),t!=null?es(e,$,Yt(t)):n!=null?es(e,$,Yt(n)):a!=null&&e.removeAttribute("value"),l==null&&s!=null&&(e.defaultChecked=!!s),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?e.name=""+Yt(D):e.removeAttribute("name")}function Gd(e,t,n,a,l,s,$,D){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;n=n!=null?""+Yt(n):"",t=t!=null?""+Yt(t):n,D||t===e.value||(e.value=t),e.defaultValue=t}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=D?e.checked:!!a,e.defaultChecked=!!a,$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"&&(e.name=$)}function es(e,t,n){t==="number"&&Sl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ir(e,t,n,a){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Yt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,a&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Kd(e,t,n){if(t!=null&&(t=""+Yt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Yt(n):""}function Xd(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(u(92));if(me(a)){if(1<a.length)throw Error(u(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Yt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a)}function lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var f1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Qd(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||f1.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Zd(e,t,n){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var l in t)a=t[l],t.hasOwnProperty(l)&&n[l]!==a&&Qd(e,l,a)}else for(var s in t)t.hasOwnProperty(s)&&Qd(e,s,t[s])}function ts(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var d1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),h1=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function El(e){return h1.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ns=null;function as(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ur=null,or=null;function Jd(e){var t=tr(e);if(t&&(e=t.stateNode)){var n=e[At]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wo(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Gt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[At]||null;if(!l)throw Error(u(90));Wo(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Yd(a)}break e;case"textarea":Kd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ir(e,!!n.multiple,t,!1)}}}var rs=!1;function Fd(e,t,n){if(rs)return e(t,n);rs=!0;try{var a=e(t);return a}finally{if(rs=!1,(ur!==null||or!==null)&&(uu(),ur&&(t=ur,e=or,or=ur=null,Jd(t),e)))for(t=0;t<e.length;t++)Jd(e[t])}}function ni(e,t){var n=e.stateNode;if(n===null)return null;var a=n[At]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(u(231,t,typeof n));return n}var On=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),is=!1;if(On)try{var ai={};Object.defineProperty(ai,"passive",{get:function(){is=!0}}),window.addEventListener("test",ai,ai),window.removeEventListener("test",ai,ai)}catch{is=!1}var Xn=null,ls=null,$l=null;function Id(){if($l)return $l;var e,t=ls,n=t.length,a,l="value"in Xn?Xn.value:Xn.textContent,s=l.length;for(e=0;e<n&&t[e]===l[e];e++);var $=n-e;for(a=1;a<=$&&t[n-a]===l[s-a];a++);return $l=l.slice(e,1<a?1-a:void 0)}function Ol(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wl(){return!0}function Wd(){return!1}function Nt(e){function t(n,a,l,s,$){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=s,this.target=$,this.currentTarget=null;for(var D in e)e.hasOwnProperty(D)&&(n=e[D],this[D]=n?n(s):s[D]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?wl:Wd,this.isPropagationStopped=Wd,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wl)},persist:function(){},isPersistent:wl}),t}var wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rl=Nt(wa),ri=y({},wa,{view:0,detail:0}),m1=Nt(ri),us,os,ii,Tl=y({},ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ii&&(ii&&e.type==="mousemove"?(us=e.screenX-ii.screenX,os=e.screenY-ii.screenY):os=us=0,ii=e),us)},movementY:function(e){return"movementY"in e?e.movementY:os}}),eh=Nt(Tl),p1=y({},Tl,{dataTransfer:0}),v1=Nt(p1),y1=y({},ri,{relatedTarget:0}),ss=Nt(y1),g1=y({},wa,{animationName:0,elapsedTime:0,pseudoElement:0}),_1=Nt(g1),b1=y({},wa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),S1=Nt(b1),E1=y({},wa,{data:0}),th=Nt(E1),$1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},O1={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"},w1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function R1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=w1[e])?!!t[e]:!1}function cs(){return R1}var T1=y({},ri,{key:function(e){if(e.key){var t=$1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ol(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?O1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cs,charCode:function(e){return e.type==="keypress"?Ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),A1=Nt(T1),N1=y({},Tl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nh=Nt(N1),M1=y({},ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cs}),D1=Nt(M1),C1=y({},wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),z1=Nt(C1),q1=y({},Tl,{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}),x1=Nt(q1),j1=y({},wa,{newState:0,oldState:0}),U1=Nt(j1),H1=[9,13,27,32],fs=On&&"CompositionEvent"in window,li=null;On&&"documentMode"in document&&(li=document.documentMode);var L1=On&&"TextEvent"in window&&!li,ah=On&&(!fs||li&&8<li&&11>=li),rh=" ",ih=!1;function lh(e,t){switch(e){case"keyup":return H1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sr=!1;function k1(e,t){switch(e){case"compositionend":return uh(t);case"keypress":return t.which!==32?null:(ih=!0,rh);case"textInput":return e=t.data,e===rh&&ih?null:e;default:return null}}function V1(e,t){if(sr)return e==="compositionend"||!fs&&lh(e,t)?(e=Id(),$l=ls=Xn=null,sr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ah&&t.locale!=="ko"?null:t.data;default:return null}}var B1={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 oh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!B1[e.type]:t==="textarea"}function sh(e,t,n,a){ur?or?or.push(a):or=[a]:ur=a,t=hu(t,"onChange"),0<t.length&&(n=new Rl("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var ui=null,oi=null;function P1(e){Pp(e,0)}function Al(e){var t=ti(e);if(Yd(t))return e}function ch(e,t){if(e==="change")return t}var fh=!1;if(On){var ds;if(On){var hs="oninput"in document;if(!hs){var dh=document.createElement("div");dh.setAttribute("oninput","return;"),hs=typeof dh.oninput=="function"}ds=hs}else ds=!1;fh=ds&&(!document.documentMode||9<document.documentMode)}function hh(){ui&&(ui.detachEvent("onpropertychange",mh),oi=ui=null)}function mh(e){if(e.propertyName==="value"&&Al(oi)){var t=[];sh(t,oi,e,as(e)),Fd(P1,t)}}function Y1(e,t,n){e==="focusin"?(hh(),ui=t,oi=n,ui.attachEvent("onpropertychange",mh)):e==="focusout"&&hh()}function G1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Al(oi)}function K1(e,t){if(e==="click")return Al(t)}function X1(e,t){if(e==="input"||e==="change")return Al(t)}function Q1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:Q1;function si(e,t){if(xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var l=n[a];if(!Y.call(t,l)||!xt(e[l],t[l]))return!1}return!0}function ph(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vh(e,t){var n=ph(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ph(n)}}function yh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Sl(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sl(e.document)}return t}function ms(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Z1=On&&"documentMode"in document&&11>=document.documentMode,cr=null,ps=null,ci=null,vs=!1;function _h(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vs||cr==null||cr!==Sl(a)||(a=cr,"selectionStart"in a&&ms(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ci&&si(ci,a)||(ci=a,a=hu(ps,"onSelect"),0<a.length&&(t=new Rl("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=cr)))}function Ra(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fr={animationend:Ra("Animation","AnimationEnd"),animationiteration:Ra("Animation","AnimationIteration"),animationstart:Ra("Animation","AnimationStart"),transitionrun:Ra("Transition","TransitionRun"),transitionstart:Ra("Transition","TransitionStart"),transitioncancel:Ra("Transition","TransitionCancel"),transitionend:Ra("Transition","TransitionEnd")},ys={},bh={};On&&(bh=document.createElement("div").style,"AnimationEvent"in window||(delete fr.animationend.animation,delete fr.animationiteration.animation,delete fr.animationstart.animation),"TransitionEvent"in window||delete fr.transitionend.transition);function Ta(e){if(ys[e])return ys[e];if(!fr[e])return e;var t=fr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in bh)return ys[e]=t[n];return e}var Sh=Ta("animationend"),Eh=Ta("animationiteration"),$h=Ta("animationstart"),J1=Ta("transitionrun"),F1=Ta("transitionstart"),I1=Ta("transitioncancel"),Oh=Ta("transitionend"),wh=new Map,gs="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gs.push("scrollEnd");function an(e,t){wh.set(e,t),Oa(t,[e])}var Rh=new WeakMap;function Kt(e,t){if(typeof e=="object"&&e!==null){var n=Rh.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Bd(t)},Rh.set(e,t),t)}return{value:e,source:t,stack:Bd(t)}}var Xt=[],dr=0,_s=0;function Nl(){for(var e=dr,t=_s=dr=0;t<e;){var n=Xt[t];Xt[t++]=null;var a=Xt[t];Xt[t++]=null;var l=Xt[t];Xt[t++]=null;var s=Xt[t];if(Xt[t++]=null,a!==null&&l!==null){var $=a.pending;$===null?l.next=l:(l.next=$.next,$.next=l),a.pending=l}s!==0&&Th(n,l,s)}}function Ml(e,t,n,a){Xt[dr++]=e,Xt[dr++]=t,Xt[dr++]=n,Xt[dr++]=a,_s|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function bs(e,t,n,a){return Ml(e,t,n,a),Dl(e)}function hr(e,t){return Ml(e,null,null,t),Dl(e)}function Th(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var l=!1,s=e.return;s!==null;)s.childLanes|=n,a=s.alternate,a!==null&&(a.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(l=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,l&&t!==null&&(l=31-Et(n),e=s.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),s):null}function Dl(e){if(50<xi)throw xi=0,Rc=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var mr={};function W1(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jt(e,t,n,a){return new W1(e,t,n,a)}function Ss(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return n===null?(n=jt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ah(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Cl(e,t,n,a,l,s){var $=0;if(a=e,typeof e=="function")Ss(e)&&($=1);else if(typeof e=="string")$=tb(e,n,M.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case B:return e=jt(31,n,t,l),e.elementType=B,e.lanes=s,e;case w:return Aa(n.children,l,s,t);case O:$=8,l|=24;break;case S:return e=jt(12,n,t,l|2),e.elementType=S,e.lanes=s,e;case _:return e=jt(13,n,t,l),e.elementType=_,e.lanes=s,e;case N:return e=jt(19,n,t,l),e.elementType=N,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case v:case b:$=10;break e;case g:$=9;break e;case A:$=11;break e;case C:$=14;break e;case V:$=16,a=null;break e}$=29,n=Error(u(130,e===null?"null":typeof e,"")),a=null}return t=jt($,n,t,l),t.elementType=e,t.type=a,t.lanes=s,t}function Aa(e,t,n,a){return e=jt(7,e,a,t),e.lanes=n,e}function Es(e,t,n){return e=jt(6,e,null,t),e.lanes=n,e}function $s(e,t,n){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var pr=[],vr=0,zl=null,ql=0,Qt=[],Zt=0,Na=null,Rn=1,Tn="";function Ma(e,t){pr[vr++]=ql,pr[vr++]=zl,zl=e,ql=t}function Nh(e,t,n){Qt[Zt++]=Rn,Qt[Zt++]=Tn,Qt[Zt++]=Na,Na=e;var a=Rn;e=Tn;var l=32-Et(a)-1;a&=~(1<<l),n+=1;var s=32-Et(t)+l;if(30<s){var $=l-l%5;s=(a&(1<<$)-1).toString(32),a>>=$,l-=$,Rn=1<<32-Et(t)+l|n<<l|a,Tn=s+e}else Rn=1<<s|n<<l|a,Tn=e}function Os(e){e.return!==null&&(Ma(e,1),Nh(e,1,0))}function ws(e){for(;e===zl;)zl=pr[--vr],pr[vr]=null,ql=pr[--vr],pr[vr]=null;for(;e===Na;)Na=Qt[--Zt],Qt[Zt]=null,Tn=Qt[--Zt],Qt[Zt]=null,Rn=Qt[--Zt],Qt[Zt]=null}var Rt=null,tt=null,He=!1,Da=null,dn=!1,Rs=Error(u(519));function Ca(e){var t=Error(u(418,""));throw hi(Kt(t,e)),Rs}function Mh(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[$t]=e,t[At]=a,n){case"dialog":De("cancel",t),De("close",t);break;case"iframe":case"object":case"embed":De("load",t);break;case"video":case"audio":for(n=0;n<Ui.length;n++)De(Ui[n],t);break;case"source":De("error",t);break;case"img":case"image":case"link":De("error",t),De("load",t);break;case"details":De("toggle",t);break;case"input":De("invalid",t),Gd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),bl(t);break;case"select":De("invalid",t);break;case"textarea":De("invalid",t),Xd(t,a.value,a.defaultValue,a.children),bl(t)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||Xp(t.textContent,n)?(a.popover!=null&&(De("beforetoggle",t),De("toggle",t)),a.onScroll!=null&&De("scroll",t),a.onScrollEnd!=null&&De("scrollend",t),a.onClick!=null&&(t.onclick=mu),t=!0):t=!1,t||Ca(e)}function Dh(e){for(Rt=e.return;Rt;)switch(Rt.tag){case 5:case 13:dn=!1;return;case 27:case 3:dn=!0;return;default:Rt=Rt.return}}function fi(e){if(e!==Rt)return!1;if(!He)return Dh(e),He=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Bc(e.type,e.memoizedProps)),n=!n),n&&tt&&Ca(e),Dh(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){tt=ln(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}tt=null}}else t===27?(t=tt,sa(e.type)?(e=Kc,Kc=null,tt=e):tt=t):tt=Rt?ln(e.stateNode.nextSibling):null;return!0}function di(){tt=Rt=null,He=!1}function Ch(){var e=Da;return e!==null&&(Ct===null?Ct=e:Ct.push.apply(Ct,e),Da=null),e}function hi(e){Da===null?Da=[e]:Da.push(e)}var Ts=q(null),za=null,An=null;function Qn(e,t,n){j(Ts,t._currentValue),t._currentValue=n}function Nn(e){e._currentValue=Ts.current,P(Ts)}function As(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Ns(e,t,n,a){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var s=l.dependencies;if(s!==null){var $=l.child;s=s.firstContext;e:for(;s!==null;){var D=s;s=l;for(var U=0;U<t.length;U++)if(D.context===t[U]){s.lanes|=n,D=s.alternate,D!==null&&(D.lanes|=n),As(s.return,n,e),a||($=null);break e}s=D.next}}else if(l.tag===18){if($=l.return,$===null)throw Error(u(341));$.lanes|=n,s=$.alternate,s!==null&&(s.lanes|=n),As($,n,e),$=null}else $=l.child;if($!==null)$.return=l;else for($=l;$!==null;){if($===e){$=null;break}if(l=$.sibling,l!==null){l.return=$.return,$=l;break}$=$.return}l=$}}function mi(e,t,n,a){e=null;for(var l=t,s=!1;l!==null;){if(!s){if((l.flags&524288)!==0)s=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var $=l.alternate;if($===null)throw Error(u(387));if($=$.memoizedProps,$!==null){var D=l.type;xt(l.pendingProps.value,$.value)||(e!==null?e.push(D):e=[D])}}else if(l===he.current){if($=l.alternate,$===null)throw Error(u(387));$.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Pi):e=[Pi])}l=l.return}e!==null&&Ns(t,e,n,a),t.flags|=262144}function xl(e){for(e=e.firstContext;e!==null;){if(!xt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qa(e){za=e,An=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ot(e){return zh(za,e)}function jl(e,t){return za===null&&qa(e),zh(e,t)}function zh(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},An===null){if(e===null)throw Error(u(308));An=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else An=An.next=t;return n}var e_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},t_=r.unstable_scheduleCallback,n_=r.unstable_NormalPriority,st={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ms(){return{controller:new e_,data:new Map,refCount:0}}function pi(e){e.refCount--,e.refCount===0&&t_(n_,function(){e.controller.abort()})}var vi=null,Ds=0,yr=0,gr=null;function a_(e,t){if(vi===null){var n=vi=[];Ds=0,yr=zc(),gr={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Ds++,t.then(qh,qh),t}function qh(){if(--Ds===0&&vi!==null){gr!==null&&(gr.status="fulfilled");var e=vi;vi=null,yr=0,gr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function r_(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(a.status="rejected",a.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),a}var xh=X.S;X.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&a_(e,t),xh!==null&&xh(e,t)};var xa=q(null);function Cs(){var e=xa.current;return e!==null?e:Je.pooledCache}function Ul(e,t){t===null?j(xa,xa.current):j(xa,t.pool)}function jh(){var e=Cs();return e===null?null:{parent:st._currentValue,pool:e}}var yi=Error(u(460)),Uh=Error(u(474)),Hl=Error(u(542)),zs={then:function(){}};function Hh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ll(){}function Lh(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Ll,Ll),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Vh(e),e;default:if(typeof t.status=="string")t.then(Ll,Ll);else{if(e=Je,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=a}},function(a){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Vh(e),e}throw gi=t,yi}}var gi=null;function kh(){if(gi===null)throw Error(u(459));var e=gi;return gi=null,e}function Vh(e){if(e===yi||e===Hl)throw Error(u(483))}var Zn=!1;function qs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Jn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ke&2)!==0){var l=a.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=Dl(e),Th(e,null,n),t}return Ml(e,a,t,n),Dl(e)}function _i(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,qd(e,n)}}function js(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var $={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?l=s=$:s=s.next=$,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Us=!1;function bi(){if(Us){var e=gr;if(e!==null)throw e}}function Si(e,t,n,a){Us=!1;var l=e.updateQueue;Zn=!1;var s=l.firstBaseUpdate,$=l.lastBaseUpdate,D=l.shared.pending;if(D!==null){l.shared.pending=null;var U=D,Z=U.next;U.next=null,$===null?s=Z:$.next=Z,$=U;var ne=e.alternate;ne!==null&&(ne=ne.updateQueue,D=ne.lastBaseUpdate,D!==$&&(D===null?ne.firstBaseUpdate=Z:D.next=Z,ne.lastBaseUpdate=U))}if(s!==null){var le=l.baseState;$=0,ne=Z=U=null,D=s;do{var F=D.lane&-536870913,I=F!==D.lane;if(I?(qe&F)===F:(a&F)===F){F!==0&&F===yr&&(Us=!0),ne!==null&&(ne=ne.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Ee=e,be=D;F=t;var Ge=n;switch(be.tag){case 1:if(Ee=be.payload,typeof Ee=="function"){le=Ee.call(Ge,le,F);break e}le=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=be.payload,F=typeof Ee=="function"?Ee.call(Ge,le,F):Ee,F==null)break e;le=y({},le,F);break e;case 2:Zn=!0}}F=D.callback,F!==null&&(e.flags|=64,I&&(e.flags|=8192),I=l.callbacks,I===null?l.callbacks=[F]:I.push(F))}else I={lane:F,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ne===null?(Z=ne=I,U=le):ne=ne.next=I,$|=F;if(D=D.next,D===null){if(D=l.shared.pending,D===null)break;I=D,D=I.next,I.next=null,l.lastBaseUpdate=I,l.shared.pending=null}}while(!0);ne===null&&(U=le),l.baseState=U,l.firstBaseUpdate=Z,l.lastBaseUpdate=ne,s===null&&(l.shared.lanes=0),ia|=$,e.lanes=$,e.memoizedState=le}}function Bh(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Ph(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Bh(n[e],t)}var _r=q(null),kl=q(0);function Yh(e,t){e=jn,j(kl,e),j(_r,t),jn=e|t.baseLanes}function Hs(){j(kl,jn),j(_r,_r.current)}function Ls(){jn=kl.current,P(_r),P(kl)}var In=0,Re=null,Pe=null,it=null,Vl=!1,br=!1,ja=!1,Bl=0,Ei=0,Sr=null,i_=0;function at(){throw Error(u(321))}function ks(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xt(e[n],t[n]))return!1;return!0}function Vs(e,t,n,a,l,s){return In=s,Re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,X.H=e===null||e.memoizedState===null?Tm:Am,ja=!1,s=n(a,l),ja=!1,br&&(s=Kh(t,n,a,l)),Gh(e),s}function Gh(e){X.H=Ql;var t=Pe!==null&&Pe.next!==null;if(In=0,it=Pe=Re=null,Vl=!1,Ei=0,Sr=null,t)throw Error(u(300));e===null||dt||(e=e.dependencies,e!==null&&xl(e)&&(dt=!0))}function Kh(e,t,n,a){Re=e;var l=0;do{if(br&&(Sr=null),Ei=0,br=!1,25<=l)throw Error(u(301));if(l+=1,it=Pe=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}X.H=d_,s=t(n,a)}while(br);return s}function l_(){var e=X.H,t=e.useState()[0];return t=typeof t.then=="function"?$i(t):t,e=e.useState()[0],(Pe!==null?Pe.memoizedState:null)!==e&&(Re.flags|=1024),t}function Bs(){var e=Bl!==0;return Bl=0,e}function Ps(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ys(e){if(Vl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vl=!1}In=0,it=Pe=Re=null,br=!1,Ei=Bl=0,Sr=null}function Mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?Re.memoizedState=it=e:it=it.next=e,it}function lt(){if(Pe===null){var e=Re.alternate;e=e!==null?e.memoizedState:null}else e=Pe.next;var t=it===null?Re.memoizedState:it.next;if(t!==null)it=t,Pe=e;else{if(e===null)throw Re.alternate===null?Error(u(467)):Error(u(310));Pe=e,e={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},it===null?Re.memoizedState=it=e:it=it.next=e}return it}function Gs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $i(e){var t=Ei;return Ei+=1,Sr===null&&(Sr=[]),e=Lh(Sr,e,t),t=Re,(it===null?t.memoizedState:it.next)===null&&(t=t.alternate,X.H=t===null||t.memoizedState===null?Tm:Am),e}function Pl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return $i(e);if(e.$$typeof===b)return Ot(e)}throw Error(u(438,String(e)))}function Ks(e){var t=null,n=Re.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Re.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Gs(),Re.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=J;return t.index++,n}function Mn(e,t){return typeof t=="function"?t(e):t}function Yl(e){var t=lt();return Xs(t,Pe,e)}function Xs(e,t,n){var a=e.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=n;var l=e.baseQueue,s=a.pending;if(s!==null){if(l!==null){var $=l.next;l.next=s.next,s.next=$}t.baseQueue=l=s,a.pending=null}if(s=e.baseState,l===null)e.memoizedState=s;else{t=l.next;var D=$=null,U=null,Z=t,ne=!1;do{var le=Z.lane&-536870913;if(le!==Z.lane?(qe&le)===le:(In&le)===le){var F=Z.revertLane;if(F===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),le===yr&&(ne=!0);else if((In&F)===F){Z=Z.next,F===yr&&(ne=!0);continue}else le={lane:0,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},U===null?(D=U=le,$=s):U=U.next=le,Re.lanes|=F,ia|=F;le=Z.action,ja&&n(s,le),s=Z.hasEagerState?Z.eagerState:n(s,le)}else F={lane:le,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},U===null?(D=U=F,$=s):U=U.next=F,Re.lanes|=le,ia|=le;Z=Z.next}while(Z!==null&&Z!==t);if(U===null?$=s:U.next=D,!xt(s,e.memoizedState)&&(dt=!0,ne&&(n=gr,n!==null)))throw n;e.memoizedState=s,e.baseState=$,e.baseQueue=U,a.lastRenderedState=s}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Qs(e){var t=lt(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var a=n.dispatch,l=n.pending,s=t.memoizedState;if(l!==null){n.pending=null;var $=l=l.next;do s=e(s,$.action),$=$.next;while($!==l);xt(s,t.memoizedState)||(dt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,a]}function Xh(e,t,n){var a=Re,l=lt(),s=He;if(s){if(n===void 0)throw Error(u(407));n=n()}else n=t();var $=!xt((Pe||l).memoizedState,n);$&&(l.memoizedState=n,dt=!0),l=l.queue;var D=Jh.bind(null,a,l,e);if(Oi(2048,8,D,[e]),l.getSnapshot!==t||$||it!==null&&it.memoizedState.tag&1){if(a.flags|=2048,Er(9,Gl(),Zh.bind(null,a,l,n,t),null),Je===null)throw Error(u(349));s||(In&124)!==0||Qh(a,t,n)}return n}function Qh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Re.updateQueue,t===null?(t=Gs(),Re.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zh(e,t,n,a){t.value=n,t.getSnapshot=a,Fh(t)&&Ih(e)}function Jh(e,t,n){return n(function(){Fh(t)&&Ih(e)})}function Fh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xt(e,n)}catch{return!0}}function Ih(e){var t=hr(e,2);t!==null&&Vt(t,e,2)}function Zs(e){var t=Mt();if(typeof e=="function"){var n=e;if(e=n(),ja){St(!0);try{n()}finally{St(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:e},t}function Wh(e,t,n,a){return e.baseState=n,Xs(e,Pe,typeof a=="function"?a:Mn)}function u_(e,t,n,a,l){if(Xl(e))throw Error(u(485));if(e=t.action,e!==null){var s={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function($){s.listeners.push($)}};X.T!==null?n(!0):s.isTransition=!1,a(s),n=t.pending,n===null?(s.next=t.pending=s,em(t,s)):(s.next=n.next,t.pending=n.next=s)}}function em(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var s=X.T,$={};X.T=$;try{var D=n(l,a),U=X.S;U!==null&&U($,D),tm(e,t,D)}catch(Z){Js(e,t,Z)}finally{X.T=s}}else try{s=n(l,a),tm(e,t,s)}catch(Z){Js(e,t,Z)}}function tm(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){nm(e,t,a)},function(a){return Js(e,t,a)}):nm(e,t,n)}function nm(e,t,n){t.status="fulfilled",t.value=n,am(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,em(e,n)))}function Js(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,am(t),t=t.next;while(t!==a)}e.action=null}function am(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rm(e,t){return t}function im(e,t){if(He){var n=Je.formState;if(n!==null){e:{var a=Re;if(He){if(tt){t:{for(var l=tt,s=dn;l.nodeType!==8;){if(!s){l=null;break t}if(l=ln(l.nextSibling),l===null){l=null;break t}}s=l.data,l=s==="F!"||s==="F"?l:null}if(l){tt=ln(l.nextSibling),a=l.data==="F!";break e}}Ca(a)}a=!1}a&&(t=n[0])}}return n=Mt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rm,lastRenderedState:t},n.queue=a,n=Om.bind(null,Re,a),a.dispatch=n,a=Zs(!1),s=tc.bind(null,Re,!1,a.queue),a=Mt(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=u_.bind(null,Re,l,s,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function lm(e){var t=lt();return um(t,Pe,e)}function um(e,t,n){if(t=Xs(e,t,rm)[0],e=Yl(Mn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=$i(t)}catch($){throw $===yi?Hl:$}else a=t;t=lt();var l=t.queue,s=l.dispatch;return n!==t.memoizedState&&(Re.flags|=2048,Er(9,Gl(),o_.bind(null,l,n),null)),[a,s,e]}function o_(e,t){e.action=t}function om(e){var t=lt(),n=Pe;if(n!==null)return um(t,n,e);lt(),t=t.memoizedState,n=lt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Er(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Re.updateQueue,t===null&&(t=Gs(),Re.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Gl(){return{destroy:void 0,resource:void 0}}function sm(){return lt().memoizedState}function Kl(e,t,n,a){var l=Mt();a=a===void 0?null:a,Re.flags|=e,l.memoizedState=Er(1|t,Gl(),n,a)}function Oi(e,t,n,a){var l=lt();a=a===void 0?null:a;var s=l.memoizedState.inst;Pe!==null&&a!==null&&ks(a,Pe.memoizedState.deps)?l.memoizedState=Er(t,s,n,a):(Re.flags|=e,l.memoizedState=Er(1|t,s,n,a))}function cm(e,t){Kl(8390656,8,e,t)}function fm(e,t){Oi(2048,8,e,t)}function dm(e,t){return Oi(4,2,e,t)}function hm(e,t){return Oi(4,4,e,t)}function mm(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function pm(e,t,n){n=n!=null?n.concat([e]):null,Oi(4,4,mm.bind(null,t,e),n)}function Fs(){}function vm(e,t){var n=lt();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&ks(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function ym(e,t){var n=lt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&ks(t,a[1]))return a[0];if(a=e(),ja){St(!0);try{e()}finally{St(!1)}}return n.memoizedState=[a,t],a}function Is(e,t,n){return n===void 0||(In&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=bp(),Re.lanes|=e,ia|=e,n)}function gm(e,t,n,a){return xt(n,t)?n:_r.current!==null?(e=Is(e,n,a),xt(e,t)||(dt=!0),e):(In&42)===0?(dt=!0,e.memoizedState=n):(e=bp(),Re.lanes|=e,ia|=e,t)}function _m(e,t,n,a,l){var s=se.p;se.p=s!==0&&8>s?s:8;var $=X.T,D={};X.T=D,tc(e,!1,t,n);try{var U=l(),Z=X.S;if(Z!==null&&Z(D,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var ne=r_(U,a);wi(e,t,ne,kt(e))}else wi(e,t,a,kt(e))}catch(le){wi(e,t,{then:function(){},status:"rejected",reason:le},kt())}finally{se.p=s,X.T=$}}function s_(){}function Ws(e,t,n,a){if(e.tag!==5)throw Error(u(476));var l=bm(e).queue;_m(e,l,t,ie,n===null?s_:function(){return Sm(e),n(a)})}function bm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:ie},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Sm(e){var t=bm(e).next.queue;wi(e,t,{},kt())}function ec(){return Ot(Pi)}function Em(){return lt().memoizedState}function $m(){return lt().memoizedState}function c_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=kt();e=Jn(n);var a=Fn(t,e,n);a!==null&&(Vt(a,t,n),_i(a,t,n)),t={cache:Ms()},e.payload=t;return}t=t.return}}function f_(e,t,n){var a=kt();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Xl(e)?wm(t,n):(n=bs(e,t,n,a),n!==null&&(Vt(n,e,a),Rm(n,t,a)))}function Om(e,t,n){var a=kt();wi(e,t,n,a)}function wi(e,t,n,a){var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xl(e))wm(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var $=t.lastRenderedState,D=s($,n);if(l.hasEagerState=!0,l.eagerState=D,xt(D,$))return Ml(e,t,l,0),Je===null&&Nl(),!1}catch{}finally{}if(n=bs(e,t,l,a),n!==null)return Vt(n,e,a),Rm(n,t,a),!0}return!1}function tc(e,t,n,a){if(a={lane:2,revertLane:zc(),action:a,hasEagerState:!1,eagerState:null,next:null},Xl(e)){if(t)throw Error(u(479))}else t=bs(e,n,a,2),t!==null&&Vt(t,e,2)}function Xl(e){var t=e.alternate;return e===Re||t!==null&&t===Re}function wm(e,t){br=Vl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rm(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,qd(e,n)}}var Ql={readContext:Ot,use:Pl,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useLayoutEffect:at,useInsertionEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useSyncExternalStore:at,useId:at,useHostTransitionStatus:at,useFormState:at,useActionState:at,useOptimistic:at,useMemoCache:at,useCacheRefresh:at},Tm={readContext:Ot,use:Pl,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:Ot,useEffect:cm,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Kl(4194308,4,mm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Kl(4194308,4,e,t)},useInsertionEffect:function(e,t){Kl(4,2,e,t)},useMemo:function(e,t){var n=Mt();t=t===void 0?null:t;var a=e();if(ja){St(!0);try{e()}finally{St(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Mt();if(n!==void 0){var l=n(t);if(ja){St(!0);try{n(t)}finally{St(!1)}}}else l=t;return a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},a.queue=e,e=e.dispatch=f_.bind(null,Re,e),[a.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:function(e){e=Zs(e);var t=e.queue,n=Om.bind(null,Re,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Fs,useDeferredValue:function(e,t){var n=Mt();return Is(n,e,t)},useTransition:function(){var e=Zs(!1);return e=_m.bind(null,Re,e.queue,!0,!1),Mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Re,l=Mt();if(He){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Je===null)throw Error(u(349));(qe&124)!==0||Qh(a,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,cm(Jh.bind(null,a,s,e),[e]),a.flags|=2048,Er(9,Gl(),Zh.bind(null,a,s,n,t),null),n},useId:function(){var e=Mt(),t=Je.identifierPrefix;if(He){var n=Tn,a=Rn;n=(a&~(1<<32-Et(a)-1)).toString(32)+n,t="«"+t+"R"+n,n=Bl++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=i_++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ec,useFormState:im,useActionState:im,useOptimistic:function(e){var t=Mt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=tc.bind(null,Re,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ks,useCacheRefresh:function(){return Mt().memoizedState=c_.bind(null,Re)}},Am={readContext:Ot,use:Pl,useCallback:vm,useContext:Ot,useEffect:fm,useImperativeHandle:pm,useInsertionEffect:dm,useLayoutEffect:hm,useMemo:ym,useReducer:Yl,useRef:sm,useState:function(){return Yl(Mn)},useDebugValue:Fs,useDeferredValue:function(e,t){var n=lt();return gm(n,Pe.memoizedState,e,t)},useTransition:function(){var e=Yl(Mn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:$i(e),t]},useSyncExternalStore:Xh,useId:Em,useHostTransitionStatus:ec,useFormState:lm,useActionState:lm,useOptimistic:function(e,t){var n=lt();return Wh(n,Pe,e,t)},useMemoCache:Ks,useCacheRefresh:$m},d_={readContext:Ot,use:Pl,useCallback:vm,useContext:Ot,useEffect:fm,useImperativeHandle:pm,useInsertionEffect:dm,useLayoutEffect:hm,useMemo:ym,useReducer:Qs,useRef:sm,useState:function(){return Qs(Mn)},useDebugValue:Fs,useDeferredValue:function(e,t){var n=lt();return Pe===null?Is(n,e,t):gm(n,Pe.memoizedState,e,t)},useTransition:function(){var e=Qs(Mn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:$i(e),t]},useSyncExternalStore:Xh,useId:Em,useHostTransitionStatus:ec,useFormState:om,useActionState:om,useOptimistic:function(e,t){var n=lt();return Pe!==null?Wh(n,Pe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Ks,useCacheRefresh:$m},$r=null,Ri=0;function Zl(e){var t=Ri;return Ri+=1,$r===null&&($r=[]),Lh($r,e,t)}function Ti(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Jl(e,t){throw t.$$typeof===R?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Nm(e){var t=e._init;return t(e._payload)}function Mm(e){function t(K,k){if(e){var Q=K.deletions;Q===null?(K.deletions=[k],K.flags|=16):Q.push(k)}}function n(K,k){if(!e)return null;for(;k!==null;)t(K,k),k=k.sibling;return null}function a(K){for(var k=new Map;K!==null;)K.key!==null?k.set(K.key,K):k.set(K.index,K),K=K.sibling;return k}function l(K,k){return K=wn(K,k),K.index=0,K.sibling=null,K}function s(K,k,Q){return K.index=Q,e?(Q=K.alternate,Q!==null?(Q=Q.index,Q<k?(K.flags|=67108866,k):Q):(K.flags|=67108866,k)):(K.flags|=1048576,k)}function $(K){return e&&K.alternate===null&&(K.flags|=67108866),K}function D(K,k,Q,re){return k===null||k.tag!==6?(k=Es(Q,K.mode,re),k.return=K,k):(k=l(k,Q),k.return=K,k)}function U(K,k,Q,re){var ge=Q.type;return ge===w?ne(K,k,Q.props.children,re,Q.key):k!==null&&(k.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===V&&Nm(ge)===k.type)?(k=l(k,Q.props),Ti(k,Q),k.return=K,k):(k=Cl(Q.type,Q.key,Q.props,null,K.mode,re),Ti(k,Q),k.return=K,k)}function Z(K,k,Q,re){return k===null||k.tag!==4||k.stateNode.containerInfo!==Q.containerInfo||k.stateNode.implementation!==Q.implementation?(k=$s(Q,K.mode,re),k.return=K,k):(k=l(k,Q.children||[]),k.return=K,k)}function ne(K,k,Q,re,ge){return k===null||k.tag!==7?(k=Aa(Q,K.mode,re,ge),k.return=K,k):(k=l(k,Q),k.return=K,k)}function le(K,k,Q){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=Es(""+k,K.mode,Q),k.return=K,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case E:return Q=Cl(k.type,k.key,k.props,null,K.mode,Q),Ti(Q,k),Q.return=K,Q;case T:return k=$s(k,K.mode,Q),k.return=K,k;case V:var re=k._init;return k=re(k._payload),le(K,k,Q)}if(me(k)||ue(k))return k=Aa(k,K.mode,Q,null),k.return=K,k;if(typeof k.then=="function")return le(K,Zl(k),Q);if(k.$$typeof===b)return le(K,jl(K,k),Q);Jl(K,k)}return null}function F(K,k,Q,re){var ge=k!==null?k.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return ge!==null?null:D(K,k,""+Q,re);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case E:return Q.key===ge?U(K,k,Q,re):null;case T:return Q.key===ge?Z(K,k,Q,re):null;case V:return ge=Q._init,Q=ge(Q._payload),F(K,k,Q,re)}if(me(Q)||ue(Q))return ge!==null?null:ne(K,k,Q,re,null);if(typeof Q.then=="function")return F(K,k,Zl(Q),re);if(Q.$$typeof===b)return F(K,k,jl(K,Q),re);Jl(K,Q)}return null}function I(K,k,Q,re,ge){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return K=K.get(Q)||null,D(k,K,""+re,ge);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case E:return K=K.get(re.key===null?Q:re.key)||null,U(k,K,re,ge);case T:return K=K.get(re.key===null?Q:re.key)||null,Z(k,K,re,ge);case V:var Ne=re._init;return re=Ne(re._payload),I(K,k,Q,re,ge)}if(me(re)||ue(re))return K=K.get(Q)||null,ne(k,K,re,ge,null);if(typeof re.then=="function")return I(K,k,Q,Zl(re),ge);if(re.$$typeof===b)return I(K,k,Q,jl(k,re),ge);Jl(k,re)}return null}function Ee(K,k,Q,re){for(var ge=null,Ne=null,_e=k,Se=k=0,mt=null;_e!==null&&Se<Q.length;Se++){_e.index>Se?(mt=_e,_e=null):mt=_e.sibling;var je=F(K,_e,Q[Se],re);if(je===null){_e===null&&(_e=mt);break}e&&_e&&je.alternate===null&&t(K,_e),k=s(je,k,Se),Ne===null?ge=je:Ne.sibling=je,Ne=je,_e=mt}if(Se===Q.length)return n(K,_e),He&&Ma(K,Se),ge;if(_e===null){for(;Se<Q.length;Se++)_e=le(K,Q[Se],re),_e!==null&&(k=s(_e,k,Se),Ne===null?ge=_e:Ne.sibling=_e,Ne=_e);return He&&Ma(K,Se),ge}for(_e=a(_e);Se<Q.length;Se++)mt=I(_e,K,Se,Q[Se],re),mt!==null&&(e&&mt.alternate!==null&&_e.delete(mt.key===null?Se:mt.key),k=s(mt,k,Se),Ne===null?ge=mt:Ne.sibling=mt,Ne=mt);return e&&_e.forEach(function(ma){return t(K,ma)}),He&&Ma(K,Se),ge}function be(K,k,Q,re){if(Q==null)throw Error(u(151));for(var ge=null,Ne=null,_e=k,Se=k=0,mt=null,je=Q.next();_e!==null&&!je.done;Se++,je=Q.next()){_e.index>Se?(mt=_e,_e=null):mt=_e.sibling;var ma=F(K,_e,je.value,re);if(ma===null){_e===null&&(_e=mt);break}e&&_e&&ma.alternate===null&&t(K,_e),k=s(ma,k,Se),Ne===null?ge=ma:Ne.sibling=ma,Ne=ma,_e=mt}if(je.done)return n(K,_e),He&&Ma(K,Se),ge;if(_e===null){for(;!je.done;Se++,je=Q.next())je=le(K,je.value,re),je!==null&&(k=s(je,k,Se),Ne===null?ge=je:Ne.sibling=je,Ne=je);return He&&Ma(K,Se),ge}for(_e=a(_e);!je.done;Se++,je=Q.next())je=I(_e,K,Se,je.value,re),je!==null&&(e&&je.alternate!==null&&_e.delete(je.key===null?Se:je.key),k=s(je,k,Se),Ne===null?ge=je:Ne.sibling=je,Ne=je);return e&&_e.forEach(function(hb){return t(K,hb)}),He&&Ma(K,Se),ge}function Ge(K,k,Q,re){if(typeof Q=="object"&&Q!==null&&Q.type===w&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case E:e:{for(var ge=Q.key;k!==null;){if(k.key===ge){if(ge=Q.type,ge===w){if(k.tag===7){n(K,k.sibling),re=l(k,Q.props.children),re.return=K,K=re;break e}}else if(k.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===V&&Nm(ge)===k.type){n(K,k.sibling),re=l(k,Q.props),Ti(re,Q),re.return=K,K=re;break e}n(K,k);break}else t(K,k);k=k.sibling}Q.type===w?(re=Aa(Q.props.children,K.mode,re,Q.key),re.return=K,K=re):(re=Cl(Q.type,Q.key,Q.props,null,K.mode,re),Ti(re,Q),re.return=K,K=re)}return $(K);case T:e:{for(ge=Q.key;k!==null;){if(k.key===ge)if(k.tag===4&&k.stateNode.containerInfo===Q.containerInfo&&k.stateNode.implementation===Q.implementation){n(K,k.sibling),re=l(k,Q.children||[]),re.return=K,K=re;break e}else{n(K,k);break}else t(K,k);k=k.sibling}re=$s(Q,K.mode,re),re.return=K,K=re}return $(K);case V:return ge=Q._init,Q=ge(Q._payload),Ge(K,k,Q,re)}if(me(Q))return Ee(K,k,Q,re);if(ue(Q)){if(ge=ue(Q),typeof ge!="function")throw Error(u(150));return Q=ge.call(Q),be(K,k,Q,re)}if(typeof Q.then=="function")return Ge(K,k,Zl(Q),re);if(Q.$$typeof===b)return Ge(K,k,jl(K,Q),re);Jl(K,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,k!==null&&k.tag===6?(n(K,k.sibling),re=l(k,Q),re.return=K,K=re):(n(K,k),re=Es(Q,K.mode,re),re.return=K,K=re),$(K)):n(K,k)}return function(K,k,Q,re){try{Ri=0;var ge=Ge(K,k,Q,re);return $r=null,ge}catch(_e){if(_e===yi||_e===Hl)throw _e;var Ne=jt(29,_e,null,K.mode);return Ne.lanes=re,Ne.return=K,Ne}finally{}}}var Or=Mm(!0),Dm=Mm(!1),Jt=q(null),hn=null;function Wn(e){var t=e.alternate;j(ct,ct.current&1),j(Jt,e),hn===null&&(t===null||_r.current!==null||t.memoizedState!==null)&&(hn=e)}function Cm(e){if(e.tag===22){if(j(ct,ct.current),j(Jt,e),hn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(hn=e)}}else ea()}function ea(){j(ct,ct.current),j(Jt,Jt.current)}function Dn(e){P(Jt),hn===e&&(hn=null),P(ct)}var ct=q(0);function Fl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||Gc(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function nc(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ac={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=kt(),l=Jn(a);l.payload=t,n!=null&&(l.callback=n),t=Fn(e,l,a),t!==null&&(Vt(t,e,a),_i(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=kt(),l=Jn(a);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=Fn(e,l,a),t!==null&&(Vt(t,e,a),_i(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=kt(),a=Jn(n);a.tag=2,t!=null&&(a.callback=t),t=Fn(e,a,n),t!==null&&(Vt(t,e,n),_i(t,e,n))}};function zm(e,t,n,a,l,s,$){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,s,$):t.prototype&&t.prototype.isPureReactComponent?!si(n,a)||!si(l,s):!0}function qm(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&ac.enqueueReplaceState(t,t.state,null)}function Ua(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}var Il=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function xm(e){Il(e)}function jm(e){console.error(e)}function Um(e){Il(e)}function Wl(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Hm(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function rc(e,t,n){return n=Jn(n),n.tag=3,n.payload={element:null},n.callback=function(){Wl(e,t)},n}function Lm(e){return e=Jn(e),e.tag=3,e}function km(e,t,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var s=a.value;e.payload=function(){return l(s)},e.callback=function(){Hm(t,n,a)}}var $=n.stateNode;$!==null&&typeof $.componentDidCatch=="function"&&(e.callback=function(){Hm(t,n,a),typeof l!="function"&&(la===null?la=new Set([this]):la.add(this));var D=a.stack;this.componentDidCatch(a.value,{componentStack:D!==null?D:""})})}function h_(e,t,n,a,l){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&mi(t,n,l,!0),n=Jt.current,n!==null){switch(n.tag){case 13:return hn===null?Ac():n.alternate===null&&nt===0&&(nt=3),n.flags&=-257,n.flags|=65536,n.lanes=l,a===zs?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Mc(e,a,l)),!1;case 22:return n.flags|=65536,a===zs?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Mc(e,a,l)),!1}throw Error(u(435,n.tag))}return Mc(e,a,l),Ac(),!1}if(He)return t=Jt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,a!==Rs&&(e=Error(u(422),{cause:a}),hi(Kt(e,n)))):(a!==Rs&&(t=Error(u(423),{cause:a}),hi(Kt(t,n))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,a=Kt(a,n),l=rc(e.stateNode,a,l),js(e,l),nt!==4&&(nt=2)),!1;var s=Error(u(520),{cause:a});if(s=Kt(s,n),qi===null?qi=[s]:qi.push(s),nt!==4&&(nt=2),t===null)return!0;a=Kt(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=rc(n.stateNode,a,e),js(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(la===null||!la.has(s))))return n.flags|=65536,l&=-l,n.lanes|=l,l=Lm(l),km(l,e,n,a),js(n,l),!1}n=n.return}while(n!==null);return!1}var Vm=Error(u(461)),dt=!1;function pt(e,t,n,a){t.child=e===null?Dm(t,null,n,a):Or(t,e.child,n,a)}function Bm(e,t,n,a,l){n=n.render;var s=t.ref;if("ref"in a){var $={};for(var D in a)D!=="ref"&&($[D]=a[D])}else $=a;return qa(t),a=Vs(e,t,n,$,s,l),D=Bs(),e!==null&&!dt?(Ps(e,t,l),Cn(e,t,l)):(He&&D&&Os(t),t.flags|=1,pt(e,t,a,l),t.child)}function Pm(e,t,n,a,l){if(e===null){var s=n.type;return typeof s=="function"&&!Ss(s)&&s.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=s,Ym(e,t,s,a,l)):(e=Cl(n.type,null,a,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!dc(e,l)){var $=s.memoizedProps;if(n=n.compare,n=n!==null?n:si,n($,a)&&e.ref===t.ref)return Cn(e,t,l)}return t.flags|=1,e=wn(s,a),e.ref=t.ref,e.return=t,t.child=e}function Ym(e,t,n,a,l){if(e!==null){var s=e.memoizedProps;if(si(s,a)&&e.ref===t.ref)if(dt=!1,t.pendingProps=a=s,dc(e,l))(e.flags&131072)!==0&&(dt=!0);else return t.lanes=e.lanes,Cn(e,t,l)}return ic(e,t,n,a,l)}function Gm(e,t,n){var a=t.pendingProps,l=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=s!==null?s.baseLanes|n:n,e!==null){for(l=t.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;t.childLanes=s&~a}else t.childLanes=0,t.child=null;return Km(e,t,a,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ul(t,s!==null?s.cachePool:null),s!==null?Yh(t,s):Hs(),Cm(t);else return t.lanes=t.childLanes=536870912,Km(e,t,s!==null?s.baseLanes|n:n,n)}else s!==null?(Ul(t,s.cachePool),Yh(t,s),ea(),t.memoizedState=null):(e!==null&&Ul(t,null),Hs(),ea());return pt(e,t,l,n),t.child}function Km(e,t,n,a){var l=Cs();return l=l===null?null:{parent:st._currentValue,pool:l},t.memoizedState={baseLanes:n,cachePool:l},e!==null&&Ul(t,null),Hs(),Cm(t),e!==null&&mi(e,t,a,!0),null}function eu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(u(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ic(e,t,n,a,l){return qa(t),n=Vs(e,t,n,a,void 0,l),a=Bs(),e!==null&&!dt?(Ps(e,t,l),Cn(e,t,l)):(He&&a&&Os(t),t.flags|=1,pt(e,t,n,l),t.child)}function Xm(e,t,n,a,l,s){return qa(t),t.updateQueue=null,n=Kh(t,a,n,l),Gh(e),a=Bs(),e!==null&&!dt?(Ps(e,t,s),Cn(e,t,s)):(He&&a&&Os(t),t.flags|=1,pt(e,t,n,s),t.child)}function Qm(e,t,n,a,l){if(qa(t),t.stateNode===null){var s=mr,$=n.contextType;typeof $=="object"&&$!==null&&(s=Ot($)),s=new n(a,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=ac,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=a,s.state=t.memoizedState,s.refs={},qs(t),$=n.contextType,s.context=typeof $=="object"&&$!==null?Ot($):mr,s.state=t.memoizedState,$=n.getDerivedStateFromProps,typeof $=="function"&&(nc(t,n,$,a),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||($=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),$!==s.state&&ac.enqueueReplaceState(s,s.state,null),Si(t,a,s,l),bi(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){s=t.stateNode;var D=t.memoizedProps,U=Ua(n,D);s.props=U;var Z=s.context,ne=n.contextType;$=mr,typeof ne=="object"&&ne!==null&&($=Ot(ne));var le=n.getDerivedStateFromProps;ne=typeof le=="function"||typeof s.getSnapshotBeforeUpdate=="function",D=t.pendingProps!==D,ne||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(D||Z!==$)&&qm(t,s,a,$),Zn=!1;var F=t.memoizedState;s.state=F,Si(t,a,s,l),bi(),Z=t.memoizedState,D||F!==Z||Zn?(typeof le=="function"&&(nc(t,n,le,a),Z=t.memoizedState),(U=Zn||zm(t,n,U,a,F,Z,$))?(ne||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=Z),s.props=a,s.state=Z,s.context=$,a=U):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{s=t.stateNode,xs(e,t),$=t.memoizedProps,ne=Ua(n,$),s.props=ne,le=t.pendingProps,F=s.context,Z=n.contextType,U=mr,typeof Z=="object"&&Z!==null&&(U=Ot(Z)),D=n.getDerivedStateFromProps,(Z=typeof D=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||($!==le||F!==U)&&qm(t,s,a,U),Zn=!1,F=t.memoizedState,s.state=F,Si(t,a,s,l),bi();var I=t.memoizedState;$!==le||F!==I||Zn||e!==null&&e.dependencies!==null&&xl(e.dependencies)?(typeof D=="function"&&(nc(t,n,D,a),I=t.memoizedState),(ne=Zn||zm(t,n,ne,a,F,I,U)||e!==null&&e.dependencies!==null&&xl(e.dependencies))?(Z||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,I,U),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,I,U)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||$===e.memoizedProps&&F===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||$===e.memoizedProps&&F===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=I),s.props=a,s.state=I,s.context=U,a=ne):(typeof s.componentDidUpdate!="function"||$===e.memoizedProps&&F===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||$===e.memoizedProps&&F===e.memoizedState||(t.flags|=1024),a=!1)}return s=a,eu(e,t),a=(t.flags&128)!==0,s||a?(s=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&a?(t.child=Or(t,e.child,null,l),t.child=Or(t,null,n,l)):pt(e,t,n,l),t.memoizedState=s.state,e=t.child):e=Cn(e,t,l),e}function Zm(e,t,n,a){return di(),t.flags|=256,pt(e,t,n,a),t.child}var lc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function uc(e){return{baseLanes:e,cachePool:jh()}}function oc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Ft),e}function Jm(e,t,n){var a=t.pendingProps,l=!1,s=(t.flags&128)!==0,$;if(($=s)||($=e!==null&&e.memoizedState===null?!1:(ct.current&2)!==0),$&&(l=!0,t.flags&=-129),$=(t.flags&32)!==0,t.flags&=-33,e===null){if(He){if(l?Wn(t):ea(),He){var D=tt,U;if(U=D){e:{for(U=D,D=dn;U.nodeType!==8;){if(!D){D=null;break e}if(U=ln(U.nextSibling),U===null){D=null;break e}}D=U}D!==null?(t.memoizedState={dehydrated:D,treeContext:Na!==null?{id:Rn,overflow:Tn}:null,retryLane:536870912,hydrationErrors:null},U=jt(18,null,null,0),U.stateNode=D,U.return=t,t.child=U,Rt=t,tt=null,U=!0):U=!1}U||Ca(t)}if(D=t.memoizedState,D!==null&&(D=D.dehydrated,D!==null))return Gc(D)?t.lanes=32:t.lanes=536870912,null;Dn(t)}return D=a.children,a=a.fallback,l?(ea(),l=t.mode,D=tu({mode:"hidden",children:D},l),a=Aa(a,l,n,null),D.return=t,a.return=t,D.sibling=a,t.child=D,l=t.child,l.memoizedState=uc(n),l.childLanes=oc(e,$,n),t.memoizedState=lc,a):(Wn(t),sc(t,D))}if(U=e.memoizedState,U!==null&&(D=U.dehydrated,D!==null)){if(s)t.flags&256?(Wn(t),t.flags&=-257,t=cc(e,t,n)):t.memoizedState!==null?(ea(),t.child=e.child,t.flags|=128,t=null):(ea(),l=a.fallback,D=t.mode,a=tu({mode:"visible",children:a.children},D),l=Aa(l,D,n,null),l.flags|=2,a.return=t,l.return=t,a.sibling=l,t.child=a,Or(t,e.child,null,n),a=t.child,a.memoizedState=uc(n),a.childLanes=oc(e,$,n),t.memoizedState=lc,t=l);else if(Wn(t),Gc(D)){if($=D.nextSibling&&D.nextSibling.dataset,$)var Z=$.dgst;$=Z,a=Error(u(419)),a.stack="",a.digest=$,hi({value:a,source:null,stack:null}),t=cc(e,t,n)}else if(dt||mi(e,t,n,!1),$=(n&e.childLanes)!==0,dt||$){if($=Je,$!==null&&(a=n&-n,a=(a&42)!==0?1:Ko(a),a=(a&($.suspendedLanes|n))!==0?0:a,a!==0&&a!==U.retryLane))throw U.retryLane=a,hr(e,a),Vt($,e,a),Vm;D.data==="$?"||Ac(),t=cc(e,t,n)}else D.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=U.treeContext,tt=ln(D.nextSibling),Rt=t,He=!0,Da=null,dn=!1,e!==null&&(Qt[Zt++]=Rn,Qt[Zt++]=Tn,Qt[Zt++]=Na,Rn=e.id,Tn=e.overflow,Na=t),t=sc(t,a.children),t.flags|=4096);return t}return l?(ea(),l=a.fallback,D=t.mode,U=e.child,Z=U.sibling,a=wn(U,{mode:"hidden",children:a.children}),a.subtreeFlags=U.subtreeFlags&65011712,Z!==null?l=wn(Z,l):(l=Aa(l,D,n,null),l.flags|=2),l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,D=e.child.memoizedState,D===null?D=uc(n):(U=D.cachePool,U!==null?(Z=st._currentValue,U=U.parent!==Z?{parent:Z,pool:Z}:U):U=jh(),D={baseLanes:D.baseLanes|n,cachePool:U}),l.memoizedState=D,l.childLanes=oc(e,$,n),t.memoizedState=lc,a):(Wn(t),n=e.child,e=n.sibling,n=wn(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&($=t.deletions,$===null?(t.deletions=[e],t.flags|=16):$.push(e)),t.child=n,t.memoizedState=null,n)}function sc(e,t){return t=tu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function tu(e,t){return e=jt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function cc(e,t,n){return Or(t,e.child,null,n),e=sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fm(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),As(e.return,t,n)}function fc(e,t,n,a,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=l)}function Im(e,t,n){var a=t.pendingProps,l=a.revealOrder,s=a.tail;if(pt(e,t,a.children,n),a=ct.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Fm(e,n,t);else if(e.tag===19)Fm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(j(ct,a),l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Fl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),fc(t,!1,l,n,s);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Fl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}fc(t,!0,n,null,s);break;case"together":fc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ia|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(mi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=wn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&xl(e)))}function m_(e,t,n){switch(t.tag){case 3:fe(t,t.stateNode.containerInfo),Qn(t,st,e.memoizedState.cache),di();break;case 27:case 5:de(t);break;case 4:fe(t,t.stateNode.containerInfo);break;case 10:Qn(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Wn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Jm(e,t,n):(Wn(t),e=Cn(e,t,n),e!==null?e.sibling:null);Wn(t);break;case 19:var l=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(mi(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return Im(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),j(ct,ct.current),a)break;return null;case 22:case 23:return t.lanes=0,Gm(e,t,n);case 24:Qn(t,st,e.memoizedState.cache)}return Cn(e,t,n)}function Wm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)dt=!0;else{if(!dc(e,n)&&(t.flags&128)===0)return dt=!1,m_(e,t,n);dt=(e.flags&131072)!==0}else dt=!1,He&&(t.flags&1048576)!==0&&Nh(t,ql,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,l=a._init;if(a=l(a._payload),t.type=a,typeof a=="function")Ss(a)?(e=Ua(a,e),t.tag=1,t=Qm(null,t,a,e,n)):(t.tag=0,t=ic(null,t,a,e,n));else{if(a!=null){if(l=a.$$typeof,l===A){t.tag=11,t=Bm(null,t,a,e,n);break e}else if(l===C){t.tag=14,t=Pm(null,t,a,e,n);break e}}throw t=oe(a)||a,Error(u(306,t,""))}}return t;case 0:return ic(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=Ua(a,t.pendingProps),Qm(e,t,a,l,n);case 3:e:{if(fe(t,t.stateNode.containerInfo),e===null)throw Error(u(387));a=t.pendingProps;var s=t.memoizedState;l=s.element,xs(e,t),Si(t,a,null,n);var $=t.memoizedState;if(a=$.cache,Qn(t,st,a),a!==s.cache&&Ns(t,[st],n,!0),bi(),a=$.element,s.isDehydrated)if(s={element:a,isDehydrated:!1,cache:$.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=Zm(e,t,a,n);break e}else if(a!==l){l=Kt(Error(u(424)),t),hi(l),t=Zm(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(tt=ln(e.firstChild),Rt=t,He=!0,Da=null,dn=!0,n=Dm(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(di(),a===l){t=Cn(e,t,n);break e}pt(e,t,a,n)}t=t.child}return t;case 26:return eu(e,t),e===null?(n=av(t.type,null,t.pendingProps,null))?t.memoizedState=n:He||(n=t.type,e=t.pendingProps,a=pu(L.current).createElement(n),a[$t]=t,a[At]=e,yt(a,n,e),ft(a),t.stateNode=a):t.memoizedState=av(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return de(t),e===null&&He&&(a=t.stateNode=ev(t.type,t.pendingProps,L.current),Rt=t,dn=!0,l=tt,sa(t.type)?(Kc=l,tt=ln(a.firstChild)):tt=l),pt(e,t,t.pendingProps.children,n),eu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&He&&((l=a=tt)&&(a=B_(a,t.type,t.pendingProps,dn),a!==null?(t.stateNode=a,Rt=t,tt=ln(a.firstChild),dn=!1,l=!0):l=!1),l||Ca(t)),de(t),l=t.type,s=t.pendingProps,$=e!==null?e.memoizedProps:null,a=s.children,Bc(l,s)?a=null:$!==null&&Bc(l,$)&&(t.flags|=32),t.memoizedState!==null&&(l=Vs(e,t,l_,null,null,n),Pi._currentValue=l),eu(e,t),pt(e,t,a,n),t.child;case 6:return e===null&&He&&((e=n=tt)&&(n=P_(n,t.pendingProps,dn),n!==null?(t.stateNode=n,Rt=t,tt=null,e=!0):e=!1),e||Ca(t)),null;case 13:return Jm(e,t,n);case 4:return fe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Or(t,null,a,n):pt(e,t,a,n),t.child;case 11:return Bm(e,t,t.type,t.pendingProps,n);case 7:return pt(e,t,t.pendingProps,n),t.child;case 8:return pt(e,t,t.pendingProps.children,n),t.child;case 12:return pt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Qn(t,t.type,a.value),pt(e,t,a.children,n),t.child;case 9:return l=t.type._context,a=t.pendingProps.children,qa(t),l=Ot(l),a=a(l),t.flags|=1,pt(e,t,a,n),t.child;case 14:return Pm(e,t,t.type,t.pendingProps,n);case 15:return Ym(e,t,t.type,t.pendingProps,n);case 19:return Im(e,t,n);case 31:return a=t.pendingProps,n=t.mode,a={mode:a.mode,children:a.children},e===null?(n=tu(a,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=wn(e.child,a),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Gm(e,t,n);case 24:return qa(t),a=Ot(st),e===null?(l=Cs(),l===null&&(l=Je,s=Ms(),l.pooledCache=s,s.refCount++,s!==null&&(l.pooledCacheLanes|=n),l=s),t.memoizedState={parent:a,cache:l},qs(t),Qn(t,st,l)):((e.lanes&n)!==0&&(xs(e,t),Si(t,null,null,n),bi()),l=e.memoizedState,s=t.memoizedState,l.parent!==a?(l={parent:a,cache:a},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Qn(t,st,a)):(a=s.cache,Qn(t,st,a),a!==l.cache&&Ns(t,[st],n,!0))),pt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function zn(e){e.flags|=4}function ep(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ov(t)){if(t=Jt.current,t!==null&&((qe&4194048)===qe?hn!==null:(qe&62914560)!==qe&&(qe&536870912)===0||t!==hn))throw gi=zs,Uh;e.flags|=8192}}function nu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Cd():536870912,e.lanes|=t,Ar|=t)}function Ai(e,t){if(!He)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&65011712,a|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function p_(e,t,n){var a=t.pendingProps;switch(ws(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return We(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Nn(st),ae(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(fi(t)?zn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ch())),We(t),null;case 26:return n=t.memoizedState,e===null?(zn(t),n!==null?(We(t),ep(t,n)):(We(t),t.flags&=-16777217)):n?n!==e.memoizedState?(zn(t),We(t),ep(t,n)):(We(t),t.flags&=-16777217):(e.memoizedProps!==a&&zn(t),We(t),t.flags&=-16777217),null;case 27:H(t),n=L.current;var l=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&zn(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return We(t),null}e=M.current,fi(t)?Mh(t):(e=ev(l,a,n),t.stateNode=e,zn(t))}return We(t),null;case 5:if(H(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&zn(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return We(t),null}if(e=M.current,fi(t))Mh(t);else{switch(l=pu(L.current),e){case 1:e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?l.createElement("select",{is:a.is}):l.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?l.createElement(n,{is:a.is}):l.createElement(n)}}e[$t]=t,e[At]=a;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(yt(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&zn(t)}}return We(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&zn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=L.current,fi(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,l=Rt,l!==null)switch(l.tag){case 27:case 5:a=l.memoizedProps}e[$t]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Xp(e.nodeValue,n)),e||Ca(t)}else e=pu(e).createTextNode(a),e[$t]=t,t.stateNode=e}return We(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=fi(t),a!==null&&a.dehydrated!==null){if(e===null){if(!l)throw Error(u(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(u(317));l[$t]=t}else di(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;We(t),l=!1}else l=Ch(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Dn(t),t):(Dn(t),null)}if(Dn(t),(t.flags&128)!==0)return t.lanes=n,t;if(n=a!==null,e=e!==null&&e.memoizedState!==null,n){a=t.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==l&&(a.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),nu(t,t.updateQueue),We(t),null;case 4:return ae(),e===null&&Uc(t.stateNode.containerInfo),We(t),null;case 10:return Nn(t.type),We(t),null;case 19:if(P(ct),l=t.memoizedState,l===null)return We(t),null;if(a=(t.flags&128)!==0,s=l.rendering,s===null)if(a)Ai(l,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Fl(e),s!==null){for(t.flags|=128,Ai(l,!1),e=s.updateQueue,t.updateQueue=e,nu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ah(n,e),n=n.sibling;return j(ct,ct.current&1|2),t.child}e=e.sibling}l.tail!==null&&$e()>iu&&(t.flags|=128,a=!0,Ai(l,!1),t.lanes=4194304)}else{if(!a)if(e=Fl(s),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,nu(t,e),Ai(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!He)return We(t),null}else 2*$e()-l.renderingStartTime>iu&&n!==536870912&&(t.flags|=128,a=!0,Ai(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(e=l.last,e!==null?e.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=$e(),t.sibling=null,e=ct.current,j(ct,a?e&1|2:e&1),t):(We(t),null);case 22:case 23:return Dn(t),Ls(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),n=t.updateQueue,n!==null&&nu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&P(xa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Nn(st),We(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function v_(e,t){switch(ws(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nn(st),ae(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return H(t),null;case 13:if(Dn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));di()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(ct),null;case 4:return ae(),null;case 10:return Nn(t.type),null;case 22:case 23:return Dn(t),Ls(),e!==null&&P(xa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Nn(st),null;case 25:return null;default:return null}}function tp(e,t){switch(ws(t),t.tag){case 3:Nn(st),ae();break;case 26:case 27:case 5:H(t);break;case 4:ae();break;case 13:Dn(t);break;case 19:P(ct);break;case 10:Nn(t.type);break;case 22:case 23:Dn(t),Ls(),e!==null&&P(xa);break;case 24:Nn(st)}}function Ni(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&e)===e){a=void 0;var s=n.create,$=n.inst;a=s(),$.destroy=a}n=n.next}while(n!==l)}}catch(D){Xe(t,t.return,D)}}function ta(e,t,n){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var s=l.next;a=s;do{if((a.tag&e)===e){var $=a.inst,D=$.destroy;if(D!==void 0){$.destroy=void 0,l=t;var U=n,Z=D;try{Z()}catch(ne){Xe(l,U,ne)}}}a=a.next}while(a!==s)}}catch(ne){Xe(t,t.return,ne)}}function np(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ph(t,n)}catch(a){Xe(e,e.return,a)}}}function ap(e,t,n){n.props=Ua(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Xe(e,t,a)}}function Mi(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(l){Xe(e,t,l)}}function mn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(l){Xe(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(l){Xe(e,t,l)}else n.current=null}function rp(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(l){Xe(e,e.return,l)}}function hc(e,t,n){try{var a=e.stateNode;U_(a,e.type,n,t),a[At]=t}catch(l){Xe(e,e.return,l)}}function ip(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sa(e.type)||e.tag===4}function mc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ip(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&sa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mu));else if(a!==4&&(a===27&&sa(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function au(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&sa(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(au(e,t,n),e=e.sibling;e!==null;)au(e,t,n),e=e.sibling}function lp(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);yt(t,a,n),t[$t]=e,t[At]=n}catch(s){Xe(e,e.return,s)}}var qn=!1,rt=!1,vc=!1,up=typeof WeakSet=="function"?WeakSet:Set,ht=null;function y_(e,t){if(e=e.containerInfo,kc=Su,e=gh(e),ms(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var l=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var $=0,D=-1,U=-1,Z=0,ne=0,le=e,F=null;t:for(;;){for(var I;le!==n||l!==0&&le.nodeType!==3||(D=$+l),le!==s||a!==0&&le.nodeType!==3||(U=$+a),le.nodeType===3&&($+=le.nodeValue.length),(I=le.firstChild)!==null;)F=le,le=I;for(;;){if(le===e)break t;if(F===n&&++Z===l&&(D=$),F===s&&++ne===a&&(U=$),(I=le.nextSibling)!==null)break;le=F,F=le.parentNode}le=I}n=D===-1||U===-1?null:{start:D,end:U}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vc={focusedElem:e,selectionRange:n},Su=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,s=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,n=t,l=s.memoizedProps,s=s.memoizedState,a=n.stateNode;try{var Ee=Ua(n.type,l,n.elementType===n.type);e=a.getSnapshotBeforeUpdate(Ee,s),a.__reactInternalSnapshotBeforeUpdate=e}catch(be){Xe(n,n.return,be)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Yc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Yc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function op(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:na(e,n),a&4&&Ni(5,n);break;case 1:if(na(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch($){Xe(n,n.return,$)}else{var l=Ua(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch($){Xe(n,n.return,$)}}a&64&&np(n),a&512&&Mi(n,n.return);break;case 3:if(na(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ph(e,t)}catch($){Xe(n,n.return,$)}}break;case 27:t===null&&a&4&&lp(n);case 26:case 5:na(e,n),t===null&&a&4&&rp(n),a&512&&Mi(n,n.return);break;case 12:na(e,n);break;case 13:na(e,n),a&4&&fp(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=R_.bind(null,n),Y_(e,n))));break;case 22:if(a=n.memoizedState!==null||qn,!a){t=t!==null&&t.memoizedState!==null||rt,l=qn;var s=rt;qn=a,(rt=t)&&!s?aa(e,n,(n.subtreeFlags&8772)!==0):na(e,n),qn=l,rt=s}break;case 30:break;default:na(e,n)}}function sp(e){var t=e.alternate;t!==null&&(e.alternate=null,sp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Zo(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Fe=null,Dt=!1;function xn(e,t,n){for(n=n.child;n!==null;)cp(e,t,n),n=n.sibling}function cp(e,t,n){if(et&&typeof et.onCommitFiberUnmount=="function")try{et.onCommitFiberUnmount(bt,n)}catch{}switch(n.tag){case 26:rt||mn(n,t),xn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:rt||mn(n,t);var a=Fe,l=Dt;sa(n.type)&&(Fe=n.stateNode,Dt=!1),xn(e,t,n),Li(n.stateNode),Fe=a,Dt=l;break;case 5:rt||mn(n,t);case 6:if(a=Fe,l=Dt,Fe=null,xn(e,t,n),Fe=a,Dt=l,Fe!==null)if(Dt)try{(Fe.nodeType===9?Fe.body:Fe.nodeName==="HTML"?Fe.ownerDocument.body:Fe).removeChild(n.stateNode)}catch(s){Xe(n,t,s)}else try{Fe.removeChild(n.stateNode)}catch(s){Xe(n,t,s)}break;case 18:Fe!==null&&(Dt?(e=Fe,Ip(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Xi(e)):Ip(Fe,n.stateNode));break;case 4:a=Fe,l=Dt,Fe=n.stateNode.containerInfo,Dt=!0,xn(e,t,n),Fe=a,Dt=l;break;case 0:case 11:case 14:case 15:rt||ta(2,n,t),rt||ta(4,n,t),xn(e,t,n);break;case 1:rt||(mn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&ap(n,t,a)),xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:rt=(a=rt)||n.memoizedState!==null,xn(e,t,n),rt=a;break;default:xn(e,t,n)}}function fp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xi(e)}catch(n){Xe(t,t.return,n)}}function g_(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new up),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new up),t;default:throw Error(u(435,e.tag))}}function yc(e,t){var n=g_(e);t.forEach(function(a){var l=T_.bind(null,e,a);n.has(a)||(n.add(a),a.then(l,l))})}function Ut(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=n[a],s=e,$=t,D=$;e:for(;D!==null;){switch(D.tag){case 27:if(sa(D.type)){Fe=D.stateNode,Dt=!1;break e}break;case 5:Fe=D.stateNode,Dt=!1;break e;case 3:case 4:Fe=D.stateNode.containerInfo,Dt=!0;break e}D=D.return}if(Fe===null)throw Error(u(160));cp(s,$,l),Fe=null,Dt=!1,s=l.alternate,s!==null&&(s.return=null),l.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)dp(t,e),t=t.sibling}var rn=null;function dp(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ut(t,e),Ht(e),a&4&&(ta(3,e,e.return),Ni(3,e),ta(5,e,e.return));break;case 1:Ut(t,e),Ht(e),a&512&&(rt||n===null||mn(n,n.return)),a&64&&qn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var l=rn;if(Ut(t,e),Ht(e),a&512&&(rt||n===null||mn(n,n.return)),a&4){var s=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,l=l.ownerDocument||l;t:switch(a){case"title":s=l.getElementsByTagName("title")[0],(!s||s[ei]||s[$t]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=l.createElement(a),l.head.insertBefore(s,l.querySelector("head > title"))),yt(s,a,n),s[$t]=e,ft(s),a=s;break e;case"link":var $=lv("link","href",l).get(a+(n.href||""));if($){for(var D=0;D<$.length;D++)if(s=$[D],s.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){$.splice(D,1);break t}}s=l.createElement(a),yt(s,a,n),l.head.appendChild(s);break;case"meta":if($=lv("meta","content",l).get(a+(n.content||""))){for(D=0;D<$.length;D++)if(s=$[D],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){$.splice(D,1);break t}}s=l.createElement(a),yt(s,a,n),l.head.appendChild(s);break;default:throw Error(u(468,a))}s[$t]=e,ft(s),a=s}e.stateNode=a}else uv(l,e.type,e.stateNode);else e.stateNode=iv(l,a,e.memoizedProps);else s!==a?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,a===null?uv(l,e.type,e.stateNode):iv(l,a,e.memoizedProps)):a===null&&e.stateNode!==null&&hc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ut(t,e),Ht(e),a&512&&(rt||n===null||mn(n,n.return)),n!==null&&a&4&&hc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ut(t,e),Ht(e),a&512&&(rt||n===null||mn(n,n.return)),e.flags&32){l=e.stateNode;try{lr(l,"")}catch(I){Xe(e,e.return,I)}}a&4&&e.stateNode!=null&&(l=e.memoizedProps,hc(e,l,n!==null?n.memoizedProps:l)),a&1024&&(vc=!0);break;case 6:if(Ut(t,e),Ht(e),a&4){if(e.stateNode===null)throw Error(u(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(I){Xe(e,e.return,I)}}break;case 3:if(gu=null,l=rn,rn=vu(t.containerInfo),Ut(t,e),rn=l,Ht(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Xi(t.containerInfo)}catch(I){Xe(e,e.return,I)}vc&&(vc=!1,hp(e));break;case 4:a=rn,rn=vu(e.stateNode.containerInfo),Ut(t,e),Ht(e),rn=a;break;case 12:Ut(t,e),Ht(e);break;case 13:Ut(t,e),Ht(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&($c=$e()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,yc(e,a)));break;case 22:l=e.memoizedState!==null;var U=n!==null&&n.memoizedState!==null,Z=qn,ne=rt;if(qn=Z||l,rt=ne||U,Ut(t,e),rt=ne,qn=Z,Ht(e),a&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(n===null||U||qn||rt||Ha(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){U=n=t;try{if(s=U.stateNode,l)$=s.style,typeof $.setProperty=="function"?$.setProperty("display","none","important"):$.display="none";else{D=U.stateNode;var le=U.memoizedProps.style,F=le!=null&&le.hasOwnProperty("display")?le.display:null;D.style.display=F==null||typeof F=="boolean"?"":(""+F).trim()}}catch(I){Xe(U,U.return,I)}}}else if(t.tag===6){if(n===null){U=t;try{U.stateNode.nodeValue=l?"":U.memoizedProps}catch(I){Xe(U,U.return,I)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,yc(e,n))));break;case 19:Ut(t,e),Ht(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,yc(e,a)));break;case 30:break;case 21:break;default:Ut(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(ip(a)){n=a;break}a=a.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var l=n.stateNode,s=mc(e);au(e,s,l);break;case 5:var $=n.stateNode;n.flags&32&&(lr($,""),n.flags&=-33);var D=mc(e);au(e,D,$);break;case 3:case 4:var U=n.stateNode.containerInfo,Z=mc(e);pc(e,Z,U);break;default:throw Error(u(161))}}catch(ne){Xe(e,e.return,ne)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;hp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function na(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)op(e,t.alternate,t),t=t.sibling}function Ha(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ta(4,t,t.return),Ha(t);break;case 1:mn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&ap(t,t.return,n),Ha(t);break;case 27:Li(t.stateNode);case 26:case 5:mn(t,t.return),Ha(t);break;case 22:t.memoizedState===null&&Ha(t);break;case 30:Ha(t);break;default:Ha(t)}e=e.sibling}}function aa(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,l=e,s=t,$=s.flags;switch(s.tag){case 0:case 11:case 15:aa(l,s,n),Ni(4,s);break;case 1:if(aa(l,s,n),a=s,l=a.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(Z){Xe(a,a.return,Z)}if(a=s,l=a.updateQueue,l!==null){var D=a.stateNode;try{var U=l.shared.hiddenCallbacks;if(U!==null)for(l.shared.hiddenCallbacks=null,l=0;l<U.length;l++)Bh(U[l],D)}catch(Z){Xe(a,a.return,Z)}}n&&$&64&&np(s),Mi(s,s.return);break;case 27:lp(s);case 26:case 5:aa(l,s,n),n&&a===null&&$&4&&rp(s),Mi(s,s.return);break;case 12:aa(l,s,n);break;case 13:aa(l,s,n),n&&$&4&&fp(l,s);break;case 22:s.memoizedState===null&&aa(l,s,n),Mi(s,s.return);break;case 30:break;default:aa(l,s,n)}t=t.sibling}}function gc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&pi(n))}function _c(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pi(e))}function pn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mp(e,t,n,a),t=t.sibling}function mp(e,t,n,a){var l=t.flags;switch(t.tag){case 0:case 11:case 15:pn(e,t,n,a),l&2048&&Ni(9,t);break;case 1:pn(e,t,n,a);break;case 3:pn(e,t,n,a),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pi(e)));break;case 12:if(l&2048){pn(e,t,n,a),e=t.stateNode;try{var s=t.memoizedProps,$=s.id,D=s.onPostCommit;typeof D=="function"&&D($,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(U){Xe(t,t.return,U)}}else pn(e,t,n,a);break;case 13:pn(e,t,n,a);break;case 23:break;case 22:s=t.stateNode,$=t.alternate,t.memoizedState!==null?s._visibility&2?pn(e,t,n,a):Di(e,t):s._visibility&2?pn(e,t,n,a):(s._visibility|=2,wr(e,t,n,a,(t.subtreeFlags&10256)!==0)),l&2048&&gc($,t);break;case 24:pn(e,t,n,a),l&2048&&_c(t.alternate,t);break;default:pn(e,t,n,a)}}function wr(e,t,n,a,l){for(l=l&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var s=e,$=t,D=n,U=a,Z=$.flags;switch($.tag){case 0:case 11:case 15:wr(s,$,D,U,l),Ni(8,$);break;case 23:break;case 22:var ne=$.stateNode;$.memoizedState!==null?ne._visibility&2?wr(s,$,D,U,l):Di(s,$):(ne._visibility|=2,wr(s,$,D,U,l)),l&&Z&2048&&gc($.alternate,$);break;case 24:wr(s,$,D,U,l),l&&Z&2048&&_c($.alternate,$);break;default:wr(s,$,D,U,l)}t=t.sibling}}function Di(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,l=a.flags;switch(a.tag){case 22:Di(n,a),l&2048&&gc(a.alternate,a);break;case 24:Di(n,a),l&2048&&_c(a.alternate,a);break;default:Di(n,a)}t=t.sibling}}var Ci=8192;function Rr(e){if(e.subtreeFlags&Ci)for(e=e.child;e!==null;)pp(e),e=e.sibling}function pp(e){switch(e.tag){case 26:Rr(e),e.flags&Ci&&e.memoizedState!==null&&ab(rn,e.memoizedState,e.memoizedProps);break;case 5:Rr(e);break;case 3:case 4:var t=rn;rn=vu(e.stateNode.containerInfo),Rr(e),rn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Ci,Ci=16777216,Rr(e),Ci=t):Rr(e));break;default:Rr(e)}}function vp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function zi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,gp(a,e)}vp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)yp(e),e=e.sibling}function yp(e){switch(e.tag){case 0:case 11:case 15:zi(e),e.flags&2048&&ta(9,e,e.return);break;case 3:zi(e);break;case 12:zi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ru(e)):zi(e);break;default:zi(e)}}function ru(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,gp(a,e)}vp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ta(8,t,t.return),ru(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ru(t));break;default:ru(t)}e=e.sibling}}function gp(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:ta(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:pi(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,ht=a;else e:for(n=e;ht!==null;){a=ht;var l=a.sibling,s=a.return;if(sp(a),a===n){ht=null;break e}if(l!==null){l.return=s,ht=l;break e}ht=s}}}var __={getCacheForType:function(e){var t=Ot(st),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},b_=typeof WeakMap=="function"?WeakMap:Map,ke=0,Je=null,Me=null,qe=0,Ve=0,Lt=null,ra=!1,Tr=!1,bc=!1,jn=0,nt=0,ia=0,La=0,Sc=0,Ft=0,Ar=0,qi=null,Ct=null,Ec=!1,$c=0,iu=1/0,lu=null,la=null,vt=0,ua=null,Nr=null,Mr=0,Oc=0,wc=null,_p=null,xi=0,Rc=null;function kt(){if((ke&2)!==0&&qe!==0)return qe&-qe;if(X.T!==null){var e=yr;return e!==0?e:zc()}return xd()}function bp(){Ft===0&&(Ft=(qe&536870912)===0||He?Dd():536870912);var e=Jt.current;return e!==null&&(e.flags|=32),Ft}function Vt(e,t,n){(e===Je&&(Ve===2||Ve===9)||e.cancelPendingCommit!==null)&&(Dr(e,0),oa(e,qe,Ft,!1)),Wr(e,n),((ke&2)===0||e!==Je)&&(e===Je&&((ke&2)===0&&(La|=n),nt===4&&oa(e,qe,Ft,!1)),vn(e))}function Sp(e,t,n){if((ke&6)!==0)throw Error(u(327));var a=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Ir(e,t),l=a?$_(e,t):Nc(e,t,!0),s=a;do{if(l===0){Tr&&!a&&oa(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!S_(n)){l=Nc(e,t,!1),s=!1;continue}if(l===2){if(s=t,e.errorRecoveryDisabledLanes&s)var $=0;else $=e.pendingLanes&-536870913,$=$!==0?$:$&536870912?536870912:0;if($!==0){t=$;e:{var D=e;l=qi;var U=D.current.memoizedState.isDehydrated;if(U&&(Dr(D,$).flags|=256),$=Nc(D,$,!1),$!==2){if(bc&&!U){D.errorRecoveryDisabledLanes|=s,La|=s,l=4;break e}s=Ct,Ct=l,s!==null&&(Ct===null?Ct=s:Ct.push.apply(Ct,s))}l=$}if(s=!1,l!==2)continue}}if(l===1){Dr(e,0),oa(e,t,0,!0);break}e:{switch(a=e,s=l,s){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:oa(a,t,Ft,!ra);break e;case 2:Ct=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(l=$c+300-$e(),10<l)){if(oa(a,t,Ft,!ra),yl(a,0,!0)!==0)break e;a.timeoutHandle=Jp(Ep.bind(null,a,n,Ct,lu,Ec,t,Ft,La,Ar,ra,s,2,-0,0),l);break e}Ep(a,n,Ct,lu,Ec,t,Ft,La,Ar,ra,s,0,-0,0)}}break}while(!0);vn(e)}function Ep(e,t,n,a,l,s,$,D,U,Z,ne,le,F,I){if(e.timeoutHandle=-1,le=t.subtreeFlags,(le&8192||(le&16785408)===16785408)&&(Bi={stylesheets:null,count:0,unsuspend:nb},pp(t),le=rb(),le!==null)){e.cancelPendingCommit=le(Np.bind(null,e,t,s,n,a,l,$,D,U,ne,1,F,I)),oa(e,s,$,!Z);return}Np(e,t,s,n,a,l,$,D,U)}function S_(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var l=n[a],s=l.getSnapshot;l=l.value;try{if(!xt(s(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function oa(e,t,n,a){t&=~Sc,t&=~La,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var s=31-Et(l),$=1<<s;a[s]=-1,l&=~$}n!==0&&zd(e,n,t)}function uu(){return(ke&6)===0?(ji(0),!1):!0}function Tc(){if(Me!==null){if(Ve===0)var e=Me.return;else e=Me,An=za=null,Ys(e),$r=null,Ri=0,e=Me;for(;e!==null;)tp(e.alternate,e),e=e.return;Me=null}}function Dr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,L_(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Tc(),Je=e,Me=n=wn(e.current,null),qe=t,Ve=0,Lt=null,ra=!1,Tr=Ir(e,t),bc=!1,Ar=Ft=Sc=La=ia=nt=0,Ct=qi=null,Ec=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var l=31-Et(a),s=1<<l;t|=e[l],a&=~s}return jn=t,Nl(),n}function $p(e,t){Re=null,X.H=Ql,t===yi||t===Hl?(t=kh(),Ve=3):t===Uh?(t=kh(),Ve=4):Ve=t===Vm?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Lt=t,Me===null&&(nt=1,Wl(e,Kt(t,e.current)))}function Op(){var e=X.H;return X.H=Ql,e===null?Ql:e}function wp(){var e=X.A;return X.A=__,e}function Ac(){nt=4,ra||(qe&4194048)!==qe&&Jt.current!==null||(Tr=!0),(ia&134217727)===0&&(La&134217727)===0||Je===null||oa(Je,qe,Ft,!1)}function Nc(e,t,n){var a=ke;ke|=2;var l=Op(),s=wp();(Je!==e||qe!==t)&&(lu=null,Dr(e,t)),t=!1;var $=nt;e:do try{if(Ve!==0&&Me!==null){var D=Me,U=Lt;switch(Ve){case 8:Tc(),$=6;break e;case 3:case 2:case 9:case 6:Jt.current===null&&(t=!0);var Z=Ve;if(Ve=0,Lt=null,Cr(e,D,U,Z),n&&Tr){$=0;break e}break;default:Z=Ve,Ve=0,Lt=null,Cr(e,D,U,Z)}}E_(),$=nt;break}catch(ne){$p(e,ne)}while(!0);return t&&e.shellSuspendCounter++,An=za=null,ke=a,X.H=l,X.A=s,Me===null&&(Je=null,qe=0,Nl()),$}function E_(){for(;Me!==null;)Rp(Me)}function $_(e,t){var n=ke;ke|=2;var a=Op(),l=wp();Je!==e||qe!==t?(lu=null,iu=$e()+500,Dr(e,t)):Tr=Ir(e,t);e:do try{if(Ve!==0&&Me!==null){t=Me;var s=Lt;t:switch(Ve){case 1:Ve=0,Lt=null,Cr(e,t,s,1);break;case 2:case 9:if(Hh(s)){Ve=0,Lt=null,Tp(t);break}t=function(){Ve!==2&&Ve!==9||Je!==e||(Ve=7),vn(e)},s.then(t,t);break e;case 3:Ve=7;break e;case 4:Ve=5;break e;case 7:Hh(s)?(Ve=0,Lt=null,Tp(t)):(Ve=0,Lt=null,Cr(e,t,s,7));break;case 5:var $=null;switch(Me.tag){case 26:$=Me.memoizedState;case 5:case 27:var D=Me;if(!$||ov($)){Ve=0,Lt=null;var U=D.sibling;if(U!==null)Me=U;else{var Z=D.return;Z!==null?(Me=Z,ou(Z)):Me=null}break t}}Ve=0,Lt=null,Cr(e,t,s,5);break;case 6:Ve=0,Lt=null,Cr(e,t,s,6);break;case 8:Tc(),nt=6;break e;default:throw Error(u(462))}}O_();break}catch(ne){$p(e,ne)}while(!0);return An=za=null,X.H=a,X.A=l,ke=n,Me!==null?0:(Je=null,qe=0,Nl(),nt)}function O_(){for(;Me!==null&&!pe();)Rp(Me)}function Rp(e){var t=Wm(e.alternate,e,jn);e.memoizedProps=e.pendingProps,t===null?ou(e):Me=t}function Tp(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Xm(n,t,t.pendingProps,t.type,void 0,qe);break;case 11:t=Xm(n,t,t.pendingProps,t.type.render,t.ref,qe);break;case 5:Ys(t);default:tp(n,t),t=Me=Ah(t,jn),t=Wm(n,t,jn)}e.memoizedProps=e.pendingProps,t===null?ou(e):Me=t}function Cr(e,t,n,a){An=za=null,Ys(t),$r=null,Ri=0;var l=t.return;try{if(h_(e,l,t,n,qe)){nt=1,Wl(e,Kt(n,e.current)),Me=null;return}}catch(s){if(l!==null)throw Me=l,s;nt=1,Wl(e,Kt(n,e.current)),Me=null;return}t.flags&32768?(He||a===1?e=!0:Tr||(qe&536870912)!==0?e=!1:(ra=e=!0,(a===2||a===9||a===3||a===6)&&(a=Jt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ap(t,e)):ou(t)}function ou(e){var t=e;do{if((t.flags&32768)!==0){Ap(t,ra);return}e=t.return;var n=p_(t.alternate,t,jn);if(n!==null){Me=n;return}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);nt===0&&(nt=5)}function Ap(e,t){do{var n=v_(e.alternate,e);if(n!==null){n.flags&=32767,Me=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Me=e;return}Me=e=n}while(e!==null);nt=6,Me=null}function Np(e,t,n,a,l,s,$,D,U){e.cancelPendingCommit=null;do su();while(vt!==0);if((ke&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(s=t.lanes|t.childLanes,s|=_s,n1(e,n,s,$,D,U),e===Je&&(Me=Je=null,qe=0),Nr=t,ua=e,Mr=n,Oc=s,wc=l,_p=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,A_(Ce,function(){return qp(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=X.T,X.T=null,l=se.p,se.p=2,$=ke,ke|=4;try{y_(e,t,n)}finally{ke=$,se.p=l,X.T=a}}vt=1,Mp(),Dp(),Cp()}}function Mp(){if(vt===1){vt=0;var e=ua,t=Nr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=X.T,X.T=null;var a=se.p;se.p=2;var l=ke;ke|=4;try{dp(t,e);var s=Vc,$=gh(e.containerInfo),D=s.focusedElem,U=s.selectionRange;if($!==D&&D&&D.ownerDocument&&yh(D.ownerDocument.documentElement,D)){if(U!==null&&ms(D)){var Z=U.start,ne=U.end;if(ne===void 0&&(ne=Z),"selectionStart"in D)D.selectionStart=Z,D.selectionEnd=Math.min(ne,D.value.length);else{var le=D.ownerDocument||document,F=le&&le.defaultView||window;if(F.getSelection){var I=F.getSelection(),Ee=D.textContent.length,be=Math.min(U.start,Ee),Ge=U.end===void 0?be:Math.min(U.end,Ee);!I.extend&&be>Ge&&($=Ge,Ge=be,be=$);var K=vh(D,be),k=vh(D,Ge);if(K&&k&&(I.rangeCount!==1||I.anchorNode!==K.node||I.anchorOffset!==K.offset||I.focusNode!==k.node||I.focusOffset!==k.offset)){var Q=le.createRange();Q.setStart(K.node,K.offset),I.removeAllRanges(),be>Ge?(I.addRange(Q),I.extend(k.node,k.offset)):(Q.setEnd(k.node,k.offset),I.addRange(Q))}}}}for(le=[],I=D;I=I.parentNode;)I.nodeType===1&&le.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<le.length;D++){var re=le[D];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}Su=!!kc,Vc=kc=null}finally{ke=l,se.p=a,X.T=n}}e.current=t,vt=2}}function Dp(){if(vt===2){vt=0;var e=ua,t=Nr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=X.T,X.T=null;var a=se.p;se.p=2;var l=ke;ke|=4;try{op(e,t.alternate,t)}finally{ke=l,se.p=a,X.T=n}}vt=3}}function Cp(){if(vt===4||vt===3){vt=0,ye();var e=ua,t=Nr,n=Mr,a=_p;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?vt=5:(vt=0,Nr=ua=null,zp(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(la=null),Xo(n),t=t.stateNode,et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=X.T,l=se.p,se.p=2,X.T=null;try{for(var s=e.onRecoverableError,$=0;$<a.length;$++){var D=a[$];s(D.value,{componentStack:D.stack})}}finally{X.T=t,se.p=l}}(Mr&3)!==0&&su(),vn(e),l=e.pendingLanes,(n&4194090)!==0&&(l&42)!==0?e===Rc?xi++:(xi=0,Rc=e):xi=0,ji(0)}}function zp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,pi(t)))}function su(e){return Mp(),Dp(),Cp(),qp()}function qp(){if(vt!==5)return!1;var e=ua,t=Oc;Oc=0;var n=Xo(Mr),a=X.T,l=se.p;try{se.p=32>n?32:n,X.T=null,n=wc,wc=null;var s=ua,$=Mr;if(vt=0,Nr=ua=null,Mr=0,(ke&6)!==0)throw Error(u(331));var D=ke;if(ke|=4,yp(s.current),mp(s,s.current,$,n),ke=D,ji(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,s)}catch{}return!0}finally{se.p=l,X.T=a,zp(e,t)}}function xp(e,t,n){t=Kt(n,t),t=rc(e.stateNode,t,2),e=Fn(e,t,2),e!==null&&(Wr(e,2),vn(e))}function Xe(e,t,n){if(e.tag===3)xp(e,e,n);else for(;t!==null;){if(t.tag===3){xp(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(la===null||!la.has(a))){e=Kt(n,e),n=Lm(2),a=Fn(t,n,2),a!==null&&(km(n,a,t,e),Wr(a,2),vn(a));break}}t=t.return}}function Mc(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new b_;var l=new Set;a.set(t,l)}else l=a.get(t),l===void 0&&(l=new Set,a.set(t,l));l.has(n)||(bc=!0,l.add(n),e=w_.bind(null,e,t,n),t.then(e,e))}function w_(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Je===e&&(qe&n)===n&&(nt===4||nt===3&&(qe&62914560)===qe&&300>$e()-$c?(ke&2)===0&&Dr(e,0):Sc|=n,Ar===qe&&(Ar=0)),vn(e)}function jp(e,t){t===0&&(t=Cd()),e=hr(e,t),e!==null&&(Wr(e,t),vn(e))}function R_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jp(e,n)}function T_(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),jp(e,n)}function A_(e,t){return ee(e,t)}var cu=null,zr=null,Dc=!1,fu=!1,Cc=!1,ka=0;function vn(e){e!==zr&&e.next===null&&(zr===null?cu=zr=e:zr=zr.next=e),fu=!0,Dc||(Dc=!0,M_())}function ji(e,t){if(!Cc&&fu){Cc=!0;do for(var n=!1,a=cu;a!==null;){if(e!==0){var l=a.pendingLanes;if(l===0)var s=0;else{var $=a.suspendedLanes,D=a.pingedLanes;s=(1<<31-Et(42|e)+1)-1,s&=l&~($&~D),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,kp(a,s))}else s=qe,s=yl(a,a===Je?s:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(s&3)===0||Ir(a,s)||(n=!0,kp(a,s));a=a.next}while(n);Cc=!1}}function N_(){Up()}function Up(){fu=Dc=!1;var e=0;ka!==0&&(H_()&&(e=ka),ka=0);for(var t=$e(),n=null,a=cu;a!==null;){var l=a.next,s=Hp(a,t);s===0?(a.next=null,n===null?cu=l:n.next=l,l===null&&(zr=n)):(n=a,(e!==0||(s&3)!==0)&&(fu=!0)),a=l}ji(e)}function Hp(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var $=31-Et(s),D=1<<$,U=l[$];U===-1?((D&n)===0||(D&a)!==0)&&(l[$]=t1(D,t)):U<=t&&(e.expiredLanes|=D),s&=~D}if(t=Je,n=qe,n=yl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Ve===2||Ve===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&ce(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Ir(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&ce(a),Xo(n)){case 2:case 8:n=ze;break;case 32:n=Ce;break;case 268435456:n=Ze;break;default:n=Ce}return a=Lp.bind(null,e),n=ee(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&ce(a),e.callbackPriority=2,e.callbackNode=null,2}function Lp(e,t){if(vt!==0&&vt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(su()&&e.callbackNode!==n)return null;var a=qe;return a=yl(e,e===Je?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Sp(e,a,t),Hp(e,$e()),e.callbackNode!=null&&e.callbackNode===n?Lp.bind(null,e):null)}function kp(e,t){if(su())return null;Sp(e,t,!0)}function M_(){k_(function(){(ke&6)!==0?ee(xe,N_):Up()})}function zc(){return ka===0&&(ka=Dd()),ka}function Vp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:El(""+e)}function Bp(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function D_(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var s=Vp((l[At]||null).action),$=a.submitter;$&&(t=(t=$[At]||null)?Vp(t.formAction):$.getAttribute("formAction"),t!==null&&(s=t,$=null));var D=new Rl("action","action",null,a,l);e.push({event:D,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ka!==0){var U=$?Bp(l,$):new FormData(l);Ws(n,{pending:!0,data:U,method:l.method,action:s},null,U)}}else typeof s=="function"&&(D.preventDefault(),U=$?Bp(l,$):new FormData(l),Ws(n,{pending:!0,data:U,method:l.method,action:s},s,U))},currentTarget:l}]})}}for(var qc=0;qc<gs.length;qc++){var xc=gs[qc],C_=xc.toLowerCase(),z_=xc[0].toUpperCase()+xc.slice(1);an(C_,"on"+z_)}an(Sh,"onAnimationEnd"),an(Eh,"onAnimationIteration"),an($h,"onAnimationStart"),an("dblclick","onDoubleClick"),an("focusin","onFocus"),an("focusout","onBlur"),an(J1,"onTransitionRun"),an(F1,"onTransitionStart"),an(I1,"onTransitionCancel"),an(Oh,"onTransitionEnd"),ar("onMouseEnter",["mouseout","mouseover"]),ar("onMouseLeave",["mouseout","mouseover"]),ar("onPointerEnter",["pointerout","pointerover"]),ar("onPointerLeave",["pointerout","pointerover"]),Oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Oa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ui="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(" "),q_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ui));function Pp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],l=a.event;a=a.listeners;e:{var s=void 0;if(t)for(var $=a.length-1;0<=$;$--){var D=a[$],U=D.instance,Z=D.currentTarget;if(D=D.listener,U!==s&&l.isPropagationStopped())break e;s=D,l.currentTarget=Z;try{s(l)}catch(ne){Il(ne)}l.currentTarget=null,s=U}else for($=0;$<a.length;$++){if(D=a[$],U=D.instance,Z=D.currentTarget,D=D.listener,U!==s&&l.isPropagationStopped())break e;s=D,l.currentTarget=Z;try{s(l)}catch(ne){Il(ne)}l.currentTarget=null,s=U}}}}function De(e,t){var n=t[Qo];n===void 0&&(n=t[Qo]=new Set);var a=e+"__bubble";n.has(a)||(Yp(t,e,2,!1),n.add(a))}function jc(e,t,n){var a=0;t&&(a|=4),Yp(n,e,a,t)}var du="_reactListening"+Math.random().toString(36).slice(2);function Uc(e){if(!e[du]){e[du]=!0,Ud.forEach(function(n){n!=="selectionchange"&&(q_.has(n)||jc(n,!1,e),jc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[du]||(t[du]=!0,jc("selectionchange",!1,t))}}function Yp(e,t,n,a){switch(mv(t)){case 2:var l=ub;break;case 8:l=ob;break;default:l=Fc}n=l.bind(null,t,n,e),l=void 0,!is||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),a?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Hc(e,t,n,a,l){var s=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var $=a.tag;if($===3||$===4){var D=a.stateNode.containerInfo;if(D===l)break;if($===4)for($=a.return;$!==null;){var U=$.tag;if((U===3||U===4)&&$.stateNode.containerInfo===l)return;$=$.return}for(;D!==null;){if($=er(D),$===null)return;if(U=$.tag,U===5||U===6||U===26||U===27){a=s=$;continue e}D=D.parentNode}}a=a.return}Fd(function(){var Z=s,ne=as(n),le=[];e:{var F=wh.get(e);if(F!==void 0){var I=Rl,Ee=e;switch(e){case"keypress":if(Ol(n)===0)break e;case"keydown":case"keyup":I=A1;break;case"focusin":Ee="focus",I=ss;break;case"focusout":Ee="blur",I=ss;break;case"beforeblur":case"afterblur":I=ss;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=eh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=v1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=D1;break;case Sh:case Eh:case $h:I=_1;break;case Oh:I=z1;break;case"scroll":case"scrollend":I=m1;break;case"wheel":I=x1;break;case"copy":case"cut":case"paste":I=S1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=nh;break;case"toggle":case"beforetoggle":I=U1}var be=(t&4)!==0,Ge=!be&&(e==="scroll"||e==="scrollend"),K=be?F!==null?F+"Capture":null:F;be=[];for(var k=Z,Q;k!==null;){var re=k;if(Q=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||Q===null||K===null||(re=ni(k,K),re!=null&&be.push(Hi(k,re,Q))),Ge)break;k=k.return}0<be.length&&(F=new I(F,Ee,null,n,ne),le.push({event:F,listeners:be}))}}if((t&7)===0){e:{if(F=e==="mouseover"||e==="pointerover",I=e==="mouseout"||e==="pointerout",F&&n!==ns&&(Ee=n.relatedTarget||n.fromElement)&&(er(Ee)||Ee[Wa]))break e;if((I||F)&&(F=ne.window===ne?ne:(F=ne.ownerDocument)?F.defaultView||F.parentWindow:window,I?(Ee=n.relatedTarget||n.toElement,I=Z,Ee=Ee?er(Ee):null,Ee!==null&&(Ge=c(Ee),be=Ee.tag,Ee!==Ge||be!==5&&be!==27&&be!==6)&&(Ee=null)):(I=null,Ee=Z),I!==Ee)){if(be=eh,re="onMouseLeave",K="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(be=nh,re="onPointerLeave",K="onPointerEnter",k="pointer"),Ge=I==null?F:ti(I),Q=Ee==null?F:ti(Ee),F=new be(re,k+"leave",I,n,ne),F.target=Ge,F.relatedTarget=Q,re=null,er(ne)===Z&&(be=new be(K,k+"enter",Ee,n,ne),be.target=Q,be.relatedTarget=Ge,re=be),Ge=re,I&&Ee)t:{for(be=I,K=Ee,k=0,Q=be;Q;Q=qr(Q))k++;for(Q=0,re=K;re;re=qr(re))Q++;for(;0<k-Q;)be=qr(be),k--;for(;0<Q-k;)K=qr(K),Q--;for(;k--;){if(be===K||K!==null&&be===K.alternate)break t;be=qr(be),K=qr(K)}be=null}else be=null;I!==null&&Gp(le,F,I,be,!1),Ee!==null&&Ge!==null&&Gp(le,Ge,Ee,be,!0)}}e:{if(F=Z?ti(Z):window,I=F.nodeName&&F.nodeName.toLowerCase(),I==="select"||I==="input"&&F.type==="file")var ge=ch;else if(oh(F))if(fh)ge=X1;else{ge=G1;var Ne=Y1}else I=F.nodeName,!I||I.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?Z&&ts(Z.elementType)&&(ge=ch):ge=K1;if(ge&&(ge=ge(e,Z))){sh(le,ge,n,ne);break e}Ne&&Ne(e,F,Z),e==="focusout"&&Z&&F.type==="number"&&Z.memoizedProps.value!=null&&es(F,"number",F.value)}switch(Ne=Z?ti(Z):window,e){case"focusin":(oh(Ne)||Ne.contentEditable==="true")&&(cr=Ne,ps=Z,ci=null);break;case"focusout":ci=ps=cr=null;break;case"mousedown":vs=!0;break;case"contextmenu":case"mouseup":case"dragend":vs=!1,_h(le,n,ne);break;case"selectionchange":if(Z1)break;case"keydown":case"keyup":_h(le,n,ne)}var _e;if(fs)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else sr?lh(e,n)&&(Se="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Se="onCompositionStart");Se&&(ah&&n.locale!=="ko"&&(sr||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&sr&&(_e=Id()):(Xn=ne,ls="value"in Xn?Xn.value:Xn.textContent,sr=!0)),Ne=hu(Z,Se),0<Ne.length&&(Se=new th(Se,e,null,n,ne),le.push({event:Se,listeners:Ne}),_e?Se.data=_e:(_e=uh(n),_e!==null&&(Se.data=_e)))),(_e=L1?k1(e,n):V1(e,n))&&(Se=hu(Z,"onBeforeInput"),0<Se.length&&(Ne=new th("onBeforeInput","beforeinput",null,n,ne),le.push({event:Ne,listeners:Se}),Ne.data=_e)),D_(le,e,Z,n,ne)}Pp(le,t)})}function Hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hu(e,t){for(var n=t+"Capture",a=[];e!==null;){var l=e,s=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||s===null||(l=ni(e,n),l!=null&&a.unshift(Hi(e,l,s)),l=ni(e,t),l!=null&&a.push(Hi(e,l,s))),e.tag===3)return a;e=e.return}return[]}function qr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Gp(e,t,n,a,l){for(var s=t._reactName,$=[];n!==null&&n!==a;){var D=n,U=D.alternate,Z=D.stateNode;if(D=D.tag,U!==null&&U===a)break;D!==5&&D!==26&&D!==27||Z===null||(U=Z,l?(Z=ni(n,s),Z!=null&&$.unshift(Hi(n,Z,U))):l||(Z=ni(n,s),Z!=null&&$.push(Hi(n,Z,U)))),n=n.return}$.length!==0&&e.push({event:t,listeners:$})}var x_=/\r\n?/g,j_=/\u0000|\uFFFD/g;function Kp(e){return(typeof e=="string"?e:""+e).replace(x_,`
49
+ `).replace(j_,"")}function Xp(e,t){return t=Kp(t),Kp(e)===t}function mu(){}function Ye(e,t,n,a,l,s){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||lr(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&lr(e,""+a);break;case"className":_l(e,"class",a);break;case"tabIndex":_l(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":_l(e,n,a);break;case"style":Zd(e,a,s);break;case"data":if(t!=="object"){_l(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=El(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(n==="formAction"?(t!=="input"&&Ye(e,t,"name",l.name,l,null),Ye(e,t,"formEncType",l.formEncType,l,null),Ye(e,t,"formMethod",l.formMethod,l,null),Ye(e,t,"formTarget",l.formTarget,l,null)):(Ye(e,t,"encType",l.encType,l,null),Ye(e,t,"method",l.method,l,null),Ye(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=El(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=mu);break;case"onScroll":a!=null&&De("scroll",e);break;case"onScrollEnd":a!=null&&De("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=El(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":De("beforetoggle",e),De("toggle",e),gl(e,"popover",a);break;case"xlinkActuate":$n(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":$n(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":$n(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":$n(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":$n(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":$n(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":$n(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":$n(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":$n(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":gl(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=d1.get(n)||n,gl(e,n,a))}}function Lc(e,t,n,a,l,s){switch(n){case"style":Zd(e,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(l.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"children":typeof a=="string"?lr(e,a):(typeof a=="number"||typeof a=="bigint")&&lr(e,""+a);break;case"onScroll":a!=null&&De("scroll",e);break;case"onScrollEnd":a!=null&&De("scrollend",e);break;case"onClick":a!=null&&(e.onclick=mu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Hd.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),s=e[At]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,l),typeof a=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,l);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):gl(e,n,a)}}}function yt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":De("error",e),De("load",e);var a=!1,l=!1,s;for(s in n)if(n.hasOwnProperty(s)){var $=n[s];if($!=null)switch(s){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ye(e,t,s,$,n,null)}}l&&Ye(e,t,"srcSet",n.srcSet,n,null),a&&Ye(e,t,"src",n.src,n,null);return;case"input":De("invalid",e);var D=s=$=l=null,U=null,Z=null;for(a in n)if(n.hasOwnProperty(a)){var ne=n[a];if(ne!=null)switch(a){case"name":l=ne;break;case"type":$=ne;break;case"checked":U=ne;break;case"defaultChecked":Z=ne;break;case"value":s=ne;break;case"defaultValue":D=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(u(137,t));break;default:Ye(e,t,a,ne,n,null)}}Gd(e,s,D,U,Z,$,l,!1),bl(e);return;case"select":De("invalid",e),a=$=s=null;for(l in n)if(n.hasOwnProperty(l)&&(D=n[l],D!=null))switch(l){case"value":s=D;break;case"defaultValue":$=D;break;case"multiple":a=D;default:Ye(e,t,l,D,n,null)}t=s,n=$,e.multiple=!!a,t!=null?ir(e,!!a,t,!1):n!=null&&ir(e,!!a,n,!0);return;case"textarea":De("invalid",e),s=l=a=null;for($ in n)if(n.hasOwnProperty($)&&(D=n[$],D!=null))switch($){case"value":a=D;break;case"defaultValue":l=D;break;case"children":s=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(u(91));break;default:Ye(e,t,$,D,n,null)}Xd(e,a,l,s),bl(e);return;case"option":for(U in n)if(n.hasOwnProperty(U)&&(a=n[U],a!=null))switch(U){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ye(e,t,U,a,n,null)}return;case"dialog":De("beforetoggle",e),De("toggle",e),De("cancel",e),De("close",e);break;case"iframe":case"object":De("load",e);break;case"video":case"audio":for(a=0;a<Ui.length;a++)De(Ui[a],e);break;case"image":De("error",e),De("load",e);break;case"details":De("toggle",e);break;case"embed":case"source":case"link":De("error",e),De("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in n)if(n.hasOwnProperty(Z)&&(a=n[Z],a!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ye(e,t,Z,a,n,null)}return;default:if(ts(t)){for(ne in n)n.hasOwnProperty(ne)&&(a=n[ne],a!==void 0&&Lc(e,t,ne,a,n,void 0));return}}for(D in n)n.hasOwnProperty(D)&&(a=n[D],a!=null&&Ye(e,t,D,a,n,null))}function U_(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,s=null,$=null,D=null,U=null,Z=null,ne=null;for(I in n){var le=n[I];if(n.hasOwnProperty(I)&&le!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":U=le;default:a.hasOwnProperty(I)||Ye(e,t,I,null,a,le)}}for(var F in a){var I=a[F];if(le=n[F],a.hasOwnProperty(F)&&(I!=null||le!=null))switch(F){case"type":s=I;break;case"name":l=I;break;case"checked":Z=I;break;case"defaultChecked":ne=I;break;case"value":$=I;break;case"defaultValue":D=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(u(137,t));break;default:I!==le&&Ye(e,t,F,I,a,le)}}Wo(e,$,D,U,Z,ne,s,l);return;case"select":I=$=D=F=null;for(s in n)if(U=n[s],n.hasOwnProperty(s)&&U!=null)switch(s){case"value":break;case"multiple":I=U;default:a.hasOwnProperty(s)||Ye(e,t,s,null,a,U)}for(l in a)if(s=a[l],U=n[l],a.hasOwnProperty(l)&&(s!=null||U!=null))switch(l){case"value":F=s;break;case"defaultValue":D=s;break;case"multiple":$=s;default:s!==U&&Ye(e,t,l,s,a,U)}t=D,n=$,a=I,F!=null?ir(e,!!n,F,!1):!!a!=!!n&&(t!=null?ir(e,!!n,t,!0):ir(e,!!n,n?[]:"",!1));return;case"textarea":I=F=null;for(D in n)if(l=n[D],n.hasOwnProperty(D)&&l!=null&&!a.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:Ye(e,t,D,null,a,l)}for($ in a)if(l=a[$],s=n[$],a.hasOwnProperty($)&&(l!=null||s!=null))switch($){case"value":F=l;break;case"defaultValue":I=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(u(91));break;default:l!==s&&Ye(e,t,$,l,a,s)}Kd(e,F,I);return;case"option":for(var Ee in n)if(F=n[Ee],n.hasOwnProperty(Ee)&&F!=null&&!a.hasOwnProperty(Ee))switch(Ee){case"selected":e.selected=!1;break;default:Ye(e,t,Ee,null,a,F)}for(U in a)if(F=a[U],I=n[U],a.hasOwnProperty(U)&&F!==I&&(F!=null||I!=null))switch(U){case"selected":e.selected=F&&typeof F!="function"&&typeof F!="symbol";break;default:Ye(e,t,U,F,a,I)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var be in n)F=n[be],n.hasOwnProperty(be)&&F!=null&&!a.hasOwnProperty(be)&&Ye(e,t,be,null,a,F);for(Z in a)if(F=a[Z],I=n[Z],a.hasOwnProperty(Z)&&F!==I&&(F!=null||I!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(u(137,t));break;default:Ye(e,t,Z,F,a,I)}return;default:if(ts(t)){for(var Ge in n)F=n[Ge],n.hasOwnProperty(Ge)&&F!==void 0&&!a.hasOwnProperty(Ge)&&Lc(e,t,Ge,void 0,a,F);for(ne in a)F=a[ne],I=n[ne],!a.hasOwnProperty(ne)||F===I||F===void 0&&I===void 0||Lc(e,t,ne,F,a,I);return}}for(var K in n)F=n[K],n.hasOwnProperty(K)&&F!=null&&!a.hasOwnProperty(K)&&Ye(e,t,K,null,a,F);for(le in a)F=a[le],I=n[le],!a.hasOwnProperty(le)||F===I||F==null&&I==null||Ye(e,t,le,F,a,I)}var kc=null,Vc=null;function pu(e){return e.nodeType===9?e:e.ownerDocument}function Qp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Bc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Pc=null;function H_(){var e=window.event;return e&&e.type==="popstate"?e===Pc?!1:(Pc=e,!0):(Pc=null,!1)}var Jp=typeof setTimeout=="function"?setTimeout:void 0,L_=typeof clearTimeout=="function"?clearTimeout:void 0,Fp=typeof Promise=="function"?Promise:void 0,k_=typeof queueMicrotask=="function"?queueMicrotask:typeof Fp<"u"?function(e){return Fp.resolve(null).then(e).catch(V_)}:Jp;function V_(e){setTimeout(function(){throw e})}function sa(e){return e==="head"}function Ip(e,t){var n=t,a=0,l=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(0<a&&8>a){n=a;var $=e.ownerDocument;if(n&1&&Li($.documentElement),n&2&&Li($.body),n&4)for(n=$.head,Li(n),$=n.firstChild;$;){var D=$.nextSibling,U=$.nodeName;$[ei]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&$.rel.toLowerCase()==="stylesheet"||n.removeChild($),$=D}}if(l===0){e.removeChild(s),Xi(t);return}l--}else n==="$"||n==="$?"||n==="$!"?l++:a=n.charCodeAt(0)-48;else a=0;n=s}while(n);Xi(t)}function Yc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Yc(n),Zo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function B_(e,t,n,a){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[ei])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=ln(e.nextSibling),e===null)break}return null}function P_(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=ln(e.nextSibling),e===null))return null;return e}function Gc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Y_(e,t){var n=e.ownerDocument;if(e.data!=="$?"||n.readyState==="complete")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function ln(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Kc=null;function Wp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function ev(e,t,n){switch(t=pu(n),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function Li(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Zo(e)}var It=new Map,tv=new Set;function vu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Un=se.d;se.d={f:G_,r:K_,D:X_,C:Q_,L:Z_,m:J_,X:I_,S:F_,M:W_};function G_(){var e=Un.f(),t=uu();return e||t}function K_(e){var t=tr(e);t!==null&&t.tag===5&&t.type==="form"?Sm(t):Un.r(e)}var xr=typeof document>"u"?null:document;function nv(e,t,n){var a=xr;if(a&&typeof t=="string"&&t){var l=Gt(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),tv.has(l)||(tv.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),yt(t,"link",e),ft(t),a.head.appendChild(t)))}}function X_(e){Un.D(e),nv("dns-prefetch",e,null)}function Q_(e,t){Un.C(e,t),nv("preconnect",e,t)}function Z_(e,t,n){Un.L(e,t,n);var a=xr;if(a&&e&&t){var l='link[rel="preload"][as="'+Gt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+Gt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+Gt(n.imageSizes)+'"]')):l+='[href="'+Gt(e)+'"]';var s=l;switch(t){case"style":s=jr(e);break;case"script":s=Ur(e)}It.has(s)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),It.set(s,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(ki(s))||t==="script"&&a.querySelector(Vi(s))||(t=a.createElement("link"),yt(t,"link",e),ft(t),a.head.appendChild(t)))}}function J_(e,t){Un.m(e,t);var n=xr;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Gt(a)+'"][href="'+Gt(e)+'"]',s=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ur(e)}if(!It.has(s)&&(e=y({rel:"modulepreload",href:e},t),It.set(s,e),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Vi(s)))return}a=n.createElement("link"),yt(a,"link",e),ft(a),n.head.appendChild(a)}}}function F_(e,t,n){Un.S(e,t,n);var a=xr;if(a&&e){var l=nr(a).hoistableStyles,s=jr(e);t=t||"default";var $=l.get(s);if(!$){var D={loading:0,preload:null};if($=a.querySelector(ki(s)))D.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=It.get(s))&&Xc(e,n);var U=$=a.createElement("link");ft(U),yt(U,"link",e),U._p=new Promise(function(Z,ne){U.onload=Z,U.onerror=ne}),U.addEventListener("load",function(){D.loading|=1}),U.addEventListener("error",function(){D.loading|=2}),D.loading|=4,yu($,t,a)}$={type:"stylesheet",instance:$,count:1,state:D},l.set(s,$)}}}function I_(e,t){Un.X(e,t);var n=xr;if(n&&e){var a=nr(n).hoistableScripts,l=Ur(e),s=a.get(l);s||(s=n.querySelector(Vi(l)),s||(e=y({src:e,async:!0},t),(t=It.get(l))&&Qc(e,t),s=n.createElement("script"),ft(s),yt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function W_(e,t){Un.M(e,t);var n=xr;if(n&&e){var a=nr(n).hoistableScripts,l=Ur(e),s=a.get(l);s||(s=n.querySelector(Vi(l)),s||(e=y({src:e,async:!0,type:"module"},t),(t=It.get(l))&&Qc(e,t),s=n.createElement("script"),ft(s),yt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function av(e,t,n,a){var l=(l=L.current)?vu(l):null;if(!l)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=jr(n.href),n=nr(l).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=jr(n.href);var s=nr(l).hoistableStyles,$=s.get(e);if($||(l=l.ownerDocument||l,$={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,$),(s=l.querySelector(ki(e)))&&!s._p&&($.instance=s,$.state.loading=5),It.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},It.set(e,n),s||eb(l,e,n,$.state))),t&&a===null)throw Error(u(528,""));return $}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ur(n),n=nr(l).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function jr(e){return'href="'+Gt(e)+'"'}function ki(e){return'link[rel="stylesheet"]['+e+"]"}function rv(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function eb(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),yt(t,"link",n),ft(t),e.head.appendChild(t))}function Ur(e){return'[src="'+Gt(e)+'"]'}function Vi(e){return"script[async]"+e}function iv(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Gt(n.href)+'"]');if(a)return t.instance=a,ft(a),a;var l=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ft(a),yt(a,"style",l),yu(a,n.precedence,e),t.instance=a;case"stylesheet":l=jr(n.href);var s=e.querySelector(ki(l));if(s)return t.state.loading|=4,t.instance=s,ft(s),s;a=rv(n),(l=It.get(l))&&Xc(a,l),s=(e.ownerDocument||e).createElement("link"),ft(s);var $=s;return $._p=new Promise(function(D,U){$.onload=D,$.onerror=U}),yt(s,"link",a),t.state.loading|=4,yu(s,n.precedence,e),t.instance=s;case"script":return s=Ur(n.src),(l=e.querySelector(Vi(s)))?(t.instance=l,ft(l),l):(a=n,(l=It.get(s))&&(a=y({},n),Qc(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),ft(l),yt(l,"link",a),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,yu(a,n.precedence,e));return t.instance}function yu(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,s=l,$=0;$<a.length;$++){var D=a[$];if(D.dataset.precedence===t)s=D;else if(s!==l)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Xc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Qc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var gu=null;function lv(e,t,n){if(gu===null){var a=new Map,l=gu=new Map;l.set(n,a)}else l=gu,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var s=n[l];if(!(s[ei]||s[$t]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var $=s.getAttribute(t)||"";$=e+$;var D=a.get($);D?D.push(s):a.set($,[s])}}return a}function uv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function tb(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ov(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Bi=null;function nb(){}function ab(e,t,n){if(Bi===null)throw Error(u(475));var a=Bi;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var l=jr(n.href),s=e.querySelector(ki(l));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=_u.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=s,ft(s);return}s=e.ownerDocument||e,n=rv(n),(l=It.get(l))&&Xc(n,l),s=s.createElement("link"),ft(s);var $=s;$._p=new Promise(function(D,U){$.onload=D,$.onerror=U}),yt(s,"link",n),t.instance=s}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=_u.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function rb(){if(Bi===null)throw Error(u(475));var e=Bi;return e.stylesheets&&e.count===0&&Zc(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Zc(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function _u(){if(this.count--,this.count===0){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var bu=null;function Zc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,bu=new Map,t.forEach(ib,e),bu=null,_u.call(e))}function ib(e,t){if(!(t.state.loading&4)){var n=bu.get(e);if(n)var a=n.get(null);else{n=new Map,bu.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<l.length;s++){var $=l[s];($.nodeName==="LINK"||$.getAttribute("media")!=="not all")&&(n.set($.dataset.precedence,$),a=$)}a&&n.set(null,a)}l=t.instance,$=l.getAttribute("data-precedence"),s=n.get($)||a,s===a&&n.set(null,l),n.set($,l),this.count++,a=_u.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),s?s.parentNode.insertBefore(l,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var Pi={$$typeof:b,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function lb(e,t,n,a,l,s,$,D){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Go(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Go(0),this.hiddenUpdates=Go(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=s,this.onRecoverableError=$,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function sv(e,t,n,a,l,s,$,D,U,Z,ne,le){return e=new lb(e,t,n,$,D,U,Z,le),t=1,s===!0&&(t|=24),s=jt(3,null,null,t),e.current=s,s.stateNode=e,t=Ms(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:a,isDehydrated:n,cache:t},qs(s),e}function cv(e){return e?(e=mr,e):mr}function fv(e,t,n,a,l,s){l=cv(l),a.context===null?a.context=l:a.pendingContext=l,a=Jn(t),a.payload={element:n},s=s===void 0?null:s,s!==null&&(a.callback=s),n=Fn(e,a,t),n!==null&&(Vt(n,e,t),_i(n,e,t))}function dv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Jc(e,t){dv(e,t),(e=e.alternate)&&dv(e,t)}function hv(e){if(e.tag===13){var t=hr(e,67108864);t!==null&&Vt(t,e,67108864),Jc(e,67108864)}}var Su=!0;function ub(e,t,n,a){var l=X.T;X.T=null;var s=se.p;try{se.p=2,Fc(e,t,n,a)}finally{se.p=s,X.T=l}}function ob(e,t,n,a){var l=X.T;X.T=null;var s=se.p;try{se.p=8,Fc(e,t,n,a)}finally{se.p=s,X.T=l}}function Fc(e,t,n,a){if(Su){var l=Ic(a);if(l===null)Hc(e,t,a,Eu,n),pv(e,a);else if(cb(l,e,t,n,a))a.stopPropagation();else if(pv(e,a),t&4&&-1<sb.indexOf(e)){for(;l!==null;){var s=tr(l);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var $=$a(s.pendingLanes);if($!==0){var D=s;for(D.pendingLanes|=2,D.entangledLanes|=2;$;){var U=1<<31-Et($);D.entanglements[1]|=U,$&=~U}vn(s),(ke&6)===0&&(iu=$e()+500,ji(0))}}break;case 13:D=hr(s,2),D!==null&&Vt(D,s,2),uu(),Jc(s,2)}if(s=Ic(a),s===null&&Hc(e,t,a,Eu,n),s===l)break;l=s}l!==null&&a.stopPropagation()}else Hc(e,t,a,null,n)}}function Ic(e){return e=as(e),Wc(e)}var Eu=null;function Wc(e){if(Eu=null,e=er(e),e!==null){var t=c(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Eu=e,null}function mv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qe()){case xe:return 2;case ze:return 8;case Ce:case we:return 32;case Ze:return 268435456;default:return 32}default:return 32}}var ef=!1,ca=null,fa=null,da=null,Yi=new Map,Gi=new Map,ha=[],sb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function pv(e,t){switch(e){case"focusin":case"focusout":ca=null;break;case"dragenter":case"dragleave":fa=null;break;case"mouseover":case"mouseout":da=null;break;case"pointerover":case"pointerout":Yi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gi.delete(t.pointerId)}}function Ki(e,t,n,a,l,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[l]},t!==null&&(t=tr(t),t!==null&&hv(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function cb(e,t,n,a,l){switch(t){case"focusin":return ca=Ki(ca,e,t,n,a,l),!0;case"dragenter":return fa=Ki(fa,e,t,n,a,l),!0;case"mouseover":return da=Ki(da,e,t,n,a,l),!0;case"pointerover":var s=l.pointerId;return Yi.set(s,Ki(Yi.get(s)||null,e,t,n,a,l)),!0;case"gotpointercapture":return s=l.pointerId,Gi.set(s,Ki(Gi.get(s)||null,e,t,n,a,l)),!0}return!1}function vv(e){var t=er(e.target);if(t!==null){var n=c(t);if(n!==null){if(t=n.tag,t===13){if(t=p(n),t!==null){e.blockedOn=t,a1(e.priority,function(){if(n.tag===13){var a=kt();a=Ko(a);var l=hr(n,a);l!==null&&Vt(l,n,a),Jc(n,a)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $u(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ic(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);ns=a,n.target.dispatchEvent(a),ns=null}else return t=tr(n),t!==null&&hv(t),e.blockedOn=n,!1;t.shift()}return!0}function yv(e,t,n){$u(e)&&n.delete(t)}function fb(){ef=!1,ca!==null&&$u(ca)&&(ca=null),fa!==null&&$u(fa)&&(fa=null),da!==null&&$u(da)&&(da=null),Yi.forEach(yv),Gi.forEach(yv)}function Ou(e,t){e.blockedOn===t&&(e.blockedOn=null,ef||(ef=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,fb)))}var wu=null;function gv(e){wu!==e&&(wu=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){wu===e&&(wu=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],l=e[t+2];if(typeof a!="function"){if(Wc(a||n)===null)continue;break}var s=tr(n);s!==null&&(e.splice(t,3),t-=3,Ws(s,{pending:!0,data:l,method:n.method,action:a},a,l))}}))}function Xi(e){function t(U){return Ou(U,e)}ca!==null&&Ou(ca,e),fa!==null&&Ou(fa,e),da!==null&&Ou(da,e),Yi.forEach(t),Gi.forEach(t);for(var n=0;n<ha.length;n++){var a=ha[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ha.length&&(n=ha[0],n.blockedOn===null);)vv(n),n.blockedOn===null&&ha.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],s=n[a+1],$=l[At]||null;if(typeof s=="function")$||gv(n);else if($){var D=null;if(s&&s.hasAttribute("formAction")){if(l=s,$=s[At]||null)D=$.formAction;else if(Wc(l)!==null)continue}else D=$.action;typeof D=="function"?n[a+1]=D:(n.splice(a,3),a-=3),gv(n)}}}function tf(e){this._internalRoot=e}Ru.prototype.render=tf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var n=t.current,a=kt();fv(n,a,e,t,null,null)},Ru.prototype.unmount=tf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fv(e.current,2,null,e,null,null),uu(),t[Wa]=null}};function Ru(e){this._internalRoot=e}Ru.prototype.unstable_scheduleHydration=function(e){if(e){var t=xd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ha.length&&t!==0&&t<ha[n].priority;n++);ha.splice(n,0,e),n===0&&vv(e)}};var _v=i.version;if(_v!=="19.1.1")throw Error(u(527,_v,"19.1.1"));se.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=h(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var db={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tu.isDisabled&&Tu.supportsFiber)try{bt=Tu.inject(db),et=Tu}catch{}}return Zi.createRoot=function(e,t){if(!f(e))throw Error(u(299));var n=!1,a="",l=xm,s=jm,$=Um,D=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&($=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(D=t.unstable_transitionCallbacks)),t=sv(e,1,!1,null,null,n,a,l,s,$,D,null),e[Wa]=t.current,Uc(e),new tf(t)},Zi.hydrateRoot=function(e,t,n){if(!f(e))throw Error(u(299));var a=!1,l="",s=xm,$=jm,D=Um,U=null,Z=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&($=n.onCaughtError),n.onRecoverableError!==void 0&&(D=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(U=n.unstable_transitionCallbacks),n.formState!==void 0&&(Z=n.formState)),t=sv(e,1,!0,t,n??null,a,l,s,$,D,U,Z),t.context=cv(null),n=t.current,a=kt(),a=Ko(a),l=Jn(a),l.callback=null,Fn(n,l,a),n=a,t.current.lanes=n,Wr(t,n),vn(t),e[Wa]=t.current,Uc(e),new Ru(t)},Zi.version="19.1.1",Zi}var Nv;function Nb(){if(Nv)return rf.exports;Nv=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),rf.exports=Ab(),rf.exports}var Mb=Nb();const mw=Ia(Mb);/**
50
+ * react-router v7.9.1
51
+ *
52
+ * Copyright (c) Remix Software Inc.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE.md file in the root directory of this source tree.
56
+ *
57
+ * @license MIT
58
+ */var Mv="popstate";function Db(r={}){function i(u,f){let{pathname:c,search:p,hash:d}=u.location;return Qf("",{pathname:c,search:p,hash:d},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function o(u,f){return typeof f=="string"?f:ul(f)}return zb(i,o,null,r)}function Ie(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}function sn(r,i){if(!r){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function Cb(){return Math.random().toString(36).substring(2,10)}function Dv(r,i){return{usr:r.state,key:r.key,idx:i}}function Qf(r,i,o=null,u){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof i=="string"?Qr(i):i,state:o,key:i&&i.key||u||Cb()}}function ul({pathname:r="/",search:i="",hash:o=""}){return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(r+=o.charAt(0)==="#"?o:"#"+o),r}function Qr(r){let i={};if(r){let o=r.indexOf("#");o>=0&&(i.hash=r.substring(o),r=r.substring(0,o));let u=r.indexOf("?");u>=0&&(i.search=r.substring(u),r=r.substring(0,u)),r&&(i.pathname=r)}return i}function zb(r,i,o,u={}){let{window:f=document.defaultView,v5Compat:c=!1}=u,p=f.history,d="POP",h=null,m=y();m==null&&(m=0,p.replaceState({...p.state,idx:m},""));function y(){return(p.state||{idx:null}).idx}function R(){d="POP";let S=y(),v=S==null?null:S-m;m=S,h&&h({action:d,location:O.location,delta:v})}function E(S,v){d="PUSH";let g=Qf(O.location,S,v);m=y()+1;let b=Dv(g,m),A=O.createHref(g);try{p.pushState(b,"",A)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;f.location.assign(A)}c&&h&&h({action:d,location:O.location,delta:1})}function T(S,v){d="REPLACE";let g=Qf(O.location,S,v);m=y();let b=Dv(g,m),A=O.createHref(g);p.replaceState(b,"",A),c&&h&&h({action:d,location:O.location,delta:0})}function w(S){return qb(S)}let O={get action(){return d},get location(){return r(f,p)},listen(S){if(h)throw new Error("A history only accepts one active listener");return f.addEventListener(Mv,R),h=S,()=>{f.removeEventListener(Mv,R),h=null}},createHref(S){return i(f,S)},createURL:w,encodeLocation(S){let v=w(S);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:E,replace:T,go(S){return p.go(S)}};return O}function qb(r,i=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Ie(o,"No window.location.(origin|href) available to create URL");let u=typeof r=="string"?r:ul(r);return u=u.replace(/ $/,"%20"),!i&&u.startsWith("//")&&(u=o+u),new URL(u,o)}function I0(r,i,o="/"){return xb(r,i,o,!1)}function xb(r,i,o,u){let f=typeof i=="string"?Qr(i):i,c=Yn(f.pathname||"/",o);if(c==null)return null;let p=W0(r);jb(p);let d=null;for(let h=0;d==null&&h<p.length;++h){let m=Xb(c);d=Gb(p[h],m,u)}return d}function W0(r,i=[],o=[],u="",f=!1){let c=(p,d,h=f,m)=>{let y={relativePath:m===void 0?p.path||"":m,caseSensitive:p.caseSensitive===!0,childrenIndex:d,route:p};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(u)&&h)return;Ie(y.relativePath.startsWith(u),`Absolute route path "${y.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(u.length)}let R=Pn([u,y.relativePath]),E=o.concat(y);p.children&&p.children.length>0&&(Ie(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${R}".`),W0(p.children,i,E,R,h)),!(p.path==null&&!p.index)&&i.push({path:R,score:Pb(R,p.index),routesMeta:E})};return r.forEach((p,d)=>{if(p.path===""||!p.path?.includes("?"))c(p,d);else for(let h of eg(p.path))c(p,d,!0,h)}),i}function eg(r){let i=r.split("/");if(i.length===0)return[];let[o,...u]=i,f=o.endsWith("?"),c=o.replace(/\?$/,"");if(u.length===0)return f?[c,""]:[c];let p=eg(u.join("/")),d=[];return d.push(...p.map(h=>h===""?c:[c,h].join("/"))),f&&d.push(...p),d.map(h=>r.startsWith("/")&&h===""?"/":h)}function jb(r){r.sort((i,o)=>i.score!==o.score?o.score-i.score:Yb(i.routesMeta.map(u=>u.childrenIndex),o.routesMeta.map(u=>u.childrenIndex)))}var Ub=/^:[\w-]+$/,Hb=3,Lb=2,kb=1,Vb=10,Bb=-2,Cv=r=>r==="*";function Pb(r,i){let o=r.split("/"),u=o.length;return o.some(Cv)&&(u+=Bb),i&&(u+=Lb),o.filter(f=>!Cv(f)).reduce((f,c)=>f+(Ub.test(c)?Hb:c===""?kb:Vb),u)}function Yb(r,i){return r.length===i.length&&r.slice(0,-1).every((u,f)=>u===i[f])?r[r.length-1]-i[i.length-1]:0}function Gb(r,i,o=!1){let{routesMeta:u}=r,f={},c="/",p=[];for(let d=0;d<u.length;++d){let h=u[d],m=d===u.length-1,y=c==="/"?i:i.slice(c.length)||"/",R=To({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},y),E=h.route;if(!R&&m&&o&&!u[u.length-1].route.index&&(R=To({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},y)),!R)return null;Object.assign(f,R.params),p.push({params:f,pathname:Pn([c,R.pathname]),pathnameBase:Fb(Pn([c,R.pathnameBase])),route:E}),R.pathnameBase!=="/"&&(c=Pn([c,R.pathnameBase]))}return p}function To(r,i){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[o,u]=Kb(r.path,r.caseSensitive,r.end),f=i.match(o);if(!f)return null;let c=f[0],p=c.replace(/(.)\/+$/,"$1"),d=f.slice(1);return{params:u.reduce((m,{paramName:y,isOptional:R},E)=>{if(y==="*"){let w=d[E]||"";p=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const T=d[E];return R&&!T?m[y]=void 0:m[y]=(T||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:p,pattern:r}}function Kb(r,i=!1,o=!0){sn(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let u=[],f="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,d,h)=>(u.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return r.endsWith("*")?(u.push({paramName:"*"}),f+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?f+="\\/*$":r!==""&&r!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,i?void 0:"i"),u]}function Xb(r){try{return r.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return sn(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),r}}function Yn(r,i){if(i==="/")return r;if(!r.toLowerCase().startsWith(i.toLowerCase()))return null;let o=i.endsWith("/")?i.length-1:i.length,u=r.charAt(o);return u&&u!=="/"?null:r.slice(o)||"/"}function Qb(r,i="/"){let{pathname:o,search:u="",hash:f=""}=typeof r=="string"?Qr(r):r;return{pathname:o?o.startsWith("/")?o:Zb(o,i):i,search:Ib(u),hash:Wb(f)}}function Zb(r,i){let o=i.replace(/\/+$/,"").split("/");return r.split("/").forEach(f=>{f===".."?o.length>1&&o.pop():f!=="."&&o.push(f)}),o.length>1?o.join("/"):"/"}function sf(r,i,o,u){return`Cannot include a '${r}' character in a manually specified \`to.${i}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Jb(r){return r.filter((i,o)=>o===0||i.route.path&&i.route.path.length>0)}function ud(r){let i=Jb(r);return i.map((o,u)=>u===i.length-1?o.pathname:o.pathnameBase)}function od(r,i,o,u=!1){let f;typeof r=="string"?f=Qr(r):(f={...r},Ie(!f.pathname||!f.pathname.includes("?"),sf("?","pathname","search",f)),Ie(!f.pathname||!f.pathname.includes("#"),sf("#","pathname","hash",f)),Ie(!f.search||!f.search.includes("#"),sf("#","search","hash",f)));let c=r===""||f.pathname==="",p=c?"/":f.pathname,d;if(p==null)d=o;else{let R=i.length-1;if(!u&&p.startsWith("..")){let E=p.split("/");for(;E[0]==="..";)E.shift(),R-=1;f.pathname=E.join("/")}d=R>=0?i[R]:"/"}let h=Qb(f,d),m=p&&p!=="/"&&p.endsWith("/"),y=(c||p===".")&&o.endsWith("/");return!h.pathname.endsWith("/")&&(m||y)&&(h.pathname+="/"),h}var Pn=r=>r.join("/").replace(/\/\/+/g,"/"),Fb=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),Ib=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,Wb=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function eS(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var tg=["POST","PUT","PATCH","DELETE"];new Set(tg);var tS=["GET",...tg];new Set(tS);var Zr=te.createContext(null);Zr.displayName="DataRouter";var Co=te.createContext(null);Co.displayName="DataRouterState";te.createContext(!1);var ng=te.createContext({isTransitioning:!1});ng.displayName="ViewTransition";var nS=te.createContext(new Map);nS.displayName="Fetchers";var aS=te.createContext(null);aS.displayName="Await";var cn=te.createContext(null);cn.displayName="Navigation";var fl=te.createContext(null);fl.displayName="Location";var En=te.createContext({outlet:null,matches:[],isDataRoute:!1});En.displayName="Route";var sd=te.createContext(null);sd.displayName="RouteError";function rS(r,{relative:i}={}){Ie(Jr(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:u}=te.useContext(cn),{hash:f,pathname:c,search:p}=dl(r,{relative:i}),d=c;return o!=="/"&&(d=c==="/"?o:Pn([o,c])),u.createHref({pathname:d,search:p,hash:f})}function Jr(){return te.useContext(fl)!=null}function _a(){return Ie(Jr(),"useLocation() may be used only in the context of a <Router> component."),te.useContext(fl).location}var ag="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rg(r){te.useContext(cn).static||te.useLayoutEffect(r)}function ig(){let{isDataRoute:r}=te.useContext(En);return r?yS():iS()}function iS(){Ie(Jr(),"useNavigate() may be used only in the context of a <Router> component.");let r=te.useContext(Zr),{basename:i,navigator:o}=te.useContext(cn),{matches:u}=te.useContext(En),{pathname:f}=_a(),c=JSON.stringify(ud(u)),p=te.useRef(!1);return rg(()=>{p.current=!0}),te.useCallback((h,m={})=>{if(sn(p.current,ag),!p.current)return;if(typeof h=="number"){o.go(h);return}let y=od(h,JSON.parse(c),f,m.relative==="path");r==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:Pn([i,y.pathname])),(m.replace?o.replace:o.push)(y,m.state,m)},[i,o,c,f,r])}te.createContext(null);function dl(r,{relative:i}={}){let{matches:o}=te.useContext(En),{pathname:u}=_a(),f=JSON.stringify(ud(o));return te.useMemo(()=>od(r,JSON.parse(f),u,i==="path"),[r,f,u,i])}function lS(r,i){return lg(r,i)}function lg(r,i,o,u,f){Ie(Jr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=te.useContext(cn),{matches:p}=te.useContext(En),d=p[p.length-1],h=d?d.params:{},m=d?d.pathname:"/",y=d?d.pathnameBase:"/",R=d&&d.route;{let g=R&&R.path||"";ug(m,!R||g.endsWith("*")||g.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${g}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
+
60
+ Please change the parent <Route path="${g}"> to <Route path="${g==="/"?"*":`${g}/*`}">.`)}let E=_a(),T;if(i){let g=typeof i=="string"?Qr(i):i;Ie(y==="/"||g.pathname?.startsWith(y),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${g.pathname}" was given in the \`location\` prop.`),T=g}else T=E;let w=T.pathname||"/",O=w;if(y!=="/"){let g=y.replace(/^\//,"").split("/");O="/"+w.replace(/^\//,"").split("/").slice(g.length).join("/")}let S=I0(r,{pathname:O});sn(R||S!=null,`No routes matched location "${T.pathname}${T.search}${T.hash}" `),sn(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${T.pathname}${T.search}${T.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let v=fS(S&&S.map(g=>Object.assign({},g,{params:Object.assign({},h,g.params),pathname:Pn([y,c.encodeLocation?c.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?y:Pn([y,c.encodeLocation?c.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),p,o,u,f);return i&&v?te.createElement(fl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...T},navigationType:"POP"}},v):v}function uS(){let r=vS(),i=eS(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),o=r instanceof Error?r.stack:null,u="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:u},c={padding:"2px 4px",backgroundColor:u},p=null;return console.error("Error handled by React Router default ErrorBoundary:",r),p=te.createElement(te.Fragment,null,te.createElement("p",null,"💿 Hey developer 👋"),te.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",te.createElement("code",{style:c},"ErrorBoundary")," or"," ",te.createElement("code",{style:c},"errorElement")," prop on your route.")),te.createElement(te.Fragment,null,te.createElement("h2",null,"Unexpected Application Error!"),te.createElement("h3",{style:{fontStyle:"italic"}},i),o?te.createElement("pre",{style:f},o):null,p)}var oS=te.createElement(uS,null),sS=class extends te.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,i){return i.location!==r.location||i.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:i.error,location:i.location,revalidation:r.revalidation||i.revalidation}}componentDidCatch(r,i){this.props.unstable_onError?this.props.unstable_onError(r,i):console.error("React Router caught the following error during render",r)}render(){return this.state.error!==void 0?te.createElement(En.Provider,{value:this.props.routeContext},te.createElement(sd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function cS({routeContext:r,match:i,children:o}){let u=te.useContext(Zr);return u&&u.static&&u.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=i.route.id),te.createElement(En.Provider,{value:r},o)}function fS(r,i=[],o=null,u=null,f=null){if(r==null){if(!o)return null;if(o.errors)r=o.matches;else if(i.length===0&&!o.initialized&&o.matches.length>0)r=o.matches;else return null}let c=r,p=o?.errors;if(p!=null){let m=c.findIndex(y=>y.route.id&&p?.[y.route.id]!==void 0);Ie(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),c=c.slice(0,Math.min(c.length,m+1))}let d=!1,h=-1;if(o)for(let m=0;m<c.length;m++){let y=c[m];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(h=m),y.route.id){let{loaderData:R,errors:E}=o,T=y.route.loader&&!R.hasOwnProperty(y.route.id)&&(!E||E[y.route.id]===void 0);if(y.route.lazy||T){d=!0,h>=0?c=c.slice(0,h+1):c=[c[0]];break}}}return c.reduceRight((m,y,R)=>{let E,T=!1,w=null,O=null;o&&(E=p&&y.route.id?p[y.route.id]:void 0,w=y.route.errorElement||oS,d&&(h<0&&R===0?(ug("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,O=null):h===R&&(T=!0,O=y.route.hydrateFallbackElement||null)));let S=i.concat(c.slice(0,R+1)),v=()=>{let g;return E?g=w:T?g=O:y.route.Component?g=te.createElement(y.route.Component,null):y.route.element?g=y.route.element:g=m,te.createElement(cS,{match:y,routeContext:{outlet:m,matches:S,isDataRoute:o!=null},children:g})};return o&&(y.route.ErrorBoundary||y.route.errorElement||R===0)?te.createElement(sS,{location:o.location,revalidation:o.revalidation,component:w,error:E,children:v(),routeContext:{outlet:null,matches:S,isDataRoute:!0},unstable_onError:u}):v()},null)}function cd(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dS(r){let i=te.useContext(Zr);return Ie(i,cd(r)),i}function hS(r){let i=te.useContext(Co);return Ie(i,cd(r)),i}function mS(r){let i=te.useContext(En);return Ie(i,cd(r)),i}function fd(r){let i=mS(r),o=i.matches[i.matches.length-1];return Ie(o.route.id,`${r} can only be used on routes that contain a unique "id"`),o.route.id}function pS(){return fd("useRouteId")}function vS(){let r=te.useContext(sd),i=hS("useRouteError"),o=fd("useRouteError");return r!==void 0?r:i.errors?.[o]}function yS(){let{router:r}=dS("useNavigate"),i=fd("useNavigate"),o=te.useRef(!1);return rg(()=>{o.current=!0}),te.useCallback(async(f,c={})=>{sn(o.current,ag),o.current&&(typeof f=="number"?r.navigate(f):await r.navigate(f,{fromRouteId:i,...c}))},[r,i])}var zv={};function ug(r,i,o){!i&&!zv[r]&&(zv[r]=!0,sn(!1,o))}te.memo(gS);function gS({routes:r,future:i,state:o,unstable_onError:u}){return lg(r,void 0,o,u,i)}function pw({to:r,replace:i,state:o,relative:u}){Ie(Jr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=te.useContext(cn);sn(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=te.useContext(En),{pathname:p}=_a(),d=ig(),h=od(r,ud(c),p,u==="path"),m=JSON.stringify(h);return te.useEffect(()=>{d(JSON.parse(m),{replace:i,state:o,relative:u})},[d,m,u,i,o]),null}function _S(r){Ie(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function bS({basename:r="/",children:i=null,location:o,navigationType:u="POP",navigator:f,static:c=!1}){Ie(!Jr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=r.replace(/^\/*/,"/"),d=te.useMemo(()=>({basename:p,navigator:f,static:c,future:{}}),[p,f,c]);typeof o=="string"&&(o=Qr(o));let{pathname:h="/",search:m="",hash:y="",state:R=null,key:E="default"}=o,T=te.useMemo(()=>{let w=Yn(h,p);return w==null?null:{location:{pathname:w,search:m,hash:y,state:R,key:E},navigationType:u}},[p,h,m,y,R,E,u]);return sn(T!=null,`<Router basename="${p}"> is not able to match the URL "${h}${m}${y}" because it does not start with the basename, so the <Router> won't render anything.`),T==null?null:te.createElement(cn.Provider,{value:d},te.createElement(fl.Provider,{children:i,value:T}))}function vw({children:r,location:i}){return lS(Zf(r),i)}function Zf(r,i=[]){let o=[];return te.Children.forEach(r,(u,f)=>{if(!te.isValidElement(u))return;let c=[...i,f];if(u.type===te.Fragment){o.push.apply(o,Zf(u.props.children,c));return}Ie(u.type===_S,`[${typeof u.type=="string"?u.type:u.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ie(!u.props.index||!u.props.children,"An index route cannot have child routes.");let p={id:u.props.id||c.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(p.children=Zf(u.props.children,c)),o.push(p)}),o}var _o="get",bo="application/x-www-form-urlencoded";function zo(r){return r!=null&&typeof r.tagName=="string"}function SS(r){return zo(r)&&r.tagName.toLowerCase()==="button"}function ES(r){return zo(r)&&r.tagName.toLowerCase()==="form"}function $S(r){return zo(r)&&r.tagName.toLowerCase()==="input"}function OS(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function wS(r,i){return r.button===0&&(!i||i==="_self")&&!OS(r)}var Au=null;function RS(){if(Au===null)try{new FormData(document.createElement("form"),0),Au=!1}catch{Au=!0}return Au}var TS=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cf(r){return r!=null&&!TS.has(r)?(sn(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${bo}"`),null):r}function AS(r,i){let o,u,f,c,p;if(ES(r)){let d=r.getAttribute("action");u=d?Yn(d,i):null,o=r.getAttribute("method")||_o,f=cf(r.getAttribute("enctype"))||bo,c=new FormData(r)}else if(SS(r)||$S(r)&&(r.type==="submit"||r.type==="image")){let d=r.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=r.getAttribute("formaction")||d.getAttribute("action");if(u=h?Yn(h,i):null,o=r.getAttribute("formmethod")||d.getAttribute("method")||_o,f=cf(r.getAttribute("formenctype"))||cf(d.getAttribute("enctype"))||bo,c=new FormData(d,r),!RS()){let{name:m,type:y,value:R}=r;if(y==="image"){let E=m?`${m}.`:"";c.append(`${E}x`,"0"),c.append(`${E}y`,"0")}else m&&c.append(m,R)}}else{if(zo(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=_o,u=null,f=bo,p=r}return c&&f==="text/plain"&&(p=c,c=void 0),{action:u,method:o.toLowerCase(),encType:f,formData:c,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function dd(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}function NS(r,i,o){let u=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return u.pathname==="/"?u.pathname=`_root.${o}`:i&&Yn(u.pathname,i)==="/"?u.pathname=`${i.replace(/\/$/,"")}/_root.${o}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${o}`,u}async function MS(r,i){if(r.id in i)return i[r.id];try{let o=await import(r.module);return i[r.id]=o,o}catch(o){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function DS(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function CS(r,i,o){let u=await Promise.all(r.map(async f=>{let c=i.routes[f.route.id];if(c){let p=await MS(c,o);return p.links?p.links():[]}return[]}));return jS(u.flat(1).filter(DS).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function qv(r,i,o,u,f,c){let p=(h,m)=>o[m]?h.route.id!==o[m].route.id:!0,d=(h,m)=>o[m].pathname!==h.pathname||o[m].route.path?.endsWith("*")&&o[m].params["*"]!==h.params["*"];return c==="assets"?i.filter((h,m)=>p(h,m)||d(h,m)):c==="data"?i.filter((h,m)=>{let y=u.routes[h.route.id];if(!y||!y.hasLoader)return!1;if(p(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let R=h.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:o[0]?.params||{},nextUrl:new URL(r,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof R=="boolean")return R}return!0}):[]}function zS(r,i,{includeHydrateFallback:o}={}){return qS(r.map(u=>{let f=i.routes[u.route.id];if(!f)return[];let c=[f.module];return f.clientActionModule&&(c=c.concat(f.clientActionModule)),f.clientLoaderModule&&(c=c.concat(f.clientLoaderModule)),o&&f.hydrateFallbackModule&&(c=c.concat(f.hydrateFallbackModule)),f.imports&&(c=c.concat(f.imports)),c}).flat(1))}function qS(r){return[...new Set(r)]}function xS(r){let i={},o=Object.keys(r).sort();for(let u of o)i[u]=r[u];return i}function jS(r,i){let o=new Set;return new Set(i),r.reduce((u,f)=>{let c=JSON.stringify(xS(f));return o.has(c)||(o.add(c),u.push({key:c,link:f})),u},[])}function og(){let r=te.useContext(Zr);return dd(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function US(){let r=te.useContext(Co);return dd(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var hd=te.createContext(void 0);hd.displayName="FrameworkContext";function sg(){let r=te.useContext(hd);return dd(r,"You must render this element inside a <HydratedRouter> element"),r}function HS(r,i){let o=te.useContext(hd),[u,f]=te.useState(!1),[c,p]=te.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:y,onTouchStart:R}=i,E=te.useRef(null);te.useEffect(()=>{if(r==="render"&&p(!0),r==="viewport"){let O=v=>{v.forEach(g=>{p(g.isIntersecting)})},S=new IntersectionObserver(O,{threshold:.5});return E.current&&S.observe(E.current),()=>{S.disconnect()}}},[r]),te.useEffect(()=>{if(u){let O=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(O)}}},[u]);let T=()=>{f(!0)},w=()=>{f(!1),p(!1)};return o?r!=="intent"?[c,E,{}]:[c,E,{onFocus:Ji(d,T),onBlur:Ji(h,w),onMouseEnter:Ji(m,T),onMouseLeave:Ji(y,w),onTouchStart:Ji(R,T)}]:[!1,E,{}]}function Ji(r,i){return o=>{r&&r(o),o.defaultPrevented||i(o)}}function LS({page:r,...i}){let{router:o}=og(),u=te.useMemo(()=>I0(o.routes,r,o.basename),[o.routes,r,o.basename]);return u?te.createElement(VS,{page:r,matches:u,...i}):null}function kS(r){let{manifest:i,routeModules:o}=sg(),[u,f]=te.useState([]);return te.useEffect(()=>{let c=!1;return CS(r,i,o).then(p=>{c||f(p)}),()=>{c=!0}},[r,i,o]),u}function VS({page:r,matches:i,...o}){let u=_a(),{manifest:f,routeModules:c}=sg(),{basename:p}=og(),{loaderData:d,matches:h}=US(),m=te.useMemo(()=>qv(r,i,h,f,u,"data"),[r,i,h,f,u]),y=te.useMemo(()=>qv(r,i,h,f,u,"assets"),[r,i,h,f,u]),R=te.useMemo(()=>{if(r===u.pathname+u.search+u.hash)return[];let w=new Set,O=!1;if(i.forEach(v=>{let g=f.routes[v.route.id];!g||!g.hasLoader||(!m.some(b=>b.route.id===v.route.id)&&v.route.id in d&&c[v.route.id]?.shouldRevalidate||g.hasClientLoader?O=!0:w.add(v.route.id))}),w.size===0)return[];let S=NS(r,p,"data");return O&&w.size>0&&S.searchParams.set("_routes",i.filter(v=>w.has(v.route.id)).map(v=>v.route.id).join(",")),[S.pathname+S.search]},[p,d,u,f,m,i,r,c]),E=te.useMemo(()=>zS(y,f),[y,f]),T=kS(y);return te.createElement(te.Fragment,null,R.map(w=>te.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...o})),E.map(w=>te.createElement("link",{key:w,rel:"modulepreload",href:w,...o})),T.map(({key:w,link:O})=>te.createElement("link",{key:w,nonce:o.nonce,...O})))}function BS(...r){return i=>{r.forEach(o=>{typeof o=="function"?o(i):o!=null&&(o.current=i)})}}var cg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{cg&&(window.__reactRouterVersion="7.9.1")}catch{}function yw({basename:r,children:i,window:o}){let u=te.useRef();u.current==null&&(u.current=Db({window:o,v5Compat:!0}));let f=u.current,[c,p]=te.useState({action:f.action,location:f.location}),d=te.useCallback(h=>{te.startTransition(()=>p(h))},[p]);return te.useLayoutEffect(()=>f.listen(d),[f,d]),te.createElement(bS,{basename:r,children:i,location:c.location,navigationType:c.action,navigator:f})}var fg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dg=te.forwardRef(function({onClick:i,discover:o="render",prefetch:u="none",relative:f,reloadDocument:c,replace:p,state:d,target:h,to:m,preventScrollReset:y,viewTransition:R,...E},T){let{basename:w}=te.useContext(cn),O=typeof m=="string"&&fg.test(m),S,v=!1;if(typeof m=="string"&&O&&(S=m,cg))try{let B=new URL(window.location.href),J=m.startsWith("//")?new URL(B.protocol+m):new URL(m),W=Yn(J.pathname,w);J.origin===B.origin&&W!=null?m=W+J.search+J.hash:v=!0}catch{sn(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let g=rS(m,{relative:f}),[b,A,_]=HS(u,E),N=KS(m,{replace:p,state:d,target:h,preventScrollReset:y,relative:f,viewTransition:R});function C(B){i&&i(B),B.defaultPrevented||N(B)}let V=te.createElement("a",{...E,..._,href:S||g,onClick:v||c?i:C,ref:BS(T,A),target:h,"data-discover":!O&&o==="render"?"true":void 0});return b&&!O?te.createElement(te.Fragment,null,V,te.createElement(LS,{page:g})):V});dg.displayName="Link";var PS=te.forwardRef(function({"aria-current":i="page",caseSensitive:o=!1,className:u="",end:f=!1,style:c,to:p,viewTransition:d,children:h,...m},y){let R=dl(p,{relative:m.relative}),E=_a(),T=te.useContext(Co),{navigator:w,basename:O}=te.useContext(cn),S=T!=null&&FS(R)&&d===!0,v=w.encodeLocation?w.encodeLocation(R).pathname:R.pathname,g=E.pathname,b=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;o||(g=g.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&O&&(b=Yn(b,O)||b);const A=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let _=g===v||!f&&g.startsWith(v)&&g.charAt(A)==="/",N=b!=null&&(b===v||!f&&b.startsWith(v)&&b.charAt(v.length)==="/"),C={isActive:_,isPending:N,isTransitioning:S},V=_?i:void 0,B;typeof u=="function"?B=u(C):B=[u,_?"active":null,N?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let J=typeof c=="function"?c(C):c;return te.createElement(dg,{...m,"aria-current":V,className:B,ref:y,style:J,to:p,viewTransition:d},typeof h=="function"?h(C):h)});PS.displayName="NavLink";var YS=te.forwardRef(({discover:r="render",fetcherKey:i,navigate:o,reloadDocument:u,replace:f,state:c,method:p=_o,action:d,onSubmit:h,relative:m,preventScrollReset:y,viewTransition:R,...E},T)=>{let w=ZS(),O=JS(d,{relative:m}),S=p.toLowerCase()==="get"?"get":"post",v=typeof d=="string"&&fg.test(d),g=b=>{if(h&&h(b),b.defaultPrevented)return;b.preventDefault();let A=b.nativeEvent.submitter,_=A?.getAttribute("formmethod")||p;w(A||b.currentTarget,{fetcherKey:i,method:_,navigate:o,replace:f,state:c,relative:m,preventScrollReset:y,viewTransition:R})};return te.createElement("form",{ref:T,method:S,action:O,onSubmit:u?h:g,...E,"data-discover":!v&&r==="render"?"true":void 0})});YS.displayName="Form";function GS(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hg(r){let i=te.useContext(Zr);return Ie(i,GS(r)),i}function KS(r,{target:i,replace:o,state:u,preventScrollReset:f,relative:c,viewTransition:p}={}){let d=ig(),h=_a(),m=dl(r,{relative:c});return te.useCallback(y=>{if(wS(y,i)){y.preventDefault();let R=o!==void 0?o:ul(h)===ul(m);d(r,{replace:R,state:u,preventScrollReset:f,relative:c,viewTransition:p})}},[h,d,m,o,u,i,r,f,c,p])}var XS=0,QS=()=>`__${String(++XS)}__`;function ZS(){let{router:r}=hg("useSubmit"),{basename:i}=te.useContext(cn),o=pS();return te.useCallback(async(u,f={})=>{let{action:c,method:p,encType:d,formData:h,body:m}=AS(u,i);if(f.navigate===!1){let y=f.fetcherKey||QS();await r.fetch(y,o,f.action||c,{preventScrollReset:f.preventScrollReset,formData:h,body:m,formMethod:f.method||p,formEncType:f.encType||d,flushSync:f.flushSync})}else await r.navigate(f.action||c,{preventScrollReset:f.preventScrollReset,formData:h,body:m,formMethod:f.method||p,formEncType:f.encType||d,replace:f.replace,state:f.state,fromRouteId:o,flushSync:f.flushSync,viewTransition:f.viewTransition})},[r,i,o])}function JS(r,{relative:i}={}){let{basename:o}=te.useContext(cn),u=te.useContext(En);Ie(u,"useFormAction must be used inside a RouteContext");let[f]=u.matches.slice(-1),c={...dl(r||".",{relative:i})},p=_a();if(r==null){c.search=p.search;let d=new URLSearchParams(c.search),h=d.getAll("index");if(h.some(y=>y==="")){d.delete("index"),h.filter(R=>R).forEach(R=>d.append("index",R));let y=d.toString();c.search=y?`?${y}`:""}}return(!r||r===".")&&f.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(c.pathname=c.pathname==="/"?o:Pn([o,c.pathname])),ul(c)}function FS(r,{relative:i}={}){let o=te.useContext(ng);Ie(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=hg("useViewTransitionState"),f=dl(r,{relative:i});if(!o.isTransitioning)return!1;let c=Yn(o.currentLocation.pathname,u)||o.currentLocation.pathname,p=Yn(o.nextLocation.pathname,u)||o.nextLocation.pathname;return To(f.pathname,p)!=null||To(f.pathname,c)!=null}var IS=F0();const Nu=Ia(IS);function Jf(){return Jf=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var u in o)({}).hasOwnProperty.call(o,u)&&(r[u]=o[u])}return r},Jf.apply(null,arguments)}var gw="-ms-",_w="-moz-",bw="-webkit-",mg="comm",pg="rule",vg="decl",WS="@import",eE="@keyframes",tE="@layer",nE=Math.abs,md=String.fromCharCode,aE=Object.assign;function Sw(r,i){return gn(r,0)^45?(((i<<2^gn(r,0))<<2^gn(r,1))<<2^gn(r,2))<<2^gn(r,3):0}function yg(r){return r.trim()}function Ew(r,i){return(r=i.exec(r))?r[0]:r}function So(r,i,o){return r.replace(i,o)}function rE(r,i){return r.indexOf(i)}function gn(r,i){return r.charCodeAt(i)|0}function ol(r,i,o){return r.slice(i,o)}function ga(r){return r.length}function pd(r){return r.length}function Mu(r,i){return i.push(r),r}function $w(r,i){return r.map(i).join("")}var qo=1,Br=1,gg=0,en=0,ut=0,Fr="";function xo(r,i,o,u,f,c,p){return{value:r,root:i,parent:o,type:u,props:f,children:c,line:qo,column:Br,length:p,return:""}}function Ow(r,i){return aE(xo("",null,null,"",null,null,0),r,{length:-r.length},i)}function iE(){return ut}function lE(){return ut=en>0?gn(Fr,--en):0,Br--,ut===10&&(Br=1,qo--),ut}function on(){return ut=en<gg?gn(Fr,en++):0,Br++,ut===10&&(Br=1,qo++),ut}function Za(){return gn(Fr,en)}function Eo(){return en}function jo(r,i){return ol(Fr,r,i)}function Ff(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function uE(r){return qo=Br=1,gg=ga(Fr=r),en=0,[]}function oE(r){return Fr="",r}function ff(r){return yg(jo(en-1,If(r===91?r+2:r===40?r+1:r)))}function sE(r){for(;(ut=Za())&&ut<33;)on();return Ff(r)>2||Ff(ut)>3?"":" "}function cE(r,i){for(;--i&&on()&&!(ut<48||ut>102||ut>57&&ut<65||ut>70&&ut<97););return jo(r,Eo()+(i<6&&Za()==32&&on()==32))}function If(r){for(;on();)switch(ut){case r:return en;case 34:case 39:r!==34&&r!==39&&If(ut);break;case 40:r===41&&If(r);break;case 92:on();break}return en}function fE(r,i){for(;on()&&r+ut!==57;)if(r+ut===84&&Za()===47)break;return"/*"+jo(i,en-1)+"*"+md(r===47?r:on())}function dE(r){for(;!Ff(Za());)on();return jo(r,en)}function ww(r){return oE($o("",null,null,null,[""],r=uE(r),0,[0],r))}function $o(r,i,o,u,f,c,p,d,h){for(var m=0,y=0,R=p,E=0,T=0,w=0,O=1,S=1,v=1,g=0,b="",A=f,_=c,N=u,C=b;S;)switch(w=g,g=on()){case 40:if(w!=108&&gn(C,R-1)==58){rE(C+=So(ff(g),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=ff(g);break;case 9:case 10:case 13:case 32:C+=sE(w);break;case 92:C+=cE(Eo()-1,7);continue;case 47:switch(Za()){case 42:case 47:Mu(hE(fE(on(),Eo()),i,o),h);break;default:C+="/"}break;case 123*O:d[m++]=ga(C)*v;case 125*O:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+y:v==-1&&(C=So(C,/\f/g,"")),T>0&&ga(C)-R&&Mu(T>32?jv(C+";",u,o,R-1):jv(So(C," ","")+";",u,o,R-2),h);break;case 59:C+=";";default:if(Mu(N=xv(C,i,o,m,y,f,d,b,A=[],_=[],R),c),g===123)if(y===0)$o(C,i,N,N,A,c,R,d,_);else switch(E===99&&gn(C,3)===110?100:E){case 100:case 108:case 109:case 115:$o(r,N,N,u&&Mu(xv(r,N,N,0,0,f,d,b,f,A=[],R),_),f,_,R,d,u?A:_);break;default:$o(C,N,N,N,[""],_,0,d,_)}}m=y=T=0,O=v=1,b=C="",R=p;break;case 58:R=1+ga(C),T=w;default:if(O<1){if(g==123)--O;else if(g==125&&O++==0&&lE()==125)continue}switch(C+=md(g),g*O){case 38:v=y>0?1:(C+="\f",-1);break;case 44:d[m++]=(ga(C)-1)*v,v=1;break;case 64:Za()===45&&(C+=ff(on())),E=Za(),y=R=ga(b=C+=dE(Eo())),g++;break;case 45:w===45&&ga(C)==2&&(O=0)}}return c}function xv(r,i,o,u,f,c,p,d,h,m,y){for(var R=f-1,E=f===0?c:[""],T=pd(E),w=0,O=0,S=0;w<u;++w)for(var v=0,g=ol(r,R+1,R=nE(O=p[w])),b=r;v<T;++v)(b=yg(O>0?E[v]+" "+g:So(g,/&\f/g,E[v])))&&(h[S++]=b);return xo(r,i,o,f===0?pg:d,h,m,y)}function hE(r,i,o){return xo(r,i,o,mg,md(iE()),ol(r,2,-2),0)}function jv(r,i,o,u){return xo(r,i,o,vg,ol(r,0,u),ol(r,u+1,-1),u)}function Uv(r,i){for(var o="",u=pd(r),f=0;f<u;f++)o+=i(r[f],f,r,i)||"";return o}function Rw(r,i,o,u){switch(r.type){case tE:if(r.children.length)break;case WS:case vg:return r.return=r.return||r.value;case mg:return"";case eE:return r.return=r.value+"{"+Uv(r.children,u)+"}";case pg:r.value=r.props.join(",")}return ga(o=Uv(r.children,u))?r.return=r.value+"{"+o+"}":""}function Tw(r){var i=pd(r);return function(o,u,f,c){for(var p="",d=0;d<i;d++)p+=r[d](o,u,f,c)||"";return p}}function Aw(r){return function(i){i.root||(i=i.return)&&r(i)}}var df={exports:{}},Le={};/** @license React v16.13.1
61
+ * react-is.production.min.js
62
+ *
63
+ * Copyright (c) Facebook, Inc. and its affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var Hv;function mE(){if(Hv)return Le;Hv=1;var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,u=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,h=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,y=r?Symbol.for("react.forward_ref"):60112,R=r?Symbol.for("react.suspense"):60113,E=r?Symbol.for("react.suspense_list"):60120,T=r?Symbol.for("react.memo"):60115,w=r?Symbol.for("react.lazy"):60116,O=r?Symbol.for("react.block"):60121,S=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,g=r?Symbol.for("react.scope"):60119;function b(_){if(typeof _=="object"&&_!==null){var N=_.$$typeof;switch(N){case i:switch(_=_.type,_){case h:case m:case u:case c:case f:case R:return _;default:switch(_=_&&_.$$typeof,_){case d:case y:case w:case T:case p:return _;default:return N}}case o:return N}}}function A(_){return b(_)===m}return Le.AsyncMode=h,Le.ConcurrentMode=m,Le.ContextConsumer=d,Le.ContextProvider=p,Le.Element=i,Le.ForwardRef=y,Le.Fragment=u,Le.Lazy=w,Le.Memo=T,Le.Portal=o,Le.Profiler=c,Le.StrictMode=f,Le.Suspense=R,Le.isAsyncMode=function(_){return A(_)||b(_)===h},Le.isConcurrentMode=A,Le.isContextConsumer=function(_){return b(_)===d},Le.isContextProvider=function(_){return b(_)===p},Le.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===i},Le.isForwardRef=function(_){return b(_)===y},Le.isFragment=function(_){return b(_)===u},Le.isLazy=function(_){return b(_)===w},Le.isMemo=function(_){return b(_)===T},Le.isPortal=function(_){return b(_)===o},Le.isProfiler=function(_){return b(_)===c},Le.isStrictMode=function(_){return b(_)===f},Le.isSuspense=function(_){return b(_)===R},Le.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===u||_===m||_===c||_===f||_===R||_===E||typeof _=="object"&&_!==null&&(_.$$typeof===w||_.$$typeof===T||_.$$typeof===p||_.$$typeof===d||_.$$typeof===y||_.$$typeof===S||_.$$typeof===v||_.$$typeof===g||_.$$typeof===O)},Le.typeOf=b,Le}var Lv;function pE(){return Lv||(Lv=1,df.exports=mE()),df.exports}var hf,kv;function vE(){if(kv)return hf;kv=1;var r=pE(),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=u,c[r.Memo]=f;function p(w){return r.isMemo(w)?f:c[w.$$typeof]||i}var d=Object.defineProperty,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,E=Object.prototype;function T(w,O,S){if(typeof O!="string"){if(E){var v=R(O);v&&v!==E&&T(w,v,S)}var g=h(O);m&&(g=g.concat(m(O)));for(var b=p(w),A=p(O),_=0;_<g.length;++_){var N=g[_];if(!o[N]&&!(S&&S[N])&&!(A&&A[N])&&!(b&&b[N])){var C=y(O,N);try{d(w,N,C)}catch{}}}}return w}return hf=T,hf}vE();var mf={exports:{}},pf,Vv;function yE(){if(Vv)return pf;Vv=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pf=r,pf}var vf,Bv;function gE(){if(Bv)return vf;Bv=1;var r=yE();function i(){}function o(){}return o.resetWarningCache=i,vf=function(){function u(p,d,h,m,y,R){if(R!==r){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}u.isRequired=u;function f(){return u}var c={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:o,resetWarningCache:i};return c.PropTypes=c,c},vf}var Pv;function Nw(){return Pv||(Pv=1,mf.exports=gE()()),mf.exports}var yf={exports:{}},Ke={};/**
68
+ * @license React
69
+ * react-is.production.js
70
+ *
71
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */var Yv;function _E(){if(Yv)return Ke;Yv=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),p=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),E=Symbol.for("react.view_transition"),T=Symbol.for("react.client.reference");function w(O){if(typeof O=="object"&&O!==null){var S=O.$$typeof;switch(S){case r:switch(O=O.type,O){case o:case f:case u:case h:case m:case E:return O;default:switch(O=O&&O.$$typeof,O){case p:case d:case R:case y:return O;case c:return O;default:return S}}case i:return S}}}return Ke.ContextConsumer=c,Ke.ContextProvider=p,Ke.Element=r,Ke.ForwardRef=d,Ke.Fragment=o,Ke.Lazy=R,Ke.Memo=y,Ke.Portal=i,Ke.Profiler=f,Ke.StrictMode=u,Ke.Suspense=h,Ke.SuspenseList=m,Ke.isContextConsumer=function(O){return w(O)===c},Ke.isContextProvider=function(O){return w(O)===p},Ke.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===r},Ke.isForwardRef=function(O){return w(O)===d},Ke.isFragment=function(O){return w(O)===o},Ke.isLazy=function(O){return w(O)===R},Ke.isMemo=function(O){return w(O)===y},Ke.isPortal=function(O){return w(O)===i},Ke.isProfiler=function(O){return w(O)===f},Ke.isStrictMode=function(O){return w(O)===u},Ke.isSuspense=function(O){return w(O)===h},Ke.isSuspenseList=function(O){return w(O)===m},Ke.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===o||O===f||O===u||O===h||O===m||typeof O=="object"&&O!==null&&(O.$$typeof===R||O.$$typeof===y||O.$$typeof===p||O.$$typeof===c||O.$$typeof===d||O.$$typeof===T||O.getModuleId!==void 0)},Ke.typeOf=w,Ke}var Gv;function bE(){return Gv||(Gv=1,yf.exports=_E()),yf.exports}var Mw=bE();function _g(r){var i,o,u="";if(typeof r=="string"||typeof r=="number")u+=r;else if(typeof r=="object")if(Array.isArray(r)){var f=r.length;for(i=0;i<f;i++)r[i]&&(o=_g(r[i]))&&(u&&(u+=" "),u+=o)}else for(o in r)r[o]&&(u&&(u+=" "),u+=o);return u}function Dw(){for(var r,i,o=0,u="",f=arguments.length;o<f;o++)(r=arguments[o])&&(i=_g(r))&&(u&&(u+=" "),u+=i);return u}function bg(r,i){if(r==null)return{};var o={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(i.indexOf(u)!==-1)continue;o[u]=r[u]}return o}function Wf(r,i){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,u){return o.__proto__=u,o},Wf(r,i)}function Sg(r,i){r.prototype=Object.create(i.prototype),r.prototype.constructor=r,Wf(r,i)}const Kv={disabled:!1},Ao=_n.createContext(null);var SE=function(i){return i.scrollTop},al="unmounted",Ya="exited",Ga="entering",Vr="entered",ed="exiting",ba=(function(r){Sg(i,r);function i(u,f){var c;c=r.call(this,u,f)||this;var p=f,d=p&&!p.isMounting?u.enter:u.appear,h;return c.appearStatus=null,u.in?d?(h=Ya,c.appearStatus=Ga):h=Vr:u.unmountOnExit||u.mountOnEnter?h=al:h=Ya,c.state={status:h},c.nextCallback=null,c}i.getDerivedStateFromProps=function(f,c){var p=f.in;return p&&c.status===al?{status:Ya}:null};var o=i.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(f){var c=null;if(f!==this.props){var p=this.state.status;this.props.in?p!==Ga&&p!==Vr&&(c=Ga):(p===Ga||p===Vr)&&(c=ed)}this.updateStatus(!1,c)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var f=this.props.timeout,c,p,d;return c=p=d=f,f!=null&&typeof f!="number"&&(c=f.exit,p=f.enter,d=f.appear!==void 0?f.appear:p),{exit:c,enter:p,appear:d}},o.updateStatus=function(f,c){if(f===void 0&&(f=!1),c!==null)if(this.cancelNextCallback(),c===Ga){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:Nu.findDOMNode(this);p&&SE(p)}this.performEnter(f)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ya&&this.setState({status:al})},o.performEnter=function(f){var c=this,p=this.props.enter,d=this.context?this.context.isMounting:f,h=this.props.nodeRef?[d]:[Nu.findDOMNode(this),d],m=h[0],y=h[1],R=this.getTimeouts(),E=d?R.appear:R.enter;if(!f&&!p||Kv.disabled){this.safeSetState({status:Vr},function(){c.props.onEntered(m)});return}this.props.onEnter(m,y),this.safeSetState({status:Ga},function(){c.props.onEntering(m,y),c.onTransitionEnd(E,function(){c.safeSetState({status:Vr},function(){c.props.onEntered(m,y)})})})},o.performExit=function(){var f=this,c=this.props.exit,p=this.getTimeouts(),d=this.props.nodeRef?void 0:Nu.findDOMNode(this);if(!c||Kv.disabled){this.safeSetState({status:Ya},function(){f.props.onExited(d)});return}this.props.onExit(d),this.safeSetState({status:ed},function(){f.props.onExiting(d),f.onTransitionEnd(p.exit,function(){f.safeSetState({status:Ya},function(){f.props.onExited(d)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(f,c){c=this.setNextCallback(c),this.setState(f,c)},o.setNextCallback=function(f){var c=this,p=!0;return this.nextCallback=function(d){p&&(p=!1,c.nextCallback=null,f(d))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},o.onTransitionEnd=function(f,c){this.setNextCallback(c);var p=this.props.nodeRef?this.props.nodeRef.current:Nu.findDOMNode(this),d=f==null&&!this.props.addEndListener;if(!p||d){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var h=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],m=h[0],y=h[1];this.props.addEndListener(m,y)}f!=null&&setTimeout(this.nextCallback,f)},o.render=function(){var f=this.state.status;if(f===al)return null;var c=this.props,p=c.children;c.in,c.mountOnEnter,c.unmountOnExit,c.appear,c.enter,c.exit,c.timeout,c.addEndListener,c.onEnter,c.onEntering,c.onEntered,c.onExit,c.onExiting,c.onExited,c.nodeRef;var d=bg(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _n.createElement(Ao.Provider,{value:null},typeof p=="function"?p(f,d):_n.cloneElement(_n.Children.only(p),d))},i})(_n.Component);ba.contextType=Ao;ba.propTypes={};function Hr(){}ba.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Hr,onEntering:Hr,onEntered:Hr,onExit:Hr,onExiting:Hr,onExited:Hr};ba.UNMOUNTED=al;ba.EXITED=Ya;ba.ENTERING=Ga;ba.ENTERED=Vr;ba.EXITING=ed;function EE(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function vd(r,i){var o=function(c){return i&&te.isValidElement(c)?i(c):c},u=Object.create(null);return r&&te.Children.map(r,function(f){return f}).forEach(function(f){u[f.key]=o(f)}),u}function $E(r,i){r=r||{},i=i||{};function o(y){return y in i?i[y]:r[y]}var u=Object.create(null),f=[];for(var c in r)c in i?f.length&&(u[c]=f,f=[]):f.push(c);var p,d={};for(var h in i){if(u[h])for(p=0;p<u[h].length;p++){var m=u[h][p];d[u[h][p]]=o(m)}d[h]=o(h)}for(p=0;p<f.length;p++)d[f[p]]=o(f[p]);return d}function Qa(r,i,o){return o[i]!=null?o[i]:r.props[i]}function OE(r,i){return vd(r.children,function(o){return te.cloneElement(o,{onExited:i.bind(null,o),in:!0,appear:Qa(o,"appear",r),enter:Qa(o,"enter",r),exit:Qa(o,"exit",r)})})}function wE(r,i,o){var u=vd(r.children),f=$E(i,u);return Object.keys(f).forEach(function(c){var p=f[c];if(te.isValidElement(p)){var d=c in i,h=c in u,m=i[c],y=te.isValidElement(m)&&!m.props.in;h&&(!d||y)?f[c]=te.cloneElement(p,{onExited:o.bind(null,p),in:!0,exit:Qa(p,"exit",r),enter:Qa(p,"enter",r)}):!h&&d&&!y?f[c]=te.cloneElement(p,{in:!1}):h&&d&&te.isValidElement(m)&&(f[c]=te.cloneElement(p,{onExited:o.bind(null,p),in:m.props.in,exit:Qa(p,"exit",r),enter:Qa(p,"enter",r)}))}}),f}var RE=Object.values||function(r){return Object.keys(r).map(function(i){return r[i]})},TE={component:"div",childFactory:function(i){return i}},Eg=(function(r){Sg(i,r);function i(u,f){var c;c=r.call(this,u,f)||this;var p=c.handleExited.bind(EE(c));return c.state={contextValue:{isMounting:!0},handleExited:p,firstRender:!0},c}var o=i.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},i.getDerivedStateFromProps=function(f,c){var p=c.children,d=c.handleExited,h=c.firstRender;return{children:h?OE(f,d):wE(f,p,d),firstRender:!1}},o.handleExited=function(f,c){var p=vd(this.props.children);f.key in p||(f.props.onExited&&f.props.onExited(c),this.mounted&&this.setState(function(d){var h=Jf({},d.children);return delete h[f.key],{children:h}}))},o.render=function(){var f=this.props,c=f.component,p=f.childFactory,d=bg(f,["component","childFactory"]),h=this.state.contextValue,m=RE(this.state.children).map(p);return delete d.appear,delete d.enter,delete d.exit,c===null?_n.createElement(Ao.Provider,{value:h},m):_n.createElement(Ao.Provider,{value:h},_n.createElement(c,d,m))},i})(_n.Component);Eg.propTypes={};Eg.defaultProps=TE;var zt="top",tn="bottom",nn="right",qt="left",yd="auto",hl=[zt,tn,nn,qt],Pr="start",sl="end",AE="clippingParents",$g="viewport",Fi="popper",NE="reference",Xv=hl.reduce(function(r,i){return r.concat([i+"-"+Pr,i+"-"+sl])},[]),Og=[].concat(hl,[yd]).reduce(function(r,i){return r.concat([i,i+"-"+Pr,i+"-"+sl])},[]),ME="beforeRead",DE="read",CE="afterRead",zE="beforeMain",qE="main",xE="afterMain",jE="beforeWrite",UE="write",HE="afterWrite",LE=[ME,DE,CE,zE,qE,xE,jE,UE,HE];function Sn(r){return r?(r.nodeName||"").toLowerCase():null}function Pt(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var i=r.ownerDocument;return i&&i.defaultView||window}return r}function Fa(r){var i=Pt(r).Element;return r instanceof i||r instanceof Element}function Wt(r){var i=Pt(r).HTMLElement;return r instanceof i||r instanceof HTMLElement}function gd(r){if(typeof ShadowRoot>"u")return!1;var i=Pt(r).ShadowRoot;return r instanceof i||r instanceof ShadowRoot}function kE(r){var i=r.state;Object.keys(i.elements).forEach(function(o){var u=i.styles[o]||{},f=i.attributes[o]||{},c=i.elements[o];!Wt(c)||!Sn(c)||(Object.assign(c.style,u),Object.keys(f).forEach(function(p){var d=f[p];d===!1?c.removeAttribute(p):c.setAttribute(p,d===!0?"":d)}))})}function VE(r){var i=r.state,o={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,o.popper),i.styles=o,i.elements.arrow&&Object.assign(i.elements.arrow.style,o.arrow),function(){Object.keys(i.elements).forEach(function(u){var f=i.elements[u],c=i.attributes[u]||{},p=Object.keys(i.styles.hasOwnProperty(u)?i.styles[u]:o[u]),d=p.reduce(function(h,m){return h[m]="",h},{});!Wt(f)||!Sn(f)||(Object.assign(f.style,d),Object.keys(c).forEach(function(h){f.removeAttribute(h)}))})}}const BE={name:"applyStyles",enabled:!0,phase:"write",fn:kE,effect:VE,requires:["computeStyles"]};function bn(r){return r.split("-")[0]}var Ja=Math.max,No=Math.min,Yr=Math.round;function td(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function wg(){return!/^((?!chrome|android).)*safari/i.test(td())}function Gr(r,i,o){i===void 0&&(i=!1),o===void 0&&(o=!1);var u=r.getBoundingClientRect(),f=1,c=1;i&&Wt(r)&&(f=r.offsetWidth>0&&Yr(u.width)/r.offsetWidth||1,c=r.offsetHeight>0&&Yr(u.height)/r.offsetHeight||1);var p=Fa(r)?Pt(r):window,d=p.visualViewport,h=!wg()&&o,m=(u.left+(h&&d?d.offsetLeft:0))/f,y=(u.top+(h&&d?d.offsetTop:0))/c,R=u.width/f,E=u.height/c;return{width:R,height:E,top:y,right:m+R,bottom:y+E,left:m,x:m,y}}function _d(r){var i=Gr(r),o=r.offsetWidth,u=r.offsetHeight;return Math.abs(i.width-o)<=1&&(o=i.width),Math.abs(i.height-u)<=1&&(u=i.height),{x:r.offsetLeft,y:r.offsetTop,width:o,height:u}}function Rg(r,i){var o=i.getRootNode&&i.getRootNode();if(r.contains(i))return!0;if(o&&gd(o)){var u=i;do{if(u&&r.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function Gn(r){return Pt(r).getComputedStyle(r)}function PE(r){return["table","td","th"].indexOf(Sn(r))>=0}function Sa(r){return((Fa(r)?r.ownerDocument:r.document)||window.document).documentElement}function Uo(r){return Sn(r)==="html"?r:r.assignedSlot||r.parentNode||(gd(r)?r.host:null)||Sa(r)}function Qv(r){return!Wt(r)||Gn(r).position==="fixed"?null:r.offsetParent}function YE(r){var i=/firefox/i.test(td()),o=/Trident/i.test(td());if(o&&Wt(r)){var u=Gn(r);if(u.position==="fixed")return null}var f=Uo(r);for(gd(f)&&(f=f.host);Wt(f)&&["html","body"].indexOf(Sn(f))<0;){var c=Gn(f);if(c.transform!=="none"||c.perspective!=="none"||c.contain==="paint"||["transform","perspective"].indexOf(c.willChange)!==-1||i&&c.willChange==="filter"||i&&c.filter&&c.filter!=="none")return f;f=f.parentNode}return null}function ml(r){for(var i=Pt(r),o=Qv(r);o&&PE(o)&&Gn(o).position==="static";)o=Qv(o);return o&&(Sn(o)==="html"||Sn(o)==="body"&&Gn(o).position==="static")?i:o||YE(r)||i}function bd(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function rl(r,i,o){return Ja(r,No(i,o))}function GE(r,i,o){var u=rl(r,i,o);return u>o?o:u}function Tg(){return{top:0,right:0,bottom:0,left:0}}function Ag(r){return Object.assign({},Tg(),r)}function Ng(r,i){return i.reduce(function(o,u){return o[u]=r,o},{})}var KE=function(i,o){return i=typeof i=="function"?i(Object.assign({},o.rects,{placement:o.placement})):i,Ag(typeof i!="number"?i:Ng(i,hl))};function XE(r){var i,o=r.state,u=r.name,f=r.options,c=o.elements.arrow,p=o.modifiersData.popperOffsets,d=bn(o.placement),h=bd(d),m=[qt,nn].indexOf(d)>=0,y=m?"height":"width";if(!(!c||!p)){var R=KE(f.padding,o),E=_d(c),T=h==="y"?zt:qt,w=h==="y"?tn:nn,O=o.rects.reference[y]+o.rects.reference[h]-p[h]-o.rects.popper[y],S=p[h]-o.rects.reference[h],v=ml(c),g=v?h==="y"?v.clientHeight||0:v.clientWidth||0:0,b=O/2-S/2,A=R[T],_=g-E[y]-R[w],N=g/2-E[y]/2+b,C=rl(A,N,_),V=h;o.modifiersData[u]=(i={},i[V]=C,i.centerOffset=C-N,i)}}function QE(r){var i=r.state,o=r.options,u=o.element,f=u===void 0?"[data-popper-arrow]":u;f!=null&&(typeof f=="string"&&(f=i.elements.popper.querySelector(f),!f)||Rg(i.elements.popper,f)&&(i.elements.arrow=f))}const ZE={name:"arrow",enabled:!0,phase:"main",fn:XE,effect:QE,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Kr(r){return r.split("-")[1]}var JE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FE(r,i){var o=r.x,u=r.y,f=i.devicePixelRatio||1;return{x:Yr(o*f)/f||0,y:Yr(u*f)/f||0}}function Zv(r){var i,o=r.popper,u=r.popperRect,f=r.placement,c=r.variation,p=r.offsets,d=r.position,h=r.gpuAcceleration,m=r.adaptive,y=r.roundOffsets,R=r.isFixed,E=p.x,T=E===void 0?0:E,w=p.y,O=w===void 0?0:w,S=typeof y=="function"?y({x:T,y:O}):{x:T,y:O};T=S.x,O=S.y;var v=p.hasOwnProperty("x"),g=p.hasOwnProperty("y"),b=qt,A=zt,_=window;if(m){var N=ml(o),C="clientHeight",V="clientWidth";if(N===Pt(o)&&(N=Sa(o),Gn(N).position!=="static"&&d==="absolute"&&(C="scrollHeight",V="scrollWidth")),N=N,f===zt||(f===qt||f===nn)&&c===sl){A=tn;var B=R&&N===_&&_.visualViewport?_.visualViewport.height:N[C];O-=B-u.height,O*=h?1:-1}if(f===qt||(f===zt||f===tn)&&c===sl){b=nn;var J=R&&N===_&&_.visualViewport?_.visualViewport.width:N[V];T-=J-u.width,T*=h?1:-1}}var W=Object.assign({position:d},m&&JE),ue=y===!0?FE({x:T,y:O},Pt(o)):{x:T,y:O};if(T=ue.x,O=ue.y,h){var G;return Object.assign({},W,(G={},G[A]=g?"0":"",G[b]=v?"0":"",G.transform=(_.devicePixelRatio||1)<=1?"translate("+T+"px, "+O+"px)":"translate3d("+T+"px, "+O+"px, 0)",G))}return Object.assign({},W,(i={},i[A]=g?O+"px":"",i[b]=v?T+"px":"",i.transform="",i))}function IE(r){var i=r.state,o=r.options,u=o.gpuAcceleration,f=u===void 0?!0:u,c=o.adaptive,p=c===void 0?!0:c,d=o.roundOffsets,h=d===void 0?!0:d,m={placement:bn(i.placement),variation:Kr(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:f,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,Zv(Object.assign({},m,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:p,roundOffsets:h})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,Zv(Object.assign({},m,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const WE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:IE,data:{}};var Du={passive:!0};function e$(r){var i=r.state,o=r.instance,u=r.options,f=u.scroll,c=f===void 0?!0:f,p=u.resize,d=p===void 0?!0:p,h=Pt(i.elements.popper),m=[].concat(i.scrollParents.reference,i.scrollParents.popper);return c&&m.forEach(function(y){y.addEventListener("scroll",o.update,Du)}),d&&h.addEventListener("resize",o.update,Du),function(){c&&m.forEach(function(y){y.removeEventListener("scroll",o.update,Du)}),d&&h.removeEventListener("resize",o.update,Du)}}const t$={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:e$,data:{}};var n$={left:"right",right:"left",bottom:"top",top:"bottom"};function Oo(r){return r.replace(/left|right|bottom|top/g,function(i){return n$[i]})}var a$={start:"end",end:"start"};function Jv(r){return r.replace(/start|end/g,function(i){return a$[i]})}function Sd(r){var i=Pt(r),o=i.pageXOffset,u=i.pageYOffset;return{scrollLeft:o,scrollTop:u}}function Ed(r){return Gr(Sa(r)).left+Sd(r).scrollLeft}function r$(r,i){var o=Pt(r),u=Sa(r),f=o.visualViewport,c=u.clientWidth,p=u.clientHeight,d=0,h=0;if(f){c=f.width,p=f.height;var m=wg();(m||!m&&i==="fixed")&&(d=f.offsetLeft,h=f.offsetTop)}return{width:c,height:p,x:d+Ed(r),y:h}}function i$(r){var i,o=Sa(r),u=Sd(r),f=(i=r.ownerDocument)==null?void 0:i.body,c=Ja(o.scrollWidth,o.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),p=Ja(o.scrollHeight,o.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),d=-u.scrollLeft+Ed(r),h=-u.scrollTop;return Gn(f||o).direction==="rtl"&&(d+=Ja(o.clientWidth,f?f.clientWidth:0)-c),{width:c,height:p,x:d,y:h}}function $d(r){var i=Gn(r),o=i.overflow,u=i.overflowX,f=i.overflowY;return/auto|scroll|overlay|hidden/.test(o+f+u)}function Mg(r){return["html","body","#document"].indexOf(Sn(r))>=0?r.ownerDocument.body:Wt(r)&&$d(r)?r:Mg(Uo(r))}function il(r,i){var o;i===void 0&&(i=[]);var u=Mg(r),f=u===((o=r.ownerDocument)==null?void 0:o.body),c=Pt(u),p=f?[c].concat(c.visualViewport||[],$d(u)?u:[]):u,d=i.concat(p);return f?d:d.concat(il(Uo(p)))}function nd(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function l$(r,i){var o=Gr(r,!1,i==="fixed");return o.top=o.top+r.clientTop,o.left=o.left+r.clientLeft,o.bottom=o.top+r.clientHeight,o.right=o.left+r.clientWidth,o.width=r.clientWidth,o.height=r.clientHeight,o.x=o.left,o.y=o.top,o}function Fv(r,i,o){return i===$g?nd(r$(r,o)):Fa(i)?l$(i,o):nd(i$(Sa(r)))}function u$(r){var i=il(Uo(r)),o=["absolute","fixed"].indexOf(Gn(r).position)>=0,u=o&&Wt(r)?ml(r):r;return Fa(u)?i.filter(function(f){return Fa(f)&&Rg(f,u)&&Sn(f)!=="body"}):[]}function o$(r,i,o,u){var f=i==="clippingParents"?u$(r):[].concat(i),c=[].concat(f,[o]),p=c[0],d=c.reduce(function(h,m){var y=Fv(r,m,u);return h.top=Ja(y.top,h.top),h.right=No(y.right,h.right),h.bottom=No(y.bottom,h.bottom),h.left=Ja(y.left,h.left),h},Fv(r,p,u));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function Dg(r){var i=r.reference,o=r.element,u=r.placement,f=u?bn(u):null,c=u?Kr(u):null,p=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,h;switch(f){case zt:h={x:p,y:i.y-o.height};break;case tn:h={x:p,y:i.y+i.height};break;case nn:h={x:i.x+i.width,y:d};break;case qt:h={x:i.x-o.width,y:d};break;default:h={x:i.x,y:i.y}}var m=f?bd(f):null;if(m!=null){var y=m==="y"?"height":"width";switch(c){case Pr:h[m]=h[m]-(i[y]/2-o[y]/2);break;case sl:h[m]=h[m]+(i[y]/2-o[y]/2);break}}return h}function cl(r,i){i===void 0&&(i={});var o=i,u=o.placement,f=u===void 0?r.placement:u,c=o.strategy,p=c===void 0?r.strategy:c,d=o.boundary,h=d===void 0?AE:d,m=o.rootBoundary,y=m===void 0?$g:m,R=o.elementContext,E=R===void 0?Fi:R,T=o.altBoundary,w=T===void 0?!1:T,O=o.padding,S=O===void 0?0:O,v=Ag(typeof S!="number"?S:Ng(S,hl)),g=E===Fi?NE:Fi,b=r.rects.popper,A=r.elements[w?g:E],_=o$(Fa(A)?A:A.contextElement||Sa(r.elements.popper),h,y,p),N=Gr(r.elements.reference),C=Dg({reference:N,element:b,placement:f}),V=nd(Object.assign({},b,C)),B=E===Fi?V:N,J={top:_.top-B.top+v.top,bottom:B.bottom-_.bottom+v.bottom,left:_.left-B.left+v.left,right:B.right-_.right+v.right},W=r.modifiersData.offset;if(E===Fi&&W){var ue=W[f];Object.keys(J).forEach(function(G){var oe=[nn,tn].indexOf(G)>=0?1:-1,me=[zt,tn].indexOf(G)>=0?"y":"x";J[G]+=ue[me]*oe})}return J}function s$(r,i){i===void 0&&(i={});var o=i,u=o.placement,f=o.boundary,c=o.rootBoundary,p=o.padding,d=o.flipVariations,h=o.allowedAutoPlacements,m=h===void 0?Og:h,y=Kr(u),R=y?d?Xv:Xv.filter(function(w){return Kr(w)===y}):hl,E=R.filter(function(w){return m.indexOf(w)>=0});E.length===0&&(E=R);var T=E.reduce(function(w,O){return w[O]=cl(r,{placement:O,boundary:f,rootBoundary:c,padding:p})[bn(O)],w},{});return Object.keys(T).sort(function(w,O){return T[w]-T[O]})}function c$(r){if(bn(r)===yd)return[];var i=Oo(r);return[Jv(r),i,Jv(i)]}function f$(r){var i=r.state,o=r.options,u=r.name;if(!i.modifiersData[u]._skip){for(var f=o.mainAxis,c=f===void 0?!0:f,p=o.altAxis,d=p===void 0?!0:p,h=o.fallbackPlacements,m=o.padding,y=o.boundary,R=o.rootBoundary,E=o.altBoundary,T=o.flipVariations,w=T===void 0?!0:T,O=o.allowedAutoPlacements,S=i.options.placement,v=bn(S),g=v===S,b=h||(g||!w?[Oo(S)]:c$(S)),A=[S].concat(b).reduce(function(M,x){return M.concat(bn(x)===yd?s$(i,{placement:x,boundary:y,rootBoundary:R,padding:m,flipVariations:w,allowedAutoPlacements:O}):x)},[]),_=i.rects.reference,N=i.rects.popper,C=new Map,V=!0,B=A[0],J=0;J<A.length;J++){var W=A[J],ue=bn(W),G=Kr(W)===Pr,oe=[zt,tn].indexOf(ue)>=0,me=oe?"width":"height",X=cl(i,{placement:W,boundary:y,rootBoundary:R,altBoundary:E,padding:m}),se=oe?G?nn:qt:G?tn:zt;_[me]>N[me]&&(se=Oo(se));var ie=Oo(se),ve=[];if(c&&ve.push(X[ue]<=0),d&&ve.push(X[se]<=0,X[ie]<=0),ve.every(function(M){return M})){B=W,V=!1;break}C.set(W,ve)}if(V)for(var z=w?3:1,q=function(x){var L=A.find(function(he){var fe=C.get(he);if(fe)return fe.slice(0,x).every(function(ae){return ae})});if(L)return B=L,"break"},P=z;P>0;P--){var j=q(P);if(j==="break")break}i.placement!==B&&(i.modifiersData[u]._skip=!0,i.placement=B,i.reset=!0)}}const d$={name:"flip",enabled:!0,phase:"main",fn:f$,requiresIfExists:["offset"],data:{_skip:!1}};function Iv(r,i,o){return o===void 0&&(o={x:0,y:0}),{top:r.top-i.height-o.y,right:r.right-i.width+o.x,bottom:r.bottom-i.height+o.y,left:r.left-i.width-o.x}}function Wv(r){return[zt,nn,tn,qt].some(function(i){return r[i]>=0})}function h$(r){var i=r.state,o=r.name,u=i.rects.reference,f=i.rects.popper,c=i.modifiersData.preventOverflow,p=cl(i,{elementContext:"reference"}),d=cl(i,{altBoundary:!0}),h=Iv(p,u),m=Iv(d,f,c),y=Wv(h),R=Wv(m);i.modifiersData[o]={referenceClippingOffsets:h,popperEscapeOffsets:m,isReferenceHidden:y,hasPopperEscaped:R},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":R})}const m$={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:h$};function p$(r,i,o){var u=bn(r),f=[qt,zt].indexOf(u)>=0?-1:1,c=typeof o=="function"?o(Object.assign({},i,{placement:r})):o,p=c[0],d=c[1];return p=p||0,d=(d||0)*f,[qt,nn].indexOf(u)>=0?{x:d,y:p}:{x:p,y:d}}function v$(r){var i=r.state,o=r.options,u=r.name,f=o.offset,c=f===void 0?[0,0]:f,p=Og.reduce(function(y,R){return y[R]=p$(R,i.rects,c),y},{}),d=p[i.placement],h=d.x,m=d.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=h,i.modifiersData.popperOffsets.y+=m),i.modifiersData[u]=p}const y$={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:v$};function g$(r){var i=r.state,o=r.name;i.modifiersData[o]=Dg({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const _$={name:"popperOffsets",enabled:!0,phase:"read",fn:g$,data:{}};function b$(r){return r==="x"?"y":"x"}function S$(r){var i=r.state,o=r.options,u=r.name,f=o.mainAxis,c=f===void 0?!0:f,p=o.altAxis,d=p===void 0?!1:p,h=o.boundary,m=o.rootBoundary,y=o.altBoundary,R=o.padding,E=o.tether,T=E===void 0?!0:E,w=o.tetherOffset,O=w===void 0?0:w,S=cl(i,{boundary:h,rootBoundary:m,padding:R,altBoundary:y}),v=bn(i.placement),g=Kr(i.placement),b=!g,A=bd(v),_=b$(A),N=i.modifiersData.popperOffsets,C=i.rects.reference,V=i.rects.popper,B=typeof O=="function"?O(Object.assign({},i.rects,{placement:i.placement})):O,J=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),W=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,ue={x:0,y:0};if(N){if(c){var G,oe=A==="y"?zt:qt,me=A==="y"?tn:nn,X=A==="y"?"height":"width",se=N[A],ie=se+S[oe],ve=se-S[me],z=T?-V[X]/2:0,q=g===Pr?C[X]:V[X],P=g===Pr?-V[X]:-C[X],j=i.elements.arrow,M=T&&j?_d(j):{width:0,height:0},x=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:Tg(),L=x[oe],he=x[me],fe=rl(0,C[X],M[X]),ae=b?C[X]/2-z-fe-L-J.mainAxis:q-fe-L-J.mainAxis,de=b?-C[X]/2+z+fe+he+J.mainAxis:P+fe+he+J.mainAxis,H=i.elements.arrow&&ml(i.elements.arrow),Y=H?A==="y"?H.clientTop||0:H.clientLeft||0:0,ee=(G=W?.[A])!=null?G:0,ce=se+ae-ee-Y,pe=se+de-ee,ye=rl(T?No(ie,ce):ie,se,T?Ja(ve,pe):ve);N[A]=ye,ue[A]=ye-se}if(d){var $e,Qe=A==="x"?zt:qt,xe=A==="x"?tn:nn,ze=N[_],Ce=_==="y"?"height":"width",we=ze+S[Qe],Ze=ze-S[xe],ot=[zt,qt].indexOf(v)!==-1,_t=($e=W?.[_])!=null?$e:0,bt=ot?we:ze-C[Ce]-V[Ce]-_t+J.altAxis,et=ot?ze+C[Ce]+V[Ce]-_t-J.altAxis:Ze,St=T&&ot?GE(bt,ze,et):rl(T?bt:we,ze,T?et:Ze);N[_]=St,ue[_]=St-ze}i.modifiersData[u]=ue}}const E$={name:"preventOverflow",enabled:!0,phase:"main",fn:S$,requiresIfExists:["offset"]};function $$(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function O$(r){return r===Pt(r)||!Wt(r)?Sd(r):$$(r)}function w$(r){var i=r.getBoundingClientRect(),o=Yr(i.width)/r.offsetWidth||1,u=Yr(i.height)/r.offsetHeight||1;return o!==1||u!==1}function R$(r,i,o){o===void 0&&(o=!1);var u=Wt(i),f=Wt(i)&&w$(i),c=Sa(i),p=Gr(r,f,o),d={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(u||!u&&!o)&&((Sn(i)!=="body"||$d(c))&&(d=O$(i)),Wt(i)?(h=Gr(i,!0),h.x+=i.clientLeft,h.y+=i.clientTop):c&&(h.x=Ed(c))),{x:p.left+d.scrollLeft-h.x,y:p.top+d.scrollTop-h.y,width:p.width,height:p.height}}function T$(r){var i=new Map,o=new Set,u=[];r.forEach(function(c){i.set(c.name,c)});function f(c){o.add(c.name);var p=[].concat(c.requires||[],c.requiresIfExists||[]);p.forEach(function(d){if(!o.has(d)){var h=i.get(d);h&&f(h)}}),u.push(c)}return r.forEach(function(c){o.has(c.name)||f(c)}),u}function A$(r){var i=T$(r);return LE.reduce(function(o,u){return o.concat(i.filter(function(f){return f.phase===u}))},[])}function N$(r){var i;return function(){return i||(i=new Promise(function(o){Promise.resolve().then(function(){i=void 0,o(r())})})),i}}function M$(r){var i=r.reduce(function(o,u){var f=o[u.name];return o[u.name]=f?Object.assign({},f,u,{options:Object.assign({},f.options,u.options),data:Object.assign({},f.data,u.data)}):u,o},{});return Object.keys(i).map(function(o){return i[o]})}var ey={placement:"bottom",modifiers:[],strategy:"absolute"};function ty(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return!i.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function D$(r){r===void 0&&(r={});var i=r,o=i.defaultModifiers,u=o===void 0?[]:o,f=i.defaultOptions,c=f===void 0?ey:f;return function(d,h,m){m===void 0&&(m=c);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},ey,c),modifiersData:{},elements:{reference:d,popper:h},attributes:{},styles:{}},R=[],E=!1,T={state:y,setOptions:function(v){var g=typeof v=="function"?v(y.options):v;O(),y.options=Object.assign({},c,y.options,g),y.scrollParents={reference:Fa(d)?il(d):d.contextElement?il(d.contextElement):[],popper:il(h)};var b=A$(M$([].concat(u,y.options.modifiers)));return y.orderedModifiers=b.filter(function(A){return A.enabled}),w(),T.update()},forceUpdate:function(){if(!E){var v=y.elements,g=v.reference,b=v.popper;if(ty(g,b)){y.rects={reference:R$(g,ml(b),y.options.strategy==="fixed"),popper:_d(b)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(J){return y.modifiersData[J.name]=Object.assign({},J.data)});for(var A=0;A<y.orderedModifiers.length;A++){if(y.reset===!0){y.reset=!1,A=-1;continue}var _=y.orderedModifiers[A],N=_.fn,C=_.options,V=C===void 0?{}:C,B=_.name;typeof N=="function"&&(y=N({state:y,options:V,name:B,instance:T})||y)}}}},update:N$(function(){return new Promise(function(S){T.forceUpdate(),S(y)})}),destroy:function(){O(),E=!0}};if(!ty(d,h))return T;T.setOptions(m).then(function(S){!E&&m.onFirstUpdate&&m.onFirstUpdate(S)});function w(){y.orderedModifiers.forEach(function(S){var v=S.name,g=S.options,b=g===void 0?{}:g,A=S.effect;if(typeof A=="function"){var _=A({state:y,name:v,instance:T,options:b}),N=function(){};R.push(_||N)}})}function O(){R.forEach(function(S){return S()}),R=[]}return T}}var C$=[t$,_$,WE,BE,y$,d$,E$,ZE,m$],Cw=D$({defaultModifiers:C$});let z$={data:""},q$=r=>typeof window=="object"?((r?r.querySelector("#_goober"):window._goober)||Object.assign((r||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:r||z$,x$=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,j$=/\/\*[^]*?\*\/| +/g,ny=/\n+/g,Ka=(r,i)=>{let o="",u="",f="";for(let c in r){let p=r[c];c[0]=="@"?c[1]=="i"?o=c+" "+p+";":u+=c[1]=="f"?Ka(p,c):c+"{"+Ka(p,c[1]=="k"?"":i)+"}":typeof p=="object"?u+=Ka(p,i?i.replace(/([^,])+/g,d=>c.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,h=>/&/.test(h)?h.replace(/&/g,d):d?d+" "+h:h)):c):p!=null&&(c=/^--/.test(c)?c:c.replace(/[A-Z]/g,"-$&").toLowerCase(),f+=Ka.p?Ka.p(c,p):c+":"+p+";")}return o+(i&&f?i+"{"+f+"}":f)+u},Hn={},Cg=r=>{if(typeof r=="object"){let i="";for(let o in r)i+=o+Cg(r[o]);return i}return r},U$=(r,i,o,u,f)=>{let c=Cg(r),p=Hn[c]||(Hn[c]=(h=>{let m=0,y=11;for(;m<h.length;)y=101*y+h.charCodeAt(m++)>>>0;return"go"+y})(c));if(!Hn[p]){let h=c!==r?r:(m=>{let y,R,E=[{}];for(;y=x$.exec(m.replace(j$,""));)y[4]?E.shift():y[3]?(R=y[3].replace(ny," ").trim(),E.unshift(E[0][R]=E[0][R]||{})):E[0][y[1]]=y[2].replace(ny," ").trim();return E[0]})(r);Hn[p]=Ka(f?{["@keyframes "+p]:h}:h,o?"":"."+p)}let d=o&&Hn.g?Hn.g:null;return o&&(Hn.g=Hn[p]),((h,m,y,R)=>{R?m.data=m.data.replace(R,h):m.data.indexOf(h)===-1&&(m.data=y?h+m.data:m.data+h)})(Hn[p],i,u,d),p},H$=(r,i,o)=>r.reduce((u,f,c)=>{let p=i[c];if(p&&p.call){let d=p(o),h=d&&d.props&&d.props.className||/^go/.test(d)&&d;p=h?"."+h:d&&typeof d=="object"?d.props?"":Ka(d,""):d===!1?"":d}return u+f+(p??"")},"");function zg(r){let i=this||{},o=r.call?r(i.p):r;return U$(o.unshift?o.raw?H$(o,[].slice.call(arguments,1),i.p):o.reduce((u,f)=>Object.assign(u,f&&f.call?f(i.p):f),{}):o,q$(i.target),i.g,i.o,i.k)}zg.bind({g:1});zg.bind({k:1});var Ii={},ay;function L$(){if(ay)return Ii;ay=1;var r=/~/,i=/~[01]/g;function o(m){switch(m){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+m)}function u(m){return r.test(m)?m.replace(i,o):m}function f(m,y,R){for(var E,T,w=1,O=y.length;w<O;){if(y[w]==="constructor"||y[w]==="prototype"||y[w]==="__proto__")return m;if(E=u(y[w++]),T=O>w,typeof m[E]>"u"&&(Array.isArray(m)&&E==="-"&&(E=m.length),T&&(y[w]!==""&&y[w]<1/0||y[w]==="-"?m[E]=[]:m[E]={})),!T)break;m=m[E]}var S=m[E];return R===void 0?delete m[E]:m[E]=R,S}function c(m){if(typeof m=="string"){if(m=m.split("/"),m[0]==="")return m;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(m)){for(const y of m)if(typeof y!="string"&&typeof y!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return m}throw new Error("Invalid JSON pointer.")}function p(m,y){if(typeof m!="object")throw new Error("Invalid input object.");y=c(y);var R=y.length;if(R===1)return m;for(var E=1;E<R;){if(m=m[u(y[E++])],R===E)return m;if(typeof m!="object"||m===null)return}}function d(m,y,R){if(typeof m!="object")throw new Error("Invalid input object.");if(y=c(y),y.length===0)throw new Error("Invalid JSON pointer for set.");return f(m,y,R)}function h(m){var y=c(m);return{get:function(R){return p(R,y)},set:function(R,E){return d(R,y,E)}}}return Ii.get=p,Ii.set=d,Ii.compile=h,Ii}var k$=L$();const zw=Ia(k$);var gf,ry;function Od(){if(ry)return gf;ry=1;var r=G0(),i=K0(),o=ad(),u=rd(),f=mb(),c=X0(),p=id(),d=pb(),h=G=>Array.isArray(G)?G:[G],m=G=>G===void 0,y=G=>p(G)||Array.isArray(G)?Object.keys(G):[],R=(G,oe)=>G.hasOwnProperty(oe),E=G=>i(o(G)),T=G=>m(G)||Array.isArray(G)&&G.length===0,w=(G,oe,me,X)=>oe&&R(oe,me)&&G&&R(G,me)&&X(G[me],oe[me]),O=(G,oe)=>m(G)&&oe===0||m(oe)&&G===0||r(G,oe),S=(G,oe)=>m(G)&&oe===!1||m(oe)&&G===!1||r(G,oe),v=G=>m(G)||r(G,{})||G===!0,g=G=>m(G)||r(G,{}),b=G=>m(G)||p(G)||G===!0||G===!1;function A(G,oe){return T(G)&&T(oe)?!0:r(E(G),E(oe))}function _(G,oe){return G=h(G),oe=h(oe),r(E(G),E(oe))}function N(G,oe,me,X){var se=o(y(G).concat(y(oe)));return g(G)&&g(oe)?!0:g(G)&&y(oe).length||g(oe)&&y(G).length?!1:se.every(function(ie){var ve=G[ie],z=oe[ie];return Array.isArray(ve)&&Array.isArray(z)?r(E(G),E(oe)):Array.isArray(ve)&&!Array.isArray(z)||Array.isArray(z)&&!Array.isArray(ve)?!1:w(G,oe,ie,X)})}function C(G,oe,me,X){return p(G)&&p(oe)?X(G,oe):Array.isArray(G)&&Array.isArray(oe)?N(G,oe,me,X):r(G,oe)}function V(G,oe,me,X){var se=u(G,X),ie=u(oe,X),ve=c(se,ie,X);return ve.length===Math.max(se.length,ie.length)}var B={title:r,uniqueItems:S,minLength:O,minItems:O,minProperties:O,required:A,enum:A,type:_,items:C,anyOf:V,allOf:V,oneOf:V,properties:N,patternProperties:N,dependencies:N},J=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],W=["additionalProperties","additionalItems","contains","propertyNames","not"];function ue(G,oe,me){if(me=f(me,{ignore:[]}),v(G)&&v(oe))return!0;if(!b(G)||!b(oe))throw new Error("Either of the values are not a JSON schema.");if(G===oe)return!0;if(d(G)&&d(oe))return G===oe;if(G===void 0&&oe===!1||oe===void 0&&G===!1||m(G)&&!m(oe)||!m(G)&&m(oe))return!1;var X=o(Object.keys(G).concat(Object.keys(oe)));if(me.ignore.length&&(X=X.filter(ie=>me.ignore.indexOf(ie)===-1)),!X.length)return!0;function se(ie,ve){return ue(ie,ve,me)}return X.every(function(ie){var ve=G[ie],z=oe[ie];if(W.indexOf(ie)!==-1)return ue(ve,z,me);var q=B[ie];if(q||(q=r),r(ve,z))return!0;if(J.indexOf(ie)===-1&&(!R(G,ie)&&R(oe,ie)||R(G,ie)&&!R(oe,ie)))return ve===z;var P=q(ve,z,ie,se);if(!d(P))throw new Error("Comparer must return true or false");return P})}return gf=ue,gf}var _f,iy;function wd(){if(iy)return _f;iy=1;function r(i){return Object.prototype.toString.call(i)==="[object Array]"}return _f=Array.isArray||r,_f}var bf,ly;function V$(){if(ly)return bf;ly=1;function r(i){return(typeof i=="number"||Object.prototype.toString.call(i)==="[object Number]")&&i.valueOf()===i.valueOf()}return bf=r,bf}var Sf,uy;function B$(){if(uy)return Sf;uy=1;var r=V$();function i(o){return r(o)&&o%1===0}return Sf=i,Sf}var Ef,oy;function qg(){if(oy)return Ef;oy=1;var r=wd(),i=B$();function o(u){var f;if(!r(u)||(f=u.length,!f))return!1;for(var c=0;c<f;c++)if(!i(u[c]))return!1;return!0}return Ef=o,Ef}var $f,sy;function xg(){if(sy)return $f;sy=1;function r(i){return typeof i=="function"}return $f=r,$f}var Of,cy;function P$(){if(cy)return Of;cy=1;var r=wd(),i=qg(),o=xg(),u=Math.pow(2,31)-1;function f(d,h){var m=1,y;if(d===0)return h;if(h===0)return d;for(;d%2===0&&h%2===0;)d=d/2,h=h/2,m=m*2;for(;d%2===0;)d=d/2;for(;h;){for(;h%2===0;)h=h/2;d>h&&(y=h,h=d,d=y),h=h-d}return m*d}function c(d,h){var m=0,y;if(d===0)return h;if(h===0)return d;for(;(d&1)===0&&(h&1)===0;)d>>>=1,h>>>=1,m++;for(;(d&1)===0;)d>>>=1;for(;h;){for(;(h&1)===0;)h>>>=1;d>h&&(y=h,h=d,d=y),h=h-d}return d<<m}function p(){var d=arguments.length,h,m,y,R,E,T,w;for(h=new Array(d),w=0;w<d;w++)h[w]=arguments[w];if(i(h)){if(d===2)return E=h[0],T=h[1],E<0&&(E=-E),T<0&&(T=-T),E<=u&&T<=u?c(E,T):f(E,T);y=h}else if(r(h[0]))if(d>1){if(y=h[0],m=h[1],!o(m))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+m+"`.")}else y=h[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+h[0]+"`.");if(R=y.length,R<2)return null;if(m){for(E=new Array(R),w=0;w<R;w++)E[w]=m(y[w],w);y=E}if(d<3&&!i(y))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+y+"`.");for(w=0;w<R;w++)E=y[w],E<0&&(y[w]=-E);for(E=y[0],w=1;w<R;w++)T=y[w],T<=u&&E<=u?E=c(E,T):E=f(E,T);return E}return Of=p,Of}var wf,fy;function Y$(){if(fy)return wf;fy=1;var r=P$(),i=wd(),o=qg(),u=xg();function f(){var c=arguments.length,p,d,h,m,y,R,E;for(p=new Array(c),E=0;E<c;E++)p[E]=arguments[E];if(o(p)){if(c===2)return y=p[0],R=p[1],y<0&&(y=-y),R<0&&(R=-R),y===0||R===0?0:y/r(y,R)*R;h=p}else if(i(p[0]))if(c>1){if(h=p[0],d=p[1],!u(d))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+d+"`.")}else h=p[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+p[0]+"`.");if(m=h.length,m<2)return null;if(d){for(y=new Array(m),E=0;E<m;E++)y[E]=d(h[E],E);h=y}if(c<3&&!o(h))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+h+"`.");for(E=0;E<m;E++)y=h[E],y<0&&(h[E]=-y);for(y=h[0],E=1;E<m;E++){if(R=h[E],y===0||R===0)return 0;y=y/r(y,R)*R}return y}return wf=f,wf}var Rf,dy;function jg(){if(dy)return Rf;dy=1;const r=Q0(),i=Z0(),o=id(),u=ad(),f=rd(),c=vb();function p(O){for(const S in O)m(O,S)&&T(O[S])&&delete O[S];return O}const d=O=>u(i(O.map(y))),h=(O,S)=>O.map(v=>v&&v[S]),m=(O,S)=>Object.prototype.hasOwnProperty.call(O,S),y=O=>o(O)||Array.isArray(O)?Object.keys(O):[],R=O=>O!==void 0,E=O=>o(O)||O===!0||O===!1,T=O=>!y(O).length&&O!==!1&&O!==!0;return Rf={allUniqueKeys:d,deleteUndefinedProps:p,getValues:h,has:m,isEmptySchema:T,isSchema:E,keys:y,notUndefined:R,uniqWith:f,withoutArr:(O,...S)=>c.apply(null,[O].concat(r(S)))},Rf}var Tf,hy;function G$(){if(hy)return Tf;hy=1;const r=Od(),i=J0(),{allUniqueKeys:o,deleteUndefinedProps:u,getValues:f,keys:c,notUndefined:p,uniqWith:d,withoutArr:h}=jg();function m(R){i(R,function(E,T){E===!1&&delete R[T]})}function y(R,E){return o(R).reduce(function(w,O){const S=f(R,O),v=d(S.filter(p),r);return w[O]=E(v,O),w},{})}return Tf={keywords:["properties","patternProperties","additionalProperties"],resolver(R,E,T,w){w.ignoreAdditionalProperties||(R.forEach(function(S){const v=R.filter(_=>_!==S),g=c(S.properties),A=c(S.patternProperties).map(_=>new RegExp(_));v.forEach(function(_){const N=c(_.properties),C=N.filter(B=>A.some(J=>J.test(B)));h(N,g,C).forEach(function(B){_.properties[B]=T.properties([_.properties[B],S.additionalProperties],B)})})}),R.forEach(function(S){const v=R.filter(b=>b!==S),g=c(S.patternProperties);S.additionalProperties===!1&&v.forEach(function(b){const A=c(b.patternProperties);h(A,g).forEach(N=>delete b.patternProperties[N])})}));const O={additionalProperties:T.additionalProperties(R.map(S=>S.additionalProperties)),patternProperties:y(R.map(S=>S.patternProperties),T.patternProperties),properties:y(R.map(S=>S.properties),T.properties)};return O.additionalProperties===!1&&m(O.properties),u(O)}},Tf}var Af,my;function K$(){if(my)return Af;my=1;const r=Od(),i=J0(),{allUniqueKeys:o,deleteUndefinedProps:u,has:f,isSchema:c,notUndefined:p,uniqWith:d}=jg();function h(E){i(E,function(T,w){T===!1&&E.splice(w,1)})}function m(E,T){return E.map(function(w){if(w)if(Array.isArray(w.items)){const O=w.items[T];if(c(O))return O;if(f(w,"additionalItems"))return w.additionalItems}else return w.items})}function y(E){return E.map(function(T){if(T)return Array.isArray(T.items)?T.additionalItems:T.items})}function R(E,T,w){return o(w).reduce(function(S,v){const g=m(E,v),b=d(g.filter(p),r);return S[v]=T(b,v),S},[])}return Af={keywords:["items","additionalItems"],resolver(E,T,w){const O=E.map(b=>b.items),S=O.filter(p),v={};S.every(c)?v.items=w.items(O):v.items=R(E,w.items,O);let g;return S.every(Array.isArray)?g=E.map(b=>b.additionalItems):S.some(Array.isArray)&&(g=y(E)),g&&(v.additionalItems=w.additionalItems(g)),v.additionalItems===!1&&Array.isArray(v.items)&&h(v.items),u(v)}},Af}var Nf,py;function X$(){if(py)return Nf;py=1;const r=yb(),i=Od(),o=Y$(),u=gb(),f=Q0(),c=Z0(),p=_b(),d=X0(),h=G0(),m=id(),y=bb(),R=K0(),E=ad(),T=rd(),w=G$(),O=K$(),S=(ae,de)=>ae.indexOf(de)!==-1,v=ae=>m(ae)||ae===!0||ae===!1,g=ae=>ae===!1,b=ae=>ae===!0,A=(ae,de,H)=>H(ae),_=ae=>R(E(c(ae))),N=ae=>ae!==void 0,C=ae=>E(c(ae.map(ie))),V=ae=>ae[0],B=ae=>_(ae),J=ae=>Math.max.apply(Math,ae),W=ae=>Math.min.apply(Math,ae),ue=ae=>ae.some(b),G=ae=>T(f(ae),h);function oe(ae){return function(de,H){return i({[ae]:de},{[ae]:H})}}function me(ae){let{allOf:de=[],...H}=ae;return H=m(ae)?H:ae,[H,...de.map(me)]}function X(ae,de){return ae.map(H=>H&&H[de])}function se(ae,de){return ae.map(function(H,Y){try{return de(H,Y)}catch{return}}).filter(N)}function ie(ae){return m(ae)||Array.isArray(ae)?Object.keys(ae):[]}function ve(ae,de){if(de=de||[],!ae.length)return de;const H=ae.slice(0).shift(),Y=ae.slice(1);return de.length?ve(Y,f(de.map(ee=>H.map(ce=>[ce].concat(ee))))):ve(Y,H.map(ee=>ee))}function z(ae,de){let H;try{H=ae.map(function(Y){return JSON.stringify(Y,null,2)}).join(`
76
+ `)}catch{H=ae.join(", ")}throw new Error('Could not resolve values for path:"'+de.join(".")+`". They are probably incompatible. Values:
77
+ `+H)}function q(ae,de,H,Y,ee,ce){if(ae.length){const pe=ee.complexResolvers[de];if(!pe||!pe.resolver)throw new Error("No resolver found for "+de);const ye=H.map(ze=>ae.reduce((Ce,we)=>(ze[we]!==void 0&&(Ce[we]=ze[we]),Ce),{})),$e=T(ye,i),Qe=pe.keywords.reduce((ze,Ce)=>({...ze,[Ce]:(we,Ze=[])=>Y(we,null,ce.concat(Ce,Ze))}),{}),xe=pe.resolver($e,ce.concat(de),Qe,ee);return m(xe)||z($e,ce.concat(de)),xe}}function P(ae){return{required:ae}}const j=["properties","patternProperties","definitions","dependencies"],M=["anyOf","oneOf"],x=["additionalProperties","additionalItems","contains","propertyNames","not","items"],L={type(ae){if(ae.some(Array.isArray)){const de=ae.map(function(Y){return Array.isArray(Y)?Y:[Y]}),H=p.apply(null,de);if(H.length===1)return H[0];if(H.length>1)return E(H)}},dependencies(ae,de,H){return C(ae).reduce(function(ee,ce){const pe=X(ae,ce);let ye=T(pe.filter(N),h);const $e=ye.filter(Array.isArray);if($e.length){if($e.length===ye.length)ee[ce]=_(ye);else{const Qe=ye.filter(v),xe=$e.map(P);ee[ce]=H(Qe.concat(xe),ce)}return ee}return ye=T(ye,i),ee[ce]=H(ye,ce),ee},{})},oneOf(ae,de,H){const Y=ve(r(ae)),ee=se(Y,H),ce=T(ee,i);if(ce.length)return ce},not(ae){return{anyOf:ae}},pattern(ae){return ae.map(de=>"(?="+de+")").join("")},multipleOf(ae){let de=ae.slice(0),H=1;for(;de.some(Y=>!Number.isInteger(Y));)de=de.map(Y=>Y*10),H=H*10;return o(de)/H},enum(ae){const de=d.apply(null,ae.concat(h));if(de.length)return R(de)}};L.$id=V,L.$ref=V,L.$schema=V,L.additionalItems=A,L.additionalProperties=A,L.anyOf=L.oneOf,L.contains=A,L.default=V,L.definitions=L.dependencies,L.description=V,L.examples=G,L.exclusiveMaximum=W,L.exclusiveMinimum=J,L.items=O,L.maximum=W,L.maxItems=W,L.maxLength=W,L.maxProperties=W,L.minimum=J,L.minItems=J,L.minLength=J,L.minProperties=J,L.properties=w,L.propertyNames=A,L.required=B,L.title=V,L.uniqueItems=ue;const he={properties:w,items:O};function fe(ae,de,H){de=u(de,{ignoreAdditionalProperties:!1,resolvers:L,complexResolvers:he,deep:!0});const Y=Object.entries(de.complexResolvers);function ee(ye,$e,Qe){ye=r(ye.filter(N)),Qe=Qe||[];const xe=m($e)?$e:{};if(!ye.length)return;if(ye.some(g))return!1;if(ye.every(b))return!0;ye=ye.filter(m);const ze=C(ye);if(de.deep&&S(ze,"allOf"))return fe({allOf:ye},de);const Ce=Y.map(([we,Ze])=>ze.filter(ot=>Ze.keywords.includes(ot)));return Ce.forEach(we=>y(ze,we)),ze.forEach(function(we){const Ze=X(ye,we),ot=T(Ze.filter(N),oe(we));if(ot.length===1&&S(M,we))xe[we]=ot[0].map(_t=>ee([_t],_t));else if(ot.length===1&&!S(j,we)&&!S(x,we))xe[we]=ot[0];else{const _t=de.resolvers[we]||de.resolvers.defaultResolver;if(!_t)throw new Error("No resolver found for key "+we+". You can provide a resolver for this keyword in the options, or provide a default resolver.");const bt=(et,St=[])=>ee(et,null,Qe.concat(we,St));xe[we]=_t(ot,Qe.concat(we),bt,de),xe[we]===void 0?z(ot,Qe.concat(we)):xe[we]===void 0&&delete xe[we]}}),Y.reduce((we,[Ze,ot],_t)=>({...we,...q(Ce[_t],Ze,ye,ee,de,Qe)}),xe)}const ce=c(me(ae));return ee(ce)}return fe.options={resolvers:L},Nf=fe,Nf}var Q$=X$();const qw=Ia(Q$);function Xa(){return Xa=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(r[u]=o[u])}return r},Xa.apply(this,arguments)}const Z$=["children","options"],vy=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((r,i)=>(r[i.toLowerCase()]=i,r),{class:"className",for:"htmlFor"}),yy={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},J$=["style","script","pre"],F$=["src","href","data","formAction","srcDoc","action"],I$=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,W$=/mailto:/i,eO=/\n{2,}$/,gy=/^(\s*>[\s\S]*?)(?=\n\n|$)/,tO=/^ *> ?/gm,nO=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,aO=/^ {2,}\n/,rO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,_y=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,by=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,iO=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,lO=/^(?:\n *)*\n/,uO=/\r\n?/g,oO=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,sO=/^\[\^([^\]]+)]/,cO=/\f/g,fO=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,dO=/^\s*?\[(x|\s)\]/,Sy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Ey=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$y=/^([^\n]+)\n *(=|-){3,} *\n/,Mf=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,hO=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Oy=/^<!--[\s\S]*?(?:-->)/,mO=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Df=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,pO=/^\{.*\}$/,vO=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,yO=/^<([^ >]+@[^ >]+)>/,gO=/^<([^ >]+:\/[^ >]+)>/,_O=/-([a-z])?/gi,wy=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,bO=/^[^\n]+(?: \n|\n{2,})/,SO=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,EO=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,$O=/^\[([^\]]*)\] ?\[([^\]]*)\]/,OO=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,wO=/\t/g,RO=/(^ *\||\| *$)/g,TO=/^ *:-+: *$/,AO=/^ *:-+ *$/,NO=/^ *-+: *$/,Ho=r=>`(?=[\\s\\S]+?\\1${r?"\\1":""})`,Lo="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",MO=RegExp(`^([*_])\\1${Ho(1)}${Lo}\\1\\1(?!\\1)`),DO=RegExp(`^([*_])${Ho(0)}${Lo}\\1(?!\\1)`),CO=RegExp(`^(==)${Ho(0)}${Lo}\\1`),zO=RegExp(`^(~~)${Ho(0)}${Lo}\\1`),qO=/^(:[a-zA-Z0-9-_]+:)/,xO=/^\\([^0-9A-Za-z\s])/,jO=/\\([^0-9A-Za-z\s])/g,UO=/^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/,HO=/^\n+/,LO=/^([ \t]*)/,kO=/(?:^|\n)( *)$/,Rd="(?:\\d+\\.)",Td="(?:[*+-])";function Ug(r){return"( *)("+(r===1?Rd:Td)+") +"}const Hg=Ug(1),Lg=Ug(2);function kg(r){return RegExp("^"+(r===1?Hg:Lg))}const VO=kg(1),BO=kg(2);function Vg(r){return RegExp("^"+(r===1?Hg:Lg)+"[^\\n]*(?:\\n(?!\\1"+(r===1?Rd:Td)+" )[^\\n]*)*(\\n|$)","gm")}const PO=Vg(1),YO=Vg(2);function Bg(r){const i=r===1?Rd:Td;return RegExp("^( *)("+i+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+i+" (?!"+i+" ))\\n*|\\s*\\n*$)")}const Pg=Bg(1),Yg=Bg(2);function Ry(r,i){const o=i===1,u=o?Pg:Yg,f=o?PO:YO,c=o?VO:BO;return{t:p=>c.test(p),o:Xr(function(p,d){const h=kO.exec(d.prevCapture);return h&&(d.list||!d.inline&&!d.simple)?u.exec(p=h[1]+p):null}),i:1,u(p,d,h){const m=o?+p[2]:void 0,y=p[0].replace(eO,`
78
+ `).match(f);let R=!1;return{items:y.map(function(E,T){const w=c.exec(E)[0].length,O=RegExp("^ {1,"+w+"}","gm"),S=E.replace(O,"").replace(c,""),v=T===y.length-1,g=S.indexOf(`
79
+
80
+ `)!==-1||v&&R;R=g;const b=h.inline,A=h.list;let _;h.list=!0,g?(h.inline=!1,_=ll(S)+`
81
+
82
+ `):(h.inline=!0,_=ll(S));const N=d(_,h);return h.inline=b,h.list=A,N}),ordered:o,start:m}},l:(p,d,h)=>r(p.ordered?"ol":"ul",{key:h.key,start:p.type==="20"?p.start:void 0},p.items.map(function(m,y){return r("li",{key:y},d(m,h))}))}}const GO=RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),KO=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function ll(r){let i=r.length;for(;i>0&&r[i-1]<=" ";)i--;return r.slice(0,i)}function wo(r,i){return r.startsWith(i)}function XO(r,i,o){if(Array.isArray(o)){for(let u=0;u<o.length;u++)if(wo(r,o[u]))return!0;return!1}return o(r,i)}function Wi(r){return r.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function QO(r){return NO.test(r)?"right":TO.test(r)?"center":AO.test(r)?"left":null}function Ty(r,i,o,u){const f=o.inTable;o.inTable=!0;let c=[[]],p="";function d(){if(!p)return;const h=c[c.length-1];h.push.apply(h,i(p,o)),p=""}return r.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((h,m,y)=>{h.trim()==="|"&&(d(),u)?m!==0&&m!==y.length-1&&c.push([]):p+=h}),d(),o.inTable=f,c}function ZO(r,i,o){o.inline=!0;const u=r[2]?r[2].replace(RO,"").split("|").map(QO):[],f=r[3]?(function(p,d,h){return p.trim().split(`
83
+ `).map(function(m){return Ty(m,d,h,!0)})})(r[3],i,o):[],c=Ty(r[1],i,o,!!f.length);return o.inline=!1,f.length?{align:u,cells:f,header:c,type:"25"}:{children:c,type:"21"}}function Ay(r,i){return r.align[i]==null?{}:{textAlign:r.align[i]}}function Xr(r){return r.inline=1,r}function pa(r){return Xr(function(i,o){return o.inline?r.exec(i):null})}function va(r){return Xr(function(i,o){return o.inline||o.simple?r.exec(i):null})}function Ln(r){return function(i,o){return o.inline||o.simple?null:r.exec(i)}}function Cu(r){return Xr(function(i){return r.exec(i)})}const JO=/(javascript|vbscript|data(?!:image)):/i;function FO(r){try{const i=decodeURIComponent(r).replace(/[^A-Za-z0-9/:]/g,"");if(JO.test(i))return null}catch{return null}return r}function yn(r){return r&&r.replace(jO,"$1")}function Ro(r,i,o){const u=o.inline||!1,f=o.simple||!1;o.inline=!0,o.simple=!0;const c=r(i,o);return o.inline=u,o.simple=f,c}function IO(r,i,o){const u=o.inline||!1,f=o.simple||!1;o.inline=!1,o.simple=!0;const c=r(i,o);return o.inline=u,o.simple=f,c}function WO(r,i,o){const u=o.inline||!1;o.inline=!1;const f=r(i,o);return o.inline=u,f}const Cf=(r,i,o)=>({children:Ro(i,r[2],o)});function zf(){return{}}function qf(){return null}function e2(...r){return r.filter(Boolean).join(" ")}function xf(r,i,o){let u=r;const f=i.split(".");for(;f.length&&(u=u[f[0]],u!==void 0);)f.shift();return u||o}function t2(r="",i={}){i.overrides=i.overrides||{},i.namedCodesToUnicode=i.namedCodesToUnicode?Xa({},yy,i.namedCodesToUnicode):yy;const o=i.slugify||Wi,u=i.sanitizer||FO,f=i.createElement||te.createElement,c=[gy,_y,by,i.enforceAtxHeadings?Ey:Sy,$y,wy,Pg,Yg],p=[...c,bO,Mf,Oy,Df];function d(v,g,...b){const A=xf(i.overrides,v+".props",{});return f((function(_,N){const C=xf(N,_);return C?typeof C=="function"||typeof C=="object"&&"render"in C?C:xf(N,_+".component",_):_})(v,i.overrides),Xa({},g,A,{className:e2(g?.className,A.className)||void 0}),...b)}function h(v){v=v.replace(fO,"");let g=!1;i.forceInline?g=!0:i.forceBlock||(g=OO.test(v)===!1);const b=w(T(g?v:ll(v).replace(HO,"")+`
84
+
85
+ `,{inline:g}));for(;typeof b[b.length-1]=="string"&&!b[b.length-1].trim();)b.pop();if(i.wrapper===null)return b;const A=i.wrapper||(g?"span":"div");let _;if(b.length>1||i.forceWrapper)_=b;else{if(b.length===1)return _=b[0],typeof _=="string"?d("span",{key:"outer"},_):_;_=null}return f(A,{key:"outer"},_)}function m(v,g){if(!g||!g.trim())return null;const b=g.match(I$);return b?b.reduce(function(A,_){const N=_.indexOf("=");if(N!==-1){const C=(function(W){return W.indexOf("-")!==-1&&W.match(mO)===null&&(W=W.replace(_O,function(ue,G){return G.toUpperCase()})),W})(_.slice(0,N)).trim(),V=(function(W){const ue=W[0];return(ue==='"'||ue==="'")&&W.length>=2&&W[W.length-1]===ue?W.slice(1,-1):W})(_.slice(N+1).trim()),B=vy[C]||C;if(B==="ref")return A;const J=A[B]=(function(W,ue,G,oe){return ue==="style"?(function(me){const X=[];let se="",ie=!1,ve=!1,z="";if(!me)return X;for(let P=0;P<me.length;P++){const j=me[P];if(j!=='"'&&j!=="'"||ie||(ve?j===z&&(ve=!1,z=""):(ve=!0,z=j)),j==="("&&se.endsWith("url")?ie=!0:j===")"&&ie&&(ie=!1),j!==";"||ve||ie)se+=j;else{const M=se.trim();if(M){const x=M.indexOf(":");if(x>0){const L=M.slice(0,x).trim(),he=M.slice(x+1).trim();X.push([L,he])}}se=""}}const q=se.trim();if(q){const P=q.indexOf(":");if(P>0){const j=q.slice(0,P).trim(),M=q.slice(P+1).trim();X.push([j,M])}}return X})(G).reduce(function(me,[X,se]){return me[X.replace(/(-[a-z])/g,ie=>ie[1].toUpperCase())]=oe(se,W,X),me},{}):F$.indexOf(ue)!==-1?oe(yn(G),W,ue):(G.match(pO)&&(G=yn(G.slice(1,G.length-1))),G==="true"||G!=="false"&&G)})(v,C,V,u);typeof J=="string"&&(Mf.test(J)||Df.test(J))&&(A[B]=h(J.trim()))}else _!=="style"&&(A[vy[_]||_]=!0);return A},{}):null}const y=[],R={},E={0:{t:[">"],o:Ln(gy),i:1,u(v,g,b){const[,A,_]=v[0].replace(tO,"").match(nO);return{alert:A,children:g(_,b)}},l(v,g,b){const A={key:b.key};return v.alert&&(A.className="markdown-alert-"+o(v.alert.toLowerCase(),Wi),v.children.unshift({attrs:{},children:[{type:"27",text:v.alert}],noInnerParse:!0,type:"11",tag:"header"})),d("blockquote",A,g(v.children,b))}},1:{o:Cu(aO),i:1,u:zf,l:(v,g,b)=>d("br",{key:b.key})},2:{t:v=>{const g=v[0];return g==="-"||g==="*"||g==="_"},o:Ln(rO),i:1,u:zf,l:(v,g,b)=>d("hr",{key:b.key})},3:{t:[" "],o:Ln(by),i:0,u:v=>({lang:void 0,text:yn(ll(v[0].replace(/^ {4}/gm,"")))}),l:(v,g,b)=>d("pre",{key:b.key},d("code",Xa({},v.attrs,{className:v.lang?"lang-"+v.lang:""}),v.text))},4:{t:["```","~~~"],o:Ln(_y),i:0,u:v=>({attrs:m("code",v[3]||""),lang:v[2]||void 0,text:v[4],type:"3"})},5:{t:["`"],o:va(iO),i:3,u:v=>({text:yn(v[2])}),l:(v,g,b)=>d("code",{key:b.key},v.text)},6:{t:["[^"],o:Ln(oO),i:0,u:v=>(y.push({footnote:v[2],identifier:v[1]}),{}),l:qf},7:{t:["[^"],o:pa(sO),i:1,u:v=>({target:"#"+o(v[1],Wi),text:v[1]}),l:(v,g,b)=>d("a",{key:b.key,href:u(v.target,"a","href")},d("sup",{key:b.key},v.text))},8:{t:["[ ]","[x]"],o:pa(dO),i:1,u:v=>({completed:v[1].toLowerCase()==="x"}),l:(v,g,b)=>d("input",{checked:v.completed,key:b.key,readOnly:!0,type:"checkbox"})},9:{t:["#"],o:Ln(i.enforceAtxHeadings?Ey:Sy),i:1,u:(v,g,b)=>({children:Ro(g,v[2],b),id:o(v[2],Wi),level:v[1].length}),l:(v,g,b)=>d("h"+v.level,{id:v.id,key:b.key},g(v.children,b))},10:{o:Ln($y),i:0,u:(v,g,b)=>({children:Ro(g,v[1],b),level:v[2]==="="?1:2,type:"9"})},11:{t:["<"],o:Cu(Mf),i:1,u(v,g,b){const[,A]=v[3].match(LO),_=RegExp("^"+A,"gm"),N=v[3].replace(_,""),C=(V=N,p.some(G=>G.test(V))?WO:Ro);var V;const B=v[1].toLowerCase(),J=J$.indexOf(B)!==-1,W=(J?B:v[1]).trim(),ue={attrs:m(W,v[2]),noInnerParse:J,tag:W};if(b.inAnchor=b.inAnchor||B==="a",J)ue.text=v[3];else{const G=b.inHTML;b.inHTML=!0,ue.children=C(g,N,b),b.inHTML=G}return b.inAnchor=!1,ue},l:(v,g,b)=>d(v.tag,Xa({key:b.key},v.attrs),v.text||(v.children?g(v.children,b):""))},13:{t:["<"],o:Cu(Df),i:1,u(v){const g=v[1].trim();return{attrs:m(g,v[2]||""),tag:g}},l:(v,g,b)=>d(v.tag,Xa({},v.attrs,{key:b.key}))},12:{t:["<!--"],o:Cu(Oy),i:1,u:()=>({}),l:qf},14:{t:["!["],o:va(KO),i:1,u:v=>({alt:yn(v[1]),target:yn(v[2]),title:yn(v[3])}),l:(v,g,b)=>d("img",{key:b.key,alt:v.alt||void 0,title:v.title||void 0,src:u(v.target,"img","src")})},15:{t:["["],o:pa(GO),i:3,u:(v,g,b)=>({children:IO(g,v[1],b),target:yn(v[2]),title:yn(v[3])}),l:(v,g,b)=>d("a",{key:b.key,href:u(v.target,"a","href"),title:v.title},g(v.children,b))},16:{t:["<"],o:pa(gO),i:0,u:v=>({children:[{text:v[1],type:"27"}],target:v[1],type:"15"})},17:{t:(v,g)=>!g.inAnchor&&!i.disableAutoLink&&(wo(v,"http://")||wo(v,"https://")),o:pa(vO),i:0,u:v=>({children:[{text:v[1],type:"27"}],target:v[1],title:void 0,type:"15"})},18:{t:["<"],o:pa(yO),i:0,u(v){let g=v[1],b=v[1];return W$.test(b)||(b="mailto:"+b),{children:[{text:g.replace("mailto:",""),type:"27"}],target:b,type:"15"}}},20:Ry(d,1),33:Ry(d,2),19:{o:Ln(lO),i:3,u:zf,l:()=>`
86
+ `},21:{o:Xr(function(v,g){if(g.inline||g.simple||g.inHTML&&v.indexOf(`
87
+
88
+ `)===-1&&g.prevCapture.indexOf(`
89
+
90
+ `)===-1)return null;let b="";v.split(`
91
+ `).every(_=>(_+=`
92
+ `,!c.some(N=>N.test(_))&&(b+=_,!!_.trim())));const A=ll(b);return A===""?null:[b,,A]}),i:3,u:Cf,l:(v,g,b)=>d("p",{key:b.key},g(v.children,b))},22:{t:["["],o:pa(SO),i:0,u:v=>(R[v[1]]={target:v[2],title:v[4]},{}),l:qf},23:{t:["!["],o:va(EO),i:0,u:v=>({alt:v[1]?yn(v[1]):void 0,ref:v[2]}),l:(v,g,b)=>R[v.ref]?d("img",{key:b.key,alt:v.alt,src:u(R[v.ref].target,"img","src"),title:R[v.ref].title}):null},24:{t:v=>v[0]==="["&&v.indexOf("](")===-1,o:pa($O),i:0,u:(v,g,b)=>({children:g(v[1],b),fallbackChildren:v[0],ref:v[2]}),l:(v,g,b)=>R[v.ref]?d("a",{key:b.key,href:u(R[v.ref].target,"a","href"),title:R[v.ref].title},g(v.children,b)):d("span",{key:b.key},v.fallbackChildren)},25:{t:["|"],o:Ln(wy),i:1,u:ZO,l(v,g,b){const A=v;return d("table",{key:b.key},d("thead",null,d("tr",null,A.header.map(function(_,N){return d("th",{key:N,style:Ay(A,N)},g(_,b))}))),d("tbody",null,A.cells.map(function(_,N){return d("tr",{key:N},_.map(function(C,V){return d("td",{key:V,style:Ay(A,V)},g(C,b))}))})))}},27:{o:Xr(function(v,g){let b;return wo(v,":")&&(b=qO.exec(v)),b||UO.exec(v)}),i:4,u(v){const g=v[0];return{text:g.indexOf("&")===-1?g:g.replace(hO,(b,A)=>i.namedCodesToUnicode[A]||b)}},l:v=>v.text},28:{t:["**","__"],o:va(MO),i:2,u:(v,g,b)=>({children:g(v[2],b)}),l:(v,g,b)=>d("strong",{key:b.key},g(v.children,b))},29:{t:v=>{const g=v[0];return(g==="*"||g==="_")&&v[1]!==g},o:va(DO),i:3,u:(v,g,b)=>({children:g(v[2],b)}),l:(v,g,b)=>d("em",{key:b.key},g(v.children,b))},30:{t:["\\"],o:va(xO),i:1,u:v=>({text:v[1],type:"27"})},31:{t:["=="],o:va(CO),i:3,u:Cf,l:(v,g,b)=>d("mark",{key:b.key},g(v.children,b))},32:{t:["~~"],o:va(zO),i:3,u:Cf,l:(v,g,b)=>d("del",{key:b.key},g(v.children,b))}};i.disableParsingRawHTML===!0&&(delete E[11],delete E[13]);const T=(function(v){var g=Object.keys(v);function b(A,_){var N=[];if(_.prevCapture=_.prevCapture||"",A.trim())for(;A;)for(var C=0;C<g.length;){var V=g[C],B=v[V];if(!B.t||XO(A,_,B.t)){var J=B.o(A,_);if(J&&J[0]){A=A.substring(J[0].length);var W=B.u(J,b,_);_.prevCapture+=J[0],W.type||(W.type=V),N.push(W);break}C++}else C++}return _.prevCapture="",N}return g.sort(function(A,_){return v[A].i-v[_].i||(A<_?-1:1)}),function(A,_){return b((function(N){return N.replace(uO,`
93
+ `).replace(cO,"").replace(wO," ")})(A),_)}})(E),w=(O=(function(v,g){return function(b,A,_){const N=v[b.type].l;return g?g(()=>N(b,A,_),b,A,_):N(b,A,_)}})(E,i.renderRule),function v(g,b={}){if(Array.isArray(g)){const A=b.key,_=[];let N=!1;for(let C=0;C<g.length;C++){b.key=C;const V=v(g[C],b),B=typeof V=="string";B&&N?_[_.length-1]+=V:V!==null&&_.push(V),N=B}return b.key=A,_}return O(g,v,b)});var O;const S=h(r);return y.length?d("div",null,S,d("footer",{key:"footer"},y.map(function(v){return d("div",{id:o(v.identifier,Wi),key:v.identifier},v.identifier,w(T(v.footnote,{inline:!0})))}))):S}const xw=r=>{let{children:i="",options:o}=r,u=(function(f,c){if(f==null)return{};var p,d,h={},m=Object.keys(f);for(d=0;d<m.length;d++)c.indexOf(p=m[d])>=0||(h[p]=f[p]);return h})(r,Z$);return te.cloneElement(t2(i,o),u)};var zu={exports:{}},jf={},kn={},Va={},Uf={},Hf={},Lf={},Ny;function Mo(){return Ny||(Ny=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.regexpCode=r.getEsmExportName=r.getProperty=r.safeStringify=r.stringify=r.strConcat=r.addCodeArg=r.str=r._=r.nil=r._Code=r.Name=r.IDENTIFIER=r._CodeOrName=void 0;class i{}r._CodeOrName=i,r.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends i{constructor(g){if(super(),!r.IDENTIFIER.test(g))throw new Error("CodeGen: name must be a valid identifier");this.str=g}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}r.Name=o;class u extends i{constructor(g){super(),this._items=typeof g=="string"?[g]:g}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((b,A)=>`${b}${A}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((b,A)=>(A instanceof o&&(b[A.str]=(b[A.str]||0)+1),b),{})}}r._Code=u,r.nil=new u("");function f(v,...g){const b=[v[0]];let A=0;for(;A<g.length;)d(b,g[A]),b.push(v[++A]);return new u(b)}r._=f;const c=new u("+");function p(v,...g){const b=[T(v[0])];let A=0;for(;A<g.length;)b.push(c),d(b,g[A]),b.push(c,T(v[++A]));return h(b),new u(b)}r.str=p;function d(v,g){g instanceof u?v.push(...g._items):g instanceof o?v.push(g):v.push(R(g))}r.addCodeArg=d;function h(v){let g=1;for(;g<v.length-1;){if(v[g]===c){const b=m(v[g-1],v[g+1]);if(b!==void 0){v.splice(g-1,3,b);continue}v[g++]="+"}g++}}function m(v,g){if(g==='""')return v;if(v==='""')return g;if(typeof v=="string")return g instanceof o||v[v.length-1]!=='"'?void 0:typeof g!="string"?`${v.slice(0,-1)}${g}"`:g[0]==='"'?v.slice(0,-1)+g.slice(1):void 0;if(typeof g=="string"&&g[0]==='"'&&!(v instanceof o))return`"${v}${g.slice(1)}`}function y(v,g){return g.emptyStr()?v:v.emptyStr()?g:p`${v}${g}`}r.strConcat=y;function R(v){return typeof v=="number"||typeof v=="boolean"||v===null?v:T(Array.isArray(v)?v.join(","):v)}function E(v){return new u(T(v))}r.stringify=E;function T(v){return JSON.stringify(v).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}r.safeStringify=T;function w(v){return typeof v=="string"&&r.IDENTIFIER.test(v)?new u(`.${v}`):f`[${v}]`}r.getProperty=w;function O(v){if(typeof v=="string"&&r.IDENTIFIER.test(v))return new u(`${v}`);throw new Error(`CodeGen: invalid export name: ${v}, use explicit $id name mapping`)}r.getEsmExportName=O;function S(v){return new u(v.toString())}r.regexpCode=S})(Lf)),Lf}var kf={},My;function Dy(){return My||(My=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.ValueScope=r.ValueScopeName=r.Scope=r.varKinds=r.UsedValueState=void 0;const i=Mo();class o extends Error{constructor(m){super(`CodeGen: "code" for ${m} not defined`),this.value=m.value}}var u;(function(h){h[h.Started=0]="Started",h[h.Completed=1]="Completed"})(u||(r.UsedValueState=u={})),r.varKinds={const:new i.Name("const"),let:new i.Name("let"),var:new i.Name("var")};class f{constructor({prefixes:m,parent:y}={}){this._names={},this._prefixes=m,this._parent=y}toName(m){return m instanceof i.Name?m:this.name(m)}name(m){return new i.Name(this._newName(m))}_newName(m){const y=this._names[m]||this._nameGroup(m);return`${m}${y.index++}`}_nameGroup(m){var y,R;if(!((R=(y=this._parent)===null||y===void 0?void 0:y._prefixes)===null||R===void 0)&&R.has(m)||this._prefixes&&!this._prefixes.has(m))throw new Error(`CodeGen: prefix "${m}" is not allowed in this scope`);return this._names[m]={prefix:m,index:0}}}r.Scope=f;class c extends i.Name{constructor(m,y){super(y),this.prefix=m}setValue(m,{property:y,itemIndex:R}){this.value=m,this.scopePath=(0,i._)`.${new i.Name(y)}[${R}]`}}r.ValueScopeName=c;const p=(0,i._)`\n`;class d extends f{constructor(m){super(m),this._values={},this._scope=m.scope,this.opts={...m,_n:m.lines?p:i.nil}}get(){return this._scope}name(m){return new c(m,this._newName(m))}value(m,y){var R;if(y.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const E=this.toName(m),{prefix:T}=E,w=(R=y.key)!==null&&R!==void 0?R:y.ref;let O=this._values[T];if(O){const g=O.get(w);if(g)return g}else O=this._values[T]=new Map;O.set(w,E);const S=this._scope[T]||(this._scope[T]=[]),v=S.length;return S[v]=y.ref,E.setValue(y,{property:T,itemIndex:v}),E}getValue(m,y){const R=this._values[m];if(R)return R.get(y)}scopeRefs(m,y=this._values){return this._reduceValues(y,R=>{if(R.scopePath===void 0)throw new Error(`CodeGen: name "${R}" has no value`);return(0,i._)`${m}${R.scopePath}`})}scopeCode(m=this._values,y,R){return this._reduceValues(m,E=>{if(E.value===void 0)throw new Error(`CodeGen: name "${E}" has no value`);return E.value.code},y,R)}_reduceValues(m,y,R={},E){let T=i.nil;for(const w in m){const O=m[w];if(!O)continue;const S=R[w]=R[w]||new Map;O.forEach(v=>{if(S.has(v))return;S.set(v,u.Started);let g=y(v);if(g){const b=this.opts.es5?r.varKinds.var:r.varKinds.const;T=(0,i._)`${T}${b} ${v} = ${g};${this.opts._n}`}else if(g=E?.(v))T=(0,i._)`${T}${g}${this.opts._n}`;else throw new o(v);S.set(v,u.Completed)})}return T}}r.ValueScope=d})(kf)),kf}var Cy;function Ae(){return Cy||(Cy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.or=r.and=r.not=r.CodeGen=r.operators=r.varKinds=r.ValueScopeName=r.ValueScope=r.Scope=r.Name=r.regexpCode=r.stringify=r.getProperty=r.nil=r.strConcat=r.str=r._=void 0;const i=Mo(),o=Dy();var u=Mo();Object.defineProperty(r,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(r,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(r,"strConcat",{enumerable:!0,get:function(){return u.strConcat}}),Object.defineProperty(r,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(r,"getProperty",{enumerable:!0,get:function(){return u.getProperty}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(r,"regexpCode",{enumerable:!0,get:function(){return u.regexpCode}}),Object.defineProperty(r,"Name",{enumerable:!0,get:function(){return u.Name}});var f=Dy();Object.defineProperty(r,"Scope",{enumerable:!0,get:function(){return f.Scope}}),Object.defineProperty(r,"ValueScope",{enumerable:!0,get:function(){return f.ValueScope}}),Object.defineProperty(r,"ValueScopeName",{enumerable:!0,get:function(){return f.ValueScopeName}}),Object.defineProperty(r,"varKinds",{enumerable:!0,get:function(){return f.varKinds}}),r.operators={GT:new i._Code(">"),GTE:new i._Code(">="),LT:new i._Code("<"),LTE:new i._Code("<="),EQ:new i._Code("==="),NEQ:new i._Code("!=="),NOT:new i._Code("!"),OR:new i._Code("||"),AND:new i._Code("&&"),ADD:new i._Code("+")};class c{optimizeNodes(){return this}optimizeNames(M,x){return this}}class p extends c{constructor(M,x,L){super(),this.varKind=M,this.name=x,this.rhs=L}render({es5:M,_n:x}){const L=M?o.varKinds.var:this.varKind,he=this.rhs===void 0?"":` = ${this.rhs}`;return`${L} ${this.name}${he};`+x}optimizeNames(M,x){if(M[this.name.str])return this.rhs&&(this.rhs=oe(this.rhs,M,x)),this}get names(){return this.rhs instanceof i._CodeOrName?this.rhs.names:{}}}class d extends c{constructor(M,x,L){super(),this.lhs=M,this.rhs=x,this.sideEffects=L}render({_n:M}){return`${this.lhs} = ${this.rhs};`+M}optimizeNames(M,x){if(!(this.lhs instanceof i.Name&&!M[this.lhs.str]&&!this.sideEffects))return this.rhs=oe(this.rhs,M,x),this}get names(){const M=this.lhs instanceof i.Name?{}:{...this.lhs.names};return G(M,this.rhs)}}class h extends d{constructor(M,x,L,he){super(M,L,he),this.op=x}render({_n:M}){return`${this.lhs} ${this.op}= ${this.rhs};`+M}}class m extends c{constructor(M){super(),this.label=M,this.names={}}render({_n:M}){return`${this.label}:`+M}}class y extends c{constructor(M){super(),this.label=M,this.names={}}render({_n:M}){return`break${this.label?` ${this.label}`:""};`+M}}class R extends c{constructor(M){super(),this.error=M}render({_n:M}){return`throw ${this.error};`+M}get names(){return this.error.names}}class E extends c{constructor(M){super(),this.code=M}render({_n:M}){return`${this.code};`+M}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(M,x){return this.code=oe(this.code,M,x),this}get names(){return this.code instanceof i._CodeOrName?this.code.names:{}}}class T extends c{constructor(M=[]){super(),this.nodes=M}render(M){return this.nodes.reduce((x,L)=>x+L.render(M),"")}optimizeNodes(){const{nodes:M}=this;let x=M.length;for(;x--;){const L=M[x].optimizeNodes();Array.isArray(L)?M.splice(x,1,...L):L?M[x]=L:M.splice(x,1)}return M.length>0?this:void 0}optimizeNames(M,x){const{nodes:L}=this;let he=L.length;for(;he--;){const fe=L[he];fe.optimizeNames(M,x)||(me(M,fe.names),L.splice(he,1))}return L.length>0?this:void 0}get names(){return this.nodes.reduce((M,x)=>ue(M,x.names),{})}}class w extends T{render(M){return"{"+M._n+super.render(M)+"}"+M._n}}class O extends T{}class S extends w{}S.kind="else";class v extends w{constructor(M,x){super(x),this.condition=M}render(M){let x=`if(${this.condition})`+super.render(M);return this.else&&(x+="else "+this.else.render(M)),x}optimizeNodes(){super.optimizeNodes();const M=this.condition;if(M===!0)return this.nodes;let x=this.else;if(x){const L=x.optimizeNodes();x=this.else=Array.isArray(L)?new S(L):L}if(x)return M===!1?x instanceof v?x:x.nodes:this.nodes.length?this:new v(X(M),x instanceof v?[x]:x.nodes);if(!(M===!1||!this.nodes.length))return this}optimizeNames(M,x){var L;if(this.else=(L=this.else)===null||L===void 0?void 0:L.optimizeNames(M,x),!!(super.optimizeNames(M,x)||this.else))return this.condition=oe(this.condition,M,x),this}get names(){const M=super.names;return G(M,this.condition),this.else&&ue(M,this.else.names),M}}v.kind="if";class g extends w{}g.kind="for";class b extends g{constructor(M){super(),this.iteration=M}render(M){return`for(${this.iteration})`+super.render(M)}optimizeNames(M,x){if(super.optimizeNames(M,x))return this.iteration=oe(this.iteration,M,x),this}get names(){return ue(super.names,this.iteration.names)}}class A extends g{constructor(M,x,L,he){super(),this.varKind=M,this.name=x,this.from=L,this.to=he}render(M){const x=M.es5?o.varKinds.var:this.varKind,{name:L,from:he,to:fe}=this;return`for(${x} ${L}=${he}; ${L}<${fe}; ${L}++)`+super.render(M)}get names(){const M=G(super.names,this.from);return G(M,this.to)}}class _ extends g{constructor(M,x,L,he){super(),this.loop=M,this.varKind=x,this.name=L,this.iterable=he}render(M){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(M)}optimizeNames(M,x){if(super.optimizeNames(M,x))return this.iterable=oe(this.iterable,M,x),this}get names(){return ue(super.names,this.iterable.names)}}class N extends w{constructor(M,x,L){super(),this.name=M,this.args=x,this.async=L}render(M){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(M)}}N.kind="func";class C extends T{render(M){return"return "+super.render(M)}}C.kind="return";class V extends w{render(M){let x="try"+super.render(M);return this.catch&&(x+=this.catch.render(M)),this.finally&&(x+=this.finally.render(M)),x}optimizeNodes(){var M,x;return super.optimizeNodes(),(M=this.catch)===null||M===void 0||M.optimizeNodes(),(x=this.finally)===null||x===void 0||x.optimizeNodes(),this}optimizeNames(M,x){var L,he;return super.optimizeNames(M,x),(L=this.catch)===null||L===void 0||L.optimizeNames(M,x),(he=this.finally)===null||he===void 0||he.optimizeNames(M,x),this}get names(){const M=super.names;return this.catch&&ue(M,this.catch.names),this.finally&&ue(M,this.finally.names),M}}class B extends w{constructor(M){super(),this.error=M}render(M){return`catch(${this.error})`+super.render(M)}}B.kind="catch";class J extends w{render(M){return"finally"+super.render(M)}}J.kind="finally";class W{constructor(M,x={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...x,_n:x.lines?`
94
+ `:""},this._extScope=M,this._scope=new o.Scope({parent:M}),this._nodes=[new O]}toString(){return this._root.render(this.opts)}name(M){return this._scope.name(M)}scopeName(M){return this._extScope.name(M)}scopeValue(M,x){const L=this._extScope.value(M,x);return(this._values[L.prefix]||(this._values[L.prefix]=new Set)).add(L),L}getScopeValue(M,x){return this._extScope.getValue(M,x)}scopeRefs(M){return this._extScope.scopeRefs(M,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(M,x,L,he){const fe=this._scope.toName(x);return L!==void 0&&he&&(this._constants[fe.str]=L),this._leafNode(new p(M,fe,L)),fe}const(M,x,L){return this._def(o.varKinds.const,M,x,L)}let(M,x,L){return this._def(o.varKinds.let,M,x,L)}var(M,x,L){return this._def(o.varKinds.var,M,x,L)}assign(M,x,L){return this._leafNode(new d(M,x,L))}add(M,x){return this._leafNode(new h(M,r.operators.ADD,x))}code(M){return typeof M=="function"?M():M!==i.nil&&this._leafNode(new E(M)),this}object(...M){const x=["{"];for(const[L,he]of M)x.length>1&&x.push(","),x.push(L),(L!==he||this.opts.es5)&&(x.push(":"),(0,i.addCodeArg)(x,he));return x.push("}"),new i._Code(x)}if(M,x,L){if(this._blockNode(new v(M)),x&&L)this.code(x).else().code(L).endIf();else if(x)this.code(x).endIf();else if(L)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(M){return this._elseNode(new v(M))}else(){return this._elseNode(new S)}endIf(){return this._endBlockNode(v,S)}_for(M,x){return this._blockNode(M),x&&this.code(x).endFor(),this}for(M,x){return this._for(new b(M),x)}forRange(M,x,L,he,fe=this.opts.es5?o.varKinds.var:o.varKinds.let){const ae=this._scope.toName(M);return this._for(new A(fe,ae,x,L),()=>he(ae))}forOf(M,x,L,he=o.varKinds.const){const fe=this._scope.toName(M);if(this.opts.es5){const ae=x instanceof i.Name?x:this.var("_arr",x);return this.forRange("_i",0,(0,i._)`${ae}.length`,de=>{this.var(fe,(0,i._)`${ae}[${de}]`),L(fe)})}return this._for(new _("of",he,fe,x),()=>L(fe))}forIn(M,x,L,he=this.opts.es5?o.varKinds.var:o.varKinds.const){if(this.opts.ownProperties)return this.forOf(M,(0,i._)`Object.keys(${x})`,L);const fe=this._scope.toName(M);return this._for(new _("in",he,fe,x),()=>L(fe))}endFor(){return this._endBlockNode(g)}label(M){return this._leafNode(new m(M))}break(M){return this._leafNode(new y(M))}return(M){const x=new C;if(this._blockNode(x),this.code(M),x.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(C)}try(M,x,L){if(!x&&!L)throw new Error('CodeGen: "try" without "catch" and "finally"');const he=new V;if(this._blockNode(he),this.code(M),x){const fe=this.name("e");this._currNode=he.catch=new B(fe),x(fe)}return L&&(this._currNode=he.finally=new J,this.code(L)),this._endBlockNode(B,J)}throw(M){return this._leafNode(new R(M))}block(M,x){return this._blockStarts.push(this._nodes.length),M&&this.code(M).endBlock(x),this}endBlock(M){const x=this._blockStarts.pop();if(x===void 0)throw new Error("CodeGen: not in self-balancing block");const L=this._nodes.length-x;if(L<0||M!==void 0&&L!==M)throw new Error(`CodeGen: wrong number of nodes: ${L} vs ${M} expected`);return this._nodes.length=x,this}func(M,x=i.nil,L,he){return this._blockNode(new N(M,x,L)),he&&this.code(he).endFunc(),this}endFunc(){return this._endBlockNode(N)}optimize(M=1){for(;M-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(M){return this._currNode.nodes.push(M),this}_blockNode(M){this._currNode.nodes.push(M),this._nodes.push(M)}_endBlockNode(M,x){const L=this._currNode;if(L instanceof M||x&&L instanceof x)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${x?`${M.kind}/${x.kind}`:M.kind}"`)}_elseNode(M){const x=this._currNode;if(!(x instanceof v))throw new Error('CodeGen: "else" without "if"');return this._currNode=x.else=M,this}get _root(){return this._nodes[0]}get _currNode(){const M=this._nodes;return M[M.length-1]}set _currNode(M){const x=this._nodes;x[x.length-1]=M}}r.CodeGen=W;function ue(j,M){for(const x in M)j[x]=(j[x]||0)+(M[x]||0);return j}function G(j,M){return M instanceof i._CodeOrName?ue(j,M.names):j}function oe(j,M,x){if(j instanceof i.Name)return L(j);if(!he(j))return j;return new i._Code(j._items.reduce((fe,ae)=>(ae instanceof i.Name&&(ae=L(ae)),ae instanceof i._Code?fe.push(...ae._items):fe.push(ae),fe),[]));function L(fe){const ae=x[fe.str];return ae===void 0||M[fe.str]!==1?fe:(delete M[fe.str],ae)}function he(fe){return fe instanceof i._Code&&fe._items.some(ae=>ae instanceof i.Name&&M[ae.str]===1&&x[ae.str]!==void 0)}}function me(j,M){for(const x in M)j[x]=(j[x]||0)-(M[x]||0)}function X(j){return typeof j=="boolean"||typeof j=="number"||j===null?!j:(0,i._)`!${P(j)}`}r.not=X;const se=q(r.operators.AND);function ie(...j){return j.reduce(se)}r.and=ie;const ve=q(r.operators.OR);function z(...j){return j.reduce(ve)}r.or=z;function q(j){return(M,x)=>M===i.nil?x:x===i.nil?M:(0,i._)`${P(M)} ${j} ${P(x)}`}function P(j){return j instanceof i.Name?j:(0,i._)`(${j})`}})(Hf)),Hf}var Te={},zy;function Ue(){if(zy)return Te;zy=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.checkStrictMode=Te.getErrorPath=Te.Type=Te.useFunc=Te.setEvaluated=Te.evaluatedPropsToName=Te.mergeEvaluated=Te.eachItem=Te.unescapeJsonPointer=Te.escapeJsonPointer=Te.escapeFragment=Te.unescapeFragment=Te.schemaRefOrVal=Te.schemaHasRulesButRef=Te.schemaHasRules=Te.checkUnknownRules=Te.alwaysValidSchema=Te.toHash=void 0;const r=Ae(),i=Mo();function o(_){const N={};for(const C of _)N[C]=!0;return N}Te.toHash=o;function u(_,N){return typeof N=="boolean"?N:Object.keys(N).length===0?!0:(f(_,N),!c(N,_.self.RULES.all))}Te.alwaysValidSchema=u;function f(_,N=_.schema){const{opts:C,self:V}=_;if(!C.strictSchema||typeof N=="boolean")return;const B=V.RULES.keywords;for(const J in N)B[J]||A(_,`unknown keyword: "${J}"`)}Te.checkUnknownRules=f;function c(_,N){if(typeof _=="boolean")return!_;for(const C in _)if(N[C])return!0;return!1}Te.schemaHasRules=c;function p(_,N){if(typeof _=="boolean")return!_;for(const C in _)if(C!=="$ref"&&N.all[C])return!0;return!1}Te.schemaHasRulesButRef=p;function d({topSchemaRef:_,schemaPath:N},C,V,B){if(!B){if(typeof C=="number"||typeof C=="boolean")return C;if(typeof C=="string")return(0,r._)`${C}`}return(0,r._)`${_}${N}${(0,r.getProperty)(V)}`}Te.schemaRefOrVal=d;function h(_){return R(decodeURIComponent(_))}Te.unescapeFragment=h;function m(_){return encodeURIComponent(y(_))}Te.escapeFragment=m;function y(_){return typeof _=="number"?`${_}`:_.replace(/~/g,"~0").replace(/\//g,"~1")}Te.escapeJsonPointer=y;function R(_){return _.replace(/~1/g,"/").replace(/~0/g,"~")}Te.unescapeJsonPointer=R;function E(_,N){if(Array.isArray(_))for(const C of _)N(C);else N(_)}Te.eachItem=E;function T({mergeNames:_,mergeToName:N,mergeValues:C,resultToName:V}){return(B,J,W,ue)=>{const G=W===void 0?J:W instanceof r.Name?(J instanceof r.Name?_(B,J,W):N(B,J,W),W):J instanceof r.Name?(N(B,W,J),J):C(J,W);return ue===r.Name&&!(G instanceof r.Name)?V(B,G):G}}Te.mergeEvaluated={props:T({mergeNames:(_,N,C)=>_.if((0,r._)`${C} !== true && ${N} !== undefined`,()=>{_.if((0,r._)`${N} === true`,()=>_.assign(C,!0),()=>_.assign(C,(0,r._)`${C} || {}`).code((0,r._)`Object.assign(${C}, ${N})`))}),mergeToName:(_,N,C)=>_.if((0,r._)`${C} !== true`,()=>{N===!0?_.assign(C,!0):(_.assign(C,(0,r._)`${C} || {}`),O(_,C,N))}),mergeValues:(_,N)=>_===!0?!0:{..._,...N},resultToName:w}),items:T({mergeNames:(_,N,C)=>_.if((0,r._)`${C} !== true && ${N} !== undefined`,()=>_.assign(C,(0,r._)`${N} === true ? true : ${C} > ${N} ? ${C} : ${N}`)),mergeToName:(_,N,C)=>_.if((0,r._)`${C} !== true`,()=>_.assign(C,N===!0?!0:(0,r._)`${C} > ${N} ? ${C} : ${N}`)),mergeValues:(_,N)=>_===!0?!0:Math.max(_,N),resultToName:(_,N)=>_.var("items",N)})};function w(_,N){if(N===!0)return _.var("props",!0);const C=_.var("props",(0,r._)`{}`);return N!==void 0&&O(_,C,N),C}Te.evaluatedPropsToName=w;function O(_,N,C){Object.keys(C).forEach(V=>_.assign((0,r._)`${N}${(0,r.getProperty)(V)}`,!0))}Te.setEvaluated=O;const S={};function v(_,N){return _.scopeValue("func",{ref:N,code:S[N.code]||(S[N.code]=new i._Code(N.code))})}Te.useFunc=v;var g;(function(_){_[_.Num=0]="Num",_[_.Str=1]="Str"})(g||(Te.Type=g={}));function b(_,N,C){if(_ instanceof r.Name){const V=N===g.Num;return C?V?(0,r._)`"[" + ${_} + "]"`:(0,r._)`"['" + ${_} + "']"`:V?(0,r._)`"/" + ${_}`:(0,r._)`"/" + ${_}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return C?(0,r.getProperty)(_).toString():"/"+y(_)}Te.getErrorPath=b;function A(_,N,C=_.opts.strictSchema){if(C){if(N=`strict mode: ${N}`,C===!0)throw new Error(N);_.self.logger.warn(N)}}return Te.checkStrictMode=A,Te}var qu={},qy;function Ea(){if(qy)return qu;qy=1,Object.defineProperty(qu,"__esModule",{value:!0});const r=Ae(),i={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};return qu.default=i,qu}var xy;function ko(){return xy||(xy=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.extendErrors=r.resetErrorsCount=r.reportExtraError=r.reportError=r.keyword$DataError=r.keywordError=void 0;const i=Ae(),o=Ue(),u=Ea();r.keywordError={message:({keyword:S})=>(0,i.str)`must pass "${S}" keyword validation`},r.keyword$DataError={message:({keyword:S,schemaType:v})=>v?(0,i.str)`"${S}" keyword must be ${v} ($data)`:(0,i.str)`"${S}" keyword is invalid ($data)`};function f(S,v=r.keywordError,g,b){const{it:A}=S,{gen:_,compositeRule:N,allErrors:C}=A,V=R(S,v,g);b??(N||C)?h(_,V):m(A,(0,i._)`[${V}]`)}r.reportError=f;function c(S,v=r.keywordError,g){const{it:b}=S,{gen:A,compositeRule:_,allErrors:N}=b,C=R(S,v,g);h(A,C),_||N||m(b,u.default.vErrors)}r.reportExtraError=c;function p(S,v){S.assign(u.default.errors,v),S.if((0,i._)`${u.default.vErrors} !== null`,()=>S.if(v,()=>S.assign((0,i._)`${u.default.vErrors}.length`,v),()=>S.assign(u.default.vErrors,null)))}r.resetErrorsCount=p;function d({gen:S,keyword:v,schemaValue:g,data:b,errsCount:A,it:_}){if(A===void 0)throw new Error("ajv implementation error");const N=S.name("err");S.forRange("i",A,u.default.errors,C=>{S.const(N,(0,i._)`${u.default.vErrors}[${C}]`),S.if((0,i._)`${N}.instancePath === undefined`,()=>S.assign((0,i._)`${N}.instancePath`,(0,i.strConcat)(u.default.instancePath,_.errorPath))),S.assign((0,i._)`${N}.schemaPath`,(0,i.str)`${_.errSchemaPath}/${v}`),_.opts.verbose&&(S.assign((0,i._)`${N}.schema`,g),S.assign((0,i._)`${N}.data`,b))})}r.extendErrors=d;function h(S,v){const g=S.const("err",v);S.if((0,i._)`${u.default.vErrors} === null`,()=>S.assign(u.default.vErrors,(0,i._)`[${g}]`),(0,i._)`${u.default.vErrors}.push(${g})`),S.code((0,i._)`${u.default.errors}++`)}function m(S,v){const{gen:g,validateName:b,schemaEnv:A}=S;A.$async?g.throw((0,i._)`new ${S.ValidationError}(${v})`):(g.assign((0,i._)`${b}.errors`,v),g.return(!1))}const y={keyword:new i.Name("keyword"),schemaPath:new i.Name("schemaPath"),params:new i.Name("params"),propertyName:new i.Name("propertyName"),message:new i.Name("message"),schema:new i.Name("schema"),parentSchema:new i.Name("parentSchema")};function R(S,v,g){const{createErrors:b}=S.it;return b===!1?(0,i._)`{}`:E(S,v,g)}function E(S,v,g={}){const{gen:b,it:A}=S,_=[T(A,g),w(S,g)];return O(S,v,_),b.object(..._)}function T({errorPath:S},{instancePath:v}){const g=v?(0,i.str)`${S}${(0,o.getErrorPath)(v,o.Type.Str)}`:S;return[u.default.instancePath,(0,i.strConcat)(u.default.instancePath,g)]}function w({keyword:S,it:{errSchemaPath:v}},{schemaPath:g,parentSchema:b}){let A=b?v:(0,i.str)`${v}/${S}`;return g&&(A=(0,i.str)`${A}${(0,o.getErrorPath)(g,o.Type.Str)}`),[y.schemaPath,A]}function O(S,{params:v,message:g},b){const{keyword:A,data:_,schemaValue:N,it:C}=S,{opts:V,propertyName:B,topSchemaRef:J,schemaPath:W}=C;b.push([y.keyword,A],[y.params,typeof v=="function"?v(S):v||(0,i._)`{}`]),V.messages&&b.push([y.message,typeof g=="function"?g(S):g]),V.verbose&&b.push([y.schema,N],[y.parentSchema,(0,i._)`${J}${W}`],[u.default.data,_]),B&&b.push([y.propertyName,B])}})(Uf)),Uf}var jy;function n2(){if(jy)return Va;jy=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.boolOrEmptySchema=Va.topBoolOrEmptySchema=void 0;const r=ko(),i=Ae(),o=Ea(),u={message:"boolean schema is false"};function f(d){const{gen:h,schema:m,validateName:y}=d;m===!1?p(d,!1):typeof m=="object"&&m.$async===!0?h.return(o.default.data):(h.assign((0,i._)`${y}.errors`,null),h.return(!0))}Va.topBoolOrEmptySchema=f;function c(d,h){const{gen:m,schema:y}=d;y===!1?(m.var(h,!1),p(d)):m.var(h,!0)}Va.boolOrEmptySchema=c;function p(d,h){const{gen:m,data:y}=d,R={gen:m,keyword:"false schema",data:y,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:d};(0,r.reportError)(R,u,void 0,h)}return Va}var gt={},Ba={},Uy;function Gg(){if(Uy)return Ba;Uy=1,Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.getRules=Ba.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"],i=new Set(r);function o(f){return typeof f=="string"&&i.has(f)}Ba.isJSONType=o;function u(){const f={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...f,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},f.number,f.string,f.array,f.object],post:{rules:[]},all:{},keywords:{}}}return Ba.getRules=u,Ba}var Vn={},Hy;function Kg(){if(Hy)return Vn;Hy=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.shouldUseRule=Vn.shouldUseGroup=Vn.schemaHasRulesForType=void 0;function r({schema:u,self:f},c){const p=f.RULES.types[c];return p&&p!==!0&&i(u,p)}Vn.schemaHasRulesForType=r;function i(u,f){return f.rules.some(c=>o(u,c))}Vn.shouldUseGroup=i;function o(u,f){var c;return u[f.keyword]!==void 0||((c=f.definition.implements)===null||c===void 0?void 0:c.some(p=>u[p]!==void 0))}return Vn.shouldUseRule=o,Vn}var Ly;function Do(){if(Ly)return gt;Ly=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.reportTypeError=gt.checkDataTypes=gt.checkDataType=gt.coerceAndCheckDataType=gt.getJSONTypes=gt.getSchemaTypes=gt.DataType=void 0;const r=Gg(),i=Kg(),o=ko(),u=Ae(),f=Ue();var c;(function(g){g[g.Correct=0]="Correct",g[g.Wrong=1]="Wrong"})(c||(gt.DataType=c={}));function p(g){const b=d(g.type);if(b.includes("null")){if(g.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&g.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');g.nullable===!0&&b.push("null")}return b}gt.getSchemaTypes=p;function d(g){const b=Array.isArray(g)?g:g?[g]:[];if(b.every(r.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}gt.getJSONTypes=d;function h(g,b){const{gen:A,data:_,opts:N}=g,C=y(b,N.coerceTypes),V=b.length>0&&!(C.length===0&&b.length===1&&(0,i.schemaHasRulesForType)(g,b[0]));if(V){const B=w(b,_,N.strictNumbers,c.Wrong);A.if(B,()=>{C.length?R(g,b,C):S(g)})}return V}gt.coerceAndCheckDataType=h;const m=new Set(["string","number","integer","boolean","null"]);function y(g,b){return b?g.filter(A=>m.has(A)||b==="array"&&A==="array"):[]}function R(g,b,A){const{gen:_,data:N,opts:C}=g,V=_.let("dataType",(0,u._)`typeof ${N}`),B=_.let("coerced",(0,u._)`undefined`);C.coerceTypes==="array"&&_.if((0,u._)`${V} == 'object' && Array.isArray(${N}) && ${N}.length == 1`,()=>_.assign(N,(0,u._)`${N}[0]`).assign(V,(0,u._)`typeof ${N}`).if(w(b,N,C.strictNumbers),()=>_.assign(B,N))),_.if((0,u._)`${B} !== undefined`);for(const W of A)(m.has(W)||W==="array"&&C.coerceTypes==="array")&&J(W);_.else(),S(g),_.endIf(),_.if((0,u._)`${B} !== undefined`,()=>{_.assign(N,B),E(g,B)});function J(W){switch(W){case"string":_.elseIf((0,u._)`${V} == "number" || ${V} == "boolean"`).assign(B,(0,u._)`"" + ${N}`).elseIf((0,u._)`${N} === null`).assign(B,(0,u._)`""`);return;case"number":_.elseIf((0,u._)`${V} == "boolean" || ${N} === null
95
+ || (${V} == "string" && ${N} && ${N} == +${N})`).assign(B,(0,u._)`+${N}`);return;case"integer":_.elseIf((0,u._)`${V} === "boolean" || ${N} === null
96
+ || (${V} === "string" && ${N} && ${N} == +${N} && !(${N} % 1))`).assign(B,(0,u._)`+${N}`);return;case"boolean":_.elseIf((0,u._)`${N} === "false" || ${N} === 0 || ${N} === null`).assign(B,!1).elseIf((0,u._)`${N} === "true" || ${N} === 1`).assign(B,!0);return;case"null":_.elseIf((0,u._)`${N} === "" || ${N} === 0 || ${N} === false`),_.assign(B,null);return;case"array":_.elseIf((0,u._)`${V} === "string" || ${V} === "number"
97
+ || ${V} === "boolean" || ${N} === null`).assign(B,(0,u._)`[${N}]`)}}}function E({gen:g,parentData:b,parentDataProperty:A},_){g.if((0,u._)`${b} !== undefined`,()=>g.assign((0,u._)`${b}[${A}]`,_))}function T(g,b,A,_=c.Correct){const N=_===c.Correct?u.operators.EQ:u.operators.NEQ;let C;switch(g){case"null":return(0,u._)`${b} ${N} null`;case"array":C=(0,u._)`Array.isArray(${b})`;break;case"object":C=(0,u._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":C=V((0,u._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":C=V();break;default:return(0,u._)`typeof ${b} ${N} ${g}`}return _===c.Correct?C:(0,u.not)(C);function V(B=u.nil){return(0,u.and)((0,u._)`typeof ${b} == "number"`,B,A?(0,u._)`isFinite(${b})`:u.nil)}}gt.checkDataType=T;function w(g,b,A,_){if(g.length===1)return T(g[0],b,A,_);let N;const C=(0,f.toHash)(g);if(C.array&&C.object){const V=(0,u._)`typeof ${b} != "object"`;N=C.null?V:(0,u._)`!${b} || ${V}`,delete C.null,delete C.array,delete C.object}else N=u.nil;C.number&&delete C.integer;for(const V in C)N=(0,u.and)(N,T(V,b,A,_));return N}gt.checkDataTypes=w;const O={message:({schema:g})=>`must be ${g}`,params:({schema:g,schemaValue:b})=>typeof g=="string"?(0,u._)`{type: ${g}}`:(0,u._)`{type: ${b}}`};function S(g){const b=v(g);(0,o.reportError)(b,O)}gt.reportTypeError=S;function v(g){const{gen:b,data:A,schema:_}=g,N=(0,f.schemaRefOrVal)(g,_,"type");return{gen:b,keyword:"type",data:A,schema:_.type,schemaCode:N,schemaValue:N,parentSchema:_,params:{},it:g}}return gt}var el={},ky;function a2(){if(ky)return el;ky=1,Object.defineProperty(el,"__esModule",{value:!0}),el.assignDefaults=void 0;const r=Ae(),i=Ue();function o(f,c){const{properties:p,items:d}=f.schema;if(c==="object"&&p)for(const h in p)u(f,h,p[h].default);else c==="array"&&Array.isArray(d)&&d.forEach((h,m)=>u(f,m,h.default))}el.assignDefaults=o;function u(f,c,p){const{gen:d,compositeRule:h,data:m,opts:y}=f;if(p===void 0)return;const R=(0,r._)`${m}${(0,r.getProperty)(c)}`;if(h){(0,i.checkStrictMode)(f,`default is ignored for: ${R}`);return}let E=(0,r._)`${R} === undefined`;y.useDefaults==="empty"&&(E=(0,r._)`${E} || ${R} === null || ${R} === ""`),d.if(E,(0,r._)`${R} = ${(0,r.stringify)(p)}`)}return el}var un={},Be={},Vy;function fn(){if(Vy)return Be;Vy=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.validateUnion=Be.validateArray=Be.usePattern=Be.callValidateCode=Be.schemaProperties=Be.allSchemaProperties=Be.noPropertyInData=Be.propertyInData=Be.isOwnProperty=Be.hasPropFunc=Be.reportMissingProp=Be.checkMissingProp=Be.checkReportMissingProp=void 0;const r=Ae(),i=Ue(),o=Ea(),u=Ue();function f(g,b){const{gen:A,data:_,it:N}=g;A.if(y(A,_,b,N.opts.ownProperties),()=>{g.setParams({missingProperty:(0,r._)`${b}`},!0),g.error()})}Be.checkReportMissingProp=f;function c({gen:g,data:b,it:{opts:A}},_,N){return(0,r.or)(..._.map(C=>(0,r.and)(y(g,b,C,A.ownProperties),(0,r._)`${N} = ${C}`)))}Be.checkMissingProp=c;function p(g,b){g.setParams({missingProperty:b},!0),g.error()}Be.reportMissingProp=p;function d(g){return g.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,r._)`Object.prototype.hasOwnProperty`})}Be.hasPropFunc=d;function h(g,b,A){return(0,r._)`${d(g)}.call(${b}, ${A})`}Be.isOwnProperty=h;function m(g,b,A,_){const N=(0,r._)`${b}${(0,r.getProperty)(A)} !== undefined`;return _?(0,r._)`${N} && ${h(g,b,A)}`:N}Be.propertyInData=m;function y(g,b,A,_){const N=(0,r._)`${b}${(0,r.getProperty)(A)} === undefined`;return _?(0,r.or)(N,(0,r.not)(h(g,b,A))):N}Be.noPropertyInData=y;function R(g){return g?Object.keys(g).filter(b=>b!=="__proto__"):[]}Be.allSchemaProperties=R;function E(g,b){return R(b).filter(A=>!(0,i.alwaysValidSchema)(g,b[A]))}Be.schemaProperties=E;function T({schemaCode:g,data:b,it:{gen:A,topSchemaRef:_,schemaPath:N,errorPath:C},it:V},B,J,W){const ue=W?(0,r._)`${g}, ${b}, ${_}${N}`:b,G=[[o.default.instancePath,(0,r.strConcat)(o.default.instancePath,C)],[o.default.parentData,V.parentData],[o.default.parentDataProperty,V.parentDataProperty],[o.default.rootData,o.default.rootData]];V.opts.dynamicRef&&G.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const oe=(0,r._)`${ue}, ${A.object(...G)}`;return J!==r.nil?(0,r._)`${B}.call(${J}, ${oe})`:(0,r._)`${B}(${oe})`}Be.callValidateCode=T;const w=(0,r._)`new RegExp`;function O({gen:g,it:{opts:b}},A){const _=b.unicodeRegExp?"u":"",{regExp:N}=b.code,C=N(A,_);return g.scopeValue("pattern",{key:C.toString(),ref:C,code:(0,r._)`${N.code==="new RegExp"?w:(0,u.useFunc)(g,N)}(${A}, ${_})`})}Be.usePattern=O;function S(g){const{gen:b,data:A,keyword:_,it:N}=g,C=b.name("valid");if(N.allErrors){const B=b.let("valid",!0);return V(()=>b.assign(B,!1)),B}return b.var(C,!0),V(()=>b.break()),C;function V(B){const J=b.const("len",(0,r._)`${A}.length`);b.forRange("i",0,J,W=>{g.subschema({keyword:_,dataProp:W,dataPropType:i.Type.Num},C),b.if((0,r.not)(C),B)})}}Be.validateArray=S;function v(g){const{gen:b,schema:A,keyword:_,it:N}=g;if(!Array.isArray(A))throw new Error("ajv implementation error");if(A.some(J=>(0,i.alwaysValidSchema)(N,J))&&!N.opts.unevaluated)return;const V=b.let("valid",!1),B=b.name("_valid");b.block(()=>A.forEach((J,W)=>{const ue=g.subschema({keyword:_,schemaProp:W,compositeRule:!0},B);b.assign(V,(0,r._)`${V} || ${B}`),g.mergeValidEvaluated(ue,B)||b.if((0,r.not)(V))})),g.result(V,()=>g.reset(),()=>g.error(!0))}return Be.validateUnion=v,Be}var By;function r2(){if(By)return un;By=1,Object.defineProperty(un,"__esModule",{value:!0}),un.validateKeywordUsage=un.validSchemaType=un.funcKeywordCode=un.macroKeywordCode=void 0;const r=Ae(),i=Ea(),o=fn(),u=ko();function f(E,T){const{gen:w,keyword:O,schema:S,parentSchema:v,it:g}=E,b=T.macro.call(g.self,S,v,g),A=m(w,O,b);g.opts.validateSchema!==!1&&g.self.validateSchema(b,!0);const _=w.name("valid");E.subschema({schema:b,schemaPath:r.nil,errSchemaPath:`${g.errSchemaPath}/${O}`,topSchemaRef:A,compositeRule:!0},_),E.pass(_,()=>E.error(!0))}un.macroKeywordCode=f;function c(E,T){var w;const{gen:O,keyword:S,schema:v,parentSchema:g,$data:b,it:A}=E;h(A,T);const _=!b&&T.compile?T.compile.call(A.self,v,g,A):T.validate,N=m(O,S,_),C=O.let("valid");E.block$data(C,V),E.ok((w=T.valid)!==null&&w!==void 0?w:C);function V(){if(T.errors===!1)W(),T.modifying&&p(E),ue(()=>E.error());else{const G=T.async?B():J();T.modifying&&p(E),ue(()=>d(E,G))}}function B(){const G=O.let("ruleErrs",null);return O.try(()=>W((0,r._)`await `),oe=>O.assign(C,!1).if((0,r._)`${oe} instanceof ${A.ValidationError}`,()=>O.assign(G,(0,r._)`${oe}.errors`),()=>O.throw(oe))),G}function J(){const G=(0,r._)`${N}.errors`;return O.assign(G,null),W(r.nil),G}function W(G=T.async?(0,r._)`await `:r.nil){const oe=A.opts.passContext?i.default.this:i.default.self,me=!("compile"in T&&!b||T.schema===!1);O.assign(C,(0,r._)`${G}${(0,o.callValidateCode)(E,N,oe,me)}`,T.modifying)}function ue(G){var oe;O.if((0,r.not)((oe=T.valid)!==null&&oe!==void 0?oe:C),G)}}un.funcKeywordCode=c;function p(E){const{gen:T,data:w,it:O}=E;T.if(O.parentData,()=>T.assign(w,(0,r._)`${O.parentData}[${O.parentDataProperty}]`))}function d(E,T){const{gen:w}=E;w.if((0,r._)`Array.isArray(${T})`,()=>{w.assign(i.default.vErrors,(0,r._)`${i.default.vErrors} === null ? ${T} : ${i.default.vErrors}.concat(${T})`).assign(i.default.errors,(0,r._)`${i.default.vErrors}.length`),(0,u.extendErrors)(E)},()=>E.error())}function h({schemaEnv:E},T){if(T.async&&!E.$async)throw new Error("async keyword in sync schema")}function m(E,T,w){if(w===void 0)throw new Error(`keyword "${T}" failed to compile`);return E.scopeValue("keyword",typeof w=="function"?{ref:w}:{ref:w,code:(0,r.stringify)(w)})}function y(E,T,w=!1){return!T.length||T.some(O=>O==="array"?Array.isArray(E):O==="object"?E&&typeof E=="object"&&!Array.isArray(E):typeof E==O||w&&typeof E>"u")}un.validSchemaType=y;function R({schema:E,opts:T,self:w,errSchemaPath:O},S,v){if(Array.isArray(S.keyword)?!S.keyword.includes(v):S.keyword!==v)throw new Error("ajv implementation error");const g=S.dependencies;if(g?.some(b=>!Object.prototype.hasOwnProperty.call(E,b)))throw new Error(`parent schema must have dependencies of ${v}: ${g.join(",")}`);if(S.validateSchema&&!S.validateSchema(E[v])){const A=`keyword "${v}" value is invalid at path "${O}": `+w.errorsText(S.validateSchema.errors);if(T.validateSchema==="log")w.logger.error(A);else throw new Error(A)}}return un.validateKeywordUsage=R,un}var Bn={},Py;function i2(){if(Py)return Bn;Py=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.extendSubschemaMode=Bn.extendSubschemaData=Bn.getSubschema=void 0;const r=Ae(),i=Ue();function o(c,{keyword:p,schemaProp:d,schema:h,schemaPath:m,errSchemaPath:y,topSchemaRef:R}){if(p!==void 0&&h!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(p!==void 0){const E=c.schema[p];return d===void 0?{schema:E,schemaPath:(0,r._)`${c.schemaPath}${(0,r.getProperty)(p)}`,errSchemaPath:`${c.errSchemaPath}/${p}`}:{schema:E[d],schemaPath:(0,r._)`${c.schemaPath}${(0,r.getProperty)(p)}${(0,r.getProperty)(d)}`,errSchemaPath:`${c.errSchemaPath}/${p}/${(0,i.escapeFragment)(d)}`}}if(h!==void 0){if(m===void 0||y===void 0||R===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:h,schemaPath:m,topSchemaRef:R,errSchemaPath:y}}throw new Error('either "keyword" or "schema" must be passed')}Bn.getSubschema=o;function u(c,p,{dataProp:d,dataPropType:h,data:m,dataTypes:y,propertyName:R}){if(m!==void 0&&d!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:E}=p;if(d!==void 0){const{errorPath:w,dataPathArr:O,opts:S}=p,v=E.let("data",(0,r._)`${p.data}${(0,r.getProperty)(d)}`,!0);T(v),c.errorPath=(0,r.str)`${w}${(0,i.getErrorPath)(d,h,S.jsPropertySyntax)}`,c.parentDataProperty=(0,r._)`${d}`,c.dataPathArr=[...O,c.parentDataProperty]}if(m!==void 0){const w=m instanceof r.Name?m:E.let("data",m,!0);T(w),R!==void 0&&(c.propertyName=R)}y&&(c.dataTypes=y);function T(w){c.data=w,c.dataLevel=p.dataLevel+1,c.dataTypes=[],p.definedProperties=new Set,c.parentData=p.data,c.dataNames=[...p.dataNames,w]}}Bn.extendSubschemaData=u;function f(c,{jtdDiscriminator:p,jtdMetadata:d,compositeRule:h,createErrors:m,allErrors:y}){h!==void 0&&(c.compositeRule=h),m!==void 0&&(c.createErrors=m),y!==void 0&&(c.allErrors=y),c.jtdDiscriminator=p,c.jtdMetadata=d}return Bn.extendSubschemaMode=f,Bn}var Tt={},Vf,Yy;function Xg(){return Yy||(Yy=1,Vf=function r(i,o){if(i===o)return!0;if(i&&o&&typeof i=="object"&&typeof o=="object"){if(i.constructor!==o.constructor)return!1;var u,f,c;if(Array.isArray(i)){if(u=i.length,u!=o.length)return!1;for(f=u;f--!==0;)if(!r(i[f],o[f]))return!1;return!0}if(i.constructor===RegExp)return i.source===o.source&&i.flags===o.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===o.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===o.toString();if(c=Object.keys(i),u=c.length,u!==Object.keys(o).length)return!1;for(f=u;f--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[f]))return!1;for(f=u;f--!==0;){var p=c[f];if(!r(i[p],o[p]))return!1}return!0}return i!==i&&o!==o}),Vf}var Bf={exports:{}},Gy;function l2(){if(Gy)return Bf.exports;Gy=1;var r=Bf.exports=function(u,f,c){typeof f=="function"&&(c=f,f={}),c=f.cb||c;var p=typeof c=="function"?c:c.pre||function(){},d=c.post||function(){};i(f,p,d,u,"",u)};r.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},r.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},r.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},r.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function i(u,f,c,p,d,h,m,y,R,E){if(p&&typeof p=="object"&&!Array.isArray(p)){f(p,d,h,m,y,R,E);for(var T in p){var w=p[T];if(Array.isArray(w)){if(T in r.arrayKeywords)for(var O=0;O<w.length;O++)i(u,f,c,w[O],d+"/"+T+"/"+O,h,d,T,p,O)}else if(T in r.propsKeywords){if(w&&typeof w=="object")for(var S in w)i(u,f,c,w[S],d+"/"+T+"/"+o(S),h,d,T,p,S)}else(T in r.keywords||u.allKeys&&!(T in r.skipKeywords))&&i(u,f,c,w,d+"/"+T,h,d,T,p)}c(p,d,h,m,y,R,E)}}function o(u){return u.replace(/~/g,"~0").replace(/\//g,"~1")}return Bf.exports}var Ky;function Vo(){if(Ky)return Tt;Ky=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.getSchemaRefs=Tt.resolveUrl=Tt.normalizeId=Tt._getFullPath=Tt.getFullPath=Tt.inlineRef=void 0;const r=Ue(),i=Xg(),o=l2(),u=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function f(O,S=!0){return typeof O=="boolean"?!0:S===!0?!p(O):S?d(O)<=S:!1}Tt.inlineRef=f;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function p(O){for(const S in O){if(c.has(S))return!0;const v=O[S];if(Array.isArray(v)&&v.some(p)||typeof v=="object"&&p(v))return!0}return!1}function d(O){let S=0;for(const v in O){if(v==="$ref")return 1/0;if(S++,!u.has(v)&&(typeof O[v]=="object"&&(0,r.eachItem)(O[v],g=>S+=d(g)),S===1/0))return 1/0}return S}function h(O,S="",v){v!==!1&&(S=R(S));const g=O.parse(S);return m(O,g)}Tt.getFullPath=h;function m(O,S){return O.serialize(S).split("#")[0]+"#"}Tt._getFullPath=m;const y=/#\/?$/;function R(O){return O?O.replace(y,""):""}Tt.normalizeId=R;function E(O,S,v){return v=R(v),O.resolve(S,v)}Tt.resolveUrl=E;const T=/^[a-z_][-a-z0-9._]*$/i;function w(O,S){if(typeof O=="boolean")return{};const{schemaId:v,uriResolver:g}=this.opts,b=R(O[v]||S),A={"":b},_=h(g,b,!1),N={},C=new Set;return o(O,{allKeys:!0},(J,W,ue,G)=>{if(G===void 0)return;const oe=_+W;let me=A[G];typeof J[v]=="string"&&(me=X.call(this,J[v])),se.call(this,J.$anchor),se.call(this,J.$dynamicAnchor),A[W]=me;function X(ie){const ve=this.opts.uriResolver.resolve;if(ie=R(me?ve(me,ie):ie),C.has(ie))throw B(ie);C.add(ie);let z=this.refs[ie];return typeof z=="string"&&(z=this.refs[z]),typeof z=="object"?V(J,z.schema,ie):ie!==R(oe)&&(ie[0]==="#"?(V(J,N[ie],ie),N[ie]=J):this.refs[ie]=oe),ie}function se(ie){if(typeof ie=="string"){if(!T.test(ie))throw new Error(`invalid anchor "${ie}"`);X.call(this,`#${ie}`)}}}),N;function V(J,W,ue){if(W!==void 0&&!i(J,W))throw B(ue)}function B(J){return new Error(`reference "${J}" resolves to more than one schema`)}}return Tt.getSchemaRefs=w,Tt}var Xy;function Bo(){if(Xy)return kn;Xy=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.getData=kn.KeywordCxt=kn.validateFunctionCode=void 0;const r=n2(),i=Do(),o=Kg(),u=Do(),f=a2(),c=r2(),p=i2(),d=Ae(),h=Ea(),m=Vo(),y=Ue(),R=ko();function E(H){if(_(H)&&(C(H),A(H))){S(H);return}T(H,()=>(0,r.topBoolOrEmptySchema)(H))}kn.validateFunctionCode=E;function T({gen:H,validateName:Y,schema:ee,schemaEnv:ce,opts:pe},ye){pe.code.es5?H.func(Y,(0,d._)`${h.default.data}, ${h.default.valCxt}`,ce.$async,()=>{H.code((0,d._)`"use strict"; ${g(ee,pe)}`),O(H,pe),H.code(ye)}):H.func(Y,(0,d._)`${h.default.data}, ${w(pe)}`,ce.$async,()=>H.code(g(ee,pe)).code(ye))}function w(H){return(0,d._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${H.dynamicRef?(0,d._)`, ${h.default.dynamicAnchors}={}`:d.nil}}={}`}function O(H,Y){H.if(h.default.valCxt,()=>{H.var(h.default.instancePath,(0,d._)`${h.default.valCxt}.${h.default.instancePath}`),H.var(h.default.parentData,(0,d._)`${h.default.valCxt}.${h.default.parentData}`),H.var(h.default.parentDataProperty,(0,d._)`${h.default.valCxt}.${h.default.parentDataProperty}`),H.var(h.default.rootData,(0,d._)`${h.default.valCxt}.${h.default.rootData}`),Y.dynamicRef&&H.var(h.default.dynamicAnchors,(0,d._)`${h.default.valCxt}.${h.default.dynamicAnchors}`)},()=>{H.var(h.default.instancePath,(0,d._)`""`),H.var(h.default.parentData,(0,d._)`undefined`),H.var(h.default.parentDataProperty,(0,d._)`undefined`),H.var(h.default.rootData,h.default.data),Y.dynamicRef&&H.var(h.default.dynamicAnchors,(0,d._)`{}`)})}function S(H){const{schema:Y,opts:ee,gen:ce}=H;T(H,()=>{ee.$comment&&Y.$comment&&G(H),J(H),ce.let(h.default.vErrors,null),ce.let(h.default.errors,0),ee.unevaluated&&v(H),V(H),oe(H)})}function v(H){const{gen:Y,validateName:ee}=H;H.evaluated=Y.const("evaluated",(0,d._)`${ee}.evaluated`),Y.if((0,d._)`${H.evaluated}.dynamicProps`,()=>Y.assign((0,d._)`${H.evaluated}.props`,(0,d._)`undefined`)),Y.if((0,d._)`${H.evaluated}.dynamicItems`,()=>Y.assign((0,d._)`${H.evaluated}.items`,(0,d._)`undefined`))}function g(H,Y){const ee=typeof H=="object"&&H[Y.schemaId];return ee&&(Y.code.source||Y.code.process)?(0,d._)`/*# sourceURL=${ee} */`:d.nil}function b(H,Y){if(_(H)&&(C(H),A(H))){N(H,Y);return}(0,r.boolOrEmptySchema)(H,Y)}function A({schema:H,self:Y}){if(typeof H=="boolean")return!H;for(const ee in H)if(Y.RULES.all[ee])return!0;return!1}function _(H){return typeof H.schema!="boolean"}function N(H,Y){const{schema:ee,gen:ce,opts:pe}=H;pe.$comment&&ee.$comment&&G(H),W(H),ue(H);const ye=ce.const("_errs",h.default.errors);V(H,ye),ce.var(Y,(0,d._)`${ye} === ${h.default.errors}`)}function C(H){(0,y.checkUnknownRules)(H),B(H)}function V(H,Y){if(H.opts.jtd)return X(H,[],!1,Y);const ee=(0,i.getSchemaTypes)(H.schema),ce=(0,i.coerceAndCheckDataType)(H,ee);X(H,ee,!ce,Y)}function B(H){const{schema:Y,errSchemaPath:ee,opts:ce,self:pe}=H;Y.$ref&&ce.ignoreKeywordsWithRef&&(0,y.schemaHasRulesButRef)(Y,pe.RULES)&&pe.logger.warn(`$ref: keywords ignored in schema at path "${ee}"`)}function J(H){const{schema:Y,opts:ee}=H;Y.default!==void 0&&ee.useDefaults&&ee.strictSchema&&(0,y.checkStrictMode)(H,"default is ignored in the schema root")}function W(H){const Y=H.schema[H.opts.schemaId];Y&&(H.baseId=(0,m.resolveUrl)(H.opts.uriResolver,H.baseId,Y))}function ue(H){if(H.schema.$async&&!H.schemaEnv.$async)throw new Error("async schema in sync schema")}function G({gen:H,schemaEnv:Y,schema:ee,errSchemaPath:ce,opts:pe}){const ye=ee.$comment;if(pe.$comment===!0)H.code((0,d._)`${h.default.self}.logger.log(${ye})`);else if(typeof pe.$comment=="function"){const $e=(0,d.str)`${ce}/$comment`,Qe=H.scopeValue("root",{ref:Y.root});H.code((0,d._)`${h.default.self}.opts.$comment(${ye}, ${$e}, ${Qe}.schema)`)}}function oe(H){const{gen:Y,schemaEnv:ee,validateName:ce,ValidationError:pe,opts:ye}=H;ee.$async?Y.if((0,d._)`${h.default.errors} === 0`,()=>Y.return(h.default.data),()=>Y.throw((0,d._)`new ${pe}(${h.default.vErrors})`)):(Y.assign((0,d._)`${ce}.errors`,h.default.vErrors),ye.unevaluated&&me(H),Y.return((0,d._)`${h.default.errors} === 0`))}function me({gen:H,evaluated:Y,props:ee,items:ce}){ee instanceof d.Name&&H.assign((0,d._)`${Y}.props`,ee),ce instanceof d.Name&&H.assign((0,d._)`${Y}.items`,ce)}function X(H,Y,ee,ce){const{gen:pe,schema:ye,data:$e,allErrors:Qe,opts:xe,self:ze}=H,{RULES:Ce}=ze;if(ye.$ref&&(xe.ignoreKeywordsWithRef||!(0,y.schemaHasRulesButRef)(ye,Ce))){pe.block(()=>he(H,"$ref",Ce.all.$ref.definition));return}xe.jtd||ie(H,Y),pe.block(()=>{for(const Ze of Ce.rules)we(Ze);we(Ce.post)});function we(Ze){(0,o.shouldUseGroup)(ye,Ze)&&(Ze.type?(pe.if((0,u.checkDataType)(Ze.type,$e,xe.strictNumbers)),se(H,Ze),Y.length===1&&Y[0]===Ze.type&&ee&&(pe.else(),(0,u.reportTypeError)(H)),pe.endIf()):se(H,Ze),Qe||pe.if((0,d._)`${h.default.errors} === ${ce||0}`))}}function se(H,Y){const{gen:ee,schema:ce,opts:{useDefaults:pe}}=H;pe&&(0,f.assignDefaults)(H,Y.type),ee.block(()=>{for(const ye of Y.rules)(0,o.shouldUseRule)(ce,ye)&&he(H,ye.keyword,ye.definition,Y.type)})}function ie(H,Y){H.schemaEnv.meta||!H.opts.strictTypes||(ve(H,Y),H.opts.allowUnionTypes||z(H,Y),q(H,H.dataTypes))}function ve(H,Y){if(Y.length){if(!H.dataTypes.length){H.dataTypes=Y;return}Y.forEach(ee=>{j(H.dataTypes,ee)||x(H,`type "${ee}" not allowed by context "${H.dataTypes.join(",")}"`)}),M(H,Y)}}function z(H,Y){Y.length>1&&!(Y.length===2&&Y.includes("null"))&&x(H,"use allowUnionTypes to allow union type keyword")}function q(H,Y){const ee=H.self.RULES.all;for(const ce in ee){const pe=ee[ce];if(typeof pe=="object"&&(0,o.shouldUseRule)(H.schema,pe)){const{type:ye}=pe.definition;ye.length&&!ye.some($e=>P(Y,$e))&&x(H,`missing type "${ye.join(",")}" for keyword "${ce}"`)}}}function P(H,Y){return H.includes(Y)||Y==="number"&&H.includes("integer")}function j(H,Y){return H.includes(Y)||Y==="integer"&&H.includes("number")}function M(H,Y){const ee=[];for(const ce of H.dataTypes)j(Y,ce)?ee.push(ce):Y.includes("integer")&&ce==="number"&&ee.push("integer");H.dataTypes=ee}function x(H,Y){const ee=H.schemaEnv.baseId+H.errSchemaPath;Y+=` at "${ee}" (strictTypes)`,(0,y.checkStrictMode)(H,Y,H.opts.strictTypes)}class L{constructor(Y,ee,ce){if((0,c.validateKeywordUsage)(Y,ee,ce),this.gen=Y.gen,this.allErrors=Y.allErrors,this.keyword=ce,this.data=Y.data,this.schema=Y.schema[ce],this.$data=ee.$data&&Y.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,y.schemaRefOrVal)(Y,this.schema,ce,this.$data),this.schemaType=ee.schemaType,this.parentSchema=Y.schema,this.params={},this.it=Y,this.def=ee,this.$data)this.schemaCode=Y.gen.const("vSchema",de(this.$data,Y));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,ee.schemaType,ee.allowUndefined))throw new Error(`${ce} value must be ${JSON.stringify(ee.schemaType)}`);("code"in ee?ee.trackErrors:ee.errors!==!1)&&(this.errsCount=Y.gen.const("_errs",h.default.errors))}result(Y,ee,ce){this.failResult((0,d.not)(Y),ee,ce)}failResult(Y,ee,ce){this.gen.if(Y),ce?ce():this.error(),ee?(this.gen.else(),ee(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(Y,ee){this.failResult((0,d.not)(Y),void 0,ee)}fail(Y){if(Y===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(Y),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(Y){if(!this.$data)return this.fail(Y);const{schemaCode:ee}=this;this.fail((0,d._)`${ee} !== undefined && (${(0,d.or)(this.invalid$data(),Y)})`)}error(Y,ee,ce){if(ee){this.setParams(ee),this._error(Y,ce),this.setParams({});return}this._error(Y,ce)}_error(Y,ee){(Y?R.reportExtraError:R.reportError)(this,this.def.error,ee)}$dataError(){(0,R.reportError)(this,this.def.$dataError||R.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,R.resetErrorsCount)(this.gen,this.errsCount)}ok(Y){this.allErrors||this.gen.if(Y)}setParams(Y,ee){ee?Object.assign(this.params,Y):this.params=Y}block$data(Y,ee,ce=d.nil){this.gen.block(()=>{this.check$data(Y,ce),ee()})}check$data(Y=d.nil,ee=d.nil){if(!this.$data)return;const{gen:ce,schemaCode:pe,schemaType:ye,def:$e}=this;ce.if((0,d.or)((0,d._)`${pe} === undefined`,ee)),Y!==d.nil&&ce.assign(Y,!0),(ye.length||$e.validateSchema)&&(ce.elseIf(this.invalid$data()),this.$dataError(),Y!==d.nil&&ce.assign(Y,!1)),ce.else()}invalid$data(){const{gen:Y,schemaCode:ee,schemaType:ce,def:pe,it:ye}=this;return(0,d.or)($e(),Qe());function $e(){if(ce.length){if(!(ee instanceof d.Name))throw new Error("ajv implementation error");const xe=Array.isArray(ce)?ce:[ce];return(0,d._)`${(0,u.checkDataTypes)(xe,ee,ye.opts.strictNumbers,u.DataType.Wrong)}`}return d.nil}function Qe(){if(pe.validateSchema){const xe=Y.scopeValue("validate$data",{ref:pe.validateSchema});return(0,d._)`!${xe}(${ee})`}return d.nil}}subschema(Y,ee){const ce=(0,p.getSubschema)(this.it,Y);(0,p.extendSubschemaData)(ce,this.it,Y),(0,p.extendSubschemaMode)(ce,Y);const pe={...this.it,...ce,items:void 0,props:void 0};return b(pe,ee),pe}mergeEvaluated(Y,ee){const{it:ce,gen:pe}=this;ce.opts.unevaluated&&(ce.props!==!0&&Y.props!==void 0&&(ce.props=y.mergeEvaluated.props(pe,Y.props,ce.props,ee)),ce.items!==!0&&Y.items!==void 0&&(ce.items=y.mergeEvaluated.items(pe,Y.items,ce.items,ee)))}mergeValidEvaluated(Y,ee){const{it:ce,gen:pe}=this;if(ce.opts.unevaluated&&(ce.props!==!0||ce.items!==!0))return pe.if(ee,()=>this.mergeEvaluated(Y,d.Name)),!0}}kn.KeywordCxt=L;function he(H,Y,ee,ce){const pe=new L(H,ee,Y);"code"in ee?ee.code(pe,ce):pe.$data&&ee.validate?(0,c.funcKeywordCode)(pe,ee):"macro"in ee?(0,c.macroKeywordCode)(pe,ee):(ee.compile||ee.validate)&&(0,c.funcKeywordCode)(pe,ee)}const fe=/^\/(?:[^~]|~0|~1)*$/,ae=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function de(H,{dataLevel:Y,dataNames:ee,dataPathArr:ce}){let pe,ye;if(H==="")return h.default.rootData;if(H[0]==="/"){if(!fe.test(H))throw new Error(`Invalid JSON-pointer: ${H}`);pe=H,ye=h.default.rootData}else{const ze=ae.exec(H);if(!ze)throw new Error(`Invalid JSON-pointer: ${H}`);const Ce=+ze[1];if(pe=ze[2],pe==="#"){if(Ce>=Y)throw new Error(xe("property/index",Ce));return ce[Y-Ce]}if(Ce>Y)throw new Error(xe("data",Ce));if(ye=ee[Y-Ce],!pe)return ye}let $e=ye;const Qe=pe.split("/");for(const ze of Qe)ze&&(ye=(0,d._)`${ye}${(0,d.getProperty)((0,y.unescapeJsonPointer)(ze))}`,$e=(0,d._)`${$e} && ${ye}`);return $e;function xe(ze,Ce){return`Cannot access ${ze} ${Ce} levels up, current level is ${Y}`}}return kn.getData=de,kn}var xu={},Qy;function Ad(){if(Qy)return xu;Qy=1,Object.defineProperty(xu,"__esModule",{value:!0});class r extends Error{constructor(o){super("validation failed"),this.errors=o,this.ajv=this.validation=!0}}return xu.default=r,xu}var ju={},Zy;function Po(){if(Zy)return ju;Zy=1,Object.defineProperty(ju,"__esModule",{value:!0});const r=Vo();class i extends Error{constructor(u,f,c,p){super(p||`can't resolve reference ${c} from id ${f}`),this.missingRef=(0,r.resolveUrl)(u,f,c),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(u,this.missingRef))}}return ju.default=i,ju}var Bt={},Jy;function Nd(){if(Jy)return Bt;Jy=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.resolveSchema=Bt.getCompilingSchema=Bt.resolveRef=Bt.compileSchema=Bt.SchemaEnv=void 0;const r=Ae(),i=Ad(),o=Ea(),u=Vo(),f=Ue(),c=Bo();class p{constructor(v){var g;this.refs={},this.dynamicAnchors={};let b;typeof v.schema=="object"&&(b=v.schema),this.schema=v.schema,this.schemaId=v.schemaId,this.root=v.root||this,this.baseId=(g=v.baseId)!==null&&g!==void 0?g:(0,u.normalizeId)(b?.[v.schemaId||"$id"]),this.schemaPath=v.schemaPath,this.localRefs=v.localRefs,this.meta=v.meta,this.$async=b?.$async,this.refs={}}}Bt.SchemaEnv=p;function d(S){const v=y.call(this,S);if(v)return v;const g=(0,u.getFullPath)(this.opts.uriResolver,S.root.baseId),{es5:b,lines:A}=this.opts.code,{ownProperties:_}=this.opts,N=new r.CodeGen(this.scope,{es5:b,lines:A,ownProperties:_});let C;S.$async&&(C=N.scopeValue("Error",{ref:i.default,code:(0,r._)`require("ajv/dist/runtime/validation_error").default`}));const V=N.scopeName("validate");S.validateName=V;const B={gen:N,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:N.scopeValue("schema",this.opts.code.source===!0?{ref:S.schema,code:(0,r.stringify)(S.schema)}:{ref:S.schema}),validateName:V,ValidationError:C,schema:S.schema,schemaEnv:S,rootId:g,baseId:S.baseId||g,schemaPath:r.nil,errSchemaPath:S.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,r._)`""`,opts:this.opts,self:this};let J;try{this._compilations.add(S),(0,c.validateFunctionCode)(B),N.optimize(this.opts.code.optimize);const W=N.toString();J=`${N.scopeRefs(o.default.scope)}return ${W}`,this.opts.code.process&&(J=this.opts.code.process(J,S));const G=new Function(`${o.default.self}`,`${o.default.scope}`,J)(this,this.scope.get());if(this.scope.value(V,{ref:G}),G.errors=null,G.schema=S.schema,G.schemaEnv=S,S.$async&&(G.$async=!0),this.opts.code.source===!0&&(G.source={validateName:V,validateCode:W,scopeValues:N._values}),this.opts.unevaluated){const{props:oe,items:me}=B;G.evaluated={props:oe instanceof r.Name?void 0:oe,items:me instanceof r.Name?void 0:me,dynamicProps:oe instanceof r.Name,dynamicItems:me instanceof r.Name},G.source&&(G.source.evaluated=(0,r.stringify)(G.evaluated))}return S.validate=G,S}catch(W){throw delete S.validate,delete S.validateName,J&&this.logger.error("Error compiling schema, function code:",J),W}finally{this._compilations.delete(S)}}Bt.compileSchema=d;function h(S,v,g){var b;g=(0,u.resolveUrl)(this.opts.uriResolver,v,g);const A=S.refs[g];if(A)return A;let _=E.call(this,S,g);if(_===void 0){const N=(b=S.localRefs)===null||b===void 0?void 0:b[g],{schemaId:C}=this.opts;N&&(_=new p({schema:N,schemaId:C,root:S,baseId:v}))}if(_!==void 0)return S.refs[g]=m.call(this,_)}Bt.resolveRef=h;function m(S){return(0,u.inlineRef)(S.schema,this.opts.inlineRefs)?S.schema:S.validate?S:d.call(this,S)}function y(S){for(const v of this._compilations)if(R(v,S))return v}Bt.getCompilingSchema=y;function R(S,v){return S.schema===v.schema&&S.root===v.root&&S.baseId===v.baseId}function E(S,v){let g;for(;typeof(g=this.refs[v])=="string";)v=g;return g||this.schemas[v]||T.call(this,S,v)}function T(S,v){const g=this.opts.uriResolver.parse(v),b=(0,u._getFullPath)(this.opts.uriResolver,g);let A=(0,u.getFullPath)(this.opts.uriResolver,S.baseId,void 0);if(Object.keys(S.schema).length>0&&b===A)return O.call(this,g,S);const _=(0,u.normalizeId)(b),N=this.refs[_]||this.schemas[_];if(typeof N=="string"){const C=T.call(this,S,N);return typeof C?.schema!="object"?void 0:O.call(this,g,C)}if(typeof N?.schema=="object"){if(N.validate||d.call(this,N),_===(0,u.normalizeId)(v)){const{schema:C}=N,{schemaId:V}=this.opts,B=C[V];return B&&(A=(0,u.resolveUrl)(this.opts.uriResolver,A,B)),new p({schema:C,schemaId:V,root:S,baseId:A})}return O.call(this,g,N)}}Bt.resolveSchema=T;const w=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function O(S,{baseId:v,schema:g,root:b}){var A;if(((A=S.fragment)===null||A===void 0?void 0:A[0])!=="/")return;for(const C of S.fragment.slice(1).split("/")){if(typeof g=="boolean")return;const V=g[(0,f.unescapeFragment)(C)];if(V===void 0)return;g=V;const B=typeof g=="object"&&g[this.opts.schemaId];!w.has(C)&&B&&(v=(0,u.resolveUrl)(this.opts.uriResolver,v,B))}let _;if(typeof g!="boolean"&&g.$ref&&!(0,f.schemaHasRulesButRef)(g,this.RULES)){const C=(0,u.resolveUrl)(this.opts.uriResolver,v,g.$ref);_=T.call(this,b,C)}const{schemaId:N}=this.opts;if(_=_||new p({schema:g,schemaId:N,root:b,baseId:v}),_.schema!==_.root.schema)return _}return Bt}const u2="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",o2="Meta-schema for $data reference (JSON AnySchema extension proposal)",s2="object",c2=["$data"],f2={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},d2=!1,h2={$id:u2,description:o2,type:s2,required:c2,properties:f2,additionalProperties:d2};var Uu={},tl={exports:{}},Pf,Fy;function Qg(){if(Fy)return Pf;Fy=1;const r=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),i=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function o(E){let T="",w=0,O=0;for(O=0;O<E.length;O++)if(w=E[O].charCodeAt(0),w!==48){if(!(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102))return"";T+=E[O];break}for(O+=1;O<E.length;O++){if(w=E[O].charCodeAt(0),!(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102))return"";T+=E[O]}return T}const u=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function f(E){return E.length=0,!0}function c(E,T,w){if(E.length){const O=o(E);if(O!=="")T.push(O);else return w.error=!0,!1;E.length=0}return!0}function p(E){let T=0;const w={error:!1,address:"",zone:""},O=[],S=[];let v=!1,g=!1,b=c;for(let A=0;A<E.length;A++){const _=E[A];if(!(_==="["||_==="]"))if(_===":"){if(v===!0&&(g=!0),!b(S,O,w))break;if(++T>7){w.error=!0;break}A>0&&E[A-1]===":"&&(v=!0),O.push(":");continue}else if(_==="%"){if(!b(S,O,w))break;b=f}else{S.push(_);continue}}return S.length&&(b===f?w.zone=S.join(""):g?O.push(S.join("")):O.push(o(S))),w.address=O.join(""),w}function d(E){if(h(E,":")<2)return{host:E,isIPV6:!1};const T=p(E);if(T.error)return{host:E,isIPV6:!1};{let w=T.address,O=T.address;return T.zone&&(w+="%"+T.zone,O+="%25"+T.zone),{host:w,isIPV6:!0,escapedHost:O}}}function h(E,T){let w=0;for(let O=0;O<E.length;O++)E[O]===T&&w++;return w}function m(E){let T=E;const w=[];let O=-1,S=0;for(;S=T.length;){if(S===1){if(T===".")break;if(T==="/"){w.push("/");break}else{w.push(T);break}}else if(S===2){if(T[0]==="."){if(T[1]===".")break;if(T[1]==="/"){T=T.slice(2);continue}}else if(T[0]==="/"&&(T[1]==="."||T[1]==="/")){w.push("/");break}}else if(S===3&&T==="/.."){w.length!==0&&w.pop(),w.push("/");break}if(T[0]==="."){if(T[1]==="."){if(T[2]==="/"){T=T.slice(3);continue}}else if(T[1]==="/"){T=T.slice(2);continue}}else if(T[0]==="/"&&T[1]==="."){if(T[2]==="/"){T=T.slice(2);continue}else if(T[2]==="."&&T[3]==="/"){T=T.slice(3),w.length!==0&&w.pop();continue}}if((O=T.indexOf("/",1))===-1){w.push(T);break}else w.push(T.slice(0,O)),T=T.slice(O)}return w.join("")}function y(E,T){const w=T!==!0?escape:unescape;return E.scheme!==void 0&&(E.scheme=w(E.scheme)),E.userinfo!==void 0&&(E.userinfo=w(E.userinfo)),E.host!==void 0&&(E.host=w(E.host)),E.path!==void 0&&(E.path=w(E.path)),E.query!==void 0&&(E.query=w(E.query)),E.fragment!==void 0&&(E.fragment=w(E.fragment)),E}function R(E){const T=[];if(E.userinfo!==void 0&&(T.push(E.userinfo),T.push("@")),E.host!==void 0){let w=unescape(E.host);if(!i(w)){const O=d(w);O.isIPV6===!0?w=`[${O.escapedHost}]`:w=E.host}T.push(w)}return(typeof E.port=="number"||typeof E.port=="string")&&(T.push(":"),T.push(String(E.port))),T.length?T.join(""):void 0}return Pf={nonSimpleDomain:u,recomposeAuthority:R,normalizeComponentEncoding:y,removeDotSegments:m,isIPv4:i,isUUID:r,normalizeIPv6:d,stringArrayToHexStripped:o},Pf}var Yf,Iy;function m2(){if(Iy)return Yf;Iy=1;const{isUUID:r}=Qg(),i=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,o=["http","https","ws","wss","urn","urn:uuid"];function u(_){return o.indexOf(_)!==-1}function f(_){return _.secure===!0?!0:_.secure===!1?!1:_.scheme?_.scheme.length===3&&(_.scheme[0]==="w"||_.scheme[0]==="W")&&(_.scheme[1]==="s"||_.scheme[1]==="S")&&(_.scheme[2]==="s"||_.scheme[2]==="S"):!1}function c(_){return _.host||(_.error=_.error||"HTTP URIs must have a host."),_}function p(_){const N=String(_.scheme).toLowerCase()==="https";return(_.port===(N?443:80)||_.port==="")&&(_.port=void 0),_.path||(_.path="/"),_}function d(_){return _.secure=f(_),_.resourceName=(_.path||"/")+(_.query?"?"+_.query:""),_.path=void 0,_.query=void 0,_}function h(_){if((_.port===(f(_)?443:80)||_.port==="")&&(_.port=void 0),typeof _.secure=="boolean"&&(_.scheme=_.secure?"wss":"ws",_.secure=void 0),_.resourceName){const[N,C]=_.resourceName.split("?");_.path=N&&N!=="/"?N:void 0,_.query=C,_.resourceName=void 0}return _.fragment=void 0,_}function m(_,N){if(!_.path)return _.error="URN can not be parsed",_;const C=_.path.match(i);if(C){const V=N.scheme||_.scheme||"urn";_.nid=C[1].toLowerCase(),_.nss=C[2];const B=`${V}:${N.nid||_.nid}`,J=A(B);_.path=void 0,J&&(_=J.parse(_,N))}else _.error=_.error||"URN can not be parsed.";return _}function y(_,N){if(_.nid===void 0)throw new Error("URN without nid cannot be serialized");const C=N.scheme||_.scheme||"urn",V=_.nid.toLowerCase(),B=`${C}:${N.nid||V}`,J=A(B);J&&(_=J.serialize(_,N));const W=_,ue=_.nss;return W.path=`${V||N.nid}:${ue}`,N.skipEscape=!0,W}function R(_,N){const C=_;return C.uuid=C.nss,C.nss=void 0,!N.tolerant&&(!C.uuid||!r(C.uuid))&&(C.error=C.error||"UUID is not valid."),C}function E(_){const N=_;return N.nss=(_.uuid||"").toLowerCase(),N}const T={scheme:"http",domainHost:!0,parse:c,serialize:p},w={scheme:"https",domainHost:T.domainHost,parse:c,serialize:p},O={scheme:"ws",domainHost:!0,parse:d,serialize:h},S={scheme:"wss",domainHost:O.domainHost,parse:O.parse,serialize:O.serialize},b={http:T,https:w,ws:O,wss:S,urn:{scheme:"urn",parse:m,serialize:y,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:R,serialize:E,skipNormalize:!0}};Object.setPrototypeOf(b,null);function A(_){return _&&(b[_]||b[_.toLowerCase()])||void 0}return Yf={wsIsSecure:f,SCHEMES:b,isValidSchemeName:u,getSchemeHandler:A},Yf}var Wy;function p2(){if(Wy)return tl.exports;Wy=1;const{normalizeIPv6:r,removeDotSegments:i,recomposeAuthority:o,normalizeComponentEncoding:u,isIPv4:f,nonSimpleDomain:c}=Qg(),{SCHEMES:p,getSchemeHandler:d}=m2();function h(S,v){return typeof S=="string"?S=E(w(S,v),v):typeof S=="object"&&(S=w(E(S,v),v)),S}function m(S,v,g){const b=g?Object.assign({scheme:"null"},g):{scheme:"null"},A=y(w(S,b),w(v,b),b,!0);return b.skipEscape=!0,E(A,b)}function y(S,v,g,b){const A={};return b||(S=w(E(S,g),g),v=w(E(v,g),g)),g=g||{},!g.tolerant&&v.scheme?(A.scheme=v.scheme,A.userinfo=v.userinfo,A.host=v.host,A.port=v.port,A.path=i(v.path||""),A.query=v.query):(v.userinfo!==void 0||v.host!==void 0||v.port!==void 0?(A.userinfo=v.userinfo,A.host=v.host,A.port=v.port,A.path=i(v.path||""),A.query=v.query):(v.path?(v.path[0]==="/"?A.path=i(v.path):((S.userinfo!==void 0||S.host!==void 0||S.port!==void 0)&&!S.path?A.path="/"+v.path:S.path?A.path=S.path.slice(0,S.path.lastIndexOf("/")+1)+v.path:A.path=v.path,A.path=i(A.path)),A.query=v.query):(A.path=S.path,v.query!==void 0?A.query=v.query:A.query=S.query),A.userinfo=S.userinfo,A.host=S.host,A.port=S.port),A.scheme=S.scheme),A.fragment=v.fragment,A}function R(S,v,g){return typeof S=="string"?(S=unescape(S),S=E(u(w(S,g),!0),{...g,skipEscape:!0})):typeof S=="object"&&(S=E(u(S,!0),{...g,skipEscape:!0})),typeof v=="string"?(v=unescape(v),v=E(u(w(v,g),!0),{...g,skipEscape:!0})):typeof v=="object"&&(v=E(u(v,!0),{...g,skipEscape:!0})),S.toLowerCase()===v.toLowerCase()}function E(S,v){const g={host:S.host,scheme:S.scheme,userinfo:S.userinfo,port:S.port,path:S.path,query:S.query,nid:S.nid,nss:S.nss,uuid:S.uuid,fragment:S.fragment,reference:S.reference,resourceName:S.resourceName,secure:S.secure,error:""},b=Object.assign({},v),A=[],_=d(b.scheme||g.scheme);_&&_.serialize&&_.serialize(g,b),g.path!==void 0&&(b.skipEscape?g.path=unescape(g.path):(g.path=escape(g.path),g.scheme!==void 0&&(g.path=g.path.split("%3A").join(":")))),b.reference!=="suffix"&&g.scheme&&A.push(g.scheme,":");const N=o(g);if(N!==void 0&&(b.reference!=="suffix"&&A.push("//"),A.push(N),g.path&&g.path[0]!=="/"&&A.push("/")),g.path!==void 0){let C=g.path;!b.absolutePath&&(!_||!_.absolutePath)&&(C=i(C)),N===void 0&&C[0]==="/"&&C[1]==="/"&&(C="/%2F"+C.slice(2)),A.push(C)}return g.query!==void 0&&A.push("?",g.query),g.fragment!==void 0&&A.push("#",g.fragment),A.join("")}const T=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function w(S,v){const g=Object.assign({},v),b={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let A=!1;g.reference==="suffix"&&(g.scheme?S=g.scheme+":"+S:S="//"+S);const _=S.match(T);if(_){if(b.scheme=_[1],b.userinfo=_[3],b.host=_[4],b.port=parseInt(_[5],10),b.path=_[6]||"",b.query=_[7],b.fragment=_[8],isNaN(b.port)&&(b.port=_[5]),b.host)if(f(b.host)===!1){const V=r(b.host);b.host=V.host.toLowerCase(),A=V.isIPV6}else A=!0;b.scheme===void 0&&b.userinfo===void 0&&b.host===void 0&&b.port===void 0&&b.query===void 0&&!b.path?b.reference="same-document":b.scheme===void 0?b.reference="relative":b.fragment===void 0?b.reference="absolute":b.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==b.reference&&(b.error=b.error||"URI is not a "+g.reference+" reference.");const N=d(g.scheme||b.scheme);if(!g.unicodeSupport&&(!N||!N.unicodeSupport)&&b.host&&(g.domainHost||N&&N.domainHost)&&A===!1&&c(b.host))try{b.host=URL.domainToASCII(b.host.toLowerCase())}catch(C){b.error=b.error||"Host's domain name can not be converted to ASCII: "+C}(!N||N&&!N.skipNormalize)&&(S.indexOf("%")!==-1&&(b.scheme!==void 0&&(b.scheme=unescape(b.scheme)),b.host!==void 0&&(b.host=unescape(b.host))),b.path&&(b.path=escape(unescape(b.path))),b.fragment&&(b.fragment=encodeURI(decodeURIComponent(b.fragment)))),N&&N.parse&&N.parse(b,g)}else b.error=b.error||"URI can not be parsed.";return b}const O={SCHEMES:p,normalize:h,resolve:m,resolveComponent:y,equal:R,serialize:E,parse:w};return tl.exports=O,tl.exports.default=O,tl.exports.fastUri=O,tl.exports}var e0;function v2(){if(e0)return Uu;e0=1,Object.defineProperty(Uu,"__esModule",{value:!0});const r=p2();return r.code='require("ajv/dist/runtime/uri").default',Uu.default=r,Uu}var t0;function y2(){return t0||(t0=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.CodeGen=r.Name=r.nil=r.stringify=r.str=r._=r.KeywordCxt=void 0;var i=Bo();Object.defineProperty(r,"KeywordCxt",{enumerable:!0,get:function(){return i.KeywordCxt}});var o=Ae();Object.defineProperty(r,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(r,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(r,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(r,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(r,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const u=Ad(),f=Po(),c=Gg(),p=Nd(),d=Ae(),h=Vo(),m=Do(),y=Ue(),R=h2,E=v2(),T=(z,q)=>new RegExp(z,q);T.code="new RegExp";const w=["removeAdditional","useDefaults","coerceTypes"],O=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),S={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},g=200;function b(z){var q,P,j,M,x,L,he,fe,ae,de,H,Y,ee,ce,pe,ye,$e,Qe,xe,ze,Ce,we,Ze,ot,_t;const bt=z.strict,et=(q=z.code)===null||q===void 0?void 0:q.optimize,St=et===!0||et===void 0?1:et||0,Et=(j=(P=z.code)===null||P===void 0?void 0:P.regExp)!==null&&j!==void 0?j:T,Yo=(M=z.uriResolver)!==null&&M!==void 0?M:E.default;return{strictSchema:(L=(x=z.strictSchema)!==null&&x!==void 0?x:bt)!==null&&L!==void 0?L:!0,strictNumbers:(fe=(he=z.strictNumbers)!==null&&he!==void 0?he:bt)!==null&&fe!==void 0?fe:!0,strictTypes:(de=(ae=z.strictTypes)!==null&&ae!==void 0?ae:bt)!==null&&de!==void 0?de:"log",strictTuples:(Y=(H=z.strictTuples)!==null&&H!==void 0?H:bt)!==null&&Y!==void 0?Y:"log",strictRequired:(ce=(ee=z.strictRequired)!==null&&ee!==void 0?ee:bt)!==null&&ce!==void 0?ce:!1,code:z.code?{...z.code,optimize:St,regExp:Et}:{optimize:St,regExp:Et},loopRequired:(pe=z.loopRequired)!==null&&pe!==void 0?pe:g,loopEnum:(ye=z.loopEnum)!==null&&ye!==void 0?ye:g,meta:($e=z.meta)!==null&&$e!==void 0?$e:!0,messages:(Qe=z.messages)!==null&&Qe!==void 0?Qe:!0,inlineRefs:(xe=z.inlineRefs)!==null&&xe!==void 0?xe:!0,schemaId:(ze=z.schemaId)!==null&&ze!==void 0?ze:"$id",addUsedSchema:(Ce=z.addUsedSchema)!==null&&Ce!==void 0?Ce:!0,validateSchema:(we=z.validateSchema)!==null&&we!==void 0?we:!0,validateFormats:(Ze=z.validateFormats)!==null&&Ze!==void 0?Ze:!0,unicodeRegExp:(ot=z.unicodeRegExp)!==null&&ot!==void 0?ot:!0,int32range:(_t=z.int32range)!==null&&_t!==void 0?_t:!0,uriResolver:Yo}}class A{constructor(q={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,q=this.opts={...q,...b(q)};const{es5:P,lines:j}=this.opts.code;this.scope=new d.ValueScope({scope:{},prefixes:O,es5:P,lines:j}),this.logger=ue(q.logger);const M=q.validateFormats;q.validateFormats=!1,this.RULES=(0,c.getRules)(),_.call(this,S,q,"NOT SUPPORTED"),_.call(this,v,q,"DEPRECATED","warn"),this._metaOpts=J.call(this),q.formats&&V.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),q.keywords&&B.call(this,q.keywords),typeof q.meta=="object"&&this.addMetaSchema(q.meta),C.call(this),q.validateFormats=M}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:q,meta:P,schemaId:j}=this.opts;let M=R;j==="id"&&(M={...R},M.id=M.$id,delete M.$id),P&&q&&this.addMetaSchema(M,M[j],!1)}defaultMeta(){const{meta:q,schemaId:P}=this.opts;return this.opts.defaultMeta=typeof q=="object"?q[P]||q:void 0}validate(q,P){let j;if(typeof q=="string"){if(j=this.getSchema(q),!j)throw new Error(`no schema with key or ref "${q}"`)}else j=this.compile(q);const M=j(P);return"$async"in j||(this.errors=j.errors),M}compile(q,P){const j=this._addSchema(q,P);return j.validate||this._compileSchemaEnv(j)}compileAsync(q,P){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:j}=this.opts;return M.call(this,q,P);async function M(de,H){await x.call(this,de.$schema);const Y=this._addSchema(de,H);return Y.validate||L.call(this,Y)}async function x(de){de&&!this.getSchema(de)&&await M.call(this,{$ref:de},!0)}async function L(de){try{return this._compileSchemaEnv(de)}catch(H){if(!(H instanceof f.default))throw H;return he.call(this,H),await fe.call(this,H.missingSchema),L.call(this,de)}}function he({missingSchema:de,missingRef:H}){if(this.refs[de])throw new Error(`AnySchema ${de} is loaded but ${H} cannot be resolved`)}async function fe(de){const H=await ae.call(this,de);this.refs[de]||await x.call(this,H.$schema),this.refs[de]||this.addSchema(H,de,P)}async function ae(de){const H=this._loading[de];if(H)return H;try{return await(this._loading[de]=j(de))}finally{delete this._loading[de]}}}addSchema(q,P,j,M=this.opts.validateSchema){if(Array.isArray(q)){for(const L of q)this.addSchema(L,void 0,j,M);return this}let x;if(typeof q=="object"){const{schemaId:L}=this.opts;if(x=q[L],x!==void 0&&typeof x!="string")throw new Error(`schema ${L} must be string`)}return P=(0,h.normalizeId)(P||x),this._checkUnique(P),this.schemas[P]=this._addSchema(q,j,P,M,!0),this}addMetaSchema(q,P,j=this.opts.validateSchema){return this.addSchema(q,P,!0,j),this}validateSchema(q,P){if(typeof q=="boolean")return!0;let j;if(j=q.$schema,j!==void 0&&typeof j!="string")throw new Error("$schema must be a string");if(j=j||this.opts.defaultMeta||this.defaultMeta(),!j)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const M=this.validate(j,q);if(!M&&P){const x="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(x);else throw new Error(x)}return M}getSchema(q){let P;for(;typeof(P=N.call(this,q))=="string";)q=P;if(P===void 0){const{schemaId:j}=this.opts,M=new p.SchemaEnv({schema:{},schemaId:j});if(P=p.resolveSchema.call(this,M,q),!P)return;this.refs[q]=P}return P.validate||this._compileSchemaEnv(P)}removeSchema(q){if(q instanceof RegExp)return this._removeAllSchemas(this.schemas,q),this._removeAllSchemas(this.refs,q),this;switch(typeof q){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const P=N.call(this,q);return typeof P=="object"&&this._cache.delete(P.schema),delete this.schemas[q],delete this.refs[q],this}case"object":{const P=q;this._cache.delete(P);let j=q[this.opts.schemaId];return j&&(j=(0,h.normalizeId)(j),delete this.schemas[j],delete this.refs[j]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(q){for(const P of q)this.addKeyword(P);return this}addKeyword(q,P){let j;if(typeof q=="string")j=q,typeof P=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),P.keyword=j);else if(typeof q=="object"&&P===void 0){if(P=q,j=P.keyword,Array.isArray(j)&&!j.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(oe.call(this,j,P),!P)return(0,y.eachItem)(j,x=>me.call(this,x)),this;se.call(this,P);const M={...P,type:(0,m.getJSONTypes)(P.type),schemaType:(0,m.getJSONTypes)(P.schemaType)};return(0,y.eachItem)(j,M.type.length===0?x=>me.call(this,x,M):x=>M.type.forEach(L=>me.call(this,x,M,L))),this}getKeyword(q){const P=this.RULES.all[q];return typeof P=="object"?P.definition:!!P}removeKeyword(q){const{RULES:P}=this;delete P.keywords[q],delete P.all[q];for(const j of P.rules){const M=j.rules.findIndex(x=>x.keyword===q);M>=0&&j.rules.splice(M,1)}return this}addFormat(q,P){return typeof P=="string"&&(P=new RegExp(P)),this.formats[q]=P,this}errorsText(q=this.errors,{separator:P=", ",dataVar:j="data"}={}){return!q||q.length===0?"No errors":q.map(M=>`${j}${M.instancePath} ${M.message}`).reduce((M,x)=>M+P+x)}$dataMetaSchema(q,P){const j=this.RULES.all;q=JSON.parse(JSON.stringify(q));for(const M of P){const x=M.split("/").slice(1);let L=q;for(const he of x)L=L[he];for(const he in j){const fe=j[he];if(typeof fe!="object")continue;const{$data:ae}=fe.definition,de=L[he];ae&&de&&(L[he]=ve(de))}}return q}_removeAllSchemas(q,P){for(const j in q){const M=q[j];(!P||P.test(j))&&(typeof M=="string"?delete q[j]:M&&!M.meta&&(this._cache.delete(M.schema),delete q[j]))}}_addSchema(q,P,j,M=this.opts.validateSchema,x=this.opts.addUsedSchema){let L;const{schemaId:he}=this.opts;if(typeof q=="object")L=q[he];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof q!="boolean")throw new Error("schema must be object or boolean")}let fe=this._cache.get(q);if(fe!==void 0)return fe;j=(0,h.normalizeId)(L||j);const ae=h.getSchemaRefs.call(this,q,j);return fe=new p.SchemaEnv({schema:q,schemaId:he,meta:P,baseId:j,localRefs:ae}),this._cache.set(fe.schema,fe),x&&!j.startsWith("#")&&(j&&this._checkUnique(j),this.refs[j]=fe),M&&this.validateSchema(q,!0),fe}_checkUnique(q){if(this.schemas[q]||this.refs[q])throw new Error(`schema with key or id "${q}" already exists`)}_compileSchemaEnv(q){if(q.meta?this._compileMetaSchema(q):p.compileSchema.call(this,q),!q.validate)throw new Error("ajv implementation error");return q.validate}_compileMetaSchema(q){const P=this.opts;this.opts=this._metaOpts;try{p.compileSchema.call(this,q)}finally{this.opts=P}}}A.ValidationError=u.default,A.MissingRefError=f.default,r.default=A;function _(z,q,P,j="error"){for(const M in z){const x=M;x in q&&this.logger[j](`${P}: option ${M}. ${z[x]}`)}}function N(z){return z=(0,h.normalizeId)(z),this.schemas[z]||this.refs[z]}function C(){const z=this.opts.schemas;if(z)if(Array.isArray(z))this.addSchema(z);else for(const q in z)this.addSchema(z[q],q)}function V(){for(const z in this.opts.formats){const q=this.opts.formats[z];q&&this.addFormat(z,q)}}function B(z){if(Array.isArray(z)){this.addVocabulary(z);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const q in z){const P=z[q];P.keyword||(P.keyword=q),this.addKeyword(P)}}function J(){const z={...this.opts};for(const q of w)delete z[q];return z}const W={log(){},warn(){},error(){}};function ue(z){if(z===!1)return W;if(z===void 0)return console;if(z.log&&z.warn&&z.error)return z;throw new Error("logger must implement log, warn and error methods")}const G=/^[a-z_$][a-z0-9_$:-]*$/i;function oe(z,q){const{RULES:P}=this;if((0,y.eachItem)(z,j=>{if(P.keywords[j])throw new Error(`Keyword ${j} is already defined`);if(!G.test(j))throw new Error(`Keyword ${j} has invalid name`)}),!!q&&q.$data&&!("code"in q||"validate"in q))throw new Error('$data keyword must have "code" or "validate" function')}function me(z,q,P){var j;const M=q?.post;if(P&&M)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:x}=this;let L=M?x.post:x.rules.find(({type:fe})=>fe===P);if(L||(L={type:P,rules:[]},x.rules.push(L)),x.keywords[z]=!0,!q)return;const he={keyword:z,definition:{...q,type:(0,m.getJSONTypes)(q.type),schemaType:(0,m.getJSONTypes)(q.schemaType)}};q.before?X.call(this,L,he,q.before):L.rules.push(he),x.all[z]=he,(j=q.implements)===null||j===void 0||j.forEach(fe=>this.addKeyword(fe))}function X(z,q,P){const j=z.rules.findIndex(M=>M.keyword===P);j>=0?z.rules.splice(j,0,q):(z.rules.push(q),this.logger.warn(`rule ${P} is not defined`))}function se(z){let{metaSchema:q}=z;q!==void 0&&(z.$data&&this.opts.$data&&(q=ve(q)),z.validateSchema=this.compile(q,!0))}const ie={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ve(z){return{anyOf:[z,ie]}}})(jf)),jf}var Hu={},Lu={},ku={},n0;function g2(){if(n0)return ku;n0=1,Object.defineProperty(ku,"__esModule",{value:!0});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ku.default=r,ku}var ya={},a0;function _2(){if(a0)return ya;a0=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.callRef=ya.getValidate=void 0;const r=Po(),i=fn(),o=Ae(),u=Ea(),f=Nd(),c=Ue(),p={keyword:"$ref",schemaType:"string",code(m){const{gen:y,schema:R,it:E}=m,{baseId:T,schemaEnv:w,validateName:O,opts:S,self:v}=E,{root:g}=w;if((R==="#"||R==="#/")&&T===g.baseId)return A();const b=f.resolveRef.call(v,g,T,R);if(b===void 0)throw new r.default(E.opts.uriResolver,T,R);if(b instanceof f.SchemaEnv)return _(b);return N(b);function A(){if(w===g)return h(m,O,w,w.$async);const C=y.scopeValue("root",{ref:g});return h(m,(0,o._)`${C}.validate`,g,g.$async)}function _(C){const V=d(m,C);h(m,V,C,C.$async)}function N(C){const V=y.scopeValue("schema",S.code.source===!0?{ref:C,code:(0,o.stringify)(C)}:{ref:C}),B=y.name("valid"),J=m.subschema({schema:C,dataTypes:[],schemaPath:o.nil,topSchemaRef:V,errSchemaPath:R},B);m.mergeEvaluated(J),m.ok(B)}}};function d(m,y){const{gen:R}=m;return y.validate?R.scopeValue("validate",{ref:y.validate}):(0,o._)`${R.scopeValue("wrapper",{ref:y})}.validate`}ya.getValidate=d;function h(m,y,R,E){const{gen:T,it:w}=m,{allErrors:O,schemaEnv:S,opts:v}=w,g=v.passContext?u.default.this:o.nil;E?b():A();function b(){if(!S.$async)throw new Error("async schema referenced by sync schema");const C=T.let("valid");T.try(()=>{T.code((0,o._)`await ${(0,i.callValidateCode)(m,y,g)}`),N(y),O||T.assign(C,!0)},V=>{T.if((0,o._)`!(${V} instanceof ${w.ValidationError})`,()=>T.throw(V)),_(V),O||T.assign(C,!1)}),m.ok(C)}function A(){m.result((0,i.callValidateCode)(m,y,g),()=>N(y),()=>_(y))}function _(C){const V=(0,o._)`${C}.errors`;T.assign(u.default.vErrors,(0,o._)`${u.default.vErrors} === null ? ${V} : ${u.default.vErrors}.concat(${V})`),T.assign(u.default.errors,(0,o._)`${u.default.vErrors}.length`)}function N(C){var V;if(!w.opts.unevaluated)return;const B=(V=R?.validate)===null||V===void 0?void 0:V.evaluated;if(w.props!==!0)if(B&&!B.dynamicProps)B.props!==void 0&&(w.props=c.mergeEvaluated.props(T,B.props,w.props));else{const J=T.var("props",(0,o._)`${C}.evaluated.props`);w.props=c.mergeEvaluated.props(T,J,w.props,o.Name)}if(w.items!==!0)if(B&&!B.dynamicItems)B.items!==void 0&&(w.items=c.mergeEvaluated.items(T,B.items,w.items));else{const J=T.var("items",(0,o._)`${C}.evaluated.items`);w.items=c.mergeEvaluated.items(T,J,w.items,o.Name)}}}return ya.callRef=h,ya.default=p,ya}var r0;function b2(){if(r0)return Lu;r0=1,Object.defineProperty(Lu,"__esModule",{value:!0});const r=g2(),i=_2(),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,i.default];return Lu.default=o,Lu}var Vu={},Bu={},i0;function S2(){if(i0)return Bu;i0=1,Object.defineProperty(Bu,"__esModule",{value:!0});const r=Ae(),i=r.operators,o={maximum:{okStr:"<=",ok:i.LTE,fail:i.GT},minimum:{okStr:">=",ok:i.GTE,fail:i.LT},exclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},exclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}},u={message:({keyword:c,schemaCode:p})=>(0,r.str)`must be ${o[c].okStr} ${p}`,params:({keyword:c,schemaCode:p})=>(0,r._)`{comparison: ${o[c].okStr}, limit: ${p}}`},f={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:u,code(c){const{keyword:p,data:d,schemaCode:h}=c;c.fail$data((0,r._)`${d} ${o[p].fail} ${h} || isNaN(${d})`)}};return Bu.default=f,Bu}var Pu={},l0;function E2(){if(l0)return Pu;l0=1,Object.defineProperty(Pu,"__esModule",{value:!0});const r=Ae(),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:u})=>(0,r.str)`must be multiple of ${u}`,params:({schemaCode:u})=>(0,r._)`{multipleOf: ${u}}`},code(u){const{gen:f,data:c,schemaCode:p,it:d}=u,h=d.opts.multipleOfPrecision,m=f.let("res"),y=h?(0,r._)`Math.abs(Math.round(${m}) - ${m}) > 1e-${h}`:(0,r._)`${m} !== parseInt(${m})`;u.fail$data((0,r._)`(${p} === 0 || (${m} = ${c}/${p}, ${y}))`)}};return Pu.default=o,Pu}var Yu={},Gu={},u0;function $2(){if(u0)return Gu;u0=1,Object.defineProperty(Gu,"__esModule",{value:!0});function r(i){const o=i.length;let u=0,f=0,c;for(;f<o;)u++,c=i.charCodeAt(f++),c>=55296&&c<=56319&&f<o&&(c=i.charCodeAt(f),(c&64512)===56320&&f++);return u}return Gu.default=r,r.code='require("ajv/dist/runtime/ucs2length").default',Gu}var o0;function O2(){if(o0)return Yu;o0=1,Object.defineProperty(Yu,"__esModule",{value:!0});const r=Ae(),i=Ue(),o=$2(),f={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:c,schemaCode:p}){const d=c==="maxLength"?"more":"fewer";return(0,r.str)`must NOT have ${d} than ${p} characters`},params:({schemaCode:c})=>(0,r._)`{limit: ${c}}`},code(c){const{keyword:p,data:d,schemaCode:h,it:m}=c,y=p==="maxLength"?r.operators.GT:r.operators.LT,R=m.opts.unicode===!1?(0,r._)`${d}.length`:(0,r._)`${(0,i.useFunc)(c.gen,o.default)}(${d})`;c.fail$data((0,r._)`${R} ${y} ${h}`)}};return Yu.default=f,Yu}var Ku={},s0;function w2(){if(s0)return Ku;s0=1,Object.defineProperty(Ku,"__esModule",{value:!0});const r=fn(),i=Ae(),u={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:f})=>(0,i.str)`must match pattern "${f}"`,params:({schemaCode:f})=>(0,i._)`{pattern: ${f}}`},code(f){const{data:c,$data:p,schema:d,schemaCode:h,it:m}=f,y=m.opts.unicodeRegExp?"u":"",R=p?(0,i._)`(new RegExp(${h}, ${y}))`:(0,r.usePattern)(f,d);f.fail$data((0,i._)`!${R}.test(${c})`)}};return Ku.default=u,Ku}var Xu={},c0;function R2(){if(c0)return Xu;c0=1,Object.defineProperty(Xu,"__esModule",{value:!0});const r=Ae(),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:u,schemaCode:f}){const c=u==="maxProperties"?"more":"fewer";return(0,r.str)`must NOT have ${c} than ${f} properties`},params:({schemaCode:u})=>(0,r._)`{limit: ${u}}`},code(u){const{keyword:f,data:c,schemaCode:p}=u,d=f==="maxProperties"?r.operators.GT:r.operators.LT;u.fail$data((0,r._)`Object.keys(${c}).length ${d} ${p}`)}};return Xu.default=o,Xu}var Qu={},f0;function T2(){if(f0)return Qu;f0=1,Object.defineProperty(Qu,"__esModule",{value:!0});const r=fn(),i=Ae(),o=Ue(),f={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:c}})=>(0,i.str)`must have required property '${c}'`,params:({params:{missingProperty:c}})=>(0,i._)`{missingProperty: ${c}}`},code(c){const{gen:p,schema:d,schemaCode:h,data:m,$data:y,it:R}=c,{opts:E}=R;if(!y&&d.length===0)return;const T=d.length>=E.loopRequired;if(R.allErrors?w():O(),E.strictRequired){const g=c.parentSchema.properties,{definedProperties:b}=c.it;for(const A of d)if(g?.[A]===void 0&&!b.has(A)){const _=R.schemaEnv.baseId+R.errSchemaPath,N=`required property "${A}" is not defined at "${_}" (strictRequired)`;(0,o.checkStrictMode)(R,N,R.opts.strictRequired)}}function w(){if(T||y)c.block$data(i.nil,S);else for(const g of d)(0,r.checkReportMissingProp)(c,g)}function O(){const g=p.let("missing");if(T||y){const b=p.let("valid",!0);c.block$data(b,()=>v(g,b)),c.ok(b)}else p.if((0,r.checkMissingProp)(c,d,g)),(0,r.reportMissingProp)(c,g),p.else()}function S(){p.forOf("prop",h,g=>{c.setParams({missingProperty:g}),p.if((0,r.noPropertyInData)(p,m,g,E.ownProperties),()=>c.error())})}function v(g,b){c.setParams({missingProperty:g}),p.forOf(g,h,()=>{p.assign(b,(0,r.propertyInData)(p,m,g,E.ownProperties)),p.if((0,i.not)(b),()=>{c.error(),p.break()})},i.nil)}}};return Qu.default=f,Qu}var Zu={},d0;function A2(){if(d0)return Zu;d0=1,Object.defineProperty(Zu,"__esModule",{value:!0});const r=Ae(),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:u,schemaCode:f}){const c=u==="maxItems"?"more":"fewer";return(0,r.str)`must NOT have ${c} than ${f} items`},params:({schemaCode:u})=>(0,r._)`{limit: ${u}}`},code(u){const{keyword:f,data:c,schemaCode:p}=u,d=f==="maxItems"?r.operators.GT:r.operators.LT;u.fail$data((0,r._)`${c}.length ${d} ${p}`)}};return Zu.default=o,Zu}var Ju={},Fu={},h0;function Md(){if(h0)return Fu;h0=1,Object.defineProperty(Fu,"__esModule",{value:!0});const r=Xg();return r.code='require("ajv/dist/runtime/equal").default',Fu.default=r,Fu}var m0;function N2(){if(m0)return Ju;m0=1,Object.defineProperty(Ju,"__esModule",{value:!0});const r=Do(),i=Ae(),o=Ue(),u=Md(),c={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:p,j:d}})=>(0,i.str)`must NOT have duplicate items (items ## ${d} and ${p} are identical)`,params:({params:{i:p,j:d}})=>(0,i._)`{i: ${p}, j: ${d}}`},code(p){const{gen:d,data:h,$data:m,schema:y,parentSchema:R,schemaCode:E,it:T}=p;if(!m&&!y)return;const w=d.let("valid"),O=R.items?(0,r.getSchemaTypes)(R.items):[];p.block$data(w,S,(0,i._)`${E} === false`),p.ok(w);function S(){const A=d.let("i",(0,i._)`${h}.length`),_=d.let("j");p.setParams({i:A,j:_}),d.assign(w,!0),d.if((0,i._)`${A} > 1`,()=>(v()?g:b)(A,_))}function v(){return O.length>0&&!O.some(A=>A==="object"||A==="array")}function g(A,_){const N=d.name("item"),C=(0,r.checkDataTypes)(O,N,T.opts.strictNumbers,r.DataType.Wrong),V=d.const("indices",(0,i._)`{}`);d.for((0,i._)`;${A}--;`,()=>{d.let(N,(0,i._)`${h}[${A}]`),d.if(C,(0,i._)`continue`),O.length>1&&d.if((0,i._)`typeof ${N} == "string"`,(0,i._)`${N} += "_"`),d.if((0,i._)`typeof ${V}[${N}] == "number"`,()=>{d.assign(_,(0,i._)`${V}[${N}]`),p.error(),d.assign(w,!1).break()}).code((0,i._)`${V}[${N}] = ${A}`)})}function b(A,_){const N=(0,o.useFunc)(d,u.default),C=d.name("outer");d.label(C).for((0,i._)`;${A}--;`,()=>d.for((0,i._)`${_} = ${A}; ${_}--;`,()=>d.if((0,i._)`${N}(${h}[${A}], ${h}[${_}])`,()=>{p.error(),d.assign(w,!1).break(C)})))}}};return Ju.default=c,Ju}var Iu={},p0;function M2(){if(p0)return Iu;p0=1,Object.defineProperty(Iu,"__esModule",{value:!0});const r=Ae(),i=Ue(),o=Md(),f={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:c})=>(0,r._)`{allowedValue: ${c}}`},code(c){const{gen:p,data:d,$data:h,schemaCode:m,schema:y}=c;h||y&&typeof y=="object"?c.fail$data((0,r._)`!${(0,i.useFunc)(p,o.default)}(${d}, ${m})`):c.fail((0,r._)`${y} !== ${d}`)}};return Iu.default=f,Iu}var Wu={},v0;function D2(){if(v0)return Wu;v0=1,Object.defineProperty(Wu,"__esModule",{value:!0});const r=Ae(),i=Ue(),o=Md(),f={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:c})=>(0,r._)`{allowedValues: ${c}}`},code(c){const{gen:p,data:d,$data:h,schema:m,schemaCode:y,it:R}=c;if(!h&&m.length===0)throw new Error("enum must have non-empty array");const E=m.length>=R.opts.loopEnum;let T;const w=()=>T??(T=(0,i.useFunc)(p,o.default));let O;if(E||h)O=p.let("valid"),c.block$data(O,S);else{if(!Array.isArray(m))throw new Error("ajv implementation error");const g=p.const("vSchema",y);O=(0,r.or)(...m.map((b,A)=>v(g,A)))}c.pass(O);function S(){p.assign(O,!1),p.forOf("v",y,g=>p.if((0,r._)`${w()}(${d}, ${g})`,()=>p.assign(O,!0).break()))}function v(g,b){const A=m[b];return typeof A=="object"&&A!==null?(0,r._)`${w()}(${d}, ${g}[${b}])`:(0,r._)`${d} === ${A}`}}};return Wu.default=f,Wu}var y0;function C2(){if(y0)return Vu;y0=1,Object.defineProperty(Vu,"__esModule",{value:!0});const r=S2(),i=E2(),o=O2(),u=w2(),f=R2(),c=T2(),p=A2(),d=N2(),h=M2(),m=D2(),y=[r.default,i.default,o.default,u.default,f.default,c.default,p.default,d.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},h.default,m.default];return Vu.default=y,Vu}var eo={},Lr={},g0;function Zg(){if(g0)return Lr;g0=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.validateAdditionalItems=void 0;const r=Ae(),i=Ue(),u={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:c}})=>(0,r.str)`must NOT have more than ${c} items`,params:({params:{len:c}})=>(0,r._)`{limit: ${c}}`},code(c){const{parentSchema:p,it:d}=c,{items:h}=p;if(!Array.isArray(h)){(0,i.checkStrictMode)(d,'"additionalItems" is ignored when "items" is not an array of schemas');return}f(c,h)}};function f(c,p){const{gen:d,schema:h,data:m,keyword:y,it:R}=c;R.items=!0;const E=d.const("len",(0,r._)`${m}.length`);if(h===!1)c.setParams({len:p.length}),c.pass((0,r._)`${E} <= ${p.length}`);else if(typeof h=="object"&&!(0,i.alwaysValidSchema)(R,h)){const w=d.var("valid",(0,r._)`${E} <= ${p.length}`);d.if((0,r.not)(w),()=>T(w)),c.ok(w)}function T(w){d.forRange("i",p.length,E,O=>{c.subschema({keyword:y,dataProp:O,dataPropType:i.Type.Num},w),R.allErrors||d.if((0,r.not)(w),()=>d.break())})}}return Lr.validateAdditionalItems=f,Lr.default=u,Lr}var to={},kr={},_0;function Jg(){if(_0)return kr;_0=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.validateTuple=void 0;const r=Ae(),i=Ue(),o=fn(),u={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(c){const{schema:p,it:d}=c;if(Array.isArray(p))return f(c,"additionalItems",p);d.items=!0,!(0,i.alwaysValidSchema)(d,p)&&c.ok((0,o.validateArray)(c))}};function f(c,p,d=c.schema){const{gen:h,parentSchema:m,data:y,keyword:R,it:E}=c;O(m),E.opts.unevaluated&&d.length&&E.items!==!0&&(E.items=i.mergeEvaluated.items(h,d.length,E.items));const T=h.name("valid"),w=h.const("len",(0,r._)`${y}.length`);d.forEach((S,v)=>{(0,i.alwaysValidSchema)(E,S)||(h.if((0,r._)`${w} > ${v}`,()=>c.subschema({keyword:R,schemaProp:v,dataProp:v},T)),c.ok(T))});function O(S){const{opts:v,errSchemaPath:g}=E,b=d.length,A=b===S.minItems&&(b===S.maxItems||S[p]===!1);if(v.strictTuples&&!A){const _=`"${R}" is ${b}-tuple, but minItems or maxItems/${p} are not specified or different at path "${g}"`;(0,i.checkStrictMode)(E,_,v.strictTuples)}}}return kr.validateTuple=f,kr.default=u,kr}var b0;function z2(){if(b0)return to;b0=1,Object.defineProperty(to,"__esModule",{value:!0});const r=Jg(),i={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:o=>(0,r.validateTuple)(o,"items")};return to.default=i,to}var no={},S0;function q2(){if(S0)return no;S0=1,Object.defineProperty(no,"__esModule",{value:!0});const r=Ae(),i=Ue(),o=fn(),u=Zg(),c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:p}})=>(0,r.str)`must NOT have more than ${p} items`,params:({params:{len:p}})=>(0,r._)`{limit: ${p}}`},code(p){const{schema:d,parentSchema:h,it:m}=p,{prefixItems:y}=h;m.items=!0,!(0,i.alwaysValidSchema)(m,d)&&(y?(0,u.validateAdditionalItems)(p,y):p.ok((0,o.validateArray)(p)))}};return no.default=c,no}var ao={},E0;function x2(){if(E0)return ao;E0=1,Object.defineProperty(ao,"__esModule",{value:!0});const r=Ae(),i=Ue(),u={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:f,max:c}})=>c===void 0?(0,r.str)`must contain at least ${f} valid item(s)`:(0,r.str)`must contain at least ${f} and no more than ${c} valid item(s)`,params:({params:{min:f,max:c}})=>c===void 0?(0,r._)`{minContains: ${f}}`:(0,r._)`{minContains: ${f}, maxContains: ${c}}`},code(f){const{gen:c,schema:p,parentSchema:d,data:h,it:m}=f;let y,R;const{minContains:E,maxContains:T}=d;m.opts.next?(y=E===void 0?1:E,R=T):y=1;const w=c.const("len",(0,r._)`${h}.length`);if(f.setParams({min:y,max:R}),R===void 0&&y===0){(0,i.checkStrictMode)(m,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(R!==void 0&&y>R){(0,i.checkStrictMode)(m,'"minContains" > "maxContains" is always invalid'),f.fail();return}if((0,i.alwaysValidSchema)(m,p)){let b=(0,r._)`${w} >= ${y}`;R!==void 0&&(b=(0,r._)`${b} && ${w} <= ${R}`),f.pass(b);return}m.items=!0;const O=c.name("valid");R===void 0&&y===1?v(O,()=>c.if(O,()=>c.break())):y===0?(c.let(O,!0),R!==void 0&&c.if((0,r._)`${h}.length > 0`,S)):(c.let(O,!1),S()),f.result(O,()=>f.reset());function S(){const b=c.name("_valid"),A=c.let("count",0);v(b,()=>c.if(b,()=>g(A)))}function v(b,A){c.forRange("i",0,w,_=>{f.subschema({keyword:"contains",dataProp:_,dataPropType:i.Type.Num,compositeRule:!0},b),A()})}function g(b){c.code((0,r._)`${b}++`),R===void 0?c.if((0,r._)`${b} >= ${y}`,()=>c.assign(O,!0).break()):(c.if((0,r._)`${b} > ${R}`,()=>c.assign(O,!1).break()),y===1?c.assign(O,!0):c.if((0,r._)`${b} >= ${y}`,()=>c.assign(O,!0)))}}};return ao.default=u,ao}var Gf={},$0;function j2(){return $0||($0=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.validateSchemaDeps=r.validatePropertyDeps=r.error=void 0;const i=Ae(),o=Ue(),u=fn();r.error={message:({params:{property:h,depsCount:m,deps:y}})=>{const R=m===1?"property":"properties";return(0,i.str)`must have ${R} ${y} when property ${h} is present`},params:({params:{property:h,depsCount:m,deps:y,missingProperty:R}})=>(0,i._)`{property: ${h},
98
+ missingProperty: ${R},
99
+ depsCount: ${m},
100
+ deps: ${y}}`};const f={keyword:"dependencies",type:"object",schemaType:"object",error:r.error,code(h){const[m,y]=c(h);p(h,m),d(h,y)}};function c({schema:h}){const m={},y={};for(const R in h){if(R==="__proto__")continue;const E=Array.isArray(h[R])?m:y;E[R]=h[R]}return[m,y]}function p(h,m=h.schema){const{gen:y,data:R,it:E}=h;if(Object.keys(m).length===0)return;const T=y.let("missing");for(const w in m){const O=m[w];if(O.length===0)continue;const S=(0,u.propertyInData)(y,R,w,E.opts.ownProperties);h.setParams({property:w,depsCount:O.length,deps:O.join(", ")}),E.allErrors?y.if(S,()=>{for(const v of O)(0,u.checkReportMissingProp)(h,v)}):(y.if((0,i._)`${S} && (${(0,u.checkMissingProp)(h,O,T)})`),(0,u.reportMissingProp)(h,T),y.else())}}r.validatePropertyDeps=p;function d(h,m=h.schema){const{gen:y,data:R,keyword:E,it:T}=h,w=y.name("valid");for(const O in m)(0,o.alwaysValidSchema)(T,m[O])||(y.if((0,u.propertyInData)(y,R,O,T.opts.ownProperties),()=>{const S=h.subschema({keyword:E,schemaProp:O},w);h.mergeValidEvaluated(S,w)},()=>y.var(w,!0)),h.ok(w))}r.validateSchemaDeps=d,r.default=f})(Gf)),Gf}var ro={},O0;function U2(){if(O0)return ro;O0=1,Object.defineProperty(ro,"__esModule",{value:!0});const r=Ae(),i=Ue(),u={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:f})=>(0,r._)`{propertyName: ${f.propertyName}}`},code(f){const{gen:c,schema:p,data:d,it:h}=f;if((0,i.alwaysValidSchema)(h,p))return;const m=c.name("valid");c.forIn("key",d,y=>{f.setParams({propertyName:y}),f.subschema({keyword:"propertyNames",data:y,dataTypes:["string"],propertyName:y,compositeRule:!0},m),c.if((0,r.not)(m),()=>{f.error(!0),h.allErrors||c.break()})}),f.ok(m)}};return ro.default=u,ro}var io={},w0;function Fg(){if(w0)return io;w0=1,Object.defineProperty(io,"__esModule",{value:!0});const r=fn(),i=Ae(),o=Ea(),u=Ue(),c={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:p})=>(0,i._)`{additionalProperty: ${p.additionalProperty}}`},code(p){const{gen:d,schema:h,parentSchema:m,data:y,errsCount:R,it:E}=p;if(!R)throw new Error("ajv implementation error");const{allErrors:T,opts:w}=E;if(E.props=!0,w.removeAdditional!=="all"&&(0,u.alwaysValidSchema)(E,h))return;const O=(0,r.allSchemaProperties)(m.properties),S=(0,r.allSchemaProperties)(m.patternProperties);v(),p.ok((0,i._)`${R} === ${o.default.errors}`);function v(){d.forIn("key",y,N=>{!O.length&&!S.length?A(N):d.if(g(N),()=>A(N))})}function g(N){let C;if(O.length>8){const V=(0,u.schemaRefOrVal)(E,m.properties,"properties");C=(0,r.isOwnProperty)(d,V,N)}else O.length?C=(0,i.or)(...O.map(V=>(0,i._)`${N} === ${V}`)):C=i.nil;return S.length&&(C=(0,i.or)(C,...S.map(V=>(0,i._)`${(0,r.usePattern)(p,V)}.test(${N})`))),(0,i.not)(C)}function b(N){d.code((0,i._)`delete ${y}[${N}]`)}function A(N){if(w.removeAdditional==="all"||w.removeAdditional&&h===!1){b(N);return}if(h===!1){p.setParams({additionalProperty:N}),p.error(),T||d.break();return}if(typeof h=="object"&&!(0,u.alwaysValidSchema)(E,h)){const C=d.name("valid");w.removeAdditional==="failing"?(_(N,C,!1),d.if((0,i.not)(C),()=>{p.reset(),b(N)})):(_(N,C),T||d.if((0,i.not)(C),()=>d.break()))}}function _(N,C,V){const B={keyword:"additionalProperties",dataProp:N,dataPropType:u.Type.Str};V===!1&&Object.assign(B,{compositeRule:!0,createErrors:!1,allErrors:!1}),p.subschema(B,C)}}};return io.default=c,io}var lo={},R0;function H2(){if(R0)return lo;R0=1,Object.defineProperty(lo,"__esModule",{value:!0});const r=Bo(),i=fn(),o=Ue(),u=Fg(),f={keyword:"properties",type:"object",schemaType:"object",code(c){const{gen:p,schema:d,parentSchema:h,data:m,it:y}=c;y.opts.removeAdditional==="all"&&h.additionalProperties===void 0&&u.default.code(new r.KeywordCxt(y,u.default,"additionalProperties"));const R=(0,i.allSchemaProperties)(d);for(const S of R)y.definedProperties.add(S);y.opts.unevaluated&&R.length&&y.props!==!0&&(y.props=o.mergeEvaluated.props(p,(0,o.toHash)(R),y.props));const E=R.filter(S=>!(0,o.alwaysValidSchema)(y,d[S]));if(E.length===0)return;const T=p.name("valid");for(const S of E)w(S)?O(S):(p.if((0,i.propertyInData)(p,m,S,y.opts.ownProperties)),O(S),y.allErrors||p.else().var(T,!0),p.endIf()),c.it.definedProperties.add(S),c.ok(T);function w(S){return y.opts.useDefaults&&!y.compositeRule&&d[S].default!==void 0}function O(S){c.subschema({keyword:"properties",schemaProp:S,dataProp:S},T)}}};return lo.default=f,lo}var uo={},T0;function L2(){if(T0)return uo;T0=1,Object.defineProperty(uo,"__esModule",{value:!0});const r=fn(),i=Ae(),o=Ue(),u=Ue(),f={keyword:"patternProperties",type:"object",schemaType:"object",code(c){const{gen:p,schema:d,data:h,parentSchema:m,it:y}=c,{opts:R}=y,E=(0,r.allSchemaProperties)(d),T=E.filter(A=>(0,o.alwaysValidSchema)(y,d[A]));if(E.length===0||T.length===E.length&&(!y.opts.unevaluated||y.props===!0))return;const w=R.strictSchema&&!R.allowMatchingProperties&&m.properties,O=p.name("valid");y.props!==!0&&!(y.props instanceof i.Name)&&(y.props=(0,u.evaluatedPropsToName)(p,y.props));const{props:S}=y;v();function v(){for(const A of E)w&&g(A),y.allErrors?b(A):(p.var(O,!0),b(A),p.if(O))}function g(A){for(const _ in w)new RegExp(A).test(_)&&(0,o.checkStrictMode)(y,`property ${_} matches pattern ${A} (use allowMatchingProperties)`)}function b(A){p.forIn("key",h,_=>{p.if((0,i._)`${(0,r.usePattern)(c,A)}.test(${_})`,()=>{const N=T.includes(A);N||c.subschema({keyword:"patternProperties",schemaProp:A,dataProp:_,dataPropType:u.Type.Str},O),y.opts.unevaluated&&S!==!0?p.assign((0,i._)`${S}[${_}]`,!0):!N&&!y.allErrors&&p.if((0,i.not)(O),()=>p.break())})})}}};return uo.default=f,uo}var oo={},A0;function k2(){if(A0)return oo;A0=1,Object.defineProperty(oo,"__esModule",{value:!0});const r=Ue(),i={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:u,schema:f,it:c}=o;if((0,r.alwaysValidSchema)(c,f)){o.fail();return}const p=u.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},p),o.failResult(p,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return oo.default=i,oo}var so={},N0;function V2(){if(N0)return so;N0=1,Object.defineProperty(so,"__esModule",{value:!0});const i={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:fn().validateUnion,error:{message:"must match a schema in anyOf"}};return so.default=i,so}var co={},M0;function B2(){if(M0)return co;M0=1,Object.defineProperty(co,"__esModule",{value:!0});const r=Ae(),i=Ue(),u={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:f})=>(0,r._)`{passingSchemas: ${f.passing}}`},code(f){const{gen:c,schema:p,parentSchema:d,it:h}=f;if(!Array.isArray(p))throw new Error("ajv implementation error");if(h.opts.discriminator&&d.discriminator)return;const m=p,y=c.let("valid",!1),R=c.let("passing",null),E=c.name("_valid");f.setParams({passing:R}),c.block(T),f.result(y,()=>f.reset(),()=>f.error(!0));function T(){m.forEach((w,O)=>{let S;(0,i.alwaysValidSchema)(h,w)?c.var(E,!0):S=f.subschema({keyword:"oneOf",schemaProp:O,compositeRule:!0},E),O>0&&c.if((0,r._)`${E} && ${y}`).assign(y,!1).assign(R,(0,r._)`[${R}, ${O}]`).else(),c.if(E,()=>{c.assign(y,!0),c.assign(R,O),S&&f.mergeEvaluated(S,r.Name)})})}}};return co.default=u,co}var fo={},D0;function P2(){if(D0)return fo;D0=1,Object.defineProperty(fo,"__esModule",{value:!0});const r=Ue(),i={keyword:"allOf",schemaType:"array",code(o){const{gen:u,schema:f,it:c}=o;if(!Array.isArray(f))throw new Error("ajv implementation error");const p=u.name("valid");f.forEach((d,h)=>{if((0,r.alwaysValidSchema)(c,d))return;const m=o.subschema({keyword:"allOf",schemaProp:h},p);o.ok(p),o.mergeEvaluated(m)})}};return fo.default=i,fo}var ho={},C0;function Y2(){if(C0)return ho;C0=1,Object.defineProperty(ho,"__esModule",{value:!0});const r=Ae(),i=Ue(),u={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:c})=>(0,r.str)`must match "${c.ifClause}" schema`,params:({params:c})=>(0,r._)`{failingKeyword: ${c.ifClause}}`},code(c){const{gen:p,parentSchema:d,it:h}=c;d.then===void 0&&d.else===void 0&&(0,i.checkStrictMode)(h,'"if" without "then" and "else" is ignored');const m=f(h,"then"),y=f(h,"else");if(!m&&!y)return;const R=p.let("valid",!0),E=p.name("_valid");if(T(),c.reset(),m&&y){const O=p.let("ifClause");c.setParams({ifClause:O}),p.if(E,w("then",O),w("else",O))}else m?p.if(E,w("then")):p.if((0,r.not)(E),w("else"));c.pass(R,()=>c.error(!0));function T(){const O=c.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},E);c.mergeEvaluated(O)}function w(O,S){return()=>{const v=c.subschema({keyword:O},E);p.assign(R,E),c.mergeValidEvaluated(v,R),S?p.assign(S,(0,r._)`${O}`):c.setParams({ifClause:O})}}}};function f(c,p){const d=c.schema[p];return d!==void 0&&!(0,i.alwaysValidSchema)(c,d)}return ho.default=u,ho}var mo={},z0;function G2(){if(z0)return mo;z0=1,Object.defineProperty(mo,"__esModule",{value:!0});const r=Ue(),i={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:u,it:f}){u.if===void 0&&(0,r.checkStrictMode)(f,`"${o}" without "if" is ignored`)}};return mo.default=i,mo}var q0;function K2(){if(q0)return eo;q0=1,Object.defineProperty(eo,"__esModule",{value:!0});const r=Zg(),i=z2(),o=Jg(),u=q2(),f=x2(),c=j2(),p=U2(),d=Fg(),h=H2(),m=L2(),y=k2(),R=V2(),E=B2(),T=P2(),w=Y2(),O=G2();function S(v=!1){const g=[y.default,R.default,E.default,T.default,w.default,O.default,p.default,d.default,c.default,h.default,m.default];return v?g.push(i.default,u.default):g.push(r.default,o.default),g.push(f.default),g}return eo.default=S,eo}var po={},vo={},x0;function X2(){if(x0)return vo;x0=1,Object.defineProperty(vo,"__esModule",{value:!0});const r=Ae(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:u})=>(0,r.str)`must match format "${u}"`,params:({schemaCode:u})=>(0,r._)`{format: ${u}}`},code(u,f){const{gen:c,data:p,$data:d,schema:h,schemaCode:m,it:y}=u,{opts:R,errSchemaPath:E,schemaEnv:T,self:w}=y;if(!R.validateFormats)return;d?O():S();function O(){const v=c.scopeValue("formats",{ref:w.formats,code:R.code.formats}),g=c.const("fDef",(0,r._)`${v}[${m}]`),b=c.let("fType"),A=c.let("format");c.if((0,r._)`typeof ${g} == "object" && !(${g} instanceof RegExp)`,()=>c.assign(b,(0,r._)`${g}.type || "string"`).assign(A,(0,r._)`${g}.validate`),()=>c.assign(b,(0,r._)`"string"`).assign(A,g)),u.fail$data((0,r.or)(_(),N()));function _(){return R.strictSchema===!1?r.nil:(0,r._)`${m} && !${A}`}function N(){const C=T.$async?(0,r._)`(${g}.async ? await ${A}(${p}) : ${A}(${p}))`:(0,r._)`${A}(${p})`,V=(0,r._)`(typeof ${A} == "function" ? ${C} : ${A}.test(${p}))`;return(0,r._)`${A} && ${A} !== true && ${b} === ${f} && !${V}`}}function S(){const v=w.formats[h];if(!v){_();return}if(v===!0)return;const[g,b,A]=N(v);g===f&&u.pass(C());function _(){if(R.strictSchema===!1){w.logger.warn(V());return}throw new Error(V());function V(){return`unknown format "${h}" ignored in schema at path "${E}"`}}function N(V){const B=V instanceof RegExp?(0,r.regexpCode)(V):R.code.formats?(0,r._)`${R.code.formats}${(0,r.getProperty)(h)}`:void 0,J=c.scopeValue("formats",{key:h,ref:V,code:B});return typeof V=="object"&&!(V instanceof RegExp)?[V.type||"string",V.validate,(0,r._)`${J}.validate`]:["string",V,J]}function C(){if(typeof v=="object"&&!(v instanceof RegExp)&&v.async){if(!T.$async)throw new Error("async format in sync schema");return(0,r._)`await ${A}(${p})`}return typeof b=="function"?(0,r._)`${A}(${p})`:(0,r._)`${A}.test(${p})`}}}};return vo.default=o,vo}var j0;function Q2(){if(j0)return po;j0=1,Object.defineProperty(po,"__esModule",{value:!0});const i=[X2().default];return po.default=i,po}var Pa={},U0;function Z2(){return U0||(U0=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.contentVocabulary=Pa.metadataVocabulary=void 0,Pa.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Pa.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Pa}var H0;function J2(){if(H0)return Hu;H0=1,Object.defineProperty(Hu,"__esModule",{value:!0});const r=b2(),i=C2(),o=K2(),u=Q2(),f=Z2(),c=[r.default,i.default,(0,o.default)(),u.default,f.metadataVocabulary,f.contentVocabulary];return Hu.default=c,Hu}var yo={},nl={},L0;function F2(){if(L0)return nl;L0=1,Object.defineProperty(nl,"__esModule",{value:!0}),nl.DiscrError=void 0;var r;return(function(i){i.Tag="tag",i.Mapping="mapping"})(r||(nl.DiscrError=r={})),nl}var k0;function I2(){if(k0)return yo;k0=1,Object.defineProperty(yo,"__esModule",{value:!0});const r=Ae(),i=F2(),o=Nd(),u=Po(),f=Ue(),p={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:d,tagName:h}})=>d===i.DiscrError.Tag?`tag "${h}" must be string`:`value of tag "${h}" must be in oneOf`,params:({params:{discrError:d,tag:h,tagName:m}})=>(0,r._)`{error: ${d}, tag: ${m}, tagValue: ${h}}`},code(d){const{gen:h,data:m,schema:y,parentSchema:R,it:E}=d,{oneOf:T}=R;if(!E.opts.discriminator)throw new Error("discriminator: requires discriminator option");const w=y.propertyName;if(typeof w!="string")throw new Error("discriminator: requires propertyName");if(y.mapping)throw new Error("discriminator: mapping is not supported");if(!T)throw new Error("discriminator: requires oneOf keyword");const O=h.let("valid",!1),S=h.const("tag",(0,r._)`${m}${(0,r.getProperty)(w)}`);h.if((0,r._)`typeof ${S} == "string"`,()=>v(),()=>d.error(!1,{discrError:i.DiscrError.Tag,tag:S,tagName:w})),d.ok(O);function v(){const A=b();h.if(!1);for(const _ in A)h.elseIf((0,r._)`${S} === ${_}`),h.assign(O,g(A[_]));h.else(),d.error(!1,{discrError:i.DiscrError.Mapping,tag:S,tagName:w}),h.endIf()}function g(A){const _=h.name("valid"),N=d.subschema({keyword:"oneOf",schemaProp:A},_);return d.mergeEvaluated(N,r.Name),_}function b(){var A;const _={},N=V(R);let C=!0;for(let W=0;W<T.length;W++){let ue=T[W];if(ue?.$ref&&!(0,f.schemaHasRulesButRef)(ue,E.self.RULES)){const oe=ue.$ref;if(ue=o.resolveRef.call(E.self,E.schemaEnv.root,E.baseId,oe),ue instanceof o.SchemaEnv&&(ue=ue.schema),ue===void 0)throw new u.default(E.opts.uriResolver,E.baseId,oe)}const G=(A=ue?.properties)===null||A===void 0?void 0:A[w];if(typeof G!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${w}"`);C=C&&(N||V(ue)),B(G,W)}if(!C)throw new Error(`discriminator: "${w}" must be required`);return _;function V({required:W}){return Array.isArray(W)&&W.includes(w)}function B(W,ue){if(W.const)J(W.const,ue);else if(W.enum)for(const G of W.enum)J(G,ue);else throw new Error(`discriminator: "properties/${w}" must have "const" or "enum"`)}function J(W,ue){if(typeof W!="string"||W in _)throw new Error(`discriminator: "${w}" values must be unique strings`);_[W]=ue}}}};return yo.default=p,yo}const W2="http://json-schema.org/draft-07/schema#",ew="http://json-schema.org/draft-07/schema#",tw="Core schema meta-schema",nw={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},aw=["object","boolean"],rw={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},iw={$schema:W2,$id:ew,title:tw,definitions:nw,type:aw,properties:rw,default:!0};var V0;function Ig(){return V0||(V0=1,(function(r,i){Object.defineProperty(i,"__esModule",{value:!0}),i.MissingRefError=i.ValidationError=i.CodeGen=i.Name=i.nil=i.stringify=i.str=i._=i.KeywordCxt=i.Ajv=void 0;const o=y2(),u=J2(),f=I2(),c=iw,p=["/properties"],d="http://json-schema.org/draft-07/schema";class h extends o.default{_addVocabularies(){super._addVocabularies(),u.default.forEach(w=>this.addVocabulary(w)),this.opts.discriminator&&this.addKeyword(f.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const w=this.opts.$data?this.$dataMetaSchema(c,p):c;this.addMetaSchema(w,d,!1),this.refs["http://json-schema.org/schema"]=d}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(d)?d:void 0)}}i.Ajv=h,r.exports=i=h,r.exports.Ajv=h,Object.defineProperty(i,"__esModule",{value:!0}),i.default=h;var m=Bo();Object.defineProperty(i,"KeywordCxt",{enumerable:!0,get:function(){return m.KeywordCxt}});var y=Ae();Object.defineProperty(i,"_",{enumerable:!0,get:function(){return y._}}),Object.defineProperty(i,"str",{enumerable:!0,get:function(){return y.str}}),Object.defineProperty(i,"stringify",{enumerable:!0,get:function(){return y.stringify}}),Object.defineProperty(i,"nil",{enumerable:!0,get:function(){return y.nil}}),Object.defineProperty(i,"Name",{enumerable:!0,get:function(){return y.Name}}),Object.defineProperty(i,"CodeGen",{enumerable:!0,get:function(){return y.CodeGen}});var R=Ad();Object.defineProperty(i,"ValidationError",{enumerable:!0,get:function(){return R.default}});var E=Po();Object.defineProperty(i,"MissingRefError",{enumerable:!0,get:function(){return E.default}})})(zu,zu.exports)),zu.exports}var lw=Ig();const jw=Ia(lw);var go={exports:{}},Kf={},B0;function uw(){return B0||(B0=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatNames=r.fastFormats=r.fullFormats=void 0;function i(B,J){return{validate:B,compare:J}}r.fullFormats={date:i(c,p),time:i(h,m),"date-time":i(R,E),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:O,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:V,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:v,int32:{type:"number",validate:A},int64:{type:"number",validate:_},float:{type:"number",validate:N},double:{type:"number",validate:N},password:!0,binary:!0},r.fastFormats={...r.fullFormats,date:i(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,p),time:i(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),"date-time":i(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,E),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},r.formatNames=Object.keys(r.fullFormats);function o(B){return B%4===0&&(B%100!==0||B%400===0)}const u=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,f=[0,31,28,31,30,31,30,31,31,30,31,30,31];function c(B){const J=u.exec(B);if(!J)return!1;const W=+J[1],ue=+J[2],G=+J[3];return ue>=1&&ue<=12&&G>=1&&G<=(ue===2&&o(W)?29:f[ue])}function p(B,J){if(B&&J)return B>J?1:B<J?-1:0}const d=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function h(B,J){const W=d.exec(B);if(!W)return!1;const ue=+W[1],G=+W[2],oe=+W[3],me=W[5];return(ue<=23&&G<=59&&oe<=59||ue===23&&G===59&&oe===60)&&(!J||me!=="")}function m(B,J){if(!(B&&J))return;const W=d.exec(B),ue=d.exec(J);if(W&&ue)return B=W[1]+W[2]+W[3]+(W[4]||""),J=ue[1]+ue[2]+ue[3]+(ue[4]||""),B>J?1:B<J?-1:0}const y=/t|\s/i;function R(B){const J=B.split(y);return J.length===2&&c(J[0])&&h(J[1],!0)}function E(B,J){if(!(B&&J))return;const[W,ue]=B.split(y),[G,oe]=J.split(y),me=p(W,G);if(me!==void 0)return me||m(ue,oe)}const T=/\/|:/,w=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function O(B){return T.test(B)&&w.test(B)}const S=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function v(B){return S.lastIndex=0,S.test(B)}const g=-2147483648,b=2**31-1;function A(B){return Number.isInteger(B)&&B<=b&&B>=g}function _(B){return Number.isInteger(B)}function N(){return!0}const C=/[^\\]\\Z/;function V(B){if(C.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(Kf)),Kf}var Xf={},P0;function ow(){return P0||(P0=1,(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.formatLimitDefinition=void 0;const i=Ig(),o=Ae(),u=o.operators,f={formatMaximum:{okStr:"<=",ok:u.LTE,fail:u.GT},formatMinimum:{okStr:">=",ok:u.GTE,fail:u.LT},formatExclusiveMaximum:{okStr:"<",ok:u.LT,fail:u.GTE},formatExclusiveMinimum:{okStr:">",ok:u.GT,fail:u.LTE}},c={message:({keyword:d,schemaCode:h})=>o.str`should be ${f[d].okStr} ${h}`,params:({keyword:d,schemaCode:h})=>o._`{comparison: ${f[d].okStr}, limit: ${h}}`};r.formatLimitDefinition={keyword:Object.keys(f),type:"string",schemaType:"string",$data:!0,error:c,code(d){const{gen:h,data:m,schemaCode:y,keyword:R,it:E}=d,{opts:T,self:w}=E;if(!T.validateFormats)return;const O=new i.KeywordCxt(E,w.RULES.all.format.definition,"format");O.$data?S():v();function S(){const b=h.scopeValue("formats",{ref:w.formats,code:T.code.formats}),A=h.const("fmt",o._`${b}[${O.schemaCode}]`);d.fail$data(o.or(o._`typeof ${A} != "object"`,o._`${A} instanceof RegExp`,o._`typeof ${A}.compare != "function"`,g(A)))}function v(){const b=O.schema,A=w.formats[b];if(!A||A===!0)return;if(typeof A!="object"||A instanceof RegExp||typeof A.compare!="function")throw new Error(`"${R}": format "${b}" does not define "compare" function`);const _=h.scopeValue("formats",{key:b,ref:A,code:T.code.formats?o._`${T.code.formats}${o.getProperty(b)}`:void 0});d.fail$data(g(_))}function g(b){return o._`${b}.compare(${m}, ${y}) ${f[R].fail} 0`}},dependencies:["format"]};const p=d=>(d.addKeyword(r.formatLimitDefinition),d);r.default=p})(Xf)),Xf}var Y0;function sw(){return Y0||(Y0=1,(function(r,i){Object.defineProperty(i,"__esModule",{value:!0});const o=uw(),u=ow(),f=Ae(),c=new f.Name("fullFormats"),p=new f.Name("fastFormats"),d=(m,y={keywords:!0})=>{if(Array.isArray(y))return h(m,y,o.fullFormats,c),m;const[R,E]=y.mode==="fast"?[o.fastFormats,p]:[o.fullFormats,c],T=y.formats||o.formatNames;return h(m,T,R,E),y.keywords&&u.default(m),m};d.get=(m,y="full")=>{const E=(y==="fast"?o.fastFormats:o.fullFormats)[m];if(!E)throw new Error(`Unknown format "${m}"`);return E};function h(m,y,R,E){var T,w;(T=(w=m.opts.code).formats)!==null&&T!==void 0||(w.formats=f._`require("ajv-formats/dist/formats").${E}`);for(const O of y)m.addFormat(O,R[O])}r.exports=i=d,Object.defineProperty(i,"__esModule",{value:!0}),i.default=d})(go,go.exports)),go.exports}var cw=sw();const Uw=Ia(cw);export{ld as A,dw as B,Mw as C,vg as D,Dw as E,IS as F,Cw as G,ba as H,_n as I,zg as J,eE as K,zw as L,gw as M,qw as N,xw as O,jw as P,Uw as Q,pg as R,dg as S,Eg as T,yw as U,vw as V,bw as W,_S as X,pw as Y,mw as Z,Jf as _,Rw as a,$w as b,ww as c,Ow as d,So as e,oE as f,uE as g,Sw as h,gn as i,ga as j,rE as k,_w as l,Tw as m,Ew as n,on as o,md as p,Za as q,Aw as r,Uv as s,Ff as t,ff as u,jo as v,en as w,hw as x,te as y,Nw as z};