diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1833526 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +# Use a Node LTS image +FROM node:20-alpine + +# Set working directory +WORKDIR /app + +# Copy package files +COPY package*.json ./ + +# Install dependencies +RUN npm install + +# Copy source code +COPY . . + +# Expose Vite dev server port +EXPOSE 5173 + +# Start dev server +CMD ["npm", "run", "dev", "--", "--host"] + diff --git a/dist/assets/index-BmWlsiDz.js b/dist/assets/index-BmWlsiDz.js deleted file mode 100644 index ec36615..0000000 --- a/dist/assets/index-BmWlsiDz.js +++ /dev/null @@ -1,54 +0,0 @@ -(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))s(d);new MutationObserver(d=>{for(const v of d)if(v.type==="childList")for(const S of v.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&s(S)}).observe(document,{childList:!0,subtree:!0});function r(d){const v={};return d.integrity&&(v.integrity=d.integrity),d.referrerPolicy&&(v.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?v.credentials="include":d.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function s(d){if(d.ep)return;d.ep=!0;const v=r(d);fetch(d.href,v)}})();var Hf={exports:{}},Cn={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var lh;function A0(){if(lh)return Cn;lh=1;var c=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function r(s,d,v){var S=null;if(v!==void 0&&(S=""+v),d.key!==void 0&&(S=""+d.key),"key"in d){v={};for(var _ in d)_!=="key"&&(v[_]=d[_])}else v=d;return d=v.ref,{$$typeof:c,type:s,key:S,ref:d!==void 0?d:null,props:v}}return Cn.Fragment=f,Cn.jsx=r,Cn.jsxs=r,Cn}var eh;function O0(){return eh||(eh=1,Hf.exports=A0()),Hf.exports}var qn=O0(),Bf={exports:{}},F={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ah;function z0(){if(ah)return F;ah=1;var c=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),S=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),V=Symbol.iterator;function ot(m){return m===null||typeof m!="object"?null:(m=V&&m[V]||m["@@iterator"],typeof m=="function"?m:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,x={};function ut(m,M,j){this.props=m,this.context=M,this.refs=x,this.updater=j||B}ut.prototype.isReactComponent={},ut.prototype.setState=function(m,M){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,M,"setState")},ut.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Rt(){}Rt.prototype=ut.prototype;function at(m,M,j){this.props=m,this.context=M,this.refs=x,this.updater=j||B}var gt=at.prototype=new Rt;gt.constructor=at,X(gt,ut.prototype),gt.isPureReactComponent=!0;var At=Array.isArray;function Ot(){}var w={H:null,A:null,T:null,S:null},Yt=Object.prototype.hasOwnProperty;function $t(m,M,j){var Y=j.ref;return{$$typeof:c,type:m,key:M,ref:Y!==void 0?Y:null,props:j}}function Ll(m,M){return $t(m.type,M,m.props)}function fl(m){return typeof m=="object"&&m!==null&&m.$$typeof===c}function jt(m){var M={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(j){return M[j]})}var sl=/\/+/g;function Gt(m,M){return typeof m=="object"&&m!==null&&m.key!=null?jt(""+m.key):M.toString(36)}function It(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(Ot,Ot):(m.status="pending",m.then(function(M){m.status==="pending"&&(m.status="fulfilled",m.value=M)},function(M){m.status==="pending"&&(m.status="rejected",m.reason=M)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function z(m,M,j,Y,J){var I=typeof m;(I==="undefined"||I==="boolean")&&(m=null);var rt=!1;if(m===null)rt=!0;else switch(I){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(m.$$typeof){case c:case f:rt=!0;break;case U:return rt=m._init,z(rt(m._payload),M,j,Y,J)}}if(rt)return J=J(m),rt=Y===""?"."+Gt(m,0):Y,At(J)?(j="",rt!=null&&(j=rt.replace(sl,"$&/")+"/"),z(J,M,j,"",function(Ya){return Ya})):J!=null&&(fl(J)&&(J=Ll(J,j+(J.key==null||m&&m.key===J.key?"":(""+J.key).replace(sl,"$&/")+"/")+rt)),M.push(J)),1;rt=0;var Wt=Y===""?".":Y+":";if(At(m))for(var Ut=0;Ut>>1,dt=z[ft];if(0>>1;ftd(j,Q))Yd(J,j)?(z[ft]=J,z[Y]=Q,ft=Y):(z[ft]=j,z[M]=Q,ft=M);else if(Yd(J,Q))z[ft]=J,z[Y]=Q,ft=Y;else break t}}return q}function d(z,q){var Q=z.sortIndex-q.sortIndex;return Q!==0?Q:z.id-q.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;c.unstable_now=function(){return v.now()}}else{var S=Date,_=S.now();c.unstable_now=function(){return S.now()-_}}var N=[],g=[],U=1,H=null,V=3,ot=!1,B=!1,X=!1,x=!1,ut=typeof setTimeout=="function"?setTimeout:null,Rt=typeof clearTimeout=="function"?clearTimeout:null,at=typeof setImmediate<"u"?setImmediate:null;function gt(z){for(var q=r(g);q!==null;){if(q.callback===null)s(g);else if(q.startTime<=z)s(g),q.sortIndex=q.expirationTime,f(N,q);else break;q=r(g)}}function At(z){if(X=!1,gt(z),!B)if(r(N)!==null)B=!0,Ot||(Ot=!0,jt());else{var q=r(g);q!==null&&It(At,q.startTime-z)}}var Ot=!1,w=-1,Yt=5,$t=-1;function Ll(){return x?!0:!(c.unstable_now()-$tz&&Ll());){var ft=H.callback;if(typeof ft=="function"){H.callback=null,V=H.priorityLevel;var dt=ft(H.expirationTime<=z);if(z=c.unstable_now(),typeof dt=="function"){H.callback=dt,gt(z),q=!0;break l}H===r(N)&&s(N),gt(z)}else s(N);H=r(N)}if(H!==null)q=!0;else{var m=r(g);m!==null&&It(At,m.startTime-z),q=!1}}break t}finally{H=null,V=Q,ot=!1}q=void 0}}finally{q?jt():Ot=!1}}}var jt;if(typeof at=="function")jt=function(){at(fl)};else if(typeof MessageChannel<"u"){var sl=new MessageChannel,Gt=sl.port2;sl.port1.onmessage=fl,jt=function(){Gt.postMessage(null)}}else jt=function(){ut(fl,0)};function It(z,q){w=ut(function(){z(c.unstable_now())},q)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(z){z.callback=null},c.unstable_forceFrameRate=function(z){0>z||125ft?(z.sortIndex=Q,f(g,z),r(N)===null&&z===r(g)&&(X?(Rt(w),w=-1):X=!0,It(At,Q-ft))):(z.sortIndex=dt,f(N,z),B||ot||(B=!0,Ot||(Ot=!0,jt()))),z},c.unstable_shouldYield=Ll,c.unstable_wrapCallback=function(z){var q=V;return function(){var Q=V;V=q;try{return z.apply(this,arguments)}finally{V=Q}}}})(xf)),xf}var ih;function R0(){return ih||(ih=1,jf.exports=_0()),jf.exports}var Yf={exports:{}},Jt={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ch;function U0(){if(ch)return Jt;ch=1;var c=Jf();function f(N){var g="https://react.dev/errors/"+N;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(f){console.error(f)}}return c(),Yf.exports=U0(),Yf.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var sh;function M0(){if(sh)return Hn;sh=1;var c=R0(),f=Jf(),r=D0();function s(t){var l="https://react.dev/errors/"+t;if(1dt||(t.current=ft[dt],ft[dt]=null,dt--)}function j(t,l){dt++,ft[dt]=t.current,t.current=l}var Y=m(null),J=m(null),I=m(null),rt=m(null);function Wt(t,l){switch(j(I,l),j(J,t),j(Y,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?Od(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=Od(l),t=zd(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}M(Y),j(Y,t)}function Ut(){M(Y),M(J),M(I)}function Ya(t){t.memoizedState!==null&&j(rt,t);var l=Y.current,e=zd(l,t.type);l!==e&&(j(J,t),j(Y,e))}function Xn(t){J.current===t&&(M(Y),M(J)),rt.current===t&&(M(rt),Un._currentValue=Q)}var mi,Pf;function De(t){if(mi===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);mi=l&&l[1]||"",Pf=-1)":-1n||h[a]!==E[n]){var R=` -`+h[a].replace(" at new "," at ");return t.displayName&&R.includes("")&&(R=R.replace("",t.displayName)),R}while(1<=a&&0<=n);break}}}finally{yi=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?De(e):""}function tm(t,l){switch(t.tag){case 26:case 27:case 5:return De(t.type);case 16:return De("Lazy");case 13:return t.child!==l&&l!==null?De("Suspense Fallback"):De("Suspense");case 19:return De("SuspenseList");case 0:case 15:return vi(t.type,!1);case 11:return vi(t.type.render,!1);case 1:return vi(t.type,!0);case 31:return De("Activity");default:return""}}function ts(t){try{var l="",e=null;do l+=tm(t,e),e=t,t=t.return;while(t);return l}catch(a){return` -Error generating stack: `+a.message+` -`+a.stack}}var Si=Object.prototype.hasOwnProperty,gi=c.unstable_scheduleCallback,bi=c.unstable_cancelCallback,lm=c.unstable_shouldYield,em=c.unstable_requestPaint,ol=c.unstable_now,am=c.unstable_getCurrentPriorityLevel,ls=c.unstable_ImmediatePriority,es=c.unstable_UserBlockingPriority,Gn=c.unstable_NormalPriority,nm=c.unstable_LowPriority,as=c.unstable_IdlePriority,um=c.log,im=c.unstable_setDisableYieldValue,La=null,rl=null;function ne(t){if(typeof um=="function"&&im(t),rl&&typeof rl.setStrictMode=="function")try{rl.setStrictMode(La,t)}catch{}}var dl=Math.clz32?Math.clz32:sm,cm=Math.log,fm=Math.LN2;function sm(t){return t>>>=0,t===0?32:31-(cm(t)/fm|0)|0}var Qn=256,Zn=262144,Vn=4194304;function Me(t){var l=t&42;if(l!==0)return l;switch(t&-t){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:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Kn(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var o=a&134217727;return o!==0?(a=o&~u,a!==0?n=Me(a):(i&=o,i!==0?n=Me(i):e||(e=o&~t,e!==0&&(n=Me(e))))):(o=a&~u,o!==0?n=Me(o):i!==0?n=Me(i):e||(e=a&~t,e!==0&&(n=Me(e)))),n===0?0:l!==0&&l!==n&&(l&u)===0&&(u=n&-n,e=l&-l,u>=e||u===32&&(e&4194048)!==0)?l:n}function Xa(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function om(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ns(){var t=Vn;return Vn<<=1,(Vn&62914560)===0&&(Vn=4194304),t}function pi(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Ga(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function rm(t,l,e,a,n,u){var i=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var o=t.entanglements,h=t.expirationTimes,E=t.hiddenUpdates;for(e=i&~e;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Sm=/[\n"\\]/g;function El(t){return t.replace(Sm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function _i(t,l,e,a,n,u,i,o){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),l!=null?i==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+pl(l)):t.value!==""+pl(l)&&(t.value=""+pl(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?Ri(t,i,pl(l)):e!=null?Ri(t,i,pl(e)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+pl(o):t.removeAttribute("name")}function Ss(t,l,e,a,n,u,i,o){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),l!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||l!=null)){zi(t);return}e=e!=null?""+pl(e):"",l=l!=null?""+pl(l):e,o||l===t.value||(t.value=l),t.defaultValue=l}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=o?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),zi(t)}function Ri(t,l,e){l==="number"&&Fn(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function ea(t,l,e,a){if(t=t.options,l){l={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ci=!1;if(Ql)try{var Ka={};Object.defineProperty(Ka,"passive",{get:function(){Ci=!0}}),window.addEventListener("test",Ka,Ka),window.removeEventListener("test",Ka,Ka)}catch{Ci=!1}var ie=null,Hi=null,Wn=null;function Os(){if(Wn)return Wn;var t,l=Hi,e=l.length,a,n="value"in ie?ie.value:ie.textContent,u=n.length;for(t=0;t=Fa),Ms=" ",Ns=!1;function Cs(t,l){switch(t){case"keyup":return Km.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ia=!1;function Jm(t,l){switch(t){case"compositionend":return Hs(l);case"keypress":return l.which!==32?null:(Ns=!0,Ms);case"textInput":return t=l.data,t===Ms&&Ns?null:t;default:return null}}function Fm(t,l){if(ia)return t==="compositionend"||!Yi&&Cs(t,l)?(t=Os(),Wn=Hi=ie=null,ia=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=Gs(e)}}function Zs(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?Zs(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function Vs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Fn(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=Fn(t.document)}return l}function Gi(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var ey=Ql&&"documentMode"in document&&11>=document.documentMode,ca=null,Qi=null,Ia=null,Zi=!1;function Ks(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Zi||ca==null||ca!==Fn(a)||(a=ca,"selectionStart"in a&&Gi(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}),Ia&&ka(Ia,a)||(Ia=a,a=Zu(Qi,"onSelect"),0>=i,n-=i,Bl=1<<32-dl(l)+n|e<k?(et=G,G=null):et=G.sibling;var ct=T(b,G,p[k],D);if(ct===null){G===null&&(G=et);break}t&&G&&ct.alternate===null&&l(b,G),y=u(ct,y,k),it===null?Z=ct:it.sibling=ct,it=ct,G=et}if(k===p.length)return e(b,G),nt&&Vl(b,k),Z;if(G===null){for(;kk?(et=G,G=null):et=G.sibling;var Ue=T(b,G,ct.value,D);if(Ue===null){G===null&&(G=et);break}t&&G&&Ue.alternate===null&&l(b,G),y=u(Ue,y,k),it===null?Z=Ue:it.sibling=Ue,it=Ue,G=et}if(ct.done)return e(b,G),nt&&Vl(b,k),Z;if(G===null){for(;!ct.done;k++,ct=p.next())ct=C(b,ct.value,D),ct!==null&&(y=u(ct,y,k),it===null?Z=ct:it.sibling=ct,it=ct);return nt&&Vl(b,k),Z}for(G=a(G);!ct.done;k++,ct=p.next())ct=O(G,b,k,ct.value,D),ct!==null&&(t&&ct.alternate!==null&&G.delete(ct.key===null?k:ct.key),y=u(ct,y,k),it===null?Z=ct:it.sibling=ct,it=ct);return t&&G.forEach(function(T0){return l(b,T0)}),nt&&Vl(b,k),Z}function St(b,y,p,D){if(typeof p=="object"&&p!==null&&p.type===X&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ot:t:{for(var Z=p.key;y!==null;){if(y.key===Z){if(Z=p.type,Z===X){if(y.tag===7){e(b,y.sibling),D=n(y,p.props.children),D.return=b,b=D;break t}}else if(y.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===Yt&&Ge(Z)===y.type){e(b,y.sibling),D=n(y,p.props),nn(D,p),D.return=b,b=D;break t}e(b,y);break}else l(b,y);y=y.sibling}p.type===X?(D=je(p.props.children,b.mode,D,p.key),D.return=b,b=D):(D=iu(p.type,p.key,p.props,null,b.mode,D),nn(D,p),D.return=b,b=D)}return i(b);case B:t:{for(Z=p.key;y!==null;){if(y.key===Z)if(y.tag===4&&y.stateNode.containerInfo===p.containerInfo&&y.stateNode.implementation===p.implementation){e(b,y.sibling),D=n(y,p.children||[]),D.return=b,b=D;break t}else{e(b,y);break}else l(b,y);y=y.sibling}D=Wi(p,b.mode,D),D.return=b,b=D}return i(b);case Yt:return p=Ge(p),St(b,y,p,D)}if(It(p))return L(b,y,p,D);if(jt(p)){if(Z=jt(p),typeof Z!="function")throw Error(s(150));return p=Z.call(p),K(b,y,p,D)}if(typeof p.then=="function")return St(b,y,hu(p),D);if(p.$$typeof===at)return St(b,y,su(b,p),D);mu(b,p)}return typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint"?(p=""+p,y!==null&&y.tag===6?(e(b,y.sibling),D=n(y,p),D.return=b,b=D):(e(b,y),D=$i(p,b.mode,D),D.return=b,b=D),i(b)):e(b,y)}return function(b,y,p,D){try{an=0;var Z=St(b,y,p,D);return ga=null,Z}catch(G){if(G===Sa||G===ru)throw G;var it=ml(29,G,null,b.mode);return it.lanes=D,it.return=b,it}finally{}}}var Ze=yo(!0),vo=yo(!1),re=!1;function fc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function sc(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function de(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function he(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(st&2)!==0){var n=a.pending;return n===null?l.next=l:(l.next=n.next,n.next=l),a.pending=l,l=uu(t),Is(t,null,e),l}return nu(t,a,l,e),uu(t)}function un(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,is(t,e)}}function oc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,e=e.next}while(e!==null);u===null?n=u=l:u=u.next=l}else n=u=l;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var rc=!1;function cn(){if(rc){var t=va;if(t!==null)throw t}}function fn(t,l,e,a){rc=!1;var n=t.updateQueue;re=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var h=o,E=h.next;h.next=null,i===null?u=E:i.next=E,i=h;var R=t.alternate;R!==null&&(R=R.updateQueue,o=R.lastBaseUpdate,o!==i&&(o===null?R.firstBaseUpdate=E:o.next=E,R.lastBaseUpdate=h))}if(u!==null){var C=n.baseState;i=0,R=E=h=null,o=u;do{var T=o.lane&-536870913,O=T!==o.lane;if(O?(lt&T)===T:(a&T)===T){T!==0&&T===ya&&(rc=!0),R!==null&&(R=R.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var L=t,K=o;T=l;var St=e;switch(K.tag){case 1:if(L=K.payload,typeof L=="function"){C=L.call(St,C,T);break t}C=L;break t;case 3:L.flags=L.flags&-65537|128;case 0:if(L=K.payload,T=typeof L=="function"?L.call(St,C,T):L,T==null)break t;C=H({},C,T);break t;case 2:re=!0}}T=o.callback,T!==null&&(t.flags|=64,O&&(t.flags|=8192),O=n.callbacks,O===null?n.callbacks=[T]:O.push(T))}else O={lane:T,tag:o.tag,payload:o.payload,callback:o.callback,next:null},R===null?(E=R=O,h=C):R=R.next=O,i|=T;if(o=o.next,o===null){if(o=n.shared.pending,o===null)break;O=o,o=O.next,O.next=null,n.lastBaseUpdate=O,n.shared.pending=null}}while(!0);R===null&&(h=C),n.baseState=h,n.firstBaseUpdate=E,n.lastBaseUpdate=R,u===null&&(n.shared.lanes=0),ge|=i,t.lanes=i,t.memoizedState=C}}function So(t,l){if(typeof t!="function")throw Error(s(191,t));t.call(l)}function go(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;tu?u:8;var i=z.T,o={};z.T=o,Mc(t,!1,l,e);try{var h=n(),E=z.S;if(E!==null&&E(o,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var R=ry(h,a);rn(t,l,R,bl(t))}else rn(t,l,a,bl(t))}catch(C){rn(t,l,{then:function(){},status:"rejected",reason:C},bl())}finally{q.p=u,i!==null&&o.types!==null&&(i.types=o.types),z.T=i}}function Sy(){}function Uc(t,l,e,a){if(t.tag!==5)throw Error(s(476));var n=Wo(t).queue;$o(t,n,l,Q,e===null?Sy:function(){return ko(t),e(a)})}function Wo(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:Q},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function ko(t){var l=Wo(t);l.next===null&&(l=t.alternate.memoizedState),rn(t,l.next.queue,{},bl())}function Dc(){return Vt(Un)}function Io(){return Mt().memoizedState}function Po(){return Mt().memoizedState}function gy(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=bl();t=de(e);var a=he(l,t,e);a!==null&&(ul(a,l,e),un(a,l,e)),l={cache:nc()},t.payload=l;return}l=l.return}}function by(t,l,e){var a=bl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},Ou(t)?lr(l,e):(e=Ji(t,l,e,a),e!==null&&(ul(e,t,a),er(e,l,a)))}function tr(t,l,e){var a=bl();rn(t,l,e,a)}function rn(t,l,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(Ou(t))lr(l,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var i=l.lastRenderedState,o=u(i,e);if(n.hasEagerState=!0,n.eagerState=o,hl(o,i))return nu(t,l,n,0),bt===null&&au(),!1}catch{}finally{}if(e=Ji(t,l,n,a),e!==null)return ul(e,t,a),er(e,l,a),!0}return!1}function Mc(t,l,e,a){if(a={lane:2,revertLane:sf(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ou(t)){if(l)throw Error(s(479))}else l=Ji(t,e,a,2),l!==null&&ul(l,t,2)}function Ou(t){var l=t.alternate;return t===$||l!==null&&l===$}function lr(t,l){pa=Su=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function er(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,is(t,e)}}var dn={readContext:Vt,use:pu,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt};dn.useEffectEvent=zt;var ar={readContext:Vt,use:pu,useCallback:function(t,l){return kt().memoizedState=[t,l===void 0?null:l],t},useContext:Vt,useEffect:Xo,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,Tu(4194308,4,Vo.bind(null,l,t),e)},useLayoutEffect:function(t,l){return Tu(4194308,4,t,l)},useInsertionEffect:function(t,l){Tu(4,2,t,l)},useMemo:function(t,l){var e=kt();l=l===void 0?null:l;var a=t();if(Ve){ne(!0);try{t()}finally{ne(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=kt();if(e!==void 0){var n=e(l);if(Ve){ne(!0);try{e(l)}finally{ne(!1)}}}else n=l;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=by.bind(null,$,t),[a.memoizedState,t]},useRef:function(t){var l=kt();return t={current:t},l.memoizedState=t},useState:function(t){t=Ac(t);var l=t.queue,e=tr.bind(null,$,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:_c,useDeferredValue:function(t,l){var e=kt();return Rc(e,t,l)},useTransition:function(){var t=Ac(!1);return t=$o.bind(null,$,t.queue,!0,!1),kt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=$,n=kt();if(nt){if(e===void 0)throw Error(s(407));e=e()}else{if(e=l(),bt===null)throw Error(s(349));(lt&127)!==0||Oo(a,l,e)}n.memoizedState=e;var u={value:e,getSnapshot:l};return n.queue=u,Xo(_o.bind(null,a,u,t),[t]),a.flags|=2048,Ta(9,{destroy:void 0},zo.bind(null,a,u,e,l),null),e},useId:function(){var t=kt(),l=bt.identifierPrefix;if(nt){var e=ql,a=Bl;e=(a&~(1<<32-dl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=gu++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[Qt]=l,u[Pt]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break t;for(;i.sibling===null;){if(i.return===null||i.return===l)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}l.stateNode=u;t:switch(wt(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Wl(l)}}return Et(l),Vc(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&Wl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(s(166));if(t=I.current,ha(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,n=Zt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Qt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Td(t.nodeValue,e)),t||se(l,!0)}else t=Vu(t).createTextNode(a),t[Qt]=l,l.stateNode=t}return Et(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=ha(l),e!==null){if(t===null){if(!a)throw Error(s(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[Qt]=l}else xe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Et(l),t=!1}else e=tc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(vl(l),l):(vl(l),null);if((l.flags&128)!==0)throw Error(s(558))}return Et(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=ha(l),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[Qt]=l}else xe(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Et(l),n=!1}else n=tc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return l.flags&256?(vl(l),l):(vl(l),null)}return vl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),Du(l,l.updateQueue),Et(l),null);case 4:return Ut(),t===null&&hf(l.stateNode.containerInfo),Et(l),null;case 10:return wl(l.type),Et(l),null;case 19:if(M(Dt),a=l.memoizedState,a===null)return Et(l),null;if(n=(l.flags&128)!==0,u=a.rendering,u===null)if(n)mn(a,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(u=vu(t),u!==null){for(l.flags|=128,mn(a,!1),t=u.updateQueue,l.updateQueue=t,Du(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)Ps(e,t),e=e.sibling;return j(Dt,Dt.current&1|2),nt&&Vl(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&ol()>Bu&&(l.flags|=128,n=!0,mn(a,!1),l.lanes=4194304)}else{if(!n)if(t=vu(u),t!==null){if(l.flags|=128,n=!0,t=t.updateQueue,l.updateQueue=t,Du(l,t),mn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!nt)return Et(l),null}else 2*ol()-a.renderingStartTime>Bu&&e!==536870912&&(l.flags|=128,n=!0,mn(a,!1),l.lanes=4194304);a.isBackwards?(u.sibling=l.child,l.child=u):(t=a.last,t!==null?t.sibling=u:l.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ol(),t.sibling=null,e=Dt.current,j(Dt,n?e&1|2:e&1),nt&&Vl(l,a.treeForkCount),t):(Et(l),null);case 22:case 23:return vl(l),hc(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Et(l),l.subtreeFlags&6&&(l.flags|=8192)):Et(l),e=l.updateQueue,e!==null&&Du(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&M(Xe),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),wl(Ct),Et(l),null;case 25:return null;case 30:return null}throw Error(s(156,l.tag))}function Oy(t,l){switch(Ii(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return wl(Ct),Ut(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return Xn(l),null;case 31:if(l.memoizedState!==null){if(vl(l),l.alternate===null)throw Error(s(340));xe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(vl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(s(340));xe()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return M(Dt),null;case 4:return Ut(),null;case 10:return wl(l.type),null;case 22:case 23:return vl(l),hc(),t!==null&&M(Xe),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return wl(Ct),null;case 25:return null;default:return null}}function Rr(t,l){switch(Ii(l),l.tag){case 3:wl(Ct),Ut();break;case 26:case 27:case 5:Xn(l);break;case 4:Ut();break;case 31:l.memoizedState!==null&&vl(l);break;case 13:vl(l);break;case 19:M(Dt);break;case 10:wl(l.type);break;case 22:case 23:vl(l),hc(),t!==null&&M(Xe);break;case 24:wl(Ct)}}function yn(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&t)===t){a=void 0;var u=e.create,i=e.inst;a=u(),i.destroy=a}e=e.next}while(e!==n)}}catch(o){mt(l,l.return,o)}}function ve(t,l,e){try{var a=l.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var i=a.inst,o=i.destroy;if(o!==void 0){i.destroy=void 0,n=l;var h=e,E=o;try{E()}catch(R){mt(n,h,R)}}}a=a.next}while(a!==u)}}catch(R){mt(l,l.return,R)}}function Ur(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{go(l,e)}catch(a){mt(t,t.return,a)}}}function Dr(t,l,e){e.props=Ke(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){mt(t,l,a)}}function vn(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(n){mt(t,l,n)}}function jl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){mt(t,l,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){mt(t,l,n)}else e.current=null}function Mr(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){mt(t,t.return,n)}}function Kc(t,l,e){try{var a=t.stateNode;wy(a,t.type,e,l),a[Pt]=l}catch(n){mt(t,t.return,n)}}function Nr(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ae(t.type)||t.tag===4}function wc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Nr(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ae(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Jc(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=Gl));else if(a!==4&&(a===27&&Ae(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(Jc(t,l,e),t=t.sibling;t!==null;)Jc(t,l,e),t=t.sibling}function Mu(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&Ae(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(Mu(t,l,e),t=t.sibling;t!==null;)Mu(t,l,e),t=t.sibling}function Cr(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,n=l.attributes;n.length;)l.removeAttributeNode(n[0]);wt(l,a,e),l[Qt]=t,l[Pt]=e}catch(u){mt(t,t.return,u)}}var kl=!1,qt=!1,Fc=!1,Hr=typeof WeakSet=="function"?WeakSet:Set,Xt=null;function zy(t,l){if(t=t.containerInfo,vf=ku,t=Vs(t),Gi(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break t}var i=0,o=-1,h=-1,E=0,R=0,C=t,T=null;l:for(;;){for(var O;C!==e||n!==0&&C.nodeType!==3||(o=i+n),C!==u||a!==0&&C.nodeType!==3||(h=i+a),C.nodeType===3&&(i+=C.nodeValue.length),(O=C.firstChild)!==null;)T=C,C=O;for(;;){if(C===t)break l;if(T===e&&++E===n&&(o=i),T===u&&++R===a&&(h=i),(O=C.nextSibling)!==null)break;C=T,T=C.parentNode}C=O}e=o===-1||h===-1?null:{start:o,end:h}}else e=null}e=e||{start:0,end:0}}else e=null;for(Sf={focusedElem:t,selectionRange:e},ku=!1,Xt=l;Xt!==null;)if(l=Xt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,Xt=t;else for(;Xt!==null;){switch(l=Xt,u=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e title"))),wt(u,a,e),u[Qt]=t,Lt(u),a=u;break t;case"link":var i=Ld("link","href",n).get(a+(e.href||""));if(i){for(var o=0;oSt&&(i=St,St=K,K=i);var b=Qs(o,K),y=Qs(o,St);if(b&&y&&(O.rangeCount!==1||O.anchorNode!==b.node||O.anchorOffset!==b.offset||O.focusNode!==y.node||O.focusOffset!==y.offset)){var p=C.createRange();p.setStart(b.node,b.offset),O.removeAllRanges(),K>St?(O.addRange(p),O.extend(y.node,y.offset)):(p.setEnd(y.node,y.offset),O.addRange(p))}}}}for(C=[],O=o;O=O.parentNode;)O.nodeType===1&&C.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;oe?32:e,z.T=null,e=lf,lf=null;var u=pe,i=ee;if(xt=0,Ra=pe=null,ee=0,(st&6)!==0)throw Error(s(331));var o=st;if(st|=4,Vr(u.current),Gr(u,u.current,i,e),st=o,Tn(0,!1),rl&&typeof rl.onPostCommitFiberRoot=="function")try{rl.onPostCommitFiberRoot(La,u)}catch{}return!0}finally{q.p=n,z.T=a,fd(t,l)}}function od(t,l,e){l=Al(e,l),l=Bc(t.stateNode,l,2),t=he(t,l,2),t!==null&&(Ga(t,2),xl(t))}function mt(t,l,e){if(t.tag===3)od(t,t,e);else for(;l!==null;){if(l.tag===3){od(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(be===null||!be.has(a))){t=Al(e,t),e=rr(2),a=he(l,e,2),a!==null&&(dr(e,a,l,t),Ga(a,2),xl(a));break}}l=l.return}}function uf(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new Uy;var n=new Set;a.set(l,n)}else n=a.get(l),n===void 0&&(n=new Set,a.set(l,n));n.has(e)||(kc=!0,n.add(e),t=Hy.bind(null,t,l,e),l.then(t,t))}function Hy(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,bt===t&&(lt&e)===e&&(_t===4||_t===3&&(lt&62914560)===lt&&300>ol()-Hu?(st&2)===0&&Ua(t,0):Ic|=e,_a===lt&&(_a=0)),xl(t)}function rd(t,l){l===0&&(l=ns()),t=qe(t,l),t!==null&&(Ga(t,l),xl(t))}function By(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),rd(t,e)}function qy(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(l),rd(t,e)}function jy(t,l){return gi(t,l)}var Xu=null,Ma=null,cf=!1,Gu=!1,ff=!1,Te=0;function xl(t){t!==Ma&&t.next===null&&(Ma===null?Xu=Ma=t:Ma=Ma.next=t),Gu=!0,cf||(cf=!0,Yy())}function Tn(t,l){if(!ff&&Gu){ff=!0;do for(var e=!1,a=Xu;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,o=a.pingedLanes;u=(1<<31-dl(42|t)+1)-1,u&=n&~(i&~o),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,yd(a,u))}else u=lt,u=Kn(a,a===bt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Xa(a,u)||(e=!0,yd(a,u));a=a.next}while(e);ff=!1}}function xy(){dd()}function dd(){Gu=cf=!1;var t=0;Te!==0&&Fy()&&(t=Te);for(var l=ol(),e=null,a=Xu;a!==null;){var n=a.next,u=hd(a,l);u===0?(a.next=null,e===null?Xu=n:e.next=n,n===null&&(Ma=e)):(e=a,(t!==0||(u&3)!==0)&&(Gu=!0)),a=n}xt!==0&&xt!==5||Tn(t),Te!==0&&(Te=0)}function hd(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0o)break;var R=h.transferSize,C=h.initiatorType;R&&Ad(C)&&(h=h.responseEnd,i+=R*(h"u"?null:document;function qd(t,l,e){var a=Na;if(a&&typeof l=="string"&&l){var n=El(l);n='link[rel="'+t+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),Bd.has(n)||(Bd.add(n),t={rel:t,crossOrigin:e,href:l},a.querySelector(n)===null&&(l=a.createElement("link"),wt(l,"link",t),Lt(l),a.head.appendChild(l)))}}function a0(t){ae.D(t),qd("dns-prefetch",t,null)}function n0(t,l){ae.C(t,l),qd("preconnect",t,l)}function u0(t,l,e){ae.L(t,l,e);var a=Na;if(a&&t&&l){var n='link[rel="preload"][as="'+El(l)+'"]';l==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+El(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+El(e.imageSizes)+'"]')):n+='[href="'+El(t)+'"]';var u=n;switch(l){case"style":u=Ca(t);break;case"script":u=Ha(t)}Dl.has(u)||(t=H({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Dl.set(u,t),a.querySelector(n)!==null||l==="style"&&a.querySelector(_n(u))||l==="script"&&a.querySelector(Rn(u))||(l=a.createElement("link"),wt(l,"link",t),Lt(l),a.head.appendChild(l)))}}function i0(t,l){ae.m(t,l);var e=Na;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",n='link[rel="modulepreload"][as="'+El(a)+'"][href="'+El(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ha(t)}if(!Dl.has(u)&&(t=H({rel:"modulepreload",href:t},l),Dl.set(u,t),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Rn(u)))return}a=e.createElement("link"),wt(a,"link",t),Lt(a),e.head.appendChild(a)}}}function c0(t,l,e){ae.S(t,l,e);var a=Na;if(a&&t){var n=ta(a).hoistableStyles,u=Ca(t);l=l||"default";var i=n.get(u);if(!i){var o={loading:0,preload:null};if(i=a.querySelector(_n(u)))o.loading=5;else{t=H({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Dl.get(u))&&Of(t,e);var h=i=a.createElement("link");Lt(h),wt(h,"link",t),h._p=new Promise(function(E,R){h.onload=E,h.onerror=R}),h.addEventListener("load",function(){o.loading|=1}),h.addEventListener("error",function(){o.loading|=2}),o.loading|=4,wu(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:o},n.set(u,i)}}}function f0(t,l){ae.X(t,l);var e=Na;if(e&&t){var a=ta(e).hoistableScripts,n=Ha(t),u=a.get(n);u||(u=e.querySelector(Rn(n)),u||(t=H({src:t,async:!0},l),(l=Dl.get(n))&&zf(t,l),u=e.createElement("script"),Lt(u),wt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function s0(t,l){ae.M(t,l);var e=Na;if(e&&t){var a=ta(e).hoistableScripts,n=Ha(t),u=a.get(n);u||(u=e.querySelector(Rn(n)),u||(t=H({src:t,async:!0,type:"module"},l),(l=Dl.get(n))&&zf(t,l),u=e.createElement("script"),Lt(u),wt(u,"link",t),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function jd(t,l,e,a){var n=(n=I.current)?Ku(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Ca(e.href),e=ta(n).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Ca(e.href);var u=ta(n).hoistableStyles,i=u.get(t);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=n.querySelector(_n(t)))&&!u._p&&(i.instance=u,i.state.loading=5),Dl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Dl.set(t,e),u||o0(n,t,e,i.state))),l&&a===null)throw Error(s(528,""));return i}if(l&&a!==null)throw Error(s(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ha(e),e=ta(n).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Ca(t){return'href="'+El(t)+'"'}function _n(t){return'link[rel="stylesheet"]['+t+"]"}function xd(t){return H({},t,{"data-precedence":t.precedence,precedence:null})}function o0(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),wt(l,"link",e),Lt(l),t.head.appendChild(l))}function Ha(t){return'[src="'+El(t)+'"]'}function Rn(t){return"script[async]"+t}function Yd(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+El(e.href)+'"]');if(a)return l.instance=a,Lt(a),a;var n=H({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Lt(a),wt(a,"style",n),wu(a,e.precedence,t),l.instance=a;case"stylesheet":n=Ca(e.href);var u=t.querySelector(_n(n));if(u)return l.state.loading|=4,l.instance=u,Lt(u),u;a=xd(e),(n=Dl.get(n))&&Of(a,n),u=(t.ownerDocument||t).createElement("link"),Lt(u);var i=u;return i._p=new Promise(function(o,h){i.onload=o,i.onerror=h}),wt(u,"link",a),l.state.loading|=4,wu(u,e.precedence,t),l.instance=u;case"script":return u=Ha(e.src),(n=t.querySelector(Rn(u)))?(l.instance=n,Lt(n),n):(a=e,(n=Dl.get(u))&&(a=H({},e),zf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Lt(n),wt(n,"link",a),t.head.appendChild(n),l.instance=n);case"void":return null;default:throw Error(s(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,wu(a,e.precedence,t));return l.instance}function wu(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i title"):null)}function r0(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Gd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function d0(t,l,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Ca(a.href),u=l.querySelector(_n(n));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Fu.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=u,Lt(u);return}u=l.ownerDocument||l,a=xd(a),(n=Dl.get(n))&&Of(a,n),u=u.createElement("link"),Lt(u);var i=u;i._p=new Promise(function(o,h){i.onload=o,i.onerror=h}),wt(u,"link",a),e.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=Fu.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var _f=0;function h0(t,l){return t.stylesheets&&t.count===0&&Wu(t,t.stylesheets),0_f?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Fu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var $u=null;function Wu(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,$u=new Map,l.forEach(m0,t),$u=null,Fu.call(t))}function m0(t,l){if(!(l.state.loading&4)){var e=$u.get(t);if(e)var a=e.get(null);else{e=new Map,$u.set(t,e);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(f){console.error(f)}}return c(),qf.exports=M0(),qf.exports}var C0=N0();const Rh="loadTrainSchedule",Uh="loadTrainScheduleSuccess",Dh="loadTrainScheduleError",Lf={loadTrainSchedule:c=>({type:Rh,...c}),loadTrainScheduleSuccess:c=>({type:Uh,...c}),loadTrainScheduleError:c=>({type:Dh,...c})},H0={stations:void 0,error:void 0,loading:!1},B0=(c,f)=>f.type===Rh?{...c,error:void 0,loading:!0}:f.type===Uh?{...c,stations:f.stations,loading:!1}:f.type===Dh?{...c,error:f.error,loading:!1}:c;function Mh(c,f){return function(){return c.apply(f,arguments)}}const{toString:q0}=Object.prototype,{getPrototypeOf:$f}=Object,{iterator:si,toStringTag:Nh}=Symbol,oi=(c=>f=>{const r=q0.call(f);return c[r]||(c[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Hl=c=>(c=c.toLowerCase(),f=>oi(f)===c),ri=c=>f=>typeof f===c,{isArray:ja}=Array,qa=ri("undefined");function jn(c){return c!==null&&!qa(c)&&c.constructor!==null&&!qa(c.constructor)&&il(c.constructor.isBuffer)&&c.constructor.isBuffer(c)}const Ch=Hl("ArrayBuffer");function j0(c){let f;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?f=ArrayBuffer.isView(c):f=c&&c.buffer&&Ch(c.buffer),f}const x0=ri("string"),il=ri("function"),Hh=ri("number"),xn=c=>c!==null&&typeof c=="object",Y0=c=>c===!0||c===!1,ui=c=>{if(oi(c)!=="object")return!1;const f=$f(c);return(f===null||f===Object.prototype||Object.getPrototypeOf(f)===null)&&!(Nh in c)&&!(si in c)},L0=c=>{if(!xn(c)||jn(c))return!1;try{return Object.keys(c).length===0&&Object.getPrototypeOf(c)===Object.prototype}catch{return!1}},X0=Hl("Date"),G0=Hl("File"),Q0=Hl("Blob"),Z0=Hl("FileList"),V0=c=>xn(c)&&il(c.pipe),K0=c=>{let f;return c&&(typeof FormData=="function"&&c instanceof FormData||il(c.append)&&((f=oi(c))==="formdata"||f==="object"&&il(c.toString)&&c.toString()==="[object FormData]"))},w0=Hl("URLSearchParams"),[J0,F0,$0,W0]=["ReadableStream","Request","Response","Headers"].map(Hl),k0=c=>c.trim?c.trim():c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yn(c,f,{allOwnKeys:r=!1}={}){if(c===null||typeof c>"u")return;let s,d;if(typeof c!="object"&&(c=[c]),ja(c))for(s=0,d=c.length;s0;)if(d=r[s],f===d.toLowerCase())return d;return null}const Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qh=c=>!qa(c)&&c!==Fe;function Zf(){const{caseless:c,skipUndefined:f}=qh(this)&&this||{},r={},s=(d,v)=>{const S=c&&Bh(r,v)||v;ui(r[S])&&ui(d)?r[S]=Zf(r[S],d):ui(d)?r[S]=Zf({},d):ja(d)?r[S]=d.slice():(!f||!qa(d))&&(r[S]=d)};for(let d=0,v=arguments.length;d(Yn(f,(d,v)=>{r&&il(d)?c[v]=Mh(d,r):c[v]=d},{allOwnKeys:s}),c),P0=c=>(c.charCodeAt(0)===65279&&(c=c.slice(1)),c),t1=(c,f,r,s)=>{c.prototype=Object.create(f.prototype,s),c.prototype.constructor=c,Object.defineProperty(c,"super",{value:f.prototype}),r&&Object.assign(c.prototype,r)},l1=(c,f,r,s)=>{let d,v,S;const _={};if(f=f||{},c==null)return f;do{for(d=Object.getOwnPropertyNames(c),v=d.length;v-- >0;)S=d[v],(!s||s(S,c,f))&&!_[S]&&(f[S]=c[S],_[S]=!0);c=r!==!1&&$f(c)}while(c&&(!r||r(c,f))&&c!==Object.prototype);return f},e1=(c,f,r)=>{c=String(c),(r===void 0||r>c.length)&&(r=c.length),r-=f.length;const s=c.indexOf(f,r);return s!==-1&&s===r},a1=c=>{if(!c)return null;if(ja(c))return c;let f=c.length;if(!Hh(f))return null;const r=new Array(f);for(;f-- >0;)r[f]=c[f];return r},n1=(c=>f=>c&&f instanceof c)(typeof Uint8Array<"u"&&$f(Uint8Array)),u1=(c,f)=>{const s=(c&&c[si]).call(c);let d;for(;(d=s.next())&&!d.done;){const v=d.value;f.call(c,v[0],v[1])}},i1=(c,f)=>{let r;const s=[];for(;(r=c.exec(f))!==null;)s.push(r);return s},c1=Hl("HTMLFormElement"),f1=c=>c.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,s,d){return s.toUpperCase()+d}),rh=(({hasOwnProperty:c})=>(f,r)=>c.call(f,r))(Object.prototype),s1=Hl("RegExp"),jh=(c,f)=>{const r=Object.getOwnPropertyDescriptors(c),s={};Yn(r,(d,v)=>{let S;(S=f(d,v,c))!==!1&&(s[v]=S||d)}),Object.defineProperties(c,s)},o1=c=>{jh(c,(f,r)=>{if(il(c)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const s=c[r];if(il(s)){if(f.enumerable=!1,"writable"in f){f.writable=!1;return}f.set||(f.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},r1=(c,f)=>{const r={},s=d=>{d.forEach(v=>{r[v]=!0})};return ja(c)?s(c):s(String(c).split(f)),r},d1=()=>{},h1=(c,f)=>c!=null&&Number.isFinite(c=+c)?c:f;function m1(c){return!!(c&&il(c.append)&&c[Nh]==="FormData"&&c[si])}const y1=c=>{const f=new Array(10),r=(s,d)=>{if(xn(s)){if(f.indexOf(s)>=0)return;if(jn(s))return s;if(!("toJSON"in s)){f[d]=s;const v=ja(s)?[]:{};return Yn(s,(S,_)=>{const N=r(S,d+1);!qa(N)&&(v[_]=N)}),f[d]=void 0,v}}return s};return r(c,0)},v1=Hl("AsyncFunction"),S1=c=>c&&(xn(c)||il(c))&&il(c.then)&&il(c.catch),xh=((c,f)=>c?setImmediate:f?((r,s)=>(Fe.addEventListener("message",({source:d,data:v})=>{d===Fe&&v===r&&s.length&&s.shift()()},!1),d=>{s.push(d),Fe.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",il(Fe.postMessage)),g1=typeof queueMicrotask<"u"?queueMicrotask.bind(Fe):typeof process<"u"&&process.nextTick||xh,b1=c=>c!=null&&il(c[si]),A={isArray:ja,isArrayBuffer:Ch,isBuffer:jn,isFormData:K0,isArrayBufferView:j0,isString:x0,isNumber:Hh,isBoolean:Y0,isObject:xn,isPlainObject:ui,isEmptyObject:L0,isReadableStream:J0,isRequest:F0,isResponse:$0,isHeaders:W0,isUndefined:qa,isDate:X0,isFile:G0,isBlob:Q0,isRegExp:s1,isFunction:il,isStream:V0,isURLSearchParams:w0,isTypedArray:n1,isFileList:Z0,forEach:Yn,merge:Zf,extend:I0,trim:k0,stripBOM:P0,inherits:t1,toFlatObject:l1,kindOf:oi,kindOfTest:Hl,endsWith:e1,toArray:a1,forEachEntry:u1,matchAll:i1,isHTMLForm:c1,hasOwnProperty:rh,hasOwnProp:rh,reduceDescriptors:jh,freezeMethods:o1,toObjectSet:r1,toCamelCase:f1,noop:d1,toFiniteNumber:h1,findKey:Bh,global:Fe,isContextDefined:qh,isSpecCompliantForm:m1,toJSONObject:y1,isAsyncFn:v1,isThenable:S1,setImmediate:xh,asap:g1,isIterable:b1};function W(c,f,r,s,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=c,this.name="AxiosError",f&&(this.code=f),r&&(this.config=r),s&&(this.request=s),d&&(this.response=d,this.status=d.status?d.status:null)}A.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Yh=W.prototype,Lh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(c=>{Lh[c]={value:c}});Object.defineProperties(W,Lh);Object.defineProperty(Yh,"isAxiosError",{value:!0});W.from=(c,f,r,s,d,v)=>{const S=Object.create(Yh);A.toFlatObject(c,S,function(U){return U!==Error.prototype},g=>g!=="isAxiosError");const _=c&&c.message?c.message:"Error",N=f==null&&c?c.code:f;return W.call(S,_,N,r,s,d),c&&S.cause==null&&Object.defineProperty(S,"cause",{value:c,configurable:!0}),S.name=c&&c.name||"Error",v&&Object.assign(S,v),S};const p1=null;function Vf(c){return A.isPlainObject(c)||A.isArray(c)}function Xh(c){return A.endsWith(c,"[]")?c.slice(0,-2):c}function dh(c,f,r){return c?c.concat(f).map(function(d,v){return d=Xh(d),!r&&v?"["+d+"]":d}).join(r?".":""):f}function E1(c){return A.isArray(c)&&!c.some(Vf)}const T1=A.toFlatObject(A,{},null,function(f){return/^is[A-Z]/.test(f)});function di(c,f,r){if(!A.isObject(c))throw new TypeError("target must be an object");f=f||new FormData,r=A.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(X,x){return!A.isUndefined(x[X])});const s=r.metaTokens,d=r.visitor||U,v=r.dots,S=r.indexes,N=(r.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(f);if(!A.isFunction(d))throw new TypeError("visitor must be a function");function g(B){if(B===null)return"";if(A.isDate(B))return B.toISOString();if(A.isBoolean(B))return B.toString();if(!N&&A.isBlob(B))throw new W("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(B)||A.isTypedArray(B)?N&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function U(B,X,x){let ut=B;if(B&&!x&&typeof B=="object"){if(A.endsWith(X,"{}"))X=s?X:X.slice(0,-2),B=JSON.stringify(B);else if(A.isArray(B)&&E1(B)||(A.isFileList(B)||A.endsWith(X,"[]"))&&(ut=A.toArray(B)))return X=Xh(X),ut.forEach(function(at,gt){!(A.isUndefined(at)||at===null)&&f.append(S===!0?dh([X],gt,v):S===null?X:X+"[]",g(at))}),!1}return Vf(B)?!0:(f.append(dh(x,X,v),g(B)),!1)}const H=[],V=Object.assign(T1,{defaultVisitor:U,convertValue:g,isVisitable:Vf});function ot(B,X){if(!A.isUndefined(B)){if(H.indexOf(B)!==-1)throw Error("Circular reference detected in "+X.join("."));H.push(B),A.forEach(B,function(ut,Rt){(!(A.isUndefined(ut)||ut===null)&&d.call(f,ut,A.isString(Rt)?Rt.trim():Rt,X,V))===!0&&ot(ut,X?X.concat(Rt):[Rt])}),H.pop()}}if(!A.isObject(c))throw new TypeError("data must be an object");return ot(c),f}function hh(c){const f={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(c).replace(/[!'()~]|%20|%00/g,function(s){return f[s]})}function Wf(c,f){this._pairs=[],c&&di(c,this,f)}const Gh=Wf.prototype;Gh.append=function(f,r){this._pairs.push([f,r])};Gh.toString=function(f){const r=f?function(s){return f.call(this,s,hh)}:hh;return this._pairs.map(function(d){return r(d[0])+"="+r(d[1])},"").join("&")};function A1(c){return encodeURIComponent(c).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Qh(c,f,r){if(!f)return c;const s=r&&r.encode||A1;A.isFunction(r)&&(r={serialize:r});const d=r&&r.serialize;let v;if(d?v=d(f,r):v=A.isURLSearchParams(f)?f.toString():new Wf(f,r).toString(s),v){const S=c.indexOf("#");S!==-1&&(c=c.slice(0,S)),c+=(c.indexOf("?")===-1?"?":"&")+v}return c}class mh{constructor(){this.handlers=[]}use(f,r,s){return this.handlers.push({fulfilled:f,rejected:r,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(f){this.handlers[f]&&(this.handlers[f]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(f){A.forEach(this.handlers,function(s){s!==null&&f(s)})}}const Zh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},O1=typeof URLSearchParams<"u"?URLSearchParams:Wf,z1=typeof FormData<"u"?FormData:null,_1=typeof Blob<"u"?Blob:null,R1={isBrowser:!0,classes:{URLSearchParams:O1,FormData:z1,Blob:_1},protocols:["http","https","file","blob","url","data"]},kf=typeof window<"u"&&typeof document<"u",Kf=typeof navigator=="object"&&navigator||void 0,U1=kf&&(!Kf||["ReactNative","NativeScript","NS"].indexOf(Kf.product)<0),D1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",M1=kf&&window.location.href||"http://localhost",N1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kf,hasStandardBrowserEnv:U1,hasStandardBrowserWebWorkerEnv:D1,navigator:Kf,origin:M1},Symbol.toStringTag,{value:"Module"})),Ft={...N1,...R1};function C1(c,f){return di(c,new Ft.classes.URLSearchParams,{visitor:function(r,s,d,v){return Ft.isNode&&A.isBuffer(r)?(this.append(s,r.toString("base64")),!1):v.defaultVisitor.apply(this,arguments)},...f})}function H1(c){return A.matchAll(/\w+|\[(\w*)]/g,c).map(f=>f[0]==="[]"?"":f[1]||f[0])}function B1(c){const f={},r=Object.keys(c);let s;const d=r.length;let v;for(s=0;s=r.length;return S=!S&&A.isArray(d)?d.length:S,N?(A.hasOwnProp(d,S)?d[S]=[d[S],s]:d[S]=s,!_):((!d[S]||!A.isObject(d[S]))&&(d[S]=[]),f(r,s,d[S],v)&&A.isArray(d[S])&&(d[S]=B1(d[S])),!_)}if(A.isFormData(c)&&A.isFunction(c.entries)){const r={};return A.forEachEntry(c,(s,d)=>{f(H1(s),d,r,0)}),r}return null}function q1(c,f,r){if(A.isString(c))try{return(f||JSON.parse)(c),A.trim(c)}catch(s){if(s.name!=="SyntaxError")throw s}return(r||JSON.stringify)(c)}const Ln={transitional:Zh,adapter:["xhr","http","fetch"],transformRequest:[function(f,r){const s=r.getContentType()||"",d=s.indexOf("application/json")>-1,v=A.isObject(f);if(v&&A.isHTMLForm(f)&&(f=new FormData(f)),A.isFormData(f))return d?JSON.stringify(Vh(f)):f;if(A.isArrayBuffer(f)||A.isBuffer(f)||A.isStream(f)||A.isFile(f)||A.isBlob(f)||A.isReadableStream(f))return f;if(A.isArrayBufferView(f))return f.buffer;if(A.isURLSearchParams(f))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),f.toString();let _;if(v){if(s.indexOf("application/x-www-form-urlencoded")>-1)return C1(f,this.formSerializer).toString();if((_=A.isFileList(f))||s.indexOf("multipart/form-data")>-1){const N=this.env&&this.env.FormData;return di(_?{"files[]":f}:f,N&&new N,this.formSerializer)}}return v||d?(r.setContentType("application/json",!1),q1(f)):f}],transformResponse:[function(f){const r=this.transitional||Ln.transitional,s=r&&r.forcedJSONParsing,d=this.responseType==="json";if(A.isResponse(f)||A.isReadableStream(f))return f;if(f&&A.isString(f)&&(s&&!this.responseType||d)){const S=!(r&&r.silentJSONParsing)&&d;try{return JSON.parse(f,this.parseReviver)}catch(_){if(S)throw _.name==="SyntaxError"?W.from(_,W.ERR_BAD_RESPONSE,this,null,this.response):_}}return f}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(f){return f>=200&&f<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],c=>{Ln.headers[c]={}});const j1=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),x1=c=>{const f={};let r,s,d;return c&&c.split(` -`).forEach(function(S){d=S.indexOf(":"),r=S.substring(0,d).trim().toLowerCase(),s=S.substring(d+1).trim(),!(!r||f[r]&&j1[r])&&(r==="set-cookie"?f[r]?f[r].push(s):f[r]=[s]:f[r]=f[r]?f[r]+", "+s:s)}),f},yh=Symbol("internals");function Bn(c){return c&&String(c).trim().toLowerCase()}function ii(c){return c===!1||c==null?c:A.isArray(c)?c.map(ii):String(c)}function Y1(c){const f=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(c);)f[s[1]]=s[2];return f}const L1=c=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(c.trim());function Xf(c,f,r,s,d){if(A.isFunction(s))return s.call(this,f,r);if(d&&(f=r),!!A.isString(f)){if(A.isString(s))return f.indexOf(s)!==-1;if(A.isRegExp(s))return s.test(f)}}function X1(c){return c.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(f,r,s)=>r.toUpperCase()+s)}function G1(c,f){const r=A.toCamelCase(" "+f);["get","set","has"].forEach(s=>{Object.defineProperty(c,s+r,{value:function(d,v,S){return this[s].call(this,f,d,v,S)},configurable:!0})})}let cl=class{constructor(f){f&&this.set(f)}set(f,r,s){const d=this;function v(_,N,g){const U=Bn(N);if(!U)throw new Error("header name must be a non-empty string");const H=A.findKey(d,U);(!H||d[H]===void 0||g===!0||g===void 0&&d[H]!==!1)&&(d[H||N]=ii(_))}const S=(_,N)=>A.forEach(_,(g,U)=>v(g,U,N));if(A.isPlainObject(f)||f instanceof this.constructor)S(f,r);else if(A.isString(f)&&(f=f.trim())&&!L1(f))S(x1(f),r);else if(A.isObject(f)&&A.isIterable(f)){let _={},N,g;for(const U of f){if(!A.isArray(U))throw TypeError("Object iterator must return a key-value pair");_[g=U[0]]=(N=_[g])?A.isArray(N)?[...N,U[1]]:[N,U[1]]:U[1]}S(_,r)}else f!=null&&v(r,f,s);return this}get(f,r){if(f=Bn(f),f){const s=A.findKey(this,f);if(s){const d=this[s];if(!r)return d;if(r===!0)return Y1(d);if(A.isFunction(r))return r.call(this,d,s);if(A.isRegExp(r))return r.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(f,r){if(f=Bn(f),f){const s=A.findKey(this,f);return!!(s&&this[s]!==void 0&&(!r||Xf(this,this[s],s,r)))}return!1}delete(f,r){const s=this;let d=!1;function v(S){if(S=Bn(S),S){const _=A.findKey(s,S);_&&(!r||Xf(s,s[_],_,r))&&(delete s[_],d=!0)}}return A.isArray(f)?f.forEach(v):v(f),d}clear(f){const r=Object.keys(this);let s=r.length,d=!1;for(;s--;){const v=r[s];(!f||Xf(this,this[v],v,f,!0))&&(delete this[v],d=!0)}return d}normalize(f){const r=this,s={};return A.forEach(this,(d,v)=>{const S=A.findKey(s,v);if(S){r[S]=ii(d),delete r[v];return}const _=f?X1(v):String(v).trim();_!==v&&delete r[v],r[_]=ii(d),s[_]=!0}),this}concat(...f){return this.constructor.concat(this,...f)}toJSON(f){const r=Object.create(null);return A.forEach(this,(s,d)=>{s!=null&&s!==!1&&(r[d]=f&&A.isArray(s)?s.join(", "):s)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([f,r])=>f+": "+r).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(f){return f instanceof this?f:new this(f)}static concat(f,...r){const s=new this(f);return r.forEach(d=>s.set(d)),s}static accessor(f){const s=(this[yh]=this[yh]={accessors:{}}).accessors,d=this.prototype;function v(S){const _=Bn(S);s[_]||(G1(d,S),s[_]=!0)}return A.isArray(f)?f.forEach(v):v(f),this}};cl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(cl.prototype,({value:c},f)=>{let r=f[0].toUpperCase()+f.slice(1);return{get:()=>c,set(s){this[r]=s}}});A.freezeMethods(cl);function Gf(c,f){const r=this||Ln,s=f||r,d=cl.from(s.headers);let v=s.data;return A.forEach(c,function(_){v=_.call(r,v,d.normalize(),f?f.status:void 0)}),d.normalize(),v}function Kh(c){return!!(c&&c.__CANCEL__)}function xa(c,f,r){W.call(this,c??"canceled",W.ERR_CANCELED,f,r),this.name="CanceledError"}A.inherits(xa,W,{__CANCEL__:!0});function wh(c,f,r){const s=r.config.validateStatus;!r.status||!s||s(r.status)?c(r):f(new W("Request failed with status code "+r.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Q1(c){const f=/^([-+\w]{1,25})(:?\/\/|:)/.exec(c);return f&&f[1]||""}function Z1(c,f){c=c||10;const r=new Array(c),s=new Array(c);let d=0,v=0,S;return f=f!==void 0?f:1e3,function(N){const g=Date.now(),U=s[v];S||(S=g),r[d]=N,s[d]=g;let H=v,V=0;for(;H!==d;)V+=r[H++],H=H%c;if(d=(d+1)%c,d===v&&(v=(v+1)%c),g-S{r=U,d=null,v&&(clearTimeout(v),v=null),c(...g)};return[(...g)=>{const U=Date.now(),H=U-r;H>=s?S(g,U):(d=g,v||(v=setTimeout(()=>{v=null,S(d)},s-H)))},()=>d&&S(d)]}const fi=(c,f,r=3)=>{let s=0;const d=Z1(50,250);return V1(v=>{const S=v.loaded,_=v.lengthComputable?v.total:void 0,N=S-s,g=d(N),U=S<=_;s=S;const H={loaded:S,total:_,progress:_?S/_:void 0,bytes:N,rate:g||void 0,estimated:g&&_&&U?(_-S)/g:void 0,event:v,lengthComputable:_!=null,[f?"download":"upload"]:!0};c(H)},r)},vh=(c,f)=>{const r=c!=null;return[s=>f[0]({lengthComputable:r,total:c,loaded:s}),f[1]]},Sh=c=>(...f)=>A.asap(()=>c(...f)),K1=Ft.hasStandardBrowserEnv?((c,f)=>r=>(r=new URL(r,Ft.origin),c.protocol===r.protocol&&c.host===r.host&&(f||c.port===r.port)))(new URL(Ft.origin),Ft.navigator&&/(msie|trident)/i.test(Ft.navigator.userAgent)):()=>!0,w1=Ft.hasStandardBrowserEnv?{write(c,f,r,s,d,v,S){if(typeof document>"u")return;const _=[`${c}=${encodeURIComponent(f)}`];A.isNumber(r)&&_.push(`expires=${new Date(r).toUTCString()}`),A.isString(s)&&_.push(`path=${s}`),A.isString(d)&&_.push(`domain=${d}`),v===!0&&_.push("secure"),A.isString(S)&&_.push(`SameSite=${S}`),document.cookie=_.join("; ")},read(c){if(typeof document>"u")return null;const f=document.cookie.match(new RegExp("(?:^|; )"+c+"=([^;]*)"));return f?decodeURIComponent(f[1]):null},remove(c){this.write(c,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function J1(c){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(c)}function F1(c,f){return f?c.replace(/\/?\/$/,"")+"/"+f.replace(/^\/+/,""):c}function Jh(c,f,r){let s=!J1(f);return c&&(s||r==!1)?F1(c,f):f}const gh=c=>c instanceof cl?{...c}:c;function We(c,f){f=f||{};const r={};function s(g,U,H,V){return A.isPlainObject(g)&&A.isPlainObject(U)?A.merge.call({caseless:V},g,U):A.isPlainObject(U)?A.merge({},U):A.isArray(U)?U.slice():U}function d(g,U,H,V){if(A.isUndefined(U)){if(!A.isUndefined(g))return s(void 0,g,H,V)}else return s(g,U,H,V)}function v(g,U){if(!A.isUndefined(U))return s(void 0,U)}function S(g,U){if(A.isUndefined(U)){if(!A.isUndefined(g))return s(void 0,g)}else return s(void 0,U)}function _(g,U,H){if(H in f)return s(g,U);if(H in c)return s(void 0,g)}const N={url:v,method:v,data:v,baseURL:S,transformRequest:S,transformResponse:S,paramsSerializer:S,timeout:S,timeoutMessage:S,withCredentials:S,withXSRFToken:S,adapter:S,responseType:S,xsrfCookieName:S,xsrfHeaderName:S,onUploadProgress:S,onDownloadProgress:S,decompress:S,maxContentLength:S,maxBodyLength:S,beforeRedirect:S,transport:S,httpAgent:S,httpsAgent:S,cancelToken:S,socketPath:S,responseEncoding:S,validateStatus:_,headers:(g,U,H)=>d(gh(g),gh(U),H,!0)};return A.forEach(Object.keys({...c,...f}),function(U){const H=N[U]||d,V=H(c[U],f[U],U);A.isUndefined(V)&&H!==_||(r[U]=V)}),r}const Fh=c=>{const f=We({},c);let{data:r,withXSRFToken:s,xsrfHeaderName:d,xsrfCookieName:v,headers:S,auth:_}=f;if(f.headers=S=cl.from(S),f.url=Qh(Jh(f.baseURL,f.url,f.allowAbsoluteUrls),c.params,c.paramsSerializer),_&&S.set("Authorization","Basic "+btoa((_.username||"")+":"+(_.password?unescape(encodeURIComponent(_.password)):""))),A.isFormData(r)){if(Ft.hasStandardBrowserEnv||Ft.hasStandardBrowserWebWorkerEnv)S.setContentType(void 0);else if(A.isFunction(r.getHeaders)){const N=r.getHeaders(),g=["content-type","content-length"];Object.entries(N).forEach(([U,H])=>{g.includes(U.toLowerCase())&&S.set(U,H)})}}if(Ft.hasStandardBrowserEnv&&(s&&A.isFunction(s)&&(s=s(f)),s||s!==!1&&K1(f.url))){const N=d&&v&&w1.read(v);N&&S.set(d,N)}return f},$1=typeof XMLHttpRequest<"u",W1=$1&&function(c){return new Promise(function(r,s){const d=Fh(c);let v=d.data;const S=cl.from(d.headers).normalize();let{responseType:_,onUploadProgress:N,onDownloadProgress:g}=d,U,H,V,ot,B;function X(){ot&&ot(),B&&B(),d.cancelToken&&d.cancelToken.unsubscribe(U),d.signal&&d.signal.removeEventListener("abort",U)}let x=new XMLHttpRequest;x.open(d.method.toUpperCase(),d.url,!0),x.timeout=d.timeout;function ut(){if(!x)return;const at=cl.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),At={data:!_||_==="text"||_==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:at,config:c,request:x};wh(function(w){r(w),X()},function(w){s(w),X()},At),x=null}"onloadend"in x?x.onloadend=ut:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(ut)},x.onabort=function(){x&&(s(new W("Request aborted",W.ECONNABORTED,c,x)),x=null)},x.onerror=function(gt){const At=gt&>.message?gt.message:"Network Error",Ot=new W(At,W.ERR_NETWORK,c,x);Ot.event=gt||null,s(Ot),x=null},x.ontimeout=function(){let gt=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const At=d.transitional||Zh;d.timeoutErrorMessage&&(gt=d.timeoutErrorMessage),s(new W(gt,At.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,c,x)),x=null},v===void 0&&S.setContentType(null),"setRequestHeader"in x&&A.forEach(S.toJSON(),function(gt,At){x.setRequestHeader(At,gt)}),A.isUndefined(d.withCredentials)||(x.withCredentials=!!d.withCredentials),_&&_!=="json"&&(x.responseType=d.responseType),g&&([V,B]=fi(g,!0),x.addEventListener("progress",V)),N&&x.upload&&([H,ot]=fi(N),x.upload.addEventListener("progress",H),x.upload.addEventListener("loadend",ot)),(d.cancelToken||d.signal)&&(U=at=>{x&&(s(!at||at.type?new xa(null,c,x):at),x.abort(),x=null)},d.cancelToken&&d.cancelToken.subscribe(U),d.signal&&(d.signal.aborted?U():d.signal.addEventListener("abort",U)));const Rt=Q1(d.url);if(Rt&&Ft.protocols.indexOf(Rt)===-1){s(new W("Unsupported protocol "+Rt+":",W.ERR_BAD_REQUEST,c));return}x.send(v||null)})},k1=(c,f)=>{const{length:r}=c=c?c.filter(Boolean):[];if(f||r){let s=new AbortController,d;const v=function(g){if(!d){d=!0,_();const U=g instanceof Error?g:this.reason;s.abort(U instanceof W?U:new xa(U instanceof Error?U.message:U))}};let S=f&&setTimeout(()=>{S=null,v(new W(`timeout ${f} of ms exceeded`,W.ETIMEDOUT))},f);const _=()=>{c&&(S&&clearTimeout(S),S=null,c.forEach(g=>{g.unsubscribe?g.unsubscribe(v):g.removeEventListener("abort",v)}),c=null)};c.forEach(g=>g.addEventListener("abort",v));const{signal:N}=s;return N.unsubscribe=()=>A.asap(_),N}},I1=function*(c,f){let r=c.byteLength;if(r{const d=P1(c,f);let v=0,S,_=N=>{S||(S=!0,s&&s(N))};return new ReadableStream({async pull(N){try{const{done:g,value:U}=await d.next();if(g){_(),N.close();return}let H=U.byteLength;if(r){let V=v+=H;r(V)}N.enqueue(new Uint8Array(U))}catch(g){throw _(g),g}},cancel(N){return _(N),d.return()}},{highWaterMark:2})},ph=64*1024,{isFunction:ni}=A,lv=(({Request:c,Response:f})=>({Request:c,Response:f}))(A.global),{ReadableStream:Eh,TextEncoder:Th}=A.global,Ah=(c,...f)=>{try{return!!c(...f)}catch{return!1}},ev=c=>{c=A.merge.call({skipUndefined:!0},lv,c);const{fetch:f,Request:r,Response:s}=c,d=f?ni(f):typeof fetch=="function",v=ni(r),S=ni(s);if(!d)return!1;const _=d&&ni(Eh),N=d&&(typeof Th=="function"?(B=>X=>B.encode(X))(new Th):async B=>new Uint8Array(await new r(B).arrayBuffer())),g=v&&_&&Ah(()=>{let B=!1;const X=new r(Ft.origin,{body:new Eh,method:"POST",get duplex(){return B=!0,"half"}}).headers.has("Content-Type");return B&&!X}),U=S&&_&&Ah(()=>A.isReadableStream(new s("").body)),H={stream:U&&(B=>B.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(B=>{!H[B]&&(H[B]=(X,x)=>{let ut=X&&X[B];if(ut)return ut.call(X);throw new W(`Response type '${B}' is not supported`,W.ERR_NOT_SUPPORT,x)})});const V=async B=>{if(B==null)return 0;if(A.isBlob(B))return B.size;if(A.isSpecCompliantForm(B))return(await new r(Ft.origin,{method:"POST",body:B}).arrayBuffer()).byteLength;if(A.isArrayBufferView(B)||A.isArrayBuffer(B))return B.byteLength;if(A.isURLSearchParams(B)&&(B=B+""),A.isString(B))return(await N(B)).byteLength},ot=async(B,X)=>{const x=A.toFiniteNumber(B.getContentLength());return x??V(X)};return async B=>{let{url:X,method:x,data:ut,signal:Rt,cancelToken:at,timeout:gt,onDownloadProgress:At,onUploadProgress:Ot,responseType:w,headers:Yt,withCredentials:$t="same-origin",fetchOptions:Ll}=Fh(B),fl=f||fetch;w=w?(w+"").toLowerCase():"text";let jt=k1([Rt,at&&at.toAbortSignal()],gt),sl=null;const Gt=jt&&jt.unsubscribe&&(()=>{jt.unsubscribe()});let It;try{if(Ot&&g&&x!=="get"&&x!=="head"&&(It=await ot(Yt,ut))!==0){let m=new r(X,{method:"POST",body:ut,duplex:"half"}),M;if(A.isFormData(ut)&&(M=m.headers.get("content-type"))&&Yt.setContentType(M),m.body){const[j,Y]=vh(It,fi(Sh(Ot)));ut=bh(m.body,ph,j,Y)}}A.isString($t)||($t=$t?"include":"omit");const z=v&&"credentials"in r.prototype,q={...Ll,signal:jt,method:x.toUpperCase(),headers:Yt.normalize().toJSON(),body:ut,duplex:"half",credentials:z?$t:void 0};sl=v&&new r(X,q);let Q=await(v?fl(sl,Ll):fl(X,q));const ft=U&&(w==="stream"||w==="response");if(U&&(At||ft&&Gt)){const m={};["status","statusText","headers"].forEach(J=>{m[J]=Q[J]});const M=A.toFiniteNumber(Q.headers.get("content-length")),[j,Y]=At&&vh(M,fi(Sh(At),!0))||[];Q=new s(bh(Q.body,ph,j,()=>{Y&&Y(),Gt&&Gt()}),m)}w=w||"text";let dt=await H[A.findKey(H,w)||"text"](Q,B);return!ft&&Gt&&Gt(),await new Promise((m,M)=>{wh(m,M,{data:dt,headers:cl.from(Q.headers),status:Q.status,statusText:Q.statusText,config:B,request:sl})})}catch(z){throw Gt&&Gt(),z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,B,sl),{cause:z.cause||z}):W.from(z,z&&z.code,B,sl)}}},av=new Map,$h=c=>{let f=c&&c.env||{};const{fetch:r,Request:s,Response:d}=f,v=[s,d,r];let S=v.length,_=S,N,g,U=av;for(;_--;)N=v[_],g=U.get(N),g===void 0&&U.set(N,g=_?new Map:ev(f)),U=g;return g};$h();const If={http:p1,xhr:W1,fetch:{get:$h}};A.forEach(If,(c,f)=>{if(c){try{Object.defineProperty(c,"name",{value:f})}catch{}Object.defineProperty(c,"adapterName",{value:f})}});const Oh=c=>`- ${c}`,nv=c=>A.isFunction(c)||c===null||c===!1;function uv(c,f){c=A.isArray(c)?c:[c];const{length:r}=c;let s,d;const v={};for(let S=0;S`adapter ${N} `+(g===!1?"is not supported by the environment":"is not available in the build"));let _=r?S.length>1?`since : -`+S.map(Oh).join(` -`):" "+Oh(S[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+_,"ERR_NOT_SUPPORT")}return d}const Wh={getAdapter:uv,adapters:If};function Qf(c){if(c.cancelToken&&c.cancelToken.throwIfRequested(),c.signal&&c.signal.aborted)throw new xa(null,c)}function zh(c){return Qf(c),c.headers=cl.from(c.headers),c.data=Gf.call(c,c.transformRequest),["post","put","patch"].indexOf(c.method)!==-1&&c.headers.setContentType("application/x-www-form-urlencoded",!1),Wh.getAdapter(c.adapter||Ln.adapter,c)(c).then(function(s){return Qf(c),s.data=Gf.call(c,c.transformResponse,s),s.headers=cl.from(s.headers),s},function(s){return Kh(s)||(Qf(c),s&&s.response&&(s.response.data=Gf.call(c,c.transformResponse,s.response),s.response.headers=cl.from(s.response.headers))),Promise.reject(s)})}const kh="1.13.1",hi={};["object","boolean","number","function","string","symbol"].forEach((c,f)=>{hi[c]=function(s){return typeof s===c||"a"+(f<1?"n ":" ")+c}});const _h={};hi.transitional=function(f,r,s){function d(v,S){return"[Axios v"+kh+"] Transitional option '"+v+"'"+S+(s?". "+s:"")}return(v,S,_)=>{if(f===!1)throw new W(d(S," has been removed"+(r?" in "+r:"")),W.ERR_DEPRECATED);return r&&!_h[S]&&(_h[S]=!0,console.warn(d(S," has been deprecated since v"+r+" and will be removed in the near future"))),f?f(v,S,_):!0}};hi.spelling=function(f){return(r,s)=>(console.warn(`${s} is likely a misspelling of ${f}`),!0)};function iv(c,f,r){if(typeof c!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(c);let d=s.length;for(;d-- >0;){const v=s[d],S=f[v];if(S){const _=c[v],N=_===void 0||S(_,v,c);if(N!==!0)throw new W("option "+v+" must be "+N,W.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new W("Unknown option "+v,W.ERR_BAD_OPTION)}}const ci={assertOptions:iv,validators:hi},Yl=ci.validators;let $e=class{constructor(f){this.defaults=f||{},this.interceptors={request:new mh,response:new mh}}async request(f,r){try{return await this._request(f,r)}catch(s){if(s instanceof Error){let d={};Error.captureStackTrace?Error.captureStackTrace(d):d=new Error;const v=d.stack?d.stack.replace(/^.+\n/,""):"";try{s.stack?v&&!String(s.stack).endsWith(v.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+v):s.stack=v}catch{}}throw s}}_request(f,r){typeof f=="string"?(r=r||{},r.url=f):r=f||{},r=We(this.defaults,r);const{transitional:s,paramsSerializer:d,headers:v}=r;s!==void 0&&ci.assertOptions(s,{silentJSONParsing:Yl.transitional(Yl.boolean),forcedJSONParsing:Yl.transitional(Yl.boolean),clarifyTimeoutError:Yl.transitional(Yl.boolean)},!1),d!=null&&(A.isFunction(d)?r.paramsSerializer={serialize:d}:ci.assertOptions(d,{encode:Yl.function,serialize:Yl.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),ci.assertOptions(r,{baseUrl:Yl.spelling("baseURL"),withXsrfToken:Yl.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let S=v&&A.merge(v.common,v[r.method]);v&&A.forEach(["delete","get","head","post","put","patch","common"],B=>{delete v[B]}),r.headers=cl.concat(S,v);const _=[];let N=!0;this.interceptors.request.forEach(function(X){typeof X.runWhen=="function"&&X.runWhen(r)===!1||(N=N&&X.synchronous,_.unshift(X.fulfilled,X.rejected))});const g=[];this.interceptors.response.forEach(function(X){g.push(X.fulfilled,X.rejected)});let U,H=0,V;if(!N){const B=[zh.bind(this),void 0];for(B.unshift(..._),B.push(...g),V=B.length,U=Promise.resolve(r);H{if(!s._listeners)return;let v=s._listeners.length;for(;v-- >0;)s._listeners[v](d);s._listeners=null}),this.promise.then=d=>{let v;const S=new Promise(_=>{s.subscribe(_),v=_}).then(d);return S.cancel=function(){s.unsubscribe(v)},S},f(function(v,S,_){s.reason||(s.reason=new xa(v,S,_),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(f){if(this.reason){f(this.reason);return}this._listeners?this._listeners.push(f):this._listeners=[f]}unsubscribe(f){if(!this._listeners)return;const r=this._listeners.indexOf(f);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const f=new AbortController,r=s=>{f.abort(s)};return this.subscribe(r),f.signal.unsubscribe=()=>this.unsubscribe(r),f.signal}static source(){let f;return{token:new Ih(function(d){f=d}),cancel:f}}};function fv(c){return function(r){return c.apply(null,r)}}function sv(c){return A.isObject(c)&&c.isAxiosError===!0}const wf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(wf).forEach(([c,f])=>{wf[f]=c});function Ph(c){const f=new $e(c),r=Mh($e.prototype.request,f);return A.extend(r,$e.prototype,f,{allOwnKeys:!0}),A.extend(r,f,null,{allOwnKeys:!0}),r.create=function(d){return Ph(We(c,d))},r}const Nt=Ph(Ln);Nt.Axios=$e;Nt.CanceledError=xa;Nt.CancelToken=cv;Nt.isCancel=Kh;Nt.VERSION=kh;Nt.toFormData=di;Nt.AxiosError=W;Nt.Cancel=Nt.CanceledError;Nt.all=function(f){return Promise.all(f)};Nt.spread=fv;Nt.isAxiosError=sv;Nt.mergeConfig=We;Nt.AxiosHeaders=cl;Nt.formToJSON=c=>Vh(A.isHTMLForm(c)?new FormData(c):c);Nt.getAdapter=Wh.getAdapter;Nt.HttpStatusCode=wf;Nt.default=Nt;const{Axios:yv,AxiosError:vv,CanceledError:Sv,isCancel:gv,CancelToken:bv,VERSION:pv,all:Ev,Cancel:Tv,isAxiosError:Av,spread:Ov,toFormData:zv,AxiosHeaders:_v,HttpStatusCode:Rv,formToJSON:Uv,getAdapter:Dv,mergeConfig:Mv}=Nt,ov="https://api.irail.be",rv=(c,f)=>{Ff.useEffect(()=>{(async()=>{try{f(Lf.loadTrainSchedule({}));const r=await Nt.get(`${ov}/stations?format=json&lang=en`),{station:s}=r.data;f(Lf.loadTrainScheduleSuccess({stations:s}))}catch(r){f(Lf.loadTrainScheduleError({error:r}))}})()},[])};function dv(){const[c,f]=Ff.useReducer(B0,H0);return rv(c,f),qn.jsxs(qn.Fragment,{children:[qn.jsx("textarea",{value:JSON.stringify(c)}),")"]})}C0.createRoot(document.getElementById("root")).render(qn.jsx(Ff.StrictMode,{children:qn.jsx(dv,{})})); diff --git a/dist/assets/index-Bvsyeuyp.js b/dist/assets/index-Bvsyeuyp.js new file mode 100644 index 0000000..9d7587a --- /dev/null +++ b/dist/assets/index-Bvsyeuyp.js @@ -0,0 +1,271 @@ +(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))h(p);new MutationObserver(p=>{for(const _ of p)if(_.type==="childList")for(const b of _.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&h(b)}).observe(document,{childList:!0,subtree:!0});function s(p){const _={};return p.integrity&&(_.integrity=p.integrity),p.referrerPolicy&&(_.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?_.credentials="include":p.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function h(p){if(p.ep)return;p.ep=!0;const _=s(p);fetch(p.href,_)}})();var Zd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sy(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Dg={exports:{}},hh={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var gp;function _y(){if(gp)return hh;gp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function s(h,p,_){var b=null;if(_!==void 0&&(b=""+_),p.key!==void 0&&(b=""+p.key),"key"in p){_={};for(var z in p)z!=="key"&&(_[z]=p[z])}else _=p;return p=_.ref,{$$typeof:i,type:h,key:b,ref:p!==void 0?p:null,props:_}}return hh.Fragment=o,hh.jsx=s,hh.jsxs=s,hh}var pp;function by(){return pp||(pp=1,Dg.exports=_y()),Dg.exports}var yt=by(),Mg={exports:{}},Dt={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var mp;function Ey(){if(mp)return Dt;mp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),b=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),et=Symbol.iterator;function rt(O){return O===null||typeof O!="object"?null:(O=et&&O[et]||O["@@iterator"],typeof O=="function"?O:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,I={};function ot(O,Q,nt){this.props=O,this.context=Q,this.refs=I,this.updater=nt||X}ot.prototype.isReactComponent={},ot.prototype.setState=function(O,Q){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,Q,"setState")},ot.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function Ot(){}Ot.prototype=ot.prototype;function it(O,Q,nt){this.props=O,this.context=Q,this.refs=I,this.updater=nt||X}var pt=it.prototype=new Ot;pt.constructor=it,P(pt,ot.prototype),pt.isPureReactComponent=!0;var _t=Array.isArray;function mt(){}var k={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function Ae(O,Q,nt){var ut=nt.ref;return{$$typeof:i,type:O,key:Q,ref:ut!==void 0?ut:null,props:nt}}function Sl(O,Q){return Ae(O.type,Q,O.props)}function an(O){return typeof O=="object"&&O!==null&&O.$$typeof===i}function we(O){var Q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(nt){return Q[nt]})}var rn=/\/+/g;function Me(O,Q){return typeof O=="object"&&O!==null&&O.key!=null?we(""+O.key):Q.toString(36)}function tn(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(mt,mt):(O.status="pending",O.then(function(Q){O.status==="pending"&&(O.status="fulfilled",O.value=Q)},function(Q){O.status==="pending"&&(O.status="rejected",O.reason=Q)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function j(O,Q,nt,ut,dt){var Tt=typeof O;(Tt==="undefined"||Tt==="boolean")&&(O=null);var Qt=!1;if(O===null)Qt=!0;else switch(Tt){case"bigint":case"string":case"number":Qt=!0;break;case"object":switch(O.$$typeof){case i:case o:Qt=!0;break;case N:return Qt=O._init,j(Qt(O._payload),Q,nt,ut,dt)}}if(Qt)return dt=dt(O),Qt=ut===""?"."+Me(O,0):ut,_t(dt)?(nt="",Qt!=null&&(nt=Qt.replace(rn,"$&/")+"/"),j(dt,Q,nt,"",function(Fl){return Fl})):dt!=null&&(an(dt)&&(dt=Sl(dt,nt+(dt.key==null||O&&O.key===dt.key?"":(""+dt.key).replace(rn,"$&/")+"/")+Qt)),Q.push(dt)),1;Qt=0;var he=ut===""?".":ut+":";if(_t(O))for(var Vt=0;Vt>>1,Ht=j[Mt];if(0>>1;Mtp(nt,ft))utp(dt,nt)?(j[Mt]=dt,j[ut]=ft,Mt=ut):(j[Mt]=nt,j[Q]=ft,Mt=Q);else if(utp(dt,ft))j[Mt]=dt,j[ut]=ft,Mt=ut;else break t}}return tt}function p(j,tt){var ft=j.sortIndex-tt.sortIndex;return ft!==0?ft:j.id-tt.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var _=performance;i.unstable_now=function(){return _.now()}}else{var b=Date,z=b.now();i.unstable_now=function(){return b.now()-z}}var D=[],T=[],N=1,H=null,et=3,rt=!1,X=!1,P=!1,I=!1,ot=typeof setTimeout=="function"?setTimeout:null,Ot=typeof clearTimeout=="function"?clearTimeout:null,it=typeof setImmediate<"u"?setImmediate:null;function pt(j){for(var tt=s(T);tt!==null;){if(tt.callback===null)h(T);else if(tt.startTime<=j)h(T),tt.sortIndex=tt.expirationTime,o(D,tt);else break;tt=s(T)}}function _t(j){if(P=!1,pt(j),!X)if(s(D)!==null)X=!0,mt||(mt=!0,we());else{var tt=s(T);tt!==null&&tn(_t,tt.startTime-j)}}var mt=!1,k=-1,te=5,Ae=-1;function Sl(){return I?!0:!(i.unstable_now()-Aej&&Sl());){var Mt=H.callback;if(typeof Mt=="function"){H.callback=null,et=H.priorityLevel;var Ht=Mt(H.expirationTime<=j);if(j=i.unstable_now(),typeof Ht=="function"){H.callback=Ht,pt(j),tt=!0;break e}H===s(D)&&h(D),pt(j)}else h(D);H=s(D)}if(H!==null)tt=!0;else{var O=s(T);O!==null&&tn(_t,O.startTime-j),tt=!1}}break t}finally{H=null,et=ft,rt=!1}tt=void 0}}finally{tt?we():mt=!1}}}var we;if(typeof it=="function")we=function(){it(an)};else if(typeof MessageChannel<"u"){var rn=new MessageChannel,Me=rn.port2;rn.port1.onmessage=an,we=function(){Me.postMessage(null)}}else we=function(){ot(an,0)};function tn(j,tt){k=ot(function(){j(i.unstable_now())},tt)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(j){j.callback=null},i.unstable_forceFrameRate=function(j){0>j||125Mt?(j.sortIndex=ft,o(T,j),s(D)===null&&j===s(T)&&(P?(Ot(k),k=-1):P=!0,tn(_t,ft-Mt))):(j.sortIndex=Ht,o(D,j),X||rt||(X=!0,mt||(mt=!0,we()))),j},i.unstable_shouldYield=Sl,i.unstable_wrapCallback=function(j){var tt=et;return function(){var ft=et;et=tt;try{return j.apply(this,arguments)}finally{et=ft}}}})(Bg)),Bg}var Sp;function Ty(){return Sp||(Sp=1,Ug.exports=Ay()),Ug.exports}var Lg={exports:{}},Cn={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var _p;function Oy(){if(_p)return Cn;_p=1;var i=ep();function o(D){var T="https://react.dev/errors/"+D;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Lg.exports=Oy(),Lg.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ep;function Ry(){if(Ep)return dh;Ep=1;var i=Ty(),o=ep(),s=xy();function h(t){var e="https://react.dev/errors/"+t;if(1Ht||(t.current=Mt[Ht],Mt[Ht]=null,Ht--)}function nt(t,e){Ht++,Mt[Ht]=t.current,t.current=e}var ut=O(null),dt=O(null),Tt=O(null),Qt=O(null);function he(t,e){switch(nt(Tt,e),nt(dt,t),nt(ut,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Fr(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Fr(e),t=wn(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(ut),nt(ut,t)}function Vt(){Q(ut),Q(dt),Q(Tt)}function Fl(t){t.memoizedState!==null&&nt(Qt,t);var e=ut.current,n=wn(e,t.type);e!==n&&(nt(dt,t),nt(ut,n))}function tl(t){dt.current===t&&(Q(ut),Q(dt)),Qt.current===t&&(Q(Qt),Di._currentValue=ft)}var fn,as;function Je(t){if(fn===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);fn=e&&e[1]||"",as=-1)":-1r||A[u]!==B[r]){var K=` +`+A[u].replace(" at new "," at ");return t.displayName&&K.includes("")&&(K=K.replace("",t.displayName)),K}while(1<=u&&0<=r);break}}}finally{ua=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Je(n):""}function $l(t,e){switch(t.tag){case 26:case 27:case 5:return Je(t.type);case 16:return Je("Lazy");case 13:return t.child!==e&&e!==null?Je("Suspense Fallback"):Je("Suspense");case 19:return Je("SuspenseList");case 0:case 15:return is(t.type,!1);case 11:return is(t.type.render,!1);case 1:return is(t.type,!0);case 31:return Je("Activity");default:return""}}function rs(t){try{var e="",n=null;do e+=$l(t,n),n=t,t=t.return;while(t);return e}catch(u){return` +Error generating stack: `+u.message+` +`+u.stack}}var fs=Object.prototype.hasOwnProperty,aa=i.unstable_scheduleCallback,Mn=i.unstable_cancelCallback,Bi=i.unstable_shouldYield,ff=i.unstable_requestPaint,Nn=i.unstable_now,Li=i.unstable_getCurrentPriorityLevel,Oh=i.unstable_ImmediatePriority,Ha=i.unstable_UserBlockingPriority,Il=i.unstable_NormalPriority,cs=i.unstable_LowPriority,cf=i.unstable_IdlePriority,ss=i.log,os=i.unstable_setDisableYieldValue,ia=null,cn=null;function Hl(t){if(typeof ss=="function"&&os(t),cn&&typeof cn.setStrictMode=="function")try{cn.setStrictMode(ia,t)}catch{}}var sn=Math.clz32?Math.clz32:A1,hs=Math.log,E1=Math.LN2;function A1(t){return t>>>=0,t===0?32:31-(hs(t)/E1|0)|0}var sf=256,Hi=262144,qi=4194304;function ra(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function of(t,e,n){var u=t.pendingLanes;if(u===0)return 0;var r=0,c=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var y=u&134217727;return y!==0?(u=y&~c,u!==0?r=ra(u):(g&=y,g!==0?r=ra(g):n||(n=y&~t,n!==0&&(r=ra(n))))):(y=u&~c,y!==0?r=ra(y):g!==0?r=ra(g):n||(n=u&~t,n!==0&&(r=ra(n)))),r===0?0:e!==0&&e!==r&&(e&c)===0&&(c=r&-r,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:r}function Gi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function T1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 ds(){var t=qi;return qi<<=1,(qi&62914560)===0&&(qi=4194304),t}function gs(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Yi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function O1(t,e,n,u,r,c){var g=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,A=t.expirationTimes,B=t.hiddenUpdates;for(n=g&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var C1=/[\n"\\]/g;function Bn(t){return t.replace(C1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vf(t,e,n,u,r,c,g,y){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Un(e)):t.value!==""+Un(e)&&(t.value=""+Un(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?vs(t,g,Un(e)):n!=null?vs(t,g,Un(n)):u!=null&&t.removeAttribute("value"),r==null&&c!=null&&(t.defaultChecked=!!c),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Un(y):t.removeAttribute("name")}function Sf(t,e,n,u,r,c,g,y){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){yf(t);return}n=n!=null?""+Un(n):"",e=e!=null?""+Un(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}u=u??r,u=typeof u!="function"&&typeof u!="symbol"&&!!u,t.checked=y?t.checked:!!u,t.defaultChecked=!!u,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),yf(t)}function vs(t,e,n){e==="number"&&Ki(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function ca(t,e,n,u){if(t=t.options,e){e={};for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),As=!1;if(eu)try{var Ji={};Object.defineProperty(Ji,"passive",{get:function(){As=!0}}),window.addEventListener("test",Ji,Ji),window.removeEventListener("test",Ji,Ji)}catch{As=!1}var Ou=null,Ts=null,ue=null;function ce(){if(ue)return ue;var t,e=Ts,n=e.length,u,r="value"in Ou?Ou.value:Ou.textContent,c=r.length;for(t=0;t=da),Ih=" ",Df=!1;function Mf(t,e){switch(t){case"keyup":return $h.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ga=!1;function qn(t,e){switch(t){case"compositionend":return kh(e);case"keypress":return e.which!==32?null:(Df=!0,Ih);case"textInput":return t=e.data,t===Ih&&Df?null:t;default:return null}}function zs(t,e){if(ga)return t==="compositionend"||!Cf&&Mf(t,e)?(t=ce(),ue=Ts=Ou=null,ga=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=u}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=t0(n)}}function n0(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?n0(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function l0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Ki(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Ki(t.document)}return e}function Bs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ka=eu&&"documentMode"in document&&11>=document.documentMode,w=null,Z=null,q=null,at=!1;function xt(t,e,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;at||w==null||w!==Ki(u)||(u=w,"selectionStart"in u&&Bs(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),q&&Za(q,u)||(q=u,u=Kr(Z,"onSelect"),0>=g,r-=g,Yl=1<<32-sn(e)+r|n<Nt?(Xt=st,st=null):Xt=st.sibling;var Ft=L(C,st,U[Nt],V);if(Ft===null){st===null&&(st=Xt);break}t&&st&&Ft.alternate===null&&e(C,st),R=c(Ft,R,Nt),Wt===null?gt=Ft:Wt.sibling=Ft,Wt=Ft,st=Xt}if(Nt===U.length)return n(C,st),Zt&&jn(C,Nt),gt;if(st===null){for(;NtNt?(Xt=st,st=null):Xt=st.sibling;var ta=L(C,st,Ft.value,V);if(ta===null){st===null&&(st=Xt);break}t&&st&&ta.alternate===null&&e(C,st),R=c(ta,R,Nt),Wt===null?gt=ta:Wt.sibling=ta,Wt=ta,st=Xt}if(Ft.done)return n(C,st),Zt&&jn(C,Nt),gt;if(st===null){for(;!Ft.done;Nt++,Ft=U.next())Ft=J(C,Ft.value,V),Ft!==null&&(R=c(Ft,R,Nt),Wt===null?gt=Ft:Wt.sibling=Ft,Wt=Ft);return Zt&&jn(C,Nt),gt}for(st=u(st);!Ft.done;Nt++,Ft=U.next())Ft=Y(st,C,Nt,Ft.value,V),Ft!==null&&(t&&Ft.alternate!==null&&st.delete(Ft.key===null?Nt:Ft.key),R=c(Ft,R,Nt),Wt===null?gt=Ft:Wt.sibling=Ft,Wt=Ft);return t&&st.forEach(function(Cg){return e(C,Cg)}),Zt&&jn(C,Nt),gt}function re(C,R,U,V){if(typeof U=="object"&&U!==null&&U.type===P&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case rt:t:{for(var gt=U.key;R!==null;){if(R.key===gt){if(gt=U.type,gt===P){if(R.tag===7){n(C,R.sibling),V=r(R,U.props.children),V.return=C,C=V;break t}}else if(R.elementType===gt||typeof gt=="object"&>!==null&>.$$typeof===te&&Tl(gt)===R.type){n(C,R.sibling),V=r(R,U.props),Ol(V,U),V.return=C,C=V;break t}n(C,R);break}else e(C,R);R=R.sibling}U.type===P?(V=va(U.props.children,C.mode,V,U.key),V.return=C,C=V):(V=Xf(U.type,U.key,U.props,null,C.mode,V),Ol(V,U),V.return=C,C=V)}return g(C);case X:t:{for(gt=U.key;R!==null;){if(R.key===gt)if(R.tag===4&&R.stateNode.containerInfo===U.containerInfo&&R.stateNode.implementation===U.implementation){n(C,R.sibling),V=r(R,U.children||[]),V.return=C,C=V;break t}else{n(C,R);break}else e(C,R);R=R.sibling}V=lr(U,C.mode,V),V.return=C,C=V}return g(C);case te:return U=Tl(U),re(C,R,U,V)}if(tn(U))return ct(C,R,U,V);if(we(U)){if(gt=we(U),typeof gt!="function")throw Error(h(150));return U=gt.call(U),St(C,R,U,V)}if(typeof U.then=="function")return re(C,R,ai(U),V);if(U.$$typeof===it)return re(C,R,fl(C,U),V);on(C,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,R!==null&&R.tag===6?(n(C,R.sibling),V=r(R,U),V.return=C,C=V):(n(C,R),V=Fa(U,C.mode,V),V.return=C,C=V),g(C)):n(C,R)}return function(C,R,U,V){try{Xn=0;var gt=re(C,R,U,V);return ui=null,gt}catch(st){if(st===li||st===rr)throw st;var Wt=Fe(29,st,null,C.mode);return Wt.lanes=V,Wt.return=C,Wt}finally{}}}var Uu=g0(!0),Xs=g0(!1),sl=!1;function Xl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ff(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Bu(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function xl(t,e,n){var u=t.updateQueue;if(u===null)return null;if(u=u.shared,($t&2)!==0){var r=u.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),u.pending=e,e=er(t),Ls(t,null,n),e}return ya(t,u,e,n),er(t)}function fr(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var u=e.lanes;u&=t.pendingLanes,n|=u,e.lanes=n,xh(t,n)}}function $f(t,e){var n=t.updateQueue,u=t.alternate;if(u!==null&&(u=u.updateQueue,n===u)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var g={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=g:c=c.next=g,n=n.next}while(n!==null);c===null?r=c=e:c=c.next=e}else r=c=e;n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:u.shared,callbacks:u.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var qe=!1;function Ta(){if(qe){var t=ni;if(t!==null)throw t}}function ii(t,e,n,u){qe=!1;var r=t.updateQueue;sl=!1;var c=r.firstBaseUpdate,g=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var A=y,B=A.next;A.next=null,g===null?c=B:g.next=B,g=A;var K=t.alternate;K!==null&&(K=K.updateQueue,y=K.lastBaseUpdate,y!==g&&(y===null?K.firstBaseUpdate=B:y.next=B,K.lastBaseUpdate=A))}if(c!==null){var J=r.baseState;g=0,K=B=A=null,y=c;do{var L=y.lane&-536870913,Y=L!==y.lane;if(Y?(jt&L)===L:(u&L)===L){L!==0&&L===ei&&(qe=!0),K!==null&&(K=K.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var ct=t,St=y;L=e;var re=n;switch(St.tag){case 1:if(ct=St.payload,typeof ct=="function"){J=ct.call(re,J,L);break t}J=ct;break t;case 3:ct.flags=ct.flags&-65537|128;case 0:if(ct=St.payload,L=typeof ct=="function"?ct.call(re,J,L):ct,L==null)break t;J=H({},J,L);break t;case 2:sl=!0}}L=y.callback,L!==null&&(t.flags|=64,Y&&(t.flags|=8192),Y=r.callbacks,Y===null?r.callbacks=[L]:Y.push(L))}else Y={lane:L,tag:y.tag,payload:y.payload,callback:y.callback,next:null},K===null?(B=K=Y,A=J):K=K.next=Y,g|=L;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;Y=y,y=Y.next,Y.next=null,r.lastBaseUpdate=Y,r.shared.pending=null}}while(!0);K===null&&(A=J),r.baseState=A,r.firstBaseUpdate=B,r.lastBaseUpdate=K,c===null&&(r.shared.lanes=0),Qu|=g,t.lanes=g,t.memoizedState=J}}function Rl(t,e){if(typeof t!="function")throw Error(h(191,t));t.call(e)}function If(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;tc?c:8;var g=j.T,y={};j.T=y,pi(t,!1,e,n);try{var A=r(),B=j.S;if(B!==null&&B(y,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var K=K1(A,u);gi(t,e,K,Fn(t))}else gi(t,e,u,Fn(t))}catch(J){gi(t,e,{then:function(){},status:"rejected",reason:J},Fn())}finally{tt.p=c,g!==null&&y.types!==null&&(g.types=y.types),j.T=g}}function fc(){}function qu(t,e,n,u){if(t.tag!==5)throw Error(h(476));var r=ao(t).queue;O0(t,r,e,ft,n===null?fc:function(){return io(t),n(u)})}function ao(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ft,baseState:ft,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:ft},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wl,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function io(t){var e=ao(t);e.next===null&&(e=t.alternate.memoizedState),gi(t,e.next.queue,{},Fn())}function ro(){return $e(Di)}function fo(){return Ce().memoizedState}function xa(){return Ce().memoizedState}function yr(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Fn();t=Bu(n);var u=xl(e,t,n);u!==null&&(xn(u,e,n),fr(u,e,n)),e={cache:Al()},t.payload=e;return}e=e.return}}function F1(t,e,n){var u=Fn();n={lane:u,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},vr(t)?Sr(e,n):(n=jf(t,e,n,u),n!==null&&(xn(n,t,u),cc(n,e,u)))}function co(t,e,n){var u=Fn();gi(t,e,n,u)}function gi(t,e,n,u){var r={lane:u,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(vr(t))Sr(e,r);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var g=e.lastRenderedState,y=c(g,n);if(r.hasEagerState=!0,r.eagerState=y,Se(y,g))return ya(t,e,r,0),oe===null&&El(),!1}catch{}finally{}if(n=jf(t,e,r,u),n!==null)return xn(n,t,u),cc(n,e,u),!0}return!1}function pi(t,e,n,u){if(u={lane:2,revertLane:$n(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},vr(t)){if(e)throw Error(h(479))}else e=jf(t,n,u,2),e!==null&&xn(e,t,2)}function vr(t){var e=t.alternate;return t===zt||e!==null&&e===zt}function Sr(t,e){ri=or=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function cc(t,e,n){if((n&4194048)!==0){var u=e.lanes;u&=t.pendingLanes,n|=u,e.lanes=n,xh(t,n)}}var Gu={readContext:$e,use:oi,useCallback:ye,useContext:ye,useEffect:ye,useImperativeHandle:ye,useLayoutEffect:ye,useInsertionEffect:ye,useMemo:ye,useReducer:ye,useRef:ye,useState:ye,useDebugValue:ye,useDeferredValue:ye,useTransition:ye,useSyncExternalStore:ye,useId:ye,useHostTransitionStatus:ye,useFormState:ye,useActionState:ye,useOptimistic:ye,useMemoCache:ye,useCacheRefresh:ye};Gu.useEffectEvent=ye;var x0={readContext:$e,use:oi,useCallback:function(t,e){return en().memoizedState=[t,e===void 0?null:e],t},useContext:$e,useEffect:eo,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,zl(4194308,4,lo.bind(null,e,t),n)},useLayoutEffect:function(t,e){return zl(4194308,4,t,e)},useInsertionEffect:function(t,e){zl(4,2,t,e)},useMemo:function(t,e){var n=en();e=e===void 0?null:e;var u=t();if(Oa){Hl(!0);try{t()}finally{Hl(!1)}}return n.memoizedState=[u,e],u},useReducer:function(t,e,n){var u=en();if(n!==void 0){var r=n(e);if(Oa){Hl(!0);try{n(e)}finally{Hl(!1)}}}else r=e;return u.memoizedState=u.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},u.queue=t,t=t.dispatch=F1.bind(null,zt,t),[u.memoizedState,t]},useRef:function(t){var e=en();return t={current:t},e.memoizedState=t},useState:function(t){t=di(t);var e=t.queue,n=co.bind(null,zt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:rc,useDeferredValue:function(t,e){var n=en();return dl(n,t,e)},useTransition:function(){var t=di(!1);return t=O0.bind(null,zt,t.queue,!0,!1),en().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var u=zt,r=en();if(Zt){if(n===void 0)throw Error(h(407));n=n()}else{if(n=e(),oe===null)throw Error(h(349));(jt&127)!==0||Fs(u,e,n)}r.memoizedState=n;var c={value:n,getSnapshot:e};return r.queue=c,eo(y0.bind(null,u,c,t),[t]),u.flags|=2048,Vn(9,{destroy:void 0},m0.bind(null,u,c,n,e),null),n},useId:function(){var t=en(),e=oe.identifierPrefix;if(Zt){var n=il,u=Yl;n=(u&~(1<<32-sn(u)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Pf++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof u.is=="string"?g.createElement("select",{is:u.is}):g.createElement("select"),u.multiple?c.multiple=!0:u.size&&(c.size=u.size);break;default:c=typeof u.is=="string"?g.createElement(r,{is:u.is}):g.createElement(r)}}c[We]=e,c[mn]=u;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)c.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=c;t:switch(Pe(c,r,u),r){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break t;case"img":u=!0;break t;default:u=!1}u&&ou(e)}}return se(e),_o(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==u&&ou(e);else{if(typeof u!="string"&&e.stateNode===null)throw Error(h(166));if(t=Tt.current,_a(e)){if(t=e.stateNode,n=e.memoizedProps,u=null,r=Ue,r!==null)switch(r.tag){case 27:case 5:u=r.memoizedProps}t[We]=e,t=!!(t.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||pd(t.nodeValue,n)),t||Cu(e,!0)}else t=Wr(t).createTextNode(u),t[We]=e,e.stateNode=t}return se(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(u=_a(e),n!==null){if(t===null){if(!u)throw Error(h(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(h(557));t[We]=e}else v(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;se(e),t=!1}else n=Du(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(_n(e),e):(_n(e),null);if((e.flags&128)!==0)throw Error(h(558))}return se(e),null;case 13:if(u=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=_a(e),u!==null&&u.dehydrated!==null){if(t===null){if(!r)throw Error(h(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(h(317));r[We]=e}else v(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;se(e),r=!1}else r=Du(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(_n(e),e):(_n(e),null)}return _n(e),(e.flags&128)!==0?(e.lanes=n,e):(n=u!==null,t=t!==null&&t.memoizedState!==null,n&&(u=e.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==r&&(u.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),zr(e,e.updateQueue),se(e),null);case 4:return Vt(),t===null&&Fo(e.stateNode.containerInfo),se(e),null;case 10:return ru(e.type),se(e),null;case 19:if(Q(ze),u=e.memoizedState,u===null)return se(e),null;if(r=(e.flags&128)!==0,c=u.rendering,c===null)if(r)Cr(u,!1);else{if(be!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=kf(t),c!==null){for(e.flags|=128,Cr(u,!1),t=c.updateQueue,e.updateQueue=t,zr(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)r0(n,t),n=n.sibling;return nt(ze,ze.current&1|2),Zt&&jn(e,u.treeForkCount),e.child}t=t.sibling}u.tail!==null&&Nn()>za&&(e.flags|=128,r=!0,Cr(u,!1),e.lanes=4194304)}else{if(!r)if(t=kf(c),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,zr(e,t),Cr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!c.alternate&&!Zt)return se(e),null}else 2*Nn()-u.renderingStartTime>za&&n!==536870912&&(e.flags|=128,r=!0,Cr(u,!1),e.lanes=4194304);u.isBackwards?(c.sibling=e.child,e.child=c):(t=u.last,t!==null?t.sibling=c:e.child=c,u.last=c)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Nn(),t.sibling=null,n=ze.current,nt(ze,r?n&1|2:n&1),Zt&&jn(e,u.treeForkCount),t):(se(e),null);case 22:case 23:return _n(e),cr(),u=e.memoizedState!==null,t!==null?t.memoizedState!==null!==u&&(e.flags|=8192):u&&(e.flags|=8192),u?(n&536870912)!==0&&(e.flags&128)===0&&(se(e),e.subtreeFlags&6&&(e.flags|=8192)):se(e),n=e.updateQueue,n!==null&&zr(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),u=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(u=e.memoizedState.cachePool.pool),u!==n&&(e.flags|=2048),t!==null&&Q(Aa),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),ru(Be),se(e),null;case 25:return null;case 30:return null}throw Error(h(156,e.tag))}function Dr(t,e){switch(Sa(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ru(Be),Vt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return tl(e),null;case 31:if(e.memoizedState!==null){if(_n(e),e.alternate===null)throw Error(h(340));v()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(_n(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(h(340));v()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(ze),null;case 4:return Vt(),null;case 10:return ru(e.type),null;case 22:case 23:return _n(e),cr(),t!==null&&Q(Aa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ru(Be),null;case 25:return null;default:return null}}function Sc(t,e){switch(Sa(e),e.tag){case 3:ru(Be),Vt();break;case 26:case 27:case 5:tl(e);break;case 4:Vt();break;case 31:e.memoizedState!==null&&_n(e);break;case 13:_n(e);break;case 19:Q(ze);break;case 10:ru(e.type);break;case 22:case 23:_n(e),cr(),t!==null&&Q(Aa);break;case 24:ru(Be)}}function yi(t,e){try{var n=e.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&t)===t){u=void 0;var c=n.create,g=n.inst;u=c(),g.destroy=u}n=n.next}while(n!==r)}}catch(y){le(e,e.return,y)}}function hu(t,e,n){try{var u=e.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var c=r.next;u=c;do{if((u.tag&t)===t){var g=u.inst,y=g.destroy;if(y!==void 0){g.destroy=void 0,r=e;var A=n,B=y;try{B()}catch(K){le(r,A,K)}}}u=u.next}while(u!==c)}}catch(K){le(e,e.return,K)}}function Mr(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{If(e,n)}catch(u){le(t,t.return,u)}}}function Eo(t,e,n){n.props=dn(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(u){le(t,e,u)}}function En(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var u=t.stateNode;break;case 30:u=t.stateNode;break;default:u=t.stateNode}typeof n=="function"?t.refCleanup=n(u):n.current=u}}catch(r){le(t,e,r)}}function ln(t,e){var n=t.ref,u=t.refCleanup;if(n!==null)if(typeof u=="function")try{u()}catch(r){le(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){le(t,e,r)}else n.current=null}function B0(t){var e=t.type,n=t.memoizedProps,u=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&u.focus();break t;case"img":n.src?u.src=n.src:n.srcSet&&(u.srcset=n.srcSet)}}catch(r){le(t,t.return,r)}}function _c(t,e,n){try{var u=t.stateNode;sg(u,t.type,n,e),u[mn]=e}catch(r){le(t,t.return,r)}}function L0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&bt(t.type)||t.tag===4}function Ao(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||L0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&bt(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function To(t,e,n){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=tu));else if(u!==4&&(u===27&&bt(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(To(t,e,n),t=t.sibling;t!==null;)To(t,e,n),t=t.sibling}function bc(t,e,n){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(u!==4&&(u===27&&bt(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(bc(t,e,n),t=t.sibling;t!==null;)bc(t,e,n),t=t.sibling}function H0(t){var e=t.stateNode,n=t.memoizedProps;try{for(var u=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Pe(e,u,n),e[We]=t,e[mn]=n}catch(c){le(t,t.return,c)}}var du=!1,Le=!1,Oo=!1,q0=typeof WeakSet=="function"?WeakSet:Set,Ze=null;function k1(t,e){if(t=t.containerInfo,Jr=Xc,t=l0(t),Bs(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break t}var g=0,y=-1,A=-1,B=0,K=0,J=t,L=null;e:for(;;){for(var Y;J!==n||r!==0&&J.nodeType!==3||(y=g+r),J!==c||u!==0&&J.nodeType!==3||(A=g+u),J.nodeType===3&&(g+=J.nodeValue.length),(Y=J.firstChild)!==null;)L=J,J=Y;for(;;){if(J===t)break e;if(L===n&&++B===r&&(y=g),L===c&&++K===u&&(A=g),(Y=J.nextSibling)!==null)break;J=L,L=J.parentNode}J=Y}n=y===-1||A===-1?null:{start:y,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Po={focusedElem:t,selectionRange:n},Xc=!1,Ze=e;Ze!==null;)if(e=Ze,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ze=t;else for(;Ze!==null;){switch(e=Ze,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),Pe(c,u,n),c[We]=t,Qe(c),u=c;break t;case"link":var g=wd("link","href",r).get(u+(n.href||""));if(g){for(var y=0;yre&&(g=re,re=St,St=g);var C=e0(y,St),R=e0(y,re);if(C&&R&&(Y.rangeCount!==1||Y.anchorNode!==C.node||Y.anchorOffset!==C.offset||Y.focusNode!==R.node||Y.focusOffset!==R.offset)){var U=J.createRange();U.setStart(C.node,C.offset),Y.removeAllRanges(),St>re?(Y.addRange(U),Y.extend(R.node,R.offset)):(U.setEnd(R.node,R.offset),Y.addRange(U))}}}}for(J=[],Y=y;Y=Y.parentNode;)Y.nodeType===1&&J.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yn?32:n,j.T=null,n=Bo,Bo=null;var c=Ku,g=mu;if(Ge=0,bi=Ku=null,mu=0,($t&6)!==0)throw Error(h(331));var y=$t;if($t|=4,V0(c.current),Q0(c,c.current,g,n),$t=y,Qr(0,!1),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(ia,c)}catch{}return!0}finally{tt.p=r,j.T=u,jo(t,e)}}function Qo(t,e,n){e=Yn(n,e),e=go(t.stateNode,e,2),t=xl(t,e,2),t!==null&&(Yi(t,2),Jl(t))}function le(t,e,n){if(t.tag===3)Qo(t,t,n);else for(;e!==null;){if(e.tag===3){Qo(e,t,n);break}else if(e.tag===1){var u=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Zu===null||!Zu.has(u))){t=Yn(n,t),n=Zl(2),u=xl(e,n,2),u!==null&&(hc(n,u,e,t),Yi(u,2),Jl(u));break}}e=e.return}}function Zo(t,e,n){var u=t.pingCache;if(u===null){u=t.pingCache=new eg;var r=new Set;u.set(e,r)}else r=u.get(e),r===void 0&&(r=new Set,u.set(e,r));r.has(n)||(Do=!0,r.add(n),t=ag.bind(null,t,e,n),e.then(t,t))}function ag(t,e,n){var u=t.pingCache;u!==null&&u.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,oe===t&&(jt&n)===n&&(be===4||be===3&&(jt&62914560)===jt&&300>Nn()-Hr?($t&2)===0&&Ei(t,0):Mo|=n,_i===jt&&(_i=0)),Jl(t)}function Xr(t,e){e===0&&(e=ds()),t=Gl(t,e),t!==null&&(Yi(t,e),Jl(t))}function zc(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Xr(t,n)}function ig(t,e){var n=0;switch(t.tag){case 31:case 13:var u=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:u=t.stateNode;break;case 22:u=t.stateNode._retryCache;break;default:throw Error(h(314))}u!==null&&u.delete(e),Xr(t,n)}function rg(t,e){return aa(t,e)}var Ti=null,Ca=null,Ko=!1,Cc=!1,Vo=!1,Vu=0;function Jl(t){t!==Ca&&t.next===null&&(Ca===null?Ti=Ca=t:Ca=Ca.next=t),Cc=!0,Ko||(Ko=!0,cg())}function Qr(t,e){if(!Vo&&Cc){Vo=!0;do for(var n=!1,u=Ti;u!==null;){if(t!==0){var r=u.pendingLanes;if(r===0)var c=0;else{var g=u.suspendedLanes,y=u.pingedLanes;c=(1<<31-sn(42|t)+1)-1,c&=r&~(g&~y),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,cd(u,c))}else c=jt,c=of(u,u===oe?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(c&3)===0||Gi(u,c)||(n=!0,cd(u,c));u=u.next}while(n);Vo=!1}}function fg(){id()}function id(){Cc=Ko=!1;var t=0;Vu!==0&&og()&&(t=Vu);for(var e=Nn(),n=null,u=Ti;u!==null;){var r=u.next,c=rd(u,e);c===0?(u.next=null,n===null?Ti=r:n.next=r,r===null&&(Ca=n)):(n=u,(t!==0||(c&3)!==0)&&(Cc=!0)),u=r}Ge!==0&&Ge!==5||Qr(t),Vu!==0&&(Vu=0)}function rd(t,e){for(var n=t.suspendedLanes,u=t.pingedLanes,r=t.expirationTimes,c=t.pendingLanes&-62914561;0y)break;var K=A.transferSize,J=A.initiatorType;K&&ko(J)&&(A=A.responseEnd,g+=K*(A"u"?null:document;function Td(t,e,n){var u=Fu;if(u&&typeof e=="string"&&e){var r=Bn(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),Ad.has(r)||(Ad.add(r),t={rel:t,crossOrigin:n,href:e},u.querySelector(r)===null&&(e=u.createElement("link"),Pe(e,"link",t),Qe(e),u.head.appendChild(e)))}}function lh(t){Su.D(t),Td("dns-prefetch",t,null)}function yg(t,e){Su.C(t,e),Td("preconnect",t,e)}function vg(t,e,n){Su.L(t,e,n);var u=Fu;if(u&&t&&e){var r='link[rel="preload"][as="'+Bn(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Bn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Bn(n.imageSizes)+'"]')):r+='[href="'+Bn(t)+'"]';var c=r;switch(e){case"style":c=xi(t);break;case"script":c=wi(t)}pl.has(c)||(t=H({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),pl.set(c,t),u.querySelector(r)!==null||e==="style"&&u.querySelector(Ri(c))||e==="script"&&u.querySelector(zi(c))||(e=u.createElement("link"),Pe(e,"link",t),Qe(e),u.head.appendChild(e)))}}function Sg(t,e){Su.m(t,e);var n=Fu;if(n&&t){var u=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+Bn(u)+'"][href="'+Bn(t)+'"]',c=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=wi(t)}if(!pl.has(c)&&(t=H({rel:"modulepreload",href:t},e),pl.set(c,t),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(zi(c)))return}u=n.createElement("link"),Pe(u,"link",t),Qe(u),n.head.appendChild(u)}}}function Ke(t,e,n){Su.S(t,e,n);var u=Fu;if(u&&t){var r=Pl(u).hoistableStyles,c=xi(t);e=e||"default";var g=r.get(c);if(!g){var y={loading:0,preload:null};if(g=u.querySelector(Ri(c)))y.loading=5;else{t=H({rel:"stylesheet",href:t,"data-precedence":e},n),(n=pl.get(c))&&uh(t,n);var A=g=u.createElement("link");Qe(A),Pe(A,"link",t),A._p=new Promise(function(B,K){A.onload=B,A.onerror=K}),A.addEventListener("load",function(){y.loading|=1}),A.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Hc(g,e,u)}g={type:"stylesheet",instance:g,count:1,state:y},r.set(c,g)}}}function zn(t,e){Su.X(t,e);var n=Fu;if(n&&t){var u=Pl(n).hoistableScripts,r=wi(t),c=u.get(r);c||(c=n.querySelector(zi(r)),c||(t=H({src:t,async:!0},e),(e=pl.get(r))&&qc(t,e),c=n.createElement("script"),Qe(c),Pe(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}function _g(t,e){Su.M(t,e);var n=Fu;if(n&&t){var u=Pl(n).hoistableScripts,r=wi(t),c=u.get(r);c||(c=n.querySelector(zi(r)),c||(t=H({src:t,async:!0,type:"module"},e),(e=pl.get(r))&&qc(t,e),c=n.createElement("script"),Qe(c),Pe(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}function Od(t,e,n,u){var r=(r=Tt.current)?Lc(r):null;if(!r)throw Error(h(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=xi(n.href),n=Pl(r).hoistableStyles,u=n.get(e),u||(u={type:"style",instance:null,count:0,state:null},n.set(e,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=xi(n.href);var c=Pl(r).hoistableStyles,g=c.get(t);if(g||(r=r.ownerDocument||r,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,g),(c=r.querySelector(Ri(t)))&&!c._p&&(g.instance=c,g.state.loading=5),pl.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},pl.set(t,n),c||bg(r,t,n,g.state))),e&&u===null)throw Error(h(528,""));return g}if(e&&u!==null)throw Error(h(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=wi(n),n=Pl(r).hoistableScripts,u=n.get(e),u||(u={type:"script",instance:null,count:0,state:null},n.set(e,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,t))}}function xi(t){return'href="'+Bn(t)+'"'}function Ri(t){return'link[rel="stylesheet"]['+t+"]"}function xd(t){return H({},t,{"data-precedence":t.precedence,precedence:null})}function bg(t,e,n,u){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?u.loading=1:(e=t.createElement("link"),u.preload=e,e.addEventListener("load",function(){return u.loading|=1}),e.addEventListener("error",function(){return u.loading|=2}),Pe(e,"link",n),Qe(e),t.head.appendChild(e))}function wi(t){return'[src="'+Bn(t)+'"]'}function zi(t){return"script[async]"+t}function Rd(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var u=t.querySelector('style[data-href~="'+Bn(n.href)+'"]');if(u)return e.instance=u,Qe(u),u;var r=H({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(t.ownerDocument||t).createElement("style"),Qe(u),Pe(u,"style",r),Hc(u,n.precedence,t),e.instance=u;case"stylesheet":r=xi(n.href);var c=t.querySelector(Ri(r));if(c)return e.state.loading|=4,e.instance=c,Qe(c),c;u=xd(n),(r=pl.get(r))&&uh(u,r),c=(t.ownerDocument||t).createElement("link"),Qe(c);var g=c;return g._p=new Promise(function(y,A){g.onload=y,g.onerror=A}),Pe(c,"link",u),e.state.loading|=4,Hc(c,n.precedence,t),e.instance=c;case"script":return c=wi(n.src),(r=t.querySelector(zi(c)))?(e.instance=r,Qe(r),r):(u=n,(r=pl.get(c))&&(u=H({},n),qc(u,r)),t=t.ownerDocument||t,r=t.createElement("script"),Qe(r),Pe(r,"link",u),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(h(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(u=e.instance,e.state.loading|=4,Hc(u,n.precedence,t));return e.instance}function Hc(t,e,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,c=r,g=0;g title"):null)}function Eg(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Cd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Ci(t,e,n,u){if(n.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=xi(u.href),c=e.querySelector(Ri(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Gc.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=c,Qe(c);return}c=e.ownerDocument||e,u=xd(u),(r=pl.get(r))&&uh(u,r),c=c.createElement("link"),Qe(c);var g=c;g._p=new Promise(function(y,A){g.onload=y,g.onerror=A}),Pe(c,"link",u),n.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Gc.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var ah=0;function Ag(t,e){return t.stylesheets&&t.count===0&&jc(t,t.stylesheets),0ah?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(u),clearTimeout(r)}}:null}function Gc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)jc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Yc=null;function jc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yc=new Map,e.forEach(Dd,t),Yc=null,Gc.call(t))}function Dd(t,e){if(!(e.state.loading&4)){var n=Yc.get(t);if(n)var u=n.get(null);else{n=new Map,Yc.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Ng.exports=Ry(),Ng.exports}var zy=wy();const fm="loadTrainSchedule",cm="loadTrainScheduleSuccess",sm="loadTrainScheduleError",om="loadNews",hm="loadNewsSuccess",dm="loadNewsError",gm="loadWeather",pm="loadWeatherSuccess",mm="loadWeatherError",La={loadTrainSchedule:i=>({type:fm,...i}),loadTrainScheduleSuccess:i=>({type:cm,...i}),loadTrainScheduleError:i=>({type:sm,...i}),loadNews:i=>({type:om,...i}),loadNewsSuccess:i=>({type:hm,...i}),loadNewsError:i=>({type:dm,...i}),loadWeather:i=>({type:gm,...i}),loadWeatherSuccess:i=>({type:pm,...i}),loadWeatherError:i=>({type:mm,...i})},Cy={departures:void 0,trainScheduleError:void 0,trainScheduleLoading:!1,news:void 0,newsError:void 0,newsLoading:!1,weather:void 0,weatherError:void 0,weatherLoading:!1},Dy=(i,o)=>o.type===fm?{...i,trainScheduleError:void 0,trainScheduleLoading:!0}:o.type===cm?{...i,departures:o.departures,trainScheduleLoading:!1}:o.type===sm?{...i,trainScheduleError:o.error,trainScheduleLoading:!1}:o.type===om?{...i,newsError:void 0,newsLoading:!0}:o.type===hm?{...i,news:o.news,newsLoading:!1}:o.type===dm?{...i,newsError:o.error,newsLoading:!1}:o.type===gm?{...i,weatherError:void 0,weatherLoading:!0}:o.type===pm?{...i,weather:o.weather,weatherLoading:!1}:o.type===mm?{...i,weatherError:o.error,weatherLoading:!1}:i,My=(i,o)=>{console.log(`TS - ${o.type}`),console.log({action:o}),console.log({state:i});const s=Dy(i,o);return console.log({newState:s}),s};var ph={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */var Ny=ph.exports,Tp;function Uy(){return Tp||(Tp=1,(function(i,o){(function(){var s,h="4.17.21",p=200,_="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",b="Expected a function",z="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",T=500,N="__lodash_placeholder__",H=1,et=2,rt=4,X=1,P=2,I=1,ot=2,Ot=4,it=8,pt=16,_t=32,mt=64,k=128,te=256,Ae=512,Sl=30,an="...",we=800,rn=16,Me=1,tn=2,j=3,tt=1/0,ft=9007199254740991,Mt=17976931348623157e292,Ht=NaN,O=4294967295,Q=O-1,nt=O>>>1,ut=[["ary",k],["bind",I],["bindKey",ot],["curry",it],["curryRight",pt],["flip",Ae],["partial",_t],["partialRight",mt],["rearg",te]],dt="[object Arguments]",Tt="[object Array]",Qt="[object AsyncFunction]",he="[object Boolean]",Vt="[object Date]",Fl="[object DOMException]",tl="[object Error]",fn="[object Function]",as="[object GeneratorFunction]",Je="[object Map]",ua="[object Number]",is="[object Null]",$l="[object Object]",rs="[object Promise]",fs="[object Proxy]",aa="[object RegExp]",Mn="[object Set]",Bi="[object String]",ff="[object Symbol]",Nn="[object Undefined]",Li="[object WeakMap]",Oh="[object WeakSet]",Ha="[object ArrayBuffer]",Il="[object DataView]",cs="[object Float32Array]",cf="[object Float64Array]",ss="[object Int8Array]",os="[object Int16Array]",ia="[object Int32Array]",cn="[object Uint8Array]",Hl="[object Uint8ClampedArray]",sn="[object Uint16Array]",hs="[object Uint32Array]",E1=/\b__p \+= '';/g,A1=/\b(__p \+=) '' \+/g,sf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Hi=/&(?:amp|lt|gt|quot|#39);/g,qi=/[&<>"']/g,ra=RegExp(Hi.source),of=RegExp(qi.source),Gi=/<%-([\s\S]+?)%>/g,T1=/<%([\s\S]+?)%>/g,ds=/<%=([\s\S]+?)%>/g,gs=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yi=/^\w*$/,O1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hf=/[\\^$.*+?()[\]{}|]/g,xh=RegExp(hf.source),df=/^\s+/,ps=/\s/,ms=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Rh=/\{\n\/\* \[wrapped with (.+)\] \*/,wh=/,? & /,Au=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/[()=,{}\[\]\/\s]/,mn=/\\(\\)?/g,qa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gf=/\w*$/,x1=/^[-+]0x[0-9a-f]+$/i,R1=/^0b[01]+$/i,zh=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,ys=/^(?:0|[1-9]\d*)$/,Ga=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kl=/($^)/,Xi=/['\n\r\u2028\u2029\\]/g,Pl="\\ud800-\\udfff",Qe="\\u0300-\\u036f",Ch="\\ufe20-\\ufe2f",Dh="\\u20d0-\\u20ff",Tu=Qe+Ch+Dh,fa="\\u2700-\\u27bf",Mh="a-z\\xdf-\\xf6\\xf8-\\xff",Nh="\\xac\\xb1\\xd7\\xf7",Uh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",w1="\\u2000-\\u206f",pf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Qi="A-Z\\xc0-\\xd6\\xd8-\\xde",ql="\\ufe0e\\ufe0f",Un=Nh+Uh+w1+pf,mf="['’]",z1="["+Pl+"]",yf="["+Un+"]",Zi="["+Tu+"]",Ki="\\d+",C1="["+fa+"]",Bn="["+Mh+"]",vf="[^"+Pl+Un+Ki+fa+Mh+Qi+"]",Sf="\\ud83c[\\udffb-\\udfff]",vs="(?:"+Zi+"|"+Sf+")",ca="[^"+Pl+"]",_f="(?:\\ud83c[\\udde6-\\uddff]){2}",bf="[\\ud800-\\udbff][\\udc00-\\udfff]",_l="["+Qi+"]",Bh="\\u200d",Ss="(?:"+Bn+"|"+vf+")",Lh="(?:"+_l+"|"+vf+")",Ef="(?:"+mf+"(?:d|ll|m|re|s|t|ve))?",Hh="(?:"+mf+"(?:D|LL|M|RE|S|T|VE))?",qh=vs+"?",Vi="["+ql+"]?",tu="(?:"+Bh+"(?:"+[ca,_f,bf].join("|")+")"+Vi+qh+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",sa=Vi+qh+tu,Ya="(?:"+[C1,_f,bf].join("|")+")"+sa,Gh="(?:"+[ca+Zi+"?",Zi,_f,bf,z1].join("|")+")",Es=RegExp(mf,"g"),Yh=RegExp(Zi,"g"),oa=RegExp(Sf+"(?="+Sf+")|"+Gh+sa,"g"),eu=RegExp([_l+"?"+Bn+"+"+Ef+"(?="+[yf,_l,"$"].join("|")+")",Lh+"+"+Hh+"(?="+[yf,_l+Ss,"$"].join("|")+")",_l+"?"+Ss+"+"+Ef,_l+"+"+Hh,bs,_s,Ki,Ya].join("|"),"g"),As=RegExp("["+Bh+Pl+Tu+ql+"]"),Ji=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ou=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ts=-1,ue={};ue[cs]=ue[cf]=ue[ss]=ue[os]=ue[ia]=ue[cn]=ue[Hl]=ue[sn]=ue[hs]=!0,ue[dt]=ue[Tt]=ue[Ha]=ue[he]=ue[Il]=ue[Vt]=ue[tl]=ue[fn]=ue[Je]=ue[ua]=ue[$l]=ue[aa]=ue[Mn]=ue[Bi]=ue[Li]=!1;var ce={};ce[dt]=ce[Tt]=ce[Ha]=ce[Il]=ce[he]=ce[Vt]=ce[cs]=ce[cf]=ce[ss]=ce[os]=ce[ia]=ce[Je]=ce[ua]=ce[$l]=ce[aa]=ce[Mn]=ce[Bi]=ce[ff]=ce[cn]=ce[Hl]=ce[sn]=ce[hs]=!0,ce[tl]=ce[fn]=ce[Li]=!1;var Af={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Tf={"&":"&","<":"<",">":">",'"':""","'":"'"},jh={"&":"&","<":"<",">":">",""":'"',"'":"'"},yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ha=parseFloat,Of=parseInt,ja=typeof Zd=="object"&&Zd&&Zd.Object===Object&&Zd,D1=typeof self=="object"&&self&&self.Object===Object&&self,He=ja||D1||Function("return this")(),Wi=o&&!o.nodeType&&o,bl=Wi&&!0&&i&&!i.nodeType&&i,Fi=bl&&bl.exports===Wi,xf=Fi&&ja.process,el=(function(){try{var w=bl&&bl.require&&bl.require("util").types;return w||xf&&xf.binding&&xf.binding("util")}catch{}})(),Xh=el&&el.isArrayBuffer,Qh=el&&el.isDate,Rf=el&&el.isMap,Zh=el&&el.isRegExp,Kh=el&&el.isSet,Vh=el&&el.isTypedArray;function Ln(w,Z,q){switch(q.length){case 0:return w.call(Z);case 1:return w.call(Z,q[0]);case 2:return w.call(Z,q[0],q[1]);case 3:return w.call(Z,q[0],q[1],q[2])}return w.apply(Z,q)}function M1(w,Z,q,at){for(var xt=-1,qt=w==null?0:w.length;++xt-1}function $i(w,Z,q){for(var at=-1,xt=w==null?0:w.length;++at-1;);return q}function Ds(w,Z){for(var q=w.length;q--&&Xa(Z,w[q],0)>-1;);return q}function ki(w,Z){for(var q=w.length,at=0;q--;)w[q]===Z&&++at;return at}var Pi=Rs(Af),q1=Rs(Tf);function Nf(w){return"\\"+yn[w]}function Ph(w,Z){return w==null?s:w[Z]}function pa(w){return As.test(w)}function Ms(w){return Ji.test(w)}function Ns(w){for(var Z,q=[];!(Z=w.next()).done;)q.push(Z.value);return q}function Uf(w){var Z=-1,q=Array(w.size);return w.forEach(function(at,xt){q[++Z]=[xt,at]}),q}function Us(w,Z){return function(q){return w(Z(q))}}function nu(w,Z){for(var q=-1,at=w.length,xt=0,qt=[];++q-1}function Be(l,a){var f=this.__data__,d=jl(f,l);return d<0?(++this.size,f.push([l,a])):f[d][1]=a,this}fl.prototype.clear=c0,fl.prototype.delete=X1,fl.prototype.get=Q1,fl.prototype.has=Z1,fl.prototype.set=Be;function Al(l){var a=-1,f=l==null?0:l.length;for(this.clear();++a=a?l:a)),l}function on(l,a,f,d,m,S){var E,x=a&H,M=a&et,W=a&rt;if(f&&(E=m?f(l,d,m,S):f(l)),E!==s)return E;if(!ve(l))return l;var F=Rt(l);if(F){if(E=C0(l),!x)return hn(l,E)}else{var $=ke(l),lt=$==fn||$==as;if(Ju(l))return eo(l,x);if($==$l||$==dt||lt&&!m){if(E=M||lt?{}:mo(l),!x)return M?O0(l,ui(E,l)):T0(l,js(E,l))}else{if(!ce[$])return m?l:{};E=D0(l,$,x)}}S||(S=new cl);var ht=S.get(l);if(ht)return ht;S.set(l,E),Wr(l)?l.forEach(function(At){E.add(on(At,a,f,At,l,S))}):dd(l)&&l.forEach(function(At,Kt){E.set(Kt,on(At,a,f,Kt,l,S))});var Et=W?M?po:hc:M?zn:Ke,Bt=F?s:Et(l);return Hn(Bt||l,function(At,Kt){Bt&&(Kt=At,At=l[Kt]),Tl(E,Kt,on(At,a,f,Kt,l,S))}),E}function g0(l){var a=Ke(l);return function(f){return Uu(f,l,a)}}function Uu(l,a,f){var d=f.length;if(l==null)return!d;for(l=ee(l);d--;){var m=f[d],S=a[m],E=l[m];if(E===s&&!(m in l)||!S(E))return!1}return!0}function Xs(l,a,f){if(typeof l!="function")throw new Gn(b);return Dr(function(){l.apply(s,f)},a)}function sl(l,a,f,d){var m=-1,S=wf,E=!0,x=l.length,M=[],W=a.length;if(!x)return M;f&&(a=pe(a,qn(f))),d?(S=$i,E=!1):a.length>=p&&(S=Ii,E=!1,a=new Ea(a));t:for(;++mm?0:m+f),d=d===s||d>m?m:bt(d),d<0&&(d+=m),d=f>d?0:eh(d);f0&&f(x)?a>1?qe(x,a-1,f,d,m):Ru(m,x):d||(m[m.length]=x)}return m}var Ta=io(),ii=io(!0);function Rl(l,a){return l&&Ta(l,a,Ke)}function If(l,a){return l&&ii(l,a,Ke)}function cu(l,a){return xu(a,function(f){return In(l[f])})}function Ql(l,a){a=Vn(a,l);for(var f=0,d=a.length;l!=null&&fa}function Qn(l,a){return l!=null&&It.call(l,a)}function ol(l,a){return l!=null&&a in ee(l)}function Lu(l,a,f){return l>=Ne(a,f)&&l=120&&F.length>=120)?new Ea(E&&F):s}F=l[0];var $=-1,lt=x[0];t:for(;++$-1;)x!==l&&lu.call(x,M,1),lu.call(l,M,1);return l}function si(l,a){for(var f=l?a.length:0,d=f-1;f--;){var m=a[f];if(f==d||m!==S){var S=m;Cl(m)?lu.call(l,m,1):dr(l,m)}}return l}function oi(l,a){return l+nr(au()*(a-l+1))}function Vs(l,a,f,d){for(var m=-1,S=Te(Fa((a-l)/(f||1)),0),E=q(S);S--;)E[d?S:++m]=l,l+=f;return E}function wl(l,a){var f="";if(!l||a<1||a>ft)return f;do a%2&&(f+=l),a=nr(a/2),a&&(l+=l);while(a);return f}function Ct(l,a){return Sc(bo(l,a,gn),l+"")}function Js(l){return rr(Ci(l))}function Ws(l,a){var f=Ci(l);return Mr(f,Ol(a,0,f.length))}function hi(l,a,f,d){if(!ve(l))return l;a=Vn(a,l);for(var m=-1,S=a.length,E=S-1,x=l;x!=null&&++mm?0:m+a),f=f>m?m:f,f<0&&(f+=m),m=a>f?0:f-a>>>0,a>>>=0;for(var S=q(m);++d>>1,E=l[S];E!==null&&!wn(E)&&(f?E<=a:E=p){var W=a?null:R0(l);if(W)return Bf(W);E=!1,m=Ii,M=new Ea}else M=a?[]:x;t:for(;++d=d?l:Kn(l,a,f)}var pr=r0||function(l){return He.clearTimeout(l)};function eo(l,a){if(a)return l.slice();var f=l.length,d=jf?jf(f):new l.constructor(f);return l.copy(d),d}function mr(l){var a=new l.constructor(l.byteLength);return new ya(a).set(new ya(l)),a}function W1(l,a){var f=a?mr(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}function b0(l){var a=new l.constructor(l.source,gf.exec(l));return a.lastIndex=l.lastIndex,a}function E0(l){return Pa?ee(Pa.call(l)):{}}function no(l,a){var f=a?mr(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}function lo(l,a){if(l!==a){var f=l!==s,d=l===null,m=l===l,S=wn(l),E=a!==s,x=a===null,M=a===a,W=wn(a);if(!x&&!W&&!S&&l>a||S&&E&&M&&!x&&!W||d&&E&&M||!f&&M||!m)return 1;if(!d&&!S&&!W&&l=x)return M;var W=f[d];return M*(W=="desc"?-1:1)}}return l.index-a.index}function rc(l,a,f,d){for(var m=-1,S=l.length,E=f.length,x=-1,M=a.length,W=Te(S-E,0),F=q(M+W),$=!d;++x1?f[m-1]:s,E=m>2?f[2]:s;for(S=l.length>3&&typeof S=="function"?(m--,S):s,E&&nn(f[0],f[1],E)&&(S=m<3?s:S,m=1),a=ee(a);++d-1?m[S?a[E]:E]:s}}function gi(l){return Zl(function(a){var f=a.length,d=f,m=Sn.prototype.thru;for(l&&a.reverse();d--;){var S=a[d];if(typeof S!="function")throw new Gn(b);if(m&&!E&&_e(S)=="wrapper")var E=new Sn([],!0)}for(d=E?d:f;++d1&&Jt.reverse(),F&&Mx))return!1;var W=S.get(l),F=S.get(a);if(W&&F)return W==a&&F==l;var $=-1,lt=!0,ht=f&P?new Ea:s;for(S.set(l,a),S.set(a,l);++$1?"& ":"")+a[d],a=a.join(f>2?", ":" "),l.replace(ms,`{ +/* [wrapped with `+a+`] */ +`)}function vo(l){return Rt(l)||Da(l)||!!(i0&&l&&l[i0])}function Cl(l,a){var f=typeof l;return a=a??ft,!!a&&(f=="number"||f!="symbol"&&ys.test(l))&&l>-1&&l%1==0&&l0){if(++a>=we)return arguments[0]}else a=0;return l.apply(s,arguments)}}function Mr(l,a){var f=-1,d=l.length,m=d-1;for(a=a===s?d:a;++f1?l[a-1]:s;return f=typeof f=="function"?(l.pop(),f):s,be(l,f)});function Hr(l){var a=v(l);return a.__chain__=!0,a}function W0(l,a){return a(l),l}function za(l,a){return a(l)}var Tc=Zl(function(l){var a=l.length,f=a?l[0]:0,d=this.__wrapped__,m=function(S){return ai(S,l)};return a>1||this.__actions__.length||!(d instanceof wt)||!Cl(f)?this.thru(m):(d=d.slice(f,+f+(a?1:0)),d.__actions__.push({func:za,args:[m],thisArg:s}),new Sn(d,this.__chain__).thru(function(S){return a&&!S.length&&S.push(s),S}))});function Zu(){return Hr(this)}function Ge(){return new Sn(this.value(),this.__chain__)}function Ku(){this.__values__===s&&(this.__values__=vd(this.value()));var l=this.__index__>=this.__values__.length,a=l?s:this.__values__[this.__index__++];return{done:l,value:a}}function bi(){return this}function mu(l){for(var a,f=this;f instanceof Mu;){var d=_c(f);d.__index__=0,d.__values__=s,a?m.__wrapped__=d:a=d;var m=d;f=f.__wrapped__}return m.__wrapped__=l,a}function Uo(){var l=this.__wrapped__;if(l instanceof wt){var a=l;return this.__actions__.length&&(a=new wt(this)),a=a.reverse(),a.__actions__.push({func:za,args:[ju],thisArg:s}),new Sn(a,this.__chain__)}return this.thru(ju)}function Bo(){return ks(this.__wrapped__,this.__actions__)}var F0=fc(function(l,a,f){It.call(l,f)?++l[f]:Xn(l,f,1)});function qr(l,a,f){var d=Rt(l)?Jh:Bu;return f&&nn(l,a,f)&&(a=s),d(l,vt(a,3))}function Lo(l,a){var f=Rt(l)?xu:$f;return f(l,vt(a,3))}var Fn=co(xo),$0=co(Ro);function xn(l,a){return qe(Gr(l,a),1)}function I0(l,a){return qe(Gr(l,a),tt)}function k0(l,a,f){return f=f===s?1:bt(f),qe(Gr(l,a),f)}function P0(l,a){var f=Rt(l)?Hn:Xl;return f(l,vt(a,3))}function yu(l,a){var f=Rt(l)?N1:Ff;return f(l,vt(a,3))}var Oc=fc(function(l,a,f){It.call(l,f)?l[f].push(a):Xn(l,f,[a])});function Ho(l,a,f,d){l=Rn(l)?l:Ci(l),f=f&&!d?bt(f):0;var m=l.length;return f<0&&(f=Te(m+f,0)),Fr(l)?f<=m&&l.indexOf(a,f)>-1:!!m&&Xa(l,a,f)>-1}var Ei=Ct(function(l,a,f){var d=-1,m=typeof a=="function",S=Rn(l)?q(l.length):[];return Xl(l,function(E){S[++d]=m?Ln(a,E,f):hl(E,a,f)}),S}),td=fc(function(l,a,f){Xn(l,f,a)});function Gr(l,a){var f=Rt(l)?pe:tc;return f(l,vt(a,3))}function ed(l,a,f,d){return l==null?[]:(Rt(a)||(a=a==null?[]:[a]),f=d?s:f,Rt(f)||(f=f==null?[]:[f]),lc(l,a,f))}var nd=fc(function(l,a,f){l[f?0:1].push(a)},function(){return[[],[]]});function xc(l,a,f){var d=Rt(l)?Os:ws,m=arguments.length<3;return d(l,vt(a,4),f,m,Xl)}function qo(l,a,f){var d=Rt(l)?Wh:ws,m=arguments.length<3;return d(l,vt(a,4),f,m,Ff)}function ng(l,a){var f=Rt(l)?xu:$f;return f(l,zc(vt(a,3)))}function lg(l){var a=Rt(l)?rr:Js;return a(l)}function ug(l,a,f){(f?nn(l,a,f):a===s)?a=1:a=bt(a);var d=Rt(l)?Jf:Ws;return d(l,a)}function ld(l){var a=Rt(l)?h0:y0;return a(l)}function ud(l){if(l==null)return 0;if(Rn(l))return Fr(l)?Qa(l):l.length;var a=ke(l);return a==Je||a==Mn?l.size:Hu(l).length}function Ai(l,a,f){var d=Rt(l)?xs:v0;return f&&nn(l,a,f)&&(a=s),d(l,vt(a,3))}var Rc=Ct(function(l,a){if(l==null)return[];var f=a.length;return f>1&&nn(l,a[0],a[1])?a=[]:f>2&&nn(a[0],a[1],a[2])&&(a=[a[0]]),lc(l,qe(a,1),[])}),Yr=Xf||function(){return He.Date.now()};function ad(l,a){if(typeof a!="function")throw new Gn(b);return l=bt(l),function(){if(--l<1)return a.apply(this,arguments)}}function Go(l,a,f){return a=f?s:a,a=l&&a==null?l.length:a,dn(l,k,s,s,s,s,a)}function Yo(l,a){var f;if(typeof a!="function")throw new Gn(b);return l=bt(l),function(){return--l>0&&(f=a.apply(this,arguments)),l<=1&&(a=s),f}}var wc=Ct(function(l,a,f){var d=I;if(f.length){var m=nu(f,xe(wc));d|=_t}return dn(l,d,a,f,m)}),jo=Ct(function(l,a,f){var d=I|ot;if(f.length){var m=nu(f,xe(jo));d|=_t}return dn(a,d,l,f,m)});function jr(l,a,f){a=f?s:a;var d=dn(l,it,s,s,s,s,s,a);return d.placeholder=jr.placeholder,d}function Xo(l,a,f){a=f?s:a;var d=dn(l,pt,s,s,s,s,s,a);return d.placeholder=Xo.placeholder,d}function Qo(l,a,f){var d,m,S,E,x,M,W=0,F=!1,$=!1,lt=!0;if(typeof l!="function")throw new Gn(b);a=kn(a)||0,ve(f)&&(F=!!f.leading,$="maxWait"in f,S=$?Te(kn(f.maxWait)||0,a):S,lt="trailing"in f?!!f.trailing:lt);function ht(Ye){var _u=d,Na=m;return d=m=s,W=Ye,E=l.apply(Na,_u),E}function Et(Ye){return W=Ye,x=Dr(Kt,a),F?ht(Ye):E}function Bt(Ye){var _u=Ye-M,Na=Ye-W,dp=a-_u;return $?Ne(dp,S-Na):dp}function At(Ye){var _u=Ye-M,Na=Ye-W;return M===s||_u>=a||_u<0||$&&Na>=S}function Kt(){var Ye=Yr();if(At(Ye))return Jt(Ye);x=Dr(Kt,Bt(Ye))}function Jt(Ye){return x=s,lt&&d?ht(Ye):(d=m=s,E)}function Ul(){x!==s&&pr(x),W=0,d=M=m=x=s}function Pn(){return x===s?E:Jt(Yr())}function Bl(){var Ye=Yr(),_u=At(Ye);if(d=arguments,m=this,M=Ye,_u){if(x===s)return Et(M);if($)return pr(x),x=Dr(Kt,a),ht(M)}return x===s&&(x=Dr(Kt,a)),E}return Bl.cancel=Ul,Bl.flush=Pn,Bl}var le=Ct(function(l,a){return Xs(l,1,a)}),Zo=Ct(function(l,a,f){return Xs(l,kn(a)||0,f)});function ag(l){return dn(l,Ae)}function Xr(l,a){if(typeof l!="function"||a!=null&&typeof a!="function")throw new Gn(b);var f=function(){var d=arguments,m=a?a.apply(this,d):d[0],S=f.cache;if(S.has(m))return S.get(m);var E=l.apply(this,d);return f.cache=S.set(m,E)||S,E};return f.cache=new(Xr.Cache||Al),f}Xr.Cache=Al;function zc(l){if(typeof l!="function")throw new Gn(b);return function(){var a=arguments;switch(a.length){case 0:return!l.call(this);case 1:return!l.call(this,a[0]);case 2:return!l.call(this,a[0],a[1]);case 3:return!l.call(this,a[0],a[1],a[2])}return!l.apply(this,a)}}function ig(l){return Yo(2,l)}var rg=_0(function(l,a){a=a.length==1&&Rt(a[0])?pe(a[0],qn(vt())):pe(qe(a,1),qn(vt()));var f=a.length;return Ct(function(d){for(var m=-1,S=Ne(d.length,f);++m=a}),Da=_n((function(){return arguments})())?_n:function(l){return Re(l)&&It.call(l,"callee")&&!er.call(l,"callee")},Rt=q.isArray,Jo=Xh?qn(Xh):ze;function Rn(l){return l!=null&&Nc(l.length)&&!In(l)}function De(l){return Re(l)&&Rn(l)}function Zr(l){return l===!0||l===!1||Re(l)&&Ie(l)==he}var Ju=f0||L,hd=Qh?qn(Qh):kf;function Yt(l){return Re(l)&&l.nodeType===1&&!Vr(l)}function Wo(l){if(l==null)return!0;if(Rn(l)&&(Rt(l)||typeof l=="string"||typeof l.splice=="function"||Ju(l)||Wu(l)||Da(l)))return!l.length;var a=ke(l);if(a==Je||a==Mn)return!l.size;if(mi(l))return!Hu(l).length;for(var f in l)if(It.call(l,f))return!1;return!0}function Dc(l,a){return Zn(l,a)}function Fo(l,a,f){f=typeof f=="function"?f:s;var d=f?f(l,a):s;return d===s?Zn(l,a,s,f):!!d}function Mc(l){if(!Re(l))return!1;var a=Ie(l);return a==tl||a==Fl||typeof l.message=="string"&&typeof l.name=="string"&&!Vr(l)}function $o(l){return typeof l=="number"&&Yn(l)}function In(l){if(!ve(l))return!1;var a=Ie(l);return a==fn||a==as||a==Qt||a==fs}function Kr(l){return typeof l=="number"&&l==bt(l)}function Nc(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=ft}function ve(l){var a=typeof l;return l!=null&&(a=="object"||a=="function")}function Re(l){return l!=null&&typeof l=="object"}var dd=Rf?qn(Rf):ae;function gd(l,a){return l===a||Oe(l,a,dc(a))}function pd(l,a,f){return f=typeof f=="function"?f:s,Oe(l,a,dc(a),f)}function ie(l){return ko(l)&&l!=+l}function Io(l){if(So(l))throw new xt(_);return or(l)}function Pe(l){return l===null}function sg(l){return l==null}function ko(l){return typeof l=="number"||Re(l)&&Ie(l)==ua}function Vr(l){if(!Re(l)||Ie(l)!=$l)return!1;var a=Gl(l);if(a===null)return!0;var f=It.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&qf.call(f)==Yf}var Jr=Zh?qn(Zh):ri;function Po(l){return Kr(l)&&l>=-ft&&l<=ft}var Wr=Kh?qn(Kh):Oa;function Fr(l){return typeof l=="string"||!Rt(l)&&Re(l)&&Ie(l)==Bi}function wn(l){return typeof l=="symbol"||Re(l)&&Ie(l)==ff}var Wu=Vh?qn(Vh):Pf;function th(l){return l===s}function og(l){return Re(l)&&ke(l)==Li}function md(l){return Re(l)&&Ie(l)==Oh}var hg=_r(ye),yd=_r(function(l,a){return l<=a});function vd(l){if(!l)return[];if(Rn(l))return Fr(l)?Se(l):hn(l);if(Fe&&l[Fe])return Ns(l[Fe]());var a=ke(l),f=a==Je?Uf:a==Mn?Bf:Ci;return f(l)}function vu(l){if(!l)return l===0?l:0;if(l=kn(l),l===tt||l===-tt){var a=l<0?-1:1;return a*Mt}return l===l?l:0}function bt(l){var a=vu(l),f=a%1;return a===a?f?a-f:a:0}function eh(l){return l?Ol(bt(l),0,O):0}function kn(l){if(typeof l=="number")return l;if(wn(l))return Ht;if(ve(l)){var a=typeof l.valueOf=="function"?l.valueOf():l;l=ve(a)?a+"":a}if(typeof l!="string")return l===0?l:+l;l=ga(l);var f=R1.test(l);return f||ji.test(l)?Of(l.slice(2),f?2:8):x1.test(l)?Ht:+l}function Uc(l){return dl(l,zn(l))}function dg(l){return l?Ol(bt(l),-ft,ft):l===0?l:0}function Pt(l){return l==null?"":bn(l)}var Sd=qu(function(l,a){if(mi(a)||Rn(a)){dl(a,Ke(a),l);return}for(var f in a)It.call(a,f)&&Tl(l,f,a[f])}),Bc=qu(function(l,a){dl(a,zn(a),l)}),Oi=qu(function(l,a,f,d){dl(a,zn(a),l,d)}),gg=qu(function(l,a,f,d){dl(a,Ke(a),l,d)}),gl=Zl(ai);function nh(l,a){var f=Du(l);return a==null?f:js(f,a)}var _d=Ct(function(l,a){l=ee(l);var f=-1,d=a.length,m=d>2?a[2]:s;for(m&&nn(a[0],a[1],m)&&(d=1);++f1),S}),dl(l,po(l),f),d&&(f=on(f,H|et|rt,w0));for(var m=a.length;m--;)dr(f,a[m]);return f});function bg(l,a){return zi(l,zc(vt(a)))}var wi=Zl(function(l,a){return l==null?{}:Ks(l,a)});function zi(l,a){if(l==null)return{};var f=pe(po(l),function(d){return[d]});return a=vt(a),en(l,f,function(d,m){return a(d,m[0])})}function Rd(l,a,f){a=Vn(a,l);var d=-1,m=a.length;for(m||(m=1,l=s);++da){var d=l;l=a,a=d}if(f||l%1||a%1){var m=au();return Ne(l+m*(a-l+ha("1e-"+((m+"").length-1))),a)}return oi(l,a)}var jc=xa(function(l,a,f){return a=a.toLowerCase(),l+(f?Dd(a):a)});function Dd(l){return Ma(Pt(l).toLowerCase())}function Di(l){return l=Pt(l),l&&l.replace(Ga,Pi).replace(Yh,"")}function Tg(l,a,f){l=Pt(l),a=bn(a);var d=l.length;f=f===s?d:Ol(bt(f),0,d);var m=f;return f-=a.length,f>=0&&l.slice(f,m)==a}function Md(l){return l=Pt(l),l&&of.test(l)?l.replace(qi,q1):l}function Nd(l){return l=Pt(l),l&&xh.test(l)?l.replace(hf,"\\$&"):l}var Ud=xa(function(l,a,f){return l+(f?"-":"")+a.toLowerCase()}),Bd=xa(function(l,a,f){return l+(f?" ":"")+a.toLowerCase()}),ih=fo("toLowerCase");function Ld(l,a,f){l=Pt(l),a=bt(a);var d=a?Qa(l):0;if(!a||d>=a)return l;var m=(a-d)/2;return Gu(nr(m),f)+l+Gu(Fa(m),f)}function Hd(l,a,f){l=Pt(l),a=bt(a);var d=a?Qa(l):0;return a&&d>>0,f?(l=Pt(l),l&&(typeof a=="string"||a!=null&&!Jr(a))&&(a=bn(a),!a&&pa(l))?zl(Se(l),0,f):l.split(a,f)):[]}var ch=xa(function(l,a,f){return l+(f?" ":"")+Ma(a)});function qd(l,a,f){return l=Pt(l),f=f==null?0:Ol(bt(f),0,l.length),a=bn(a),l.slice(f,f+a.length)==a}function sh(l,a,f){var d=v.templateSettings;f&&nn(l,a,f)&&(a=s),l=Pt(l),a=Oi({},a,d,oo);var m=Oi({},a.imports,d.imports,oo),S=Ke(m),E=zs(m,S),x,M,W=0,F=a.interpolate||kl,$="__p += '",lt=Lf((a.escape||kl).source+"|"+F.source+"|"+(F===ds?qa:kl).source+"|"+(a.evaluate||kl).source+"|$","g"),ht="//# sourceURL="+(It.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ts+"]")+` +`;l.replace(lt,function(At,Kt,Jt,Ul,Pn,Bl){return Jt||(Jt=Ul),$+=l.slice(W,Bl).replace(Xi,Nf),Kt&&(x=!0,$+=`' + +__e(`+Kt+`) + +'`),Pn&&(M=!0,$+=`'; +`+Pn+`; +__p += '`),Jt&&($+=`' + +((__t = (`+Jt+`)) == null ? '' : __t) + +'`),W=Bl+At.length,At}),$+=`'; +`;var Et=It.call(a,"variable")&&a.variable;if(!Et)$=`with (obj) { +`+$+` +} +`;else if(We.test(Et))throw new xt(z);$=(M?$.replace(E1,""):$).replace(A1,"$1").replace(sf,"$1;"),$="function("+(Et||"obj")+`) { +`+(Et?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(x?", __e = _.escape":"")+(M?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+$+`return __p +}`;var Bt=oh(function(){return qt(S,ht+"return "+$).apply(s,E)});if(Bt.source=$,Mc(Bt))throw Bt;return Bt}function $u(l){return Pt(l).toLowerCase()}function Iu(l){return Pt(l).toUpperCase()}function ku(l,a,f){if(l=Pt(l),l&&(f||a===s))return ga(l);if(!l||!(a=bn(a)))return l;var d=Se(l),m=Se(a),S=Cs(d,m),E=Ds(d,m)+1;return zl(d,S,E).join("")}function kr(l,a,f){if(l=Pt(l),l&&(f||a===s))return l.slice(0,Za(l)+1);if(!l||!(a=bn(a)))return l;var d=Se(l),m=Ds(d,Se(a))+1;return zl(d,0,m).join("")}function Pr(l,a,f){if(l=Pt(l),l&&(f||a===s))return l.replace(df,"");if(!l||!(a=bn(a)))return l;var d=Se(l),m=Cs(d,Se(a));return zl(d,m).join("")}function Pu(l,a){var f=Sl,d=an;if(ve(a)){var m="separator"in a?a.separator:m;f="length"in a?bt(a.length):f,d="omission"in a?bn(a.omission):d}l=Pt(l);var S=l.length;if(pa(l)){var E=Se(l);S=E.length}if(f>=S)return l;var x=f-Qa(d);if(x<1)return d;var M=E?zl(E,0,x).join(""):l.slice(0,x);if(m===s)return M+d;if(E&&(x+=M.length-x),Jr(m)){if(l.slice(x).search(m)){var W,F=M;for(m.global||(m=Lf(m.source,Pt(gf.exec(m))+"g")),m.lastIndex=0;W=m.exec(F);)var $=W.index;M=M.slice(0,$===s?x:$)}}else if(l.indexOf(bn(m),x)!=x){var lt=M.lastIndexOf(m);lt>-1&&(M=M.slice(0,lt))}return M+d}function Rg(l){return l=Pt(l),l&&ra.test(l)?l.replace(Hi,t0):l}var Gd=xa(function(l,a,f){return l+(f?" ":"")+a.toUpperCase()}),Ma=fo("toUpperCase");function Yd(l,a,f){return l=Pt(l),a=f?s:a,a===s?Ms(l)?l0(l):L1(l):l.match(a)||[]}var oh=Ct(function(l,a){try{return Ln(l,s,a)}catch(f){return Mc(f)?f:new xt(f)}}),Zc=Zl(function(l,a){return Hn(a,function(f){f=En(f),Xn(l,f,wc(l[f],l))}),l});function jd(l){var a=l==null?0:l.length,f=vt();return l=a?pe(l,function(d){if(typeof d[1]!="function")throw new Gn(b);return[f(d[0]),d[1]]}):[],Ct(function(d){for(var m=-1;++mft)return[];var f=O,d=Ne(l,O);a=vt(a),l-=O;for(var m=Mf(d,a);++f0||a<0)?new wt(f):(l<0?f=f.takeRight(-l):l&&(f=f.drop(l)),a!==s&&(a=bt(a),f=a<0?f.dropRight(-a):f.take(a-l)),f)},wt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},wt.prototype.toArray=function(){return this.take(O)},Rl(wt.prototype,function(l,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),d=/^(?:head|last)$/.test(a),m=v[d?"take"+(a=="last"?"Right":""):a],S=d||/^find/.test(a);m&&(v.prototype[a]=function(){var E=this.__wrapped__,x=d?[1]:arguments,M=E instanceof wt,W=x[0],F=M||Rt(E),$=function(Kt){var Jt=m.apply(v,Ru([Kt],x));return d&<?Jt[0]:Jt};F&&f&&typeof W=="function"&&W.length!=1&&(M=F=!1);var lt=this.__chain__,ht=!!this.__actions__.length,Et=S&&!lt,Bt=M&&!ht;if(!S&&F){E=Bt?E:new wt(this);var At=l.apply(E,x);return At.__actions__.push({func:za,args:[$],thisArg:s}),new Sn(At,lt)}return Et&&Bt?l.apply(this,x):(At=this.thru($),Et?d?At.value()[0]:At.value():At)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(l){var a=tr[l],f=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",d=/^(?:pop|shift)$/.test(l);v.prototype[l]=function(){var m=arguments;if(d&&!this.__chain__){var S=this.value();return a.apply(Rt(S)?S:[],m)}return this[f](function(E){return a.apply(Rt(E)?E:[],m)})}}),Rl(wt.prototype,function(l,a){var f=v[a];if(f){var d=f.name+"";It.call(kt,d)||(kt[d]=[]),kt[d].push({name:a,func:f})}}),kt[pi(s,ot).name]=[{name:"wrapper",func:s}],wt.prototype.clone=iu,wt.prototype.reverse=Nu,wt.prototype.value=ru,v.prototype.at=Tc,v.prototype.chain=Zu,v.prototype.commit=Ge,v.prototype.next=Ku,v.prototype.plant=mu,v.prototype.reverse=Uo,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=Bo,v.prototype.first=v.prototype.head,Fe&&(v.prototype[Fe]=bi),v}),Ka=Bs();bl?((bl.exports=Ka)._=Ka,Wi._=Ka):He._=Ka}).call(Ny)})(ph,ph.exports)),ph.exports}var Op=Uy();function ym(i,o){return function(){return i.apply(o,arguments)}}const{toString:By}=Object.prototype,{getPrototypeOf:np}=Object,{iterator:o1,toStringTag:vm}=Symbol,h1=(i=>o=>{const s=By.call(o);return i[s]||(i[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Eu=i=>(i=i.toLowerCase(),o=>h1(o)===i),d1=i=>o=>typeof o===i,{isArray:ns}=Array,$c=d1("undefined");function _h(i){return i!==null&&!$c(i)&&i.constructor!==null&&!$c(i.constructor)&&yl(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const Sm=Eu("ArrayBuffer");function Ly(i){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(i):o=i&&i.buffer&&Sm(i.buffer),o}const Hy=d1("string"),yl=d1("function"),_m=d1("number"),bh=i=>i!==null&&typeof i=="object",qy=i=>i===!0||i===!1,$d=i=>{if(h1(i)!=="object")return!1;const o=np(i);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(vm in i)&&!(o1 in i)},Gy=i=>{if(!bh(i)||_h(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},Yy=Eu("Date"),jy=Eu("File"),Xy=Eu("Blob"),Qy=Eu("FileList"),Zy=i=>bh(i)&&yl(i.pipe),Ky=i=>{let o;return i&&(typeof FormData=="function"&&i instanceof FormData||yl(i.append)&&((o=h1(i))==="formdata"||o==="object"&&yl(i.toString)&&i.toString()==="[object FormData]"))},Vy=Eu("URLSearchParams"),[Jy,Wy,Fy,$y]=["ReadableStream","Request","Response","Headers"].map(Eu),Iy=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Eh(i,o,{allOwnKeys:s=!1}={}){if(i===null||typeof i>"u")return;let h,p;if(typeof i!="object"&&(i=[i]),ns(i))for(h=0,p=i.length;h0;)if(p=s[h],o===p.toLowerCase())return p;return null}const ef=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Em=i=>!$c(i)&&i!==ef;function Zg(){const{caseless:i,skipUndefined:o}=Em(this)&&this||{},s={},h=(p,_)=>{const b=i&&bm(s,_)||_;$d(s[b])&&$d(p)?s[b]=Zg(s[b],p):$d(p)?s[b]=Zg({},p):ns(p)?s[b]=p.slice():(!o||!$c(p))&&(s[b]=p)};for(let p=0,_=arguments.length;p<_;p++)arguments[p]&&Eh(arguments[p],h);return s}const ky=(i,o,s,{allOwnKeys:h}={})=>(Eh(o,(p,_)=>{s&&yl(p)?i[_]=ym(p,s):i[_]=p},{allOwnKeys:h}),i),Py=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),tv=(i,o,s,h)=>{i.prototype=Object.create(o.prototype,h),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:o.prototype}),s&&Object.assign(i.prototype,s)},ev=(i,o,s,h)=>{let p,_,b;const z={};if(o=o||{},i==null)return o;do{for(p=Object.getOwnPropertyNames(i),_=p.length;_-- >0;)b=p[_],(!h||h(b,i,o))&&!z[b]&&(o[b]=i[b],z[b]=!0);i=s!==!1&&np(i)}while(i&&(!s||s(i,o))&&i!==Object.prototype);return o},nv=(i,o,s)=>{i=String(i),(s===void 0||s>i.length)&&(s=i.length),s-=o.length;const h=i.indexOf(o,s);return h!==-1&&h===s},lv=i=>{if(!i)return null;if(ns(i))return i;let o=i.length;if(!_m(o))return null;const s=new Array(o);for(;o-- >0;)s[o]=i[o];return s},uv=(i=>o=>i&&o instanceof i)(typeof Uint8Array<"u"&&np(Uint8Array)),av=(i,o)=>{const h=(i&&i[o1]).call(i);let p;for(;(p=h.next())&&!p.done;){const _=p.value;o.call(i,_[0],_[1])}},iv=(i,o)=>{let s;const h=[];for(;(s=i.exec(o))!==null;)h.push(s);return h},rv=Eu("HTMLFormElement"),fv=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,h,p){return h.toUpperCase()+p}),xp=(({hasOwnProperty:i})=>(o,s)=>i.call(o,s))(Object.prototype),cv=Eu("RegExp"),Am=(i,o)=>{const s=Object.getOwnPropertyDescriptors(i),h={};Eh(s,(p,_)=>{let b;(b=o(p,_,i))!==!1&&(h[_]=b||p)}),Object.defineProperties(i,h)},sv=i=>{Am(i,(o,s)=>{if(yl(i)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const h=i[s];if(yl(h)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},ov=(i,o)=>{const s={},h=p=>{p.forEach(_=>{s[_]=!0})};return ns(i)?h(i):h(String(i).split(o)),s},hv=()=>{},dv=(i,o)=>i!=null&&Number.isFinite(i=+i)?i:o;function gv(i){return!!(i&&yl(i.append)&&i[vm]==="FormData"&&i[o1])}const pv=i=>{const o=new Array(10),s=(h,p)=>{if(bh(h)){if(o.indexOf(h)>=0)return;if(_h(h))return h;if(!("toJSON"in h)){o[p]=h;const _=ns(h)?[]:{};return Eh(h,(b,z)=>{const D=s(b,p+1);!$c(D)&&(_[z]=D)}),o[p]=void 0,_}}return h};return s(i,0)},mv=Eu("AsyncFunction"),yv=i=>i&&(bh(i)||yl(i))&&yl(i.then)&&yl(i.catch),Tm=((i,o)=>i?setImmediate:o?((s,h)=>(ef.addEventListener("message",({source:p,data:_})=>{p===ef&&_===s&&h.length&&h.shift()()},!1),p=>{h.push(p),ef.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",yl(ef.postMessage)),vv=typeof queueMicrotask<"u"?queueMicrotask.bind(ef):typeof process<"u"&&process.nextTick||Tm,Sv=i=>i!=null&&yl(i[o1]),G={isArray:ns,isArrayBuffer:Sm,isBuffer:_h,isFormData:Ky,isArrayBufferView:Ly,isString:Hy,isNumber:_m,isBoolean:qy,isObject:bh,isPlainObject:$d,isEmptyObject:Gy,isReadableStream:Jy,isRequest:Wy,isResponse:Fy,isHeaders:$y,isUndefined:$c,isDate:Yy,isFile:jy,isBlob:Xy,isRegExp:cv,isFunction:yl,isStream:Zy,isURLSearchParams:Vy,isTypedArray:uv,isFileList:Qy,forEach:Eh,merge:Zg,extend:ky,trim:Iy,stripBOM:Py,inherits:tv,toFlatObject:ev,kindOf:h1,kindOfTest:Eu,endsWith:nv,toArray:lv,forEachEntry:av,matchAll:iv,isHTMLForm:rv,hasOwnProperty:xp,hasOwnProp:xp,reduceDescriptors:Am,freezeMethods:sv,toObjectSet:ov,toCamelCase:fv,noop:hv,toFiniteNumber:dv,findKey:bm,global:ef,isContextDefined:Em,isSpecCompliantForm:gv,toJSONObject:pv,isAsyncFn:mv,isThenable:yv,setImmediate:Tm,asap:vv,isIterable:Sv};function Ut(i,o,s,h,p){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",o&&(this.code=o),s&&(this.config=s),h&&(this.request=h),p&&(this.response=p,this.status=p.status?p.status:null)}G.inherits(Ut,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});const Om=Ut.prototype,xm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{xm[i]={value:i}});Object.defineProperties(Ut,xm);Object.defineProperty(Om,"isAxiosError",{value:!0});Ut.from=(i,o,s,h,p,_)=>{const b=Object.create(Om);G.toFlatObject(i,b,function(N){return N!==Error.prototype},T=>T!=="isAxiosError");const z=i&&i.message?i.message:"Error",D=o==null&&i?i.code:o;return Ut.call(b,z,D,s,h,p),i&&b.cause==null&&Object.defineProperty(b,"cause",{value:i,configurable:!0}),b.name=i&&i.name||"Error",_&&Object.assign(b,_),b};const _v=null;function Kg(i){return G.isPlainObject(i)||G.isArray(i)}function Rm(i){return G.endsWith(i,"[]")?i.slice(0,-2):i}function Rp(i,o,s){return i?i.concat(o).map(function(p,_){return p=Rm(p),!s&&_?"["+p+"]":p}).join(s?".":""):o}function bv(i){return G.isArray(i)&&!i.some(Kg)}const Ev=G.toFlatObject(G,{},null,function(o){return/^is[A-Z]/.test(o)});function g1(i,o,s){if(!G.isObject(i))throw new TypeError("target must be an object");o=o||new FormData,s=G.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,I){return!G.isUndefined(I[P])});const h=s.metaTokens,p=s.visitor||N,_=s.dots,b=s.indexes,D=(s.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(o);if(!G.isFunction(p))throw new TypeError("visitor must be a function");function T(X){if(X===null)return"";if(G.isDate(X))return X.toISOString();if(G.isBoolean(X))return X.toString();if(!D&&G.isBlob(X))throw new Ut("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(X)||G.isTypedArray(X)?D&&typeof Blob=="function"?new Blob([X]):Buffer.from(X):X}function N(X,P,I){let ot=X;if(X&&!I&&typeof X=="object"){if(G.endsWith(P,"{}"))P=h?P:P.slice(0,-2),X=JSON.stringify(X);else if(G.isArray(X)&&bv(X)||(G.isFileList(X)||G.endsWith(P,"[]"))&&(ot=G.toArray(X)))return P=Rm(P),ot.forEach(function(it,pt){!(G.isUndefined(it)||it===null)&&o.append(b===!0?Rp([P],pt,_):b===null?P:P+"[]",T(it))}),!1}return Kg(X)?!0:(o.append(Rp(I,P,_),T(X)),!1)}const H=[],et=Object.assign(Ev,{defaultVisitor:N,convertValue:T,isVisitable:Kg});function rt(X,P){if(!G.isUndefined(X)){if(H.indexOf(X)!==-1)throw Error("Circular reference detected in "+P.join("."));H.push(X),G.forEach(X,function(ot,Ot){(!(G.isUndefined(ot)||ot===null)&&p.call(o,ot,G.isString(Ot)?Ot.trim():Ot,P,et))===!0&&rt(ot,P?P.concat(Ot):[Ot])}),H.pop()}}if(!G.isObject(i))throw new TypeError("data must be an object");return rt(i),o}function wp(i){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(h){return o[h]})}function lp(i,o){this._pairs=[],i&&g1(i,this,o)}const wm=lp.prototype;wm.append=function(o,s){this._pairs.push([o,s])};wm.toString=function(o){const s=o?function(h){return o.call(this,h,wp)}:wp;return this._pairs.map(function(p){return s(p[0])+"="+s(p[1])},"").join("&")};function Av(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function zm(i,o,s){if(!o)return i;const h=s&&s.encode||Av;G.isFunction(s)&&(s={serialize:s});const p=s&&s.serialize;let _;if(p?_=p(o,s):_=G.isURLSearchParams(o)?o.toString():new lp(o,s).toString(h),_){const b=i.indexOf("#");b!==-1&&(i=i.slice(0,b)),i+=(i.indexOf("?")===-1?"?":"&")+_}return i}class zp{constructor(){this.handlers=[]}use(o,s,h){return this.handlers.push({fulfilled:o,rejected:s,synchronous:h?h.synchronous:!1,runWhen:h?h.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){G.forEach(this.handlers,function(h){h!==null&&o(h)})}}const Cm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Tv=typeof URLSearchParams<"u"?URLSearchParams:lp,Ov=typeof FormData<"u"?FormData:null,xv=typeof Blob<"u"?Blob:null,Rv={isBrowser:!0,classes:{URLSearchParams:Tv,FormData:Ov,Blob:xv},protocols:["http","https","file","blob","url","data"]},up=typeof window<"u"&&typeof document<"u",Vg=typeof navigator=="object"&&navigator||void 0,wv=up&&(!Vg||["ReactNative","NativeScript","NS"].indexOf(Vg.product)<0),zv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Cv=up&&window.location.href||"http://localhost",Dv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:up,hasStandardBrowserEnv:wv,hasStandardBrowserWebWorkerEnv:zv,navigator:Vg,origin:Cv},Symbol.toStringTag,{value:"Module"})),Dn={...Dv,...Rv};function Mv(i,o){return g1(i,new Dn.classes.URLSearchParams,{visitor:function(s,h,p,_){return Dn.isNode&&G.isBuffer(s)?(this.append(h,s.toString("base64")),!1):_.defaultVisitor.apply(this,arguments)},...o})}function Nv(i){return G.matchAll(/\w+|\[(\w*)]/g,i).map(o=>o[0]==="[]"?"":o[1]||o[0])}function Uv(i){const o={},s=Object.keys(i);let h;const p=s.length;let _;for(h=0;h=s.length;return b=!b&&G.isArray(p)?p.length:b,D?(G.hasOwnProp(p,b)?p[b]=[p[b],h]:p[b]=h,!z):((!p[b]||!G.isObject(p[b]))&&(p[b]=[]),o(s,h,p[b],_)&&G.isArray(p[b])&&(p[b]=Uv(p[b])),!z)}if(G.isFormData(i)&&G.isFunction(i.entries)){const s={};return G.forEachEntry(i,(h,p)=>{o(Nv(h),p,s,0)}),s}return null}function Bv(i,o,s){if(G.isString(i))try{return(o||JSON.parse)(i),G.trim(i)}catch(h){if(h.name!=="SyntaxError")throw h}return(s||JSON.stringify)(i)}const Ah={transitional:Cm,adapter:["xhr","http","fetch"],transformRequest:[function(o,s){const h=s.getContentType()||"",p=h.indexOf("application/json")>-1,_=G.isObject(o);if(_&&G.isHTMLForm(o)&&(o=new FormData(o)),G.isFormData(o))return p?JSON.stringify(Dm(o)):o;if(G.isArrayBuffer(o)||G.isBuffer(o)||G.isStream(o)||G.isFile(o)||G.isBlob(o)||G.isReadableStream(o))return o;if(G.isArrayBufferView(o))return o.buffer;if(G.isURLSearchParams(o))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let z;if(_){if(h.indexOf("application/x-www-form-urlencoded")>-1)return Mv(o,this.formSerializer).toString();if((z=G.isFileList(o))||h.indexOf("multipart/form-data")>-1){const D=this.env&&this.env.FormData;return g1(z?{"files[]":o}:o,D&&new D,this.formSerializer)}}return _||p?(s.setContentType("application/json",!1),Bv(o)):o}],transformResponse:[function(o){const s=this.transitional||Ah.transitional,h=s&&s.forcedJSONParsing,p=this.responseType==="json";if(G.isResponse(o)||G.isReadableStream(o))return o;if(o&&G.isString(o)&&(h&&!this.responseType||p)){const b=!(s&&s.silentJSONParsing)&&p;try{return JSON.parse(o,this.parseReviver)}catch(z){if(b)throw z.name==="SyntaxError"?Ut.from(z,Ut.ERR_BAD_RESPONSE,this,null,this.response):z}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dn.classes.FormData,Blob:Dn.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],i=>{Ah.headers[i]={}});const Lv=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hv=i=>{const o={};let s,h,p;return i&&i.split(` +`).forEach(function(b){p=b.indexOf(":"),s=b.substring(0,p).trim().toLowerCase(),h=b.substring(p+1).trim(),!(!s||o[s]&&Lv[s])&&(s==="set-cookie"?o[s]?o[s].push(h):o[s]=[h]:o[s]=o[s]?o[s]+", "+h:h)}),o},Cp=Symbol("internals");function gh(i){return i&&String(i).trim().toLowerCase()}function Id(i){return i===!1||i==null?i:G.isArray(i)?i.map(Id):String(i)}function qv(i){const o=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let h;for(;h=s.exec(i);)o[h[1]]=h[2];return o}const Gv=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Hg(i,o,s,h,p){if(G.isFunction(h))return h.call(this,o,s);if(p&&(o=s),!!G.isString(o)){if(G.isString(h))return o.indexOf(h)!==-1;if(G.isRegExp(h))return h.test(o)}}function Yv(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,s,h)=>s.toUpperCase()+h)}function jv(i,o){const s=G.toCamelCase(" "+o);["get","set","has"].forEach(h=>{Object.defineProperty(i,h+s,{value:function(p,_,b){return this[h].call(this,o,p,_,b)},configurable:!0})})}let vl=class{constructor(o){o&&this.set(o)}set(o,s,h){const p=this;function _(z,D,T){const N=gh(D);if(!N)throw new Error("header name must be a non-empty string");const H=G.findKey(p,N);(!H||p[H]===void 0||T===!0||T===void 0&&p[H]!==!1)&&(p[H||D]=Id(z))}const b=(z,D)=>G.forEach(z,(T,N)=>_(T,N,D));if(G.isPlainObject(o)||o instanceof this.constructor)b(o,s);else if(G.isString(o)&&(o=o.trim())&&!Gv(o))b(Hv(o),s);else if(G.isObject(o)&&G.isIterable(o)){let z={},D,T;for(const N of o){if(!G.isArray(N))throw TypeError("Object iterator must return a key-value pair");z[T=N[0]]=(D=z[T])?G.isArray(D)?[...D,N[1]]:[D,N[1]]:N[1]}b(z,s)}else o!=null&&_(s,o,h);return this}get(o,s){if(o=gh(o),o){const h=G.findKey(this,o);if(h){const p=this[h];if(!s)return p;if(s===!0)return qv(p);if(G.isFunction(s))return s.call(this,p,h);if(G.isRegExp(s))return s.exec(p);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,s){if(o=gh(o),o){const h=G.findKey(this,o);return!!(h&&this[h]!==void 0&&(!s||Hg(this,this[h],h,s)))}return!1}delete(o,s){const h=this;let p=!1;function _(b){if(b=gh(b),b){const z=G.findKey(h,b);z&&(!s||Hg(h,h[z],z,s))&&(delete h[z],p=!0)}}return G.isArray(o)?o.forEach(_):_(o),p}clear(o){const s=Object.keys(this);let h=s.length,p=!1;for(;h--;){const _=s[h];(!o||Hg(this,this[_],_,o,!0))&&(delete this[_],p=!0)}return p}normalize(o){const s=this,h={};return G.forEach(this,(p,_)=>{const b=G.findKey(h,_);if(b){s[b]=Id(p),delete s[_];return}const z=o?Yv(_):String(_).trim();z!==_&&delete s[_],s[z]=Id(p),h[z]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const s=Object.create(null);return G.forEach(this,(h,p)=>{h!=null&&h!==!1&&(s[p]=o&&G.isArray(h)?h.join(", "):h)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,s])=>o+": "+s).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...s){const h=new this(o);return s.forEach(p=>h.set(p)),h}static accessor(o){const h=(this[Cp]=this[Cp]={accessors:{}}).accessors,p=this.prototype;function _(b){const z=gh(b);h[z]||(jv(p,b),h[z]=!0)}return G.isArray(o)?o.forEach(_):_(o),this}};vl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(vl.prototype,({value:i},o)=>{let s=o[0].toUpperCase()+o.slice(1);return{get:()=>i,set(h){this[s]=h}}});G.freezeMethods(vl);function qg(i,o){const s=this||Ah,h=o||s,p=vl.from(h.headers);let _=h.data;return G.forEach(i,function(z){_=z.call(s,_,p.normalize(),o?o.status:void 0)}),p.normalize(),_}function Mm(i){return!!(i&&i.__CANCEL__)}function ls(i,o,s){Ut.call(this,i??"canceled",Ut.ERR_CANCELED,o,s),this.name="CanceledError"}G.inherits(ls,Ut,{__CANCEL__:!0});function Nm(i,o,s){const h=s.config.validateStatus;!s.status||!h||h(s.status)?i(s):o(new Ut("Request failed with status code "+s.status,[Ut.ERR_BAD_REQUEST,Ut.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Xv(i){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return o&&o[1]||""}function Qv(i,o){i=i||10;const s=new Array(i),h=new Array(i);let p=0,_=0,b;return o=o!==void 0?o:1e3,function(D){const T=Date.now(),N=h[_];b||(b=T),s[p]=D,h[p]=T;let H=_,et=0;for(;H!==p;)et+=s[H++],H=H%i;if(p=(p+1)%i,p===_&&(_=(_+1)%i),T-b{s=N,p=null,_&&(clearTimeout(_),_=null),i(...T)};return[(...T)=>{const N=Date.now(),H=N-s;H>=h?b(T,N):(p=T,_||(_=setTimeout(()=>{_=null,b(p)},h-H)))},()=>p&&b(p)]}const u1=(i,o,s=3)=>{let h=0;const p=Qv(50,250);return Zv(_=>{const b=_.loaded,z=_.lengthComputable?_.total:void 0,D=b-h,T=p(D),N=b<=z;h=b;const H={loaded:b,total:z,progress:z?b/z:void 0,bytes:D,rate:T||void 0,estimated:T&&z&&N?(z-b)/T:void 0,event:_,lengthComputable:z!=null,[o?"download":"upload"]:!0};i(H)},s)},Dp=(i,o)=>{const s=i!=null;return[h=>o[0]({lengthComputable:s,total:i,loaded:h}),o[1]]},Mp=i=>(...o)=>G.asap(()=>i(...o)),Kv=Dn.hasStandardBrowserEnv?((i,o)=>s=>(s=new URL(s,Dn.origin),i.protocol===s.protocol&&i.host===s.host&&(o||i.port===s.port)))(new URL(Dn.origin),Dn.navigator&&/(msie|trident)/i.test(Dn.navigator.userAgent)):()=>!0,Vv=Dn.hasStandardBrowserEnv?{write(i,o,s,h,p,_,b){if(typeof document>"u")return;const z=[`${i}=${encodeURIComponent(o)}`];G.isNumber(s)&&z.push(`expires=${new Date(s).toUTCString()}`),G.isString(h)&&z.push(`path=${h}`),G.isString(p)&&z.push(`domain=${p}`),_===!0&&z.push("secure"),G.isString(b)&&z.push(`SameSite=${b}`),document.cookie=z.join("; ")},read(i){if(typeof document>"u")return null;const o=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return o?decodeURIComponent(o[1]):null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Jv(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function Wv(i,o){return o?i.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):i}function Um(i,o,s){let h=!Jv(o);return i&&(h||s==!1)?Wv(i,o):o}const Np=i=>i instanceof vl?{...i}:i;function rf(i,o){o=o||{};const s={};function h(T,N,H,et){return G.isPlainObject(T)&&G.isPlainObject(N)?G.merge.call({caseless:et},T,N):G.isPlainObject(N)?G.merge({},N):G.isArray(N)?N.slice():N}function p(T,N,H,et){if(G.isUndefined(N)){if(!G.isUndefined(T))return h(void 0,T,H,et)}else return h(T,N,H,et)}function _(T,N){if(!G.isUndefined(N))return h(void 0,N)}function b(T,N){if(G.isUndefined(N)){if(!G.isUndefined(T))return h(void 0,T)}else return h(void 0,N)}function z(T,N,H){if(H in o)return h(T,N);if(H in i)return h(void 0,T)}const D={url:_,method:_,data:_,baseURL:b,transformRequest:b,transformResponse:b,paramsSerializer:b,timeout:b,timeoutMessage:b,withCredentials:b,withXSRFToken:b,adapter:b,responseType:b,xsrfCookieName:b,xsrfHeaderName:b,onUploadProgress:b,onDownloadProgress:b,decompress:b,maxContentLength:b,maxBodyLength:b,beforeRedirect:b,transport:b,httpAgent:b,httpsAgent:b,cancelToken:b,socketPath:b,responseEncoding:b,validateStatus:z,headers:(T,N,H)=>p(Np(T),Np(N),H,!0)};return G.forEach(Object.keys({...i,...o}),function(N){const H=D[N]||p,et=H(i[N],o[N],N);G.isUndefined(et)&&H!==z||(s[N]=et)}),s}const Bm=i=>{const o=rf({},i);let{data:s,withXSRFToken:h,xsrfHeaderName:p,xsrfCookieName:_,headers:b,auth:z}=o;if(o.headers=b=vl.from(b),o.url=zm(Um(o.baseURL,o.url,o.allowAbsoluteUrls),i.params,i.paramsSerializer),z&&b.set("Authorization","Basic "+btoa((z.username||"")+":"+(z.password?unescape(encodeURIComponent(z.password)):""))),G.isFormData(s)){if(Dn.hasStandardBrowserEnv||Dn.hasStandardBrowserWebWorkerEnv)b.setContentType(void 0);else if(G.isFunction(s.getHeaders)){const D=s.getHeaders(),T=["content-type","content-length"];Object.entries(D).forEach(([N,H])=>{T.includes(N.toLowerCase())&&b.set(N,H)})}}if(Dn.hasStandardBrowserEnv&&(h&&G.isFunction(h)&&(h=h(o)),h||h!==!1&&Kv(o.url))){const D=p&&_&&Vv.read(_);D&&b.set(p,D)}return o},Fv=typeof XMLHttpRequest<"u",$v=Fv&&function(i){return new Promise(function(s,h){const p=Bm(i);let _=p.data;const b=vl.from(p.headers).normalize();let{responseType:z,onUploadProgress:D,onDownloadProgress:T}=p,N,H,et,rt,X;function P(){rt&&rt(),X&&X(),p.cancelToken&&p.cancelToken.unsubscribe(N),p.signal&&p.signal.removeEventListener("abort",N)}let I=new XMLHttpRequest;I.open(p.method.toUpperCase(),p.url,!0),I.timeout=p.timeout;function ot(){if(!I)return;const it=vl.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),_t={data:!z||z==="text"||z==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:it,config:i,request:I};Nm(function(k){s(k),P()},function(k){h(k),P()},_t),I=null}"onloadend"in I?I.onloadend=ot:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(ot)},I.onabort=function(){I&&(h(new Ut("Request aborted",Ut.ECONNABORTED,i,I)),I=null)},I.onerror=function(pt){const _t=pt&&pt.message?pt.message:"Network Error",mt=new Ut(_t,Ut.ERR_NETWORK,i,I);mt.event=pt||null,h(mt),I=null},I.ontimeout=function(){let pt=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const _t=p.transitional||Cm;p.timeoutErrorMessage&&(pt=p.timeoutErrorMessage),h(new Ut(pt,_t.clarifyTimeoutError?Ut.ETIMEDOUT:Ut.ECONNABORTED,i,I)),I=null},_===void 0&&b.setContentType(null),"setRequestHeader"in I&&G.forEach(b.toJSON(),function(pt,_t){I.setRequestHeader(_t,pt)}),G.isUndefined(p.withCredentials)||(I.withCredentials=!!p.withCredentials),z&&z!=="json"&&(I.responseType=p.responseType),T&&([et,X]=u1(T,!0),I.addEventListener("progress",et)),D&&I.upload&&([H,rt]=u1(D),I.upload.addEventListener("progress",H),I.upload.addEventListener("loadend",rt)),(p.cancelToken||p.signal)&&(N=it=>{I&&(h(!it||it.type?new ls(null,i,I):it),I.abort(),I=null)},p.cancelToken&&p.cancelToken.subscribe(N),p.signal&&(p.signal.aborted?N():p.signal.addEventListener("abort",N)));const Ot=Xv(p.url);if(Ot&&Dn.protocols.indexOf(Ot)===-1){h(new Ut("Unsupported protocol "+Ot+":",Ut.ERR_BAD_REQUEST,i));return}I.send(_||null)})},Iv=(i,o)=>{const{length:s}=i=i?i.filter(Boolean):[];if(o||s){let h=new AbortController,p;const _=function(T){if(!p){p=!0,z();const N=T instanceof Error?T:this.reason;h.abort(N instanceof Ut?N:new ls(N instanceof Error?N.message:N))}};let b=o&&setTimeout(()=>{b=null,_(new Ut(`timeout ${o} of ms exceeded`,Ut.ETIMEDOUT))},o);const z=()=>{i&&(b&&clearTimeout(b),b=null,i.forEach(T=>{T.unsubscribe?T.unsubscribe(_):T.removeEventListener("abort",_)}),i=null)};i.forEach(T=>T.addEventListener("abort",_));const{signal:D}=h;return D.unsubscribe=()=>G.asap(z),D}},kv=function*(i,o){let s=i.byteLength;if(s{const p=Pv(i,o);let _=0,b,z=D=>{b||(b=!0,h&&h(D))};return new ReadableStream({async pull(D){try{const{done:T,value:N}=await p.next();if(T){z(),D.close();return}let H=N.byteLength;if(s){let et=_+=H;s(et)}D.enqueue(new Uint8Array(N))}catch(T){throw z(T),T}},cancel(D){return z(D),p.return()}},{highWaterMark:2})},Bp=64*1024,{isFunction:Kd}=G,eS=(({Request:i,Response:o})=>({Request:i,Response:o}))(G.global),{ReadableStream:Lp,TextEncoder:Hp}=G.global,qp=(i,...o)=>{try{return!!i(...o)}catch{return!1}},nS=i=>{i=G.merge.call({skipUndefined:!0},eS,i);const{fetch:o,Request:s,Response:h}=i,p=o?Kd(o):typeof fetch=="function",_=Kd(s),b=Kd(h);if(!p)return!1;const z=p&&Kd(Lp),D=p&&(typeof Hp=="function"?(X=>P=>X.encode(P))(new Hp):async X=>new Uint8Array(await new s(X).arrayBuffer())),T=_&&z&&qp(()=>{let X=!1;const P=new s(Dn.origin,{body:new Lp,method:"POST",get duplex(){return X=!0,"half"}}).headers.has("Content-Type");return X&&!P}),N=b&&z&&qp(()=>G.isReadableStream(new h("").body)),H={stream:N&&(X=>X.body)};p&&["text","arrayBuffer","blob","formData","stream"].forEach(X=>{!H[X]&&(H[X]=(P,I)=>{let ot=P&&P[X];if(ot)return ot.call(P);throw new Ut(`Response type '${X}' is not supported`,Ut.ERR_NOT_SUPPORT,I)})});const et=async X=>{if(X==null)return 0;if(G.isBlob(X))return X.size;if(G.isSpecCompliantForm(X))return(await new s(Dn.origin,{method:"POST",body:X}).arrayBuffer()).byteLength;if(G.isArrayBufferView(X)||G.isArrayBuffer(X))return X.byteLength;if(G.isURLSearchParams(X)&&(X=X+""),G.isString(X))return(await D(X)).byteLength},rt=async(X,P)=>{const I=G.toFiniteNumber(X.getContentLength());return I??et(P)};return async X=>{let{url:P,method:I,data:ot,signal:Ot,cancelToken:it,timeout:pt,onDownloadProgress:_t,onUploadProgress:mt,responseType:k,headers:te,withCredentials:Ae="same-origin",fetchOptions:Sl}=Bm(X),an=o||fetch;k=k?(k+"").toLowerCase():"text";let we=Iv([Ot,it&&it.toAbortSignal()],pt),rn=null;const Me=we&&we.unsubscribe&&(()=>{we.unsubscribe()});let tn;try{if(mt&&T&&I!=="get"&&I!=="head"&&(tn=await rt(te,ot))!==0){let O=new s(P,{method:"POST",body:ot,duplex:"half"}),Q;if(G.isFormData(ot)&&(Q=O.headers.get("content-type"))&&te.setContentType(Q),O.body){const[nt,ut]=Dp(tn,u1(Mp(mt)));ot=Up(O.body,Bp,nt,ut)}}G.isString(Ae)||(Ae=Ae?"include":"omit");const j=_&&"credentials"in s.prototype,tt={...Sl,signal:we,method:I.toUpperCase(),headers:te.normalize().toJSON(),body:ot,duplex:"half",credentials:j?Ae:void 0};rn=_&&new s(P,tt);let ft=await(_?an(rn,Sl):an(P,tt));const Mt=N&&(k==="stream"||k==="response");if(N&&(_t||Mt&&Me)){const O={};["status","statusText","headers"].forEach(dt=>{O[dt]=ft[dt]});const Q=G.toFiniteNumber(ft.headers.get("content-length")),[nt,ut]=_t&&Dp(Q,u1(Mp(_t),!0))||[];ft=new h(Up(ft.body,Bp,nt,()=>{ut&&ut(),Me&&Me()}),O)}k=k||"text";let Ht=await H[G.findKey(H,k)||"text"](ft,X);return!Mt&&Me&&Me(),await new Promise((O,Q)=>{Nm(O,Q,{data:Ht,headers:vl.from(ft.headers),status:ft.status,statusText:ft.statusText,config:X,request:rn})})}catch(j){throw Me&&Me(),j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message)?Object.assign(new Ut("Network Error",Ut.ERR_NETWORK,X,rn),{cause:j.cause||j}):Ut.from(j,j&&j.code,X,rn)}}},lS=new Map,Lm=i=>{let o=i&&i.env||{};const{fetch:s,Request:h,Response:p}=o,_=[h,p,s];let b=_.length,z=b,D,T,N=lS;for(;z--;)D=_[z],T=N.get(D),T===void 0&&N.set(D,T=z?new Map:nS(o)),N=T;return T};Lm();const ap={http:_v,xhr:$v,fetch:{get:Lm}};G.forEach(ap,(i,o)=>{if(i){try{Object.defineProperty(i,"name",{value:o})}catch{}Object.defineProperty(i,"adapterName",{value:o})}});const Gp=i=>`- ${i}`,uS=i=>G.isFunction(i)||i===null||i===!1;function aS(i,o){i=G.isArray(i)?i:[i];const{length:s}=i;let h,p;const _={};for(let b=0;b`adapter ${D} `+(T===!1?"is not supported by the environment":"is not available in the build"));let z=s?b.length>1?`since : +`+b.map(Gp).join(` +`):" "+Gp(b[0]):"as no adapter specified";throw new Ut("There is no suitable adapter to dispatch the request "+z,"ERR_NOT_SUPPORT")}return p}const Hm={getAdapter:aS,adapters:ap};function Gg(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new ls(null,i)}function Yp(i){return Gg(i),i.headers=vl.from(i.headers),i.data=qg.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Hm.getAdapter(i.adapter||Ah.adapter,i)(i).then(function(h){return Gg(i),h.data=qg.call(i,i.transformResponse,h),h.headers=vl.from(h.headers),h},function(h){return Mm(h)||(Gg(i),h&&h.response&&(h.response.data=qg.call(i,i.transformResponse,h.response),h.response.headers=vl.from(h.response.headers))),Promise.reject(h)})}const qm="1.13.1",p1={};["object","boolean","number","function","string","symbol"].forEach((i,o)=>{p1[i]=function(h){return typeof h===i||"a"+(o<1?"n ":" ")+i}});const jp={};p1.transitional=function(o,s,h){function p(_,b){return"[Axios v"+qm+"] Transitional option '"+_+"'"+b+(h?". "+h:"")}return(_,b,z)=>{if(o===!1)throw new Ut(p(b," has been removed"+(s?" in "+s:"")),Ut.ERR_DEPRECATED);return s&&!jp[b]&&(jp[b]=!0,console.warn(p(b," has been deprecated since v"+s+" and will be removed in the near future"))),o?o(_,b,z):!0}};p1.spelling=function(o){return(s,h)=>(console.warn(`${h} is likely a misspelling of ${o}`),!0)};function iS(i,o,s){if(typeof i!="object")throw new Ut("options must be an object",Ut.ERR_BAD_OPTION_VALUE);const h=Object.keys(i);let p=h.length;for(;p-- >0;){const _=h[p],b=o[_];if(b){const z=i[_],D=z===void 0||b(z,_,i);if(D!==!0)throw new Ut("option "+_+" must be "+D,Ut.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new Ut("Unknown option "+_,Ut.ERR_BAD_OPTION)}}const kd={assertOptions:iS,validators:p1},ea=kd.validators;let lf=class{constructor(o){this.defaults=o||{},this.interceptors={request:new zp,response:new zp}}async request(o,s){try{return await this._request(o,s)}catch(h){if(h instanceof Error){let p={};Error.captureStackTrace?Error.captureStackTrace(p):p=new Error;const _=p.stack?p.stack.replace(/^.+\n/,""):"";try{h.stack?_&&!String(h.stack).endsWith(_.replace(/^.+\n.+\n/,""))&&(h.stack+=` +`+_):h.stack=_}catch{}}throw h}}_request(o,s){typeof o=="string"?(s=s||{},s.url=o):s=o||{},s=rf(this.defaults,s);const{transitional:h,paramsSerializer:p,headers:_}=s;h!==void 0&&kd.assertOptions(h,{silentJSONParsing:ea.transitional(ea.boolean),forcedJSONParsing:ea.transitional(ea.boolean),clarifyTimeoutError:ea.transitional(ea.boolean)},!1),p!=null&&(G.isFunction(p)?s.paramsSerializer={serialize:p}:kd.assertOptions(p,{encode:ea.function,serialize:ea.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),kd.assertOptions(s,{baseUrl:ea.spelling("baseURL"),withXsrfToken:ea.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let b=_&&G.merge(_.common,_[s.method]);_&&G.forEach(["delete","get","head","post","put","patch","common"],X=>{delete _[X]}),s.headers=vl.concat(b,_);const z=[];let D=!0;this.interceptors.request.forEach(function(P){typeof P.runWhen=="function"&&P.runWhen(s)===!1||(D=D&&P.synchronous,z.unshift(P.fulfilled,P.rejected))});const T=[];this.interceptors.response.forEach(function(P){T.push(P.fulfilled,P.rejected)});let N,H=0,et;if(!D){const X=[Yp.bind(this),void 0];for(X.unshift(...z),X.push(...T),et=X.length,N=Promise.resolve(s);H{if(!h._listeners)return;let _=h._listeners.length;for(;_-- >0;)h._listeners[_](p);h._listeners=null}),this.promise.then=p=>{let _;const b=new Promise(z=>{h.subscribe(z),_=z}).then(p);return b.cancel=function(){h.unsubscribe(_)},b},o(function(_,b,z){h.reason||(h.reason=new ls(_,b,z),s(h.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const s=this._listeners.indexOf(o);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const o=new AbortController,s=h=>{o.abort(h)};return this.subscribe(s),o.signal.unsubscribe=()=>this.unsubscribe(s),o.signal}static source(){let o;return{token:new Gm(function(p){o=p}),cancel:o}}};function fS(i){return function(s){return i.apply(null,s)}}function cS(i){return G.isObject(i)&&i.isAxiosError===!0}const Jg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Jg).forEach(([i,o])=>{Jg[o]=i});function Ym(i){const o=new lf(i),s=ym(lf.prototype.request,o);return G.extend(s,lf.prototype,o,{allOwnKeys:!0}),G.extend(s,o,null,{allOwnKeys:!0}),s.create=function(p){return Ym(rf(i,p))},s}const je=Ym(Ah);je.Axios=lf;je.CanceledError=ls;je.CancelToken=rS;je.isCancel=Mm;je.VERSION=qm;je.toFormData=g1;je.AxiosError=Ut;je.Cancel=je.CanceledError;je.all=function(o){return Promise.all(o)};je.spread=fS;je.isAxiosError=cS;je.mergeConfig=rf;je.AxiosHeaders=vl;je.formToJSON=i=>Dm(G.isHTMLForm(i)?new FormData(i):i);je.getAdapter=Hm.getAdapter;je.HttpStatusCode=Jg;je.default=je;const{Axios:fb,AxiosError:cb,CanceledError:sb,isCancel:ob,CancelToken:hb,VERSION:db,all:gb,Cancel:pb,isAxiosError:mb,spread:yb,toFormData:vb,AxiosHeaders:Sb,HttpStatusCode:_b,formToJSON:bb,getAdapter:Eb,mergeConfig:Ab}=je,sS="https://api.irail.be",oS=3,hS=(i,o)=>{la.useEffect(()=>{(async()=>{try{o(La.loadTrainSchedule({}));const s=new Date,h=_=>_.toString().padStart(2,"0"),p=Op.flatten(await Promise.all(Op.range(0,oS).map(async _=>{const b=h(s.getDate()),z=h(s.getMonth()+1),D=s.getFullYear().toString().slice(-2),T=`${b}${z}${D}`,N=h(s.getHours()+_),H=h(s.getMinutes()),et=`${N}${H}`;return(await je.get(`${sS}/liveboard?station=Nivelles&date=${T}&time=${et}&format=json&lang=en&alerts=true`)).data.departures.departure})));o(La.loadTrainScheduleSuccess({departures:p}))}catch(s){o(La.loadTrainScheduleError({error:s}))}})()},[])};var ml=function(){return ml=Object.assign||function(o){for(var s,h=1,p=arguments.length;h0?un(us,--Wl):0,kc--,Ve===10&&(kc=1,y1--),Ve}function bu(){return Ve=Wl2||Fg(Ve)>3?"":" "}function ES(i,o){for(;--o&&bu()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return S1(i,t1()+(o<6&&uf()==32&&bu()==32))}function $g(i){for(;bu();)switch(Ve){case i:return Wl;case 34:case 39:i!==34&&i!==39&&$g(Ve);break;case 40:i===41&&$g(i);break;case 92:bu();break}return Wl}function AS(i,o){for(;bu()&&i+Ve!==57;)if(i+Ve===84&&uf()===47)break;return"/*"+S1(o,Wl-1)+"*"+rp(i===47?i:bu())}function TS(i){for(;!Fg(uf());)bu();return S1(i,Wl)}function OS(i){return _S(e1("",null,null,null,[""],i=SS(i),0,[0],i))}function e1(i,o,s,h,p,_,b,z,D){for(var T=0,N=0,H=b,et=0,rt=0,X=0,P=1,I=1,ot=1,Ot=0,it="",pt=p,_t=_,mt=h,k=it;I;)switch(X=Ot,Ot=bu()){case 40:if(X!=108&&un(k,H-1)==58){Pd(k+=Lt(Yg(Ot),"&","&\f"),"&\f",Qm(T?z[T-1]:0))!=-1&&(ot=-1);break}case 34:case 39:case 91:k+=Yg(Ot);break;case 9:case 10:case 13:case 32:k+=bS(X);break;case 92:k+=ES(t1()-1,7);continue;case 47:switch(uf()){case 42:case 47:mh(xS(AS(bu(),t1()),o,s,D),D);break;default:k+="/"}break;case 123*P:z[T++]=na(k)*ot;case 125*P:case 59:case 0:switch(Ot){case 0:case 125:I=0;case 59+N:ot==-1&&(k=Lt(k,/\f/g,"")),rt>0&&na(k)-H&&mh(rt>32?Zp(k+";",h,s,H-1,D):Zp(Lt(k," ","")+";",h,s,H-2,D),D);break;case 59:k+=";";default:if(mh(mt=Qp(k,o,s,T,N,p,z,it,pt=[],_t=[],H,_),_),Ot===123)if(N===0)e1(k,o,mt,mt,pt,_,H,z,_t);else switch(et===99&&un(k,3)===110?100:et){case 100:case 108:case 109:case 115:e1(i,mt,mt,h&&mh(Qp(i,mt,mt,0,0,p,z,it,p,pt=[],H,_t),_t),p,_t,H,z,h?pt:_t);break;default:e1(k,mt,mt,mt,[""],_t,0,z,_t)}}T=N=rt=0,P=ot=1,it=k="",H=b;break;case 58:H=1+na(k),rt=X;default:if(P<1){if(Ot==123)--P;else if(Ot==125&&P++==0&&vS()==125)continue}switch(k+=rp(Ot),Ot*P){case 38:ot=N>0?1:(k+="\f",-1);break;case 44:z[T++]=(na(k)-1)*ot,ot=1;break;case 64:uf()===45&&(k+=Yg(bu())),et=uf(),N=H=na(it=k+=TS(t1())),Ot++;break;case 45:X===45&&na(k)==2&&(P=0)}}return _}function Qp(i,o,s,h,p,_,b,z,D,T,N,H){for(var et=p-1,rt=p===0?_:[""],X=Km(rt),P=0,I=0,ot=0;P0?rt[Ot]+" "+it:Lt(it,/&\f/g,rt[Ot])))&&(D[ot++]=pt);return v1(i,o,s,p===0?m1:z,D,T,N,H)}function xS(i,o,s,h){return v1(i,o,s,jm,rp(yS()),Ic(i,2,-2),0,h)}function Zp(i,o,s,h,p){return v1(i,o,s,ip,Ic(i,0,h),Ic(i,h+1,-1),h,p)}function Jm(i,o,s){switch(pS(i,o)){case 5103:return fe+"print-"+i+i;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return fe+i+i;case 4789:return yh+i+i;case 5349:case 4246:case 4810:case 6968:case 2756:return fe+i+yh+i+Ee+i+i;case 5936:switch(un(i,o+11)){case 114:return fe+i+Ee+Lt(i,/[svh]\w+-[tblr]{2}/,"tb")+i;case 108:return fe+i+Ee+Lt(i,/[svh]\w+-[tblr]{2}/,"tb-rl")+i;case 45:return fe+i+Ee+Lt(i,/[svh]\w+-[tblr]{2}/,"lr")+i}case 6828:case 4268:case 2903:return fe+i+Ee+i+i;case 6165:return fe+i+Ee+"flex-"+i+i;case 5187:return fe+i+Lt(i,/(\w+).+(:[^]+)/,fe+"box-$1$2"+Ee+"flex-$1$2")+i;case 5443:return fe+i+Ee+"flex-item-"+Lt(i,/flex-|-self/g,"")+(Ua(i,/flex-|baseline/)?"":Ee+"grid-row-"+Lt(i,/flex-|-self/g,""))+i;case 4675:return fe+i+Ee+"flex-line-pack"+Lt(i,/align-content|flex-|-self/g,"")+i;case 5548:return fe+i+Ee+Lt(i,"shrink","negative")+i;case 5292:return fe+i+Ee+Lt(i,"basis","preferred-size")+i;case 6060:return fe+"box-"+Lt(i,"-grow","")+fe+i+Ee+Lt(i,"grow","positive")+i;case 4554:return fe+Lt(i,/([^-])(transform)/g,"$1"+fe+"$2")+i;case 6187:return Lt(Lt(Lt(i,/(zoom-|grab)/,fe+"$1"),/(image-set)/,fe+"$1"),i,"")+i;case 5495:case 3959:return Lt(i,/(image-set\([^]*)/,fe+"$1$`$1");case 4968:return Lt(Lt(i,/(.+:)(flex-)?(.*)/,fe+"box-pack:$3"+Ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fe+i+i;case 4200:if(!Ua(i,/flex-|baseline/))return Ee+"grid-column-align"+Ic(i,o)+i;break;case 2592:case 3360:return Ee+Lt(i,"template-","")+i;case 4384:case 3616:return s&&s.some(function(h,p){return o=p,Ua(h.props,/grid-\w+-end/)})?~Pd(i+(s=s[o].value),"span",0)?i:Ee+Lt(i,"-start","")+i+Ee+"grid-row-span:"+(~Pd(s,"span",0)?Ua(s,/\d+/):+Ua(s,/\d+/)-+Ua(i,/\d+/))+";":Ee+Lt(i,"-start","")+i;case 4896:case 4128:return s&&s.some(function(h){return Ua(h.props,/grid-\w+-start/)})?i:Ee+Lt(Lt(i,"-end","-span"),"span ","")+i;case 4095:case 3583:case 4068:case 2532:return Lt(i,/(.+)-inline(.+)/,fe+"$1$2")+i;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(na(i)-1-o>6)switch(un(i,o+1)){case 109:if(un(i,o+4)!==45)break;case 102:return Lt(i,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+yh+(un(i,o+3)==108?"$3":"$2-$3"))+i;case 115:return~Pd(i,"stretch",0)?Jm(Lt(i,"stretch","fill-available"),o,s)+i:i}break;case 5152:case 5920:return Lt(i,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(h,p,_,b,z,D,T){return Ee+p+":"+_+T+(b?Ee+p+"-span:"+(z?D:+D-+_)+T:"")+i});case 4949:if(un(i,o+6)===121)return Lt(i,":",":"+fe)+i;break;case 6444:switch(un(i,un(i,14)===45?18:11)){case 120:return Lt(i,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+fe+(un(i,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+Ee+"$2box$3")+i;case 100:return Lt(i,":",":"+Ee)+i}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Lt(i,"scroll-","scroll-snap-")+i}return i}function i1(i,o){for(var s="",h=0;h-1&&!i.return)switch(i.type){case ip:i.return=Jm(i.value,i.length,s);return;case Xm:return i1([Ui(i,{value:Lt(i.value,"@","@"+fe)})],h);case m1:if(i.length)return mS(s=i.props,function(p){switch(Ua(p,h=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Wc(Ui(i,{props:[Lt(p,/:(read-\w+)/,":"+yh+"$1")]})),Wc(Ui(i,{props:[p]})),Wg(i,{props:Xp(s,h)});break;case"::placeholder":Wc(Ui(i,{props:[Lt(p,/:(plac\w+)/,":"+fe+"input-$1")]})),Wc(Ui(i,{props:[Lt(p,/:(plac\w+)/,":"+yh+"$1")]})),Wc(Ui(i,{props:[Lt(p,/:(plac\w+)/,Ee+"input-$1")]})),Wc(Ui(i,{props:[p]})),Wg(i,{props:Xp(s,h)});break}return""})}}var DS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ll={},Pc=typeof process<"u"&&Ll!==void 0&&(Ll.REACT_APP_SC_ATTR||Ll.SC_ATTR)||"data-styled",Wm="active",Fm="data-styled-version",_1="6.1.19",fp=`/*!sc*/ +`,r1=typeof window<"u"&&typeof document<"u",MS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ll!==void 0&&Ll.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ll.REACT_APP_SC_DISABLE_SPEEDY!==""?Ll.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ll.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Ll!==void 0&&Ll.SC_DISABLE_SPEEDY!==void 0&&Ll.SC_DISABLE_SPEEDY!==""&&Ll.SC_DISABLE_SPEEDY!=="false"&&Ll.SC_DISABLE_SPEEDY),b1=Object.freeze([]),ts=Object.freeze({});function NS(i,o,s){return s===void 0&&(s=ts),i.theme!==s.theme&&i.theme||o||s.theme}var $m=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),US=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,BS=/(^-|-$)/g;function Kp(i){return i.replace(US,"-").replace(BS,"")}var LS=/(a)(d)/gi,Vd=52,Vp=function(i){return String.fromCharCode(i+(i>25?39:97))};function Ig(i){var o,s="";for(o=Math.abs(i);o>Vd;o=o/Vd|0)s=Vp(o%Vd)+s;return(Vp(o%Vd)+s).replace(LS,"$1-$2")}var jg,Im=5381,Fc=function(i,o){for(var s=o.length;s;)i=33*i^o.charCodeAt(--s);return i},km=function(i){return Fc(Im,i)};function HS(i){return Ig(km(i)>>>0)}function qS(i){return i.displayName||i.name||"Component"}function Xg(i){return typeof i=="string"&&!0}var Pm=typeof Symbol=="function"&&Symbol.for,ty=Pm?Symbol.for("react.memo"):60115,GS=Pm?Symbol.for("react.forward_ref"):60112,YS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},jS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ey={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},XS=((jg={})[GS]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jg[ty]=ey,jg);function Jp(i){return("type"in(o=i)&&o.type.$$typeof)===ty?ey:"$$typeof"in i?XS[i.$$typeof]:YS;var o}var QS=Object.defineProperty,ZS=Object.getOwnPropertyNames,Wp=Object.getOwnPropertySymbols,KS=Object.getOwnPropertyDescriptor,VS=Object.getPrototypeOf,Fp=Object.prototype;function ny(i,o,s){if(typeof o!="string"){if(Fp){var h=VS(o);h&&h!==Fp&&ny(i,h,s)}var p=ZS(o);Wp&&(p=p.concat(Wp(o)));for(var _=Jp(i),b=Jp(o),z=0;z0?" Args: ".concat(o.join(", ")):""))}var JS=(function(){function i(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}return i.prototype.indexOfGroup=function(o){for(var s=0,h=0;h=this.groupSizes.length){for(var h=this.groupSizes,p=h.length,_=p;o>=_;)if((_<<=1)<0)throw Th(16,"".concat(o));this.groupSizes=new Uint32Array(_),this.groupSizes.set(h),this.length=_;for(var b=p;b<_;b++)this.groupSizes[b]=0}for(var z=this.indexOfGroup(o+1),D=(b=0,s.length);b=this.length||this.groupSizes[o]===0)return s;for(var h=this.groupSizes[o],p=this.indexOfGroup(o),_=p+h,b=p;b<_;b++)s+="".concat(this.tag.getRule(b)).concat(fp);return s},i})(),n1=new Map,f1=new Map,l1=1,Jd=function(i){if(n1.has(i))return n1.get(i);for(;f1.has(l1);)l1++;var o=l1++;return n1.set(i,o),f1.set(o,i),o},WS=function(i,o){l1=o+1,n1.set(i,o),f1.set(o,i)},FS="style[".concat(Pc,"][").concat(Fm,'="').concat(_1,'"]'),$S=new RegExp("^".concat(Pc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),IS=function(i,o,s){for(var h,p=s.split(","),_=0,b=p.length;_=0){var h=document.createTextNode(s);return this.element.insertBefore(h,this.nodes[o]||null),this.length++,!0}return!1},i.prototype.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},i.prototype.getRule=function(o){return o0&&(I+="".concat(ot,","))}),D+="".concat(X).concat(P,'{content:"').concat(I,'"}').concat(fp)},N=0;N0?".".concat(o):et},N=D.slice();N.push(function(et){et.type===m1&&et.value.includes("&")&&(et.props[0]=et.props[0].replace(u_,s).replace(h,T))}),b.prefix&&N.push(CS),N.push(RS);var H=function(et,rt,X,P){rt===void 0&&(rt=""),X===void 0&&(X=""),P===void 0&&(P="&"),o=P,s=rt,h=new RegExp("\\".concat(s,"\\b"),"g");var I=et.replace(a_,""),ot=OS(X||rt?"".concat(X," ").concat(rt," { ").concat(I," }"):I);b.namespace&&(ot=ay(ot,b.namespace));var Ot=[];return i1(ot,wS(N.concat(zS(function(it){return Ot.push(it)})))),Ot};return H.hash=D.length?D.reduce(function(et,rt){return rt.name||Th(15),Fc(et,rt.name)},Im).toString():"",H}var r_=new uy,Pg=i_(),iy=pn.createContext({shouldForwardProp:void 0,styleSheet:r_,stylis:Pg});iy.Consumer;pn.createContext(void 0);function Pp(){return la.useContext(iy)}var f_=(function(){function i(o,s){var h=this;this.inject=function(p,_){_===void 0&&(_=Pg);var b=h.name+_.hash;p.hasNameForId(h.id,b)||p.insertRules(h.id,b,_(h.rules,b,"@keyframes"))},this.name=o,this.id="sc-keyframes-".concat(o),this.rules=s,sp(this,function(){throw Th(12,String(h.name))})}return i.prototype.getName=function(o){return o===void 0&&(o=Pg),this.name+o.hash},i})(),c_=function(i){return i>="A"&&i<="Z"};function tm(i){for(var o="",s=0;s>>0);if(!s.hasNameForId(this.componentId,b)){var z=h(_,".".concat(b),void 0,this.componentId);s.insertRules(this.componentId,b,z)}p=nf(p,b),this.staticRulesId=b}else{for(var D=Fc(this.baseHash,h.hash),T="",N=0;N>>0);s.hasNameForId(this.componentId,rt)||s.insertRules(this.componentId,rt,h(T,".".concat(rt),void 0,this.componentId)),p=nf(p,rt)}}return p},i})(),cy=pn.createContext(void 0);cy.Consumer;var Qg={};function d_(i,o,s){var h=cp(i),p=i,_=!Xg(i),b=o.attrs,z=b===void 0?b1:b,D=o.componentId,T=D===void 0?(function(pt,_t){var mt=typeof pt!="string"?"sc":Kp(pt);Qg[mt]=(Qg[mt]||0)+1;var k="".concat(mt,"-").concat(HS(_1+mt+Qg[mt]));return _t?"".concat(_t,"-").concat(k):k})(o.displayName,o.parentComponentId):D,N=o.displayName,H=N===void 0?(function(pt){return Xg(pt)?"styled.".concat(pt):"Styled(".concat(qS(pt),")")})(i):N,et=o.displayName&&o.componentId?"".concat(Kp(o.displayName),"-").concat(o.componentId):o.componentId||T,rt=h&&p.attrs?p.attrs.concat(z).filter(Boolean):z,X=o.shouldForwardProp;if(h&&p.shouldForwardProp){var P=p.shouldForwardProp;if(o.shouldForwardProp){var I=o.shouldForwardProp;X=function(pt,_t){return P(pt,_t)&&I(pt,_t)}}else X=P}var ot=new h_(s,et,h?p.componentStyle:void 0);function Ot(pt,_t){return(function(mt,k,te){var Ae=mt.attrs,Sl=mt.componentStyle,an=mt.defaultProps,we=mt.foldedComponentIds,rn=mt.styledComponentId,Me=mt.target,tn=pn.useContext(cy),j=Pp(),tt=mt.shouldForwardProp||j.shouldForwardProp,ft=NS(k,tn,an)||ts,Mt=(function(dt,Tt,Qt){for(var he,Vt=ml(ml({},Tt),{className:void 0,theme:Qt}),Fl=0;Fl{const o=new Date(parseInt(i.time)*1e3),s=Math.round(parseInt(i.delay)/60),h=s>0?`+${s}`:"",p=b=>b<=9?`0${b}`:b,_=`${p(o.getHours())}:${p(o.getMinutes())}`;return yt.jsxs(p_,{children:[yt.jsx(m_,{children:_}),yt.jsx(v_,{children:i.station}),yt.jsx(lm,{children:i.canceled==="1"?"CANCELED":""}),yt.jsx(lm,{children:h}),yt.jsx(y_,{children:i.left==="1"?"LEFT":""}),yt.jsxs(S_,{children:["Platform: ",i.platform]})]})},Sh="#074c87",b_=Xe.div` + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: stretch; + background: #0b0c10; + color: #fff; + padding: 1rem 1.5rem; + border-radius: 12px; + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); + font-family: "Inter", sans-serif; + max-width: 600px; + margin: 1rem auto; +`,E_=Xe.div` + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-bottom: 0.75rem; +`,A_=Xe.a` + font-size: 1.25rem; + font-weight: 700; + color: ${Sh}; + text-decoration: none; + margin-right: 1rem; + + &:hover { + text-decoration: underline; + color: ${Sh}; + } +`,T_=Xe.span` + font-size: 0.8rem; + color: #c5c6c7; + white-space: nowrap; +`,O_=Xe.p` + font-size: 1rem; + color: #a7a7a7; + line-height: 1.4; + margin-bottom: 1rem; +`,x_=Xe.div` + display: flex; + justify-content: space-between; + align-items: center; + font-size: 0.85rem; + padding-top: 0.5rem; + border-top: 1px solid #1f2833; +`,R_=Xe.span` + color: ${Sh}; + + strong { + font-weight: 600; + color: #fff; + } +`,w_=Xe.span` + color: ${Sh}; + font-style: italic; +`,z_=({article:i})=>{if(!i)return null;const s=(p=>{try{return new Date(p).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}catch{return"Unknown Date"}})(i.pubDate),h=Array.isArray(i.keywords)?i.keywords.join(", "):i.keywords;return yt.jsxs(b_,{children:[yt.jsxs(E_,{children:[yt.jsx(A_,{href:i.link,target:"_blank",rel:"noopener noreferrer",children:i.title}),yt.jsx(T_,{children:s})]}),yt.jsx(O_,{children:i.description}),yt.jsxs(x_,{children:[yt.jsxs(R_,{children:["By: ",yt.jsx("strong",{children:i.creator||"N/A"})," from ",yt.jsx("strong",{children:i.source_name||"N/A"})]}),yt.jsxs(w_,{children:["Tags: ",h||"none"]})]})]})},C_=Xe.div` + display: flex; + justify-content: space-between; + align-items: stretch; + background: #0b0c10; + color: #fff; + padding: 1rem 1.5rem; + border-radius: 12px; + box-shadow: 0 4px 12px rgba(0,0,0,0.2); + + font-size: 4rem; + font-weight: 200; + flex: 0 0 auto; + display: flex; + align-items: center; + justify-content: center; + padding-right: 1em; +`,D_=()=>{const[i,o]=la.useState(new Date().toLocaleTimeString("fr-FR"));return la.useEffect(()=>{const s=setInterval(()=>{o(new Date().toLocaleTimeString("fr-FR"))},1e3);return()=>clearInterval(s)},[]),yt.jsx(C_,{children:i})};var Ba=function(){return Ba=Object.assign||function(o){for(var s,h=1,p=arguments.length;h"u")){var h=document.head||document.getElementsByTagName("head")[0],p=document.createElement("style");p.type="text/css",s==="top"&&h.firstChild?h.insertBefore(p,h.firstChild):h.appendChild(p),p.styleSheet?p.styleSheet.cssText=i:p.appendChild(document.createTextNode(i))}}var L_="@keyframes spinners-react-diamond{25%{transform:translate(30px,-30px)}50%{transform:translate(60px)}75%{transform:translate(30px,30px)}}";B_(L_);var um=[{x:3,y:48},{x:18,y:33},{x:18,y:48},{x:18,y:63},{x:33,y:48},{x:33,y:18},{x:33,y:33},{x:33,y:63},{x:33,y:78},{x:48,y:3},{x:48,y:18},{x:48,y:33},{x:48,y:48},{x:48,y:63},{x:48,y:78},{x:48,y:93},{x:63,y:18},{x:63,y:33},{x:63,y:48},{x:63,y:63},{x:63,y:78},{x:78,y:33},{x:78,y:48},{x:78,y:63},{x:93,y:48}];function H_(i){var o=i.secondaryColor,s=o===void 0?Fd.secondaryColor:o,h=i.speed,p=h===void 0?Fd.speed:h,_=i.still,b=_===void 0?Fd.still:_,z=i.thickness,D=z===void 0?Fd.thickness:z,T=oy(i,["secondaryColor","speed","still","thickness"]),N={animation:"spinners-react-diamond ".concat(140/p,"s steps(2, end) infinite")};return b&&(N.animation="none"),pn.createElement("svg",Ba({fill:"currentColor"},T,{viewBox:"0 0 96 96"}),um.map(function(H){return pn.createElement("circle",{key:"".concat(H.x,"-").concat(H.y),cx:H.x,cy:H.y,fill:s,r:2.5*(D/100)})}),pn.createElement("g",{style:N},um.filter(function(H,et){return et<5}).map(function(H){return pn.createElement("circle",{key:"h-".concat(H.x,"-").concat(H.y),cx:H.x,cy:H.y,r:3.5*(D/100)})})))}var op=N_(H_);const q_=({state:i})=>yt.jsxs(yt.Fragment,{children:[i.trainScheduleLoading?yt.jsx(op,{}):i.trainScheduleError?yt.jsx("em",{children:i.trainScheduleError?.message}):i.departures?.map(o=>yt.jsx(__,{departure:o})),yt.jsx(D_,{})]});var hy={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},am=pn.createContext&&pn.createContext(hy),G_=["attr","size","title"];function Y_(i,o){if(i==null)return{};var s=j_(i,o),h,p;if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(i);for(p=0;p<_.length;p++)h=_[p],!(o.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(i,h)&&(s[h]=i[h])}return s}function j_(i,o){if(i==null)return{};var s={};for(var h in i)if(Object.prototype.hasOwnProperty.call(i,h)){if(o.indexOf(h)>=0)continue;s[h]=i[h]}return s}function c1(){return c1=Object.assign?Object.assign.bind():function(i){for(var o=1;opn.createElement(o.tag,s1({key:s},o.attr),dy(o.child)))}function hp(i){return o=>pn.createElement(K_,c1({attr:s1({},i.attr)},o),dy(i.child))}function K_(i){var o=s=>{var{attr:h,size:p,title:_}=i,b=Y_(i,G_),z=p||s.size||"1em",D;return s.className&&(D=s.className),i.className&&(D=(D?D+" ":"")+i.className),pn.createElement("svg",c1({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,h,b,{className:D,style:s1(s1({color:i.color||s.color},s.style),i.style),height:z,width:z,xmlns:"http://www.w3.org/2000/svg"}),_&&pn.createElement("title",null,_),i.children)};return am!==void 0?pn.createElement(am.Consumer,null,s=>o(s)):o(hy)}function V_(i){return hp({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M11.01,12.23c0-0.26,0.13-0.59,0.38-1.01c0.25-0.42,0.5-0.77,0.73-1.04c0.06-0.07,0.14-0.17,0.23-0.28s0.15-0.17,0.16-0.18 + l0.37,0.43c0.28,0.31,0.53,0.66,0.76,1.07c0.23,0.41,0.35,0.74,0.35,1.01c0,0.41-0.14,0.77-0.43,1.06 + c-0.28,0.29-0.63,0.44-1.05,0.44c-0.41,0-0.77-0.15-1.06-0.44C11.16,12.99,11.01,12.64,11.01,12.23z M14.13,16.38 + c0-0.29,0.08-0.62,0.24-1.01c0.16-0.38,0.36-0.74,0.6-1.06c0.46-0.61,0.89-1.12,1.31-1.53c0.04-0.03,0.13-0.11,0.26-0.24l0.25,0.24 + c0.39,0.37,0.83,0.88,1.32,1.52c0.26,0.34,0.46,0.7,0.62,1.08s0.24,0.71,0.24,1c0,0.69-0.23,1.26-0.7,1.73 + c-0.47,0.47-1.05,0.7-1.73,0.7c-0.68,0-1.25-0.24-1.72-0.71S14.13,17.05,14.13,16.38z M15.65,9.48c0-0.43,0.33-1,1-1.7l0.25,0.28 + c0.19,0.22,0.36,0.46,0.51,0.74c0.15,0.27,0.23,0.5,0.23,0.68c0,0.28-0.1,0.5-0.29,0.69c-0.19,0.18-0.42,0.28-0.7,0.28 + c-0.29,0-0.53-0.09-0.72-0.28C15.75,9.98,15.65,9.75,15.65,9.48z`},child:[]}]})(i)}function J_(i){return hp({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M3.1,16.97c0,0.24,0.09,0.45,0.28,0.62c0.16,0.19,0.37,0.28,0.63,0.28H18.7c0.29,0,0.53,0.1,0.73,0.3 + c0.2,0.2,0.3,0.45,0.3,0.74c0,0.29-0.1,0.53-0.3,0.72c-0.2,0.19-0.44,0.29-0.74,0.29c-0.29,0-0.54-0.1-0.73-0.29 + c-0.16-0.18-0.36-0.26-0.6-0.26c-0.25,0-0.46,0.09-0.64,0.26s-0.27,0.38-0.27,0.61c0,0.25,0.09,0.46,0.28,0.63 + c0.56,0.55,1.22,0.83,1.96,0.83c0.78,0,1.45-0.27,2.01-0.81c0.56-0.54,0.83-1.19,0.83-1.97s-0.28-1.44-0.84-2 + c-0.56-0.56-1.23-0.84-2-0.84H4.01c-0.25,0-0.46,0.09-0.64,0.26C3.19,16.51,3.1,16.72,3.1,16.97z M3.1,13.69 + c0,0.23,0.09,0.43,0.28,0.61c0.17,0.18,0.38,0.26,0.63,0.26h20.04c0.78,0,1.45-0.27,2.01-0.82c0.56-0.54,0.84-1.2,0.84-1.97 + c0-0.77-0.28-1.44-0.84-1.99s-1.23-0.83-2.01-0.83c-0.77,0-1.42,0.27-1.95,0.8c-0.18,0.16-0.27,0.38-0.27,0.67 + c0,0.26,0.09,0.47,0.26,0.63c0.17,0.16,0.38,0.24,0.63,0.24c0.24,0,0.45-0.08,0.63-0.24c0.19-0.21,0.42-0.31,0.7-0.31 + c0.29,0,0.53,0.1,0.73,0.3c0.2,0.2,0.3,0.44,0.3,0.73c0,0.29-0.1,0.53-0.3,0.72c-0.2,0.19-0.44,0.29-0.73,0.29H4.01 + c-0.25,0-0.46,0.09-0.64,0.26C3.19,13.23,3.1,13.44,3.1,13.69z`},child:[]}]})(i)}function W_(i){return hp({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M9.91,19.56c0-0.85,0.2-1.64,0.59-2.38s0.94-1.35,1.65-1.84V5.42c0-0.8,0.27-1.48,0.82-2.03S14.2,2.55,15,2.55 + c0.81,0,1.49,0.28,2.04,0.83c0.55,0.56,0.83,1.23,0.83,2.03v9.92c0.71,0.49,1.25,1.11,1.64,1.84s0.58,1.53,0.58,2.38 + c0,0.92-0.23,1.78-0.68,2.56s-1.07,1.4-1.85,1.85s-1.63,0.68-2.56,0.68c-0.92,0-1.77-0.23-2.55-0.68s-1.4-1.07-1.86-1.85 + S9.91,20.48,9.91,19.56z M11.67,19.56c0,0.93,0.33,1.73,0.98,2.39c0.65,0.66,1.44,0.99,2.36,0.99c0.93,0,1.73-0.33,2.4-1 + s1.01-1.46,1.01-2.37c0-0.62-0.16-1.2-0.48-1.73c-0.32-0.53-0.76-0.94-1.32-1.23l-0.28-0.14c-0.1-0.04-0.15-0.14-0.15-0.29V5.42 + c0-0.32-0.11-0.59-0.34-0.81C15.62,4.4,15.34,4.29,15,4.29c-0.32,0-0.6,0.11-0.83,0.32c-0.23,0.21-0.34,0.48-0.34,0.81v10.74 + c0,0.15-0.05,0.25-0.14,0.29l-0.27,0.14c-0.55,0.29-0.98,0.7-1.29,1.23C11.82,18.35,11.67,18.92,11.67,19.56z M12.45,19.56 + c0,0.71,0.24,1.32,0.73,1.82s1.07,0.75,1.76,0.75s1.28-0.25,1.79-0.75c0.51-0.5,0.76-1.11,0.76-1.81c0-0.63-0.22-1.19-0.65-1.67 + c-0.43-0.48-0.96-0.77-1.58-0.85V9.69c0-0.06-0.03-0.13-0.1-0.19c-0.07-0.07-0.14-0.1-0.22-0.1c-0.09,0-0.16,0.03-0.21,0.08 + c-0.05,0.06-0.08,0.12-0.08,0.21v7.34c-0.61,0.09-1.13,0.37-1.56,0.85C12.66,18.37,12.45,18.92,12.45,19.56z`},child:[]}]})(i)}const F_=Xe.div` + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: stretch; + background: #0b0c10; + color: #fff; + padding: 1rem 1.5rem; + border-radius: 12px; + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); + font-family: "Inter", sans-serif; + max-width: 600px; + margin: 1rem auto; +`,$_=Xe.div` + display: flex; + align-items: center; + gap: 1rem; + + img { + width: 64px; + height: 64px; + } + + h2 { + font-size: 1.5rem; + font-weight: 600; + margin: 0; + } +`,I_=Xe.div` + display: flex; + justify-content: space-around; + align-items: center; + margin-top: 1rem; + font-size: 4rm; + + .weather-item { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.25rem; + font-size: 1rem; + + svg { + font-size: 2rem; + color: ${Sh}; + } + + span { + font-size: 0.9rem; + opacity: 0.8; + } + } +`,k_=({state:i})=>{const o=i.weather?.current;return o?i.weatherLoading?yt.jsx(op,{}):i.weatherError?yt.jsx("em",{children:i.weatherError?.message}):yt.jsxs(F_,{children:[yt.jsxs($_,{children:[yt.jsx("img",{src:o.condition.icon,alt:o.condition.text}),yt.jsx("h2",{children:o.condition.text})]}),yt.jsxs(I_,{children:[yt.jsxs("div",{className:"weather-item",children:[yt.jsx(W_,{}),yt.jsxs("span",{children:[o.temp_c,"°C"]})]}),yt.jsxs("div",{className:"weather-item",children:[yt.jsx(V_,{}),yt.jsxs("span",{children:[o.precip_mm," mm"]})]}),yt.jsxs("div",{className:"weather-item",children:[yt.jsx(J_,{}),yt.jsxs("span",{children:[o.gust_kph," kph"]})]})]})]}):null},P_=({state:i})=>yt.jsx("div",{children:i.newsLoading?yt.jsx(op,{}):i.newsError?yt.jsx("em",{children:i.newsError?.message}):i.news?.slice(0,2).map(o=>yt.jsx(z_,{article:o}))}),tb="https://newsdata.io/api/1/latest?apikey=pub_26997f21bb174c7cbab59b3651533429&q=nivelle &country=be",eb=({dispatch:i})=>{la.useEffect(()=>{(async()=>{try{i(La.loadNews({}));const o=await fetch(tb),{results:s}=await o.json();i(La.loadNewsSuccess({news:s}))}catch(o){i(La.loadNewsError({error:o}))}})()},[])},nb="http://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no",lb=({dispatch:i})=>{la.useEffect(()=>{(async()=>{try{i(La.loadWeather({}));const s=await(await fetch(nb)).json();i(La.loadWeatherSuccess({weather:s}))}catch(o){i(La.loadWeatherError({error:o}))}})()},[])},ub=Xe.div` + display: flex; + height: 100vh; + width: 100vw; + gap: 2rem; +`,rm=Xe.div` + max-width: 45vw; +`;function ab(){const[i,o]=la.useReducer(My,Cy);return hS(i,o),eb({state:i,dispatch:o}),lb({state:i,dispatch:o}),yt.jsxs(ub,{children:[yt.jsxs(rm,{children:[yt.jsx("h1",{children:"Next trains"}),yt.jsx(q_,{state:i,dispatch:o})]}),yt.jsxs(rm,{children:[yt.jsx("h1",{children:"News"}),yt.jsx(P_,{state:i,dispatch:o}),yt.jsx("h1",{children:"Weather"}),yt.jsx(k_,{state:i,dispatch:o})]})]})}zy.createRoot(document.getElementById("root")).render(yt.jsx(la.StrictMode,{children:yt.jsx(ab,{})})); diff --git a/dist/index.html b/dist/index.html index 56bdaa7..5b1ef25 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ trainhour - + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..24a8265 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3.9" +services: + vite-app: + build: . + ports: + - "5173:5173" + volumes: + - .:/app + - /app/node_modules + environment: + - NODE_ENV=development + diff --git a/package.json b/package.json index 597a571..d96a994 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,15 @@ "preview": "vite preview" }, "dependencies": { + "@types/lodash": "^4.17.20", "axios": "^1.13.1", + "lodash": "^4.17.21", + "lucide-react": "^0.552.0", "react": "^19.1.1", - "react-dom": "^19.1.1" + "react-dom": "^19.1.1", + "react-icons": "^5.5.0", + "spinners-react": "^1.0.11", + "styled-components": "^6.1.19" }, "devDependencies": { "@eslint/js": "^9.36.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3da2fe3..1b66959 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,15 +8,33 @@ importers: .: dependencies: + '@types/lodash': + specifier: ^4.17.20 + version: 4.17.20 axios: specifier: ^1.13.1 version: 1.13.1 + lodash: + specifier: ^4.17.21 + version: 4.17.21 + lucide-react: + specifier: ^0.552.0 + version: 0.552.0(react@19.2.0) react: specifier: ^19.1.1 version: 19.2.0 react-dom: specifier: ^19.1.1 version: 19.2.0(react@19.2.0) + react-icons: + specifier: ^5.5.0 + version: 5.5.0(react@19.2.0) + spinners-react: + specifier: ^1.0.11 + version: 1.0.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) + styled-components: + specifier: ^6.1.19 + version: 6.1.19(react-dom@19.2.0(react@19.2.0))(react@19.2.0) devDependencies: '@eslint/js': specifier: ^9.36.0 @@ -143,6 +161,15 @@ packages: resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==} engines: {node: '>=6.9.0'} + '@emotion/is-prop-valid@1.2.2': + resolution: {integrity: sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==} + + '@emotion/memoize@0.8.1': + resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} + + '@emotion/unitless@0.8.1': + resolution: {integrity: sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==} + '@esbuild/aix-ppc64@0.25.11': resolution: {integrity: sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==} engines: {node: '>=18'} @@ -517,6 +544,9 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/lodash@4.17.20': + resolution: {integrity: sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==} + '@types/node@24.9.1': resolution: {integrity: sha512-QoiaXANRkSXK6p0Duvt56W208du4P9Uye9hWLWgGMDTEoKPhuenzNcC4vGUmrNkiOKTlIrBoyNQYNpSwfEZXSg==} @@ -528,6 +558,9 @@ packages: '@types/react@19.2.2': resolution: {integrity: sha512-6mDvHUFSjyT2B2yeNx2nUgMxh9LtOWvkhIU3uePn2I2oyNymUAX1NIsdgviM4CH+JSrp2D2hsMvJOkxY+0wNRA==} + '@types/stylis@4.2.5': + resolution: {integrity: sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==} + '@typescript-eslint/eslint-plugin@8.46.2': resolution: {integrity: sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -649,6 +682,9 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} + camelize@1.0.1: + resolution: {integrity: sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==} + caniuse-lite@1.0.30001751: resolution: {integrity: sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==} @@ -677,6 +713,13 @@ packages: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} + css-color-keywords@1.0.0: + resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==} + engines: {node: '>=4'} + + css-to-react-native@3.2.0: + resolution: {integrity: sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==} + csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -977,9 +1020,17 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lucide-react@0.552.0: + resolution: {integrity: sha512-g9WCjmfwqbexSnZE+2cl21PCfXOcqnGeWeMTNAOGEfpPbm/ZF4YIq77Z8qWrxbu660EKuLB4nSLggoKnCb+isw==} + peerDependencies: + react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 + math-intrinsics@1.1.0: resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} engines: {node: '>= 0.4'} @@ -1066,6 +1117,13 @@ packages: engines: {node: '>=18'} hasBin: true + postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} + engines: {node: ^10 || ^12 || >=14} + postcss@8.5.6: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} @@ -1089,6 +1147,11 @@ packages: peerDependencies: react: ^19.2.0 + react-icons@5.5.0: + resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==} + peerDependencies: + react: '*' + react-refresh@0.18.0: resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==} engines: {node: '>=0.10.0'} @@ -1125,6 +1188,9 @@ packages: engines: {node: '>=10'} hasBin: true + shallowequal@1.1.0: + resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} + shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -1137,10 +1203,28 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} + spinners-react@1.0.11: + resolution: {integrity: sha512-CpQZixAI3dW+nLuJSrOTz4bDroSwLoIO5ljFt8wc1qy39yhK6MUubKnPD3z9/xIwNWFqy3mMRlW1mik/Fgqjow==} + peerDependencies: + '@types/react': ^16.x || ^17.x || ^18.x || ^19.x + '@types/react-dom': ^16.x || ^17.x || ^18.x || ^19.x + react: ^16.x || ^17.x || ^18.x || ^19.x + react-dom: ^16.x || ^17.x || ^18.x || ^19.x + strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + styled-components@6.1.19: + resolution: {integrity: sha512-1v/e3Dl1BknC37cXMhwGomhO8AkYmN41CqyX9xhUDxry1ns3BFQy2lLDRQXJRdVVWB9OHemv/53xaStimvWyuA==} + engines: {node: '>= 16'} + peerDependencies: + react: '>= 16.8.0' + react-dom: '>= 16.8.0' + + stylis@4.3.2: + resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} + supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} @@ -1159,6 +1243,9 @@ packages: peerDependencies: typescript: '>=4.8.4' + tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -1357,6 +1444,14 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 + '@emotion/is-prop-valid@1.2.2': + dependencies: + '@emotion/memoize': 0.8.1 + + '@emotion/memoize@0.8.1': {} + + '@emotion/unitless@0.8.1': {} + '@esbuild/aix-ppc64@0.25.11': optional: true @@ -1620,6 +1715,8 @@ snapshots: '@types/json-schema@7.0.15': {} + '@types/lodash@4.17.20': {} + '@types/node@24.9.1': dependencies: undici-types: 7.16.0 @@ -1632,6 +1729,8 @@ snapshots: dependencies: csstype: 3.1.3 + '@types/stylis@4.2.5': {} + '@typescript-eslint/eslint-plugin@8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.38.0)(typescript@5.9.3))(eslint@9.38.0)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 @@ -1798,6 +1897,8 @@ snapshots: callsites@3.1.0: {} + camelize@1.0.1: {} + caniuse-lite@1.0.30001751: {} chalk@4.1.2: @@ -1825,6 +1926,14 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 + css-color-keywords@1.0.0: {} + + css-to-react-native@3.2.0: + dependencies: + camelize: 1.0.1 + css-color-keywords: 1.0.0 + postcss-value-parser: 4.2.0 + csstype@3.1.3: {} debug@4.4.3: @@ -2125,10 +2234,16 @@ snapshots: lodash.merge@4.6.2: {} + lodash@4.17.21: {} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 + lucide-react@0.552.0(react@19.2.0): + dependencies: + react: 19.2.0 + math-intrinsics@1.1.0: {} merge2@1.4.1: {} @@ -2199,6 +2314,14 @@ snapshots: optionalDependencies: fsevents: 2.3.2 + postcss-value-parser@4.2.0: {} + + postcss@8.4.49: + dependencies: + nanoid: 3.3.11 + picocolors: 1.1.1 + source-map-js: 1.2.1 + postcss@8.5.6: dependencies: nanoid: 3.3.11 @@ -2218,6 +2341,10 @@ snapshots: react: 19.2.0 scheduler: 0.27.0 + react-icons@5.5.0(react@19.2.0): + dependencies: + react: 19.2.0 + react-refresh@0.18.0: {} react@19.2.0: {} @@ -2264,6 +2391,8 @@ snapshots: semver@7.7.3: {} + shallowequal@1.1.0: {} + shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 @@ -2272,8 +2401,31 @@ snapshots: source-map-js@1.2.1: {} + spinners-react@1.0.11(@types/react-dom@19.2.2(@types/react@19.2.2))(@types/react@19.2.2)(react-dom@19.2.0(react@19.2.0))(react@19.2.0): + dependencies: + '@types/react': 19.2.2 + '@types/react-dom': 19.2.2(@types/react@19.2.2) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + strip-json-comments@3.1.1: {} + styled-components@6.1.19(react-dom@19.2.0(react@19.2.0))(react@19.2.0): + dependencies: + '@emotion/is-prop-valid': 1.2.2 + '@emotion/unitless': 0.8.1 + '@types/stylis': 4.2.5 + css-to-react-native: 3.2.0 + csstype: 3.1.3 + postcss: 8.4.49 + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + shallowequal: 1.1.0 + stylis: 4.3.2 + tslib: 2.6.2 + + stylis@4.3.2: {} + supports-color@7.2.0: dependencies: has-flag: 4.0.0 @@ -2291,6 +2443,8 @@ snapshots: dependencies: typescript: 5.9.3 + tslib@2.6.2: {} + type-check@0.4.0: dependencies: prelude-ls: 1.2.1