var aE=Object.defineProperty;var nE=(E,r,m)=>r in E?aE(E,r,{enumerable:!0,configurable:!0,writable:!0,value:m}):E[r]=m;var it=(E,r,m)=>nE(E,typeof r!="symbol"?r+"":r,m);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const y of document.querySelectorAll('link[rel="modulepreload"]'))o(y);new MutationObserver(y=>{for(const R of y)if(R.type==="childList")for(const G of R.addedNodes)G.tagName==="LINK"&&G.rel==="modulepreload"&&o(G)}).observe(document,{childList:!0,subtree:!0});function m(y){const R={};return y.integrity&&(R.integrity=y.integrity),y.referrerPolicy&&(R.referrerPolicy=y.referrerPolicy),y.crossOrigin==="use-credentials"?R.credentials="include":y.crossOrigin==="anonymous"?R.credentials="omit":R.credentials="same-origin",R}function o(y){if(y.ep)return;y.ep=!0;const R=m(y);fetch(y.href,R)}})();function cE(E){return E&&E.__esModule&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E}var pc={exports:{}},Gl={};/**
 * @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 ki;function uE(){if(ki)return Gl;ki=1;var E=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function m(o,y,R){var G=null;if(R!==void 0&&(G=""+R),y.key!==void 0&&(G=""+y.key),"key"in y){R={};for(var M in y)M!=="key"&&(R[M]=y[M])}else R=y;return y=R.ref,{$$typeof:E,type:o,key:G,ref:y!==void 0?y:null,props:R}}return Gl.Fragment=r,Gl.jsx=m,Gl.jsxs=m,Gl}var wi;function sE(){return wi||(wi=1,pc.exports=uE()),pc.exports}var s=sE(),bc={exports:{}},A0={};/**
 * @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 _i;function iE(){if(_i)return A0;_i=1;var E=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),G=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),b=Symbol.iterator;function H(i){return i===null||typeof i!="object"?null:(i=b&&i[b]||i["@@iterator"],typeof i=="function"?i:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,L={};function $(i,w,P){this.props=i,this.context=w,this.refs=L,this.updater=P||D}$.prototype.isReactComponent={},$.prototype.setState=function(i,w){if(typeof i!="object"&&typeof i!="function"&&i!=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,i,w,"setState")},$.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function e0(){}e0.prototype=$.prototype;function j(i,w,P){this.props=i,this.context=w,this.refs=L,this.updater=P||D}var h=j.prototype=new e0;h.constructor=j,X(h,$.prototype),h.isPureReactComponent=!0;var v=Array.isArray;function S(){}var A={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function I(i,w,P){var W=P.ref;return{$$typeof:E,type:i,key:w,ref:W!==void 0?W:null,props:P}}function c0(i,w){return I(i.type,w,i.props)}function a0(i){return typeof i=="object"&&i!==null&&i.$$typeof===E}function Q(i){var w={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(P){return w[P]})}var t0=/\/+/g;function u0(i,w){return typeof i=="object"&&i!==null&&i.key!=null?Q(""+i.key):w.toString(36)}function l0(i){switch(i.status){case"fulfilled":return i.value;case"rejected":throw i.reason;default:switch(typeof i.status=="string"?i.then(S,S):(i.status="pending",i.then(function(w){i.status==="pending"&&(i.status="fulfilled",i.value=w)},function(w){i.status==="pending"&&(i.status="rejected",i.reason=w)})),i.status){case"fulfilled":return i.value;case"rejected":throw i.reason}}throw i}function _(i,w,P,W,B0){var r0=typeof i;(r0==="undefined"||r0==="boolean")&&(i=null);var f0=!1;if(i===null)f0=!0;else switch(r0){case"bigint":case"string":case"number":f0=!0;break;case"object":switch(i.$$typeof){case E:case r:f0=!0;break;case p:return f0=i._init,_(f0(i._payload),w,P,W,B0)}}if(f0)return B0=B0(i),f0=W===""?"."+u0(i,0):W,v(B0)?(P="",f0!=null&&(P=f0.replace(t0,"$&/")+"/"),_(B0,w,P,"",function(Nx){return Nx})):B0!=null&&(a0(B0)&&(B0=c0(B0,P+(B0.key==null||i&&i.key===B0.key?"":(""+B0.key).replace(t0,"$&/")+"/")+f0)),w.push(B0)),1;f0=0;var L0=W===""?".":W+":";if(v(i))for(var g0=0;g0<i.length;g0++)W=i[g0],r0=L0+u0(W,g0),f0+=_(W,w,P,r0,B0);else if(g0=H(i),typeof g0=="function")for(i=g0.call(i),g0=0;!(W=i.next()).done;)W=W.value,r0=L0+u0(W,g0++),f0+=_(W,w,P,r0,B0);else if(r0==="object"){if(typeof i.then=="function")return _(l0(i),w,P,W,B0);throw w=String(i),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return f0}function O(i,w,P){if(i==null)return i;var W=[],B0=0;return _(i,W,"","",function(r0){return w.call(P,r0,B0++)}),W}function U(i){if(i._status===-1){var w=i._result;w=w(),w.then(function(P){(i._status===0||i._status===-1)&&(i._status=1,i._result=P)},function(P){(i._status===0||i._status===-1)&&(i._status=2,i._result=P)}),i._status===-1&&(i._status=0,i._result=w)}if(i._status===1)return i._result.default;throw i._result}var V=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var w=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(w))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},s0={map:O,forEach:function(i,w,P){O(i,function(){w.apply(this,arguments)},P)},count:function(i){var w=0;return O(i,function(){w++}),w},toArray:function(i){return O(i,function(w){return w})||[]},only:function(i){if(!a0(i))throw Error("React.Children.only expected to receive a single React element child.");return i}};return A0.Activity=f,A0.Children=s0,A0.Component=$,A0.Fragment=m,A0.Profiler=y,A0.PureComponent=j,A0.StrictMode=o,A0.Suspense=g,A0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,A0.__COMPILER_RUNTIME={__proto__:null,c:function(i){return A.H.useMemoCache(i)}},A0.cache=function(i){return function(){return i.apply(null,arguments)}},A0.cacheSignal=function(){return null},A0.cloneElement=function(i,w,P){if(i==null)throw Error("The argument must be a React element, but you passed "+i+".");var W=X({},i.props),B0=i.key;if(w!=null)for(r0 in w.key!==void 0&&(B0=""+w.key),w)!Y.call(w,r0)||r0==="key"||r0==="__self"||r0==="__source"||r0==="ref"&&w.ref===void 0||(W[r0]=w[r0]);var r0=arguments.length-2;if(r0===1)W.children=P;else if(1<r0){for(var f0=Array(r0),L0=0;L0<r0;L0++)f0[L0]=arguments[L0+2];W.children=f0}return I(i.type,B0,W)},A0.createContext=function(i){return i={$$typeof:G,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null},i.Provider=i,i.Consumer={$$typeof:R,_context:i},i},A0.createElement=function(i,w,P){var W,B0={},r0=null;if(w!=null)for(W in w.key!==void 0&&(r0=""+w.key),w)Y.call(w,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(B0[W]=w[W]);var f0=arguments.length-2;if(f0===1)B0.children=P;else if(1<f0){for(var L0=Array(f0),g0=0;g0<f0;g0++)L0[g0]=arguments[g0+2];B0.children=L0}if(i&&i.defaultProps)for(W in f0=i.defaultProps,f0)B0[W]===void 0&&(B0[W]=f0[W]);return I(i,r0,B0)},A0.createRef=function(){return{current:null}},A0.forwardRef=function(i){return{$$typeof:M,render:i}},A0.isValidElement=a0,A0.lazy=function(i){return{$$typeof:p,_payload:{_status:-1,_result:i},_init:U}},A0.memo=function(i,w){return{$$typeof:B,type:i,compare:w===void 0?null:w}},A0.startTransition=function(i){var w=A.T,P={};A.T=P;try{var W=i(),B0=A.S;B0!==null&&B0(P,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(S,V)}catch(r0){V(r0)}finally{w!==null&&P.types!==null&&(w.types=P.types),A.T=w}},A0.unstable_useCacheRefresh=function(){return A.H.useCacheRefresh()},A0.use=function(i){return A.H.use(i)},A0.useActionState=function(i,w,P){return A.H.useActionState(i,w,P)},A0.useCallback=function(i,w){return A.H.useCallback(i,w)},A0.useContext=function(i){return A.H.useContext(i)},A0.useDebugValue=function(){},A0.useDeferredValue=function(i,w){return A.H.useDeferredValue(i,w)},A0.useEffect=function(i,w){return A.H.useEffect(i,w)},A0.useEffectEvent=function(i){return A.H.useEffectEvent(i)},A0.useId=function(){return A.H.useId()},A0.useImperativeHandle=function(i,w,P){return A.H.useImperativeHandle(i,w,P)},A0.useInsertionEffect=function(i,w){return A.H.useInsertionEffect(i,w)},A0.useLayoutEffect=function(i,w){return A.H.useLayoutEffect(i,w)},A0.useMemo=function(i,w){return A.H.useMemo(i,w)},A0.useOptimistic=function(i,w){return A.H.useOptimistic(i,w)},A0.useReducer=function(i,w,P){return A.H.useReducer(i,w,P)},A0.useRef=function(i){return A.H.useRef(i)},A0.useState=function(i){return A.H.useState(i)},A0.useSyncExternalStore=function(i,w,P){return A.H.useSyncExternalStore(i,w,P)},A0.useTransition=function(){return A.H.useTransition()},A0.version="19.2.4",A0}var Ti;function jc(){return Ti||(Ti=1,bc.exports=iE()),bc.exports}var d=jc(),Sc={exports:{}},Xl={},kc={exports:{}},wc={};/**
 * @license React
 * scheduler.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 ji;function oE(){return ji||(ji=1,(function(E){function r(_,O){var U=_.length;_.push(O);x:for(;0<U;){var V=U-1>>>1,s0=_[V];if(0<y(s0,O))_[V]=O,_[U]=s0,U=V;else break x}}function m(_){return _.length===0?null:_[0]}function o(_){if(_.length===0)return null;var O=_[0],U=_.pop();if(U!==O){_[0]=U;x:for(var V=0,s0=_.length,i=s0>>>1;V<i;){var w=2*(V+1)-1,P=_[w],W=w+1,B0=_[W];if(0>y(P,U))W<s0&&0>y(B0,P)?(_[V]=B0,_[W]=U,V=W):(_[V]=P,_[w]=U,V=w);else if(W<s0&&0>y(B0,U))_[V]=B0,_[W]=U,V=W;else break x}}return O}function y(_,O){var U=_.sortIndex-O.sortIndex;return U!==0?U:_.id-O.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var R=performance;E.unstable_now=function(){return R.now()}}else{var G=Date,M=G.now();E.unstable_now=function(){return G.now()-M}}var g=[],B=[],p=1,f=null,b=3,H=!1,D=!1,X=!1,L=!1,$=typeof setTimeout=="function"?setTimeout:null,e0=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function h(_){for(var O=m(B);O!==null;){if(O.callback===null)o(B);else if(O.startTime<=_)o(B),O.sortIndex=O.expirationTime,r(g,O);else break;O=m(B)}}function v(_){if(X=!1,h(_),!D)if(m(g)!==null)D=!0,S||(S=!0,Q());else{var O=m(B);O!==null&&l0(v,O.startTime-_)}}var S=!1,A=-1,Y=5,I=-1;function c0(){return L?!0:!(E.unstable_now()-I<Y)}function a0(){if(L=!1,S){var _=E.unstable_now();I=_;var O=!0;try{x:{D=!1,X&&(X=!1,e0(A),A=-1),H=!0;var U=b;try{e:{for(h(_),f=m(g);f!==null&&!(f.expirationTime>_&&c0());){var V=f.callback;if(typeof V=="function"){f.callback=null,b=f.priorityLevel;var s0=V(f.expirationTime<=_);if(_=E.unstable_now(),typeof s0=="function"){f.callback=s0,h(_),O=!0;break e}f===m(g)&&o(g),h(_)}else o(g);f=m(g)}if(f!==null)O=!0;else{var i=m(B);i!==null&&l0(v,i.startTime-_),O=!1}}break x}finally{f=null,b=U,H=!1}O=void 0}}finally{O?Q():S=!1}}}var Q;if(typeof j=="function")Q=function(){j(a0)};else if(typeof MessageChannel<"u"){var t0=new MessageChannel,u0=t0.port2;t0.port1.onmessage=a0,Q=function(){u0.postMessage(null)}}else Q=function(){$(a0,0)};function l0(_,O){A=$(function(){_(E.unstable_now())},O)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(_){_.callback=null},E.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<_?Math.floor(1e3/_):5},E.unstable_getCurrentPriorityLevel=function(){return b},E.unstable_next=function(_){switch(b){case 1:case 2:case 3:var O=3;break;default:O=b}var U=b;b=O;try{return _()}finally{b=U}},E.unstable_requestPaint=function(){L=!0},E.unstable_runWithPriority=function(_,O){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var U=b;b=_;try{return O()}finally{b=U}},E.unstable_scheduleCallback=function(_,O,U){var V=E.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?V+U:V):U=V,_){case 1:var s0=-1;break;case 2:s0=250;break;case 5:s0=1073741823;break;case 4:s0=1e4;break;default:s0=5e3}return s0=U+s0,_={id:p++,callback:O,priorityLevel:_,startTime:U,expirationTime:s0,sortIndex:-1},U>V?(_.sortIndex=U,r(B,_),m(g)===null&&_===m(B)&&(X?(e0(A),A=-1):X=!0,l0(v,U-V))):(_.sortIndex=s0,r(g,_),D||H||(D=!0,S||(S=!0,Q()))),_},E.unstable_shouldYield=c0,E.unstable_wrapCallback=function(_){var O=b;return function(){var U=b;b=O;try{return _.apply(this,arguments)}finally{b=U}}}})(wc)),wc}var Ni;function rE(){return Ni||(Ni=1,kc.exports=oE()),kc.exports}var _c={exports:{}},Cx={};/**
 * @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 Mi;function EE(){if(Mi)return Cx;Mi=1;var E=jc();function r(g){var B="https://react.dev/errors/"+g;if(1<arguments.length){B+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)B+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+g+"; visit "+B+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(){}var o={d:{f:m,r:function(){throw Error(r(522))},D:m,C:m,L:m,m,X:m,S:m,M:m},p:0,findDOMNode:null},y=Symbol.for("react.portal");function R(g,B,p){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:y,key:f==null?null:""+f,children:g,containerInfo:B,implementation:p}}var G=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function M(g,B){if(g==="font")return"";if(typeof B=="string")return B==="use-credentials"?B:""}return Cx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Cx.createPortal=function(g,B){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!B||B.nodeType!==1&&B.nodeType!==9&&B.nodeType!==11)throw Error(r(299));return R(g,B,null,p)},Cx.flushSync=function(g){var B=G.T,p=o.p;try{if(G.T=null,o.p=2,g)return g()}finally{G.T=B,o.p=p,o.d.f()}},Cx.preconnect=function(g,B){typeof g=="string"&&(B?(B=B.crossOrigin,B=typeof B=="string"?B==="use-credentials"?B:"":void 0):B=null,o.d.C(g,B))},Cx.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},Cx.preinit=function(g,B){if(typeof g=="string"&&B&&typeof B.as=="string"){var p=B.as,f=M(p,B.crossOrigin),b=typeof B.integrity=="string"?B.integrity:void 0,H=typeof B.fetchPriority=="string"?B.fetchPriority:void 0;p==="style"?o.d.S(g,typeof B.precedence=="string"?B.precedence:void 0,{crossOrigin:f,integrity:b,fetchPriority:H}):p==="script"&&o.d.X(g,{crossOrigin:f,integrity:b,fetchPriority:H,nonce:typeof B.nonce=="string"?B.nonce:void 0})}},Cx.preinitModule=function(g,B){if(typeof g=="string")if(typeof B=="object"&&B!==null){if(B.as==null||B.as==="script"){var p=M(B.as,B.crossOrigin);o.d.M(g,{crossOrigin:p,integrity:typeof B.integrity=="string"?B.integrity:void 0,nonce:typeof B.nonce=="string"?B.nonce:void 0})}}else B==null&&o.d.M(g)},Cx.preload=function(g,B){if(typeof g=="string"&&typeof B=="object"&&B!==null&&typeof B.as=="string"){var p=B.as,f=M(p,B.crossOrigin);o.d.L(g,p,{crossOrigin:f,integrity:typeof B.integrity=="string"?B.integrity:void 0,nonce:typeof B.nonce=="string"?B.nonce:void 0,type:typeof B.type=="string"?B.type:void 0,fetchPriority:typeof B.fetchPriority=="string"?B.fetchPriority:void 0,referrerPolicy:typeof B.referrerPolicy=="string"?B.referrerPolicy:void 0,imageSrcSet:typeof B.imageSrcSet=="string"?B.imageSrcSet:void 0,imageSizes:typeof B.imageSizes=="string"?B.imageSizes:void 0,media:typeof B.media=="string"?B.media:void 0})}},Cx.preloadModule=function(g,B){if(typeof g=="string")if(B){var p=M(B.as,B.crossOrigin);o.d.m(g,{as:typeof B.as=="string"&&B.as!=="script"?B.as:void 0,crossOrigin:p,integrity:typeof B.integrity=="string"?B.integrity:void 0})}else o.d.m(g)},Cx.requestFormReset=function(g){o.d.r(g)},Cx.unstable_batchedUpdates=function(g,B){return g(B)},Cx.useFormState=function(g,B,p){return G.H.useFormState(g,B,p)},Cx.useFormStatus=function(){return G.H.useHostTransitionStatus()},Cx.version="19.2.4",Cx}var zi;function fE(){if(zi)return _c.exports;zi=1;function E(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(r){console.error(r)}}return E(),_c.exports=EE(),_c.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 Oi;function BE(){if(Oi)return Xl;Oi=1;var E=rE(),r=jc(),m=fE();function o(x){var e="https://react.dev/errors/"+x;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+x+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function y(x){return!(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)}function R(x){var e=x,t=x;if(x.alternate)for(;e.return;)e=e.return;else{x=e;do e=x,(e.flags&4098)!==0&&(t=e.return),x=e.return;while(x)}return e.tag===3?t:null}function G(x){if(x.tag===13){var e=x.memoizedState;if(e===null&&(x=x.alternate,x!==null&&(e=x.memoizedState)),e!==null)return e.dehydrated}return null}function M(x){if(x.tag===31){var e=x.memoizedState;if(e===null&&(x=x.alternate,x!==null&&(e=x.memoizedState)),e!==null)return e.dehydrated}return null}function g(x){if(R(x)!==x)throw Error(o(188))}function B(x){var e=x.alternate;if(!e){if(e=R(x),e===null)throw Error(o(188));return e!==x?null:x}for(var t=x,l=e;;){var a=t.return;if(a===null)break;var n=a.alternate;if(n===null){if(l=a.return,l!==null){t=l;continue}break}if(a.child===n.child){for(n=a.child;n;){if(n===t)return g(a),x;if(n===l)return g(a),e;n=n.sibling}throw Error(o(188))}if(t.return!==l.return)t=a,l=n;else{for(var c=!1,u=a.child;u;){if(u===t){c=!0,t=a,l=n;break}if(u===l){c=!0,l=a,t=n;break}u=u.sibling}if(!c){for(u=n.child;u;){if(u===t){c=!0,t=n,l=a;break}if(u===l){c=!0,l=n,t=a;break}u=u.sibling}if(!c)throw Error(o(189))}}if(t.alternate!==l)throw Error(o(190))}if(t.tag!==3)throw Error(o(188));return t.stateNode.current===t?x:e}function p(x){var e=x.tag;if(e===5||e===26||e===27||e===6)return x;for(x=x.child;x!==null;){if(e=p(x),e!==null)return e;x=x.sibling}return null}var f=Object.assign,b=Symbol.for("react.element"),H=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),e0=Symbol.for("react.consumer"),j=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),c0=Symbol.for("react.memo_cache_sentinel"),a0=Symbol.iterator;function Q(x){return x===null||typeof x!="object"?null:(x=a0&&x[a0]||x["@@iterator"],typeof x=="function"?x:null)}var t0=Symbol.for("react.client.reference");function u0(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===t0?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case X:return"Fragment";case $:return"Profiler";case L:return"StrictMode";case v:return"Suspense";case S:return"SuspenseList";case I:return"Activity"}if(typeof x=="object")switch(x.$$typeof){case D:return"Portal";case j:return x.displayName||"Context";case e0:return(x._context.displayName||"Context")+".Consumer";case h:var e=x.render;return x=x.displayName,x||(x=e.displayName||e.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case A:return e=x.displayName||null,e!==null?e:u0(x.type)||"Memo";case Y:e=x._payload,x=x._init;try{return u0(x(e))}catch{}}return null}var l0=Array.isArray,_=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},V=[],s0=-1;function i(x){return{current:x}}function w(x){0>s0||(x.current=V[s0],V[s0]=null,s0--)}function P(x,e){s0++,V[s0]=x.current,x.current=e}var W=i(null),B0=i(null),r0=i(null),f0=i(null);function L0(x,e){switch(P(r0,e),P(B0,x),P(W,null),e.nodeType){case 9:case 11:x=(x=e.documentElement)&&(x=x.namespaceURI)?$s(x):0;break;default:if(x=e.tagName,e=e.namespaceURI)e=$s(e),x=Ws(e,x);else switch(x){case"svg":x=1;break;case"math":x=2;break;default:x=0}}w(W),P(W,x)}function g0(){w(W),w(B0),w(r0)}function Nx(x){x.memoizedState!==null&&P(f0,x);var e=W.current,t=Ws(e,x.type);e!==t&&(P(B0,x),P(W,t))}function Ex(x){B0.current===x&&(w(W),w(B0)),f0.current===x&&(w(f0),Hl._currentValue=U)}var ex,n0;function S0(x){if(ex===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);ex=e&&e[1]||"",n0=-1<t.stack.indexOf(`
    at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ex+x+n0}var O0=!1;function tx(x,e){if(!x||O0)return"";O0=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(q){var z=q}Reflect.construct(x,[],J)}else{try{J.call()}catch(q){z=q}x.call(J.prototype)}}else{try{throw Error()}catch(q){z=q}(J=x())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(q){if(q&&z&&typeof q.stack=="string")return[q.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=l.DetermineComponentFrameRoot(),c=n[0],u=n[1];if(c&&u){var C=c.split(`
`),N=u.split(`
`);for(a=l=0;l<C.length&&!C[l].includes("DetermineComponentFrameRoot");)l++;for(;a<N.length&&!N[a].includes("DetermineComponentFrameRoot");)a++;if(l===C.length||a===N.length)for(l=C.length-1,a=N.length-1;1<=l&&0<=a&&C[l]!==N[a];)a--;for(;1<=l&&0<=a;l--,a--)if(C[l]!==N[a]){if(l!==1||a!==1)do if(l--,a--,0>a||C[l]!==N[a]){var Z=`
`+C[l].replace(" at new "," at ");return x.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",x.displayName)),Z}while(1<=l&&0<=a);break}}}finally{O0=!1,Error.prepareStackTrace=t}return(t=x?x.displayName||x.name:"")?S0(t):""}function Xx(x,e){switch(x.tag){case 26:case 27:case 5:return S0(x.type);case 16:return S0("Lazy");case 13:return x.child!==e&&e!==null?S0("Suspense Fallback"):S0("Suspense");case 19:return S0("SuspenseList");case 0:case 15:return tx(x.type,!1);case 11:return tx(x.type.render,!1);case 1:return tx(x.type,!0);case 31:return S0("Activity");default:return""}}function dx(x){try{var e="",t=null;do e+=Xx(x,t),t=x,x=x.return;while(x);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var nx=Object.prototype.hasOwnProperty,Ge=E.unstable_scheduleCallback,Z0=E.unstable_cancelCallback,Vl=E.unstable_shouldYield,Zl=E.unstable_requestPaint,fx=E.unstable_now,Pl=E.unstable_getCurrentPriorityLevel,Kt=E.unstable_ImmediatePriority,Jt=E.unstable_UserBlockingPriority,ot=E.unstable_NormalPriority,$t=E.unstable_LowPriority,Kl=E.unstable_IdlePriority,En=E.log,fn=E.unstable_setDisableYieldValue,Xe=null,cx=null;function Px(x){if(typeof En=="function"&&fn(x),cx&&typeof cx.setStrictMode=="function")try{cx.setStrictMode(Xe,x)}catch{}}var Ax=Math.clz32?Math.clz32:h0,x0=Math.log,d0=Math.LN2;function h0(x){return x>>>=0,x===0?32:31-(x0(x)/d0|0)|0}var F0=256,j0=262144,Bx=4194304;function N0(x){var e=x&42;if(e!==0)return e;switch(x&-x){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 x&261888;case 262144:case 524288:case 1048576:case 2097152:return x&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return x&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return x}}function De(x,e,t){var l=x.pendingLanes;if(l===0)return 0;var a=0,n=x.suspendedLanes,c=x.pingedLanes;x=x.warmLanes;var u=l&134217727;return u!==0?(l=u&~n,l!==0?a=N0(l):(c&=u,c!==0?a=N0(c):t||(t=u&~x,t!==0&&(a=N0(t))))):(u=l&~n,u!==0?a=N0(u):c!==0?a=N0(c):t||(t=l&~x,t!==0&&(a=N0(t)))),a===0?0:e!==0&&e!==a&&(e&n)===0&&(n=a&-a,t=e&-e,n>=t||n===32&&(t&4194048)!==0)?e:a}function Qe(x,e){return(x.pendingLanes&~(x.suspendedLanes&~x.pingedLanes)&e)===0}function Jl(x,e){switch(x){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 Wt(){var x=Bx;return Bx<<=1,(Bx&62914560)===0&&(Bx=4194304),x}function It(x){for(var e=[],t=0;31>t;t++)e.push(x);return e}function Kx(x,e){x.pendingLanes|=e,e!==268435456&&(x.suspendedLanes=0,x.pingedLanes=0,x.warmLanes=0)}function Qi(x,e,t,l,a,n){var c=x.pendingLanes;x.pendingLanes=t,x.suspendedLanes=0,x.pingedLanes=0,x.warmLanes=0,x.expiredLanes&=t,x.entangledLanes&=t,x.errorRecoveryDisabledLanes&=t,x.shellSuspendCounter=0;var u=x.entanglements,C=x.expirationTimes,N=x.hiddenUpdates;for(t=c&~t;0<t;){var Z=31-Ax(t),J=1<<Z;u[Z]=0,C[Z]=-1;var z=N[Z];if(z!==null)for(N[Z]=null,Z=0;Z<z.length;Z++){var q=z[Z];q!==null&&(q.lane&=-536870913)}t&=~J}l!==0&&Nc(x,l,0),n!==0&&a===0&&x.tag!==0&&(x.suspendedLanes|=n&~(c&~e))}function Nc(x,e,t){x.pendingLanes|=e,x.suspendedLanes&=~e;var l=31-Ax(e);x.entangledLanes|=e,x.entanglements[l]=x.entanglements[l]|1073741824|t&261930}function Mc(x,e){var t=x.entangledLanes|=e;for(x=x.entanglements;t;){var l=31-Ax(t),a=1<<l;a&e|x[l]&e&&(x[l]|=e),t&=~a}}function zc(x,e){var t=e&-e;return t=(t&42)!==0?1:Bn(t),(t&(x.suspendedLanes|e))!==0?0:t}function Bn(x){switch(x){case 2:x=1;break;case 8:x=4;break;case 32:x=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:x=128;break;case 268435456:x=134217728;break;default:x=0}return x}function Cn(x){return x&=-x,2<x?8<x?(x&134217727)!==0?32:268435456:8:2}function Oc(){var x=O.p;return x!==0?x:(x=window.event,x===void 0?32:hi(x.type))}function Uc(x,e){var t=O.p;try{return O.p=x,e()}finally{O.p=t}}var Fe=Math.random().toString(36).slice(2),ux="__reactFiber$"+Fe,Fx="__reactProps$"+Fe,rt="__reactContainer$"+Fe,dn="__reactEvents$"+Fe,Vi="__reactListeners$"+Fe,Zi="__reactHandles$"+Fe,Rc="__reactResources$"+Fe,xl="__reactMarker$"+Fe;function An(x){delete x[ux],delete x[Fx],delete x[dn],delete x[Vi],delete x[Zi]}function Et(x){var e=x[ux];if(e)return e;for(var t=x.parentNode;t;){if(e=t[rt]||t[ux]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(x=ni(x);x!==null;){if(t=x[ux])return t;x=ni(x)}return e}x=t,t=x.parentNode}return null}function ft(x){if(x=x[ux]||x[rt]){var e=x.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return x}return null}function el(x){var e=x.tag;if(e===5||e===26||e===27||e===6)return x.stateNode;throw Error(o(33))}function Bt(x){var e=x[Rc];return e||(e=x[Rc]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function lx(x){x[xl]=!0}var Hc=new Set,Lc={};function Ve(x,e){Ct(x,e),Ct(x+"Capture",e)}function Ct(x,e){for(Lc[x]=e,x=0;x<e.length;x++)Hc.add(e[x])}var Pi=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),qc={},Yc={};function Ki(x){return nx.call(Yc,x)?!0:nx.call(qc,x)?!1:Pi.test(x)?Yc[x]=!0:(qc[x]=!0,!1)}function $l(x,e,t){if(Ki(e))if(t===null)x.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":x.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){x.removeAttribute(e);return}}x.setAttribute(e,""+t)}}function Wl(x,e,t){if(t===null)x.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":x.removeAttribute(e);return}x.setAttribute(e,""+t)}}function xe(x,e,t,l){if(l===null)x.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":x.removeAttribute(t);return}x.setAttributeNS(e,t,""+l)}}function Mx(x){switch(typeof x){case"bigint":case"boolean":case"number":case"string":case"undefined":return x;case"object":return x;default:return""}}function Gc(x){var e=x.type;return(x=x.nodeName)&&x.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ji(x,e,t){var l=Object.getOwnPropertyDescriptor(x.constructor.prototype,e);if(!x.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var a=l.get,n=l.set;return Object.defineProperty(x,e,{configurable:!0,get:function(){return a.call(this)},set:function(c){t=""+c,n.call(this,c)}}),Object.defineProperty(x,e,{enumerable:l.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){x._valueTracker=null,delete x[e]}}}}function Dn(x){if(!x._valueTracker){var e=Gc(x)?"checked":"value";x._valueTracker=Ji(x,e,""+x[e])}}function Xc(x){if(!x)return!1;var e=x._valueTracker;if(!e)return!0;var t=e.getValue(),l="";return x&&(l=Gc(x)?x.checked?"true":"false":x.value),x=l,x!==t?(e.setValue(x),!0):!1}function Il(x){if(x=x||(typeof document<"u"?document:void 0),typeof x>"u")return null;try{return x.activeElement||x.body}catch{return x.body}}var $i=/[\n"\\]/g;function zx(x){return x.replace($i,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Fn(x,e,t,l,a,n,c,u){x.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?x.type=c:x.removeAttribute("type"),e!=null?c==="number"?(e===0&&x.value===""||x.value!=e)&&(x.value=""+Mx(e)):x.value!==""+Mx(e)&&(x.value=""+Mx(e)):c!=="submit"&&c!=="reset"||x.removeAttribute("value"),e!=null?mn(x,c,Mx(e)):t!=null?mn(x,c,Mx(t)):l!=null&&x.removeAttribute("value"),a==null&&n!=null&&(x.defaultChecked=!!n),a!=null&&(x.checked=a&&typeof a!="function"&&typeof a!="symbol"),u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?x.name=""+Mx(u):x.removeAttribute("name")}function Qc(x,e,t,l,a,n,c,u){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(x.type=n),e!=null||t!=null){if(!(n!=="submit"&&n!=="reset"||e!=null)){Dn(x);return}t=t!=null?""+Mx(t):"",e=e!=null?""+Mx(e):t,u||e===x.value||(x.value=e),x.defaultValue=e}l=l??a,l=typeof l!="function"&&typeof l!="symbol"&&!!l,x.checked=u?x.checked:!!l,x.defaultChecked=!!l,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(x.name=c),Dn(x)}function mn(x,e,t){e==="number"&&Il(x.ownerDocument)===x||x.defaultValue===""+t||(x.defaultValue=""+t)}function dt(x,e,t,l){if(x=x.options,e){e={};for(var a=0;a<t.length;a++)e["$"+t[a]]=!0;for(t=0;t<x.length;t++)a=e.hasOwnProperty("$"+x[t].value),x[t].selected!==a&&(x[t].selected=a),a&&l&&(x[t].defaultSelected=!0)}else{for(t=""+Mx(t),e=null,a=0;a<x.length;a++){if(x[a].value===t){x[a].selected=!0,l&&(x[a].defaultSelected=!0);return}e!==null||x[a].disabled||(e=x[a])}e!==null&&(e.selected=!0)}}function Vc(x,e,t){if(e!=null&&(e=""+Mx(e),e!==x.value&&(x.value=e),t==null)){x.defaultValue!==e&&(x.defaultValue=e);return}x.defaultValue=t!=null?""+Mx(t):""}function Zc(x,e,t,l){if(e==null){if(l!=null){if(t!=null)throw Error(o(92));if(l0(l)){if(1<l.length)throw Error(o(93));l=l[0]}t=l}t==null&&(t=""),e=t}t=Mx(e),x.defaultValue=t,l=x.textContent,l===t&&l!==""&&l!==null&&(x.value=l),Dn(x)}function At(x,e){if(e){var t=x.firstChild;if(t&&t===x.lastChild&&t.nodeType===3){t.nodeValue=e;return}}x.textContent=e}var Wi=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pc(x,e,t){var l=e.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?l?x.setProperty(e,""):e==="float"?x.cssFloat="":x[e]="":l?x.setProperty(e,t):typeof t!="number"||t===0||Wi.has(e)?e==="float"?x.cssFloat=t:x[e]=(""+t).trim():x[e]=t+"px"}function Kc(x,e,t){if(e!=null&&typeof e!="object")throw Error(o(62));if(x=x.style,t!=null){for(var l in t)!t.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?x.setProperty(l,""):l==="float"?x.cssFloat="":x[l]="");for(var a in e)l=e[a],e.hasOwnProperty(a)&&t[a]!==l&&Pc(x,a,l)}else for(var n in e)e.hasOwnProperty(n)&&Pc(x,n,e[n])}function hn(x){if(x.indexOf("-")===-1)return!1;switch(x){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ii=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),xo=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xa(x){return xo.test(""+x)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":x}function ee(){}var vn=null;function yn(x){return x=x.target||x.srcElement||window,x.correspondingUseElement&&(x=x.correspondingUseElement),x.nodeType===3?x.parentNode:x}var Dt=null,Ft=null;function Jc(x){var e=ft(x);if(e&&(x=e.stateNode)){var t=x[Fx]||null;x:switch(x=e.stateNode,e.type){case"input":if(Fn(x,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),e=t.name,t.type==="radio"&&e!=null){for(t=x;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+zx(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var l=t[e];if(l!==x&&l.form===x.form){var a=l[Fx]||null;if(!a)throw Error(o(90));Fn(l,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<t.length;e++)l=t[e],l.form===x.form&&Xc(l)}break x;case"textarea":Vc(x,t.value,t.defaultValue);break x;case"select":e=t.value,e!=null&&dt(x,!!t.multiple,e,!1)}}}var gn=!1;function $c(x,e,t){if(gn)return x(e,t);gn=!0;try{var l=x(e);return l}finally{if(gn=!1,(Dt!==null||Ft!==null)&&(qa(),Dt&&(e=Dt,x=Ft,Ft=Dt=null,Jc(e),x)))for(e=0;e<x.length;e++)Jc(x[e])}}function tl(x,e){var t=x.stateNode;if(t===null)return null;var l=t[Fx]||null;if(l===null)return null;t=l[e];x:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(x=x.type,l=!(x==="button"||x==="input"||x==="select"||x==="textarea")),x=!l;break x;default:x=!1}if(x)return null;if(t&&typeof t!="function")throw Error(o(231,e,typeof t));return t}var te=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pn=!1;if(te)try{var ll={};Object.defineProperty(ll,"passive",{get:function(){pn=!0}}),window.addEventListener("test",ll,ll),window.removeEventListener("test",ll,ll)}catch{pn=!1}var me=null,bn=null,ea=null;function Wc(){if(ea)return ea;var x,e=bn,t=e.length,l,a="value"in me?me.value:me.textContent,n=a.length;for(x=0;x<t&&e[x]===a[x];x++);var c=t-x;for(l=1;l<=c&&e[t-l]===a[n-l];l++);return ea=a.slice(x,1<l?1-l:void 0)}function ta(x){var e=x.keyCode;return"charCode"in x?(x=x.charCode,x===0&&e===13&&(x=13)):x=e,x===10&&(x=13),32<=x||x===13?x:0}function la(){return!0}function Ic(){return!1}function mx(x){function e(t,l,a,n,c){this._reactName=t,this._targetInst=a,this.type=l,this.nativeEvent=n,this.target=c,this.currentTarget=null;for(var u in x)x.hasOwnProperty(u)&&(t=x[u],this[u]=t?t(n):n[u]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?la:Ic,this.isPropagationStopped=Ic,this}return f(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=la)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=la)},persist:function(){},isPersistent:la}),e}var Ze={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(x){return x.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},aa=mx(Ze),al=f({},Ze,{view:0,detail:0}),eo=mx(al),Sn,kn,nl,na=f({},al,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(x){return x.relatedTarget===void 0?x.fromElement===x.srcElement?x.toElement:x.fromElement:x.relatedTarget},movementX:function(x){return"movementX"in x?x.movementX:(x!==nl&&(nl&&x.type==="mousemove"?(Sn=x.screenX-nl.screenX,kn=x.screenY-nl.screenY):kn=Sn=0,nl=x),Sn)},movementY:function(x){return"movementY"in x?x.movementY:kn}}),x8=mx(na),to=f({},na,{dataTransfer:0}),lo=mx(to),ao=f({},al,{relatedTarget:0}),wn=mx(ao),no=f({},Ze,{animationName:0,elapsedTime:0,pseudoElement:0}),co=mx(no),uo=f({},Ze,{clipboardData:function(x){return"clipboardData"in x?x.clipboardData:window.clipboardData}}),so=mx(uo),io=f({},Ze,{data:0}),e8=mx(io),oo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ro={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Eo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fo(x){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(x):(x=Eo[x])?!!e[x]:!1}function _n(){return fo}var Bo=f({},al,{key:function(x){if(x.key){var e=oo[x.key]||x.key;if(e!=="Unidentified")return e}return x.type==="keypress"?(x=ta(x),x===13?"Enter":String.fromCharCode(x)):x.type==="keydown"||x.type==="keyup"?ro[x.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(x){return x.type==="keypress"?ta(x):0},keyCode:function(x){return x.type==="keydown"||x.type==="keyup"?x.keyCode:0},which:function(x){return x.type==="keypress"?ta(x):x.type==="keydown"||x.type==="keyup"?x.keyCode:0}}),Co=mx(Bo),Ao=f({},na,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),t8=mx(Ao),Do=f({},al,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n}),Fo=mx(Do),mo=f({},Ze,{propertyName:0,elapsedTime:0,pseudoElement:0}),ho=mx(mo),vo=f({},na,{deltaX:function(x){return"deltaX"in x?x.deltaX:"wheelDeltaX"in x?-x.wheelDeltaX:0},deltaY:function(x){return"deltaY"in x?x.deltaY:"wheelDeltaY"in x?-x.wheelDeltaY:"wheelDelta"in x?-x.wheelDelta:0},deltaZ:0,deltaMode:0}),yo=mx(vo),go=f({},Ze,{newState:0,oldState:0}),po=mx(go),bo=[9,13,27,32],Tn=te&&"CompositionEvent"in window,cl=null;te&&"documentMode"in document&&(cl=document.documentMode);var So=te&&"TextEvent"in window&&!cl,l8=te&&(!Tn||cl&&8<cl&&11>=cl),a8=" ",n8=!1;function c8(x,e){switch(x){case"keyup":return bo.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u8(x){return x=x.detail,typeof x=="object"&&"data"in x?x.data:null}var mt=!1;function ko(x,e){switch(x){case"compositionend":return u8(e);case"keypress":return e.which!==32?null:(n8=!0,a8);case"textInput":return x=e.data,x===a8&&n8?null:x;default:return null}}function wo(x,e){if(mt)return x==="compositionend"||!Tn&&c8(x,e)?(x=Wc(),ea=bn=me=null,mt=!1,x):null;switch(x){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return l8&&e.locale!=="ko"?null:e.data;default:return null}}var _o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function s8(x){var e=x&&x.nodeName&&x.nodeName.toLowerCase();return e==="input"?!!_o[x.type]:e==="textarea"}function i8(x,e,t,l){Dt?Ft?Ft.push(l):Ft=[l]:Dt=l,e=Pa(e,"onChange"),0<e.length&&(t=new aa("onChange","change",null,t,l),x.push({event:t,listeners:e}))}var ul=null,sl=null;function To(x){Qs(x,0)}function ca(x){var e=el(x);if(Xc(e))return x}function o8(x,e){if(x==="change")return e}var r8=!1;if(te){var jn;if(te){var Nn="oninput"in document;if(!Nn){var E8=document.createElement("div");E8.setAttribute("oninput","return;"),Nn=typeof E8.oninput=="function"}jn=Nn}else jn=!1;r8=jn&&(!document.documentMode||9<document.documentMode)}function f8(){ul&&(ul.detachEvent("onpropertychange",B8),sl=ul=null)}function B8(x){if(x.propertyName==="value"&&ca(sl)){var e=[];i8(e,sl,x,yn(x)),$c(To,e)}}function jo(x,e,t){x==="focusin"?(f8(),ul=e,sl=t,ul.attachEvent("onpropertychange",B8)):x==="focusout"&&f8()}function No(x){if(x==="selectionchange"||x==="keyup"||x==="keydown")return ca(sl)}function Mo(x,e){if(x==="click")return ca(e)}function zo(x,e){if(x==="input"||x==="change")return ca(e)}function Oo(x,e){return x===e&&(x!==0||1/x===1/e)||x!==x&&e!==e}var bx=typeof Object.is=="function"?Object.is:Oo;function il(x,e){if(bx(x,e))return!0;if(typeof x!="object"||x===null||typeof e!="object"||e===null)return!1;var t=Object.keys(x),l=Object.keys(e);if(t.length!==l.length)return!1;for(l=0;l<t.length;l++){var a=t[l];if(!nx.call(e,a)||!bx(x[a],e[a]))return!1}return!0}function C8(x){for(;x&&x.firstChild;)x=x.firstChild;return x}function d8(x,e){var t=C8(x);x=0;for(var l;t;){if(t.nodeType===3){if(l=x+t.textContent.length,x<=e&&l>=e)return{node:t,offset:e-x};x=l}x:{for(;t;){if(t.nextSibling){t=t.nextSibling;break x}t=t.parentNode}t=void 0}t=C8(t)}}function A8(x,e){return x&&e?x===e?!0:x&&x.nodeType===3?!1:e&&e.nodeType===3?A8(x,e.parentNode):"contains"in x?x.contains(e):x.compareDocumentPosition?!!(x.compareDocumentPosition(e)&16):!1:!1}function D8(x){x=x!=null&&x.ownerDocument!=null&&x.ownerDocument.defaultView!=null?x.ownerDocument.defaultView:window;for(var e=Il(x.document);e instanceof x.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)x=e.contentWindow;else break;e=Il(x.document)}return e}function Mn(x){var e=x&&x.nodeName&&x.nodeName.toLowerCase();return e&&(e==="input"&&(x.type==="text"||x.type==="search"||x.type==="tel"||x.type==="url"||x.type==="password")||e==="textarea"||x.contentEditable==="true")}var Uo=te&&"documentMode"in document&&11>=document.documentMode,ht=null,zn=null,ol=null,On=!1;function F8(x,e,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;On||ht==null||ht!==Il(l)||(l=ht,"selectionStart"in l&&Mn(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ol&&il(ol,l)||(ol=l,l=Pa(zn,"onSelect"),0<l.length&&(e=new aa("onSelect","select",null,e,t),x.push({event:e,listeners:l}),e.target=ht)))}function Pe(x,e){var t={};return t[x.toLowerCase()]=e.toLowerCase(),t["Webkit"+x]="webkit"+e,t["Moz"+x]="moz"+e,t}var vt={animationend:Pe("Animation","AnimationEnd"),animationiteration:Pe("Animation","AnimationIteration"),animationstart:Pe("Animation","AnimationStart"),transitionrun:Pe("Transition","TransitionRun"),transitionstart:Pe("Transition","TransitionStart"),transitioncancel:Pe("Transition","TransitionCancel"),transitionend:Pe("Transition","TransitionEnd")},Un={},m8={};te&&(m8=document.createElement("div").style,"AnimationEvent"in window||(delete vt.animationend.animation,delete vt.animationiteration.animation,delete vt.animationstart.animation),"TransitionEvent"in window||delete vt.transitionend.transition);function Ke(x){if(Un[x])return Un[x];if(!vt[x])return x;var e=vt[x],t;for(t in e)if(e.hasOwnProperty(t)&&t in m8)return Un[x]=e[t];return x}var h8=Ke("animationend"),v8=Ke("animationiteration"),y8=Ke("animationstart"),Ro=Ke("transitionrun"),Ho=Ke("transitionstart"),Lo=Ke("transitioncancel"),g8=Ke("transitionend"),p8=new Map,Rn="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Rn.push("scrollEnd");function Qx(x,e){p8.set(x,e),Ve(e,[x])}var ua=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Ox=[],yt=0,Hn=0;function sa(){for(var x=yt,e=Hn=yt=0;e<x;){var t=Ox[e];Ox[e++]=null;var l=Ox[e];Ox[e++]=null;var a=Ox[e];Ox[e++]=null;var n=Ox[e];if(Ox[e++]=null,l!==null&&a!==null){var c=l.pending;c===null?a.next=a:(a.next=c.next,c.next=a),l.pending=a}n!==0&&b8(t,a,n)}}function ia(x,e,t,l){Ox[yt++]=x,Ox[yt++]=e,Ox[yt++]=t,Ox[yt++]=l,Hn|=l,x.lanes|=l,x=x.alternate,x!==null&&(x.lanes|=l)}function Ln(x,e,t,l){return ia(x,e,t,l),oa(x)}function Je(x,e){return ia(x,null,null,e),oa(x)}function b8(x,e,t){x.lanes|=t;var l=x.alternate;l!==null&&(l.lanes|=t);for(var a=!1,n=x.return;n!==null;)n.childLanes|=t,l=n.alternate,l!==null&&(l.childLanes|=t),n.tag===22&&(x=n.stateNode,x===null||x._visibility&1||(a=!0)),x=n,n=n.return;return x.tag===3?(n=x.stateNode,a&&e!==null&&(a=31-Ax(t),x=n.hiddenUpdates,l=x[a],l===null?x[a]=[e]:l.push(e),e.lane=t|536870912),n):null}function oa(x){if(50<jl)throw jl=0,K9=null,Error(o(185));for(var e=x.return;e!==null;)x=e,e=x.return;return x.tag===3?x.stateNode:null}var gt={};function qo(x,e,t,l){this.tag=x,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Sx(x,e,t,l){return new qo(x,e,t,l)}function qn(x){return x=x.prototype,!(!x||!x.isReactComponent)}function le(x,e){var t=x.alternate;return t===null?(t=Sx(x.tag,e,x.key,x.mode),t.elementType=x.elementType,t.type=x.type,t.stateNode=x.stateNode,t.alternate=x,x.alternate=t):(t.pendingProps=e,t.type=x.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=x.flags&65011712,t.childLanes=x.childLanes,t.lanes=x.lanes,t.child=x.child,t.memoizedProps=x.memoizedProps,t.memoizedState=x.memoizedState,t.updateQueue=x.updateQueue,e=x.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=x.sibling,t.index=x.index,t.ref=x.ref,t.refCleanup=x.refCleanup,t}function S8(x,e){x.flags&=65011714;var t=x.alternate;return t===null?(x.childLanes=0,x.lanes=e,x.child=null,x.subtreeFlags=0,x.memoizedProps=null,x.memoizedState=null,x.updateQueue=null,x.dependencies=null,x.stateNode=null):(x.childLanes=t.childLanes,x.lanes=t.lanes,x.child=t.child,x.subtreeFlags=0,x.deletions=null,x.memoizedProps=t.memoizedProps,x.memoizedState=t.memoizedState,x.updateQueue=t.updateQueue,x.type=t.type,e=t.dependencies,x.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),x}function ra(x,e,t,l,a,n){var c=0;if(l=x,typeof x=="function")qn(x)&&(c=1);else if(typeof x=="string")c=Vr(x,t,W.current)?26:x==="html"||x==="head"||x==="body"?27:5;else x:switch(x){case I:return x=Sx(31,t,e,a),x.elementType=I,x.lanes=n,x;case X:return $e(t.children,a,n,e);case L:c=8,a|=24;break;case $:return x=Sx(12,t,e,a|2),x.elementType=$,x.lanes=n,x;case v:return x=Sx(13,t,e,a),x.elementType=v,x.lanes=n,x;case S:return x=Sx(19,t,e,a),x.elementType=S,x.lanes=n,x;default:if(typeof x=="object"&&x!==null)switch(x.$$typeof){case j:c=10;break x;case e0:c=9;break x;case h:c=11;break x;case A:c=14;break x;case Y:c=16,l=null;break x}c=29,t=Error(o(130,x===null?"null":typeof x,"")),l=null}return e=Sx(c,t,e,a),e.elementType=x,e.type=l,e.lanes=n,e}function $e(x,e,t,l){return x=Sx(7,x,l,e),x.lanes=t,x}function Yn(x,e,t){return x=Sx(6,x,null,e),x.lanes=t,x}function k8(x){var e=Sx(18,null,null,0);return e.stateNode=x,e}function Gn(x,e,t){return e=Sx(4,x.children!==null?x.children:[],x.key,e),e.lanes=t,e.stateNode={containerInfo:x.containerInfo,pendingChildren:null,implementation:x.implementation},e}var w8=new WeakMap;function Ux(x,e){if(typeof x=="object"&&x!==null){var t=w8.get(x);return t!==void 0?t:(e={value:x,source:e,stack:dx(e)},w8.set(x,e),e)}return{value:x,source:e,stack:dx(e)}}var pt=[],bt=0,Ea=null,rl=0,Rx=[],Hx=0,he=null,Jx=1,$x="";function ae(x,e){pt[bt++]=rl,pt[bt++]=Ea,Ea=x,rl=e}function _8(x,e,t){Rx[Hx++]=Jx,Rx[Hx++]=$x,Rx[Hx++]=he,he=x;var l=Jx;x=$x;var a=32-Ax(l)-1;l&=~(1<<a),t+=1;var n=32-Ax(e)+a;if(30<n){var c=a-a%5;n=(l&(1<<c)-1).toString(32),l>>=c,a-=c,Jx=1<<32-Ax(e)+a|t<<a|l,$x=n+x}else Jx=1<<n|t<<a|l,$x=x}function Xn(x){x.return!==null&&(ae(x,1),_8(x,1,0))}function Qn(x){for(;x===Ea;)Ea=pt[--bt],pt[bt]=null,rl=pt[--bt],pt[bt]=null;for(;x===he;)he=Rx[--Hx],Rx[Hx]=null,$x=Rx[--Hx],Rx[Hx]=null,Jx=Rx[--Hx],Rx[Hx]=null}function T8(x,e){Rx[Hx++]=Jx,Rx[Hx++]=$x,Rx[Hx++]=he,Jx=e.id,$x=e.overflow,he=x}var sx=null,Y0=null,k0=!1,ve=null,Lx=!1,Vn=Error(o(519));function ye(x){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw El(Ux(e,x)),Vn}function j8(x){var e=x.stateNode,t=x.type,l=x.memoizedProps;switch(e[ux]=x,e[Fx]=l,t){case"dialog":y0("cancel",e),y0("close",e);break;case"iframe":case"object":case"embed":y0("load",e);break;case"video":case"audio":for(t=0;t<Ml.length;t++)y0(Ml[t],e);break;case"source":y0("error",e);break;case"img":case"image":case"link":y0("error",e),y0("load",e);break;case"details":y0("toggle",e);break;case"input":y0("invalid",e),Qc(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":y0("invalid",e);break;case"textarea":y0("invalid",e),Zc(e,l.value,l.defaultValue,l.children)}t=l.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||e.textContent===""+t||l.suppressHydrationWarning===!0||Ks(e.textContent,t)?(l.popover!=null&&(y0("beforetoggle",e),y0("toggle",e)),l.onScroll!=null&&y0("scroll",e),l.onScrollEnd!=null&&y0("scrollend",e),l.onClick!=null&&(e.onclick=ee),e=!0):e=!1,e||ye(x,!0)}function N8(x){for(sx=x.return;sx;)switch(sx.tag){case 5:case 31:case 13:Lx=!1;return;case 27:case 3:Lx=!0;return;default:sx=sx.return}}function St(x){if(x!==sx)return!1;if(!k0)return N8(x),k0=!0,!1;var e=x.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=x.type,t=!(t!=="form"&&t!=="button")||oc(x.type,x.memoizedProps)),t=!t),t&&Y0&&ye(x),N8(x),e===13){if(x=x.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(317));Y0=ai(x)}else if(e===31){if(x=x.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(317));Y0=ai(x)}else e===27?(e=Y0,Ue(x.type)?(x=Cc,Cc=null,Y0=x):Y0=e):Y0=sx?Yx(x.stateNode.nextSibling):null;return!0}function We(){Y0=sx=null,k0=!1}function Zn(){var x=ve;return x!==null&&(gx===null?gx=x:gx.push.apply(gx,x),ve=null),x}function El(x){ve===null?ve=[x]:ve.push(x)}var Pn=i(null),Ie=null,ne=null;function ge(x,e,t){P(Pn,e._currentValue),e._currentValue=t}function ce(x){x._currentValue=Pn.current,w(Pn)}function Kn(x,e,t){for(;x!==null;){var l=x.alternate;if((x.childLanes&e)!==e?(x.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),x===t)break;x=x.return}}function Jn(x,e,t,l){var a=x.child;for(a!==null&&(a.return=x);a!==null;){var n=a.dependencies;if(n!==null){var c=a.child;n=n.firstContext;x:for(;n!==null;){var u=n;n=a;for(var C=0;C<e.length;C++)if(u.context===e[C]){n.lanes|=t,u=n.alternate,u!==null&&(u.lanes|=t),Kn(n.return,t,x),l||(c=null);break x}n=u.next}}else if(a.tag===18){if(c=a.return,c===null)throw Error(o(341));c.lanes|=t,n=c.alternate,n!==null&&(n.lanes|=t),Kn(c,t,x),c=null}else c=a.child;if(c!==null)c.return=a;else for(c=a;c!==null;){if(c===x){c=null;break}if(a=c.sibling,a!==null){a.return=c.return,c=a;break}c=c.return}a=c}}function kt(x,e,t,l){x=null;for(var a=e,n=!1;a!==null;){if(!n){if((a.flags&524288)!==0)n=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var c=a.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var u=a.type;bx(a.pendingProps.value,c.value)||(x!==null?x.push(u):x=[u])}}else if(a===f0.current){if(c=a.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(x!==null?x.push(Hl):x=[Hl])}a=a.return}x!==null&&Jn(e,x,t,l),e.flags|=262144}function fa(x){for(x=x.firstContext;x!==null;){if(!bx(x.context._currentValue,x.memoizedValue))return!0;x=x.next}return!1}function xt(x){Ie=x,ne=null,x=x.dependencies,x!==null&&(x.firstContext=null)}function ix(x){return M8(Ie,x)}function Ba(x,e){return Ie===null&&xt(x),M8(x,e)}function M8(x,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},ne===null){if(x===null)throw Error(o(308));ne=e,x.dependencies={lanes:0,firstContext:e},x.flags|=524288}else ne=ne.next=e;return t}var Yo=typeof AbortController<"u"?AbortController:function(){var x=[],e=this.signal={aborted:!1,addEventListener:function(t,l){x.push(l)}};this.abort=function(){e.aborted=!0,x.forEach(function(t){return t()})}},Go=E.unstable_scheduleCallback,Xo=E.unstable_NormalPriority,J0={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $n(){return{controller:new Yo,data:new Map,refCount:0}}function fl(x){x.refCount--,x.refCount===0&&Go(Xo,function(){x.controller.abort()})}var Bl=null,Wn=0,wt=0,_t=null;function Qo(x,e){if(Bl===null){var t=Bl=[];Wn=0,wt=ec(),_t={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Wn++,e.then(z8,z8),e}function z8(){if(--Wn===0&&Bl!==null){_t!==null&&(_t.status="fulfilled");var x=Bl;Bl=null,wt=0,_t=null;for(var e=0;e<x.length;e++)(0,x[e])()}}function Vo(x,e){var t=[],l={status:"pending",value:null,reason:null,then:function(a){t.push(a)}};return x.then(function(){l.status="fulfilled",l.value=e;for(var a=0;a<t.length;a++)(0,t[a])(e)},function(a){for(l.status="rejected",l.reason=a,a=0;a<t.length;a++)(0,t[a])(void 0)}),l}var O8=_.S;_.S=function(x,e){Fs=fx(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Qo(x,e),O8!==null&&O8(x,e)};var et=i(null);function In(){var x=et.current;return x!==null?x:q0.pooledCache}function Ca(x,e){e===null?P(et,et.current):P(et,e.pool)}function U8(){var x=In();return x===null?null:{parent:J0._currentValue,pool:x}}var Tt=Error(o(460)),x9=Error(o(474)),da=Error(o(542)),Aa={then:function(){}};function R8(x){return x=x.status,x==="fulfilled"||x==="rejected"}function H8(x,e,t){switch(t=x[t],t===void 0?x.push(e):t!==e&&(e.then(ee,ee),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw x=e.reason,q8(x),x;default:if(typeof e.status=="string")e.then(ee,ee);else{if(x=q0,x!==null&&100<x.shellSuspendCounter)throw Error(o(482));x=e,x.status="pending",x.then(function(l){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=l}},function(l){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw x=e.reason,q8(x),x}throw lt=e,Tt}}function tt(x){try{var e=x._init;return e(x._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(lt=t,Tt):t}}var lt=null;function L8(){if(lt===null)throw Error(o(459));var x=lt;return lt=null,x}function q8(x){if(x===Tt||x===da)throw Error(o(483))}var jt=null,Cl=0;function Da(x){var e=Cl;return Cl+=1,jt===null&&(jt=[]),H8(jt,x,e)}function dl(x,e){e=e.props.ref,x.ref=e!==void 0?e:null}function Fa(x,e){throw e.$$typeof===b?Error(o(525)):(x=Object.prototype.toString.call(e),Error(o(31,x==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":x)))}function Y8(x){function e(k,F){if(x){var T=k.deletions;T===null?(k.deletions=[F],k.flags|=16):T.push(F)}}function t(k,F){if(!x)return null;for(;F!==null;)e(k,F),F=F.sibling;return null}function l(k){for(var F=new Map;k!==null;)k.key!==null?F.set(k.key,k):F.set(k.index,k),k=k.sibling;return F}function a(k,F){return k=le(k,F),k.index=0,k.sibling=null,k}function n(k,F,T){return k.index=T,x?(T=k.alternate,T!==null?(T=T.index,T<F?(k.flags|=67108866,F):T):(k.flags|=67108866,F)):(k.flags|=1048576,F)}function c(k){return x&&k.alternate===null&&(k.flags|=67108866),k}function u(k,F,T,K){return F===null||F.tag!==6?(F=Yn(T,k.mode,K),F.return=k,F):(F=a(F,T),F.return=k,F)}function C(k,F,T,K){var E0=T.type;return E0===X?Z(k,F,T.props.children,K,T.key):F!==null&&(F.elementType===E0||typeof E0=="object"&&E0!==null&&E0.$$typeof===Y&&tt(E0)===F.type)?(F=a(F,T.props),dl(F,T),F.return=k,F):(F=ra(T.type,T.key,T.props,null,k.mode,K),dl(F,T),F.return=k,F)}function N(k,F,T,K){return F===null||F.tag!==4||F.stateNode.containerInfo!==T.containerInfo||F.stateNode.implementation!==T.implementation?(F=Gn(T,k.mode,K),F.return=k,F):(F=a(F,T.children||[]),F.return=k,F)}function Z(k,F,T,K,E0){return F===null||F.tag!==7?(F=$e(T,k.mode,K,E0),F.return=k,F):(F=a(F,T),F.return=k,F)}function J(k,F,T){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return F=Yn(""+F,k.mode,T),F.return=k,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case H:return T=ra(F.type,F.key,F.props,null,k.mode,T),dl(T,F),T.return=k,T;case D:return F=Gn(F,k.mode,T),F.return=k,F;case Y:return F=tt(F),J(k,F,T)}if(l0(F)||Q(F))return F=$e(F,k.mode,T,null),F.return=k,F;if(typeof F.then=="function")return J(k,Da(F),T);if(F.$$typeof===j)return J(k,Ba(k,F),T);Fa(k,F)}return null}function z(k,F,T,K){var E0=F!==null?F.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return E0!==null?null:u(k,F,""+T,K);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case H:return T.key===E0?C(k,F,T,K):null;case D:return T.key===E0?N(k,F,T,K):null;case Y:return T=tt(T),z(k,F,T,K)}if(l0(T)||Q(T))return E0!==null?null:Z(k,F,T,K,null);if(typeof T.then=="function")return z(k,F,Da(T),K);if(T.$$typeof===j)return z(k,F,Ba(k,T),K);Fa(k,T)}return null}function q(k,F,T,K,E0){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return k=k.get(T)||null,u(F,k,""+K,E0);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case H:return k=k.get(K.key===null?T:K.key)||null,C(F,k,K,E0);case D:return k=k.get(K.key===null?T:K.key)||null,N(F,k,K,E0);case Y:return K=tt(K),q(k,F,T,K,E0)}if(l0(K)||Q(K))return k=k.get(T)||null,Z(F,k,K,E0,null);if(typeof K.then=="function")return q(k,F,T,Da(K),E0);if(K.$$typeof===j)return q(k,F,T,Ba(F,K),E0);Fa(F,K)}return null}function i0(k,F,T,K){for(var E0=null,w0=null,o0=F,m0=F=0,b0=null;o0!==null&&m0<T.length;m0++){o0.index>m0?(b0=o0,o0=null):b0=o0.sibling;var _0=z(k,o0,T[m0],K);if(_0===null){o0===null&&(o0=b0);break}x&&o0&&_0.alternate===null&&e(k,o0),F=n(_0,F,m0),w0===null?E0=_0:w0.sibling=_0,w0=_0,o0=b0}if(m0===T.length)return t(k,o0),k0&&ae(k,m0),E0;if(o0===null){for(;m0<T.length;m0++)o0=J(k,T[m0],K),o0!==null&&(F=n(o0,F,m0),w0===null?E0=o0:w0.sibling=o0,w0=o0);return k0&&ae(k,m0),E0}for(o0=l(o0);m0<T.length;m0++)b0=q(o0,k,m0,T[m0],K),b0!==null&&(x&&b0.alternate!==null&&o0.delete(b0.key===null?m0:b0.key),F=n(b0,F,m0),w0===null?E0=b0:w0.sibling=b0,w0=b0);return x&&o0.forEach(function(Ye){return e(k,Ye)}),k0&&ae(k,m0),E0}function C0(k,F,T,K){if(T==null)throw Error(o(151));for(var E0=null,w0=null,o0=F,m0=F=0,b0=null,_0=T.next();o0!==null&&!_0.done;m0++,_0=T.next()){o0.index>m0?(b0=o0,o0=null):b0=o0.sibling;var Ye=z(k,o0,_0.value,K);if(Ye===null){o0===null&&(o0=b0);break}x&&o0&&Ye.alternate===null&&e(k,o0),F=n(Ye,F,m0),w0===null?E0=Ye:w0.sibling=Ye,w0=Ye,o0=b0}if(_0.done)return t(k,o0),k0&&ae(k,m0),E0;if(o0===null){for(;!_0.done;m0++,_0=T.next())_0=J(k,_0.value,K),_0!==null&&(F=n(_0,F,m0),w0===null?E0=_0:w0.sibling=_0,w0=_0);return k0&&ae(k,m0),E0}for(o0=l(o0);!_0.done;m0++,_0=T.next())_0=q(o0,k,m0,_0.value,K),_0!==null&&(x&&_0.alternate!==null&&o0.delete(_0.key===null?m0:_0.key),F=n(_0,F,m0),w0===null?E0=_0:w0.sibling=_0,w0=_0);return x&&o0.forEach(function(lE){return e(k,lE)}),k0&&ae(k,m0),E0}function H0(k,F,T,K){if(typeof T=="object"&&T!==null&&T.type===X&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case H:x:{for(var E0=T.key;F!==null;){if(F.key===E0){if(E0=T.type,E0===X){if(F.tag===7){t(k,F.sibling),K=a(F,T.props.children),K.return=k,k=K;break x}}else if(F.elementType===E0||typeof E0=="object"&&E0!==null&&E0.$$typeof===Y&&tt(E0)===F.type){t(k,F.sibling),K=a(F,T.props),dl(K,T),K.return=k,k=K;break x}t(k,F);break}else e(k,F);F=F.sibling}T.type===X?(K=$e(T.props.children,k.mode,K,T.key),K.return=k,k=K):(K=ra(T.type,T.key,T.props,null,k.mode,K),dl(K,T),K.return=k,k=K)}return c(k);case D:x:{for(E0=T.key;F!==null;){if(F.key===E0)if(F.tag===4&&F.stateNode.containerInfo===T.containerInfo&&F.stateNode.implementation===T.implementation){t(k,F.sibling),K=a(F,T.children||[]),K.return=k,k=K;break x}else{t(k,F);break}else e(k,F);F=F.sibling}K=Gn(T,k.mode,K),K.return=k,k=K}return c(k);case Y:return T=tt(T),H0(k,F,T,K)}if(l0(T))return i0(k,F,T,K);if(Q(T)){if(E0=Q(T),typeof E0!="function")throw Error(o(150));return T=E0.call(T),C0(k,F,T,K)}if(typeof T.then=="function")return H0(k,F,Da(T),K);if(T.$$typeof===j)return H0(k,F,Ba(k,T),K);Fa(k,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,F!==null&&F.tag===6?(t(k,F.sibling),K=a(F,T),K.return=k,k=K):(t(k,F),K=Yn(T,k.mode,K),K.return=k,k=K),c(k)):t(k,F)}return function(k,F,T,K){try{Cl=0;var E0=H0(k,F,T,K);return jt=null,E0}catch(o0){if(o0===Tt||o0===da)throw o0;var w0=Sx(29,o0,null,k.mode);return w0.lanes=K,w0.return=k,w0}finally{}}}var at=Y8(!0),G8=Y8(!1),pe=!1;function e9(x){x.updateQueue={baseState:x.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function t9(x,e){x=x.updateQueue,e.updateQueue===x&&(e.updateQueue={baseState:x.baseState,firstBaseUpdate:x.firstBaseUpdate,lastBaseUpdate:x.lastBaseUpdate,shared:x.shared,callbacks:null})}function be(x){return{lane:x,tag:0,payload:null,callback:null,next:null}}function Se(x,e,t){var l=x.updateQueue;if(l===null)return null;if(l=l.shared,(T0&2)!==0){var a=l.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),l.pending=e,e=oa(x),b8(x,null,t),e}return ia(x,l,e,t),oa(x)}function Al(x,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var l=e.lanes;l&=x.pendingLanes,t|=l,e.lanes=t,Mc(x,t)}}function l9(x,e){var t=x.updateQueue,l=x.alternate;if(l!==null&&(l=l.updateQueue,t===l)){var a=null,n=null;if(t=t.firstBaseUpdate,t!==null){do{var c={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};n===null?a=n=c:n=n.next=c,t=t.next}while(t!==null);n===null?a=n=e:n=n.next=e}else a=n=e;t={baseState:l.baseState,firstBaseUpdate:a,lastBaseUpdate:n,shared:l.shared,callbacks:l.callbacks},x.updateQueue=t;return}x=t.lastBaseUpdate,x===null?t.firstBaseUpdate=e:x.next=e,t.lastBaseUpdate=e}var a9=!1;function Dl(){if(a9){var x=_t;if(x!==null)throw x}}function Fl(x,e,t,l){a9=!1;var a=x.updateQueue;pe=!1;var n=a.firstBaseUpdate,c=a.lastBaseUpdate,u=a.shared.pending;if(u!==null){a.shared.pending=null;var C=u,N=C.next;C.next=null,c===null?n=N:c.next=N,c=C;var Z=x.alternate;Z!==null&&(Z=Z.updateQueue,u=Z.lastBaseUpdate,u!==c&&(u===null?Z.firstBaseUpdate=N:u.next=N,Z.lastBaseUpdate=C))}if(n!==null){var J=a.baseState;c=0,Z=N=C=null,u=n;do{var z=u.lane&-536870913,q=z!==u.lane;if(q?(p0&z)===z:(l&z)===z){z!==0&&z===wt&&(a9=!0),Z!==null&&(Z=Z.next={lane:0,tag:u.tag,payload:u.payload,callback:null,next:null});x:{var i0=x,C0=u;z=e;var H0=t;switch(C0.tag){case 1:if(i0=C0.payload,typeof i0=="function"){J=i0.call(H0,J,z);break x}J=i0;break x;case 3:i0.flags=i0.flags&-65537|128;case 0:if(i0=C0.payload,z=typeof i0=="function"?i0.call(H0,J,z):i0,z==null)break x;J=f({},J,z);break x;case 2:pe=!0}}z=u.callback,z!==null&&(x.flags|=64,q&&(x.flags|=8192),q=a.callbacks,q===null?a.callbacks=[z]:q.push(z))}else q={lane:z,tag:u.tag,payload:u.payload,callback:u.callback,next:null},Z===null?(N=Z=q,C=J):Z=Z.next=q,c|=z;if(u=u.next,u===null){if(u=a.shared.pending,u===null)break;q=u,u=q.next,q.next=null,a.lastBaseUpdate=q,a.shared.pending=null}}while(!0);Z===null&&(C=J),a.baseState=C,a.firstBaseUpdate=N,a.lastBaseUpdate=Z,n===null&&(a.shared.lanes=0),je|=c,x.lanes=c,x.memoizedState=J}}function X8(x,e){if(typeof x!="function")throw Error(o(191,x));x.call(e)}function Q8(x,e){var t=x.callbacks;if(t!==null)for(x.callbacks=null,x=0;x<t.length;x++)X8(t[x],e)}var Nt=i(null),ma=i(0);function V8(x,e){x=Ce,P(ma,x),P(Nt,e),Ce=x|e.baseLanes}function n9(){P(ma,Ce),P(Nt,Nt.current)}function c9(){Ce=ma.current,w(Nt),w(ma)}var kx=i(null),qx=null;function ke(x){var e=x.alternate;P(P0,P0.current&1),P(kx,x),qx===null&&(e===null||Nt.current!==null||e.memoizedState!==null)&&(qx=x)}function u9(x){P(P0,P0.current),P(kx,x),qx===null&&(qx=x)}function Z8(x){x.tag===22?(P(P0,P0.current),P(kx,x),qx===null&&(qx=x)):we()}function we(){P(P0,P0.current),P(kx,kx.current)}function wx(x){w(kx),qx===x&&(qx=null),w(P0)}var P0=i(0);function ha(x){for(var e=x;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||fc(t)||Bc(t)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===x)break;for(;e.sibling===null;){if(e.return===null||e.return===x)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ue=0,D0=null,U0=null,$0=null,va=!1,Mt=!1,nt=!1,ya=0,ml=0,zt=null,Zo=0;function Q0(){throw Error(o(321))}function s9(x,e){if(e===null)return!1;for(var t=0;t<e.length&&t<x.length;t++)if(!bx(x[t],e[t]))return!1;return!0}function i9(x,e,t,l,a,n){return ue=n,D0=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,_.H=x===null||x.memoizedState===null?_u:g9,nt=!1,n=t(l,a),nt=!1,Mt&&(n=K8(e,t,l,a)),P8(x),n}function P8(x){_.H=yl;var e=U0!==null&&U0.next!==null;if(ue=0,$0=U0=D0=null,va=!1,ml=0,zt=null,e)throw Error(o(300));x===null||W0||(x=x.dependencies,x!==null&&fa(x)&&(W0=!0))}function K8(x,e,t,l){D0=x;var a=0;do{if(Mt&&(zt=null),ml=0,Mt=!1,25<=a)throw Error(o(301));if(a+=1,$0=U0=null,x.updateQueue!=null){var n=x.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}_.H=Tu,n=e(t,l)}while(Mt);return n}function Po(){var x=_.H,e=x.useState()[0];return e=typeof e.then=="function"?hl(e):e,x=x.useState()[0],(U0!==null?U0.memoizedState:null)!==x&&(D0.flags|=1024),e}function o9(){var x=ya!==0;return ya=0,x}function r9(x,e,t){e.updateQueue=x.updateQueue,e.flags&=-2053,x.lanes&=~t}function E9(x){if(va){for(x=x.memoizedState;x!==null;){var e=x.queue;e!==null&&(e.pending=null),x=x.next}va=!1}ue=0,$0=U0=D0=null,Mt=!1,ml=ya=0,zt=null}function Dx(){var x={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $0===null?D0.memoizedState=$0=x:$0=$0.next=x,$0}function K0(){if(U0===null){var x=D0.alternate;x=x!==null?x.memoizedState:null}else x=U0.next;var e=$0===null?D0.memoizedState:$0.next;if(e!==null)$0=e,U0=x;else{if(x===null)throw D0.alternate===null?Error(o(467)):Error(o(310));U0=x,x={memoizedState:U0.memoizedState,baseState:U0.baseState,baseQueue:U0.baseQueue,queue:U0.queue,next:null},$0===null?D0.memoizedState=$0=x:$0=$0.next=x}return $0}function ga(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hl(x){var e=ml;return ml+=1,zt===null&&(zt=[]),x=H8(zt,x,e),e=D0,($0===null?e.memoizedState:$0.next)===null&&(e=e.alternate,_.H=e===null||e.memoizedState===null?_u:g9),x}function pa(x){if(x!==null&&typeof x=="object"){if(typeof x.then=="function")return hl(x);if(x.$$typeof===j)return ix(x)}throw Error(o(438,String(x)))}function f9(x){var e=null,t=D0.updateQueue;if(t!==null&&(e=t.memoCache),e==null){var l=D0.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),t===null&&(t=ga(),D0.updateQueue=t),t.memoCache=e,t=e.data[e.index],t===void 0)for(t=e.data[e.index]=Array(x),l=0;l<x;l++)t[l]=c0;return e.index++,t}function se(x,e){return typeof e=="function"?e(x):e}function ba(x){var e=K0();return B9(e,U0,x)}function B9(x,e,t){var l=x.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=t;var a=x.baseQueue,n=l.pending;if(n!==null){if(a!==null){var c=a.next;a.next=n.next,n.next=c}e.baseQueue=a=n,l.pending=null}if(n=x.baseState,a===null)x.memoizedState=n;else{e=a.next;var u=c=null,C=null,N=e,Z=!1;do{var J=N.lane&-536870913;if(J!==N.lane?(p0&J)===J:(ue&J)===J){var z=N.revertLane;if(z===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),J===wt&&(Z=!0);else if((ue&z)===z){N=N.next,z===wt&&(Z=!0);continue}else J={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},C===null?(u=C=J,c=n):C=C.next=J,D0.lanes|=z,je|=z;J=N.action,nt&&t(n,J),n=N.hasEagerState?N.eagerState:t(n,J)}else z={lane:J,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},C===null?(u=C=z,c=n):C=C.next=z,D0.lanes|=J,je|=J;N=N.next}while(N!==null&&N!==e);if(C===null?c=n:C.next=u,!bx(n,x.memoizedState)&&(W0=!0,Z&&(t=_t,t!==null)))throw t;x.memoizedState=n,x.baseState=c,x.baseQueue=C,l.lastRenderedState=n}return a===null&&(l.lanes=0),[x.memoizedState,l.dispatch]}function C9(x){var e=K0(),t=e.queue;if(t===null)throw Error(o(311));t.lastRenderedReducer=x;var l=t.dispatch,a=t.pending,n=e.memoizedState;if(a!==null){t.pending=null;var c=a=a.next;do n=x(n,c.action),c=c.next;while(c!==a);bx(n,e.memoizedState)||(W0=!0),e.memoizedState=n,e.baseQueue===null&&(e.baseState=n),t.lastRenderedState=n}return[n,l]}function J8(x,e,t){var l=D0,a=K0(),n=k0;if(n){if(t===void 0)throw Error(o(407));t=t()}else t=e();var c=!bx((U0||a).memoizedState,t);if(c&&(a.memoizedState=t,W0=!0),a=a.queue,D9(I8.bind(null,l,a,x),[x]),a.getSnapshot!==e||c||$0!==null&&$0.memoizedState.tag&1){if(l.flags|=2048,Ot(9,{destroy:void 0},W8.bind(null,l,a,t,e),null),q0===null)throw Error(o(349));n||(ue&127)!==0||$8(l,e,t)}return t}function $8(x,e,t){x.flags|=16384,x={getSnapshot:e,value:t},e=D0.updateQueue,e===null?(e=ga(),D0.updateQueue=e,e.stores=[x]):(t=e.stores,t===null?e.stores=[x]:t.push(x))}function W8(x,e,t,l){e.value=t,e.getSnapshot=l,xu(e)&&eu(x)}function I8(x,e,t){return t(function(){xu(e)&&eu(x)})}function xu(x){var e=x.getSnapshot;x=x.value;try{var t=e();return!bx(x,t)}catch{return!0}}function eu(x){var e=Je(x,2);e!==null&&px(e,x,2)}function d9(x){var e=Dx();if(typeof x=="function"){var t=x;if(x=t(),nt){Px(!0);try{t()}finally{Px(!1)}}}return e.memoizedState=e.baseState=x,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:x},e}function tu(x,e,t,l){return x.baseState=t,B9(x,U0,typeof l=="function"?l:se)}function Ko(x,e,t,l,a){if(wa(x))throw Error(o(485));if(x=e.action,x!==null){var n={payload:a,action:x,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){n.listeners.push(c)}};_.T!==null?t(!0):n.isTransition=!1,l(n),t=e.pending,t===null?(n.next=e.pending=n,lu(e,n)):(n.next=t.next,e.pending=t.next=n)}}function lu(x,e){var t=e.action,l=e.payload,a=x.state;if(e.isTransition){var n=_.T,c={};_.T=c;try{var u=t(a,l),C=_.S;C!==null&&C(c,u),au(x,e,u)}catch(N){A9(x,e,N)}finally{n!==null&&c.types!==null&&(n.types=c.types),_.T=n}}else try{n=t(a,l),au(x,e,n)}catch(N){A9(x,e,N)}}function au(x,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){nu(x,e,l)},function(l){return A9(x,e,l)}):nu(x,e,t)}function nu(x,e,t){e.status="fulfilled",e.value=t,cu(e),x.state=t,e=x.pending,e!==null&&(t=e.next,t===e?x.pending=null:(t=t.next,e.next=t,lu(x,t)))}function A9(x,e,t){var l=x.pending;if(x.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=t,cu(e),e=e.next;while(e!==l)}x.action=null}function cu(x){x=x.listeners;for(var e=0;e<x.length;e++)(0,x[e])()}function uu(x,e){return e}function su(x,e){if(k0){var t=q0.formState;if(t!==null){x:{var l=D0;if(k0){if(Y0){e:{for(var a=Y0,n=Lx;a.nodeType!==8;){if(!n){a=null;break e}if(a=Yx(a.nextSibling),a===null){a=null;break e}}n=a.data,a=n==="F!"||n==="F"?a:null}if(a){Y0=Yx(a.nextSibling),l=a.data==="F!";break x}}ye(l)}l=!1}l&&(e=t[0])}}return t=Dx(),t.memoizedState=t.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:uu,lastRenderedState:e},t.queue=l,t=Su.bind(null,D0,l),l.dispatch=t,l=d9(!1),n=y9.bind(null,D0,!1,l.queue),l=Dx(),a={state:e,dispatch:null,action:x,pending:null},l.queue=a,t=Ko.bind(null,D0,a,n,t),a.dispatch=t,l.memoizedState=x,[e,t,!1]}function iu(x){var e=K0();return ou(e,U0,x)}function ou(x,e,t){if(e=B9(x,e,uu)[0],x=ba(se)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=hl(e)}catch(c){throw c===Tt?da:c}else l=e;e=K0();var a=e.queue,n=a.dispatch;return t!==e.memoizedState&&(D0.flags|=2048,Ot(9,{destroy:void 0},Jo.bind(null,a,t),null)),[l,n,x]}function Jo(x,e){x.action=e}function ru(x){var e=K0(),t=U0;if(t!==null)return ou(e,t,x);K0(),e=e.memoizedState,t=K0();var l=t.queue.dispatch;return t.memoizedState=x,[e,l,!1]}function Ot(x,e,t,l){return x={tag:x,create:t,deps:l,inst:e,next:null},e=D0.updateQueue,e===null&&(e=ga(),D0.updateQueue=e),t=e.lastEffect,t===null?e.lastEffect=x.next=x:(l=t.next,t.next=x,x.next=l,e.lastEffect=x),x}function Eu(){return K0().memoizedState}function Sa(x,e,t,l){var a=Dx();D0.flags|=x,a.memoizedState=Ot(1|e,{destroy:void 0},t,l===void 0?null:l)}function ka(x,e,t,l){var a=K0();l=l===void 0?null:l;var n=a.memoizedState.inst;U0!==null&&l!==null&&s9(l,U0.memoizedState.deps)?a.memoizedState=Ot(e,n,t,l):(D0.flags|=x,a.memoizedState=Ot(1|e,n,t,l))}function fu(x,e){Sa(8390656,8,x,e)}function D9(x,e){ka(2048,8,x,e)}function $o(x){D0.flags|=4;var e=D0.updateQueue;if(e===null)e=ga(),D0.updateQueue=e,e.events=[x];else{var t=e.events;t===null?e.events=[x]:t.push(x)}}function Bu(x){var e=K0().memoizedState;return $o({ref:e,nextImpl:x}),function(){if((T0&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Cu(x,e){return ka(4,2,x,e)}function du(x,e){return ka(4,4,x,e)}function Au(x,e){if(typeof e=="function"){x=x();var t=e(x);return function(){typeof t=="function"?t():e(null)}}if(e!=null)return x=x(),e.current=x,function(){e.current=null}}function Du(x,e,t){t=t!=null?t.concat([x]):null,ka(4,4,Au.bind(null,e,x),t)}function F9(){}function Fu(x,e){var t=K0();e=e===void 0?null:e;var l=t.memoizedState;return e!==null&&s9(e,l[1])?l[0]:(t.memoizedState=[x,e],x)}function mu(x,e){var t=K0();e=e===void 0?null:e;var l=t.memoizedState;if(e!==null&&s9(e,l[1]))return l[0];if(l=x(),nt){Px(!0);try{x()}finally{Px(!1)}}return t.memoizedState=[l,e],l}function m9(x,e,t){return t===void 0||(ue&1073741824)!==0&&(p0&261930)===0?x.memoizedState=e:(x.memoizedState=t,x=hs(),D0.lanes|=x,je|=x,t)}function hu(x,e,t,l){return bx(t,e)?t:Nt.current!==null?(x=m9(x,t,l),bx(x,e)||(W0=!0),x):(ue&42)===0||(ue&1073741824)!==0&&(p0&261930)===0?(W0=!0,x.memoizedState=t):(x=hs(),D0.lanes|=x,je|=x,e)}function vu(x,e,t,l,a){var n=O.p;O.p=n!==0&&8>n?n:8;var c=_.T,u={};_.T=u,y9(x,!1,e,t);try{var C=a(),N=_.S;if(N!==null&&N(u,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var Z=Vo(C,l);vl(x,e,Z,jx(x))}else vl(x,e,l,jx(x))}catch(J){vl(x,e,{then:function(){},status:"rejected",reason:J},jx())}finally{O.p=n,c!==null&&u.types!==null&&(c.types=u.types),_.T=c}}function Wo(){}function h9(x,e,t,l){if(x.tag!==5)throw Error(o(476));var a=yu(x).queue;vu(x,a,e,U,t===null?Wo:function(){return gu(x),t(l)})}function yu(x){var e=x.memoizedState;if(e!==null)return e;e={memoizedState:U,baseState:U,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:U},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:se,lastRenderedState:t},next:null},x.memoizedState=e,x=x.alternate,x!==null&&(x.memoizedState=e),e}function gu(x){var e=yu(x);e.next===null&&(e=x.alternate.memoizedState),vl(x,e.next.queue,{},jx())}function v9(){return ix(Hl)}function pu(){return K0().memoizedState}function bu(){return K0().memoizedState}function Io(x){for(var e=x.return;e!==null;){switch(e.tag){case 24:case 3:var t=jx();x=be(t);var l=Se(e,x,t);l!==null&&(px(l,e,t),Al(l,e,t)),e={cache:$n()},x.payload=e;return}e=e.return}}function xr(x,e,t){var l=jx();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},wa(x)?ku(e,t):(t=Ln(x,e,t,l),t!==null&&(px(t,x,l),wu(t,e,l)))}function Su(x,e,t){var l=jx();vl(x,e,t,l)}function vl(x,e,t,l){var a={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(wa(x))ku(e,a);else{var n=x.alternate;if(x.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var c=e.lastRenderedState,u=n(c,t);if(a.hasEagerState=!0,a.eagerState=u,bx(u,c))return ia(x,e,a,0),q0===null&&sa(),!1}catch{}finally{}if(t=Ln(x,e,a,l),t!==null)return px(t,x,l),wu(t,e,l),!0}return!1}function y9(x,e,t,l){if(l={lane:2,revertLane:ec(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},wa(x)){if(e)throw Error(o(479))}else e=Ln(x,t,l,2),e!==null&&px(e,x,2)}function wa(x){var e=x.alternate;return x===D0||e!==null&&e===D0}function ku(x,e){Mt=va=!0;var t=x.pending;t===null?e.next=e:(e.next=t.next,t.next=e),x.pending=e}function wu(x,e,t){if((t&4194048)!==0){var l=e.lanes;l&=x.pendingLanes,t|=l,e.lanes=t,Mc(x,t)}}var yl={readContext:ix,use:pa,useCallback:Q0,useContext:Q0,useEffect:Q0,useImperativeHandle:Q0,useLayoutEffect:Q0,useInsertionEffect:Q0,useMemo:Q0,useReducer:Q0,useRef:Q0,useState:Q0,useDebugValue:Q0,useDeferredValue:Q0,useTransition:Q0,useSyncExternalStore:Q0,useId:Q0,useHostTransitionStatus:Q0,useFormState:Q0,useActionState:Q0,useOptimistic:Q0,useMemoCache:Q0,useCacheRefresh:Q0};yl.useEffectEvent=Q0;var _u={readContext:ix,use:pa,useCallback:function(x,e){return Dx().memoizedState=[x,e===void 0?null:e],x},useContext:ix,useEffect:fu,useImperativeHandle:function(x,e,t){t=t!=null?t.concat([x]):null,Sa(4194308,4,Au.bind(null,e,x),t)},useLayoutEffect:function(x,e){return Sa(4194308,4,x,e)},useInsertionEffect:function(x,e){Sa(4,2,x,e)},useMemo:function(x,e){var t=Dx();e=e===void 0?null:e;var l=x();if(nt){Px(!0);try{x()}finally{Px(!1)}}return t.memoizedState=[l,e],l},useReducer:function(x,e,t){var l=Dx();if(t!==void 0){var a=t(e);if(nt){Px(!0);try{t(e)}finally{Px(!1)}}}else a=e;return l.memoizedState=l.baseState=a,x={pending:null,lanes:0,dispatch:null,lastRenderedReducer:x,lastRenderedState:a},l.queue=x,x=x.dispatch=xr.bind(null,D0,x),[l.memoizedState,x]},useRef:function(x){var e=Dx();return x={current:x},e.memoizedState=x},useState:function(x){x=d9(x);var e=x.queue,t=Su.bind(null,D0,e);return e.dispatch=t,[x.memoizedState,t]},useDebugValue:F9,useDeferredValue:function(x,e){var t=Dx();return m9(t,x,e)},useTransition:function(){var x=d9(!1);return x=vu.bind(null,D0,x.queue,!0,!1),Dx().memoizedState=x,[!1,x]},useSyncExternalStore:function(x,e,t){var l=D0,a=Dx();if(k0){if(t===void 0)throw Error(o(407));t=t()}else{if(t=e(),q0===null)throw Error(o(349));(p0&127)!==0||$8(l,e,t)}a.memoizedState=t;var n={value:t,getSnapshot:e};return a.queue=n,fu(I8.bind(null,l,n,x),[x]),l.flags|=2048,Ot(9,{destroy:void 0},W8.bind(null,l,n,t,e),null),t},useId:function(){var x=Dx(),e=q0.identifierPrefix;if(k0){var t=$x,l=Jx;t=(l&~(1<<32-Ax(l)-1)).toString(32)+t,e="_"+e+"R_"+t,t=ya++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=Zo++,e="_"+e+"r_"+t.toString(32)+"_";return x.memoizedState=e},useHostTransitionStatus:v9,useFormState:su,useActionState:su,useOptimistic:function(x){var e=Dx();e.memoizedState=e.baseState=x;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=y9.bind(null,D0,!0,t),t.dispatch=e,[x,e]},useMemoCache:f9,useCacheRefresh:function(){return Dx().memoizedState=Io.bind(null,D0)},useEffectEvent:function(x){var e=Dx(),t={impl:x};return e.memoizedState=t,function(){if((T0&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}},g9={readContext:ix,use:pa,useCallback:Fu,useContext:ix,useEffect:D9,useImperativeHandle:Du,useInsertionEffect:Cu,useLayoutEffect:du,useMemo:mu,useReducer:ba,useRef:Eu,useState:function(){return ba(se)},useDebugValue:F9,useDeferredValue:function(x,e){var t=K0();return hu(t,U0.memoizedState,x,e)},useTransition:function(){var x=ba(se)[0],e=K0().memoizedState;return[typeof x=="boolean"?x:hl(x),e]},useSyncExternalStore:J8,useId:pu,useHostTransitionStatus:v9,useFormState:iu,useActionState:iu,useOptimistic:function(x,e){var t=K0();return tu(t,U0,x,e)},useMemoCache:f9,useCacheRefresh:bu};g9.useEffectEvent=Bu;var Tu={readContext:ix,use:pa,useCallback:Fu,useContext:ix,useEffect:D9,useImperativeHandle:Du,useInsertionEffect:Cu,useLayoutEffect:du,useMemo:mu,useReducer:C9,useRef:Eu,useState:function(){return C9(se)},useDebugValue:F9,useDeferredValue:function(x,e){var t=K0();return U0===null?m9(t,x,e):hu(t,U0.memoizedState,x,e)},useTransition:function(){var x=C9(se)[0],e=K0().memoizedState;return[typeof x=="boolean"?x:hl(x),e]},useSyncExternalStore:J8,useId:pu,useHostTransitionStatus:v9,useFormState:ru,useActionState:ru,useOptimistic:function(x,e){var t=K0();return U0!==null?tu(t,U0,x,e):(t.baseState=x,[x,t.queue.dispatch])},useMemoCache:f9,useCacheRefresh:bu};Tu.useEffectEvent=Bu;function p9(x,e,t,l){e=x.memoizedState,t=t(l,e),t=t==null?e:f({},e,t),x.memoizedState=t,x.lanes===0&&(x.updateQueue.baseState=t)}var b9={enqueueSetState:function(x,e,t){x=x._reactInternals;var l=jx(),a=be(l);a.payload=e,t!=null&&(a.callback=t),e=Se(x,a,l),e!==null&&(px(e,x,l),Al(e,x,l))},enqueueReplaceState:function(x,e,t){x=x._reactInternals;var l=jx(),a=be(l);a.tag=1,a.payload=e,t!=null&&(a.callback=t),e=Se(x,a,l),e!==null&&(px(e,x,l),Al(e,x,l))},enqueueForceUpdate:function(x,e){x=x._reactInternals;var t=jx(),l=be(t);l.tag=2,e!=null&&(l.callback=e),e=Se(x,l,t),e!==null&&(px(e,x,t),Al(e,x,t))}};function ju(x,e,t,l,a,n,c){return x=x.stateNode,typeof x.shouldComponentUpdate=="function"?x.shouldComponentUpdate(l,n,c):e.prototype&&e.prototype.isPureReactComponent?!il(t,l)||!il(a,n):!0}function Nu(x,e,t,l){x=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,l),e.state!==x&&b9.enqueueReplaceState(e,e.state,null)}function ct(x,e){var t=e;if("ref"in e){t={};for(var l in e)l!=="ref"&&(t[l]=e[l])}if(x=x.defaultProps){t===e&&(t=f({},t));for(var a in x)t[a]===void 0&&(t[a]=x[a])}return t}function Mu(x){ua(x)}function zu(x){console.error(x)}function Ou(x){ua(x)}function _a(x,e){try{var t=x.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Uu(x,e,t){try{var l=x.onCaughtError;l(t.value,{componentStack:t.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function S9(x,e,t){return t=be(t),t.tag=3,t.payload={element:null},t.callback=function(){_a(x,e)},t}function Ru(x){return x=be(x),x.tag=3,x}function Hu(x,e,t,l){var a=t.type.getDerivedStateFromError;if(typeof a=="function"){var n=l.value;x.payload=function(){return a(n)},x.callback=function(){Uu(e,t,l)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(x.callback=function(){Uu(e,t,l),typeof a!="function"&&(Ne===null?Ne=new Set([this]):Ne.add(this));var u=l.stack;this.componentDidCatch(l.value,{componentStack:u!==null?u:""})})}function er(x,e,t,l,a){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=t.alternate,e!==null&&kt(e,t,a,!0),t=kx.current,t!==null){switch(t.tag){case 31:case 13:return qx===null?Ya():t.alternate===null&&V0===0&&(V0=3),t.flags&=-257,t.flags|=65536,t.lanes=a,l===Aa?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([l]):e.add(l),W9(x,l,a)),!1;case 22:return t.flags|=65536,l===Aa?t.flags|=16384:(e=t.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},t.updateQueue=e):(t=e.retryQueue,t===null?e.retryQueue=new Set([l]):t.add(l)),W9(x,l,a)),!1}throw Error(o(435,t.tag))}return W9(x,l,a),Ya(),!1}if(k0)return e=kx.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,l!==Vn&&(x=Error(o(422),{cause:l}),El(Ux(x,t)))):(l!==Vn&&(e=Error(o(423),{cause:l}),El(Ux(e,t))),x=x.current.alternate,x.flags|=65536,a&=-a,x.lanes|=a,l=Ux(l,t),a=S9(x.stateNode,l,a),l9(x,a),V0!==4&&(V0=2)),!1;var n=Error(o(520),{cause:l});if(n=Ux(n,t),Tl===null?Tl=[n]:Tl.push(n),V0!==4&&(V0=2),e===null)return!0;l=Ux(l,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,x=a&-a,t.lanes|=x,x=S9(t.stateNode,l,x),l9(t,x),!1;case 1:if(e=t.type,n=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Ne===null||!Ne.has(n))))return t.flags|=65536,a&=-a,t.lanes|=a,a=Ru(a),Hu(a,x,t,l),l9(t,a),!1}t=t.return}while(t!==null);return!1}var k9=Error(o(461)),W0=!1;function ox(x,e,t,l){e.child=x===null?G8(e,null,t,l):at(e,x.child,t,l)}function Lu(x,e,t,l,a){t=t.render;var n=e.ref;if("ref"in l){var c={};for(var u in l)u!=="ref"&&(c[u]=l[u])}else c=l;return xt(e),l=i9(x,e,t,c,n,a),u=o9(),x!==null&&!W0?(r9(x,e,a),ie(x,e,a)):(k0&&u&&Xn(e),e.flags|=1,ox(x,e,l,a),e.child)}function qu(x,e,t,l,a){if(x===null){var n=t.type;return typeof n=="function"&&!qn(n)&&n.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=n,Yu(x,e,n,l,a)):(x=ra(t.type,null,l,e,e.mode,a),x.ref=e.ref,x.return=e,e.child=x)}if(n=x.child,!O9(x,a)){var c=n.memoizedProps;if(t=t.compare,t=t!==null?t:il,t(c,l)&&x.ref===e.ref)return ie(x,e,a)}return e.flags|=1,x=le(n,l),x.ref=e.ref,x.return=e,e.child=x}function Yu(x,e,t,l,a){if(x!==null){var n=x.memoizedProps;if(il(n,l)&&x.ref===e.ref)if(W0=!1,e.pendingProps=l=n,O9(x,a))(x.flags&131072)!==0&&(W0=!0);else return e.lanes=x.lanes,ie(x,e,a)}return w9(x,e,t,l,a)}function Gu(x,e,t,l){var a=l.children,n=x!==null?x.memoizedState:null;if(x===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(n=n!==null?n.baseLanes|t:t,x!==null){for(l=e.child=x.child,a=0;l!==null;)a=a|l.lanes|l.childLanes,l=l.sibling;l=a&~n}else l=0,e.child=null;return Xu(x,e,n,t,l)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},x!==null&&Ca(e,n!==null?n.cachePool:null),n!==null?V8(e,n):n9(),Z8(e);else return l=e.lanes=536870912,Xu(x,e,n!==null?n.baseLanes|t:t,t,l)}else n!==null?(Ca(e,n.cachePool),V8(e,n),we(),e.memoizedState=null):(x!==null&&Ca(e,null),n9(),we());return ox(x,e,a,t),e.child}function gl(x,e){return x!==null&&x.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Xu(x,e,t,l,a){var n=In();return n=n===null?null:{parent:J0._currentValue,pool:n},e.memoizedState={baseLanes:t,cachePool:n},x!==null&&Ca(e,null),n9(),Z8(e),x!==null&&kt(x,e,l,!0),e.childLanes=a,null}function Ta(x,e){return e=Na({mode:e.mode,children:e.children},x.mode),e.ref=x.ref,x.child=e,e.return=x,e}function Qu(x,e,t){return at(e,x.child,null,t),x=Ta(e,e.pendingProps),x.flags|=2,wx(e),e.memoizedState=null,x}function tr(x,e,t){var l=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,x===null){if(k0){if(l.mode==="hidden")return x=Ta(e,l),e.lanes=536870912,gl(null,x);if(u9(e),(x=Y0)?(x=li(x,Lx),x=x!==null&&x.data==="&"?x:null,x!==null&&(e.memoizedState={dehydrated:x,treeContext:he!==null?{id:Jx,overflow:$x}:null,retryLane:536870912,hydrationErrors:null},t=k8(x),t.return=e,e.child=t,sx=e,Y0=null)):x=null,x===null)throw ye(e);return e.lanes=536870912,null}return Ta(e,l)}var n=x.memoizedState;if(n!==null){var c=n.dehydrated;if(u9(e),a)if(e.flags&256)e.flags&=-257,e=Qu(x,e,t);else if(e.memoizedState!==null)e.child=x.child,e.flags|=128,e=null;else throw Error(o(558));else if(W0||kt(x,e,t,!1),a=(t&x.childLanes)!==0,W0||a){if(l=q0,l!==null&&(c=zc(l,t),c!==0&&c!==n.retryLane))throw n.retryLane=c,Je(x,c),px(l,x,c),k9;Ya(),e=Qu(x,e,t)}else x=n.treeContext,Y0=Yx(c.nextSibling),sx=e,k0=!0,ve=null,Lx=!1,x!==null&&T8(e,x),e=Ta(e,l),e.flags|=4096;return e}return x=le(x.child,{mode:l.mode,children:l.children}),x.ref=e.ref,e.child=x,x.return=e,x}function ja(x,e){var t=e.ref;if(t===null)x!==null&&x.ref!==null&&(e.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(o(284));(x===null||x.ref!==t)&&(e.flags|=4194816)}}function w9(x,e,t,l,a){return xt(e),t=i9(x,e,t,l,void 0,a),l=o9(),x!==null&&!W0?(r9(x,e,a),ie(x,e,a)):(k0&&l&&Xn(e),e.flags|=1,ox(x,e,t,a),e.child)}function Vu(x,e,t,l,a,n){return xt(e),e.updateQueue=null,t=K8(e,l,t,a),P8(x),l=o9(),x!==null&&!W0?(r9(x,e,n),ie(x,e,n)):(k0&&l&&Xn(e),e.flags|=1,ox(x,e,t,n),e.child)}function Zu(x,e,t,l,a){if(xt(e),e.stateNode===null){var n=gt,c=t.contextType;typeof c=="object"&&c!==null&&(n=ix(c)),n=new t(l,n),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=b9,e.stateNode=n,n._reactInternals=e,n=e.stateNode,n.props=l,n.state=e.memoizedState,n.refs={},e9(e),c=t.contextType,n.context=typeof c=="object"&&c!==null?ix(c):gt,n.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(p9(e,t,c,l),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(c=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),c!==n.state&&b9.enqueueReplaceState(n,n.state,null),Fl(e,l,n,a),Dl(),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(x===null){n=e.stateNode;var u=e.memoizedProps,C=ct(t,u);n.props=C;var N=n.context,Z=t.contextType;c=gt,typeof Z=="object"&&Z!==null&&(c=ix(Z));var J=t.getDerivedStateFromProps;Z=typeof J=="function"||typeof n.getSnapshotBeforeUpdate=="function",u=e.pendingProps!==u,Z||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(u||N!==c)&&Nu(e,n,l,c),pe=!1;var z=e.memoizedState;n.state=z,Fl(e,l,n,a),Dl(),N=e.memoizedState,u||z!==N||pe?(typeof J=="function"&&(p9(e,t,J,l),N=e.memoizedState),(C=pe||ju(e,t,C,l,z,N,c))?(Z||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(e.flags|=4194308)):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=N),n.props=l,n.state=N,n.context=c,l=C):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{n=e.stateNode,t9(x,e),c=e.memoizedProps,Z=ct(t,c),n.props=Z,J=e.pendingProps,z=n.context,N=t.contextType,C=gt,typeof N=="object"&&N!==null&&(C=ix(N)),u=t.getDerivedStateFromProps,(N=typeof u=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c!==J||z!==C)&&Nu(e,n,l,C),pe=!1,z=e.memoizedState,n.state=z,Fl(e,l,n,a),Dl();var q=e.memoizedState;c!==J||z!==q||pe||x!==null&&x.dependencies!==null&&fa(x.dependencies)?(typeof u=="function"&&(p9(e,t,u,l),q=e.memoizedState),(Z=pe||ju(e,t,Z,l,z,q,C)||x!==null&&x.dependencies!==null&&fa(x.dependencies))?(N||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(l,q,C),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(l,q,C)),typeof n.componentDidUpdate=="function"&&(e.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof n.componentDidUpdate!="function"||c===x.memoizedProps&&z===x.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===x.memoizedProps&&z===x.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=q),n.props=l,n.state=q,n.context=C,l=Z):(typeof n.componentDidUpdate!="function"||c===x.memoizedProps&&z===x.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===x.memoizedProps&&z===x.memoizedState||(e.flags|=1024),l=!1)}return n=l,ja(x,e),l=(e.flags&128)!==0,n||l?(n=e.stateNode,t=l&&typeof t.getDerivedStateFromError!="function"?null:n.render(),e.flags|=1,x!==null&&l?(e.child=at(e,x.child,null,a),e.child=at(e,null,t,a)):ox(x,e,t,a),e.memoizedState=n.state,x=e.child):x=ie(x,e,a),x}function Pu(x,e,t,l){return We(),e.flags|=256,ox(x,e,t,l),e.child}var _9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function T9(x){return{baseLanes:x,cachePool:U8()}}function j9(x,e,t){return x=x!==null?x.childLanes&~t:0,e&&(x|=Tx),x}function Ku(x,e,t){var l=e.pendingProps,a=!1,n=(e.flags&128)!==0,c;if((c=n)||(c=x!==null&&x.memoizedState===null?!1:(P0.current&2)!==0),c&&(a=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,x===null){if(k0){if(a?ke(e):we(),(x=Y0)?(x=li(x,Lx),x=x!==null&&x.data!=="&"?x:null,x!==null&&(e.memoizedState={dehydrated:x,treeContext:he!==null?{id:Jx,overflow:$x}:null,retryLane:536870912,hydrationErrors:null},t=k8(x),t.return=e,e.child=t,sx=e,Y0=null)):x=null,x===null)throw ye(e);return Bc(x)?e.lanes=32:e.lanes=536870912,null}var u=l.children;return l=l.fallback,a?(we(),a=e.mode,u=Na({mode:"hidden",children:u},a),l=$e(l,a,t,null),u.return=e,l.return=e,u.sibling=l,e.child=u,l=e.child,l.memoizedState=T9(t),l.childLanes=j9(x,c,t),e.memoizedState=_9,gl(null,l)):(ke(e),N9(e,u))}var C=x.memoizedState;if(C!==null&&(u=C.dehydrated,u!==null)){if(n)e.flags&256?(ke(e),e.flags&=-257,e=M9(x,e,t)):e.memoizedState!==null?(we(),e.child=x.child,e.flags|=128,e=null):(we(),u=l.fallback,a=e.mode,l=Na({mode:"visible",children:l.children},a),u=$e(u,a,t,null),u.flags|=2,l.return=e,u.return=e,l.sibling=u,e.child=l,at(e,x.child,null,t),l=e.child,l.memoizedState=T9(t),l.childLanes=j9(x,c,t),e.memoizedState=_9,e=gl(null,l));else if(ke(e),Bc(u)){if(c=u.nextSibling&&u.nextSibling.dataset,c)var N=c.dgst;c=N,l=Error(o(419)),l.stack="",l.digest=c,El({value:l,source:null,stack:null}),e=M9(x,e,t)}else if(W0||kt(x,e,t,!1),c=(t&x.childLanes)!==0,W0||c){if(c=q0,c!==null&&(l=zc(c,t),l!==0&&l!==C.retryLane))throw C.retryLane=l,Je(x,l),px(c,x,l),k9;fc(u)||Ya(),e=M9(x,e,t)}else fc(u)?(e.flags|=192,e.child=x.child,e=null):(x=C.treeContext,Y0=Yx(u.nextSibling),sx=e,k0=!0,ve=null,Lx=!1,x!==null&&T8(e,x),e=N9(e,l.children),e.flags|=4096);return e}return a?(we(),u=l.fallback,a=e.mode,C=x.child,N=C.sibling,l=le(C,{mode:"hidden",children:l.children}),l.subtreeFlags=C.subtreeFlags&65011712,N!==null?u=le(N,u):(u=$e(u,a,t,null),u.flags|=2),u.return=e,l.return=e,l.sibling=u,e.child=l,gl(null,l),l=e.child,u=x.child.memoizedState,u===null?u=T9(t):(a=u.cachePool,a!==null?(C=J0._currentValue,a=a.parent!==C?{parent:C,pool:C}:a):a=U8(),u={baseLanes:u.baseLanes|t,cachePool:a}),l.memoizedState=u,l.childLanes=j9(x,c,t),e.memoizedState=_9,gl(x.child,l)):(ke(e),t=x.child,x=t.sibling,t=le(t,{mode:"visible",children:l.children}),t.return=e,t.sibling=null,x!==null&&(c=e.deletions,c===null?(e.deletions=[x],e.flags|=16):c.push(x)),e.child=t,e.memoizedState=null,t)}function N9(x,e){return e=Na({mode:"visible",children:e},x.mode),e.return=x,x.child=e}function Na(x,e){return x=Sx(22,x,null,e),x.lanes=0,x}function M9(x,e,t){return at(e,x.child,null,t),x=N9(e,e.pendingProps.children),x.flags|=2,e.memoizedState=null,x}function Ju(x,e,t){x.lanes|=e;var l=x.alternate;l!==null&&(l.lanes|=e),Kn(x.return,e,t)}function z9(x,e,t,l,a,n){var c=x.memoizedState;c===null?x.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:t,tailMode:a,treeForkCount:n}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=l,c.tail=t,c.tailMode=a,c.treeForkCount=n)}function $u(x,e,t){var l=e.pendingProps,a=l.revealOrder,n=l.tail;l=l.children;var c=P0.current,u=(c&2)!==0;if(u?(c=c&1|2,e.flags|=128):c&=1,P(P0,c),ox(x,e,l,t),l=k0?rl:0,!u&&x!==null&&(x.flags&128)!==0)x:for(x=e.child;x!==null;){if(x.tag===13)x.memoizedState!==null&&Ju(x,t,e);else if(x.tag===19)Ju(x,t,e);else if(x.child!==null){x.child.return=x,x=x.child;continue}if(x===e)break x;for(;x.sibling===null;){if(x.return===null||x.return===e)break x;x=x.return}x.sibling.return=x.return,x=x.sibling}switch(a){case"forwards":for(t=e.child,a=null;t!==null;)x=t.alternate,x!==null&&ha(x)===null&&(a=t),t=t.sibling;t=a,t===null?(a=e.child,e.child=null):(a=t.sibling,t.sibling=null),z9(e,!1,a,t,n,l);break;case"backwards":case"unstable_legacy-backwards":for(t=null,a=e.child,e.child=null;a!==null;){if(x=a.alternate,x!==null&&ha(x)===null){e.child=a;break}x=a.sibling,a.sibling=t,t=a,a=x}z9(e,!0,t,null,n,l);break;case"together":z9(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function ie(x,e,t){if(x!==null&&(e.dependencies=x.dependencies),je|=e.lanes,(t&e.childLanes)===0)if(x!==null){if(kt(x,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(x!==null&&e.child!==x.child)throw Error(o(153));if(e.child!==null){for(x=e.child,t=le(x,x.pendingProps),e.child=t,t.return=e;x.sibling!==null;)x=x.sibling,t=t.sibling=le(x,x.pendingProps),t.return=e;t.sibling=null}return e.child}function O9(x,e){return(x.lanes&e)!==0?!0:(x=x.dependencies,!!(x!==null&&fa(x)))}function lr(x,e,t){switch(e.tag){case 3:L0(e,e.stateNode.containerInfo),ge(e,J0,x.memoizedState.cache),We();break;case 27:case 5:Nx(e);break;case 4:L0(e,e.stateNode.containerInfo);break;case 10:ge(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,u9(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(ke(e),e.flags|=128,null):(t&e.child.childLanes)!==0?Ku(x,e,t):(ke(e),x=ie(x,e,t),x!==null?x.sibling:null);ke(e);break;case 19:var a=(x.flags&128)!==0;if(l=(t&e.childLanes)!==0,l||(kt(x,e,t,!1),l=(t&e.childLanes)!==0),a){if(l)return $u(x,e,t);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),P(P0,P0.current),l)break;return null;case 22:return e.lanes=0,Gu(x,e,t,e.pendingProps);case 24:ge(e,J0,x.memoizedState.cache)}return ie(x,e,t)}function Wu(x,e,t){if(x!==null)if(x.memoizedProps!==e.pendingProps)W0=!0;else{if(!O9(x,t)&&(e.flags&128)===0)return W0=!1,lr(x,e,t);W0=(x.flags&131072)!==0}else W0=!1,k0&&(e.flags&1048576)!==0&&_8(e,rl,e.index);switch(e.lanes=0,e.tag){case 16:x:{var l=e.pendingProps;if(x=tt(e.elementType),e.type=x,typeof x=="function")qn(x)?(l=ct(x,l),e.tag=1,e=Zu(null,e,x,l,t)):(e.tag=0,e=w9(null,e,x,l,t));else{if(x!=null){var a=x.$$typeof;if(a===h){e.tag=11,e=Lu(null,e,x,l,t);break x}else if(a===A){e.tag=14,e=qu(null,e,x,l,t);break x}}throw e=u0(x)||x,Error(o(306,e,""))}}return e;case 0:return w9(x,e,e.type,e.pendingProps,t);case 1:return l=e.type,a=ct(l,e.pendingProps),Zu(x,e,l,a,t);case 3:x:{if(L0(e,e.stateNode.containerInfo),x===null)throw Error(o(387));l=e.pendingProps;var n=e.memoizedState;a=n.element,t9(x,e),Fl(e,l,null,t);var c=e.memoizedState;if(l=c.cache,ge(e,J0,l),l!==n.cache&&Jn(e,[J0],t,!0),Dl(),l=c.element,n.isDehydrated)if(n={element:l,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){e=Pu(x,e,l,t);break x}else if(l!==a){a=Ux(Error(o(424)),e),El(a),e=Pu(x,e,l,t);break x}else{switch(x=e.stateNode.containerInfo,x.nodeType){case 9:x=x.body;break;default:x=x.nodeName==="HTML"?x.ownerDocument.body:x}for(Y0=Yx(x.firstChild),sx=e,k0=!0,ve=null,Lx=!0,t=G8(e,null,l,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(We(),l===a){e=ie(x,e,t);break x}ox(x,e,l,t)}e=e.child}return e;case 26:return ja(x,e),x===null?(t=ii(e.type,null,e.pendingProps,null))?e.memoizedState=t:k0||(t=e.type,x=e.pendingProps,l=Ka(r0.current).createElement(t),l[ux]=e,l[Fx]=x,rx(l,t,x),lx(l),e.stateNode=l):e.memoizedState=ii(e.type,x.memoizedProps,e.pendingProps,x.memoizedState),null;case 27:return Nx(e),x===null&&k0&&(l=e.stateNode=ci(e.type,e.pendingProps,r0.current),sx=e,Lx=!0,a=Y0,Ue(e.type)?(Cc=a,Y0=Yx(l.firstChild)):Y0=a),ox(x,e,e.pendingProps.children,t),ja(x,e),x===null&&(e.flags|=4194304),e.child;case 5:return x===null&&k0&&((a=l=Y0)&&(l=Nr(l,e.type,e.pendingProps,Lx),l!==null?(e.stateNode=l,sx=e,Y0=Yx(l.firstChild),Lx=!1,a=!0):a=!1),a||ye(e)),Nx(e),a=e.type,n=e.pendingProps,c=x!==null?x.memoizedProps:null,l=n.children,oc(a,n)?l=null:c!==null&&oc(a,c)&&(e.flags|=32),e.memoizedState!==null&&(a=i9(x,e,Po,null,null,t),Hl._currentValue=a),ja(x,e),ox(x,e,l,t),e.child;case 6:return x===null&&k0&&((x=t=Y0)&&(t=Mr(t,e.pendingProps,Lx),t!==null?(e.stateNode=t,sx=e,Y0=null,x=!0):x=!1),x||ye(e)),null;case 13:return Ku(x,e,t);case 4:return L0(e,e.stateNode.containerInfo),l=e.pendingProps,x===null?e.child=at(e,null,l,t):ox(x,e,l,t),e.child;case 11:return Lu(x,e,e.type,e.pendingProps,t);case 7:return ox(x,e,e.pendingProps,t),e.child;case 8:return ox(x,e,e.pendingProps.children,t),e.child;case 12:return ox(x,e,e.pendingProps.children,t),e.child;case 10:return l=e.pendingProps,ge(e,e.type,l.value),ox(x,e,l.children,t),e.child;case 9:return a=e.type._context,l=e.pendingProps.children,xt(e),a=ix(a),l=l(a),e.flags|=1,ox(x,e,l,t),e.child;case 14:return qu(x,e,e.type,e.pendingProps,t);case 15:return Yu(x,e,e.type,e.pendingProps,t);case 19:return $u(x,e,t);case 31:return tr(x,e,t);case 22:return Gu(x,e,t,e.pendingProps);case 24:return xt(e),l=ix(J0),x===null?(a=In(),a===null&&(a=q0,n=$n(),a.pooledCache=n,n.refCount++,n!==null&&(a.pooledCacheLanes|=t),a=n),e.memoizedState={parent:l,cache:a},e9(e),ge(e,J0,a)):((x.lanes&t)!==0&&(t9(x,e),Fl(e,null,null,t),Dl()),a=x.memoizedState,n=e.memoizedState,a.parent!==l?(a={parent:l,cache:l},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),ge(e,J0,l)):(l=n.cache,ge(e,J0,l),l!==a.cache&&Jn(e,[J0],t,!0))),ox(x,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function oe(x){x.flags|=4}function U9(x,e,t,l,a){if((e=(x.mode&32)!==0)&&(e=!1),e){if(x.flags|=16777216,(a&335544128)===a)if(x.stateNode.complete)x.flags|=8192;else if(ps())x.flags|=8192;else throw lt=Aa,x9}else x.flags&=-16777217}function Iu(x,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)x.flags&=-16777217;else if(x.flags|=16777216,!Bi(e))if(ps())x.flags|=8192;else throw lt=Aa,x9}function Ma(x,e){e!==null&&(x.flags|=4),x.flags&16384&&(e=x.tag!==22?Wt():536870912,x.lanes|=e,Lt|=e)}function pl(x,e){if(!k0)switch(x.tailMode){case"hidden":e=x.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?x.tail=null:t.sibling=null;break;case"collapsed":t=x.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e||x.tail===null?x.tail=null:x.tail.sibling=null:l.sibling=null}}function G0(x){var e=x.alternate!==null&&x.alternate.child===x.child,t=0,l=0;if(e)for(var a=x.child;a!==null;)t|=a.lanes|a.childLanes,l|=a.subtreeFlags&65011712,l|=a.flags&65011712,a.return=x,a=a.sibling;else for(a=x.child;a!==null;)t|=a.lanes|a.childLanes,l|=a.subtreeFlags,l|=a.flags,a.return=x,a=a.sibling;return x.subtreeFlags|=l,x.childLanes=t,e}function ar(x,e,t){var l=e.pendingProps;switch(Qn(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return G0(e),null;case 1:return G0(e),null;case 3:return t=e.stateNode,l=null,x!==null&&(l=x.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),ce(J0),g0(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(x===null||x.child===null)&&(St(e)?oe(e):x===null||x.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Zn())),G0(e),null;case 26:var a=e.type,n=e.memoizedState;return x===null?(oe(e),n!==null?(G0(e),Iu(e,n)):(G0(e),U9(e,a,null,l,t))):n?n!==x.memoizedState?(oe(e),G0(e),Iu(e,n)):(G0(e),e.flags&=-16777217):(x=x.memoizedProps,x!==l&&oe(e),G0(e),U9(e,a,x,l,t)),null;case 27:if(Ex(e),t=r0.current,a=e.type,x!==null&&e.stateNode!=null)x.memoizedProps!==l&&oe(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return G0(e),null}x=W.current,St(e)?j8(e):(x=ci(a,l,t),e.stateNode=x,oe(e))}return G0(e),null;case 5:if(Ex(e),a=e.type,x!==null&&e.stateNode!=null)x.memoizedProps!==l&&oe(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return G0(e),null}if(n=W.current,St(e))j8(e);else{var c=Ka(r0.current);switch(n){case 1:n=c.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:n=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":n=c.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":n=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":n=c.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof l.is=="string"?c.createElement("select",{is:l.is}):c.createElement("select"),l.multiple?n.multiple=!0:l.size&&(n.size=l.size);break;default:n=typeof l.is=="string"?c.createElement(a,{is:l.is}):c.createElement(a)}}n[ux]=e,n[Fx]=l;x:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break x;for(;c.sibling===null;){if(c.return===null||c.return===e)break x;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=n;x:switch(rx(n,a,l),a){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break x;case"img":l=!0;break x;default:l=!1}l&&oe(e)}}return G0(e),U9(e,e.type,x===null?null:x.memoizedProps,e.pendingProps,t),null;case 6:if(x&&e.stateNode!=null)x.memoizedProps!==l&&oe(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(o(166));if(x=r0.current,St(e)){if(x=e.stateNode,t=e.memoizedProps,l=null,a=sx,a!==null)switch(a.tag){case 27:case 5:l=a.memoizedProps}x[ux]=e,x=!!(x.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||Ks(x.nodeValue,t)),x||ye(e,!0)}else x=Ka(x).createTextNode(l),x[ux]=e,e.stateNode=x}return G0(e),null;case 31:if(t=e.memoizedState,x===null||x.memoizedState!==null){if(l=St(e),t!==null){if(x===null){if(!l)throw Error(o(318));if(x=e.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(o(557));x[ux]=e}else We(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;G0(e),x=!1}else t=Zn(),x!==null&&x.memoizedState!==null&&(x.memoizedState.hydrationErrors=t),x=!0;if(!x)return e.flags&256?(wx(e),e):(wx(e),null);if((e.flags&128)!==0)throw Error(o(558))}return G0(e),null;case 13:if(l=e.memoizedState,x===null||x.memoizedState!==null&&x.memoizedState.dehydrated!==null){if(a=St(e),l!==null&&l.dehydrated!==null){if(x===null){if(!a)throw Error(o(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));a[ux]=e}else We(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;G0(e),a=!1}else a=Zn(),x!==null&&x.memoizedState!==null&&(x.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(wx(e),e):(wx(e),null)}return wx(e),(e.flags&128)!==0?(e.lanes=t,e):(t=l!==null,x=x!==null&&x.memoizedState!==null,t&&(l=e.child,a=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(a=l.alternate.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==a&&(l.flags|=2048)),t!==x&&t&&(e.child.flags|=8192),Ma(e,e.updateQueue),G0(e),null);case 4:return g0(),x===null&&nc(e.stateNode.containerInfo),G0(e),null;case 10:return ce(e.type),G0(e),null;case 19:if(w(P0),l=e.memoizedState,l===null)return G0(e),null;if(a=(e.flags&128)!==0,n=l.rendering,n===null)if(a)pl(l,!1);else{if(V0!==0||x!==null&&(x.flags&128)!==0)for(x=e.child;x!==null;){if(n=ha(x),n!==null){for(e.flags|=128,pl(l,!1),x=n.updateQueue,e.updateQueue=x,Ma(e,x),e.subtreeFlags=0,x=t,t=e.child;t!==null;)S8(t,x),t=t.sibling;return P(P0,P0.current&1|2),k0&&ae(e,l.treeForkCount),e.child}x=x.sibling}l.tail!==null&&fx()>Ha&&(e.flags|=128,a=!0,pl(l,!1),e.lanes=4194304)}else{if(!a)if(x=ha(n),x!==null){if(e.flags|=128,a=!0,x=x.updateQueue,e.updateQueue=x,Ma(e,x),pl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!n.alternate&&!k0)return G0(e),null}else 2*fx()-l.renderingStartTime>Ha&&t!==536870912&&(e.flags|=128,a=!0,pl(l,!1),e.lanes=4194304);l.isBackwards?(n.sibling=e.child,e.child=n):(x=l.last,x!==null?x.sibling=n:e.child=n,l.last=n)}return l.tail!==null?(x=l.tail,l.rendering=x,l.tail=x.sibling,l.renderingStartTime=fx(),x.sibling=null,t=P0.current,P(P0,a?t&1|2:t&1),k0&&ae(e,l.treeForkCount),x):(G0(e),null);case 22:case 23:return wx(e),c9(),l=e.memoizedState!==null,x!==null?x.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(t&536870912)!==0&&(e.flags&128)===0&&(G0(e),e.subtreeFlags&6&&(e.flags|=8192)):G0(e),t=e.updateQueue,t!==null&&Ma(e,t.retryQueue),t=null,x!==null&&x.memoizedState!==null&&x.memoizedState.cachePool!==null&&(t=x.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==t&&(e.flags|=2048),x!==null&&w(et),null;case 24:return t=null,x!==null&&(t=x.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),ce(J0),G0(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function nr(x,e){switch(Qn(e),e.tag){case 1:return x=e.flags,x&65536?(e.flags=x&-65537|128,e):null;case 3:return ce(J0),g0(),x=e.flags,(x&65536)!==0&&(x&128)===0?(e.flags=x&-65537|128,e):null;case 26:case 27:case 5:return Ex(e),null;case 31:if(e.memoizedState!==null){if(wx(e),e.alternate===null)throw Error(o(340));We()}return x=e.flags,x&65536?(e.flags=x&-65537|128,e):null;case 13:if(wx(e),x=e.memoizedState,x!==null&&x.dehydrated!==null){if(e.alternate===null)throw Error(o(340));We()}return x=e.flags,x&65536?(e.flags=x&-65537|128,e):null;case 19:return w(P0),null;case 4:return g0(),null;case 10:return ce(e.type),null;case 22:case 23:return wx(e),c9(),x!==null&&w(et),x=e.flags,x&65536?(e.flags=x&-65537|128,e):null;case 24:return ce(J0),null;case 25:return null;default:return null}}function xs(x,e){switch(Qn(e),e.tag){case 3:ce(J0),g0();break;case 26:case 27:case 5:Ex(e);break;case 4:g0();break;case 31:e.memoizedState!==null&&wx(e);break;case 13:wx(e);break;case 19:w(P0);break;case 10:ce(e.type);break;case 22:case 23:wx(e),c9(),x!==null&&w(et);break;case 24:ce(J0)}}function bl(x,e){try{var t=e.updateQueue,l=t!==null?t.lastEffect:null;if(l!==null){var a=l.next;t=a;do{if((t.tag&x)===x){l=void 0;var n=t.create,c=t.inst;l=n(),c.destroy=l}t=t.next}while(t!==a)}}catch(u){z0(e,e.return,u)}}function _e(x,e,t){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&x)===x){var c=l.inst,u=c.destroy;if(u!==void 0){c.destroy=void 0,a=e;var C=t,N=u;try{N()}catch(Z){z0(a,C,Z)}}}l=l.next}while(l!==n)}}catch(Z){z0(e,e.return,Z)}}function es(x){var e=x.updateQueue;if(e!==null){var t=x.stateNode;try{Q8(e,t)}catch(l){z0(x,x.return,l)}}}function ts(x,e,t){t.props=ct(x.type,x.memoizedProps),t.state=x.memoizedState;try{t.componentWillUnmount()}catch(l){z0(x,e,l)}}function Sl(x,e){try{var t=x.ref;if(t!==null){switch(x.tag){case 26:case 27:case 5:var l=x.stateNode;break;case 30:l=x.stateNode;break;default:l=x.stateNode}typeof t=="function"?x.refCleanup=t(l):t.current=l}}catch(a){z0(x,e,a)}}function Wx(x,e){var t=x.ref,l=x.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(a){z0(x,e,a)}finally{x.refCleanup=null,x=x.alternate,x!=null&&(x.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(a){z0(x,e,a)}else t.current=null}function ls(x){var e=x.type,t=x.memoizedProps,l=x.stateNode;try{x:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&l.focus();break x;case"img":t.src?l.src=t.src:t.srcSet&&(l.srcset=t.srcSet)}}catch(a){z0(x,x.return,a)}}function R9(x,e,t){try{var l=x.stateNode;Sr(l,x.type,t,e),l[Fx]=e}catch(a){z0(x,x.return,a)}}function as(x){return x.tag===5||x.tag===3||x.tag===26||x.tag===27&&Ue(x.type)||x.tag===4}function H9(x){x:for(;;){for(;x.sibling===null;){if(x.return===null||as(x.return))return null;x=x.return}for(x.sibling.return=x.return,x=x.sibling;x.tag!==5&&x.tag!==6&&x.tag!==18;){if(x.tag===27&&Ue(x.type)||x.flags&2||x.child===null||x.tag===4)continue x;x.child.return=x,x=x.child}if(!(x.flags&2))return x.stateNode}}function L9(x,e,t){var l=x.tag;if(l===5||l===6)x=x.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(x,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(x),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=ee));else if(l!==4&&(l===27&&Ue(x.type)&&(t=x.stateNode,e=null),x=x.child,x!==null))for(L9(x,e,t),x=x.sibling;x!==null;)L9(x,e,t),x=x.sibling}function za(x,e,t){var l=x.tag;if(l===5||l===6)x=x.stateNode,e?t.insertBefore(x,e):t.appendChild(x);else if(l!==4&&(l===27&&Ue(x.type)&&(t=x.stateNode),x=x.child,x!==null))for(za(x,e,t),x=x.sibling;x!==null;)za(x,e,t),x=x.sibling}function ns(x){var e=x.stateNode,t=x.memoizedProps;try{for(var l=x.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);rx(e,l,t),e[ux]=x,e[Fx]=t}catch(n){z0(x,x.return,n)}}var re=!1,I0=!1,q9=!1,cs=typeof WeakSet=="function"?WeakSet:Set,ax=null;function cr(x,e){if(x=x.containerInfo,sc=tn,x=D8(x),Mn(x)){if("selectionStart"in x)var t={start:x.selectionStart,end:x.selectionEnd};else x:{t=(t=x.ownerDocument)&&t.defaultView||window;var l=t.getSelection&&t.getSelection();if(l&&l.rangeCount!==0){t=l.anchorNode;var a=l.anchorOffset,n=l.focusNode;l=l.focusOffset;try{t.nodeType,n.nodeType}catch{t=null;break x}var c=0,u=-1,C=-1,N=0,Z=0,J=x,z=null;e:for(;;){for(var q;J!==t||a!==0&&J.nodeType!==3||(u=c+a),J!==n||l!==0&&J.nodeType!==3||(C=c+l),J.nodeType===3&&(c+=J.nodeValue.length),(q=J.firstChild)!==null;)z=J,J=q;for(;;){if(J===x)break e;if(z===t&&++N===a&&(u=c),z===n&&++Z===l&&(C=c),(q=J.nextSibling)!==null)break;J=z,z=J.parentNode}J=q}t=u===-1||C===-1?null:{start:u,end:C}}else t=null}t=t||{start:0,end:0}}else t=null;for(ic={focusedElem:x,selectionRange:t},tn=!1,ax=e;ax!==null;)if(e=ax,x=e.child,(e.subtreeFlags&1028)!==0&&x!==null)x.return=e,ax=x;else for(;ax!==null;){switch(e=ax,n=e.alternate,x=e.flags,e.tag){case 0:if((x&4)!==0&&(x=e.updateQueue,x=x!==null?x.events:null,x!==null))for(t=0;t<x.length;t++)a=x[t],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((x&1024)!==0&&n!==null){x=void 0,t=e,a=n.memoizedProps,n=n.memoizedState,l=t.stateNode;try{var i0=ct(t.type,a);x=l.getSnapshotBeforeUpdate(i0,n),l.__reactInternalSnapshotBeforeUpdate=x}catch(C0){z0(t,t.return,C0)}}break;case 3:if((x&1024)!==0){if(x=e.stateNode.containerInfo,t=x.nodeType,t===9)Ec(x);else if(t===1)switch(x.nodeName){case"HEAD":case"HTML":case"BODY":Ec(x);break;default:x.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((x&1024)!==0)throw Error(o(163))}if(x=e.sibling,x!==null){x.return=e.return,ax=x;break}ax=e.return}}function us(x,e,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:fe(x,t),l&4&&bl(5,t);break;case 1:if(fe(x,t),l&4)if(x=t.stateNode,e===null)try{x.componentDidMount()}catch(c){z0(t,t.return,c)}else{var a=ct(t.type,e.memoizedProps);e=e.memoizedState;try{x.componentDidUpdate(a,e,x.__reactInternalSnapshotBeforeUpdate)}catch(c){z0(t,t.return,c)}}l&64&&es(t),l&512&&Sl(t,t.return);break;case 3:if(fe(x,t),l&64&&(x=t.updateQueue,x!==null)){if(e=null,t.child!==null)switch(t.child.tag){case 27:case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}try{Q8(x,e)}catch(c){z0(t,t.return,c)}}break;case 27:e===null&&l&4&&ns(t);case 26:case 5:fe(x,t),e===null&&l&4&&ls(t),l&512&&Sl(t,t.return);break;case 12:fe(x,t);break;case 31:fe(x,t),l&4&&os(x,t);break;case 13:fe(x,t),l&4&&rs(x,t),l&64&&(x=t.memoizedState,x!==null&&(x=x.dehydrated,x!==null&&(t=Cr.bind(null,t),zr(x,t))));break;case 22:if(l=t.memoizedState!==null||re,!l){e=e!==null&&e.memoizedState!==null||I0,a=re;var n=I0;re=l,(I0=e)&&!n?Be(x,t,(t.subtreeFlags&8772)!==0):fe(x,t),re=a,I0=n}break;case 30:break;default:fe(x,t)}}function ss(x){var e=x.alternate;e!==null&&(x.alternate=null,ss(e)),x.child=null,x.deletions=null,x.sibling=null,x.tag===5&&(e=x.stateNode,e!==null&&An(e)),x.stateNode=null,x.return=null,x.dependencies=null,x.memoizedProps=null,x.memoizedState=null,x.pendingProps=null,x.stateNode=null,x.updateQueue=null}var X0=null,hx=!1;function Ee(x,e,t){for(t=t.child;t!==null;)is(x,e,t),t=t.sibling}function is(x,e,t){if(cx&&typeof cx.onCommitFiberUnmount=="function")try{cx.onCommitFiberUnmount(Xe,t)}catch{}switch(t.tag){case 26:I0||Wx(t,e),Ee(x,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:I0||Wx(t,e);var l=X0,a=hx;Ue(t.type)&&(X0=t.stateNode,hx=!1),Ee(x,e,t),Ol(t.stateNode),X0=l,hx=a;break;case 5:I0||Wx(t,e);case 6:if(l=X0,a=hx,X0=null,Ee(x,e,t),X0=l,hx=a,X0!==null)if(hx)try{(X0.nodeType===9?X0.body:X0.nodeName==="HTML"?X0.ownerDocument.body:X0).removeChild(t.stateNode)}catch(n){z0(t,e,n)}else try{X0.removeChild(t.stateNode)}catch(n){z0(t,e,n)}break;case 18:X0!==null&&(hx?(x=X0,ei(x.nodeType===9?x.body:x.nodeName==="HTML"?x.ownerDocument.body:x,t.stateNode),Pt(x)):ei(X0,t.stateNode));break;case 4:l=X0,a=hx,X0=t.stateNode.containerInfo,hx=!0,Ee(x,e,t),X0=l,hx=a;break;case 0:case 11:case 14:case 15:_e(2,t,e),I0||_e(4,t,e),Ee(x,e,t);break;case 1:I0||(Wx(t,e),l=t.stateNode,typeof l.componentWillUnmount=="function"&&ts(t,e,l)),Ee(x,e,t);break;case 21:Ee(x,e,t);break;case 22:I0=(l=I0)||t.memoizedState!==null,Ee(x,e,t),I0=l;break;default:Ee(x,e,t)}}function os(x,e){if(e.memoizedState===null&&(x=e.alternate,x!==null&&(x=x.memoizedState,x!==null))){x=x.dehydrated;try{Pt(x)}catch(t){z0(e,e.return,t)}}}function rs(x,e){if(e.memoizedState===null&&(x=e.alternate,x!==null&&(x=x.memoizedState,x!==null&&(x=x.dehydrated,x!==null))))try{Pt(x)}catch(t){z0(e,e.return,t)}}function ur(x){switch(x.tag){case 31:case 13:case 19:var e=x.stateNode;return e===null&&(e=x.stateNode=new cs),e;case 22:return x=x.stateNode,e=x._retryCache,e===null&&(e=x._retryCache=new cs),e;default:throw Error(o(435,x.tag))}}function Oa(x,e){var t=ur(x);e.forEach(function(l){if(!t.has(l)){t.add(l);var a=dr.bind(null,x,l);l.then(a,a)}})}function vx(x,e){var t=e.deletions;if(t!==null)for(var l=0;l<t.length;l++){var a=t[l],n=x,c=e,u=c;x:for(;u!==null;){switch(u.tag){case 27:if(Ue(u.type)){X0=u.stateNode,hx=!1;break x}break;case 5:X0=u.stateNode,hx=!1;break x;case 3:case 4:X0=u.stateNode.containerInfo,hx=!0;break x}u=u.return}if(X0===null)throw Error(o(160));is(n,c,a),X0=null,hx=!1,n=a.alternate,n!==null&&(n.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Es(e,x),e=e.sibling}var Vx=null;function Es(x,e){var t=x.alternate,l=x.flags;switch(x.tag){case 0:case 11:case 14:case 15:vx(e,x),yx(x),l&4&&(_e(3,x,x.return),bl(3,x),_e(5,x,x.return));break;case 1:vx(e,x),yx(x),l&512&&(I0||t===null||Wx(t,t.return)),l&64&&re&&(x=x.updateQueue,x!==null&&(l=x.callbacks,l!==null&&(t=x.shared.hiddenCallbacks,x.shared.hiddenCallbacks=t===null?l:t.concat(l))));break;case 26:var a=Vx;if(vx(e,x),yx(x),l&512&&(I0||t===null||Wx(t,t.return)),l&4){var n=t!==null?t.memoizedState:null;if(l=x.memoizedState,t===null)if(l===null)if(x.stateNode===null){x:{l=x.type,t=x.memoizedProps,a=a.ownerDocument||a;e:switch(l){case"title":n=a.getElementsByTagName("title")[0],(!n||n[xl]||n[ux]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=a.createElement(l),a.head.insertBefore(n,a.querySelector("head > title"))),rx(n,l,t),n[ux]=x,lx(n),l=n;break x;case"link":var c=Ei("link","href",a).get(l+(t.href||""));if(c){for(var u=0;u<c.length;u++)if(n=c[u],n.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&n.getAttribute("rel")===(t.rel==null?null:t.rel)&&n.getAttribute("title")===(t.title==null?null:t.title)&&n.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(u,1);break e}}n=a.createElement(l),rx(n,l,t),a.head.appendChild(n);break;case"meta":if(c=Ei("meta","content",a).get(l+(t.content||""))){for(u=0;u<c.length;u++)if(n=c[u],n.getAttribute("content")===(t.content==null?null:""+t.content)&&n.getAttribute("name")===(t.name==null?null:t.name)&&n.getAttribute("property")===(t.property==null?null:t.property)&&n.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&n.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(u,1);break e}}n=a.createElement(l),rx(n,l,t),a.head.appendChild(n);break;default:throw Error(o(468,l))}n[ux]=x,lx(n),l=n}x.stateNode=l}else fi(a,x.type,x.stateNode);else x.stateNode=ri(a,l,x.memoizedProps);else n!==l?(n===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):n.count--,l===null?fi(a,x.type,x.stateNode):ri(a,l,x.memoizedProps)):l===null&&x.stateNode!==null&&R9(x,x.memoizedProps,t.memoizedProps)}break;case 27:vx(e,x),yx(x),l&512&&(I0||t===null||Wx(t,t.return)),t!==null&&l&4&&R9(x,x.memoizedProps,t.memoizedProps);break;case 5:if(vx(e,x),yx(x),l&512&&(I0||t===null||Wx(t,t.return)),x.flags&32){a=x.stateNode;try{At(a,"")}catch(i0){z0(x,x.return,i0)}}l&4&&x.stateNode!=null&&(a=x.memoizedProps,R9(x,a,t!==null?t.memoizedProps:a)),l&1024&&(q9=!0);break;case 6:if(vx(e,x),yx(x),l&4){if(x.stateNode===null)throw Error(o(162));l=x.memoizedProps,t=x.stateNode;try{t.nodeValue=l}catch(i0){z0(x,x.return,i0)}}break;case 3:if(Wa=null,a=Vx,Vx=Ja(e.containerInfo),vx(e,x),Vx=a,yx(x),l&4&&t!==null&&t.memoizedState.isDehydrated)try{Pt(e.containerInfo)}catch(i0){z0(x,x.return,i0)}q9&&(q9=!1,fs(x));break;case 4:l=Vx,Vx=Ja(x.stateNode.containerInfo),vx(e,x),yx(x),Vx=l;break;case 12:vx(e,x),yx(x);break;case 31:vx(e,x),yx(x),l&4&&(l=x.updateQueue,l!==null&&(x.updateQueue=null,Oa(x,l)));break;case 13:vx(e,x),yx(x),x.child.flags&8192&&x.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(Ra=fx()),l&4&&(l=x.updateQueue,l!==null&&(x.updateQueue=null,Oa(x,l)));break;case 22:a=x.memoizedState!==null;var C=t!==null&&t.memoizedState!==null,N=re,Z=I0;if(re=N||a,I0=Z||C,vx(e,x),I0=Z,re=N,yx(x),l&8192)x:for(e=x.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(t===null||C||re||I0||ut(x)),t=null,e=x;;){if(e.tag===5||e.tag===26){if(t===null){C=t=e;try{if(n=C.stateNode,a)c=n.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{u=C.stateNode;var J=C.memoizedProps.style,z=J!=null&&J.hasOwnProperty("display")?J.display:null;u.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(i0){z0(C,C.return,i0)}}}else if(e.tag===6){if(t===null){C=e;try{C.stateNode.nodeValue=a?"":C.memoizedProps}catch(i0){z0(C,C.return,i0)}}}else if(e.tag===18){if(t===null){C=e;try{var q=C.stateNode;a?ti(q,!0):ti(C.stateNode,!1)}catch(i0){z0(C,C.return,i0)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===x)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===x)break x;for(;e.sibling===null;){if(e.return===null||e.return===x)break x;t===e&&(t=null),e=e.return}t===e&&(t=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=x.updateQueue,l!==null&&(t=l.retryQueue,t!==null&&(l.retryQueue=null,Oa(x,t))));break;case 19:vx(e,x),yx(x),l&4&&(l=x.updateQueue,l!==null&&(x.updateQueue=null,Oa(x,l)));break;case 30:break;case 21:break;default:vx(e,x),yx(x)}}function yx(x){var e=x.flags;if(e&2){try{for(var t,l=x.return;l!==null;){if(as(l)){t=l;break}l=l.return}if(t==null)throw Error(o(160));switch(t.tag){case 27:var a=t.stateNode,n=H9(x);za(x,n,a);break;case 5:var c=t.stateNode;t.flags&32&&(At(c,""),t.flags&=-33);var u=H9(x);za(x,u,c);break;case 3:case 4:var C=t.stateNode.containerInfo,N=H9(x);L9(x,N,C);break;default:throw Error(o(161))}}catch(Z){z0(x,x.return,Z)}x.flags&=-3}e&4096&&(x.flags&=-4097)}function fs(x){if(x.subtreeFlags&1024)for(x=x.child;x!==null;){var e=x;fs(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),x=x.sibling}}function fe(x,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)us(x,e.alternate,e),e=e.sibling}function ut(x){for(x=x.child;x!==null;){var e=x;switch(e.tag){case 0:case 11:case 14:case 15:_e(4,e,e.return),ut(e);break;case 1:Wx(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ts(e,e.return,t),ut(e);break;case 27:Ol(e.stateNode);case 26:case 5:Wx(e,e.return),ut(e);break;case 22:e.memoizedState===null&&ut(e);break;case 30:ut(e);break;default:ut(e)}x=x.sibling}}function Be(x,e,t){for(t=t&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,a=x,n=e,c=n.flags;switch(n.tag){case 0:case 11:case 15:Be(a,n,t),bl(4,n);break;case 1:if(Be(a,n,t),l=n,a=l.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(N){z0(l,l.return,N)}if(l=n,a=l.updateQueue,a!==null){var u=l.stateNode;try{var C=a.shared.hiddenCallbacks;if(C!==null)for(a.shared.hiddenCallbacks=null,a=0;a<C.length;a++)X8(C[a],u)}catch(N){z0(l,l.return,N)}}t&&c&64&&es(n),Sl(n,n.return);break;case 27:ns(n);case 26:case 5:Be(a,n,t),t&&l===null&&c&4&&ls(n),Sl(n,n.return);break;case 12:Be(a,n,t);break;case 31:Be(a,n,t),t&&c&4&&os(a,n);break;case 13:Be(a,n,t),t&&c&4&&rs(a,n);break;case 22:n.memoizedState===null&&Be(a,n,t),Sl(n,n.return);break;case 30:break;default:Be(a,n,t)}e=e.sibling}}function Y9(x,e){var t=null;x!==null&&x.memoizedState!==null&&x.memoizedState.cachePool!==null&&(t=x.memoizedState.cachePool.pool),x=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(x=e.memoizedState.cachePool.pool),x!==t&&(x!=null&&x.refCount++,t!=null&&fl(t))}function G9(x,e){x=null,e.alternate!==null&&(x=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==x&&(e.refCount++,x!=null&&fl(x))}function Zx(x,e,t,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bs(x,e,t,l),e=e.sibling}function Bs(x,e,t,l){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Zx(x,e,t,l),a&2048&&bl(9,e);break;case 1:Zx(x,e,t,l);break;case 3:Zx(x,e,t,l),a&2048&&(x=null,e.alternate!==null&&(x=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==x&&(e.refCount++,x!=null&&fl(x)));break;case 12:if(a&2048){Zx(x,e,t,l),x=e.stateNode;try{var n=e.memoizedProps,c=n.id,u=n.onPostCommit;typeof u=="function"&&u(c,e.alternate===null?"mount":"update",x.passiveEffectDuration,-0)}catch(C){z0(e,e.return,C)}}else Zx(x,e,t,l);break;case 31:Zx(x,e,t,l);break;case 13:Zx(x,e,t,l);break;case 23:break;case 22:n=e.stateNode,c=e.alternate,e.memoizedState!==null?n._visibility&2?Zx(x,e,t,l):kl(x,e):n._visibility&2?Zx(x,e,t,l):(n._visibility|=2,Ut(x,e,t,l,(e.subtreeFlags&10256)!==0||!1)),a&2048&&Y9(c,e);break;case 24:Zx(x,e,t,l),a&2048&&G9(e.alternate,e);break;default:Zx(x,e,t,l)}}function Ut(x,e,t,l,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var n=x,c=e,u=t,C=l,N=c.flags;switch(c.tag){case 0:case 11:case 15:Ut(n,c,u,C,a),bl(8,c);break;case 23:break;case 22:var Z=c.stateNode;c.memoizedState!==null?Z._visibility&2?Ut(n,c,u,C,a):kl(n,c):(Z._visibility|=2,Ut(n,c,u,C,a)),a&&N&2048&&Y9(c.alternate,c);break;case 24:Ut(n,c,u,C,a),a&&N&2048&&G9(c.alternate,c);break;default:Ut(n,c,u,C,a)}e=e.sibling}}function kl(x,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=x,l=e,a=l.flags;switch(l.tag){case 22:kl(t,l),a&2048&&Y9(l.alternate,l);break;case 24:kl(t,l),a&2048&&G9(l.alternate,l);break;default:kl(t,l)}e=e.sibling}}var wl=8192;function Rt(x,e,t){if(x.subtreeFlags&wl)for(x=x.child;x!==null;)Cs(x,e,t),x=x.sibling}function Cs(x,e,t){switch(x.tag){case 26:Rt(x,e,t),x.flags&wl&&x.memoizedState!==null&&Zr(t,Vx,x.memoizedState,x.memoizedProps);break;case 5:Rt(x,e,t);break;case 3:case 4:var l=Vx;Vx=Ja(x.stateNode.containerInfo),Rt(x,e,t),Vx=l;break;case 22:x.memoizedState===null&&(l=x.alternate,l!==null&&l.memoizedState!==null?(l=wl,wl=16777216,Rt(x,e,t),wl=l):Rt(x,e,t));break;default:Rt(x,e,t)}}function ds(x){var e=x.alternate;if(e!==null&&(x=e.child,x!==null)){e.child=null;do e=x.sibling,x.sibling=null,x=e;while(x!==null)}}function _l(x){var e=x.deletions;if((x.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var l=e[t];ax=l,Ds(l,x)}ds(x)}if(x.subtreeFlags&10256)for(x=x.child;x!==null;)As(x),x=x.sibling}function As(x){switch(x.tag){case 0:case 11:case 15:_l(x),x.flags&2048&&_e(9,x,x.return);break;case 3:_l(x);break;case 12:_l(x);break;case 22:var e=x.stateNode;x.memoizedState!==null&&e._visibility&2&&(x.return===null||x.return.tag!==13)?(e._visibility&=-3,Ua(x)):_l(x);break;default:_l(x)}}function Ua(x){var e=x.deletions;if((x.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var l=e[t];ax=l,Ds(l,x)}ds(x)}for(x=x.child;x!==null;){switch(e=x,e.tag){case 0:case 11:case 15:_e(8,e,e.return),Ua(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,Ua(e));break;default:Ua(e)}x=x.sibling}}function Ds(x,e){for(;ax!==null;){var t=ax;switch(t.tag){case 0:case 11:case 15:_e(8,t,e);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var l=t.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:fl(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,ax=l;else x:for(t=x;ax!==null;){l=ax;var a=l.sibling,n=l.return;if(ss(l),l===t){ax=null;break x}if(a!==null){a.return=n,ax=a;break x}ax=n}}}var sr={getCacheForType:function(x){var e=ix(J0),t=e.data.get(x);return t===void 0&&(t=x(),e.data.set(x,t)),t},cacheSignal:function(){return ix(J0).controller.signal}},ir=typeof WeakMap=="function"?WeakMap:Map,T0=0,q0=null,v0=null,p0=0,M0=0,_x=null,Te=!1,Ht=!1,X9=!1,Ce=0,V0=0,je=0,st=0,Q9=0,Tx=0,Lt=0,Tl=null,gx=null,V9=!1,Ra=0,Fs=0,Ha=1/0,La=null,Ne=null,xx=0,Me=null,qt=null,de=0,Z9=0,P9=null,ms=null,jl=0,K9=null;function jx(){return(T0&2)!==0&&p0!==0?p0&-p0:_.T!==null?ec():Oc()}function hs(){if(Tx===0)if((p0&536870912)===0||k0){var x=j0;j0<<=1,(j0&3932160)===0&&(j0=262144),Tx=x}else Tx=536870912;return x=kx.current,x!==null&&(x.flags|=32),Tx}function px(x,e,t){(x===q0&&(M0===2||M0===9)||x.cancelPendingCommit!==null)&&(Yt(x,0),ze(x,p0,Tx,!1)),Kx(x,t),((T0&2)===0||x!==q0)&&(x===q0&&((T0&2)===0&&(st|=t),V0===4&&ze(x,p0,Tx,!1)),Ix(x))}function vs(x,e,t){if((T0&6)!==0)throw Error(o(327));var l=!t&&(e&127)===0&&(e&x.expiredLanes)===0||Qe(x,e),a=l?Er(x,e):$9(x,e,!0),n=l;do{if(a===0){Ht&&!l&&ze(x,e,0,!1);break}else{if(t=x.current.alternate,n&&!or(t)){a=$9(x,e,!1),n=!1;continue}if(a===2){if(n=e,x.errorRecoveryDisabledLanes&n)var c=0;else c=x.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;x:{var u=x;a=Tl;var C=u.current.memoizedState.isDehydrated;if(C&&(Yt(u,c).flags|=256),c=$9(u,c,!1),c!==2){if(X9&&!C){u.errorRecoveryDisabledLanes|=n,st|=n,a=4;break x}n=gx,gx=a,n!==null&&(gx===null?gx=n:gx.push.apply(gx,n))}a=c}if(n=!1,a!==2)continue}}if(a===1){Yt(x,0),ze(x,e,0,!0);break}x:{switch(l=x,n=a,n){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:ze(l,e,Tx,!Te);break x;case 2:gx=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(a=Ra+300-fx(),10<a)){if(ze(l,e,Tx,!Te),De(l,0,!0)!==0)break x;de=e,l.timeoutHandle=Is(ys.bind(null,l,t,gx,La,V9,e,Tx,st,Lt,Te,n,"Throttled",-0,0),a);break x}ys(l,t,gx,La,V9,e,Tx,st,Lt,Te,n,null,-0,0)}}break}while(!0);Ix(x)}function ys(x,e,t,l,a,n,c,u,C,N,Z,J,z,q){if(x.timeoutHandle=-1,J=e.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ee},Cs(e,n,J);var i0=(n&62914560)===n?Ra-fx():(n&4194048)===n?Fs-fx():0;if(i0=Pr(J,i0),i0!==null){de=n,x.cancelPendingCommit=i0(Ts.bind(null,x,e,n,t,l,a,c,u,C,Z,J,null,z,q)),ze(x,n,c,!N);return}}Ts(x,e,n,t,l,a,c,u,C)}function or(x){for(var e=x;;){var t=e.tag;if((t===0||t===11||t===15)&&e.flags&16384&&(t=e.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var l=0;l<t.length;l++){var a=t[l],n=a.getSnapshot;a=a.value;try{if(!bx(n(),a))return!1}catch{return!1}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===x)break;for(;e.sibling===null;){if(e.return===null||e.return===x)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ze(x,e,t,l){e&=~Q9,e&=~st,x.suspendedLanes|=e,x.pingedLanes&=~e,l&&(x.warmLanes|=e),l=x.expirationTimes;for(var a=e;0<a;){var n=31-Ax(a),c=1<<n;l[n]=-1,a&=~c}t!==0&&Nc(x,t,e)}function qa(){return(T0&6)===0?(Nl(0),!1):!0}function J9(){if(v0!==null){if(M0===0)var x=v0.return;else x=v0,ne=Ie=null,E9(x),jt=null,Cl=0,x=v0;for(;x!==null;)xs(x.alternate,x),x=x.return;v0=null}}function Yt(x,e){var t=x.timeoutHandle;t!==-1&&(x.timeoutHandle=-1,_r(t)),t=x.cancelPendingCommit,t!==null&&(x.cancelPendingCommit=null,t()),de=0,J9(),q0=x,v0=t=le(x.current,null),p0=e,M0=0,_x=null,Te=!1,Ht=Qe(x,e),X9=!1,Lt=Tx=Q9=st=je=V0=0,gx=Tl=null,V9=!1,(e&8)!==0&&(e|=e&32);var l=x.entangledLanes;if(l!==0)for(x=x.entanglements,l&=e;0<l;){var a=31-Ax(l),n=1<<a;e|=x[a],l&=~n}return Ce=e,sa(),t}function gs(x,e){D0=null,_.H=yl,e===Tt||e===da?(e=L8(),M0=3):e===x9?(e=L8(),M0=4):M0=e===k9?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,_x=e,v0===null&&(V0=1,_a(x,Ux(e,x.current)))}function ps(){var x=kx.current;return x===null?!0:(p0&4194048)===p0?qx===null:(p0&62914560)===p0||(p0&536870912)!==0?x===qx:!1}function bs(){var x=_.H;return _.H=yl,x===null?yl:x}function Ss(){var x=_.A;return _.A=sr,x}function Ya(){V0=4,Te||(p0&4194048)!==p0&&kx.current!==null||(Ht=!0),(je&134217727)===0&&(st&134217727)===0||q0===null||ze(q0,p0,Tx,!1)}function $9(x,e,t){var l=T0;T0|=2;var a=bs(),n=Ss();(q0!==x||p0!==e)&&(La=null,Yt(x,e)),e=!1;var c=V0;x:do try{if(M0!==0&&v0!==null){var u=v0,C=_x;switch(M0){case 8:J9(),c=6;break x;case 3:case 2:case 9:case 6:kx.current===null&&(e=!0);var N=M0;if(M0=0,_x=null,Gt(x,u,C,N),t&&Ht){c=0;break x}break;default:N=M0,M0=0,_x=null,Gt(x,u,C,N)}}rr(),c=V0;break}catch(Z){gs(x,Z)}while(!0);return e&&x.shellSuspendCounter++,ne=Ie=null,T0=l,_.H=a,_.A=n,v0===null&&(q0=null,p0=0,sa()),c}function rr(){for(;v0!==null;)ks(v0)}function Er(x,e){var t=T0;T0|=2;var l=bs(),a=Ss();q0!==x||p0!==e?(La=null,Ha=fx()+500,Yt(x,e)):Ht=Qe(x,e);x:do try{if(M0!==0&&v0!==null){e=v0;var n=_x;e:switch(M0){case 1:M0=0,_x=null,Gt(x,e,n,1);break;case 2:case 9:if(R8(n)){M0=0,_x=null,ws(e);break}e=function(){M0!==2&&M0!==9||q0!==x||(M0=7),Ix(x)},n.then(e,e);break x;case 3:M0=7;break x;case 4:M0=5;break x;case 7:R8(n)?(M0=0,_x=null,ws(e)):(M0=0,_x=null,Gt(x,e,n,7));break;case 5:var c=null;switch(v0.tag){case 26:c=v0.memoizedState;case 5:case 27:var u=v0;if(c?Bi(c):u.stateNode.complete){M0=0,_x=null;var C=u.sibling;if(C!==null)v0=C;else{var N=u.return;N!==null?(v0=N,Ga(N)):v0=null}break e}}M0=0,_x=null,Gt(x,e,n,5);break;case 6:M0=0,_x=null,Gt(x,e,n,6);break;case 8:J9(),V0=6;break x;default:throw Error(o(462))}}fr();break}catch(Z){gs(x,Z)}while(!0);return ne=Ie=null,_.H=l,_.A=a,T0=t,v0!==null?0:(q0=null,p0=0,sa(),V0)}function fr(){for(;v0!==null&&!Vl();)ks(v0)}function ks(x){var e=Wu(x.alternate,x,Ce);x.memoizedProps=x.pendingProps,e===null?Ga(x):v0=e}function ws(x){var e=x,t=e.alternate;switch(e.tag){case 15:case 0:e=Vu(t,e,e.pendingProps,e.type,void 0,p0);break;case 11:e=Vu(t,e,e.pendingProps,e.type.render,e.ref,p0);break;case 5:E9(e);default:xs(t,e),e=v0=S8(e,Ce),e=Wu(t,e,Ce)}x.memoizedProps=x.pendingProps,e===null?Ga(x):v0=e}function Gt(x,e,t,l){ne=Ie=null,E9(e),jt=null,Cl=0;var a=e.return;try{if(er(x,a,e,t,p0)){V0=1,_a(x,Ux(t,x.current)),v0=null;return}}catch(n){if(a!==null)throw v0=a,n;V0=1,_a(x,Ux(t,x.current)),v0=null;return}e.flags&32768?(k0||l===1?x=!0:Ht||(p0&536870912)!==0?x=!1:(Te=x=!0,(l===2||l===9||l===3||l===6)&&(l=kx.current,l!==null&&l.tag===13&&(l.flags|=16384))),_s(e,x)):Ga(e)}function Ga(x){var e=x;do{if((e.flags&32768)!==0){_s(e,Te);return}x=e.return;var t=ar(e.alternate,e,Ce);if(t!==null){v0=t;return}if(e=e.sibling,e!==null){v0=e;return}v0=e=x}while(e!==null);V0===0&&(V0=5)}function _s(x,e){do{var t=nr(x.alternate,x);if(t!==null){t.flags&=32767,v0=t;return}if(t=x.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!e&&(x=x.sibling,x!==null)){v0=x;return}v0=x=t}while(x!==null);V0=6,v0=null}function Ts(x,e,t,l,a,n,c,u,C){x.cancelPendingCommit=null;do Xa();while(xx!==0);if((T0&6)!==0)throw Error(o(327));if(e!==null){if(e===x.current)throw Error(o(177));if(n=e.lanes|e.childLanes,n|=Hn,Qi(x,t,n,c,u,C),x===q0&&(v0=q0=null,p0=0),qt=e,Me=x,de=t,Z9=n,P9=a,ms=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(x.callbackNode=null,x.callbackPriority=0,Ar(ot,function(){return Os(),null})):(x.callbackNode=null,x.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=_.T,_.T=null,a=O.p,O.p=2,c=T0,T0|=4;try{cr(x,e,t)}finally{T0=c,O.p=a,_.T=l}}xx=1,js(),Ns(),Ms()}}function js(){if(xx===1){xx=0;var x=Me,e=qt,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=_.T,_.T=null;var l=O.p;O.p=2;var a=T0;T0|=4;try{Es(e,x);var n=ic,c=D8(x.containerInfo),u=n.focusedElem,C=n.selectionRange;if(c!==u&&u&&u.ownerDocument&&A8(u.ownerDocument.documentElement,u)){if(C!==null&&Mn(u)){var N=C.start,Z=C.end;if(Z===void 0&&(Z=N),"selectionStart"in u)u.selectionStart=N,u.selectionEnd=Math.min(Z,u.value.length);else{var J=u.ownerDocument||document,z=J&&J.defaultView||window;if(z.getSelection){var q=z.getSelection(),i0=u.textContent.length,C0=Math.min(C.start,i0),H0=C.end===void 0?C0:Math.min(C.end,i0);!q.extend&&C0>H0&&(c=H0,H0=C0,C0=c);var k=d8(u,C0),F=d8(u,H0);if(k&&F&&(q.rangeCount!==1||q.anchorNode!==k.node||q.anchorOffset!==k.offset||q.focusNode!==F.node||q.focusOffset!==F.offset)){var T=J.createRange();T.setStart(k.node,k.offset),q.removeAllRanges(),C0>H0?(q.addRange(T),q.extend(F.node,F.offset)):(T.setEnd(F.node,F.offset),q.addRange(T))}}}}for(J=[],q=u;q=q.parentNode;)q.nodeType===1&&J.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<J.length;u++){var K=J[u];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}tn=!!sc,ic=sc=null}finally{T0=a,O.p=l,_.T=t}}x.current=e,xx=2}}function Ns(){if(xx===2){xx=0;var x=Me,e=qt,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=_.T,_.T=null;var l=O.p;O.p=2;var a=T0;T0|=4;try{us(x,e.alternate,e)}finally{T0=a,O.p=l,_.T=t}}xx=3}}function Ms(){if(xx===4||xx===3){xx=0,Zl();var x=Me,e=qt,t=de,l=ms;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?xx=5:(xx=0,qt=Me=null,zs(x,x.pendingLanes));var a=x.pendingLanes;if(a===0&&(Ne=null),Cn(t),e=e.stateNode,cx&&typeof cx.onCommitFiberRoot=="function")try{cx.onCommitFiberRoot(Xe,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=_.T,a=O.p,O.p=2,_.T=null;try{for(var n=x.onRecoverableError,c=0;c<l.length;c++){var u=l[c];n(u.value,{componentStack:u.stack})}}finally{_.T=e,O.p=a}}(de&3)!==0&&Xa(),Ix(x),a=x.pendingLanes,(t&261930)!==0&&(a&42)!==0?x===K9?jl++:(jl=0,K9=x):jl=0,Nl(0)}}function zs(x,e){(x.pooledCacheLanes&=e)===0&&(e=x.pooledCache,e!=null&&(x.pooledCache=null,fl(e)))}function Xa(){return js(),Ns(),Ms(),Os()}function Os(){if(xx!==5)return!1;var x=Me,e=Z9;Z9=0;var t=Cn(de),l=_.T,a=O.p;try{O.p=32>t?32:t,_.T=null,t=P9,P9=null;var n=Me,c=de;if(xx=0,qt=Me=null,de=0,(T0&6)!==0)throw Error(o(331));var u=T0;if(T0|=4,As(n.current),Bs(n,n.current,c,t),T0=u,Nl(0,!1),cx&&typeof cx.onPostCommitFiberRoot=="function")try{cx.onPostCommitFiberRoot(Xe,n)}catch{}return!0}finally{O.p=a,_.T=l,zs(x,e)}}function Us(x,e,t){e=Ux(t,e),e=S9(x.stateNode,e,2),x=Se(x,e,2),x!==null&&(Kx(x,2),Ix(x))}function z0(x,e,t){if(x.tag===3)Us(x,x,t);else for(;e!==null;){if(e.tag===3){Us(e,x,t);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ne===null||!Ne.has(l))){x=Ux(t,x),t=Ru(2),l=Se(e,t,2),l!==null&&(Hu(t,l,e,x),Kx(l,2),Ix(l));break}}e=e.return}}function W9(x,e,t){var l=x.pingCache;if(l===null){l=x.pingCache=new ir;var a=new Set;l.set(e,a)}else a=l.get(e),a===void 0&&(a=new Set,l.set(e,a));a.has(t)||(X9=!0,a.add(t),x=Br.bind(null,x,e,t),e.then(x,x))}function Br(x,e,t){var l=x.pingCache;l!==null&&l.delete(e),x.pingedLanes|=x.suspendedLanes&t,x.warmLanes&=~t,q0===x&&(p0&t)===t&&(V0===4||V0===3&&(p0&62914560)===p0&&300>fx()-Ra?(T0&2)===0&&Yt(x,0):Q9|=t,Lt===p0&&(Lt=0)),Ix(x)}function Rs(x,e){e===0&&(e=Wt()),x=Je(x,e),x!==null&&(Kx(x,e),Ix(x))}function Cr(x){var e=x.memoizedState,t=0;e!==null&&(t=e.retryLane),Rs(x,t)}function dr(x,e){var t=0;switch(x.tag){case 31:case 13:var l=x.stateNode,a=x.memoizedState;a!==null&&(t=a.retryLane);break;case 19:l=x.stateNode;break;case 22:l=x.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(e),Rs(x,t)}function Ar(x,e){return Ge(x,e)}var Qa=null,Xt=null,I9=!1,Va=!1,xc=!1,Oe=0;function Ix(x){x!==Xt&&x.next===null&&(Xt===null?Qa=Xt=x:Xt=Xt.next=x),Va=!0,I9||(I9=!0,Fr())}function Nl(x,e){if(!xc&&Va){xc=!0;do for(var t=!1,l=Qa;l!==null;){if(x!==0){var a=l.pendingLanes;if(a===0)var n=0;else{var c=l.suspendedLanes,u=l.pingedLanes;n=(1<<31-Ax(42|x)+1)-1,n&=a&~(c&~u),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(t=!0,Ys(l,n))}else n=p0,n=De(l,l===q0?n:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(n&3)===0||Qe(l,n)||(t=!0,Ys(l,n));l=l.next}while(t);xc=!1}}function Dr(){Hs()}function Hs(){Va=I9=!1;var x=0;Oe!==0&&wr()&&(x=Oe);for(var e=fx(),t=null,l=Qa;l!==null;){var a=l.next,n=Ls(l,e);n===0?(l.next=null,t===null?Qa=a:t.next=a,a===null&&(Xt=t)):(t=l,(x!==0||(n&3)!==0)&&(Va=!0)),l=a}xx!==0&&xx!==5||Nl(x),Oe!==0&&(Oe=0)}function Ls(x,e){for(var t=x.suspendedLanes,l=x.pingedLanes,a=x.expirationTimes,n=x.pendingLanes&-62914561;0<n;){var c=31-Ax(n),u=1<<c,C=a[c];C===-1?((u&t)===0||(u&l)!==0)&&(a[c]=Jl(u,e)):C<=e&&(x.expiredLanes|=u),n&=~u}if(e=q0,t=p0,t=De(x,x===e?t:0,x.cancelPendingCommit!==null||x.timeoutHandle!==-1),l=x.callbackNode,t===0||x===e&&(M0===2||M0===9)||x.cancelPendingCommit!==null)return l!==null&&l!==null&&Z0(l),x.callbackNode=null,x.callbackPriority=0;if((t&3)===0||Qe(x,t)){if(e=t&-t,e===x.callbackPriority)return e;switch(l!==null&&Z0(l),Cn(t)){case 2:case 8:t=Jt;break;case 32:t=ot;break;case 268435456:t=Kl;break;default:t=ot}return l=qs.bind(null,x),t=Ge(t,l),x.callbackPriority=e,x.callbackNode=t,e}return l!==null&&l!==null&&Z0(l),x.callbackPriority=2,x.callbackNode=null,2}function qs(x,e){if(xx!==0&&xx!==5)return x.callbackNode=null,x.callbackPriority=0,null;var t=x.callbackNode;if(Xa()&&x.callbackNode!==t)return null;var l=p0;return l=De(x,x===q0?l:0,x.cancelPendingCommit!==null||x.timeoutHandle!==-1),l===0?null:(vs(x,l,e),Ls(x,fx()),x.callbackNode!=null&&x.callbackNode===t?qs.bind(null,x):null)}function Ys(x,e){if(Xa())return null;vs(x,e,!0)}function Fr(){Tr(function(){(T0&6)!==0?Ge(Kt,Dr):Hs()})}function ec(){if(Oe===0){var x=wt;x===0&&(x=F0,F0<<=1,(F0&261888)===0&&(F0=256)),Oe=x}return Oe}function Gs(x){return x==null||typeof x=="symbol"||typeof x=="boolean"?null:typeof x=="function"?x:xa(""+x)}function Xs(x,e){var t=e.ownerDocument.createElement("input");return t.name=e.name,t.value=e.value,x.id&&t.setAttribute("form",x.id),e.parentNode.insertBefore(t,e),x=new FormData(x),t.parentNode.removeChild(t),x}function mr(x,e,t,l,a){if(e==="submit"&&t&&t.stateNode===a){var n=Gs((a[Fx]||null).action),c=l.submitter;c&&(e=(e=c[Fx]||null)?Gs(e.formAction):c.getAttribute("formAction"),e!==null&&(n=e,c=null));var u=new aa("action","action",null,l,a);x.push({event:u,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Oe!==0){var C=c?Xs(a,c):new FormData(a);h9(t,{pending:!0,data:C,method:a.method,action:n},null,C)}}else typeof n=="function"&&(u.preventDefault(),C=c?Xs(a,c):new FormData(a),h9(t,{pending:!0,data:C,method:a.method,action:n},n,C))},currentTarget:a}]})}}for(var tc=0;tc<Rn.length;tc++){var lc=Rn[tc],hr=lc.toLowerCase(),vr=lc[0].toUpperCase()+lc.slice(1);Qx(hr,"on"+vr)}Qx(h8,"onAnimationEnd"),Qx(v8,"onAnimationIteration"),Qx(y8,"onAnimationStart"),Qx("dblclick","onDoubleClick"),Qx("focusin","onFocus"),Qx("focusout","onBlur"),Qx(Ro,"onTransitionRun"),Qx(Ho,"onTransitionStart"),Qx(Lo,"onTransitionCancel"),Qx(g8,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),Ve("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ve("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ve("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ve("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ve("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ve("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ml="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),yr=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ml));function Qs(x,e){e=(e&4)!==0;for(var t=0;t<x.length;t++){var l=x[t],a=l.event;l=l.listeners;x:{var n=void 0;if(e)for(var c=l.length-1;0<=c;c--){var u=l[c],C=u.instance,N=u.currentTarget;if(u=u.listener,C!==n&&a.isPropagationStopped())break x;n=u,a.currentTarget=N;try{n(a)}catch(Z){ua(Z)}a.currentTarget=null,n=C}else for(c=0;c<l.length;c++){if(u=l[c],C=u.instance,N=u.currentTarget,u=u.listener,C!==n&&a.isPropagationStopped())break x;n=u,a.currentTarget=N;try{n(a)}catch(Z){ua(Z)}a.currentTarget=null,n=C}}}}function y0(x,e){var t=e[dn];t===void 0&&(t=e[dn]=new Set);var l=x+"__bubble";t.has(l)||(Vs(e,x,2,!1),t.add(l))}function ac(x,e,t){var l=0;e&&(l|=4),Vs(t,x,l,e)}var Za="_reactListening"+Math.random().toString(36).slice(2);function nc(x){if(!x[Za]){x[Za]=!0,Hc.forEach(function(t){t!=="selectionchange"&&(yr.has(t)||ac(t,!1,x),ac(t,!0,x))});var e=x.nodeType===9?x:x.ownerDocument;e===null||e[Za]||(e[Za]=!0,ac("selectionchange",!1,e))}}function Vs(x,e,t,l){switch(hi(e)){case 2:var a=$r;break;case 8:a=Wr;break;default:a=mc}t=a.bind(null,e,t,x),a=void 0,!pn||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),l?a!==void 0?x.addEventListener(e,t,{capture:!0,passive:a}):x.addEventListener(e,t,!0):a!==void 0?x.addEventListener(e,t,{passive:a}):x.addEventListener(e,t,!1)}function cc(x,e,t,l,a){var n=l;if((e&1)===0&&(e&2)===0&&l!==null)x:for(;;){if(l===null)return;var c=l.tag;if(c===3||c===4){var u=l.stateNode.containerInfo;if(u===a)break;if(c===4)for(c=l.return;c!==null;){var C=c.tag;if((C===3||C===4)&&c.stateNode.containerInfo===a)return;c=c.return}for(;u!==null;){if(c=Et(u),c===null)return;if(C=c.tag,C===5||C===6||C===26||C===27){l=n=c;continue x}u=u.parentNode}}l=l.return}$c(function(){var N=n,Z=yn(t),J=[];x:{var z=p8.get(x);if(z!==void 0){var q=aa,i0=x;switch(x){case"keypress":if(ta(t)===0)break x;case"keydown":case"keyup":q=Co;break;case"focusin":i0="focus",q=wn;break;case"focusout":i0="blur",q=wn;break;case"beforeblur":case"afterblur":q=wn;break;case"click":if(t.button===2)break x;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=x8;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=lo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=Fo;break;case h8:case v8:case y8:q=co;break;case g8:q=ho;break;case"scroll":case"scrollend":q=eo;break;case"wheel":q=yo;break;case"copy":case"cut":case"paste":q=so;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=t8;break;case"toggle":case"beforetoggle":q=po}var C0=(e&4)!==0,H0=!C0&&(x==="scroll"||x==="scrollend"),k=C0?z!==null?z+"Capture":null:z;C0=[];for(var F=N,T;F!==null;){var K=F;if(T=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||T===null||k===null||(K=tl(F,k),K!=null&&C0.push(zl(F,K,T))),H0)break;F=F.return}0<C0.length&&(z=new q(z,i0,null,t,Z),J.push({event:z,listeners:C0}))}}if((e&7)===0){x:{if(z=x==="mouseover"||x==="pointerover",q=x==="mouseout"||x==="pointerout",z&&t!==vn&&(i0=t.relatedTarget||t.fromElement)&&(Et(i0)||i0[rt]))break x;if((q||z)&&(z=Z.window===Z?Z:(z=Z.ownerDocument)?z.defaultView||z.parentWindow:window,q?(i0=t.relatedTarget||t.toElement,q=N,i0=i0?Et(i0):null,i0!==null&&(H0=R(i0),C0=i0.tag,i0!==H0||C0!==5&&C0!==27&&C0!==6)&&(i0=null)):(q=null,i0=N),q!==i0)){if(C0=x8,K="onMouseLeave",k="onMouseEnter",F="mouse",(x==="pointerout"||x==="pointerover")&&(C0=t8,K="onPointerLeave",k="onPointerEnter",F="pointer"),H0=q==null?z:el(q),T=i0==null?z:el(i0),z=new C0(K,F+"leave",q,t,Z),z.target=H0,z.relatedTarget=T,K=null,Et(Z)===N&&(C0=new C0(k,F+"enter",i0,t,Z),C0.target=T,C0.relatedTarget=H0,K=C0),H0=K,q&&i0)e:{for(C0=gr,k=q,F=i0,T=0,K=k;K;K=C0(K))T++;K=0;for(var E0=F;E0;E0=C0(E0))K++;for(;0<T-K;)k=C0(k),T--;for(;0<K-T;)F=C0(F),K--;for(;T--;){if(k===F||F!==null&&k===F.alternate){C0=k;break e}k=C0(k),F=C0(F)}C0=null}else C0=null;q!==null&&Zs(J,z,q,C0,!1),i0!==null&&H0!==null&&Zs(J,H0,i0,C0,!0)}}x:{if(z=N?el(N):window,q=z.nodeName&&z.nodeName.toLowerCase(),q==="select"||q==="input"&&z.type==="file")var w0=o8;else if(s8(z))if(r8)w0=zo;else{w0=No;var o0=jo}else q=z.nodeName,!q||q.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?N&&hn(N.elementType)&&(w0=o8):w0=Mo;if(w0&&(w0=w0(x,N))){i8(J,w0,t,Z);break x}o0&&o0(x,z,N),x==="focusout"&&N&&z.type==="number"&&N.memoizedProps.value!=null&&mn(z,"number",z.value)}switch(o0=N?el(N):window,x){case"focusin":(s8(o0)||o0.contentEditable==="true")&&(ht=o0,zn=N,ol=null);break;case"focusout":ol=zn=ht=null;break;case"mousedown":On=!0;break;case"contextmenu":case"mouseup":case"dragend":On=!1,F8(J,t,Z);break;case"selectionchange":if(Uo)break;case"keydown":case"keyup":F8(J,t,Z)}var m0;if(Tn)x:{switch(x){case"compositionstart":var b0="onCompositionStart";break x;case"compositionend":b0="onCompositionEnd";break x;case"compositionupdate":b0="onCompositionUpdate";break x}b0=void 0}else mt?c8(x,t)&&(b0="onCompositionEnd"):x==="keydown"&&t.keyCode===229&&(b0="onCompositionStart");b0&&(l8&&t.locale!=="ko"&&(mt||b0!=="onCompositionStart"?b0==="onCompositionEnd"&&mt&&(m0=Wc()):(me=Z,bn="value"in me?me.value:me.textContent,mt=!0)),o0=Pa(N,b0),0<o0.length&&(b0=new e8(b0,x,null,t,Z),J.push({event:b0,listeners:o0}),m0?b0.data=m0:(m0=u8(t),m0!==null&&(b0.data=m0)))),(m0=So?ko(x,t):wo(x,t))&&(b0=Pa(N,"onBeforeInput"),0<b0.length&&(o0=new e8("onBeforeInput","beforeinput",null,t,Z),J.push({event:o0,listeners:b0}),o0.data=m0)),mr(J,x,N,t,Z)}Qs(J,e)})}function zl(x,e,t){return{instance:x,listener:e,currentTarget:t}}function Pa(x,e){for(var t=e+"Capture",l=[];x!==null;){var a=x,n=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||n===null||(a=tl(x,t),a!=null&&l.unshift(zl(x,a,n)),a=tl(x,e),a!=null&&l.push(zl(x,a,n))),x.tag===3)return l;x=x.return}return[]}function gr(x){if(x===null)return null;do x=x.return;while(x&&x.tag!==5&&x.tag!==27);return x||null}function Zs(x,e,t,l,a){for(var n=e._reactName,c=[];t!==null&&t!==l;){var u=t,C=u.alternate,N=u.stateNode;if(u=u.tag,C!==null&&C===l)break;u!==5&&u!==26&&u!==27||N===null||(C=N,a?(N=tl(t,n),N!=null&&c.unshift(zl(t,N,C))):a||(N=tl(t,n),N!=null&&c.push(zl(t,N,C)))),t=t.return}c.length!==0&&x.push({event:e,listeners:c})}var pr=/\r\n?/g,br=/\u0000|\uFFFD/g;function Ps(x){return(typeof x=="string"?x:""+x).replace(pr,`
`).replace(br,"")}function Ks(x,e){return e=Ps(e),Ps(x)===e}function R0(x,e,t,l,a,n){switch(t){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||At(x,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&At(x,""+l);break;case"className":Wl(x,"class",l);break;case"tabIndex":Wl(x,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Wl(x,t,l);break;case"style":Kc(x,l,n);break;case"data":if(e!=="object"){Wl(x,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||t!=="href")){x.removeAttribute(t);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){x.removeAttribute(t);break}l=xa(""+l),x.setAttribute(t,l);break;case"action":case"formAction":if(typeof l=="function"){x.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(t==="formAction"?(e!=="input"&&R0(x,e,"name",a.name,a,null),R0(x,e,"formEncType",a.formEncType,a,null),R0(x,e,"formMethod",a.formMethod,a,null),R0(x,e,"formTarget",a.formTarget,a,null)):(R0(x,e,"encType",a.encType,a,null),R0(x,e,"method",a.method,a,null),R0(x,e,"target",a.target,a,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){x.removeAttribute(t);break}l=xa(""+l),x.setAttribute(t,l);break;case"onClick":l!=null&&(x.onclick=ee);break;case"onScroll":l!=null&&y0("scroll",x);break;case"onScrollEnd":l!=null&&y0("scrollend",x);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(t=l.__html,t!=null){if(a.children!=null)throw Error(o(60));x.innerHTML=t}}break;case"multiple":x.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":x.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){x.removeAttribute("xlink:href");break}t=xa(""+l),x.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?x.setAttribute(t,""+l):x.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?x.setAttribute(t,""):x.removeAttribute(t);break;case"capture":case"download":l===!0?x.setAttribute(t,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?x.setAttribute(t,l):x.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?x.setAttribute(t,l):x.removeAttribute(t);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?x.removeAttribute(t):x.setAttribute(t,l);break;case"popover":y0("beforetoggle",x),y0("toggle",x),$l(x,"popover",l);break;case"xlinkActuate":xe(x,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":xe(x,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":xe(x,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":xe(x,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":xe(x,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":xe(x,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":xe(x,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":xe(x,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":xe(x,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":$l(x,"is",l);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=Ii.get(t)||t,$l(x,t,l))}}function uc(x,e,t,l,a,n){switch(t){case"style":Kc(x,l,n);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(t=l.__html,t!=null){if(a.children!=null)throw Error(o(60));x.innerHTML=t}}break;case"children":typeof l=="string"?At(x,l):(typeof l=="number"||typeof l=="bigint")&&At(x,""+l);break;case"onScroll":l!=null&&y0("scroll",x);break;case"onScrollEnd":l!=null&&y0("scrollend",x);break;case"onClick":l!=null&&(x.onclick=ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Lc.hasOwnProperty(t))x:{if(t[0]==="o"&&t[1]==="n"&&(a=t.endsWith("Capture"),e=t.slice(2,a?t.length-7:void 0),n=x[Fx]||null,n=n!=null?n[t]:null,typeof n=="function"&&x.removeEventListener(e,n,a),typeof l=="function")){typeof n!="function"&&n!==null&&(t in x?x[t]=null:x.hasAttribute(t)&&x.removeAttribute(t)),x.addEventListener(e,l,a);break x}t in x?x[t]=l:l===!0?x.setAttribute(t,""):$l(x,t,l)}}}function rx(x,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":y0("error",x),y0("load",x);var l=!1,a=!1,n;for(n in t)if(t.hasOwnProperty(n)){var c=t[n];if(c!=null)switch(n){case"src":l=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:R0(x,e,n,c,t,null)}}a&&R0(x,e,"srcSet",t.srcSet,t,null),l&&R0(x,e,"src",t.src,t,null);return;case"input":y0("invalid",x);var u=n=c=a=null,C=null,N=null;for(l in t)if(t.hasOwnProperty(l)){var Z=t[l];if(Z!=null)switch(l){case"name":a=Z;break;case"type":c=Z;break;case"checked":C=Z;break;case"defaultChecked":N=Z;break;case"value":n=Z;break;case"defaultValue":u=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(o(137,e));break;default:R0(x,e,l,Z,t,null)}}Qc(x,n,u,C,N,c,a,!1);return;case"select":y0("invalid",x),l=c=n=null;for(a in t)if(t.hasOwnProperty(a)&&(u=t[a],u!=null))switch(a){case"value":n=u;break;case"defaultValue":c=u;break;case"multiple":l=u;default:R0(x,e,a,u,t,null)}e=n,t=c,x.multiple=!!l,e!=null?dt(x,!!l,e,!1):t!=null&&dt(x,!!l,t,!0);return;case"textarea":y0("invalid",x),n=a=l=null;for(c in t)if(t.hasOwnProperty(c)&&(u=t[c],u!=null))switch(c){case"value":l=u;break;case"defaultValue":a=u;break;case"children":n=u;break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:R0(x,e,c,u,t,null)}Zc(x,l,a,n);return;case"option":for(C in t)if(t.hasOwnProperty(C)&&(l=t[C],l!=null))switch(C){case"selected":x.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:R0(x,e,C,l,t,null)}return;case"dialog":y0("beforetoggle",x),y0("toggle",x),y0("cancel",x),y0("close",x);break;case"iframe":case"object":y0("load",x);break;case"video":case"audio":for(l=0;l<Ml.length;l++)y0(Ml[l],x);break;case"image":y0("error",x),y0("load",x);break;case"details":y0("toggle",x);break;case"embed":case"source":case"link":y0("error",x),y0("load",x);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in t)if(t.hasOwnProperty(N)&&(l=t[N],l!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:R0(x,e,N,l,t,null)}return;default:if(hn(e)){for(Z in t)t.hasOwnProperty(Z)&&(l=t[Z],l!==void 0&&uc(x,e,Z,l,t,void 0));return}}for(u in t)t.hasOwnProperty(u)&&(l=t[u],l!=null&&R0(x,e,u,l,t,null))}function Sr(x,e,t,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,n=null,c=null,u=null,C=null,N=null,Z=null;for(q in t){var J=t[q];if(t.hasOwnProperty(q)&&J!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":C=J;default:l.hasOwnProperty(q)||R0(x,e,q,null,l,J)}}for(var z in l){var q=l[z];if(J=t[z],l.hasOwnProperty(z)&&(q!=null||J!=null))switch(z){case"type":n=q;break;case"name":a=q;break;case"checked":N=q;break;case"defaultChecked":Z=q;break;case"value":c=q;break;case"defaultValue":u=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,e));break;default:q!==J&&R0(x,e,z,q,l,J)}}Fn(x,c,u,C,N,Z,n,a);return;case"select":q=c=u=z=null;for(n in t)if(C=t[n],t.hasOwnProperty(n)&&C!=null)switch(n){case"value":break;case"multiple":q=C;default:l.hasOwnProperty(n)||R0(x,e,n,null,l,C)}for(a in l)if(n=l[a],C=t[a],l.hasOwnProperty(a)&&(n!=null||C!=null))switch(a){case"value":z=n;break;case"defaultValue":u=n;break;case"multiple":c=n;default:n!==C&&R0(x,e,a,n,l,C)}e=u,t=c,l=q,z!=null?dt(x,!!t,z,!1):!!l!=!!t&&(e!=null?dt(x,!!t,e,!0):dt(x,!!t,t?[]:"",!1));return;case"textarea":q=z=null;for(u in t)if(a=t[u],t.hasOwnProperty(u)&&a!=null&&!l.hasOwnProperty(u))switch(u){case"value":break;case"children":break;default:R0(x,e,u,null,l,a)}for(c in l)if(a=l[c],n=t[c],l.hasOwnProperty(c)&&(a!=null||n!=null))switch(c){case"value":z=a;break;case"defaultValue":q=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(o(91));break;default:a!==n&&R0(x,e,c,a,l,n)}Vc(x,z,q);return;case"option":for(var i0 in t)if(z=t[i0],t.hasOwnProperty(i0)&&z!=null&&!l.hasOwnProperty(i0))switch(i0){case"selected":x.selected=!1;break;default:R0(x,e,i0,null,l,z)}for(C in l)if(z=l[C],q=t[C],l.hasOwnProperty(C)&&z!==q&&(z!=null||q!=null))switch(C){case"selected":x.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:R0(x,e,C,z,l,q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var C0 in t)z=t[C0],t.hasOwnProperty(C0)&&z!=null&&!l.hasOwnProperty(C0)&&R0(x,e,C0,null,l,z);for(N in l)if(z=l[N],q=t[N],l.hasOwnProperty(N)&&z!==q&&(z!=null||q!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,e));break;default:R0(x,e,N,z,l,q)}return;default:if(hn(e)){for(var H0 in t)z=t[H0],t.hasOwnProperty(H0)&&z!==void 0&&!l.hasOwnProperty(H0)&&uc(x,e,H0,void 0,l,z);for(Z in l)z=l[Z],q=t[Z],!l.hasOwnProperty(Z)||z===q||z===void 0&&q===void 0||uc(x,e,Z,z,l,q);return}}for(var k in t)z=t[k],t.hasOwnProperty(k)&&z!=null&&!l.hasOwnProperty(k)&&R0(x,e,k,null,l,z);for(J in l)z=l[J],q=t[J],!l.hasOwnProperty(J)||z===q||z==null&&q==null||R0(x,e,J,z,l,q)}function Js(x){switch(x){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function kr(){if(typeof performance.getEntriesByType=="function"){for(var x=0,e=0,t=performance.getEntriesByType("resource"),l=0;l<t.length;l++){var a=t[l],n=a.transferSize,c=a.initiatorType,u=a.duration;if(n&&u&&Js(c)){for(c=0,u=a.responseEnd,l+=1;l<t.length;l++){var C=t[l],N=C.startTime;if(N>u)break;var Z=C.transferSize,J=C.initiatorType;Z&&Js(J)&&(C=C.responseEnd,c+=Z*(C<u?1:(u-N)/(C-N)))}if(--l,e+=8*(n+c)/(a.duration/1e3),x++,10<x)break}}if(0<x)return e/x/1e6}return navigator.connection&&(x=navigator.connection.downlink,typeof x=="number")?x:5}var sc=null,ic=null;function Ka(x){return x.nodeType===9?x:x.ownerDocument}function $s(x){switch(x){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ws(x,e){if(x===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return x===1&&e==="foreignObject"?0:x}function oc(x,e){return x==="textarea"||x==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var rc=null;function wr(){var x=window.event;return x&&x.type==="popstate"?x===rc?!1:(rc=x,!0):(rc=null,!1)}var Is=typeof setTimeout=="function"?setTimeout:void 0,_r=typeof clearTimeout=="function"?clearTimeout:void 0,xi=typeof Promise=="function"?Promise:void 0,Tr=typeof queueMicrotask=="function"?queueMicrotask:typeof xi<"u"?function(x){return xi.resolve(null).then(x).catch(jr)}:Is;function jr(x){setTimeout(function(){throw x})}function Ue(x){return x==="head"}function ei(x,e){var t=e,l=0;do{var a=t.nextSibling;if(x.removeChild(t),a&&a.nodeType===8)if(t=a.data,t==="/$"||t==="/&"){if(l===0){x.removeChild(a),Pt(e);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")Ol(x.ownerDocument.documentElement);else if(t==="head"){t=x.ownerDocument.head,Ol(t);for(var n=t.firstChild;n;){var c=n.nextSibling,u=n.nodeName;n[xl]||u==="SCRIPT"||u==="STYLE"||u==="LINK"&&n.rel.toLowerCase()==="stylesheet"||t.removeChild(n),n=c}}else t==="body"&&Ol(x.ownerDocument.body);t=a}while(t);Pt(e)}function ti(x,e){var t=x;x=0;do{var l=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(x===0)break;x--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||x++;t=l}while(t)}function Ec(x){var e=x.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":Ec(t),An(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}x.removeChild(t)}}function Nr(x,e,t,l){for(;x.nodeType===1;){var a=t;if(x.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(x.nodeName!=="INPUT"||x.type!=="hidden"))break}else if(l){if(!x[xl])switch(e){case"meta":if(!x.hasAttribute("itemprop"))break;return x;case"link":if(n=x.getAttribute("rel"),n==="stylesheet"&&x.hasAttribute("data-precedence"))break;if(n!==a.rel||x.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||x.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||x.getAttribute("title")!==(a.title==null?null:a.title))break;return x;case"style":if(x.hasAttribute("data-precedence"))break;return x;case"script":if(n=x.getAttribute("src"),(n!==(a.src==null?null:a.src)||x.getAttribute("type")!==(a.type==null?null:a.type)||x.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&n&&x.hasAttribute("async")&&!x.hasAttribute("itemprop"))break;return x;default:return x}}else if(e==="input"&&x.type==="hidden"){var n=a.name==null?null:""+a.name;if(a.type==="hidden"&&x.getAttribute("name")===n)return x}else return x;if(x=Yx(x.nextSibling),x===null)break}return null}function Mr(x,e,t){if(e==="")return null;for(;x.nodeType!==3;)if((x.nodeType!==1||x.nodeName!=="INPUT"||x.type!=="hidden")&&!t||(x=Yx(x.nextSibling),x===null))return null;return x}function li(x,e){for(;x.nodeType!==8;)if((x.nodeType!==1||x.nodeName!=="INPUT"||x.type!=="hidden")&&!e||(x=Yx(x.nextSibling),x===null))return null;return x}function fc(x){return x.data==="$?"||x.data==="$~"}function Bc(x){return x.data==="$!"||x.data==="$?"&&x.ownerDocument.readyState!=="loading"}function zr(x,e){var t=x.ownerDocument;if(x.data==="$~")x._reactRetry=e;else if(x.data!=="$?"||t.readyState!=="loading")e();else{var l=function(){e(),t.removeEventListener("DOMContentLoaded",l)};t.addEventListener("DOMContentLoaded",l),x._reactRetry=l}}function Yx(x){for(;x!=null;x=x.nextSibling){var e=x.nodeType;if(e===1||e===3)break;if(e===8){if(e=x.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return x}var Cc=null;function ai(x){x=x.nextSibling;for(var e=0;x;){if(x.nodeType===8){var t=x.data;if(t==="/$"||t==="/&"){if(e===0)return Yx(x.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}x=x.nextSibling}return null}function ni(x){x=x.previousSibling;for(var e=0;x;){if(x.nodeType===8){var t=x.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return x;e--}else t!=="/$"&&t!=="/&"||e++}x=x.previousSibling}return null}function ci(x,e,t){switch(e=Ka(t),x){case"html":if(x=e.documentElement,!x)throw Error(o(452));return x;case"head":if(x=e.head,!x)throw Error(o(453));return x;case"body":if(x=e.body,!x)throw Error(o(454));return x;default:throw Error(o(451))}}function Ol(x){for(var e=x.attributes;e.length;)x.removeAttributeNode(e[0]);An(x)}var Gx=new Map,ui=new Set;function Ja(x){return typeof x.getRootNode=="function"?x.getRootNode():x.nodeType===9?x:x.ownerDocument}var Ae=O.d;O.d={f:Or,r:Ur,D:Rr,C:Hr,L:Lr,m:qr,X:Gr,S:Yr,M:Xr};function Or(){var x=Ae.f(),e=qa();return x||e}function Ur(x){var e=ft(x);e!==null&&e.tag===5&&e.type==="form"?gu(e):Ae.r(x)}var Qt=typeof document>"u"?null:document;function si(x,e,t){var l=Qt;if(l&&typeof e=="string"&&e){var a=zx(e);a='link[rel="'+x+'"][href="'+a+'"]',typeof t=="string"&&(a+='[crossorigin="'+t+'"]'),ui.has(a)||(ui.add(a),x={rel:x,crossOrigin:t,href:e},l.querySelector(a)===null&&(e=l.createElement("link"),rx(e,"link",x),lx(e),l.head.appendChild(e)))}}function Rr(x){Ae.D(x),si("dns-prefetch",x,null)}function Hr(x,e){Ae.C(x,e),si("preconnect",x,e)}function Lr(x,e,t){Ae.L(x,e,t);var l=Qt;if(l&&x&&e){var a='link[rel="preload"][as="'+zx(e)+'"]';e==="image"&&t&&t.imageSrcSet?(a+='[imagesrcset="'+zx(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(a+='[imagesizes="'+zx(t.imageSizes)+'"]')):a+='[href="'+zx(x)+'"]';var n=a;switch(e){case"style":n=Vt(x);break;case"script":n=Zt(x)}Gx.has(n)||(x=f({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:x,as:e},t),Gx.set(n,x),l.querySelector(a)!==null||e==="style"&&l.querySelector(Ul(n))||e==="script"&&l.querySelector(Rl(n))||(e=l.createElement("link"),rx(e,"link",x),lx(e),l.head.appendChild(e)))}}function qr(x,e){Ae.m(x,e);var t=Qt;if(t&&x){var l=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+zx(l)+'"][href="'+zx(x)+'"]',n=a;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Zt(x)}if(!Gx.has(n)&&(x=f({rel:"modulepreload",href:x},e),Gx.set(n,x),t.querySelector(a)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Rl(n)))return}l=t.createElement("link"),rx(l,"link",x),lx(l),t.head.appendChild(l)}}}function Yr(x,e,t){Ae.S(x,e,t);var l=Qt;if(l&&x){var a=Bt(l).hoistableStyles,n=Vt(x);e=e||"default";var c=a.get(n);if(!c){var u={loading:0,preload:null};if(c=l.querySelector(Ul(n)))u.loading=5;else{x=f({rel:"stylesheet",href:x,"data-precedence":e},t),(t=Gx.get(n))&&dc(x,t);var C=c=l.createElement("link");lx(C),rx(C,"link",x),C._p=new Promise(function(N,Z){C.onload=N,C.onerror=Z}),C.addEventListener("load",function(){u.loading|=1}),C.addEventListener("error",function(){u.loading|=2}),u.loading|=4,$a(c,e,l)}c={type:"stylesheet",instance:c,count:1,state:u},a.set(n,c)}}}function Gr(x,e){Ae.X(x,e);var t=Qt;if(t&&x){var l=Bt(t).hoistableScripts,a=Zt(x),n=l.get(a);n||(n=t.querySelector(Rl(a)),n||(x=f({src:x,async:!0},e),(e=Gx.get(a))&&Ac(x,e),n=t.createElement("script"),lx(n),rx(n,"link",x),t.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},l.set(a,n))}}function Xr(x,e){Ae.M(x,e);var t=Qt;if(t&&x){var l=Bt(t).hoistableScripts,a=Zt(x),n=l.get(a);n||(n=t.querySelector(Rl(a)),n||(x=f({src:x,async:!0,type:"module"},e),(e=Gx.get(a))&&Ac(x,e),n=t.createElement("script"),lx(n),rx(n,"link",x),t.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},l.set(a,n))}}function ii(x,e,t,l){var a=(a=r0.current)?Ja(a):null;if(!a)throw Error(o(446));switch(x){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=Vt(t.href),t=Bt(a).hoistableStyles,l=t.get(e),l||(l={type:"style",instance:null,count:0,state:null},t.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){x=Vt(t.href);var n=Bt(a).hoistableStyles,c=n.get(x);if(c||(a=a.ownerDocument||a,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(x,c),(n=a.querySelector(Ul(x)))&&!n._p&&(c.instance=n,c.state.loading=5),Gx.has(x)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Gx.set(x,t),n||Qr(a,x,t,c.state))),e&&l===null)throw Error(o(528,""));return c}if(e&&l!==null)throw Error(o(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Zt(t),t=Bt(a).hoistableScripts,l=t.get(e),l||(l={type:"script",instance:null,count:0,state:null},t.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,x))}}function Vt(x){return'href="'+zx(x)+'"'}function Ul(x){return'link[rel="stylesheet"]['+x+"]"}function oi(x){return f({},x,{"data-precedence":x.precedence,precedence:null})}function Qr(x,e,t,l){x.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=x.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),rx(e,"link",t),lx(e),x.head.appendChild(e))}function Zt(x){return'[src="'+zx(x)+'"]'}function Rl(x){return"script[async]"+x}function ri(x,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var l=x.querySelector('style[data-href~="'+zx(t.href)+'"]');if(l)return e.instance=l,lx(l),l;var a=f({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(x.ownerDocument||x).createElement("style"),lx(l),rx(l,"style",a),$a(l,t.precedence,x),e.instance=l;case"stylesheet":a=Vt(t.href);var n=x.querySelector(Ul(a));if(n)return e.state.loading|=4,e.instance=n,lx(n),n;l=oi(t),(a=Gx.get(a))&&dc(l,a),n=(x.ownerDocument||x).createElement("link"),lx(n);var c=n;return c._p=new Promise(function(u,C){c.onload=u,c.onerror=C}),rx(n,"link",l),e.state.loading|=4,$a(n,t.precedence,x),e.instance=n;case"script":return n=Zt(t.src),(a=x.querySelector(Rl(n)))?(e.instance=a,lx(a),a):(l=t,(a=Gx.get(n))&&(l=f({},t),Ac(l,a)),x=x.ownerDocument||x,a=x.createElement("script"),lx(a),rx(a,"link",l),x.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,$a(l,t.precedence,x));return e.instance}function $a(x,e,t){for(var l=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=l.length?l[l.length-1]:null,n=a,c=0;c<l.length;c++){var u=l[c];if(u.dataset.precedence===e)n=u;else if(n!==a)break}n?n.parentNode.insertBefore(x,n.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(x,e.firstChild))}function dc(x,e){x.crossOrigin==null&&(x.crossOrigin=e.crossOrigin),x.referrerPolicy==null&&(x.referrerPolicy=e.referrerPolicy),x.title==null&&(x.title=e.title)}function Ac(x,e){x.crossOrigin==null&&(x.crossOrigin=e.crossOrigin),x.referrerPolicy==null&&(x.referrerPolicy=e.referrerPolicy),x.integrity==null&&(x.integrity=e.integrity)}var Wa=null;function Ei(x,e,t){if(Wa===null){var l=new Map,a=Wa=new Map;a.set(t,l)}else a=Wa,l=a.get(t),l||(l=new Map,a.set(t,l));if(l.has(x))return l;for(l.set(x,null),t=t.getElementsByTagName(x),a=0;a<t.length;a++){var n=t[a];if(!(n[xl]||n[ux]||x==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var c=n.getAttribute(e)||"";c=x+c;var u=l.get(c);u?u.push(n):l.set(c,[n])}}return l}function fi(x,e,t){x=x.ownerDocument||x,x.head.insertBefore(t,e==="title"?x.querySelector("head > title"):null)}function Vr(x,e,t){if(t===1||e.itemProp!=null)return!1;switch(x){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 x=e.disabled,typeof e.precedence=="string"&&x==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 Bi(x){return!(x.type==="stylesheet"&&(x.state.loading&3)===0)}function Zr(x,e,t,l){if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var a=Vt(l.href),n=e.querySelector(Ul(a));if(n){e=n._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(x.count++,x=Ia.bind(x),e.then(x,x)),t.state.loading|=4,t.instance=n,lx(n);return}n=e.ownerDocument||e,l=oi(l),(a=Gx.get(a))&&dc(l,a),n=n.createElement("link"),lx(n);var c=n;c._p=new Promise(function(u,C){c.onload=u,c.onerror=C}),rx(n,"link",l),t.instance=n}x.stylesheets===null&&(x.stylesheets=new Map),x.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(x.count++,t=Ia.bind(x),e.addEventListener("load",t),e.addEventListener("error",t))}}var Dc=0;function Pr(x,e){return x.stylesheets&&x.count===0&&en(x,x.stylesheets),0<x.count||0<x.imgCount?function(t){var l=setTimeout(function(){if(x.stylesheets&&en(x,x.stylesheets),x.unsuspend){var n=x.unsuspend;x.unsuspend=null,n()}},6e4+e);0<x.imgBytes&&Dc===0&&(Dc=62500*kr());var a=setTimeout(function(){if(x.waitingForImages=!1,x.count===0&&(x.stylesheets&&en(x,x.stylesheets),x.unsuspend)){var n=x.unsuspend;x.unsuspend=null,n()}},(x.imgBytes>Dc?50:800)+e);return x.unsuspend=t,function(){x.unsuspend=null,clearTimeout(l),clearTimeout(a)}}:null}function Ia(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)en(this,this.stylesheets);else if(this.unsuspend){var x=this.unsuspend;this.unsuspend=null,x()}}}var xn=null;function en(x,e){x.stylesheets=null,x.unsuspend!==null&&(x.count++,xn=new Map,e.forEach(Kr,x),xn=null,Ia.call(x))}function Kr(x,e){if(!(e.state.loading&4)){var t=xn.get(x);if(t)var l=t.get(null);else{t=new Map,xn.set(x,t);for(var a=x.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<a.length;n++){var c=a[n];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(t.set(c.dataset.precedence,c),l=c)}l&&t.set(null,l)}a=e.instance,c=a.getAttribute("data-precedence"),n=t.get(c)||l,n===l&&t.set(null,a),t.set(c,a),this.count++,l=Ia.bind(this),a.addEventListener("load",l),a.addEventListener("error",l),n?n.parentNode.insertBefore(a,n.nextSibling):(x=x.nodeType===9?x.head:x,x.insertBefore(a,x.firstChild)),e.state.loading|=4}}var Hl={$$typeof:j,Provider:null,Consumer:null,_currentValue:U,_currentValue2:U,_threadCount:0};function Jr(x,e,t,l,a,n,c,u,C){this.tag=1,this.containerInfo=x,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=It(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=It(0),this.hiddenUpdates=It(null),this.identifierPrefix=l,this.onUncaughtError=a,this.onCaughtError=n,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function Ci(x,e,t,l,a,n,c,u,C,N,Z,J){return x=new Jr(x,e,t,c,C,N,Z,J,u),e=1,n===!0&&(e|=24),n=Sx(3,null,null,e),x.current=n,n.stateNode=x,e=$n(),e.refCount++,x.pooledCache=e,e.refCount++,n.memoizedState={element:l,isDehydrated:t,cache:e},e9(n),x}function di(x){return x?(x=gt,x):gt}function Ai(x,e,t,l,a,n){a=di(a),l.context===null?l.context=a:l.pendingContext=a,l=be(e),l.payload={element:t},n=n===void 0?null:n,n!==null&&(l.callback=n),t=Se(x,l,e),t!==null&&(px(t,x,e),Al(t,x,e))}function Di(x,e){if(x=x.memoizedState,x!==null&&x.dehydrated!==null){var t=x.retryLane;x.retryLane=t!==0&&t<e?t:e}}function Fc(x,e){Di(x,e),(x=x.alternate)&&Di(x,e)}function Fi(x){if(x.tag===13||x.tag===31){var e=Je(x,67108864);e!==null&&px(e,x,67108864),Fc(x,67108864)}}function mi(x){if(x.tag===13||x.tag===31){var e=jx();e=Bn(e);var t=Je(x,e);t!==null&&px(t,x,e),Fc(x,e)}}var tn=!0;function $r(x,e,t,l){var a=_.T;_.T=null;var n=O.p;try{O.p=2,mc(x,e,t,l)}finally{O.p=n,_.T=a}}function Wr(x,e,t,l){var a=_.T;_.T=null;var n=O.p;try{O.p=8,mc(x,e,t,l)}finally{O.p=n,_.T=a}}function mc(x,e,t,l){if(tn){var a=hc(l);if(a===null)cc(x,e,l,ln,t),vi(x,l);else if(xE(a,x,e,t,l))l.stopPropagation();else if(vi(x,l),e&4&&-1<Ir.indexOf(x)){for(;a!==null;){var n=ft(a);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var c=N0(n.pendingLanes);if(c!==0){var u=n;for(u.pendingLanes|=2,u.entangledLanes|=2;c;){var C=1<<31-Ax(c);u.entanglements[1]|=C,c&=~C}Ix(n),(T0&6)===0&&(Ha=fx()+500,Nl(0))}}break;case 31:case 13:u=Je(n,2),u!==null&&px(u,n,2),qa(),Fc(n,2)}if(n=hc(l),n===null&&cc(x,e,l,ln,t),n===a)break;a=n}a!==null&&l.stopPropagation()}else cc(x,e,l,null,t)}}function hc(x){return x=yn(x),vc(x)}var ln=null;function vc(x){if(ln=null,x=Et(x),x!==null){var e=R(x);if(e===null)x=null;else{var t=e.tag;if(t===13){if(x=G(e),x!==null)return x;x=null}else if(t===31){if(x=M(e),x!==null)return x;x=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;x=null}else e!==x&&(x=null)}}return ln=x,null}function hi(x){switch(x){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pl()){case Kt:return 2;case Jt:return 8;case ot:case $t:return 32;case Kl:return 268435456;default:return 32}default:return 32}}var yc=!1,Re=null,He=null,Le=null,Ll=new Map,ql=new Map,qe=[],Ir="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function vi(x,e){switch(x){case"focusin":case"focusout":Re=null;break;case"dragenter":case"dragleave":He=null;break;case"mouseover":case"mouseout":Le=null;break;case"pointerover":case"pointerout":Ll.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ql.delete(e.pointerId)}}function Yl(x,e,t,l,a,n){return x===null||x.nativeEvent!==n?(x={blockedOn:e,domEventName:t,eventSystemFlags:l,nativeEvent:n,targetContainers:[a]},e!==null&&(e=ft(e),e!==null&&Fi(e)),x):(x.eventSystemFlags|=l,e=x.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),x)}function xE(x,e,t,l,a){switch(e){case"focusin":return Re=Yl(Re,x,e,t,l,a),!0;case"dragenter":return He=Yl(He,x,e,t,l,a),!0;case"mouseover":return Le=Yl(Le,x,e,t,l,a),!0;case"pointerover":var n=a.pointerId;return Ll.set(n,Yl(Ll.get(n)||null,x,e,t,l,a)),!0;case"gotpointercapture":return n=a.pointerId,ql.set(n,Yl(ql.get(n)||null,x,e,t,l,a)),!0}return!1}function yi(x){var e=Et(x.target);if(e!==null){var t=R(e);if(t!==null){if(e=t.tag,e===13){if(e=G(t),e!==null){x.blockedOn=e,Uc(x.priority,function(){mi(t)});return}}else if(e===31){if(e=M(t),e!==null){x.blockedOn=e,Uc(x.priority,function(){mi(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){x.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}x.blockedOn=null}function an(x){if(x.blockedOn!==null)return!1;for(var e=x.targetContainers;0<e.length;){var t=hc(x.nativeEvent);if(t===null){t=x.nativeEvent;var l=new t.constructor(t.type,t);vn=l,t.target.dispatchEvent(l),vn=null}else return e=ft(t),e!==null&&Fi(e),x.blockedOn=t,!1;e.shift()}return!0}function gi(x,e,t){an(x)&&t.delete(e)}function eE(){yc=!1,Re!==null&&an(Re)&&(Re=null),He!==null&&an(He)&&(He=null),Le!==null&&an(Le)&&(Le=null),Ll.forEach(gi),ql.forEach(gi)}function nn(x,e){x.blockedOn===e&&(x.blockedOn=null,yc||(yc=!0,E.unstable_scheduleCallback(E.unstable_NormalPriority,eE)))}var cn=null;function pi(x){cn!==x&&(cn=x,E.unstable_scheduleCallback(E.unstable_NormalPriority,function(){cn===x&&(cn=null);for(var e=0;e<x.length;e+=3){var t=x[e],l=x[e+1],a=x[e+2];if(typeof l!="function"){if(vc(l||t)===null)continue;break}var n=ft(t);n!==null&&(x.splice(e,3),e-=3,h9(n,{pending:!0,data:a,method:t.method,action:l},l,a))}}))}function Pt(x){function e(C){return nn(C,x)}Re!==null&&nn(Re,x),He!==null&&nn(He,x),Le!==null&&nn(Le,x),Ll.forEach(e),ql.forEach(e);for(var t=0;t<qe.length;t++){var l=qe[t];l.blockedOn===x&&(l.blockedOn=null)}for(;0<qe.length&&(t=qe[0],t.blockedOn===null);)yi(t),t.blockedOn===null&&qe.shift();if(t=(x.ownerDocument||x).$$reactFormReplay,t!=null)for(l=0;l<t.length;l+=3){var a=t[l],n=t[l+1],c=a[Fx]||null;if(typeof n=="function")c||pi(t);else if(c){var u=null;if(n&&n.hasAttribute("formAction")){if(a=n,c=n[Fx]||null)u=c.formAction;else if(vc(a)!==null)continue}else u=c.action;typeof u=="function"?t[l+1]=u:(t.splice(l,3),l-=3),pi(t)}}}function bi(){function x(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(c){return a=c})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),l||setTimeout(t,20)}function t(){if(!l&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,a=null;return navigation.addEventListener("navigate",x),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){l=!0,navigation.removeEventListener("navigate",x),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function gc(x){this._internalRoot=x}un.prototype.render=gc.prototype.render=function(x){var e=this._internalRoot;if(e===null)throw Error(o(409));var t=e.current,l=jx();Ai(t,l,x,e,null,null)},un.prototype.unmount=gc.prototype.unmount=function(){var x=this._internalRoot;if(x!==null){this._internalRoot=null;var e=x.containerInfo;Ai(x.current,2,null,x,null,null),qa(),e[rt]=null}};function un(x){this._internalRoot=x}un.prototype.unstable_scheduleHydration=function(x){if(x){var e=Oc();x={blockedOn:null,target:x,priority:e};for(var t=0;t<qe.length&&e!==0&&e<qe[t].priority;t++);qe.splice(t,0,x),t===0&&yi(x)}};var Si=r.version;if(Si!=="19.2.4")throw Error(o(527,Si,"19.2.4"));O.findDOMNode=function(x){var e=x._reactInternals;if(e===void 0)throw typeof x.render=="function"?Error(o(188)):(x=Object.keys(x).join(","),Error(o(268,x)));return x=B(e),x=x!==null?p(x):null,x=x===null?null:x.stateNode,x};var tE={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sn.isDisabled&&sn.supportsFiber)try{Xe=sn.inject(tE),cx=sn}catch{}}return Xl.createRoot=function(x,e){if(!y(x))throw Error(o(299));var t=!1,l="",a=Mu,n=zu,c=Ou;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(n=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=Ci(x,1,!1,null,null,t,l,null,a,n,c,bi),x[rt]=e.current,nc(x),new gc(e)},Xl.hydrateRoot=function(x,e,t){if(!y(x))throw Error(o(299));var l=!1,a="",n=Mu,c=zu,u=Ou,C=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError),t.formState!==void 0&&(C=t.formState)),e=Ci(x,1,!0,e,t??null,l,a,C,n,c,u,bi),e.context=di(null),t=e.current,l=jx(),l=Bn(l),a=be(l),a.callback=null,Se(t,a,l),t=l,e.current.lanes=t,Kx(e,t),Ix(e),x[rt]=e.current,nc(x),new un(e)},Xl.version="19.2.4",Xl}var Ui;function CE(){if(Ui)return Sc.exports;Ui=1;function E(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(r){console.error(r)}}return E(),Sc.exports=BE(),Sc.exports}var dE=CE();class on extends Error{constructor(r,m){super(`HTTP ${r}`),this.status=r,this.body=m,this.name="ChadAPIError"}}class AE{constructor(r="http://localhost:3184",m){it(this,"baseUrl");it(this,"token");this.baseUrl=r.replace(/\/+$/,""),this.token=m??null}async request(r,m={}){const o={...m.headers};m.body!=null&&(o["Content-Type"]??(o["Content-Type"]="application/json")),this.token&&(o.Authorization=`Bearer ${this.token}`);const y=await fetch(`${this.baseUrl}${r}`,{...m,headers:o});if(!y.ok){const R=await y.text().catch(()=>null);throw new on(y.status,R)}if(y.status!==204)return y.json()}get(r){return this.request(r)}post(r,m){return this.request(r,{method:"POST",body:m!=null?JSON.stringify(m):void 0})}put(r,m){return this.request(r,{method:"PUT",body:JSON.stringify(m)})}del(r){return this.request(r,{method:"DELETE"})}getStatus(){return fetch(`${this.baseUrl}/status`).then(r=>{if(!r.ok)throw new on(r.status,null);return r.json()})}createSession(r){return this.post("/api/v1/sessions",r??{})}listSessions(){return this.get("/api/v1/sessions")}getSession(r){return this.get(`/api/v1/sessions/${r}`)}deleteSession(r){return this.del(`/api/v1/sessions/${r}`)}cancelSession(r){return this.post(`/api/v1/sessions/${r}/cancel`)}resumeSession(r){return this.post(`/api/v1/sessions/${r}/resume`)}startTask(r,m){return this.post(`/api/v1/sessions/${r}/tasks`,m)}getTaskStatus(r,m){return this.get(`/api/v1/sessions/${r}/tasks/${m}`)}sendMessage(r,m,o="ui"){return this.post(`/api/v1/sessions/${r}/messages`,{content:m,source:o})}sendInput(r,m){return this.post(`/api/v1/sessions/${r}/input`,{data:m})}resizeTerminal(r,m,o){return this.post(`/api/v1/sessions/${r}/resize`,{rows:m,cols:o})}getEvents(r,m=0,o){const y=new URLSearchParams({since_seq:String(m)});return o&&y.set("event_types",o),this.get(`/api/v1/sessions/${r}/events?${y}`)}getMilestones(r,m=0){return this.get(`/api/v1/sessions/${r}/milestones?since_seq=${m}`)}getConversation(r,m=0){return this.get(`/api/v1/sessions/${r}/conversation?since_seq=${m}`)}listAccounts(){return this.get("/api/v1/accounts")}createAccount(r){return this.post("/api/v1/accounts",r)}getAccount(r){return this.get(`/api/v1/accounts/${encodeURIComponent(r)}`)}deleteAccount(r){return this.del(`/api/v1/accounts/${encodeURIComponent(r)}`)}setAccountModel(r,m){return this.put(`/api/v1/accounts/${encodeURIComponent(r)}/model`,{model:m})}setAccountReasoning(r,m){return this.put(`/api/v1/accounts/${encodeURIComponent(r)}/reasoning`,{reasoning:m})}setAccountRole(r,m){return this.put(`/api/v1/accounts/${encodeURIComponent(r)}/role`,{role:m})}getAccountModels(r){return this.get(`/api/v1/accounts/${encodeURIComponent(r)}/models`)}getAccountUsage(r){return this.get(`/api/v1/accounts/${encodeURIComponent(r)}/usage`)}listProviders(){return this.get("/api/v1/providers")}createWorktree(r){return this.post(`/api/v1/sessions/${r}/worktree`)}getWorktreeStatus(r){return this.get(`/api/v1/sessions/${r}/worktree`)}getDiffSummary(r){return this.get(`/api/v1/sessions/${r}/worktree/diff`)}getFullDiff(r){return this.get(`/api/v1/sessions/${r}/worktree/diff/full`)}mergeWorktree(r,m,o){return this.post(`/api/v1/sessions/${r}/worktree/merge`,{target_branch:m??null,commit_message:o??null})}getBranches(r){return this.get(`/api/v1/sessions/${r}/worktree/branches`)}resolveConflicts(r,m){return this.post(`/api/v1/sessions/${r}/worktree/resolve-conflicts`,{use_incoming:m})}abortMerge(r){return this.post(`/api/v1/sessions/${r}/worktree/abort-merge`)}resetWorktree(r){return this.post(`/api/v1/sessions/${r}/worktree/reset`)}deleteWorktree(r){return this.del(`/api/v1/sessions/${r}/worktree`)}getVerificationSettings(){return this.get("/api/v1/config/verification")}setVerificationSettings(r){return this.put("/api/v1/config/verification",r)}getVerificationAgent(){return this.get("/api/v1/config/verification-agent")}setVerificationAgent(r){return this.put("/api/v1/config/verification-agent",{account_name:r})}getPreferredVerificationModel(){return this.get("/api/v1/config/preferred-verification-model")}setPreferredVerificationModel(r){return this.put("/api/v1/config/preferred-verification-model",{model:r})}getMaxVerificationAttempts(){return this.get("/api/v1/config/max-verification-attempts")}setMaxVerificationAttempts(r){return this.put("/api/v1/config/max-verification-attempts",{attempts:r})}getCleanupSettings(){return this.get("/api/v1/config/cleanup")}setCleanupSettings(r){return this.put("/api/v1/config/cleanup",r)}getPreferences(){return this.get("/api/v1/config/preferences")}setPreferences(r){return this.put("/api/v1/config/preferences",r)}getActionSettings(){return this.get("/api/v1/config/action-settings")}setActionSettings(r){return this.put("/api/v1/config/action-settings",{settings:r})}getTunnelStatus(){return this.get("/api/v1/tunnel")}startTunnel(){return this.post("/api/v1/tunnel/start")}stopTunnel(){return this.post("/api/v1/tunnel/stop")}getSlackSettings(){return this.get("/api/v1/config/slack")}setSlackSettings(r){return this.put("/api/v1/config/slack",r)}getProjectSettings(r){return this.get(`/api/v1/config/project?project_path=${encodeURIComponent(r)}`)}setProjectSettings(r){return this.put("/api/v1/config/project",r)}getPromptPreviews(r){const m=r?`?project_path=${encodeURIComponent(r)}`:"";return this.get(`/api/v1/config/prompt-previews${m}`)}exportConfig(){return this.get("/api/v1/config/export")}importConfig(r){return this.post("/api/v1/config/import",{config:r})}getSessionLog(r){return this.get(`/api/v1/sessions/${r}/log`)}async uploadFile(r){const m=new FormData;m.append("file",r);const o={};this.token&&(o.Authorization=`Bearer ${this.token}`);const y=await fetch(`${this.baseUrl}/api/v1/uploads`,{method:"POST",headers:o,body:m});if(!y.ok){const R=await y.text().catch(()=>null);throw new on(y.status,R)}return y.json()}}class DE{constructor(r,m){it(this,"ws",null);it(this,"callbacks",{});it(this,"pingInterval",null);it(this,"token");this.baseUrl=r,this.baseUrl=r.replace(/\/+$/,"").replace(/^http/,"ws"),this.token=m??null}connect(r,m){this.disconnect();const o=new URLSearchParams;this.token&&o.set("token",this.token),m!=null&&m.sinceSeq&&o.set("since_seq",String(m.sinceSeq));const y=o.toString(),R=new WebSocket(`${this.baseUrl}/api/v1/ws/${r}${y?`?${y}`:""}`);this.ws=R,R.onmessage=G=>{let M;try{M=JSON.parse(G.data)}catch{return}this.emit(M.type,M),this.emit("any",M)},R.onclose=()=>{this.stopPing()},R.onopen=()=>{this.startPing()}}sendInput(r){this.send({type:"input",data:r})}sendResize(r,m){this.send({type:"resize",rows:r,cols:m})}sendCancel(){this.send({type:"cancel"})}sendPing(){this.send({type:"ping"})}onMessage(r,m){return this.callbacks[r]||(this.callbacks[r]=[]),this.callbacks[r].push(m),this}disconnect(){this.stopPing(),this.ws&&(this.ws.close(),this.ws=null)}get connected(){return this.ws!=null&&this.ws.readyState===WebSocket.OPEN}send(r){this.ws&&this.ws.readyState===WebSocket.OPEN&&this.ws.send(JSON.stringify(r))}emit(r,m){const o=this.callbacks[r];if(o)for(const y of o)y(m)}startPing(){this.stopPing(),this.pingInterval=setInterval(()=>this.sendPing(),3e4)}stopPing(){this.pingInterval!=null&&(clearInterval(this.pingInterval),this.pingInterval=null)}}function FE(E,r,m,o){const y=d.useRef(null),[R,G]=d.useState(""),[M,g]=d.useState([]),[B,p]=d.useState(!1),[f,b]=d.useState(null),H=d.useRef(null),D=d.useRef(!1),X=d.useRef(r);X.current=r;const L=d.useCallback((e0,j)=>{const h=v=>v.replace(/\r\n?/g,`
`);if(j)return h(e0);try{const v=atob(e0),S=Uint8Array.from(v,A=>A.charCodeAt(0));return H.current||(H.current=new TextDecoder("utf-8")),h(H.current.decode(S))}catch{return h(e0)}},[]),$=d.useCallback(()=>{G(""),g([]),p(!1),b(null),D.current=!1},[]);return d.useEffect(()=>{if(!E)return;$();const e0=m||"",j=new DE(e0,o);y.current=j;const h=v=>{var A;const S=typeof((A=v.data)==null?void 0:A.seq)=="number"?v.data.seq:null;if(v.type==="terminal"){const Y=v.data.data,I=!!v.data.text;if(!Y)return;const c0=L(Y,I);G(a0=>a0+c0)}else if(v.type==="event"){const Y={event_type:"event",data:v.data,seq:S};g(I=>[...I,Y])}else if(v.type==="complete")D.current=!0,p(!0);else if(v.type==="error"){if(D.current)return;b(v.data.error??"Stream error")}};return j.onMessage("any",h),j.connect(E,{sinceSeq:X.current}),()=>{j.disconnect(),y.current=null}},[E,m,o,$,L]),{terminalOutput:R,events:M,completed:B,error:f,reset:$}}function Ri(E){return E.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function mE(E){const r=[],m=[];for(const y of E.lines)y.type==="context"?(r.push({lineNo:y.old_line,content:y.content,type:"context"}),m.push({lineNo:y.new_line,content:y.content,type:"context"})):y.type==="delete"?r.push({lineNo:y.old_line,content:y.content,type:"delete"}):y.type==="add"&&m.push({lineNo:y.new_line,content:y.content,type:"add"});const o=Math.max(r.length,m.length);for(;r.length<o;)r.push({lineNo:null,content:"",type:"empty"});for(;m.length<o;)m.push({lineNo:null,content:"",type:"empty"});return{left:r,right:m}}function hE({hunk:E}){const{left:r,right:m}=mE(E);return s.jsx("div",{className:"diff-hunk",children:s.jsxs("div",{className:"diff-comparison",children:[s.jsxs("div",{className:"diff-side diff-side-left",children:[s.jsx("div",{className:"diff-side-header",children:"Original"}),r.map((o,y)=>s.jsxs("div",{className:`diff-line ${o.type}`,children:[s.jsx("span",{className:"diff-line-no",children:o.lineNo??""}),s.jsx("span",{className:"diff-line-content",dangerouslySetInnerHTML:{__html:Ri(o.content)}})]},y))]}),s.jsxs("div",{className:"diff-side diff-side-right",children:[s.jsx("div",{className:"diff-side-header",children:"Modified"}),m.map((o,y)=>s.jsxs("div",{className:`diff-line ${o.type}`,children:[s.jsx("span",{className:"diff-line-no",children:o.lineNo??""}),s.jsx("span",{className:"diff-line-content",dangerouslySetInnerHTML:{__html:Ri(o.content)}})]},y))]})]})})}function vE({file:E}){let r=null;return E.is_new?r=s.jsx("span",{className:"badge new-file",children:"(new file)"}):E.is_deleted?r=s.jsx("span",{className:"badge deleted-file",children:"(deleted)"}):E.is_binary&&(r=s.jsx("span",{className:"badge binary-file",children:"(binary)"})),s.jsxs("div",{className:"diff-file",children:[s.jsxs("div",{className:"diff-file-header",children:[E.new_path," ",r]}),E.is_binary?s.jsx("div",{className:"diff-binary",children:"Binary file changed"}):E.hunks.map((m,o)=>s.jsx(hE,{hunk:m},o))]})}function yE({files:E}){return!E||E.length===0?s.jsx("p",{className:"no-changes",children:"No changes to display."}):s.jsx("div",{className:"diff-viewer",children:E.map((r,m)=>s.jsx(vE,{file:r},m))})}function Hi(E){return E.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function gE({hunk:E}){return s.jsx("div",{className:"conflict-hunk",children:s.jsxs("div",{className:"conflict-comparison",children:[s.jsxs("div",{className:"conflict-side conflict-side-ours",children:[s.jsx("div",{className:"conflict-side-header ours",children:"Original (HEAD)"}),s.jsx("div",{className:"conflict-side-content",children:E.ours.map((r,m)=>s.jsx("pre",{children:Hi(r)},m))})]}),s.jsxs("div",{className:"conflict-side conflict-side-theirs",children:[s.jsx("div",{className:"conflict-side-header theirs",children:"Incoming (Changes)"}),s.jsx("div",{className:"conflict-side-content",children:E.theirs.map((r,m)=>s.jsx("pre",{children:Hi(r)},m))})]})]})})}function pE({conflict:E}){return s.jsxs("div",{className:"conflict-file",children:[s.jsx("div",{className:"conflict-file-header",children:E.file_path}),E.hunks.map((r,m)=>s.jsx(gE,{hunk:r},m))]})}function bE({conflicts:E}){return!E||E.length===0?s.jsx("p",{className:"no-conflicts",children:"No conflicts to display."}):s.jsx("div",{className:"conflict-viewer",children:E.map((r,m)=>s.jsx(pE,{conflict:r},m))})}function SE({api:E,sessionId:r,onMerged:m,onDismiss:o}){const[y,R]=d.useState("loading"),[G,M]=d.useState(0),[g,B]=d.useState(0),[p,f]=d.useState(0),[b,H]=d.useState(null),[D,X]=d.useState([]),[L,$]=d.useState([]),[e0,j]=d.useState("main"),[h,v]=d.useState(""),[S,A]=d.useState(""),[Y,I]=d.useState(""),[c0,a0]=d.useState(!1),[Q,t0]=d.useState(null),[u0,l0]=d.useState(!1);d.useEffect(()=>{(async()=>{try{const w=await E.getDiffSummary(r);if(M(w.files_changed),B(w.insertions),f(w.deletions),w.files_changed===0&&w.insertions===0&&w.deletions===0){o();return}const P=await E.getBranches(r);$(P.branches),j(P.default),v(P.current);const W=P.branches[0]??P.default??"";A(W),R("changes")}catch(w){t0(w instanceof Error?w.message:"Failed to load changes"),R("error")}})()},[E,r]);const _=d.useCallback(async()=>{if(b){a0(!c0);return}l0(!0);try{const i=await E.getFullDiff(r);H(i),a0(!0)}catch(i){t0(i instanceof Error?i.message:"Failed to load diff")}finally{l0(!1)}},[E,r,b,c0]),O=d.useCallback(async()=>{R("merging"),t0(null);try{const i=await E.mergeWorktree(r,S||null,Y||null);i.success?(R("success"),m()):i.conflicts&&i.conflicts.length>0?(X(i.conflicts),R("conflict")):(t0(i.message||"Merge failed"),R("error"))}catch(i){i instanceof on&&i.status===404?t0("Session was not found on the server (it may have expired or the server restarted). Please reopen the session and rerun the task before merging. You can discard this worktree if it is stale."):t0(i instanceof Error?i.message:"Merge failed"),R("error")}},[E,r,S,Y,m]),U=d.useCallback(async()=>{l0(!0);try{await E.resetWorktree(r),o()}catch(i){t0(i instanceof Error?i.message:"Failed to discard changes")}finally{l0(!1)}},[E,r,o]),V=d.useCallback(async i=>{l0(!0),t0(null);try{const w=await E.resolveConflicts(r,i);w.success?(R("success"),m()):(t0(w.message||"Failed to resolve conflicts"),R("error"))}catch(w){t0(w instanceof Error?w.message:"Failed to resolve conflicts"),R("error")}finally{l0(!1)}},[E,r,m]),s0=d.useCallback(async()=>{l0(!0);try{await E.abortMerge(r),X([]),R("changes")}catch(i){t0(i instanceof Error?i.message:"Failed to abort merge")}finally{l0(!1)}},[E,r]);return y==="loading"?s.jsx("div",{className:"merge-panel",children:s.jsx("div",{className:"merge-header",children:"Loading changes..."})}):y==="success"?s.jsxs("div",{className:"merge-panel",children:[s.jsx("div",{className:"merge-header success",children:"Changes merged successfully!"}),s.jsx("button",{className:"merge-btn",onClick:o,children:"Close"})]}):y==="error"?s.jsxs("div",{className:"merge-panel",children:[s.jsx("div",{className:"merge-header error",children:"Merge Error"}),Q&&s.jsx("div",{className:"error-text",children:Q}),s.jsx("button",{onClick:o,children:"Close"})]}):y==="conflict"?s.jsxs("div",{className:"merge-panel conflict-phase",children:[s.jsx("div",{className:"merge-header",children:"Merge Conflicts"}),s.jsx("p",{className:"conflict-info",children:"The merge produced conflicts. Choose how to resolve them:"}),s.jsx(bE,{conflicts:D}),s.jsxs("div",{className:"conflict-actions",children:[s.jsx("button",{className:"resolve-btn ours",onClick:()=>V(!1),disabled:u0,children:"Accept All Original"}),s.jsx("button",{className:"resolve-btn theirs",onClick:()=>V(!0),disabled:u0,children:"Accept All Incoming"}),s.jsx("button",{className:"abort-btn",onClick:s0,disabled:u0,children:"Abort Merge"})]})]}):s.jsxs("div",{className:"merge-panel",children:[s.jsx("div",{className:"merge-header",children:"Changes Ready to Merge"}),s.jsxs("div",{className:"merge-summary",children:[s.jsxs("span",{className:"files-changed",children:[G," file",G!==1?"s":""," changed"]}),g>0&&s.jsxs("span",{className:"insertions",children:["+",g]}),p>0&&s.jsxs("span",{className:"deletions",children:["-",p]})]}),s.jsx("button",{className:"expand-btn",onClick:_,disabled:u0,children:c0?"Hide Changes":"View Changes"}),c0&&b&&s.jsx(yE,{files:b.files}),s.jsxs("div",{className:"merge-form",children:[s.jsxs("label",{children:["Commit Message (optional)",s.jsx("input",{type:"text",value:Y,onChange:i=>I(i.target.value),placeholder:"Describe your changes..."})]}),s.jsxs("label",{children:["Target Branch",s.jsx("select",{value:S,onChange:i=>A(i.target.value),children:L.map(i=>{const w=[];i===h&&w.push("current"),i===e0&&w.push("default");const P=w.length>0?` (${w.join(", ")})`:"";return s.jsxs("option",{value:i,children:[i,P]},i)})})]})]}),Q&&s.jsx("div",{className:"error-text",children:Q}),s.jsxs("div",{className:"merge-actions",children:[s.jsx("button",{className:"merge-btn",onClick:O,disabled:y==="merging"||u0,children:y==="merging"?"Merging...":"Accept & Merge"}),s.jsx("button",{className:"discard-btn",onClick:U,disabled:u0,children:"Discard Changes"})]})]})}function kE({api:E,sessionId:r,refreshTrigger:m}){const[o,y]=d.useState(null);return d.useEffect(()=>{E.getWorktreeStatus(r).then(y).catch(()=>{y(null)})},[E,r,m]),!o||!o.exists?null:s.jsxs("div",{className:"worktree-info",children:[s.jsx("span",{className:"worktree-label",children:"Workspace:"}),s.jsx("span",{className:"worktree-path",title:o.path??void 0,children:o.path?wE(o.path):"—"}),o.branch&&s.jsxs("span",{className:"worktree-branch",children:["(",o.branch,")"]}),o.has_changes&&s.jsx("span",{className:"worktree-changes",children:"*"})]})}function wE(E){const r=E.split("/");return r.length<=3?E:`.../${r.slice(-2).join("/")}`}const Li=new Set(["session_started","session_ended","user_message","assistant_message","tool_call_started","tool_call_finished","milestone"]);function _E({api:E,sessionId:r}){const[m,o]=d.useState([]),[y,R]=d.useState(null),[G,M]=d.useState(!1),[g,B]=d.useState(!1),p=d.useRef(0),f=d.useCallback(async()=>{B(!0);try{const[D,X]=await Promise.all([E.getEvents(r,0),E.getSessionLog(r)]);return o(D.events),R(X.log_path),D.events}catch{return[]}finally{B(!1)}},[E,r]);d.useEffect(()=>{let D=!1;p.current=0;const X=async()=>{const L=await f();if(D)return;!L.some(e0=>Li.has(e0.type))&&p.current<3&&(p.current++,setTimeout(()=>{D||X()},500))};return X(),()=>{D=!0}},[f]),d.useEffect(()=>{if(!G)return;const D=setInterval(f,5e3);return()=>clearInterval(D)},[G,f]);const b=m.filter(D=>Li.has(D.type)),H=new Map;for(const D of m)D.type==="tool_call_started"&&D.tool_call_id&&D.tool&&H.set(D.tool_call_id,D.tool);return s.jsxs("div",{className:"session-log",children:[s.jsxs("button",{className:"session-log-toggle",onClick:()=>M(!G),children:[G?"▼":"▶"," Session Log",y&&s.jsx("span",{className:"log-file-name",children:TE(y)}),!y&&s.jsxs("span",{className:"log-file-name",children:[r.slice(0,8),".jsonl"]})]}),G&&s.jsxs("div",{className:"session-log-content",children:[s.jsxs("div",{className:"session-log-header",children:[s.jsx("button",{onClick:f,disabled:g,children:g?"Loading...":"Refresh"}),y&&s.jsx("span",{className:"log-path",title:y,children:y})]}),s.jsx("div",{className:"session-log-events",children:b.length===0?s.jsx("div",{className:"no-events",children:"No events recorded yet"}):b.map(D=>s.jsxs("div",{className:"session-event",children:[s.jsx("span",{className:`event-type event-type-${D.type}`,children:NE(D.type)}),s.jsx("span",{className:"event-time",children:jE(D.ts)}),s.jsx("span",{className:"event-summary",children:ME(D,H)})]},D.seq))})]})]})}function TE(E){const r=E.split("/");return r[r.length-1]}function jE(E){try{return new Date(E).toLocaleTimeString()}catch{return E}}function NE(E){switch(E){case"session_started":return"started";case"session_ended":return"ended";case"user_message":return"user";case"assistant_message":return"assistant";case"tool_call_started":return"tool call";case"tool_call_finished":return"tool done";case"milestone":return"milestone";default:return E}}function ME(E,r){switch(E.type){case"session_started":return E.task_description||"Session started";case"user_message":return E.content||"";case"assistant_message":{const o=(Array.isArray(E.blocks)?E.blocks:[]).filter(y=>y.kind==="text"||y.kind==="thinking").map(y=>(y.content??"").trim()).filter(Boolean);return o.length>0?o.join(" "):"Assistant response"}case"tool_call_started":{const m=E.tool||"unknown",o=E.path||E.command||E.tool_name;if(o)return`${m}(${Ql(o,80)})`;const y=E.args;if(y&&typeof y=="object"){const R=Object.entries(y).map(([G,M])=>`${G}=${typeof M=="string"?Ql(M,30):String(M)}`).join(", ");return`${m}(${Ql(R,80)})`}return`${m}()`}case"tool_call_finished":{const m=r.get(E.tool_call_id)||E.tool_call_id||"unknown",o=E.is_error,y=E.llm_summary||"";return o?`${m}: ERROR ${Ql(y,60)}`:y?`${m}: ${Ql(y,80)}`:`${m}: done`}case"milestone":{const m=E.title||"",o=E.summary||"";return m&&o?`${m}: ${o}`:m||o||"Milestone"}case"session_ended":return E.reason||"Session ended";default:return""}}function Ql(E,r){return E.length<=r?E:E.slice(0,r)+"..."}function zE({api:E,projectPath:r,onProjectPathChange:m,onPromptsChange:o}){const[y,R]=d.useState(null),[G,M]=d.useState(!1),[g,B]=d.useState(r),[p,f]=d.useState(""),[b,H]=d.useState(""),[D,X]=d.useState([]),[L,$]=d.useState(!1),[e0,j]=d.useState(null),[h,v]=d.useState(!1),[S,A]=d.useState(""),[Y,I]=d.useState(""),[c0,a0]=d.useState(!1),Q=d.useCallback(V=>{j(V),setTimeout(()=>j(null),2e3)},[]);d.useEffect(()=>{B(r)},[r]),d.useEffect(()=>{r&&E.getProjectSettings(r).then(V=>{R(V),f(V.lint_command||""),H(V.test_command||""),X(V.instructions_paths||[])}).catch(()=>{})},[E,r]),d.useEffect(()=>{!h||!r||(a0(!0),E.getPromptPreviews(r).then(V=>{A(V.coding),I(V.verification)}).catch(()=>{}).finally(()=>{a0(!1)}))},[E,r,h]);const t0=d.useCallback(async()=>{const V=g.trim()||r;if(V){$(!0);try{const s0=await E.setProjectSettings({project_path:V,lint_command:p||null,test_command:b||null,instructions_paths:D.filter(i=>i.trim())});R(s0),V!==r&&m&&m(V),Q("Saved")}catch{Q("Error saving")}finally{$(!1)}}},[E,g,r,p,b,D,m,Q]),u0=d.useCallback(()=>{const V=g.trim();V&&V!==r&&m&&m(V)},[g,r,m]),l0=d.useCallback(()=>{X(V=>[...V,""])},[]),_=d.useCallback(V=>{X(s0=>s0.filter((i,w)=>w!==V))},[]),O=d.useCallback((V,s0)=>{X(i=>i.map((w,P)=>P===V?s0:w))},[]),U=d.useCallback(V=>{A(V),o&&o(V)},[o]);return s.jsxs("div",{className:"project-settings",children:[s.jsxs("button",{className:"project-settings-toggle",onClick:()=>M(!G),children:[G?"▼":"▶"," Project Settings",(y==null?void 0:y.project_type)&&y.project_type!=="unknown"&&s.jsxs("span",{className:"project-type",children:["(",y.project_type,")"]}),e0&&s.jsx("span",{className:"save-status",children:e0})]}),G&&s.jsxs("div",{className:"project-settings-content",children:[s.jsx("div",{className:"project-settings-row",children:s.jsxs("label",{children:["Project Path",s.jsx("input",{type:"text",value:g,onChange:V=>B(V.target.value),onBlur:u0,placeholder:"/home/user/project"})]})}),s.jsxs("div",{className:"project-settings-row",children:[s.jsxs("label",{children:["Lint Command",s.jsx("input",{type:"text",value:p,onChange:V=>f(V.target.value),onBlur:t0,placeholder:"e.g., flake8 ."})]}),s.jsxs("label",{children:["Test Command",s.jsx("input",{type:"text",value:b,onChange:V=>H(V.target.value),onBlur:t0,placeholder:"e.g., pytest tests/"})]})]}),s.jsxs("div",{className:"project-settings-section",children:[s.jsxs("div",{className:"project-settings-section-header",children:["Agent Instructions",s.jsx("button",{className:"add-path-btn",onClick:l0,children:"+ Add path"})]}),D.map((V,s0)=>s.jsxs("div",{className:"instructions-path-row",children:[s.jsx("input",{type:"text",value:V,onChange:i=>O(s0,i.target.value),onBlur:t0,placeholder:"e.g., AGENTS.md"}),s.jsx("button",{className:"remove-path-btn",onClick:()=>{_(s0)},title:"Remove",children:"x"})]},s0)),D.length===0&&s.jsx("div",{className:"instructions-hint",children:'No instruction files configured. Click "+ Add path" to add one.'})]}),s.jsxs("div",{className:"project-settings-section",children:[s.jsxs("button",{className:"project-settings-toggle prompts-toggle",onClick:()=>v(!h),children:[h?"▼":"▶"," Prompts"]}),h&&s.jsx("div",{className:"prompts-panel",children:c0?s.jsx("div",{className:"loading",children:"Loading prompts..."}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"prompt-note",children:["Use ",s.jsx("code",{children:"{task}"})," as a placeholder for the task description."]}),s.jsxs("label",{children:["Coding Prompt",s.jsx("textarea",{className:"prompt-textarea",value:S,onChange:V=>U(V.target.value),rows:12})]}),s.jsxs("label",{children:["Verification Prompt",s.jsx("textarea",{className:"prompt-textarea",value:Y,onChange:V=>I(V.target.value),rows:8,readOnly:!0})]})]})})]}),s.jsx("div",{className:"project-settings-actions",children:s.jsx("button",{onClick:t0,disabled:L,children:L?"Saving...":"Save"})})]})]})}function qi({api:E,selected:r,onSelect:m,disabled:o=!1,placeholder:y="Select an account...",allowNone:R=!1}){const[G,M]=d.useState([]),g=d.useRef(!1);return d.useEffect(()=>{E.listAccounts().then(B=>{if(M(B.accounts),!R&&!g.current&&B.accounts.length>0){g.current=!0;const f=B.accounts.find(b=>b.ready&&b.role==="CODING")??B.accounts.find(b=>b.ready);f&&m(f)}}).catch(()=>M([]))},[E,R]),s.jsxs("select",{value:(r==null?void 0:r.name)??"",disabled:o,onChange:B=>{const p=G.find(f=>f.name===B.target.value)??null;m(p)},children:[s.jsx("option",{value:"",disabled:!R,children:y}),G.map(B=>s.jsxs("option",{value:B.name,disabled:!B.ready,children:[B.name," (",B.provider,B.model?` / ${B.model}`:"",B.ready?"":" - not ready",")"]},B.name))]})}function OE(E){return E.replace(/\x1b\[[0-9;]*[a-zA-Z]/g,"")}function Yi(E){return E.replace(/\r\n?/g,`
`)}function UE(E,r){var y;const m=E.filter(R=>R.type==="session_started"),o=(y=m[m.length-1])==null?void 0:y.seq;return typeof o=="number"?Math.max(0,o-1):r}function RE({api:E,sessionId:r,onSessionChange:m,defaultProjectPath:o="",apiBaseUrl:y,token:R,sessionActive:G=!1}){const[M,g]=d.useState(!1),[B,p]=d.useState(!1),[f,b]=d.useState(!1),[H,D]=d.useState(null),[X,L]=d.useState([]),[$,e0]=d.useState(null),j=d.useRef(0),[h,v]=d.useState(""),[S,A]=d.useState(!1),[Y,I]=d.useState(!1),[c0,a0]=d.useState(new Set),Q=d.useRef(null),t0=d.useRef(null),u0=d.useRef(null),[l0,_]=d.useState([]),[O,U]=d.useState(!1),[V,s0]=d.useState(!1),[i,w]=d.useState(""),[P,W]=d.useState(null),[B0,r0]=d.useState(null),[f0,L0]=d.useState(o),[g0,Nx]=d.useState(0),[Ex,ex]=d.useState(null),[n0,S0]=d.useState(null),[O0,tx]=d.useState(null),Xx=d.useRef(!1),dx=d.useRef(void 0),{terminalOutput:nx,events:Ge,completed:Z0,error:Vl,reset:Zl}=FE(M?r:null,dx.current,y,R),fx=Yi(nx||i),Pl=d.useCallback((x0,d0)=>{const h0=x0.type||x0.event_type;if(!h0)return null;if(h0==="user_message")return{seq:d0??0,ts:x0.ts??"",type:"user",content:String(x0.content??"")};if(h0==="assistant_message"){const F0=Array.isArray(x0.blocks)?x0.blocks:[],j0=F0.filter(Bx=>["text","thinking","error"].includes(Bx.kind)).map(Bx=>String(Bx.content??"").trim()).filter(Boolean);return{seq:d0??0,ts:x0.ts??"",type:"assistant",content:j0.join(`
`),blocks:F0}}return h0==="milestone"?{seq:d0??0,ts:x0.ts??"",type:"milestone",milestone_type:x0.milestone_type??"",title:x0.title??"",summary:x0.summary??""}:null},[]);d.useEffect(()=>{let x0=!1;return w(""),W(null),r0(null),!G&&!M&&(async()=>{try{const d0=await E.getEvents(r,0,"terminal_output,session_started,session_ended");if(x0)return;const h0=d0.events.filter(N0=>N0.type==="terminal_output"&&N0.data);if(h0.length>0){const N0=h0.map(De=>De.data||"").join("");w(Yi(N0))}const F0=d0.events.filter(N0=>N0.type==="session_started"&&N0.task_description);if(F0.length>0){const N0=F0[F0.length-1];W(N0.task_description??null),r0(N0.verification_account??null),A(!0)}else A(!1);const j0=d0.events.filter(N0=>N0.type==="session_ended");if(j0.length>0){const N0=j0[j0.length-1];I(N0.reason==="cancelled")}const Bx=await E.getWorktreeStatus(r);!x0&&Bx.exists&&Bx.has_changes&&b(!0)}catch{}})(),()=>{x0=!0}},[E,r,G,M]),d.useEffect(()=>{let x0=!1;return L([]),j.current=0,(async()=>{try{const d0=await E.getConversation(r,0);if(x0)return;L(d0.items),W(d0.task.task_description||null),r0(d0.task.verification_account||null),A(!0),j.current=d0.latest_seq}catch{x0||(L([]),A(!1),W(null),r0(null))}})(),()=>{x0=!0}},[E,r]),d.useEffect(()=>{let x0=!1;return E.listAccounts().then(d0=>{if(x0)return;const h0=d0.accounts.find(F0=>F0.role==="CODING")||d0.accounts[0]||null;D(h0||null)}).catch(()=>{x0||D(null)}),()=>{x0=!0}},[E]),d.useEffect(()=>{let x0=!1;return E.getVerificationSettings().then(d0=>{x0||(tx(d0),d0.enabled||S0(null))}).catch(()=>{x0||tx({enabled:!0})}),E.getVerificationAgent().then(d0=>{if(x0)return;const h0=d0.account_name;!h0||h0==="__verification_none__"||Xx.current||E.getAccount(h0).then(F0=>{x0||(S0(F0),Xx.current=!0)}).catch(()=>{})}).catch(()=>{}),()=>{x0=!0}},[E]),d.useEffect(()=>{let x0=!1;return G&&!M&&(async()=>{try{const d0=await E.getEvents(r,0,"session_started");x0||(dx.current=UE(d0.events,d0.latest_seq));const h0=d0.events.filter(F0=>F0.type==="session_started"&&F0.task_description);if(!x0&&h0.length>0){const F0=h0[h0.length-1];W(F0.task_description??null)}}catch{}x0||g(!0)})(),()=>{x0=!0}},[G]),d.useEffect(()=>{Ge.length!==0&&L(x0=>{let d0=[...x0];for(const h0 of Ge){const F0=h0.seq??0;if(F0&&F0<=j.current)continue;const j0=h0.data||{};if((j0.type||j0.event_type)==="session_started"){d0=[],W(j0.task_description??null),r0(j0.verification_account??null),A(!0),F0&&(j.current=F0);continue}const N0=Pl(j0,F0);N0&&(d0.push(N0),F0&&(j.current=Math.max(j.current,F0)))}return d0})},[Ge,Pl]),d.useEffect(()=>{Q.current&&(Q.current.scrollTop=Q.current.scrollHeight)},[nx,i]),d.useEffect(()=>{t0.current&&requestAnimationFrame(()=>{t0.current&&(t0.current.scrollTop=t0.current.scrollHeight)})},[X]),d.useEffect(()=>{Z0&&(g(!1),m(),E.getWorktreeStatus(r).then(x0=>{x0.exists&&x0.has_changes&&b(!0)}).catch(()=>{}))},[E,Z0,r,m]);const Kt=d.useCallback(async x0=>{try{const d0=await E.getEvents(r,0,"session_started");dx.current=d0.latest_seq}catch{dx.current=void 0}Zl(),w(""),g(!0),b(!1),I(!1),W(x0),L([]),j.current=0,A(!0)},[E,r,Zl]),Jt=d.useCallback(()=>{b(!1),m()},[m]),ot=d.useCallback(async()=>{try{await E.cancelSession(r),I(!0)}catch{}},[E,r]),$t=d.useCallback(async x0=>{const d0=Array.from(x0).filter(h0=>h0.type.startsWith("image/"));if(d0.length!==0){U(!0),e0(null);for(const h0 of d0)try{const F0=await E.uploadFile(h0),j0=URL.createObjectURL(h0);_(Bx=>[...Bx,{path:F0.path,filename:F0.filename,previewUrl:j0}])}catch(F0){e0(F0 instanceof Error?F0.message:"Failed to upload screenshot")}U(!1)}},[E]),Kl=d.useCallback(x0=>{x0.preventDefault(),s0(!1),x0.dataTransfer.files.length>0&&$t(x0.dataTransfer.files)},[$t]),En=d.useCallback(x0=>{x0.preventDefault(),s0(!0)},[]),fn=d.useCallback(x0=>{x0.preventDefault(),s0(!1)},[]),Xe=d.useCallback(x0=>{_(d0=>{const h0=d0[x0];return h0!=null&&h0.previewUrl&&URL.revokeObjectURL(h0.previewUrl),d0.filter((F0,j0)=>j0!==x0)})},[]),cx=d.useCallback(async()=>{if(!B){if(M){e0(null),p(!0);try{const x0=h.trim(),d0="",h0=x0?d0+`
`+x0+`
`:d0+`
`,F0=btoa(h0);await E.sendInput(r,F0),L(j0=>[...j0,{seq:j.current+1,ts:new Date().toISOString(),type:"user",content:`[Interrupt] ${x0||"(interrupted)"}`}]),j.current+=1,x0&&v("")}catch(x0){x0 instanceof Error?e0(x0.message):e0("Failed to send interrupt")}finally{p(!1)}return}if(h.trim()){if(!H){e0("Select a coding agent first");return}e0(null),p(!0);try{const d0=(await E.getSession(r)).project_path||f0||o;if(!d0){e0("Set a project path first"),p(!1);return}try{const j0=await E.getEvents(r,0,"session_started");dx.current=j0.latest_seq}catch{dx.current=void 0}const h0=h.trim(),F0=(O0==null?void 0:O0.enabled)&&n0;await E.startTask(r,{project_path:d0,task_description:h0,coding_agent:H.name,verification_agent:F0?n0.name:void 0,override_prompt:Ex||void 0,is_followup:S,screenshots:l0.length>0?l0.map(j0=>j0.path):void 0}),Kt(h0),v(""),l0.forEach(j0=>URL.revokeObjectURL(j0.previewUrl)),_([])}catch(x0){x0 instanceof Error?e0(x0.message):e0("Failed to start task")}finally{p(!1)}}}},[E,r,h,B,M,H,n0,O0,f0,o,Ex,S,Kt,j,l0]),Px=d.useCallback(x0=>{x0.key==="Enter"&&!x0.shiftKey&&(x0.preventDefault(),cx())},[cx]);d.useEffect(()=>{E.getSession(r).then(x0=>{x0.project_path&&L0(x0.project_path)}).catch(()=>{})},[E,r]),d.useEffect(()=>{Z0&&Nx(x0=>x0+1)},[Z0]);const Ax=d.useCallback(x0=>{L0(x0)},[]);return s.jsxs("div",{className:"chat-view",children:[s.jsxs("div",{className:"session-info-bar",children:[s.jsx(kE,{api:E,sessionId:r,refreshTrigger:g0}),s.jsx(_E,{api:E,sessionId:r})]}),P&&(M||fx)&&s.jsxs("div",{className:"task-description-bar",children:[s.jsx("span",{className:"task-description-label",children:"Task:"}),s.jsx("span",{className:"task-description-text",children:P}),B0&&s.jsxs("span",{className:"verification-agent-badge",children:["Verification: ",B0]})]}),s.jsx(zE,{api:E,projectPath:f0||o,onProjectPathChange:Ax,onPromptsChange:ex}),s.jsxs("div",{className:"chat-body",children:[s.jsx("div",{className:"chat-shell",children:s.jsxs("div",{className:"chat-frame",children:[s.jsxs("div",{className:"chat-header",children:[s.jsxs("div",{className:"chat-agent-pickers",children:[s.jsxs("div",{className:"chat-agent-picker",children:[s.jsx("span",{className:"field-label",children:"Coding Agent"}),s.jsx(qi,{api:E,selected:H,onSelect:D})]}),s.jsxs("div",{className:"chat-verification-picker",children:[s.jsx("span",{className:"field-label",children:"Verification Agent"}),s.jsx(qi,{api:E,selected:(O0==null?void 0:O0.enabled)===!1?null:n0,onSelect:S0,disabled:(O0==null?void 0:O0.enabled)===!1,placeholder:"None",allowNone:!0})]})]}),s.jsx("div",{className:"chat-status",children:M?"Running…":S?"Ready for follow-up":"Ready to start"})]}),s.jsx("div",{className:"chat-messages",ref:t0,children:X.map(x0=>{var Jl,Wt;const d0=x0.type==="user"&&((Jl=x0.content)==null?void 0:Jl.startsWith("[Interrupt]")),h0=x0.type==="user"?d0?"Interrupt":"Pleb":x0.type==="assistant"?"Agent":x0.title||"Milestone",F0=x0.type==="milestone"?x0.summary||"":d0?((Wt=x0.content)==null?void 0:Wt.replace("[Interrupt] ",""))||"":x0.content||"",j0=x0.type==="user"?"end":x0.type==="assistant"?"start":"center",Bx=d0?"user interrupt":x0.type,N0=x0.type==="milestone",De=N0&&c0.has(x0.seq),Qe=N0?()=>{a0(It=>{const Kx=new Set(It);return Kx.has(x0.seq)?Kx.delete(x0.seq):Kx.add(x0.seq),Kx})}:void 0;return s.jsx("div",{className:`chat-item ${j0}`,children:s.jsxs("div",{className:`chat-bubble ${Bx}${N0?" clickable":""}`,onClick:Qe,children:[s.jsx("div",{className:"chat-bubble-label",children:h0}),s.jsx("div",{className:`chat-bubble-text${N0&&!De?" clamped":""}`,children:F0})]})},x0.seq)})}),s.jsxs("div",{className:`chat-composer ${V?"drag-over":""}`,onDrop:Kl,onDragOver:En,onDragLeave:fn,children:[l0.length>0&&s.jsx("div",{className:"screenshot-previews",children:l0.map((x0,d0)=>s.jsxs("div",{className:"screenshot-preview",children:[s.jsx("img",{src:x0.previewUrl,alt:x0.filename}),s.jsx("button",{type:"button",className:"screenshot-remove",onClick:()=>Xe(d0),title:"Remove",children:"x"}),s.jsx("span",{className:"screenshot-name",children:x0.filename})]},x0.path))}),s.jsx("textarea",{value:h,onChange:x0=>v(x0.target.value),onKeyDown:Px,placeholder:M?"Type a clarification or additional context for the agent…":"Type a task or follow-up message (drop images here)",disabled:B||O,rows:5}),s.jsx("input",{ref:u0,type:"file",accept:"image/*",multiple:!0,style:{display:"none"},onChange:x0=>x0.target.files&&$t(x0.target.files)}),s.jsxs("div",{className:"composer-actions",children:[$&&s.jsx("span",{className:"error-text",children:$}),s.jsxs("div",{className:"composer-right",children:[O&&s.jsx("span",{className:"running-indicator",children:"Uploading…"}),M&&s.jsx("span",{className:"running-indicator",children:"Running…"}),!M&&s.jsx("button",{type:"button",onClick:()=>{var x0;return(x0=u0.current)==null?void 0:x0.click()},disabled:O||B,className:"attach-btn",title:"Attach screenshots",children:"Attach"}),s.jsx("button",{onClick:cx,disabled:B||O||!M&&!h.trim(),children:B?"Sending...":M?h.trim()?"Send Interrupt":"Interrupt":S?"Send follow-up":"Start task"})]})]})]})]})}),s.jsxs("div",{className:"terminal-area",children:[s.jsxs("div",{className:"terminal-header",children:[M&&!Z0&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"running-indicator",children:"Running..."}),s.jsx("button",{className:"cancel-btn",onClick:ot,children:"Cancel"})]}),(Z0||i&&!M)&&s.jsx("span",{className:Y?"cancelled-indicator":"done-indicator",children:Y?"Cancelled":"Completed"}),Vl&&s.jsx("span",{className:"error-text",children:Vl})]}),s.jsx("pre",{ref:Q,className:"terminal-output",children:OE(fx)})]})]}),f&&!M&&s.jsx(SE,{api:E,sessionId:r,onMerged:Jt,onDismiss:Jt})]})}const HE=[{value:"session_usage",label:"Session Usage"},{value:"weekly_usage",label:"Weekly Usage"},{value:"context_usage",label:"Context Usage"}],LE=[{value:"notify",label:"Notify"},{value:"switch_provider",label:"Switch Provider"},{value:"await_reset",label:"Await Reset"}],Gi=6;function qE(){return{event:"session_usage",threshold:80,action:"notify",target_account:null}}function YE({api:E,connected:r}){const[m,o]=d.useState([]),[y,R]=d.useState([]),[G,M]=d.useState(null);d.useEffect(()=>{E.getActionSettings().then(b=>o(b.settings??[])).catch(()=>{}),E.listAccounts().then(b=>R(b.accounts)).catch(()=>{})},[E]);const g=d.useCallback(async b=>{o(b);try{await E.setActionSettings(b),M("Saved"),setTimeout(()=>M(null),1500)}catch{M("Save failed")}},[E]),B=d.useCallback((b,H,D)=>{const X=m.map((L,$)=>{if($!==b)return L;const e0={...L,[H]:D};return H==="action"&&D!=="switch_provider"&&(e0.target_account=null),e0});g(X)},[m,g]),p=d.useCallback(()=>{m.length>=Gi||g([...m,qE()])},[m,g]),f=d.useCallback(b=>{g(m.filter((H,D)=>D!==b))},[m,g]);return s.jsxs("section",{className:"action-rules",children:[s.jsxs("div",{className:"section-header",children:[s.jsx("h3",{children:"Action Rules"}),G&&s.jsx("span",{className:"save-status",children:G})]}),m.map((b,H)=>s.jsxs("div",{className:"action-rule-row",children:[s.jsx("select",{value:b.event,onChange:D=>B(H,"event",D.target.value),disabled:!r,children:HE.map(D=>s.jsx("option",{value:D.value,children:D.label},D.value))}),s.jsxs("div",{className:"threshold-group",children:[s.jsx("input",{type:"range",min:0,max:100,step:5,value:b.threshold,onChange:D=>B(H,"threshold",Number(D.target.value)),disabled:!r}),s.jsxs("span",{className:"threshold-value",children:[b.threshold,"%"]})]}),s.jsx("select",{value:b.action,onChange:D=>B(H,"action",D.target.value),disabled:!r,children:LE.map(D=>s.jsx("option",{value:D.value,children:D.label},D.value))}),b.action==="switch_provider"&&s.jsxs("select",{value:b.target_account??"",onChange:D=>B(H,"target_account",D.target.value||null),disabled:!r,children:[s.jsx("option",{value:"",children:"Select account..."}),y.map(D=>s.jsx("option",{value:D.name,children:D.name},D.name))]}),s.jsx("button",{className:"delete-rule-btn",onClick:()=>f(H),disabled:!r,children:"x"})]},H)),m.length<Gi&&s.jsx("button",{className:"add-rule-btn",onClick:p,disabled:!r,children:"+ Add Rule"})]})}var rn={exports:{}},GE=rn.exports,Xi;function XE(){return Xi||(Xi=1,(function(E,r){(function(o,y){E.exports=y()})(typeof self<"u"?self:GE,function(){return(function(m){var o={};function y(R){if(o[R])return o[R].exports;var G=o[R]={i:R,l:!1,exports:{}};return m[R].call(G.exports,G,G.exports,y),G.l=!0,G.exports}return y.m=m,y.c=o,y.d=function(R,G,M){y.o(R,G)||Object.defineProperty(R,G,{configurable:!1,enumerable:!0,get:M})},y.n=function(R){var G=R&&R.__esModule?function(){return R.default}:function(){return R};return y.d(G,"a",G),G},y.o=function(R,G){return Object.prototype.hasOwnProperty.call(R,G)},y.p="",y(y.s=3)})([(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=(function(){function G(M,g){this.width=g,this.height=M.length/g,this.data=M}return G.createEmpty=function(M,g){return new G(new Uint8ClampedArray(M*g),M)},G.prototype.get=function(M,g){return M<0||M>=this.width||g<0||g>=this.height?!1:!!this.data[g*this.width+M]},G.prototype.set=function(M,g,B){this.data[g*this.width+M]=B?1:0},G.prototype.setRegion=function(M,g,B,p,f){for(var b=g;b<g+p;b++)for(var H=M;H<M+B;H++)this.set(H,b,!!f)},G})();o.BitMatrix=R}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(2);function G(g,B){return g^B}o.addOrSubtractGF=G;var M=(function(){function g(B,p,f){this.primitive=B,this.size=p,this.generatorBase=f,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var b=1,H=0;H<this.size;H++)this.expTable[H]=b,b=b*2,b>=this.size&&(b=(b^this.primitive)&this.size-1);for(var H=0;H<this.size-1;H++)this.logTable[this.expTable[H]]=H;this.zero=new R.default(this,Uint8ClampedArray.from([0])),this.one=new R.default(this,Uint8ClampedArray.from([1]))}return g.prototype.multiply=function(B,p){return B===0||p===0?0:this.expTable[(this.logTable[B]+this.logTable[p])%(this.size-1)]},g.prototype.inverse=function(B){if(B===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[B]-1]},g.prototype.buildMonomial=function(B,p){if(B<0)throw new Error("Invalid monomial degree less than 0");if(p===0)return this.zero;var f=new Uint8ClampedArray(B+1);return f[0]=p,new R.default(this,f)},g.prototype.log=function(B){if(B===0)throw new Error("Can't take log(0)");return this.logTable[B]},g.prototype.exp=function(B){return this.expTable[B]},g})();o.default=M}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(1),G=(function(){function M(g,B){if(B.length===0)throw new Error("No coefficients.");this.field=g;var p=B.length;if(p>1&&B[0]===0){for(var f=1;f<p&&B[f]===0;)f++;if(f===p)this.coefficients=g.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(p-f);for(var b=0;b<this.coefficients.length;b++)this.coefficients[b]=B[f+b]}}else this.coefficients=B}return M.prototype.degree=function(){return this.coefficients.length-1},M.prototype.isZero=function(){return this.coefficients[0]===0},M.prototype.getCoefficient=function(g){return this.coefficients[this.coefficients.length-1-g]},M.prototype.addOrSubtract=function(g){var B;if(this.isZero())return g;if(g.isZero())return this;var p=this.coefficients,f=g.coefficients;p.length>f.length&&(B=[f,p],p=B[0],f=B[1]);for(var b=new Uint8ClampedArray(f.length),H=f.length-p.length,D=0;D<H;D++)b[D]=f[D];for(var D=H;D<f.length;D++)b[D]=R.addOrSubtractGF(p[D-H],f[D]);return new M(this.field,b)},M.prototype.multiply=function(g){if(g===0)return this.field.zero;if(g===1)return this;for(var B=this.coefficients.length,p=new Uint8ClampedArray(B),f=0;f<B;f++)p[f]=this.field.multiply(this.coefficients[f],g);return new M(this.field,p)},M.prototype.multiplyPoly=function(g){if(this.isZero()||g.isZero())return this.field.zero;for(var B=this.coefficients,p=B.length,f=g.coefficients,b=f.length,H=new Uint8ClampedArray(p+b-1),D=0;D<p;D++)for(var X=B[D],L=0;L<b;L++)H[D+L]=R.addOrSubtractGF(H[D+L],this.field.multiply(X,f[L]));return new M(this.field,H)},M.prototype.multiplyByMonomial=function(g,B){if(g<0)throw new Error("Invalid degree less than 0");if(B===0)return this.field.zero;for(var p=this.coefficients.length,f=new Uint8ClampedArray(p+g),b=0;b<p;b++)f[b]=this.field.multiply(this.coefficients[b],B);return new M(this.field,f)},M.prototype.evaluateAt=function(g){var B=0;if(g===0)return this.getCoefficient(0);var p=this.coefficients.length;if(g===1)return this.coefficients.forEach(function(b){B=R.addOrSubtractGF(B,b)}),B;B=this.coefficients[0];for(var f=1;f<p;f++)B=R.addOrSubtractGF(this.field.multiply(g,B),this.coefficients[f]);return B},M})();o.default=G}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(4),G=y(5),M=y(11),g=y(12);function B(b){var H=g.locate(b);if(!H)return null;for(var D=0,X=H;D<X.length;D++){var L=X[D],$=M.extract(b,L),e0=G.decode($.matrix);if(e0)return{binaryData:e0.bytes,data:e0.text,chunks:e0.chunks,version:e0.version,location:{topRightCorner:$.mappingFunction(L.dimension,0),topLeftCorner:$.mappingFunction(0,0),bottomRightCorner:$.mappingFunction(L.dimension,L.dimension),bottomLeftCorner:$.mappingFunction(0,L.dimension),topRightFinderPattern:L.topRight,topLeftFinderPattern:L.topLeft,bottomLeftFinderPattern:L.bottomLeft,bottomRightAlignmentPattern:L.alignmentPattern}}}return null}var p={inversionAttempts:"attemptBoth"};function f(b,H,D,X){X===void 0&&(X={});var L=p;Object.keys(L||{}).forEach(function(A){L[A]=X[A]||L[A]});var $=L.inversionAttempts==="attemptBoth"||L.inversionAttempts==="invertFirst",e0=L.inversionAttempts==="onlyInvert"||L.inversionAttempts==="invertFirst",j=R.binarize(b,H,D,$),h=j.binarized,v=j.inverted,S=B(e0?v:h);return!S&&(L.inversionAttempts==="attemptBoth"||L.inversionAttempts==="invertFirst")&&(S=B(e0?h:v)),S}f.default=f,o.default=f}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(0),G=8,M=24;function g(f,b,H){return f<b?b:f>H?H:f}var B=(function(){function f(b,H){this.width=b,this.data=new Uint8ClampedArray(b*H)}return f.prototype.get=function(b,H){return this.data[H*this.width+b]},f.prototype.set=function(b,H,D){this.data[H*this.width+b]=D},f})();function p(f,b,H,D){if(f.length!==b*H*4)throw new Error("Malformed data passed to binarizer.");for(var X=new B(b,H),L=0;L<b;L++)for(var $=0;$<H;$++){var e0=f[($*b+L)*4+0],j=f[($*b+L)*4+1],h=f[($*b+L)*4+2];X.set(L,$,.2126*e0+.7152*j+.0722*h)}for(var v=Math.ceil(b/G),S=Math.ceil(H/G),A=new B(v,S),Y=0;Y<S;Y++)for(var I=0;I<v;I++){for(var c0=0,a0=1/0,Q=0,$=0;$<G;$++)for(var L=0;L<G;L++){var t0=X.get(I*G+L,Y*G+$);c0+=t0,a0=Math.min(a0,t0),Q=Math.max(Q,t0)}var u0=c0/Math.pow(G,2);if(Q-a0<=M&&(u0=a0/2,Y>0&&I>0)){var l0=(A.get(I,Y-1)+2*A.get(I-1,Y)+A.get(I-1,Y-1))/4;a0<l0&&(u0=l0)}A.set(I,Y,u0)}var _=R.BitMatrix.createEmpty(b,H),O=null;D&&(O=R.BitMatrix.createEmpty(b,H));for(var Y=0;Y<S;Y++)for(var I=0;I<v;I++){for(var U=g(I,2,v-3),V=g(Y,2,S-3),c0=0,s0=-2;s0<=2;s0++)for(var i=-2;i<=2;i++)c0+=A.get(U+s0,V+i);for(var w=c0/25,s0=0;s0<G;s0++)for(var i=0;i<G;i++){var L=I*G+s0,$=Y*G+i,P=X.get(L,$);_.set(L,$,P<=w),D&&O.set(L,$,!(P<=w))}}return D?{binarized:_,inverted:O}:{binarized:_}}o.binarize=p}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(0),G=y(6),M=y(9),g=y(10);function B(h,v){for(var S=h^v,A=0;S;)A++,S&=S-1;return A}function p(h,v){return v<<1|h}var f=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],b=[function(h){return(h.y+h.x)%2===0},function(h){return h.y%2===0},function(h){return h.x%3===0},function(h){return(h.y+h.x)%3===0},function(h){return(Math.floor(h.y/2)+Math.floor(h.x/3))%2===0},function(h){return h.x*h.y%2+h.x*h.y%3===0},function(h){return(h.y*h.x%2+h.y*h.x%3)%2===0},function(h){return((h.y+h.x)%2+h.y*h.x%3)%2===0}];function H(h){var v=17+4*h.versionNumber,S=R.BitMatrix.createEmpty(v,v);S.setRegion(0,0,9,9,!0),S.setRegion(v-8,0,8,9,!0),S.setRegion(0,v-8,9,8,!0);for(var A=0,Y=h.alignmentPatternCenters;A<Y.length;A++)for(var I=Y[A],c0=0,a0=h.alignmentPatternCenters;c0<a0.length;c0++){var Q=a0[c0];I===6&&Q===6||I===6&&Q===v-7||I===v-7&&Q===6||S.setRegion(I-2,Q-2,5,5,!0)}return S.setRegion(6,9,1,v-17,!0),S.setRegion(9,6,v-17,1,!0),h.versionNumber>6&&(S.setRegion(v-11,0,3,6,!0),S.setRegion(0,v-11,6,3,!0)),S}function D(h,v,S){for(var A=b[S.dataMask],Y=h.height,I=H(v),c0=[],a0=0,Q=0,t0=!0,u0=Y-1;u0>0;u0-=2){u0===6&&u0--;for(var l0=0;l0<Y;l0++)for(var _=t0?Y-1-l0:l0,O=0;O<2;O++){var U=u0-O;if(!I.get(U,_)){Q++;var V=h.get(U,_);A({y:_,x:U})&&(V=!V),a0=p(V,a0),Q===8&&(c0.push(a0),Q=0,a0=0)}}t0=!t0}return c0}function X(h){var v=h.height,S=Math.floor((v-17)/4);if(S<=6)return g.VERSIONS[S-1];for(var A=0,Y=5;Y>=0;Y--)for(var I=v-9;I>=v-11;I--)A=p(h.get(I,Y),A);for(var c0=0,I=5;I>=0;I--)for(var Y=v-9;Y>=v-11;Y--)c0=p(h.get(I,Y),c0);for(var a0=1/0,Q,t0=0,u0=g.VERSIONS;t0<u0.length;t0++){var l0=u0[t0];if(l0.infoBits===A||l0.infoBits===c0)return l0;var _=B(A,l0.infoBits);_<a0&&(Q=l0,a0=_),_=B(c0,l0.infoBits),_<a0&&(Q=l0,a0=_)}if(a0<=3)return Q}function L(h){for(var v=0,S=0;S<=8;S++)S!==6&&(v=p(h.get(S,8),v));for(var A=7;A>=0;A--)A!==6&&(v=p(h.get(8,A),v));for(var Y=h.height,I=0,A=Y-1;A>=Y-7;A--)I=p(h.get(8,A),I);for(var S=Y-8;S<Y;S++)I=p(h.get(S,8),I);for(var c0=1/0,a0=null,Q=0,t0=f;Q<t0.length;Q++){var u0=t0[Q],l0=u0.bits,_=u0.formatInfo;if(l0===v||l0===I)return _;var O=B(v,l0);O<c0&&(a0=_,c0=O),v!==I&&(O=B(I,l0),O<c0&&(a0=_,c0=O))}return c0<=3?a0:null}function $(h,v,S){var A=v.errorCorrectionLevels[S],Y=[],I=0;if(A.ecBlocks.forEach(function(V){for(var s0=0;s0<V.numBlocks;s0++)Y.push({numDataCodewords:V.dataCodewordsPerBlock,codewords:[]}),I+=V.dataCodewordsPerBlock+A.ecCodewordsPerBlock}),h.length<I)return null;h=h.slice(0,I);for(var c0=A.ecBlocks[0].dataCodewordsPerBlock,a0=0;a0<c0;a0++)for(var Q=0,t0=Y;Q<t0.length;Q++){var u0=t0[Q];u0.codewords.push(h.shift())}if(A.ecBlocks.length>1)for(var l0=A.ecBlocks[0].numBlocks,_=A.ecBlocks[1].numBlocks,a0=0;a0<_;a0++)Y[l0+a0].codewords.push(h.shift());for(;h.length>0;)for(var O=0,U=Y;O<U.length;O++){var u0=U[O];u0.codewords.push(h.shift())}return Y}function e0(h){var v=X(h);if(!v)return null;var S=L(h);if(!S)return null;var A=D(h,v,S),Y=$(A,v,S.errorCorrectionLevel);if(!Y)return null;for(var I=Y.reduce(function(O,U){return O+U.numDataCodewords},0),c0=new Uint8ClampedArray(I),a0=0,Q=0,t0=Y;Q<t0.length;Q++){var u0=t0[Q],l0=M.decode(u0.codewords,u0.codewords.length-u0.numDataCodewords);if(!l0)return null;for(var _=0;_<u0.numDataCodewords;_++)c0[a0++]=l0[_]}try{return G.decode(c0,v.versionNumber)}catch{return null}}function j(h){if(h==null)return null;var v=e0(h);if(v)return v;for(var S=0;S<h.width;S++)for(var A=S+1;A<h.height;A++)h.get(S,A)!==h.get(A,S)&&(h.set(S,A,!h.get(S,A)),h.set(A,S,!h.get(A,S)));return e0(h)}o.decode=j}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(7),G=y(8),M;(function(X){X.Numeric="numeric",X.Alphanumeric="alphanumeric",X.Byte="byte",X.Kanji="kanji",X.ECI="eci"})(M=o.Mode||(o.Mode={}));var g;(function(X){X[X.Terminator=0]="Terminator",X[X.Numeric=1]="Numeric",X[X.Alphanumeric=2]="Alphanumeric",X[X.Byte=4]="Byte",X[X.Kanji=8]="Kanji",X[X.ECI=7]="ECI"})(g||(g={}));function B(X,L){for(var $=[],e0="",j=[10,12,14][L],h=X.readBits(j);h>=3;){var v=X.readBits(10);if(v>=1e3)throw new Error("Invalid numeric value above 999");var S=Math.floor(v/100),A=Math.floor(v/10)%10,Y=v%10;$.push(48+S,48+A,48+Y),e0+=S.toString()+A.toString()+Y.toString(),h-=3}if(h===2){var v=X.readBits(7);if(v>=100)throw new Error("Invalid numeric value above 99");var S=Math.floor(v/10),A=v%10;$.push(48+S,48+A),e0+=S.toString()+A.toString()}else if(h===1){var v=X.readBits(4);if(v>=10)throw new Error("Invalid numeric value above 9");$.push(48+v),e0+=v.toString()}return{bytes:$,text:e0}}var p=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function f(X,L){for(var $=[],e0="",j=[9,11,13][L],h=X.readBits(j);h>=2;){var v=X.readBits(11),S=Math.floor(v/45),A=v%45;$.push(p[S].charCodeAt(0),p[A].charCodeAt(0)),e0+=p[S]+p[A],h-=2}if(h===1){var S=X.readBits(6);$.push(p[S].charCodeAt(0)),e0+=p[S]}return{bytes:$,text:e0}}function b(X,L){for(var $=[],e0="",j=[8,16,16][L],h=X.readBits(j),v=0;v<h;v++){var S=X.readBits(8);$.push(S)}try{e0+=decodeURIComponent($.map(function(A){return"%"+("0"+A.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:$,text:e0}}function H(X,L){for(var $=[],e0="",j=[8,10,12][L],h=X.readBits(j),v=0;v<h;v++){var S=X.readBits(13),A=Math.floor(S/192)<<8|S%192;A<7936?A+=33088:A+=49472,$.push(A>>8,A&255),e0+=String.fromCharCode(G.shiftJISTable[A])}return{bytes:$,text:e0}}function D(X,L){for(var $,e0,j,h,v=new R.BitStream(X),S=L<=9?0:L<=26?1:2,A={text:"",bytes:[],chunks:[],version:L};v.available()>=4;){var Y=v.readBits(4);if(Y===g.Terminator)return A;if(Y===g.ECI)v.readBits(1)===0?A.chunks.push({type:M.ECI,assignmentNumber:v.readBits(7)}):v.readBits(1)===0?A.chunks.push({type:M.ECI,assignmentNumber:v.readBits(14)}):v.readBits(1)===0?A.chunks.push({type:M.ECI,assignmentNumber:v.readBits(21)}):A.chunks.push({type:M.ECI,assignmentNumber:-1});else if(Y===g.Numeric){var I=B(v,S);A.text+=I.text,($=A.bytes).push.apply($,I.bytes),A.chunks.push({type:M.Numeric,text:I.text})}else if(Y===g.Alphanumeric){var c0=f(v,S);A.text+=c0.text,(e0=A.bytes).push.apply(e0,c0.bytes),A.chunks.push({type:M.Alphanumeric,text:c0.text})}else if(Y===g.Byte){var a0=b(v,S);A.text+=a0.text,(j=A.bytes).push.apply(j,a0.bytes),A.chunks.push({type:M.Byte,bytes:a0.bytes,text:a0.text})}else if(Y===g.Kanji){var Q=H(v,S);A.text+=Q.text,(h=A.bytes).push.apply(h,Q.bytes),A.chunks.push({type:M.Kanji,bytes:Q.bytes,text:Q.text})}}if(v.available()===0||v.readBits(v.available())===0)return A}o.decode=D}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=(function(){function G(M){this.byteOffset=0,this.bitOffset=0,this.bytes=M}return G.prototype.readBits=function(M){if(M<1||M>32||M>this.available())throw new Error("Cannot read "+M.toString()+" bits");var g=0;if(this.bitOffset>0){var B=8-this.bitOffset,p=M<B?M:B,f=B-p,b=255>>8-p<<f;g=(this.bytes[this.byteOffset]&b)>>f,M-=p,this.bitOffset+=p,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(M>0){for(;M>=8;)g=g<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,M-=8;if(M>0){var f=8-M,b=255>>f<<f;g=g<<M|(this.bytes[this.byteOffset]&b)>>f,this.bitOffset+=M}}return g},G.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},G})();o.BitStream=R}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0}),o.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(1),G=y(2);function M(f,b,H,D){var X;b.degree()<H.degree()&&(X=[H,b],b=X[0],H=X[1]);for(var L=b,$=H,e0=f.zero,j=f.one;$.degree()>=D/2;){var h=L,v=e0;if(L=$,e0=j,L.isZero())return null;$=h;for(var S=f.zero,A=L.getCoefficient(L.degree()),Y=f.inverse(A);$.degree()>=L.degree()&&!$.isZero();){var I=$.degree()-L.degree(),c0=f.multiply($.getCoefficient($.degree()),Y);S=S.addOrSubtract(f.buildMonomial(I,c0)),$=$.addOrSubtract(L.multiplyByMonomial(I,c0))}if(j=S.multiplyPoly(e0).addOrSubtract(v),$.degree()>=L.degree())return null}var a0=j.getCoefficient(0);if(a0===0)return null;var Q=f.inverse(a0);return[j.multiply(Q),$.multiply(Q)]}function g(f,b){var H=b.degree();if(H===1)return[b.getCoefficient(1)];for(var D=new Array(H),X=0,L=1;L<f.size&&X<H;L++)b.evaluateAt(L)===0&&(D[X]=f.inverse(L),X++);return X!==H?null:D}function B(f,b,H){for(var D=H.length,X=new Array(D),L=0;L<D;L++){for(var $=f.inverse(H[L]),e0=1,j=0;j<D;j++)L!==j&&(e0=f.multiply(e0,R.addOrSubtractGF(1,f.multiply(H[j],$))));X[L]=f.multiply(b.evaluateAt($),f.inverse(e0)),f.generatorBase!==0&&(X[L]=f.multiply(X[L],$))}return X}function p(f,b){var H=new Uint8ClampedArray(f.length);H.set(f);for(var D=new R.default(285,256,0),X=new G.default(D,H),L=new Uint8ClampedArray(b),$=!1,e0=0;e0<b;e0++){var j=X.evaluateAt(D.exp(e0+D.generatorBase));L[L.length-1-e0]=j,j!==0&&($=!0)}if(!$)return H;var h=new G.default(D,L),v=M(D,D.buildMonomial(b,1),h,b);if(v===null)return null;var S=g(D,v[0]);if(S==null)return null;for(var A=B(D,v[1],S),Y=0;Y<S.length;Y++){var I=H.length-1-D.log(S[Y]);if(I<0)return null;H[I]=R.addOrSubtractGF(H[I],A[Y])}return H}o.decode=p}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0}),o.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=y(0);function G(p,f,b,H){var D=p.x-f.x+b.x-H.x,X=p.y-f.y+b.y-H.y;if(D===0&&X===0)return{a11:f.x-p.x,a12:f.y-p.y,a13:0,a21:b.x-f.x,a22:b.y-f.y,a23:0,a31:p.x,a32:p.y,a33:1};var L=f.x-b.x,$=H.x-b.x,e0=f.y-b.y,j=H.y-b.y,h=L*j-$*e0,v=(D*j-$*X)/h,S=(L*X-D*e0)/h;return{a11:f.x-p.x+v*f.x,a12:f.y-p.y+v*f.y,a13:v,a21:H.x-p.x+S*H.x,a22:H.y-p.y+S*H.y,a23:S,a31:p.x,a32:p.y,a33:1}}function M(p,f,b,H){var D=G(p,f,b,H);return{a11:D.a22*D.a33-D.a23*D.a32,a12:D.a13*D.a32-D.a12*D.a33,a13:D.a12*D.a23-D.a13*D.a22,a21:D.a23*D.a31-D.a21*D.a33,a22:D.a11*D.a33-D.a13*D.a31,a23:D.a13*D.a21-D.a11*D.a23,a31:D.a21*D.a32-D.a22*D.a31,a32:D.a12*D.a31-D.a11*D.a32,a33:D.a11*D.a22-D.a12*D.a21}}function g(p,f){return{a11:p.a11*f.a11+p.a21*f.a12+p.a31*f.a13,a12:p.a12*f.a11+p.a22*f.a12+p.a32*f.a13,a13:p.a13*f.a11+p.a23*f.a12+p.a33*f.a13,a21:p.a11*f.a21+p.a21*f.a22+p.a31*f.a23,a22:p.a12*f.a21+p.a22*f.a22+p.a32*f.a23,a23:p.a13*f.a21+p.a23*f.a22+p.a33*f.a23,a31:p.a11*f.a31+p.a21*f.a32+p.a31*f.a33,a32:p.a12*f.a31+p.a22*f.a32+p.a32*f.a33,a33:p.a13*f.a31+p.a23*f.a32+p.a33*f.a33}}function B(p,f){for(var b=M({x:3.5,y:3.5},{x:f.dimension-3.5,y:3.5},{x:f.dimension-6.5,y:f.dimension-6.5},{x:3.5,y:f.dimension-3.5}),H=G(f.topLeft,f.topRight,f.alignmentPattern,f.bottomLeft),D=g(H,b),X=R.BitMatrix.createEmpty(f.dimension,f.dimension),L=function(S,A){var Y=D.a13*S+D.a23*A+D.a33;return{x:(D.a11*S+D.a21*A+D.a31)/Y,y:(D.a12*S+D.a22*A+D.a32)/Y}},$=0;$<f.dimension;$++)for(var e0=0;e0<f.dimension;e0++){var j=e0+.5,h=$+.5,v=L(j,h);X.set(e0,$,p.get(Math.floor(v.x),Math.floor(v.y)))}return{matrix:X,mappingFunction:L}}o.extract=B}),(function(m,o,y){Object.defineProperty(o,"__esModule",{value:!0});var R=4,G=.5,M=1.5,g=function(j,h){return Math.sqrt(Math.pow(h.x-j.x,2)+Math.pow(h.y-j.y,2))};function B(j){return j.reduce(function(h,v){return h+v})}function p(j,h,v){var S,A,Y,I,c0=g(j,h),a0=g(h,v),Q=g(j,v),t0,u0,l0;return a0>=c0&&a0>=Q?(S=[h,j,v],t0=S[0],u0=S[1],l0=S[2]):Q>=a0&&Q>=c0?(A=[j,h,v],t0=A[0],u0=A[1],l0=A[2]):(Y=[j,v,h],t0=Y[0],u0=Y[1],l0=Y[2]),(l0.x-u0.x)*(t0.y-u0.y)-(l0.y-u0.y)*(t0.x-u0.x)<0&&(I=[l0,t0],t0=I[0],l0=I[1]),{bottomLeft:t0,topLeft:u0,topRight:l0}}function f(j,h,v,S){var A=(B(H(j,v,S,5))/7+B(H(j,h,S,5))/7+B(H(v,j,S,5))/7+B(H(h,j,S,5))/7)/4;if(A<1)throw new Error("Invalid module size");var Y=Math.round(g(j,h)/A),I=Math.round(g(j,v)/A),c0=Math.floor((Y+I)/2)+7;switch(c0%4){case 0:c0++;break;case 2:c0--;break}return{dimension:c0,moduleSize:A}}function b(j,h,v,S){var A=[{x:Math.floor(j.x),y:Math.floor(j.y)}],Y=Math.abs(h.y-j.y)>Math.abs(h.x-j.x),I,c0,a0,Q;Y?(I=Math.floor(j.y),c0=Math.floor(j.x),a0=Math.floor(h.y),Q=Math.floor(h.x)):(I=Math.floor(j.x),c0=Math.floor(j.y),a0=Math.floor(h.x),Q=Math.floor(h.y));for(var t0=Math.abs(a0-I),u0=Math.abs(Q-c0),l0=Math.floor(-t0/2),_=I<a0?1:-1,O=c0<Q?1:-1,U=!0,V=I,s0=c0;V!==a0+_;V+=_){var i=Y?s0:V,w=Y?V:s0;if(v.get(i,w)!==U&&(U=!U,A.push({x:i,y:w}),A.length===S+1))break;if(l0+=u0,l0>0){if(s0===Q)break;s0+=O,l0-=t0}}for(var P=[],W=0;W<S;W++)A[W]&&A[W+1]?P.push(g(A[W],A[W+1])):P.push(0);return P}function H(j,h,v,S){var A,Y=h.y-j.y,I=h.x-j.x,c0=b(j,h,v,Math.ceil(S/2)),a0=b(j,{x:j.x-I,y:j.y-Y},v,Math.ceil(S/2)),Q=c0.shift()+a0.shift()-1;return(A=a0.concat(Q)).concat.apply(A,c0)}function D(j,h){var v=B(j)/B(h),S=0;return h.forEach(function(A,Y){S+=Math.pow(j[Y]-A*v,2)}),{averageSize:v,error:S}}function X(j,h,v){try{var S=H(j,{x:-1,y:j.y},v,h.length),A=H(j,{x:j.x,y:-1},v,h.length),Y={x:Math.max(0,j.x-j.y)-1,y:Math.max(0,j.y-j.x)-1},I=H(j,Y,v,h.length),c0={x:Math.min(v.width,j.x+j.y)+1,y:Math.min(v.height,j.y+j.x)+1},a0=H(j,c0,v,h.length),Q=D(S,h),t0=D(A,h),u0=D(I,h),l0=D(a0,h),_=Math.sqrt(Q.error*Q.error+t0.error*t0.error+u0.error*u0.error+l0.error*l0.error),O=(Q.averageSize+t0.averageSize+u0.averageSize+l0.averageSize)/4,U=(Math.pow(Q.averageSize-O,2)+Math.pow(t0.averageSize-O,2)+Math.pow(u0.averageSize-O,2)+Math.pow(l0.averageSize-O,2))/O;return _+U}catch{return 1/0}}function L(j,h){for(var v=Math.round(h.x);j.get(v,Math.round(h.y));)v--;for(var S=Math.round(h.x);j.get(S,Math.round(h.y));)S++;for(var A=(v+S)/2,Y=Math.round(h.y);j.get(Math.round(A),Y);)Y--;for(var I=Math.round(h.y);j.get(Math.round(A),I);)I++;var c0=(Y+I)/2;return{x:A,y:c0}}function $(j){for(var h=[],v=[],S=[],A=[],Y=function(i){for(var w=0,P=!1,W=[0,0,0,0,0],B0=function(f0){var L0=j.get(f0,i);if(L0===P)w++;else{W=[W[1],W[2],W[3],W[4],w],w=1,P=L0;var g0=B(W)/7,Nx=Math.abs(W[0]-g0)<g0&&Math.abs(W[1]-g0)<g0&&Math.abs(W[2]-3*g0)<3*g0&&Math.abs(W[3]-g0)<g0&&Math.abs(W[4]-g0)<g0&&!L0,Ex=B(W.slice(-3))/3,ex=Math.abs(W[2]-Ex)<Ex&&Math.abs(W[3]-Ex)<Ex&&Math.abs(W[4]-Ex)<Ex&&L0;if(Nx){var n0=f0-W[3]-W[4],S0=n0-W[2],O0={startX:S0,endX:n0,y:i},tx=v.filter(function(nx){return S0>=nx.bottom.startX&&S0<=nx.bottom.endX||n0>=nx.bottom.startX&&S0<=nx.bottom.endX||S0<=nx.bottom.startX&&n0>=nx.bottom.endX&&W[2]/(nx.bottom.endX-nx.bottom.startX)<M&&W[2]/(nx.bottom.endX-nx.bottom.startX)>G});tx.length>0?tx[0].bottom=O0:v.push({top:O0,bottom:O0})}if(ex){var Xx=f0-W[4],dx=Xx-W[3],O0={startX:dx,y:i,endX:Xx},tx=A.filter(function(Z0){return dx>=Z0.bottom.startX&&dx<=Z0.bottom.endX||Xx>=Z0.bottom.startX&&dx<=Z0.bottom.endX||dx<=Z0.bottom.startX&&Xx>=Z0.bottom.endX&&W[2]/(Z0.bottom.endX-Z0.bottom.startX)<M&&W[2]/(Z0.bottom.endX-Z0.bottom.startX)>G});tx.length>0?tx[0].bottom=O0:A.push({top:O0,bottom:O0})}}},r0=-1;r0<=j.width;r0++)B0(r0);h.push.apply(h,v.filter(function(f0){return f0.bottom.y!==i&&f0.bottom.y-f0.top.y>=2})),v=v.filter(function(f0){return f0.bottom.y===i}),S.push.apply(S,A.filter(function(f0){return f0.bottom.y!==i})),A=A.filter(function(f0){return f0.bottom.y===i})},I=0;I<=j.height;I++)Y(I);h.push.apply(h,v.filter(function(i){return i.bottom.y-i.top.y>=2})),S.push.apply(S,A);var c0=h.filter(function(i){return i.bottom.y-i.top.y>=2}).map(function(i){var w=(i.top.startX+i.top.endX+i.bottom.startX+i.bottom.endX)/4,P=(i.top.y+i.bottom.y+1)/2;if(j.get(Math.round(w),Math.round(P))){var W=[i.top.endX-i.top.startX,i.bottom.endX-i.bottom.startX,i.bottom.y-i.top.y+1],B0=B(W)/W.length,r0=X({x:Math.round(w),y:Math.round(P)},[1,1,3,1,1],j);return{score:r0,x:w,y:P,size:B0}}}).filter(function(i){return!!i}).sort(function(i,w){return i.score-w.score}).map(function(i,w,P){if(w>R)return null;var W=P.filter(function(r0,f0){return w!==f0}).map(function(r0){return{x:r0.x,y:r0.y,score:r0.score+Math.pow(r0.size-i.size,2)/i.size,size:r0.size}}).sort(function(r0,f0){return r0.score-f0.score});if(W.length<2)return null;var B0=i.score+W[0].score+W[1].score;return{points:[i].concat(W.slice(0,2)),score:B0}}).filter(function(i){return!!i}).sort(function(i,w){return i.score-w.score});if(c0.length===0)return null;var a0=p(c0[0].points[0],c0[0].points[1],c0[0].points[2]),Q=a0.topRight,t0=a0.topLeft,u0=a0.bottomLeft,l0=e0(j,S,Q,t0,u0),_=[];l0&&_.push({alignmentPattern:{x:l0.alignmentPattern.x,y:l0.alignmentPattern.y},bottomLeft:{x:u0.x,y:u0.y},dimension:l0.dimension,topLeft:{x:t0.x,y:t0.y},topRight:{x:Q.x,y:Q.y}});var O=L(j,Q),U=L(j,t0),V=L(j,u0),s0=e0(j,S,O,U,V);return s0&&_.push({alignmentPattern:{x:s0.alignmentPattern.x,y:s0.alignmentPattern.y},bottomLeft:{x:V.x,y:V.y},topLeft:{x:U.x,y:U.y},topRight:{x:O.x,y:O.y},dimension:s0.dimension}),_.length===0?null:_}o.locate=$;function e0(j,h,v,S,A){var Y,I,c0;try{Y=f(S,v,A,j),I=Y.dimension,c0=Y.moduleSize}catch{return null}var a0={x:v.x-S.x+A.x,y:v.y-S.y+A.y},Q=(g(S,A)+g(S,v))/2/c0,t0=1-3/Q,u0={x:S.x+t0*(a0.x-S.x),y:S.y+t0*(a0.y-S.y)},l0=h.map(function(O){var U=(O.top.startX+O.top.endX+O.bottom.startX+O.bottom.endX)/4,V=(O.top.y+O.bottom.y+1)/2;if(j.get(Math.floor(U),Math.floor(V))){var s0=[O.top.endX-O.top.startX,O.bottom.endX-O.bottom.startX,O.bottom.y-O.top.y+1];B(s0)/s0.length;var i=X({x:Math.floor(U),y:Math.floor(V)},[1,1,1],j),w=i+g({x:U,y:V},u0);return{x:U,y:V,score:w}}}).filter(function(O){return!!O}).sort(function(O,U){return O.score-U.score}),_=Q>=15&&l0.length?l0[0]:u0;return{alignmentPattern:_,dimension:I}}})]).default})})(rn)),rn.exports}var QE=XE();const VE=cE(QE),ZE=typeof window.BarcodeDetector<"u";function PE({onScan:E,onCancel:r}){const m=d.useRef(null),o=d.useRef(null),y=d.useRef(null),R=d.useRef(!0),[G,M]=d.useState(null),g=d.useCallback(()=>{var f;R.current=!1,(f=y.current)==null||f.getTracks().forEach(b=>b.stop()),y.current=null},[]),B=d.useCallback(f=>{let b=f;try{const D=new URL(f).hash.match(/^#pair=(.+)$/);D&&(b=D[1])}catch{}g(),E(b)},[E,g]);d.useEffect(()=>{let f=0,b=null;ZE&&(b=new BarcodeDetector({formats:["qr_code"]}));const H=async()=>{try{const X=await navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});y.current=X,m.current&&(m.current.srcObject=X,await m.current.play(),D())}catch{M("Camera access denied. Please allow camera access and try again.")}},D=()=>{if(!R.current)return;const X=m.current,L=o.current;if(!X||!L||X.readyState<X.HAVE_ENOUGH_DATA){f=requestAnimationFrame(D);return}const $=L.getContext("2d",{willReadFrequently:!0});if(L.width=X.videoWidth,L.height=X.videoHeight,$.drawImage(X,0,0),b)b.detect(L).then(e0=>{if(e0.length>0&&R.current){B(e0[0].rawValue);return}R.current&&(f=requestAnimationFrame(D))}).catch(()=>{R.current&&(f=requestAnimationFrame(D))});else{const e0=$.getImageData(0,0,L.width,L.height),j=VE(e0.data,L.width,L.height);if(j&&R.current){B(j.data);return}R.current&&(f=requestAnimationFrame(D))}};return R.current=!0,H(),()=>{var X;R.current=!1,cancelAnimationFrame(f),(X=y.current)==null||X.getTracks().forEach(L=>L.stop()),y.current=null}},[B]);const p=()=>{g(),r()};return G?s.jsxs("div",{className:"qr-scanner",children:[s.jsx("p",{className:"qr-scanner-error",children:G}),s.jsx("div",{className:"qr-scanner-actions",children:s.jsx("button",{onClick:p,children:"Back"})})]}):s.jsxs("div",{className:"qr-scanner",children:[s.jsx("video",{ref:m,playsInline:!0,muted:!0}),s.jsx("canvas",{ref:o,style:{display:"none"}}),s.jsx("div",{className:"qr-scanner-actions",children:s.jsx("button",{onClick:p,children:"Cancel"})})]})}function KE({api:E,connected:r,connectionInput:m="",onConnectionInputChange:o,onConnect:y}){const[R,G]=d.useState(null),[M,g]=d.useState(3),[B,p]=d.useState(null),[f,b]=d.useState([]),[H,D]=d.useState(7),[X,L]=d.useState(!1),[$,e0]=d.useState(""),[j,h]=d.useState(!1),[v,S]=d.useState(!1),[A,Y]=d.useState(null),[I,c0]=d.useState(null),[a0,Q]=d.useState(null),[t0,u0]=d.useState(!1),[l0,_]=d.useState(!1),[O,U]=d.useState(null),[V,s0]=d.useState(!1),[i,w]=d.useState(m),P=d.useCallback(n0=>{U(n0),setTimeout(()=>U(null),2e3)},[]);d.useEffect(()=>{E.getVerificationSettings().then(G).catch(()=>{}),E.getMaxVerificationAttempts().then(n0=>g(n0.attempts)).catch(()=>{}),E.getVerificationAgent().then(n0=>p(n0.account_name)).catch(()=>{}),E.listAccounts().then(n0=>b(n0.accounts)).catch(()=>{}),E.getCleanupSettings().then(n0=>D(n0.cleanup_days)).catch(()=>{}),E.getSlackSettings().then(n0=>{L(n0.enabled),e0(n0.channel??""),h(n0.has_token)}).catch(()=>{}),E.getTunnelStatus().then(n0=>{S(n0.running),Y(n0.url),c0(n0.subdomain),Q(n0.error)}).catch(()=>{})},[E]);const W=d.useCallback(async n0=>{if(R){_(!0);try{const S0=await E.setVerificationSettings({[n0]:!R[n0]});G(S0),P("Saved")}catch{}finally{_(!1)}}},[E,R,P]),B0=d.useCallback(async n0=>{g(n0);try{await E.setMaxVerificationAttempts(n0),P("Saved")}catch{}},[E,P]),r0=d.useCallback(async n0=>{const S0=n0||null;p(S0);try{await E.setVerificationAgent(S0),P("Saved")}catch{}},[E,P]),f0=d.useCallback(async n0=>{if(!(n0<1)){D(n0);try{await E.setCleanupSettings({cleanup_days:n0}),P("Saved")}catch{}}},[E,P]),L0=d.useCallback(async n0=>{try{const S0=await E.setSlackSettings(n0);L(S0.enabled),e0(S0.channel??""),h(S0.has_token),P("Saved")}catch{}},[E,P]),g0=d.useCallback(async()=>{u0(!0),Q(null);try{const n0=v?await E.stopTunnel():await E.startTunnel();S(n0.running),Y(n0.url),c0(n0.subdomain),Q(n0.error)}catch{Q("Request failed")}finally{u0(!1)}},[E,v]),Nx=d.useCallback(()=>{const n0=Tc(i);n0.url&&y&&y(n0.url,n0.token)},[i,y]),Ex=d.useCallback(n0=>{s0(!1);const S0=Tc(n0);S0.url&&y&&(w(n0),o==null||o(n0),y(S0.url,S0.token))},[y,o]),ex=!r;return s.jsxs("div",{className:"settings-panel",children:[s.jsxs("div",{className:"section-header",children:[s.jsx("h2",{children:"Settings"}),O&&s.jsx("span",{className:"save-status",children:O})]}),ex&&s.jsx("section",{className:"connection-section",children:s.jsx("div",{className:"placeholder-card",children:V?s.jsx(PE,{onScan:Ex,onCancel:()=>s0(!1)}):s.jsxs(s.Fragment,{children:[s.jsx("h3",{children:"Connect to a Chad server"}),s.jsxs("div",{className:"placeholder-steps",children:[s.jsxs("p",{children:["1) Get the latest Chad server from"," ",s.jsx("a",{href:"https://github.com/iondrive-co/chad/releases",target:"_blank",rel:"noreferrer",children:"the releases page"}),"."]}),s.jsxs("p",{children:["2) Run it on an isolated machine with ",s.jsx("code",{children:"chad --tunnel"}),"."]}),s.jsx("p",{children:"3) Scan the QR code it displays, or paste the pairing key below."})]}),s.jsxs("div",{style:{display:"flex",gap:"0.5rem",marginTop:"1rem",flexWrap:"wrap"},children:[s.jsx("input",{type:"text",placeholder:"Server URL or pairing code",value:i,onChange:n0=>{w(n0.target.value),o==null||o(n0.target.value)},onKeyDown:n0=>n0.key==="Enter"&&Nx(),style:{flex:"1",minWidth:"12rem",padding:"0.4rem 0.6rem"}}),s.jsx("button",{onClick:Nx,style:{padding:"0.4rem 1rem"},children:"Connect"})]}),s.jsx("button",{className:"scan-qr-btn",onClick:()=>s0(!0),style:{marginTop:"1rem"},children:"Scan QR Code"})]})})}),s.jsxs("section",{children:[s.jsx("h3",{children:"Verification"}),R&&s.jsx(s.Fragment,{children:s.jsxs("label",{className:"toggle-label",children:[s.jsx("input",{type:"checkbox",checked:R.enabled,onChange:()=>W("enabled"),disabled:l0||ex}),"Verification enabled"]})}),s.jsxs("label",{children:["Max verification attempts",s.jsx("input",{type:"number",min:1,max:20,value:M,onChange:n0=>B0(Number(n0.target.value)),disabled:ex})]}),s.jsxs("label",{children:["Verification agent",s.jsxs("select",{value:B??"",onChange:n0=>r0(n0.target.value),disabled:ex,children:[s.jsx("option",{value:"",children:"Same as coding agent"}),f.map(n0=>s.jsxs("option",{value:n0.name,children:[n0.name," (",n0.provider,")"]},n0.name))]})]})]}),s.jsx(YE,{api:E,connected:r}),s.jsxs("section",{children:[s.jsx("h3",{children:"Cleanup"}),s.jsxs("label",{children:["Retention days",s.jsx("input",{type:"number",min:1,value:H,onChange:n0=>f0(Number(n0.target.value)),disabled:ex})]})]}),s.jsxs("section",{children:[s.jsx("h3",{children:"Remote Access"}),s.jsxs("div",{style:{marginBottom:"0.5rem"},children:[s.jsx("strong",{children:"Status:"})," ",v?s.jsx("span",{style:{color:"#4caf50"},children:"Running"}):s.jsx("span",{style:{color:"#999"},children:"Stopped"})]}),A&&s.jsxs("div",{style:{marginBottom:"0.5rem"},children:[s.jsx("strong",{children:"URL:"})," ",s.jsx("a",{href:A,target:"_blank",rel:"noopener noreferrer",children:A})]}),I&&s.jsxs("div",{style:{marginBottom:"0.5rem"},children:[s.jsx("strong",{children:"Pairing code:"})," ",s.jsx("code",{children:I})]}),a0&&s.jsx("div",{style:{marginBottom:"0.5rem",color:"#f44336"},children:a0}),s.jsx("button",{onClick:g0,disabled:t0||ex,children:t0?"...":v?"Stop Tunnel":"Start Tunnel"})]}),s.jsxs("section",{children:[s.jsx("h3",{children:"Config Transfer"}),s.jsx("p",{style:{fontSize:"0.85rem",color:"#999",marginBottom:"0.5rem"},children:"Export your config (with encrypted keys) to set up a headless server."}),s.jsxs("div",{style:{display:"flex",gap:"0.5rem",flexWrap:"wrap"},children:[s.jsx("button",{disabled:ex,onClick:async()=>{try{const n0=await E.exportConfig(),S0=new Blob([JSON.stringify(n0,null,2)],{type:"application/json"}),O0=URL.createObjectURL(S0),tx=document.createElement("a");tx.href=O0,tx.download="chad-config.json",tx.click(),URL.revokeObjectURL(O0),P("Config exported")}catch{P("Export failed")}},children:"Export Config"}),s.jsx("button",{onClick:()=>{const n0=document.createElement("input");n0.type="file",n0.accept=".json",n0.onchange=async()=>{var O0;const S0=(O0=n0.files)==null?void 0:O0[0];if(S0)try{const tx=await S0.text(),Xx=JSON.parse(tx);await E.importConfig(Xx),P("Config imported — reload to apply")}catch{P("Import failed — check file format")}},n0.click()},children:"Import Config"})]})]}),s.jsxs("section",{children:[s.jsx("h3",{children:"Slack Integration"}),s.jsxs("label",{className:"toggle-label",children:[s.jsx("input",{type:"checkbox",checked:X,onChange:()=>L0({enabled:!X}),disabled:ex}),"Enabled"]}),s.jsxs("label",{children:["Channel ID",s.jsx("input",{type:"text",value:$,placeholder:"C0123456789",onBlur:n0=>L0({channel:n0.target.value}),onChange:n0=>e0(n0.target.value),disabled:ex})]}),s.jsxs("label",{children:["Bot Token",s.jsx("input",{type:"password",placeholder:j?"•••••••••":"xoxb-...",disabled:ex,onBlur:n0=>{n0.target.value&&!n0.target.value.startsWith("•")&&L0({bot_token:n0.target.value})}})]})]})]})}function JE({api:E,connected:r}){const[m,o]=d.useState([]),[y,R]=d.useState([]),[G,M]=d.useState({}),[g,B]=d.useState(""),[p,f]=d.useState("anthropic"),[b,H]=d.useState(""),[D,X]=d.useState(!1),[L,$]=d.useState(null),[e0,j]=d.useState(null),[h,v]=d.useState([]),S=d.useCallback(U=>{$(U),setTimeout(()=>$(null),3e3)},[]),A=d.useCallback(async U=>{const V=U.map(async w=>{try{const P=await E.getAccountUsage(w);return{name:w,usage:P}}catch{return null}}),s0=await Promise.all(V),i={};for(const w of s0)w&&(i[w.name]=w.usage);M(w=>({...w,...i}))},[E]),Y=d.useCallback(async()=>{try{const[U,V]=await Promise.all([E.listAccounts(),E.listProviders()]);o(U.accounts),R(V.providers),await A(U.accounts.map(s0=>s0.name))}catch{}},[E,A]);d.useEffect(()=>{Y()},[Y]);const I=p==="opencode"||p==="mistral",c0=d.useCallback(async()=>{if(g.trim()){X(!0),$(null);try{await E.createAccount({name:g.trim(),provider:p}),B(""),H(""),S(`Added ${g.trim()}`),await Y()}catch(U){S(U instanceof Error?U.message:"Failed to add provider")}finally{X(!1)}}},[E,g,p,Y,S]),a0=d.useCallback(async U=>{try{await E.deleteAccount(U),S(`Deleted ${U}`),await Y()}catch(V){S(V instanceof Error?V.message:"Delete failed")}},[E,Y,S]),Q=d.useCallback(async(U,V)=>{try{await E.setAccountRole(U,V),S("Role updated"),await Y()}catch{}},[E,Y,S]),t0=d.useCallback(async(U,V)=>{try{await E.setAccountReasoning(U,V),S("Reasoning updated"),await Y()}catch{}},[E,Y,S]),u0=d.useCallback(async U=>{if(e0===U){j(null);return}j(U);try{const V=await E.getAccountModels(U);v(V.models)}catch{v([])}},[E,e0]),l0=d.useCallback(async(U,V)=>{try{await E.setAccountModel(U,V),j(null),S("Model updated"),await Y()}catch{}},[E,Y,S]),_=(U,V)=>{if(U===null)return"—";const s0=Math.round(U/10),i="█".repeat(s0),w="░".repeat(10-s0);let P=`${i}${w} ${U.toFixed(0)}%`;return V&&(P+=` (resets ${V})`),P},O=!r;return s.jsxs("div",{className:"providers-panel",children:[s.jsxs("div",{className:"section-header",children:[s.jsx("h2",{children:"Providers"}),L&&s.jsx("span",{className:"save-status",children:L})]}),O&&s.jsx("p",{style:{color:"#999",fontStyle:"italic"},children:"Connect to a server to manage providers."}),s.jsx("div",{className:"account-list",children:m.map(U=>{var s0;const V=G[U.name];return s.jsxs("div",{className:`account-card ${U.ready?"":"not-ready"}`,children:[s.jsxs("div",{className:"account-header",children:[s.jsx("span",{className:"account-name",children:U.name}),s.jsx("span",{className:"account-provider",children:U.provider}),s.jsx("span",{className:`account-status ${U.ready?"ready":""}`,children:U.ready?"Ready":"Not ready"}),s.jsx("button",{className:"delete-rule-btn",onClick:()=>a0(U.name),disabled:O,children:"x"})]}),s.jsxs("div",{className:"account-details",children:[s.jsxs("div",{className:"account-field",children:[s.jsx("span",{className:"field-label",children:"Model:"}),s.jsx("button",{className:"link-btn",onClick:()=>u0(U.name),disabled:O,children:U.model??"default"}),e0===U.name&&s.jsx("select",{value:U.model??"",onChange:i=>l0(U.name,i.target.value),disabled:O,children:h.map(i=>s.jsx("option",{value:i,children:i},i))})]}),s.jsxs("div",{className:"account-field",children:[s.jsx("span",{className:"field-label",children:"Role:"}),s.jsxs("select",{value:U.role??"",onChange:i=>Q(U.name,i.target.value),disabled:O,children:[s.jsx("option",{value:"",children:"None"}),s.jsx("option",{value:"CODING",children:"Coding"}),s.jsx("option",{value:"VERIFICATION",children:"Verification"})]})]}),((s0=y.find(i=>i.type===U.provider))==null?void 0:s0.supports_reasoning)&&s.jsxs("div",{className:"account-field",children:[s.jsx("span",{className:"field-label",children:"Reasoning:"}),s.jsxs("select",{value:U.reasoning??"",onChange:i=>t0(U.name,i.target.value),disabled:O,children:[s.jsx("option",{value:"",children:"Default"}),s.jsx("option",{value:"low",children:"Low"}),s.jsx("option",{value:"medium",children:"Medium"}),s.jsx("option",{value:"high",children:"High"})]})]}),V&&(V.session_usage_pct!==null||V.weekly_usage_pct!==null)&&s.jsxs("div",{className:"account-usage",children:[V.session_usage_pct!==null&&s.jsxs("div",{className:"usage-row",children:[s.jsx("span",{className:"field-label",children:"Session:"}),s.jsx("span",{className:"usage-bar",children:_(V.session_usage_pct,V.session_reset_eta)})]}),V.weekly_usage_pct!==null&&s.jsxs("div",{className:"usage-row",children:[s.jsx("span",{className:"field-label",children:"Weekly:"}),s.jsx("span",{className:"usage-bar",children:_(V.weekly_usage_pct,V.weekly_reset_eta)})]})]})]})]},U.name)})}),s.jsxs("div",{className:"add-provider-form",children:[s.jsx("h3",{children:"Add Provider"}),s.jsxs("div",{className:"add-provider-row",children:[s.jsx("input",{type:"text",value:g,onChange:U=>B(U.target.value),placeholder:"Account name",disabled:O}),s.jsx("select",{value:p,onChange:U=>f(U.target.value),disabled:O,children:y.map(U=>s.jsx("option",{value:U.type,children:U.name},U.type))}),I&&s.jsx("input",{type:"password",value:b,onChange:U=>H(U.target.value),placeholder:"API Key",disabled:O}),s.jsx("button",{onClick:c0,disabled:D||!g.trim()||O,children:D?"Adding...":"+ Add"})]})]})]})}const $E=3e3;function WE(E,r){const[m,o]=d.useState([]),[y,R]=d.useState(!1),G=d.useRef(E);G.current=E;const M=d.useCallback(async()=>{if(G.current){R(!0);try{const p=await G.current.listSessions();o(p.sessions)}catch{}finally{R(!1)}}},[]);d.useEffect(()=>{M()},[M,E,r]),d.useEffect(()=>{const p=setInterval(()=>{G.current&&M()},$E);return()=>clearInterval(p)},[M]);const g=d.useCallback(async(p,f)=>{if(!G.current)return null;const b=await G.current.createSession({project_path:p,name:f});return await M(),b},[M]),B=d.useCallback(async p=>{G.current&&(await G.current.deleteSession(p),await M())},[M]);return{sessions:m,loading:y,refresh:M,createSession:g,deleteSession:B}}function Tc(E){const r=E.trim().replace(/\/+$/,"");if(!r)return{url:""};if(r.includes("://"))return{url:r};const m=r.lastIndexOf(":");if(m>0){const o=r.slice(m+1);return/^\d+$/.test(o)?{url:`http://${r}`}:{url:`https://${r.slice(0,m)}.trycloudflare.com`,token:o}}return{url:`https://${r}.trycloudflare.com`}}const IE="127.0.0.1:3184";function x6(){var a0;const[E,r]=d.useState(""),[m,o]=d.useState(IE),[y,R]=d.useState(void 0),G=d.useMemo(()=>new AE(E,y),[E,y]),[M,g]=d.useState(!1),[B,p]=d.useState(null),[f,b]=d.useState("settings"),[H,D]=d.useState(0),[X,L]=d.useState(""),$=d.useRef(!1);d.useEffect(()=>{if(!E){g(!1);return}$.current=!0;let Q=!1,t0;g(!1);const u0=async()=>{try{await G.getStatus();const l0=await G.getPreferences().catch(()=>null);if(!Q){g(!0),l0!=null&&l0.last_project_path&&L(l0.last_project_path);const _=await G.listSessions();_.sessions.length>0&&p(_.sessions[0].id)}}catch{Q||(t0=setTimeout(u0,1e3))}};return u0(),()=>{Q=!0,clearTimeout(t0)}},[G]);const{sessions:e0,loading:j,createSession:h,deleteSession:v}=WE(M?G:null,H),S=((a0=e0.find(Q=>Q.id===B))==null?void 0:a0.active)??!1,A=d.useCallback(()=>{D(Q=>Q+1)},[]);d.useEffect(()=>{const t0=window.location.hash.match(/^#pair=(.+)$/);if(t0){const u0=Tc(t0[1]);u0.url&&(r(u0.url),R(u0.token),o(t0[1])),history.replaceState(null,"",window.location.pathname+window.location.search)}else window.location.protocol!=="file:"&&!$.current&&window.self===window.top&&r(window.location.origin)},[]);const Y=d.useCallback(async()=>{const Q=await h();Q&&(p(Q.id),b("chat"),A())},[h,A]),I=d.useCallback(async(Q,t0)=>{var u0;Q.stopPropagation(),await v(t0),B===t0&&p(((u0=e0.find(l0=>l0.id!==t0))==null?void 0:u0.id)??null),A()},[v,B,e0,A]),c0=d.useCallback(Q=>{p(Q),b("chat")},[]);return s.jsxs("div",{className:"app",children:[s.jsxs("header",{className:"app-header",children:[s.jsx("h1",{className:M?"connected":"",children:"Chad"}),s.jsxs("nav",{className:"tabs",children:[s.jsx("button",{className:f==="providers"?"active":"",onClick:()=>b("providers"),children:"Providers"}),s.jsx("button",{className:f==="settings"?"active":"",onClick:()=>b("settings"),children:"Settings"}),M&&e0.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"tab-separator"}),[...e0].reverse().map(Q=>s.jsxs("button",{className:`session-tab ${Q.id===B&&f==="chat"?"active":""}`,onClick:()=>c0(Q.id),title:Q.name,children:[s.jsx("span",{className:"session-tab-name",children:Q.name}),Q.active&&!Q.paused&&s.jsx("span",{className:"badge running-badge",children:"R"}),Q.paused&&s.jsx("span",{className:"badge paused-badge",children:"P"}),Q.has_changes&&!Q.active&&s.jsx("span",{className:"badge changes-badge",children:"C"}),Q.resumable&&!Q.active&&!Q.has_changes&&s.jsx("span",{className:"badge",title:`${Q.status} - resumable`,children:Q.status==="completed"?"✓":"○"}),s.jsx("span",{className:"session-tab-close",onClick:t0=>I(t0,Q.id),title:"Delete session",children:"x"})]},Q.id))]}),M&&s.jsx("button",{className:"new-session-btn",onClick:Y,disabled:j,title:"New session",children:"New"})]}),M&&E&&s.jsx("span",{style:{marginLeft:"auto",fontSize:"0.8rem",opacity:.7},children:E.replace("https://","").replace("http://","").replace(".trycloudflare.com","")})]}),s.jsxs("div",{className:"app-body",children:[s.jsx("div",{style:{display:f==="chat"?"contents":"none"},children:s.jsx("main",{className:"main",children:B?s.jsx(RE,{api:G,sessionId:B,onSessionChange:A,defaultProjectPath:X,apiBaseUrl:E,token:y,sessionActive:S},B):s.jsx("div",{className:"placeholder",children:"Select or create a session to get started."})})}),f==="providers"&&s.jsx("main",{className:"main full-width",children:s.jsx(JE,{api:G,connected:M})}),f==="settings"&&s.jsx("main",{className:"main full-width",children:s.jsx(KE,{api:G,connected:M,connectionInput:m,onConnectionInputChange:o,onConnect:(Q,t0)=>{r(Q),R(t0),p(null)}})})]})]})}dE.createRoot(document.getElementById("root")).render(s.jsx(d.StrictMode,{children:s.jsx(x6,{})}));
