import{S as ze,G as Tu,C as t0,j as O,_ as Ae,P as a0,I as rf,r as Qm,w as Zm,L as Vm}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{g as Lm}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99.js";import{r as Km,a as I}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c994.js";import{a as Jm}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c995.js";import{u as wm,F as Wm,o as km,a as $m}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c999.js";import{x as Hl,y as Fm,z as Im,A as qa,n as Kn,o as Pm,B as lv,C as s0,D as tv,E as cf,F as av,q as ev,G as uv,H as nv,M as iv,J as cv,N as fv}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9923.js";import{c as Me}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.js";import{u as hf}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import{W as Wn,V as mf}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9918.js";import{M as sv}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9947.js";import{X as o0}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c998.js";import{a as ov}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c996.js";var ff={exports:{}},Mu={},sf={exports:{}},of={};/**
 * @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 e0;function dv(){return e0||(e0=1,(function(r){function g(M,j){var R=M.length;M.push(j);l:for(;0<R;){var P=R-1>>>1,cl=M[P];if(0<z(cl,j))M[P]=j,M[R]=cl,R=P;else break l}}function y(M){return M.length===0?null:M[0]}function s(M){if(M.length===0)return null;var j=M[0],R=M.pop();if(R!==j){M[0]=R;l:for(var P=0,cl=M.length,Ca=cl>>>1;P<Ca;){var oa=2*(P+1)-1,gt=M[oa],V=oa+1,Ql=M[V];if(0>z(gt,R))V<cl&&0>z(Ql,gt)?(M[P]=Ql,M[V]=R,P=V):(M[P]=gt,M[oa]=R,P=oa);else if(V<cl&&0>z(Ql,R))M[P]=Ql,M[V]=R,P=V;else break l}}return j}function z(M,j){var R=M.sortIndex-j.sortIndex;return R!==0?R:M.id-j.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;r.unstable_now=function(){return A.now()}}else{var _=Date,q=_.now();r.unstable_now=function(){return _.now()-q}}var B=[],X=[],sl=1,pl=null,el=3,El=!1,Ol=!1,ht=!1,Ba=typeof setTimeout=="function"?setTimeout:null,ja=typeof clearTimeout=="function"?clearTimeout:null,lt=typeof setImmediate<"u"?setImmediate:null;function na(M){for(var j=y(X);j!==null;){if(j.callback===null)s(X);else if(j.startTime<=M)s(X),j.sortIndex=j.expirationTime,g(B,j);else break;j=y(X)}}function Te(M){if(ht=!1,na(M),!Ol)if(y(B)!==null)Ol=!0,fa();else{var j=y(X);j!==null&&sa(Te,j.startTime-M)}}var ia=!1,tt=-1,_u=5,Ya=-1;function x(){return!(r.unstable_now()-Ya<_u)}function J(){if(ia){var M=r.unstable_now();Ya=M;var j=!0;try{l:{Ol=!1,ht&&(ht=!1,ja(tt),tt=-1),El=!0;var R=el;try{t:{for(na(M),pl=y(B);pl!==null&&!(pl.expirationTime>M&&x());){var P=pl.callback;if(typeof P=="function"){pl.callback=null,el=pl.priorityLevel;var cl=P(pl.expirationTime<=M);if(M=r.unstable_now(),typeof cl=="function"){pl.callback=cl,na(M),j=!0;break t}pl===y(B)&&s(B),na(M)}else s(B);pl=y(B)}if(pl!==null)j=!0;else{var Ca=y(X);Ca!==null&&sa(Te,Ca.startTime-M),j=!1}}break l}finally{pl=null,el=R,El=!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 De=new MessageChannel,ca=De.port2;De.port1.onmessage=J,yt=function(){ca.postMessage(null)}}else yt=function(){Ba(J,0)};function fa(){ia||(ia=!0,yt())}function sa(M,j){tt=Ba(function(){M(r.unstable_now())},j)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(M){M.callback=null},r.unstable_continueExecution=function(){Ol||El||(Ol=!0,fa())},r.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_u=0<M?Math.floor(1e3/M):5},r.unstable_getCurrentPriorityLevel=function(){return el},r.unstable_getFirstCallbackNode=function(){return y(B)},r.unstable_next=function(M){switch(el){case 1:case 2:case 3:var j=3;break;default:j=el}var R=el;el=j;try{return M()}finally{el=R}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(M,j){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var R=el;el=M;try{return j()}finally{el=R}},r.unstable_scheduleCallback=function(M,j,R){var P=r.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?P+R:P):R=P,M){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=R+cl,M={id:sl++,callback:j,priorityLevel:M,startTime:R,expirationTime:cl,sortIndex:-1},R>P?(M.sortIndex=R,g(X,M),y(B)===null&&M===y(X)&&(ht?(ja(tt),tt=-1):ht=!0,sa(Te,R-P))):(M.sortIndex=cl,g(B,M),Ol||El||(Ol=!0,fa())),M},r.unstable_shouldYield=x,r.unstable_wrapCallback=function(M){var j=el;return function(){var R=el;el=j;try{return M.apply(this,arguments)}finally{el=R}}}})(of)),of}var u0;function rv(){return u0||(u0=1,sf.exports=dv()),sf.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 n0;function mv(){if(n0)return Mu;n0=1;var r=rv(),g=Km(),y=Jm();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 z(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}var A=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),sl=Symbol.for("react.profiler"),pl=Symbol.for("react.provider"),el=Symbol.for("react.consumer"),El=Symbol.for("react.context"),Ol=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),ja=Symbol.for("react.memo"),lt=Symbol.for("react.lazy"),na=Symbol.for("react.offscreen"),Te=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 _u=Symbol.for("react.client.reference");function Ya(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===_u?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case B:return"Fragment";case q:return"Portal";case sl:return"Profiler";case X:return"StrictMode";case ht:return"Suspense";case Ba:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case El: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:Ya(l.type)||"Memo";case lt:t=l._payload,l=l._init;try{return Ya(l(t))}catch{}}return null}var x=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.assign,yt,De;function ca(l){if(yt===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);yt=t&&t[1]||"",De=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+yt+l+De}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 E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(b){var h=b}Reflect.construct(l,[],E)}else{try{E.call()}catch(b){h=b}l.call(E.prototype)}}else{try{throw Error()}catch(b){h=b}(E=l())&&typeof E.catch=="function"&&E.catch(function(){})}}catch(b){if(b&&h&&typeof b.stack=="string")return[b.stack,h.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(`
`),d=c.split(`
`);for(u=e=0;e<f.length&&!f[e].includes("DetermineComponentFrameRoot");)e++;for(;u<d.length&&!d[u].includes("DetermineComponentFrameRoot");)u++;if(e===f.length||u===d.length)for(e=f.length-1,u=d.length-1;1<=e&&0<=u&&f[e]!==d[u];)u--;for(;1<=e&&0<=u;e--,u--)if(f[e]!==d[u]){if(e!==1||u!==1)do if(e--,u--,0>u||f[e]!==d[u]){var S=`
`+f[e].replace(" at new "," at ");return l.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",l.displayName)),S}while(1<=e&&0<=u);break}}}finally{fa=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?ca(a):""}function M(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+=M(l),l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function R(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(R(l)!==l)throw Error(s(188))}function Ca(l){var t=l.alternate;if(!t){if(t=R(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 oa(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=oa(l),t!==null)return t;l=l.sibling}return null}var gt=Array.isArray,V=y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ql={pending:!1,data:null,method:null,action:null},$n=[],Ga=-1;function ct(l){return{current:l}}function hl(l){0>Ga||(l.current=$n[Ga],$n[Ga]=null,Ga--)}function ll(l,t){Ga++,$n[Ga]=l.current,l.current=t}var ft=ct(null),Oe=ct(null),Bt=ct(null),Uu=ct(null);function Hu(l,t){switch(ll(Bt,t),ll(Oe,l),ll(ft,null),l=t.nodeType,l){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Hd(t):0;break;default:if(l=l===8?t.parentNode:t,t=l.tagName,l=l.namespaceURI)l=Hd(l),t=xd(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}hl(ft),ll(ft,t)}function Xa(){hl(ft),hl(Oe),hl(Bt)}function Fn(l){l.memoizedState!==null&&ll(Uu,l);var t=ft.current,a=xd(t,l.type);t!==a&&(ll(Oe,l),ll(ft,a))}function xu(l){Oe.current===l&&(hl(ft),hl(Oe)),Uu.current===l&&(hl(Uu),Su._currentValue=Ql)}var In=Object.prototype.hasOwnProperty,Pn=r.unstable_scheduleCallback,li=r.unstable_cancelCallback,S0=r.unstable_shouldYield,p0=r.unstable_requestPaint,st=r.unstable_now,E0=r.unstable_getCurrentPriorityLevel,bf=r.unstable_ImmediatePriority,Sf=r.unstable_UserBlockingPriority,Ru=r.unstable_NormalPriority,z0=r.unstable_LowPriority,pf=r.unstable_IdlePriority,A0=r.log,M0=r.unstable_setDisableYieldValue,_e=null,ql=null;function T0(l){if(ql&&typeof ql.onCommitFiberRoot=="function")try{ql.onCommitFiberRoot(_e,l,void 0,(l.current.flags&128)===128)}catch{}}function jt(l){if(typeof A0=="function"&&M0(l),ql&&typeof ql.setStrictMode=="function")try{ql.setStrictMode(_e,l)}catch{}}var Bl=Math.clz32?Math.clz32:_0,D0=Math.log,O0=Math.LN2;function _0(l){return l>>>=0,l===0?32:31-(D0(l)/O0|0)|0}var Nu=128,qu=4194304;function da(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 Bu(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=da(a):(n&=c,n!==0?e=da(n):l||(i=c&~i,i!==0&&(e=da(i))))):(c=a&~u,c!==0?e=da(c):n!==0?e=da(n):l||(i=a&~i,i!==0&&(e=da(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 Ue(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=Nu;return Nu<<=1,(Nu&4194176)===0&&(Nu=128),l}function zf(){var l=qu;return qu<<=1,(qu&62914560)===0&&(qu=4194304),l}function ti(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 H0(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,d=l.hiddenUpdates;for(a=i&~a;0<a;){var S=31-Bl(a),E=1<<S;c[S]=0,f[S]=-1;var h=d[S];if(h!==null)for(d[S]=null,S=0;S<h.length;S++){var b=h[S];b!==null&&(b.lane&=-536870913)}a&=~E}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-Bl(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-Bl(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:kd(l.type))}function x0(l,t){var a=V.p;try{return V.p=l,t()}finally{V.p=a}}var Yt=Math.random().toString(36).slice(2),Tl="__reactFiber$"+Yt,xl="__reactProps$"+Yt,Qa="__reactContainer$"+Yt,ai="__reactEvents$"+Yt,R0="__reactListeners$"+Yt,N0="__reactHandles$"+Yt,Of="__reactResources$"+Yt,xe="__reactMarker$"+Yt;function ei(l){delete l[Tl],delete l[xl],delete l[ai],delete l[R0],delete l[N0]}function ra(l){var t=l[Tl];if(t)return t;for(var a=l.parentNode;a;){if(t=a[Qa]||a[Tl]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(l=qd(l);l!==null;){if(a=l[Tl])return a;l=qd(l)}return t}l=a,a=l.parentNode}return null}function Za(l){if(l=l[Tl]||l[Qa]){var t=l.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return l}return null}function Re(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[Of];return t||(t=l[Of]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function yl(l){l[xe]=!0}var _f=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++)_f.add(t[l])}var bt=!(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]*$"),Hf={},xf={};function B0(l){return In.call(xf,l)?!0:In.call(Hf,l)?!1:q0.test(l)?xf[l]=!0:(Hf[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 Yu(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 St(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 j0(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 Cu(l){l._valueTracker||(l._valueTracker=j0(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 Gu(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 Y0=/[\n"\\]/g;function Vl(l){return l.replace(Y0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ui(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?ni(l,i,Zl(t)):a!=null?ni(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 ni(l,t,a){t==="number"&&Gu(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 jf(l,t,a,e){if(t==null){if(e!=null){if(a!=null)throw Error(s(92));if(gt(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 C0=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 Yf(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||C0.has(t)?t==="float"?l.cssFloat=a:l[t]=(""+a).trim():l[t]=a+"px"}function Cf(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&&Yf(l,u,e)}else for(var n in t)t.hasOwnProperty(n)&&Yf(l,n,t[n])}function ii(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"]]),X0=/^[\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 X0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var ci=null;function fi(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[xl]||null;l:switch(l=t.stateNode,t.type){case"input":if(ui(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[xl]||null;if(!u)throw Error(s(90));ui(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 si=!1;function Xf(l,t,a){if(si)return l(t,a);si=!0;try{var e=l(t);return e}finally{if(si=!1,(wa!==null||Wa!==null)&&(Mn(),wa&&(t=wa,l=Wa,Wa=wa=null,Gf(t),l)))for(t=0;t<l.length;t++)Gf(l[t])}}function Ne(l,t){var a=l.stateNode;if(a===null)return null;var e=a[xl]||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 oi=!1;if(bt)try{var qe={};Object.defineProperty(qe,"passive",{get:function(){oi=!0}}),window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,qe)}catch{oi=!1}var Ct=null,di=null,Qu=null;function Qf(){if(Qu)return Qu;var l,t=di,a=t.length,e,u="value"in Ct?Ct.value:Ct.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 Zf(){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:Zf,this.isPropagationStopped=Zf,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 va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lu=Rl(va),Be=J({},va,{view:0,detail:0}),Q0=Rl(Be),ri,mi,je,Ku=J({},Be,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hi,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"?(ri=l.screenX-je.screenX,mi=l.screenY-je.screenY):mi=ri=0,je=l),ri)},movementY:function(l){return"movementY"in l?l.movementY:mi}}),Vf=Rl(Ku),Z0=J({},Ku,{dataTransfer:0}),V0=Rl(Z0),L0=J({},Be,{relatedTarget:0}),vi=Rl(L0),K0=J({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),J0=Rl(K0),w0=J({},va,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),W0=Rl(w0),k0=J({},va,{data:0}),Lf=Rl(k0),$0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},F0={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"},I0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function P0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=I0[l])?!!t[l]:!1}function hi(){return P0}var lr=J({},Be,{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"?F0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hi,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}}),tr=Rl(lr),ar=J({},Ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kf=Rl(ar),er=J({},Be,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hi}),ur=Rl(er),nr=J({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),ir=Rl(nr),cr=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}),fr=Rl(cr),sr=J({},va,{newState:0,oldState:0}),or=Rl(sr),dr=[9,13,27,32],yi=bt&&"CompositionEvent"in window,Ye=null;bt&&"documentMode"in document&&(Ye=document.documentMode);var rr=bt&&"TextEvent"in window&&!Ye,Jf=bt&&(!yi||Ye&&8<Ye&&11>=Ye),wf=" ",Wf=!1;function kf(l,t){switch(l){case"keyup":return dr.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 ka=!1;function mr(l,t){switch(l){case"compositionend":return $f(t);case"keypress":return t.which!==32?null:(Wf=!0,wf);case"textInput":return l=t.data,l===wf&&Wf?null:l;default:return null}}function vr(l,t){if(ka)return l==="compositionend"||!yi&&kf(l,t)?(l=Qf(),Qu=di=Ct=null,ka=!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 Jf&&t.locale!=="ko"?null:t.data;default:return null}}var hr={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 Ff(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!hr[l.type]:t==="textarea"}function If(l,t,a,e){wa?Wa?Wa.push(e):Wa=[e]:wa=e,t=Un(t,"onChange"),0<t.length&&(a=new Lu("onChange","change",null,a,e),l.push({event:a,listeners:t}))}var Ce=null,Ge=null;function yr(l){Td(l,0)}function Ju(l){var t=Re(l);if(Nf(t))return l}function Pf(l,t){if(l==="change")return t}var ls=!1;if(bt){var gi;if(bt){var bi="oninput"in document;if(!bi){var ts=document.createElement("div");ts.setAttribute("oninput","return;"),bi=typeof ts.oninput=="function"}gi=bi}else gi=!1;ls=gi&&(!document.documentMode||9<document.documentMode)}function as(){Ce&&(Ce.detachEvent("onpropertychange",es),Ge=Ce=null)}function es(l){if(l.propertyName==="value"&&Ju(Ge)){var t=[];If(t,Ge,l,fi(l)),Xf(yr,t)}}function gr(l,t,a){l==="focusin"?(as(),Ce=t,Ge=a,Ce.attachEvent("onpropertychange",es)):l==="focusout"&&as()}function br(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ju(Ge)}function Sr(l,t){if(l==="click")return Ju(t)}function pr(l,t){if(l==="input"||l==="change")return Ju(t)}function Er(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var jl=typeof Object.is=="function"?Object.is:Er;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(!In.call(t,u)||!jl(l[u],t[u]))return!1}return!0}function us(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function ns(l,t){var a=us(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=us(a)}}function is(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?is(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function cs(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Gu(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=Gu(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 zr(l,t){var a=cs(t);t=l.focusedElem;var e=l.selectionRange;if(a!==t&&t&&t.ownerDocument&&is(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=ns(t,n);var i=ns(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 Ar=bt&&"documentMode"in document&&11>=document.documentMode,$a=null,pi=null,Qe=null,Ei=!1;function fs(l,t,a){var e=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ei||$a==null||$a!==Gu(e)||(e=$a,"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=Un(pi,"onSelect"),0<e.length&&(t=new Lu("onSelect","select",null,t,a),l.push({event:t,listeners:e}),t.target=$a)))}function ha(l,t){var a={};return a[l.toLowerCase()]=t.toLowerCase(),a["Webkit"+l]="webkit"+t,a["Moz"+l]="moz"+t,a}var Fa={animationend:ha("Animation","AnimationEnd"),animationiteration:ha("Animation","AnimationIteration"),animationstart:ha("Animation","AnimationStart"),transitionrun:ha("Transition","TransitionRun"),transitionstart:ha("Transition","TransitionStart"),transitioncancel:ha("Transition","TransitionCancel"),transitionend:ha("Transition","TransitionEnd")},zi={},ss={};bt&&(ss=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(zi[l])return zi[l];if(!Fa[l])return l;var t=Fa[l],a;for(a in t)if(t.hasOwnProperty(a)&&a in ss)return zi[l]=t[a];return l}var os=ya("animationend"),ds=ya("animationiteration"),rs=ya("animationstart"),Mr=ya("transitionrun"),Tr=ya("transitionstart"),Dr=ya("transitioncancel"),ms=ya("transitionend"),vs=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){vs.set(l,t),ma(t,[l])}var Ll=[],Ia=0,Ai=0;function wu(){for(var l=Ia,t=Ai=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&&ys(a,u,n)}}function Wu(l,t,a,e){Ll[Ia++]=l,Ll[Ia++]=t,Ll[Ia++]=a,Ll[Ia++]=e,Ai|=e,l.lanes|=e,l=l.alternate,l!==null&&(l.lanes|=e)}function Mi(l,t,a,e){return Wu(l,t,a,e),ku(l)}function Gt(l,t){return Wu(l,null,null,t),ku(l)}function ys(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-Bl(a),n=n.hiddenUpdates,l=n[u],l===null?n[u]=[t]:l.push(t),t.lane=a|536870912)}function ku(l){if(50<ru)throw ru=0,Hc=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={},gs=new WeakMap;function Kl(l,t){if(typeof l=="object"&&l!==null){var a=gs.get(l);return a!==void 0?a:(t={value:l,source:t,stack:j(t)},gs.set(l,t),t)}return{value:l,source:t,stack:j(t)}}var le=[],te=0,$u=null,Fu=0,Jl=[],wl=0,ga=null,pt=1,Et="";function ba(l,t){le[te++]=Fu,le[te++]=$u,$u=l,Fu=t}function bs(l,t,a){Jl[wl++]=pt,Jl[wl++]=Et,Jl[wl++]=ga,ga=l;var e=pt;l=Et;var u=32-Bl(e)-1;e&=~(1<<u),a+=1;var n=32-Bl(t)+u;if(30<n){var i=u-u%5;n=(e&(1<<i)-1).toString(32),e>>=i,u-=i,pt=1<<32-Bl(t)+u|a<<u|e,Et=n+l}else pt=1<<n|a<<u|e,Et=l}function Ti(l){l.return!==null&&(ba(l,1),bs(l,1,0))}function Di(l){for(;l===$u;)$u=le[--te],le[te]=null,Fu=le[--te],le[te]=null;for(;l===ga;)ga=Jl[--wl],Jl[wl]=null,Et=Jl[--wl],Jl[wl]=null,pt=Jl[--wl],Jl[wl]=null}var _l=null,zl=null,L=!1,et=null,ot=!1,Oi=Error(s(519));function Sa(l){var t=Error(s(418,""));throw Le(Kl(t,l)),Oi}function Ss(l){var t=l.stateNode,a=l.type,e=l.memoizedProps;switch(t[Tl]=l,t[xl]=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<vu.length;a++)Q(vu[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),Cu(t);break;case"select":Q("invalid",t);break;case"textarea":Q("invalid",t),jf(t,e.value,e.defaultValue,e.children),Cu(t)}a=e.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||e.suppressHydrationWarning===!0||Ud(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||Sa(l)}function ps(l){for(_l=l.return;_l;)switch(_l.tag){case 3:case 27:ot=!0;return;case 5:case 13:ot=!1;return;default:_l=_l.return}}function Ze(l){if(l!==_l)return!1;if(!L)return ps(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")||wc(l.type,l.memoizedProps)),a=!a),a&&(t=!0),t&&zl&&Sa(l),ps(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){zl=nt(l.nextSibling);break l}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;l=l.nextSibling}zl=null}}else zl=_l?nt(l.stateNode.nextSibling):null;return!0}function Ve(){zl=_l=null,L=!1}function Le(l){et===null?et=[l]:et.push(l)}var Ke=Error(s(460)),Es=Error(s(474)),_i={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=$,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===A?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(m,o){if(l){var v=m.deletions;v===null?(m.deletions=[o],m.flags|=16):v.push(o)}}function a(m,o){if(!l)return null;for(;o!==null;)t(m,o),o=o.sibling;return null}function e(m){for(var o=new Map;m!==null;)m.key!==null?o.set(m.key,m):o.set(m.index,m),m=m.sibling;return o}function u(m,o){return m=Ft(m,o),m.index=0,m.sibling=null,m}function n(m,o,v){return m.index=v,l?(v=m.alternate,v!==null?(v=v.index,v<o?(m.flags|=33554434,o):v):(m.flags|=33554434,o)):(m.flags|=1048576,o)}function i(m){return l&&m.alternate===null&&(m.flags|=33554434),m}function c(m,o,v,p){return o===null||o.tag!==6?(o=zc(v,m.mode,p),o.return=m,o):(o=u(o,v),o.return=m,o)}function f(m,o,v,p){var T=v.type;return T===B?S(m,o,v.props.children,p,v.key):o!==null&&(o.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===lt&&Ts(T)===o.type)?(o=u(o,v.props),We(o,v),o.return=m,o):(o=Sn(v.type,v.key,v.props,null,m.mode,p),We(o,v),o.return=m,o)}function d(m,o,v,p){return o===null||o.tag!==4||o.stateNode.containerInfo!==v.containerInfo||o.stateNode.implementation!==v.implementation?(o=Ac(v,m.mode,p),o.return=m,o):(o=u(o,v.children||[]),o.return=m,o)}function S(m,o,v,p,T){return o===null||o.tag!==7?(o=Ua(v,m.mode,p,T),o.return=m,o):(o=u(o,v),o.return=m,o)}function E(m,o,v){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=zc(""+o,m.mode,v),o.return=m,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case _:return v=Sn(o.type,o.key,o.props,null,m.mode,v),We(v,o),v.return=m,v;case q:return o=Ac(o,m.mode,v),o.return=m,o;case lt:var p=o._init;return o=p(o._payload),E(m,o,v)}if(gt(o)||tt(o))return o=Ua(o,m.mode,v,null),o.return=m,o;if(typeof o.then=="function")return E(m,Pu(o),v);if(o.$$typeof===El)return E(m,yn(m,o),v);ln(m,o)}return null}function h(m,o,v,p){var T=o!==null?o.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return T!==null?null:c(m,o,""+v,p);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case _:return v.key===T?f(m,o,v,p):null;case q:return v.key===T?d(m,o,v,p):null;case lt:return T=v._init,v=T(v._payload),h(m,o,v,p)}if(gt(v)||tt(v))return T!==null?null:S(m,o,v,p,null);if(typeof v.then=="function")return h(m,o,Pu(v),p);if(v.$$typeof===El)return h(m,o,yn(m,v),p);ln(m,v)}return null}function b(m,o,v,p,T){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return m=m.get(v)||null,c(o,m,""+p,T);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case _:return m=m.get(p.key===null?v:p.key)||null,f(o,m,p,T);case q:return m=m.get(p.key===null?v:p.key)||null,d(o,m,p,T);case lt:var C=p._init;return p=C(p._payload),b(m,o,v,p,T)}if(gt(p)||tt(p))return m=m.get(v)||null,S(o,m,p,T,null);if(typeof p.then=="function")return b(m,o,v,Pu(p),T);if(p.$$typeof===El)return b(m,o,v,yn(o,p),T);ln(o,p)}return null}function D(m,o,v,p){for(var T=null,C=null,U=o,H=o=0,Sl=null;U!==null&&H<v.length;H++){U.index>H?(Sl=U,U=null):Sl=U.sibling;var K=h(m,U,v[H],p);if(K===null){U===null&&(U=Sl);break}l&&U&&K.alternate===null&&t(m,U),o=n(K,o,H),C===null?T=K:C.sibling=K,C=K,U=Sl}if(H===v.length)return a(m,U),L&&ba(m,H),T;if(U===null){for(;H<v.length;H++)U=E(m,v[H],p),U!==null&&(o=n(U,o,H),C===null?T=U:C.sibling=U,C=U);return L&&ba(m,H),T}for(U=e(U);H<v.length;H++)Sl=b(U,m,H,v[H],p),Sl!==null&&(l&&Sl.alternate!==null&&U.delete(Sl.key===null?H:Sl.key),o=n(Sl,o,H),C===null?T=Sl:C.sibling=Sl,C=Sl);return l&&U.forEach(function(ua){return t(m,ua)}),L&&ba(m,H),T}function N(m,o,v,p){if(v==null)throw Error(s(151));for(var T=null,C=null,U=o,H=o=0,Sl=null,K=v.next();U!==null&&!K.done;H++,K=v.next()){U.index>H?(Sl=U,U=null):Sl=U.sibling;var ua=h(m,U,K.value,p);if(ua===null){U===null&&(U=Sl);break}l&&U&&ua.alternate===null&&t(m,U),o=n(ua,o,H),C===null?T=ua:C.sibling=ua,C=ua,U=Sl}if(K.done)return a(m,U),L&&ba(m,H),T;if(U===null){for(;!K.done;H++,K=v.next())K=E(m,K.value,p),K!==null&&(o=n(K,o,H),C===null?T=K:C.sibling=K,C=K);return L&&ba(m,H),T}for(U=e(U);!K.done;H++,K=v.next())K=b(U,m,H,K.value,p),K!==null&&(l&&K.alternate!==null&&U.delete(K.key===null?H:K.key),o=n(K,o,H),C===null?T=K:C.sibling=K,C=K);return l&&U.forEach(function(Xm){return t(m,Xm)}),L&&ba(m,H),T}function il(m,o,v,p){if(typeof v=="object"&&v!==null&&v.type===B&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case _:l:{for(var T=v.key;o!==null;){if(o.key===T){if(T=v.type,T===B){if(o.tag===7){a(m,o.sibling),p=u(o,v.props.children),p.return=m,m=p;break l}}else if(o.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===lt&&Ts(T)===o.type){a(m,o.sibling),p=u(o,v.props),We(p,v),p.return=m,m=p;break l}a(m,o);break}else t(m,o);o=o.sibling}v.type===B?(p=Ua(v.props.children,m.mode,p,v.key),p.return=m,m=p):(p=Sn(v.type,v.key,v.props,null,m.mode,p),We(p,v),p.return=m,m=p)}return i(m);case q:l:{for(T=v.key;o!==null;){if(o.key===T)if(o.tag===4&&o.stateNode.containerInfo===v.containerInfo&&o.stateNode.implementation===v.implementation){a(m,o.sibling),p=u(o,v.children||[]),p.return=m,m=p;break l}else{a(m,o);break}else t(m,o);o=o.sibling}p=Ac(v,m.mode,p),p.return=m,m=p}return i(m);case lt:return T=v._init,v=T(v._payload),il(m,o,v,p)}if(gt(v))return D(m,o,v,p);if(tt(v)){if(T=tt(v),typeof T!="function")throw Error(s(150));return v=T.call(v),N(m,o,v,p)}if(typeof v.then=="function")return il(m,o,Pu(v),p);if(v.$$typeof===El)return il(m,o,yn(m,v),p);ln(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,o!==null&&o.tag===6?(a(m,o.sibling),p=u(o,v),p.return=m,m=p):(a(m,o),p=zc(v,m.mode,p),p.return=m,m=p),i(m)):a(m,o)}return function(m,o,v,p){try{we=0;var T=il(m,o,v,p);return ae=null,T}catch(U){if(U===Ke)throw U;var C=Fl(29,U,null,m.mode);return C.lanes=p,C.return=m,C}finally{}}}var pa=Ds(!0),Os=Ds(!1),ee=ct(null),tn=ct(0);function _s(l,t){l=Rt,ll(tn,l),ll(ee,t),Rt=l|t.baseLanes}function Ui(){ll(tn,Rt),ll(ee,ee.current)}function Hi(){Rt=tn.current,hl(ee),hl(tn)}var Wl=ct(null),dt=null;function Xt(l){var t=l.alternate;ll(ml,ml.current&1),ll(Wl,l),dt===null&&(t===null||ee.current!==null||t.memoizedState!==null)&&(dt=l)}function Us(l){if(l.tag===22){if(ll(ml,ml.current),ll(Wl,l),dt===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(dt=l)}}else Qt()}function Qt(){ll(ml,ml.current),ll(Wl,Wl.current)}function zt(l){hl(Wl),dt===l&&(dt=null),hl(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 Or=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()})}},_r=r.unstable_scheduleCallback,Ur=r.unstable_NormalPriority,vl={$$typeof:El,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xi(){return{controller:new Or,data:new Map,refCount:0}}function ke(l){l.refCount--,l.refCount===0&&_r(Ur,function(){l.controller.abort()})}var $e=null,Ri=0,ue=0,ne=null;function Hr(l,t){if($e===null){var a=$e=[];Ri=0,ue=Cc(),ne={status:"pending",value:void 0,then:function(e){a.push(e)}}}return Ri++,t.then(Hs,Hs),t}function Hs(){if(--Ri===0&&$e!==null){ne!==null&&(ne.status="fulfilled");var l=$e;$e=null,ue=0,ne=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function xr(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 xs=x.S;x.S=function(l,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Hr(l,t),xs!==null&&xs(l,t)};var Ea=ct(null);function Ni(){var l=Ea.current;return l!==null?l:$.pooledCache}function en(l,t){t===null?ll(Ea,Ea.current):ll(Ea,t.pool)}function Rs(){var l=Ni();return l===null?null:{parent:vl._currentValue,pool:l}}var Zt=0,Y=null,w=null,ol=null,un=!1,ie=!1,za=!1,nn=0,Fe=0,ce=null,Rr=0;function fl(){throw Error(s(321))}function qi(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 Bi(l,t,a,e,u,n){return Zt=n,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,x.H=l===null||l.memoizedState===null?Aa:Vt,za=!1,n=a(e,u),za=!1,ie&&(n=qs(t,a,e,u)),Ns(l),n}function Ns(l){x.H=rt;var t=w!==null&&w.next!==null;if(Zt=0,ol=w=Y=null,un=!1,Fe=0,ce=null,t)throw Error(s(300));l===null||gl||(l=l.dependencies,l!==null&&hn(l)&&(gl=!0))}function qs(l,t,a,e){Y=l;var u=0;do{if(ie&&(ce=null),Fe=0,ie=!1,25<=u)throw Error(s(301));if(u+=1,ol=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)}x.H=Ma,n=t(a,e)}while(ie);return n}function Nr(){var l=x.H,t=l.useState()[0];return t=typeof t.then=="function"?Ie(t):t,l=l.useState()[0],(w!==null?w.memoizedState:null)!==l&&(Y.flags|=1024),t}function ji(){var l=nn!==0;return nn=0,l}function Yi(l,t,a){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~a}function Ci(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,ol=w=Y=null,ie=!1,Fe=nn=0,ce=null}function Nl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ol===null?Y.memoizedState=ol=l:ol=ol.next=l,ol}function dl(){if(w===null){var l=Y.alternate;l=l!==null?l.memoizedState:null}else l=w.next;var t=ol===null?Y.memoizedState:ol.next;if(t!==null)ol=t,w=l;else{if(l===null)throw Y.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},ol===null?Y.memoizedState=ol=l:ol=ol.next=l}return ol}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=Y,(ol===null?t.memoizedState:ol.next)===null&&(t=t.alternate,x.H=t===null||t.memoizedState===null?Aa:Vt),l}function fn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Ie(l);if(l.$$typeof===El)return Dl(l)}throw Error(s(438,String(l)))}function Gi(l){var t=null,a=Y.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var e=Y.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(),Y.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]=Te;return t.index++,a}function At(l,t){return typeof t=="function"?t(l):t}function sn(l){var t=dl();return Xi(t,w,l)}function Xi(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,d=t,S=!1;do{var E=d.lane&-536870913;if(E!==d.lane?(Z&E)===E:(Zt&E)===E){var h=d.revertLane;if(h===0)f!==null&&(f=f.next={lane:0,revertLane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),E===ue&&(S=!0);else if((Zt&h)===h){d=d.next,h===ue&&(S=!0);continue}else E={lane:0,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},f===null?(c=f=E,i=n):f=f.next=E,Y.lanes|=h,It|=h;E=d.action,za&&a(n,E),n=d.hasEagerState?d.eagerState:a(n,E)}else h={lane:E,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},f===null?(c=f=h,i=n):f=f.next=h,Y.lanes|=E,It|=E;d=d.next}while(d!==null&&d!==t);if(f===null?i=n:f.next=c,!jl(n,l.memoizedState)&&(gl=!0,S&&(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 Qi(l){var t=dl(),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)||(gl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,e]}function Bs(l,t,a){var e=Y,u=dl(),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,gl=!0),u=u.queue,Li(Cs.bind(null,e,u,l),[l]),u.getSnapshot!==t||i||ol!==null&&ol.memoizedState.tag&1){if(e.flags|=2048,fe(9,Ys.bind(null,e,u,a,t),{destroy:void 0},null),$===null)throw Error(s(349));n||(Zt&60)!==0||js(e,t,a)}return a}function js(l,t,a){l.flags|=16384,l={getSnapshot:t,value:a},t=Y.updateQueue,t===null?(t=cn(),Y.updateQueue=t,t.stores=[l]):(a=t.stores,a===null?t.stores=[l]:a.push(l))}function Ys(l,t,a,e){t.value=a,t.getSnapshot=e,Gs(t)&&Xs(l)}function Cs(l,t,a){return a(function(){Gs(t)&&Xs(l)})}function Gs(l){var t=l.getSnapshot;l=l.value;try{var a=t();return!jl(l,a)}catch{return!0}}function Xs(l){var t=Gt(l,2);t!==null&&Ul(t,l,2)}function Zi(l){var t=Nl();if(typeof l=="function"){var a=l;if(l=a(),za){jt(!0);try{a()}finally{jt(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:l},t}function Qs(l,t,a,e){return l.baseState=a,Xi(l,w,typeof e=="function"?e:At)}function qr(l,t,a,e,u){if(rn(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)}};x.T!==null?a(!0):n.isTransition=!1,e(n),a=t.pending,a===null?(n.next=t.pending=n,Zs(t,n)):(n.next=a.next,t.pending=a.next=n)}}function Zs(l,t){var a=t.action,e=t.payload,u=l.state;if(t.isTransition){var n=x.T,i={};x.T=i;try{var c=a(u,e),f=x.S;f!==null&&f(i,c),Vs(l,t,c)}catch(d){Vi(l,t,d)}finally{x.T=n}}else try{n=a(u,e),Vs(l,t,n)}catch(d){Vi(l,t,d)}}function Vs(l,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(e){Ls(l,t,e)},function(e){return Vi(l,t,e)}):Ls(l,t,a)}function Ls(l,t,a){t.status="fulfilled",t.value=a,Ks(t),l.state=a,t=l.pending,t!==null&&(a=t.next,a===t?l.pending=null:(a=a.next,t.next=a,Zs(l,a)))}function Vi(l,t,a){var e=l.pending;if(l.pending=null,e!==null){e=e.next;do t.status="rejected",t.reason=a,Ks(t),t=t.next;while(t!==e)}l.action=null}function Ks(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Js(l,t){return t}function ws(l,t){if(L){var a=$.formState;if(a!==null){l:{var e=Y;if(L){if(zl){t:{for(var u=zl,n=ot;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){zl=nt(u.nextSibling),e=u.data==="F!";break l}}Sa(e)}e=!1}e&&(t=a[0])}}return a=Nl(),a.memoizedState=a.baseState=t,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Js,lastRenderedState:t},a.queue=e,a=ro.bind(null,Y,e),e.dispatch=a,e=Zi(!1),n=ki.bind(null,Y,!1,e.queue),e=Nl(),u={state:t,dispatch:null,action:l,pending:null},e.queue=u,a=qr.bind(null,Y,u,n,a),u.dispatch=a,e.memoizedState=l,[t,a,!1]}function Ws(l){var t=dl();return ks(t,w,l)}function ks(l,t,a){t=Xi(l,t,Js)[0],l=sn(At)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Ie(t):t;var e=dl(),u=e.queue,n=u.dispatch;return a!==e.memoizedState&&(Y.flags|=2048,fe(9,Br.bind(null,u,a),{destroy:void 0},null)),[t,n,l]}function Br(l,t){l.action=t}function $s(l){var t=dl(),a=w;if(a!==null)return ks(t,a,l);dl(),t=t.memoizedState,a=dl();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=Y.updateQueue,t===null&&(t=cn(),Y.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 Fs(){return dl().memoizedState}function on(l,t,a,e){var u=Nl();Y.flags|=l,u.memoizedState=fe(1|t,a,{destroy:void 0},e===void 0?null:e)}function dn(l,t,a,e){var u=dl();e=e===void 0?null:e;var n=u.memoizedState.inst;w!==null&&e!==null&&qi(e,w.memoizedState.deps)?u.memoizedState=fe(t,a,n,e):(Y.flags|=l,u.memoizedState=fe(1|t,a,n,e))}function Is(l,t){on(8390656,8,l,t)}function Li(l,t){dn(2048,8,l,t)}function Ps(l,t){return dn(4,2,l,t)}function lo(l,t){return dn(4,4,l,t)}function to(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 ao(l,t,a){a=a!=null?a.concat([l]):null,dn(4,4,to.bind(null,t,l),a)}function Ki(){}function eo(l,t){var a=dl();t=t===void 0?null:t;var e=a.memoizedState;return t!==null&&qi(t,e[1])?e[0]:(a.memoizedState=[l,t],l)}function uo(l,t){var a=dl();t=t===void 0?null:t;var e=a.memoizedState;if(t!==null&&qi(t,e[1]))return e[0];if(e=l(),za){jt(!0);try{l()}finally{jt(!1)}}return a.memoizedState=[e,t],e}function Ji(l,t,a){return a===void 0||(Zt&1073741824)!==0?l.memoizedState=t:(l.memoizedState=a,l=cd(),Y.lanes|=l,It|=l,a)}function no(l,t,a,e){return jl(a,t)?a:ee.current!==null?(l=Ji(l,a,e),jl(l,t)||(gl=!0),l):(Zt&42)===0?(gl=!0,l.memoizedState=a):(l=cd(),Y.lanes|=l,It|=l,t)}function io(l,t,a,e,u){var n=V.p;V.p=n!==0&&8>n?n:8;var i=x.T,c={};x.T=c,ki(l,!1,t,a);try{var f=u(),d=x.S;if(d!==null&&d(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var S=xr(f,e);Pe(l,t,S,Xl(l))}else Pe(l,t,e,Xl(l))}catch(E){Pe(l,t,{then:function(){},status:"rejected",reason:E},Xl())}finally{V.p=n,x.T=i}}function jr(){}function wi(l,t,a,e){if(l.tag!==5)throw Error(s(476));var u=co(l).queue;io(l,u,t,Ql,a===null?jr:function(){return fo(l),a(e)})}function co(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:At,lastRenderedState:Ql},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function fo(l){var t=co(l).next.queue;Pe(l,t,{},Xl())}function Wi(){return Dl(Su)}function so(){return dl().memoizedState}function oo(){return dl().memoizedState}function Yr(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&&(Ul(e,t,a),au(e,t,a)),t={cache:xi()},l.payload=t;return}t=t.return}}function Cr(l,t,a){var e=Xl();a={lane:e,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},rn(l)?mo(t,a):(a=Mi(l,t,a,e),a!==null&&(Ul(a,l,e),vo(a,t,e)))}function ro(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(rn(l))mo(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),$===null&&wu(),!1}catch{}finally{}if(a=Mi(l,t,u,e),a!==null)return Ul(a,l,e),vo(a,t,e),!0}return!1}function ki(l,t,a,e){if(e={lane:2,revertLane:Cc(),action:e,hasEagerState:!1,eagerState:null,next:null},rn(l)){if(t)throw Error(s(479))}else t=Mi(l,a,e,2),t!==null&&Ul(t,l,2)}function rn(l){var t=l.alternate;return l===Y||t!==null&&t===Y}function mo(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 vo(l,t,a){if((a&4194176)!==0){var e=t.lanes;e&=l.pendingLanes,a|=e,t.lanes=a,Mf(l,a)}}var rt={readContext:Dl,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};rt.useCacheRefresh=fl,rt.useMemoCache=fl,rt.useHostTransitionStatus=fl,rt.useFormState=fl,rt.useActionState=fl,rt.useOptimistic=fl;var Aa={readContext:Dl,use:fn,useCallback:function(l,t){return Nl().memoizedState=[l,t===void 0?null:t],l},useContext:Dl,useEffect:Is,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,on(4194308,4,to.bind(null,t,l),a)},useLayoutEffect:function(l,t){return on(4194308,4,l,t)},useInsertionEffect:function(l,t){on(4,2,l,t)},useMemo:function(l,t){var a=Nl();t=t===void 0?null:t;var e=l();if(za){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(za){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=Cr.bind(null,Y,l),[e.memoizedState,l]},useRef:function(l){var t=Nl();return l={current:l},t.memoizedState=l},useState:function(l){l=Zi(l);var t=l.queue,a=ro.bind(null,Y,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:Ki,useDeferredValue:function(l,t){var a=Nl();return Ji(a,l,t)},useTransition:function(){var l=Zi(!1);return l=io.bind(null,Y,l.queue,!0,!1),Nl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var e=Y,u=Nl();if(L){if(a===void 0)throw Error(s(407));a=a()}else{if(a=t(),$===null)throw Error(s(349));(Z&60)!==0||js(e,t,a)}u.memoizedState=a;var n={value:a,getSnapshot:t};return u.queue=n,Is(Cs.bind(null,e,n,l),[l]),e.flags|=2048,fe(9,Ys.bind(null,e,n,a,t),{destroy:void 0},null),a},useId:function(){var l=Nl(),t=$.identifierPrefix;if(L){var a=Et,e=pt;a=(e&~(1<<32-Bl(e)-1)).toString(32)+a,t=":"+t+"R"+a,a=nn++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=Rr++,t=":"+t+"r"+a.toString(32)+":";return l.memoizedState=t},useCacheRefresh:function(){return Nl().memoizedState=Yr.bind(null,Y)}};Aa.useMemoCache=Gi,Aa.useHostTransitionStatus=Wi,Aa.useFormState=ws,Aa.useActionState=ws,Aa.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=ki.bind(null,Y,!0,a),a.dispatch=t,[l,t]};var Vt={readContext:Dl,use:fn,useCallback:eo,useContext:Dl,useEffect:Li,useImperativeHandle:ao,useInsertionEffect:Ps,useLayoutEffect:lo,useMemo:uo,useReducer:sn,useRef:Fs,useState:function(){return sn(At)},useDebugValue:Ki,useDeferredValue:function(l,t){var a=dl();return no(a,w.memoizedState,l,t)},useTransition:function(){var l=sn(At)[0],t=dl().memoizedState;return[typeof l=="boolean"?l:Ie(l),t]},useSyncExternalStore:Bs,useId:so};Vt.useCacheRefresh=oo,Vt.useMemoCache=Gi,Vt.useHostTransitionStatus=Wi,Vt.useFormState=Ws,Vt.useActionState=Ws,Vt.useOptimistic=function(l,t){var a=dl();return Qs(a,w,l,t)};var Ma={readContext:Dl,use:fn,useCallback:eo,useContext:Dl,useEffect:Li,useImperativeHandle:ao,useInsertionEffect:Ps,useLayoutEffect:lo,useMemo:uo,useReducer:Qi,useRef:Fs,useState:function(){return Qi(At)},useDebugValue:Ki,useDeferredValue:function(l,t){var a=dl();return w===null?Ji(a,l,t):no(a,w.memoizedState,l,t)},useTransition:function(){var l=Qi(At)[0],t=dl().memoizedState;return[typeof l=="boolean"?l:Ie(l),t]},useSyncExternalStore:Bs,useId:so};Ma.useCacheRefresh=oo,Ma.useMemoCache=Gi,Ma.useHostTransitionStatus=Wi,Ma.useFormState=$s,Ma.useActionState=$s,Ma.useOptimistic=function(l,t){var a=dl();return w!==null?Qs(a,w,l,t):(a.baseState=l,[l,a.queue.dispatch])};function $i(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 Fi={isMounted:function(l){return(l=l._reactInternals)?R(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&&(Ul(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&&(Ul(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&&(Ul(t,l,a),au(t,l,a))}};function ho(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 yo(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&&Fi.enqueueReplaceState(t,t.state,null)}function Ta(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 go(l){mn(l)}function bo(l){console.error(l)}function So(l){mn(l)}function vn(l,t){try{var a=l.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function po(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 Ii(l,t,a){return a=Jt(a),a.tag=3,a.payload={element:null},a.callback=function(){vn(l,t)},a}function Eo(l){return l=Jt(l),l.tag=3,l}function zo(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(){po(t,a,e)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){po(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 Gr(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 dt===null?Nc():a.alternate===null&&nl===0&&(nl=3),a.flags&=-257,a.flags|=65536,a.lanes=u,e===_i?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([e]):t.add(e),Bc(l,e,u)),!1;case 22:return a.flags|=65536,e===_i?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)),Bc(l,e,u)),!1}throw Error(s(435,a.tag))}return Bc(l,e,u),Nc(),!1}if(L)return t=Wl.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,e!==Oi&&(l=Error(s(422),{cause:e}),Le(Kl(l,a)))):(e!==Oi&&(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=Ii(l.stateNode,e,u),mc(l,u),nl!==4&&(nl=2)),!1;var n=Error(s(520),{cause:e});if(n=Kl(n,a),ou===null?ou=[n]:ou.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=Ii(a.stateNode,e,l),mc(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=Eo(u),zo(u,l,a,e),mc(a,u),!1}a=a.return}while(a!==null);return!1}var Ao=Error(s(461)),gl=!1;function Al(l,t,a,e){t.child=l===null?Os(t,null,a,e):pa(t,l.child,a,e)}function Mo(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=Bi(l,t,a,i,n,u),c=ji(),l!==null&&!gl?(Yi(l,t,u),Mt(l,t,u)):(L&&c&&Ti(t),t.flags|=1,Al(l,t,e,u),t.child)}function To(l,t,a,e,u){if(l===null){var n=a.type;return typeof n=="function"&&!Ec(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,Do(l,t,n,e,u)):(l=Sn(a.type,null,e,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!cc(l,u)){var i=n.memoizedProps;if(a=a.compare,a=a!==null?a:Xe,a(i,e)&&l.ref===t.ref)return Mt(l,t,u)}return t.flags|=1,l=Ft(n,e),l.ref=t.ref,l.return=t,t.child=l}function Do(l,t,a,e,u){if(l!==null){var n=l.memoizedProps;if(Xe(n,e)&&l.ref===t.ref)if(gl=!1,t.pendingProps=e=n,cc(l,u))(l.flags&131072)!==0&&(gl=!0);else return t.lanes=l.lanes,Mt(l,t,u)}return Pi(l,t,a,e,u)}function Oo(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 _o(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?_s(t,i):Ui(),Us(t);else return t.lanes=t.childLanes=536870912,_o(l,t,i!==null?i.baseLanes|a:a,a)}else i!==null?(en(t,i.cachePool),_s(t,i),Qt(),t.memoizedState=null):(l!==null&&en(t,null),Ui(),Qt());return Al(l,t,u,a),t.child}function _o(l,t,a,e){var u=Ni();return u=u===null?null:{parent:vl._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},l!==null&&en(t,null),Ui(),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 Pi(l,t,a,e,u){return Oa(t),a=Bi(l,t,a,e,void 0,u),e=ji(),l!==null&&!gl?(Yi(l,t,u),Mt(l,t,u)):(L&&e&&Ti(t),t.flags|=1,Al(l,t,a,u),t.child)}function Uo(l,t,a,e,u,n){return Oa(t),t.updateQueue=null,a=qs(t,e,a,u),Ns(l),e=ji(),l!==null&&!gl?(Yi(l,t,n),Mt(l,t,n)):(L&&e&&Ti(t),t.flags|=1,Al(l,t,a,n),t.child)}function Ho(l,t,a,e,u){if(Oa(t),t.stateNode===null){var n=Pa,i=a.contextType;typeof i=="object"&&i!==null&&(n=Dl(i)),n=new a(e,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Fi,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=e,n.state=t.memoizedState,n.refs={},dc(t),i=a.contextType,n.context=typeof i=="object"&&i!==null?Dl(i):Pa,n.state=t.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&($i(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&&Fi.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=Ta(a,c);n.props=f;var d=n.context,S=a.contextType;i=Pa,typeof S=="object"&&S!==null&&(i=Dl(S));var E=a.getDerivedStateFromProps;S=typeof E=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,S||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||d!==i)&&yo(t,n,e,i),Kt=!1;var h=t.memoizedState;n.state=h,uu(t,e,n,u),eu(),d=t.memoizedState,c||h!==d||Kt?(typeof E=="function"&&($i(t,a,E,e),d=t.memoizedState),(f=Kt||ho(t,a,f,e,h,d,i))?(S||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=d),n.props=e,n.state=d,n.context=i,e=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),e=!1)}else{n=t.stateNode,rc(l,t),i=t.memoizedProps,S=Ta(a,i),n.props=S,E=t.pendingProps,h=n.context,d=a.contextType,f=Pa,typeof d=="object"&&d!==null&&(f=Dl(d)),c=a.getDerivedStateFromProps,(d=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==E||h!==f)&&yo(t,n,e,f),Kt=!1,h=t.memoizedState,n.state=h,uu(t,e,n,u),eu();var b=t.memoizedState;i!==E||h!==b||Kt||l!==null&&l.dependencies!==null&&hn(l.dependencies)?(typeof c=="function"&&($i(t,a,c,e),b=t.memoizedState),(S=Kt||ho(t,a,S,e,h,b,f)||l!==null&&l.dependencies!==null&&hn(l.dependencies))?(d||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(e,b,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(e,b,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),t.memoizedProps=e,t.memoizedState=b),n.props=e,n.state=b,n.context=f,e=S):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&h===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=pa(t,l.child,null,u),t.child=pa(t,null,a,u)):Al(l,t,a,u),t.memoizedState=n.state,l=t.child):l=Mt(l,t,u),l}function xo(l,t,a,e){return Ve(),t.flags|=256,Al(l,t,a,e),t.child}var lc={dehydrated:null,treeContext:null,retryLane:0};function tc(l){return{baseLanes:l,cachePool:Rs()}}function ac(l,t,a){return l=l!==null?l.childLanes&~a:0,t&&(l|=Il),l}function Ro(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=zl,f;if(f=c){l:{for(f=c,c=ot;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:ga!==null?{id:pt,overflow:Et}:null,retryLane:536870912},f=Fl(18,null,null,0),f.stateNode=c,f.return=t,t.child=f,_l=t,zl=null,f=!0):f=!1}f||Sa(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return c.data==="$!"?t.lanes=16:t.lanes=536870912,null;zt(t)}return c=e.children,e=e.fallback,u?(Qt(),u=t.mode,c=uc({mode:"hidden",children:c},u),e=Ua(e,u,a,null),c.return=t,e.return=t,c.sibling=e,t.child=c,u=t.child,u.memoizedState=tc(a),u.childLanes=ac(l,i,a),t.memoizedState=lc,e):(Xt(t),ec(t,c))}if(f=l.memoizedState,f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(Xt(t),t.flags&=-257,t=nc(l,t,a)):t.memoizedState!==null?(Qt(),t.child=l.child,t.flags|=128,t=null):(Qt(),u=e.fallback,c=t.mode,e=uc({mode:"visible",children:e.children},c),u=Ua(u,c,a,null),u.flags|=2,e.return=t,u.return=t,e.sibling=u,t.child=e,pa(t,l.child,null,a),e=t.child,e.memoizedState=tc(a),e.childLanes=ac(l,i,a),t.memoizedState=lc,t=u);else if(Xt(t),c.data==="$!"){if(i=c.nextSibling&&c.nextSibling.dataset,i)var d=i.dgst;i=d,e=Error(s(419)),e.stack="",e.digest=i,Le({value:e,source:null,stack:null}),t=nc(l,t,a)}else if(gl||tu(l,t,a,!1),i=(a&l.childLanes)!==0,gl||i){if(i=$,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,Gt(l,e),Ul(i,l,e),Ao}c.data==="$?"||Nc(),t=nc(l,t,a)}else c.data==="$?"?(t.flags|=128,t.child=l.child,t=lm.bind(null,l),c._reactRetry=t,t=null):(l=f.treeContext,zl=nt(c.nextSibling),_l=t,L=!0,et=null,ot=!1,l!==null&&(Jl[wl++]=pt,Jl[wl++]=Et,Jl[wl++]=ga,pt=l.id,Et=l.overflow,ga=t),t=ec(t,e.children),t.flags|=4096);return t}return u?(Qt(),u=e.fallback,c=t.mode,f=l.child,d=f.sibling,e=Ft(f,{mode:"hidden",children:e.children}),e.subtreeFlags=f.subtreeFlags&31457280,d!==null?u=Ft(d,u):(u=Ua(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=tc(a):(f=c.cachePool,f!==null?(d=vl._currentValue,f=f.parent!==d?{parent:d,pool:d}:f):f=Rs(),c={baseLanes:c.baseLanes|a,cachePool:f}),u.memoizedState=c,u.childLanes=ac(l,i,a),t.memoizedState=lc,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 ec(l,t){return t=uc({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function uc(l,t){return ud(l,t,0,null)}function nc(l,t,a){return pa(t,l.child,null,a),l=ec(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function No(l,t,a){l.lanes|=t;var e=l.alternate;e!==null&&(e.lanes|=t),sc(l.return,t,a)}function ic(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 qo(l,t,a){var e=t.pendingProps,u=e.revealOrder,n=e.tail;if(Al(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&&No(l,a,t);else if(l.tag===19)No(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),ic(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}ic(t,!0,a,null,n);break;case"together":ic(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Mt(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 cc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&hn(l)))}function Xr(l,t,a){switch(t.tag){case 3:Hu(t,t.stateNode.containerInfo),Lt(t,vl,l.memoizedState.cache),Ve();break;case 27:case 5:Fn(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?Ro(l,t,a):(Xt(t),l=Mt(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 qo(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,Oo(l,t,a);case 24:Lt(t,vl,l.memoizedState.cache)}return Mt(l,t,a)}function Bo(l,t,a){if(l!==null)if(l.memoizedProps!==t.pendingProps)gl=!0;else{if(!cc(l,a)&&(t.flags&128)===0)return gl=!1,Xr(l,t,a);gl=(l.flags&131072)!==0}else gl=!1,L&&(t.flags&1048576)!==0&&bs(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")Ec(e)?(l=Ta(e,l),t.tag=1,t=Ho(null,t,e,l,a)):(t.tag=0,t=Pi(null,t,e,l,a));else{if(e!=null){if(u=e.$$typeof,u===Ol){t.tag=11,t=Mo(null,t,e,l,a);break l}else if(u===ja){t.tag=14,t=To(null,t,e,l,a);break l}}throw t=Ya(e)||e,Error(s(306,t,""))}}return t;case 0:return Pi(l,t,t.type,t.pendingProps,a);case 1:return e=t.type,u=Ta(e,t.pendingProps),Ho(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,rc(l,t),uu(t,n,null,a);var i=t.memoizedState;if(n=i.cache,Lt(t,vl,n),n!==u.cache&&oc(t,[vl],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=xo(l,t,n,a);break l}else if(n!==e){e=Kl(Error(s(424)),t),Le(e),t=xo(l,t,n,a);break l}else for(zl=nt(t.stateNode.containerInfo.firstChild),_l=t,L=!0,et=null,ot=!0,a=Os(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ve(),n===e){t=Mt(l,t,a);break l}Al(l,t,n,a)}t=t.child}return t;case 26:return lu(l,t),l===null?(a=Cd(t.type,null,t.pendingProps,null))?t.memoizedState=a:L||(a=t.type,l=t.pendingProps,e=xn(Bt.current).createElement(a),e[Tl]=t,e[xl]=l,Ml(e,a,l),yl(e),t.stateNode=e):t.memoizedState=Cd(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Fn(t),l===null&&L&&(e=t.stateNode=Bd(t.type,t.pendingProps,Bt.current),_l=t,ot=!0,zl=nt(e.firstChild)),e=t.pendingProps.children,l!==null||L?Al(l,t,e,a):t.child=pa(t,null,e,a),lu(l,t),t.child;case 5:return l===null&&L&&((u=e=zl)&&(e=ym(e,t.type,t.pendingProps,ot),e!==null?(t.stateNode=e,_l=t,zl=nt(e.firstChild),ot=!1,u=!0):u=!1),u||Sa(t)),Fn(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,e=n.children,wc(u,n)?e=null:i!==null&&wc(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=Bi(l,t,Nr,null,null,a),Su._currentValue=u),lu(l,t),Al(l,t,e,a),t.child;case 6:return l===null&&L&&((l=a=zl)&&(a=gm(a,t.pendingProps,ot),a!==null?(t.stateNode=a,_l=t,zl=null,l=!0):l=!1),l||Sa(t)),null;case 13:return Ro(l,t,a);case 4:return Hu(t,t.stateNode.containerInfo),e=t.pendingProps,l===null?t.child=pa(t,null,e,a):Al(l,t,e,a),t.child;case 11:return Mo(l,t,t.type,t.pendingProps,a);case 7:return Al(l,t,t.pendingProps,a),t.child;case 8:return Al(l,t,t.pendingProps.children,a),t.child;case 12:return Al(l,t,t.pendingProps.children,a),t.child;case 10:return e=t.pendingProps,Lt(t,t.type,e.value),Al(l,t,e.children,a),t.child;case 9:return u=t.type._context,e=t.pendingProps.children,Oa(t),u=Dl(u),e=e(u),t.flags|=1,Al(l,t,e,a),t.child;case 14:return To(l,t,t.type,t.pendingProps,a);case 15:return Do(l,t,t.type,t.pendingProps,a);case 19:return qo(l,t,a);case 22:return Oo(l,t,a);case 24:return Oa(t),e=Dl(vl),l===null?(u=Ni(),u===null&&(u=$,n=xi(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=a),u=n),t.memoizedState={parent:e,cache:u},dc(t),Lt(t,vl,u)):((l.lanes&a)!==0&&(rc(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,vl,e)):(e=n.cache,Lt(t,vl,e),e!==u.cache&&oc(t,[vl],a,!0))),Al(l,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}var fc=ct(null),Da=null,Tt=null;function Lt(l,t,a){ll(fc,t._currentValue),t._currentValue=a}function Dt(l){l._currentValue=fc.current,hl(fc)}function sc(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 oc(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),sc(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),sc(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===Uu.current){if(i=u.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(Su):l=[Su])}u=u.return}l!==null&&oc(t,l,a,e),t.flags|=262144}function hn(l){for(l=l.firstContext;l!==null;){if(!jl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Oa(l){Da=l,Tt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Dl(l){return jo(Da,l)}function yn(l,t){return Da===null&&Oa(l),jo(l,t)}function jo(l,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Tt===null){if(l===null)throw Error(s(308));Tt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Tt=Tt.next=t;return a}var Kt=!1;function dc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function rc(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=ku(l),ys(l,null,a),t}return Wu(l,e,t,a),ku(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 mc(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,d=f.next;f.next=null,i===null?n=d:i.next=d,i=f;var S=l.alternate;S!==null&&(S=S.updateQueue,c=S.lastBaseUpdate,c!==i&&(c===null?S.firstBaseUpdate=d:c.next=d,S.lastBaseUpdate=f))}if(n!==null){var E=u.baseState;i=0,S=d=f=null,c=n;do{var h=c.lane&-536870913,b=h!==c.lane;if(b?(Z&h)===h:(e&h)===h){h!==0&&h===ue&&(vc=!0),S!==null&&(S=S.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var D=l,N=c;h=t;var il=a;switch(N.tag){case 1:if(D=N.payload,typeof D=="function"){E=D.call(il,E,h);break l}E=D;break l;case 3:D.flags=D.flags&-65537|128;case 0:if(D=N.payload,h=typeof D=="function"?D.call(il,E,h):D,h==null)break l;E=J({},E,h);break l;case 2:Kt=!0}}h=c.callback,h!==null&&(l.flags|=64,b&&(l.flags|=8192),b=u.callbacks,b===null?u.callbacks=[h]:b.push(h))}else b={lane:h,tag:c.tag,payload:c.payload,callback:c.callback,next:null},S===null?(d=S=b,f=E):S=S.next=b,i|=h;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;b=c,c=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);S===null&&(f=E),u.baseState=f,u.firstBaseUpdate=d,u.lastBaseUpdate=S,n===null&&(u.shared.lanes=0),It|=i,l.lanes=i,l.memoizedState=E}}function Yo(l,t){if(typeof l!="function")throw Error(s(191,l));l.call(t)}function Co(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;l<a.length;l++)Yo(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){k(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(d){k(u,f,d)}}}e=e.next}while(e!==n)}}catch(d){k(t,t.return,d)}}function Go(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{Co(t,a)}catch(e){k(l,l.return,e)}}}function Xo(l,t,a){a.props=Ta(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(e){k(l,t,e)}}function _a(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){k(l,t,n)}}function Yl(l,t){var a=l.ref,e=l.refCleanup;if(a!==null)if(typeof e=="function")try{e()}catch(u){k(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){k(l,t,u)}else a.current=null}function Qo(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){k(l,l.return,u)}}function Zo(l,t,a){try{var e=l.stateNode;dm(e,l.type,a,t),e[xl]=t}catch(u){k(l,l.return,u)}}function Vo(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27||l.tag===4}function hc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Vo(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 yc(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(yc(l,t,a),l=l.sibling;l!==null;)yc(l,t,a),l=l.sibling}function gn(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(gn(l,t,a),l=l.sibling;l!==null;)gn(l,t,a),l=l.sibling}var Ot=!1,ul=!1,gc=!1,Lo=typeof WeakSet=="function"?WeakSet:Set,bl=null,Ko=!1;function Qr(l,t){if(l=l.containerInfo,Kc=Yn,l=cs(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,d=0,S=0,E=l,h=null;t:for(;;){for(var b;E!==a||u!==0&&E.nodeType!==3||(c=i+u),E!==n||e!==0&&E.nodeType!==3||(f=i+e),E.nodeType===3&&(i+=E.nodeValue.length),(b=E.firstChild)!==null;)h=E,E=b;for(;;){if(E===l)break t;if(h===a&&++d===u&&(c=i),h===n&&++S===e&&(f=i),(b=E.nextSibling)!==null)break;E=h,h=E.parentNode}E=b}a=c===-1||f===-1?null:{start:c,end:f}}else a=null}a=a||{start:0,end:0}}else a=null;for(Jc={focusedElem:l,selectionRange:a},Yn=!1,bl=t;bl!==null;)if(t=bl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,bl=l;else for(;bl!==null;){switch(t=bl,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 D=Ta(a.type,u,a.elementType===a.type);l=e.getSnapshotBeforeUpdate(D,n),e.__reactInternalSnapshotBeforeUpdate=l}catch(N){k(a,a.return,N)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,a=l.nodeType,a===9)$c(l);else if(a===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":$c(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,bl=l;break}bl=t.return}return D=Ko,Ko=!1,D}function Jo(l,t,a){var e=a.flags;switch(a.tag){case 0:case 11:case 15:Ut(l,a),e&4&&nu(5,a);break;case 1:if(Ut(l,a),e&4)if(l=a.stateNode,t===null)try{l.componentDidMount()}catch(c){k(a,a.return,c)}else{var u=Ta(a.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){k(a,a.return,c)}}e&64&&Go(a),e&512&&_a(a,a.return);break;case 3:if(Ut(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{Co(e,l)}catch(c){k(a,a.return,c)}}break;case 26:Ut(l,a),e&512&&_a(a,a.return);break;case 27:case 5:Ut(l,a),t===null&&e&4&&Qo(a),e&512&&_a(a,a.return);break;case 12:Ut(l,a);break;case 13:Ut(l,a),e&4&&ko(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?kt(l,a,(a.subtreeFlags&8772)!==0):Ut(l,a),Ot=n,ul=i}e&512&&(a.memoizedProps.mode==="manual"?_a(a,a.return):Yl(a,a.return));break;default:Ut(l,a)}}function wo(l){var t=l.alternate;t!==null&&(l.alternate=null,wo(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&ei(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 rl=null,Cl=!1;function _t(l,t,a){for(a=a.child;a!==null;)Wo(l,t,a),a=a.sibling}function Wo(l,t,a){if(ql&&typeof ql.onCommitFiberUnmount=="function")try{ql.onCommitFiberUnmount(_e,a)}catch{}switch(a.tag){case 26:ul||Yl(a,t),_t(l,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ul||Yl(a,t);var e=rl,u=Cl;for(rl=a.stateNode,_t(l,t,a),a=a.stateNode,t=a.attributes;t.length;)a.removeAttributeNode(t[0]);ei(a),rl=e,Cl=u;break;case 5:ul||Yl(a,t);case 6:u=rl;var n=Cl;if(rl=null,_t(l,t,a),rl=u,Cl=n,rl!==null)if(Cl)try{l=rl,e=a.stateNode,l.nodeType===8?l.parentNode.removeChild(e):l.removeChild(e)}catch(i){k(a,t,i)}else try{rl.removeChild(a.stateNode)}catch(i){k(a,t,i)}break;case 18:rl!==null&&(Cl?(t=rl,a=a.stateNode,t.nodeType===8?kc(t.parentNode,a):t.nodeType===1&&kc(t,a),Au(t)):kc(rl,a.stateNode));break;case 4:e=rl,u=Cl,rl=a.stateNode.containerInfo,Cl=!0,_t(l,t,a),rl=e,Cl=u;break;case 0:case 11:case 14:case 15:ul||Wt(2,a,t),ul||Wt(4,a,t),_t(l,t,a);break;case 1:ul||(Yl(a,t),e=a.stateNode,typeof e.componentWillUnmount=="function"&&Xo(a,t,e)),_t(l,t,a);break;case 21:_t(l,t,a);break;case 22:ul||Yl(a,t),ul=(e=ul)||a.memoizedState!==null,_t(l,t,a),ul=e;break;default:_t(l,t,a)}}function ko(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Au(l)}catch(a){k(t,t.return,a)}}function Zr(l){switch(l.tag){case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Lo),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Lo),t;default:throw Error(s(435,l.tag))}}function bc(l,t){var a=Zr(l);t.forEach(function(e){var u=tm.bind(null,l,e);a.has(e)||(a.add(e),e.then(u,u))})}function kl(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:rl=c.stateNode,Cl=!1;break l;case 3:rl=c.stateNode.containerInfo,Cl=!0;break l;case 4:rl=c.stateNode.containerInfo,Cl=!0;break l}c=c.return}if(rl===null)throw Error(s(160));Wo(n,i,u),rl=null,Cl=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)$o(t,l),t=t.sibling}var ut=null;function $o(l,t){var a=l.alternate,e=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:kl(t,l),$l(l),e&4&&(Wt(3,l,l.return),nu(3,l),Wt(5,l,l.return));break;case 1:kl(t,l),$l(l),e&512&&(ul||a===null||Yl(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(kl(t,l),$l(l),e&512&&(ul||a===null||Yl(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[xe]||n[Tl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(e),u.head.insertBefore(n,u.querySelector("head > title"))),Ml(n,e,a),n[Tl]=l,yl(n),e=n;break l;case"link":var i=Qd("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),Ml(n,e,a),u.head.appendChild(n);break;case"meta":if(i=Qd("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),Ml(n,e,a),u.head.appendChild(n);break;default:throw Error(s(468,e))}n[Tl]=l,yl(n),e=n}l.stateNode=e}else Zd(u,l.type,l.stateNode);else l.stateNode=Xd(u,e,l.memoizedProps);else n!==e?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,e===null?Zd(u,l.type,l.stateNode):Xd(u,e,l.memoizedProps)):e===null&&l.stateNode!==null&&Zo(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 d=f.nextSibling,S=f.nodeName;f[xe]||S==="HEAD"||S==="BODY"||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&f.rel.toLowerCase()==="stylesheet"||u.removeChild(f),f=d}for(var E=l.type,h=u.attributes;h.length;)u.removeAttributeNode(h[0]);Ml(u,E,n),u[Tl]=l,u[xl]=n}catch(D){k(l,l.return,D)}}case 5:if(kl(t,l),$l(l),e&512&&(ul||a===null||Yl(a,a.return)),l.flags&32){u=l.stateNode;try{Ja(u,"")}catch(D){k(l,l.return,D)}}e&4&&l.stateNode!=null&&(u=l.memoizedProps,Zo(l,u,a!==null?a.memoizedProps:u)),e&1024&&(gc=!0);break;case 6:if(kl(t,l),$l(l),e&4){if(l.stateNode===null)throw Error(s(162));e=l.memoizedProps,a=l.stateNode;try{a.nodeValue=e}catch(D){k(l,l.return,D)}}break;case 3:if(qn=null,u=ut,ut=Rn(t.containerInfo),kl(t,l),ut=u,$l(l),e&4&&a!==null&&a.memoizedState.isDehydrated)try{Au(t.containerInfo)}catch(D){k(l,l.return,D)}gc&&(gc=!1,Fo(l));break;case 4:e=ut,ut=Rn(l.stateNode.containerInfo),kl(t,l),$l(l),ut=e;break;case 12:kl(t,l),$l(l);break;case 13:kl(t,l),$l(l),l.child.flags&8192&&l.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Oc=st()),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,bc(l,e)));break;case 22:if(e&512&&(ul||a===null||Yl(a,a.return)),f=l.memoizedState!==null,d=a!==null&&a.memoizedState!==null,S=Ot,E=ul,Ot=S||f,ul=E||d,kl(t,l),ul=E,Ot=S,$l(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||d||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){d=a=t;try{if(u=d.stateNode,f)n=u.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=d.stateNode,c=d.memoizedProps.style;var b=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=b==null||typeof b=="boolean"?"":(""+b).trim()}}catch(D){k(d,d.return,D)}}}else if(t.tag===6){if(a===null){d=t;try{d.stateNode.nodeValue=f?"":d.memoizedProps}catch(D){k(d,d.return,D)}}}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,bc(l,a))));break;case 19:kl(t,l),$l(l),e&4&&(e=l.updateQueue,e!==null&&(l.updateQueue=null,bc(l,e)));break;case 21:break;default:kl(t,l),$l(l)}}function $l(l){var t=l.flags;if(t&2){try{if(l.tag!==27){l:{for(var a=l.return;a!==null;){if(Vo(a)){var e=a;break l}a=a.return}throw Error(s(160))}switch(e.tag){case 27:var u=e.stateNode,n=hc(l);gn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(Ja(i,""),e.flags&=-33);var c=hc(l);gn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,d=hc(l);yc(l,d,f);break;default:throw Error(s(161))}}}catch(S){k(l,l.return,S)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function Fo(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;Fo(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function Ut(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jo(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:Yl(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Xo(t,t.return,a),se(t);break;case 26:case 27:case 5:Yl(t,t.return),se(t);break;case 22:Yl(t,t.return),t.memoizedState===null&&se(t);break;default:se(t)}l=l.sibling}}function kt(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:kt(u,n,a),nu(4,n);break;case 1:if(kt(u,n,a),e=n,u=e.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(d){k(e,e.return,d)}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++)Yo(f[u],c)}catch(d){k(e,e.return,d)}}a&&i&64&&Go(n),_a(n,n.return);break;case 26:case 27:case 5:kt(u,n,a),a&&e===null&&i&4&&Qo(n),_a(n,n.return);break;case 12:kt(u,n,a);break;case 13:kt(u,n,a),a&&i&4&&ko(u,n);break;case 22:n.memoizedState===null&&kt(u,n,a),_a(n,n.return);break;default:kt(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&&ke(a))}function pc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&ke(l))}function $t(l,t,a,e){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Io(l,t,a,e),t=t.sibling}function Io(l,t,a,e){var u=t.flags;switch(t.tag){case 0:case 11:case 15:$t(l,t,a,e),u&2048&&nu(9,t);break;case 3:$t(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&&ke(l)));break;case 12:if(u&2048){$t(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){k(t,t.return,f)}}else $t(l,t,a,e);break;case 23:break;case 22:n=t.stateNode,t.memoizedState!==null?n._visibility&4?$t(l,t,a,e):iu(l,t):n._visibility&4?$t(l,t,a,e):(n._visibility|=4,oe(l,t,a,e,(t.subtreeFlags&10256)!==0)),u&2048&&Sc(t.alternate,t);break;case 24:$t(l,t,a,e),u&2048&&pc(t.alternate,t);break;default:$t(l,t,a,e)}}function oe(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,d=i.flags;switch(i.tag){case 0:case 11:case 15:oe(n,i,c,f,u),nu(8,i);break;case 23:break;case 22:var S=i.stateNode;i.memoizedState!==null?S._visibility&4?oe(n,i,c,f,u):iu(n,i):(S._visibility|=4,oe(n,i,c,f,u)),u&&d&2048&&Sc(i.alternate,i);break;case 24:oe(n,i,c,f,u),u&&d&2048&&pc(i.alternate,i);break;default:oe(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&&pc(e.alternate,e);break;default:iu(a,e)}t=t.sibling}}var cu=8192;function de(l){if(l.subtreeFlags&cu)for(l=l.child;l!==null;)Po(l),l=l.sibling}function Po(l){switch(l.tag){case 26:de(l),l.flags&cu&&l.memoizedState!==null&&Hm(ut,l.memoizedState,l.memoizedProps);break;case 5:de(l);break;case 3:case 4:var t=ut;ut=Rn(l.stateNode.containerInfo),de(l),ut=t;break;case 22:l.memoizedState===null&&(t=l.alternate,t!==null&&t.memoizedState!==null?(t=cu,cu=16777216,de(l),cu=t):de(l));break;default:de(l)}}function ld(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];bl=e,ad(e,l)}ld(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)td(l),l=l.sibling}function td(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,bn(l)):fu(l);break;default:fu(l)}}function bn(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];bl=e,ad(e,l)}ld(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:Wt(8,t,t.return),bn(t);break;case 22:a=t.stateNode,a._visibility&4&&(a._visibility&=-5,bn(t));break;default:bn(t)}l=l.sibling}}function ad(l,t){for(;bl!==null;){var a=bl;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:ke(a.memoizedState.cache)}if(e=a.child,e!==null)e.return=a,bl=e;else l:for(a=l;bl!==null;){e=bl;var u=e.sibling,n=e.return;if(wo(e),e===a){bl=null;break l}if(u!==null){u.return=n,bl=u;break l}bl=n}}}function Vr(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 Vr(l,t,a,e)}function Ec(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 ed(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 Sn(l,t,a,e,u,n){var i=0;if(e=l,typeof l=="function")Ec(l)&&(i=1);else if(typeof l=="string")i=_m(l,a,ft.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case B:return Ua(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 ht:return l=Fl(13,a,t,u),l.elementType=ht,l.lanes=n,l;case Ba:return l=Fl(19,a,t,u),l.elementType=Ba,l.lanes=n,l;case na:return ud(a,u,n,t);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case pl:case El: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 Ua(l,t,a,e){return l=Fl(7,l,e,t),l.lanes=a,l}function ud(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=Gt(n,2);i!==null&&(u._pendingVisibility|=2,Ul(i,n,2))}},attach:function(){var n=u._current;if(n===null)throw Error(s(456));if((u._pendingVisibility&2)!==0){var i=Gt(n,2);i!==null&&(u._pendingVisibility&=-3,Ul(i,n,2))}}};return l.stateNode=u,l}function zc(l,t,a){return l=Fl(6,l,null,t),l.lanes=a,l}function Ac(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 nd(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Vd(t)){if(t=Wl.current,t!==null&&((Z&4194176)===Z?dt!==null:(Z&62914560)!==Z&&(Z&536870912)===0||t!==dt))throw Je=_i,Es;l.flags|=8192}}function pn(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 Lr(l,t,a){var e=t.pendingProps;switch(Di(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),Dt(vl),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&&(xc(et),et=null))),tl(t),null;case 26:return a=t.memoizedState,l===null?(Ht(t),a!==null?(tl(t),nd(t,a)):(tl(t),t.flags&=-16777217)):a?a!==l.memoizedState?(Ht(t),tl(t),nd(t,a)):(tl(t),t.flags&=-16777217):(l.memoizedProps!==e&&Ht(t),tl(t),t.flags&=-16777217),null;case 27:xu(t),a=Bt.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)?Ss(t):(l=Bd(u,e,a),t.stateNode=l,Ht(t))}return tl(t),null;case 5:if(xu(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))Ss(t);else{switch(u=xn(Bt.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[Tl]=t,l[xl]=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(Ml(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=Bt.current,Ze(t)){if(l=t.stateNode,a=t.memoizedProps,e=null,u=_l,u!==null)switch(u.tag){case 27:case 5:e=u.memoizedProps}l[Tl]=t,l=!!(l.nodeValue===a||e!==null&&e.suppressHydrationWarning===!0||Ud(l.nodeValue,a)),l||Sa(t)}else l=xn(l).createTextNode(e),l[Tl]=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[Tl]=t}else Ve(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tl(t),u=!1}else et!==null&&(xc(et),et=null),u=!0;if(!u)return t.flags&256?(zt(t),t):(zt(t),null)}if(zt(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),pn(t,t.updateQueue),tl(t),null;case 4:return Xa(),l===null&&Zc(t.stateNode.containerInfo),tl(t),null;case 10:return Dt(t.type),tl(t),null;case 19:if(hl(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,pn(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)ed(a,l),a=a.sibling;return ll(ml,ml.current&1|2),t.child}l=l.sibling}u.tail!==null&&st()>En&&(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,pn(t,l),su(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!L)return tl(t),null}else 2*st()-u.renderingStartTime>En&&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 zt(t),Hi(),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&&pn(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&&hl(Ea),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Dt(vl),tl(t),null;case 25:return null}throw Error(s(156,t.tag))}function Kr(l,t){switch(Di(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Dt(vl),Xa(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return xu(t),null;case 13:if(zt(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 hl(ml),null;case 4:return Xa(),null;case 10:return Dt(t.type),null;case 22:case 23:return zt(t),Hi(),l!==null&&hl(Ea),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Dt(vl),null;case 25:return null;default:return null}}function id(l,t){switch(Di(t),t.tag){case 3:Dt(vl),Xa();break;case 26:case 27:case 5:xu(t);break;case 4:Xa();break;case 13:zt(t);break;case 19:hl(ml);break;case 10:Dt(t.type);break;case 22:case 23:zt(t),Hi(),l!==null&&hl(Ea);break;case 24:Dt(vl)}}var Jr={getCacheForType:function(l){var t=Dl(vl),a=t.data.get(l);return a===void 0&&(a=l(),t.data.set(l,a)),a}},wr=typeof WeakMap=="function"?WeakMap:Map,al=0,$=null,G=null,Z=0,F=0,Gl=null,xt=!1,re=!1,Mc=!1,Rt=0,nl=0,It=0,Ha=0,Tc=0,Il=0,me=0,ou=null,mt=null,Dc=!1,Oc=0,En=1/0,zn=null,Pt=null,An=!1,xa=null,du=0,_c=0,Uc=null,ru=0,Hc=null;function Xl(){if((al&2)!==0&&Z!==0)return Z&-Z;if(x.T!==null){var l=ue;return l!==0?l:Cc()}return Df()}function cd(){Il===0&&(Il=(Z&536870912)===0||L?Ef():536870912);var l=Wl.current;return l!==null&&(l.flags|=32),Il}function Ul(l,t,a){(l===$&&F===2||l.cancelPendingCommit!==null)&&(ve(l,0),Nt(l,Z,Il,!1)),He(l,a),((al&2)===0||l!==$)&&(l===$&&((al&2)===0&&(Ha|=a),nl===4&&Nt(l,Z,Il,!1)),vt(l))}function fd(l,t,a){if((al&6)!==0)throw Error(s(327));var e=!a&&(t&60)===0&&(t&l.expiredLanes)===0||Ue(l,t),u=e?$r(l,t):qc(l,t,!0),n=e;do{if(u===0){re&&!e&&Nt(l,t,0,!1);break}else if(u===6)Nt(l,t,0,!xt);else{if(a=l.current.alternate,n&&!Wr(a)){u=qc(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=ou;var f=c.current.memoizedState.isDehydrated;if(f&&(ve(c,i).flags|=256),i=qc(c,i,!1),i!==2){if(Mc&&!f){c.errorRecoveryDisabledLanes|=n,Ha|=n,u=4;break l}n=mt,mt=u,n!==null&&xc(n)}u=i}if(n=!1,u!==2)continue}}if(u===1){ve(l,0),Nt(l,t,0,!0);break}l:{switch(e=l,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194176)===t){Nt(e,t,Il,!xt);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=Oc+300-st(),10<n)){if(Nt(e,t,Il,!xt),Bu(e,0)!==0)break l;e.timeoutHandle=Rd(sd.bind(null,e,a,mt,zn,Dc,t,Il,Ha,me,xt,2,-0,0),n);break l}sd(e,a,mt,zn,Dc,t,Il,Ha,me,xt,0,-0,0)}}break}while(!0);vt(l)}function xc(l){mt===null?mt=l:mt.push.apply(mt,l)}function sd(l,t,a,e,u,n,i,c,f,d,S,E,h){var b=t.subtreeFlags;if((b&8192||(b&16785408)===16785408)&&(bu={stylesheets:null,count:0,unsuspend:Um},Po(t),t=xm(),t!==null)){l.cancelPendingCommit=t(yd.bind(null,l,a,e,u,i,c,f,1,E,h)),Nt(l,n,i,!d);return}yd(l,a,e,u,i,c,f,S,E,h)}function Wr(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 Nt(l,t,a,e){t&=~Tc,t&=~Ha,l.suspendedLanes|=t,l.pingedLanes&=~t,e&&(l.warmLanes|=t),e=l.expirationTimes;for(var u=t;0<u;){var n=31-Bl(u),i=1<<n;e[n]=-1,u&=~i}a!==0&&Af(l,a,t)}function Mn(){return(al&6)===0?(mu(0),!1):!0}function Rc(){if(G!==null){if(F===0)var l=G.return;else l=G,Tt=Da=null,Ci(l),ae=null,we=0,l=G;for(;l!==null;)id(l.alternate,l),l=l.return;G=null}}function ve(l,t){l.finishedWork=null,l.finishedLanes=0;var a=l.timeoutHandle;a!==-1&&(l.timeoutHandle=-1,mm(a)),a=l.cancelPendingCommit,a!==null&&(l.cancelPendingCommit=null,a()),Rc(),$=l,G=a=Ft(l.current,null),Z=t,F=0,Gl=null,xt=!1,re=Ue(l,t),Mc=!1,me=Il=Tc=Ha=It=nl=0,mt=ou=null,Dc=!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-Bl(e),n=1<<u;t|=l[u],e&=~n}return Rt=t,wu(),a}function od(l,t){Y=null,x.H=rt,t===Ke?(t=Ms(),F=3):t===Es?(t=Ms(),F=4):F=t===Ao?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Gl=t,G===null&&(nl=1,vn(l,Kl(t,l.current)))}function dd(){var l=x.H;return x.H=rt,l===null?rt:l}function rd(){var l=x.A;return x.A=Jr,l}function Nc(){nl=4,xt||(Z&4194176)!==Z&&Wl.current!==null||(re=!0),(It&134217727)===0&&(Ha&134217727)===0||$===null||Nt($,Z,Il,!1)}function qc(l,t,a){var e=al;al|=2;var u=dd(),n=rd();($!==l||Z!==t)&&(zn=null,ve(l,t)),t=!1;var i=nl;l:do try{if(F!==0&&G!==null){var c=G,f=Gl;switch(F){case 8:Rc(),i=6;break l;case 3:case 2:case 6:Wl.current===null&&(t=!0);var d=F;if(F=0,Gl=null,he(l,c,f,d),a&&re){i=0;break l}break;default:d=F,F=0,Gl=null,he(l,c,f,d)}}kr(),i=nl;break}catch(S){od(l,S)}while(!0);return t&&l.shellSuspendCounter++,Tt=Da=null,al=e,x.H=u,x.A=n,G===null&&($=null,Z=0,wu()),i}function kr(){for(;G!==null;)md(G)}function $r(l,t){var a=al;al|=2;var e=dd(),u=rd();$!==l||Z!==t?(zn=null,En=st()+500,ve(l,t)):re=Ue(l,t);l:do try{if(F!==0&&G!==null){t=G;var n=Gl;t:switch(F){case 1:F=0,Gl=null,he(l,t,n,1);break;case 2:if(zs(n)){F=0,Gl=null,vd(t);break}t=function(){F===2&&$===l&&(F=7),vt(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,Gl=null,vd(t)):(F=0,Gl=null,he(l,t,n,7));break;case 5:var i=null;switch(G.tag){case 26:i=G.memoizedState;case 5:case 27:var c=G;if(!i||Vd(i)){F=0,Gl=null;var f=c.sibling;if(f!==null)G=f;else{var d=c.return;d!==null?(G=d,Tn(d)):G=null}break t}}F=0,Gl=null,he(l,t,n,5);break;case 6:F=0,Gl=null,he(l,t,n,6);break;case 8:Rc(),nl=6;break l;default:throw Error(s(462))}}Fr();break}catch(S){od(l,S)}while(!0);return Tt=Da=null,x.H=e,x.A=u,al=a,G!==null?0:($=null,Z=0,wu(),nl)}function Fr(){for(;G!==null&&!S0();)md(G)}function md(l){var t=Bo(l.alternate,l,Rt);l.memoizedProps=l.pendingProps,t===null?Tn(l):G=t}function vd(l){var t=l,a=t.alternate;switch(t.tag){case 15:case 0:t=Uo(a,t,t.pendingProps,t.type,void 0,Z);break;case 11:t=Uo(a,t,t.pendingProps,t.type.render,t.ref,Z);break;case 5:Ci(t);default:id(a,t),t=G=ed(t,Rt),t=Bo(a,t,Rt)}l.memoizedProps=l.pendingProps,t===null?Tn(l):G=t}function he(l,t,a,e){Tt=Da=null,Ci(t),ae=null,we=0;var u=t.return;try{if(Gr(l,u,t,a,Z)){nl=1,vn(l,Kl(a,l.current)),G=null;return}}catch(n){if(u!==null)throw G=u,n;nl=1,vn(l,Kl(a,l.current)),G=null;return}t.flags&32768?(L||e===1?l=!0:re||(Z&536870912)!==0?l=!1:(xt=l=!0,(e===2||e===3||e===6)&&(e=Wl.current,e!==null&&e.tag===13&&(e.flags|=16384))),hd(t,l)):Tn(t)}function Tn(l){var t=l;do{if((t.flags&32768)!==0){hd(t,xt);return}l=t.return;var a=Lr(t.alternate,t,Rt);if(a!==null){G=a;return}if(t=t.sibling,t!==null){G=t;return}G=t=l}while(t!==null);nl===0&&(nl=5)}function hd(l,t){do{var a=Kr(l.alternate,l);if(a!==null){a.flags&=32767,G=a;return}if(a=l.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(l=l.sibling,l!==null)){G=l;return}G=l=a}while(l!==null);nl=6,G=null}function yd(l,t,a,e,u,n,i,c,f,d){var S=x.T,E=V.p;try{V.p=2,x.T=null,Ir(l,t,a,e,E,u,n,i,c,f,d)}finally{x.T=S,V.p=E}}function Ir(l,t,a,e,u,n,i,c){do ye();while(xa!==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 d=f.lanes|f.childLanes;if(d|=Ai,H0(l,e,d,n,i,c),l===$&&(G=$=null,Z=0),(f.subtreeFlags&10256)===0&&(f.flags&10256)===0||An||(An=!0,_c=d,Uc=a,am(Ru,function(){return ye(),null})),a=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||a?(a=x.T,x.T=null,n=V.p,V.p=2,i=al,al|=4,Qr(l,f),$o(f,l),zr(Jc,l.containerInfo),Yn=!!Kc,Jc=Kc=null,l.current=f,Jo(l,f.alternate,f),p0(),al=i,V.p=n,x.T=a):l.current=f,An?(An=!1,xa=l,du=e):gd(l,d),d=l.pendingLanes,d===0&&(Pt=null),T0(f.stateNode),vt(l),t!==null)for(u=l.onRecoverableError,f=0;f<t.length;f++)d=t[f],u(d.value,{componentStack:d.stack});return(du&3)!==0&&ye(),d=l.pendingLanes,(e&4194218)!==0&&(d&42)!==0?l===Hc?ru++:(ru=0,Hc=l):ru=0,mu(0),null}function gd(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,ke(t)))}function ye(){if(xa!==null){var l=xa,t=_c;_c=0;var a=Tf(du),e=x.T,u=V.p;try{if(V.p=32>a?32:a,x.T=null,xa===null)var n=!1;else{a=Uc,Uc=null;var i=xa,c=du;if(xa=null,du=0,(al&6)!==0)throw Error(s(331));var f=al;if(al|=4,td(i.current),Io(i,i.current,c,a),al=f,mu(0,!1),ql&&typeof ql.onPostCommitFiberRoot=="function")try{ql.onPostCommitFiberRoot(_e,i)}catch{}n=!0}return n}finally{V.p=u,x.T=e,gd(l,t)}}return!1}function bd(l,t,a){t=Kl(a,t),t=Ii(l.stateNode,t,2),l=wt(l,t,2),l!==null&&(He(l,2),vt(l))}function k(l,t,a){if(l.tag===3)bd(l,l,a);else for(;t!==null;){if(t.tag===3){bd(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=Eo(2),e=wt(t,a,2),e!==null&&(zo(a,e,t,l),He(e,2),vt(e));break}}t=t.return}}function Bc(l,t,a){var e=l.pingCache;if(e===null){e=l.pingCache=new wr;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)||(Mc=!0,u.add(a),l=Pr.bind(null,l,t,a),t.then(l,l))}function Pr(l,t,a){var e=l.pingCache;e!==null&&e.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,$===l&&(Z&a)===a&&(nl===4||nl===3&&(Z&62914560)===Z&&300>st()-Oc?(al&2)===0&&ve(l,0):Tc|=a,me===Z&&(me=0)),vt(l)}function Sd(l,t){t===0&&(t=zf()),l=Gt(l,t),l!==null&&(He(l,t),vt(l))}function lm(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),Sd(l,a)}function tm(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),Sd(l,a)}function am(l,t){return Pn(l,t)}var Dn=null,ge=null,jc=!1,On=!1,Yc=!1,Ra=0;function vt(l){l!==ge&&l.next===null&&(ge===null?Dn=ge=l:ge=ge.next=l),On=!0,jc||(jc=!0,um(em))}function mu(l,t){if(!Yc&&On){Yc=!0;do for(var a=!1,e=Dn;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-Bl(42|l)+1)-1,n&=u&~(i&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,zd(e,n))}else n=Z,n=Bu(e,e===$?n:0),(n&3)===0||Ue(e,n)||(a=!0,zd(e,n));e=e.next}while(a);Yc=!1}}function em(){On=jc=!1;var l=0;Ra!==0&&(rm()&&(l=Ra),Ra=0);for(var t=st(),a=null,e=Dn;e!==null;){var u=e.next,n=pd(e,t);n===0?(e.next=null,a===null?Dn=u:a.next=u,u===null&&(ge=a)):(a=e,(l!==0||(n&3)!==0)&&(On=!0)),e=u}mu(l)}function pd(l,t){for(var a=l.suspendedLanes,e=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-Bl(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=$,a=Z,a=Bu(l,l===t?a:0),e=l.callbackNode,a===0||l===t&&F===2||l.cancelPendingCommit!==null)return e!==null&&e!==null&&li(e),l.callbackNode=null,l.callbackPriority=0;if((a&3)===0||Ue(l,a)){if(t=a&-a,t===l.callbackPriority)return t;switch(e!==null&&li(e),Tf(a)){case 2:case 8:a=Sf;break;case 32:a=Ru;break;case 268435456:a=pf;break;default:a=Ru}return e=Ed.bind(null,l),a=Pn(a,e),l.callbackPriority=t,l.callbackNode=a,t}return e!==null&&e!==null&&li(e),l.callbackPriority=2,l.callbackNode=null,2}function Ed(l,t){var a=l.callbackNode;if(ye()&&l.callbackNode!==a)return null;var e=Z;return e=Bu(l,l===$?e:0),e===0?null:(fd(l,e,t),pd(l,st()),l.callbackNode!=null&&l.callbackNode===a?Ed.bind(null,l):null)}function zd(l,t){if(ye())return null;fd(l,t,!0)}function um(l){vm(function(){(al&6)!==0?Pn(bf,l):l()})}function Cc(){return Ra===0&&(Ra=Ef()),Ra}function Ad(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Xu(""+l)}function Md(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 nm(l,t,a,e,u){if(t==="submit"&&a&&a.stateNode===u){var n=Ad((u[xl]||null).action),i=e.submitter;i&&(t=(t=i[xl]||null)?Ad(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(Ra!==0){var f=i?Md(u,i):new FormData(u);wi(a,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Md(u,i):new FormData(u),wi(a,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var Gc=0;Gc<hs.length;Gc++){var Xc=hs[Gc],im=Xc.toLowerCase(),cm=Xc[0].toUpperCase()+Xc.slice(1);at(im,"on"+cm)}at(os,"onAnimationEnd"),at(ds,"onAnimationIteration"),at(rs,"onAnimationStart"),at("dblclick","onDoubleClick"),at("focusin","onFocus"),at("focusout","onBlur"),at(Mr,"onTransitionRun"),at(Tr,"onTransitionStart"),at(Dr,"onTransitionCancel"),at(ms,"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 vu="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(" "),fm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vu));function Td(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,d=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=d;try{n(u)}catch(S){mn(S)}u.currentTarget=null,n=f}else for(i=0;i<e.length;i++){if(c=e[i],f=c.instance,d=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=d;try{n(u)}catch(S){mn(S)}u.currentTarget=null,n=f}}}}function Q(l,t){var a=t[ai];a===void 0&&(a=t[ai]=new Set);var e=l+"__bubble";a.has(e)||(Dd(t,l,2,!1),a.add(e))}function Qc(l,t,a){var e=0;t&&(e|=4),Dd(a,l,e,t)}var _n="_reactListening"+Math.random().toString(36).slice(2);function Zc(l){if(!l[_n]){l[_n]=!0,_f.forEach(function(a){a!=="selectionchange"&&(fm.has(a)||Qc(a,!1,l),Qc(a,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[_n]||(t[_n]=!0,Qc("selectionchange",!1,t))}}function Dd(l,t,a,e){switch(kd(t)){case 2:var u=qm;break;case 8:u=Bm;break;default:u=tf}a=u.bind(null,t,a,l),u=void 0,!oi||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 Vc(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=ra(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}Xf(function(){var d=n,S=fi(a),E=[];l:{var h=vs.get(l);if(h!==void 0){var b=Lu,D=l;switch(l){case"keypress":if(Zu(a)===0)break l;case"keydown":case"keyup":b=tr;break;case"focusin":D="focus",b=vi;break;case"focusout":D="blur",b=vi;break;case"beforeblur":case"afterblur":b=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":b=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=V0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=ur;break;case os:case ds:case rs:b=J0;break;case ms:b=ir;break;case"scroll":case"scrollend":b=Q0;break;case"wheel":b=fr;break;case"copy":case"cut":case"paste":b=W0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=Kf;break;case"toggle":case"beforetoggle":b=or}var N=(t&4)!==0,il=!N&&(l==="scroll"||l==="scrollend"),m=N?h!==null?h+"Capture":null:h;N=[];for(var o=d,v;o!==null;){var p=o;if(v=p.stateNode,p=p.tag,p!==5&&p!==26&&p!==27||v===null||m===null||(p=Ne(o,m),p!=null&&N.push(hu(o,p,v))),il)break;o=o.return}0<N.length&&(h=new b(h,D,null,a,S),E.push({event:h,listeners:N}))}}if((t&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",b=l==="mouseout"||l==="pointerout",h&&a!==ci&&(D=a.relatedTarget||a.fromElement)&&(ra(D)||D[Qa]))break l;if((b||h)&&(h=S.window===S?S:(h=S.ownerDocument)?h.defaultView||h.parentWindow:window,b?(D=a.relatedTarget||a.toElement,b=d,D=D?ra(D):null,D!==null&&(il=R(D),N=D.tag,D!==il||N!==5&&N!==27&&N!==6)&&(D=null)):(b=null,D=d),b!==D)){if(N=Vf,p="onMouseLeave",m="onMouseEnter",o="mouse",(l==="pointerout"||l==="pointerover")&&(N=Kf,p="onPointerLeave",m="onPointerEnter",o="pointer"),il=b==null?h:Re(b),v=D==null?h:Re(D),h=new N(p,o+"leave",b,a,S),h.target=il,h.relatedTarget=v,p=null,ra(S)===d&&(N=new N(m,o+"enter",D,a,S),N.target=v,N.relatedTarget=il,p=N),il=p,b&&D)t:{for(N=b,m=D,o=0,v=N;v;v=be(v))o++;for(v=0,p=m;p;p=be(p))v++;for(;0<o-v;)N=be(N),o--;for(;0<v-o;)m=be(m),v--;for(;o--;){if(N===m||m!==null&&N===m.alternate)break t;N=be(N),m=be(m)}N=null}else N=null;b!==null&&Od(E,h,b,N,!1),D!==null&&il!==null&&Od(E,il,D,N,!0)}}l:{if(h=d?Re(d):window,b=h.nodeName&&h.nodeName.toLowerCase(),b==="select"||b==="input"&&h.type==="file")var T=Pf;else if(Ff(h))if(ls)T=pr;else{T=br;var C=gr}else b=h.nodeName,!b||b.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?d&&ii(d.elementType)&&(T=Pf):T=Sr;if(T&&(T=T(l,d))){If(E,T,a,S);break l}C&&C(l,h,d),l==="focusout"&&d&&h.type==="number"&&d.memoizedProps.value!=null&&ni(h,"number",h.value)}switch(C=d?Re(d):window,l){case"focusin":(Ff(C)||C.contentEditable==="true")&&($a=C,pi=d,Qe=null);break;case"focusout":Qe=pi=$a=null;break;case"mousedown":Ei=!0;break;case"contextmenu":case"mouseup":case"dragend":Ei=!1,fs(E,a,S);break;case"selectionchange":if(Ar)break;case"keydown":case"keyup":fs(E,a,S)}var U;if(yi)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 ka?kf(l,a)&&(H="onCompositionEnd"):l==="keydown"&&a.keyCode===229&&(H="onCompositionStart");H&&(Jf&&a.locale!=="ko"&&(ka||H!=="onCompositionStart"?H==="onCompositionEnd"&&ka&&(U=Qf()):(Ct=S,di="value"in Ct?Ct.value:Ct.textContent,ka=!0)),C=Un(d,H),0<C.length&&(H=new Lf(H,l,null,a,S),E.push({event:H,listeners:C}),U?H.data=U:(U=$f(a),U!==null&&(H.data=U)))),(U=rr?mr(l,a):vr(l,a))&&(H=Un(d,"onBeforeInput"),0<H.length&&(C=new Lf("onBeforeInput","beforeinput",null,a,S),E.push({event:C,listeners:H}),C.data=U)),nm(E,l,d,a,S)}Td(E,t)})}function hu(l,t,a){return{instance:l,listener:t,currentTarget:a}}function Un(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=Ne(l,a),u!=null&&e.unshift(hu(l,u,n)),u=Ne(l,t),u!=null&&e.push(hu(l,u,n))),l=l.return}return e}function be(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Od(l,t,a,e,u){for(var n=t._reactName,i=[];a!==null&&a!==e;){var c=a,f=c.alternate,d=c.stateNode;if(c=c.tag,f!==null&&f===e)break;c!==5&&c!==26&&c!==27||d===null||(f=d,u?(d=Ne(a,n),d!=null&&i.unshift(hu(a,d,f))):u||(d=Ne(a,n),d!=null&&i.push(hu(a,d,f)))),a=a.return}i.length!==0&&l.push({event:t,listeners:i})}var sm=/\r\n?/g,om=/\u0000|\uFFFD/g;function _d(l){return(typeof l=="string"?l:""+l).replace(sm,`
`).replace(om,"")}function Ud(l,t){return t=_d(t),_d(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":Yu(l,"class",e);break;case"tabIndex":Yu(l,"tabindex",e);break;case"dir":case"role":case"viewBox":case"width":case"height":Yu(l,a,e);break;case"style":Cf(l,e,n);break;case"data":if(t!=="object"){Yu(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":St(l,"http://www.w3.org/1999/xlink","xlink:actuate",e);break;case"xlinkArcrole":St(l,"http://www.w3.org/1999/xlink","xlink:arcrole",e);break;case"xlinkRole":St(l,"http://www.w3.org/1999/xlink","xlink:role",e);break;case"xlinkShow":St(l,"http://www.w3.org/1999/xlink","xlink:show",e);break;case"xlinkTitle":St(l,"http://www.w3.org/1999/xlink","xlink:title",e);break;case"xlinkType":St(l,"http://www.w3.org/1999/xlink","xlink:type",e);break;case"xmlBase":St(l,"http://www.w3.org/XML/1998/namespace","xml:base",e);break;case"xmlLang":St(l,"http://www.w3.org/XML/1998/namespace","xml:lang",e);break;case"xmlSpace":St(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 Lc(l,t,a,e,u,n){switch(a){case"style":Cf(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[xl]||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 Ml(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,d=null;for(e in a)if(a.hasOwnProperty(e)){var S=a[e];if(S!=null)switch(e){case"name":u=S;break;case"type":i=S;break;case"checked":f=S;break;case"defaultChecked":d=S;break;case"value":n=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(137,t));break;default:W(l,t,e,S,a,null)}}qf(l,n,c,f,d,i,u,!1),Cu(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)}jf(l,e,u,n),Cu(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<vu.length;e++)Q(vu[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(d in a)if(a.hasOwnProperty(d)&&(e=a[d],e!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:W(l,t,d,e,a,null)}return;default:if(ii(t)){for(S in a)a.hasOwnProperty(S)&&(e=a[S],e!==void 0&&Lc(l,t,S,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,d=null,S=null;for(b in a){var E=a[b];if(a.hasOwnProperty(b)&&E!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":f=E;default:e.hasOwnProperty(b)||W(l,t,b,null,e,E)}}for(var h in e){var b=e[h];if(E=a[h],e.hasOwnProperty(h)&&(b!=null||E!=null))switch(h){case"type":n=b;break;case"name":u=b;break;case"checked":d=b;break;case"defaultChecked":S=b;break;case"value":i=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(s(137,t));break;default:b!==E&&W(l,t,h,b,e,E)}}ui(l,i,c,f,d,S,n,u);return;case"select":b=i=c=h=null;for(n in a)if(f=a[n],a.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":b=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":h=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=b,h!=null?Ka(l,!!a,h,!1):!!e!=!!a&&(t!=null?Ka(l,!!a,t,!0):Ka(l,!!a,a?[]:"",!1));return;case"textarea":b=h=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":h=u;break;case"defaultValue":b=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,h,b);return;case"option":for(var D in a)if(h=a[D],a.hasOwnProperty(D)&&h!=null&&!e.hasOwnProperty(D))switch(D){case"selected":l.selected=!1;break;default:W(l,t,D,null,e,h)}for(f in e)if(h=e[f],b=a[f],e.hasOwnProperty(f)&&h!==b&&(h!=null||b!=null))switch(f){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:W(l,t,f,h,e,b)}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 N in a)h=a[N],a.hasOwnProperty(N)&&h!=null&&!e.hasOwnProperty(N)&&W(l,t,N,null,e,h);for(d in e)if(h=e[d],b=a[d],e.hasOwnProperty(d)&&h!==b&&(h!=null||b!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(s(137,t));break;default:W(l,t,d,h,e,b)}return;default:if(ii(t)){for(var il in a)h=a[il],a.hasOwnProperty(il)&&h!==void 0&&!e.hasOwnProperty(il)&&Lc(l,t,il,void 0,e,h);for(S in e)h=e[S],b=a[S],!e.hasOwnProperty(S)||h===b||h===void 0&&b===void 0||Lc(l,t,S,h,e,b);return}}for(var m in a)h=a[m],a.hasOwnProperty(m)&&h!=null&&!e.hasOwnProperty(m)&&W(l,t,m,null,e,h);for(E in e)h=e[E],b=a[E],!e.hasOwnProperty(E)||h===b||h==null&&b==null||W(l,t,E,h,e,b)}var Kc=null,Jc=null;function xn(l){return l.nodeType===9?l:l.ownerDocument}function Hd(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 xd(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 wc(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 Wc=null;function rm(){var l=window.event;return l&&l.type==="popstate"?l===Wc?!1:(Wc=l,!0):(Wc=null,!1)}var Rd=typeof setTimeout=="function"?setTimeout:void 0,mm=typeof clearTimeout=="function"?clearTimeout:void 0,Nd=typeof Promise=="function"?Promise:void 0,vm=typeof queueMicrotask=="function"?queueMicrotask:typeof Nd<"u"?function(l){return Nd.resolve(null).then(l).catch(hm)}:Rd;function hm(l){setTimeout(function(){throw l})}function kc(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),Au(t);return}e--}else a!=="$"&&a!=="$?"&&a!=="$!"||e++;a=u}while(a);Au(t)}function $c(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":$c(a),ei(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}l.removeChild(a)}}function ym(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[xe])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 gm(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 qd(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 Bd(l,t,a){switch(t=xn(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,jd=new Set;function Rn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.ownerDocument}var qt=V.d;V.d={f:bm,r:Sm,D:pm,C:Em,L:zm,m:Am,X:Tm,S:Mm,M:Dm};function bm(){var l=qt.f(),t=Mn();return l||t}function Sm(l){var t=Za(l);t!==null&&t.tag===5&&t.type==="form"?fo(t):qt.r(l)}var Se=typeof document>"u"?null:document;function Yd(l,t,a){var e=Se;if(e&&typeof t=="string"&&t){var u=Vl(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof a=="string"&&(u+='[crossorigin="'+a+'"]'),jd.has(u)||(jd.add(u),l={rel:l,crossOrigin:a,href:t},e.querySelector(u)===null&&(t=e.createElement("link"),Ml(t,"link",l),yl(t),e.head.appendChild(t)))}}function pm(l){qt.D(l),Yd("dns-prefetch",l,null)}function Em(l,t){qt.C(l,t),Yd("preconnect",l,t)}function zm(l,t,a){qt.L(l,t,a);var e=Se;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=pe(l);break;case"script":n=Ee(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(gu(n))||(t=e.createElement("link"),Ml(t,"link",l),yl(t),e.head.appendChild(t)))}}function Am(l,t){qt.m(l,t);var a=Se;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=Ee(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(gu(n)))return}e=a.createElement("link"),Ml(e,"link",l),yl(e),a.head.appendChild(e)}}}function Mm(l,t,a){qt.S(l,t,a);var e=Se;if(e&&l){var u=Va(e).hoistableStyles,n=pe(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))&&Fc(l,a);var f=i=e.createElement("link");yl(f),Ml(f,"link",l),f._p=new Promise(function(d,S){f.onload=d,f.onerror=S}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Nn(i,t,e)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Tm(l,t){qt.X(l,t);var a=Se;if(a&&l){var e=Va(a).hoistableScripts,u=Ee(l),n=e.get(u);n||(n=a.querySelector(gu(u)),n||(l=J({src:l,async:!0},t),(t=Pl.get(u))&&Ic(l,t),n=a.createElement("script"),yl(n),Ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Dm(l,t){qt.M(l,t);var a=Se;if(a&&l){var e=Va(a).hoistableScripts,u=Ee(l),n=e.get(u);n||(n=a.querySelector(gu(u)),n||(l=J({src:l,async:!0,type:"module"},t),(t=Pl.get(u))&&Ic(l,t),n=a.createElement("script"),yl(n),Ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},e.set(u,n))}}function Cd(l,t,a,e){var u=(u=Bt.current)?Rn(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=pe(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=pe(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||Om(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=Ee(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 pe(l){return'href="'+Vl(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function Gd(l){return J({},l,{"data-precedence":l.precedence,precedence:null})}function Om(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}),Ml(t,"link",a),yl(t),l.head.appendChild(t))}function Ee(l){return'[src="'+Vl(l)+'"]'}function gu(l){return"script[async]"+l}function Xd(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),Ml(e,"style",u),Nn(e,a.precedence,l),t.instance=e;case"stylesheet":u=pe(a.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,yl(n),n;e=Gd(a),(u=Pl.get(u))&&Fc(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}),Ml(n,"link",e),t.state.loading|=4,Nn(n,a.precedence,l),t.instance=n;case"script":return n=Ee(a.src),(u=l.querySelector(gu(n)))?(t.instance=u,yl(u),u):(e=a,(u=Pl.get(n))&&(e=J({},a),Ic(e,u)),l=l.ownerDocument||l,u=l.createElement("script"),yl(u),Ml(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,Nn(e,a.precedence,l));return t.instance}function Nn(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 Fc(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function Ic(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var qn=null;function Qd(l,t,a){if(qn===null){var e=new Map,u=qn=new Map;u.set(a,e)}else u=qn,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[xe]||n[Tl]||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 Zd(l,t,a){l=l.ownerDocument||l,l.head.insertBefore(a,t==="title"?l.querySelector("head > title"):null)}function _m(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 Vd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var bu=null;function Um(){}function Hm(l,t,a){if(bu===null)throw Error(s(475));var e=bu;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=pe(a.href),n=l.querySelector(yu(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(e.count++,e=Bn.bind(e),l.then(e,e)),t.state.loading|=4,t.instance=n,yl(n);return}n=l.ownerDocument||l,a=Gd(a),(u=Pl.get(u))&&Fc(a,u),n=n.createElement("link"),yl(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Ml(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=Bn.bind(e),l.addEventListener("load",t),l.addEventListener("error",t))}}function xm(){if(bu===null)throw Error(s(475));var l=bu;return l.stylesheets&&l.count===0&&Pc(l,l.stylesheets),0<l.count?function(t){var a=setTimeout(function(){if(l.stylesheets&&Pc(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 Bn(){if(this.count--,this.count===0){if(this.stylesheets)Pc(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var jn=null;function Pc(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,jn=new Map,t.forEach(Rm,l),jn=null,Bn.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=Bn.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 Su={$$typeof:El,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=ti(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ti(0),this.hiddenUpdates=ti(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 Ld(l,t,a,e,u,n,i,c,f,d,S,E){return l=new Nm(l,t,a,i,c,f,d,E),t=1,n===!0&&(t|=24),n=Fl(3,null,null,t),l.current=n,n.stateNode=l,t=xi(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:e,isDehydrated:a,cache:t},dc(n),l}function Kd(l){return l?(l=Pa,l):Pa}function Jd(l,t,a,e,u,n){u=Kd(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&&(Ul(a,l,t),au(a,l,t))}function wd(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var a=l.retryLane;l.retryLane=a!==0&&a<t?a:t}}function lf(l,t){wd(l,t),(l=l.alternate)&&wd(l,t)}function Wd(l){if(l.tag===13){var t=Gt(l,67108864);t!==null&&Ul(t,l,67108864),lf(l,67108864)}}var Yn=!0;function qm(l,t,a,e){var u=x.T;x.T=null;var n=V.p;try{V.p=2,tf(l,t,a,e)}finally{V.p=n,x.T=u}}function Bm(l,t,a,e){var u=x.T;x.T=null;var n=V.p;try{V.p=8,tf(l,t,a,e)}finally{V.p=n,x.T=u}}function tf(l,t,a,e){if(Yn){var u=af(e);if(u===null)Vc(l,t,e,Cn,a),$d(l,e);else if(Ym(u,l,t,a,e))e.stopPropagation();else if($d(l,e),t&4&&-1<jm.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=da(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-Bl(i);c.entanglements[1]|=f,i&=~f}vt(n),(al&6)===0&&(En=st()+500,mu(0))}}break;case 13:c=Gt(n,2),c!==null&&Ul(c,n,2),Mn(),lf(n,2)}if(n=af(e),n===null&&Vc(l,t,e,Cn,a),n===u)break;u=n}u!==null&&e.stopPropagation()}else Vc(l,t,e,null,a)}}function af(l){return l=fi(l),ef(l)}var Cn=null;function ef(l){if(Cn=null,l=ra(l),l!==null){var t=R(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 Cn=l,null}function kd(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 bf:return 2;case Sf:return 8;case Ru:case z0:return 32;case pf:return 268435456;default:return 32}default:return 32}}var uf=!1,la=null,ta=null,aa=null,pu=new Map,Eu=new Map,ea=[],jm="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 $d(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":pu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function zu(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&&Wd(t)),l):(l.eventSystemFlags|=e,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function Ym(l,t,a,e,u){switch(t){case"focusin":return la=zu(la,l,t,a,e,u),!0;case"dragenter":return ta=zu(ta,l,t,a,e,u),!0;case"mouseover":return aa=zu(aa,l,t,a,e,u),!0;case"pointerover":var n=u.pointerId;return pu.set(n,zu(pu.get(n)||null,l,t,a,e,u)),!0;case"gotpointercapture":return n=u.pointerId,Eu.set(n,zu(Eu.get(n)||null,l,t,a,e,u)),!0}return!1}function Fd(l){var t=ra(l.target);if(t!==null){var a=R(t);if(a!==null){if(t=a.tag,t===13){if(t=P(a),t!==null){l.blockedOn=t,x0(l.priority,function(){if(a.tag===13){var e=Xl(),u=Gt(a,e);u!==null&&Ul(u,a,e),lf(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 Gn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var a=af(l.nativeEvent);if(a===null){a=l.nativeEvent;var e=new a.constructor(a.type,a);ci=e,a.target.dispatchEvent(e),ci=null}else return t=Za(a),t!==null&&Wd(t),l.blockedOn=a,!1;t.shift()}return!0}function Id(l,t,a){Gn(l)&&a.delete(t)}function Cm(){uf=!1,la!==null&&Gn(la)&&(la=null),ta!==null&&Gn(ta)&&(ta=null),aa!==null&&Gn(aa)&&(aa=null),pu.forEach(Id),Eu.forEach(Id)}function Xn(l,t){l.blockedOn===t&&(l.blockedOn=null,uf||(uf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Cm)))}var Qn=null;function Pd(l){Qn!==l&&(Qn=l,r.unstable_scheduleCallback(r.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(ef(e||a)===null)continue;break}var n=Za(a);n!==null&&(l.splice(t,3),t-=3,wi(n,{pending:!0,data:u,method:a.method,action:e},e,u))}}))}function Au(l){function t(f){return Xn(f,l)}la!==null&&Xn(la,l),ta!==null&&Xn(ta,l),aa!==null&&Xn(aa,l),pu.forEach(t),Eu.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);)Fd(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[xl]||null;if(typeof n=="function")i||Pd(a);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[xl]||null)c=i.formAction;else if(ef(u)!==null)continue}else c=i.action;typeof c=="function"?a[e+1]=c:(a.splice(e,3),e-=3),Pd(a)}}}function nf(l){this._internalRoot=l}Zn.prototype.render=nf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,e=Xl();Jd(a,e,l,t,null,null)},Zn.prototype.unmount=nf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;l.tag===0&&ye(),Jd(l.current,2,null,l,null,null),Mn(),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&&Fd(l)}};var l0=g.version;if(l0!=="19.0.0")throw Error(s(527,l0,"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=Ca(t),l=l!==null?oa(l):null,l=l===null?null:l.stateNode,l};var Gm={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:x,findFiberByHostInstance:ra,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vn.isDisabled&&Vn.supportsFiber)try{_e=Vn.inject(Gm),ql=Vn}catch{}}return Mu.createRoot=function(l,t){if(!z(l))throw Error(s(299));var a=!1,e="",u=go,n=bo,i=So,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=Ld(l,1,!1,null,null,a,e,u,n,i,c,null),l[Qa]=t.current,Zc(l.nodeType===8?l.parentNode:l),new nf(t)},Mu.hydrateRoot=function(l,t,a){if(!z(l))throw Error(s(299));var e=!1,u="",n=go,i=bo,c=So,f=null,d=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&&(d=a.formState)),t=Ld(l,1,!0,t,a??null,e,u,n,i,c,f,d),t.context=Kd(null),a=t.current,e=Xl(),u=Jt(e),u.callback=null,wt(a,u,e),t.current.lanes=e,He(t,e),vt(t),l[Qa]=t.current,Zc(l),new Zn(t)},Mu.version="19.0.0",Mu}var i0;function vv(){if(i0)return ff.exports;i0=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(g){console.error(g)}}return r(),ff.exports=mv(),ff.exports}var hv=vv();const yv=Lm(hv),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},Du=Me()(r=>({activeView:!0,setActiveView:g=>r(()=>{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=>r({activeHeader:g}),activeMenu:d0,setActiveMenu:g=>r(y=>{const s={...y.activeMenu,[g]:!y.activeMenu[g]};return ze("usePluginMenu","pluginMenu",[s]),{activeMenu:s}}),tema:"default",setTema:g=>r(()=>{ze("ThemeMenu","activeTheme",[g]);const y=document.querySelector("main");return y&&y.setAttribute("theme-active",String(g)),{tema:g}}),chatsIA:!1,setChatsIA:g=>r(()=>(ze("chatsIA","state",[g]),{chatsIA:g}))}));(async()=>{let r=!0;const g=localStorage.getItem("active-view-menu");g&&g=="false"&&(r=!1);let y=d0;const s=await Tu("usePluginMenu","pluginMenu");s&&s[0]&&s[0][0]&&(y=s[0][0]);let z="default";const A=await Tu("ThemeMenu","activeTheme");A&&A[0]&&A[0][0]&&(z=A[0][0]);let _=!0;const q=await Tu("chatsIA","state");q&&q[0]&&typeof q[0][0]=="boolean"&&(_=q[0][0]),Du.setState({activeView:r,activeMenu:y,tema:z,chatsIA:_})})();const gv=()=>{const{setActiveView:r,setActiveHeader:g}=Du.getState();Hl.getState().getSeletor("whatsModal",y=>{new MutationObserver(z=>{for(const A of z)A.type==="childList"&&(A.addedNodes.length>0&&(r(!1),g(!1)),A.removedNodes.length>0&&(r(!0),g(!0)))}).observe(y,{childList:!0})})},r0=I.createContext(void 0);function ah(){const r=I.useContext(r0);if(!r)throw new Error("Place PrivacityContext inside PrivacityProvider");return r}const c0={privacitySettings:!0};function bv({children:r}){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(c0.privacitySettings&&localStorage.getItem("privacityOptions")){let A=t0.decryptData(localStorage.getItem("privacityOptions"));s(A),c0.privacitySettings=!1}else{let A=t0.encryptData(y);localStorage.setItem("privacityOptions",A)}let z="";Object.entries(y).map(([A,_])=>{_.hide&&(z+=A+" ")}),z.length===0?document.body.removeAttribute("hide"):document.body.setAttribute("hide",z)},[y]),O.jsx(r0.Provider,{value:{privacityOptions:y,setPrivacityOptions:s},children:r})}const Sv=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9941.js")),[]));function pv(){return Du(g=>g.activeHeader)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Sv,{})})}async function Ev(r,g=1e4,y=void 0){try{return await Promise.race([r,new Promise(s=>setTimeout(()=>s(y),g))])}catch(s){return console.error("Erro em safeAwait:",s),y}}const zv=async r=>{try{const{randomIA:g}=it.getState().config;if(!g)return r;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 Wn.IA("text",{agente:"Random",question:r,context:y});return s.success?s.response:r}catch(g){return console.error("Error ao adicionar IA",g),r}},df=r=>{var g;try{const y=(g=it==null?void 0:it.getState())==null?void 0:g.chats[0];r=r.replaceAll("#primeiroNome",y.name.split(" ")[0]),r=r.replaceAll("#nomes",y.name),r=r.replaceAll("#nome",y.name);for(const s in y)s&&s.length>0&&y.hasOwnProperty(s)&&(r=r.replaceAll(`#${s}`,y[s]));return r}catch(y){return console.error("Erro ao adicionar a #tag do envio em massa",y),r}},Av=async()=>{const{acao:r}=qa.getState();return await Promise.all(r.map(async y=>{const s={...y};if(s.type==="txt"||s.type==="image"||s.type==="video"){const z={...s.propriedades};if(z.mensagem){const A=df(z.mensagem);z.mensagem=await zv(A)}s.propriedades=z}if(s.type==="linkPreview"){const z={...s.propriedades};z.description&&(z.description=df(z.description)),z.title&&(z.title=df(z.title)),s.propriedades=z}return s}))},Ln=(r,g)=>{const{statusEnvio:y,setStatusEnvio:s}=it.getState(),{updateRelatorio:z}=Im.getState(),A={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()};r?(A.status="Enviado",s({index:y.index+1,success:y.success+1,percent:Math.round((y.index+1)*100/y.total)})):(A.status="Erro",s({index:y.index+1,erro:y.erro+1,percent:Math.round((y.index+1)*100/y.total)})),it.setState(_=>({chats:_.chats.slice(1)})),z({id:y.id.toString(),send:[A]})};async function Mv(){const{chats:r,setInfo:g}=it.getState(),{assinatura:y}=Ou.getState(),{language:s}=hf.getState(),z=r[0];try{if(z.id==0){z.name="Whatsapp",Ln(!1,z);return}if(g(`${s.envMassaRemetente} ${z.name}`),z.imported&&await Ev(Wn.Contact("queryExists",a0(z.id)),7e3,"undefined")==="undefined"){Ln(!1,z);return}let A=await Fm(a0(z.id),await Av(),y,"useAcaoEnvioEmMassa");Ln(A,z)}catch(A){console.error("Erro ao tentar realizar o envio",A),Ln(!1,z)}}async function vf(){const{statusEnvio:r,config:g,chats:y,setChats:s,setInfo:z,updateIndexDB:A,setStatusEnvio:_,setActiveAgrupamento:q,setTimePause:B}=it.getState(),{clearAcao:X}=qa.getState(),{language:sl}=hf.getState();if(r.index%parseInt(g.pausa)==0&&r.index>0?(z(`${sl.envMassaPausa} ${g.tempoPausa} ${sl.segundos}`),await f0(parseInt(g.tempoPausa)*1e3)):(z(`${sl.envMassaIntervalo} ${g.intervalo} ${sl.segundos}`),await f0(parseInt(g.intervalo)*1e3)),await Mv(),A(),y[1]===void 0||r.estado==="Finalized"){q({name:"",color:""}),_({estado:"Finalized"}),s([]),_({estado:"Finalized"}),X(),z(sl.envMassaFinalized),A(!0);return}if(!Kn.getState().user.estado&&r.index>4){_({estado:"Paused",pause:!0}),z(sl.envMassaPaused),B(!1),rf({type:"Info",message:sl.envMassaNotLogin,position:"top-right"});return}switch(r.estado){case"Paused":case"Paused-Process":z(sl.envMassaPaused),B(!1);break;case"Canceled":A(!0),_({index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1}),z(""),q({name:"",color:""}),X();break;case"Atived":vf();break}}function f0(r){return new Promise(g=>setTimeout(g,r))}const it=Me()((r,g)=>({statusEnvio:{id:0,index:0,erro:0,success:0,total:0,percent:0,estado:"Finalized",pause:!1},setStatusEnvio:y=>r(s=>({statusEnvio:{...s.statusEnvio,...y}})),info:"",setInfo:y=>r({info:y}),chats:[],setChats:y=>r({chats:y}),activeAgrupamento:{name:"",color:""},setActiveAgrupamento:y=>r({activeAgrupamento:y}),send:!1,setSend:y=>r({send:y}),config:{intervalo:"10",pausa:"10",tempoPausa:"60",randomIA:!1},setConfig:(y,s)=>r(z=>({config:{...z.config,[y]:s}})),getVariaveis:()=>{const{chats:y}=g();let s=[];return y.forEach(z=>{Object.keys(z).forEach(A=>{if(!s.includes(A)){if(A==="labels"||A==="imported")return;A==="id"&&(A="numero"),A==="name"&&(A="nome",s.includes("primeiroNome")||s.push("primeiroNome")),s.includes(A)||s.push(A)}})}),s},cancelarEnvio:()=>{const{setStatusEnvio:y,setSend:s,setChats:z,updateIndexDB:A,setActiveAgrupamento:_}=g(),{clearAcao:q}=qa.getState(),{setActiveMenu:B}=Ou.getState();_({name:"",color:""}),z([]),y({estado:"Canceled"}),s(!1),B("Envio Rápido"),q(),A(!0)},timePause:!1,setTimePause:y=>r({timePause:y}),pausePlay:()=>{const{user:y}=Kn.getState(),{statusEnvio:s,setStatusEnvio:z,timePause:A,setTimePause:_}=g(),{openRendertype:q}=Pm.getState();if(!y.estado){q("user_free");return}A||(s.pause?(z({estado:"Atived",pause:!1}),vf()):(z({estado:"Paused",pause:!0}),_(!0)))},initDisparo:()=>{const{updateIndexDB:y,setSend:s,setStatusEnvio:z,chats:A}=g(),{language:_}=hf.getState(),{user:q}=Kn.getState();q.estado?rf({type:"Info",message:`${_.msg_info_janela}`,position:"top-right"}):(rf({type:"Info",message:`${_.msg_info_gratuito}`,position:"top-right"}),it.setState({chats:q.estado?A:A.slice(0,5)})),y(),z({id:Date.now(),estado:"Atived",index:0,erro:0,success:0,total:(q.estado?A:A.slice(0,5)).length,percent:0}),s(!0),vf()},updateIndexDB:(y=!1)=>{const{chats:s,config:z,statusEnvio:A}=g(),{acao:_}=qa.getState();y?ze("envioEmMassa","useCampanha",{}):ze("envioEmMassa","useCampanha",{chats:s,config:z,acao:_,statusEnvio:A})}}));(async()=>{var g,y;const r=await Tu("envioEmMassa","useCampanha");r[0]&&((y=(g=r[0])==null?void 0:g.chats)==null?void 0:y.length)>0&&(it.setState({chats:r[0].chats,config:r[0].config,statusEnvio:{...r[0].statusEnvio,estado:"Paused",pause:!0},send:!0,info:"Envio das mensagens Pausado"}),qa.setState({acao:r[0].acao}),Ou.getState().setActiveMenu("Enviar Campanha"))})();const Ou=Me()((r,g)=>({open:!1,setOpen:y=>{const{send:s}=it.getState(),{setActiveMenu:z}=g();z(y&&s?"Enviar Campanha":"Envio Rápido"),r({open:y})},activeMenu:"Envio Rápido",setActiveMenu:y=>r({activeMenu:y}),viewContatos:{isOpen:!1,type:"create",content:[]},setViewContatos:y=>r({viewContatos:y}),setAcaoEnvioEmMassa:y=>{const{acao:s}=qa.getState(),{getAction:z}=lv.getState();let A=[];const _=q=>{let B=[];for(let X of z(q))B.push({...X,id:Qm()});A.push(...B)};if(y.type==="script")for(let q of y.script)_(q.id);else _(y.id);qa.setState({acao:[...s,...A]})},assinatura:{desativar:!1,personalizar:!1,nome:""},setAssinatura:(y,s)=>r(z=>{let A=z.assinatura;return y==="desativar"&&s?A={...z.assinatura,desativar:!0,personalizar:!1}:y==="personalizar"&&s?A={...z.assinatura,personalizar:!0,desativar:!1}:A={...z.assinatura,[y]:s},ze("envioEmMassa-assinatura","assinatura",[A]),{assinatura:A}})}));(async()=>{const r=await Tu("envioEmMassa-assinatura","assinatura");r&&r[0]&&r[0][0]&&Ou.setState({assinatura:r[0][0]})})();const Tv=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9942.js")),[]));function Dv(){const{open:r}=Ou();return r&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Tv,{})})}const Ov=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9943.js")),[]));function _v(){return O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Ov,{})})}const m0=document.createElement("section");m0.setAttribute("data-id","ChatName");const v0=document.createElement("section");v0.setAttribute("data-id","MenuVertical");const h0=document.createElement("section");h0.setAttribute("data-id","MenuHorizontal");const y0=document.createElement("section");y0.setAttribute("data-id","ActionMonitor");const Jn=document.createElement("section");Jn.setAttribute("data-id","AssistenteDeChat");const kn=document.createElement("section");kn.setAttribute("data-id","FooterIconsLeft");kn.setAttribute("style","display: contents;");const yf=document.createElement("section");yf.setAttribute("data-id","FooterIconsRight");const wn=document.createElement("section");wn.setAttribute("data-id","MenuFooter");const gf=document.createElement("section");gf.setAttribute("data-id","RespostaRapida");const Uv=[{father:()=>Hl.getState().getSeletor("chatName"),children:m0,type:"insert",renderInblockChat:!0,renderInLid:!1},{father:()=>Hl.getState().getSeletor("menuVertical"),children:v0,type:"prepend",renderInblockChat:!0,renderInLid:!1},{father:()=>Hl.getState().getSeletor("menuHorizontal"),children:h0,type:"prepend",renderInblockChat:!0,renderInLid:!0},{father:()=>Hl.getState().getSeletor("menuFooter"),children:wn,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>Hl.getState().getSeletor("respostaRapida"),children:gf,type:"appendChild",renderInblockChat:!1,renderInLid:!0},{father:()=>Hl.getState().getSeletor("assistenteChat"),children:Jn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>Hl.getState().getSeletor("actionMonitor"),children:y0,type:"insertAdjacentElement",renderInblockChat:!1,renderInLid:!0},{father:()=>Hl.getState().getSeletor("footerIconsLeft"),children:kn,type:"prepend",renderInblockChat:!1,renderInLid:!0},{father:()=>Hl.getState().getSeletor("respostaRapida"),children:yf,type:"appendChild",renderInblockChat:!1,renderInLid:!0}];s0.subscribe(r=>{const{getSeletor:g}=Hl.getState(),{isNewModel:y}=tv.getState();Uv.map(({father:_,children:q,type:B,renderInblockChat:X,renderInLid:sl})=>{var pl,el,El;if(!((!r.activeChat||!r.activeChat.canSend)&&!X)&&!(!sl&&r.activeChat.id.server==="@lid"))switch(B){case"prepend":(pl=_())==null||pl.prepend(q);break;case"insert":let Ol=_();Ol&&(Ol.innerHTML="",Ol.prepend(q));break;case"insertAdjacentElement":(el=_())==null||el.insertAdjacentElement("afterend",q);break;case"appendChild":default:(El=_())==null||El.appendChild(q);break}});const s=()=>{y||g("mainAudio",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&g("menuFooter",X=>{X.appendChild(wn)})}).observe(_,{childList:!0})})};s(),y?(()=>{g("observerFooterNewModel",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&(g("respostaRapida",X=>{X.appendChild(yf)}),g("footerIconsLeft",X=>{X.prepend(kn)}),g("assistenteChat",X=>{X.prepend(Jn)}))}).observe(_,{childList:!0})})})():(()=>{g("observerFooter",_=>{new MutationObserver(B=>{B[0].removedNodes.length!==0&&(g("menuFooter",X=>{X.appendChild(wn)}),g("respostaRapida",X=>{X.appendChild(gf)}),g("assistenteChat",X=>{X.prepend(Jn)}),s())}).observe(_,{childList:!0})})})()});const Hv=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9944.js")),[]));function xv(){return s0(g=>g.activeChat)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Hv,{})})}const g0=document.createElement("section");g0.setAttribute("data-id","MenuLateral");g0.setAttribute("render-mode","window");const Rv=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9945.js")),[]));function Nv(){const r=cf(s=>s.menuContent),g=cf(s=>s.isOpen),y=cf(s=>s.isThree);return r.children!=="close"&&!y&&g&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(Rv,{})})}const qv=I.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9946.js")).then(r=>r.i),[]));function Bv(){return Du(g=>g.activeView)&&O.jsx(I.Suspense,{fallback:O.jsx(O.Fragment,{}),children:O.jsx(qv,{})})}const b0=Me(r=>({modalExterno:null,zIndex:900,btnClose:!1,auxFunc:{mounted:null,desmouted:null},open:(g,y=900,s=!1,z={mounted:null,desmouted:null})=>{z.mounted&&z.mounted(),r(()=>({modalExterno:g,zIndex:y,btnClose:s,auxFunc:z}))},close:()=>r(g=>(g.auxFunc.desmouted&&g.auxFunc.desmouted(),{modalExterno:null})),openRendertype:(g,y=900,s=!1,z={mounted:null,desmouted:null})=>{let A;switch(g){case"Active_IA":A=O.jsx(av,{});break}b0.getState().open(A,y,s,z)}}));function jv(){const{modalExterno:r,btnClose:g,close:y,zIndex:s}=b0(),z=I.useRef(null),A=I.useRef(null);return I.useEffect(()=>{const _=q=>{const B=document.querySelector(".iziToast-wrapper"),X=document.querySelector('section[data-id="Modal Options"]'),sl=document.querySelector('section[data-id="Modal"]');g&&z.current&&!A.current.contains(q.target)&&(!B||!B.contains(q.target))&&!X&&!sl&&y()};return r&&document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[r]),r&&O.jsx("section",{"data-id":"Modal Externo",children:O.jsx("dialog",{id:"my_modal_5",ref:z,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:A,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(o0,{className:"w-full h-full text-[var(--primary-strong)]"})}),O.jsx("div",{className:"w-full h-full",children:r})]})})})}const Yv=Me()(r=>({modal:null,btnClose:!0,auxFunc:{mounted:null,desmouted:null},open:(g,y=!0,s={mounted:null,desmouted:null})=>r(()=>(s.mounted&&s.mounted(),{modal:g,btnClose:y,auxFunc:s})),close:()=>r(g=>(g.auxFunc.desmouted&&g.auxFunc.desmouted(),{modal:null}))}));function Cv(){const{modal:r,btnClose:g,close:y}=Yv(),s=I.useRef(null),z=I.useRef(null);return I.useLayoutEffect(()=>{const A=_=>{const q=document.querySelector(".iziToast-wrapper"),B=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&&!z.current.contains(_.target)&&(!q||!q.contains(_.target))&&!B&&!X&&!sl&&y()};return r&&document.addEventListener("mousedown",A),()=>{document.removeEventListener("mousedown",A)}},[r]),r&&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:z,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(o0,{className:"w-full h-full text-[var(--primary-strong)]"})}):void 0,O.jsx("div",{className:"w-full h-full",children:r})]})})})}const Gv=Me()(r=>({isHover:!1,content:"",options:{},referenceElement:null,style:{},open:(g,y,s,z={})=>r(()=>({isHover:!0,content:g,referenceElement:s,options:y,style:z})),close:()=>r(()=>({isHover:!1,content:"",referenceElement:null,options:{},style:{}}))}));function Xv(){const{isHover:r,content:g,referenceElement:y,options:s,style:z}=Gv(),A=I.useRef(null),{refs:_,floatingStyles:q,context:B}=wm({...s,middleware:[km(10),$m({element:A})]});return I.useEffect(()=>{y&&_.setReference(y)},[y,_]),r&&O.jsx("section",{"data-id":"Tooltip",children:O.jsx("div",{ref:_.setFloating,className:"z-[9999999]",style:{...q,...z},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:A,context:B,className:"fill-[var(--primaria)] w-3 h-3"}),O.jsx("div",{className:"text-[var(--letra)] p-[6px]",children:g})," "]})})})}const Qv=()=>{if(document.getElementById("piracy-overlay"))return;const r=document.createElement("style");r.id="piracy-styles",r.textContent=`
      @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
      }
  
      .piracy-overlay {
        position: fixed;
        inset: 0;
        background: #18181B;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        font-family: 'Inter', sans-serif;
        backdrop-filter: blur(8px);
        padding: 20px;
      }
  
      .piracy-modal {
        background: #09090B;
        color: #fff;
        border-radius: 20px;
        padding: 40px;
        max-width: 480px;
        width: 100%;
        max-height: 90vh;   
        overflow-y: auto; 
        animation: fadeIn 0.5s ease-out;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        gap: 28px;
        border: 1px solid #2c2c2e;
      }
  
      .piracy-icon {
        font-size: 64px;
        align-self: center;
        color: #f1c40f;
        margin-bottom: 4px;
      }
  
      .piracy-title {
        font-size: 30px;
        text-align: center;
        color: #ff4d4f;
        font-weight: 800;
        text-transform: uppercase;
        line-height: 1.1;
        margin-bottom: -8px;
      }
  
      .piracy-subtitle {
        font-size: 16px;
        text-align: center;
        color: #ffa502;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 8px;
      }
  
      .piracy-text {
        font-size: 15px;
        line-height: 1.7;
        color: #dcdde1;
        text-align: center;
      }
  
      .piracy-text p {
        margin: 0 0 16px 0;
      }
  
      .piracy-text p:last-child {
        margin-bottom: 0;
      }
  
      .piracy-text strong {
        color: #ff6b6b;
      }
  
      .piracy-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
        margin-top: 8px;
      }
  
      .piracy-btn-primary, .piracy-btn-secondary {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
  
      .piracy-btn-primary {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
      }
  
      .piracy-btn-primary:hover {
        background: linear-gradient(135deg, #059669, #047857);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
      }
  
      .piracy-btn-secondary {
        background: transparent;
        color: #f39c12;
        border: 2px solid #f39c12;
      }
  
      .piracy-btn-secondary:hover {
        background: #f39c12;
        color: #fff;
        transform: translateY(-2px);
      }
  
      .piracy-footer {
        font-size: 12px;
        color: #a4b0be;
        text-align: center;
        margin-top: 16px;
        line-height: 1.5;
      }
  
      .piracy-brand {
        color: #10b981;
        font-weight: 800;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
      }
  
      @media (max-width: 480px) {
        .piracy-modal {
          padding: 32px 24px;
          gap: 24px;
        }
        .piracy-title {
          font-size: 24px;
        }
        .piracy-icon {
          font-size: 56px;
        }
        .piracy-buttons {
          flex-direction: column;
        }
        .piracy-btn-primary, .piracy-btn-secondary {
          width: 100%;
        }
      }
    `,document.head.appendChild(r);const g=`
      <div class="piracy-modal">
        <div class="piracy-icon">⚠️</div>
        <div class="piracy-title">Pirataria Detectada</div>
        <div class="piracy-subtitle">Extensão não oficial</div>
        <div class="piracy-text">
          <p><strong>Atenção:</strong> Esta extensão foi identificada como <strong>pirata</strong>.</p>
          <p>Ela pode conter <strong>malware</strong>, capturar seus dados ou comprometer sua segurança.</p>
          <p><strong>Crime:</strong> Violação de direitos autorais prevista na Lei 9.610/98.</p>
          <p>Evite riscos: use a versão oficial da Chrome Web Store.</p>
        </div>
        <div class="piracy-buttons">
          <button class="piracy-btn-primary" id="piracy-store-btn">Ir para versão oficial</button>
          <button class="piracy-btn-secondary" id="piracy-support-btn">Fale conosco</button>
        </div>
        <div class="piracy-footer">
          Proteja-se e use fontes oficiais. <br/>
          <span>waTidy</span> - Extensão Oficial
        </div>
      </div>
    `,y=document.createElement("div");y.className="piracy-overlay",y.id="piracy-overlay",y.innerHTML=g,y.addEventListener("click",s=>{const z=s.target;if(z){if(z.id==="piracy-store-btn")window.open("https://chromewebstore.google.com/detail/gjlfpggiddcminhebiejofeglfjmleli","_blank");else if(z.id==="piracy-support-btn"){const A=document.createElement("a");A.href="https://wa.me/553129424122?text=Ol%C3%A1%2C%20tudo%20bem%3F%20Notei%20que%20estou%20usando%20uma%20vers%C3%A3o%20n%C3%A3o%20oficial%20da%20extens%C3%A3o%20e%20gostaria%20de%20migrar%20para%20a%20vers%C3%A3o%20oficial.%20Podem%20me%20ajudar%20com%20isso%3F",A.target="_blank",A.rel="noreferrer",A.click()}}}),requestAnimationFrame(()=>{document.body.innerHTML="",document.body.appendChild(y)})},Zv=async()=>{const{label:r}=ev.getState(),{user:g}=Kn.getState(),{domSelector:y}=Hl.getState();if(y.update_path_active!=="true")return;const s={phone:(await Wn.Conn("getMyDeviceId")).user,chromeStoreID:chrome.runtime.id,checkout:r.checkout,painel_gestor:mf.painel_Gestor,backend:mf.backend,user_logado:g,nome:r.name,tutorial:r.tutorial,suporte_clientes:r.suporte_clientes,timeZone:uv()};(await ov.post(y.update_path,s,{headers:{"Content-Type":"application/json"}})).data.pt&&Qv()},Na=document.createElement("main");document.body.prepend(Na);Na.setAttribute("theme-active","default");Na.setAttribute("active-view-menu","true");const Vv=()=>{const{getSeletor:r}=Hl();return I.useLayoutEffect(()=>{r("afiliadoMain",g=>{Na.appendChild(g)}),(()=>{const g=document.querySelector("#app > div");if(!g)return;const y=()=>{const z=g.className.trim().split(/\s+/),A=z.indexOf("os-win");if(A!==-1){const _=z.slice(0,A+1).join(" ");g.className!==_&&(g.className=_)}};new MutationObserver(y).observe(g,{attributes:!0,attributeFilter:["class"]}),y()})()},[]),O.jsxs(bv,{children:[O.jsx(Vm,{}),O.jsx(iv,{}),O.jsx(cv,{}),O.jsx(sv,{}),O.jsx(fv,{}),O.jsx(jv,{}),O.jsx(Xv,{}),O.jsx(Cv,{}),O.jsx(Bv,{}),O.jsx(pv,{}),O.jsx(Dv,{}),O.jsx(_v,{}),O.jsx(xv,{}),O.jsx(Nv,{})]})};(async()=>{try{const g=await(await fetch(mf.domSelector)).json();Hl.setState({domSelector:g})}catch(r){console.error("Error ao tentar Capturar o Dom Selector virtual",r)}finally{const{getElement:r,domSelector:g}=Hl.getState();Zm(r("paneSide"),()=>{yv.createRoot(Na).render(O.jsx(Vv,{})),Na.setAttribute("active-assistente-chat",String(nv.getState().assistente.active)),Na.setAttribute("theme-active",String(Du.getState().tema)),gv(),Zv()}),Wn.DomSelector("set",g)}})();const eh=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{y0 as A,m0 as C,kn as F,v0 as M,gf as R,Ou as a,it as b,h0 as c,Jn as d,wn as e,yf as f,g0 as g,b0 as h,Du as i,Yv as j,ah as k,eh as m,Gv as u};
