import{S as Ae,G as Du,C as l0,j as O,_ as Me,P as t0,I as df,r as Xm,w as Qm,L as Zm}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b10.js";import{g as Vm}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b.js";import{r as Lm,a as I}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b4.js";import{a as Km}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b5.js";import{u as Jm,F as wm,o as Wm,a as $m}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b9.js";import{x as ql,y as km,z as Fm,A as Ba,n as of,o as Im,B as Pm,C as f0,D as lh,E as uf,F as th,G as ah,M as eh,H as uh,N as nh}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b23.js";import{c as Te}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b7.js";import{u as mf}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b19.js";import{W as hf,V as ih}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b18.js";import{M as ch}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b47.js";import{X as s0}from"./v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b8.js";var nf={exports:{}},Tu={},cf={exports:{}},ff={};/**
 * @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 a0;function fh(){return a0||(a0=1,(function(m){function g(T,j){var N=T.length;T.push(j);l:for(;0<N;){var P=N-1>>>1,cl=T[P];if(0<A(cl,j))T[P]=j,T[N]=cl,N=P;else break l}}function y(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var j=T[0],N=T.pop();if(N!==j){T[0]=N;l:for(var P=0,cl=T.length,Ga=cl>>>1;P<Ga;){var da=2*(P+1)-1,St=T[da],V=da+1,Ql=T[V];if(0>A(St,N))V<cl&&0>A(Ql,St)?(T[P]=Ql,T[V]=N,P=V):(T[P]=St,T[da]=N,P=da);else if(V<cl&&0>A(Ql,N))T[P]=Ql,T[V]=N,P=V;else break l}}return j}function A(T,j){var N=T.sortIndex-j.sortIndex;return N!==0?N:T.id-j.id}if(m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;m.unstable_now=function(){return M.now()}}else{var U=Date,B=U.now();m.unstable_now=function(){return U.now()-B}}var Y=[],X=[],sl=1,El=null,el=3,zl=!1,Ol=!1,rt=!1,Ya=typeof setTimeout=="function"?setTimeout:null,ja=typeof clearTimeout=="function"?clearTimeout:null,lt=typeof setImmediate<"u"?setImmediate:null;function na(T){for(var j=y(X);j!==null;){if(j.callback===null)s(X);else if(j.startTime<=T)s(X),j.sortIndex=j.expirationTime,g(Y,j);else break;j=y(X)}}function De(T){if(rt=!1,na(T),!Ol)if(y(Y)!==null)Ol=!0,fa();else{var j=y(X);j!==null&&sa(De,j.startTime-T)}}var ia=!1,tt=-1,Uu=5,xa=-1;function R(){return!(m.unstable_now()-xa<Uu)}function J(){if(ia){var T=m.unstable_now();xa=T;var j=!0;try{l:{Ol=!1,rt&&(rt=!1,ja(tt),tt=-1),zl=!0;var N=el;try{t:{for(na(T),El=y(Y);El!==null&&!(El.expirationTime>T&&R());){var P=El.callback;if(typeof P=="function"){El.callback=null,el=El.priorityLevel;var cl=P(El.expirationTime<=T);if(T=m.unstable_now(),typeof cl=="function"){El.callback=cl,na(T),j=!0;break t}El===y(Y)&&s(Y),na(T)}else s(Y);El=y(Y)}if(El!==null)j=!0;else{var Ga=y(X);Ga!==null&&sa(De,Ga.startTime-T),j=!1}}break l}finally{El=null,el=N,zl=!1}j=void 0}}finally{j?yt():ia=!1}}}var yt;if(typeof lt=="function")yt=function(){lt(J)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,ca=pe.port2;pe.port1.onmessage=J,yt=function(){ca.postMessage(null)}}else yt=function(){Ya(J,0)};function fa(){ia||(ia=!0,yt())}function sa(T,j){tt=Ya(function(){T(m.unstable_now())},j)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(T){T.callback=null},m.unstable_continueExecution=function(){Ol||zl||(Ol=!0,fa())},m.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Uu=0<T?Math.floor(1e3/T):5},m.unstable_getCurrentPriorityLevel=function(){return el},m.unstable_getFirstCallbackNode=function(){return y(Y)},m.unstable_next=function(T){switch(el){case 1:case 2:case 3:var j=3;break;default:j=el}var N=el;el=j;try{return T()}finally{el=N}},m.unstable_pauseExecution=function(){},m.unstable_requestPaint=function(){},m.unstable_runWithPriority=function(T,j){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var N=el;el=T;try{return j()}finally{el=N}},m.unstable_scheduleCallback=function(T,j,N){var P=m.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?P+N:P):N=P,T){case 1:var cl=-1;break;case 2:cl=250;break;case 5:cl=1073741823;break;case 4:cl=1e4;break;default:cl=5e3}return cl=N+cl,T={id:sl++,callback:j,priorityLevel:T,startTime:N,expirationTime:cl,sortIndex:-1},N>P?(T.sortIndex=N,g(X,T),y(Y)===null&&T===y(X)&&(rt?(ja(tt),tt=-1):rt=!0,sa(De,N-P))):(T.sortIndex=cl,g(Y,T),Ol||zl||(Ol=!0,fa())),T},m.unstable_shouldYield=R,m.unstable_wrapCallback=function(T){var j=el;return function(){var N=el;el=j;try{return T.apply(this,arguments)}finally{el=N}}}})(ff)),ff}var e0;function sh(){return e0||(e0=1,cf.exports=fh()),cf.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 u0;function dh(){if(u0)return Tu;u0=1;var m=sh(),g=Lm(),y=Km();function s(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}var M=Symbol.for("react.element"),U=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),sl=Symbol.for("react.profiler"),El=Symbol.for("react.provider"),el=Symbol.for("react.consumer"),zl=Symbol.for("react.context"),Ol=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),Ya=Symbol.for("react.suspense_list"),ja=Symbol.for("react.memo"),lt=Symbol.for("react.lazy"),na=Symbol.for("react.offscreen"),De=Symbol.for("react.memo_cache_sentinel"),ia=Symbol.iterator;function tt(l){return l===null||typeof l!="object"?null:(l=ia&&l[ia]||l["@@iterator"],typeof l=="function"?l:null)}var Uu=Symbol.for("react.client.reference");function xa(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Uu?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Y:return"Fragment";case B:return"Portal";case sl:return"Profiler";case X:return"StrictMode";case rt:return"Suspense";case Ya:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case zl:return(l.displayName||"Context")+".Provider";case el:return(l._context.displayName||"Context")+".Consumer";case Ol:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ja:return t=l.displayName||null,t!==null?t:xa(l.type)||"Memo";case lt:t=l._payload,l=l._init;try{return xa(l(t))}catch{}}return null}var R=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.assign,yt,pe;function ca(l){if(yt===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);yt=t&&t[1]||"",pe=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+yt+l+pe}var fa=!1;function sa(l,t){if(!l||fa)return"";fa=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var e={DetermineComponentFrameRoot:function(){try{if(t){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(S){var r=S}Reflect.construct(l,[],z)}else{try{z.call()}catch(S){r=S}l.call(z.prototype)}}else{try{throw Error()}catch(S){r=S}(z=l())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(S){if(S&&r&&typeof S.stack=="string")return[S.stack,r.stack]}return[null,null]}};e.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(e.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(e.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=e.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var f=i.split(`
`),o=c.split(`
`);for(u=e=0;e<f.length&&!f[e].includes("DetermineComponentFrameRoot");)e++;for(;u<o.length&&!o[u].includes("DetermineComponentFrameRoot");)u++;if(e===f.length||u===o.length)for(e=f.length-1,u=o.length-1;1<=e&&0<=u&&f[e]!==o[u];)u--;for(;1<=e&&0<=u;e--,u--)if(f[e]!==o[u]){if(e!==1||u!==1)do if(e--,u--,0>u||f[e]!==o[u]){var b=`
`+f[e].replace(" at new "," at ");return l.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",l.displayName)),b}while(1<=e&&0<=u);break}}}finally{fa=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?ca(a):""}function T(l){switch(l.tag){case 26:case 27:case 5:return ca(l.type);case 16:return ca("Lazy");case 13:return ca("Suspense");case 19:return ca("SuspenseList");case 0:case 15:return l=sa(l.type,!1),l;case 11:return l=sa(l.type.render,!1),l;case 1:return l=sa(l.type,!0),l;default:return""}}function j(l){try{var t="";do t+=T(l),l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function N(l){var t=l,a=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(a=t.return),l=t.return;while(l)}return t.tag===3?a:null}function P(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function cl(l){if(N(l)!==l)throw Error(s(188))}function Ga(l){var t=l.alternate;if(!t){if(t=N(l),t===null)throw Error(s(188));return t!==l?null:l}for(var a=l,e=t;;){var u=a.return;if(u===null)break;var n=u.alternate;if(n===null){if(e=u.return,e!==null){a=e;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===a)return cl(u),l;if(n===e)return cl(u),t;n=n.sibling}throw Error(s(188))}if(a.return!==e.return)a=u,e=n;else{for(var i=!1,c=u.child;c;){if(c===a){i=!0,a=u,e=n;break}if(c===e){i=!0,e=u,a=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===a){i=!0,a=n,e=u;break}if(c===e){i=!0,e=n,a=u;break}c=c.sibling}if(!i)throw Error(s(189))}}if(a.alternate!==e)throw Error(s(190))}if(a.tag!==3)throw Error(s(188));return a.stateNode.current===a?l:t}function da(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=da(l),t!==null)return t;l=l.sibling}return null}var St=Array.isArray,V=y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ql={pending:!1,data:null,method:null,action:null},Wn=[],Ca=-1;function ct(l){return{current:l}}function rl(l){0>Ca||(l.current=Wn[Ca],Wn[Ca]=null,Ca--)}function ll(l,t){Ca++,Wn[Ca]=l.current,l.current=t}var ft=ct(null),Oe=ct(null),Yt=ct(null),_u=ct(null);function Hu(l,t){switch(ll(Yt,t),ll(Oe,l),ll(ft,null),l=t.nodeType,l){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?_o(t):0;break;default:if(l=l===8?t.parentNode:t,t=l.tagName,l=l.namespaceURI)l=_o(l),t=Ho(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}rl(ft),ll(ft,t)}function Xa(){rl(ft),rl(Oe),rl(Yt)}function $n(l){l.memoizedState!==null&&ll(_u,l);var t=ft.current,a=Ho(t,l.type);t!==a&&(ll(Oe,l),ll(ft,a))}function Ru(l){Oe.current===l&&(rl(ft),rl(Oe)),_u.current===l&&(rl(_u),bu._currentValue=Ql)}var kn=Object.prototype.hasOwnProperty,Fn=m.unstable_scheduleCallback,In=m.unstable_cancelCallback,g0=m.unstable_shouldYield,b0=m.unstable_requestPaint,st=m.unstable_now,E0=m.unstable_getCurrentPriorityLevel,Sf=m.unstable_ImmediatePriority,gf=m.unstable_UserBlockingPriority,Nu=m.unstable_NormalPriority,z0=m.unstable_LowPriority,bf=m.unstable_IdlePriority,A0=m.log,M0=m.unstable_setDisableYieldValue,Ue=null,Bl=null;function T0(l){if(Bl&&typeof Bl.onCommitFiberRoot=="function")try{Bl.onCommitFiberRoot(Ue,l,void 0,(l.current.flags&128)===128)}catch{}}function jt(l){if(typeof A0=="function"&&M0(l),Bl&&typeof Bl.setStrictMode=="function")try{Bl.setStrictMode(Ue,l)}catch{}}var Yl=Math.clz32?Math.clz32:O0,D0=Math.log,p0=Math.LN2;function O0(l){return l>>>=0,l===0?32:31-(D0(l)/p0|0)|0}var qu=128,Bu=4194304;function oa(l){var t=l&42;if(t!==0)return t;switch(l&-l){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:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Yu(l,t){var a=l.pendingLanes;if(a===0)return 0;var e=0,u=l.suspendedLanes,n=l.pingedLanes,i=l.warmLanes;l=l.finishedLanes!==0;var c=a&134217727;return c!==0?(a=c&~u,a!==0?e=oa(a):(n&=c,n!==0?e=oa(n):l||(i=c&~i,i!==0&&(e=oa(i))))):(c=a&~u,c!==0?e=oa(c):n!==0?e=oa(n):l||(i=a&~i,i!==0&&(e=oa(i)))),e===0?0:t!==0&&t!==e&&(t&u)===0&&(u=e&-e,i=t&-t,u>=i||u===32&&(i&4194176)!==0)?t:e}function _e(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function U0(l,t){switch(l){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ef(){var l=qu;return qu<<=1,(qu&4194176)===0&&(qu=128),l}function zf(){var l=Bu;return Bu<<=1,(Bu&62914560)===0&&(Bu=4194304),l}function Pn(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function He(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function _0(l,t,a,e,u,n){var i=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var c=l.entanglements,f=l.expirationTimes,o=l.hiddenUpdates;for(a=i&~a;0<a;){var b=31-Yl(a),z=1<<b;c[b]=0,f[b]=-1;var r=o[b];if(r!==null)for(o[b]=null,b=0;b<r.length;b++){var S=r[b];S!==null&&(S.lane&=-536870913)}a&=~z}e!==0&&Af(l,e,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(i&~t))}function Af(l,t,a){l.pendingLanes|=t,l.suspendedLanes&=~t;var e=31-Yl(t);l.entangledLanes|=t,l.entanglements[e]=l.entanglements[e]|1073741824|a&4194218}function Mf(l,t){var a=l.entangledLanes|=t;for(l=l.entanglements;a;){var e=31-Yl(a),u=1<<e;u&t|l[e]&t&&(l[e]|=t),a&=~u}}function Tf(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Df(){var l=V.p;return l!==0?l:(l=window.event,l===void 0?32:Wo(l.type))}function H0(l,t){var a=V.p;try{return V.p=l,t()}finally{V.p=a}}var xt=Math.random().toString(36).slice(2),Dl="__reactFiber$"+xt,Hl="__reactProps$"+xt,Qa="__reactContainer$"+xt,li="__reactEvents$"+xt,R0="__reactListeners$"+xt,N0="__reactHandles$"+xt,pf="__reactResources$"+xt,Re="__reactMarker$"+xt;function ti(l){delete l[Dl],delete l[Hl],delete l[li],delete l[R0],delete l[N0]}function va(l){var t=l[Dl];if(t)return t;for(var a=l.parentNode;a;){if(t=a[Qa]||a[Dl]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(l=qo(l);l!==null;){if(a=l[Dl])return a;l=qo(l)}return t}l=a,a=l.parentNode}return null}function Za(l){if(l=l[Dl]||l[Qa]){var t=l.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return l}return null}function Ne(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(s(33))}function Va(l){var t=l[pf];return t||(t=l[pf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function yl(l){l[Re]=!0}var Of=new Set,Uf={};function ma(l,t){La(l,t),La(l+"Capture",t)}function La(l,t){for(Uf[l]=t,l=0;l<t.length;l++)Of.add(t[l])}var gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),q0=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]*$"),_f={},Hf={};function B0(l){return kn.call(Hf,l)?!0:kn.call(_f,l)?!1:q0.test(l)?Hf[l]=!0:(_f[l]=!0,!1)}function ju(l,t,a){if(B0(t))if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var e=t.toLowerCase().slice(0,5);if(e!=="data-"&&e!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+a)}}function xu(l,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+a)}}function bt(l,t,a,e){if(e===null)l.removeAttribute(a);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttributeNS(t,a,""+e)}}function Zl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Rf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Y0(l){var t=Rf(l)?"checked":"value",a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),e=""+l[t];if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function Gu(l){l._valueTracker||(l._valueTracker=Y0(l))}function Nf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var a=t.getValue(),e="";return l&&(e=Rf(l)?l.checked?"true":"false":l.value),l=e,l!==a?(t.setValue(l),!0):!1}function Cu(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var j0=/[\n"\\]/g;function Vl(l){return l.replace(j0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ai(l,t,a,e,u,n,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+Zl(t)):l.value!==""+Zl(t)&&(l.value=""+Zl(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?ei(l,i,Zl(t)):a!=null?ei(l,i,Zl(a)):e!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+Zl(c):l.removeAttribute("name")}function qf(l,t,a,e,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;a=a!=null?""+Zl(a):"",t=t!=null?""+Zl(t):a,c||t===l.value||(l.value=t),l.defaultValue=t}e=e??u,e=typeof e!="function"&&typeof e!="symbol"&&!!e,l.checked=c?l.checked:!!e,l.defaultChecked=!!e,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i)}function ei(l,t,a){t==="number"&&Cu(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Ka(l,t,a,e){if(l=l.options,t){t={};for(var u=0;u<a.length;u++)t["$"+a[u]]=!0;for(a=0;a<l.length;a++)u=t.hasOwnProperty("$"+l[a].value),l[a].selected!==u&&(l[a].selected=u),u&&e&&(l[a].defaultSelected=!0)}else{for(a=""+Zl(a),t=null,u=0;u<l.length;u++){if(l[u].value===a){l[u].selected=!0,e&&(l[u].defaultSelected=!0);return}t!==null||l[u].disabled||(t=l[u])}t!==null&&(t.selected=!0)}}function Bf(l,t,a){if(t!=null&&(t=""+Zl(t),t!==l.value&&(l.value=t),a==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=a!=null?""+Zl(a):""}function Yf(l,t,a,e){if(t==null){if(e!=null){if(a!=null)throw Error(s(92));if(St(e)){if(1<e.length)throw Error(s(93));e=e[0]}a=e}a==null&&(a=""),t=a}a=Zl(t),l.defaultValue=a,e=l.textContent,e===a&&e!==""&&e!==null&&(l.value=e)}function Ja(l,t){if(t){var a=l.firstChild;if(a&&a===l.lastChild&&a.nodeType===3){a.nodeValue=t;return}}l.textContent=t}var x0=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 jf(l,t,a){var e=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?e?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":e?l.setProperty(t,a):typeof a!="number"||a===0||x0.has(t)?t==="float"?l.cssFloat=a:l[t]=(""+a).trim():l[t]=a+"px"}function xf(l,t,a){if(t!=null&&typeof t!="object")throw Error(s(62));if(l=l.style,a!=null){for(var e in a)!a.hasOwnProperty(e)||t!=null&&t.hasOwnProperty(e)||(e.indexOf("--")===0?l.setProperty(e,""):e==="float"?l.cssFloat="":l[e]="");for(var u in t)e=t[u],t.hasOwnProperty(u)&&a[u]!==e&&jf(l,u,e)}else for(var n in t)t.hasOwnProperty(n)&&jf(l,n,t[n])}function ui(l){if(l.indexOf("-")===-1)return!1;switch(l){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 G0=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"]]),C0=/^[\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 Xu(l){return C0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var ni=null;function ii(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var wa=null,Wa=null;function Gf(l){var t=Za(l);if(t&&(l=t.stateNode)){var a=l[Hl]||null;l:switch(l=t.stateNode,t.type){case"input":if(ai(l,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=l;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Vl(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var e=a[t];if(e!==l&&e.form===l.form){var u=e[Hl]||null;if(!u)throw Error(s(90));ai(e,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<a.length;t++)e=a[t],e.form===l.form&&Nf(e)}break l;case"textarea":Bf(l,a.value,a.defaultValue);break l;case"select":t=a.value,t!=null&&Ka(l,!!a.multiple,t,!1)}}}var ci=!1;function Cf(l,t,a){if(ci)return l(t,a);ci=!0;try{var e=l(t);return e}finally{if(ci=!1,(wa!==null||Wa!==null)&&(Tn(),wa&&(t=wa,l=Wa,Wa=wa=null,Gf(t),l)))for(t=0;t<l.length;t++)Gf(l[t])}}function qe(l,t){var a=l.stateNode;if(a===null)return null;var e=a[Hl]||null;if(e===null)return null;a=e[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(e=!e.disabled)||(l=l.type,e=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!e;break l;default:l=!1}if(l)return null;if(a&&typeof a!="function")throw Error(s(231,t,typeof a));return a}var fi=!1;if(gt)try{var Be={};Object.defineProperty(Be,"passive",{get:function(){fi=!0}}),window.addEventListener("test",Be,Be),window.removeEventListener("test",Be,Be)}catch{fi=!1}var Gt=null,si=null,Qu=null;function Xf(){if(Qu)return Qu;var l,t=si,a=t.length,e,u="value"in Gt?Gt.value:Gt.textContent,n=u.length;for(l=0;l<a&&t[l]===u[l];l++);var i=a-l;for(e=1;e<=i&&t[a-e]===u[n-e];e++);return Qu=u.slice(l,1<e?1-e:void 0)}function Zu(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Vu(){return!0}function Qf(){return!1}function Rl(l){function t(a,e,u,n,i){this._reactName=a,this._targetInst=u,this.type=e,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(a=l[c],this[c]=a?a(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Vu:Qf,this.isPropagationStopped=Qf,this}return J(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Vu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Vu)},persist:function(){},isPersistent:Vu}),t}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lu=Rl(ha),Ye=J({},ha,{view:0,detail:0}),X0=Rl(Ye),di,oi,je,Ku=J({},Ye,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mi,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==je&&(je&&l.type==="mousemove"?(di=l.screenX-je.screenX,oi=l.screenY-je.screenY):oi=di=0,je=l),di)},movementY:function(l){return"movementY"in l?l.movementY:oi}}),Zf=Rl(Ku),Q0=J({},Ku,{dataTransfer:0}),Z0=Rl(Q0),V0=J({},Ye,{relatedTarget:0}),vi=Rl(V0),L0=J({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),K0=Rl(L0),J0=J({},ha,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),w0=Rl(J0),W0=J({},ha,{data:0}),Vf=Rl(W0),$0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function I0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=F0[l])?!!t[l]:!1}function mi(){return I0}var P0=J({},Ye,{key:function(l){if(l.key){var t=$0[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Zu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?k0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mi,charCode:function(l){return l.type==="keypress"?Zu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Zu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),lv=Rl(P0),tv=J({},Ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lf=Rl(tv),av=J({},Ye,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mi}),ev=Rl(av),uv=J({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),nv=Rl(uv),iv=J({},Ku,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),cv=Rl(iv),fv=J({},ha,{newState:0,oldState:0}),sv=Rl(fv),dv=[9,13,27,32],hi=gt&&"CompositionEvent"in window,xe=null;gt&&"documentMode"in document&&(xe=document.documentMode);var ov=gt&&"TextEvent"in window&&!xe,Kf=gt&&(!hi||xe&&8<xe&&11>=xe),Jf=" ",wf=!1;function Wf(l,t){switch(l){case"keyup":return dv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $f(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var $a=!1;function vv(l,t){switch(l){case"compositionend":return $f(t);case"keypress":return t.which!==32?null:(wf=!0,Jf);case"textInput":return l=t.data,l===Jf&&wf?null:l;default:return null}}function mv(l,t){if($a)return l==="compositionend"||!hi&&Wf(l,t)?(l=Xf(),Qu=si=Gt=null,$a=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Kf&&t.locale!=="ko"?null:t.data;default:return null}}var hv={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 kf(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!hv[l.type]:t==="textarea"}function Ff(l,t,a,e){wa?Wa?Wa.push(e):Wa=[e]:wa=e,t=_n(t,"onChange"),0<t.length&&(a=new Lu("onChange","change",null,a,e),l.push({event:a,listeners:t}))}var Ge=null,Ce=null;function rv(l){To(l,0)}function Ju(l){var t=Ne(l);if(Nf(t))return l}function If(l,t){if(l==="change")return t}var Pf=!1;if(gt){var ri;if(gt){var yi="oninput"in document;if(!yi){var ls=document.createElement("div");ls.setAttribute("oninput","return;"),yi=typeof ls.oninput=="function"}ri=yi}else ri=!1;Pf=ri&&(!document.documentMode||9<document.documentMode)}function ts(){Ge&&(Ge.detachEvent("onpropertychange",as),Ce=Ge=null)}function as(l){if(l.propertyName==="value"&&Ju(Ce)){var t=[];Ff(t,Ce,l,ii(l)),Cf(rv,t)}}function yv(l,t,a){l==="focusin"?(ts(),Ge=t,Ce=a,Ge.attachEvent("onpropertychange",as)):l==="focusout"&&ts()}function Sv(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ju(Ce)}function gv(l,t){if(l==="click")return Ju(t)}function bv(l,t){if(l==="input"||l==="change")return Ju(t)}function Ev(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var jl=typeof Object.is=="function"?Object.is:Ev;function Xe(l,t){if(jl(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var a=Object.keys(l),e=Object.keys(t);if(a.length!==e.length)return!1;for(e=0;e<a.length;e++){var u=a[e];if(!kn.call(t,u)||!jl(l[u],t[u]))return!1}return!0}function es(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function us(l,t){var a=es(l);l=0;for(var e;a;){if(a.nodeType===3){if(e=l+a.textContent.length,l<=t&&e>=t)return{node:a,offset:t-l};l=e}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=es(a)}}function ns(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?ns(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function is(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Cu(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=Cu(l.document)}return t}function Si(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}function zv(l,t){var a=is(t);t=l.focusedElem;var e=l.selectionRange;if(a!==t&&t&&t.ownerDocument&&ns(t.ownerDocument.documentElement,t)){if(e!==null&&Si(t)){if(l=e.start,a=e.end,a===void 0&&(a=l),"selectionStart"in t)t.selectionStart=l,t.selectionEnd=Math.min(a,t.value.length);else if(a=(l=t.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var u=t.textContent.length,n=Math.min(e.start,u);e=e.end===void 0?n:Math.min(e.end,u),!a.extend&&n>e&&(u=e,e=n,n=u),u=us(t,n);var i=us(t,e);u&&i&&(a.rangeCount!==1||a.anchorNode!==u.node||a.anchorOffset!==u.offset||a.focusNode!==i.node||a.focusOffset!==i.offset)&&(l=l.createRange(),l.setStart(u.node,u.offset),a.removeAllRanges(),n>e?(a.addRange(l),a.extend(i.node,i.offset)):(l.setEnd(i.node,i.offset),a.addRange(l)))}}for(l=[],a=t;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<l.length;t++)a=l[t],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var Av=gt&&"documentMode"in document&&11>=document.documentMode,ka=null,gi=null,Qe=null,bi=!1;function cs(l,t,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bi||ka==null||ka!==Cu(e)||(e=ka,"selectionStart"in e&&Si(e)?e={start:e.selectionStart,end:e.selectionEnd}:(e=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection(),e={anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}),Qe&&Xe(Qe,e)||(Qe=e,e=_n(gi,"onSelect"),0<e.length&&(t=new Lu("onSelect","select",null,t,a),l.push({event:t,listeners:e}),t.target=ka)))}function ra(l,t){var a={};return a[l.toLowerCase()]=t.toLowerCase(),a["Webkit"+l]="webkit"+t,a["Moz"+l]="moz"+t,a}var Fa={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionrun:ra("Transition","TransitionRun"),transitionstart:ra("Transition","TransitionStart"),transitioncancel:ra("Transition","TransitionCancel"),transitionend:ra("Transition","TransitionEnd")},Ei={},fs={};gt&&(fs=document.createElement("div").style,"AnimationEvent"in window||(delete Fa.animationend.animation,delete Fa.animationiteration.animation,delete Fa.animationstart.animation),"TransitionEvent"in window||delete Fa.transitionend.transition);function ya(l){if(Ei[l])return Ei[l];if(!Fa[l])return l;var t=Fa[l],a;for(a in t)if(t.hasOwnProperty(a)&&a in fs)return Ei[l]=t[a];return l}var ss=ya("animationend"),ds=ya("animationiteration"),os=ya("animationstart"),Mv=ya("transitionrun"),Tv=ya("transitionstart"),Dv=ya("transitioncancel"),vs=ya("transitionend"),ms=new Map,hs="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 scrollEnd toggle touchMove waiting wheel".split(" ");function at(l,t){ms.set(l,t),ma(t,[l])}var Ll=[],Ia=0,zi=0;function wu(){for(var l=Ia,t=zi=Ia=0;t<l;){var a=Ll[t];Ll[t++]=null;var e=Ll[t];Ll[t++]=null;var u=Ll[t];Ll[t++]=null;var n=Ll[t];if(Ll[t++]=null,e!==null&&u!==null){var i=e.pending;i===null?u.next=u:(u.next=i.next,i.next=u),e.pending=u}n!==0&&rs(a,u,n)}}function Wu(l,t,a,e){Ll[Ia++]=l,Ll[Ia++]=t,Ll[Ia++]=a,Ll[Ia++]=e,zi|=e,l.lanes|=e,l=l.alternate,l!==null&&(l.lanes|=e)}function Ai(l,t,a,e){return Wu(l,t,a,e),$u(l)}function Ct(l,t){return Wu(l,null,null,t),$u(l)}function rs(l,t,a){l.lanes|=a;var e=l.alternate;e!==null&&(e.lanes|=a);for(var u=!1,n=l.return;n!==null;)n.childLanes|=a,e=n.alternate,e!==null&&(e.childLanes|=a),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(u=!0)),l=n,n=n.return;u&&t!==null&&l.tag===3&&(n=l.stateNode,u=31-Yl(a),n=n.hiddenUpdates,l=n[u],l===null?n[u]=[t]:l.push(t),t.lane=a|536870912)}function $u(l){if(50<vu)throw vu=0,Uc=null,Error(s(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var Pa={},ys=new WeakMap;function Kl(l,t){if(typeof l=="object"&&l!==null){var a=ys.get(l);return a!==void 0?a:(t={value:l,source:t,stack:j(t)},ys.set(l,t),t)}return{value:l,source:t,stack:j(t)}}var le=[],te=0,ku=null,Fu=0,Jl=[],wl=0,Sa=null,Et=1,zt="";function ga(l,t){le[te++]=Fu,le[te++]=ku,ku=l,Fu=t}function Ss(l,t,a){Jl[wl++]=Et,Jl[wl++]=zt,Jl[wl++]=Sa,Sa=l;var e=Et;l=zt;var u=32-Yl(e)-1;e&=~(1<<u),a+=1;var n=32-Yl(t)+u;if(30<n){var i=u-u%5;n=(e&(1<<i)-1).toString(32),e>>=i,u-=i,Et=1<<32-Yl(t)+u|a<<u|e,zt=n+l}else Et=1<<n|a<<u|e,zt=l}function Mi(l){l.return!==null&&(ga(l,1),Ss(l,1,0))}function Ti(l){for(;l===ku;)ku=le[--te],le[te]=null,Fu=le[--te],le[te]=null;for(;l===Sa;)Sa=Jl[--wl],Jl[wl]=null,zt=Jl[--wl],Jl[wl]=null,Et=Jl[--wl],Jl[wl]=null}var Ul=null,Al=null,L=!1,et=null,dt=!1,Di=Error(s(519));function ba(l){var t=Error(s(418,""));throw Le(Kl(t,l)),Di}function gs(l){var t=l.stateNode,a=l.type,e=l.memoizedProps;switch(t[Dl]=l,t[Hl]=e,a){case"dialog":Q("cancel",t),Q("close",t);break;case"iframe":case"object":case"embed":Q("load",t);break;case"video":case"audio":for(a=0;a<hu.length;a++)Q(hu[a],t);break;case"source":Q("error",t);break;case"img":case"image":case"link":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"input":Q("invalid",t),qf(t,e.value,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name,!0),Gu(t);break;case"select":Q("invalid",t);break;case"textarea":Q("invalid",t),Yf(t,e.value,e.defaultValue,e.children),Gu(t)}a=e.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||e.suppressHydrationWarning===!0||Uo(t.textContent,a)?(e.popover!=null&&(Q("beforetoggle",t),Q("toggle",t)),e.onScroll!=null&&Q("scroll",t),e.onScrollEnd!=null&&Q("scrollend",t),e.onClick!=null&&(t.onclick=Hn),t=!0):t=!1,t||ba(l)}function bs(l){for(Ul=l.return;Ul;)switch(Ul.tag){case 3:case 27:dt=!0;return;case 5:case 13:dt=!1;return;default:Ul=Ul.return}}function Ze(l){if(l!==Ul)return!1;if(!L)return bs(l),L=!0,!1;var t=!1,a;if((a=l.tag!==3&&l.tag!==27)&&((a=l.tag===5)&&(a=l.type,a=!(a!=="form"&&a!=="button")||Kc(l.type,l.memoizedProps)),a=!a),a&&(t=!0),t&&Al&&ba(l),bs(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(s(317));l:{for(l=l.nextSibling,t=0;l;){if(l.nodeType===8)if(a=l.data,a==="/$"){if(t===0){Al=nt(l.nextSibling);break l}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;l=l.nextSibling}Al=null}}else Al=Ul?nt(l.stateNode.nextSibling):null;return!0}function Ve(){Al=Ul=null,L=!1}function Le(l){et===null?et=[l]:et.push(l)}var Ke=Error(s(460)),Es=Error(s(474)),pi={then:function(){}};function zs(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Iu(){}function As(l,t,a){switch(a=l[a],a===void 0?l.push(t):a!==t&&(t.then(Iu,Iu),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,l===Ke?Error(s(483)):l;default:if(typeof t.status=="string")t.then(Iu,Iu);else{if(l=k,l!==null&&100<l.shellSuspendCounter)throw Error(s(482));l=t,l.status="pending",l.then(function(e){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=e}},function(e){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,l===Ke?Error(s(483)):l}throw Je=t,Ke}}var Je=null;function Ms(){if(Je===null)throw Error(s(459));var l=Je;return Je=null,l}var ae=null,we=0;function Pu(l){var t=we;return we+=1,ae===null&&(ae=[]),As(ae,l,t)}function We(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function ln(l,t){throw t.$$typeof===M?Error(s(525)):(l=Object.prototype.toString.call(t),Error(s(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Ts(l){var t=l._init;return t(l._payload)}function Ds(l){function t(v,d){if(l){var h=v.deletions;h===null?(v.deletions=[d],v.flags|=16):h.push(d)}}function a(v,d){if(!l)return null;for(;d!==null;)t(v,d),d=d.sibling;return null}function e(v){for(var d=new Map;v!==null;)v.key!==null?d.set(v.key,v):d.set(v.index,v),v=v.sibling;return d}function u(v,d){return v=Ft(v,d),v.index=0,v.sibling=null,v}function n(v,d,h){return v.index=h,l?(h=v.alternate,h!==null?(h=h.index,h<d?(v.flags|=33554434,d):h):(v.flags|=33554434,d)):(v.flags|=1048576,d)}function i(v){return l&&v.alternate===null&&(v.flags|=33554434),v}function c(v,d,h,E){return d===null||d.tag!==6?(d=Ec(h,v.mode,E),d.return=v,d):(d=u(d,h),d.return=v,d)}function f(v,d,h,E){var D=h.type;return D===Y?b(v,d,h.props.children,E,h.key):d!==null&&(d.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===lt&&Ts(D)===d.type)?(d=u(d,h.props),We(d,h),d.return=v,d):(d=bn(h.type,h.key,h.props,null,v.mode,E),We(d,h),d.return=v,d)}function o(v,d,h,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==h.containerInfo||d.stateNode.implementation!==h.implementation?(d=zc(h,v.mode,E),d.return=v,d):(d=u(d,h.children||[]),d.return=v,d)}function b(v,d,h,E,D){return d===null||d.tag!==7?(d=_a(h,v.mode,E,D),d.return=v,d):(d=u(d,h),d.return=v,d)}function z(v,d,h){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Ec(""+d,v.mode,h),d.return=v,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case U:return h=bn(d.type,d.key,d.props,null,v.mode,h),We(h,d),h.return=v,h;case B:return d=zc(d,v.mode,h),d.return=v,d;case lt:var E=d._init;return d=E(d._payload),z(v,d,h)}if(St(d)||tt(d))return d=_a(d,v.mode,h,null),d.return=v,d;if(typeof d.then=="function")return z(v,Pu(d),h);if(d.$$typeof===zl)return z(v,yn(v,d),h);ln(v,d)}return null}function r(v,d,h,E){var D=d!==null?d.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return D!==null?null:c(v,d,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case U:return h.key===D?f(v,d,h,E):null;case B:return h.key===D?o(v,d,h,E):null;case lt:return D=h._init,h=D(h._payload),r(v,d,h,E)}if(St(h)||tt(h))return D!==null?null:b(v,d,h,E,null);if(typeof h.then=="function")return r(v,d,Pu(h),E);if(h.$$typeof===zl)return r(v,d,yn(v,h),E);ln(v,h)}return null}function S(v,d,h,E,D){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return v=v.get(h)||null,c(d,v,""+E,D);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case U:return v=v.get(E.key===null?h:E.key)||null,f(d,v,E,D);case B:return v=v.get(E.key===null?h:E.key)||null,o(d,v,E,D);case lt:var G=E._init;return E=G(E._payload),S(v,d,h,E,D)}if(St(E)||tt(E))return v=v.get(h)||null,b(d,v,E,D,null);if(typeof E.then=="function")return S(v,d,h,Pu(E),D);if(E.$$typeof===zl)return S(v,d,h,yn(d,E),D);ln(d,E)}return null}function p(v,d,h,E){for(var D=null,G=null,_=d,H=d=0,bl=null;_!==null&&H<h.length;H++){_.index>H?(bl=_,_=null):bl=_.sibling;var K=r(v,_,h[H],E);if(K===null){_===null&&(_=bl);break}l&&_&&K.alternate===null&&t(v,_),d=n(K,d,H),G===null?D=K:G.sibling=K,G=K,_=bl}if(H===h.length)return a(v,_),L&&ga(v,H),D;if(_===null){for(;H<h.length;H++)_=z(v,h[H],E),_!==null&&(d=n(_,d,H),G===null?D=_:G.sibling=_,G=_);return L&&ga(v,H),D}for(_=e(_);H<h.length;H++)bl=S(_,v,H,h[H],E),bl!==null&&(l&&bl.alternate!==null&&_.delete(bl.key===null?H:bl.key),d=n(bl,d,H),G===null?D=bl:G.sibling=bl,G=bl);return l&&_.forEach(function(ua){return t(v,ua)}),L&&ga(v,H),D}function q(v,d,h,E){if(h==null)throw Error(s(151));for(var D=null,G=null,_=d,H=d=0,bl=null,K=h.next();_!==null&&!K.done;H++,K=h.next()){_.index>H?(bl=_,_=null):bl=_.sibling;var ua=r(v,_,K.value,E);if(ua===null){_===null&&(_=bl);break}l&&_&&ua.alternate===null&&t(v,_),d=n(ua,d,H),G===null?D=ua:G.sibling=ua,G=ua,_=bl}if(K.done)return a(v,_),L&&ga(v,H),D;if(_===null){for(;!K.done;H++,K=h.next())K=z(v,K.value,E),K!==null&&(d=n(K,d,H),G===null?D=K:G.sibling=K,G=K);return L&&ga(v,H),D}for(_=e(_);!K.done;H++,K=h.next())K=S(_,v,H,K.value,E),K!==null&&(l&&K.alternate!==null&&_.delete(K.key===null?H:K.key),d=n(K,d,H),G===null?D=K:G.sibling=K,G=K);return l&&_.forEach(function(Cm){return t(v,Cm)}),L&&ga(v,H),D}function il(v,d,h,E){if(typeof h=="object"&&h!==null&&h.type===Y&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case U:l:{for(var D=h.key;d!==null;){if(d.key===D){if(D=h.type,D===Y){if(d.tag===7){a(v,d.sibling),E=u(d,h.props.children),E.return=v,v=E;break l}}else if(d.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===lt&&Ts(D)===d.type){a(v,d.sibling),E=u(d,h.props),We(E,h),E.return=v,v=E;break l}a(v,d);break}else t(v,d);d=d.sibling}h.type===Y?(E=_a(h.props.children,v.mode,E,h.key),E.return=v,v=E):(E=bn(h.type,h.key,h.props,null,v.mode,E),We(E,h),E.return=v,v=E)}return i(v);case B:l:{for(D=h.key;d!==null;){if(d.key===D)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){a(v,d.sibling),E=u(d,h.children||[]),E.return=v,v=E;break l}else{a(v,d);break}else t(v,d);d=d.sibling}E=zc(h,v.mode,E),E.return=v,v=E}return i(v);case lt:return D=h._init,h=D(h._payload),il(v,d,h,E)}if(St(h))return p(v,d,h,E);if(tt(h)){if(D=tt(h),typeof D!="function")throw Error(s(150));return h=D.call(h),q(v,d,h,E)}if(typeof h.then=="function")return il(v,d,Pu(h),E);if(h.$$typeof===zl)return il(v,d,yn(v,h),E);ln(v,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(h=""+h,d!==null&&d.tag===6?(a(v,d.sibling),E=u(d,h),E.return=v,v=E):(a(v,d),E=Ec(h,v.mode,E),E.return=v,v=E),i(v)):a(v,d)}return function(v,d,h,E){try{we=0;var D=il(v,d,h,E);return ae=null,D}catch(_){if(_===Ke)throw _;var G=Fl(29,_,null,v.mode);return G.lanes=E,G.return=v,G}finally{}}}var Ea=Ds(!0),ps=Ds(!1),ee=ct(null),tn=ct(0);function Os(l,t){l=Nt,ll(tn,l),ll(ee,t),Nt=l|t.baseLanes}function Oi(){ll(tn,Nt),ll(ee,ee.current)}function Ui(){Nt=tn.current,rl(ee),rl(tn)}var Wl=ct(null),ot=null;function Xt(l){var t=l.alternate;ll(ml,ml.current&1),ll(Wl,l),ot===null&&(t===null||ee.current!==null||t.memoizedState!==null)&&(ot=l)}function Us(l){if(l.tag===22){if(ll(ml,ml.current),ll(Wl,l),ot===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(ot=l)}}else Qt()}function Qt(){ll(ml,ml.current),ll(Wl,Wl.current)}function At(l){rl(Wl),ot===l&&(ot=null),rl(ml)}var ml=ct(0);function an(l){for(var t=l;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pv=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(a,e){l.push(e)}};this.abort=function(){t.aborted=!0,l.forEach(function(a){return a()})}},Ov=m.unstable_scheduleCallback,Uv=m.unstable_NormalPriority,hl={$$typeof:zl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function _i(){return{controller:new pv,data:new Map,refCount:0}}function $e(l){l.refCount--,l.refCount===0&&Ov(Uv,function(){l.controller.abort()})}var ke=null,Hi=0,ue=0,ne=null;function _v(l,t){if(ke===null){var a=ke=[];Hi=0,ue=jc(),ne={status:"pending",value:void 0,then:function(e){a.push(e)}}}return Hi++,t.then(_s,_s),t}function _s(){if(--Hi===0&&ke!==null){ne!==null&&(ne.status="fulfilled");var l=ke;ke=null,ue=0,ne=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Hv(l,t){var a=[],e={status:"pending",value:null,reason:null,then:function(u){a.push(u)}};return l.then(function(){e.status="fulfilled",e.value=t;for(var u=0;u<a.length;u++)(0,a[u])(t)},function(u){for(e.status="rejected",e.reason=u,u=0;u<a.length;u++)(0,a[u])(void 0)}),e}var Hs=R.S;R.S=function(l,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&_v(l,t),Hs!==null&&Hs(l,t)};var za=ct(null);function Ri(){var l=za.current;return l!==null?l:k.pooledCache}function en(l,t){t===null?ll(za,za.current):ll(za,t.pool)}function Rs(){var l=Ri();return l===null?null:{parent:hl._currentValue,pool:l}}var Zt=0,x=null,w=null,dl=null,un=!1,ie=!1,Aa=!1,nn=0,Fe=0,ce=null,Rv=0;function fl(){throw Error(s(321))}function Ni(l,t){if(t===null)return!1;for(var a=0;a<t.length&&a<l.length;a++)if(!jl(l[a],t[a]))return!1;return!0}function qi(l,t,a,e,u,n){return Zt=n,x=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=l===null||l.memoizedState===null?Ma:Vt,Aa=!1,n=a(e,u),Aa=!1,ie&&(n=qs(t,a,e,u)),Ns(l),n}function Ns(l){R.H=vt;var t=w!==null&&w.next!==null;if(Zt=0,dl=w=x=null,un=!1,Fe=0,ce=null,t)throw Error(s(300));l===null||Sl||(l=l.dependencies,l!==null&&rn(l)&&(Sl=!0))}function qs(l,t,a,e){x=l;var u=0;do{if(ie&&(ce=null),Fe=0,ie=!1,25<=u)throw Error(s(301));if(u+=1,dl=w=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}R.H=Ta,n=t(a,e)}while(ie);return n}function Nv(){var l=R.H,t=l.useState()[0];return t=typeof t.then=="function"?Ie(t):t,l=l.useState()[0],(w!==null?w.memoizedState:null)!==l&&(x.flags|=1024),t}function Bi(){var l=nn!==0;return nn=0,l}function Yi(l,t,a){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~a}function ji(l){if(un){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}un=!1}Zt=0,dl=w=x=null,ie=!1,Fe=nn=0,ce=null}function Nl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dl===null?x.memoizedState=dl=l:dl=dl.next=l,dl}function ol(){if(w===null){var l=x.alternate;l=l!==null?l.memoizedState:null}else l=w.next;var t=dl===null?x.memoizedState:dl.next;if(t!==null)dl=t,w=l;else{if(l===null)throw x.alternate===null?Error(s(467)):Error(s(310));w=l,l={memoizedState:w.memoizedState,baseState:w.baseState,baseQueue:w.baseQueue,queue:w.queue,next:null},dl===null?x.memoizedState=dl=l:dl=dl.next=l}return dl}var cn;cn=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Ie(l){var t=Fe;return Fe+=1,ce===null&&(ce=[]),l=As(ce,l,t),t=x,(dl===null?t.memoizedState:dl.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Ma:Vt),l}function fn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Ie(l);if(l.$$typeof===zl)return pl(l)}throw Error(s(438,String(l)))}function xi(l){var t=null,a=x.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var e=x.alternate;e!==null&&(e=e.updateQueue,e!==null&&(e=e.memoCache,e!=null&&(t={data:e.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=cn(),x.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(l),e=0;e<l;e++)a[e]=De;return t.index++,a}function Mt(l,t){return typeof t=="function"?t(l):t}function sn(l){var t=ol();return Gi(t,w,l)}function Gi(l,t,a){var e=l.queue;if(e===null)throw Error(s(311));e.lastRenderedReducer=a;var u=l.baseQueue,n=e.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}t.baseQueue=u=n,e.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var c=i=null,f=null,o=t,b=!1;do{var z=o.lane&-536870913;if(z!==o.lane?(Z&z)===z:(Zt&z)===z){var r=o.revertLane;if(r===0)f!==null&&(f=f.next={lane:0,revertLane:0,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),z===ue&&(b=!0);else if((Zt&r)===r){o=o.next,r===ue&&(b=!0);continue}else z={lane:0,revertLane:o.revertLane,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},f===null?(c=f=z,i=n):f=f.next=z,x.lanes|=r,It|=r;z=o.action,Aa&&a(n,z),n=o.hasEagerState?o.eagerState:a(n,z)}else r={lane:z,revertLane:o.revertLane,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},f===null?(c=f=r,i=n):f=f.next=r,x.lanes|=z,It|=z;o=o.next}while(o!==null&&o!==t);if(f===null?i=n:f.next=c,!jl(n,l.memoizedState)&&(Sl=!0,b&&(a=ne,a!==null)))throw a;l.memoizedState=n,l.baseState=i,l.baseQueue=f,e.lastRenderedState=n}return u===null&&(e.lanes=0),[l.memoizedState,e.dispatch]}function Ci(l){var t=ol(),a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var e=a.dispatch,u=a.pending,n=t.memoizedState;if(u!==null){a.pending=null;var i=u=u.next;do n=l(n,i.action),i=i.next;while(i!==u);jl(n,t.memoizedState)||(Sl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,e]}function Bs(l,t,a){var e=x,u=ol(),n=L;if(n){if(a===void 0)throw Error(s(407));a=a()}else a=t();var i=!jl((w||u).memoizedState,a);if(i&&(u.memoizedState=a,Sl=!0),u=u.queue,Zi(xs.bind(null,e,u,l),[l]),u.getSnapshot!==t||i||dl!==null&&dl.memoizedState.tag&1){if(e.flags|=2048,fe(9,js.bind(null,e,u,a,t),{destroy:void 0},null),k===null)throw Error(s(349));n||(Zt&60)!==0||Ys(e,t,a)}return a}function Ys(l,t,a){l.flags|=16384,l={getSnapshot:t,value:a},t=x.updateQueue,t===null?(t=cn(),x.updateQueue=t,t.stores=[l]):(a=t.stores,a===null?t.stores=[l]:a.push(l))}function js(l,t,a,e){t.value=a,t.getSnapshot=e,Gs(t)&&Cs(l)}function xs(l,t,a){return a(function(){Gs(t)&&Cs(l)})}function Gs(l){var t=l.getSnapshot;l=l.value;try{var a=t();return!jl(l,a)}catch{return!0}}function Cs(l){var t=Ct(l,2);t!==null&&_l(t,l,2)}function Xi(l){var t=Nl();if(typeof l=="function"){var a=l;if(l=a(),Aa){jt(!0);try{a()}finally{jt(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:l},t}function Xs(l,t,a,e){return l.baseState=a,Gi(l,w,typeof e=="function"?e:Mt)}function qv(l,t,a,e,u){if(vn(l))throw Error(s(485));if(l=t.action,l!==null){var n={payload:u,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};R.T!==null?a(!0):n.isTransition=!1,e(n),a=t.pending,a===null?(n.next=t.pending=n,Qs(t,n)):(n.next=a.next,t.pending=a.next=n)}}function Qs(l,t){var a=t.action,e=t.payload,u=l.state;if(t.isTransition){var n=R.T,i={};R.T=i;try{var c=a(u,e),f=R.S;f!==null&&f(i,c),Zs(l,t,c)}catch(o){Qi(l,t,o)}finally{R.T=n}}else try{n=a(u,e),Zs(l,t,n)}catch(o){Qi(l,t,o)}}function Zs(l,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(e){Vs(l,t,e)},function(e){return Qi(l,t,e)}):Vs(l,t,a)}function Vs(l,t,a){t.status="fulfilled",t.value=a,Ls(t),l.state=a,t=l.pending,t!==null&&(a=t.next,a===t?l.pending=null:(a=a.next,t.next=a,Qs(l,a)))}function Qi(l,t,a){var e=l.pending;if(l.pending=null,e!==null){e=e.next;do t.status="rejected",t.reason=a,Ls(t),t=t.next;while(t!==e)}l.action=null}function Ls(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Ks(l,t){return t}function Js(l,t){if(L){var a=k.formState;if(a!==null){l:{var e=x;if(L){if(Al){t:{for(var u=Al,n=dt;u.nodeType!==8;){if(!n){u=null;break t}if(u=nt(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Al=nt(u.nextSibling),e=u.data==="F!";break l}}ba(e)}e=!1}e&&(t=a[0])}}return a=Nl(),a.memoizedState=a.baseState=t,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ks,lastRenderedState:t},a.queue=e,a=dd.bind(null,x,e),e.dispatch=a,e=Xi(!1),n=wi.bind(null,x,!1,e.queue),e=Nl(),u={state:t,dispatch:null,action:l,pending:null},e.queue=u,a=qv.bind(null,x,u,n,a),u.dispatch=a,e.memoizedState=l,[t,a,!1]}function ws(l){var t=ol();return Ws(t,w,l)}function Ws(l,t,a){t=Gi(l,t,Ks)[0],l=sn(Mt)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Ie(t):t;var e=ol(),u=e.queue,n=u.dispatch;return a!==e.memoizedState&&(x.flags|=2048,fe(9,Bv.bind(null,u,a),{destroy:void 0},null)),[t,n,l]}function Bv(l,t){l.action=t}function $s(l){var t=ol(),a=w;if(a!==null)return Ws(t,a,l);ol(),t=t.memoizedState,a=ol();var e=a.queue.dispatch;return a.memoizedState=l,[t,e,!1]}function fe(l,t,a,e){return l={tag:l,create:t,inst:a,deps:e,next:null},t=x.updateQueue,t===null&&(t=cn(),x.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=l.next=l:(e=a.next,a.next=l,l.next=e,t.lastEffect=l),l}function ks(){return ol().memoizedState}function dn(l,t,a,e){var u=Nl();x.flags|=l,u.memoizedState=fe(1|t,a,{destroy:void 0},e===void 0?null:e)}function on(l,t,a,e){var u=ol();e=e===void 0?null:e;var n=u.memoizedState.inst;w!==null&&e!==null&&Ni(e,w.memoizedState.deps)?u.memoizedState=fe(t,a,n,e):(x.flags|=l,u.memoizedState=fe(1|t,a,n,e))}function Fs(l,t){dn(8390656,8,l,t)}function Zi(l,t){on(2048,8,l,t)}function Is(l,t){return on(4,2,l,t)}function Ps(l,t){return on(4,4,l,t)}function ld(l,t){if(typeof t=="function"){l=l();var a=t(l);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function td(l,t,a){a=a!=null?a.concat([l]):null,on(4,4,ld.bind(null,t,l),a)}function Vi(){}function ad(l,t){var a=ol();t=t===void 0?null:t;var e=a.memoizedState;return t!==null&&Ni(t,e[1])?e[0]:(a.memoizedState=[l,t],l)}function ed(l,t){var a=ol();t=t===void 0?null:t;var e=a.memoizedState;if(t!==null&&Ni(t,e[1]))return e[0];if(e=l(),Aa){jt(!0);try{l()}finally{jt(!1)}}return a.memoizedState=[e,t],e}function Li(l,t,a){return a===void 0||(Zt&1073741824)!==0?l.memoizedState=t:(l.memoizedState=a,l=no(),x.lanes|=l,It|=l,a)}function ud(l,t,a,e){return jl(a,t)?a:ee.current!==null?(l=Li(l,a,e),jl(l,t)||(Sl=!0),l):(Zt&42)===0?(Sl=!0,l.memoizedState=a):(l=no(),x.lanes|=l,It|=l,t)}function nd(l,t,a,e,u){var n=V.p;V.p=n!==0&&8>n?n:8;var i=R.T,c={};R.T=c,wi(l,!1,t,a);try{var f=u(),o=R.S;if(o!==null&&o(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var b=Hv(f,e);Pe(l,t,b,Xl(l))}else Pe(l,t,e,Xl(l))}catch(z){Pe(l,t,{then:function(){},status:"rejected",reason:z},Xl())}finally{V.p=n,R.T=i}}function Yv(){}function Ki(l,t,a,e){if(l.tag!==5)throw Error(s(476));var u=id(l).queue;nd(l,u,t,Ql,a===null?Yv:function(){return cd(l),a(e)})}function id(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Ql,baseState:Ql,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:Ql},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mt,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function cd(l){var t=id(l).next.queue;Pe(l,t,{},Xl())}function Ji(){return pl(bu)}function fd(){return ol().memoizedState}function sd(){return ol().memoizedState}function jv(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=Xl();l=Jt(a);var e=wt(t,l,a);e!==null&&(_l(e,t,a),au(e,t,a)),t={cache:_i()},l.payload=t;return}t=t.return}}function xv(l,t,a){var e=Xl();a={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},vn(l)?od(t,a):(a=Ai(l,t,a,e),a!==null&&(_l(a,l,e),vd(a,t,e)))}function dd(l,t,a){var e=Xl();Pe(l,t,a,e)}function Pe(l,t,a,e){var u={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(vn(l))od(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,c=n(i,a);if(u.hasEagerState=!0,u.eagerState=c,jl(c,i))return Wu(l,t,u,0),k===null&&wu(),!1}catch{}finally{}if(a=Ai(l,t,u,e),a!==null)return _l(a,l,e),vd(a,t,e),!0}return!1}function wi(l,t,a,e){if(e={lane:2,revertLane:jc(),action:e,hasEagerState:!1,eagerState:null,next:null},vn(l)){if(t)throw Error(s(479))}else t=Ai(l,a,e,2),t!==null&&_l(t,l,2)}function vn(l){var t=l.alternate;return l===x||t!==null&&t===x}function od(l,t){ie=un=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function vd(l,t,a){if((a&4194176)!==0){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Mf(l,a)}}var vt={readContext:pl,use:fn,useCallback:fl,useContext:fl,useEffect:fl,useImperativeHandle:fl,useLayoutEffect:fl,useInsertionEffect:fl,useMemo:fl,useReducer:fl,useRef:fl,useState:fl,useDebugValue:fl,useDeferredValue:fl,useTransition:fl,useSyncExternalStore:fl,useId:fl};vt.useCacheRefresh=fl,vt.useMemoCache=fl,vt.useHostTransitionStatus=fl,vt.useFormState=fl,vt.useActionState=fl,vt.useOptimistic=fl;var Ma={readContext:pl,use:fn,useCallback:function(l,t){return Nl().memoizedState=[l,t===void 0?null:t],l},useContext:pl,useEffect:Fs,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,dn(4194308,4,ld.bind(null,t,l),a)},useLayoutEffect:function(l,t){return dn(4194308,4,l,t)},useInsertionEffect:function(l,t){dn(4,2,l,t)},useMemo:function(l,t){var a=Nl();t=t===void 0?null:t;var e=l();if(Aa){jt(!0);try{l()}finally{jt(!1)}}return a.memoizedState=[e,t],e},useReducer:function(l,t,a){var e=Nl();if(a!==void 0){var u=a(t);if(Aa){jt(!0);try{a(t)}finally{jt(!1)}}}else u=t;return e.memoizedState=e.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},e.queue=l,l=l.dispatch=xv.bind(null,x,l),[e.memoizedState,l]},useRef:function(l){var t=Nl();return l={current:l},t.memoizedState=l},useState:function(l){l=Xi(l);var t=l.queue,a=dd.bind(null,x,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:Vi,useDeferredValue:function(l,t){var a=Nl();return Li(a,l,t)},useTransition:function(){var l=Xi(!1);return l=nd.bind(null,x,l.queue,!0,!1),Nl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var e=x,u=Nl();if(L){if(a===void 0)throw Error(s(407));a=a()}else{if(a=t(),k===null)throw Error(s(349));(Z&60)!==0||Ys(e,t,a)}u.memoizedState=a;var n={value:a,getSnapshot:t};return u.queue=n,Fs(xs.bind(null,e,n,l),[l]),e.flags|=2048,fe(9,js.bind(null,e,n,a,t),{destroy:void 0},null),a},useId:function(){var l=Nl(),t=k.identifierPrefix;if(L){var a=zt,e=Et;a=(e&~(1<<32-Yl(e)-1)).toString(32)+a,t=":"+t+"R"+a,a=nn++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=Rv++,t=":"+t+"r"+a.toString(32)+":";return l.memoizedState=t},useCacheRefresh:function(){return Nl().memoizedState=jv.bind(null,x)}};Ma.useMemoCache=xi,Ma.useHostTransitionStatus=Ji,Ma.useFormState=Js,Ma.useActionState=Js,Ma.useOptimistic=function(l){var t=Nl();t.memoizedState=t.baseState=l;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=wi.bind(null,x,!0,a),a.dispatch=t,[l,t]};var Vt={readContext:pl,use:fn,useCallback:ad,useContext:pl,useEffect:Zi,useImperativeHandle:td,useInsertionEffect:Is,useLayoutEffect:Ps,useMemo:ed,useReducer:sn,useRef:ks,useState:function(){return sn(Mt)},useDebugValue:Vi,useDeferredValue:function(l,t){var a=ol();return ud(a,w.memoizedState,l,t)},useTransition:function(){var l=sn(Mt)[0],t=ol().memoizedState;return[typeof l=="boolean"?l:Ie(l),t]},useSyncExternalStore:Bs,useId:fd};Vt.useCacheRefresh=sd,Vt.useMemoCache=xi,Vt.useHostTransitionStatus=Ji,Vt.useFormState=ws,Vt.useActionState=ws,Vt.useOptimistic=function(l,t){var a=ol();return Xs(a,w,l,t)};var Ta={readContext:pl,use:fn,useCallback:ad,useContext:pl,useEffect:Zi,useImperativeHandle:td,useInsertionEffect:Is,useLayoutEffect:Ps,useMemo:ed,useReducer:Ci,useRef:ks,useState:function(){return Ci(Mt)},useDebugValue:Vi,useDeferredValue:function(l,t){var a=ol();return w===null?Li(a,l,t):ud(a,w.memoizedState,l,t)},useTransition:function(){var l=Ci(Mt)[0],t=ol().memoizedState;return[typeof l=="boolean"?l:Ie(l),t]},useSyncExternalStore:Bs,useId:fd};Ta.useCacheRefresh=sd,Ta.useMemoCache=xi,Ta.useHostTransitionStatus=Ji,Ta.useFormState=$s,Ta.useActionState=$s,Ta.useOptimistic=function(l,t){var a=ol();return w!==null?Xs(a,w,l,t):(a.baseState=l,[l,a.queue.dispatch])};function Wi(l,t,a,e){t=l.memoizedState,a=a(e,t),a=a==null?t:J({},t,a),l.memoizedState=a,l.lanes===0&&(l.updateQueue.baseState=a)}var $i={isMounted:function(l){return(l=l._reactInternals)?N(l)===l:!1},enqueueSetState:function(l,t,a){l=l._reactInternals;var e=Xl(),u=Jt(e);u.payload=t,a!=null&&(u.callback=a),t=wt(l,u,e),t!==null&&(_l(t,l,e),au(t,l,e))},enqueueReplaceState:function(l,t,a){l=l._reactInternals;var e=Xl(),u=Jt(e);u.tag=1,u.payload=t,a!=null&&(u.callback=a),t=wt(l,u,e),t!==null&&(_l(t,l,e),au(t,l,e))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var a=Xl(),e=Jt(a);e.tag=2,t!=null&&(e.callback=t),t=wt(l,e,a),t!==null&&(_l(t,l,a),au(t,l,a))}};function md(l,t,a,e,u,n,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(e,n,i):t.prototype&&t.prototype.isPureReactComponent?!Xe(a,e)||!Xe(u,n):!0}function hd(l,t,a,e){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,e),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,e),t.state!==l&&$i.enqueueReplaceState(t,t.state,null)}function Da(l,t){var a=t;if("ref"in t){a={};for(var e in t)e!=="ref"&&(a[e]=t[e])}if(l=l.defaultProps){a===t&&(a=J({},a));for(var u in l)a[u]===void 0&&(a[u]=l[u])}return a}var mn=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function rd(l){mn(l)}function yd(l){console.error(l)}function Sd(l){mn(l)}function hn(l,t){try{var a=l.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function gd(l,t,a){try{var e=l.onCaughtError;e(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function ki(l,t,a){return a=Jt(a),a.tag=3,a.payload={element:null},a.callback=function(){hn(l,t)},a}function bd(l){return l=Jt(l),l.tag=3,l}function Ed(l,t,a,e){var u=a.type.getDerivedStateFromError;if(typeof u=="function"){var n=e.value;l.payload=function(){return u(n)},l.callback=function(){gd(t,a,e)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){gd(t,a,e),typeof u!="function"&&(Pt===null?Pt=new Set([this]):Pt.add(this));var c=e.stack;this.componentDidCatch(e.value,{componentStack:c!==null?c:""})})}function Gv(l,t,a,e,u){if(a.flags|=32768,e!==null&&typeof e=="object"&&typeof e.then=="function"){if(t=a.alternate,t!==null&&tu(t,a,u,!0),a=Wl.current,a!==null){switch(a.tag){case 13:return ot===null?Rc():a.alternate===null&&nl===0&&(nl=3),a.flags&=-257,a.flags|=65536,a.lanes=u,e===pi?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([e]):t.add(e),qc(l,e,u)),!1;case 22:return a.flags|=65536,e===pi?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([e])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([e]):a.add(e)),qc(l,e,u)),!1}throw Error(s(435,a.tag))}return qc(l,e,u),Rc(),!1}if(L)return t=Wl.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,e!==Di&&(l=Error(s(422),{cause:e}),Le(Kl(l,a)))):(e!==Di&&(t=Error(s(423),{cause:e}),Le(Kl(t,a))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,e=Kl(e,a),u=ki(l.stateNode,e,u),oc(l,u),nl!==4&&(nl=2)),!1;var n=Error(s(520),{cause:e});if(n=Kl(n,a),du===null?du=[n]:du.push(n),nl!==4&&(nl=2),t===null)return!0;e=Kl(e,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,l=u&-u,a.lanes|=l,l=ki(a.stateNode,e,l),oc(a,l),!1;case 1:if(t=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Pt===null||!Pt.has(n))))return a.flags|=65536,u&=-u,a.lanes|=u,u=bd(u),Ed(u,l,a,e),oc(a,u),!1}a=a.return}while(a!==null);return!1}var zd=Error(s(461)),Sl=!1;function Ml(l,t,a,e){t.child=l===null?ps(t,null,a,e):Ea(t,l.child,a,e)}function Ad(l,t,a,e,u){a=a.render;var n=t.ref;if("ref"in e){var i={};for(var c in e)c!=="ref"&&(i[c]=e[c])}else i=e;return Oa(t),e=qi(l,t,a,i,n,u),c=Bi(),l!==null&&!Sl?(Yi(l,t,u),Tt(l,t,u)):(L&&c&&Mi(t),t.flags|=1,Ml(l,t,e,u),t.child)}function Md(l,t,a,e,u){if(l===null){var n=a.type;return typeof n=="function"&&!bc(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,Td(l,t,n,e,u)):(l=bn(a.type,null,e,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!nc(l,u)){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Xe,a(i,e)&&l.ref===t.ref)return Tt(l,t,u)}return t.flags|=1,l=Ft(n,e),l.ref=t.ref,l.return=t,t.child=l}function Td(l,t,a,e,u){if(l!==null){var n=l.memoizedProps;if(Xe(n,e)&&l.ref===t.ref)if(Sl=!1,t.pendingProps=e=n,nc(l,u))(l.flags&131072)!==0&&(Sl=!0);else return t.lanes=l.lanes,Tt(l,t,u)}return Fi(l,t,a,e,u)}function Dd(l,t,a){var e=t.pendingProps,u=e.children,n=(t.stateNode._pendingVisibility&2)!==0,i=l!==null?l.memoizedState:null;if(lu(l,t),e.mode==="hidden"||n){if((t.flags&128)!==0){if(e=i!==null?i.baseLanes|a:a,l!==null){for(u=t.child=l.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;t.childLanes=n&~e}else t.childLanes=0,t.child=null;return pd(l,t,e,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&en(t,i!==null?i.cachePool:null),i!==null?Os(t,i):Oi(),Us(t);else return t.lanes=t.childLanes=536870912,pd(l,t,i!==null?i.baseLanes|a:a,a)}else i!==null?(en(t,i.cachePool),Os(t,i),Qt(),t.memoizedState=null):(l!==null&&en(t,null),Oi(),Qt());return Ml(l,t,u,a),t.child}function pd(l,t,a,e){var u=Ri();return u=u===null?null:{parent:hl._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},l!==null&&en(t,null),Oi(),Us(t),l!==null&&tu(l,t,e,!0),null}function lu(l,t){var a=t.ref;if(a===null)l!==null&&l.ref!==null&&(t.flags|=2097664);else{if(typeof a!="function"&&typeof a!="object")throw Error(s(284));(l===null||l.ref!==a)&&(t.flags|=2097664)}}function Fi(l,t,a,e,u){return Oa(t),a=qi(l,t,a,e,void 0,u),e=Bi(),l!==null&&!Sl?(Yi(l,t,u),Tt(l,t,u)):(L&&e&&Mi(t),t.flags|=1,Ml(l,t,a,u),t.child)}function Od(l,t,a,e,u,n){return Oa(t),t.updateQueue=null,a=qs(t,e,a,u),Ns(l),e=Bi(),l!==null&&!Sl?(Yi(l,t,n),Tt(l,t,n)):(L&&e&&Mi(t),t.flags|=1,Ml(l,t,a,n),t.child)}function Ud(l,t,a,e,u){if(Oa(t),t.stateNode===null){var n=Pa,i=a.contextType;typeof i=="object"&&i!==null&&(n=pl(i)),n=new a(e,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=$i,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=e,n.state=t.memoizedState,n.refs={},sc(t),i=a.contextType,n.context=typeof i=="object"&&i!==null?pl(i):Pa,n.state=t.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(Wi(t,a,i,e),n.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&$i.enqueueReplaceState(n,n.state,null),uu(t,e,n,u),eu(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),e=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,f=Da(a,c);n.props=f;var o=n.context,b=a.contextType;i=Pa,typeof b=="object"&&b!==null&&(i=pl(b));var z=a.getDerivedStateFromProps;b=typeof z=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,b||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||o!==i)&&hd(t,n,e,i),Kt=!1;var r=t.memoizedState;n.state=r,uu(t,e,n,u),eu(),o=t.memoizedState,c||r!==o||Kt?(typeof z=="function"&&(Wi(t,a,z,e),o=t.memoizedState),(f=Kt||md(t,a,f,e,r,o,i))?(b||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"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=e,t.memoizedState=o),n.props=e,n.state=o,n.context=i,e=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),e=!1)}else{n=t.stateNode,dc(l,t),i=t.memoizedProps,b=Da(a,i),n.props=b,z=t.pendingProps,r=n.context,o=a.contextType,f=Pa,typeof o=="object"&&o!==null&&(f=pl(o)),c=a.getDerivedStateFromProps,(o=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==z||r!==f)&&hd(t,n,e,f),Kt=!1,r=t.memoizedState,n.state=r,uu(t,e,n,u),eu();var S=t.memoizedState;i!==z||r!==S||Kt||l!==null&&l.dependencies!==null&&rn(l.dependencies)?(typeof c=="function"&&(Wi(t,a,c,e),S=t.memoizedState),(b=Kt||md(t,a,b,e,r,S,f)||l!==null&&l.dependencies!==null&&rn(l.dependencies))?(o||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(e,S,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(e,S,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&r===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&r===l.memoizedState||(t.flags|=1024),t.memoizedProps=e,t.memoizedState=S),n.props=e,n.state=S,n.context=f,e=b):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&r===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&r===l.memoizedState||(t.flags|=1024),e=!1)}return n=e,lu(l,t),e=(t.flags&128)!==0,n||e?(n=t.stateNode,a=e&&typeof a.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&e?(t.child=Ea(t,l.child,null,u),t.child=Ea(t,null,a,u)):Ml(l,t,a,u),t.memoizedState=n.state,l=t.child):l=Tt(l,t,u),l}function _d(l,t,a,e){return Ve(),t.flags|=256,Ml(l,t,a,e),t.child}var Ii={dehydrated:null,treeContext:null,retryLane:0};function Pi(l){return{baseLanes:l,cachePool:Rs()}}function lc(l,t,a){return l=l!==null?l.childLanes&~a:0,t&&(l|=Il),l}function Hd(l,t,a){var e=t.pendingProps,u=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=l!==null&&l.memoizedState===null?!1:(ml.current&2)!==0),i&&(u=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(L){if(u?Xt(t):Qt(),L){var c=Al,f;if(f=c){l:{for(f=c,c=dt;f.nodeType!==8;){if(!c){c=null;break l}if(f=nt(f.nextSibling),f===null){c=null;break l}}c=f}c!==null?(t.memoizedState={dehydrated:c,treeContext:Sa!==null?{id:Et,overflow:zt}:null,retryLane:536870912},f=Fl(18,null,null,0),f.stateNode=c,f.return=t,t.child=f,Ul=t,Al=null,f=!0):f=!1}f||ba(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return c.data==="$!"?t.lanes=16:t.lanes=536870912,null;At(t)}return c=e.children,e=e.fallback,u?(Qt(),u=t.mode,c=ac({mode:"hidden",children:c},u),e=_a(e,u,a,null),c.return=t,e.return=t,c.sibling=e,t.child=c,u=t.child,u.memoizedState=Pi(a),u.childLanes=lc(l,i,a),t.memoizedState=Ii,e):(Xt(t),tc(t,c))}if(f=l.memoizedState,f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(Xt(t),t.flags&=-257,t=ec(l,t,a)):t.memoizedState!==null?(Qt(),t.child=l.child,t.flags|=128,t=null):(Qt(),u=e.fallback,c=t.mode,e=ac({mode:"visible",children:e.children},c),u=_a(u,c,a,null),u.flags|=2,e.return=t,u.return=t,e.sibling=u,t.child=e,Ea(t,l.child,null,a),e=t.child,e.memoizedState=Pi(a),e.childLanes=lc(l,i,a),t.memoizedState=Ii,t=u);else if(Xt(t),c.data==="$!"){if(i=c.nextSibling&&c.nextSibling.dataset,i)var o=i.dgst;i=o,e=Error(s(419)),e.stack="",e.digest=i,Le({value:e,source:null,stack:null}),t=ec(l,t,a)}else if(Sl||tu(l,t,a,!1),i=(a&l.childLanes)!==0,Sl||i){if(i=k,i!==null){if(e=a&-a,(e&42)!==0)e=1;else switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=64;break;case 268435456:e=134217728;break;default:e=0}if(e=(e&(i.suspendedLanes|a))!==0?0:e,e!==0&&e!==f.retryLane)throw f.retryLane=e,Ct(l,e),_l(i,l,e),zd}c.data==="$?"||Rc(),t=ec(l,t,a)}else c.data==="$?"?(t.flags|=128,t.child=l.child,t=Pv.bind(null,l),c._reactRetry=t,t=null):(l=f.treeContext,Al=nt(c.nextSibling),Ul=t,L=!0,et=null,dt=!1,l!==null&&(Jl[wl++]=Et,Jl[wl++]=zt,Jl[wl++]=Sa,Et=l.id,zt=l.overflow,Sa=t),t=tc(t,e.children),t.flags|=4096);return t}return u?(Qt(),u=e.fallback,c=t.mode,f=l.child,o=f.sibling,e=Ft(f,{mode:"hidden",children:e.children}),e.subtreeFlags=f.subtreeFlags&31457280,o!==null?u=Ft(o,u):(u=_a(u,c,a,null),u.flags|=2),u.return=t,e.return=t,e.sibling=u,t.child=e,e=u,u=t.child,c=l.child.memoizedState,c===null?c=Pi(a):(f=c.cachePool,f!==null?(o=hl._currentValue,f=f.parent!==o?{parent:o,pool:o}:f):f=Rs(),c={baseLanes:c.baseLanes|a,cachePool:f}),u.memoizedState=c,u.childLanes=lc(l,i,a),t.memoizedState=Ii,e):(Xt(t),a=l.child,l=a.sibling,a=Ft(a,{mode:"visible",children:e.children}),a.return=t,a.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=a,t.memoizedState=null,a)}function tc(l,t){return t=ac({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function ac(l,t){return ao(l,t,0,null)}function ec(l,t,a){return Ea(t,l.child,null,a),l=tc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Rd(l,t,a){l.lanes|=t;var e=l.alternate;e!==null&&(e.lanes|=t),cc(l.return,t,a)}function uc(l,t,a,e,u){var n=l.memoizedState;n===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:e,tail:a,tailMode:u}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=e,n.tail=a,n.tailMode=u)}function Nd(l,t,a){var e=t.pendingProps,u=e.revealOrder,n=e.tail;if(Ml(l,t,e.children,a),e=ml.current,(e&2)!==0)e=e&1|2,t.flags|=128;else{if(l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Rd(l,a,t);else if(l.tag===19)Rd(l,a,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}e&=1}switch(ll(ml,e),u){case"forwards":for(a=t.child,u=null;a!==null;)l=a.alternate,l!==null&&an(l)===null&&(u=a),a=a.sibling;a=u,a===null?(u=t.child,t.child=null):(u=a.sibling,a.sibling=null),uc(t,!1,u,a,n);break;case"backwards":for(a=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&an(l)===null){t.child=u;break}l=u.sibling,u.sibling=a,a=u,u=l}uc(t,!0,a,null,n);break;case"together":uc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tt(l,t,a){if(l!==null&&(t.dependencies=l.dependencies),It|=t.lanes,(a&t.childLanes)===0)if(l!==null){if(tu(l,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(s(153));if(t.child!==null){for(l=t.child,a=Ft(l,l.pendingProps),t.child=a,a.return=t;l.sibling!==null;)l=l.sibling,a=a.sibling=Ft(l,l.pendingProps),a.return=t;a.sibling=null}return t.child}function nc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&rn(l)))}function Cv(l,t,a){switch(t.tag){case 3:Hu(t,t.stateNode.containerInfo),Lt(t,hl,l.memoizedState.cache),Ve();break;case 27:case 5:$n(t);break;case 4:Hu(t,t.stateNode.containerInfo);break;case 10:Lt(t,t.type,t.memoizedProps.value);break;case 13:var e=t.memoizedState;if(e!==null)return e.dehydrated!==null?(Xt(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Hd(l,t,a):(Xt(t),l=Tt(l,t,a),l!==null?l.sibling:null);Xt(t);break;case 19:var u=(l.flags&128)!==0;if(e=(a&t.childLanes)!==0,e||(tu(l,t,a,!1),e=(a&t.childLanes)!==0),u){if(e)return Nd(l,t,a);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ll(ml,ml.current),e)break;return null;case 22:case 23:return t.lanes=0,Dd(l,t,a);case 24:Lt(t,hl,l.memoizedState.cache)}return Tt(l,t,a)}function qd(l,t,a){if(l!==null)if(l.memoizedProps!==t.pendingProps)Sl=!0;else{if(!nc(l,a)&&(t.flags&128)===0)return Sl=!1,Cv(l,t,a);Sl=(l.flags&131072)!==0}else Sl=!1,L&&(t.flags&1048576)!==0&&Ss(t,Fu,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var e=t.elementType,u=e._init;if(e=u(e._payload),t.type=e,typeof e=="function")bc(e)?(l=Da(e,l),t.tag=1,t=Ud(null,t,e,l,a)):(t.tag=0,t=Fi(null,t,e,l,a));else{if(e!=null){if(u=e.$$typeof,u===Ol){t.tag=11,t=Ad(null,t,e,l,a);break l}else if(u===ja){t.tag=14,t=Md(null,t,e,l,a);break l}}throw t=xa(e)||e,Error(s(306,t,""))}}return t;case 0:return Fi(l,t,t.type,t.pendingProps,a);case 1:return e=t.type,u=Da(e,t.pendingProps),Ud(l,t,e,u,a);case 3:l:{if(Hu(t,t.stateNode.containerInfo),l===null)throw Error(s(387));var n=t.pendingProps;u=t.memoizedState,e=u.element,dc(l,t),uu(t,n,null,a);var i=t.memoizedState;if(n=i.cache,Lt(t,hl,n),n!==u.cache&&fc(t,[hl],a,!0),eu(),n=i.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=_d(l,t,n,a);break l}else if(n!==e){e=Kl(Error(s(424)),t),Le(e),t=_d(l,t,n,a);break l}else for(Al=nt(t.stateNode.containerInfo.firstChild),Ul=t,L=!0,et=null,dt=!0,a=ps(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ve(),n===e){t=Tt(l,t,a);break l}Ml(l,t,n,a)}t=t.child}return t;case 26:return lu(l,t),l===null?(a=xo(t.type,null,t.pendingProps,null))?t.memoizedState=a:L||(a=t.type,l=t.pendingProps,e=Rn(Yt.current).createElement(a),e[Dl]=t,e[Hl]=l,Tl(e,a,l),yl(e),t.stateNode=e):t.memoizedState=xo(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return $n(t),l===null&&L&&(e=t.stateNode=Bo(t.type,t.pendingProps,Yt.current),Ul=t,dt=!0,Al=nt(e.firstChild)),e=t.pendingProps.children,l!==null||L?Ml(l,t,e,a):t.child=Ea(t,null,e,a),lu(l,t),t.child;case 5:return l===null&&L&&((u=e=Al)&&(e=rm(e,t.type,t.pendingProps,dt),e!==null?(t.stateNode=e,Ul=t,Al=nt(e.firstChild),dt=!1,u=!0):u=!1),u||ba(t)),$n(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,e=n.children,Kc(u,n)?e=null:i!==null&&Kc(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=qi(l,t,Nv,null,null,a),bu._currentValue=u),lu(l,t),Ml(l,t,e,a),t.child;case 6:return l===null&&L&&((l=a=Al)&&(a=ym(a,t.pendingProps,dt),a!==null?(t.stateNode=a,Ul=t,Al=null,l=!0):l=!1),l||ba(t)),null;case 13:return Hd(l,t,a);case 4:return Hu(t,t.stateNode.containerInfo),e=t.pendingProps,l===null?t.child=Ea(t,null,e,a):Ml(l,t,e,a),t.child;case 11:return Ad(l,t,t.type,t.pendingProps,a);case 7:return Ml(l,t,t.pendingProps,a),t.child;case 8:return Ml(l,t,t.pendingProps.children,a),t.child;case 12:return Ml(l,t,t.pendingProps.children,a),t.child;case 10:return e=t.pendingProps,Lt(t,t.type,e.value),Ml(l,t,e.children,a),t.child;case 9:return u=t.type._context,e=t.pendingProps.children,Oa(t),u=pl(u),e=e(u),t.flags|=1,Ml(l,t,e,a),t.child;case 14:return Md(l,t,t.type,t.pendingProps,a);case 15:return Td(l,t,t.type,t.pendingProps,a);case 19:return Nd(l,t,a);case 22:return Dd(l,t,a);case 24:return Oa(t),e=pl(hl),l===null?(u=Ri(),u===null&&(u=k,n=_i(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=a),u=n),t.memoizedState={parent:e,cache:u},sc(t),Lt(t,hl,u)):((l.lanes&a)!==0&&(dc(l,t),uu(t,null,null,a),eu()),u=l.memoizedState,n=t.memoizedState,u.parent!==e?(u={parent:e,cache:e},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Lt(t,hl,e)):(e=n.cache,Lt(t,hl,e),e!==u.cache&&fc(t,[hl],a,!0))),Ml(l,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}var ic=ct(null),pa=null,Dt=null;function Lt(l,t,a){ll(ic,t._currentValue),t._currentValue=a}function pt(l){l._currentValue=ic.current,rl(ic)}function cc(l,t,a){for(;l!==null;){var e=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,e!==null&&(e.childLanes|=t)):e!==null&&(e.childLanes&t)!==t&&(e.childLanes|=t),l===a)break;l=l.return}}function fc(l,t,a,e){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=u;for(var f=0;f<t.length;f++)if(c.context===t[f]){n.lanes|=a,c=n.alternate,c!==null&&(c.lanes|=a),cc(n.return,a,l),e||(i=null);break l}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(s(341));i.lanes|=a,n=i.alternate,n!==null&&(n.lanes|=a),cc(i,a,l),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===l){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function tu(l,t,a,e){l=null;for(var u=t,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(s(387));if(i=i.memoizedProps,i!==null){var c=u.type;jl(u.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(u===_u.current){if(i=u.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(bu):l=[bu])}u=u.return}l!==null&&fc(t,l,a,e),t.flags|=262144}function rn(l){for(l=l.firstContext;l!==null;){if(!jl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Oa(l){pa=l,Dt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function pl(l){return Bd(pa,l)}function yn(l,t){return pa===null&&Oa(l),Bd(l,t)}function Bd(l,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Dt===null){if(l===null)throw Error(s(308));Dt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Dt=Dt.next=t;return a}var Kt=!1;function sc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Jt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function wt(l,t,a){var e=l.updateQueue;if(e===null)return null;if(e=e.shared,(al&2)!==0){var u=e.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),e.pending=t,t=$u(l),rs(l,null,a),t}return Wu(l,e,t,a),$u(l)}function au(l,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194176)!==0)){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Mf(l,a)}}function oc(l,t){var a=l.updateQueue,e=l.alternate;if(e!==null&&(e=e.updateQueue,a===e)){var u=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var i={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,a=a.next}while(a!==null);n===null?u=n=t:n=n.next=t}else u=n=t;a={baseState:e.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:e.shared,callbacks:e.callbacks},l.updateQueue=a;return}l=a.lastBaseUpdate,l===null?a.firstBaseUpdate=t:l.next=t,a.lastBaseUpdate=t}var vc=!1;function eu(){if(vc){var l=ne;if(l!==null)throw l}}function uu(l,t,a,e){vc=!1;var u=l.updateQueue;Kt=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,o=f.next;f.next=null,i===null?n=o:i.next=o,i=f;var b=l.alternate;b!==null&&(b=b.updateQueue,c=b.lastBaseUpdate,c!==i&&(c===null?b.firstBaseUpdate=o:c.next=o,b.lastBaseUpdate=f))}if(n!==null){var z=u.baseState;i=0,b=o=f=null,c=n;do{var r=c.lane&-536870913,S=r!==c.lane;if(S?(Z&r)===r:(e&r)===r){r!==0&&r===ue&&(vc=!0),b!==null&&(b=b.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var p=l,q=c;r=t;var il=a;switch(q.tag){case 1:if(p=q.payload,typeof p=="function"){z=p.call(il,z,r);break l}z=p;break l;case 3:p.flags=p.flags&-65537|128;case 0:if(p=q.payload,r=typeof p=="function"?p.call(il,z,r):p,r==null)break l;z=J({},z,r);break l;case 2:Kt=!0}}r=c.callback,r!==null&&(l.flags|=64,S&&(l.flags|=8192),S=u.callbacks,S===null?u.callbacks=[r]:S.push(r))}else S={lane:r,tag:c.tag,payload:c.payload,callback:c.callback,next:null},b===null?(o=b=S,f=z):b=b.next=S,i|=r;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;S=c,c=S.next,S.next=null,u.lastBaseUpdate=S,u.shared.pending=null}}while(!0);b===null&&(f=z),u.baseState=f,u.firstBaseUpdate=o,u.lastBaseUpdate=b,n===null&&(u.shared.lanes=0),It|=i,l.lanes=i,l.memoizedState=z}}function Yd(l,t){if(typeof l!="function")throw Error(s(191,l));l.call(t)}function jd(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;l<a.length;l++)Yd(a[l],t)}function nu(l,t){try{var a=t.updateQueue,e=a!==null?a.lastEffect:null;if(e!==null){var u=e.next;a=u;do{if((a.tag&l)===l){e=void 0;var n=a.create,i=a.inst;e=n(),i.destroy=e}a=a.next}while(a!==u)}}catch(c){$(t,t.return,c)}}function Wt(l,t,a){try{var e=t.updateQueue,u=e!==null?e.lastEffect:null;if(u!==null){var n=u.next;e=n;do{if((e.tag&l)===l){var i=e.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=t;var f=a;try{c()}catch(o){$(u,f,o)}}}e=e.next}while(e!==n)}}catch(o){$(t,t.return,o)}}function xd(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{jd(t,a)}catch(e){$(l,l.return,e)}}}function Gd(l,t,a){a.props=Da(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(e){$(l,t,e)}}function Ua(l,t){try{var a=l.ref;if(a!==null){var e=l.stateNode;switch(l.tag){case 26:case 27:case 5:var u=e;break;default:u=e}typeof a=="function"?l.refCleanup=a(u):a.current=u}}catch(n){$(l,t,n)}}function xl(l,t){var a=l.ref,e=l.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){$(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(u){$(l,t,u)}else a.current=null}function Cd(l){var t=l.type,a=l.memoizedProps,e=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break l;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}catch(u){$(l,l.return,u)}}function Xd(l,t,a){try{var e=l.stateNode;dm(e,l.type,a,t),e[Hl]=t}catch(u){$(l,l.return,u)}}function Qd(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27||l.tag===4}function mc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Qd(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==27&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function hc(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.nodeType===8?a.parentNode.insertBefore(l,t):a.insertBefore(l,t):(a.nodeType===8?(t=a.parentNode,t.insertBefore(l,a)):(t=a,t.appendChild(l)),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Hn));else if(e!==4&&e!==27&&(l=l.child,l!==null))for(hc(l,t,a),l=l.sibling;l!==null;)hc(l,t,a),l=l.sibling}function Sn(l,t,a){var e=l.tag;if(e===5||e===6)l=l.stateNode,t?a.insertBefore(l,t):a.appendChild(l);else if(e!==4&&e!==27&&(l=l.child,l!==null))for(Sn(l,t,a),l=l.sibling;l!==null;)Sn(l,t,a),l=l.sibling}var Ot=!1,ul=!1,rc=!1,Zd=typeof WeakSet=="function"?WeakSet:Set,gl=null,Vd=!1;function Xv(l,t){if(l=l.containerInfo,Vc=xn,l=is(l),Si(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.ownerDocument)&&a.defaultView||window;var e=a.getSelection&&a.getSelection();if(e&&e.rangeCount!==0){a=e.anchorNode;var u=e.anchorOffset,n=e.focusNode;e=e.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break l}var i=0,c=-1,f=-1,o=0,b=0,z=l,r=null;t:for(;;){for(var S;z!==a||u!==0&&z.nodeType!==3||(c=i+u),z!==n||e!==0&&z.nodeType!==3||(f=i+e),z.nodeType===3&&(i+=z.nodeValue.length),(S=z.firstChild)!==null;)r=z,z=S;for(;;){if(z===l)break t;if(r===a&&++o===u&&(c=i),r===n&&++b===e&&(f=i),(S=z.nextSibling)!==null)break;z=r,r=z.parentNode}z=S}a=c===-1||f===-1?null:{start:c,end:f}}else a=null}a=a||{start:0,end:0}}else a=null;for(Lc={focusedElem:l,selectionRange:a},xn=!1,gl=t;gl!==null;)if(t=gl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,gl=l;else for(;gl!==null;){switch(t=gl,n=t.alternate,l=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,a=t,u=n.memoizedProps,n=n.memoizedState,e=a.stateNode;try{var p=Da(a.type,u,a.elementType===a.type);l=e.getSnapshotBeforeUpdate(p,n),e.__reactInternalSnapshotBeforeUpdate=l}catch(q){$(a,a.return,q)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,a=l.nodeType,a===9)Wc(l);else if(a===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Wc(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(s(163))}if(l=t.sibling,l!==null){l.return=t.return,gl=l;break}gl=t.return}return p=Vd,Vd=!1,p}function Ld(l,t,a){var e=a.flags;switch(a.tag){case 0:case 11:case 15:_t(l,a),e&4&&nu(5,a);break;case 1:if(_t(l,a),e&4)if(l=a.stateNode,t===null)try{l.componentDidMount()}catch(c){$(a,a.return,c)}else{var u=Da(a.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){$(a,a.return,c)}}e&64&&xd(a),e&512&&Ua(a,a.return);break;case 3:if(_t(l,a),e&64&&(e=a.updateQueue,e!==null)){if(l=null,a.child!==null)switch(a.child.tag){case 27:case 5:l=a.child.stateNode;break;case 1:l=a.child.stateNode}try{jd(e,l)}catch(c){$(a,a.return,c)}}break;case 26:_t(l,a),e&512&&Ua(a,a.return);break;case 27:case 5:_t(l,a),t===null&&e&4&&Cd(a),e&512&&Ua(a,a.return);break;case 12:_t(l,a);break;case 13:_t(l,a),e&4&&wd(l,a);break;case 22:if(u=a.memoizedState!==null||Ot,!u){t=t!==null&&t.memoizedState!==null||ul;var n=Ot,i=ul;Ot=u,(ul=t)&&!i?$t(l,a,(a.subtreeFlags&8772)!==0):_t(l,a),Ot=n,ul=i}e&512&&(a.memoizedProps.mode==="manual"?Ua(a,a.return):xl(a,a.return));break;default:_t(l,a)}}function Kd(l){var t=l.alternate;t!==null&&(l.alternate=null,Kd(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&ti(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var vl=null,Gl=!1;function Ut(l,t,a){for(a=a.child;a!==null;)Jd(l,t,a),a=a.sibling}function Jd(l,t,a){if(Bl&&typeof Bl.onCommitFiberUnmount=="function")try{Bl.onCommitFiberUnmount(Ue,a)}catch{}switch(a.tag){case 26:ul||xl(a,t),Ut(l,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ul||xl(a,t);var e=vl,u=Gl;for(vl=a.stateNode,Ut(l,t,a),a=a.stateNode,t=a.attributes;t.length;)a.removeAttributeNode(t[0]);ti(a),vl=e,Gl=u;break;case 5:ul||xl(a,t);case 6:u=vl;var n=Gl;if(vl=null,Ut(l,t,a),vl=u,Gl=n,vl!==null)if(Gl)try{l=vl,e=a.stateNode,l.nodeType===8?l.parentNode.removeChild(e):l.removeChild(e)}catch(i){$(a,t,i)}else try{vl.removeChild(a.stateNode)}catch(i){$(a,t,i)}break;case 18:vl!==null&&(Gl?(t=vl,a=a.stateNode,t.nodeType===8?wc(t.parentNode,a):t.nodeType===1&&wc(t,a),Mu(t)):wc(vl,a.stateNode));break;case 4:e=vl,u=Gl,vl=a.stateNode.containerInfo,Gl=!0,Ut(l,t,a),vl=e,Gl=u;break;case 0:case 11:case 14:case 15:ul||Wt(2,a,t),ul||Wt(4,a,t),Ut(l,t,a);break;case 1:ul||(xl(a,t),e=a.stateNode,typeof e.componentWillUnmount=="function"&&Gd(a,t,e)),Ut(l,t,a);break;case 21:Ut(l,t,a);break;case 22:ul||xl(a,t),ul=(e=ul)||a.memoizedState!==null,Ut(l,t,a),ul=e;break;default:Ut(l,t,a)}}function wd(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Mu(l)}catch(a){$(t,t.return,a)}}function Qv(l){switch(l.tag){case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Zd),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Zd),t;default:throw Error(s(435,l.tag))}}function yc(l,t){var a=Qv(l);t.forEach(function(e){var u=lm.bind(null,l,e);a.has(e)||(a.add(e),e.then(u,u))})}function $l(l,t){var a=t.deletions;if(a!==null)for(var e=0;e<a.length;e++){var u=a[e],n=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:case 5:vl=c.stateNode,Gl=!1;break l;case 3:vl=c.stateNode.containerInfo,Gl=!0;break l;case 4:vl=c.stateNode.containerInfo,Gl=!0;break l}c=c.return}if(vl===null)throw Error(s(160));Jd(n,i,u),vl=null,Gl=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Wd(t,l),t=t.sibling}var ut=null;function Wd(l,t){var a=l.alternate,e=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:$l(t,l),kl(l),e&4&&(Wt(3,l,l.return),nu(3,l),Wt(5,l,l.return));break;case 1:$l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),e&64&&Ot&&(l=l.updateQueue,l!==null&&(e=l.callbacks,e!==null&&(a=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=a===null?e:a.concat(e))));break;case 26:var u=ut;if($l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),e&4){var n=a!==null?a.memoizedState:null;if(e=l.memoizedState,a===null)if(e===null)if(l.stateNode===null){l:{e=l.type,a=l.memoizedProps,u=u.ownerDocument||u;t:switch(e){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Re]||n[Dl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(e),u.head.insertBefore(n,u.querySelector("head > title"))),Tl(n,e,a),n[Dl]=l,yl(n),e=n;break l;case"link":var i=Xo("link","href",u).get(e+(a.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(a.href==null?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){i.splice(c,1);break t}}n=u.createElement(e),Tl(n,e,a),u.head.appendChild(n);break;case"meta":if(i=Xo("meta","content",u).get(e+(a.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){i.splice(c,1);break t}}n=u.createElement(e),Tl(n,e,a),u.head.appendChild(n);break;default:throw Error(s(468,e))}n[Dl]=l,yl(n),e=n}l.stateNode=e}else Qo(u,l.type,l.stateNode);else l.stateNode=Co(u,e,l.memoizedProps);else n!==e?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,e===null?Qo(u,l.type,l.stateNode):Co(u,e,l.memoizedProps)):e===null&&l.stateNode!==null&&Xd(l,l.memoizedProps,a.memoizedProps)}break;case 27:if(e&4&&l.alternate===null){u=l.stateNode,n=l.memoizedProps;try{for(var f=u.firstChild;f;){var o=f.nextSibling,b=f.nodeName;f[Re]||b==="HEAD"||b==="BODY"||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&f.rel.toLowerCase()==="stylesheet"||u.removeChild(f),f=o}for(var z=l.type,r=u.attributes;r.length;)u.removeAttributeNode(r[0]);Tl(u,z,n),u[Dl]=l,u[Hl]=n}catch(p){$(l,l.return,p)}}case 5:if($l(t,l),kl(l),e&512&&(ul||a===null||xl(a,a.return)),l.flags&32){u=l.stateNode;try{Ja(u,"")}catch(p){$(l,l.return,p)}}e&4&&l.stateNode!=null&&(u=l.memoizedProps,Xd(l,u,a!==null?a.memoizedProps:u)),e&1024&&(rc=!0);break;case 6:if($l(t,l),kl(l),e&4){if(l.stateNode===null)throw Error(s(162));e=l.memoizedProps,a=l.stateNode;try{a.nodeValue=e}catch(p){$(l,l.return,p)}}break;case 3:if(Bn=null,u=ut,ut=Nn(t.containerInfo),$l(t,l),ut=u,kl(l),e&4&&a!==null&&a.memoizedState.isDehydrated)try{Mu(t.containerInfo)}catch(p){$(l,l.return,p)}rc&&(rc=!1,$d(l));break;case 4:e=ut,ut=Nn(l.stateNode.containerInfo),$l(t,l),kl(l),ut=e;break;case 12:$l(t,l),kl(l);break;case 13:$l(t,l),kl(l),l.child.flags&8192&&l.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Dc=st()),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,yc(l,e)));break;case 22:if(e&512&&(ul||a===null||xl(a,a.return)),f=l.memoizedState!==null,o=a!==null&&a.memoizedState!==null,b=Ot,z=ul,Ot=b||f,ul=z||o,$l(t,l),ul=z,Ot=b,kl(l),t=l.stateNode,t._current=l,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,e&8192&&(t._visibility=f?t._visibility&-2:t._visibility|1,f&&(t=Ot||ul,a===null||o||t||se(l)),l.memoizedProps===null||l.memoizedProps.mode!=="manual"))l:for(a=null,t=l;;){if(t.tag===5||t.tag===26||t.tag===27){if(a===null){o=a=t;try{if(u=o.stateNode,f)n=u.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=o.stateNode,c=o.memoizedProps.style;var S=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(p){$(o,o.return,p)}}}else if(t.tag===6){if(a===null){o=t;try{o.stateNode.nodeValue=f?"":o.memoizedProps}catch(p){$(o,o.return,p)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}e&4&&(e=l.updateQueue,e!==null&&(a=e.retryQueue,a!==null&&(e.retryQueue=null,yc(l,a))));break;case 19:$l(t,l),kl(l),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,yc(l,e)));break;case 21:break;default:$l(t,l),kl(l)}}function kl(l){var t=l.flags;if(t&2){try{if(l.tag!==27){l:{for(var a=l.return;a!==null;){if(Qd(a)){var e=a;break l}a=a.return}throw Error(s(160))}switch(e.tag){case 27:var u=e.stateNode,n=mc(l);Sn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(Ja(i,""),e.flags&=-33);var c=mc(l);Sn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,o=mc(l);hc(l,o,f);break;default:throw Error(s(161))}}}catch(b){$(l,l.return,b)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function $d(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;$d(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function _t(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Ld(l,t.alternate,t),t=t.sibling}function se(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:Wt(4,t,t.return),se(t);break;case 1:xl(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Gd(t,t.return,a),se(t);break;case 26:case 27:case 5:xl(t,t.return),se(t);break;case 22:xl(t,t.return),t.memoizedState===null&&se(t);break;default:se(t)}l=l.sibling}}function $t(l,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var e=t.alternate,u=l,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:$t(u,n,a),nu(4,n);break;case 1:if($t(u,n,a),e=n,u=e.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(o){$(e,e.return,o)}if(e=n,u=e.updateQueue,u!==null){var c=e.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Yd(f[u],c)}catch(o){$(e,e.return,o)}}a&&i&64&&xd(n),Ua(n,n.return);break;case 26:case 27:case 5:$t(u,n,a),a&&e===null&&i&4&&Cd(n),Ua(n,n.return);break;case 12:$t(u,n,a);break;case 13:$t(u,n,a),a&&i&4&&wd(u,n);break;case 22:n.memoizedState===null&&$t(u,n,a),Ua(n,n.return);break;default:$t(u,n,a)}t=t.sibling}}function Sc(l,t){var a=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(l!=null&&l.refCount++,a!=null&&$e(a))}function gc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&$e(l))}function kt(l,t,a,e){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kd(l,t,a,e),t=t.sibling}function kd(l,t,a,e){var u=t.flags;switch(t.tag){case 0:case 11:case 15:kt(l,t,a,e),u&2048&&nu(9,t);break;case 3:kt(l,t,a,e),u&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&$e(l)));break;case 12:if(u&2048){kt(l,t,a,e),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){$(t,t.return,f)}}else kt(l,t,a,e);break;case 23:break;case 22:n=t.stateNode,t.memoizedState!==null?n._visibility&4?kt(l,t,a,e):iu(l,t):n._visibility&4?kt(l,t,a,e):(n._visibility|=4,de(l,t,a,e,(t.subtreeFlags&10256)!==0)),u&2048&&Sc(t.alternate,t);break;case 24:kt(l,t,a,e),u&2048&&gc(t.alternate,t);break;default:kt(l,t,a,e)}}function de(l,t,a,e,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var n=l,i=t,c=a,f=e,o=i.flags;switch(i.tag){case 0:case 11:case 15:de(n,i,c,f,u),nu(8,i);break;case 23:break;case 22:var b=i.stateNode;i.memoizedState!==null?b._visibility&4?de(n,i,c,f,u):iu(n,i):(b._visibility|=4,de(n,i,c,f,u)),u&&o&2048&&Sc(i.alternate,i);break;case 24:de(n,i,c,f,u),u&&o&2048&&gc(i.alternate,i);break;default:de(n,i,c,f,u)}t=t.sibling}}function iu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=l,e=t,u=e.flags;switch(e.tag){case 22:iu(a,e),u&2048&&Sc(e.alternate,e);break;case 24:iu(a,e),u&2048&&gc(e.alternate,e);break;default:iu(a,e)}t=t.sibling}}var cu=8192;function oe(l){if(l.subtreeFlags&cu)for(l=l.child;l!==null;)Fd(l),l=l.sibling}function Fd(l){switch(l.tag){case 26:oe(l),l.flags&cu&&l.memoizedState!==null&&_m(ut,l.memoizedState,l.memoizedProps);break;case 5:oe(l);break;case 3:case 4:var t=ut;ut=Nn(l.stateNode.containerInfo),oe(l),ut=t;break;case 22:l.memoizedState===null&&(t=l.alternate,t!==null&&t.memoizedState!==null?(t=cu,cu=16777216,oe(l),cu=t):oe(l));break;default:oe(l)}}function Id(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function fu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var e=t[a];gl=e,lo(e,l)}Id(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Pd(l),l=l.sibling}function Pd(l){switch(l.tag){case 0:case 11:case 15:fu(l),l.flags&2048&&Wt(9,l,l.return);break;case 3:fu(l);break;case 12:fu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&4&&(l.return===null||l.return.tag!==13)?(t._visibility&=-5,gn(l)):fu(l);break;default:fu(l)}}function gn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var e=t[a];gl=e,lo(e,l)}Id(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Wt(8,t,t.return),gn(t);break;case 22:a=t.stateNode,a._visibility&4&&(a._visibility&=-5,gn(t));break;default:gn(t)}l=l.sibling}}function lo(l,t){for(;gl!==null;){var a=gl;switch(a.tag){case 0:case 11:case 15:Wt(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var e=a.memoizedState.cachePool.pool;e!=null&&e.refCount++}break;case 24:$e(a.memoizedState.cache)}if(e=a.child,e!==null)e.return=a,gl=e;else l:for(a=l;gl!==null;){e=gl;var u=e.sibling,n=e.return;if(Kd(e),e===a){gl=null;break l}if(u!==null){u.return=n,gl=u;break l}gl=n}}}function Zv(l,t,a,e){this.tag=l,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=e,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fl(l,t,a,e){return new Zv(l,t,a,e)}function bc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ft(l,t){var a=l.alternate;return a===null?(a=Fl(l.tag,t,l.key,l.mode),a.elementType=l.elementType,a.type=l.type,a.stateNode=l.stateNode,a.alternate=l,l.alternate=a):(a.pendingProps=t,a.type=l.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=l.flags&31457280,a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,t=l.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=l.sibling,a.index=l.index,a.ref=l.ref,a.refCleanup=l.refCleanup,a}function to(l,t){l.flags&=31457282;var a=l.alternate;return a===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,l.type=a.type,t=a.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function bn(l,t,a,e,u,n){var i=0;if(e=l,typeof l=="function")bc(l)&&(i=1);else if(typeof l=="string")i=Om(l,a,ft.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Y:return _a(a.children,u,n,t);case X:i=8,u|=24;break;case sl:return l=Fl(12,a,t,u|2),l.elementType=sl,l.lanes=n,l;case rt:return l=Fl(13,a,t,u),l.elementType=rt,l.lanes=n,l;case Ya:return l=Fl(19,a,t,u),l.elementType=Ya,l.lanes=n,l;case na:return ao(a,u,n,t);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case El:case zl:i=10;break l;case el:i=9;break l;case Ol:i=11;break l;case ja:i=14;break l;case lt:i=16,e=null;break l}i=29,a=Error(s(130,l===null?"null":typeof l,"")),e=null}return t=Fl(i,a,t,u),t.elementType=l,t.type=e,t.lanes=n,t}function _a(l,t,a,e){return l=Fl(7,l,e,t),l.lanes=a,l}function ao(l,t,a,e){l=Fl(22,l,e,t),l.elementType=na,l.lanes=a;var u={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var n=u._current;if(n===null)throw Error(s(456));if((u._pendingVisibility&2)===0){var i=Ct(n,2);i!==null&&(u._pendingVisibility|=2,_l(i,n,2))}},attach:function(){var n=u._current;if(n===null)throw Error(s(456));if((u._pendingVisibility&2)!==0){var i=Ct(n,2);i!==null&&(u._pendingVisibility&=-3,_l(i,n,2))}}};return l.stateNode=u,l}function Ec(l,t,a){return l=Fl(6,l,null,t),l.lanes=a,l}function zc(l,t,a){return t=Fl(4,l.children!==null?l.children:[],l.key,t),t.lanes=a,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}function Ht(l){l.flags|=4}function eo(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Zo(t)){if(t=Wl.current,t!==null&&((Z&4194176)===Z?ot!==null:(Z&62914560)!==Z&&(Z&536870912)===0||t!==ot))throw Je=pi,Es;l.flags|=8192}}function En(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?zf():536870912,l.lanes|=t,me|=t)}function su(l,t){if(!L)switch(l.tailMode){case"hidden":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?l.tail=null:a.sibling=null;break;case"collapsed":a=l.tail;for(var e=null;a!==null;)a.alternate!==null&&(e=a),a=a.sibling;e===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:e.sibling=null}}function tl(l){var t=l.alternate!==null&&l.alternate.child===l.child,a=0,e=0;if(t)for(var u=l.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags&31457280,e|=u.flags&31457280,u.return=l,u=u.sibling;else for(u=l.child;u!==null;)a|=u.lanes|u.childLanes,e|=u.subtreeFlags,e|=u.flags,u.return=l,u=u.sibling;return l.subtreeFlags|=e,l.childLanes=a,t}function Vv(l,t,a){var e=t.pendingProps;switch(Ti(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tl(t),null;case 1:return tl(t),null;case 3:return a=t.stateNode,e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),pt(hl),Xa(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(l===null||l.child===null)&&(Ze(t)?Ht(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,et!==null&&(_c(et),et=null))),tl(t),null;case 26:return a=t.memoizedState,l===null?(Ht(t),a!==null?(tl(t),eo(t,a)):(tl(t),t.flags&=-16777217)):a?a!==l.memoizedState?(Ht(t),tl(t),eo(t,a)):(tl(t),t.flags&=-16777217):(l.memoizedProps!==e&&Ht(t),tl(t),t.flags&=-16777217),null;case 27:Ru(t),a=Yt.current;var u=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(!e){if(t.stateNode===null)throw Error(s(166));return tl(t),null}l=ft.current,Ze(t)?gs(t):(l=Bo(u,e,a),t.stateNode=l,Ht(t))}return tl(t),null;case 5:if(Ru(t),a=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(!e){if(t.stateNode===null)throw Error(s(166));return tl(t),null}if(l=ft.current,Ze(t))gs(t);else{switch(u=Rn(Yt.current),l){case 1:l=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:l=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":l=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":l=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":l=u.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof e.is=="string"?u.createElement("select",{is:e.is}):u.createElement("select"),e.multiple?l.multiple=!0:e.size&&(l.size=e.size);break;default:l=typeof e.is=="string"?u.createElement(a,{is:e.is}):u.createElement(a)}}l[Dl]=t,l[Hl]=e;l:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)l.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break l;for(;u.sibling===null;){if(u.return===null||u.return===t)break l;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=l;l:switch(Tl(l,a,e),a){case"button":case"input":case"select":case"textarea":l=!!e.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&Ht(t)}}return tl(t),t.flags&=-16777217,null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==e&&Ht(t);else{if(typeof e!="string"&&t.stateNode===null)throw Error(s(166));if(l=Yt.current,Ze(t)){if(l=t.stateNode,a=t.memoizedProps,e=null,u=Ul,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}l[Dl]=t,l=!!(l.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||Uo(l.nodeValue,a)),l||ba(t)}else l=Rn(l).createTextNode(e),l[Dl]=t,t.stateNode=l}return tl(t),null;case 13:if(e=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=Ze(t),e!==null&&e.dehydrated!==null){if(l===null){if(!u)throw Error(s(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(s(317));u[Dl]=t}else Ve(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tl(t),u=!1}else et!==null&&(_c(et),et=null),u=!0;if(!u)return t.flags&256?(At(t),t):(At(t),null)}if(At(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=e!==null,l=l!==null&&l.memoizedState!==null,a){e=t.child,u=null,e.alternate!==null&&e.alternate.memoizedState!==null&&e.alternate.memoizedState.cachePool!==null&&(u=e.alternate.memoizedState.cachePool.pool);var n=null;e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==u&&(e.flags|=2048)}return a!==l&&a&&(t.child.flags|=8192),En(t,t.updateQueue),tl(t),null;case 4:return Xa(),l===null&&Xc(t.stateNode.containerInfo),tl(t),null;case 10:return pt(t.type),tl(t),null;case 19:if(rl(ml),u=t.memoizedState,u===null)return tl(t),null;if(e=(t.flags&128)!==0,n=u.rendering,n===null)if(e)su(u,!1);else{if(nl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=an(l),n!==null){for(t.flags|=128,su(u,!1),l=n.updateQueue,t.updateQueue=l,En(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)to(a,l),a=a.sibling;return ll(ml,ml.current&1|2),t.child}l=l.sibling}u.tail!==null&&st()>zn&&(t.flags|=128,e=!0,su(u,!1),t.lanes=4194304)}else{if(!e)if(l=an(n),l!==null){if(t.flags|=128,e=!0,l=l.updateQueue,t.updateQueue=l,En(t,l),su(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!L)return tl(t),null}else 2*st()-u.renderingStartTime>zn&&a!==536870912&&(t.flags|=128,e=!0,su(u,!1),t.lanes=4194304);u.isBackwards?(n.sibling=t.child,t.child=n):(l=u.last,l!==null?l.sibling=n:t.child=n,u.last=n)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=st(),t.sibling=null,l=ml.current,ll(ml,e?l&1|2:l&1),t):(tl(t),null);case 22:case 23:return At(t),Ui(),e=t.memoizedState!==null,l!==null?l.memoizedState!==null!==e&&(t.flags|=8192):e&&(t.flags|=8192),e?(a&536870912)!==0&&(t.flags&128)===0&&(tl(t),t.subtreeFlags&6&&(t.flags|=8192)):tl(t),a=t.updateQueue,a!==null&&En(t,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(t.flags|=2048),l!==null&&rl(za),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),pt(hl),tl(t),null;case 25:return null}throw Error(s(156,t.tag))}function Lv(l,t){switch(Ti(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return pt(hl),Xa(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Ru(t),null;case 13:if(At(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ve()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return rl(ml),null;case 4:return Xa(),null;case 10:return pt(t.type),null;case 22:case 23:return At(t),Ui(),l!==null&&rl(za),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return pt(hl),null;case 25:return null;default:return null}}function uo(l,t){switch(Ti(t),t.tag){case 3:pt(hl),Xa();break;case 26:case 27:case 5:Ru(t);break;case 4:Xa();break;case 13:At(t);break;case 19:rl(ml);break;case 10:pt(t.type);break;case 22:case 23:At(t),Ui(),l!==null&&rl(za);break;case 24:pt(hl)}}var Kv={getCacheForType:function(l){var t=pl(hl),a=t.data.get(l);return a===void 0&&(a=l(),t.data.set(l,a)),a}},Jv=typeof WeakMap=="function"?WeakMap:Map,al=0,k=null,C=null,Z=0,F=0,Cl=null,Rt=!1,ve=!1,Ac=!1,Nt=0,nl=0,It=0,Ha=0,Mc=0,Il=0,me=0,du=null,mt=null,Tc=!1,Dc=0,zn=1/0,An=null,Pt=null,Mn=!1,Ra=null,ou=0,pc=0,Oc=null,vu=0,Uc=null;function Xl(){if((al&2)!==0&&Z!==0)return Z&-Z;if(R.T!==null){var l=ue;return l!==0?l:jc()}return Df()}function no(){Il===0&&(Il=(Z&536870912)===0||L?Ef():536870912);var l=Wl.current;return l!==null&&(l.flags|=32),Il}function _l(l,t,a){(l===k&&F===2||l.cancelPendingCommit!==null)&&(he(l,0),qt(l,Z,Il,!1)),He(l,a),((al&2)===0||l!==k)&&(l===k&&((al&2)===0&&(Ha|=a),nl===4&&qt(l,Z,Il,!1)),ht(l))}function io(l,t,a){if((al&6)!==0)throw Error(s(327));var e=!a&&(t&60)===0&&(t&l.expiredLanes)===0||_e(l,t),u=e?$v(l,t):Nc(l,t,!0),n=e;do{if(u===0){ve&&!e&&qt(l,t,0,!1);break}else if(u===6)qt(l,t,0,!Rt);else{if(a=l.current.alternate,n&&!wv(a)){u=Nc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;u=du;var f=c.current.memoizedState.isDehydrated;if(f&&(he(c,i).flags|=256),i=Nc(c,i,!1),i!==2){if(Ac&&!f){c.errorRecoveryDisabledLanes|=n,Ha|=n,u=4;break l}n=mt,mt=u,n!==null&&_c(n)}u=i}if(n=!1,u!==2)continue}}if(u===1){he(l,0),qt(l,t,0,!0);break}l:{switch(e=l,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194176)===t){qt(e,t,Il,!Rt);break l}break;case 2:mt=null;break;case 3:case 5:break;default:throw Error(s(329))}if(e.finishedWork=a,e.finishedLanes=t,(t&62914560)===t&&(n=Dc+300-st(),10<n)){if(qt(e,t,Il,!Rt),Yu(e,0)!==0)break l;e.timeoutHandle=Ro(co.bind(null,e,a,mt,An,Tc,t,Il,Ha,me,Rt,2,-0,0),n);break l}co(e,a,mt,An,Tc,t,Il,Ha,me,Rt,0,-0,0)}}break}while(!0);ht(l)}function _c(l){mt===null?mt=l:mt.push.apply(mt,l)}function co(l,t,a,e,u,n,i,c,f,o,b,z,r){var S=t.subtreeFlags;if((S&8192||(S&16785408)===16785408)&&(gu={stylesheets:null,count:0,unsuspend:Um},Fd(t),t=Hm(),t!==null)){l.cancelPendingCommit=t(ro.bind(null,l,a,e,u,i,c,f,1,z,r)),qt(l,n,i,!o);return}ro(l,a,e,u,i,c,f,b,z,r)}function wv(l){for(var t=l;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var e=0;e<a.length;e++){var u=a[e],n=u.getSnapshot;u=u.value;try{if(!jl(n(),u))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function qt(l,t,a,e){t&=~Mc,t&=~Ha,l.suspendedLanes|=t,l.pingedLanes&=~t,e&&(l.warmLanes|=t),e=l.expirationTimes;for(var u=t;0<u;){var n=31-Yl(u),i=1<<n;e[n]=-1,u&=~i}a!==0&&Af(l,a,t)}function Tn(){return(al&6)===0?(mu(0),!1):!0}function Hc(){if(C!==null){if(F===0)var l=C.return;else l=C,Dt=pa=null,ji(l),ae=null,we=0,l=C;for(;l!==null;)uo(l.alternate,l),l=l.return;C=null}}function he(l,t){l.finishedWork=null,l.finishedLanes=0;var a=l.timeoutHandle;a!==-1&&(l.timeoutHandle=-1,vm(a)),a=l.cancelPendingCommit,a!==null&&(l.cancelPendingCommit=null,a()),Hc(),k=l,C=a=Ft(l.current,null),Z=t,F=0,Cl=null,Rt=!1,ve=_e(l,t),Ac=!1,me=Il=Mc=Ha=It=nl=0,mt=du=null,Tc=!1,(t&8)!==0&&(t|=t&32);var e=l.entangledLanes;if(e!==0)for(l=l.entanglements,e&=t;0<e;){var u=31-Yl(e),n=1<<u;t|=l[u],e&=~n}return Nt=t,wu(),a}function fo(l,t){x=null,R.H=vt,t===Ke?(t=Ms(),F=3):t===Es?(t=Ms(),F=4):F=t===zd?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Cl=t,C===null&&(nl=1,hn(l,Kl(t,l.current)))}function so(){var l=R.H;return R.H=vt,l===null?vt:l}function oo(){var l=R.A;return R.A=Kv,l}function Rc(){nl=4,Rt||(Z&4194176)!==Z&&Wl.current!==null||(ve=!0),(It&134217727)===0&&(Ha&134217727)===0||k===null||qt(k,Z,Il,!1)}function Nc(l,t,a){var e=al;al|=2;var u=so(),n=oo();(k!==l||Z!==t)&&(An=null,he(l,t)),t=!1;var i=nl;l:do try{if(F!==0&&C!==null){var c=C,f=Cl;switch(F){case 8:Hc(),i=6;break l;case 3:case 2:case 6:Wl.current===null&&(t=!0);var o=F;if(F=0,Cl=null,re(l,c,f,o),a&&ve){i=0;break l}break;default:o=F,F=0,Cl=null,re(l,c,f,o)}}Wv(),i=nl;break}catch(b){fo(l,b)}while(!0);return t&&l.shellSuspendCounter++,Dt=pa=null,al=e,R.H=u,R.A=n,C===null&&(k=null,Z=0,wu()),i}function Wv(){for(;C!==null;)vo(C)}function $v(l,t){var a=al;al|=2;var e=so(),u=oo();k!==l||Z!==t?(An=null,zn=st()+500,he(l,t)):ve=_e(l,t);l:do try{if(F!==0&&C!==null){t=C;var n=Cl;t:switch(F){case 1:F=0,Cl=null,re(l,t,n,1);break;case 2:if(zs(n)){F=0,Cl=null,mo(t);break}t=function(){F===2&&k===l&&(F=7),ht(l)},n.then(t,t);break l;case 3:F=7;break l;case 4:F=5;break l;case 7:zs(n)?(F=0,Cl=null,mo(t)):(F=0,Cl=null,re(l,t,n,7));break;case 5:var i=null;switch(C.tag){case 26:i=C.memoizedState;case 5:case 27:var c=C;if(!i||Zo(i)){F=0,Cl=null;var f=c.sibling;if(f!==null)C=f;else{var o=c.return;o!==null?(C=o,Dn(o)):C=null}break t}}F=0,Cl=null,re(l,t,n,5);break;case 6:F=0,Cl=null,re(l,t,n,6);break;case 8:Hc(),nl=6;break l;default:throw Error(s(462))}}kv();break}catch(b){fo(l,b)}while(!0);return Dt=pa=null,R.H=e,R.A=u,al=a,C!==null?0:(k=null,Z=0,wu(),nl)}function kv(){for(;C!==null&&!g0();)vo(C)}function vo(l){var t=qd(l.alternate,l,Nt);l.memoizedProps=l.pendingProps,t===null?Dn(l):C=t}function mo(l){var t=l,a=t.alternate;switch(t.tag){case 15:case 0:t=Od(a,t,t.pendingProps,t.type,void 0,Z);break;case 11:t=Od(a,t,t.pendingProps,t.type.render,t.ref,Z);break;case 5:ji(t);default:uo(a,t),t=C=to(t,Nt),t=qd(a,t,Nt)}l.memoizedProps=l.pendingProps,t===null?Dn(l):C=t}function re(l,t,a,e){Dt=pa=null,ji(t),ae=null,we=0;var u=t.return;try{if(Gv(l,u,t,a,Z)){nl=1,hn(l,Kl(a,l.current)),C=null;return}}catch(n){if(u!==null)throw C=u,n;nl=1,hn(l,Kl(a,l.current)),C=null;return}t.flags&32768?(L||e===1?l=!0:ve||(Z&536870912)!==0?l=!1:(Rt=l=!0,(e===2||e===3||e===6)&&(e=Wl.current,e!==null&&e.tag===13&&(e.flags|=16384))),ho(t,l)):Dn(t)}function Dn(l){var t=l;do{if((t.flags&32768)!==0){ho(t,Rt);return}l=t.return;var a=Vv(t.alternate,t,Nt);if(a!==null){C=a;return}if(t=t.sibling,t!==null){C=t;return}C=t=l}while(t!==null);nl===0&&(nl=5)}function ho(l,t){do{var a=Lv(l.alternate,l);if(a!==null){a.flags&=32767,C=a;return}if(a=l.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(l=l.sibling,l!==null)){C=l;return}C=l=a}while(l!==null);nl=6,C=null}function ro(l,t,a,e,u,n,i,c,f,o){var b=R.T,z=V.p;try{V.p=2,R.T=null,Fv(l,t,a,e,z,u,n,i,c,f,o)}finally{R.T=b,V.p=z}}function Fv(l,t,a,e,u,n,i,c){do ye();while(Ra!==null);if((al&6)!==0)throw Error(s(327));var f=l.finishedWork;if(e=l.finishedLanes,f===null)return null;if(l.finishedWork=null,l.finishedLanes=0,f===l.current)throw Error(s(177));l.callbackNode=null,l.callbackPriority=0,l.cancelPendingCommit=null;var o=f.lanes|f.childLanes;if(o|=zi,_0(l,e,o,n,i,c),l===k&&(C=k=null,Z=0),(f.subtreeFlags&10256)===0&&(f.flags&10256)===0||Mn||(Mn=!0,pc=o,Oc=a,tm(Nu,function(){return ye(),null})),a=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||a?(a=R.T,R.T=null,n=V.p,V.p=2,i=al,al|=4,Xv(l,f),Wd(f,l),zv(Lc,l.containerInfo),xn=!!Vc,Lc=Vc=null,l.current=f,Ld(l,f.alternate,f),b0(),al=i,V.p=n,R.T=a):l.current=f,Mn?(Mn=!1,Ra=l,ou=e):yo(l,o),o=l.pendingLanes,o===0&&(Pt=null),T0(f.stateNode),ht(l),t!==null)for(u=l.onRecoverableError,f=0;f<t.length;f++)o=t[f],u(o.value,{componentStack:o.stack});return(ou&3)!==0&&ye(),o=l.pendingLanes,(e&4194218)!==0&&(o&42)!==0?l===Uc?vu++:(vu=0,Uc=l):vu=0,mu(0),null}function yo(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,$e(t)))}function ye(){if(Ra!==null){var l=Ra,t=pc;pc=0;var a=Tf(ou),e=R.T,u=V.p;try{if(V.p=32>a?32:a,R.T=null,Ra===null)var n=!1;else{a=Oc,Oc=null;var i=Ra,c=ou;if(Ra=null,ou=0,(al&6)!==0)throw Error(s(331));var f=al;if(al|=4,Pd(i.current),kd(i,i.current,c,a),al=f,mu(0,!1),Bl&&typeof Bl.onPostCommitFiberRoot=="function")try{Bl.onPostCommitFiberRoot(Ue,i)}catch{}n=!0}return n}finally{V.p=u,R.T=e,yo(l,t)}}return!1}function So(l,t,a){t=Kl(a,t),t=ki(l.stateNode,t,2),l=wt(l,t,2),l!==null&&(He(l,2),ht(l))}function $(l,t,a){if(l.tag===3)So(l,l,a);else for(;t!==null;){if(t.tag===3){So(t,l,a);break}else if(t.tag===1){var e=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof e.componentDidCatch=="function"&&(Pt===null||!Pt.has(e))){l=Kl(a,l),a=bd(2),e=wt(t,a,2),e!==null&&(Ed(a,e,t,l),He(e,2),ht(e));break}}t=t.return}}function qc(l,t,a){var e=l.pingCache;if(e===null){e=l.pingCache=new Jv;var u=new Set;e.set(t,u)}else u=e.get(t),u===void 0&&(u=new Set,e.set(t,u));u.has(a)||(Ac=!0,u.add(a),l=Iv.bind(null,l,t,a),t.then(l,l))}function Iv(l,t,a){var e=l.pingCache;e!==null&&e.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,k===l&&(Z&a)===a&&(nl===4||nl===3&&(Z&62914560)===Z&&300>st()-Dc?(al&2)===0&&he(l,0):Mc|=a,me===Z&&(me=0)),ht(l)}function go(l,t){t===0&&(t=zf()),l=Ct(l,t),l!==null&&(He(l,t),ht(l))}function Pv(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),go(l,a)}function lm(l,t){var a=0;switch(l.tag){case 13:var e=l.stateNode,u=l.memoizedState;u!==null&&(a=u.retryLane);break;case 19:e=l.stateNode;break;case 22:e=l.stateNode._retryCache;break;default:throw Error(s(314))}e!==null&&e.delete(t),go(l,a)}function tm(l,t){return Fn(l,t)}var pn=null,Se=null,Bc=!1,On=!1,Yc=!1,Na=0;function ht(l){l!==Se&&l.next===null&&(Se===null?pn=Se=l:Se=Se.next=l),On=!0,Bc||(Bc=!0,em(am))}function mu(l,t){if(!Yc&&On){Yc=!0;do for(var a=!1,e=pn;e!==null;){if(l!==0){var u=e.pendingLanes;if(u===0)var n=0;else{var i=e.suspendedLanes,c=e.pingedLanes;n=(1<<31-Yl(42|l)+1)-1,n&=u&~(i&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,zo(e,n))}else n=Z,n=Yu(e,e===k?n:0),(n&3)===0||_e(e,n)||(a=!0,zo(e,n));e=e.next}while(a);Yc=!1}}function am(){On=Bc=!1;var l=0;Na!==0&&(om()&&(l=Na),Na=0);for(var t=st(),a=null,e=pn;e!==null;){var u=e.next,n=bo(e,t);n===0?(e.next=null,a===null?pn=u:a.next=u,u===null&&(Se=a)):(a=e,(l!==0||(n&3)!==0)&&(On=!0)),e=u}mu(l)}function bo(l,t){for(var a=l.suspendedLanes,e=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-Yl(n),c=1<<i,f=u[i];f===-1?((c&a)===0||(c&e)!==0)&&(u[i]=U0(c,t)):f<=t&&(l.expiredLanes|=c),n&=~c}if(t=k,a=Z,a=Yu(l,l===t?a:0),e=l.callbackNode,a===0||l===t&&F===2||l.cancelPendingCommit!==null)return e!==null&&e!==null&&In(e),l.callbackNode=null,l.callbackPriority=0;if((a&3)===0||_e(l,a)){if(t=a&-a,t===l.callbackPriority)return t;switch(e!==null&&In(e),Tf(a)){case 2:case 8:a=gf;break;case 32:a=Nu;break;case 268435456:a=bf;break;default:a=Nu}return e=Eo.bind(null,l),a=Fn(a,e),l.callbackPriority=t,l.callbackNode=a,t}return e!==null&&e!==null&&In(e),l.callbackPriority=2,l.callbackNode=null,2}function Eo(l,t){var a=l.callbackNode;if(ye()&&l.callbackNode!==a)return null;var e=Z;return e=Yu(l,l===k?e:0),e===0?null:(io(l,e,t),bo(l,st()),l.callbackNode!=null&&l.callbackNode===a?Eo.bind(null,l):null)}function zo(l,t){if(ye())return null;io(l,t,!0)}function em(l){mm(function(){(al&6)!==0?Fn(Sf,l):l()})}function jc(){return Na===0&&(Na=Ef()),Na}function Ao(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Xu(""+l)}function Mo(l,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,l.id&&a.setAttribute("form",l.id),t.parentNode.insertBefore(a,t),l=new FormData(l),a.parentNode.removeChild(a),l}function um(l,t,a,e,u){if(t==="submit"&&a&&a.stateNode===u){var n=Ao((u[Hl]||null).action),i=e.submitter;i&&(t=(t=i[Hl]||null)?Ao(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var c=new Lu("action","action",null,e,u);l.push({event:c,listeners:[{instance:null,listener:function(){if(e.defaultPrevented){if(Na!==0){var f=i?Mo(u,i):new FormData(u);Ki(a,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Mo(u,i):new FormData(u),Ki(a,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var xc=0;xc<hs.length;xc++){var Gc=hs[xc],nm=Gc.toLowerCase(),im=Gc[0].toUpperCase()+Gc.slice(1);at(nm,"on"+im)}at(ss,"onAnimationEnd"),at(ds,"onAnimationIteration"),at(os,"onAnimationStart"),at("dblclick","onDoubleClick"),at("focusin","onFocus"),at("focusout","onBlur"),at(Mv,"onTransitionRun"),at(Tv,"onTransitionStart"),at(Dv,"onTransitionCancel"),at(vs,"onTransitionEnd"),La("onMouseEnter",["mouseout","mouseover"]),La("onMouseLeave",["mouseout","mouseover"]),La("onPointerEnter",["pointerout","pointerover"]),La("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hu="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(" "),cm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hu));function To(l,t){t=(t&4)!==0;for(var a=0;a<l.length;a++){var e=l[a],u=e.event;e=e.listeners;l:{var n=void 0;if(t)for(var i=e.length-1;0<=i;i--){var c=e[i],f=c.instance,o=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=o;try{n(u)}catch(b){mn(b)}u.currentTarget=null,n=f}else for(i=0;i<e.length;i++){if(c=e[i],f=c.instance,o=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=o;try{n(u)}catch(b){mn(b)}u.currentTarget=null,n=f}}}}function Q(l,t){var a=t[li];a===void 0&&(a=t[li]=new Set);var e=l+"__bubble";a.has(e)||(Do(t,l,2,!1),a.add(e))}function Cc(l,t,a){var e=0;t&&(e|=4),Do(a,l,e,t)}var Un="_reactListening"+Math.random().toString(36).slice(2);function Xc(l){if(!l[Un]){l[Un]=!0,Of.forEach(function(a){a!=="selectionchange"&&(cm.has(a)||Cc(a,!1,l),Cc(a,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Un]||(t[Un]=!0,Cc("selectionchange",!1,t))}}function Do(l,t,a,e){switch(Wo(t)){case 2:var u=qm;break;case 8:u=Bm;break;default:u=Pc}a=u.bind(null,t,a,l),u=void 0,!fi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),e?u!==void 0?l.addEventListener(t,a,{capture:!0,passive:u}):l.addEventListener(t,a,!0):u!==void 0?l.addEventListener(t,a,{passive:u}):l.addEventListener(t,a,!1)}function Qc(l,t,a,e,u){var n=e;if((t&1)===0&&(t&2)===0&&e!==null)l:for(;;){if(e===null)return;var i=e.tag;if(i===3||i===4){var c=e.stateNode.containerInfo;if(c===u||c.nodeType===8&&c.parentNode===u)break;if(i===4)for(i=e.return;i!==null;){var f=i.tag;if((f===3||f===4)&&(f=i.stateNode.containerInfo,f===u||f.nodeType===8&&f.parentNode===u))return;i=i.return}for(;c!==null;){if(i=va(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){e=n=i;continue l}c=c.parentNode}}e=e.return}Cf(function(){var o=n,b=ii(a),z=[];l:{var r=ms.get(l);if(r!==void 0){var S=Lu,p=l;switch(l){case"keypress":if(Zu(a)===0)break l;case"keydown":case"keyup":S=lv;break;case"focusin":p="focus",S=vi;break;case"focusout":p="blur",S=vi;break;case"beforeblur":case"afterblur":S=vi;break;case"click":if(a.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Zf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Z0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=ev;break;case ss:case ds:case os:S=K0;break;case vs:S=nv;break;case"scroll":case"scrollend":S=X0;break;case"wheel":S=cv;break;case"copy":case"cut":case"paste":S=w0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Lf;break;case"toggle":case"beforetoggle":S=sv}var q=(t&4)!==0,il=!q&&(l==="scroll"||l==="scrollend"),v=q?r!==null?r+"Capture":null:r;q=[];for(var d=o,h;d!==null;){var E=d;if(h=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||h===null||v===null||(E=qe(d,v),E!=null&&q.push(ru(d,E,h))),il)break;d=d.return}0<q.length&&(r=new S(r,p,null,a,b),z.push({event:r,listeners:q}))}}if((t&7)===0){l:{if(r=l==="mouseover"||l==="pointerover",S=l==="mouseout"||l==="pointerout",r&&a!==ni&&(p=a.relatedTarget||a.fromElement)&&(va(p)||p[Qa]))break l;if((S||r)&&(r=b.window===b?b:(r=b.ownerDocument)?r.defaultView||r.parentWindow:window,S?(p=a.relatedTarget||a.toElement,S=o,p=p?va(p):null,p!==null&&(il=N(p),q=p.tag,p!==il||q!==5&&q!==27&&q!==6)&&(p=null)):(S=null,p=o),S!==p)){if(q=Zf,E="onMouseLeave",v="onMouseEnter",d="mouse",(l==="pointerout"||l==="pointerover")&&(q=Lf,E="onPointerLeave",v="onPointerEnter",d="pointer"),il=S==null?r:Ne(S),h=p==null?r:Ne(p),r=new q(E,d+"leave",S,a,b),r.target=il,r.relatedTarget=h,E=null,va(b)===o&&(q=new q(v,d+"enter",p,a,b),q.target=h,q.relatedTarget=il,E=q),il=E,S&&p)t:{for(q=S,v=p,d=0,h=q;h;h=ge(h))d++;for(h=0,E=v;E;E=ge(E))h++;for(;0<d-h;)q=ge(q),d--;for(;0<h-d;)v=ge(v),h--;for(;d--;){if(q===v||v!==null&&q===v.alternate)break t;q=ge(q),v=ge(v)}q=null}else q=null;S!==null&&po(z,r,S,q,!1),p!==null&&il!==null&&po(z,il,p,q,!0)}}l:{if(r=o?Ne(o):window,S=r.nodeName&&r.nodeName.toLowerCase(),S==="select"||S==="input"&&r.type==="file")var D=If;else if(kf(r))if(Pf)D=bv;else{D=Sv;var G=yv}else S=r.nodeName,!S||S.toLowerCase()!=="input"||r.type!=="checkbox"&&r.type!=="radio"?o&&ui(o.elementType)&&(D=If):D=gv;if(D&&(D=D(l,o))){Ff(z,D,a,b);break l}G&&G(l,r,o),l==="focusout"&&o&&r.type==="number"&&o.memoizedProps.value!=null&&ei(r,"number",r.value)}switch(G=o?Ne(o):window,l){case"focusin":(kf(G)||G.contentEditable==="true")&&(ka=G,gi=o,Qe=null);break;case"focusout":Qe=gi=ka=null;break;case"mousedown":bi=!0;break;case"contextmenu":case"mouseup":case"dragend":bi=!1,cs(z,a,b);break;case"selectionchange":if(Av)break;case"keydown":case"keyup":cs(z,a,b)}var _;if(hi)l:{switch(l){case"compositionstart":var H="onCompositionStart";break l;case"compositionend":H="onCompositionEnd";break l;case"compositionupdate":H="onCompositionUpdate";break l}H=void 0}else $a?Wf(l,a)&&(H="onCompositionEnd"):l==="keydown"&&a.keyCode===229&&(H="onCompositionStart");H&&(Kf&&a.locale!=="ko"&&($a||H!=="onCompositionStart"?H==="onCompositionEnd"&&$a&&(_=Xf()):(Gt=b,si="value"in Gt?Gt.value:Gt.textContent,$a=!0)),G=_n(o,H),0<G.length&&(H=new Vf(H,l,null,a,b),z.push({event:H,listeners:G}),_?H.data=_:(_=$f(a),_!==null&&(H.data=_)))),(_=ov?vv(l,a):mv(l,a))&&(H=_n(o,"onBeforeInput"),0<H.length&&(G=new Vf("onBeforeInput","beforeinput",null,a,b),z.push({event:G,listeners:H}),G.data=_)),um(z,l,o,a,b)}To(z,t)})}function ru(l,t,a){return{instance:l,listener:t,currentTarget:a}}function _n(l,t){for(var a=t+"Capture",e=[];l!==null;){var u=l,n=u.stateNode;u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=qe(l,a),u!=null&&e.unshift(ru(l,u,n)),u=qe(l,t),u!=null&&e.push(ru(l,u,n))),l=l.return}return e}function ge(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function po(l,t,a,e,u){for(var n=t._reactName,i=[];a!==null&&a!==e;){var c=a,f=c.alternate,o=c.stateNode;if(c=c.tag,f!==null&&f===e)break;c!==5&&c!==26&&c!==27||o===null||(f=o,u?(o=qe(a,n),o!=null&&i.unshift(ru(a,o,f))):u||(o=qe(a,n),o!=null&&i.push(ru(a,o,f)))),a=a.return}i.length!==0&&l.push({event:t,listeners:i})}var fm=/\r\n?/g,sm=/\u0000|\uFFFD/g;function Oo(l){return(typeof l=="string"?l:""+l).replace(fm,`
`).replace(sm,"")}function Uo(l,t){return t=Oo(t),Oo(l)===t}function Hn(){}function W(l,t,a,e,u,n){switch(a){case"children":typeof e=="string"?t==="body"||t==="textarea"&&e===""||Ja(l,e):(typeof e=="number"||typeof e=="bigint")&&t!=="body"&&Ja(l,""+e);break;case"className":xu(l,"class",e);break;case"tabIndex":xu(l,"tabindex",e);break;case"dir":case"role":case"viewBox":case"width":case"height":xu(l,a,e);break;case"style":xf(l,e,n);break;case"data":if(t!=="object"){xu(l,"data",e);break}case"src":case"href":if(e===""&&(t!=="a"||a!=="href")){l.removeAttribute(a);break}if(e==null||typeof e=="function"||typeof e=="symbol"||typeof e=="boolean"){l.removeAttribute(a);break}e=Xu(""+e),l.setAttribute(a,e);break;case"action":case"formAction":if(typeof e=="function"){l.setAttribute(a,"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"&&(a==="formAction"?(t!=="input"&&W(l,t,"name",u.name,u,null),W(l,t,"formEncType",u.formEncType,u,null),W(l,t,"formMethod",u.formMethod,u,null),W(l,t,"formTarget",u.formTarget,u,null)):(W(l,t,"encType",u.encType,u,null),W(l,t,"method",u.method,u,null),W(l,t,"target",u.target,u,null)));if(e==null||typeof e=="symbol"||typeof e=="boolean"){l.removeAttribute(a);break}e=Xu(""+e),l.setAttribute(a,e);break;case"onClick":e!=null&&(l.onclick=Hn);break;case"onScroll":e!=null&&Q("scroll",l);break;case"onScrollEnd":e!=null&&Q("scrollend",l);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(s(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(s(60));l.innerHTML=a}}break;case"multiple":l.multiple=e&&typeof e!="function"&&typeof e!="symbol";break;case"muted":l.muted=e&&typeof e!="function"&&typeof e!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(e==null||typeof e=="function"||typeof e=="boolean"||typeof e=="symbol"){l.removeAttribute("xlink:href");break}a=Xu(""+e),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":e!=null&&typeof e!="function"&&typeof e!="symbol"?l.setAttribute(a,""+e):l.removeAttribute(a);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":e&&typeof e!="function"&&typeof e!="symbol"?l.setAttribute(a,""):l.removeAttribute(a);break;case"capture":case"download":e===!0?l.setAttribute(a,""):e!==!1&&e!=null&&typeof e!="function"&&typeof e!="symbol"?l.setAttribute(a,e):l.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":e!=null&&typeof e!="function"&&typeof e!="symbol"&&!isNaN(e)&&1<=e?l.setAttribute(a,e):l.removeAttribute(a);break;case"rowSpan":case"start":e==null||typeof e=="function"||typeof e=="symbol"||isNaN(e)?l.removeAttribute(a):l.setAttribute(a,e);break;case"popover":Q("beforetoggle",l),Q("toggle",l),ju(l,"popover",e);break;case"xlinkActuate":bt(l,"http://www.w3.org/1999/xlink","xlink:actuate",e);break;case"xlinkArcrole":bt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",e);break;case"xlinkRole":bt(l,"http://www.w3.org/1999/xlink","xlink:role",e);break;case"xlinkShow":bt(l,"http://www.w3.org/1999/xlink","xlink:show",e);break;case"xlinkTitle":bt(l,"http://www.w3.org/1999/xlink","xlink:title",e);break;case"xlinkType":bt(l,"http://www.w3.org/1999/xlink","xlink:type",e);break;case"xmlBase":bt(l,"http://www.w3.org/XML/1998/namespace","xml:base",e);break;case"xmlLang":bt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",e);break;case"xmlSpace":bt(l,"http://www.w3.org/XML/1998/namespace","xml:space",e);break;case"is":ju(l,"is",e);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=G0.get(a)||a,ju(l,a,e))}}function Zc(l,t,a,e,u,n){switch(a){case"style":xf(l,e,n);break;case"dangerouslySetInnerHTML":if(e!=null){if(typeof e!="object"||!("__html"in e))throw Error(s(61));if(a=e.__html,a!=null){if(u.children!=null)throw Error(s(60));l.innerHTML=a}}break;case"children":typeof e=="string"?Ja(l,e):(typeof e=="number"||typeof e=="bigint")&&Ja(l,""+e);break;case"onScroll":e!=null&&Q("scroll",l);break;case"onScrollEnd":e!=null&&Q("scrollend",l);break;case"onClick":e!=null&&(l.onclick=Hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Uf.hasOwnProperty(a))l:{if(a[0]==="o"&&a[1]==="n"&&(u=a.endsWith("Capture"),t=a.slice(2,u?a.length-7:void 0),n=l[Hl]||null,n=n!=null?n[a]:null,typeof n=="function"&&l.removeEventListener(t,n,u),typeof e=="function")){typeof n!="function"&&n!==null&&(a in l?l[a]=null:l.hasAttribute(a)&&l.removeAttribute(a)),l.addEventListener(t,e,u);break l}a in l?l[a]=e:e===!0?l.setAttribute(a,""):ju(l,a,e)}}}function Tl(l,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",l),Q("load",l);var e=!1,u=!1,n;for(n in a)if(a.hasOwnProperty(n)){var i=a[n];if(i!=null)switch(n){case"src":e=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:W(l,t,n,i,a,null)}}u&&W(l,t,"srcSet",a.srcSet,a,null),e&&W(l,t,"src",a.src,a,null);return;case"input":Q("invalid",l);var c=n=i=u=null,f=null,o=null;for(e in a)if(a.hasOwnProperty(e)){var b=a[e];if(b!=null)switch(e){case"name":u=b;break;case"type":i=b;break;case"checked":f=b;break;case"defaultChecked":o=b;break;case"value":n=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(s(137,t));break;default:W(l,t,e,b,a,null)}}qf(l,n,c,f,o,i,u,!1),Gu(l);return;case"select":Q("invalid",l),e=i=n=null;for(u in a)if(a.hasOwnProperty(u)&&(c=a[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":e=c;default:W(l,t,u,c,a,null)}t=n,a=i,l.multiple=!!e,t!=null?Ka(l,!!e,t,!1):a!=null&&Ka(l,!!e,a,!0);return;case"textarea":Q("invalid",l),n=u=e=null;for(i in a)if(a.hasOwnProperty(i)&&(c=a[i],c!=null))switch(i){case"value":e=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:W(l,t,i,c,a,null)}Yf(l,e,u,n),Gu(l);return;case"option":for(f in a)if(a.hasOwnProperty(f)&&(e=a[f],e!=null))switch(f){case"selected":l.selected=e&&typeof e!="function"&&typeof e!="symbol";break;default:W(l,t,f,e,a,null)}return;case"dialog":Q("cancel",l),Q("close",l);break;case"iframe":case"object":Q("load",l);break;case"video":case"audio":for(e=0;e<hu.length;e++)Q(hu[e],l);break;case"image":Q("error",l),Q("load",l);break;case"details":Q("toggle",l);break;case"embed":case"source":case"link":Q("error",l),Q("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in a)if(a.hasOwnProperty(o)&&(e=a[o],e!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:W(l,t,o,e,a,null)}return;default:if(ui(t)){for(b in a)a.hasOwnProperty(b)&&(e=a[b],e!==void 0&&Zc(l,t,b,e,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(e=a[c],e!=null&&W(l,t,c,e,a,null))}function dm(l,t,a,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,i=null,c=null,f=null,o=null,b=null;for(S in a){var z=a[S];if(a.hasOwnProperty(S)&&z!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":f=z;default:e.hasOwnProperty(S)||W(l,t,S,null,e,z)}}for(var r in e){var S=e[r];if(z=a[r],e.hasOwnProperty(r)&&(S!=null||z!=null))switch(r){case"type":n=S;break;case"name":u=S;break;case"checked":o=S;break;case"defaultChecked":b=S;break;case"value":i=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(137,t));break;default:S!==z&&W(l,t,r,S,e,z)}}ai(l,i,c,f,o,b,n,u);return;case"select":S=i=c=r=null;for(n in a)if(f=a[n],a.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":S=f;default:e.hasOwnProperty(n)||W(l,t,n,null,e,f)}for(u in e)if(n=e[u],f=a[u],e.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":r=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&W(l,t,u,n,e,f)}t=c,a=i,e=S,r!=null?Ka(l,!!a,r,!1):!!e!=!!a&&(t!=null?Ka(l,!!a,t,!0):Ka(l,!!a,a?[]:"",!1));return;case"textarea":S=r=null;for(c in a)if(u=a[c],a.hasOwnProperty(c)&&u!=null&&!e.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:W(l,t,c,null,e,u)}for(i in e)if(u=e[i],n=a[i],e.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":r=u;break;case"defaultValue":S=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(s(91));break;default:u!==n&&W(l,t,i,u,e,n)}Bf(l,r,S);return;case"option":for(var p in a)if(r=a[p],a.hasOwnProperty(p)&&r!=null&&!e.hasOwnProperty(p))switch(p){case"selected":l.selected=!1;break;default:W(l,t,p,null,e,r)}for(f in e)if(r=e[f],S=a[f],e.hasOwnProperty(f)&&r!==S&&(r!=null||S!=null))switch(f){case"selected":l.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:W(l,t,f,r,e,S)}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 q in a)r=a[q],a.hasOwnProperty(q)&&r!=null&&!e.hasOwnProperty(q)&&W(l,t,q,null,e,r);for(o in e)if(r=e[o],S=a[o],e.hasOwnProperty(o)&&r!==S&&(r!=null||S!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(r!=null)throw Error(s(137,t));break;default:W(l,t,o,r,e,S)}return;default:if(ui(t)){for(var il in a)r=a[il],a.hasOwnProperty(il)&&r!==void 0&&!e.hasOwnProperty(il)&&Zc(l,t,il,void 0,e,r);for(b in e)r=e[b],S=a[b],!e.hasOwnProperty(b)||r===S||r===void 0&&S===void 0||Zc(l,t,b,r,e,S);return}}for(var v in a)r=a[v],a.hasOwnProperty(v)&&r!=null&&!e.hasOwnProperty(v)&&W(l,t,v,null,e,r);for(z in e)r=e[z],S=a[z],!e.hasOwnProperty(z)||r===S||r==null&&S==null||W(l,t,z,r,e,S)}var Vc=null,Lc=null;function Rn(l){return l.nodeType===9?l:l.ownerDocument}function _o(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ho(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function Kc(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jc=null;function om(){var l=window.event;return l&&l.type==="popstate"?l===Jc?!1:(Jc=l,!0):(Jc=null,!1)}var Ro=typeof setTimeout=="function"?setTimeout:void 0,vm=typeof clearTimeout=="function"?clearTimeout:void 0,No=typeof Promise=="function"?Promise:void 0,mm=typeof queueMicrotask=="function"?queueMicrotask:typeof No<"u"?function(l){return No.resolve(null).then(l).catch(hm)}:Ro;function hm(l){setTimeout(function(){throw l})}function wc(l,t){var a=t,e=0;do{var u=a.nextSibling;if(l.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(e===0){l.removeChild(u),Mu(t);return}e--}else a!=="$"&&a!=="$?"&&a!=="$!"||e++;a=u}while(a);Mu(t)}function Wc(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Wc(a),ti(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}l.removeChild(a)}}function rm(l,t,a,e){for(;l.nodeType===1;){var u=a;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!e&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(e){if(!l[Re])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(n=l.getAttribute("rel"),n==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(n!==u.rel||l.getAttribute("href")!==(u.href==null?null:u.href)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||l.getAttribute("title")!==(u.title==null?null:u.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(u.src==null?null:u.src)||l.getAttribute("type")!==(u.type==null?null:u.type)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=nt(l.nextSibling),l===null)break}return null}function ym(l,t,a){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!a||(l=nt(l.nextSibling),l===null))return null;return l}function nt(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return l}function qo(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var a=l.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return l;t--}else a==="/$"&&t++}l=l.previousSibling}return null}function Bo(l,t,a){switch(t=Rn(a),l){case"html":if(l=t.documentElement,!l)throw Error(s(452));return l;case"head":if(l=t.head,!l)throw Error(s(453));return l;case"body":if(l=t.body,!l)throw Error(s(454));return l;default:throw Error(s(451))}}var Pl=new Map,Yo=new Set;function Nn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.ownerDocument}var Bt=V.d;V.d={f:Sm,r:gm,D:bm,C:Em,L:zm,m:Am,X:Tm,S:Mm,M:Dm};function Sm(){var l=Bt.f(),t=Tn();return l||t}function gm(l){var t=Za(l);t!==null&&t.tag===5&&t.type==="form"?cd(t):Bt.r(l)}var be=typeof document>"u"?null:document;function jo(l,t,a){var e=be;if(e&&typeof t=="string"&&t){var u=Vl(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),Yo.has(u)||(Yo.add(u),l={rel:l,crossOrigin:a,href:t},e.querySelector(u)===null&&(t=e.createElement("link"),Tl(t,"link",l),yl(t),e.head.appendChild(t)))}}function bm(l){Bt.D(l),jo("dns-prefetch",l,null)}function Em(l,t){Bt.C(l,t),jo("preconnect",l,t)}function zm(l,t,a){Bt.L(l,t,a);var e=be;if(e&&l&&t){var u='link[rel="preload"][as="'+Vl(t)+'"]';t==="image"&&a&&a.imageSrcSet?(u+='[imagesrcset="'+Vl(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(u+='[imagesizes="'+Vl(a.imageSizes)+'"]')):u+='[href="'+Vl(l)+'"]';var n=u;switch(t){case"style":n=Ee(l);break;case"script":n=ze(l)}Pl.has(n)||(l=J({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:l,as:t},a),Pl.set(n,l),e.querySelector(u)!==null||t==="style"&&e.querySelector(yu(n))||t==="script"&&e.querySelector(Su(n))||(t=e.createElement("link"),Tl(t,"link",l),yl(t),e.head.appendChild(t)))}}function Am(l,t){Bt.m(l,t);var a=be;if(a&&l){var e=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Vl(e)+'"][href="'+Vl(l)+'"]',n=u;switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=ze(l)}if(!Pl.has(n)&&(l=J({rel:"modulepreload",href:l},t),Pl.set(n,l),a.querySelector(u)===null)){switch(e){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Su(n)))return}e=a.createElement("link"),Tl(e,"link",l),yl(e),a.head.appendChild(e)}}}function Mm(l,t,a){Bt.S(l,t,a);var e=be;if(e&&l){var u=Va(e).hoistableStyles,n=Ee(l);t=t||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=e.querySelector(yu(n)))c.loading=5;else{l=J({rel:"stylesheet",href:l,"data-precedence":t},a),(a=Pl.get(n))&&$c(l,a);var f=i=e.createElement("link");yl(f),Tl(f,"link",l),f._p=new Promise(function(o,b){f.onload=o,f.onerror=b}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,qn(i,t,e)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Tm(l,t){Bt.X(l,t);var a=be;if(a&&l){var e=Va(a).hoistableScripts,u=ze(l),n=e.get(u);n||(n=a.querySelector(Su(u)),n||(l=J({src:l,async:!0},t),(t=Pl.get(u))&&kc(l,t),n=a.createElement("script"),yl(n),Tl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Dm(l,t){Bt.M(l,t);var a=be;if(a&&l){var e=Va(a).hoistableScripts,u=ze(l),n=e.get(u);n||(n=a.querySelector(Su(u)),n||(l=J({src:l,async:!0,type:"module"},t),(t=Pl.get(u))&&kc(l,t),n=a.createElement("script"),yl(n),Tl(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function xo(l,t,a,e){var u=(u=Yt.current)?Nn(u):null;if(!u)throw Error(s(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ee(a.href),a=Va(u).hoistableStyles,e=a.get(t),e||(e={type:"style",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=Ee(a.href);var n=Va(u).hoistableStyles,i=n.get(l);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,i),(n=u.querySelector(yu(l)))&&!n._p&&(i.instance=n,i.state.loading=5),Pl.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Pl.set(l,a),n||pm(u,l,a,i.state))),t&&e===null)throw Error(s(528,""));return i}if(t&&e!==null)throw Error(s(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ze(a),a=Va(u).hoistableScripts,e=a.get(t),e||(e={type:"script",instance:null,count:0,state:null},a.set(t,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,l))}}function Ee(l){return'href="'+Vl(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function Go(l){return J({},l,{"data-precedence":l.precedence,precedence:null})}function pm(l,t,a,e){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?e.loading=1:(t=l.createElement("link"),e.preload=t,t.addEventListener("load",function(){return e.loading|=1}),t.addEventListener("error",function(){return e.loading|=2}),Tl(t,"link",a),yl(t),l.head.appendChild(t))}function ze(l){return'[src="'+Vl(l)+'"]'}function Su(l){return"script[async]"+l}function Co(l,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var e=l.querySelector('style[data-href~="'+Vl(a.href)+'"]');if(e)return t.instance=e,yl(e),e;var u=J({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return e=(l.ownerDocument||l).createElement("style"),yl(e),Tl(e,"style",u),qn(e,a.precedence,l),t.instance=e;case"stylesheet":u=Ee(a.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,yl(n),n;e=Go(a),(u=Pl.get(u))&&$c(e,u),n=(l.ownerDocument||l).createElement("link"),yl(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Tl(n,"link",e),t.state.loading|=4,qn(n,a.precedence,l),t.instance=n;case"script":return n=ze(a.src),(u=l.querySelector(Su(n)))?(t.instance=u,yl(u),u):(e=a,(u=Pl.get(n))&&(e=J({},a),kc(e,u)),l=l.ownerDocument||l,u=l.createElement("script"),yl(u),Tl(u,"link",e),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(e=t.instance,t.state.loading|=4,qn(e,a.precedence,l));return t.instance}function qn(l,t,a){for(var e=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=e.length?e[e.length-1]:null,n=u,i=0;i<e.length;i++){var c=e[i];if(c.dataset.precedence===t)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(l,t.firstChild))}function $c(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function kc(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Bn=null;function Xo(l,t,a){if(Bn===null){var e=new Map,u=Bn=new Map;u.set(a,e)}else u=Bn,e=u.get(a),e||(e=new Map,u.set(a,e));if(e.has(l))return e;for(e.set(l,null),a=a.getElementsByTagName(l),u=0;u<a.length;u++){var n=a[u];if(!(n[Re]||n[Dl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=l+i;var c=e.get(i);c?c.push(n):e.set(i,[n])}}return e}function Qo(l,t,a){l=l.ownerDocument||l,l.head.insertBefore(a,t==="title"?l.querySelector("head > title"):null)}function Om(l,t,a){if(a===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Zo(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var gu=null;function Um(){}function _m(l,t,a){if(gu===null)throw Error(s(475));var e=gu;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=Ee(a.href),n=l.querySelector(yu(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(e.count++,e=Yn.bind(e),l.then(e,e)),t.state.loading|=4,t.instance=n,yl(n);return}n=l.ownerDocument||l,a=Go(a),(u=Pl.get(u))&&$c(a,u),n=n.createElement("link"),yl(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Tl(n,"link",a),t.instance=n}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,l),(l=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Yn.bind(e),l.addEventListener("load",t),l.addEventListener("error",t))}}function Hm(){if(gu===null)throw Error(s(475));var l=gu;return l.stylesheets&&l.count===0&&Fc(l,l.stylesheets),0<l.count?function(t){var a=setTimeout(function(){if(l.stylesheets&&Fc(l,l.stylesheets),l.unsuspend){var e=l.unsuspend;l.unsuspend=null,e()}},6e4);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a)}}:null}function Yn(){if(this.count--,this.count===0){if(this.stylesheets)Fc(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var jn=null;function Fc(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,jn=new Map,t.forEach(Rm,l),jn=null,Yn.call(l))}function Rm(l,t){if(!(t.state.loading&4)){var a=jn.get(l);if(a)var e=a.get(null);else{a=new Map,jn.set(l,a);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(a.set(i.dataset.precedence,i),e=i)}e&&a.set(null,e)}u=t.instance,i=u.getAttribute("data-precedence"),n=a.get(i)||e,n===e&&a.set(null,u),a.set(i,u),this.count++,e=Yn.bind(this),u.addEventListener("load",e),u.addEventListener("error",e),n?n.parentNode.insertBefore(u,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(u,l.firstChild)),t.state.loading|=4}}var bu={$$typeof:zl,Provider:null,Consumer:null,_currentValue:Ql,_currentValue2:Ql,_threadCount:0};function Nm(l,t,a,e,u,n,i,c){this.tag=1,this.containerInfo=l,this.finishedWork=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=Pn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pn(0),this.hiddenUpdates=Pn(null),this.identifierPrefix=e,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function Vo(l,t,a,e,u,n,i,c,f,o,b,z){return l=new Nm(l,t,a,i,c,f,o,z),t=1,n===!0&&(t|=24),n=Fl(3,null,null,t),l.current=n,n.stateNode=l,t=_i(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:e,isDehydrated:a,cache:t},sc(n),l}function Lo(l){return l?(l=Pa,l):Pa}function Ko(l,t,a,e,u,n){u=Lo(u),e.context===null?e.context=u:e.pendingContext=u,e=Jt(t),e.payload={element:a},n=n===void 0?null:n,n!==null&&(e.callback=n),a=wt(l,e,t),a!==null&&(_l(a,l,t),au(a,l,t))}function Jo(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var a=l.retryLane;l.retryLane=a!==0&&a<t?a:t}}function Ic(l,t){Jo(l,t),(l=l.alternate)&&Jo(l,t)}function wo(l){if(l.tag===13){var t=Ct(l,67108864);t!==null&&_l(t,l,67108864),Ic(l,67108864)}}var xn=!0;function qm(l,t,a,e){var u=R.T;R.T=null;var n=V.p;try{V.p=2,Pc(l,t,a,e)}finally{V.p=n,R.T=u}}function Bm(l,t,a,e){var u=R.T;R.T=null;var n=V.p;try{V.p=8,Pc(l,t,a,e)}finally{V.p=n,R.T=u}}function Pc(l,t,a,e){if(xn){var u=lf(e);if(u===null)Qc(l,t,e,Gn,a),$o(l,e);else if(jm(u,l,t,a,e))e.stopPropagation();else if($o(l,e),t&4&&-1<Ym.indexOf(l)){for(;u!==null;){var n=Za(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=oa(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-Yl(i);c.entanglements[1]|=f,i&=~f}ht(n),(al&6)===0&&(zn=st()+500,mu(0))}}break;case 13:c=Ct(n,2),c!==null&&_l(c,n,2),Tn(),Ic(n,2)}if(n=lf(e),n===null&&Qc(l,t,e,Gn,a),n===u)break;u=n}u!==null&&e.stopPropagation()}else Qc(l,t,e,null,a)}}function lf(l){return l=ii(l),tf(l)}var Gn=null;function tf(l){if(Gn=null,l=va(l),l!==null){var t=N(l);if(t===null)l=null;else{var a=t.tag;if(a===13){if(l=P(t),l!==null)return l;l=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Gn=l,null}function Wo(l){switch(l){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(E0()){case Sf:return 2;case gf:return 8;case Nu:case z0:return 32;case bf:return 268435456;default:return 32}default:return 32}}var af=!1,la=null,ta=null,aa=null,Eu=new Map,zu=new Map,ea=[],Ym="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 $o(l,t){switch(l){case"focusin":case"focusout":la=null;break;case"dragenter":case"dragleave":ta=null;break;case"mouseover":case"mouseout":aa=null;break;case"pointerover":case"pointerout":Eu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zu.delete(t.pointerId)}}function Au(l,t,a,e,u,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:a,eventSystemFlags:e,nativeEvent:n,targetContainers:[u]},t!==null&&(t=Za(t),t!==null&&wo(t)),l):(l.eventSystemFlags|=e,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function jm(l,t,a,e,u){switch(t){case"focusin":return la=Au(la,l,t,a,e,u),!0;case"dragenter":return ta=Au(ta,l,t,a,e,u),!0;case"mouseover":return aa=Au(aa,l,t,a,e,u),!0;case"pointerover":var n=u.pointerId;return Eu.set(n,Au(Eu.get(n)||null,l,t,a,e,u)),!0;case"gotpointercapture":return n=u.pointerId,zu.set(n,Au(zu.get(n)||null,l,t,a,e,u)),!0}return!1}function ko(l){var t=va(l.target);if(t!==null){var a=N(t);if(a!==null){if(t=a.tag,t===13){if(t=P(a),t!==null){l.blockedOn=t,H0(l.priority,function(){if(a.tag===13){var e=Xl(),u=Ct(a,e);u!==null&&_l(u,a,e),Ic(a,e)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){l.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Cn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var a=lf(l.nativeEvent);if(a===null){a=l.nativeEvent;var e=new a.constructor(a.type,a);ni=e,a.target.dispatchEvent(e),ni=null}else return t=Za(a),t!==null&&wo(t),l.blockedOn=a,!1;t.shift()}return!0}function Fo(l,t,a){Cn(l)&&a.delete(t)}function xm(){af=!1,la!==null&&Cn(la)&&(la=null),ta!==null&&Cn(ta)&&(ta=null),aa!==null&&Cn(aa)&&(aa=null),Eu.forEach(Fo),zu.forEach(Fo)}function Xn(l,t){l.blockedOn===t&&(l.blockedOn=null,af||(af=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,xm)))}var Qn=null;function Io(l){Qn!==l&&(Qn=l,m.unstable_scheduleCallback(m.unstable_NormalPriority,function(){Qn===l&&(Qn=null);for(var t=0;t<l.length;t+=3){var a=l[t],e=l[t+1],u=l[t+2];if(typeof e!="function"){if(tf(e||a)===null)continue;break}var n=Za(a);n!==null&&(l.splice(t,3),t-=3,Ki(n,{pending:!0,data:u,method:a.method,action:e},e,u))}}))}function Mu(l){function t(f){return Xn(f,l)}la!==null&&Xn(la,l),ta!==null&&Xn(ta,l),aa!==null&&Xn(aa,l),Eu.forEach(t),zu.forEach(t);for(var a=0;a<ea.length;a++){var e=ea[a];e.blockedOn===l&&(e.blockedOn=null)}for(;0<ea.length&&(a=ea[0],a.blockedOn===null);)ko(a),a.blockedOn===null&&ea.shift();if(a=(l.ownerDocument||l).$$reactFormReplay,a!=null)for(e=0;e<a.length;e+=3){var u=a[e],n=a[e+1],i=u[Hl]||null;if(typeof n=="function")i||Io(a);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[Hl]||null)c=i.formAction;else if(tf(u)!==null)continue}else c=i.action;typeof c=="function"?a[e+1]=c:(a.splice(e,3),e-=3),Io(a)}}}function ef(l){this._internalRoot=l}Zn.prototype.render=ef.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,e=Xl();Ko(a,e,l,t,null,null)},Zn.prototype.unmount=ef.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;l.tag===0&&ye(),Ko(l.current,2,null,l,null,null),Tn(),t[Qa]=null}};function Zn(l){this._internalRoot=l}Zn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Df();l={blockedOn:null,target:l,priority:t};for(var a=0;a<ea.length&&t!==0&&t<ea[a].priority;a++);ea.splice(a,0,l),a===0&&ko(l)}};var Po=g.version;if(Po!=="19.0.0")throw Error(s(527,Po,"19.0.0"));V.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(s(188)):(l=Object.keys(l).join(","),Error(s(268,l)));return l=Ga(t),l=l!==null?da(l):null,l=l===null?null:l.stateNode,l};var Gm={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:R,findFiberByHostInstance:va,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vn.isDisabled&&Vn.supportsFiber)try{Ue=Vn.inject(Gm),Bl=Vn}catch{}}return Tu.createRoot=function(l,t){if(!A(l))throw Error(s(299));var a=!1,e="",u=rd,n=yd,i=Sd,c=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(e=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(c=t.unstable_transitionCallbacks)),t=Vo(l,1,!1,null,null,a,e,u,n,i,c,null),l[Qa]=t.current,Xc(l.nodeType===8?l.parentNode:l),new ef(t)},Tu.hydrateRoot=function(l,t,a){if(!A(l))throw Error(s(299));var e=!1,u="",n=rd,i=yd,c=Sd,f=null,o=null;return a!=null&&(a.unstable_strictMode===!0&&(e=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(n=a.onUncaughtError),a.onCaughtError!==void 0&&(i=a.onCaughtError),a.onRecoverableError!==void 0&&(c=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(f=a.unstable_transitionCallbacks),a.formState!==void 0&&(o=a.formState)),t=Vo(l,1,!0,t,a??null,e,u,n,i,c,f,o),t.context=Lo(null),a=t.current,e=Xl(),u=Jt(e),u.callback=null,wt(a,u,e),t.current.lanes=e,He(t,e),ht(t),l[Qa]=t.current,Xc(l),new Zn(t)},Tu.version="19.0.0",Tu}var n0;function oh(){if(n0)return nf.exports;n0=1;function m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m)}catch(g){console.error(g)}}return m(),nf.exports=dh(),nf.exports}var vh=oh();const mh=Vm(vh),d0={crm:!0,env_massa:!0,ia:!0,calendar:!0,flow:!0,funnil_crm:!0,att_atendimento:!0,follow_up:!0,status:!0,api:!0,webhook:!0,links:!0,start_chat:!0,afiliate_link:!0,google_funcs:!0},pu=Te()(m=>({activeView:!0,setActiveView:g=>m(()=>{localStorage.setItem("active-view-menu",String(g));const y=document.querySelector("main");return y&&y.setAttribute("active-view-menu",String(g)),{activeView:g}}),activeHeader:!0,setActiveHeader:g=>m({activeHeader:g}),activeMenu:d0,setActiveMenu:g=>m(y=>{const s={...y.activeMenu,[g]:!y.activeMenu[g]};return Ae("usePluginMenu","pluginMenu",[s]),{activeMenu:s}}),tema:"default",setTema:g=>m(()=>{Ae("ThemeMenu","activeTheme",[g]);const y=document.querySelector("main");return y&&y.setAttribute("theme-active",String(g)),{tema:g}}),chatsIA:!1,setChatsIA:g=>m(()=>(Ae("chatsIA","state",[g]),{chatsIA:g}))}));(async()=>{let m=!0;const g=localStorage.getItem("active-view-menu");g&&g=="false"&&(m=!1);let y=d0;const s=await Du("usePluginMenu","pluginMenu");s&&s[0]&&s[0][0]&&(y=s[0][0]);let A="default";const M=await Du("ThemeMenu","activeTheme");M&&M[0]&&M[0][0]&&(A=M[0][0]);let U=!0;const B=await Du("chatsIA","state");B&&B[0]&&typeof B[0][0]=="boolean"&&(U=B[0][0]),pu.setState({activeView:m,activeMenu:y,tema:A,chatsIA:U})})();const hh=()=>{const{setActiveView:m,setActiveHeader:g}=pu.getState();ql.getState().getSeletor("whatsModal",y=>{new MutationObserver(A=>{for(const M of A)M.type==="childList"&&(M.addedNodes.length>0&&(m(!1),g(!1)),M.removedNodes.length>0&&(m(!0),g(!0)))}).observe(y,{childList:!0})})},o0=I.createContext(void 0);function kh(){const m=I.useContext(o0);if(!m)throw new Error("Place PrivacityContext inside PrivacityProvider");return m}const i0={privacitySettings:!0};function rh({children:m}){const g={photoHidden:{hide:!1},nameHidden:{hide:!1},midiaHidden:{hide:!1},galeryHidden:{hide:!1},lastMessageHidden:{hide:!1},messageHidden:{hide:!1}},[y,s]=I.useState(g);return I.useEffect(()=>{if(i0.privacitySettings&&localStorage.getItem("privacityOptions")){let M=l0.decryptData(localStorage.getItem("privacityOptions"));s(M),i0.privacitySettings=!1}else{let M=l0.encryptData(y);localStorage.setItem("privacityOptions",M)}let A="";Object.entries(y).map(([M,U])=>{U.hide&&(A+=M+" ")}),A.length===0?document.body.removeAttribute("hide"):document.body.setAttribute("hide",A)},[y]),O.jsx(o0.Provider,{value:{privacityOptions:y,setPrivacityOptions:s},children:m})}const yh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b41.js")),[]));function Sh(){return pu(g=>g.activeHeader)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(yh,{})})}async function gh(m,g=1e4,y=void 0){try{return await Promise.race([m,new Promise(s=>setTimeout(()=>s(y),g))])}catch(s){return console.error("Erro em safeAwait:",s),y}}const bh=async m=>{try{const{randomIA:g}=it.getState().config;if(!g)return m;const y=["Refatore a mensagem mantendo a mesma semântica","Entidades imutáveis: preserve nomes, números, datas, prazos, preços, políticas, links e contatos exatamente iguais (não reescreva URLs)","Comprimento: mantenha entre -10% e +10% do tamanho original","Entidades imutáveis: preserve nomes, números, datas, prazos, preços, políticas, links e contatos exatamente iguais","Oferta/CTA: mantenha a mesma oferta; escolha uma CTA apenas da lista fornecida (sem inventar novas)","Variação limitada: sinônimos moderados e pequenas mudanças na ordem das mesmas ideias; conectores e pontuação podem variar","Emojis: Inserir emoji apenas caso necessário e caso tenha pode realizar uma randomização nele desde que mantenha a mesma intenção","Linha: Respeite os espaçamentos de linha, mantendo a estrutura base do texto, como linha quebrada, espaçamentos entre parágrafos, etc.","Gramatica: Valide o texto por completo e corrija gramaticalmente"],s=await hf.IA("text",{agente:"Random",question:m,context:y});return s.success?s.response:m}catch(g){return console.error("Error ao adicionar IA",g),m}},sf=m=>{var g;try{const y=(g=it==null?void 0:it.getState())==null?void 0:g.chats[0];m=m.replaceAll("#primeiroNome",y.name.split(" ")[0]),m=m.replaceAll("#nomes",y.name),m=m.replaceAll("#nome",y.name);for(const s in y)s&&s.length>0&&y.hasOwnProperty(s)&&(m=m.replaceAll(`#${s}`,y[s]));return m}catch(y){return console.error("Erro ao adicionar a #tag do envio em massa",y),m}},Eh=async()=>{const{acao:m}=Ba.getState();return await Promise.all(m.map(async y=>{const s={...y};if(s.type==="txt"||s.type==="image"||s.type==="video"){const A={...s.propriedades};if(A.mensagem){const M=sf(A.mensagem);A.mensagem=await bh(M)}s.propriedades=A}if(s.type==="linkPreview"){const A={...s.propriedades};A.description&&(A.description=sf(A.description)),A.title&&(A.title=sf(A.title)),s.propriedades=A}return s}))},Ln=(m,g)=>{const{statusEnvio:y,setStatusEnvio:s}=it.getState(),{updateRelatorio:A}=Fm.getState(),M={id:y.index,nome:g.name,phone:g.id.includes("@g.us")?g.id.replace("@g.us",""):g.id.includes("@c.us")?g.id.replace("@c.us",""):g.id,status:"Erro",hora:Date.now()};m?(M.status="Enviado",s({index:y.index+1,success:y.success+1,percent:Math.round((y.index+1)*100/y.total)})):(M.status="Erro",s({index:y.index+1,erro:y.erro+1,percent:Math.round((y.index+1)*100/y.total)})),it.setState(U=>({chats:U.chats.slice(1)})),A({id:y.id.toString(),send:[M]})};async function zh(){const{chats:m,setInfo:g}=it.getState(),{assinatura:y}=Ou.getState(),{language:s}=mf.getState(),A=m[0];try{if(A.id==0){A.name="Whatsapp",Ln(!1,A);return}if(g(`${s.envMassaRemetente} ${A.name}`),A.imported&&await gh(hf.Contact("queryExists",t0(A.id)),7e3,"undefined")==="undefined"){Ln(!1,A);return}let M=await km(t0(A.id),await Eh(),y,"useAcaoEnvioEmMassa");Ln(M,A)}catch(M){console.error("Erro ao tentar realizar o envio",M),Ln(!1,A)}}async function vf(){const{statusEnvio:m,config:g,chats:y,setChats:s,setInfo:A,updateIndexDB:M,setStatusEnvio:U,setActiveAgrupamento:B,setTimePause:Y}=it.getState(),{clearAcao:X}=Ba.getState(),{language:sl}=mf.getState();if(m.index%parseInt(g.pausa)==0&&m.index>0?(A(`${sl.envMassaPausa} ${g.tempoPausa} ${sl.segundos}`),await c0(parseInt(g.tempoPausa)*1e3)):(A(`${sl.envMassaIntervalo} ${g.intervalo} ${sl.segundos}`),await c0(parseInt(g.intervalo)*1e3)),await zh(),M(),y[1]===void 0||m.estado==="Finalized"){B({name:"",color:""}),U({estado:"Finalized"}),s([]),U({estado:"Finalized"}),X(),A(sl.envMassaFinalized),M(!0);return}if(!of.getState().user.estado&&m.index>4){U({estado:"Paused",pause:!0}),A(sl.envMassaPaused),Y(!1),df({type:"Info",message:sl.envMassaNotLogin,position:"top-right"});return}switch(m.estado){case"Paused":case"Paused-Process":A(sl.envMassaPaused),Y(!1);break;case"Canceled":M(!0),U({index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1}),A(""),B({name:"",color:""}),X();break;case"Atived":vf();break}}function c0(m){return new Promise(g=>setTimeout(g,m))}const it=Te()((m,g)=>({statusEnvio:{id:0,index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1},setStatusEnvio:y=>m(s=>({statusEnvio:{...s.statusEnvio,...y}})),info:"",setInfo:y=>m({info:y}),chats:[],setChats:y=>m({chats:y}),activeAgrupamento:{name:"",color:""},setActiveAgrupamento:y=>m({activeAgrupamento:y}),send:!1,setSend:y=>m({send:y}),config:{intervalo:"10",pausa:"10",tempoPausa:"60",randomIA:!1},setConfig:(y,s)=>m(A=>({config:{...A.config,[y]:s}})),getVariaveis:()=>{const{chats:y}=g();let s=[];return y.forEach(A=>{Object.keys(A).forEach(M=>{if(!s.includes(M)){if(M==="labels"||M==="imported")return;M==="id"&&(M="numero"),M==="name"&&(M="nome",s.includes("primeiroNome")||s.push("primeiroNome")),s.includes(M)||s.push(M)}})}),s},cancelarEnvio:()=>{const{setStatusEnvio:y,setSend:s,setChats:A,updateIndexDB:M,setActiveAgrupamento:U}=g(),{clearAcao:B}=Ba.getState(),{setActiveMenu:Y}=Ou.getState();U({name:"",color:""}),A([]),y({estado:"Canceled"}),s(!1),Y("Envio Rápido"),B(),M(!0)},timePause:!1,setTimePause:y=>m({timePause:y}),pausePlay:()=>{const{user:y}=of.getState(),{statusEnvio:s,setStatusEnvio:A,timePause:M,setTimePause:U}=g(),{openRendertype:B}=Im.getState();if(!y.estado){B("user_free");return}M||(s.pause?(A({estado:"Atived",pause:!1}),vf()):(A({estado:"Paused",pause:!0}),U(!0)))},initDisparo:()=>{const{updateIndexDB:y,setSend:s,setStatusEnvio:A,chats:M}=g(),{language:U}=mf.getState(),{user:B}=of.getState();B.estado?df({type:"Info",message:`${U.msg_info_janela}`,position:"top-right"}):(df({type:"Info",message:`${U.msg_info_gratuito}`,position:"top-right"}),it.setState({chats:B.estado?M:M.slice(0,5)})),y(),A({id:Date.now(),estado:"Atived",index:0,erro:0,success:0,total:(B.estado?M:M.slice(0,5)).length,percent:0}),s(!0),vf()},updateIndexDB:(y=!1)=>{const{chats:s,config:A,statusEnvio:M}=g(),{acao:U}=Ba.getState();y?Ae("envioEmMassa","useCampanha",{}):Ae("envioEmMassa","useCampanha",{chats:s,config:A,acao:U,statusEnvio:M})}}));(async()=>{var g,y;const m=await Du("envioEmMassa","useCampanha");m[0]&&((y=(g=m[0])==null?void 0:g.chats)==null?void 0:y.length)>0&&(it.setState({chats:m[0].chats,config:m[0].config,statusEnvio:{...m[0].statusEnvio,estado:"Paused",pause:!0},send:!0,info:"Envio das mensagens Pausado"}),Ba.setState({acao:m[0].acao}),Ou.getState().setActiveMenu("Enviar Campanha"))})();const Ou=Te()((m,g)=>({open:!1,setOpen:y=>{const{send:s}=it.getState(),{setActiveMenu:A}=g();A(y&&s?"Enviar Campanha":"Envio Rápido"),m({open:y})},activeMenu:"Envio Rápido",setActiveMenu:y=>m({activeMenu:y}),viewContatos:{isOpen:!1,type:"create",content:[]},setViewContatos:y=>m({viewContatos:y}),setAcaoEnvioEmMassa:y=>{const{acao:s}=Ba.getState(),{getAction:A}=Pm.getState();let M=[];const U=B=>{let Y=[];for(let X of A(B))Y.push({...X,id:Xm()});M.push(...Y)};if(y.type==="script")for(let B of y.script)U(B.id);else U(y.id);Ba.setState({acao:[...s,...M]})},assinatura:{desativar:!1,personalizar:!1,nome:""},setAssinatura:(y,s)=>m(A=>{let M=A.assinatura;return y==="desativar"&&s?M={...A.assinatura,desativar:!0,personalizar:!1}:y==="personalizar"&&s?M={...A.assinatura,personalizar:!0,desativar:!1}:M={...A.assinatura,[y]:s},Ae("envioEmMassa-assinatura","assinatura",[M]),{assinatura:M}})}));(async()=>{const m=await Du("envioEmMassa-assinatura","assinatura");m&&m[0]&&m[0][0]&&Ou.setState({assinatura:m[0][0]})})();const Ah=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b42.js")),[]));function Mh(){const{open:m}=Ou();return m&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Ah,{})})}const Th=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b43.js")),[]));function Dh(){return O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Th,{})})}const v0=document.createElement("section");v0.setAttribute("data-id","ChatName");const m0=document.createElement("section");m0.setAttribute("data-id","MenuVertical");const h0=document.createElement("section");h0.setAttribute("data-id","MenuHorizontal");const r0=document.createElement("section");r0.setAttribute("data-id","ActionMonitor");const Kn=document.createElement("section");Kn.setAttribute("data-id","AssistenteDeChat");const wn=document.createElement("section");wn.setAttribute("data-id","FooterIconsLeft");wn.setAttribute("style","display: contents;");const rf=document.createElement("section");rf.setAttribute("data-id","FooterIconsRight");const Jn=document.createElement("section");Jn.setAttribute("data-id","MenuFooter");const yf=document.createElement("section");yf.setAttribute("data-id","RespostaRapida");const ph=[{father:()=>ql.getState().getSeletor("chatName"),children:v0,type:"insert",renderInblockChat:!0,renderInLid:!1},{father:()=>ql.getState().getSeletor("menuVertical"),children:m0,type:"prepend",renderInblockChat:!0,renderInLid:!1},{father:()=>ql.getState().getSeletor("menuHorizontal"),children:h0,type:"prepend",renderInblockChat:!0,renderInLid:!0},{father:()=>ql.getState().getSeletor("menuFooter"),children:Jn,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("respostaRapida"),children:yf,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("assistenteChat"),children:Kn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("actionMonitor"),children:r0,type:"insertAdjacentElement",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("footerIconsLeft"),children:wn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>ql.getState().getSeletor("respostaRapida"),children:rf,type:"appendChild",renderInblockChat:!1,renderInLid:!0}];f0.subscribe(m=>{const{getSeletor:g}=ql.getState(),{isNewModel:y}=lh.getState();ph.map(({father:U,children:B,type:Y,renderInblockChat:X,renderInLid:sl})=>{var El,el,zl;if(!((!m.activeChat||!m.activeChat.canSend)&&!X)&&!(!sl&&m.activeChat.id.server==="@lid"))switch(Y){case"prepend":(El=U())==null||El.prepend(B);break;case"insert":let Ol=U();Ol&&(Ol.innerHTML="",Ol.prepend(B));break;case"insertAdjacentElement":(el=U())==null||el.insertAdjacentElement("afterend",B);break;case"appendChild":default:(zl=U())==null||zl.appendChild(B);break}});const s=()=>{y||g("mainAudio",U=>{new MutationObserver(Y=>{Y[0].removedNodes.length!==0&&g("menuFooter",X=>{X.appendChild(Jn)})}).observe(U,{childList:!0})})};s(),y?(()=>{g("observerFooterNewModel",U=>{new MutationObserver(Y=>{Y[0].removedNodes.length!==0&&(g("respostaRapida",X=>{X.appendChild(rf)}),g("footerIconsLeft",X=>{X.prepend(wn)}),g("assistenteChat",X=>{X.prepend(Kn)}))}).observe(U,{childList:!0})})})():(()=>{g("observerFooter",U=>{new MutationObserver(Y=>{Y[0].removedNodes.length!==0&&(g("menuFooter",X=>{X.appendChild(Jn)}),g("respostaRapida",X=>{X.appendChild(yf)}),g("assistenteChat",X=>{X.prepend(Kn)}),s())}).observe(U,{childList:!0})})})()});const Oh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b44.js")),[]));function Uh(){return f0(g=>g.activeChat)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Oh,{})})}const y0=document.createElement("section");y0.setAttribute("data-id","MenuLateral");y0.setAttribute("render-mode","window");const _h=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b45.js")),[]));function Hh(){const m=uf(s=>s.menuContent),g=uf(s=>s.isOpen),y=uf(s=>s.isThree);return m.children!=="close"&&!y&&g&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(_h,{})})}const Rh=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_1_31_281d2484-5da9-48a8-8939-2c37d755bb5b46.js")).then(m=>m.i),[]));function Nh(){return pu(g=>g.activeView)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Rh,{})})}const S0=Te(m=>({modalExterno:null,zIndex:900,btnClose:!1,auxFunc:{mounted:null,desmouted:null},open:(g,y=900,s=!1,A={mounted:null,desmouted:null})=>{A.mounted&&A.mounted(),m(()=>({modalExterno:g,zIndex:y,btnClose:s,auxFunc:A}))},close:()=>m(g=>(g.auxFunc.desmouted&&g.auxFunc.desmouted(),{modalExterno:null})),openRendertype:(g,y=900,s=!1,A={mounted:null,desmouted:null})=>{let M;switch(g){case"Active_IA":M=O.jsx(th,{});break}S0.getState().open(M,y,s,A)}}));function qh(){const{modalExterno:m,btnClose:g,close:y,zIndex:s}=S0(),A=I.useRef(null),M=I.useRef(null);return I.useEffect(()=>{const U=B=>{const Y=document.querySelector(".iziToast-wrapper"),X=document.querySelector('section[data-id="Modal Options"]'),sl=document.querySelector('section[data-id="Modal"]');g&&A.current&&!M.current.contains(B.target)&&(!Y||!Y.contains(B.target))&&!X&&!sl&&y()};return m&&document.addEventListener("mousedown",U),()=>{document.removeEventListener("mousedown",U)}},[m]),m&&O.jsx("section",{"data-id":"Modal Externo",children:O.jsx("dialog",{id:"my_modal_5",ref:A,className:"modal modal-bottom sm:modal-middle !absolute bg-[var(--modal-backdrop)] overflow-hidden !opacity-100 !pointer-events-auto !visible",style:{zIndex:s},children:O.jsxs("div",{ref:M,className:"animate__animated animate__zoomIn relative overflow-hidden !max-w-none !max-h-none !w-fit !h-fit p-[2px]",children:[g&&O.jsx("span",{className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",onClick:y,children:O.jsx(s0,{className:"w-full h-full text-[var(--primary-strong)]"})}),O.jsx("div",{className:"w-full h-full",children:m})]})})})}const Bh=Te()(m=>({modal:null,btnClose:!0,auxFunc:{mounted:null,desmouted:null},open:(g,y=!0,s={mounted:null,desmouted:null})=>m(()=>(s.mounted&&s.mounted(),{modal:g,btnClose:y,auxFunc:s})),close:()=>m(g=>(g.auxFunc.desmouted&&g.auxFunc.desmouted(),{modal:null}))}));function Yh(){const{modal:m,btnClose:g,close:y}=Bh(),s=I.useRef(null),A=I.useRef(null);return I.useLayoutEffect(()=>{const M=U=>{const B=document.querySelector(".iziToast-wrapper"),Y=document.querySelector('section[data-id="Modal Options"]'),X=document.querySelector('section[data-id="Modal Emoji"]'),sl=document.querySelector('section[data-id="Modal Externo"]');g&&s.current&&!A.current.contains(U.target)&&(!B||!B.contains(U.target))&&!Y&&!X&&!sl&&y()};return m&&document.addEventListener("mousedown",M),()=>{document.removeEventListener("mousedown",M)}},[m]),m&&O.jsx("section",{"data-id":"ModalLateral",children:O.jsx("div",{ref:s,className:"h-full w-full fixed top-0 shadow-lg overflow-auto box-sizing z-[111]",children:O.jsxs("div",{ref:A,className:"modalLateral animate__animated animate__fadeInLeft border-[var(--conversation-header-border)] border-solid border-r overflow-hidden",children:[g?O.jsx("span",{className:"absolute w-5 h-5 top-3 right-3 pulse !cursor-pointer",onClick:y,children:O.jsx(s0,{className:"w-full h-full text-[var(--primary-strong)]"})}):void 0,O.jsx("div",{className:"w-full h-full",children:m})]})})})}const jh=Te()(m=>({isHover:!1,content:"",options:{},referenceElement:null,style:{},open:(g,y,s,A={})=>m(()=>({isHover:!0,content:g,referenceElement:s,options:y,style:A})),close:()=>m(()=>({isHover:!1,content:"",referenceElement:null,options:{},style:{}}))}));function xh(){const{isHover:m,content:g,referenceElement:y,options:s,style:A}=jh(),M=I.useRef(null),{refs:U,floatingStyles:B,context:Y}=Jm({...s,middleware:[Wm(10),$m({element:M})]});return I.useEffect(()=>{y&&U.setReference(y)},[y,U]),m&&O.jsx("section",{"data-id":"Tooltip",children:O.jsx("div",{ref:U.setFloating,className:"z-[9999999]",style:{...B,...A},children:O.jsxs("div",{className:"rounded shadow-sm bg-label-gradient border border-solid border-[var(--terciaria)] animate__animated animate__pulse",children:[O.jsx(wm,{ref:M,context:Y,className:"fill-[var(--primaria)] w-3 h-3"}),O.jsx("div",{className:"text-[var(--letra)] p-[6px]",children:g})," "]})})})}const qa=document.createElement("main");document.body.prepend(qa);qa.setAttribute("theme-active","default");qa.setAttribute("active-view-menu","true");const Gh=()=>{const{getSeletor:m}=ql();return I.useLayoutEffect(()=>{m("afiliadoMain",g=>{qa.appendChild(g)}),(()=>{const g=document.querySelector("#app > div");if(!g)return;const y=()=>{const A=g.className.trim().split(/\s+/),M=A.indexOf("os-win");if(M!==-1){const U=A.slice(0,M+1).join(" ");g.className!==U&&(g.className=U)}};new MutationObserver(y).observe(g,{attributes:!0,attributeFilter:["class"]}),y()})()},[]),O.jsxs(rh,{children:[O.jsx(Zm,{}),O.jsx(eh,{}),O.jsx(uh,{}),O.jsx(ch,{}),O.jsx(nh,{}),O.jsx(qh,{}),O.jsx(xh,{}),O.jsx(Yh,{}),O.jsx(Nh,{}),O.jsx(Sh,{}),O.jsx(Mh,{}),O.jsx(Dh,{}),O.jsx(Uh,{}),O.jsx(Hh,{})]})};(async()=>{try{const g=await(await fetch(ih.domSelector)).json();ql.setState({domSelector:g})}catch(m){console.error("Error ao tentar Capturar o Dom Selector virtual",m)}finally{const{getElement:m,domSelector:g}=ql.getState();Qm(m("paneSide"),()=>{mh.createRoot(qa).render(O.jsx(Gh,{})),qa.setAttribute("active-assistente-chat",String(ah.getState().assistente.active)),qa.setAttribute("theme-active",String(pu.getState().tema)),hh()}),hf.DomSelector("set",g)}})();const Fh=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{r0 as A,v0 as C,wn as F,m0 as M,yf as R,Ou as a,it as b,h0 as c,Kn as d,Jn as e,rf as f,y0 as g,S0 as h,pu as i,Bh as j,kh as k,Fh as m,jh as u};
