specialist-agent 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ var e=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),t=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var ee=x.prototype=new b;ee.constructor=x,_(ee,y.prototype),ee.isPureReactComponent=!0;var te=Array.isArray;function ne(){}var S={H:null,A:null,T:null,S:null},re=Object.prototype.hasOwnProperty;function C(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ie(e,t){return C(e.type,t,e.props)}function ae(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function oe(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var se=/\/+/g;function ce(e,t){return typeof e==`object`&&e&&e.key!=null?oe(``+e.key):t.toString(36)}function le(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(ne,ne):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ue(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,ue(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ce(e,0):a,te(o)?(i=``,c!=null&&(i=c.replace(se,`$&/`)+`/`),ue(o,r,i,``,function(e){return e})):o!=null&&(ae(o)&&(o=ie(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(se,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(te(e))for(var u=0;u<e.length;u++)a=e[u],s=l+ce(a,u),c+=ue(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+ce(a,u++),c+=ue(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ue(le(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function de(e,t,n){if(e==null)return e;var r=[],i=0;return ue(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function fe(e){if(e._status===-1){var t=(0,e._result)();t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n,t.status===void 0&&(t.status=`fulfilled`,t.value=n))},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n,t.status===void 0&&(t.status=`rejected`,t.reason=n))}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var pe=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function me(e){var t=S.T,n={};n.types=t===null?null:t.types,S.T=n;try{var r=e(),i=S.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(ne,pe)}catch(e){pe(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),S.T=t}}function he(e){var t=S.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else me(he.bind(null,e))}var ge={map:de,forEach:function(e,t,n){de(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return de(e,function(){t++}),t},toArray:function(e){return de(e,function(e){return e})||[]},only:function(e){if(!ae(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ge,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},e.addTransitionType=he,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!re.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return C(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)re.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return C(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ae,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:fe}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=me,e.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},e.use=function(e){return S.H.use(e)},e.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},e.useCallback=function(e,t){return S.H.useCallback(e,t)},e.useContext=function(e){return S.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return S.H.useEffect(e,t)},e.useEffectEvent=function(e){return S.H.useEffectEvent(e)},e.useId=function(){return S.H.useId()},e.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return S.H.useMemo(e,t)},e.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},e.useRef=function(e){return S.H.useRef(e)},e.useState=function(e){return S.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return S.H.useTransition()},e.version=`19.3.1`})),n=e(((e,n)=>{n.exports=t()})),r=e((e=>{function t(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,ee||(ee=!0,ie());else{var t=n(l);t!==null&&se(x,t.startTime-e)}}}var ee=!1,te=-1,ne=5,S=-1;function re(){return g?!0:!(e.unstable_now()-S<ne)}function C(){if(g=!1,ee){var t=e.unstable_now();S=t;var i=!0;try{e:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{t:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&re());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break t}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&se(x,u.startTime-t),i=!1}}break e}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ie():ee=!1}}}var ie;if(typeof y==`function`)ie=function(){y(C)};else if(typeof MessageChannel<`u`){var ae=new MessageChannel,oe=ae.port2;ae.port1.onmessage=C,ie=function(){oe.postMessage(null)}}else ie=function(){_(C,0)};function se(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,se(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,ie()))),r},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),i=e(((e,t)=>{t.exports=r()})),a=e((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`),s=Symbol.for(`react.recoverable`),c=Symbol.for(`react.optimistic_key`);function l(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:r===c?c:``+r,children:e,containerInfo:t,implementation:n}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.browser=function(e){return{$$typeof:s,_reason:e}},e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return l(e,t,null,n)},e.flushSync=function(e){var t=u.T,n=a.p;try{if(u.T=null,a.p=2,e)return e()}finally{u.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=d(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??a.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=d(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else a.d.m(e)}},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},e.useFormStatus=function(){return u.H.useHostTransitionStatus()},e.version=`19.3.1`})),o=e(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=a()})),s=e((e=>{var t=i(),r=n(),a=o();function s(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function l(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function u(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function f(e){if(l(e)!==e)throw Error(s(188))}function p(e){var t=e.alternate;if(!t){if(t=l(e),t===null)throw Error(s(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return f(i),e;if(a===r)return f(i),t;a=a.sibling}throw Error(s(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,c=i.child;c;){if(c===n){o=!0,n=i,r=a;break}if(c===r){o=!0,r=i,n=a;break}c=c.sibling}if(!o){for(c=a.child;c;){if(c===n){o=!0,n=a,r=i;break}if(c===r){o=!0,r=a,n=i;break}c=c.sibling}if(!o)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}function h(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&h(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function _(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return n===null||y(t,e,n.child,{foundSelf:!1}),t}function y(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&y(e,t,n.child,r))return!0;n=n.sibling}return!1}function b(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var x=null,ee=null;function te(e,t,n){return e===n||e===t&&(x=e,!0)}function ne(e,t,n){return e===n?(ee=e,!1):e===t&&(ee!==null&&(x=e),!0)}function S(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function re(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var C=Object.assign,ie=Symbol.for(`react.element`),ae=Symbol.for(`react.transitional.element`),oe=Symbol.for(`react.portal`),se=Symbol.for(`react.fragment`),ce=Symbol.for(`react.strict_mode`),le=Symbol.for(`react.profiler`),ue=Symbol.for(`react.consumer`),de=Symbol.for(`react.context`),fe=Symbol.for(`react.forward_ref`),pe=Symbol.for(`react.suspense`),me=Symbol.for(`react.suspense_list`),he=Symbol.for(`react.memo`),ge=Symbol.for(`react.lazy`),_e=Symbol.for(`react.activity`),ve=Symbol.for(`react.legacy_hidden`),ye=Symbol.for(`react.memo_cache_sentinel`),be=Symbol.for(`react.view_transition`),xe=Symbol.for(`react.recoverable`),Se=Symbol.iterator;function Ce(e){return typeof e!=`object`||!e?null:(e=Se&&e[Se]||e[`@@iterator`],typeof e==`function`?e:null)}var we=Symbol.for(`react.client.reference`);function Te(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===we?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case se:return`Fragment`;case le:return`Profiler`;case ce:return`StrictMode`;case pe:return`Suspense`;case me:return`SuspenseList`;case _e:return`Activity`;case be:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case oe:return`Portal`;case de:return e.displayName||`Context`;case ue:return(e._context.displayName||`Context`)+`.Consumer`;case fe:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case he:return t=e.displayName||null,t===null?Te(e.type)||`Memo`:t;case ge:t=e._payload,e=e._init;try{return Te(e(t))}catch{}}return null}var Ee=Array.isArray,w=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,De={pending:!1,data:null,method:null,action:null},Oe=[],ke=-1;function Ae(e){return{current:e}}function je(e){0>ke||(e.current=Oe[ke],Oe[ke]=null,ke--)}function E(e,t){ke++,Oe[ke]=e.current,e.current=t}var Me=Ae(null),Ne=Ae(null),Pe=Ae(null),Fe=Ae(null);function Ie(e,t){switch(E(Pe,t),E(Ne,e),E(Me,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?up(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=up(t),e=dp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}je(Me),E(Me,e)}function Le(){je(Me),je(Ne),je(Pe)}function Re(e){var t=e.memoizedState;t!==null&&(sh._currentValue=t.memoizedState,E(Fe,e)),t=Me.current;var n=dp(t,e.type);t!==n&&(E(Ne,e),E(Me,n))}function ze(e){Ne.current===e&&(je(Me),je(Ne)),Fe.current===e&&(je(Fe),sh._currentValue=De)}var Be,Ve;function He(e){if(Be===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Be=t&&t[1]||``,Ve=-1<e.stack.indexOf(`
2
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3
+ `+Be+e+Ve}var Ue=!1;function We(e,t){if(!e||Ue)return``;Ue=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4
+ `),l=s.split(`
5
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
6
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ue=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?He(n):``}function Ge(e,t){switch(e.tag){case 26:case 27:case 5:return He(e.type);case 16:return He(`Lazy`);case 13:return e.child!==t&&t!==null?He(`Suspense Fallback`):He(`Suspense`);case 19:return He(`SuspenseList`);case 0:case 15:return We(e.type,!1);case 11:return We(e.type.render,!1);case 1:return We(e.type,!0);case 31:return He(`Activity`);case 30:return He(`ViewTransition`);default:return``}}function Ke(e){try{var t=``,n=null;do t+=Ge(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
7
+ Error generating stack: `+e.message+`
8
+ `+e.stack}}var qe=Object.prototype.hasOwnProperty,Je=t.unstable_scheduleCallback,Ye=t.unstable_cancelCallback,Xe=t.unstable_shouldYield,Ze=t.unstable_requestPaint,Qe=t.unstable_now,$e=t.unstable_getCurrentPriorityLevel,et=t.unstable_ImmediatePriority,tt=t.unstable_UserBlockingPriority,nt=t.unstable_NormalPriority,rt=t.unstable_LowPriority,it=t.unstable_IdlePriority,at=t.log,ot=t.unstable_setDisableYieldValue,st=null,ct=null;function lt(e){if(typeof at==`function`&&ot(e),ct&&typeof ct.setStrictMode==`function`)try{ct.setStrictMode(st,e)}catch{}}var ut=Math.clz32?Math.clz32:pt,dt=Math.log,ft=Math.LN2;function pt(e){return e>>>=0,e===0?32:31-(dt(e)/ft|0)|0}var mt=256,D=262144,ht=4194304;function gt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 0x8000000:return 0x8000000;case 268435456:return 268435456;case 536870912:return 536870912;case 0x40000000:return 0;default:return e}}function _t(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&0x7ffffff;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=gt(n))):i=gt(o):i=gt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=gt(n))):i=gt(o)):i=gt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function vt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function yt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-ut(n),i=1<<r;t|=e[r],n&=~i}return t}function bt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function xt(){var e=ht;return ht<<=1,!(ht&62914560)&&(ht=4194304),e}function St(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ct(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function wt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-ut(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Tt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Tt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ut(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|0x40000000|n&261930}function Et(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ut(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Dt(e,t){var n=t&-t;return n=n&42?1:Ot(n),(n&(e.suspendedLanes|t))===0?n:0}function Ot(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=0x8000000;break;default:e=0}return e}function kt(e){return e&=-e,2<e?8<e?e&0x7ffffff?32:268435456:8:2}function At(){var e=T.p;return e===0?(e=window.event,e===void 0?32:Ch(e.type)):e}function jt(e,t){var n=T.p;try{return T.p=e,t()}finally{T.p=n}}var Mt=Math.random().toString(36).slice(2),Nt=`__reactFiber$`+Mt,Pt=`__reactProps$`+Mt,Ft=`__reactContainer$`+Mt,It=`__reactEvents$`+Mt,Lt=`__reactListeners$`+Mt,Rt=`__reactHandles$`+Mt,zt=`__reactResources$`+Mt,Bt=`__reactMarker$`+Mt,Vt=`__reactLoad$`+Mt;function Ht(e){delete e[Nt],delete e[Pt],delete e[Lt],delete e[Rt]}function Ut(e){var t;if(t=e[Nt])return t;for(var n=e.parentNode;n;){if(t=n[Ft]||n[Nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=fm(e);e!==null;){if(n=e[Nt])return n;e=fm(e)}return t}e=n,n=e.parentNode}return null}function Wt(e){if(e=e[Nt]||e[Ft]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Gt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Kt(e){var t=e[zt];return t||=e[zt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function qt(e){e[Bt]=!0}function Jt(e){e[Vt]=void 0}var Yt=new Set,Xt={};function Zt(e,t){Qt(e,t),Qt(e+`Capture`,t)}function Qt(e,t){for(Xt[e]=t,e=0;e<t.length;e++)Yt.add(t[e])}var $t=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]*$`),en={},tn={};function nn(e){return qe.call(tn,e)?!0:qe.call(en,e)?!1:$t.test(e)?tn[e]=!0:(en[e]=!0,!1)}var O=!1;function rn(){var e=O;return O=!1,e}function an(e,t,n){if(nn(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function on(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function sn(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function cn(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:case`object`:return e;default:return``}}function ln(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function un(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dn(e){if(!e._valueTracker){var t=ln(e)?`checked`:`value`;e._valueTracker=un(e,t,``+e[t])}}function fn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ln(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var pn=/[\n"\\]/g;function mn(e){return e.replace(pn,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function hn(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+cn(t)):e.value!==``+cn(t)&&(e.value=``+cn(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):_n(e,cn(n)):o===`number`&&e.value==t?_n(e,cn(e.value)):_n(e,cn(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+cn(s):e.removeAttribute(`name`)}function gn(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){dn(e);return}n=n==null?``:``+cn(n),t=t==null?n:``+cn(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),dn(e)}function _n(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function vn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+cn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yn(e,t,n){t!=null&&(t=``+cn(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+cn(n)}function bn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(s(92));if(Ee(r)){if(1<r.length)throw Error(s(93));r=r[0]}n=r}n??=``,t=n}n=cn(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),dn(e)}function xn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Sn=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 Cn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Sn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function wn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(s(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,O=!0);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&(Cn(e,i,r),O=!0)}else for(var a in t)t.hasOwnProperty(a)&&Cn(e,a,t[a])}function Tn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var En=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`],[`maskType`,`mask-type`],[`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`]]),k=/^[\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 Dn(e){return k.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function On(){}var kn=null;function An(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var A=null,j=null;function jn(e){var t=Wt(e);if(t&&(e=t.stateNode)){var n=e[Pt]||null;switch(e=t.stateNode,t.type){case`input`:if(hn(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+mn(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Pt]||null;if(!i)throw Error(s(90));hn(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&fn(r)}break;case`textarea`:yn(e,n.value,n.defaultValue);break;case`select`:t=n.value,t!=null&&vn(e,!!n.multiple,t,!1)}}}var Mn=!1;function M(e,t,n){if(Mn)return e(t,n);Mn=!0;try{return e(t)}finally{if(Mn=!1,(A!==null||j!==null)&&(zd(),A&&(t=A,e=j,j=A=null,jn(t),e)))for(t=0;t<e.length;t++)jn(e[t])}}function Nn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Pt]||null;if(r===null)return null;switch(n=r[t],t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(s(231,t,typeof n));return n}var Pn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Fn=!1;if(Pn)try{var In={};Object.defineProperty(In,"passive",{get:function(){Fn=!0}}),window.addEventListener(`test`,In,In),window.removeEventListener(`test`,In,In)}catch{Fn=!1}var N=null,Ln=null,Rn=null;function zn(){if(Rn)return Rn;var e,t=Ln,n=t.length,r,i=`value`in N?N.value:N.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Rn=i.slice(e,1<r?1-r:void 0)}function Bn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vn(){return!0}function Hn(){return!1}function Un(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Vn:Hn,this.isPropagationStopped=Hn,this}return C(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){},isPersistent:Vn}),t}var Wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gn=Un(Wn),Kn=C({},Wn,{view:0,detail:0}),qn=Un(Kn),P,Jn,Yn,Xn=C({},Kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:or,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Yn&&(Yn&&e.type===`mousemove`?(P=e.screenX-Yn.screenX,Jn=e.screenY-Yn.screenY):Jn=P=0,Yn=e),P)},movementY:function(e){return`movementY`in e?e.movementY:Jn}}),Zn=Un(Xn),Qn=Un(C({},Xn,{dataTransfer:0})),$n=Un(C({},Kn,{relatedTarget:0})),F=Un(C({},Wn,{animationName:0,elapsedTime:0,pseudoElement:0})),er=Un(C({},Wn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),tr=Un(C({},Wn,{data:0})),nr={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},rr={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`},ir={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ir[e])?!!t[e]:!1}function or(){return ar}var sr=Un(C({},Kn,{key:function(e){if(e.key){var t=nr[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Bn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?rr[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:or,charCode:function(e){return e.type===`keypress`?Bn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Bn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),cr=Un(C({},Xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),lr=Un(C({},Wn,{submitter:0})),ur=Un(C({},Kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:or})),dr=Un(C({},Wn,{propertyName:0,elapsedTime:0,pseudoElement:0})),fr=Un(C({},Xn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),pr=Un(C({},Wn,{newState:0,oldState:0,source:0})),mr=[9,13,27,32],hr=Pn&&`CompositionEvent`in window,gr=null;Pn&&`documentMode`in document&&(gr=document.documentMode);var _r=Pn&&`TextEvent`in window&&!gr,vr=Pn&&(!hr||gr&&8<gr&&11>=gr),yr=` `,br=!1;function xr(e,t){switch(e){case`keyup`:return mr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Sr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Cr=!1;function wr(e,t){switch(e){case`compositionend`:return Sr(t);case`keypress`:return t.which===32?(br=!0,yr):null;case`textInput`:return e=t.data,e===yr&&br?null:e;default:return null}}function Tr(e,t){if(Cr)return e===`compositionend`||!hr&&xr(e,t)?(e=zn(),Rn=Ln=N=null,Cr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return vr&&t.locale!==`ko`?null:t.data;default:return null}}var Er={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 Dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Er[e.type]:t===`textarea`}function Or(e,t,n,r){A?j?j.push(r):j=[r]:A=r,t=Jf(t,`onChange`),0<t.length&&(n=new Gn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var kr=null,Ar=null;function jr(e){Vf(e,0)}function Mr(e){if(fn(Gt(e)))return e}function Nr(e,t){if(e===`change`)return t}var Pr=!1;if(Pn){var Fr;if(Pn){var Ir=`oninput`in document;if(!Ir){var Lr=document.createElement(`div`);Lr.setAttribute(`oninput`,`return;`),Ir=typeof Lr.oninput==`function`}Fr=Ir}else Fr=!1;Pr=Fr&&(!document.documentMode||9<document.documentMode)}function Rr(){kr&&(kr.detachEvent(`onpropertychange`,zr),Ar=kr=null)}function zr(e){if(e.propertyName===`value`&&Mr(Ar)){var t=[];Or(t,Ar,e,An(e)),M(jr,t)}}function Br(e,t,n){e===`focusin`?(Rr(),kr=t,Ar=n,kr.attachEvent(`onpropertychange`,zr)):e===`focusout`&&Rr()}function Vr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Mr(Ar)}function Hr(e,t){if(e===`click`)return Mr(t)}function Ur(e,t){if(e===`input`||e===`change`)return Mr(t)}function Wr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var I=typeof Object.is==`function`?Object.is:Wr;function Gr(e,t){if(I(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!qe.call(t,i)||!I(e[i],t[i]))return!1}return!0}function Kr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function qr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jr(e,t){var n=qr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qr(n)}}function Yr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kr(e.document)}return t}function Zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Qr=Pn&&`documentMode`in document&&11>=document.documentMode,$r=null,ei=null,ti=null,ni=!1;function ri(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ni||$r==null||$r!==Kr(r)||(r=$r,`selectionStart`in r&&Zr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ti&&Gr(ti,r)||(ti=r,r=Jf(ei,`onSelect`),0<r.length&&(t=new Gn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=$r)))}function ii(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ai={animationend:ii(`Animation`,`AnimationEnd`),animationiteration:ii(`Animation`,`AnimationIteration`),animationstart:ii(`Animation`,`AnimationStart`),transitionrun:ii(`Transition`,`TransitionRun`),transitionstart:ii(`Transition`,`TransitionStart`),transitioncancel:ii(`Transition`,`TransitionCancel`),transitionend:ii(`Transition`,`TransitionEnd`)},oi={},si={};Pn&&(si=document.createElement(`div`).style,`AnimationEvent`in window||(delete ai.animationend.animation,delete ai.animationiteration.animation,delete ai.animationstart.animation),`TransitionEvent`in window||delete ai.transitionend.transition);function L(e){if(oi[e])return oi[e];if(!ai[e])return e;var t=ai[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in si)return oi[e]=t[n];return e}var ci=L(`animationend`),li=L(`animationiteration`),ui=L(`animationstart`),di=L(`transitionrun`),fi=L(`transitionstart`),pi=L(`transitioncancel`),mi=L(`transitionend`),hi=new Map,gi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);gi.push(`scrollEnd`);function _i(e,t){hi.set(e,t),Zt(t,[e])}var vi=0;function yi(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=bd.identifierPrefix;var n=vi++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function bi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Od;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function xi(e,t){return e=bi(e),t=bi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var Si=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Ci=[],wi=0,Ti=0;function Ei(){for(var e=wi,t=Ti=wi=0;t<e;){var n=Ci[t];Ci[t++]=null;var r=Ci[t];Ci[t++]=null;var i=Ci[t];Ci[t++]=null;var a=Ci[t];if(Ci[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Ai(n,i,a)}}function Di(e,t,n,r){Ci[wi++]=e,Ci[wi++]=t,Ci[wi++]=n,Ci[wi++]=r,Ti|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Oi(e,t,n,r){return Di(e,t,n,r),ji(e)}function ki(e,t){return Di(e,null,null,t),ji(e)}function Ai(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-ut(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ji(e){if(50<kd)throw kd=0,Ad=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Mi={};function Ni(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pi(e,t,n,r){return new Ni(e,t,n,r)}function Fi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ii(e,t){var n=e.alternate;return n===null?(n=Pi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&0x47f00000,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Li(e,t){e.flags&=0x47f00002;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ri(e,t,n,r,i,a){var o=0;if(r=e,typeof r==`function`)Fi(r)&&(o=1);else if(typeof r==`string`)o=qm(e,n,Me.current)?26:e===`html`||e===`head`||e===`body`?27:5;else e:switch(r){case _e:return e=Pi(31,n,t,i),e.elementType=_e,e.lanes=a,e;case se:return R(n.children,i,a,t);case ce:o=8,i|=24;break;case le:return e=Pi(12,n,t,i|2),e.elementType=le,e.lanes=a,e;case pe:return e=Pi(13,n,t,i),e.elementType=pe,e.lanes=a,e;case me:return e=Pi(19,n,t,i),e.elementType=me,e.lanes=a,e;case ve:case be:return e=i|32,e=Pi(30,n,t,e),e.elementType=be,e.lanes=a,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case de:o=10;break e;case ue:o=9;break e;case fe:o=11;break e;case he:o=14;break e;case ge:o=16,r=null;break e}o=29,n=Error(s(130,e===null?`null`:typeof e,``)),r=null}return t=Pi(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function R(e,t,n,r){return e=Pi(7,e,r,t),e.lanes=n,e}function zi(e,t,n){return e=Pi(6,e,null,t),e.lanes=n,e}function Bi(e){var t=Pi(18,null,null,0);return t.stateNode=e,t}function Vi(e,t,n){return t=Pi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Hi=new WeakMap;function Ui(e,t){if(typeof e==`object`&&e){var n=Hi.get(e);return n===void 0?(t={value:e,source:t,stack:Ke(t)},Hi.set(e,t),t):n}return{value:e,source:t,stack:Ke(t)}}var Wi=[],Gi=0,Ki=null,qi=0,Ji=[],Yi=0,Xi=null,z=1,Zi=``;function Qi(e,t){Wi[Gi++]=qi,Wi[Gi++]=Ki,Ki=e,qi=t}function $i(e,t,n){Ji[Yi++]=z,Ji[Yi++]=Zi,Ji[Yi++]=Xi,Xi=e;var r=z;e=Zi;var i=32-ut(r)-1;r&=~(1<<i),n+=1;var a=32-ut(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,z=1<<32-ut(t)+i|n<<i|r,Zi=a+e}else z=1<<a|n<<i|r,Zi=e}function ea(e){e.return!==null&&(Qi(e,1),$i(e,1,0))}function ta(e){for(;e===Ki;)Ki=Wi[--Gi],Wi[Gi]=null,qi=Wi[--Gi],Wi[Gi]=null;for(;e===Xi;)Xi=Ji[--Yi],Ji[Yi]=null,Zi=Ji[--Yi],Ji[Yi]=null,z=Ji[--Yi],Ji[Yi]=null}function na(e,t){Ji[Yi++]=z,Ji[Yi++]=Zi,Ji[Yi++]=Xi,z=t.id,Zi=t.overflow,Xi=e}var ra=null,B=null,V=!1,ia=null,H=!1,aa=Error(s(519));function oa(e){throw fa(Ui(Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),aa}function sa(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Nt]=e,t[Pt]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<zf.length;n++)Q(zf[n],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),gn(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),bn(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||ep(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=On),t=!0):t=!1,t||oa(e,!0)}function ca(e){for(ra=e.return;ra;)switch(ra.tag){case 5:case 31:case 13:H=!1;return;case 27:case 3:H=!0;return;default:ra=ra.return}}function la(e){if(e!==ra)return!1;if(!V)return ca(e),V=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||pp(e.type,e.memoizedProps)),n=!n),n&&B&&oa(e),ca(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(s(317));B=dm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(s(317));B=dm(e)}else t===27?(t=B,Sp(e.type)?(e=um,um=null,B=e):B=t):B=ra?lm(e.stateNode.nextSibling):null;return!0}function ua(){B=ra=null,V=!1}function da(){var e=ia;return e!==null&&(fd===null?fd=e:fd.push.apply(fd,e),ia=null),e}function fa(e){ia===null?ia=[e]:ia.push(e)}var pa=Ae(null),ma=null,ha=null;function ga(e,t,n){E(pa,t._currentValue),t._currentValue=n}function _a(e){e._currentValue=pa.current,je(pa)}function va(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ya(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;e:for(;a!==null;){var c=a;a=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),va(a.return,n,e),r||(o=null);break e}a=c.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(s(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),va(o,n,e),o=null}else i.tag===13&&i.memoizedState!==null&&i.memoizedState.dehydrated===null?(i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),va(i.return,n,e),o=i.child,o=o===null?null:o.sibling):o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function ba(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(s(387));if(o=o.memoizedProps,o!==null){var c=i.type;I(i.pendingProps.value,o.value)||(e===null?e=[c]:e.push(c))}}else if(i===Fe.current){if(o=i.alternate,o===null)throw Error(s(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[sh]:e.push(sh))}i=i.return}return e!==null&&ya(t,e,n,r),t.flags|=262144,e!==null}function xa(e){for(e=e.firstContext;e!==null;){if(!I(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Sa(e){ma=e,ha=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ca(e){return Ta(ma,e)}function wa(e,t){return ma===null&&Sa(e),Ta(e,t)}function Ta(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ha===null){if(e===null)throw Error(s(308));ha=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ha=ha.next=t;return n}var Ea=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Da=t.unstable_scheduleCallback,Oa=t.unstable_NormalPriority,ka={$$typeof:de,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Aa(){return{controller:new Ea,data:new Map,refCount:0}}function ja(e){e.refCount--,e.refCount===0&&Da(Oa,function(){e.controller.abort()})}function Ma(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var Na=null;function Pa(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Fa=null,Ia=0,La=0,Ra=null;function za(e,t){if(Fa===null){var n=Fa=[];Ia=0,La=Pf(),Ra={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Ia++,t.then(Ba,Ba),t}function Ba(){if(--Ia===0&&(Na=null,Fa!==null)){Ra!==null&&(Ra.status=`fulfilled`);var e=Fa;Fa=null,La=0,Ra=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Va(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Ha=w.S;w.S=function(e,t){if(hd=Qe(),typeof t==`object`&&t&&typeof t.then==`function`&&za(e,t),Na!==null)for(var n=bf;n!==null;)Ma(n,Na),n=n.next;if(n=e.types,n!==null){for(var r=bf;r!==null;)Ma(r,n),r=r.next;if(La!==0){r=Na,r===null&&(r=Na=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Ha!==null&&Ha(e,t)};var Ua=Ae(null);function Wa(){var e=Ua.current;return e===null?q.pooledCache:e}function Ga(e,t){t===null?E(Ua,Ua.current):E(Ua,t.pool)}function Ka(){var e=Wa();return e===null?null:{parent:ka._currentValue,pool:e}}var qa=Error(s(460)),Ja=Error(s(474)),Ya=Error(s(542)),Xa={then:function(){}};function Za(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Qa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(On,On),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,no(e),e===void 0&&!(`reason`in t)?Error(s(600)):e;default:if(typeof t.status==`string`)t.then(On,On);else{if(e=q,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,no(e),e}throw eo=t,qa}}function $a(e){try{return(0,e._init)(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(eo=e,qa):e}}var eo=null;function to(){if(eo===null)throw Error(s(459));var e=eo;return eo=null,e}function no(e){if(e===qa||e===Ya)throw Error(s(483))}var ro=null,io=0;function ao(e){var t=io;return io+=1,ro===null&&(ro=[]),Qa(ro,e,t)}function oo(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function so(e,t){throw t.$$typeof===ie?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function co(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=Ii(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=0x8000002,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=0x8000002),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=zi(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function l(e,t,n,r){var a=n.type;return a===se?(e=d(e,t,n.props.children,r,n.key),oo(e,n),e):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===ge&&$a(a)===t.type)?(t=i(t,n.props),oo(t,n),t.return=e,t):(t=Ri(n.type,n.key,n.props,null,e.mode,r),oo(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Vi(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,a){return t===null||t.tag!==7?(t=R(n,e.mode,r,a),t.return=e,t):(t=i(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=zi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case ae:return n=Ri(t.type,t.key,t.props,null,e.mode,n),oo(n,t),n.return=e,n;case oe:return t=Vi(t,e.mode,n),t.return=e,t;case ge:return t=$a(t),f(e,t,n)}if(Ee(t)||Ce(t))return t=R(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ao(t),n);if(t.$$typeof===de)return f(e,wa(e,t),n);so(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case ae:return n.key===i?l(e,t,n,r):null;case oe:return n.key===i?u(e,t,n,r):null;case ge:return n=$a(n),p(e,t,n,r)}if(Ee(n)||Ce(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ao(n),r);if(n.$$typeof===de)return p(e,t,wa(e,n),r);so(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case ae:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case oe:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ge:return r=$a(r),m(e,t,n,r,i)}if(Ee(r)||Ce(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,ao(r),i);if(r.$$typeof===de)return m(e,t,n,wa(t,r),i);so(t,r)}return null}function h(i,o,s,c){for(var l=null,u=null,d=o,h=o=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),o=a(_,o,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),V&&Qi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(o=a(d,o,h),u===null?l=d:u.sibling=d,u=d);return V&&Qi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),o=a(g,o,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),V&&Qi(i,h),l}function g(i,o,c,l){if(c==null)throw Error(s(151));for(var u=null,d=null,h=o,g=o=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),o=a(y,o,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),V&&Qi(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(o=a(v,o,g),d===null?u=v:d.sibling=v,d=v);return V&&Qi(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),o=a(v,o,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),V&&Qi(i,g),u}function _(e,r,a,c){if(typeof a==`object`&&a&&a.type===se&&a.key===null&&a.props.ref===void 0&&(a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case ae:e:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===se){if(r.tag===7){n(e,r.sibling),c=i(r,a.props.children),oo(c,a),c.return=e,e=c;break e}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ge&&$a(l)===r.type){n(e,r.sibling),c=i(r,a.props),oo(c,a),c.return=e,e=c;break e}n(e,r);break}t(e,r),r=r.sibling}a.type===se?(c=R(a.props.children,e.mode,c,a.key),oo(c,a),c.return=e,e=c):(c=Ri(a.type,a.key,a.props,null,e.mode,c),oo(c,a),c.return=e,e=c)}return o(e);case oe:e:{for(l=a.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),c=i(r,a.children||[]),c.return=e,e=c;break e}n(e,r);break}t(e,r),r=r.sibling}c=Vi(a,e.mode,c),c.return=e,e=c}return o(e);case ge:return a=$a(a),_(e,r,a,c)}if(Ee(a))return h(e,r,a,c);if(Ce(a)){if(l=Ce(a),typeof l!=`function`)throw Error(s(150));return a=l.call(a),g(e,r,a,c)}if(typeof a.then==`function`)return _(e,r,ao(a),c);if(a.$$typeof===de)return _(e,r,wa(e,a),c);so(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(a=``+a,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,a),c.return=e,e=c):(n(e,r),c=zi(a,e.mode,c),c.return=e,e=c),o(e)):n(e,r)}return function(e,t,n,r){try{io=0;var i=_(e,t,n,r);return ro=null,i}catch(t){if(t===qa||t===Ya)throw t;var a=Pi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var lo=co(!0),uo=co(!1),fo=!1;function po(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ho(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function go(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ji(e),Ai(e,null,n),t}return Di(e,r,t,n),ji(e)}function _o(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Et(e,n)}}function vo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var yo=!1;function bo(){if(yo){var e=Ra;if(e!==null)throw e}}function xo(e,t,n,r){yo=!1;var i=e.updateQueue;fo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===La&&(yo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break e;d=C({},d,f);break e;case 2:fo=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function So(e,t){if(typeof e!=`function`)throw Error(s(191,e));e.call(t)}function Co(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)So(n[e],t)}var wo=Ae(null),To=Ae(0);function Eo(e,t){e=id,E(To,e),E(wo,t),id=e|t.baseLanes}function Do(){E(To,id),E(wo,wo.current)}function Oo(){id=To.current,je(wo),je(To)}var ko=Ae(null),Ao=null;function jo(e){var t=e.alternate;E(Io,Io.current&1),E(ko,e),Ao===null&&(t===null||wo.current!==null||t.memoizedState!==null)&&(Ao=e)}function Mo(e){E(Io,Io.current),E(ko,e),Ao===null&&(Ao=e)}function No(e){e.tag===22?(E(Io,Io.current),E(ko,e),Ao===null&&(Ao=e)):Po()}function Po(){E(Io,Io.current),E(ko,ko.current)}function Fo(e){je(ko),Ao===e&&(Ao=null),je(Io)}var Io=Ae(0);function Lo(e,t){E(ko,ko.current),E(Io,t)}function Ro(e){je(Io),je(ko),Ao===e&&(Ao=null)}function zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||om(n)||sm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bo=0,U=null,W=null,Vo=null,Ho=!1,Uo=!1,Wo=!1,Go=0,Ko=0,qo=null,Jo=0;function Yo(){throw Error(s(321))}function Xo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!I(e[n],t[n]))return!1;return!0}function Zo(e,t,n,r,i,a){return Bo=a,U=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e===null||e.memoizedState===null?mc:hc,Wo=!1,a=n(r,i),Wo=!1,Uo&&(a=$o(t,n,r,i)),Qo(e),a}function Qo(e){w.H=pc;var t=W!==null&&W.next!==null;if(Bo=0,Vo=W=U=null,Ho=!1,Ko=0,qo=null,t)throw Error(s(300));e===null||Mc||(e=e.dependencies,e!==null&&xa(e)&&(Mc=!0))}function $o(e,t,n,r){U=e;var i=0;do{if(Uo&&(qo=null),Ko=0,Uo=!1,25<=i)throw Error(s(301));if(i+=1,Vo=W=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}w.H=gc,a=t(n,r)}while(Uo);return a}function es(){var e=w.H,t=e.useState()[0];return t=typeof t.then==`function`?ss(t):t,e=e.useState()[0],(W===null?null:W.memoizedState)!==e&&(U.flags|=1024),t}function ts(){var e=Go!==0;return Go=0,e}function ns(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function rs(e){if(Ho){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ho=!1}Bo=0,Vo=W=U=null,Uo=!1,Ko=Go=0,qo=null}function is(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vo===null?U.memoizedState=Vo=e:Vo=Vo.next=e,Vo}function as(){if(W===null){var e=U.alternate;e=e===null?null:e.memoizedState}else e=W.next;var t=Vo===null?U.memoizedState:Vo.next;if(t!==null)Vo=t,W=e;else{if(e===null)throw U.alternate===null?Error(s(467)):Error(s(310));W=e,e={memoizedState:W.memoizedState,baseState:W.baseState,baseQueue:W.baseQueue,queue:W.queue,next:null},Vo===null?U.memoizedState=Vo=e:Vo=Vo.next=e}return Vo}function os(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ss(e){var t=Ko;return Ko+=1,qo===null&&(qo=[]),e=Qa(qo,e,t),t=U,(Vo===null?t.memoizedState:Vo.next)===null&&(t=t.alternate,w.H=t===null||t.memoizedState===null?mc:hc),e}function cs(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ss(e);if(e.$$typeof===xe)return;if(e.$$typeof===de)return Ca(e)}throw Error(s(438,String(e)))}function ls(e){var t=null,n=U.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=U.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=os(),U.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ye;return t.index++,n}function us(e,t){return typeof t==`function`?t(e):t}function ds(e){return fs(as(),W,e)}function fs(e,t,n){var r=e.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var c=o=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Bo&f)===f:(Y&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===La&&(d=!0);else if((Bo&p)===p){u=u.next,p===La&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,o=a):l=l.next=f,U.lanes|=p,od|=p;f=u.action,Wo&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,o=a):l=l.next=p,U.lanes|=f,od|=f;u=u.next}while(u!==null&&u!==t);if(l===null?o=a:l.next=c,!I(a,e.memoizedState)&&(Mc=!0,d&&(n=Ra,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=l,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ps(e){var t=as(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);I(a,t.memoizedState)||(Mc=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ms(e,t,n){var r=U,i=as(),a=V;if(a){if(n===void 0)throw Error(s(407));n=n()}else n=t();var o=!I((W||i).memoizedState,n);if(o&&(i.memoizedState=n,Mc=!0),i=i.queue,zs(_s.bind(null,r,i,e),[e]),e=i.getSnapshot!==t||o||Vo!==null&&!!(Vo.memoizedState.tag&1),Ps(e?9:8,{destroy:void 0},gs.bind(null,r,i,n,t),null),e){if(r.flags|=2048,q===null)throw Error(s(349));a||Bo&127||hs(r,t,n)}return n}function hs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=U.updateQueue,t===null?(t=os(),U.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function gs(e,t,n,r){t.value=n,t.getSnapshot=r,vs(t)&&ys(e)}function _s(e,t,n){return n(function(){vs(t)&&ys(e)})}function vs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!I(e,n)}catch{return!0}}function ys(e){var t=ki(e,2);t!==null&&Pd(t,e,2)}function bs(e){var t=is();if(typeof e==`function`){var n=e;if(e=n(),Wo){lt(!0);try{n()}finally{lt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:e},t}function xs(e,t,n,r){return e.baseState=n,fs(e,W,typeof r==`function`?r:us)}function Ss(e,t,n,r,i){if(uc(e))throw Error(s(485));if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};w.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Cs(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Cs(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=w.T,o={};o.types=a===null?null:a.types,w.T=o;try{var s=n(i,r),c=w.S;c!==null&&c(o,s),ws(e,t,s)}catch(n){Es(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),w.T=a}}else try{a=n(i,r),ws(e,t,a)}catch(n){Es(e,t,n)}}function ws(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Ts(e,t,n)},function(n){return Es(e,t,n)}):Ts(e,t,n)}function Ts(e,t,n){t.status=`fulfilled`,t.value=n,Ds(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Cs(e,n)))}function Es(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ds(t),t=t.next;while(t!==r)}e.action=null}function Ds(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Os(e,t){return t}function ks(e,t){if(V){var n=q.formState;if(n!==null){e:{var r=U;if(V){if(B){t:{for(var i=B,a=H;i.nodeType!==8;)if(!a||(i=lm(i.nextSibling),i===null)){i=null;break t}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){B=lm(i.nextSibling),r=i.data===`F!`;break e}}oa(r)}r=!1}r&&(t=n[0])}}return n=is(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:t},n.queue=r,n=sc.bind(null,U,r),r.dispatch=n,r=bs(!1),a=lc.bind(null,U,!1,r.queue),r=is(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ss.bind(null,U,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function As(e){return js(as(),W,e)}function js(e,t,n){if(t=fs(e,t,Os)[0],e=ds(us)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ss(t)}catch(e){throw e===qa?Ya:e}else r=t;t=as();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(U.flags|=2048,Ps(9,{destroy:void 0},Ms.bind(null,i,n),null)),[r,a,e]}function Ms(e,t){e.action=t}function Ns(e){var t=as(),n=W;if(n!==null)return js(t,n,e);as(),t=t.memoizedState,n=as();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ps(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=U.updateQueue,t===null&&(t=os(),U.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fs(){return as().memoizedState}function Is(e,t,n,r){var i=is();U.flags|=e,i.memoizedState=Ps(1|t,{destroy:void 0},n,r===void 0?null:r)}function Ls(e,t,n,r){var i=as();r=r===void 0?null:r;var a=i.memoizedState.inst;W!==null&&r!==null&&Xo(r,W.memoizedState.deps)?i.memoizedState=Ps(t,a,n,r):(U.flags|=e,i.memoizedState=Ps(1|t,a,n,r))}function Rs(e,t){Is(8390656,8,e,t)}function zs(e,t){Ls(2048,8,e,t)}function Bs(e){U.flags|=4;var t=U.updateQueue;if(t===null)t=os(),U.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Vs(e){var t=as().memoizedState;return Bs({ref:t,nextImpl:e}),function(){if(K&2)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function Hs(e,t){return Ls(4,2,e,t)}function Us(e,t){return Ls(4,4,e,t)}function Ws(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gs(e,t,n){n=n==null?null:n.concat([e]),Ls(4,4,Ws.bind(null,t,e),n)}function Ks(){}function qs(e,t){var n=as();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Js(e,t){var n=as();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Xo(t,r[1]))return r[0];if(r=e(),Wo){lt(!0);try{e()}finally{lt(!1)}}return n.memoizedState=[r,t],r}function Ys(e,t,n){return n===void 0||Bo&0x40000000&&!(Y&261930)?e.memoizedState=t:(e.memoizedState=n,e=Md(),U.lanes|=e,od|=e,n)}function Xs(e,t,n,r){return I(n,t)?n:wo.current===null?!(Bo&106)||Bo&0x40000000&&!(Y&261930)?(Mc=!0,e.memoizedState=n):(e=Md(),U.lanes|=e,od|=e,t):(e=Ys(e,n,r),I(e,t)||(Mc=!0),e)}function Zs(e,t,n,r,i){var a=T.p;T.p=a!==0&&8>a?a:8;var o=w.T,s={};s.types=o===null?null:o.types,w.T=s,lc(e,!1,t,n);try{var c=i(),l=w.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?cc(e,t,Va(c,r),jd(e)):cc(e,t,r,jd(e))}catch(n){cc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{T.p=a,o!==null&&s.types!==null&&(o.types=s.types),w.T=o}}function Qs(){}function $s(e,t,n,r){if(e.tag!==5)throw Error(s(476));Zs(e,ec(e).queue,t,De,n===null?Qs:function(){return tc(e),n(r)})}function ec(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:De,baseState:De,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:De},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:us,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function tc(e){var t=ec(e);t.next===null&&(t=e.alternate.memoizedState),cc(e,t.next.queue,{},jd())}function nc(){return Ca(sh)}function rc(){return as().memoizedState}function ic(){return as().memoizedState}function ac(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=ho(n);var r=go(t,e,n);r!==null&&(Pd(r,t,n),_o(r,t,n)),t={cache:Aa()},e.payload=t;return}t=t.return}}function oc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uc(e)?dc(t,n):(n=Oi(e,t,n,r),n!==null&&(Pd(n,e,r),fc(n,t,r)))}function sc(e,t,n){cc(e,t,n,jd())}function cc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(uc(e))dc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,I(s,o))return Di(e,t,i,0),q===null&&Ei(),!1}catch{}if(n=Oi(e,t,i,r),n!==null)return Pd(n,e,r),fc(n,t,r),!0}return!1}function lc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},uc(e)){if(t)throw Error(s(479))}else t=Oi(e,n,r,2),t!==null&&Pd(t,e,2)}function uc(e){var t=e.alternate;return e===U||t!==null&&t===U}function dc(e,t){Uo=Ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Et(e,n)}}var pc={readContext:Ca,use:cs,useCallback:Yo,useContext:Yo,useEffect:Yo,useImperativeHandle:Yo,useLayoutEffect:Yo,useInsertionEffect:Yo,useMemo:Yo,useReducer:Yo,useRef:Yo,useState:Yo,useDebugValue:Yo,useDeferredValue:Yo,useTransition:Yo,useSyncExternalStore:Yo,useId:Yo,useHostTransitionStatus:Yo,useFormState:Yo,useActionState:Yo,useOptimistic:Yo,useMemoCache:Yo,useCacheRefresh:Yo,useEffectEvent:Yo},mc={readContext:Ca,use:cs,useCallback:function(e,t){return is().memoizedState=[e,t===void 0?null:t],e},useContext:Ca,useEffect:Rs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Is(4194308,4,Ws.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Is(4194308,4,e,t)},useInsertionEffect:function(e,t){Is(4,2,e,t)},useMemo:function(e,t){var n=is();t=t===void 0?null:t;var r=e();if(Wo){lt(!0);try{e()}finally{lt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=is();if(n!==void 0){var i=n(t);if(Wo){lt(!0);try{n(t)}finally{lt(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=oc.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var t=is();return e={current:e},t.memoizedState=e},useState:function(e){e=bs(e);var t=e.queue,n=sc.bind(null,U,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ks,useDeferredValue:function(e,t){return Ys(is(),e,t)},useTransition:function(){var e=bs(!1);return e=Zs.bind(null,U,e.queue,!0,!1),is().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=U,i=is();if(V){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),q===null)throw Error(s(349));Y&127||hs(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Rs(_s.bind(null,r,a,e),[e]),r.flags|=2048,Ps(9,{destroy:void 0},gs.bind(null,r,a,n,t),null),n},useId:function(){var e=is(),t=q.identifierPrefix;if(V){var n=Zi,r=z;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Go++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Jo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:nc,useFormState:ks,useActionState:ks,useOptimistic:function(e){var t=is();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=lc.bind(null,U,!0,n),n.dispatch=t,[e,t]},useMemoCache:ls,useCacheRefresh:function(){return is().memoizedState=ac.bind(null,U)},useEffectEvent:function(e){var t=is(),n={impl:e};return t.memoizedState=n,function(){if(K&2)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},hc={readContext:Ca,use:cs,useCallback:qs,useContext:Ca,useEffect:zs,useImperativeHandle:Gs,useInsertionEffect:Hs,useLayoutEffect:Us,useMemo:Js,useReducer:ds,useRef:Fs,useState:function(){return ds(us)},useDebugValue:Ks,useDeferredValue:function(e,t){return Xs(as(),W.memoizedState,e,t)},useTransition:function(){var e=ds(us)[0],t=as().memoizedState;return[typeof e==`boolean`?e:ss(e),t]},useSyncExternalStore:ms,useId:rc,useHostTransitionStatus:nc,useFormState:As,useActionState:As,useOptimistic:function(e,t){return xs(as(),W,e,t)},useMemoCache:ls,useCacheRefresh:ic,useEffectEvent:Vs},gc={readContext:Ca,use:cs,useCallback:qs,useContext:Ca,useEffect:zs,useImperativeHandle:Gs,useInsertionEffect:Hs,useLayoutEffect:Us,useMemo:Js,useReducer:ps,useRef:Fs,useState:function(){return ps(us)},useDebugValue:Ks,useDeferredValue:function(e,t){var n=as();return W===null?Ys(n,e,t):Xs(n,W.memoizedState,e,t)},useTransition:function(){var e=ps(us)[0],t=as().memoizedState;return[typeof e==`boolean`?e:ss(e),t]},useSyncExternalStore:ms,useId:rc,useHostTransitionStatus:nc,useFormState:Ns,useActionState:Ns,useOptimistic:function(e,t){var n=as();return W===null?(n.baseState=e,[e,n.queue.dispatch]):xs(n,W,e,t)},useMemoCache:ls,useCacheRefresh:ic,useEffectEvent:Vs};function _c(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:C({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=jd(),i=ho(r);i.payload=t,n!=null&&(i.callback=n),t=go(e,i,r),t!==null&&(Pd(t,e,r),_o(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=jd(),i=ho(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=go(e,i,r),t!==null&&(Pd(t,e,r),_o(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=jd(),r=ho(n);r.tag=2,t!=null&&(r.callback=t),t=go(e,r,n),t!==null&&(Pd(t,e,n),_o(t,e,n))}};function yc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Gr(n,r)||!Gr(i,a):!0}function bc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vc.enqueueReplaceState(t,t.state,null)}function xc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=C({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Sc(e){Si(e)}function Cc(e){console.error(e)}function wc(e){Si(e)}function Tc(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ec(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Dc(e,t,n){return n=ho(n),n.tag=3,n.payload={element:null},n.callback=function(){Tc(e,t)},n}function Oc(e){return e=ho(e),e.tag=3,e}function kc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ec(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ec(t,n,r),typeof i!=`function`&&(vd===null?vd=new Set([this]):vd.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Ac(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ba(t,n,i,!0),n=ko.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Ao===null?Kd():n.alternate===null&&ad===0&&(ad=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Xa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),mf(e,r,i)),!1;case 22:return n.flags|=65536,r===Xa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),mf(e,r,i)),!1}throw Error(s(435,n.tag))}return mf(e,r,i),Kd(),!1}if(V)return t=ko.current,t===null?(r!==aa&&(t=Error(s(423),{cause:r}),fa(Ui(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Ui(r,n),i=Dc(e.stateNode,r,i),vo(e,i),ad!==4&&(ad=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==aa&&(e=Error(s(422),{cause:r}),fa(Ui(e,n)))),!1;var a=Error(s(520),{cause:r});if(a=Ui(a,n),dd===null?dd=[a]:dd.push(a),ad!==4&&(ad=2),t===null)return!0;r=Ui(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Dc(n.stateNode,r,e),vo(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(vd===null||!vd.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=Oc(i),kc(i,e,n,r),vo(n,i),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var jc=Error(s(461)),Mc=!1;function Nc(e,t,n,r){t.child=e===null?uo(t,null,n,r):lo(t,e.child,n,r)}function Pc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Sa(t),r=Zo(e,t,n,o,a,i),s=ts(),e!==null&&!Mc?(ns(e,t,i),cl(e,t,i)):(V&&s&&ea(t),t.flags|=1,Nc(e,t,r,i),t.child)}function Fc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Fi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Ic(e,t,a,r,i)):(e=Ri(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!ll(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Gr:n,n(o,r)&&e.ref===t.ref)return cl(e,t,i)}return t.flags|=1,e=Ii(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ic(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Gr(a,r)&&e.ref===t.ref){if(Mc=!1,t.pendingProps=r=a,ll(e,i))e.flags&131072&&(Mc=!0);else return t.lanes=e.lanes,cl(e,t,i)}}return Wc(e,t,n,r,i)}function Lc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return zc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ga(t,a===null?null:a.cachePool),a===null?Do():Eo(t,a),No(t);else return r=t.lanes=536870912,zc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ga(t,null),Do(),Po()):(Ga(t,a.cachePool),Eo(t,a),Po(),t.memoizedState=null);return Nc(e,t,i,n),t.child}function Rc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function zc(e,t,n,r,i){var a=Wa();return a=a===null?null:{parent:ka._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ga(t,null),Do(),No(t),e!==null&&ba(e,t,r,!0),t.childLanes=i,null}function Bc(e,t){return t=$c({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Vc(e,t,n){return lo(t,e.child,null,n),e=Bc(t,t.pendingProps),e.flags|=2,Fo(t),t.memoizedState=null,e}function Hc(e,t,n){var r=t.pendingProps,i=!!(t.flags&128);if(t.flags&=-129,e===null){if(V){if(r.mode===`hidden`)return e=Bc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Rc(null,e);if(Mo(t),(e=B)?(e=am(e,H),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:z,overflow:Zi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ra=t,B=null)):e=null,e===null)throw oa(t);return t.lanes=536870912,null}return Bc(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(Mo(t),i){if(t.flags&256)t.flags&=-257,t=Vc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558))}else if(Mc||ba(e,t,n,!1),i=(n&e.childLanes)!==0,Mc||i){if(wo.current===null){if(r=q,r!==null&&(o=Dt(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,ki(e,o),Pd(r,e,o),jc;Kd()}t=Vc(e,t,n)}else e=a.treeContext,B=lm(o.nextSibling),ra=t,V=!0,ia=null,H=!1,e!==null&&na(t,e),t=Bc(t,r),t.flags|=0x8001000;return t}return e=Ii(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Uc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(s(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Wc(e,t,n,r,i){return Sa(t),n=Zo(e,t,n,r,void 0,i),r=ts(),e!==null&&!Mc?(ns(e,t,i),cl(e,t,i)):(V&&r&&ea(t),t.flags|=1,Nc(e,t,n,i),t.child)}function Gc(e,t,n,r,i,a){return Sa(t),t.updateQueue=null,n=$o(t,r,n,i),Qo(e),r=ts(),e!==null&&!Mc?(ns(e,t,a),cl(e,t,a)):(V&&r&&ea(t),t.flags|=1,Nc(e,t,n,a),t.child)}function Kc(e,t,n,r,i){if(Sa(t),t.stateNode===null){var a=Mi,o=n.contextType;typeof o==`object`&&o&&(a=Ca(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=vc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},po(t),o=n.contextType,a.context=typeof o==`object`&&o?Ca(o):Mi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(_c(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&vc.enqueueReplaceState(a,a.state,null),xo(t,r,a,i),bo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=xc(n,s);a.props=c;var l=a.context,u=n.contextType;o=Mi,typeof u==`object`&&u&&(o=Ca(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&bc(t,a,r,o),fo=!1;var f=t.memoizedState;a.state=f,xo(t,r,a,i),bo(),l=t.memoizedState,s||f!==l||fo?(typeof d==`function`&&(_c(t,n,d,r),l=t.memoizedState),(c=fo||yc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,mo(e,t),o=t.memoizedProps,u=xc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Mi,typeof l==`object`&&l&&(c=Ca(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&bc(t,a,r,c),fo=!1,f=t.memoizedState,a.state=f,xo(t,r,a,i),bo();var p=t.memoizedState;o!==d||f!==p||fo||e!==null&&e.dependencies!==null&&xa(e.dependencies)?(typeof s==`function`&&(_c(t,n,s,r),p=t.memoizedState),(u=fo||yc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&xa(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Uc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=lo(t,e.child,null,i),t.child=lo(t,null,n,i)):Nc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=cl(e,t,i),e}function qc(e,t,n,r){return ua(),t.flags|=256,Nc(e,t,n,r),t.child}var Jc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yc(e){return{baseLanes:e,cachePool:Ka()}}function Xc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ld),e}function Zc(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Io.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(V){if(i?jo(t):Po(),(e=B)?(e=am(e,H),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:z,overflow:Zi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ra=t,B=null)):e=null,e===null)throw oa(t);return t.lanes=sm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Po(),i=t.mode,a=$c({mode:`hidden`,children:a},i),r=R(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=Yc(n),r.childLanes=Xc(e,o,n),t.memoizedState=Jc,Rc(null,r)):(jo(t),Qc(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return tl(e,t,a,o,r,c,s,n)}return i?(Po(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Ii(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&0x47f00000,c===null?(i=R(i,a,n,null),i.flags|=2):i=Ii(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Rc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Yc(n):(a=i.cachePool,a===null?a=Ka():(s=ka._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=Xc(e,o,n),t.memoizedState=Jc,Rc(e.child,r)):(jo(t),n=e.child,e=n.sibling,n=Ii(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Qc(e,t){return t=$c({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function $c(e,t){return e=Pi(22,e,null,t),e.lanes=0,e}function el(e,t,n){return lo(t,e.child,null,n),e=Qc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function tl(e,t,n,r,i,a,o,c){if(n)return t.flags&256?(jo(t),t.flags&=-257,el(e,t,c)):t.memoizedState===null?(Po(),a=i.fallback,o=t.mode,i=$c({mode:`visible`,children:i.children},o),a=R(a,o,c,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,lo(t,e.child,null,c),i=t.child,i.memoizedState=Yc(c),i.childLanes=Xc(e,r,c),t.memoizedState=Jc,Rc(null,i)):(Po(),t.child=e.child,t.flags|=128,null);if(jo(t),sm(a)){if(r=a.nextSibling&&a.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(i=Error(s(419)),i.stack=``,i.digest=r,fa({value:i,source:null,stack:null})),el(e,t,c)}if(Mc||ba(e,t,c,!1),r=(c&e.childLanes)!==0,Mc||r){if(wo.current!==null)return el(e,t,c);if(r=q,r!==null&&(i=Dt(r,c),i!==0&&i!==o.retryLane))throw o.retryLane=i,ki(e,i),Pd(r,e,i),jc;return om(a)||Kd(),el(e,t,c)}return om(a)?(t.flags|=192,t.child=e.child,null):(e=o.treeContext,B=lm(a.nextSibling),ra=t,V=!0,ia=null,H=!1,e!==null&&na(t,e),t=Qc(t,i.children),t.flags|=0x8001000,t)}function nl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),va(e.return,t,n)}function rl(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&zo(n)===null&&(t=e),e=e.sibling}return t}function il(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function al(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ol(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Io.current;if(t.flags&128)return Lo(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Lo(t,o),i===`backwards`&&e!==null?(al(e),Nc(e,t,r,n),al(e)):Nc(e,t,r,n),r=V?qi:0,!s&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nl(e,n,t);else if(e.tag===19)nl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=rl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,al(t)),il(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&zo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}il(t,!0,n,null,a,r);break;case`together`:il(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=rl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),il(t,!1,i,n,a,r)}return t.child}function sl(e,t,n){var r=t.pendingProps;return ga(t,t.type,r.value),Nc(e,t,r.children,n),t.child}function cl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),od|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(ba(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=Ii(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ii(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ll(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&xa(e)))}function ul(e,t,n){switch(t.tag){case 3:Ie(t,t.stateNode.containerInfo),ga(t,ka,e.memoizedState.cache),ua();break;case 27:case 5:Re(t);break;case 4:Ie(t,t.stateNode.containerInfo);break;case 10:ga(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mo(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return jo(t),t.flags|=128,null;r=ba(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?Zc(e,t,n):(jo(t),e=cl(e,t,n),e===null?null:e.sibling)}jo(t);break;case 19:if(t.flags&128)return ol(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(ba(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ol(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Lo(t,Io.current),r)break;return null;case 22:return t.lanes=0,Lc(e,t,n,t.pendingProps);case 24:ga(t,ka,e.memoizedState.cache)}return cl(e,t,n)}function dl(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Mc=!0;else{if(!ll(e,n)&&!(t.flags&128))return Mc=!1,ul(e,t,n);Mc=!!(e.flags&131072)}}else Mc=!1,V&&t.flags&1048576&&$i(t,qi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=$a(t.elementType),t.type=e,typeof e==`function`)Fi(e)?(r=xc(e,r),t.tag=1,t=Kc(null,t,e,r,n)):(t.tag=0,t=Wc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===fe){t.tag=11,t=Pc(null,t,e,r,n);break e}if(i===he){t.tag=14,t=Fc(null,t,e,r,n);break e}if(i===de){t.tag=10,t.type=e,t=sl(null,t,n);break e}}throw t=Te(e)||e,Error(s(306,t,``))}}return t;case 0:return Wc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=xc(r,t.pendingProps),Kc(e,t,r,i,n);case 3:e:{if(Ie(t,t.stateNode.containerInfo),e===null)throw Error(s(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,mo(e,t),xo(t,r,null,n);var o=t.memoizedState;if(r=o.cache,ga(t,ka,r),r!==a.cache&&ya(t,[ka],n,!0),bo(),r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=qc(e,t,r,n);break e}if(r!==i){i=Ui(Error(s(424)),t),fa(i),t=qc(e,t,r,n);break e}for(e=t.stateNode.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,B=lm(e.firstChild),ra=t,V=!0,ia=null,H=!0,n=uo(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|0x8001000,n=n.sibling}else{if(ua(),r===i){t=cl(e,t,n);break e}Nc(e,t,r,n)}t=t.child}return t;case 26:return Uc(e,t),e===null?(n=Nm(t.type,null,t.pendingProps,null))?t.memoizedState=n:V||(t.stateNode=fp(t.type,t.pendingProps,Pe.current,t)):t.memoizedState=Nm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Re(t),e===null&&V&&(r=t.stateNode=hm(t.type,t.pendingProps,Pe.current),ra=t,H=!0,i=B,Sp(t.type)?(um=i,B=lm(r.firstChild)):B=i),Nc(e,t,t.pendingProps.children,n),Uc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&V&&((i=r=B)&&(r=rm(r,t.type,t.pendingProps,H),r===null?i=!1:(t.stateNode=r,ra=t,B=lm(r.firstChild),H=!1,i=!0)),i||oa(t)),Re(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,pp(i,a)?r=null:o!==null&&pp(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=Zo(e,t,es,null,null,n),sh._currentValue=i),Uc(e,t),Nc(e,t,r,n),t.child;case 6:return e===null&&V&&((e=n=B)&&(n=im(n,t.pendingProps,H),n===null?e=!1:(t.stateNode=n,ra=t,B=null,e=!0)),e||oa(t)),null;case 13:return Zc(e,t,n);case 4:return Ie(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lo(t,null,r,n):Nc(e,t,r,n),t.child;case 11:return Pc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Uc(e,t),Nc(e,t,r,n),t.child;case 8:case 12:return Nc(e,t,t.pendingProps.children,n),t.child;case 10:return sl(e,t,n);case 9:return i=t.type._context,r=t.pendingProps.children,Sa(t),i=Ca(i),r=r(i),t.flags|=1,Nc(e,t,r,n),t.child;case 14:return Fc(e,t,t.type,t.pendingProps,n);case 15:return Ic(e,t,t.type,t.pendingProps,n);case 19:return ol(e,t,n);case 31:return Hc(e,t,n);case 22:return Lc(e,t,n,t.pendingProps);case 24:return Sa(t),r=Ca(ka),e===null?(i=Wa(),i===null&&(i=q,a=Aa(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},po(t),ga(t,ka,i)):((e.lanes&n)!==0&&(mo(e,t),xo(t,null,null,n),bo()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,ga(t,ka,r),r!==i.cache&&ya(t,[ka],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),ga(t,ka,r))),Nc(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:V&&ea(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Uc(e,t),Nc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function fl(e){e.flags|=4}function pl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?Jm(t,r):Jm(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Ud())e.flags|=8192;else throw eo=Xa,Ja}}else e.flags&=-16777217}function ml(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Ym(t)){if(Ud())e.flags|=8192;else throw eo=Xa,Ja}}function hl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:xt(),e.lanes|=t,ud|=t)}function gl(e,t){if(!V)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function _l(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&0x47f00000,r|=i.flags&0x47f00000,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vl(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return _l(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),_a(ka),Le(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(la(t)?fl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,da())),_l(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(fl(t),a===null?(_l(t),pl(t,i,null,r,n)):(_l(t),ml(t,a))):a?a===e.memoizedState?(_l(t),t.flags&=-16777217):(fl(t),_l(t),ml(t,a)):(e=e.memoizedProps,e!==r&&fl(t),_l(t),pl(t,i,e,r,n)),null;case 27:if(ze(t),n=Pe.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(!r){if(t.stateNode===null)throw Error(s(166));return _l(t),t.subtreeFlags&=-33554433,null}e=Me.current,la(t)?sa(t,e):(e=hm(i,r,n),t.stateNode=e,fl(t))}return _l(t),t.subtreeFlags&=-33554433,null;case 5:if(ze(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(!r){if(t.stateNode===null)throw Error(s(166));return _l(t),t.subtreeFlags&=-33554433,null}if(a=Me.current,la(t))sa(t,a);else{var o=lp(Pe.current);switch(a){case 1:a=o.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:a=o.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:a=o.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:a=o.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:a=o.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?o.createElement(`select`,{is:r.is}):o.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?o.createElement(i,{is:r.is}):o.createElement(i)}}a[Nt]=t,a[Pt]=r;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(t.stateNode=a,np(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break;case`img`:r=!0;break;default:r=!1}r&&fl(t)}}return _l(t),t.subtreeFlags&=-33554433,pl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&fl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(s(166));if(e=Pe.current,la(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=ra,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Nt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||oa(t,!0)}else e=lp(e).createTextNode(r),e[Nt]=t,t.stateNode=e}return _l(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=la(t),n!==null){if(e===null){if(!r)throw Error(s(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(s(557));e[Nt]=t}else ua(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_l(t),e=!1}else n=da(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Fo(t),t):(Fo(t),null);if(t.flags&128)throw Error(s(558))}return _l(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=la(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(s(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(s(317));i[Nt]=t}else ua(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_l(t),i=!1}else i=da(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Fo(t),t):(Fo(t),null)}return Fo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),hl(t,t.updateQueue),_l(t),null);case 4:return Le(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,_l(t),null;case 10:return _a(t.type),_l(t),null;case 19:if(Ro(t),r=t.memoizedState,r===null)return _l(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)gl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=zo(e),a!==null){for(t.flags|=128,gl(r,!1),e=a.updateQueue,t.updateQueue=e,hl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Li(n,e),n=n.sibling;return Lo(t,Io.current&1|2),V&&Qi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Qe()>gd&&(t.flags|=128,i=!0,gl(r,!1),t.lanes=4194304)}}else{if(!i){if(e=zo(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,hl(t,e),gl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!a.alternate&&!V)return _l(t),null}else 2*Qe()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,i=!0,gl(r,!1),t.lanes=4194304)}r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}if(r.tail!==null){e=r.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Qe(),e.sibling=null,a=Io.current,a=i?a&1|2:a&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||V?Lo(t,a):(n=a,E(ko,t),E(Io,n),Ao===null&&(Ao=t)),V&&Qi(t,r.treeForkCount),e}return _l(t),null;case 22:case 23:return Fo(t),Oo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(_l(t),t.subtreeFlags&6&&(t.flags|=8192)):_l(t),n=t.updateQueue,n!==null&&hl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&je(Ua),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),_a(ka),_l(t),null;case 25:return null;case 30:return t.flags|=33554432,_l(t),null}throw Error(s(156,t.tag))}function yl(e,t){switch(ta(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _a(ka),Le(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ze(t),null;case 31:if(t.memoizedState!==null){if(Fo(t),t.alternate===null)throw Error(s(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ro(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Le(),null;case 10:return _a(t.type),null;case 22:case 23:return Fo(t),Oo(),e!==null&&je(Ua),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return _a(ka),null;default:return null}}function bl(e,t){switch(ta(t),t.tag){case 3:_a(ka),Le();break;case 26:case 27:case 5:ze(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&Fo(t);break;case 13:Fo(t);break;case 19:Ro(t);break;case 10:_a(t.type);break;case 22:case 23:Fo(t),Oo(),e!==null&&je(Ua);break;case 24:_a(ka)}}function xl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Sl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Cl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Co(t,n)}catch(t){Z(e,e.return,t)}}}function wl(e,t,n){n.props=xc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Tl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=yi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);h(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function El(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Dl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)em(e.stateNode,t[n])}function Ol(e){for(var t=e.return;t!==null&&(jl(t)&&em(e.stateNode,t.stateNode),!Al(t));)t=t.return}function kl(e){for(var t=e.return;t!==null&&(jl(t)&&tm(e.stateNode,t.stateNode),!Al(t));)t=t.return}function Al(e){return e.tag===5||e.tag===3||e.tag===27}function jl(e){return e&&e.tag===7&&e.stateNode!==null}function Ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function Nl(e,t,n){try{var r=e.stateNode;ip(r,e.type,n,t),r[Pt]=t}catch(t){Z(e,e.return,t)}}function Pl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Sp(e.type)||e.tag===4}function Fl(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Sp(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Il(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=On)),Dl(e,r),O=!0;else if(i!==4&&(i===27&&(Dl(e,r),r=null,Sp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Il(e,t,n,r),e=e.sibling;e!==null;)Il(e,t,n,r),e=e.sibling}function Ll(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Dl(e,r),O=!0;else if(i!==4&&(i===27&&(Dl(e,r),r=null,Sp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Ll(e,t,n,r),e=e.sibling;e!==null;)Ll(e,t,n,r),e=e.sibling}function Rl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);np(t,r,n),t[Nt]=e,t[Pt]=n}catch(t){Z(e,e.return,t)}}var zl=!1,Bl=null;function Vl(e){(e.tag===30||e.subtreeFlags&33554432)&&(zl=!0)}var Hl=null;function Ul(){var e=Hl;return Hl=null,e}var Wl=0;function Gl(e,t,n,r,i){return Wl=0,Kl(e.child,t,n,r,i)}function Kl(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Op(o);r.push(s),s.view&&(a=!0)}else a||Op(o).view&&(a=!0);zl=!0,Tp(o,Wl===0?t:t+`_`+Wl,n),Wl++}else e.tag===22&&e.memoizedState!==null||e.tag===30&&i||Kl(e.child,t,n,r,i)&&(a=!0);e=e.sibling}return a}function ql(e,t){for(;e!==null;)e.tag===5?Ep(e.stateNode,e.memoizedProps):e.tag===22&&e.memoizedState!==null||e.tag===30&&t||ql(e.child,t),e=e.sibling}function Jl(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Jl(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(s(544));var n=t.name;t=xi(t.default,t.share),t!==`none`&&(Gl(e,n,t,null,!1)||ql(e.child,!1))}e=e.sibling}}function Yl(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=yi(r,n),a=xi(r.default,n.paired?r.share:r.enter);a===`none`?Jl(e):Gl(e,i,a,null,!1)?(Jl(e),n.paired||t||Nd(e,r.onEnter)):ql(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Yl(e,t),e=e.sibling;else Jl(e)}function Xl(e){if(Bl!==null&&Bl.size!==0){var t=Bl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=xi(n.default,n.share);if(a!==`none`&&(Gl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Nd(e,n.onShare)):ql(e.child,!1)),t.delete(r),t.size===0)break}}}Xl(e)}e=e.sibling}}}function Zl(e){if(e.tag===30){var t=e.memoizedProps,n=yi(t,e.stateNode),r=Bl===null?void 0:Bl.get(n),i=xi(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Gl(e,n,i,null,!1)?r===void 0?Nd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Bl.delete(n),Nd(e,t.onShare)):ql(e.child,!1)),Bl!==null&&Xl(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)Zl(e),e=e.sibling;else Bl!==null&&Xl(e)}function Ql(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=yi(t,e.stateNode);t=xi(t.default,t.update),e.flags&=-5,t!==`none`&&Gl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&Ql(e);e=e.sibling}}function $l(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,ql(e.child,!1))}$l(e)}e=e.sibling}}function eu(e){if(e.tag===30)e.stateNode.paired=null,ql(e.child,!1),$l(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)eu(e),e=e.sibling;else $l(e)}function tu(e){for(e=e.child;e!==null;)e.tag===30?ql(e.child,!1):e.subtreeFlags&33554432&&tu(e),e=e.sibling}function nu(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Wl<a.length){var l=a[Wl],u=Op(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Tp(c,Wl===0?n:n+`_`+Wl,i),s&&e.flags&4||(Hl===null&&(Hl=[]),Hl.push(c,Wl===0?r:r+`_`+Wl,t.memoizedProps)),Wl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:nu(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function ru(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=yi(n,r),a=xi(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(kp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Wl=0,i=nu(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Nd(e,n.onUpdate))}else e.subtreeFlags&33554432&&ru(e,t);e=e.sibling}}var iu=!1,G=!1,au=!1,ou=!1,su=typeof WeakSet==`function`?WeakSet:Set,cu=null,lu=!1,uu=!1,du=!1,fu=!1;function pu(e,t,n){if(e=e.containerInfo,sp=gh,e=Xr(e),Zr(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break t;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(cp={focusedElem:e,selectionRange:r},gh=!1,n=(n&335544064)===n,cu=t,t=n?9270:1024;cu!==null;){if(e=cu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&Zl(r[a]);if(e.alternate===null&&e.flags&2)n&&Vl(e),mu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&Zl(r),mu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Vl(e),mu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,cu=r):(n&&Ql(e),mu(n))}}Bl=null}function mu(e){for(;cu!==null;){var t=cu,n=e,r=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(i&1024&&r!==null){n=void 0,i=r.memoizedProps,r=r.memoizedState;var a=t.stateNode;try{var o=xc(t.type,i);n=a.getSnapshotBeforeUpdate(o,r),a.__reactInternalSnapshotBeforeUpdate=n}catch(e){Z(t,t.return,e)}}break;case 3:if(i&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)nm(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:nm(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=yi(r.memoizedProps,r.stateNode),i=t.memoizedProps,i=xi(i.default,i.update),i!==`none`&&Gl(r,n,i,r.memoizedState=[],!0));break;default:if(i&1024)throw Error(s(163))}if(r=t.sibling,r!==null){r.return=t.return,cu=r;break}cu=t.return}}function hu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Fu(e,n),r&4&&xl(5,n);break;case 1:if(Fu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=xc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}}r&64&&Cl(n),r&512&&Tl(n,n.return);break;case 3:if(Fu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Co(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&Rl(n);case 26:case 5:Fu(e,n),t===null&&r&4&&Ml(n),r&512&&Tl(n,n.return);break;case 12:Fu(e,n);break;case 31:Fu(e,n),r&4&&wu(e,n);break;case 13:Fu(e,n),r&4&&Tu(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_f.bind(null,n),cm(e,n))));break;case 22:if(r=n.memoizedState!==null||iu,!r){var a=t!==null&&t.memoizedState!==null||G;t=iu,i=G,iu=r,(G=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Lu(e,n,r)):Fu(e,n),iu=t,G=i}break;case 30:Fu(e,n),r&512&&Tl(n,n.return);break;case 7:r&512&&Tl(n,n.return);default:Fu(e,n)}}function gu(e,t){for(e=e.child;e!==null;)_u(e,t),e=e.sibling}function _u(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){Z(e,e.return,t)}vu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,O=!0}catch(t){Z(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?wp(s,!0):wp(e.stateNode,!1)}catch(t){Z(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&gu(e,t);break;default:gu(e,t)}}function vu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,r=t;switch(n.tag){case 4:_u(n,r);break e;case 22:n.memoizedState===null&&vu(n,r);break e;default:vu(n,r)}}e=e.sibling}}function yu(e){var t=e.alternate;t!==null&&(e.alternate=null,yu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ht(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var bu=null,xu=!1;function Su(e,t,n){for(n=n.child;n!==null;)Cu(e,t,n),n=n.sibling}function Cu(e,t,n){if(ct&&typeof ct.onCommitFiberUnmount==`function`)try{ct.onCommitFiberUnmount(st,n)}catch{}switch(n.tag){case 26:G||El(n,t),Su(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!G&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:G||El(n,t),kl(n);var r=bu,i=xu;Sp(n.type)&&(bu=n.stateNode,xu=!1),Su(e,t,n),gm(n.stateNode,n.type,n.memoizedProps),bu=r,xu=i;break;case 5:G||El(n,t),kl(n);case 6:if(n.tag===6&&kl(n),r=bu,i=xu,bu=null,Su(e,t,n),bu=r,xu=i,bu!==null){if(xu)try{(bu.nodeType===9?bu.body:bu.nodeName===`HTML`?bu.ownerDocument.body:bu).removeChild(n.stateNode),O=!0}catch(e){Z(n,t,e)}else try{bu.removeChild(n.stateNode),O=!0}catch(e){Z(n,t,e)}}break;case 18:bu!==null&&(xu?(e=bu,Cp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Hh(e)):Cp(bu,n.stateNode));break;case 4:r=bu,i=xu,bu=n.stateNode.containerInfo,xu=!0,Su(e,t,n),bu=r,xu=i;break;case 0:case 11:case 14:case 15:Sl(2,n,t),G||Sl(4,n,t),Su(e,t,n);break;case 1:G||(El(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&wl(n,t,r)),Su(e,t,n);break;case 21:Su(e,t,n);break;case 22:G=(r=G)||n.memoizedState!==null,Su(e,t,n),G=r;break;case 30:El(n,t),Su(e,t,n);break;case 7:G||El(n,t),Su(e,t,n);break;default:Su(e,t,n)}}function wu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Hh(e)}catch(e){Z(t,t.return,e)}}}function Tu(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Hh(e)}catch(e){Z(t,t.return,e)}}function Eu(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new su),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new su),t;default:throw Error(s(435,e.tag))}}function Du(e,t){var n=Eu(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=vf.bind(null,e,t);t.then(r,r)}})}function Ou(e,t,n){var r=t.deletions;if(r!==null)for(var i=0;i<r.length;i++){var a=r[i],o=e,c=t,l=c;e:for(;l!==null;){switch(l.tag){case 27:if(Sp(l.type)){bu=l.stateNode,xu=!1;break e}break;case 5:bu=l.stateNode,xu=!1;break e;case 3:case 4:bu=l.stateNode.containerInfo,xu=!0;break e}l=l.return}if(bu===null)throw Error(s(160));Cu(o,c,a),bu=null,xu=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Au(t,e,n),t=t.sibling}var ku=null;function Au(e,t,n){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var a=0;a<r.length;a++){var o=r[a];o.ref.impl=o.nextImpl}Ou(t,e,n),ju(e),i&4&&(Sl(3,e,e.return),xl(3,e),Sl(5,e,e.return));break;case 1:Ou(t,e,n),ju(e),i&512&&(G||r===null||El(r,r.return)),i&64&&iu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(a=ku,Ou(t,e,n),ju(e),i&512&&(G||r===null||El(r,r.return)),i&4){if(i=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(iu)e.stateNode=fp(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,i=a.ownerDocument||a;t:switch(t){case`title`:r=i.getElementsByTagName(`title`)[0],(!r||r[Bt]||r[Nt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=i.createElement(t),i.head.insertBefore(r,i.querySelector(`head > title`))),np(r,t,n),r[Nt]=e,qt(r),t=r;break e;case`link`:if(a=Gm(`link`,`href`,i).get(t+(n.href||``))){for(o=0;o<a.length;o++)if(r=a[o],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){a.splice(o,1);break t}}r=i.createElement(t),np(r,t,n),i.head.appendChild(r);break;case`meta`:if(a=Gm(`meta`,`content`,i).get(t+(n.content||``))){for(o=0;o<a.length;o++)if(r=a[o],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){a.splice(o,1);break t}}r=i.createElement(t),np(r,t,n),i.head.appendChild(r);break;default:throw Error(s(468,t))}r[Nt]=e,qt(r),t=r}e.stateNode=t}}else iu||Km(a,e.type,e.stateNode)}else e.stateNode=Bm(a,n,e.memoizedProps)}else i===n?n===null&&e.stateNode!==null&&Nl(e,e.memoizedProps,r.memoizedProps):(i===null?(t=r.stateNode,t===null||G||t.parentNode.removeChild(t)):i.count--,n===null?iu||Km(a,e.type,e.stateNode):Bm(a,n,e.memoizedProps))}break;case 27:Ou(t,e,n),ju(e),i&512&&(G||r===null||El(r,r.return)),r!==null&&i&4&&Nl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(a=au,au=!1,Ou(t,e,n),au=a,ju(e),i&512&&(G||r===null||El(r,r.return)),e.flags&32){t=e.stateNode;try{xn(t,``),O=!0}catch(t){Z(e,e.return,t)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,Nl(e,t,r===null?t:r.memoizedProps)),i&1024&&(ou=!0);break;case 6:if(Ou(t,e,n),ju(e),i&4){if(e.stateNode===null)throw Error(s(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,O=!0}catch(t){Z(e,e.return,t)}}break;case 3:if(O=!1,Wm=null,a=ku,ku=bm(t.containerInfo),Ou(t,e,n),ku=a,ju(e),i&4&&r!==null&&r.memoizedState.isDehydrated)try{Hh(t.containerInfo)}catch(t){Z(e,e.return,t)}ou&&(ou=!1,Mu(e)),O=!1;break;case 4:i=au,au=iu,r=rn(),a=ku,ku=bm(e.stateNode.containerInfo),Ou(t,e,n),ju(e),ku=a,O&&uu&&(du=!0),O=r,au=i;break;case 12:Ou(t,e,n),ju(e);break;case 31:Ou(t,e,n),ju(e),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Du(e,t)));break;case 13:Ou(t,e,n),ju(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(md=Qe()),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Du(e,t)));break;case 22:a=e.memoizedState!==null,o=r!==null&&r.memoizedState!==null;var c=iu,l=G,u=au;iu=c||a,au=u||a,G=l||o,Ou(t,e,n),G=l,au=u,iu=c,ju(e),i&8192&&(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,!a||r===null||o||iu||G||(t=o||G,n=iu,r=G,iu=a||iu,G=t,Iu(e,2),iu=n,G=r),!a&&au||gu(e,a)),i&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Du(e,n))));break;case 19:Ou(t,e,n),ju(e),i&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Du(e,t)));break;case 30:i&512&&(G||r===null||El(r,r.return)),i=rn(),a=uu,o=(n&335544064)===n,c=e.memoizedProps,uu=o&&xi(c.default,c.update)!==`none`,Ou(t,e,n),ju(e),o&&r!==null&&O&&(e.flags|=4),uu=a,O=i;break;case 21:break;case 7:i&512&&(G||r===null||El(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Ou(t,e,n),ju(e)}}function ju(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Pl(r)){n=r;break}r=r.return}r=null;for(var i=e.return;i!==null;){if(jl(i)){var a=i.stateNode;r===null?r=[a]:r.push(a)}if(Al(i))break;i=i.return}var o=r;if(n==null)throw Error(s(160));switch(n.tag){case 27:var c=n.stateNode;Ll(e,Fl(e),c,o);break;case 5:var l=n.stateNode;n.flags&32&&(xn(l,``),n.flags&=-33),Ll(e,Fl(e),l,o);break;case 3:case 4:var u=n.stateNode.containerInfo;Il(e,Fl(e),u,o);break;default:throw Error(s(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Mu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Mu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,gh=!0,t.reset(),gh=!1),e=e.sibling}}function Nu(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Pu(t,e),t=t.sibling;else ru(t,!1)}function Pu(e,t){var n=e.alternate;if(n===null)Yl(e,!1);else switch(e.tag){case 3:if(fu=lu=!1,Ul(),Nu(t,e),!lu&&!du){if(e=Hl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Ep(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),fu=!0}Hl=null;break;case 5:Nu(t,e);break;case 4:r=lu,lu=!1,Nu(t,e),lu&&(du=!0),lu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Nu(t,e):Yl(e,!1));break;case 30:r=lu,i=Ul(),lu=!1,Nu(t,e),lu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=yi(a,o),o=yi(n.memoizedProps,o);var s=xi(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Wl=0,t=nu(e,n,t,o,s,a,!0),Wl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Nd(e,e.memoizedProps.onUpdate),Hl=i):i!==null&&(i.push.apply(i,Hl),Hl=i),lu=e.flags&32?!0:r;break;default:Nu(t,e)}}function Fu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hu(e,t.alternate,t),t=t.sibling}function Iu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Sl(4,n,n.return),Iu(n,r);break;case 1:El(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&wl(n,n.return,i),Iu(n,r);break;case 27:r&2&&gm(n.stateNode,n.type,n.memoizedProps);case 5:El(n,n.return),n.tag!==5&&n.tag!==27||kl(n),Iu(n,r);break;case 6:kl(n);break;case 26:El(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||G||i.parentNode.removeChild(i),Iu(n,r);break;case 22:n.memoizedState===null&&Iu(n,r);break;case 30:El(n,n.return),Iu(n,r);break;case 7:El(n,n.return);default:Iu(n,r)}e=e.sibling}}function Lu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Lu(i,a,n),xl(4,a);break;case 1:if(Lu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Z(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)So(l[i],c)}catch(e){Z(r,r.return,e)}}s&&o&64&&Cl(a),Tl(a,a.return);break;case 27:n&2&&Rl(a);case 5:a.tag!==5&&a.tag!==27||Ol(a),Lu(i,a,n),s&&r===null&&o&4&&Ml(a),Tl(a,a.return);break;case 6:Ol(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||iu||Km(bm(c.ownerDocument),a.type,c),Lu(i,a,n),s&&r===null&&o&4&&Ml(a),Tl(a,a.return);break;case 12:Lu(i,a,n);break;case 31:Lu(i,a,n),s&&o&4&&wu(i,a);break;case 13:Lu(i,a,n),s&&o&4&&Tu(i,a);break;case 22:a.memoizedState===null&&Lu(i,a,n),Tl(a,a.return);break;case 30:Lu(i,a,n),Tl(a,a.return);break;case 7:Tl(a,a.return);default:Lu(i,a,n)}t=t.sibling}}function Ru(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ja(n))}function zu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ja(e))}function Bu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Vu(e,t,n,r),t=t.sibling;else i&&tu(t)}function Vu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&eu(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Bu(e,t,n,r),a&2048&&xl(9,t);break;case 1:Bu(e,t,n,r);break;case 3:Bu(e,t,n,r),i&&fu&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&ja(a)));break;case 12:if(a&2048){Bu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){Z(t,t.return,e)}}else Bu(e,t,n,r);break;case 31:case 13:Bu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&eu(t),o._visibility&2?Bu(e,t,n,r):(o._visibility|=2,Hu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&eu(s),o._visibility&2?Bu(e,t,n,r):Uu(e,t)),a&2048&&Ru(s,t);break;case 24:Bu(e,t,n,r),a&2048&&zu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(ql(a.child,!0),ql(t.child,!0))),Bu(e,t,n,r);break;default:Bu(e,t,n,r)}}function Hu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Hu(a,o,s,c,i),xl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Hu(a,o,s,c,i)):u._visibility&2?Hu(a,o,s,c,i):Uu(a,o),i&&l&2048&&Ru(o.alternate,o);break;case 24:Hu(a,o,s,c,i),i&&l&2048&&zu(o.alternate,o);break;default:Hu(a,o,s,c,i)}t=t.sibling}}function Uu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Uu(n,r),i&2048&&Ru(r.alternate,r);break;case 24:Uu(n,r),i&2048&&zu(r.alternate,r);break;default:Uu(n,r)}t=t.sibling}}var Wu=8192;function Gu(e,t,n){if(e.subtreeFlags&Wu)for(e=e.child;e!==null;)Ku(e,t,n),e=e.sibling}function Ku(e,t,n){switch(e.tag){case 26:Gu(e,t,n),e.flags&Wu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&Zm(n,e)):Qm(n,ku,e.memoizedState,e.memoizedProps));break;case 5:Gu(e,t,n),e.flags&Wu&&(e=e.stateNode,(t&335544128)===t&&Zm(n,e));break;case 3:case 4:var r=ku;ku=bm(e.stateNode.containerInfo),Gu(e,t,n),ku=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Wu,Wu=16777216,Gu(e,t,n),Wu=r):Gu(e,t,n));break;case 30:if((e.flags&Wu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Bl===null&&(Bl=new Map),Bl.set(r,i)}Gu(e,t,n);break;default:Gu(e,t,n)}}function qu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ju(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cu=r,Zu(r,e)}qu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yu(e),e=e.sibling}function Yu(e){switch(e.tag){case 0:case 11:case 15:Ju(e),e.flags&2048&&Sl(9,e,e.return);break;case 3:case 12:Ju(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Xu(e)):Ju(e);break;default:Ju(e)}}function Xu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cu=r,Zu(r,e)}qu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Sl(8,t,t.return),Xu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Xu(t));break;default:Xu(t)}e=e.sibling}}function Zu(e,t){for(;cu!==null;){var n=cu;switch(n.tag){case 0:case 11:case 15:Sl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ja(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,cu=r;else for(n=e;cu!==null;){r=cu;var i=r.sibling,a=r.return;if(yu(r),r===n){cu=null;break}if(i!==null){i.return=a,cu=i;break}cu=a}}}var Qu={getCacheForType:function(e){var t=Ca(ka),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ca(ka).controller.signal}},$u=typeof WeakMap==`function`?WeakMap:Map,K=0,q=null,J=null,Y=0,X=0,ed=null,td=!1,nd=!1,rd=!1,id=0,ad=0,od=0,sd=0,cd=0,ld=0,ud=0,dd=null,fd=null,pd=!1,md=0,hd=0,gd=1/0,_d=null,vd=null,yd=0,bd=null,xd=null,Sd=0,Cd=0,wd=null,Td=null,Ed=null,Dd=null,Od=null,kd=0,Ad=null;function jd(){return K&2&&Y!==0?Y&-Y:w.T===null?At():Pf()}function Md(){if(ld===0){if(!(Y&536870912)||V){var e=D;D<<=1,!(D&3932160)&&(D=262144),ld=e}else ld=536870912}return e=ko.current,e!==null&&(e.flags|=32),ld}function Nd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Pp(yi(e.memoizedProps,n))),Dd===null&&(Dd=[]),Dd.push(t.bind(null,r))}}function Pd(e,t,n){(e===q&&(X===2||X===9)||e.cancelPendingCommit!==null)&&(Vd(e,0),Rd(e,Y,ld,!1)),Ct(e,n),K&2&&e===q||(e===q&&(!(K&2)&&(sd|=n),ad===4&&Rd(e,Y,ld,!1)),Ef(e))}function Fd(e,t,n){if(K&6)throw Error(s(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||vt(e,t),i=r?Yd(e,t):qd(e,t,!0),a=r;do{if(i===0){nd&&!r&&Rd(e,t,0,!1);break}if(n=e.current.alternate,a&&!Ld(n))i=qd(e,t,!1),a=!1;else{if(i===2){if(a=t,e.errorRecoveryDisabledLanes&a)var o=0;else o=e.pendingLanes&-536870913,o=o===0?o&536870912?536870912:0:o;if(o!==0){t=o;e:{var c=e;i=dd;var l=c.current.memoizedState.isDehydrated;if(l&&(Vd(c,o).flags|=256),o=qd(c,o,!1),o!==2&&o!==6){if(rd&&!l){c.errorRecoveryDisabledLanes|=a,sd|=a,i=4;break e}a=fd,fd=i,a!==null&&(fd===null?fd=a:fd.push.apply(fd,a))}i=o}if(a=!1,i!==2)continue}}if(i===1){Vd(e,0),Rd(e,t,0,!0);break}e:{switch(r=e,a=i,a){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Rd(r,t,ld,!td);break e;case 2:fd=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(i=md+300-Qe(),10<i)){if(Rd(r,t,ld,!td),_t(r,0,!0)!==0)break e;Sd=t,r.timeoutHandle=gp(Id.bind(null,r,n,fd,_d,pd,t,ld,sd,ud,td,a,`Throttled`,-0,0),i);break e}Id(r,n,fd,_d,pd,t,ld,sd,ud,td,a,null,-0,0)}break}}while(1);Ef(e)}function Id(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:On},Bl=null,Ku(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=nh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?md-Qe():(a&4194048)===a?hd-Qe():0,m=eh(d,m),m!==null)?(Sd=a,e.cancelPendingCommit=m(nf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Rd(e,a,o,!l)):nf(e,t,a,n,r,i,o,s,c,l,u,d)}function Ld(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!I(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Rd(e,t,n,r){t=yt(e,t),t&=~cd,t&=~sd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-ut(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Tt(e,n,t)}function zd(){return K&6?!0:(Df(0,!1),!1)}function Bd(){if(J!==null){if(X===0)var e=J.return;else e=J,ha=ma=null,rs(e),ro=null,io=0,e=J;for(;e!==null;)bl(e.alternate,e),e=e.return;J=null}}function Vd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,_p(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Sd=0,Bd(),q=e,J=n=Ii(e.current,null),Y=t,X=0,ed=null,td=!1,nd=vt(e,t),rd=!1,ud=ld=cd=sd=od=ad=0,fd=dd=null,pd=!1,id=yt(e,t),Ei(),n}function Hd(e,t){U=null,w.H=pc,t===qa||t===Ya?(t=to(),X=3):t===Ja?(t=to(),X=4):X=t===jc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ed=t,J===null&&(ad=1,Tc(e,Ui(t,e.current)))}function Ud(){var e=ko.current;return e===null?!0:(Y&4194048)===Y?Ao===null:(Y&62914560)===Y||Y&536870912?e===Ao:!1}function Wd(){var e=w.H;return w.H=pc,e===null?pc:e}function Gd(){var e=w.A;return w.A=Qu,e}function Kd(){ad=4,td||(Y&4194048)!==Y&&ko.current!==null||(nd=!0),!(od&0x7ffffff)&&!(sd&0x7ffffff)||q===null||Rd(q,Y,ld,!1)}function qd(e,t,n){var r=K;K|=2;var i=Wd(),a=Gd();(q!==e||Y!==t)&&(_d=null,Vd(e,t)),t=!1;var o=ad;e:do try{if(X!==0&&J!==null){var s=J,c=ed;switch(X){case 8:Bd(),o=6;break e;case 3:case 2:case 9:case 6:ko.current===null&&(t=!0);var l=X;if(X=0,ed=null,$d(e,s,c,l),n&&nd){o=0;break e}break;default:l=X,X=0,ed=null,$d(e,s,c,l)}}Jd(),o=ad;break}catch(t){Hd(e,t)}while(1);return t&&e.shellSuspendCounter++,ha=ma=null,K=r,w.H=i,w.A=a,J===null&&(q=null,Y=0,Ei()),o}function Jd(){for(;J!==null;)Zd(J)}function Yd(e,t){var n=K;K|=2;var r=Wd(),i=Gd();q!==e||Y!==t?(_d=null,gd=Qe()+500,Vd(e,t)):nd=vt(e,t);e:do try{if(X!==0&&J!==null){t=J;var a=ed;t:switch(X){case 1:X=0,ed=null,$d(e,t,a,1);break;case 2:case 9:if(Za(a)){X=0,ed=null,Qd(t);break}t=function(){X!==2&&X!==9||q!==e||(X=7),Ef(e)},a.then(t,t);break e;case 3:X=7;break e;case 4:X=5;break e;case 7:Za(a)?(X=0,ed=null,Qd(t)):(X=0,ed=null,$d(e,t,a,7));break;case 5:var o=null;switch(J.tag){case 26:o=J.memoizedState;case 5:case 27:var c=J;if(o?Ym(o):c.stateNode.complete){X=0,ed=null;var l=c.sibling;if(l!==null)J=l;else{var u=c.return;u===null?J=null:(J=u,ef(u))}break t}}X=0,ed=null,$d(e,t,a,5);break;case 6:X=0,ed=null,$d(e,t,a,6);break;case 8:Bd(),ad=6;break e;default:throw Error(s(462))}}Xd();break}catch(t){Hd(e,t)}while(1);return ha=ma=null,w.H=r,w.A=i,K=n,J===null?(q=null,Y=0,Ei(),ad):0}function Xd(){for(;J!==null&&!Xe();)Zd(J)}function Zd(e){var t=dl(e.alternate,e,id);e.memoizedProps=e.pendingProps,t===null?ef(e):J=t}function Qd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Gc(n,t,t.pendingProps,t.type,void 0,Y);break;case 11:t=Gc(n,t,t.pendingProps,t.type.render,t.ref,Y);break;case 5:rs(t);var r=t;r===ra&&(V?(ca(r),r.tag===5&&r.stateNode!=null&&(B=r.stateNode)):(ca(r),V=!0));default:bl(n,t),t=J=Li(t,id),t=dl(n,t,id)}e.memoizedProps=e.pendingProps,t===null?ef(e):J=t}function $d(e,t,n,r){ha=ma=null,rs(t),ro=null,io=0;var i=t.return;try{if(Ac(e,i,t,n,Y)){ad=1,Tc(e,Ui(n,e.current)),J=null;return}}catch(t){if(i!==null)throw J=i,t;ad=1,Tc(e,Ui(n,e.current)),J=null;return}t.flags&32768?(V||r===1?e=!0:nd||Y&536870912?e=!1:(td=e=!0,(r===2||r===9||r===3||r===6)&&(r=ko.current,r!==null&&r.tag===13&&(r.flags|=16384))),tf(t,e)):ef(t)}function ef(e){var t=e;do{if(t.flags&32768){tf(t,td);return}e=t.return;var n=vl(t.alternate,t,id);if(n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);ad===0&&(ad=5)}function tf(e,t){do{var n=yl(e.alternate,e);if(n!==null){n.flags&=32767,J=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){J=e;return}J=e=n}while(e!==null);ad=6,J=null}function nf(e,t,n,r,i,a,o,c,l,u,d,f){e.cancelPendingCommit=null;do df();while(yd!==0);if(K&6)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));e===q&&(J=q=null,Y=0),xd=t,bd=e,Sd=n,wd=i,Td=r,rf(e,t,n,o,c,l,f)}}function rf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Cd=s,s|=Ti,wt(e,n,s,r,i,a),Dd=null,(n&335544064)===n?(Od=Pa(e),r=10262):(Od=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,yf(nt,function(){return ff(),null})):(e.callbackNode=null,e.callbackPriority=0),zl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=w.T,w.T=null,i=T.p,T.p=2,a=K,K|=4;try{pu(e,t,n)}finally{K=a,T.p=i,w.T=r}}yd=1,zl?Ed=Mp(o,e.containerInfo,Od,sf,cf,of,lf,ff,af,null,null):(sf(),cf(),lf())}function af(e){yd!==0&&(0,bd.onRecoverableError)(e,{componentStack:null})}function of(){yd===3&&(yd=0,Pu(xd,bd),yd=4)}function sf(){if(yd===1){yd=0;var e=bd,t=xd,n=Sd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=w.T,w.T=null;var i=T.p;T.p=2;var a=K;K|=4;try{uu=du=!1,Au(t,e,n),n=cp;var o=Xr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Yr(s.ownerDocument.documentElement,s)){if(c!==null&&Zr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Jr(s,h),v=Jr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}gh=!!sp,cp=sp=null}finally{K=a,T.p=i,w.T=r}}e.current=t,yd=2}}function cf(){if(yd===2){yd=0;var e=bd,t=xd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=w.T,w.T=null;var r=T.p;T.p=2;var i=K;K|=4;try{hu(e,t.alternate,t)}finally{K=i,T.p=r,w.T=n}}yd=3}}function lf(){if(yd===4||yd===3){yd=0;var e=Ed;Ed=null,Ze();var t=bd,n=xd,r=Sd,i=Td,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?yd=5:(yd=0,xd=bd=null,uf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(vd=null),kt(r),n=n.stateNode,ct&&typeof ct.onCommitFiberRoot==`function`)try{ct.onCommitFiberRoot(st,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=w.T,a=T.p,T.p=2,w.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{w.T=n,T.p=a}}if(i=Dd,o=Od,Od=null,i!==null&&(Dd=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Sd&3&&df(),Ef(t),a=t.pendingLanes,r&261930&&a&42?t===Ad?kd++:(kd=0,Ad=t):(kd=0,Ad=null),Df(0,!1)}}function uf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ja(t)))}function df(){return Ed!==null&&(Ed.skipTransition(),Ed=null),sf(),cf(),lf(),ff()}function ff(){if(yd!==5)return!1;var e=bd,t=Cd;Cd=0;var n=kt(Sd),r=w.T,i=T.p;try{T.p=32>n?32:n,w.T=null,n=wd,wd=null;var a=bd,o=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(s(331));var c=K;if(K|=4,Yu(a.current),Vu(a,a.current,o,n),K=c,Df(0,!1),ct&&typeof ct.onPostCommitFiberRoot==`function`)try{ct.onPostCommitFiberRoot(st,a)}catch{}return!0}finally{T.p=i,w.T=r,uf(e,t)}}function pf(e,t,n){t=Ui(n,t),t=Dc(e.stateNode,t,2),e=go(e,t,2),e!==null&&(Ct(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Ui(n,e),n=Oc(2),r=go(t,n,2),r!==null&&(kc(n,r,t,e),Ct(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Qe()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=xt()),e=ki(e,t),e!==null&&(Ct(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return Je(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-ut(42|e)+1)-1,a&=i&~(o&~s),a=a&0xc000095?a&0xc000095|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=_t(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||vt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Qe(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-ut(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=bt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=q,n=Y,n=_t(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(X===2||X===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ye(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||vt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ye(r),kt(n)){case 2:case 8:n=tt;break;case 32:n=nt;break;case 268435456:n=it;break;default:n=nt}return r=jf.bind(null,e),n=Je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ye(r),e.callbackPriority=2,e.callbackNode=null,2}function jf(e,t){if(yd!==0&&yd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(df()&&e.callbackNode!==n)return null;var r=Y;return r=_t(e,e===q?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Fd(e,r,t),Af(e,Qe()),e.callbackNode!=null&&e.callbackNode===n?jf.bind(null,e):null)}function Mf(e,t){if(df())return null;Fd(e,t,!0)}function Nf(){bp(function(){K&6?Je(et,Of):kf()})}function Pf(){if(Tf===0){var e=La;e===0&&(e=mt,mt<<=1,!(mt&261888)&&(mt=256)),Tf=e}return Tf}function Ff(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Dn(e)}function If(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Ff((i[Pt]||null).action),o=r.submitter;o&&(t=(t=o[Pt]||null)?Ff(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Gn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Tf!==0){var e=new FormData(i,o);$s(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),$s(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Lf=0;Lf<gi.length;Lf++){var Rf=gi[Lf];_i(Rf.toLowerCase(),`on`+(Rf[0].toUpperCase()+Rf.slice(1)))}_i(ci,`onAnimationEnd`),_i(li,`onAnimationIteration`),_i(ui,`onAnimationStart`),_i(`dblclick`,`onDoubleClick`),_i(`focusin`,`onFocus`),_i(`focusout`,`onBlur`),_i(di,`onTransitionRun`),_i(fi,`onTransitionStart`),_i(pi,`onTransitionCancel`),_i(mi,`onTransitionEnd`),Qt(`onMouseEnter`,[`mouseout`,`mouseover`]),Qt(`onMouseLeave`,[`mouseout`,`mouseover`]),Qt(`onPointerEnter`,[`pointerout`,`pointerover`]),Qt(`onPointerLeave`,[`pointerout`,`pointerover`]),Zt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Zt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Zt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Zt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Zt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Zt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var zf=`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(` `),Bf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(zf));function Vf(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=l;try{a(i)}catch(e){Si(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=l;try{a(i)}catch(e){Si(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[It];n===void 0&&(n=t[It]=new Set);var r=e+`__bubble`;n.has(r)||(Gf(t,e,2,!1),n.add(r))}function Hf(e,t,n){var r=0;t&&(r|=4),Gf(n,e,r,t)}var Uf=`_reactListening`+Math.random().toString(36).slice(2);function Wf(e){if(!e[Uf]){e[Uf]=!0,Yt.forEach(function(t){t!==`selectionchange`&&(Bf.has(t)||Hf(t,!1,e),Hf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Uf]||(t[Uf]=!0,Hf(`selectionchange`,!1,t))}}function Gf(e,t,n,r){switch(Ch(t)){case 2:var i=_h;break;case 8:i=vh;break;default:i=yh}n=i.bind(null,t,n,e),i=void 0,!Fn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Kf(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Ut(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue e}s=s.parentNode}}r=r.return}M(function(){var r=a,i=An(n),o=[];e:{var s=hi.get(e);if(s!==void 0){var c=Gn,u=e;switch(e){case`keypress`:if(Bn(n)===0)break e;case`keydown`:case`keyup`:c=sr;break;case`focusin`:u=`focus`,c=$n;break;case`focusout`:u=`blur`,c=$n;break;case`beforeblur`:case`afterblur`:c=$n;break;case`click`:if(n.button===2)break e;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Zn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Qn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=ur;break;case ci:case li:case ui:c=F;break;case mi:c=dr;break;case`scroll`:case`scrollend`:c=qn;break;case`wheel`:c=fr;break;case`copy`:case`cut`:case`paste`:c=er;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=cr;break;case`submit`:c=lr;break;case`toggle`:case`beforetoggle`:c=pr}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?s===null?null:s+`Capture`:s;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Nn(m,p),g!=null&&d.push(qf(m,g,h))),f)break;m=m.return}0<d.length&&(s=new c(s,u,null,n,i),o.push({event:s,listeners:d}))}}if(!(t&7)){e:{if(c=e===`mouseover`||e===`pointerover`,s=e===`mouseout`||e===`pointerout`,c&&n!==kn&&(u=n.relatedTarget||n.fromElement)&&(Ut(u)||u[Ft]))break e;(s||c)&&(u=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,c=c?Ut(c):null,c!==null&&(f=l(c),d=c.tag,c!==f||d!==5&&d!==27&&d!==6)&&(c=null)):(s=null,c=r),s!==c&&(d=Zn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=cr,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=s==null?u:Gt(s),h=c==null?u:Gt(c),u=new d(g,m+`leave`,s,n,i),u.target=f,u.relatedTarget=h,g=null,Ut(i)===r&&(d=new d(p,m+`enter`,c,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=s&&c?re(s,c,Yf):null,s!==null&&Xf(o,u,s,d,!1),c!==null&&f!==null&&Xf(o,f,c,d,!0)))}e:{if(s=r?Gt(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=Nr;else if(Dr(s)){if(Pr)_=Ur;else{_=Vr;var v=Br}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Tn(r.elementType)&&(_=Nr):_=Hr;if(_&&=_(e,r)){Or(o,_,n,i);break e}v&&v(e,s,r)}switch(v=r?Gt(r):window,e){case`focusin`:(Dr(v)||v.contentEditable===`true`)&&($r=v,ei=r,ti=null);break;case`focusout`:ti=ei=$r=null;break;case`mousedown`:ni=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:ni=!1,ri(o,n,i);break;case`selectionchange`:if(Qr)break;case`keydown`:case`keyup`:ri(o,n,i)}var y;if(hr)e:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break e;case`compositionend`:b=`onCompositionEnd`;break e;case`compositionupdate`:b=`onCompositionUpdate`;break e}b=void 0}else Cr?xr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(vr&&n.locale!==`ko`&&(Cr||b!==`onCompositionStart`?b===`onCompositionEnd`&&Cr&&(y=zn()):(N=i,Ln=`value`in N?N.value:N.textContent,Cr=!0)),v=Jf(r,b),0<v.length&&(b=new tr(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=Sr(n),y!==null&&(b.data=y)))),(y=_r?wr(e,n):Tr(e,n))&&(b=Jf(r,`onBeforeInput`),0<b.length&&(v=new tr(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),If(o,e,r,n,i)}Vf(o,t)})}function qf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jf(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Nn(e,n),i!=null&&r.unshift(qf(e,i,a)),i=Nn(e,t),i!=null&&r.push(qf(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Yf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xf(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Nn(n,a),l!=null&&o.unshift(qf(n,l,c))):i||(l=Nn(n,a),l!=null&&o.push(qf(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Zf=/\r\n?/g,Qf=/\u0000|\uFFFD/g;function $f(e){return(typeof e==`string`?e:``+e).replace(Zf,`
9
+ `).replace(Qf,``)}function ep(e,t){return t=$f(t),$f(e)===t}function $(e,t,n,r,i,a){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||xn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&xn(e,``+r);else return;break;case`className`:on(e,`class`,r);break;case`tabIndex`:on(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:on(e,n,r);break;case`style`:wn(e,r,a);return;case`data`:if(t!==`object`){on(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Dn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof a==`function`&&(n===`formAction`?(t!==`input`&&$(e,t,`name`,i.name,i,null),$(e,t,`formEncType`,i.formEncType,i,null),$(e,t,`formMethod`,i.formMethod,i,null),$(e,t,`formTarget`,i.formTarget,i,null)):($(e,t,`encType`,i.encType,i,null),$(e,t,`method`,i.method,i,null),$(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Dn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=On);return;case`onScroll`:r!=null&&Q(`scroll`,e);return;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(s(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(s(60));a?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Dn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`: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`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Q(`beforetoggle`,e),Q(`toggle`,e),an(e,`popover`,r);break;case`xlinkActuate`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:sn(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:sn(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:sn(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:sn(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:an(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=En.get(n)||n,an(e,n,r);else return}O=!0}function tp(e,t,n,r,i,a){switch(n){case`style`:wn(e,r,a);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(s(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(s(60));a?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)xn(e,r);else if(typeof r==`number`||typeof r==`bigint`)xn(e,``+r);else return;break;case`onScroll`:r!=null&&Q(`scroll`,e);return;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=On);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:case`innerText`:case`textContent`:return;default:if(!Xt.hasOwnProperty(n))e:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),a=n.slice(2,i?n.length-7:void 0),t=e[Pt]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(a,t,i),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(a,r,i);break e}O=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):an(e,n,r)}return}O=!0}function np(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Q(`error`,e),Q(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(s(137,t));default:$(e,t,a,o,n,null)}}i&&$(e,t,`srcSet`,n.srcSet,n,null),r&&$(e,t,`src`,n.src,n,null);return;case`input`:Q(`invalid`,e);var c=a=o=i=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:i=d;break;case`type`:o=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:a=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(s(137,t));break;default:$(e,t,r,d,n,null)}}gn(e,a,c,l,u,o,i,!1);return;case`select`:for(i in Q(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:a=c;break;case`defaultValue`:o=c;break;case`multiple`:r=c;default:$(e,t,i,c,n,null)}t=a,n=o,e.multiple=!!r,t==null?n!=null&&vn(e,!!r,n,!0):vn(e,!!r,t,!1);return;case`textarea`:for(o in Q(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(c=n[o],c!=null))switch(o){case`value`:r=c;break;case`defaultValue`:i=c;break;case`children`:a=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(s(91));break;default:$(e,t,o,c,n,null)}bn(e,r,i,a);return;case`option`:for(l in n)n.hasOwnProperty(l)&&(r=n[l],r!=null)&&(l===`selected`?e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`:$(e,t,l,r,n,null));return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<zf.length;r++)Q(zf[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(s(137,t));default:$(e,t,u,r,n,null)}return;default:if(Tn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&tp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&$(e,t,c,r,n,null))}var rp={};function ip(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||$(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(O=!0),a=m;break;case`name`:m!==f&&(O=!0),i=m;break;case`checked`:m!==f&&(O=!0),u=m;break;case`defaultChecked`:m!==f&&(O=!0),d=m;break;case`value`:m!==f&&(O=!0),o=m;break;case`defaultValue`:m!==f&&(O=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(s(137,t));break;default:m!==f&&$(e,t,p,m,r,f)}}hn(e,o,c,l,u,d,a,i);return;case`select`:for(a in m=o=c=p=null,n)if(l=n[a],n.hasOwnProperty(a)&&l!=null)switch(a){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(a)||$(e,t,a,null,r,l)}for(i in r)if(a=r[i],l=n[i],r.hasOwnProperty(i)&&(a!=null||l!=null))switch(i){case`value`:a!==l&&(O=!0),p=a;break;case`defaultValue`:a!==l&&(O=!0),c=a;break;case`multiple`:a!==l&&(O=!0),o=a;default:a!==l&&$(e,t,i,a,r,l)}t=c,n=o,r=m,p==null?!!r!=!!n&&(t==null?vn(e,!!n,n?[]:``,!1):vn(e,!!n,t,!0)):vn(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(i=n[c],n.hasOwnProperty(c)&&i!=null&&!r.hasOwnProperty(c))switch(c){case`value`:case`children`:break;default:$(e,t,c,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:i!==a&&(O=!0),p=i;break;case`defaultValue`:i!==a&&(O=!0),m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(s(91));break;default:i!==a&&$(e,t,o,i,r,a)}yn(e,p,m);return;case`option`:for(var h in n)p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h)&&(h===`selected`?e.selected=!1:$(e,t,h,null,r,p));for(l in r)p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null)&&(l===`selected`?(p!==m&&(O=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`):$(e,t,l,p,r,m));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 g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&$(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(s(137,t));break;default:$(e,t,u,p,r,m)}return;default:if(Tn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&tp(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||tp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&$(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||$(e,t,f,p,r,m)}function ap(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function op(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&ap(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var sp=null,cp=null;function lp(e){return e.nodeType===9?e:e.ownerDocument}function up(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function dp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function fp(e,t,n,r){return n=lp(n).createElement(e),n[Nt]=r,n[Pt]=t,np(n,e,t),qt(n),n}function pp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var mp=null;function hp(){var e=window.event;return e&&e.type===`popstate`?e!==mp&&(mp=e,!0):(mp=null,!1)}var gp=typeof setTimeout==`function`?setTimeout:void 0,_p=typeof clearTimeout==`function`?clearTimeout:void 0,vp=typeof Promise==`function`?Promise:void 0,yp=typeof requestAnimationFrame==`function`?requestAnimationFrame:gp,bp=typeof queueMicrotask==`function`?queueMicrotask:vp===void 0?gp:function(e){return vp.resolve(null).then(e).catch(xp)};function xp(e){setTimeout(function(){throw e})}function Sp(e){return e===`head`}function Cp(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Hh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)_m(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,_m(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Bt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&_m(e.ownerDocument.body)}n=i}while(n);Hh(t)}function wp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Tp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Ep(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Dp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Op(e){return Dp(e.getBoundingClientRect(),getComputedStyle(e),e)}function kp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Dp(t,n,e)}function Ap(e){return e.documentElement.clientHeight}function jp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Mp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Ap(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=Xm(f),u>$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Np(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Np.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:C({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Np.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Np.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Pp(e){return{name:e,group:new Np(`group`,e),imagePair:new Np(`image-pair`,e),old:new Np(`old`,e),new:new Np(`new`,e)}}function Fp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Fp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Bp(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Rp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),h(this._fragmentFiber.child,!1,Ip,e,s,r)}this._eventListeners=a}};function Ip(e,t,n,r){return b(e).addEventListener(t,n,r),!1}Fp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Bp(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Rp(i.optionsOrUseCapture),h(this._fragmentFiber.child,!1,Lp,e,n,i),r.splice(t,1),a!==null&&a()}};function Lp(e,t,n,r){return b(e).removeEventListener(t,n,r),!1}function Rp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function zp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Bp(e,t,n,r){if(e.length===0)return-1;r=zp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&zp(a.optionsOrUseCapture)===r)return i}return-1}Fp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(t===null)return!0;t=b(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Fp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,Vp,e,void 0,void 0)};function Vp(e,t){return e.tag!==6&&(e=b(e),pm(e,t))}Fp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,Hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Vp(t[n],e);n--);};function Hp(e,t){return t.push(e),!1}Fp.prototype.blur=function(){var e=g(this._fragmentFiber);e!==null&&(e=b(e),e=lp(e).activeElement,e!==null&&h(this._fragmentFiber.child,!1,Up,e,void 0,void 0))};function Up(e,t){return e.tag!==6&&(e=b(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Fp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,Wp,e,void 0,void 0)};function Wp(e,t){return e.tag===6||(e=b(e),t.observe(e)),!1}Fp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,Gp,e,void 0,void 0);for(var n=t=0;n<Kp.length;n++){var r=Kp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Kp[t++]=r}Kp.length=t}};function Gp(e,t){return e.tag===6||(e=b(e),t.unobserve(e)),!1}var Kp=[],qp=!1;function Jp(e,t,n){Kp.push({fragmentInstance:e,observer:t,instance:n}),qp||(qp=!0,mm(function(){qp=!1;var e=Kp;Kp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Fp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,Yp,e,void 0,void 0),e};function Yp(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=b(e),t.push.apply(t,e.getClientRects());return!1}Fp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return t===null?this:b(t).getRootNode(e)},Fp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,Hp,n,void 0,void 0);var r=b(t);if(n.length===0){if(n=r,_(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=v(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=b(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=b(n[0]),i=b(n[n.length-1]);var a=_(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Xp(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Xp(e,t,n,r,i){var a=Ut(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)e:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break e}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;e:{for(a=t,t=g(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break e}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=re(n,a,S),t===null?t=!1:(h(t,!0,te,a,n),a=x,x=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=re(r,a,S),t===null?t=!1:(h(t,!0,ne,a,r),a=x,ee=x=null,t=a!==null)),t):!1}function Zp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Fp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(s(566));var t=[];h(this._fragmentFiber.child,!1,Hp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=v(this._fragmentFiber);if(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=b(r),Zp(e,n);return}if(r=b(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var i=t[r];i.tag===6?(i=b(i),Zp(i,n)):b(i).scrollIntoView(e),r+=n?-1:1}};function Qp(e,t){return e=b(e),$p(e,t),!1}function $p(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function em(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<Kp.length;i++){var a=Kp[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(Kp[r++]=a)}Kp.length=r,n.observe(e)}),$p(e,t))}function tm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Jp(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function nm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nm(n),Ht(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[Bt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=lm(e.nextSibling),e===null)break}return null}function im(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lm(e.nextSibling),e===null))return null;return e}function am(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lm(e.nextSibling),e===null))return null;return e}function om(e){return e.data===`$?`||e.data===`$~`}function sm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function lm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var um=null;function dm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function fm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function pm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function mm(e){yp(function(){yp(function(t){return e(t)})})}function hm(e,t,n){switch(t=lp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(s(452));return e;case`head`:if(e=t.head,!e)throw Error(s(453));return e;case`body`:if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function gm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&$(e,t,r,null,rp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===On&&(e.onclick=null),Ht(e)}function _m(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ht(e)}var vm=new Map,ym=new Set;function bm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var xm=T.d;T.d={f:Sm,r:Cm,D:Em,C:Dm,L:Om,m:km,X:jm,S:Am,M:Mm};function Sm(){var e=xm.f(),t=zd();return e||t}function Cm(e){var t=Wt(e);t!==null&&t.tag===5&&t.type===`form`?tc(t):xm.r(e)}var wm=typeof document>`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=mn(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),qt(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+mn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+mn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+mn(n.imageSizes)+`"]`)):i+=`[href="`+mn(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=C({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[Vt]=!0,o.onload=o.onerror=function(){Jt(o)}),qt(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+mn(r)+`"][href="`+mn(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=C({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),qt(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Kt(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=C({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);qt(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Kt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=C({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),qt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Kt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=C({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),qt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var i=(i=Pe.current)?bm(i):null;if(!i)throw Error(s(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Kt(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var a=Kt(i).hoistableStyles,o=a.get(e);if(o||(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},a.set(e,o),(a=i.querySelector(Fm(e)))?a._p||(o.instance=a,o.state.loading=5):(a=vm.get(e),a||(a={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,a)),Lm(i,e,a,o.state))),t&&r===null)throw Error(s(528,``));return o}if(t&&r!==null)throw Error(s(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Kt(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(s(444,e))}}function Pm(e){return`href="`+mn(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return C({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[Vt]){r.loading=1;return}}else t=e.createElement(`link`),t[Vt]=!0,t.onload=t.onerror=Jt.bind(null,t),np(t,`link`,n),qt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+mn(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+mn(n.href)+`"]`);if(r)return t.instance=r,qt(r),r;var i=C({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),qt(r),np(r,`style`,i),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Pm(n.href);var a=e.querySelector(Fm(i));if(a)return t.state.loading|=4,t.instance=a,qt(a),a;r=Im(n),(i=vm.get(i))&&Hm(r,i),a=(e.ownerDocument||e).createElement(`link`),qt(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),t.state.loading|=4,Vm(a,n.precedence,e),t.instance=a;case`script`:return a=Rm(n.src),(i=e.querySelector(zm(a)))?(t.instance=i,qt(i),i):(r=n,(i=vm.get(a))&&(r=C({},n),Um(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),qt(i),np(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(s(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Hm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Um(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Wm=null;function Gm(e,t,n){if(Wm===null){var r=new Map,i=Wm=new Map;i.set(n,r)}else i=Wm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Bt]||a[Nt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Km(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;return t.rel!==`stylesheet`||(e=t.disabled,typeof t.precedence==`string`&&e==null);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 Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,qt(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),qt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&$m===0&&($m=62500*op());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=nh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var sh={$$typeof:de,Provider:null,Consumer:null,_currentValue:De,_currentValue2:De,_threadCount:0};function ch(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=St(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=St(0),this.hiddenUpdates=St(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function lh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ch(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Pi(3,null,null,t),e.current=a,a.stateNode=e,t=Aa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},po(a),e}function uh(e){return e?(e=Mi,e):Mi}function dh(e,t,n,r,i,a){i=uh(i),r.context===null?r.context=i:r.pendingContext=i,r=ho(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=go(e,r,t),n!==null&&(Pd(n,e,t),_o(n,e,t))}function fh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ph(e,t){fh(e,t),(e=e.alternate)&&fh(e,t)}function mh(e){if(e.tag===13||e.tag===31){var t=ki(e,67108864);t!==null&&Pd(t,e,67108864),ph(e,67108864)}}function hh(e){if(e.tag===13||e.tag===31){var t=jd();t=Ot(t);var n=ki(e,t);n!==null&&Pd(n,e,t),ph(e,t)}}var gh=!0;function _h(e,t,n,r){var i=w.T;w.T=null;var a=T.p;try{T.p=2,yh(e,t,n,r)}finally{T.p=a,w.T=i}}function vh(e,t,n,r){var i=w.T;w.T=null;var a=T.p;try{T.p=8,yh(e,t,n,r)}finally{T.p=a,w.T=i}}function yh(e,t,n,r){if(gh){var i=bh(r);if(i===null)Kf(e,t,r,xh,n),Mh(e,r);else if(Ph(i,e,t,n,r))r.stopPropagation();else if(Mh(e,r),t&4&&-1<jh.indexOf(e)){for(;i!==null;){var a=Wt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=gt(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-ut(o);s.entanglements[1]|=c,o&=~c}Ef(a),!(K&6)&&(gd=Qe()+500,Df(0,!1))}}break;case 31:case 13:s=ki(a,2),s!==null&&Pd(s,a,2),zd(),ph(a,2)}if(a=bh(r),a===null&&Kf(e,t,r,xh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Kf(e,t,r,null,n)}}function bh(e){return e=An(e),Sh(e)}var xh=null;function Sh(e){if(xh=null,e=Ut(e),e!==null){var t=l(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=u(t),e!==null)return e;e=null}else if(n===31){if(e=d(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xh=e,null}function Ch(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`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`fullscreenerror`: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`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch($e()){case et:return 2;case tt:return 8;case nt:case rt:return 32;case it:return 268435456;default:return 32}default:return 32}}var wh=!1,Th=null,Eh=null,Dh=null,Oh=new Map,kh=new Map,Ah=[],jh=`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 Mh(e,t){switch(e){case`focusin`:case`focusout`:Th=null;break;case`dragenter`:case`dragleave`:Eh=null;break;case`mouseover`:case`mouseout`:Dh=null;break;case`pointerover`:case`pointerout`:Oh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:kh.delete(t.pointerId)}}function Nh(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Wt(t),t!==null&&mh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ph(e,t,n,r,i){switch(t){case`focusin`:return Th=Nh(Th,e,t,n,r,i),!0;case`dragenter`:return Eh=Nh(Eh,e,t,n,r,i),!0;case`mouseover`:return Dh=Nh(Dh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Oh.set(a,Nh(Oh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,kh.set(a,Nh(kh.get(a)||null,e,t,n,r,i)),!0}return!1}function Fh(e){var t=Ut(e.target);if(t!==null){var n=l(t);if(n!==null){if(t=n.tag,t===13){if(t=u(n),t!==null){e.blockedOn=t,jt(e.priority,function(){hh(n)});return}}else if(t===31){if(t=d(n),t!==null){e.blockedOn=t,jt(e.priority,function(){hh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ih(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);kn=r,n.target.dispatchEvent(r),kn=null}else return t=Wt(n),t!==null&&mh(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){Ih(e)&&n.delete(t)}function Rh(){wh=!1,Th!==null&&Ih(Th)&&(Th=null),Eh!==null&&Ih(Eh)&&(Eh=null),Dh!==null&&Ih(Dh)&&(Dh=null),Oh.forEach(Lh),kh.forEach(Lh)}function zh(e,n){e.blockedOn===n&&(e.blockedOn=null,wh||(wh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Rh)))}var Bh=null;function Vh(e){Bh!==e&&(Bh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Bh===e&&(Bh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Sh(r||n)===null)continue;break}var a=Wt(n);a!==null&&(e.splice(t,3),t-=3,$s(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Hh(e){function t(t){return zh(t,e)}Th!==null&&zh(Th,e),Eh!==null&&zh(Eh,e),Dh!==null&&zh(Dh,e),Oh.forEach(t),kh.forEach(t);for(var n=0;n<Ah.length;n++){var r=Ah[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ah.length&&(n=Ah[0],n.blockedOn===null);)Fh(n),n.blockedOn===null&&Ah.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Pt]||null;if(typeof a==`function`)o||Vh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Pt]||null)s=o.formAction;else if(Sh(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Vh(n)}}}function Uh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Wh(e){this._internalRoot=e}Gh.prototype.render=Wh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));dh(t.current,jd(),e,t,null,null)},Gh.prototype.unmount=Wh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dh(e.current,2,null,e,null,null),zd(),t[Ft]=null}};function Gh(e){this._internalRoot=e}Gh.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ah.length&&t!==0&&t<Ah[n].priority;n++);Ah.splice(n,0,e),n===0&&Fh(e)}};var Kh=r.version;if(Kh!==`19.3.1`)throw Error(s(527,Kh,`19.3.1`));T.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(s(188)):(e=Object.keys(e).join(`,`),Error(s(268,e)));return e=p(t),e=e===null?null:m(e),e=e===null?null:e.stateNode,e};var qh={bundleType:0,version:`19.3.1`,rendererPackageName:`react-dom`,currentDispatcherRef:w,reconcilerVersion:`19.3.1`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Jh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jh.isDisabled&&Jh.supportsFiber)try{st=Jh.inject(qh),ct=Jh}catch{}}e.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,r=``,i=Sc,a=Cc,o=wc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=lh(e,1,!1,null,null,n,r,null,i,a,o,Uh),e[Ft]=t.current,Wf(e),new Wh(t)}})),c=e(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=s()})),l=n(),u=c(),d={"nav.label":`Seções`,"seg.title":`Segurança`,"seg.ok":`Analisado`,"seg.atencao":`Revise antes`,"seg.risco":`Risco`,"seg.tip.ok":`A análise automática de segurança não achou problemas.`,"seg.tip.atencao":`Tem um ponto para você conferir antes de instalar.`,"seg.tip.risco":`A análise achou algo perigoso. Não recomendamos instalar.`,"seg.when":e=>`analisado ${e}`,"seg.goodToKnow":`Bom saber`,"seg.reviewed":`Revisado pela curadoria.`,"seg.how":`Como analisamos`,"seg.packRisk":`Um item deste pack não passou na análise de segurança.`,"seg.installedRisk":e=>`${e.length===1?e[0]+` não passou`:e.length+` itens instalados não passaram`} na análise de segurança desta semana. Veja o que foi achado e considere desativar ou remover.`,"seg.see":`Ver o que foi achado`,"segc.origem":`Instala do repositório original ou do fabricante`,"segc.licenca":`Licença aberta conhecida`,"segc.manutencao":`Recebeu mudanças no último ano`,"segc.popular":(e=500)=>`${e} estrelas ou mais no GitHub`,"segc.comunidade":`3 ou mais contribuidores`,"segc.oficial":`Feito pela empresa dona do produto`,"segc.comandos":`Comandos de instalação sem nada perigoso`,"segc.conteudo":`Código varrido sem envio de dados nem comandos destrutivos`,"sega.script-internet":`Baixa e roda um script de instalação da internet.`,"sega.sudo":`Pede a senha de administrador.`,"sega.apaga-arquivos":`Tem um comando que apaga pastas inteiras.`,"sega.envia-dados":`Manda dados ou chaves para a internet.`,"sega.credenciais":`Lê arquivos de senha ou de chaves (como ~/.ssh).`,"sega.injecao":`Tem frases que tentam mudar as instruções do Claude.`,"sega.ofuscado":`Tem código escondido que é executado.`,"sega.hooks":`Roda sozinho a cada ação do Claude (hooks).`,"sega.telemetria":`Envia estatísticas de uso para um serviço externo.`,"sega.sem-licenca":`Sem licença aberta: o uso segue as regras do autor.`,"sega.nao-comercial":`Licença não comercial.`,"sega.arquivado":`Projeto arquivado pelos autores.`,"sega.parado":`Sem mudanças há mais de um ano.`,"sega.novo":(e=500)=>`Projeto novo, com menos de ${e} estrelas.`,"sega.texto-oculto":`Tem texto invisível nas instruções, que só o Claude lê.`,"sega.instrucao-escondida":`Tem uma ordem para o Claude escondida num comentário.`,"sega.baixa-e-executa":`As instruções mandam baixar um script da internet e rodar na hora.`,"sega.comando-ao-carregar":`Roda um comando no terminal assim que o Claude carrega a skill.`,"sega.pacote-malicioso":`Roda um pacote que está na lista de pacotes maliciosos.`,"sega.pacote-inexistente":`Roda um pacote que não existe no registro.`,"sega.pacote-vulneravel":`Roda um pacote com falha de segurança conhecida.`,"sega.pacote-recente":`Roda um pacote novo ou com versão recém-publicada.`,"side.courses":`Cursos`,"nav.installed":`Instalados`,"nav.discover":`Descobrir`,"nav.packs":`Packs`,"nav.usage":`Uso`,"nav.activity":`Fila`,"nav.pc":`Meu PC`,"nav.settings":`Ajustes`,"k.folder":`Pasta`,"ty.plugin":`Plugins`,"ty.mod":`Mods`,"ty.skill":`Skills`,"ty.mcp":`Conectores`,"ty.app":`Programas`,"v.noOs":`Sem versão para o seu sistema`,"v.addon":`Funciona em qualquer PC`,"v.any":`Roda em qualquer PC`,"v.unknown":`Ainda não sei a sua placa de vídeo`,"v.cpuFast":`Roda bem até sem placa de vídeo`,"v.cpuSlow":`Roda, mas devagar, no processador`,"v.needNvidia":`Precisa de placa NVIDIA`,"v.needGpu":`Precisa de placa NVIDIA ou Mac com chip Apple`,"v.minVram":e=>`Pede pelo menos ${e} GB de placa de vídeo`,"v.limit":e=>`Roda no limite. O ideal são ${e} GB de placa`,"v.ram":e=>`Roda, mas o ideal são ${e} GB de RAM`,"v.ok":`Roda bem no seu PC`,"v.macRam":`Informe a memória do Mac`,"v.from":e=>`Depende do ${e}.`,"v.noOsWsl":`No Windows, só roda pelo WSL`,"v.minVramMac":e=>`Pede pelo menos ${e} GB de placa (no Mac, a memória é dividida com o sistema)`,"vk.ok":`Roda bem`,"vk.slow":`No limite`,"vk.no":`Não roda`,"vk.none":`Sem dados`,"vk.addon":`Qualquer PC`,"s.checking":`Verificando`,"s.unchecked":`Não verificado`,"s.atualizado":`Atualizado`,"s.atualizar":`Atualização`,"s.descontinuado":`Descontinuado`,"s.parado":`Parado há 1 ano`,"s.desconhecido":`Sem dados`,"sd.atualizado":`Você tem a versão mais nova.`,"sd.atualizar":`Saiu uma versão nova. Clique em Atualizar.`,"sd.descontinuado":`O projeto foi arquivado pelos autores e não recebe mais correções. Procure uma alternativa.`,"sd.parado":`O projeto não recebe mudanças há mais de um ano. Pode continuar funcionando, mas fique de olho.`,"sd.desconhecido":`Não dá para saber a versão deste item automaticamente. Atualize pelo próprio programa.`,"sd.unchecked":`Ainda não verifiquei. Clique em Verificar atualizações.`,"sd.why.no-git":`Não deu para verificar: o Git não está instalado neste computador.`,"sd.why.git-failed":`Não deu para verificar: o repositório não respondeu (sem internet ou demorou demais). Tente de novo mais tarde.`,"sd.why.no-npm":`Não deu para verificar: o npm não está instalado neste computador.`,"sd.why.npm-failed":`Não deu para verificar: o npm não respondeu. Tente de novo mais tarde.`,"sd.why.no-claude":`Não deu para verificar: sem o comando claude, a lista do marketplace não foi atualizada.`,"sd.why.marketplace-failed":`Não deu para verificar: a lista do marketplace não se atualizou. Tente de novo mais tarde.`,"src.disabledSkill":`guardada pelo app · `,"src.mcp":`Conector`,"src.program":`Programa no computador`,"src.manual":`Marcado como instalado por você`,"adv.tag":`Uso avançado`,"adv.h":`Uso avançado: leia antes de instalar`,"adv.net":`Rede:`,"adv.foot":`Serve para segurança, estudo e compatibilidade, sempre com permissão. O uso errado pode estragar o seu computador, expor os seus dados ou ser crime.`,"adv.items":e=>`Tem item de uso avançado: ${e}. Leia o aviso de cada um antes de instalar.`,"adv.ack":`Li os avisos de uso avançado e vou usar só com permissão.`,"ad.affiliate":`Link de afiliado: podemos ganhar uma comissão, sem custo extra para você.`,"side.support":`Apoiar`,"side.site":`Site`,"check.btn":`Verificar atualizações`,"check.progress":(e,t)=>`Verificando ${e} de ${t}`,"check.last":e=>`verificado ${e}`,"update.all":e=>`Atualizar tudo (${e})`,"inst.sub":(e,t,n)=>[`${e} ${e===1?`item`:`itens`}`,t?`${t} com atualização`:``,n?`${n} desativado${n===1?``:`s`}`:``].filter(Boolean).join(` · `),noClaude:`Não achei o Claude Code neste computador. Sem ele, dá para instalar programas, mas não plugins, mods, skills e conectores.`,"noClaude.btn":`Instalar o Claude Code`,"inst.scanning":`Lendo o que está instalado neste computador`,"inst.scanningSub":`Plugins e skills do Claude Code, conectores, mods e programas. Leva alguns segundos.`,"inst.empty":`Nada instalado ainda`,"inst.emptySub":`Comece por um pack pronto: ele instala tudo de uma vez.`,"inst.emptyBtn":`Ver os packs`,"f.all":`Todos`,"f.up":`Com atualização`,"f.off":`Desativados`,"f.dead":`Descontinuados`,"f.stale":`Parados`,"f.allTypes":`Todos os tipos`,"f.none":`Nada com esses filtros.`,search:`Buscar`,"search.installed":`Buscar no que está instalado`,"search.discover":`Buscar no catálogo: vídeo, Roblox, voz, design...`,"col.name":`Nome`,"col.type":`Tipo`,"col.version":`Versão`,"col.status":`Situação`,"col.uses":`Usos 30d`,"tip.idle":e=>`${e} itens ligados não foram usados nos últimos 30 dias. Cada um ocupa espaço no contexto do Claude em toda sessão.`,"tip.idleBtn":`Ver o uso`,toggle:e=>`Ativar ou desativar ${e}`,noToggle:`Este item não tem como ser desativado`,off:`desativado`,"a.update":`Atualizar`,"a.folder":`Abrir pasta`,"a.details":`Detalhes`,"a.install":`Instalar`,"a.installN":e=>e===1?`Instalar 1 item`:`Instalar ${e} itens`,"a.complete":`Completar`,"a.completeN":e=>`Instalar o que falta (${e})`,"a.installPack":`Instalar o pack`,"a.cancel":`Cancelar`,"a.done":`Pronto`,"nav.web":`Na web`,"web.sub":`Skills no Claude.ai e no Claude Code na web`,"web.openClaude":`Abrir as skills do Claude.ai`,"web.howH":`Por que tem um passo seu`,"web.why":`O Claude.ai não deixa nenhum outro app instalar coisas na sua conta. Então o Specialist Agent faz o resto: prepara o arquivo, copia o caminho, mostra o arquivo na pasta e abre a página de skills do Claude.ai. Lá você clica em +, escolhe enviar uma skill e cola o caminho.`,"web.mcpNote":`Só as skills vão para o Claude.ai: comandos, agentes e hooks de um plugin ficam neste computador. Os conectores estão mais abaixo.`,"web.todoH":`Para enviar`,"web.todoSub":`Skills deste computador que ainda não estão no Claude.ai, ou que mudaram desde o envio.`,"web.send":`Enviar para o Claude.ai`,"web.sendAgain":`Enviar de novo`,"web.sendAll":e=>`Enviar todas (${e})`,"web.changed":`Mudou desde o envio`,"web.changedTip":`A skill instalada mudou depois do envio (numa atualização, por exemplo). O Claude.ai ainda tem a versão antiga: envie de novo e troque lá.`,"web.ofPlugin":e=>`do plugin ${e}`,"web.ready":`arquivo pronto, ainda não enviado`,"web.sentWhen":e=>`enviada ${e}`,"web.notSent":`não marcada como enviada`,"web.gone":`não está mais instalada`,"web.markSent":`Já enviei`,"web.marked":`Marcada como enviada.`,"web.markedMany":`Marcadas como enviadas.`,"web.guideH":`Agora é no Claude.ai`,"web.g1":`Na página do Claude.ai que abriu, clique em + › Create skill › Upload a skill.`,"web.g2win":`Na janela de escolher arquivo, cole o caminho com Ctrl+V e aperte Enter. Ou arraste o arquivo da pasta que abriu.`,"web.g2mac":`Na janela de escolher arquivo, aperte Cmd+Shift+G, cole o caminho com Cmd+V e aperte Enter. Ou arraste o arquivo da pasta que abriu.`,"web.g3":`Ligue a skill no Claude.ai e clique em Já enviei aqui.`,"web.g2winMany":`Na janela de escolher arquivo, cole o caminho da pasta com Ctrl+V, aperte Enter e escolha o arquivo. Ou arraste o arquivo da pasta que abriu.`,"web.g2macMany":`Na janela de escolher arquivo, aperte Cmd+Shift+G, cole o caminho da pasta com Cmd+V, aperte Enter e escolha o arquivo. Ou arraste o arquivo da pasta que abriu.`,"web.g3Many":`Repita para cada arquivo e clique em Já enviei em cada um.`,"web.copied":`O caminho do arquivo já está copiado:`,"web.copiedFolder":`O caminho da pasta já está copiado:`,"web.copyFail":`O navegador não deixou copiar sozinho. Copie o caminho:`,"web.copyPath":`Copiar caminho`,"web.openAgain":`Abrir a página de skills`,"web.later":`Depois`,"web.sentH":`Já no Claude.ai`,"web.sentSub":`O que você marcou como enviado.`,"web.show":`Mostrar arquivo`,"web.showFolder":`Mostrar a pasta`,"web.forget":`Tirar da lista`,"web.forgotten":`Tirado da lista.`,"web.removeNote":`Para tirar uma skill do Claude.ai, remova em Personalizar › Skills e depois clique em Tirar da lista.`,"web.none":`Nada enviado ainda.`,"web.offTip":`Desativado neste PC. Dá para levar para a web mesmo assim: lá é outra conta, à parte deste PC.`,"web.allSent":`Tudo o que dá para levar já está no Claude.ai.`,"web.noneAvail":`Nenhuma skill instalada ainda. Instale um pack com skills primeiro.`,"web.conH":`Conectores`,"web.conSub":`Conectores MCP instalados neste computador.`,"web.conLocal":`Só roda neste computador: o Claude.ai, na internet, não alcança um conector local.`,"web.conHow":`Um conector na internet também funciona no Claude.ai: copie o endereço, abra os conectores do Claude.ai, clique em + Add › Add custom connector e cole o endereço.`,"web.copyUrl":`Copiar endereço`,"web.openConnectors":`Abrir os conectores do Claude.ai`,"web.drawerH":`Na web`,"web.drawerTxt":`Envie uma vez para o Claude.ai: a skill passa a valer no Claude.ai e no Claude Code na web.`,"web.sentAt":e=>`Enviada ao Claude.ai ${e}.`,"web.sentOk":`Enviada`,"web.dlgH":`Envie no Claude.ai`,"web.dlgSub":e=>`${e} ${e===1?`arquivo pronto`:`arquivos prontos`} na pasta Para a web.`,"web.big":e=>`A skill ${e} é grande demais para enviar ao Claude.ai.`,"web.noSkill":`Este item não tem skill para levar à web.`,"a.copy":`Copiar`,"a.copyLog":`Copiar o log`,"a.openPage":`Abrir página`,"a.open":`Abrir`,"a.change":`Trocar`,"a.enable":`Ativar`,"a.disable":`Desativar`,"a.remove":`Remover`,"a.mark":`Já tenho`,"a.manage":`Gerenciar`,"a.close":`Fechar`,"sug.title":`Sugestões para você`,"sug.sub":`Com base no que você já usa e no seu PC.`,"sug.pack":`Complete este pack`,"sug.related":`Combina com o que você usa`,"sug.popular":`Escolhas da curadoria`,"sug.missing":e=>e===1?`falta 1 item`:`faltam ${e} itens`,"disc.sub":e=>`${e} projetos do GitHub, com análise de segurança`,"disc.fits":`Roda no meu PC`,"disc.count":e=>e===1?`1 projeto`:`${e} projetos`,got:`Instalado`,official:`Oficial`,new:`Novo`,"packs.sub":e=>`${e} combos prontos, separados por tema`,"pack.done":`Pack completo`,"pack.progress":(e,t)=>`${e} de ${t} instalados`,"inst.checking":`Procurando atualizações`,"inst.checkingSub":`Comparando cada item com a versão mais nova.`,"inst.showList":`Ver a lista agora`,"check.count":(e,t)=>`${e} de ${t}`,"tab.label":`O que está instalado`,"tab.switchable":`Plugins, skills e conectores`,"tab.other":`Programas e pastas`,"tab.otherNote":e=>`Programas, pastas e itens marcados por você não se ligam e desligam por aqui. Para tirar um deles, abra o item e use ${e}.`,"f.otherTab":(e,t)=>`Nada nesta aba. ${e===1?`1 resultado`:`${e} resultados`} em ${t}.`,"f.otherTabBtn":e=>`Ver em ${e}`},f={"req.removeTitle":e=>e===1?`Remover 1 item?`:`Remover ${e} itens?`,"req.disableTitle":e=>e===1?`Desligar 1 item?`:`Desligar ${e} itens?`,"req.fromSite":`Pedido vindo do site. Nada muda antes de você confirmar.`,"req.fromLink":`Pedido vindo de um link. Nada muda antes de você confirmar.`,"req.fromApp":`Pedido vindo do terminal ou do conector. Nada muda antes de você confirmar.`,"req.waiting":`Chegou outro pedido. Ele abre quando você fechar esta confirmação.`,"req.scanning":`Procurando o que está instalado neste computador...`,"req.none":`Nada disso está instalado (ou ligado) neste computador.`,"req.notHere":e=>`Não estão instalados aqui: ${e}.`,"req.removeN":e=>e===1?`Remover 1 item`:`Remover ${e} itens`,"req.disableN":e=>e===1?`Desligar 1 item`:`Desligar ${e} itens`,"req.disableNote":`Desligar não apaga nada: dá para ligar de novo em Instalados.`,"req.enableTitle":e=>e===1?`Ligar 1 item?`:`Ligar ${e} itens?`,"req.updateTitle":e=>e===1?`Atualizar 1 item?`:`Atualizar ${e} itens?`,"req.enableN":e=>e===1?`Ligar 1 item`:`Ligar ${e} itens`,"req.updateN":e=>e===1?`Atualizar 1 item`:`Atualizar ${e} itens`,"win.need":`Esta janela não foi aberta pelo atalho do Specialist Agent, então não pode confirmar mudanças. O pedido ficou guardado: abra o gerenciador para conferir e confirmar.`,"win.needRedo":`Esta janela não foi aberta pelo atalho do Specialist Agent, então não pode confirmar mudanças. Nada foi guardado: abra o gerenciador e refaça o pedido por lá.`,"win.open":`Abrir o gerenciador`,"rb.action":`Voltar versão`,"rb.title":e=>`Voltar ${e} para a versão anterior?`,"rb.sub":(e,t)=>`Volta para ${e}, guardada antes da atualização (${t}).`,"rb.code":e=>`Código do plano: ${e}`,"rb.manual":`Este tipo não volta sozinho: abro a página da versão anterior para você baixar.`,"rb.none":`Sem versão anterior guardada. Ela é guardada a cada atualização feita pelo gerenciador.`,"ig.action":e=>`Ignorar a versão ${e}`,"ig.undo":`Voltar a avisar`,"ig.ignored":e=>`Versão ${e} ignorada: não aviso mais até sair outra.`,"ig.badge":e=>`${e} ignorada`,"cl.h":`Novidades da versão`,"cl.loading":`Buscando as novidades...`,"cl.none":`O projeto não publicou notas para esta versão.`,"cl.compare":`Ver todas as mudanças no GitHub`,"cl.release":`Ver a versão no GitHub`,"pv.h":`Prévia: o mesmo pedido sem e com ele`,"pv.before":`Sem`,"pv.after":`Com`,"pv.credit":(e,t)=>`Imagens: ${e} (${t})`,"pv.own":`feitas pelo Specialist Agent, CC BY 4.0`,"pv.source":`fonte`,"pv.emptyH":`Ainda sem prévia`,"pv.emptyItem":(e,t)=>`Tipo: ${e}. ${t}`,"pv.emptyPack":(e,t,n)=>`Instala ${e} itens: ${t}. ${n}`,"pv.more":`Prévia e vídeos`,"vd.h":`Vídeos de quem usa`,"vd.play":e=>`Assistir aqui: ${e}`,"vd.note":`O player do YouTube ou do Instagram só carrega quando você clica. Os vídeos são dos canais citados.`,"vd.original":`Ver no site original`,"vd.channel":`Canal`},p={"u.days":e=>`${e} dias`,"u.period":`Período`,"u.reading":(e,t)=>`Lendo ${e} de ${t}`,"u.refresh":`Ler de novo`,"u.sub":`Quais skills, plugins, conectores e agentes você mais usa`,"u.loading":`Lendo o histórico do Claude Code`,"u.loadingSub":`É rápido e acontece só no seu computador.`,"u.none":`Sem histórico ainda`,"u.error":`Não deu para ler o histórico do Claude Code`,"u.errorSub":`Tente de novo em "Ler de novo".`,"u.noneSub":`Use o Claude Code por alguns dias e volte aqui para ver o que você mais usa.`,"u.skills":`Usos de skills e comandos`,"u.mcp":`Chamadas a conectores`,"u.agents":`Agentes chamados`,"u.idle":`Ligados e sem uso`,"u.perDay":`Usos por dia`,"u.top":`Mais usados`,"u.topSub":`Contando skills, comandos, agentes e conectores de cada item.`,"u.noUse":`Nenhum item instalado foi usado neste período.`,"u.idleTitle":`Ligados e sem uso`,"u.idleSub":`Desative para deixar o Claude mais leve. Dá para religar quando quiser.`,"u.disableAll":e=>`Desativar os ${e}`,"u.lastUsed":e=>`usado ${e}`,"u.never":`nunca usado`,"u.tokens":e=>`Juntos, eles ocupam cerca de ${e} tokens em toda sessão do Claude Code.`,"u.tokensPart":(e,t)=>`Os que têm estimativa ocupam cerca de ${e} tokens em toda sessão do Claude Code. ${t===1?`1 item sem estimativa fica`:`${t} itens sem estimativa ficam`} fora da soma.`,"u.noTokens":`sem estimativa`,"u.allUsed":`Tudo o que está ligado foi usado neste período.`,"u.agentsTitle":`Agentes mais chamados`,"u.agentsSub":`Subagentes que o Claude chamou para ajudar.`,"u.agent":`agente`,"ua.plugin":e=>`do plugin ${e}`,"ua.user":`arquivo seu`,"ua.project":e=>`do projeto ${e}`,"ua.builtin":`do Claude Code`,"ua.builtinTip":`Vem com o Claude Code. Não há arquivo para mostrar nem remover.`,"ua.missing":`não está mais instalado`,"ua.seePlugin":`Ver plugin`,"ua.show":`Mostrar arquivo`,"ua.showLabel":e=>`Mostrar arquivo: ${e}`,"ua.removeLabel":e=>`Remover: ${e}`,"ua.rmTitle":e=>`Remover o agente ${e}?`,"ua.rmText":`O arquivo vai para a lixeira e o Claude Code deixa de chamar este agente. Dá para recuperar de lá. Se a lixeira do sistema não receber, ele fica guardado numa pasta do app, e eu digo onde.`,"ua.removed":`Agente na lixeira.`,"ua.kept":e=>`A lixeira do sistema não recebeu. O arquivo ficou guardado em ${e}.`,"ua.removeFail":`Não consegui mover o arquivo para a lixeira.`,"u.privacy":`Lido só no seu computador, a partir do histórico do Claude Code (~/.claude/projects). Nada é enviado para lugar nenhum.`,"act.sub":e=>e?`${e} em andamento`:`Instalações, atualizações e mudanças`,"act.clear":`Limpar concluídas`,"act.empty":`Nada na fila`,"act.emptySub":`Quando você instalar, atualizar ou remover algo, aparece aqui com o passo a passo.`,"step.mkdir":e=>`Criar a pasta ${e}`,"j.queued":`Na fila`,"j.running":`Rodando`,"j.waiting":`Esperando você`,"j.done":`Pronto`,"j.manual":`Falta um passo seu`,"j.error":`Deu erro`,"j.canceled":`Cancelado`,"j.yourTurn":`Sua vez`,"j.terminal":`Este passo pede senha. Copie, cole num terminal e rode:`,"j.markDone":e=>`Já instalei o ${e}`,"j.approval":`O marketplace quer rodar este comando. Confira antes de aceitar.`,"j.accept":`Aceitar e continuar`,"j.reject":`Recusar`,"pc.sub":`O que o app sabe do seu computador`,"pc.refresh":`Detectar de novo`,"pc.reading":`Detectando o seu computador`,"pc.gpuUnknown":`Não identificada`,"pc.noGpu":`Sem placa de vídeo`,"pc.shared":e=>`Uns ${e} GB da memória`,"pc.cloud":e=>`Seu PC não aguenta? Rode na nuvem com ${e}.`,"pc.cloudSub":`Você aluga uma placa de vídeo por hora, sem comprar nada.`,"pc.cloudBtn":e=>`Abrir ${e}`,"pc.os":`Sistema`,"pc.ram":`Memória RAM`,"pc.disk":`Livre no disco`,"pc.gpu":`Placa de vídeo`,"pc.source":e=>`lido por ${e}`,"pc.vram":`Memória da placa`,"pc.approx":`valor aproximado`,"pc.error":e=>`Não deu para ler a placa de vídeo: ${e}`,"pc.failed":e=>`A detecção não respondeu: ${e}.`,"pc.lastRead":`Os dados abaixo são da última leitura que deu certo.`,"pc.noAnswer":`o agente não mandou o resultado`,"pc.noAgent":`o agente não respondeu`,"pc.noSession":`abra a janela pelo atalho do Specialist Agent`,"pc.agentError":`o agente deu erro`,"pc.exited":e=>`a thread terminou sem resposta (código ${e})`,"pc.check":`Confira a placa e a memória dela. Se estiverem erradas, corrija abaixo.`,"pc.informed":`informado por você`,"pc.fix":`Corrigir a placa de vídeo`,"pc.fixSub":`Se a placa ou a memória dela estiverem erradas, informe aqui. O que roda no seu PC passa a usar o que você informar.`,"pc.fixGpu":`Placa`,"pc.fixDetected":`A detectada`,"pc.fixVram":`Memória da placa em GB`,"pc.fixSave":`Salvar`,"pc.fixReset":`Usar a detectada`,"pc.brand":e=>({nvidia:`NVIDIA`,amd:`AMD`,intel:`Intel`,apple:`Mac com chip Apple`,none:`Sem placa de vídeo`})[e]||String(e),"pc.runs":`O que roda no seu PC`,"pc.runsSub":e=>`Dos ${e} programas que usam placa de vídeo.`,"pc.seeFits":`Ver o que roda bem`,"pc.prereqs":`Ferramentas no computador`,"pc.prereqsSub":`O instalador põe o que faltar quando um item precisar. Toque no ? para ver para que serve cada uma.`,"pre.what":e=>`O que é ${e}?`,"pre.users":e=>`Usado por ${e} ${e===1?`item`:`itens`} do catálogo.`,"pre.y":`Instalado`,"pre.n":`Não encontrado`,"pre.u":`Não verificado`,"set.lang":`Idioma`,"set.langSub":`No automático, o app usa português no Brasil e inglês no resto do mundo.`,"set.auto":`Automático`,"set.theme":`Tema`,"set.themeSub":`Claro, escuro ou igual ao sistema.`,"theme.auto":`Sistema`,"theme.light":`Claro`,"theme.dark":`Escuro`,"set.base":`Pasta dos programas`,"set.baseSub":`Onde ficam os programas e modelos que o app instala. Trocar não move nada: o que está na pasta antiga fica nela e sai da lista.`,"set.baseBad":`Não troquei a pasta: ela não existe ou não aceita gravação. Escolha outra.`,"set.auto.check":`Verificar atualizações sozinho`,"set.auto.checkSub":`Ao abrir o app e a cada 6 horas.`,"set.notify":`Avisar quando uma tarefa terminar`,"set.notifySub":`Um aviso do navegador quando a janela está em segundo plano.`,"set.notifyBlocked":`O navegador bloqueou os avisos desta janela. Para liberar, clique no cadeado ao lado do endereço e permita as notificações.`,"set.remove":`Desinstalar o Specialist Agent`,"set.removeSub":`Tira o agente, os atalhos e o início automático deste computador. O que ele instalou continua no lugar. Rode no terminal:`,"set.about":`Sobre`,"set.aboutSub":`Gerenciador de pacotes de IA para o Claude Code.`,"set.data":`Dados do app`,"set.dataSub":`Ajustes, registro e índice de uso ficam em ~/.specialist-agent.`,"set.windows":`Outras janelas`,"set.windowsSub":`As abas e o app instalado que já entraram pelo atalho podem confirmar mudanças. Desconectar deixa só esta janela; as outras entram de novo pelo atalho.`,"set.windowsGo":`Desconectar as outras`,"set.windowsOut":`Pronto: só esta janela confirma mudanças. As outras entram de novo pelo atalho.`,"set.trash":`Lixeira do app`,"set.trashSub":`Pastas que a lixeira do sistema não recebeu ao remover e arquivos .zip esquecidos em Para a web.`,"set.trashSize":(e,t)=>`${e} em ${t} ${t===1?`item`:`itens`}: pastas que a lixeira do sistema não recebeu ao remover e .zip esquecidos em Para a web. Nada sai daqui sozinho.`,"set.trashEmpty":`Vazia. Quando a lixeira do sistema não recebe uma pasta removida, ela fica guardada aqui até você esvaziar.`,"set.trashGo":`Esvaziar`,"set.trashBusy":`Esvaziando`,"set.trashTitle":`Esvaziar a lixeira do app?`,"set.trashText":e=>`Apaga de vez ${e}: as pastas removidas que o app guardou e os .zip que nenhum item da tela Na web usa. Não dá para desfazer.`,"set.trashDone":`Pronto: a lixeira do app está vazia.`,"set.trashLeft":`Esvaziei o que deu. Algum arquivo está em uso e ficou: feche o programa que usa e tente de novo.`,legal:`O Specialist Agent não é dono, autor nem mantenedor dos projetos listados. Cada projeto pertence aos seus autores e segue a própria licença. Estrelas não garantem segurança: confira os comandos antes de instalar. O Specialist Agent não é afiliado à Anthropic. Claude e Claude Code são marcas da Anthropic.`,"d.version":`Versão`,"d.uses30":`Usos em 30 dias`,"d.lastUse":`Último uso`,"d.tokens":`Tokens por sessão`,"d.installed":`Instalado`,"d.updated":`Atualizado`,"d.where":`Onde está`,"d.inside":`O que vem dentro`,"d.skills":`Skills`,"d.cmds":`Comandos`,"d.agents":`Agentes`,"d.about":`O que faz`,"d.stars":`Estrelas`,"d.contrib":`Contribuidores`,"d.license":`Licença`,"d.push":`Última mudança`,"d.level":`Nível`,"d.where2":`Funciona em`,"d.pc":`No seu PC`,"d.howto":`Como usar`,"d.packs":`Faz parte dos packs`,"w.no":e=>`Não rodam bem no seu PC: ${e}. Dá para instalar, mas vai falhar ou ficar muito lento.`,"w.slow":e=>`No limite no seu PC: ${e}.`,"w.models":e=>`Baixam modelos de IA de vários GB na primeira vez: ${e}. Deixe espaço livre no disco.`,"w.none":e=>`Não sei se rodam no seu PC: ${e}. Veja a tela Meu PC.`,"w.new":(e,t)=>`Projetos novos, com menos de ${t} estrelas: ${e}. Confira o código antes.`,"w.risk":e=>`A análise de segurança achou risco em: ${e}. Leia os alertas do item antes de instalar.`,"w.torch":e=>`Programas com PyTorch vão usar a versão ${e?`para placa NVIDIA (cuda)`:`para processador (cpu)`}.`,"plan.loading":`Montando o plano`,"plan.title":e=>e===1?`Instalar 1 item`:`Instalar ${e} itens`,"plan.sub":e=>`Os programas vão para ${e}. Você vê cada comando antes.`,"plan.fromSite":`Pedido vindo do site. Confira e confirme.`,"plan.fromLink":`Pedido vindo de um link. Confira e confirme.`,"plan.skip":`sem versão para o seu sistema`,"plan.manual":`você termina pela página ou pasta indicada`,"plan.why":e=>`vem junto porque ${e} precisa`,"plan.prereqs":`Antes, o computador precisa de`,"plan.willInstall":`vou instalar`,"plan.preHas":`já tem`,"plan.preMissing":`falta`,"plan.preUnknown":`não verificado`,"plan.cmds":e=>`Ver os comandos (${e})`,"plan.legal":`Cada projeto vem do repositório original. Você instala por sua conta e risco.`,"rm.title":e=>`Remover ${e}?`,"rm.plugin":`Desinstala do Claude Code. Para usar de novo, é só instalar outra vez.`,"rm.skill":`A pasta da skill vai para a lixeira. Dá para recuperar de lá. Se a lixeira do sistema não receber, ela fica guardada numa pasta do app, e a tarefa diz onde.`,"rm.mcp":`Tira o conector do Claude Code. A configuração é apagada.`,"rm.folder":`A pasta vai para a lixeira, com os modelos que estiverem dentro. Dá para recuperar de lá. Se a lixeira do sistema não receber (pasta grande demais ou disco sem lixeira), ela fica guardada numa pasta do app, e a tarefa diz onde.`,"rm.program":`Programas do sistema se desinstalam pela lista de programas. Eu abro para você.`,"rm.programMac":`Programas do Mac se desinstalam arrastando o app da pasta Aplicativos para o Lixo. Eu digo como; daqui não sai nada.`,"rm.programLinux":`Programas do Linux se desinstalam pelo gerenciador de programas ou de pacotes do sistema. Eu digo como; daqui não sai nada.`,"rm.programNpm":`Desinstala o pacote global do npm (npm uninstall -g).`,"rm.manual":`Só tira a marca de instalado. Nada é apagado.`,"err.plan":`Não consegui montar o plano.`,"err.unknownIds":e=>`Não achei no catálogo: ${e}. Confira o link ou o código.`,"err.check":`Não consegui verificar agora.`,"err.action":`Não consegui fazer isso agora.`,"err.noRollback":`Não há mais uma versão anterior para voltar.`,"err.planChanged":`O plano mudou desde que abriu (catálogo ou PC). Confira o plano novo antes de instalar.`,"err.open":`Não achei para abrir: foi apagado ou ainda não existe. A pasta dos programas é criada na primeira instalação.`,"toast.queued":`Na fila. Acompanhe em Fila.`,"toast.disabling":`Desativando os itens sem uso.`,"toast.marked":`Marcado como instalado.`,"toast.copied":`Copiado.`,"toast.done":e=>`${e}: pronto.`,"toast.error":e=>`${e}: deu erro. Veja o log na Fila.`,"toast.manual":e=>`${e}: falta um passo seu. Veja na Fila.`,"conn.lost":`Sem conexão com o agente. Tentando de novo...`,"pwa.install":`Instalar como app`,"pwa.installSub":`Põe o Specialist Agent no menu Iniciar ou no Dock, com janela própria.`},m={"acc.title":`Conta`,"acc.sub":`Entre com o Google para levar seu setup entre computadores e ver no site o que está instalado aqui. Fica tudo num arquivo na pasta oculta do app no seu Google Drive; nada passa por servidor nosso.`,"acc.signIn":`Entrar com Google`,"acc.signingIn":`Termine o login no navegador que abri.`,"acc.cancel":`Cancelar`,"acc.synced":e=>`Sincronizado ${e}`,"acc.never":`Ainda não sincronizou`,"acc.syncNow":`Sincronizar agora`,"acc.syncing":`Sincronizando`,"acc.signOut":`Sair`,"acc.erase":`Apagar meus dados do Drive`,"acc.eraseTitle":`Apagar seus dados do Drive?`,"acc.eraseText":`O arquivo do Specialist Agent sai do seu Google Drive: o Meu setup, os computadores e as skills levadas para a web. Nada muda nos programas instalados neste computador. Você sai da conta aqui; entre de novo quando quiser voltar a sincronizar.`,"acc.eraseGo":`Apagar do Drive`,"acc.erased":`Seus dados saíram do Drive.`,"acc.photo":e=>`Foto de ${e}`,"acc.err.signed-out":`Sua sessão com o Google acabou. Entre de novo.`,"acc.err.canceled":`O login foi cancelado.`,"acc.err.timeout":`O login demorou demais. Tente de novo.`,"acc.err.denied":`Sem a permissão da pasta do app no Drive não dá para sincronizar. Entre de novo e deixe a caixa marcada.`,"acc.err.network":`Sem internet agora. O app tenta de novo sozinho.`,"acc.err.google":`O Google não respondeu direito. Tente de novo em instantes.`,"acc.err.config":`O login com Google não está disponível nesta versão do app.`,"acc.err.disk":`Não consegui apagar o login guardado neste computador, então você continua na conta. Tente sair de novo em instantes.`,"chosen.title":`Escolhidos no site`,"chosen.sub":`Itens do seu Meu setup que ainda não estão neste computador.`,"chosen.install":`Instalar`,"chosen.installAll":e=>`Instalar os ${e}`,"chosen.dismiss":`Dispensar`,"chosen.dismissTip":`Tira do Meu setup em todos os computadores.`,"upd.ready":e=>`Versão ${e} pronta`,"upd.restart":`Reiniciar e atualizar`,"upd.available":e=>`Versão ${e} disponível`,"upd.download":`Baixar`,"upd.downloading":(e,t)=>`Baixando a versão ${e}${t==null?``:` · ${t}%`}`,"upd.error":`Não consegui baixar a versão nova. Tento de novo mais tarde.`,"upd.errorCheck":`Não consegui procurar versão nova. Confira a conexão e tente de novo.`,"upd.busy":`A versão está pronta, mas há tarefa em andamento. Reinicie quando terminar.`,"upd.setting":`Atualizar sozinho`,"upd.settingSub":`Baixa a versão nova em segundo plano e confere. Com o gerenciador fechado, troca sozinho; aberto, avisa antes.`,"upd.bad":e=>`A versão ${e} não abriu neste computador e não será instalada sozinha. Você está na versão mais estável.`,"upd.latest":`Você está na versão mais nova.`,"upd.manualSub":`Rodando fora da instalação: para atualizar, rode de novo o comando de instalação do site.`,"upd.how":`Como atualizar`,"upd.check":`Procurar agora`,"upd.checking":`Procurando`,"d.powers":`O que ele faz`},h={"nav.label":`Sections`,"seg.title":`Security`,"seg.ok":`Analyzed`,"seg.atencao":`Review first`,"seg.risco":`Risk`,"seg.tip.ok":`The automatic security analysis found no problems.`,"seg.tip.atencao":`There is something to check before installing.`,"seg.tip.risco":`The analysis found something dangerous. We do not recommend installing it.`,"seg.when":e=>`analyzed ${e}`,"seg.goodToKnow":`Good to know`,"seg.reviewed":`Reviewed by our curators.`,"seg.how":`How we analyze`,"seg.packRisk":`One item in this pack did not pass the security analysis.`,"seg.installedRisk":e=>`${e.length===1?e[0]+` did not pass`:e.length+` installed items did not pass`} this week's security analysis. See what was found and consider disabling or removing it.`,"seg.see":`See what was found`,"segc.origem":`Installs from the original repository or the maker`,"segc.licenca":`Known open license`,"segc.manutencao":`Changed in the last year`,"segc.popular":(e=500)=>`${e}+ stars on GitHub`,"segc.comunidade":`3+ contributors`,"segc.oficial":`Made by the product's own company`,"segc.comandos":`Install commands have nothing dangerous`,"segc.conteudo":`Code scanned: no data sending, no destructive commands`,"sega.script-internet":`Downloads and runs an install script from the internet.`,"sega.sudo":`Asks for the admin password.`,"sega.apaga-arquivos":`Has a command that deletes whole folders.`,"sega.envia-dados":`Sends data or keys to the internet.`,"sega.credenciais":`Reads password or key files (like ~/.ssh).`,"sega.injecao":`Has phrases that try to change Claude's instructions.`,"sega.ofuscado":`Has hidden code that gets executed.`,"sega.hooks":`Runs on its own on every Claude action (hooks).`,"sega.telemetria":`Sends usage statistics to an outside service.`,"sega.sem-licenca":`No open license: use follows the author's rules.`,"sega.nao-comercial":`Non-commercial license.`,"sega.arquivado":`Archived by its authors.`,"sega.parado":`No changes for more than a year.`,"sega.novo":(e=500)=>`New project with fewer than ${e} stars.`,"sega.texto-oculto":`Has invisible text in the instructions that only Claude reads.`,"sega.instrucao-escondida":`Has an order for Claude hidden in a comment.`,"sega.baixa-e-executa":`The instructions tell Claude to download a script and run it right away.`,"sega.comando-ao-carregar":`Runs a terminal command as soon as Claude loads the skill.`,"sega.pacote-malicioso":`Runs a package that is on the list of malicious packages.`,"sega.pacote-inexistente":`Runs a package that doesn't exist in the registry.`,"sega.pacote-vulneravel":`Runs a package with a known security flaw.`,"sega.pacote-recente":`Runs a new package or a freshly published version.`,"side.courses":`Courses`,"nav.installed":`Installed`,"nav.discover":`Discover`,"nav.packs":`Packs`,"nav.usage":`Usage`,"nav.activity":`Activity`,"nav.pc":`My PC`,"nav.settings":`Settings`,"k.folder":`Folder`,"ty.plugin":`Plugins`,"ty.mod":`Mods`,"ty.skill":`Skills`,"ty.mcp":`Connectors`,"ty.app":`Apps`,"v.noOs":`No version for your system`,"v.addon":`Works on any PC`,"v.any":`Runs on any PC`,"v.unknown":`I don't know your graphics card yet`,"v.cpuFast":`Runs well even without a graphics card`,"v.cpuSlow":`Runs, but slowly, on the processor`,"v.needNvidia":`Needs an NVIDIA card`,"v.needGpu":`Needs an NVIDIA card or a Mac with Apple silicon`,"v.minVram":e=>`Needs at least ${e} GB of graphics memory`,"v.limit":e=>`Runs at the limit. Ideally ${e} GB of graphics memory`,"v.ram":e=>`Runs, but ideally with ${e} GB of RAM`,"v.ok":`Runs well on your PC`,"v.macRam":`Enter your Mac's memory`,"v.from":e=>`Depends on ${e}.`,"v.noOsWsl":`On Windows, it only runs through WSL`,"v.minVramMac":e=>`Needs at least ${e} GB of graphics memory (on a Mac, the memory is shared with the system)`,"vk.ok":`Runs well`,"vk.slow":`At the limit`,"vk.no":`Won't run`,"vk.none":`Unknown`,"vk.addon":`Any PC`,"s.checking":`Checking`,"s.unchecked":`Not checked`,"s.atualizado":`Up to date`,"s.atualizar":`Update`,"s.descontinuado":`Discontinued`,"s.parado":`Idle for a year`,"s.desconhecido":`Unknown`,"sd.atualizado":`You have the latest version.`,"sd.atualizar":`A new version is out. Click Update.`,"sd.descontinuado":`The authors archived this project and it no longer gets fixes. Look for an alternative.`,"sd.parado":`The project has had no changes for over a year. It may keep working, but keep an eye on it.`,"sd.desconhecido":`This item's version can't be checked automatically. Update it from the app itself.`,"sd.unchecked":`Not checked yet. Click Check for updates.`,"sd.why.no-git":`Couldn't check: Git isn't installed on this computer.`,"sd.why.git-failed":`Couldn't check: the repository didn't answer (no internet or it took too long). Try again later.`,"sd.why.no-npm":`Couldn't check: npm isn't installed on this computer.`,"sd.why.npm-failed":`Couldn't check: npm didn't answer. Try again later.`,"sd.why.no-claude":`Couldn't check: without the claude command, the marketplace list wasn't updated.`,"sd.why.marketplace-failed":`Couldn't check: the marketplace list didn't update. Try again later.`,"src.disabledSkill":`kept by the app · `,"src.mcp":`Connector`,"src.program":`App on this computer`,"src.manual":`Marked as installed by you`,"adv.tag":`Advanced use`,"adv.h":`Advanced use: read before installing`,"adv.net":`Network:`,"adv.foot":`It is meant for security, study and interoperability, always with permission. Misuse can break your computer, expose your data or be a crime.`,"adv.items":e=>`It has advanced-use items: ${e}. Read each warning before installing.`,"adv.ack":`I read the advanced-use warnings and will only use them with permission.`,"ad.affiliate":`Affiliate link: we may earn a commission at no extra cost to you.`,"side.support":`Support`,"side.site":`Website`,"check.btn":`Check for updates`,"check.progress":(e,t)=>`Checking ${e} of ${t}`,"check.last":e=>`checked ${e}`,"update.all":e=>`Update all (${e})`,"inst.sub":(e,t,n)=>[`${e} ${e===1?`item`:`items`}`,t?`${t} with updates`:``,n?`${n} disabled`:``].filter(Boolean).join(` · `),noClaude:`Claude Code isn't installed on this computer. Without it you can install apps, but not plugins, mods, skills or connectors.`,"noClaude.btn":`Install Claude Code`,"inst.scanning":`Reading what is installed on this computer`,"inst.scanningSub":`Claude Code plugins and skills, connectors, mods and programs. It takes a few seconds.`,"inst.empty":`Nothing installed yet`,"inst.emptySub":`Start with a ready-made pack: it installs everything in one go.`,"inst.emptyBtn":`See the packs`,"f.all":`All`,"f.up":`With updates`,"f.off":`Disabled`,"f.dead":`Discontinued`,"f.stale":`Idle`,"f.allTypes":`All types`,"f.none":`Nothing matches these filters.`,search:`Search`,"search.installed":`Search what is installed`,"search.discover":`Search the catalog: video, Roblox, voice, design...`,"col.name":`Name`,"col.type":`Type`,"col.version":`Version`,"col.status":`Status`,"col.uses":`Uses 30d`,"tip.idle":e=>`${e} enabled items were not used in the last 30 days. Each one takes up room in Claude's context in every session.`,"tip.idleBtn":`See usage`,toggle:e=>`Enable or disable ${e}`,noToggle:`This item can't be disabled`,off:`disabled`,"a.update":`Update`,"a.folder":`Open folder`,"a.details":`Details`,"a.install":`Install`,"a.installN":e=>e===1?`Install 1 item`:`Install ${e} items`,"a.complete":`Complete it`,"a.completeN":e=>`Install what's missing (${e})`,"a.installPack":`Install the pack`,"a.cancel":`Cancel`,"a.done":`Done`,"nav.web":`On the web`,"web.sub":`Skills in Claude.ai and Claude Code on the web`,"web.openClaude":`Open Claude.ai skills`,"web.howH":`Why one step is yours`,"web.why":`Claude.ai doesn't let any other app install things in your account. So Specialist Agent does the rest: it prepares the file, copies its path, shows the file in its folder and opens the Claude.ai skills page. There you click +, choose to upload a skill and paste the path.`,"web.mcpNote":`Only skills go to Claude.ai: a plugin's commands, agents and hooks stay on this computer. Connectors are further down.`,"web.todoH":`To send`,"web.todoSub":`Skills on this computer that aren't in Claude.ai yet, or that changed since you sent them.`,"web.send":`Send to Claude.ai`,"web.sendAgain":`Send again`,"web.sendAll":e=>`Send all (${e})`,"web.changed":`Changed since sent`,"web.changedTip":`The installed skill changed after you sent it (in an update, for example). Claude.ai still has the old version: send it again and replace it there.`,"web.ofPlugin":e=>`from plugin ${e}`,"web.ready":`file ready, not sent yet`,"web.sentWhen":e=>`sent ${e}`,"web.notSent":`not marked as sent`,"web.gone":`no longer installed`,"web.markSent":`I've sent it`,"web.marked":`Marked as sent.`,"web.markedMany":`Marked as sent.`,"web.guideH":`Now in Claude.ai`,"web.g1":`On the Claude.ai page that opened, click + › Create skill › Upload a skill.`,"web.g2win":`In the file window, paste the path with Ctrl+V and press Enter. Or drag the file from the folder that opened.`,"web.g2mac":`In the file window, press Cmd+Shift+G, paste the path with Cmd+V and press Enter. Or drag the file from the folder that opened.`,"web.g3":`Turn the skill on in Claude.ai and click I've sent it here.`,"web.g2winMany":`In the file window, paste the folder path with Ctrl+V, press Enter and pick the file. Or drag the file from the folder that opened.`,"web.g2macMany":`In the file window, press Cmd+Shift+G, paste the folder path with Cmd+V, press Enter and pick the file. Or drag the file from the folder that opened.`,"web.g3Many":`Repeat for each file and click I've sent it on each one.`,"web.copied":`The file path is already copied:`,"web.copiedFolder":`The folder path is already copied:`,"web.copyFail":`The browser didn't let it copy on its own. Copy the path:`,"web.copyPath":`Copy path`,"web.openAgain":`Open the skills page`,"web.later":`Later`,"web.sentH":`Already in Claude.ai`,"web.sentSub":`What you marked as sent.`,"web.show":`Show file`,"web.showFolder":`Show the folder`,"web.forget":`Remove from list`,"web.forgotten":`Removed from the list.`,"web.removeNote":`To remove a skill from Claude.ai, delete it under Customize › Skills, then click Remove from list.`,"web.none":`Nothing sent yet.`,"web.offTip":`Disabled on this PC. You can still bring it to the web: that is a separate account, apart from this PC.`,"web.allSent":`Everything you can bring is already in Claude.ai.`,"web.noneAvail":`No skills installed yet. Install a pack with skills first.`,"web.conH":`Connectors`,"web.conSub":`MCP connectors installed on this computer.`,"web.conLocal":`Runs only on this computer: Claude.ai, on the internet, can't reach a local connector.`,"web.conHow":`A connector on the internet also works in Claude.ai: copy the address, open the Claude.ai connectors, click + Add › Add custom connector and paste the address.`,"web.copyUrl":`Copy address`,"web.openConnectors":`Open Claude.ai connectors`,"web.drawerH":`On the web`,"web.drawerTxt":`Send it once to Claude.ai: the skill then works in Claude.ai and in Claude Code on the web.`,"web.sentAt":e=>`Sent to Claude.ai ${e}.`,"web.sentOk":`Sent`,"web.dlgH":`Upload in Claude.ai`,"web.dlgSub":e=>`${e} ${e===1?`file`:`files`} ready in the Para a web folder.`,"web.big":e=>`The ${e} skill is too big to upload to Claude.ai.`,"web.noSkill":`This item has no skill to bring to the web.`,"a.copy":`Copy`,"a.copyLog":`Copy the log`,"a.openPage":`Open page`,"a.open":`Open`,"a.change":`Change`,"a.enable":`Enable`,"a.disable":`Disable`,"a.remove":`Remove`,"a.mark":`I have it`,"a.manage":`Manage`,"a.close":`Close`,"sug.title":`Suggestions for you`,"sug.sub":`Based on what you already use and on your PC.`,"sug.pack":`Complete this pack`,"sug.related":`Goes well with what you use`,"sug.popular":`Curated picks`,"sug.missing":e=>e===1?`1 item missing`:`${e} items missing`,"disc.sub":e=>`${e} GitHub projects, with a security analysis`,"disc.fits":`Runs on my PC`,"disc.count":e=>e===1?`1 project`:`${e} projects`,got:`Installed`,official:`Official`,new:`New`,"packs.sub":e=>`${e} ready-made combos, grouped by theme`,"pack.done":`Pack complete`,"pack.progress":(e,t)=>`${e} of ${t} installed`,"inst.checking":`Looking for updates`,"inst.checkingSub":`Comparing each item with its newest version.`,"inst.showList":`Show the list now`,"check.count":(e,t)=>`${e} of ${t}`,"tab.label":`What is installed`,"tab.switchable":`Plugins, skills and connectors`,"tab.other":`Programs and folders`,"tab.otherNote":e=>`Programs, folders and items you marked are not switched on and off here. To take one out, open it and use ${e}.`,"f.otherTab":(e,t)=>`Nothing in this tab. ${e===1?`1 match`:`${e} matches`} in ${t}.`,"f.otherTabBtn":e=>`Show in ${e}`},g={"req.removeTitle":e=>e===1?`Remove 1 item?`:`Remove ${e} items?`,"req.disableTitle":e=>e===1?`Disable 1 item?`:`Disable ${e} items?`,"req.fromSite":`Request from the website. Nothing changes until you confirm.`,"req.fromLink":`Request from a link. Nothing changes until you confirm.`,"req.fromApp":`Request from the terminal or the connector. Nothing changes until you confirm.`,"req.waiting":`Another request arrived. It opens when you close this one.`,"req.scanning":`Looking for what is installed on this computer...`,"req.none":`None of this is installed (or enabled) on this computer.`,"req.notHere":e=>`Not installed here: ${e}.`,"req.removeN":e=>e===1?`Remove 1 item`:`Remove ${e} items`,"req.disableN":e=>e===1?`Disable 1 item`:`Disable ${e} items`,"req.disableNote":`Disabling deletes nothing: you can enable it again in Installed.`,"req.enableTitle":e=>e===1?`Enable 1 item?`:`Enable ${e} items?`,"req.updateTitle":e=>e===1?`Update 1 item?`:`Update ${e} items?`,"req.enableN":e=>e===1?`Enable 1 item`:`Enable ${e} items`,"req.updateN":e=>e===1?`Update 1 item`:`Update ${e} items`,"win.need":`This window wasn't opened from the Specialist Agent shortcut, so it can't confirm changes. The request was saved: open the manager to review and confirm it.`,"win.needRedo":`This window wasn't opened from the Specialist Agent shortcut, so it can't confirm changes. Nothing was saved: open the manager and make the request again there.`,"win.open":`Open the manager`,"rb.action":`Roll back`,"rb.title":e=>`Roll ${e} back to the previous version?`,"rb.sub":(e,t)=>`Goes back to ${e}, saved before the update (${t}).`,"rb.code":e=>`Plan code: ${e}`,"rb.manual":`This type can't roll back on its own: I'll open the previous version's page for you to download.`,"rb.none":`No previous version saved. One is saved on every update made by the manager.`,"ig.action":e=>`Ignore version ${e}`,"ig.undo":`Notify me again`,"ig.ignored":e=>`Version ${e} ignored: no more alerts until a newer one comes out.`,"ig.badge":e=>`${e} ignored`,"cl.h":`What's new`,"cl.loading":`Fetching the release notes...`,"cl.none":`The project did not publish notes for this version.`,"cl.compare":`See every change on GitHub`,"cl.release":`See the release on GitHub`,"pv.h":`Preview: the same request without and with it`,"pv.before":`Without`,"pv.after":`With`,"pv.credit":(e,t)=>`Images: ${e} (${t})`,"pv.own":`made by Specialist Agent, CC BY 4.0`,"pv.source":`source`,"pv.emptyH":`No preview yet`,"pv.emptyItem":(e,t)=>`Type: ${e}. ${t}`,"pv.emptyPack":(e,t,n)=>`Installs ${e} items: ${t}. ${n}`,"pv.more":`Preview and videos`,"vd.h":`Videos from people who use it`,"vd.play":e=>`Watch here: ${e}`,"vd.note":`The YouTube or Instagram player only loads when you click. The videos belong to the channels shown.`,"vd.original":`Open the original`,"vd.channel":`Channel`},_={"u.days":e=>`${e} days`,"u.period":`Period`,"u.reading":(e,t)=>`Reading ${e} of ${t}`,"u.refresh":`Read again`,"u.sub":`Which skills, plugins, connectors and agents you use most`,"u.loading":`Reading Claude Code's history`,"u.loadingSub":`It's quick and it happens only on your computer.`,"u.none":`No history yet`,"u.error":`Could not read Claude Code's history`,"u.errorSub":`Try again with "Read again".`,"u.noneSub":`Use Claude Code for a few days and come back to see what you use most.`,"u.skills":`Skill and command uses`,"u.mcp":`Connector calls`,"u.agents":`Agents called`,"u.idle":`Enabled but unused`,"u.perDay":`Uses per day`,"u.top":`Most used`,"u.topSub":`Counting each item's skills, commands, agents and connectors.`,"u.noUse":`No installed item was used in this period.`,"u.idleTitle":`Enabled but unused`,"u.idleSub":`Disable them to make Claude lighter. You can turn them back on any time.`,"u.disableAll":e=>`Disable all ${e}`,"u.lastUsed":e=>`used ${e}`,"u.never":`never used`,"u.tokens":e=>`Together they take up about ${e} tokens in every Claude Code session.`,"u.tokensPart":(e,t)=>`The ones with an estimate take up about ${e} tokens in every Claude Code session. ${t===1?`1 item without an estimate is`:`${t} items without an estimate are`} left out of the sum.`,"u.noTokens":`no estimate`,"u.allUsed":`Everything enabled was used in this period.`,"u.agentsTitle":`Most called agents`,"u.agentsSub":`Subagents Claude called for help.`,"u.agent":`agent`,"ua.plugin":e=>`from plugin ${e}`,"ua.user":`your file`,"ua.project":e=>`from project ${e}`,"ua.builtin":`built into Claude Code`,"ua.builtinTip":`Comes with Claude Code. There is no file to show or remove.`,"ua.missing":`no longer installed`,"ua.seePlugin":`See plugin`,"ua.show":`Show file`,"ua.showLabel":e=>`Show file: ${e}`,"ua.removeLabel":e=>`Remove: ${e}`,"ua.rmTitle":e=>`Remove the agent ${e}?`,"ua.rmText":`The file goes to the trash and Claude Code stops calling this agent. You can restore it from there. If the system trash does not take it, it is kept in a folder of the app, and I tell you where.`,"ua.removed":`Agent moved to the trash.`,"ua.kept":e=>`The system trash did not take it. The file was kept in ${e}.`,"ua.removeFail":`I couldn't move the file to the trash.`,"u.privacy":`Read only on your computer, from Claude Code's history (~/.claude/projects). Nothing is sent anywhere.`,"act.sub":e=>e?`${e} in progress`:`Installs, updates and changes`,"act.clear":`Clear finished`,"act.empty":`Nothing in the queue`,"act.emptySub":`When you install, update or remove something, it shows up here step by step.`,"step.mkdir":e=>`Create the folder ${e}`,"j.queued":`Queued`,"j.running":`Running`,"j.waiting":`Waiting for you`,"j.done":`Done`,"j.manual":`One step is up to you`,"j.error":`Failed`,"j.canceled":`Canceled`,"j.yourTurn":`Your turn`,"j.terminal":`This step needs your password. Copy it, paste it into a terminal and run it:`,"j.markDone":e=>`I installed ${e}`,"j.approval":`The marketplace wants to run this command. Check it before accepting.`,"j.accept":`Accept and continue`,"j.reject":`Decline`,"pc.sub":`What the app knows about your computer`,"pc.refresh":`Detect again`,"pc.reading":`Detecting your computer`,"pc.gpuUnknown":`Not identified`,"pc.noGpu":`No graphics card`,"pc.shared":e=>`About ${e} GB of memory`,"pc.cloud":e=>`PC not powerful enough? Run it in the cloud with ${e}.`,"pc.cloudSub":`You rent a graphics card by the hour, without buying anything.`,"pc.cloudBtn":e=>`Open ${e}`,"pc.os":`System`,"pc.ram":`RAM`,"pc.disk":`Free disk space`,"pc.gpu":`Graphics card`,"pc.source":e=>`read by ${e}`,"pc.vram":`Graphics memory`,"pc.approx":`approximate`,"pc.error":e=>`Could not read the graphics card: ${e}`,"pc.failed":e=>`Detection did not answer: ${e}.`,"pc.lastRead":`The data below is from the last reading that worked.`,"pc.noAnswer":`the agent did not send the result`,"pc.noAgent":`the agent did not answer`,"pc.noSession":`open the window from the Specialist Agent shortcut`,"pc.agentError":`the agent hit an error`,"pc.exited":e=>`the thread ended without an answer (code ${e})`,"pc.check":`Check the graphics card and its memory. If they are wrong, fix them below.`,"pc.informed":`entered by you`,"pc.fix":`Fix the graphics card`,"pc.fixSub":`If the card or its memory is wrong, enter it here. What runs on your PC will use what you enter.`,"pc.fixGpu":`Card`,"pc.fixDetected":`The detected one`,"pc.fixVram":`Graphics memory in GB`,"pc.fixSave":`Save`,"pc.fixReset":`Use the detected one`,"pc.brand":e=>({nvidia:`NVIDIA`,amd:`AMD`,intel:`Intel`,apple:`Mac with Apple chip`,none:`No graphics card`})[e]||String(e),"pc.runs":`What runs on your PC`,"pc.runsSub":e=>`Out of the ${e} apps that use a graphics card.`,"pc.seeFits":`See what runs well`,"pc.prereqs":`Tools on this computer`,"pc.prereqsSub":`The installer adds what is missing when an item needs it. Tap the ? to see what each one is for.`,"pre.what":e=>`What is ${e}?`,"pre.users":e=>`Used by ${e} catalog ${e===1?`item`:`items`}.`,"pre.y":`Installed`,"pre.n":`Not found`,"pre.u":`Not checked`,"set.lang":`Language`,"set.langSub":`On automatic, the app uses Portuguese in Brazil and English everywhere else.`,"set.auto":`Automatic`,"set.theme":`Theme`,"set.themeSub":`Light, dark or the same as the system.`,"theme.auto":`System`,"theme.light":`Light`,"theme.dark":`Dark`,"set.base":`Apps folder`,"set.baseSub":`Where the apps and models installed by the app live. Changing it moves nothing: what is in the old folder stays there and leaves the list.`,"set.baseBad":`I didn't change the folder: it doesn't exist or can't be written to. Pick another one.`,"set.auto.check":`Check for updates automatically`,"set.auto.checkSub":`When the app opens and every 6 hours.`,"set.notify":`Notify me when a task finishes`,"set.notifySub":`A browser notification while the window is in the background.`,"set.notifyBlocked":`Your browser blocked notifications for this window. To allow them, click the lock next to the address and allow notifications.`,"set.remove":`Uninstall Specialist Agent`,"set.removeSub":`Removes the agent, the shortcuts and the auto start from this computer. What it installed stays in place. Run in a terminal:`,"set.about":`About`,"set.aboutSub":`AI package manager for Claude Code.`,"set.data":`App data`,"set.dataSub":`Settings, registry and usage index live in ~/.specialist-agent.`,"set.windows":`Other windows`,"set.windowsSub":`The tabs and the installed app that came in through the shortcut can confirm changes. Disconnecting keeps only this window; the others come in again through the shortcut.`,"set.windowsGo":`Disconnect the others`,"set.windowsOut":`Done: only this window confirms changes. The others come in again through the shortcut.`,"set.trash":`App's trash`,"set.trashSub":`Folders the system trash did not take when removing, and .zip files left in Para a web.`,"set.trashSize":(e,t)=>`${e} in ${t} ${t===1?`item`:`items`}: folders the system trash did not take when removing, and .zip files left in Para a web. Nothing leaves here on its own.`,"set.trashEmpty":`Empty. When the system trash does not take a removed folder, it is kept here until you empty it.`,"set.trashGo":`Empty`,"set.trashBusy":`Emptying`,"set.trashTitle":`Empty the app's trash?`,"set.trashText":e=>`Deletes ${e} for good: the removed folders the app kept and the .zip files no item on the On the web screen uses. This cannot be undone.`,"set.trashDone":`Done: the app's trash is empty.`,"set.trashLeft":`I emptied what I could. Some file is in use and stayed: close the program using it and try again.`,legal:`Specialist Agent does not own, author or maintain the listed projects. Each project belongs to its authors and follows its own license. Stars do not guarantee safety: check the commands before installing. Specialist Agent is not affiliated with Anthropic. Claude and Claude Code are trademarks of Anthropic.`,"d.version":`Version`,"d.uses30":`Uses in 30 days`,"d.lastUse":`Last used`,"d.tokens":`Tokens per session`,"d.installed":`Installed`,"d.updated":`Updated`,"d.where":`Location`,"d.inside":`What's inside`,"d.skills":`Skills`,"d.cmds":`Commands`,"d.agents":`Agents`,"d.about":`What it does`,"d.stars":`Stars`,"d.contrib":`Contributors`,"d.license":`License`,"d.push":`Last change`,"d.level":`Level`,"d.where2":`Works in`,"d.pc":`On your PC`,"d.howto":`How to use`,"d.packs":`Part of the packs`,"w.no":e=>`Won't run well on your PC: ${e}. You can install them, but they will fail or be very slow.`,"w.slow":e=>`At the limit on your PC: ${e}.`,"w.models":e=>`Download AI models of several GB the first time: ${e}. Keep free disk space.`,"w.none":e=>`Not sure they run on your PC: ${e}. See the My PC screen.`,"w.new":(e,t)=>`New projects with fewer than ${t} stars: ${e}. Check the code first.`,"w.risk":e=>`The security analysis found risk in: ${e}. Read the item's alerts before installing.`,"w.torch":e=>`Programs with PyTorch will use the build for ${e?`NVIDIA graphics cards (cuda)`:`the processor (cpu)`}.`,"plan.loading":`Building the plan`,"plan.title":e=>e===1?`Install 1 item`:`Install ${e} items`,"plan.sub":e=>`Apps go to ${e}. You see every command first.`,"plan.fromSite":`Request from the website. Review and confirm.`,"plan.fromLink":`Request from a link. Review and confirm.`,"plan.skip":`no version for your system`,"plan.manual":`you finish it on the page or folder shown`,"plan.why":e=>`comes along because ${e} needs it`,"plan.prereqs":`First, the computer needs`,"plan.willInstall":`will install`,"plan.preHas":`already there`,"plan.preMissing":`missing`,"plan.preUnknown":`not checked`,"plan.cmds":e=>`See the commands (${e})`,"plan.legal":`Every project comes from its original repository. You install at your own risk.`,"rm.title":e=>`Remove ${e}?`,"rm.plugin":`Uninstalls it from Claude Code. To use it again, just install it again.`,"rm.skill":`The skill folder goes to the trash. You can restore it from there. If the system trash does not take it, it is kept in a folder of the app, and the task says where.`,"rm.mcp":`Removes the connector from Claude Code. Its settings are deleted.`,"rm.folder":`The folder goes to the trash, with any models inside. You can restore it from there. If the system trash does not take it (too big, or a drive without a trash), it is kept in a folder of the app, and the task says where.`,"rm.program":`System apps are uninstalled from the system's app list. I'll open it for you.`,"rm.programMac":`Mac apps are uninstalled by dragging the app from Applications to the Trash. I'll tell you how; nothing is removed from here.`,"rm.programLinux":`Linux apps are uninstalled with the system's software or package manager. I'll tell you how; nothing is removed from here.`,"rm.programNpm":`Uninstalls the global npm package (npm uninstall -g).`,"rm.manual":`Only removes the installed mark. Nothing is deleted.`,"err.plan":`Couldn't build the plan.`,"err.unknownIds":e=>`Not in the catalog: ${e}. Check the link or the code.`,"err.check":`Couldn't check right now.`,"err.action":`Couldn't do that right now.`,"err.noRollback":`There is no previous version to roll back to anymore.`,"err.planChanged":`The plan changed since it opened (catalog or PC). Check the new plan before installing.`,"err.open":`Couldn't find it to open: it was deleted or doesn't exist yet. The apps folder is created on the first install.`,"toast.queued":`Queued. Follow it in Activity.`,"toast.disabling":`Disabling the unused items.`,"toast.marked":`Marked as installed.`,"toast.copied":`Copied.`,"toast.done":e=>`${e}: done.`,"toast.error":e=>`${e}: failed. See the log in Activity.`,"toast.manual":e=>`${e}: one step is up to you. See Activity.`,"conn.lost":`Lost connection to the agent. Retrying...`,"pwa.install":`Install as app`,"pwa.installSub":`Adds Specialist Agent to the Start menu or the Dock, with its own window.`},v={"acc.title":`Account`,"acc.sub":`Sign in with Google to carry your setup between computers and see on the website what is installed here. Everything stays in one file in the app's hidden folder in your Google Drive; nothing goes through our servers.`,"acc.signIn":`Sign in with Google`,"acc.signingIn":`Finish signing in in the browser I opened.`,"acc.cancel":`Cancel`,"acc.synced":e=>`Synced ${e}`,"acc.never":`Not synced yet`,"acc.syncNow":`Sync now`,"acc.syncing":`Syncing`,"acc.signOut":`Sign out`,"acc.erase":`Delete my data from Drive`,"acc.eraseTitle":`Delete your data from Drive?`,"acc.eraseText":`The Specialist Agent file leaves your Google Drive: My setup, your computers and the skills taken to the web. Nothing changes in the programs installed on this computer. You are signed out here; sign in again whenever you want to sync.`,"acc.eraseGo":`Delete from Drive`,"acc.erased":`Your data is gone from Drive.`,"acc.photo":e=>`Photo of ${e}`,"acc.err.signed-out":`Your Google session ended. Sign in again.`,"acc.err.canceled":`Sign-in was canceled.`,"acc.err.timeout":`Sign-in took too long. Try again.`,"acc.err.denied":`Without access to the app's folder in Drive there is nothing to sync. Sign in again and leave the box checked.`,"acc.err.network":`No internet right now. The app will try again on its own.`,"acc.err.google":`Google didn't answer properly. Try again in a moment.`,"acc.err.config":`Google sign-in isn't available in this version of the app.`,"acc.err.disk":`I couldn't delete the sign-in saved on this computer, so you are still signed in. Try signing out again in a moment.`,"chosen.title":`Chosen on the website`,"chosen.sub":`Items from your My setup that aren't on this computer yet.`,"chosen.install":`Install`,"chosen.installAll":e=>`Install all ${e}`,"chosen.dismiss":`Dismiss`,"chosen.dismissTip":`Removes it from My setup on every computer.`,"upd.ready":e=>`Version ${e} is ready`,"upd.restart":`Restart and update`,"upd.available":e=>`Version ${e} is available`,"upd.download":`Download`,"upd.downloading":(e,t)=>`Downloading version ${e}${t==null?``:` · ${t}%`}`,"upd.error":`Couldn't download the new version. I'll try again later.`,"upd.errorCheck":`Couldn't check for a new version. Check your connection and try again.`,"upd.busy":`Version is ready, but a task is running. Restart when it finishes.`,"upd.setting":`Update automatically`,"upd.settingSub":`Downloads and checks the new version in the background. With the manager closed it switches on its own; when open, it asks first.`,"upd.bad":e=>`Version ${e} failed to start on this computer and won't be installed automatically. You're on the most stable version.`,"upd.latest":`You're on the latest version.`,"upd.manualSub":`Running outside the install: to update, run the install command from the website again.`,"upd.how":`How to update`,"upd.check":`Check now`,"upd.checking":`Checking`,"d.powers":`Features`},y={...d,...p,...m,...f},b={...h,..._,...v,...g};function x(e){let t=e===`en`?b:y,n=y,r=(e,...r)=>{let i=t[e]??n[e]??e;return typeof i==`function`?i(...r):i};return{t:r,tl:r}}var ee=e=>String(e??``).normalize(`NFD`).replace(/[̀-ͯ]/g,``),te=[`claude-code`,`claude-app`,`cursor`,`codex`,`chatgpt`,`outra`],ne=[`codigo`,`web`,`video`,`imagem`,`audio`,`dados`,`jogos`,`local`,`seguranca`,`automacao`],S=[`nvidia`,`amd`,`intel`,`apple`,`cpu`,`nenhuma`],re=[`win`,`mac`,`linux`],C=[`ok`,`atencao`,`risco`],ie=[`video`,`video-pt`,`video-en`,`previa`],ae=[`online`,`offline`],oe=[`livre`,`claude`,`conta`,`chave`,`pago`],se=[`upto10`,`upto100`,`upto1g`,`over1g`],ce=[`instalado`,`nao`,`atualizar`],le=[`relevance`,`stars`,`updated`,`size`,`name`,`contrib`,`newest`],ue=[0,7,30,90,180,365],de=[0,100,500,1e3,5e3,1e4,25e3,5e4,1e5],fe=[0,5,20,50,100,300],pe=[`kind`,`target`,`use`,`cat`,`env`,`os`,`gpu`,`license`,`security`,`media`,`language`,`size`,`network`,`access`,`status`],me={target:te,use:ne,os:re,gpu:S,security:C,media:ie,network:ae,access:oe,size:se,status:ce},he={codigo:[`codigo`],mods:[`codigo`],sites:[`web`],design:[`web`],video:[`video`],avatar:[`video`],youtube:[`video`],legenda:[`video`],dub:[`video`,`audio`],img:[`imagem`],voz:[`audio`],musica:[`audio`],jogos:[`jogos`],local:[`local`],docs:[`dados`],auto:[`automacao`]},ge=[`plugin`,`mod`,`skill`,`mcp`,`app`,`cli`,`lib`],_e=e=>Array.isArray(e)?e.filter(e=>typeof e==`string`):[],ve=e=>[...new Set(e)],ye=e=>Date.parse(String(e||``))||0,be=e=>e.env.some(e=>e===`chat`||e===`ccweb`||e===`ccpc`),xe=e=>(e.i?.c||[]).join(` && `);function Se(e){return e.i?.t===`repo`||e.i?.t===`skilldir`||e.i?.t===`cmd`&&/claude plugin (marketplace add|install)|skills(@latest)? add|git clone/.test(xe(e))}function Ce(e){return e==null||!Number.isFinite(e)?`?`:e<=10?`upto10`:e<=100?`upto100`:e<=1024?`upto1g`:`over1g`}function we(e,t){let n=t.filter(t=>t.mods.includes(e));return n.length>0&&n.every(e=>e.tema===`reversa`)}function Te(e,t,n=new Set){let r=e.req||{};if(r.from&&t[r.from]&&!n.has(r.from))return Te(t[r.from],t,n.add(e.id));if(!e.env.includes(`app`)||!r.v&&!r.r)return[`nenhuma`];let i=r.gpu===`nvidia`?[`nvidia`]:r.gpu===`nv+apple`?[`nvidia`,`apple`]:r.gpu===`any`?[`nvidia`,`amd`,`intel`,`apple`]:[],a=r.cpu?[...i,`cpu`]:i;return a.length?a:[`?`]}function Ee(e,t,n={}){let r=e,i=r.gh||{},a=be(r),o=!!r.models,s=r.env.includes(`app`)&&(o||r.cats.includes(`local`)),c=[];(r.env.includes(`ccpc`)||r.env.includes(`ccweb`))&&c.push(`claude-code`),r.env.includes(`chat`)&&c.push(`claude-app`),r.kind===`mcp`&&c.push(`cursor`,`codex`),r.kind===`mcp`&&/--transport (http|sse) \S+ https:\/\//.test(xe(r))&&c.push(`chatgpt`),r.env.includes(`app`)&&c.push(`outra`),c.push(..._e(r.alvos).filter(e=>te.includes(e)));let l=r.cats.flatMap(e=>he[e]||[]);o&&l.push(`local`),we(r.id,t.pacotes)&&l.push(`seguranca`),l.push(..._e(r.usos).filter(e=>ne.includes(e)));let u=r.seg?.revisado?.nivel||r.seg?.nivel,d=[],f=Array.isArray(r.videos)?r.videos:[];f.length&&d.push(`video`);for(let e of f)(e.idioma===`pt`||e.idioma===`en`)&&d.push(`video-${e.idioma}`);r.previa&&d.push(`previa`);let p=typeof r.disco==`number`&&r.disco>0?r.disco*1024:null,m=typeof i.tamanho==`number`&&i.tamanho>=0?i.tamanho:null,h=p??(!o&&m!=null&&Se(r)?Math.max(.01,m/1024):null),g=r.offline===1||r.offline===!0?!0:r.offline===0||r.offline===!1?!1:null,_=g===!0?`offline`:g===!1||a?`online`:s?`offline`:`?`,v=(typeof r.acesso==`string`&&oe.includes(r.acesso)?r.acesso:null)??(a?`claude`:s?`livre`:`?`);return{kind:[r.kind],target:ve(c),use:ve(l),cat:[...r.cats],env:[...r.env],os:re.filter(e=>!r.os||r.os[e]),gpu:Te(r,n),license:[i.licenca||`?`],security:[u||`?`],media:d,language:[typeof i.linguagem==`string`&&i.linguagem?i.linguagem:`?`],size:[Ce(h)],network:[_],access:[v],stars:i.estrelas||0,contributors:i.contribuidores||0,push:ye(i.push),created:ye(i.criado),sizeMb:h,funding:!!i.apoio}}var w=(...e)=>ve(e.flat(2).map(e=>ee(e).toLowerCase()).join(` `).split(/[^a-z0-9+#]+/).filter(Boolean));function T(e,t,n=2){if(Math.abs(e.length-t.length)>n)return n+1;let r=[];for(let n=0;n<=e.length;n++)r.push(Array(t.length+1).fill(0));for(let t=0;t<=e.length;t++)r[t][0]=t;for(let e=1;e<=t.length;e++)r[0][e]=e;for(let i=1;i<=e.length;i++){let a=1/0;for(let n=1;n<=t.length;n++){let o=e[i-1]===t[n-1]?0:1,s=Math.min(r[i-1][n]+1,r[i][n-1]+1,r[i-1][n-1]+o);i>1&&n>1&&e[i-1]===t[n-2]&&e[i-2]===t[n-1]&&(s=Math.min(s,r[i-2][n-2]+1)),r[i][n]=s,s<a&&(a=s)}if(a>n)return n+1}return r[e.length][t.length]}function De(e,t){if(t===e)return 1;if(t.startsWith(e))return e.length>=2?.9:.5;if(e.length>=3&&t.includes(e))return .7;if(e.length<4)return 0;let n=e.length>=8?2:1;return T(e,t,n)<=n?.6:t.length>e.length&&T(e,t.slice(0,e.length),n)<=n?.5:0}var Oe=[[`name`,3],[`tags`,2],[`text`,1]];function ke(e){let t=w(e);if(!t.length)return()=>1;let n=t.map(()=>new Map),r=(e,r)=>{let i=n[e],a=i.get(r);return a===void 0&&i.set(r,a=De(t[e],r)),a};return e=>{let n=0;for(let i=0;i<t.length;i++){let t=0;for(let[n,a]of Oe)for(let o of e[n]){let e=r(i,o)*a;e>t&&(t=e)}if(!t)return 0;n+=t}return n}}var Ae=(e,t)=>(n,r)=>[String(e[n]?.[r]||``),String(t[n]?.[r]||``)];function je(e){let t=Object.fromEntries(e.itens.map(e=>[e.id,e])),n=Ae(e,e.en||{});return e.itens.map(r=>{let i=r,a=Ee(r,e,t),o=i.en||{};return{id:i.id,pack:!1,name:i.name,nameEn:typeof o.name==`string`&&o.name?o.name:i.name,attrs:a,items:[i.id],search:{name:w(i.name,o.name,i.id,i.repo.split(`/`)),tags:w(i.cats.map(e=>n(`categorias`,e)),n(`tipos`,i.kind),i.kind,a.use,a.language.filter(e=>e!==`?`)),text:w(i.sub,i.what,o.sub,o.what,_e(i.poderes),_e(o.poderes))}}})}var E=()=>({q:``,f:{},minStars:0,maxStars:0,contrib:0,days:0,fits:!1,newProjects:!1,funding:!1,order:`relevance`});function Me(e,t){if(!t.status)return[];let n=e.items.map(e=>t.status(e));return n.some(e=>e===`atualizar`)?[`atualizar`,`instalado`]:n.length&&n.every(e=>e)?[`instalado`]:[`nao`]}var Ne=(e,t,n)=>t===`status`?Me(e,n):e.attrs[t];function Pe(e,t,n,r){let i=[],a=e.attrs;t.q.trim()&&!r&&i.push(`q`);for(let r of pe){let a=t.f[r];a?.length&&!Ne(e,r,n).some(e=>a.includes(e))&&i.push(r)}return(t.minStars&&a.stars<t.minStars||t.maxStars&&a.stars>t.maxStars)&&i.push(`stars`),t.contrib&&a.contributors<t.contrib&&i.push(`contrib`),t.days&&(!a.push||n.now-a.push>t.days*864e5)&&i.push(`days`),t.fits&&n.doesNotFit&&e.items.some(e=>n.doesNotFit(e))&&i.push(`fits`),!t.newProjects&&n.starThreshold&&!e.pack&&a.stars<n.starThreshold&&i.push(`newProjects`),t.funding&&!a.funding&&i.push(`funding`),i}var Fe=(e,t,n)=>{let r=n.lang===`en`,i=e=>r?e.nameEn:e.name,a=e=>e.attrs.sizeMb??1/0,o=(e,t)=>t.attrs.stars-e.attrs.stars,s={relevance:(e,n)=>(t.get(n.id)??0)-(t.get(e.id)??0)||o(e,n),stars:o,updated:(e,t)=>t.attrs.push-e.attrs.push||o(e,t),size:(e,t)=>a(e)-a(t)||o(e,t),name:(e,t)=>i(e).localeCompare(i(t),r?`en`:`pt-BR`),contrib:(e,t)=>t.attrs.contributors-e.attrs.contributors||o(e,t),newest:(e,t)=>t.attrs.created-e.attrs.created||o(e,t)};return s[e]||s.relevance};function Ie(e,t,n){let r={f:Object.fromEntries(pe.map(e=>[e,{}])),fits:0,funding:0,newProjects:0,days:Object.fromEntries(ue.map(e=>[e,0])),stars:Object.fromEntries(de.map(e=>[e,0]))},i=new Map,a=[],o=(e,t)=>{for(let i of Ne(t,e,n))r.f[e][i]=(r.f[e][i]||0)+1},s=ke(t.q);for(let c of e){let e=s(c.search),l=Pe(c,t,n,e);l.length||(a.push(c),i.set(c.id,e));let u=l.length===1?l[0]:l.length?null:void 0;for(let e of pe)(u===void 0||u===e)&&o(e,c);if(u!==void 0&&u!==`fits`||n.doesNotFit&&c.items.some(e=>n.doesNotFit(e))||r.fits++,(u===void 0||u===`funding`)&&c.attrs.funding&&r.funding++,u===`newProjects`&&r.newProjects++,u===void 0||u===`days`)for(let e of ue)(!e||c.attrs.push&&n.now-c.attrs.push<=e*864e5)&&r.days[e]++;if(u===void 0||u===`stars`)for(let e of de)c.attrs.stars>=e&&(!t.maxStars||c.attrs.stars<=t.maxStars)&&r.stars[e]++}return a.sort(Fe(t.order,i,n)),{list:a,counts:r,points:i}}function Le(e){return pe.reduce((t,n)=>t+(e.f[n]?.length||0),0)+ +!!e.minStars+ +!!e.maxStars+ +!!e.contrib+ +!!e.days+ +!!e.fits+ +!!e.newProjects+ +!!e.funding}function Re(e,t,n){if(e===`status`)return[...ce];let r=me[e];if(r)return t.some(t=>t.attrs[e].includes(`?`))?[...r,`?`]:[...r];if(e===`kind`){let e=Object.keys(n?.tipos||{});return n?[...ge.filter(t=>e.includes(t)),...e.filter(e=>!ge.includes(e))]:[...ge]}if(e===`cat`)return Object.keys(n?.categorias||{});if(e===`env`)return Object.keys(n?.ambientes||{});let i=new Map;for(let n of t)for(let t of n.attrs[e])i.set(t,(i.get(t)||0)+1);return[...i.entries()].sort((e,t)=>e[0]===`?`?1:t[0]===`?`?-1:t[1]-e[1]||e[0].localeCompare(t[0])).map(([e])=>e)}var ze={kind:`kind`,target:`ai`,use:`use`,cat:`cat`,env:`env`,os:`os`,gpu:`gpu`,license:`license`,security:`security`,media:`media`,language:`language`,size:`size`,network:`network`,access:`access`,status:`status`},Be=/^[\w.+#?-]{1,40}$/;function Ve(e,t){let n=new URLSearchParams(t);for(let e of[`q`,`order`,`min-stars`,`max-stars`,`contrib`,`days`,`fits`,`new`,`funding`,...Object.values(ze)])n.delete(e);e.q.trim()&&n.set(`q`,e.q.trim());for(let t of pe)e.f[t]?.length&&n.set(ze[t],e.f[t].join(`,`));return e.minStars&&n.set(`min-stars`,String(e.minStars)),e.maxStars&&n.set(`max-stars`,String(e.maxStars)),e.contrib&&n.set(`contrib`,String(e.contrib)),e.days&&n.set(`days`,String(e.days)),e.fits&&n.set(`fits`,`1`),e.newProjects&&n.set(`new`,`1`),e.funding&&n.set(`funding`,`1`),e.order!==`relevance`&&n.set(`order`,e.order),n}function He(e){let t=E();t.q=(e.get(`q`)||``).slice(0,120);for(let n of pe){let r=e.get(ze[n]);if(!r)continue;let i=me[n],a=ve(r.split(`,`).map(e=>e.trim()).filter(e=>Be.test(e)&&(!i||i.includes(e)||e===`?`)));a.length&&(t.f[n]=a.slice(0,40))}let n=(t,n)=>{let r=Math.round(Number(e.get(t)));return Number.isFinite(r)&&r>0?Math.min(r,n):0};t.minStars=n(`min-stars`,1e7),t.maxStars=n(`max-stars`,1e7),t.contrib=n(`contrib`,1e5),t.days=n(`days`,3650),t.fits=e.get(`fits`)===`1`,t.newProjects=e.get(`new`)===`1`,t.funding=e.get(`funding`)===`1`;let r=e.get(`order`);return r&&le.includes(r)&&(t.order=r),t}function Ue(e,t,n){let r=e.f[t]||[],i=r.includes(n)?r.filter(e=>e!==n):[...r,n],a={...e.f};return i.length?a[t]=i:delete a[t],{...e,f:a}}var We=(e,t)=>t!=null&&Number.isFinite(t)&&t>=0&&e.sizeMb!=null&&e.sizeMb/1024>t;function Ge(e){let t=e?.seg;return t&&(t.revisado?.nivel||t.nivel)||null}var Ke=e=>!!e&&(e.avancado===1||e.avancado===!0);function qe(e,t){let n=t.filter(t=>t.mods.includes(e));return n.length&&n.every(e=>Ke(e))?n:[]}function Je(e,t,n){let r=new Set(e),i=new Set(t.flatMap(e=>qe(e,n).map(e=>e.id)));return n.filter(e=>i.has(e.id)||Ke(e)&&e.mods.length>0&&e.mods.every(e=>r.has(e)))}var Ye=`https://specialistagent.com.br`,Xe={plugin:`#2a5ec0`,mod:`#c7570f`,skill:`#2b7a4b`,mcp:`#7344bd`,app:`#86670e`,cli:`#0e8281`,lib:`#6d747c`},Ze=e=>Xe[e]||`#878d94`,Qe=e=>!!e&&(e.avancado===1||e.avancado===!0);function $e(e,t){let n=t.filter(t=>t.mods.includes(e));return n.length&&n.every(Qe)?n:[]}var et=(e,t,n)=>Je(e,t,n),tt=(e,t)=>!!e&&(Qe(e)||$e(e.id,t).length>0);function nt(e,t){let n=t===`en`;return{tx:(e,t)=>e&&(n&&e.en?.[t]||e[t])||``,ptx:(e,t)=>n&&e.en?.[t]||e[t]||``,lab:(t,r)=>{let i=n&&e?.en?.[t]?.[r]||e?.[t]?.[r];return i?typeof i==`string`?i:i.nome||r:r},level:t=>n&&e?.en?.niveis?.[t]||t,preInfo:t=>n&&e?.en?.prerequisitosInfo?.[t]||e?.prerequisitosInfo?.[t]||``,envShort:t=>n&&e?.en?.ambientes?.[t]?.curto||e?.ambientes?.[t]?.curto||t,powers:e=>n&&e.en?.poderes||e.poderes||[]}}var rt=e=>Ge(e),it={ok:`ok`,atencao:`stale`,risco:`dead`},at=(e,t)=>(e.gh?.estrelas||0)<(t?.limiteEstrelas??500),ot=e=>e?.site||`https://specialistagent.com.br`,st=864e5,ct=e=>e===`en`?`en`:`pt-BR`;function lt(e,t){return e>=1048576?(e/1048576).toFixed(1).replace(`.`,t===`en`?`.`:`,`)+` MB`:Math.max(1,Math.round((e||0)/1024))+` KB`}var ut=(e,t)=>new Intl.NumberFormat(ct(t),{notation:`compact`,maximumFractionDigits:1}).format(Number(e)||0);function dt(e,t,n=Date.now()){let r=Date.parse(e||``);if(!r)return``;let i=(r-n)/1e3,a=new Intl.RelativeTimeFormat(ct(t),{numeric:`auto`}),o=Math.abs(i);return o<60?a.format(Math.round(i),`second`):o<3600?a.format(Math.round(i/60),`minute`):o<86400?a.format(Math.round(i/3600),`hour`):o<3888e3?a.format(Math.round(i/86400),`day`):o<3456e4?a.format(Math.round(i/2592e3),`month`):a.format(Math.round(i/31536e3),`year`)}function ft(e,t,n=new Date){if(!e)return``;let r=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()),[i,a,o]=String(e).slice(0,10).split(`-`).map(Number),s=Math.round((r-Date.UTC(i??0,(a??1)-1,o))/st);return Number.isNaN(s)?``:Math.abs(s)<45?new Intl.RelativeTimeFormat(ct(t),{numeric:`auto`}).format(-s,`day`):dt(e+`T12:00:00`,t,n.getTime())}var pt=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`,mt=(e,t=Date.now())=>Array.from({length:e},(n,r)=>pt(new Date(t-(e-1-r)*st))),D=(...e)=>e.filter(Boolean).join(` `),ht={windowKey:`sa-window-key`,account:`sa-account`,profile:`sa-profile`},gt={[ht.windowKey]:`sa-janela`,[ht.account]:`sa-conta`,[ht.profile]:`sa-perfil`};function _t(e){if(e)for(let[t,n]of Object.entries(gt))try{let r=e.getItem(n);if(r===null)continue;e.getItem(t)===null&&e.setItem(t,r),e.removeItem(n)}catch{}}var vt=Object.keys({boot:!0,scan:!0,check:!0,plan:!0,install:!0,update:!0,toggle:!0,remove:!0,rollback:!0,ignoreVersion:!0,changelog:!0,cancel:!0,answer:!0,clearJobs:!0,usage:!0,hw:!0,details:!0,settings:!0,mark:!0,open:!0,copy:!0,pickFolder:!0,decode:!0,dismissRequest:!0,webList:!0,webExport:!0,webMarkSent:!0,webForget:!0,updateCheck:!0,updateDownload:!0,updateInstall:!0,accountLogin:!0,accountCancel:!0,accountLogout:!0,accountSync:!0,accountFocus:!0,accountErase:!0,accountDismiss:!0,revokeWindows:!0,trashInfo:!0,emptyTrash:!0,agentSources:!0,removeAgent:!0}),yt=[`state`,`job`,`jobs`,`progress`,`hw`,`usage`,`request`,`catalog`,`feed`,`update`,`account`],bt={health:`/health`,enter:`/enter`,events:`/api/events`,session:`/api/session`,call:`/api/call/`,window:`/api/window`,newWindow:`/api/new-window`,request:`/api/request`,entry:`/api/entry`,shutdown:`/api/shutdown`},xt=`x-sa-window`,St=`sa-window`,Ct=`ready`,wt=`sa:no-key`;function Tt(){try{return _t(localStorage),localStorage}catch{return null}}var Et=null,Dt=()=>{if(Et)return Et;try{Et=Tt()?.getItem(ht.windowKey)??null}catch{Et=null}return Et};async function Ot(e=``){let t=RegExp(`(?:^#|&)${St}=([\\w-]{16,100})`).exec(location.hash);if(!t)return!!Dt();history.replaceState(null,``,location.pathname+location.search);try{let n=await fetch(`${e}${bt.window}`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({code:t[1]}),credentials:`same-origin`}),r=await n.json().catch(()=>null);if(!n.ok||!r?.key)return!!Dt();Et=r.key;try{Tt()?.setItem(ht.windowKey,r.key)}catch{}return!0}catch{return!!Dt()}}var kt=class extends Error{code;constructor(e,t){super(t||e),this.code=e,this.name=`AgentError`}},At=3e3,jt=`sa:connection`;async function Mt(e){try{return await navigator.clipboard.writeText(e),!0}catch{let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`absolute`,t.style.left=`-9999px`,document.body.appendChild(t),t.select();let n=!1;try{n=document.execCommand(`copy`)}catch{n=!1}return t.remove(),n}}function Nt(e=``){let t=new Map,n=null,r=!1;async function i(t,n){let r;try{let i=Dt(),a={"content-type":`application/json`};i&&(a[xt]=i),r=await fetch(`${e}${bt.call}${t}`,{method:`POST`,headers:a,body:JSON.stringify(n),credentials:`same-origin`})}catch{throw new kt(`no-agent`)}if(r.status===401)throw new kt(`no-session`);let i=await r.json().catch(()=>null);if(r.status===403&&i?.error===`confirm`)return window.dispatchEvent(new CustomEvent(wt,{detail:{stored:i.stored===!0}})),null;if(!r.ok||!i?.ok)throw new kt(`error`,i?.error);return i.value}async function a(){await new Promise(e=>setTimeout(e,At));try{if((await fetch(`${e}${bt.session}`,{credentials:`same-origin`})).status===401)return location.reload()}catch{}o()}function o(){if(!n){n=new EventSource(`${e}${bt.events}`),n.addEventListener(Ct,()=>{r&&location.reload()}),n.addEventListener(`error`,()=>{n?.readyState===2&&(n.close(),n=null,a()),r||(r=!0,window.dispatchEvent(new CustomEvent(jt,{detail:!0})))});for(let e of yt)n.addEventListener(e,n=>{let r;try{r=JSON.parse(n.data)}catch{return}t.get(e)?.forEach(e=>e(r))})}}let s=Object.fromEntries(vt.map(e=>[e,(...t)=>i(e,t)]));return s.copy=e=>Mt(String(e??``)),s.open=async e=>{let t=e;return`url`in t?/^https?:\/\//i.test(t.url)?(window.open(t.url,`_blank`,`noopener,noreferrer`),!0):!1:i(`open`,[t])},{...s,async requestWindow(){await fetch(`${e}${bt.newWindow}`,{method:`POST`,headers:{"content-type":`application/json`},body:`{}`,credentials:`same-origin`}).catch(()=>void 0)},on(e,n){o();let r=t.get(e)||new Set;return r.add(n),t.set(e,r),()=>{r.delete(n)}}}}var Pt=`https://claude.ai/customize/skills`;function Ft(e){let t=e.toLowerCase().replace(/^\[|\]$/g,``);if(t===`localhost`||t.endsWith(`.localhost`)||t.endsWith(`.local`)||t===`::1`||t===`0.0.0.0`)return!0;let n=/^(\d+)\.(\d+)\.\d+\.\d+$/.exec(t);if(!n)return!t.includes(`.`);let[r,i]=[Number(n[1]),Number(n[2])];return r===127||r===10||r===192&&i===168||r===172&&i>=16&&i<=31||r===169&&i===254}function It(e){if(e.source!==`mcp`||e.transport!==`http`&&e.transport!==`sse`)return null;let t=(e.description||``).trim(),n;try{n=new URL(t)}catch{return null}return n.protocol===`https:`&&!Ft(n.hostname)?t:null}var Lt=()=>typeof window<`u`&&`Notification`in window,Rt=()=>Lt()?Notification.permission:`sem`;function zt(){if(!Lt()||Notification.permission!=="default")return Promise.resolve(Rt());try{return Promise.resolve(Notification.requestPermission()).catch(()=>`denied`)}catch{return Promise.resolve(`denied`)}}function Bt(e){e&&zt()}function Vt(e,t){if(Lt()&&Notification.permission===`granted`&&document.visibilityState!==`visible`)try{new Notification(e,{body:t,icon:`/icones/icone-192.png`,tag:`specialist-agent`})}catch{}}var Ht=[`queued`,`running`,`waiting`],Ut=e=>Ht.includes(e.state),Wt=(e,t)=>e.statuses[t.key]?.status||null,Gt={descontinuado:4,atualizar:3,parado:2,atualizado:1,desconhecido:0},Kt=e=>new Set(e.map(e=>e.itemId).filter(e=>!!e));function qt(e,t){let n=new Set(t);for(let t of e)Ut(t)&&t.targets.forEach(e=>n.add(e));return n}var Jt=e=>e.filter(Ut).length;function Yt(e,t=e.entries){let n={all:t.length,up:0,upAllowed:0,off:0,dead:0,stale:0};for(let r of t){let t=Wt(e,r);t===`atualizar`&&n.up++,t===`atualizar`&&r.can.update&&n.upAllowed++,t===`descontinuado`&&n.dead++,t===`parado`&&n.stale++,r.enabled===!1&&n.off++}return n}function Xt(e,t,n,r){let i=e.itemId?n[e.itemId]:null;return i?e.source===`plugin`&&t.filter(t=>t.itemId===e.itemId&&t.source===`plugin`).length>1?`${r.tx(i,`name`)} · ${e.id.split(`@`)[0]}`:r.tx(i,`name`):e.name}var Zt=e=>[`plugin`,`mod`,`skill`,`mcp`].includes(e.kind)?e.kind:`app`,Qt=e=>{let t=e.inventory;return!!t&&!!(t.skills.length||t.commands.length||t.agents.length||t.mcp.length)},$t=e=>`plugin:`+e.replace(/[^\w-]/g,`_`);function en(e,t,n=[]){if(!t)return null;let r=new Set;if(e.source===`plugin`){if(e.kind===`mod`||!Qt(e))return null;let i=e.id.split(`@`)[0],a=e.inventory?.mcp.length?null:$t(i+`_`),o=a?n.filter(e=>e.source===`plugin`).map(e=>$t(e.id.split(`@`)[0]+`_`)).filter(e=>e.length>a.length&&e.startsWith(a)):[],s=e=>!!a&&e.startsWith(a)&&!o.some(t=>e.startsWith(t));for(let e of Object.keys(t.last))(e.startsWith(`skill:${i}:`)||e.startsWith(`cmd:${i}:`)||e.startsWith(`agent:${i}:`)||s(e))&&r.add(e);for(let t of e.inventory?.skills||[])r.add(`skill:`+t);for(let t of e.inventory?.commands||[])r.add(`cmd:`+t);for(let t of e.inventory?.agents||[])r.add(`agent:`+t);for(let t of e.inventory?.mcp||[])r.add($t(`${i}_${t}`))}else if(e.source===`skill`)r.add(`skill:`+e.id),r.add(`cmd:`+e.id);else if(e.source===`mcp`)r.add(`mcp:`+e.id);else return null;let i=0,a=null;for(let e of r){i+=t.count[e]||0;let n=t.last[e];n&&(!a||n>a)&&(a=n)}return{uses:i,last:a}}function tn(e){if(!e.can.toggle||e.enabled===!1||![`plugin`,`skill`,`mcp`].includes(e.source))return!1;if(e.source!==`plugin`)return!0;let t=e.inventory;return e.kind!==`mod`&&!!t&&!!(t.skills.length||t.agents.length||t.mcp.length)}var nn=(e,t)=>t?e.filter(tn).filter(n=>(en(n,t,e)?.uses||0)===0):[],O=e=>e.source===`skill`?1:e.source===`plugin`&&e.inventory?.skills.length||0;function rn(e,t){return e.source===`plugin`?e.id:e.source===`skill`?(e.enabled===!1?t(`src.disabledSkill`):`~/.claude/skills/`)+e.id:e.source===`mcp`?`${t(`src.mcp`)} · ${e.description||e.transport||``}`:e.source===`folder`?`SpecialistAgent/`+e.id:e.source===`program`?e.npm?`npm · `+e.npm:e.path||t(`src.program`):e.source===`manual`?t(`src.manual`):``}function an(e,t){return e.source===`program`?e.npm?`rm.programNpm`:t===`win`?`rm.program`:t===`mac`?`rm.programMac`:`rm.programLinux`:`rm.`+e.source}var on=e=>e.version&&e.version!==`latest`?`v`+e.version.replace(/^v/,``):e.version===`latest`?`latest`:e.commit?e.commit.slice(0,7):`—`,sn=e=>e.can.toggle?`switchable`:`other`,cn=e=>e.checking&&e.entries.length>0&&!e.entries.some(t=>Wt(e,t)),ln={remove:e=>e.can.remove,disable:e=>e.can.toggle&&e.enabled!==!1,enable:e=>e.can.toggle&&e.enabled===!1,update:e=>e.can.update};function un(e,t,n){let r=new Set(t);return e.filter(e=>!!e.itemId&&r.has(e.itemId)&&ln[n](e))}var dn=e=>e.slice(0,5).join(`, `)+(e.length>5?`...`:``),fn=e=>({action:e.action||`install`,ids:e.ids});function pn(e){return e.type===`plan`?{action:`install`,ids:e.ids}:e.type===`bulk`?{action:e.action,ids:e.ids}:e.type===`rollback`?{action:`rollback`,ids:[e.key]}:null}var mn=(e,t)=>(e.action||`install`)===t.action&&e.ids.every(e=>t.ids.includes(e));function hn(e,t,n){if(!e||(e.action||`install`)!==t)return e;let r=e.ids.filter(e=>!n.includes(e));return r.length===e.ids.length?e:r.length?{...e,ids:r}:null}function gn(e,t,n){let{get:r,set:i}=e,a=()=>x(r().lang).t;function o(e,t,o,s=!1){let c=[...new Set(t)],l=c.filter(e=>r().byId[e]),u=c.filter(e=>!r().byId[e]);return u.length&&n(a()(`err.unknownIds`,dn(u))),l.length&&i({modal:{type:`bulk`,action:e,ids:l,from:o,...s?{request:s}:{}}}),l.length>0}function s(e,s,c=!1){if(r().needWindow)return;if(e.action!==`rollback`&&(!e.action||e.action===`install`))return void s(e.ids,e.from,c);let l=!1;e.action===`rollback`?e.ids[0]&&r().scan.previous?.[e.ids[0]]?(i({modal:{type:`rollback`,key:e.ids[0],...c?{request:c}:{}}}),l=!0):n(a()(`rb.none`)):l=o(e.action,e.ids,e.from,c),!l&&c&&t.dismissRequest().catch(()=>void 0)}return{openRequest:s,receiveRequest(e,t){let a=r().modal;if(!e)i({nextRequest:null,...a&&`request`in a&&a.request?{modal:null}:{}});else if(!r().needWindow){if(a){let t=`request`in a&&!!a.request,o=t?pn(a):null;if(o&&mn(e,o)&&o.ids.every(t=>e.ids.includes(t)))return void i({nextRequest:null});let s=r().nextRequest,c=o||s&&fn(s);i({nextRequest:e,modal:t?{...a,request:!1}:a}),c&&mn(e,c)||n(x(r().lang).t(`req.waiting`))}else s(e,t,!0)}},jobAdded(e){let t=r().modal;if(!t||!(`request`in t)||t.request!==!1)return;let n=pn(t);if(!n||n.action!==e.kind)return;let a=e.kind===`install`||e.kind===`rollback`?e.targets:e.targets.map(e=>r().scan.entries.find(t=>t.key===e)?.itemId);n.ids.some(e=>a.includes(e))&&i({modal:null})},async askNewWindow(){await t.requestWindow?.()},openBulk:o,askRollback:e=>i({modal:{type:`rollback`,key:e}}),async confirmRollback(e){let a=r().modal;if(a?.type!==`rollback`)return;Bt(r().settings.notify),i({modal:null,drawer:null,nextRequest:hn(r().nextRequest,`rollback`,[a.key])});let o=null;try{o=await t.rollback(a.key)}catch{n(x(r().lang).t(`err.action`));return}o?(n(e),i({view:`activity`})):r().needWindow||n(x(r().lang).t(`err.noRollback`))},async ignoreVersion(e,a,o){let s=await t.ignoreVersion(e,a).catch(()=>n(x(r().lang).t(`err.action`)));s&&(i(e=>({scan:{...s,lastCheck:s.lastCheck||e.scan.lastCheck}})),o&&n(o))},async confirmBulk(e){let a=r().modal;if(a?.type!==`bulk`)return;Bt(r().settings.notify);let o=un(r().scan.entries,a.ids,a.action),s=o.map(e=>e.itemId);i({modal:null,drawer:null,nextRequest:hn(r().nextRequest,a.action,s)}),a.request&&await t.dismissRequest().catch(()=>void 0);let c=0,l=!1;try{if(a.action===`update`)c=+!!await t.update(o.map(e=>e.key));else for(let e of o)(a.action===`remove`?await t.remove(e.key):await t.toggle(e.key,a.action===`enable`))&&c++}catch{l=!0}l&&n(x(r().lang).t(`err.action`)),c&&(n(e),i({view:`activity`}))}}}function _n(e){let t=e,n=new Set;return{get:()=>t,set(e){let r=typeof e==`function`?e(t):e;t={...t,...r},n.forEach(e=>e())},subscribe(e){return n.add(e),()=>n.delete(e)}}}var vn=`#discover`;function yn(e=typeof location>`u`?``:location.hash){return e.startsWith(`#discover`)?He(new URLSearchParams(e.slice(9).replace(/^[?]/,``))):null}var bn=e=>Object.fromEntries(e.itens.map(e=>[e.id,e]));function xn(e){return{view:yn()?`discover`:`installed`,demo:!!e.demo,version:e.version,os:e.os,lang:e.lang,autoLang:e.autoLang,settings:e.settings,feed:e.feed||{},registry:e.registry,paths:e.paths||{base:``,claudeDir:``,home:``},catalog:e.catalog,byId:bn(e.catalog),scan:e.state,jobs:e.jobs||[],hw:e.hw,usage:e.usage,usageError:!1,usageDays:30,progress:{},checkPanelHidden:!1,filters:{installed:{status:`all`,type:`all`,q:``,tab:null},discover:yn()||E(),packs:{theme:`all`}},drawer:null,modal:null,openJobs:new Set,closedJobs:new Set,preHelp:new Set,details:{},web:[],webGuide:null,agentSources:{},pending:new Set,toasts:[],update:e.update,account:e.account,needWindow:!1,needSaved:!1,nextRequest:null}}function Sn(e,t,n=!e.has(t)){let r=new Set(e);return n?r.add(t):r.delete(t),r}function Cn(e,t){let{get:n,set:r}=e,i=()=>x(n().lang).t,a=e=>e.code===`too-large`?i()(`web.big`,e.name||``):i()(`web.noSkill`),o=0,s=()=>Bt(n().settings.notify);function c(e){let t=++o;r(n=>({toasts:[...n.toasts,{id:t,text:e}]})),setTimeout(()=>r(e=>({toasts:e.toasts.filter(e=>e.id!==t)})),4200)}let l=e=>e.catch(()=>(c(i()(`err.action`)),null));async function u(e){if(n().details[e]===void 0){r(t=>({details:{...t.details,[e]:null}}));try{let n=await t.details(e);r(t=>({details:{...t.details,[e]:{tokens:n?.tokens??null}}}))}catch{r(t=>({details:{...t.details,[e]:{tokens:null}}}))}}}async function d(e,a,o=!1){let s=[...new Set(e)],l=s.filter(e=>n().byId[e]),u=s.filter(e=>!n().byId[e]);u.length&&c(i()(`err.unknownIds`,dn(u)));let d=()=>void t.dismissRequest().catch(()=>void 0);if(!l.length){o&&d();return}r({modal:{type:`plan`,ids:l,from:a,plan:null,...o?{request:o}:{}}});let f=()=>{let e=n().modal;return e?.type===`plan`&&e.ids===l?e:null};try{let e=await t.plan(l),n=f();n&&r({modal:{...n,plan:e}})}catch{let e=f();if(!e)return;r({modal:null}),e.request&&d(),c(i()(`err.plan`))}}async function f(e){let i=await t.settings(e);i&&r({settings:i.settings,lang:i.lang,paths:i.paths||n().paths})}async function p(e){let n;try{n=await t.open(e)}catch{c(i()(`err.action`));return}n===!1&&c(i()(`url`in e?`err.action`:`err.open`))}async function m(e,n){let i=e=>({...n||{pc:null,prereqs:{},freeDisk:null},error:e});try{r({hw:await t.hw(e)||i({})})}catch(e){r({hw:i(e instanceof kt?{call:e.code}:{reason:String(e?.message||e)})})}}async function h(e){if(!e.length)return;let n=await t.agentSources(e).catch(()=>null);n&&r(e=>({agentSources:{...e.agentSources,...Object.fromEntries(n.map(e=>[e.name,e]))}}))}function g(e){e&&r(t=>({scan:{...e,lastCheck:e.lastCheck||t.scan.lastCheck},...e.checking?{}:{progress:{...t.progress,check:null},checkPanelHidden:!1}}))}return{toast:c,applyScan:g,openPlan:d,saveSettings:f,open:p,nav(e){r({view:e,drawer:null}),e===`usage`&&!n().usage&&t.usage(!1).then(e=>r(t=>({usage:e||t.usage,usageError:!e,progress:{...t.progress,usage:null}})),()=>r(e=>({usageError:!0,progress:{...e.progress,usage:null}}))),e===`pc`&&!n().hw&&m(!1,null),e===`web`&&t.webList().then(e=>e&&r({web:e}),()=>void 0)},openEntry(e){r({drawer:{key:e}}),u(e)},openItem:e=>r({drawer:{id:e}}),closeDrawer:()=>r({drawer:null}),closeModal(){let e=n().modal;e&&`request`in e&&e.request&&t.dismissRequest().catch(()=>void 0),r({modal:null})},setFilter(e,t){r(n=>({filters:{...n.filters,[e]:{...n.filters[e],...t}}}))},togglePreHelp:e=>r(t=>({preHelp:Sn(t.preHelp,e)})),setUsageDays:e=>r({usageDays:e}),refreshUsage(){r(e=>({usageError:!1,progress:{...e.progress,usage:{kind:`usage`,done:0,total:1}}})),t.usage(!0).then(e=>r(t=>({usage:e||t.usage,usageError:!e,progress:{...t.progress,usage:null}})),()=>r(e=>({usageError:!0,progress:{...e.progress,usage:null}})))},check(){r(e=>({scan:{...e.scan,checking:!0}})),t.check().then(g,()=>{r(e=>({scan:{...e.scan,checking:!1},progress:{...e.progress,check:null},checkPanelHidden:!1})),c(i()(`err.check`))})},async update(e){s(),await l(t.update(e))&&c(i()(`toast.queued`))},async updateAll(){s();let e=n();await l(t.update(e.scan.entries.filter(t=>Wt(e.scan,t)===`atualizar`&&t.can.update).map(e=>e.key)))&&r({view:`activity`,drawer:null})},async toggle(e){let i=n(),a=i.scan.entries.find(t=>t.key===e);a&&!qt(i.jobs,i.pending).has(e)&&(s(),r(t=>({pending:Sn(t.pending,e,!0)})),await l(t.toggle(e,a.enabled===!1))||r(t=>({pending:Sn(t.pending,e,!1)})))},async disableIdle(){let e=n(),a=qt(e.jobs,e.pending),o=nn(e.scan.entries,e.usage?.[e.usageDays]).map(e=>e.key).filter(e=>!a.has(e));if(!o.length)return;s(),r(e=>({pending:o.reduce((e,t)=>Sn(e,t,!0),e.pending)}));let l=0,u=!1;for(let e of o){let n=null;try{n=await t.toggle(e,!1)}catch{u=!0}n?l++:r(t=>({pending:Sn(t.pending,e,!1)}))}l&&c(i()(`toast.disabling`)),u&&c(i()(`err.action`))},askRemove:e=>r({modal:{type:`remove`,key:e}}),async remove(e){s(),await l(t.remove(e))&&(r({modal:null,drawer:null}),c(i()(`toast.queued`)))},async confirmPlan(i=!1){let a=n().modal;if(a?.type!==`plan`||(s(),!await t.install(a.ids,i,a.plan?.fingerprint).catch(()=>wn(e,t,c,a))))return;let o=n().modal,l=o?.type===`plan`&&o.ids===a.ids;r({...l?{modal:null}:{},drawer:null,view:`activity`,nextRequest:hn(n().nextRequest,`install`,a.ids)})},async mark(e){let n=await l(t.mark(e,!0));n&&(r({registry:n}),c(i()(`toast.marked`)))},setJobOpen(e,t){r(n=>({openJobs:Sn(n.openJobs,e,t),closedJobs:Sn(n.closedJobs,e,!t)}))},cancel:e=>void l(t.cancel(e)),answer:(e,n)=>void l(t.answer(e,n)),async clearJobs(){let e=await l(t.clearJobs());e&&r({jobs:e})},async copy(e){await t.copy(e),c(i()(`toast.copied`))},async webSend(e,o){let s=await l(t.webExport(e));if(!s)return;if(!s.ok)return c(a(s));let u=s.files.find(e=>e.name===o);if(!u)return c(i()(`web.noSkill`));let d=await t.copy(u.file).catch(()=>!1),f=await t.webList().catch(()=>null);r({web:f||n().web,webGuide:{key:e,name:o,file:u.file,copied:d===!0}}),await p({url:Pt}),await p({reveal:u.file})},async webSendMany(e){let i=[],o=``,s=``;for(let n of e){let e=await l(t.webExport(n));if(!e)return;e.ok?(o=e.folder,i.push(...e.files.map(e=>({key:n,name:e.name,file:e.file,size:e.size})))):s||=a(e)}let u=await t.webList().catch(()=>null)||n().web,d=(e,t)=>u.find(t=>t.key===e)?.files.find(e=>e.name===t)?.state===`sent`,f=i.filter(e=>!d(e.key,e.name));if(s&&c(s),!f.length)return r({web:u});let m=await t.copy(o).catch(()=>!1);r({web:u,drawer:null,webGuide:null,modal:{type:`web`,files:f,folder:o,copied:m===!0}}),await p({url:Pt}),await p({path:o})},async webMarkSent(e,a,o=!0){let s=await l(t.webMarkSent(e,a,o));if(!s)return;let u=n().webGuide;r({web:s,webGuide:u&&u.key===e&&a.includes(u.name)?null:u}),o&&c(i()(a.length===1?`web.marked`:`web.markedMany`))},closeWebGuide:()=>r({webGuide:null}),refreshWeb(){t.webList().then(e=>e&&r({web:e}),()=>void 0)},async webForget(e,n){let a=await l(t.webForget(e,n??null));a&&(r({web:a}),c(i()(`web.forgotten`)))},async refreshHw(){let e=n().hw;r({hw:null}),await m(!0,e)},seeFits(){r(e=>({view:`discover`,drawer:null,filters:{...e.filters,discover:{...e.filters.discover,fits:!0}}}))},async pickBase(){let e=await t.pickFolder();e&&await f({base:e}).catch(e=>c(i()(e instanceof kt&&e.message===`argument`?`set.baseBad`:`err.action`)))},loadTokens:(()=>{let e=[],t=!1;return async r=>{for(let t of r)n().details[t]===void 0&&!e.includes(t)&&e.push(t);if(!t){t=!0;try{for(let t=e.shift();t!==void 0;t=e.shift())await u(t)}finally{t=!1}}}})(),hideCheckPanel:()=>r({checkPanelHidden:!0}),loadAgentSources:h,askRemoveAgent:e=>r({modal:{type:`removeAgent`,name:e}}),async removeAgent(e){let n=await l(t.removeAgent(e));n&&(r({modal:null}),c(n.ok?n.kept?i()(`ua.kept`,n.kept):i()(`ua.removed`):i()(`ua.removeFail`)),await h([e]))}}}async function wn(e,t,n,r){let i=x(e.get().lang).t,a=r.plan?.fingerprint,o=a?await t.plan(r.ids).catch(()=>null):null,s=e.get().modal;return o&&o.fingerprint!==a&&s?.type===`plan`&&s.ids===r.ids?(e.set({modal:{...s,plan:o}}),n(i(`err.planChanged`))):n(i(`err.action`)),null}function Tn(e,t,n){let{get:r,set:i}=e,a=e=>i({account:e}),o=e=>e.then(e=>e?a(e):void 0,()=>void 0);return{login:()=>o(t.accountLogin()),cancelLogin:()=>o(t.accountCancel()),logout:()=>o(t.accountLogout()),syncNow:()=>o(t.accountSync()),askErase:()=>i({modal:{type:`erase`}}),async erase(){i({modal:null});let e=await t.accountErase();e&&(a(e),e.error||n(x(r().lang).t(`acc.erased`)))},dismissChosen:e=>o(t.accountDismiss(e)),updateCheck:()=>t.updateCheck().then(e=>i({update:e})),updateDownload:()=>t.updateDownload().then(e=>i({update:e})),updateInstall:()=>void t.updateInstall(),async disconnectOthers(){let e=await t.revokeWindows().catch(()=>void 0);e===void 0?n(x(r().lang).t(`err.action`)):e!==null&&n(x(r().lang).t(`set.windowsOut`))}}}var En=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),k=e(((e,t)=>{t.exports=En()}))();function Dn(e,t){let n=Cn(e,t);return{...n,...Tn(e,t,n.toast),...gn(e,t,n.toast)}}var On=(0,l.createContext)(null);function kn({store:e,api:t,children:n}){let r=(0,l.useMemo)(()=>({store:e,api:t,actions:Dn(e,t)}),[e,t]);return(0,k.jsx)(On.Provider,{value:r,children:n})}function An(){let e=(0,l.useContext)(On);if(!e)throw Error(`AppProvider ausente`);return e}function A(e){let{store:t}=An();return(0,l.useSyncExternalStore)(t.subscribe,()=>e(t.get()))}var j=()=>An().actions,jn=()=>An().api,Mn=()=>An().store;function M(){let e=A(e=>e.lang),t=A(e=>e.catalog);return(0,l.useMemo)(()=>({lang:e,en:e===`en`,locale:ct(e),...x(e),...nt(t,e),rel:(t,n)=>dt(t,e,n),relDay:t=>ft(t,e),fmtNum:t=>ut(t,e),fmtSize:t=>lt(t,e)}),[e,t])}var Nn={toasts:`_toasts_ndnbw_1`,toast:`_toast_ndnbw_1`,pop:`_pop_ndnbw_3`};function Pn(){let e=A(e=>e.toasts);return(0,k.jsx)(`div`,{className:Nn.toasts,role:`status`,"aria-live":`polite`,children:e.map(e=>(0,k.jsx)(`div`,{className:Nn.toast,children:e.text},e.id))})}var Fn={box:`<path d="M21 8 12 3 3 8v8l9 5 9-5z"/><path d="m3 8 9 5 9-5M12 13v8"/>`,compass:`<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2 5-5 2 2-5z"/>`,layers:`<path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/>`,chart:`<path d="M3 3v18h18"/><path d="M8 16v-3M12.5 16V8M17 16v-6"/>`,queue:`<path d="M12 3v11m0 0-4-4m4 4 4-4"/><path d="M4 16v4h16v-4"/>`,cpu:`<rect x="6" y="6" width="12" height="12" rx="2"/><path d="M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4"/>`,gear:`<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-2.8 1.2V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-2.9-1.2l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.7 1.7 0 0 0 3.1 14H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.2-2.9l-.1-.1A2 2 0 1 1 7 4.2l.1.1A1.7 1.7 0 0 0 10 3.1V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 2.9 1.2l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0 1.2 2.9h.1a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/>`,refresh:`<path d="M21 12a9 9 0 1 1-2.6-6.4L21 8"/><path d="M21 3v5h-5"/>`,up:`<path d="M12 19V5M5 12l7-7 7 7"/>`,folder:`<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>`,trash:`<path d="M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14"/>`,ext:`<path d="M14 4h6v6M20 4l-9 9"/><path d="M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5"/>`,x:`<path d="M18 6 6 18M6 6l12 12"/>`,check:`<path d="m5 12 5 5L20 7"/>`,alert:`<path d="M12 9v4M12 17h.01"/><path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"/>`,info:`<circle cx="12" cy="12" r="9"/><path d="M12 16v-4M12 8h.01"/>`,copy:`<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a1 1 0 0 1 1-1h10"/>`,search:`<circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/>`,star:`<path d="m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z"/>`,heart:`<path d="M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z"/>`,dots:`<circle cx="5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/>`,clock:`<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>`,hand:`<circle cx="12" cy="12" r="9"/><path d="M12 8v5M12 16h.01"/>`,plug:`<path d="M9 2v5M15 2v5M6 7h12v4a6 6 0 0 1-12 0zM12 17v5"/>`,spark:`<path d="M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z"/>`,globe:`<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/>`,gh:`<path d="M9 19c-4 1.5-4-2-6-2m12 4v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/>`,shield:`<path d="M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z"/>`,link:`<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>`,play:`<rect x="3" y="5" width="18" height="14" rx="3"/><path d="m10 9 5 3-5 3z"/>`,user:`<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>`},In={i:`_i_mfv2e_1`};function N({name:e,className:t,label:n}){let r=n?{role:`img`,"aria-label":n}:{"aria-hidden":!0};return(0,k.jsx)(`svg`,{className:D(In.i,t),viewBox:`0 0 24 24`,...r,dangerouslySetInnerHTML:{__html:Fn[e]}})}var Ln={pill:`_pill_10tur_1`,dot:`_dot_10tur_2`,ok:`_ok_10tur_4`,up:`_up_10tur_5`,dead:`_dead_10tur_6`,stale:`_stale_10tur_7`,off:`_off_10tur_8`,run:`_run_10tur_9`,tag:`_tag_10tur_10`,tagOff:`_tagOff_10tur_11`,tagOfficial:`_tagOfficial_10tur_12`,tagRisk:`_tagRisk_10tur_13`,tagPro:`_tagPro_10tur_14`,kind:`_kind_10tur_15`,stars:`_stars_10tur_17`,vd:`_vd_10tur_19`,vdok:`_vdok_10tur_21`,vdslow:`_vdslow_10tur_22`,vdno:`_vdno_10tur_23`,vdnone:`_vdnone_10tur_24`,vdaddon:`_vdaddon_10tur_24`,got:`_got_10tur_25`,spin:`_spin_10tur_26`,spinSm:`_spinSm_10tur_27`,spinXs:`_spinXs_10tur_28`,block:`_block_10tur_30`};function Rn({tone:e=``,title:t,icon:n,spinning:r,bare:i,children:a}){let o=r?(0,k.jsx)(Gn,{}):n?(0,k.jsx)(N,{name:n}):i?null:(0,k.jsx)(`i`,{className:Ln.dot});return(0,k.jsxs)(`span`,{className:D(Ln.pill,e&&Ln[e]),title:t,children:[o,a]})}var zn={off:Ln.tagOff,official:Ln.tagOfficial,risk:Ln.tagRisk,plain:void 0};function Bn({tone:e=`plain`,title:t,children:n}){return(0,k.jsx)(`span`,{className:D(Ln.tag,zn[e]),title:t,children:n})}function Vn({kind:e,label:t,className:n}){return(0,k.jsxs)(`span`,{className:D(Ln.kind,n),style:{"--c":Ze(e)},children:[(0,k.jsx)(`i`,{}),t]})}function Hn({count:e,text:t}){return e?(0,k.jsxs)(`span`,{className:Ln.stars,children:[(0,k.jsx)(N,{name:`star`}),t]}):null}function Un({kind:e,label:t,title:n,as:r=`span`}){return(0,k.jsxs)(r,{className:D(Ln.vd,Ln[`vd`+e],r===`p`&&Ln.block),title:n,children:[(0,k.jsx)(`i`,{}),t]})}function Wn({children:e}){return(0,k.jsxs)(`span`,{className:Ln.got,children:[(0,k.jsx)(N,{name:`check`}),e]})}function Gn({size:e}){return(0,k.jsx)(`span`,{className:D(Ln.spin,e===`sm`&&Ln.spinSm,e===`xs`&&Ln.spinXs),"data-pulse":``,"aria-hidden":`true`})}var Kn={btn:`_btn_3gae8_1`,pri:`_pri_3gae8_3`,ghost:`_ghost_3gae8_5`,sm:`_sm_3gae8_7`,danger:`_danger_3gae8_8`,solidDanger:`_solidDanger_3gae8_10`,link:`_link_3gae8_12`,iconBtn:`_iconBtn_3gae8_14`},qn=(e,t,n)=>D(Kn.btn,e&&Kn[e],t&&Kn.sm,n);function P({variant:e,small:t,icon:n,className:r,children:i,type:a=`button`,...o}){return(0,k.jsxs)(`button`,{type:a,className:qn(e,t,r),...o,children:[n&&(0,k.jsx)(N,{name:n}),i]})}function Jn({icon:e,label:t,className:n,type:r=`button`,...i}){return(0,k.jsx)(`button`,{type:r,className:D(Kn.iconBtn,n),title:t,"aria-label":t,...i,children:(0,k.jsx)(N,{name:e})})}var Yn=(e,t=!0)=>D(qn(e,t),Kn.link,e===`pri`&&Kn.pri),Xn=`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea, summary, [tabindex]:not([tabindex="-1"])`;function Zn(e){(0,l.useEffect)(()=>{let t=e.current;if(!t)return;let n=document.activeElement instanceof HTMLElement?document.activeElement:null;t.contains(document.activeElement)||t.focus();let r=e=>{if(e.key!==`Tab`)return;let n=[...t.querySelectorAll(Xn)].filter(e=>!e.closest(`[hidden]`)),r=n[0],i=n[n.length-1];if(!r||!i)return;let a=document.activeElement;e.shiftKey&&(a===r||a===t)?(e.preventDefault(),i.focus()):!e.shiftKey&&a===i&&(e.preventDefault(),r.focus())};return t.addEventListener(`keydown`,r),()=>{t.removeEventListener(`keydown`,r),n?.isConnected&&n.focus()}},[e])}var Qn={scrim:`_scrim_10vku_1`,fade:`_fade_10vku_15`,drawer:`_drawer_10vku_2`,slide:`_slide_10vku_15`,head:`_head_10vku_3`,tags:`_tags_10vku_6`,close:`_close_10vku_7`,body:`_body_10vku_8`};function $n({title:e,tags:t,closeLabel:n,onClose:r,children:i}){let a=(0,l.useRef)(null);return Zn(a),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(`div`,{className:Qn.scrim,onClick:r}),(0,k.jsxs)(`aside`,{ref:a,className:Qn.drawer,role:`dialog`,"aria-modal":`true`,"aria-label":e,tabIndex:-1,children:[(0,k.jsxs)(`div`,{className:Qn.head,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h2`,{children:e}),(0,k.jsx)(`div`,{className:Qn.tags,children:t})]}),(0,k.jsx)(Jn,{icon:`x`,label:n,className:Qn.close,onClick:r})]}),(0,k.jsx)(`div`,{className:Qn.body,children:i})]})]})}var F={banner:`_banner_af124_1`,warn:`_warn_af124_4`,info:`_info_af124_5`,bad:`_bad_af124_6`,copper:`_copper_af124_8`,card:`_card_af124_10`,sectionH:`_sectionH_af124_11`,sectionAct:`_sectionAct_af124_14`,empty:`_empty_af124_15`,note:`_note_af124_18`,path:`_path_af124_20`,facts:`_facts_af124_21`,tiles:`_tiles_af124_25`,tile:`_tile_af124_25`,tileSub:`_tileSub_af124_29`,compact:`_compact_af124_30`,bar:`_bar_af124_31`,actsRow:`_actsRow_af124_33`,progress:`_progress_af124_35`,progressRun:`_progressRun_af124_37`,"ld-run":`_ld-run_af124_62`,loadPanel:`_loadPanel_af124_39`,loadBar:`_loadBar_af124_43`,loadCount:`_loadCount_af124_44`,strip:`_strip_af124_45`,stripText:`_stripText_af124_47`,stripBar:`_stripBar_af124_48`};function er({tone:e=`plain`,icon:t,alert:n,action:r,children:i}){return(0,k.jsxs)(`div`,{className:D(F.banner,e!==`plain`&&F[e]),role:n?`alert`:void 0,children:[(0,k.jsx)(N,{name:t}),(0,k.jsx)(`p`,{children:i}),r]})}function tr({className:e,children:t}){return(0,k.jsx)(`div`,{className:D(F.card,e),children:t})}function nr({title:e,sub:t,action:n}){return(0,k.jsxs)(`div`,{className:F.sectionH,children:[(0,k.jsx)(`h2`,{children:e}),t&&(0,k.jsx)(`p`,{children:t}),n&&(0,k.jsx)(`span`,{className:F.sectionAct,children:n})]})}function rr({title:e,visual:t,children:n}){return(0,k.jsxs)(`div`,{className:F.empty,children:[t,e&&(0,k.jsx)(`h2`,{children:e}),n]})}function ir({icon:e=`info`,children:t}){return(0,k.jsxs)(`p`,{className:F.note,children:[(0,k.jsx)(N,{name:e}),(0,k.jsx)(`span`,{children:t})]})}function ar({children:e}){return(0,k.jsx)(`span`,{className:F.path,children:e})}function or({items:e}){return(0,k.jsx)(`div`,{className:F.facts,children:e.map(([e,t])=>(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`small`,{children:e}),(0,k.jsx)(`b`,{children:t})]},e))})}function sr({compact:e,children:t}){return(0,k.jsx)(`div`,{className:D(F.tiles,e&&F.compact),children:t})}function cr({label:e,value:t,sub:n,valueStyle:r}){return(0,k.jsxs)(`div`,{className:F.tile,children:[(0,k.jsx)(`small`,{children:e}),(0,k.jsx)(`b`,{style:r,children:t}),n&&(0,k.jsx)(`span`,{className:F.tileSub,children:n})]})}function lr({percent:e}){return(0,k.jsx)(`div`,{className:F.bar,"aria-hidden":`true`,children:(0,k.jsx)(`i`,{style:{width:`${e}%`}})})}function ur({children:e}){return(0,k.jsx)(`div`,{className:F.actsRow,children:e})}function dr({label:e,done:t=0,total:n,valueText:r,className:i}){if(!n)return(0,k.jsx)(`div`,{className:D(F.progress,F.progressRun,i),role:`progressbar`,"aria-label":e,children:(0,k.jsx)(`i`,{"data-pulse":``})});let a=Math.min(Math.max(t,0),n);return(0,k.jsx)(`div`,{className:D(F.progress,i),role:`progressbar`,"aria-label":e,"aria-valuemin":0,"aria-valuemax":n,"aria-valuenow":a,"aria-valuetext":r,children:(0,k.jsx)(`i`,{style:{width:`${a/n*100}%`}})})}function fr({visual:e,title:t,sub:n,children:r}){return(0,k.jsxs)(`section`,{className:F.loadPanel,role:`status`,"aria-label":t,children:[e,(0,k.jsx)(`h2`,{children:t}),n&&(0,k.jsx)(`p`,{children:n}),r]})}function pr({label:e,children:t}){return(0,k.jsx)(`div`,{className:F.strip,role:`status`,"aria-label":e,children:t})}var mr={panelBar:F.loadBar,count:F.loadCount,stripText:F.stripText,stripBar:F.stripBar};function hr({href:e,className:t,children:n,title:r}){let i=A(e=>e.demo),{open:a}=j();return(0,k.jsx)(`a`,{className:t,href:e,target:`_blank`,rel:`noopener`,title:r,onClick:t=>{t.stopPropagation(),i||(t.preventDefault(),a({url:e}))},children:n})}var gr={minis:`_minis_1foeg_1`,have:`_have_1foeg_4`};function _r({items:e,onPick:t}){return(0,k.jsx)(`div`,{className:gr.minis,children:e.map(e=>(0,k.jsxs)(`button`,{type:`button`,className:e.done?gr.have:void 0,onClick:()=>t(e.key),children:[e.done&&(0,k.jsx)(N,{name:`check`}),e.label]},e.key))})}var vr=e=>!!(e&&e.brand)&&(e.vram!=null||e.brand===`apple`);function yr(e,t,n){let r=e.req||{},i=r.from?n?.(r.from):void 0;if(i){let e=yr(i,t,n);return{...e,from:[i,...e.from]}}let a=(e,t,n={})=>({k:e,code:t,params:n,from:[]}),o=t?.os;if(o===`mobile`&&e.env.includes(`app`))return a(`none`,`mobile`);if(o&&o!==`mobile`&&e.os&&!e.os[o])return a(`no`,o===`win`&&/WSL/.test(String(e.note||``))?`osWsl`:`os`,{os:o});if(!e.env.includes(`app`))return a(`addon`,`addon`);if(!r.v&&!r.r)return a(`ok`,`any`);if(!t||!vr(t))return a(`none`,`cfg`,{r:r.r||0,ram:r.ram||0,nvidia:r.gpu===`nvidia`});let s=t.brand,c=t.ram==null?null:+t.ram;if(s===`apple`&&c===null)return a(`none`,`macRam`);let l=s===`apple`?Math.floor(c*.65):Number(t.vram),u=r.gpu===`any`||r.gpu===`nvidia`&&s===`nvidia`||r.gpu===`nv+apple`&&(s===`nvidia`||s===`apple`),d=r.cpuFast?a(`ok`,`cpuFast`):a(`slow`,`cpu`);return u?l<(r.v||1)?r.cpu?d:a(`no`,s===`apple`?`minMac`:`min`,{v:r.v||1}):l<(r.r||0)?a(`slow`,`lim`,{r:r.r||0}):c!==null&&c<(r.ram||0)?a(`slow`,`ram`,{ram:r.ram||0}):a(`ok`,`ok`,{ramUnknown:c===null}):r.cpu?d:a(`no`,`brand`,{nvidia:r.gpu===`nvidia`})}var br={mobile:e=>e(`v.unknown`),os:e=>e(`v.noOs`),osWsl:e=>e(`v.noOsWsl`),addon:e=>e(`v.addon`),any:e=>e(`v.any`),cfg:e=>e(`v.unknown`),macRam:e=>e(`v.macRam`),cpuFast:e=>e(`v.cpuFast`),cpu:e=>e(`v.cpuSlow`),brand:(e,t)=>t.nvidia?e(`v.needNvidia`):e(`v.needGpu`),min:(e,t)=>e(`v.minVram`,t.v??1),minMac:(e,t)=>e(`v.minVramMac`,t.v??1),lim:(e,t)=>e(`v.limit`,t.r??0),ram:(e,t)=>e(`v.ram`,t.ram??0),ok:e=>e(`v.ok`)};function xr(e,t,n,r){let i=yr(e,t,e=>n[e]),a=br[i.code](r,i.params),o=i.from[0];return o?{k:i.k,t:a,from:o}:{k:i.k,t:a}}function Sr(e){let{t}=M(),n=A(e=>e.hw?.pc??null),r=A(e=>e.byId);return(0,l.useMemo)(()=>e?xr(e,n,r,t):null,[e,n,r,t])}function Cr(){let{t:e}=M(),t=A(e=>e.hw?.pc??null),n=A(e=>e.byId);return(0,l.useMemo)(()=>r=>xr(r,t,n,e),[t,n,e])}var wr={box:`_box_1e95k_1`,foot:`_foot_1e95k_7`,ack:`_ack_1e95k_8`};function Tr({item:e}){let{t,tx:n,ptx:r}=M(),i=$e(e.id,A(e=>e.catalog.pacotes));if(!Qe(e)&&!i.length)return null;let a=n(e,`rede`);return(0,k.jsxs)(`div`,{className:wr.box,role:`note`,"aria-label":t(`adv.h`),children:[(0,k.jsx)(N,{name:`alert`}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`b`,{children:t(`adv.h`)}),Qe(e)&&(0,k.jsx)(`p`,{children:n(e,`risco`)}),i.map(e=>(0,k.jsxs)(`p`,{children:[(0,k.jsxs)(`b`,{children:[r(e,`name`),`:`]}),` `,r(e,`risco`)]},e.id)),a&&(0,k.jsxs)(`p`,{children:[(0,k.jsx)(`b`,{children:t(`adv.net`)}),` `,a]}),(0,k.jsx)(`p`,{className:wr.foot,children:t(`adv.foot`)})]})]})}function Er({pack:e,items:t}){let{t:n,tx:r,ptx:i}=M(),a=t.filter(Qe);return!Qe(e)&&!a.length?null:(0,k.jsxs)(`div`,{className:wr.box,role:`note`,children:[(0,k.jsx)(N,{name:`alert`}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`b`,{children:n(`adv.h`)}),Qe(e)&&(0,k.jsx)(`p`,{children:i(e,`risco`)}),a.length>0&&(0,k.jsx)(`p`,{children:n(`adv.items`,a.map(e=>r(e,`name`)).join(`, `))})]})]})}function Dr({items:e,packs:t,acked:n,onAck:r}){let{t:i,tx:a,ptx:o}=M();return!e.length&&!t.length?null:(0,k.jsxs)(`div`,{className:wr.box,role:`group`,"aria-labelledby":`adv-plan-h`,children:[(0,k.jsx)(N,{name:`alert`}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`b`,{id:`adv-plan-h`,children:i(`adv.h`)}),(0,k.jsxs)(`ul`,{children:[t.map(e=>(0,k.jsxs)(`li`,{children:[(0,k.jsxs)(`b`,{children:[o(e,`name`),`:`]}),` `,o(e,`risco`)]},`p:`+e.id)),e.map(e=>(0,k.jsxs)(`li`,{children:[(0,k.jsxs)(`b`,{children:[a(e,`name`),`:`]}),` `,a(e,`risco`),a(e,`rede`)&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(`b`,{children:i(`adv.net`)}),` `,a(e,`rede`)]})]},e.id))]}),(0,k.jsx)(`p`,{className:wr.foot,children:i(`adv.foot`)}),(0,k.jsxs)(`label`,{className:wr.ack,children:[(0,k.jsx)(`input`,{type:`checkbox`,checked:n,onChange:e=>r(e.currentTarget.checked)}),i(`adv.ack`)]})]})]})}var Or={pre:`_pre_6c9b9_1`,item:`_item_6c9b9_2`,open:`_open_6c9b9_3`,head:`_head_6c9b9_4`,state:`_state_6c9b9_6`,users:`_users_6c9b9_8`,qm:`_qm_6c9b9_9`,y:`_y_6c9b9_12`,n:`_n_6c9b9_13`,u:`_u_6c9b9_8`,aff:`_aff_6c9b9_15`,sr:`_sr_6c9b9_17`};function kr({withSub:e}){let{t,en:n}=M(),r=A(e=>e.feed.afiliados);if(!r?.nuvem?.url)return null;let i=e=>typeof e==`string`?e.trim():``,a=n&&i(r.avisoEn)||i(r.aviso)||t(`ad.affiliate`);return(0,k.jsxs)(`div`,{className:Or.aff,children:[(0,k.jsx)(`small`,{children:a}),(0,k.jsx)(`b`,{children:t(`pc.cloud`,r.nuvem.nome||`GPU`)}),e&&(0,k.jsx)(`span`,{style:{color:`var(--muted)`},children:t(`pc.cloudSub`)}),(0,k.jsx)(`div`,{children:(0,k.jsxs)(hr,{href:r.nuvem.url,className:Yn(),children:[(0,k.jsx)(N,{name:`ext`}),t(`pc.cloudBtn`,r.nuvem.nome||``)]})})]})}var Ar=/^https:\/\/www\.youtube\.com\/watch\?v=([\w-]{11})$/,jr=/^https:\/\/www\.instagram\.com\/(p|reel)\/([\w-]{5,40})\/$/;function Mr(e){let t=String(e||``);return Ar.test(t)?`youtube`:jr.test(t)?`instagram`:null}function Nr(e){let t=String(e||``),n=Ar.exec(t);if(n)return`https://www.youtube-nocookie.com/embed/${n[1]}`;let r=jr.exec(t);return r?`https://www.instagram.com/${r[1]}/${r[2]}/embed`:null}function Pr(e,t){let n=(e||[]).filter(e=>Nr(e.url)),r=e=>e.idioma===t?0:e.idioma?2:1;return n.map((e,t)=>({v:e,i:t})).sort((e,t)=>r(e.v)-r(t.v)||e.i-t.i).map(e=>e.v)}function Fr(e,t,n,r=4){if(e.videos?.length)return Pr(e.videos,n).slice(0,r);let i=[];for(let e of t){let t=Pr(e.videos,n)[0];t&&!i.some(e=>e.url===t.url)&&i.push(t)}return i.slice(0,r)}var Ir=/^\/previas\/[a-z0-9][a-z0-9._-]{0,63}\/[a-z0-9][a-z0-9._-]{0,63}\.(webp|avif|png|jpg|jpeg)$/,Lr=/^\/previas\/[a-z0-9][a-z0-9._-]{0,63}\/[a-z0-9][a-z0-9._-]{0,63}\.(mp4|webm)$/,Rr={section:`_section_ejqs9_1`,empty:`_empty_ejqs9_2`,note:`_note_ejqs9_5`,beforeAfter:`_beforeAfter_ejqs9_6`,clip:`_clip_ejqs9_10`,credit:`_credit_ejqs9_11`,videos:`_videos_ejqs9_12`,video:`_video_ejqs9_12`,cover:`_cover_ejqs9_14`,frame:`_frame_ejqs9_14`,play:`_play_ejqs9_21`,caption:`_caption_ejqs9_23`,more:`_more_ejqs9_25`,moreBody:`_moreBody_ejqs9_26`},zr={youtube:`YouTube`,instagram:`Instagram`},Br=(e,t)=>!!t&&typeof t.src==`string`&&e.test(t.src);function Vr({preview:e,summary:t}){let{t:n,en:r}=M();if(!e||!Br(Ir,e.antes)||!Br(Ir,e.depois))return(0,k.jsxs)(`div`,{className:Rr.empty,children:[(0,k.jsx)(`h3`,{children:n(`pv.emptyH`)}),(0,k.jsx)(`p`,{children:t})]});let i=Ye,a=Br(Lr,e.clipe)?e.clipe:void 0,o=e.credito;return(0,k.jsxs)(`div`,{className:Rr.section,children:[(0,k.jsx)(`h3`,{children:n(`pv.h`)}),(0,k.jsx)(`p`,{className:Rr.note,children:r?e.tarefaEn:e.tarefa}),(0,k.jsxs)(`div`,{className:Rr.beforeAfter,children:[(0,k.jsxs)(`figure`,{children:[(0,k.jsx)(`img`,{src:i+e.antes.src,alt:r?e.antes.altEn:e.antes.alt,loading:`lazy`}),(0,k.jsx)(`figcaption`,{children:n(`pv.before`)})]}),(0,k.jsxs)(`figure`,{children:[(0,k.jsx)(`img`,{src:i+e.depois.src,alt:r?e.depois.altEn:e.depois.alt,loading:`lazy`}),(0,k.jsx)(`figcaption`,{children:n(`pv.after`)})]})]}),a&&(0,k.jsx)(`video`,{className:Rr.clip,src:i+a.src,poster:i+e.depois.src,muted:!0,playsInline:!0,loop:!0,controls:!0,preload:`none`,"aria-label":r?a.altEn:a.alt}),(0,k.jsxs)(`p`,{className:Rr.credit,children:[n(`pv.credit`,o.autor,o.licenca===`proprio`?n(`pv.own`):o.licenca),o.fonte&&(0,k.jsxs)(k.Fragment,{children:[` · `,(0,k.jsx)(hr,{href:o.fonte,children:n(`pv.source`)})]})]})]})}function Hr({video:e}){let{t}=M(),[n,r]=(0,l.useState)(!1),i=Nr(e.url),a=Mr(e.url);return!i||!a?null:(0,k.jsxs)(`figure`,{className:Rr.video,"data-plataforma":a,children:[n?(0,k.jsx)(`div`,{className:Rr.frame,children:(0,k.jsx)(`iframe`,{src:i,title:e.titulo,referrerPolicy:`strict-origin-when-cross-origin`,allow:`encrypted-media; picture-in-picture; fullscreen`,allowFullScreen:!0})}):(0,k.jsxs)(`button`,{type:`button`,className:Rr.cover,onClick:()=>r(!0),"aria-label":t(`vd.play`,e.titulo),children:[(0,k.jsx)(`span`,{className:Rr.play,"aria-hidden":`true`,children:(0,k.jsx)(N,{name:`play`})}),(0,k.jsx)(`b`,{children:e.titulo}),(0,k.jsx)(`span`,{children:e.criador}),(0,k.jsx)(`small`,{children:zr[a]})]}),(0,k.jsxs)(`figcaption`,{className:Rr.caption,children:[(0,k.jsx)(hr,{href:e.url,children:t(`vd.original`)}),(0,k.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,k.jsxs)(hr,{href:e.canal,children:[t(`vd.channel`),`: `,e.criador]})]})]})}function Ur({videos:e}){let{t}=M();return e.length?(0,k.jsxs)(`div`,{className:Rr.section,children:[(0,k.jsx)(`h3`,{children:t(`vd.h`)}),(0,k.jsx)(`div`,{className:Rr.videos,children:e.map(e=>(0,k.jsx)(Hr,{video:e},e.url))}),(0,k.jsx)(`p`,{className:Rr.note,children:t(`vd.note`)})]}):null}function Wr({item:e}){let{tl:t}=M(),n=rt(e);return n?(0,k.jsx)(Rn,{tone:it[n],icon:`shield`,title:t(`seg.tip.`+n),children:t(`seg.`+n)}):null}var I={status:`_status_yo4vo_1`,up:`_up_yo4vo_2`,dead:`_dead_yo4vo_3`,stale:`_stale_yo4vo_4`,ok:`_ok_yo4vo_5`,small:`_small_yo4vo_6`,inv:`_inv_yo4vo_7`,security:`_security_yo4vo_8`,securityTop:`_securityTop_yo4vo_12`,securityGrid:`_securityGrid_yo4vo_13`,check:`_check_yo4vo_14`,yes:`_yes_yo4vo_16`,no:`_no_yo4vo_17`,unknown:`_unknown_yo4vo_18`,finding:`_finding_yo4vo_19`,risk:`_risk_yo4vo_20`,info:`_info_yo4vo_21`,goodToKnow:`_goodToKnow_yo4vo_24`,review:`_review_yo4vo_26`,powers:`_powers_yo4vo_27`,run:`_run_yo4vo_28`,envs:`_envs_yo4vo_29`},Gr={ok:I.ok,stale:I.stale,dead:I.dead};function Kr({item:e}){let{t,tl:n,en:r,relDay:i}=M(),a=A(e=>e.catalog),o=a?.limiteEstrelas??500,s=e.seg,c=rt(e);if(!s||!c)return null;let l=s.achados.filter(e=>e.nivel!==`info`),u=s.achados.filter(e=>e.nivel===`info`),d=(e,t)=>{let r=typeof e.pacote==`string`?e.pacote.trim():``,i=Array.isArray(e.falhas)?e.falhas.filter(e=>typeof e==`string`&&!!e.trim()).slice(0,5):[];return(0,k.jsxs)(`div`,{className:D(I.finding,e.nivel===`risco`&&I.risk,e.nivel===`info`&&I.info),children:[(0,k.jsx)(N,{name:e.nivel===`info`?`info`:`alert`}),(0,k.jsxs)(`span`,{children:[n(`sega.`+e.id,o),e.arquivo&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(`code`,{children:e.arquivo})]}),r&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(`code`,{children:r})]}),i.length>0&&(0,k.jsxs)(k.Fragment,{children:[` (`,i.map((e,t)=>(0,k.jsxs)(`span`,{children:[t>0&&`, `,(0,k.jsx)(`code`,{children:e})]},e+t)),`)`]})]})]},e.id+t)},f=s.revisado&&(r&&s.revisado.notaEn||s.revisado.nota);return(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:t(`seg.title`)}),(0,k.jsxs)(`div`,{className:D(I.security,Gr[it[c]]),children:[(0,k.jsxs)(`div`,{className:I.securityTop,children:[(0,k.jsx)(Wr,{item:e}),(0,k.jsx)(`span`,{className:I.small,children:t(`seg.when`,s.verificadoEm?i(s.verificadoEm):`—`)})]}),(0,k.jsx)(`div`,{className:I.securityGrid,children:s.checks.map(e=>(0,k.jsxs)(`div`,{className:I.check,children:[e.ok===!0?(0,k.jsx)(`span`,{className:I.yes,children:(0,k.jsx)(N,{name:`check`})}):e.ok===!1?(0,k.jsx)(`span`,{className:I.no,children:(0,k.jsx)(N,{name:`x`})}):(0,k.jsx)(`span`,{className:I.unknown,children:`—`}),(0,k.jsx)(`span`,{children:n(`segc.`+e.id,o)})]},e.id))}),l.map(d),u.length>0&&(0,k.jsxs)(`div`,{className:I.goodToKnow,children:[(0,k.jsx)(`span`,{children:t(`seg.goodToKnow`)}),u.map(d)]}),f&&(0,k.jsxs)(`div`,{className:I.review,children:[(0,k.jsx)(`b`,{children:t(`seg.reviewed`)}),` `,f]}),(0,k.jsx)(`div`,{children:(0,k.jsx)(hr,{href:ot(a)+(r?`/security`:`/pt/security`),className:Yn(`ghost`),children:t(`seg.how`)})})]})]})}function qr({item:e,installed:t,manageKey:n}){let{t:r,tx:i,ptx:a,rel:o,fmtNum:s,level:c,envShort:l,powers:u,lang:d,lab:f}=M(),p=j(),m=A(e=>e.catalog),h=A(e=>e.hw?.pc?.brand),g=A(e=>e.os),_=Sr(e),v=e.gh||{},y=u(e),b=i(e,`run`),x=i(e,`note`),ee=m.pacotes.filter(t=>t.mods.includes(e.id));return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:r(`d.about`)}),(0,k.jsxs)(`p`,{children:[(0,k.jsxs)(`b`,{children:[i(e,`sub`),`.`]}),` `,i(e,`what`)]})]}),(0,k.jsx)(Tr,{item:e}),(0,k.jsx)(Vr,{preview:e.previa,summary:r(`pv.emptyItem`,f(`tipos`,e.kind),i(e,`what`))}),(0,k.jsx)(Ur,{videos:Pr(e.videos,d)}),y.length>0&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:r(`d.powers`)}),(0,k.jsx)(`ul`,{className:I.powers,children:y.map(e=>(0,k.jsx)(`li`,{children:e},e))})]}),(0,k.jsx)(or,{items:[[r(`d.stars`),s(v.estrelas)],[r(`d.contrib`),s(v.contribuidores)],[r(`d.license`),v.licenca||`—`],[r(`d.push`),v.push?o(v.push):`—`],[r(`d.level`),c(e.lvl)],[r(`d.where2`),(0,k.jsx)(`span`,{className:I.envs,children:e.env.map(l).join(`, `)})]]}),(0,k.jsx)(Kr,{item:e}),_&&_.k!==`addon`&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:r(`d.pc`)}),(0,k.jsx)(Un,{kind:_.k,label:_.t}),_.from&&(0,k.jsx)(`p`,{className:I.small,children:r(`v.from`,i(_.from,`name`))})]}),_?.k===`no`&&(0,k.jsx)(kr,{}),b&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:r(`d.howto`)}),(0,k.jsx)(`p`,{className:I.run,children:b.replace(/\{TORCH\}/g,h===`nvidia`&&g!==`mac`?`cuda`:`cpu`)})]}),x&&(0,k.jsx)(er,{tone:`warn`,icon:`alert`,children:x}),ee.length>0&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:r(`d.packs`)}),(0,k.jsx)(_r,{items:ee.map(e=>({key:e.id,label:a(e,`name`)})),onPick:()=>p.nav(`packs`)})]}),(0,k.jsxs)(ur,{children:[!t&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(P,{variant:`pri`,onClick:()=>void p.openPlan([e.id],`app`),children:r(`a.install`)}),(0,k.jsx)(P,{icon:`check`,onClick:()=>void p.mark(e.id),children:r(`a.mark`)})]}),t&&n&&(0,k.jsx)(P,{onClick:()=>p.openEntry(n),children:r(`a.manage`)}),(0,k.jsxs)(hr,{href:`https://github.com/`+e.repo,className:Yn(void 0,!1),children:[(0,k.jsx)(N,{name:`gh`}),`GitHub`]})]})]})}var Jr={muted:`_muted_125v0_2`,faint:`_faint_125v0_3`,mono:`_mono_125v0_4`,legal:`_legal_125v0_5`,sr:`_sr_125v0_6`,small:`_small_125v0_7`,strong:`_strong_125v0_8`,code:`_code_125v0_9`},Yr={atualizado:`ok`,atualizar:`up`,descontinuado:`dead`,parado:`stale`,desconhecido:``};function Xr(e,t){let n=e.reason?`sd.why.`+e.reason:``,r=n&&t(n);return r&&r!==n?r:t(`sd.`+e.status)}function Zr({entry:e}){let{t,tl:n}=M(),r=A(t=>t.scan.statuses[e.key]),i=A(e=>e.scan.checking);if(!r?.status)return i?(0,k.jsx)(Rn,{tone:`run`,spinning:!0,children:t(`s.checking`)}):(0,k.jsx)(Rn,{bare:!0,children:t(`s.unchecked`)});let a=r.status;return(0,k.jsxs)(Rn,{tone:Yr[a],title:Xr(r,n),children:[n(`s.`+a),a===`atualizar`&&r.latest&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsxs)(`span`,{className:Jr.mono,children:[`→ `,r.latest]})]})]})}var Qr={modal:`_modal_15wcn_1`,fade:`_fade_15wcn_15`,box:`_box_15wcn_2`,pop:`_pop_15wcn_15`,head:`_head_15wcn_3`,body:`_body_15wcn_6`,foot:`_foot_15wcn_7`,legal:`_legal_15wcn_8`};function $r({labelledBy:e,width:t,onClose:n,children:r}){let i=(0,l.useRef)(null);return Zn(i),(0,k.jsx)(`div`,{className:Qr.modal,onClick:e=>e.target===e.currentTarget&&n?.(),children:(0,k.jsx)(`div`,{ref:i,className:Qr.box,role:`dialog`,"aria-modal":`true`,"aria-labelledby":e,tabIndex:-1,style:t?{width:`min(${t}px, 100%)`}:void 0,children:r})})}function ei({id:e,title:t,sub:n}){return(0,k.jsxs)(`div`,{className:Qr.head,children:[(0,k.jsx)(`h2`,{id:e,children:t}),n&&(0,k.jsx)(`p`,{children:n})]})}function ti({children:e}){return(0,k.jsx)(`div`,{className:Qr.body,children:e})}function ni({legal:e,children:t}){return(0,k.jsxs)(`div`,{className:Qr.foot,children:[e&&(0,k.jsx)(`span`,{className:Qr.legal,children:e}),t]})}var ri={actions:`_actions_1bjme_1`,changes:`_changes_1bjme_2`,body:`_body_1bjme_4`,note:`_note_1bjme_5`,notes:`_notes_1bjme_6`,code:`_code_1bjme_7`};function ii({entryKey:e,name:t}){let{t:n}=M(),r=jn(),[i,a]=(0,l.useState)(`fechado`),[o,s]=(0,l.useState)(null),c=t=>{t&&i===`fechado`&&(a(`carregando`),r.changelog(e).then(e=>(s(e),a(`pronto`)),()=>a(`pronto`)))};return(0,k.jsxs)(`details`,{className:ri.changes,onToggle:e=>c(e.currentTarget.open),children:[(0,k.jsxs)(`summary`,{children:[n(`cl.h`),t?`: ${t}`:``]}),i===`carregando`&&(0,k.jsxs)(`p`,{className:ri.note,children:[(0,k.jsx)(Gn,{}),` `,n(`cl.loading`)]}),i===`pronto`&&(0,k.jsxs)(`div`,{className:ri.body,children:[o?.title&&(0,k.jsx)(`b`,{children:o.title}),o?.notes?(0,k.jsx)(`pre`,{className:ri.notes,children:o.notes}):(0,k.jsx)(`p`,{className:ri.note,children:n(`cl.none`)}),(0,k.jsxs)(ur,{children:[o?.compare&&(0,k.jsx)(hr,{href:o.compare,children:n(`cl.compare`)}),o?.url&&(0,k.jsx)(hr,{href:o.url,children:n(`cl.release`)})]})]})]})}function ai({entryKey:e}){let{t}=M(),n=j(),r=A(t=>t.scan.previous?.[e]),i=A(t=>t.scan.statuses[e]),a=i?.status===`atualizar`?i.latest:void 0;return!r&&!a&&!i?.ignored?null:(0,k.jsxs)(`div`,{className:ri.actions,children:[i?.ignored&&(0,k.jsx)(ir,{icon:`info`,children:t(`ig.badge`,i.ignored)}),(0,k.jsxs)(ur,{children:[r&&(0,k.jsx)(P,{icon:`refresh`,onClick:()=>n.askRollback(e),children:t(`rb.action`)}),a&&(0,k.jsx)(P,{variant:`ghost`,onClick:()=>void n.ignoreVersion(e,a,t(`ig.ignored`,a)),children:t(`ig.action`,a)}),i?.ignored&&(0,k.jsx)(P,{variant:`ghost`,onClick:()=>void n.ignoreVersion(e,null,``),children:t(`ig.undo`)})]}),a&&(0,k.jsx)(ii,{entryKey:e})]})}function oi({entryKey:e}){let t=M(),{t:n,rel:r}=t,i=j(),a=A(e=>e.scan.entries),o=A(e=>e.byId),s=A(t=>t.scan.previous?.[e]),c=a.find(t=>t.key===e);if(!c||!s)return null;let l=s.version||s.commit?.slice(0,7)||``;return(0,k.jsxs)($r,{labelledBy:`rb-h`,width:480,onClose:i.closeModal,children:[(0,k.jsx)(ei,{id:`rb-h`,title:n(`rb.title`,Xt(c,a,o,t)),sub:n(`rb.sub`,l,r(s.at))}),(0,k.jsxs)(ti,{children:[s.how===`page`&&(0,k.jsx)(ir,{icon:`hand`,children:n(`rb.manual`)}),s.code&&(0,k.jsx)(`p`,{className:ri.code,children:n(`rb.code`,s.code)})]}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:i.closeModal,children:n(`a.cancel`)}),(0,k.jsx)(P,{variant:`pri`,icon:`refresh`,onClick:()=>void i.confirmRollback(n(`toast.queued`)),children:n(`rb.action`)})]})]})}var si={table:`_table_1m5e2_1`,row:`_row_1m5e2_2`,head:`_head_1m5e2_5`,static:`_static_1m5e2_7`,idle:`_idle_1m5e2_8`,nm:`_nm_1m5e2_9`,off:`_off_1m5e2_12`,meta:`_meta_1m5e2_12`,acts:`_acts_1m5e2_14`,uses:`_uses_1m5e2_15`,web:`_web_1m5e2_17`,lean:`_lean_1m5e2_20`,wide:`_wide_1m5e2_21`,cver:`_cver_1m5e2_26`},L={nm:si.nm,meta:si.meta,acts:si.acts,uses:si.uses,cver:si.cver,wide:si.wide};function ci({lean:e,children:t}){return(0,k.jsx)(`div`,{className:D(si.table,e&&si.lean),role:`table`,children:t})}function li({variant:e=`entry`,off:t,onOpen:n,children:r}){let i=e===`head`?`columnheader`:`cell`,a=l.Children.map(r,e=>(0,l.isValidElement)(e)&&typeof e.type==`string`&&!e.props.role?(0,l.cloneElement)(e,{role:i}):e);return(0,k.jsx)(`div`,{className:D(si.row,e!==`entry`&&si[e],t&&si.off),role:`row`,onClick:n,onKeyDown:n?e=>{n&&e.key===`Enter`&&e.target===e.currentTarget&&n()}:void 0,tabIndex:n?0:void 0,children:a})}var ui={shell:`_shell_15jqo_1`,main:`_main_15jqo_2`,top:`_top_15jqo_3`,sub:`_sub_15jqo_6`,act:`_act_15jqo_7`,view:`_view_15jqo_8`,connection:`_connection_15jqo_17`};function di({title:e,sub:t,actions:n}){return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(`h1`,{children:e}),t!==void 0&&(0,k.jsx)(`span`,{className:ui.sub,children:t}),n&&(0,k.jsx)(`div`,{className:ui.act,children:n})]})}var fi={how:`_how_1ro0m_1`,steps:`_steps_1ro0m_3`,box:`_box_1ro0m_4`,guide:`_guide_1ro0m_8`,guideActs:`_guideActs_1ro0m_10`,path:`_path_1ro0m_11`,check:`_check_1ro0m_15`,done:`_done_1ro0m_21`};function pi({many:e}){let{t}=M(),n=A(e=>e.os)===`mac`,r=[t(`web.g1`),t(e?n?`web.g2macMany`:`web.g2winMany`:n?`web.g2mac`:`web.g2win`),t(e?`web.g3Many`:`web.g3`)];return(0,k.jsx)(`ol`,{className:fi.steps,children:r.map(e=>(0,k.jsx)(`li`,{children:e},e))})}function mi({path:e,copied:t,folder:n}){let{t:r}=M(),i=j();return(0,k.jsxs)(`div`,{className:fi.path,children:[(0,k.jsx)(`small`,{children:r(t?n?`web.copiedFolder`:`web.copied`:`web.copyFail`)}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(ar,{children:e}),(0,k.jsx)(P,{small:!0,icon:`copy`,onClick:()=>void i.copy(e),children:r(`web.copyPath`)})]})]})}var hi=e=>e.split(/[\\/]/).filter(Boolean).pop()||e,gi=e=>hi(e);function _i(e){return e.source===`skill`?[e.path?hi(e.path):e.id]:e.source===`plugin`&&e.inventory?.skills||[]}function vi(e,t){let n=[],r=new Set;for(let i of e){let e=t.find(e=>e.key===i.key);for(let t of _i(i)){let a=e?.files.find(e=>e.name===t)||null;r.add(i.key+`
10
+ `+t),n.push({key:i.key,name:t,entry:i,file:a,state:a?a.state||`new`:`todo`})}}for(let e of t)for(let t of e.files)r.has(e.key+`
11
+ `+t.name)||n.push({key:e.key,name:t.name,entry:null,file:t,state:t.state||`new`});return n}var yi=(e,t,n)=>e.filter(e=>e.entry&&e.state!==`sent`).sort((e,r)=>Number(r.state===`changed`)-Number(e.state===`changed`)||t(e).localeCompare(t(r),n));function bi(e,t){let n=vi([e],t?[t]:[]).filter(e=>e.entry),r=n.reduce((e,t)=>t.file?.sentAt&&t.file.sentAt>e?t.file.sentAt:e,``);return{pending:n.filter(e=>e.state!==`sent`).length,changed:n.some(e=>e.state===`changed`),lastSent:r||null}}var xi=e=>e.filter(e=>e.state===`sent`||!e.entry);function Si({off:e}){let{t}=M();return e?(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(Bn,{tone:`off`,title:t(`web.offTip`),children:t(`off`)})]}):null}function Ci(){let{t:e}=M();return(0,k.jsx)(di,{title:e(`nav.web`),sub:e(`web.sub`),actions:(0,k.jsxs)(hr,{href:Pt,className:Yn(void 0,!1),children:[(0,k.jsx)(N,{name:`ext`}),e(`web.openClaude`)]})})}function wi(){let e=M(),t=A(e=>e.web),n=A(e=>e.scan.entries),r=A(e=>e.byId),i=vi(n,t),a=i=>i.entry?Xt(i.entry,n,r,e):t.find(e=>e.key===i.key)?.name||i.key;return{rows:i,label:e=>e.entry?.source===`skill`?a(e):e.name,itemName:a,locale:e.locale}}function Ti({row:e}){let{t}=M(),n=j(),r=A(e=>e.webGuide);return r?(0,k.jsx)(`div`,{role:`row`,className:fi.guide,children:(0,k.jsxs)(`div`,{role:`cell`,"aria-label":t(`web.guideH`),children:[(0,k.jsx)(`b`,{children:t(`web.guideH`)}),(0,k.jsx)(pi,{}),(0,k.jsx)(mi,{path:r.file,copied:r.copied}),(0,k.jsxs)(`div`,{className:fi.guideActs,children:[(0,k.jsx)(P,{small:!0,variant:`pri`,icon:`check`,onClick:()=>void n.webMarkSent(e.key,[e.name]),children:t(`web.markSent`)}),(0,k.jsxs)(hr,{href:Pt,className:Yn(),children:[(0,k.jsx)(N,{name:`ext`}),t(`web.openAgain`)]}),(0,k.jsx)(P,{small:!0,variant:`ghost`,onClick:n.closeWebGuide,children:t(`web.later`)})]})]})}):null}function Ei(){let{t:e,lab:t,relDay:n}=M(),r=j(),i=A(e=>e.webGuide),{rows:a,label:o,itemName:s,locale:c}=wi(),l=yi(a,o,c),u=[...new Set(l.map(e=>e.key))];return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:e(`web.todoH`),sub:e(`web.todoSub`),action:l.length>1&&(0,k.jsx)(P,{small:!0,variant:`pri`,icon:`up`,onClick:()=>void r.webSendMany(u),children:e(`web.sendAll`,l.length)})}),l.length?(0,k.jsx)(ci,{children:l.map(a=>{let c=i?.key===a.key&&i.name===a.name,l=a.state===`changed`,u=a.entry.source===`plugin`?e(`web.ofPlugin`,s(a)):a.entry.kind===`folder`?e(`k.folder`):t(`tipos`,a.entry.kind);return[(0,k.jsxs)(li,{variant:`web`,children:[(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsxs)(`b`,{children:[o(a),(0,k.jsx)(Si,{off:a.entry.enabled===!1}),l&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(Rn,{tone:`up`,title:e(`web.changedTip`),children:e(`web.changed`)})]})]}),(0,k.jsxs)(`small`,{children:[u,l&&a.file?.sentAt?` · `+e(`web.sentWhen`,n(a.file.sentAt)):a.state===`new`?` · `+e(`web.ready`):``]})]}),(0,k.jsxs)(`div`,{className:L.acts,children:[(0,k.jsx)(P,{small:!0,variant:l?`pri`:void 0,icon:l?`refresh`:`up`,title:l?e(`web.changedTip`):void 0,onClick:()=>void r.webSend(a.key,a.name),children:e(l?`web.sendAgain`:`web.send`)}),a.state===`new`&&!c&&(0,k.jsx)(P,{small:!0,variant:`ghost`,icon:`check`,onClick:()=>void r.webMarkSent(a.key,[a.name]),children:e(`web.markSent`)})]})]},a.key+`
12
+ `+a.name),c&&(0,k.jsx)(Ti,{row:a},`guide
13
+ `+a.key+`
14
+ `+a.name)]})}):(0,k.jsx)(rr,{children:(0,k.jsx)(`p`,{children:e(a.length?`web.allSent`:`web.noneAvail`)})})]})}function Di(){let{t:e,relDay:t}=M(),n=j(),{rows:r,label:i,itemName:a,locale:o}=wi(),s=xi(r).sort((e,t)=>i(e).localeCompare(i(t),o));return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:e(`web.sentH`),sub:e(`web.sentSub`)}),s.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ci,{children:s.map(r=>(0,k.jsxs)(li,{variant:`web`,children:[(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsxs)(`b`,{children:[i(r),(0,k.jsx)(Si,{off:r.entry?.enabled===!1})]}),(0,k.jsx)(`small`,{children:[r.entry?.source===`plugin`||!r.entry&&r.name!==a(r)?e(`web.ofPlugin`,a(r)):null,r.file?.sentAt?e(`web.sentWhen`,t(r.file.sentAt)):e(`web.notSent`),r.entry?null:e(`web.gone`),r.file?gi(r.file.file):null].filter(Boolean).join(` · `)})]}),(0,k.jsxs)(`div`,{className:L.acts,children:[r.file&&(0,k.jsx)(P,{small:!0,icon:`folder`,onClick:()=>n.open({reveal:r.file.file}),children:e(`web.show`)}),(0,k.jsx)(P,{small:!0,variant:`ghost`,onClick:()=>void n.webForget(r.key,r.name),children:e(`web.forget`)})]})]},r.key+`
15
+ `+r.name))}),(0,k.jsx)(ir,{children:e(`web.removeNote`)})]}):(0,k.jsx)(rr,{children:(0,k.jsx)(`p`,{children:e(`web.none`)})})]})}function Oi(){let e=M(),{t}=e,n=j(),r=A(e=>e.scan.entries),i=A(e=>e.byId),a=r.filter(e=>e.source===`mcp`);return a.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:t(`web.conH`),sub:t(`web.conSub`)}),(0,k.jsx)(ci,{children:a.map(a=>{let o=It(a);return(0,k.jsxs)(li,{variant:`web`,children:[(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsx)(`b`,{children:Xt(a,r,i,e)}),(0,k.jsx)(`small`,{children:o||t(`web.conLocal`)})]}),(0,k.jsx)(`div`,{className:L.acts,children:o&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(P,{small:!0,icon:`copy`,onClick:()=>void n.copy(o),children:t(`web.copyUrl`)}),(0,k.jsxs)(hr,{href:`https://claude.ai/customize/connectors`,className:Yn(),children:[(0,k.jsx)(N,{name:`ext`}),t(`web.openConnectors`)]})]})})]},a.key)})}),(0,k.jsx)(ir,{children:t(`web.conHow`)})]}):null}function ki(){let{t:e}=M();return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(tr,{className:fi.how,children:[(0,k.jsx)(`b`,{children:e(`web.howH`)}),(0,k.jsx)(`p`,{children:e(`web.why`)}),(0,k.jsx)(ir,{children:e(`web.mcpNote`)})]}),(0,k.jsx)(Ei,{}),(0,k.jsx)(Di,{}),(0,k.jsx)(Oi,{})]})}fi.steps;var Ai=fi.box,ji={atualizar:I.up,descontinuado:I.dead,parado:I.stale,atualizado:I.ok},Mi=[[`skills`,`skills`],[`cmds`,`commands`],[`agents`,`agents`]];function Ni({entry:e,hasItem:t}){let{t:n,tl:r,rel:i,relDay:a,fmtNum:o}=M(),s=j(),c=A(e=>e.scan),l=A(e=>e.usage?.[30]),u=A(t=>t.details[e.key]?.tokens),d=bi(e,A(t=>t.web.find(t=>t.key===e.key))),f=Wt(c,e),p=c.statuses[e.key],m=en(e,l,c.entries),h=u??e.tokens,g=[[n(`d.version`),e.version?e.version:e.commit?e.commit.slice(0,7):`—`],[n(`d.uses30`),m?String(m.uses):`—`],[n(`d.lastUse`),m?.last?a(m.last):m?n(`u.never`):`—`]];h!=null&&g.push([n(`d.tokens`),`~`+o(h)]),e.installedAt&&g.push([n(`d.installed`),i(e.installedAt)]),e.updatedAt&&g.push([n(`d.updated`),i(e.updatedAt)]);let _=e.inventory?Mi.map(([t,n])=>[t,e.inventory[n]]).filter(([,e])=>e.length):[];return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`div`,{className:D(I.status,f&&ji[f]),children:[(0,k.jsx)(`div`,{children:(0,k.jsx)(Zr,{entry:e})}),(0,k.jsxs)(`span`,{className:I.small,children:[f&&p?Xr(p,r):n(`sd.unchecked`),p?.checkedAt?` · `+n(`check.last`,i(p.checkedAt)):``]})]}),(0,k.jsxs)(ur,{children:[e.can.toggle&&(0,k.jsx)(P,{onClick:()=>void s.toggle(e.key),children:e.enabled===!1?n(`a.enable`):n(`a.disable`)}),e.can.update&&(0,k.jsx)(P,{variant:f===`atualizar`?`pri`:void 0,icon:`up`,onClick:()=>void s.update([e.key]),children:n(`a.update`)}),e.path&&(0,k.jsx)(P,{icon:`folder`,onClick:()=>s.open({path:e.path||``}),children:n(`a.folder`)}),e.can.remove&&(0,k.jsx)(P,{variant:`danger`,icon:`trash`,onClick:()=>s.askRemove(e.key),children:n(`a.remove`)})]}),(0,k.jsx)(ai,{entryKey:e.key}),(0,k.jsx)(or,{items:g}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:n(`d.where`)}),(0,k.jsx)(ar,{children:e.path||rn(e,n)})]}),_.length>0&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:n(`d.inside`)}),_.map(([e,t])=>(0,k.jsxs)(`p`,{className:I.inv,children:[(0,k.jsxs)(`b`,{children:[r(`d.`+e),`:`]}),` `,(0,k.jsxs)(`span`,{style:{color:`var(--muted)`},children:[t.slice(0,18).join(`, `),t.length>18?`…`:``]})]},e))]}),!t&&e.description&&(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`h3`,{children:n(`d.about`)}),(0,k.jsx)(`p`,{style:{color:`var(--muted)`},children:e.description})]}),O(e)>0&&(0,k.jsxs)(`div`,{className:Ai,children:[(0,k.jsx)(`h3`,{children:n(`web.drawerH`)}),(0,k.jsx)(`p`,{className:I.small,style:{fontSize:13},children:n(`web.drawerTxt`)}),d.lastSent&&(0,k.jsx)(ir,{icon:`check`,children:n(`web.sentAt`,a(d.lastSent))}),d.changed&&(0,k.jsx)(ir,{icon:`alert`,children:n(`web.changedTip`)}),d.pending>0&&(0,k.jsx)(ur,{children:(0,k.jsx)(P,{variant:`pri`,icon:d.changed?`refresh`:`up`,onClick:()=>void s.webSendMany([e.key]),children:d.changed?n(`web.sendAgain`):n(`web.send`)})})]})]})}function Pi(){let e=M(),{t,tx:n,lab:r,fmtNum:i}=e,a=j(),o=A(e=>e.drawer),s=A(e=>e.scan.entries),c=A(e=>e.byId),l=A(e=>e.catalog);if(!o)return null;let u=`key`in o&&s.find(e=>e.key===o.key)||null,d=c[`id`in o?o.id:u?.itemId||``]||null;if(!u&&!d)return null;let f=u?Xt(u,s,c,e):n(d,`name`),p=u?u.kind:d.kind,m=!!d&&Kt(s).has(d.id),h=!u&&d&&s.find(e=>e.itemId===d.id)?.key||null;return(0,k.jsxs)($n,{title:f,closeLabel:t(`a.close`),onClose:a.closeDrawer,tags:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Vn,{kind:p,label:p===`folder`?t(`k.folder`):r(`tipos`,p)}),d?.official?(0,k.jsx)(Bn,{tone:`official`,children:t(`official`)}):null,tt(d,l.pacotes)?(0,k.jsx)(Bn,{tone:`risk`,children:t(`adv.tag`)}):null,u?.enabled===!1&&(0,k.jsx)(Bn,{tone:`off`,children:t(`off`)}),d&&(0,k.jsx)(Hn,{count:d.gh?.estrelas||0,text:i(d.gh?.estrelas)})]}),children:[u&&(0,k.jsx)(Ni,{entry:u,hasItem:!!d}),d&&(0,k.jsx)(qr,{item:d,installed:m,manageKey:h})]},`key`in o?o.key:o.id)}var Fi={chips:`_chips_pdrf6_1`,chip:`_chip_pdrf6_1`,static:`_static_pdrf6_5`,n:`_n_pdrf6_6`};function Ii({children:e}){return(0,k.jsx)(`div`,{className:Fi.chips,children:e})}function Li({pressed:e,onClick:t,count:n,disabled:r,children:i}){return(0,k.jsxs)(`button`,{type:`button`,className:Fi.chip,"aria-pressed":e,disabled:r&&!e,onClick:t,children:[i,n!==void 0&&(0,k.jsx)(`span`,{className:Fi.n,children:n})]})}function Ri({title:e,children:t}){return(0,k.jsx)(`span`,{className:D(Fi.chip,Fi.static),title:e,children:t})}var R={job:`_job_w0wlf_1`,head:`_head_w0wlf_3`,when:`_when_w0wlf_5`,act:`_act_w0wlf_6`,prog:`_prog_w0wlf_7`,body:`_body_w0wlf_9`,steps:`_steps_w0wlf_10`,st:`_st_w0wlf_10`,ok:`_ok_w0wlf_13`,error:`_error_w0wlf_14`,running:`_running_w0wlf_15`,manualStep:`_manualStep_w0wlf_16`,queued:`_queued_w0wlf_19`,skipped:`_skipped_w0wlf_19`,canceled:`_canceled_w0wlf_19`,hdr:`_hdr_w0wlf_20`,manual:`_manual_w0wlf_16`,cmd:`_cmd_w0wlf_23`,log:`_log_w0wlf_25`,approval:`_approval_w0wlf_26`,toggle:`_toggle_w0wlf_28`},zi={ok:`check`,error:`x`,running:`clock`,manual:`hand`,queued:`clock`,skipped:`clock`,canceled:`x`},Bi={ok:R.ok,error:R.error,running:R.running,manual:R.manualStep,queued:R.queued,skipped:R.skipped,canceled:R.canceled};function Vi(){let{t:e}=M();return t=>t.k===`exec`?[t.file,...t.args||[]].join(` `):t.k===`shell`||t.k===`copy`?t.cmd||``:t.k===`open`?t.url||``:t.k===`mkdir`?e(`step.mkdir`,t.path):t.k===`note`?t.text||``:t.label||``}function Hi({steps:e}){let t=Vi();return(0,k.jsx)(`ul`,{className:R.steps,children:e.map((e,n)=>e.k===`header`?(0,k.jsx)(`li`,{className:R.hdr,children:e.label},n):(0,k.jsxs)(`li`,{className:D(e.state&&Bi[e.state]),children:[(0,k.jsx)(`span`,{className:R.st,children:e.state===`running`?(0,k.jsx)(Gn,{size:`sm`}):(0,k.jsx)(N,{name:zi[e.state||`queued`]})}),(0,k.jsxs)(`span`,{children:[e.label?e.label+` `:``,e.k===`exec`||e.k===`shell`?(0,k.jsx)(`code`,{children:t(e)}):e.label?``:t(e)]})]},n))})}var Ui={items:`_items_1eyzw_1`,ok:`_ok_1eyzw_4`,no:`_no_1eyzw_5`,slow:`_slow_1eyzw_6`,info:`_info_1eyzw_7`,pre:`_pre_1eyzw_8`,warns:`_warns_1eyzw_9`,cmds:`_cmds_1eyzw_12`};function Wi({items:e}){return(0,k.jsx)(`div`,{className:Ui.items,children:e.map(e=>(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`span`,{className:Ui[e.tone],children:(0,k.jsx)(N,{name:e.icon})}),(0,k.jsx)(`b`,{children:e.name}),e.note&&(0,k.jsx)(`small`,{children:e.note})]},e.key))})}function Gi(e,t,n,r,i){let a=e=>e.map(e=>t[e]?r(t[e]):e).join(`, `);return(e.warnings||[]).map(t=>{let r=a(t.ids);switch(t.k){case`risk`:return i(`w.risk`,r);case`no`:return i(`w.no`,r);case`slow`:return i(`w.slow`,r);case`none`:return i(`w.none`,r);case`models`:return i(`w.models`,r);case`new`:return i(`w.new`,r,n.limiteEstrelas??500);case`torch`:return i(`w.torch`,e.torch===`cuda`)}})}var Ki=[`exec`,`shell`,`copy`];function qi({plan:e,from:t}){let{t:n,tx:r,lab:i,preInfo:a}=M(),o=j(),s=A(e=>e.byId),c=A(e=>e.catalog),u=Vi(),d=e.items.filter(e=>e.status!==`skip`),f=e.items.map(e=>{let t=r(s[e.id],`name`)||e.name;return e.status===`skip`?{key:e.id,icon:`x`,tone:`no`,name:t,note:e.reason||n(`plan.skip`)}:e.status===`manual`?{key:e.id,icon:`hand`,tone:`slow`,name:t,note:n(`plan.manual`)}:{key:e.id,icon:`check`,tone:`ok`,name:t,note:e.why?n(`plan.why`,r(s[e.why],`name`)):void 0}}),p=Gi(e,s,c,e=>r(e,`name`),n),[m,h]=(0,l.useState)(!1),g=d.map(e=>s[e.id]).filter(e=>!!e&&Qe(e)),_=et(e.items.map(e=>e.id),d.map(e=>e.id),c.pacotes),v=g.length+_.length>0,y=e=>e===`note`?`i `:e===`open`?`→ `:e===`copy`?`(terminal) $ `:`$ `,b=e.steps.filter(e=>e.k!==`mkdir`).map(e=>e.k===`header`?`
16
+ # `+e.label:y(e.k)+u(e)).join(`
17
+ `).trim(),x=t===`site`?n(`plan.fromSite`):t===`link`?n(`plan.fromLink`):n(`plan.sub`,e.base);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ei,{id:`plan-h`,title:n(`plan.title`,d.length),sub:x}),(0,k.jsxs)(ti,{children:[(0,k.jsx)(Wi,{items:f}),e.prereqs.length>0&&(0,k.jsxs)(`div`,{className:Ui.pre,children:[(0,k.jsx)(`h3`,{children:n(`plan.prereqs`)}),(0,k.jsx)(Ii,{children:e.prereqs.map(e=>(0,k.jsxs)(Ri,{title:a(e.id),children:[(0,k.jsx)(N,{name:e.found===!0?`check`:e.found===!1?`x`:`info`,label:n(e.found===!0?`plan.preHas`:e.found===!1?`plan.preMissing`:`plan.preUnknown`)}),i(`prerequisitos`,e.id),e.found===!1?` · `+n(`plan.willInstall`):``]},e.id))})]}),(0,k.jsx)(Dr,{items:g,packs:_,acked:m,onAck:h}),p.length>0&&(0,k.jsx)(`div`,{className:Ui.warns,children:p.map(e=>(0,k.jsxs)(`div`,{children:[(0,k.jsx)(N,{name:`alert`}),(0,k.jsx)(`span`,{children:e})]},e))}),(0,k.jsxs)(`details`,{className:Ui.cmds,children:[(0,k.jsx)(`summary`,{children:n(`plan.cmds`,e.steps.filter(e=>Ki.includes(e.k)).length)}),(0,k.jsx)(`pre`,{children:b})]})]}),(0,k.jsxs)(ni,{legal:n(`plan.legal`),children:[(0,k.jsx)(P,{onClick:o.closeModal,children:n(`a.cancel`)}),(0,k.jsx)(P,{variant:`pri`,disabled:!d.length||v&&!m,onClick:()=>void o.confirmPlan(m),children:n(`a.installN`,d.length)})]})]})}function Ji({plan:e,from:t}){let{t:n}=M(),r=j();return e?(0,k.jsx)($r,{labelledBy:`plan-h`,onClose:r.closeModal,children:(0,k.jsx)(qi,{plan:e,from:t},e.fingerprint)}):(0,k.jsx)($r,{labelledBy:`plan-h`,onClose:r.closeModal,children:(0,k.jsx)(ei,{id:`plan-h`,title:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Gn,{}),` `,n(`plan.loading`)]})})})}function Yi({files:e,folder:t,copied:n}){let{t:r,fmtSize:i}=M(),a=j(),o=A(e=>e.web),s=e=>o.find(t=>t.key===e.key)?.files.find(t=>t.name===e.name)?.state===`sent`;return(0,k.jsxs)($r,{labelledBy:`web-h`,width:560,onClose:a.closeModal,children:[(0,k.jsx)(ei,{id:`web-h`,title:r(`web.dlgH`),sub:r(`web.dlgSub`,e.length)}),(0,k.jsxs)(ti,{children:[(0,k.jsx)(pi,{many:!0}),(0,k.jsx)(mi,{path:t,copied:n,folder:!0}),(0,k.jsx)(`ul`,{className:fi.check,"aria-label":r(`web.dlgH`),children:e.map(e=>(0,k.jsxs)(`li`,{children:[(0,k.jsxs)(`span`,{children:[(0,k.jsx)(`b`,{children:gi(e.file)}),(0,k.jsx)(`small`,{children:i(e.size)})]}),s(e)?(0,k.jsxs)(`span`,{className:fi.done,children:[(0,k.jsx)(N,{name:`check`}),r(`web.sentOk`)]}):(0,k.jsx)(P,{small:!0,icon:`check`,onClick:()=>void a.webMarkSent(e.key,[e.name]),children:r(`web.markSent`)})]},e.key+`
18
+ `+e.name))})]}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{icon:`folder`,onClick:()=>a.open({path:t}),children:r(`web.showFolder`)}),(0,k.jsxs)(hr,{href:Pt,className:Yn(void 0,!1),children:[(0,k.jsx)(N,{name:`ext`}),r(`web.openAgain`)]}),(0,k.jsx)(P,{variant:`pri`,onClick:a.closeModal,children:r(`a.done`)})]})]})}function Xi({action:e,ids:t,from:n}){let r=M(),{t:i,tl:a,tx:o}=r,s=j(),c=A(e=>e.scan),l=A(e=>e.byId),u=A(e=>e.os),d=un(c.entries,t,e),f=new Set(d.map(e=>e.itemId)),p=t.filter(e=>!f.has(e)).map(e=>o(l[e],`name`)||e),m=d.map(t=>({key:t.key,icon:e===`remove`?`trash`:e===`update`?`up`:`plug`,tone:e===`remove`?`no`:e===`disable`?`slow`:`ok`,name:Xt(t,c.entries,l,r),note:e===`remove`?a(an(t,u)):void 0})),h=d.length||t.length,g=i(e===`remove`?`req.removeTitle`:e===`disable`?`req.disableTitle`:e===`enable`?`req.enableTitle`:`req.updateTitle`,h),_=i(e===`remove`?`req.removeN`:e===`disable`?`req.disableN`:e===`enable`?`req.enableN`:`req.updateN`,d.length),v=!c.scannedAt;return(0,k.jsxs)($r,{labelledBy:`bulk-h`,width:520,onClose:s.closeModal,children:[(0,k.jsx)(ei,{id:`bulk-h`,title:g,sub:i(n===`site`?`req.fromSite`:n===`link`?`req.fromLink`:`req.fromApp`)}),(0,k.jsxs)(ti,{children:[v?(0,k.jsxs)(`p`,{children:[(0,k.jsx)(Gn,{}),` `,i(`req.scanning`)]}):d.length?(0,k.jsx)(Wi,{items:m}):(0,k.jsx)(`p`,{children:i(`req.none`)}),!v&&d.length>0&&p.length>0&&(0,k.jsx)(`p`,{className:Jr.muted,children:i(`req.notHere`,p.join(`, `))}),e===`disable`&&d.length>0&&(0,k.jsx)(`p`,{className:Jr.muted,children:i(`req.disableNote`)})]}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:s.closeModal,children:i(`a.cancel`)}),(0,k.jsx)(P,{variant:e===`remove`?`solidDanger`:`pri`,disabled:v||!d.length,onClick:()=>void s.confirmBulk(i(`toast.queued`)),children:_})]})]})}var z={bars:`_bars_p6ttc_1`,brow:`_brow_p6ttc_2`,lbl:`_lbl_p6ttc_3`,track:`_track_p6ttc_6`,n:`_n_p6ttc_8`,when:`_when_p6ttc_9`,arow:`_arow_p6ttc_11`,acts:`_acts_p6ttc_12`,spark:`_spark_p6ttc_13`},Zi=e=>e.split(/[\\/]/).filter(Boolean).pop()||e,Qi=(e,t)=>t?.kind===`plugin`&&e.includes(`:`)?e.slice(e.indexOf(`:`)+1):e;function $i({tt:e,keys:t}){let n=M(),{t:r,relDay:i}=n,a=j(),o=A(e=>e.agentSources),s=A(e=>e.scan.entries),c=A(e=>e.byId),u=A(e=>e.scan.scannedAt),d=t.map(([e])=>e.slice(6)).join(`
19
+ `);(0,l.useEffect)(()=>{d&&a.loadAgentSources(d.split(`
20
+ `))},[a,d,u,e.updatedAt]);let f=Math.max(1,...t.map(([,e])=>e));return(0,k.jsx)(`div`,{className:z.bars,children:t.map(([t,l])=>{let u=t.slice(6),d=o[u],p=d?.kind===`plugin`?s.find(e=>e.key===d.key):void 0,m=p?.itemId?c[p.itemId]?.repo:void 0,h=(d?.kind===`user`||d?.kind===`project`)&&d.path?d.path:null,g=Qi(u,d),_=d?d.kind===`plugin`?r(`ua.plugin`,p?Xt(p,s,c,n):u.split(`:`)[0]):d.kind===`user`?r(`ua.user`):d.kind===`project`?r(`ua.project`,Zi(d.project||``)):d.kind===`missing`?r(`ua.missing`):r(`u.agent`):r(`u.agent`);return(0,k.jsxs)(`div`,{className:D(z.brow,z.arow),children:[(0,k.jsxs)(`div`,{className:z.lbl,children:[(0,k.jsxs)(`b`,{children:[g,d?.kind===`builtin`&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(Bn,{title:r(`ua.builtinTip`),children:r(`ua.builtin`)})]})]}),(0,k.jsx)(`small`,{title:h||void 0,children:_})]}),(0,k.jsx)(`div`,{className:z.track,children:(0,k.jsx)(`i`,{style:{width:`${Math.max(3,Math.round(l/f*100))}%`}})}),(0,k.jsx)(`div`,{className:z.n,children:l}),(0,k.jsx)(`div`,{className:z.when,children:i(e.last[t])}),(0,k.jsxs)(`div`,{className:z.acts,children:[p&&(0,k.jsx)(P,{small:!0,onClick:()=>a.openEntry(p.key),children:r(`ua.seePlugin`)}),m&&(0,k.jsxs)(hr,{href:`https://github.com/`+m,className:Yn(),children:[(0,k.jsx)(N,{name:`gh`}),`GitHub`]}),h&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(P,{small:!0,icon:`folder`,"aria-label":r(`ua.showLabel`,g),onClick:()=>void a.open({reveal:h}),children:r(`ua.show`)}),(0,k.jsx)(P,{small:!0,variant:`danger`,icon:`trash`,"aria-label":r(`ua.removeLabel`,g),onClick:()=>a.askRemoveAgent(u),children:r(`a.remove`)})]})]})]},t)})})}function ea({entryKey:e}){let t=M(),{t:n,tl:r}=t,i=j(),a=A(e=>e.scan.entries),o=A(e=>e.byId),s=A(e=>e.os),c=a.find(t=>t.key===e);return c?(0,k.jsxs)($r,{labelledBy:`rm-h`,width:480,onClose:i.closeModal,children:[(0,k.jsx)(ei,{id:`rm-h`,title:n(`rm.title`,Xt(c,a,o,t)),sub:r(an(c,s))}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:i.closeModal,children:n(`a.cancel`)}),(0,k.jsx)(P,{variant:`solidDanger`,onClick:()=>void i.remove(c.key),children:n(`a.remove`)})]})]}):null}function ta({name:e}){let{t}=M(),n=j(),r=A(t=>t.agentSources[e]);return r?.path?(0,k.jsxs)($r,{labelledBy:`rma-h`,width:520,onClose:n.closeModal,children:[(0,k.jsx)(ei,{id:`rma-h`,title:t(`ua.rmTitle`,Qi(e,r)),sub:t(`ua.rmText`)}),(0,k.jsx)(ti,{children:(0,k.jsx)(ar,{children:r.path})}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:n.closeModal,children:t(`a.cancel`)}),(0,k.jsx)(P,{variant:`solidDanger`,icon:`trash`,onClick:()=>void n.removeAgent(e),children:t(`a.remove`)})]})]}):null}function na(){let{t:e}=M(),t=j();return(0,k.jsxs)($r,{labelledBy:`erase-h`,width:480,onClose:t.closeModal,children:[(0,k.jsx)(ei,{id:`erase-h`,title:e(`acc.eraseTitle`),sub:e(`acc.eraseText`)}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:t.closeModal,children:e(`a.cancel`)}),(0,k.jsx)(P,{variant:`solidDanger`,icon:`trash`,onClick:()=>void t.erase(),children:e(`acc.eraseGo`)})]})]})}function ra(){let e=A(e=>e.modal);return e?e.type===`plan`?(0,k.jsx)(Ji,{plan:e.plan,from:e.from}):e.type===`web`?(0,k.jsx)(Yi,{files:e.files,folder:e.folder,copied:e.copied}):e.type===`remove`?(0,k.jsx)(ea,{entryKey:e.key}):e.type===`rollback`?(0,k.jsx)(oi,{entryKey:e.key}):e.type===`bulk`?(0,k.jsx)(Xi,{action:e.action,ids:e.ids,from:e.from}):e.type===`removeAgent`?(0,k.jsx)(ta,{name:e.name}):(0,k.jsx)(na,{}):null}function B(){let{t:e}=M();return t=>{let n=t.version||``;return t.status===`ready`?t.failure===`queue`?e(`upd.busy`):e(`upd.ready`,n):t.status===`available`?e(`upd.available`,n):t.status===`downloading`?e(`upd.downloading`,n,t.percent):t.status===`latest`?t.failure===`bad`?e(`upd.bad`,n):e(`upd.latest`):t.status===`error`?t.failure===`check`?e(`upd.errorCheck`):e(`upd.error`):``}}function V(){let{t:e}=M(),t=j(),n=A(e=>e.update),r=A(e=>e.catalog),i=B()(n);return n.status===`ready`?(0,k.jsx)(er,{tone:`copper`,icon:`up`,action:(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:t.updateInstall,children:e(`upd.restart`)}),children:i}):n.status===`available`?(0,k.jsx)(er,{tone:`copper`,icon:`up`,action:n.manual?(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>t.open({url:ot(r)+`/#instalar`}),children:e(`upd.how`)}):(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>void t.updateDownload(),children:e(`upd.download`)}),children:i}):n.status===`downloading`?(0,k.jsx)(er,{tone:`info`,icon:`info`,children:i}):null}function ia(){let{t:e}=M(),[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=e=>n(!!e.detail);return window.addEventListener(jt,e),()=>window.removeEventListener(jt,e)},[]),t?(0,k.jsx)(`div`,{className:ui.connection,role:`status`,children:e(`conn.lost`)}):null}var H={lg:`_lg_1tyqz_2`,brand:`_brand_1tyqz_3`,"lg-drop":`_lg-drop_1tyqz_33`,left:`_left_1tyqz_8`,right:`_right_1tyqz_9`,top:`_top_1tyqz_10`,band:`_band_1tyqz_11`,"lg-slide":`_lg-slide_1tyqz_33`,band1:`_band1_1tyqz_12`,band2:`_band2_1tyqz_13`,"lg-word":`_lg-word_1tyqz_33`,cube:`_cube_1tyqz_18`,"sc-float":`_sc-float_1tyqz_33`,"sc-band":`_sc-band_1tyqz_33`,"sc-shadow":`_sc-shadow_1tyqz_33`},aa={strokeWidth:2.4,strokeLinejoin:`round`};function oa(){return(0,k.jsxs)(`svg`,{viewBox:`5 10.9 54 54`,"aria-hidden":`true`,children:[(0,k.jsx)(`g`,{className:D(H.lg,H.top),children:(0,k.jsx)(`polygon`,{points:`32,13 54,25.7 32,38.4 10,25.7`,fill:`#FFB25E`,stroke:`#FFB25E`,...aa})}),(0,k.jsx)(`g`,{className:D(H.lg,H.left),children:(0,k.jsx)(`polygon`,{points:`10,25.7 32,38.4 32,62.8 10,50.1`,fill:`#F07B1F`,stroke:`#F07B1F`,...aa})}),(0,k.jsx)(`g`,{className:D(H.lg,H.right),children:(0,k.jsx)(`polygon`,{points:`32,38.4 54,25.7 54,50.1 32,62.8`,fill:`#C7570F`,stroke:`#C7570F`,...aa})}),(0,k.jsxs)(`g`,{className:D(H.lg,H.band,H.band1),children:[(0,k.jsx)(`polygon`,{points:`10,31.9 32,44.6 32,48.8 10,36.1`,fill:`#FFF4E8`}),(0,k.jsx)(`polygon`,{points:`32,44.6 54,31.9 54,36.1 32,48.8`,fill:`#F1D4BB`})]}),(0,k.jsxs)(`g`,{className:D(H.lg,H.band,H.band2),children:[(0,k.jsx)(`polygon`,{points:`10,39.3 32,52 32,56.2 10,43.5`,fill:`#FFF4E8`}),(0,k.jsx)(`polygon`,{points:`32,52 54,39.3 54,43.5 32,56.2`,fill:`#F1D4BB`})]})]})}function sa(){return(0,k.jsxs)(`div`,{className:H.brand,children:[(0,k.jsx)(oa,{}),(0,k.jsxs)(`b`,{children:[`Specialist`,(0,k.jsx)(`span`,{children:`Agent`})]})]})}function ca(){let[e]=(0,l.useState)(()=>`-${(performance.now()%3e3/1e3).toFixed(3)}s`);return(0,k.jsx)(`div`,{className:H.cube,style:{"--ph":e},"data-pulse":``,"aria-hidden":`true`,children:(0,k.jsx)(oa,{})})}var la=null,ua=new Set,da=()=>ua.forEach(e=>e()),fa=()=>matchMedia(`(display-mode: standalone)`).matches||matchMedia(`(display-mode: window-controls-overlay)`).matches;function pa(){window.addEventListener(`beforeinstallprompt`,e=>{e.preventDefault(),la=e,da()}),window.addEventListener(`appinstalled`,()=>{la=null,da()})}var ma=()=>!!la&&!fa();function ha(e){return ua.add(e),()=>{ua.delete(e)}}async function ga(){if(!la)return!1;let e=la;await e.prompt();let{outcome:t}=await e.userChoice;return la=null,da(),t===`accepted`}function _a(){let e=location.hostname===`127.0.0.1`||location.hostname===`localhost`;`serviceWorker`in navigator&&e&&navigator.serviceWorker.register(`/sw.js`,{scope:`/`}).catch(()=>void 0)}var va={side:`_side_ar6f5_1`,nav:`_nav_ar6f5_2`,badge:`_badge_ar6f5_7`,hot:`_hot_ar6f5_8`,foot:`_foot_ar6f5_9`,links:`_links_ar6f5_10`,link:`_link_ar6f5_10`,label:`_label_ar6f5_17`,install:`_install_ar6f5_20`};function ya(){let{t:e}=M(),[t,n]=(0,l.useState)(ma);return(0,l.useEffect)(()=>ha(()=>n(ma())),[]),t?(0,k.jsxs)(`button`,{type:`button`,className:va.install,onClick:()=>void ga(),title:e(`pwa.installSub`),children:[(0,k.jsx)(N,{name:`box`}),e(`pwa.install`)]}):null}function ba(){let{t:e}=M(),t=A(e=>e.feed),n=ot(A(e=>e.catalog));return(0,k.jsxs)(`div`,{className:va.foot,children:[(0,k.jsx)(ya,{}),(0,k.jsxs)(`div`,{className:va.links,children:[(0,k.jsxs)(hr,{href:n+`/support`,className:va.link,children:[(0,k.jsx)(N,{name:`heart`}),e(`side.support`)]}),t.cursos&&(0,k.jsxs)(hr,{href:n+`/#cursos`,className:va.link,children:[(0,k.jsx)(N,{name:`play`}),e(`side.courses`)]}),(0,k.jsxs)(hr,{href:n,className:va.link,children:[(0,k.jsx)(N,{name:`globe`}),e(`side.site`)]})]})]})}var xa=[[`installed`,`box`],[`web`,`globe`],[`discover`,`compass`],[`packs`,`layers`],[`usage`,`chart`],[`activity`,`queue`],[`pc`,`cpu`],[`settings`,`gear`]];function Sa({view:e}){let{t}=M(),n=A(e=>e.scan),r=A(e=>e.jobs);if(e===`installed`){let e=Yt(n);return e.up?(0,k.jsx)(`span`,{className:D(va.badge,va.hot),title:t(`s.atualizar`),children:e.up}):(0,k.jsx)(`span`,{className:va.badge,children:e.all})}let i=e===`activity`?Jt(r):0;return i?(0,k.jsxs)(`span`,{className:D(va.badge,va.hot),children:[(0,k.jsx)(Gn,{size:`xs`}),`\xA0`,i]}):null}function Ca(){let{t:e,tl:t}=M(),n=A(e=>e.view),{nav:r}=j();return(0,k.jsxs)(`aside`,{className:va.side,children:[(0,k.jsx)(sa,{}),(0,k.jsx)(`nav`,{className:va.nav,"aria-label":e(`nav.label`),children:xa.map(([e,i])=>(0,k.jsxs)(`button`,{type:`button`,"aria-current":n===e?`page`:void 0,onClick:()=>r(e),children:[(0,k.jsx)(N,{name:i}),(0,k.jsx)(`span`,{className:va.label,children:t(`nav.`+e)}),(0,k.jsx)(Sa,{view:e})]},e))}),(0,k.jsx)(ba,{})]})}function wa(e=3e4){let[t,n]=(0,l.useState)(()=>Date.now());return(0,l.useEffect)(()=>{let t=setInterval(()=>n(Date.now()),e);return()=>clearInterval(t)},[e]),t}function Ta({lines:e}){let t=(0,l.useRef)(null),n=(0,l.useRef)(!0);return(0,l.useLayoutEffect)(()=>{let e=t.current;e&&n.current&&(e.scrollTop=e.scrollHeight)},[e]),(0,k.jsx)(`pre`,{ref:t,className:R.log,tabIndex:0,onScroll:e=>{let t=e.currentTarget;n.current=t.scrollHeight-t.scrollTop-t.clientHeight<30},children:e.join(`
21
+ `)})}function Ea({job:e}){let{t,tx:n}=M(),r=j(),i=A(e=>e.byId),a=e.steps.filter(e=>(e.k===`copy`||e.k===`open`||e.k===`note`)&&e.state===`manual`);if(!a.length)return null;let o=e.kind===`install`?Object.entries(e.results||{}).filter(([e,t])=>t===`manual`&&i[e]):[];return(0,k.jsx)(`div`,{className:R.body,children:(0,k.jsxs)(`div`,{className:R.manual,children:[(0,k.jsx)(`b`,{children:t(`j.yourTurn`)}),a.map((e,n)=>e.k===`copy`?(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`div`,{children:t(`j.terminal`)}),(0,k.jsxs)(`div`,{className:R.cmd,children:[(0,k.jsx)(`code`,{children:e.cmd}),(0,k.jsx)(P,{small:!0,icon:`copy`,onClick:()=>void r.copy(e.cmd||``),children:t(`a.copy`)})]})]},n):e.k===`open`?(0,k.jsxs)(`div`,{className:R.cmd,children:[(0,k.jsx)(`code`,{children:e.url}),(0,k.jsxs)(hr,{href:e.url||``,className:Yn(),children:[(0,k.jsx)(N,{name:`ext`}),t(`a.openPage`)]})]},n):(0,k.jsx)(`div`,{children:e.text},n)),o.map(([e])=>(0,k.jsx)(`div`,{children:(0,k.jsx)(P,{small:!0,icon:`check`,onClick:()=>void r.mark(e),children:t(`j.markDone`,n(i[e],`name`))})},e))]})})}var Da={queued:``,running:`run`,waiting:`up`,done:`ok`,manual:`stale`,error:`dead`,canceled:`off`},Oa=[`done`,`manual`,`error`,`canceled`],ka=[`ok`,`error`,`manual`,`skipped`,`canceled`];function Aa({job:e,open:t,now:n}){let{tl:r,t:i,rel:a}=M(),o=j(),s=e.steps.filter(e=>e.k!==`header`),c=s.filter(e=>ka.includes(e.state||``)).length,l=Oa.includes(e.state)?100:s.length?Math.round(c/s.length*100):0,u=()=>o.setJobOpen(e.id,!t);return(0,k.jsxs)(`div`,{className:R.job,children:[(0,k.jsxs)(`div`,{className:R.head,role:`button`,tabIndex:0,"aria-expanded":t,onClick:u,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&e.target===e.currentTarget&&(e.preventDefault(),u())},children:[(0,k.jsx)(Rn,{tone:Da[e.state],spinning:e.state===`running`,children:r(`j.`+e.state)}),(0,k.jsx)(`b`,{children:e.title}),(0,k.jsx)(`span`,{className:R.when,children:a(e.startedAt||e.createdAt,n)}),(0,k.jsxs)(`span`,{className:R.act,children:[Ut(e)&&(0,k.jsx)(P,{small:!0,onClick:t=>(t.stopPropagation(),o.cancel(e.id)),children:i(`a.cancel`)}),(0,k.jsx)(`span`,{className:R.toggle,"aria-hidden":`true`,children:(0,k.jsx)(N,{name:t?`x`:`dots`})})]})]}),(0,k.jsx)(`div`,{className:R.prog,children:(0,k.jsx)(`i`,{style:{width:`${l}%`}})}),e.approval&&(0,k.jsxs)(`div`,{className:R.approval,children:[(0,k.jsx)(`b`,{children:e.approval.text||i(`j.approval`)}),(0,k.jsx)(`div`,{className:R.cmd,children:(0,k.jsx)(`code`,{children:e.approval.command})}),(0,k.jsxs)(ur,{children:[(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>o.answer(e.id,e.approval?.sha256||null),children:i(`j.accept`)}),(0,k.jsx)(P,{small:!0,onClick:()=>o.answer(e.id,null),children:i(`j.reject`)})]})]}),(0,k.jsx)(Ea,{job:e}),e.kind===`update`&&e.steps.filter(e=>e.k===`header`&&e.key).slice(0,5).map(t=>(0,k.jsx)(ii,{entryKey:t.key,name:e.targets.length>1?t.label:void 0},t.key)),t&&(0,k.jsxs)(`div`,{className:R.body,children:[(0,k.jsx)(Hi,{steps:e.steps}),e.log.length>0&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ta,{lines:e.log}),(0,k.jsx)(`div`,{children:(0,k.jsx)(P,{variant:`ghost`,small:!0,icon:`copy`,onClick:()=>void o.copy(e.log.join(`
22
+ `)),children:i(`a.copyLog`)})})]})]})]})}function ja(){let{t:e}=M(),t=j(),n=A(e=>e.jobs),r=n.some(e=>!Ut(e));return(0,k.jsx)(di,{title:e(`nav.activity`),sub:e(`act.sub`,Jt(n)),actions:r&&(0,k.jsx)(P,{variant:`ghost`,onClick:()=>void t.clearJobs(),children:e(`act.clear`)})})}function Ma(){let{t:e}=M(),t=A(e=>e.jobs),n=A(e=>e.openJobs),r=A(e=>e.closedJobs),i=wa();if(!t.length)return(0,k.jsx)(rr,{title:e(`act.empty`),children:(0,k.jsx)(`p`,{children:e(`act.emptySub`)})});let a=(e,t,i)=>n.has(e)||t===`waiting`||!r.has(e)&&(t===`running`||t===`queued`||i);return(0,k.jsx)(`div`,{children:t.map((e,t)=>(0,k.jsx)(Aa,{job:e,open:a(e.id,e.state,t===0),now:i},e.id))})}var Na=(e,t)=>t===`en`?e[1]:e[0],Pa={status:[`No meu computador`,`On my computer`],kind:[`Tipo`,`Kind`],target:[`Funciona com`,`Works with`],use:[`Para que serve`,`Use case`],env:[`Onde funciona`,`Where it runs`],cat:[`Categoria`,`Category`],os:[`Sistema`,`Operating system`],gpu:[`Placa de vídeo`,`Graphics card`],security:[`Segurança`,`Security`],media:[`Vídeo e prévia`,`Video and preview`],license:[`Licença`,`License`],language:[`Linguagem do código`,`Code language`],size:[`Tamanho para baixar`,`Download size`],network:[`Internet`,`Internet`],access:[`Conta ou chave`,`Account or key`]},Fa={status:{instalado:[`Instalado`,`Installed`],nao:[`Não instalado`,`Not installed`],atualizar:[`Com atualização`,`Update available`]},target:{"claude-code":[`Claude Code`,`Claude Code`],"claude-app":[`Claude no navegador`,`Claude in the browser`],cursor:[`Cursor`,`Cursor`],codex:[`Codex`,`Codex`],chatgpt:[`ChatGPT`,`ChatGPT`],outra:[`Sozinho ou com outra IA`,`On its own or another AI`]},use:{codigo:[`Programação`,`Coding`],web:[`Sites e design`,`Web and design`],video:[`Vídeo`,`Video`],imagem:[`Imagem`,`Image`],audio:[`Voz e música`,`Voice and music`],dados:[`Dados e documentos`,`Data and documents`],jogos:[`Jogos`,`Games`],local:[`IA no PC`,`Local AI`],seguranca:[`Segurança`,`Security`],automacao:[`Automação`,`Automation`]},os:{win:[`Windows`,`Windows`],mac:[`Mac`,`Mac`],linux:[`Linux`,`Linux`]},gpu:{nvidia:[`NVIDIA`,`NVIDIA`],amd:[`AMD`,`AMD`],intel:[`Intel`,`Intel`],apple:[`Chip Apple`,`Apple chip`],cpu:[`Roda sem placa`,`Runs without a GPU`],nenhuma:[`Não usa placa`,`No GPU needed`]},security:{ok:[`Analisado`,`Analyzed`],atencao:[`Atenção`,`Caution`],risco:[`Risco`,`Risk`]},media:{video:[`Tem vídeo`,`Has a video`],"video-pt":[`Vídeo em português`,`Video in Portuguese`],"video-en":[`Vídeo em inglês`,`Video in English`],previa:[`Tem prévia`,`Has a preview`]},license:{NOASSERTION:[`Outra licença`,`Other license`]},size:{upto10:[`Até 10 MB`,`Up to 10 MB`],upto100:[`10 a 100 MB`,`10 to 100 MB`],upto1g:[`100 MB a 1 GB`,`100 MB to 1 GB`],over1g:[`Mais de 1 GB`,`Over 1 GB`]},network:{online:[`Precisa de internet`,`Needs internet`],offline:[`Funciona sem internet`,`Works offline`]},access:{livre:[`Sem conta`,`No account`],claude:[`Só a conta do Claude`,`Only a Claude account`],conta:[`Pede outra conta`,`Needs another account`],chave:[`Pede chave de API`,`Needs an API key`],pago:[`Pede programa pago`,`Needs paid software`]}},Ia={relevance:[`Relevância`,`Relevance`],stars:[`Mais estrelas`,`Most stars`],updated:[`Atualizados há pouco`,`Recently updated`],size:[`Menores primeiro`,`Smallest first`],name:[`Nome (A a Z)`,`Name (A to Z)`],contrib:[`Mais contribuidores`,`Most contributors`],newest:[`Mais novos`,`Newest`]},La={filters:[`Filtros`,`Filters`],clear:[`Limpar tudo`,`Clear all`],copy:[`Copiar link do filtro`,`Copy filter link`],copied:[`Link do filtro copiado`,`Filter link copied`],order:[`Ordenar por`,`Sort by`],fits:[`Roda no meu PC`,`Runs on my PC`],fitsHint:[`Memória, placa de vídeo e espaço em disco`,`Memory, graphics card and disk space`],funding:[`Aceita apoio`,`Accepts donations`],newProjects:[`Mostrar projetos novos`,`Show new projects`],stars:[`Estrelas`,`Stars`],from:[`De`,`From`],upTo:[`Até`,`Up to`],any:[`Qualquer`,`Any`],contrib:[`Contribuidores`,`Contributors`],days:[`Atualizado`,`Updated`],anyTime:[`Qualquer data`,`Any time`],more:[`Mais filtros`,`More filters`],none:[`Nada com esses filtros.`,`Nothing matches these filters.`]},Ra=(e,t)=>Na(Pa[e],t);function za(e,t,n){if(t===`?`)return n===`en`?`Not stated`:`Não informado`;let r=Fa[e]?.[t];return r?Na(r,n):t}var Ba=(e,t)=>Na(Ia[e],t),Va=(e,t)=>Na(La[e],t);function Ha(e,t){return e?e===365?t===`en`?`Last year`:`Último ano`:t===`en`?`Last ${e} days`:`Últimos ${e} dias`:Va(`anyTime`,t)}var Ua={search:`_search_hwmgf_1`,grow:`_grow_hwmgf_5`,sel:`_sel_hwmgf_6`,num:`_num_hwmgf_7`,sr:`_sr_hwmgf_8`,toolbar:`_toolbar_hwmgf_9`};function Wa({children:e}){return(0,k.jsx)(`div`,{className:Ua.toolbar,children:e})}function Ga({label:e,placeholder:t,value:n,onChange:r,grow:i}){return(0,k.jsxs)(`label`,{className:D(Ua.search,i&&Ua.grow),children:[(0,k.jsx)(N,{name:`search`}),(0,k.jsx)(`span`,{className:Ua.sr,children:e}),(0,k.jsx)(`input`,{type:`search`,"data-search":!0,placeholder:t,value:n,onChange:e=>r(e.target.value)})]})}function Ka({label:e,value:t,onChange:n}){return(0,k.jsx)(`input`,{type:`number`,inputMode:`decimal`,min:0,className:D(Ua.sel,Ua.num),"aria-label":e,value:t,onChange:e=>n(e.target.value)})}function qa({label:e,value:t,onChange:n,options:r}){return(0,k.jsx)(`select`,{className:Ua.sel,"aria-label":e,value:t,onChange:e=>n(e.target.value),children:r.map(e=>(0,k.jsx)(`option`,{value:e.value,children:e.label},e.value))})}var Ja={item:`_item_cw9bo_1`,text:`_text_cw9bo_4`,meta:`_meta_cw9bo_5`,foot:`_foot_cw9bo_6`};function Ya({id:e,title:t,text:n,foot:r,eyebrow:i,tags:a,meta:o,className:s}){let{openItem:c}=j();return(0,k.jsxs)(`article`,{className:D(Ja.item,s),tabIndex:0,onClick:()=>c(e),onKeyDown:t=>{t.key===`Enter`&&t.target===t.currentTarget&&c(e)},children:[i,(0,k.jsxs)(`h2`,{children:[t,a]}),o&&(0,k.jsx)(`div`,{className:Ja.meta,children:o}),(0,k.jsx)(`p`,{className:Ja.text,children:n}),(0,k.jsx)(`div`,{className:Ja.foot,children:r})]})}function Xa({item:e}){let{tl:t}=M(),n=Sr(e);return!n||n.k===`addon`?null:(0,k.jsx)(Un,{kind:n.k,label:t(`vk.`+n.k),title:n.t})}var Za={grid:`_grid_14ty4_1`,sub:`_sub_14ty4_2`,panel:`_panel_14ty4_3`,group:`_group_14ty4_4`,groupTitle:`_groupTitle_14ty4_5`,ranges:`_ranges_14ty4_6`,count:`_count_14ty4_8`};function Qa(){let{t:e}=M(),t=A(e=>e.catalog.itens.length);return(0,k.jsx)(di,{title:e(`nav.discover`),sub:e(`disc.sub`,t)})}function $a({m:e,have:t}){let{t:n,tx:r,lab:i,fmtNum:a}=M(),o=A(e=>e.catalog),{openPlan:s}=j();return(0,k.jsx)(Ya,{id:e.id,title:r(e,`name`),tags:(0,k.jsxs)(k.Fragment,{children:[e.official?(0,k.jsx)(Bn,{tone:`official`,children:n(`official`)}):null,at(e,o)&&(0,k.jsx)(Bn,{children:n(`new`)}),tt(e,o.pacotes)&&(0,k.jsx)(Bn,{tone:`risk`,children:n(`adv.tag`)})]}),meta:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Vn,{kind:e.kind,label:i(`tipos`,e.kind)}),(0,k.jsx)(Hn,{count:e.gh?.estrelas||0,text:a(e.gh?.estrelas)}),(0,k.jsx)(Wr,{item:e})]}),text:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`b`,{className:Za.sub,children:[r(e,`sub`),`.`]}),` `,r(e,`what`)]}),foot:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Xa,{item:e}),t?(0,k.jsx)(Wn,{children:n(`got`)}):(0,k.jsx)(P,{small:!0,onClick:t=>(t.stopPropagation(),void s([e.id],`app`)),children:n(`a.install`)})]})})}var eo=[`cat`,`license`,`language`],to=[`status`,`kind`,`target`,`use`,`os`,`gpu`,`env`,`security`,`media`,`size`,`network`,`access`,`cat`,`license`,`language`];function no({title:e,children:t}){return(0,k.jsxs)(`div`,{className:Za.group,role:`group`,"aria-label":e,children:[(0,k.jsx)(`span`,{className:Za.groupTitle,children:e}),t]})}function ro(e){(0,l.useEffect)(()=>{let t=Ve(e).toString();history.replaceState(history.state,``,location.pathname+location.search+vn+(t?`?${t}`:``))},[e]),(0,l.useEffect)(()=>()=>history.replaceState(history.state,``,location.pathname+location.search),[])}function io(){let{t:e,lang:t,lab:n,envShort:r,fmtNum:i}=M(),a=j(),o=A(e=>e.catalog),s=A(e=>e.scan),c=A(e=>e.hw?.freeDisk??null),u=A(e=>e.filters.discover),d=Cr(),[f,p]=(0,l.useState)(()=>Le(u)>0),m=e=>a.setFilter(`discover`,e);ro(u);let h=(0,l.useMemo)(()=>je(o),[o]),g=A(e=>e.byId),_=(0,l.useMemo)(()=>{let e=new Map(h.map(e=>[e.id,e.attrs])),n=Kt(s.entries),r=new Set(s.entries.filter(e=>e.itemId&&Wt(s,e)===`atualizar`).map(e=>e.itemId));return{now:Date.parse(o.atualizadoEm)||Date.now(),lang:t,doesNotFit:t=>{let n=g[t];return!!n&&(d(n).k===`no`||We(e.get(t),c))},status:e=>r.has(e)?`atualizar`:n.has(e)?`instalado`:null}},[h,s,o.atualizadoEm,t,g,d,c]),v=(0,l.useMemo)(()=>Ie(h,u,_),[h,u,_]),y=(0,l.useMemo)(()=>Kt(s.entries),[s.entries]),b=Le(u),x=(e,i)=>e===`kind`?n(`tipos`,i):e===`cat`?n(`categorias`,i):e===`env`?r(i):za(e,i,t),ee=e=>{let n=v.counts.f[e],r=u.f[e]||[],i=Re(e,h,o).filter(t=>r.includes(t)||n[t]||!eo.includes(e));return i.length?(0,k.jsx)(no,{title:Ra(e,t),children:(0,k.jsx)(Ii,{children:i.map(t=>(0,k.jsx)(Li,{pressed:r.includes(t),count:n[t]||0,disabled:!n[t]&&!r.includes(t),onClick:()=>m(Ue(u,e,t)),children:x(e,t)},t))})},e):null},te=e=>e?i(e):Va(`any`,t);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(Wa,{children:[(0,k.jsx)(Ga,{grow:!0,label:e(`search`),placeholder:e(`search.discover`),value:u.q,onChange:e=>m({...u,q:e})}),(0,k.jsx)(qa,{label:Va(`order`,t),value:u.order,onChange:e=>m({...u,order:e}),options:le.map(e=>({value:e,label:Ba(e,t)}))}),(0,k.jsxs)(Li,{pressed:u.fits,count:v.counts.fits,onClick:()=>m({...u,fits:!u.fits}),children:[(0,k.jsx)(N,{name:`cpu`}),e(`disc.fits`)]}),u.newProjects&&(0,k.jsxs)(Li,{pressed:!0,onClick:()=>m({...u,newProjects:!1}),children:[Va(`newProjects`,t),(0,k.jsx)(N,{name:`x`})]}),(0,k.jsxs)(P,{small:!0,"aria-expanded":f,onClick:()=>p(!f),children:[Va(`filters`,t),b?` (${b})`:``]}),(b>0||u.q)&&(0,k.jsx)(P,{small:!0,variant:`ghost`,onClick:()=>m({...E(),order:u.order}),children:Va(`clear`,t)})]}),f&&(0,k.jsxs)(`div`,{className:Za.panel,children:[to.map(ee),(0,k.jsx)(no,{title:Va(`stars`,t),children:(0,k.jsxs)(`div`,{className:Za.ranges,children:[(0,k.jsx)(qa,{label:`${Va(`stars`,t)}: ${Va(`from`,t)}`,value:String(u.minStars),onChange:e=>m({...u,minStars:Number(e)}),options:de.map(e=>({value:String(e),label:`${Va(`from`,t)} ${te(e)} (${v.counts.stars[e]??0})`}))}),(0,k.jsx)(qa,{label:`${Va(`stars`,t)}: ${Va(`upTo`,t)}`,value:String(u.maxStars),onChange:e=>m({...u,maxStars:Number(e)}),options:[0,...de.slice(1)].map(e=>({value:String(e),label:`${Va(`upTo`,t)} ${te(e)}`}))})]})}),(0,k.jsx)(no,{title:`${Va(`contrib`,t)} · ${Va(`days`,t)}`,children:(0,k.jsxs)(`div`,{className:Za.ranges,children:[(0,k.jsx)(qa,{label:Va(`contrib`,t),value:String(u.contrib),onChange:e=>m({...u,contrib:Number(e)}),options:fe.map(e=>({value:String(e),label:e?`${e}+`:Va(`any`,t)}))}),(0,k.jsx)(qa,{label:Va(`days`,t),value:String(u.days),onChange:e=>m({...u,days:Number(e)}),options:ue.map(e=>({value:String(e),label:`${Ha(e,t)} (${v.counts.days[e]??0})`}))})]})}),(0,k.jsx)(no,{title:Va(`more`,t),children:(0,k.jsx)(Ii,{children:(0,k.jsx)(Li,{pressed:u.funding,count:v.counts.funding,onClick:()=>m({...u,funding:!u.funding}),children:Va(`funding`,t)})})})]}),(0,k.jsx)(`p`,{className:Za.count,"aria-live":`polite`,children:e(`disc.count`,v.list.length)}),(0,k.jsx)(`div`,{className:Za.grid,children:v.list.length?v.list.flatMap(e=>g[e.id]??[]).map(e=>(0,k.jsx)($a,{m:e,have:y.has(e.id)},e.id)):(0,k.jsx)(rr,{title:e(`f.none`)})})]})}function ao(){let{t:e,tx:t,lab:n}=M(),r=j(),i=A(e=>e.account),a=A(e=>e.byId),o=i.user?i.chosen.filter(e=>a[e]):[];return o.length?(0,k.jsxs)(`section`,{"aria-labelledby":`chosen-h`,children:[(0,k.jsx)(nr,{title:(0,k.jsx)(`span`,{id:`chosen-h`,children:e(`chosen.title`)}),sub:e(`chosen.sub`),action:o.length>1&&(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>void r.openPlan(o,`app`),children:e(`chosen.installAll`,o.length)})}),(0,k.jsx)(ci,{children:o.map(i=>{let o=a[i];return(0,k.jsxs)(li,{variant:`web`,onOpen:()=>r.openItem(i),children:[(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsx)(`b`,{children:t(o,`name`)}),(0,k.jsxs)(`small`,{children:[(0,k.jsx)(Vn,{kind:o.kind,label:n(`tipos`,o.kind)}),` · `,t(o,`sub`)]})]}),(0,k.jsxs)(`div`,{className:L.acts,children:[(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:e=>(e.stopPropagation(),void r.openPlan([i],`app`)),children:e(`chosen.install`)}),(0,k.jsx)(P,{variant:`ghost`,small:!0,title:e(`chosen.dismissTip`),onClick:e=>(e.stopPropagation(),void r.dismissChosen(i)),children:e(`chosen.dismiss`)})]})]},i)})})]}):null}var oo={switch:`_switch_ypkc7_1`};function so({checked:e,label:t,onChange:n,busy:r}){return(0,k.jsx)(`button`,{type:`button`,className:oo.switch,role:`switch`,"aria-checked":e,"aria-label":t,"aria-busy":r||void 0,disabled:r,onClick:e=>{e.stopPropagation(),n()}})}function co({entry:e,name:t,kindLabel:n,busy:r,lean:i}){let{t:a}=M(),o=j(),s=A(e=>e.scan),c=A(e=>e.usage?.[e.usageDays]),l=A(t=>e.itemId?t.byId[e.itemId]:void 0),u=en(e,c,s.entries),d=e=>t=>{t.stopPropagation(),e()};return(0,k.jsxs)(li,{off:e.enabled===!1,onOpen:()=>o.openEntry(e.key),children:[!i&&(0,k.jsx)(`div`,{children:e.can.toggle&&(0,k.jsx)(so,{checked:e.enabled!==!1,label:a(`toggle`,t),busy:r,onChange:()=>void o.toggle(e.key)})}),(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsxs)(`b`,{children:[t,rt(l)===`risco`&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(Bn,{tone:`risk`,title:a(`seg.tip.risco`),children:a(`seg.risco`)})]}),e.enabled===!1&&(0,k.jsxs)(k.Fragment,{children:[` `,(0,k.jsx)(Bn,{tone:`off`,children:a(`off`)})]}),r&&(0,k.jsx)(`span`,{style:{color:`var(--info)`,marginLeft:4},children:(0,k.jsx)(Gn,{size:`sm`})})]}),(0,k.jsx)(`small`,{children:rn(e,a)})]}),(0,k.jsx)(`div`,{children:(0,k.jsx)(Vn,{kind:e.kind,label:n})}),(0,k.jsx)(`div`,{className:D(L.meta,L.cver),style:{fontFamily:`var(--mono)`,fontSize:12},children:on(e)}),(0,k.jsx)(`div`,{children:(0,k.jsx)(Zr,{entry:e})}),!i&&(0,k.jsx)(`div`,{className:L.uses,children:u?u.uses?(0,k.jsx)(`b`,{children:u.uses}):`0`:`—`}),(0,k.jsxs)(`div`,{className:L.acts,children:[Wt(s,e)===`atualizar`&&e.can.update&&(0,k.jsx)(Jn,{icon:`up`,label:a(`a.update`),disabled:r,onClick:d(()=>void o.update([e.key]))}),e.path&&(0,k.jsx)(Jn,{icon:`folder`,label:a(`a.folder`),onClick:d(()=>o.open({path:e.path||``}))}),(0,k.jsx)(Jn,{icon:`dots`,label:a(`a.details`),onClick:d(()=>o.openEntry(e.key))})]})]})}var lo={sug:`_sug_1z0qa_1`,sugItem:`_sugItem_1z0qa_2`,why:`_why_1z0qa_3`,missing:`_missing_1z0qa_4`,chosen:`_chosen_1z0qa_5`,tabs:`_tabs_1z0qa_7`,tabCount:`_tabCount_1z0qa_11`,panel:`_panel_1z0qa_13`,elsewhere:`_elsewhere_1z0qa_15`},uo=[`all`,`plugin`,`mod`,`skill`,`mcp`,`app`],fo=[`switchable`,`other`],po=`inst-panel`;function mo(e,t,n){return e===`all`||e===`up`&&t===`atualizar`||e===`off`&&n.enabled===!1||e===`dead`&&t===`descontinuado`||e===`stale`&&t===`parado`}function ho(){let{t:e}=M(),t=A(e=>e.progress.check),n=t?.total?e(`check.count`,t.done,t.total):void 0;return(0,k.jsxs)(pr,{label:e(`inst.checking`),children:[(0,k.jsx)(Gn,{}),(0,k.jsxs)(`span`,{className:mr.stripText,children:[e(`inst.checking`),n&&(0,k.jsxs)(`span`,{"aria-hidden":`true`,children:[` · `,n]})]}),(0,k.jsx)(dr,{label:e(`inst.checking`),done:t?.done,total:t?.total,valueText:n,className:mr.stripBar})]})}function go(){let e=M(),{t,tl:n,lab:r,locale:i}=e,a=j(),o=A(e=>e.scan),s=A(e=>e.byId),c=A(e=>e.filters.installed),u=A(e=>e.jobs),d=A(e=>e.pending),f=(0,l.useRef)({}),p=qt(u,d),m=t=>Xt(t,o.entries,s,e),h=e=>e===`folder`?t(`k.folder`):r(`tipos`,e),g={switchable:[],other:[]};for(let e of o.entries)g[sn(e)].push(e);let _=fo.filter(e=>g[e].length),v=c.tab&&g[c.tab].length?c.tab:_[0]??`switchable`,y=_.length>1,b=g[v],x=v===`other`,ee=Yt(o,b),te=e=>e===`all`?b.length:b.filter(t=>Zt(t)===e).length,ne=c.q.trim().toLowerCase(),S=e=>!ne||[m(e),e.name,e.id,e.description||``].join(` `).toLowerCase().includes(ne),re=e=>Gt[Wt(o,e)||`desconhecido`],C=b.filter(e=>c.type===`all`||Zt(e)===c.type).filter(e=>mo(c.status,Wt(o,e),e)).filter(S).sort((e,t)=>re(t)-re(e)||m(e).localeCompare(m(t),i)),ie=v===`switchable`?`other`:`switchable`,ae=!C.length&&ne?g[ie].filter(S).length:0,oe=e=>t(e===`switchable`?`tab.switchable`:`tab.other`),se=e=>e!==v&&a.setFilter(`installed`,{tab:e,type:`all`,status:`all`}),ce=e=>{let t=fo.indexOf(v),n=e.key===`ArrowRight`?1:e.key===`ArrowLeft`?-1:0,r=e.key===`Home`?0:e.key===`End`?fo.length-1:n?(t+n+fo.length)%fo.length:-1;r<0||(e.preventDefault(),se(fo[r]),f.current[fo[r]]?.focus())},le=(e,t,n)=>(0,k.jsx)(Li,{pressed:c.status===e,count:n,onClick:()=>a.setFilter(`installed`,{status:e}),children:t},e);return(0,k.jsxs)(k.Fragment,{children:[o.checking&&(0,k.jsx)(ho,{}),y&&(0,k.jsx)(`div`,{className:lo.tabs,role:`tablist`,"aria-label":t(`tab.label`),onKeyDown:ce,children:fo.map(e=>(0,k.jsxs)(`button`,{ref:t=>{f.current[e]=t},id:`inst-tab-${e}`,type:`button`,role:`tab`,"aria-selected":e===v,"aria-controls":po,tabIndex:e===v?0:-1,onClick:()=>se(e),children:[oe(e),(0,k.jsx)(`span`,{className:lo.tabCount,children:g[e].length})]},e))}),(0,k.jsxs)(`div`,{className:lo.panel,...y?{id:po,role:`tabpanel`,"aria-labelledby":`inst-tab-${v}`}:{},children:[x&&(0,k.jsx)(ir,{children:t(`tab.otherNote`,t(`a.remove`))}),(0,k.jsxs)(Wa,{children:[(0,k.jsx)(Ga,{label:t(`search`),placeholder:t(`search.installed`),value:c.q,onChange:e=>a.setFilter(`installed`,{q:e})}),(0,k.jsxs)(Ii,{children:[le(`all`,t(`f.all`),ee.all),ee.up>0&&le(`up`,t(`f.up`),ee.up),ee.off>0&&le(`off`,t(`f.off`),ee.off),ee.dead>0&&le(`dead`,t(`f.dead`),ee.dead),ee.stale>0&&le(`stale`,t(`f.stale`),ee.stale)]})]}),(0,k.jsx)(Ii,{children:uo.filter(e=>te(e)).map(e=>(0,k.jsx)(Li,{pressed:c.type===e,count:te(e),onClick:()=>a.setFilter(`installed`,{type:e}),children:e===`all`?t(`f.allTypes`):n(`ty.`+e)},e))}),(0,k.jsxs)(ci,{lean:x,children:[(0,k.jsxs)(li,{variant:`head`,children:[!x&&(0,k.jsx)(`div`,{}),(0,k.jsx)(`div`,{children:t(`col.name`)}),(0,k.jsx)(`div`,{children:t(`col.type`)}),(0,k.jsx)(`div`,{className:L.cver,children:t(`col.version`)}),(0,k.jsx)(`div`,{children:t(`col.status`)}),!x&&(0,k.jsx)(`div`,{children:t(`col.uses`)}),(0,k.jsx)(`div`,{})]}),C.map(e=>(0,k.jsx)(co,{entry:e,name:m(e),kindLabel:h(e.kind),busy:p.has(e.key),lean:x},e.key)),!C.length&&(0,k.jsxs)(li,{variant:`static`,children:[!x&&(0,k.jsx)(`div`,{}),(0,k.jsx)(`div`,{className:L.wide,children:ae?(0,k.jsxs)(`span`,{className:lo.elsewhere,children:[(0,k.jsx)(`span`,{children:t(`f.otherTab`,ae,oe(ie))}),(0,k.jsx)(P,{small:!0,onClick:()=>se(ie),children:t(`f.otherTabBtn`,oe(ie))})]}):(0,k.jsx)(`span`,{style:{color:`var(--muted)`},children:t(`f.none`)})})]})]})]})]})}var _o=[`superpowers`,`frontend-design`,`anthropic-skills`,`claude-hud`,`ui-ux-pro-max`,`context7`];function vo(e,t,n,r){let i=[];e.pacotes.map(e=>({p:e,miss:e.mods.filter(e=>!n.has(e)&&t[e])})).filter(e=>e.miss.length&&e.miss.length<e.p.mods.length).sort((e,t)=>e.miss.length-t.miss.length).slice(0,2).forEach(e=>i.push({why:`pack`,item:t[e.miss[0]],ids:e.miss,pack:e.p}));let a={};for(let e of n)for(let n of t[e]?.cats||[])a[n]=(a[n]||0)+1;let o=e=>e.cats.reduce((e,t)=>e+(a[t]||0),0),s=new Set(i.map(e=>e.item.id));return e.itens.filter(e=>!n.has(e.id)&&!s.has(e.id)&&!e.gh?.arquivado&&r(e)&&e.cats.some(e=>a[e])).sort((e,t)=>o(t)-o(e)||(t.gh?.estrelas||0)-(e.gh?.estrelas||0)).slice(0,4-i.length).forEach(e=>i.push({why:`related`,item:e,ids:[e.id]})),i.length<3&&_o.filter(e=>{let a=t[e];return!!a&&!n.has(e)&&!i.some(t=>t.item.id===e)&&!a.gh?.arquivado&&r(a)}).slice(0,4-i.length).forEach(e=>i.push({why:`popular`,item:t[e],ids:[e]})),i}function yo(){let{t:e,tl:t,tx:n,ptx:r,fmtNum:i}=M(),{openPlan:a}=j(),o=A(e=>e.catalog),s=A(e=>e.byId),c=A(e=>e.scan.entries),u=Cr(),d=(0,l.useMemo)(()=>vo(o,s,Kt(c),e=>u(e).k!==`no`),[o,s,c,u]);return d.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:e(`sug.title`),sub:e(`sug.sub`)}),(0,k.jsx)(`div`,{className:lo.sug,children:d.map(o=>(0,k.jsx)(Ya,{id:o.item.id,className:lo.sugItem,eyebrow:(0,k.jsx)(`span`,{className:lo.why,children:t(`sug.`+o.why)}),title:o.pack?r(o.pack,`name`):n(o.item,`name`),text:o.pack?r(o.pack,`pitch`)||r(o.pack,`goal`):n(o.item,`sub`)+`. `+n(o.item,`what`),foot:(0,k.jsxs)(k.Fragment,{children:[o.pack?(0,k.jsx)(`span`,{className:lo.missing,children:e(`sug.missing`,o.ids.length)}):(0,k.jsx)(Hn,{count:o.item.gh?.estrelas||0,text:i(o.item.gh?.estrelas)}),(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:e=>(e.stopPropagation(),void a(o.ids,`app`)),children:o.pack?e(`a.complete`):e(`a.install`)})]})},o.item.id+o.why))})]}):null}function bo(){let{t:e,rel:t}=M(),n=j(),r=A(e=>e.scan),i=A(e=>e.progress.check),a=Yt(r);return(0,k.jsx)(di,{title:e(`nav.installed`),sub:e(`inst.sub`,a.all,a.up,a.off),actions:(0,k.jsxs)(k.Fragment,{children:[r.checking?(0,k.jsxs)(P,{disabled:!0,children:[(0,k.jsx)(Gn,{}),i&&i.total?e(`check.progress`,i.done,i.total):e(`s.checking`)]}):(0,k.jsx)(P,{icon:`refresh`,title:r.lastCheck?e(`check.last`,t(r.lastCheck)):``,onClick:n.check,children:e(`check.btn`)}),a.upAllowed>0&&(0,k.jsx)(P,{variant:`pri`,icon:`up`,onClick:()=>void n.updateAll(),children:e(`update.all`,a.upAllowed)})]})})}function xo(){let e=M(),{t}=e,n=j(),r=A(e=>e.scan),i=A(e=>e.byId),a=(0,l.useMemo)(()=>r.entries.filter(e=>e.itemId&&rt(i[e.itemId])===`risco`),[r.entries,i]);return(0,k.jsxs)(k.Fragment,{children:[r.claudeCli===!1&&(0,k.jsx)(er,{tone:`warn`,icon:`alert`,action:i[`claude-code`]&&(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>void n.openPlan([`claude-code`],`app`),children:t(`noClaude.btn`)}),children:t(`noClaude`)}),a.length>0&&(0,k.jsx)(er,{tone:`bad`,icon:`shield`,alert:!0,action:(0,k.jsx)(P,{small:!0,onClick:()=>n.openEntry(a[0].key),children:t(`seg.see`)}),children:t(`seg.installedRisk`,a.map(t=>Xt(t,r.entries,i,e)))})]})}function So(){let{t:e}=M(),t=j(),n=A(e=>e.scan),r=A(e=>e.usage),i=nn(n.entries,r?.[30]),a=!n.entries.length&&!n.scannedAt,o=A(e=>cn(e.scan)&&!e.checkPanelHidden);return a||o?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(xo,{}),a?(0,k.jsx)(Co,{}):(0,k.jsx)(wo,{})]}):n.entries.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(xo,{}),(0,k.jsx)(ao,{}),(0,k.jsx)(go,{}),i.length>=3&&r&&(0,k.jsx)(er,{tone:`info`,icon:`info`,action:(0,k.jsx)(P,{small:!0,onClick:()=>t.nav(`usage`),children:e(`tip.idleBtn`)}),children:e(`tip.idle`,i.length)}),(0,k.jsx)(yo,{})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(xo,{}),(0,k.jsx)(ao,{}),(0,k.jsxs)(rr,{title:e(`inst.empty`),children:[(0,k.jsx)(`p`,{children:e(`inst.emptySub`)}),(0,k.jsx)(P,{variant:`pri`,icon:`layers`,onClick:()=>t.nav(`packs`),children:e(`inst.emptyBtn`)})]}),(0,k.jsx)(yo,{})]})}function Co(){let{t:e}=M();return(0,k.jsx)(fr,{visual:(0,k.jsx)(ca,{}),title:e(`inst.scanning`),sub:e(`inst.scanningSub`),children:(0,k.jsx)(dr,{label:e(`inst.scanning`),className:mr.panelBar})})}function wo(){let{t:e}=M(),t=j(),n=A(e=>e.progress.check),r=n?.total?e(`check.count`,n.done,n.total):void 0;return(0,k.jsxs)(fr,{visual:(0,k.jsx)(ca,{}),title:e(`inst.checking`),sub:e(`inst.checkingSub`),children:[(0,k.jsx)(dr,{label:e(`inst.checking`),done:n?.done,total:n?.total,valueText:r,className:mr.panelBar}),r&&(0,k.jsx)(`span`,{className:mr.count,"aria-hidden":`true`,children:r}),(0,k.jsx)(P,{onClick:t.hideCheckPanel,children:e(`inst.showList`)})]})}var To={packs:`_packs_xfx2u_1`,pack:`_pack_xfx2u_1`,pitch:`_pitch_xfx2u_4`,goal:`_goal_xfx2u_5`,foot:`_foot_xfx2u_6`,progress:`_progress_xfx2u_8`,row:`_row_xfx2u_9`};function Eo(){let{t:e}=M(),t=A(e=>e.catalog.pacotes.length);return(0,k.jsx)(di,{title:e(`nav.packs`),sub:e(`packs.sub`,t)})}function Do({p:e,have:t}){let{t:n,tx:r,ptx:i,lab:a,lang:o}=M(),s=j(),c=A(e=>e.byId),l=e.mods.filter(e=>c[e]),u=l.filter(e=>t.has(e)),d=l.filter(e=>!t.has(e)),f=Math.round(u.length/Math.max(1,l.length)*100);return(0,k.jsxs)(`article`,{className:To.pack,children:[(0,k.jsxs)(`div`,{className:To.row,children:[(0,k.jsx)(Bn,{children:a(`temas`,e.tema)}),Qe(e)||l.some(e=>Qe(c[e]))?(0,k.jsx)(Bn,{tone:`risk`,children:n(`adv.tag`)}):null]}),(0,k.jsx)(`h2`,{children:i(e,`name`)}),e.pitch&&(0,k.jsx)(`p`,{className:To.pitch,children:i(e,`pitch`)}),(0,k.jsx)(`p`,{className:To.goal,children:i(e,`goal`)}),l.some(e=>rt(c[e])===`risco`)&&(0,k.jsx)(Un,{as:`p`,kind:`no`,label:n(`seg.packRisk`)}),(0,k.jsx)(Er,{pack:e,items:l.map(e=>c[e])}),(0,k.jsx)(_r,{items:l.map(e=>({key:e,label:r(c[e],`name`),done:t.has(e)})),onPick:s.openItem}),(0,k.jsxs)(`details`,{className:Rr.more,children:[(0,k.jsx)(`summary`,{children:n(`pv.more`)}),(0,k.jsxs)(`div`,{className:Rr.moreBody,children:[(0,k.jsx)(Vr,{preview:e.previa,summary:n(`pv.emptyPack`,l.length,l.map(e=>r(c[e],`name`)).join(`, `),i(e,`goal`))}),(0,k.jsx)(Ur,{videos:Fr(e,l.map(e=>c[e]),o)})]})]}),(0,k.jsx)(lr,{percent:f}),(0,k.jsxs)(`div`,{className:To.foot,children:[(0,k.jsx)(`span`,{className:To.progress,children:n(`pack.progress`,u.length,l.length)}),d.length?(0,k.jsx)(P,{variant:`pri`,small:!0,onClick:()=>void s.openPlan(d,`app`),children:u.length?n(`a.completeN`,d.length):n(`a.installPack`)}):(0,k.jsx)(Wn,{children:n(`pack.done`)})]})]})}function Oo(){let{t:e,lab:t}=M(),n=j(),r=A(e=>e.catalog),i=A(e=>e.scan.entries),a=A(e=>e.filters.packs.theme),o=(0,l.useMemo)(()=>Kt(i),[i]),s=r.pacotes,c=e=>s.filter(t=>t.tema===e).length,u=Object.keys(r.temas||{}).filter(c);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(Ii,{children:[(0,k.jsx)(Li,{pressed:a===`all`,count:s.length,onClick:()=>n.setFilter(`packs`,{theme:`all`}),children:e(`f.all`)}),u.map(e=>(0,k.jsx)(Li,{pressed:a===e,count:c(e),onClick:()=>n.setFilter(`packs`,{theme:e}),children:t(`temas`,e)},e))]}),(0,k.jsx)(`div`,{className:To.packs,children:s.filter(e=>a===`all`||e.tema===a).map(e=>(0,k.jsx)(Do,{p:e,have:o},e.id))})]})}var ko={set:`_set_llxn5_1`,row:`_row_llxn5_2`,text:`_text_llxn5_4`,legal:`_legal_llxn5_7`};function Ao({children:e}){return(0,k.jsx)(`div`,{className:ko.set,children:e})}function jo({title:e,sub:t,children:n}){return(0,k.jsxs)(`div`,{className:ko.row,children:[(0,k.jsxs)(`div`,{className:ko.text,children:[(0,k.jsx)(`b`,{children:e}),t&&(0,k.jsx)(`small`,{children:t})]}),n]})}function Mo({title:e,sub:t,checked:n,onChange:r}){return(0,k.jsx)(jo,{title:e,sub:t,children:(0,k.jsx)(so,{checked:n,label:e,onChange:r})})}var No=ko.legal,Po=[`nvidia`,`amd`,`intel`,`apple`,`none`];function Fo(){let{t:e}=M(),t=j(),n=A(e=>e.settings.placa),[r,i]=(0,l.useState)(n?.gpu||``),[a,o]=(0,l.useState)(n?.vram==null?``:String(n.vram)),s=Number(a.replace(`,`,`.`)),c=a.trim()===``||Number.isFinite(s)&&s>=0&&s<=1024,u=()=>{let e={};r&&(e.gpu=r),a.trim()!==``&&(e.vram=s),t.saveSettings({placa:Object.keys(e).length?e:null})},d=()=>{i(``),o(``),t.saveSettings({placa:null})};return(0,k.jsx)(Ao,{children:(0,k.jsxs)(jo,{title:e(`pc.fix`),sub:e(`pc.fixSub`),children:[(0,k.jsx)(qa,{label:e(`pc.fixGpu`),value:r,onChange:i,options:[{value:``,label:e(`pc.fixDetected`)},...Po.map(t=>({value:t,label:e(`pc.brand`,t)}))]}),(0,k.jsx)(Ka,{label:e(`pc.fixVram`),value:a,onChange:o}),(0,k.jsx)(P,{small:!0,disabled:!c,onClick:u,children:e(`pc.fixSave`)}),n&&(0,k.jsx)(P,{small:!0,onClick:d,children:e(`pc.fixReset`)})]})})}function Io({id:e,ok:t}){let{t:n,tl:r,lab:i,preInfo:a}=M(),o=j(),s=A(t=>t.preHelp.has(e)),c=A(t=>t.catalog.itens.filter(t=>(t.need||[]).includes(e)).length),l=i(`prerequisitos`,e),u=a(e),d=t===!0?`y`:t===!1?`n`:`u`,f=r(`pre.`+d);return(0,k.jsxs)(`div`,{className:D(Or.item,s&&Or.open),children:[(0,k.jsxs)(`div`,{className:Or.head,children:[(0,k.jsxs)(`span`,{className:D(Or.state,Or[d]),title:f,children:[(0,k.jsx)(N,{name:t===!0?`check`:t===!1?`x`:`info`}),(0,k.jsx)(`span`,{className:Or.sr,children:f})]}),(0,k.jsx)(`b`,{children:l}),u&&(0,k.jsx)(`button`,{type:`button`,className:Or.qm,"aria-expanded":s,"aria-controls":`pre-`+e,title:n(`pre.what`,l),"aria-label":n(`pre.what`,l),onClick:()=>o.togglePreHelp(e),children:`?`})]}),u&&s&&(0,k.jsxs)(`p`,{id:`pre-`+e,children:[u,c>0&&(0,k.jsxs)(`span`,{className:Or.users,children:[` `,n(`pre.users`,c)]})]})]})}var Lo=Or.pre,Ro={win:`Windows`,mac:`macOS`,linux:`Linux`},zo={"no-agent":`pc.noAgent`,"no-session":`pc.noSession`,error:`pc.agentError`};function Bo(){let{t:e}=M(),t=j();return(0,k.jsx)(di,{title:e(`nav.pc`),sub:e(`pc.sub`),actions:(0,k.jsx)(P,{icon:`refresh`,onClick:()=>void t.refreshHw(),children:e(`pc.refresh`)})})}function U(){let{t:e,tl:t}=M(),n=j(),r=A(e=>e.hw),i=A(e=>e.version),a=A(e=>e.catalog),o=A(e=>e.paths.base),s=A(e=>e.settings.placa),c=Cr();if(!r)return(0,k.jsx)(rr,{title:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Gn,{}),` `,e(`pc.reading`)]})});let l=r.pc,u=l?.brand?l.brand===`none`?e(`pc.noGpu`):l.name||l.brand:e(`pc.gpuUnknown`),d=l?.brand===`apple`?l.ram==null?`—`:e(`pc.shared`,Math.floor(l.ram*.65)):l?.vram==null?`—`:`${l.vram} GB`,f=a.itens.filter(e=>e.env.includes(`app`)&&(e.req?.v||e.req?.r)),p={ok:0,slow:0,no:0,none:0,addon:0};return f.forEach(e=>p[c(e).k]++),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(sr,{compact:!0,children:[(0,k.jsx)(cr,{label:e(`pc.os`),value:Ro[l?.os||``]||l?.os||`—`,sub:i?`Specialist Agent `+i:``}),(0,k.jsx)(cr,{label:e(`pc.ram`),value:l?.ram==null?`—`:l.ram+` GB`}),(0,k.jsx)(cr,{label:e(`pc.gpu`),value:u,valueStyle:{fontSize:14},sub:l&&s?.gpu?e(`pc.informed`):l?.source?e(`pc.source`,l.source):``}),(0,k.jsx)(cr,{label:e(`pc.vram`),value:d,sub:l&&s?.vram!=null?e(`pc.informed`):l?.approx?e(`pc.approx`):void 0}),(0,k.jsx)(cr,{label:e(`pc.disk`),value:r.freeDisk==null?`—`:r.freeDisk+` GB`})]}),r.error&&(0,k.jsx)(ir,{icon:`alert`,children:e(`pc.failed`,r.error.call?e(zo[r.error.call]):r.error.reason||(r.error.code==null?e(`pc.noAnswer`):e(`pc.exited`,r.error.code)))+(l?` `+e(`pc.lastRead`):``)}),l?.source===`error`&&(0,k.jsx)(ir,{icon:`alert`,children:e(`pc.error`,l.note||``)}),l?.source!==`error`&&!s&&(l?.approx||l?.note)&&(0,k.jsx)(ir,{icon:`info`,children:e(`pc.check`)}),(0,k.jsx)(Fo,{}),(0,k.jsx)(nr,{title:e(`pc.runs`),sub:e(`pc.runsSub`,f.length)}),(0,k.jsx)(sr,{children:[`ok`,`slow`,`no`,`none`].map(e=>(0,k.jsx)(cr,{label:(0,k.jsx)(Un,{kind:e,label:t(`vk.`+e)}),value:p[e]},e))}),(0,k.jsx)(`div`,{children:(0,k.jsx)(P,{icon:`compass`,onClick:n.seeFits,children:e(`pc.seeFits`)})}),p.no>0&&(0,k.jsx)(kr,{withSub:!0}),(0,k.jsx)(nr,{title:e(`pc.prereqs`),sub:e(`pc.prereqsSub`)}),(0,k.jsx)(`div`,{className:Lo,children:Object.entries(r.prereqs||{}).map(([e,t])=>(0,k.jsx)(Io,{id:e,ok:t},e))}),(0,k.jsx)(Ao,{children:(0,k.jsxs)(jo,{title:e(`set.base`),sub:e(`set.baseSub`),children:[(0,k.jsx)(ar,{children:o}),(0,k.jsx)(P,{small:!0,icon:`folder`,onClick:()=>n.open({path:o}),children:e(`a.open`)})]})})]})}var W={seg:`_seg_swrl7_1`};function Vo({label:e,value:t,options:n,onChange:r}){return(0,k.jsx)(`div`,{className:W.seg,role:`group`,"aria-label":e,children:n.map(e=>(0,k.jsx)(`button`,{type:`button`,"aria-pressed":t===e.value,onClick:()=>r(e.value),children:e.label},String(e.value)))})}var Ho={card:`_card_7uw71_1`,who:`_who_7uw71_2`,avatar:`_avatar_7uw71_3`,name:`_name_7uw71_5`,synced:`_synced_7uw71_8`,sub:`_sub_7uw71_9`,title:`_title_7uw71_10`,wait:`_wait_7uw71_11`};function Uo(){let{t:e}=M(),t=j();return A(e=>e.account.busy)===`login`?(0,k.jsxs)(`div`,{className:Ho.wait,children:[(0,k.jsx)(Gn,{}),(0,k.jsx)(`span`,{children:e(`acc.signingIn`)}),(0,k.jsx)(P,{small:!0,onClick:()=>void t.cancelLogin(),children:e(`acc.cancel`)})]}):(0,k.jsx)(ur,{children:(0,k.jsx)(P,{variant:`pri`,icon:`user`,onClick:()=>void t.login(),children:e(`acc.signIn`)})})}function Wo(){let{t:e,rel:t}=M(),n=j(),r=A(e=>e.account),i=r.user,a=r.busy;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`div`,{className:Ho.who,children:[i.picture?(0,k.jsx)(`img`,{className:Ho.avatar,src:i.picture,alt:e(`acc.photo`,i.name),referrerPolicy:`no-referrer`}):(0,k.jsx)(`span`,{className:Ho.avatar,children:(0,k.jsx)(N,{name:`user`})}),(0,k.jsxs)(`div`,{className:Ho.name,children:[(0,k.jsx)(`b`,{children:i.name}),(0,k.jsx)(`small`,{children:i.email})]}),(0,k.jsx)(`span`,{className:Ho.synced,children:r.lastSync?e(`acc.synced`,t(r.lastSync)):e(`acc.never`)})]}),(0,k.jsxs)(ur,{children:[(0,k.jsxs)(P,{small:!0,disabled:!!a,onClick:()=>void n.syncNow(),children:[a===`sync`?(0,k.jsx)(Gn,{}):null,e(a===`sync`?`acc.syncing`:`acc.syncNow`)]}),(0,k.jsx)(P,{small:!0,disabled:!!a,onClick:()=>void n.logout(),children:e(`acc.signOut`)}),(0,k.jsx)(P,{small:!0,variant:`danger`,icon:`trash`,disabled:!!a,onClick:n.askErase,children:e(`acc.erase`)})]})]})}function Go(){let{t:e,tl:t}=M(),n=A(e=>e.account);return n.configured?(0,k.jsxs)(tr,{className:Ho.card,children:[(0,k.jsxs)(`h2`,{className:Ho.title,children:[(0,k.jsx)(N,{name:`user`}),e(`acc.title`)]}),(0,k.jsx)(`p`,{className:Ho.sub,children:e(`acc.sub`)}),n.error&&(0,k.jsx)(er,{tone:`warn`,icon:`alert`,children:t(`acc.err.`+n.error)}),n.user?(0,k.jsx)(Wo,{}):(0,k.jsx)(Uo,{})]}):null}function Ko(){let e=jn(),t=j(),{t:n,fmtSize:r}=M(),[i,a]=(0,l.useState)(null),[o,s]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let t=!0;return e.trashInfo().then(e=>t&&a(e),()=>void 0),()=>{t=!1}},[e]);async function d(){s(!1),u(!0);try{let r=await e.emptyTrash();r&&(a(r),t.toast(n(r.items?`set.trashLeft`:`set.trashDone`)))}catch{t.toast(n(`err.action`))}finally{u(!1)}}let f=i?i.items?n(`set.trashSize`,r(i.bytes),i.items):n(`set.trashEmpty`):n(`set.trashSub`);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(jo,{title:n(`set.trash`),sub:f,children:(0,k.jsx)(P,{small:!0,variant:`danger`,icon:`trash`,disabled:!i?.items||c,onClick:()=>s(!0),children:n(c?`set.trashBusy`:`set.trashGo`)})}),o&&i&&(0,k.jsxs)($r,{labelledBy:`trash-h`,width:480,onClose:()=>s(!1),children:[(0,k.jsx)(ei,{id:`trash-h`,title:n(`set.trashTitle`),sub:n(`set.trashText`,r(i.bytes))}),(0,k.jsxs)(ni,{children:[(0,k.jsx)(P,{onClick:()=>s(!1),children:n(`a.cancel`)}),(0,k.jsx)(P,{variant:`solidDanger`,icon:`trash`,onClick:()=>void d(),children:n(`set.trashGo`)})]})]})]})}var qo=`specialist-agent agent uninstall`;function Jo(){let{t:e}=M();return(0,k.jsx)(di,{title:e(`nav.settings`)})}function Yo(){let{t:e}=M(),t=j(),n=A(e=>e.update);return n.status===`checking`?(0,k.jsxs)(P,{small:!0,disabled:!0,children:[(0,k.jsx)(Gn,{}),e(`upd.checking`)]}):n.status===`ready`?(0,k.jsx)(P,{small:!0,variant:`pri`,onClick:t.updateInstall,children:e(`upd.restart`)}):(0,k.jsx)(P,{small:!0,icon:`refresh`,onClick:()=>void t.updateCheck(),children:e(`upd.check`)})}function Xo({on:e,save:t}){let{t:n}=M(),[r,i]=(0,l.useState)(Rt),a=r===`denied`,o=e&&!a;return(0,k.jsx)(Mo,{title:n(`set.notify`),sub:n(a?`set.notifyBlocked`:`set.notifySub`),checked:o,onChange:()=>{let n=Rt();if(i(n),o)return t(!1);if(n!==`denied`){if(n!=="default")return e?void 0:t(!0);zt().then(n=>{i(n),n===`granted`&&!e&&t(!0)})}}})}function Zo(){let{t:e,rel:t}=M(),n=B(),r=j(),i=A(e=>e.settings),a=A(e=>e.autoLang),o=A(e=>e.paths),s=A(e=>e.version),c=A(e=>e.os),l=A(e=>e.update),u=A(e=>e.catalog),d=e=>void r.saveSettings({[e]:!i[e]}),f=(o.home||``)+(c===`win`?`\\`:`/`)+`.specialist-agent`;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Go,{}),(0,k.jsxs)(Ao,{children:[(0,k.jsx)(jo,{title:e(`set.lang`),sub:e(`set.langSub`),children:(0,k.jsx)(qa,{label:e(`set.lang`),value:i.lang,onChange:e=>void r.saveSettings({lang:e}),options:[{value:`auto`,label:`${e(`set.auto`)} (${a===`en`?`English`:`Português`})`},{value:`pt`,label:`Português`},{value:`en`,label:`English`}]})}),(0,k.jsx)(jo,{title:e(`set.theme`),sub:e(`set.themeSub`),children:(0,k.jsx)(Vo,{label:e(`set.theme`),value:i.theme,onChange:e=>void r.saveSettings({theme:e}),options:[`auto`,`light`,`dark`].map(t=>({value:t,label:e(`theme.${t}`)}))})}),(0,k.jsxs)(jo,{title:e(`set.base`),sub:e(`set.baseSub`),children:[(0,k.jsx)(ar,{children:o.base}),(0,k.jsx)(P,{small:!0,onClick:()=>void r.pickBase(),children:e(`a.change`)})]}),(0,k.jsx)(Mo,{title:e(`set.auto.check`),sub:i.lastCheck?e(`check.last`,t(i.lastCheck)):e(`set.auto.checkSub`),checked:i.autoCheck,onChange:()=>d(`autoCheck`)}),(0,k.jsx)(Xo,{on:i.notify,save:e=>void r.saveSettings({notify:e})}),!l.manual&&(0,k.jsx)(Mo,{title:e(`upd.setting`),sub:e(`upd.settingSub`),checked:i.autoUpdate,onChange:()=>d(`autoUpdate`)})]}),(0,k.jsx)(nr,{title:e(`set.about`)}),(0,k.jsxs)(Ao,{children:[(0,k.jsxs)(jo,{title:`Specialist Agent ${s}`,sub:l.manual?e(`upd.manualSub`):n(l)||e(`set.aboutSub`),children:[(0,k.jsx)(Yo,{}),(0,k.jsxs)(hr,{href:ot(u),className:Yn(),children:[(0,k.jsx)(N,{name:`globe`}),e(`side.site`)]})]}),(0,k.jsx)(jo,{title:e(`set.data`),sub:e(`set.dataSub`),children:(0,k.jsx)(P,{small:!0,icon:`folder`,onClick:()=>r.open({path:f}),children:e(`a.open`)})}),(0,k.jsx)(jo,{title:e(`set.windows`),sub:e(`set.windowsSub`),children:(0,k.jsx)(P,{small:!0,onClick:()=>void r.disconnectOthers(),children:e(`set.windowsGo`)})}),(0,k.jsx)(Ko,{}),(0,k.jsxs)(jo,{title:e(`set.remove`),sub:e(`set.removeSub`),children:[(0,k.jsx)(ar,{children:qo}),(0,k.jsx)(P,{small:!0,icon:`copy`,onClick:()=>void r.copy(qo),children:e(`a.copy`)})]})]}),(0,k.jsx)(`p`,{className:No,children:e(`legal`)})]})}function Qo({idle:e,kindLabel:t}){let n=M(),{t:r,relDay:i,fmtNum:a}=n,o=j(),s=A(e=>e.scan.entries),c=A(e=>e.byId),u=A(e=>e.details),d=e.filter(e=>e.e.source===`plugin`&&!e.e.tokens).map(e=>e.e.key).join(`
23
+ `);(0,l.useEffect)(()=>{d&&o.loadTokens(d.split(`
24
+ `))},[o,d]);let f=e=>u[e.key]?.tokens||e.tokens||0,p=e=>e.source===`plugin`&&!e.tokens&&!u[e.key],m=e.reduce((e,t)=>e+f(t.e),0),h=e.filter(e=>!f(e.e)&&!p(e.e)).length;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:r(`u.idleTitle`),sub:r(`u.idleSub`),action:e.length>1&&(0,k.jsx)(P,{small:!0,onClick:()=>void o.disableIdle(),children:r(`u.disableAll`,e.length)})}),e.length?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ci,{children:e.map(({e,u:l})=>{let u=Xt(e,s,c,n);return(0,k.jsxs)(li,{variant:`idle`,onOpen:()=>o.openEntry(e.key),children:[(0,k.jsx)(`div`,{children:(0,k.jsx)(so,{checked:!0,label:r(`toggle`,u),onChange:()=>void o.toggle(e.key)})}),(0,k.jsxs)(`div`,{className:L.nm,children:[(0,k.jsx)(`b`,{children:u}),(0,k.jsx)(`small`,{children:rn(e,r)})]}),(0,k.jsx)(`div`,{children:(0,k.jsx)(Vn,{kind:e.kind,label:t(e.kind)})}),(0,k.jsx)(`div`,{className:L.meta,children:l.last?r(`u.lastUsed`,i(l.last)):r(`u.never`)}),(0,k.jsx)(`div`,{className:L.meta,children:f(e)?`~`+a(f(e))+` tokens`:p(e)?`…`:r(`u.noTokens`)})]},e.key)})}),m>0&&(0,k.jsx)(ir,{children:h?r(`u.tokensPart`,a(m),h):r(`u.tokens`,a(m))})]}):(0,k.jsx)(rr,{children:(0,k.jsx)(`p`,{children:r(`u.allUsed`)})})]})}function $o({rows:e}){let t=Math.max(1,...e.map(e=>e.value));return(0,k.jsx)(`div`,{className:z.bars,children:e.map(e=>(0,k.jsxs)(`div`,{className:z.brow,children:[(0,k.jsxs)(`div`,{className:z.lbl,children:[(0,k.jsx)(`b`,{children:e.label}),(0,k.jsx)(`small`,{children:e.sub})]}),(0,k.jsx)(`div`,{className:z.track,children:(0,k.jsx)(`i`,{style:{width:`${Math.max(3,Math.round(e.value/t*100))}%`}})}),(0,k.jsx)(`div`,{className:z.n,children:e.value}),(0,k.jsx)(`div`,{className:z.when,children:e.when})]},e.key))})}function es({label:e,days:t,perDay:n}){let r=Math.max(1,...t.map(e=>n[e]||0));return(0,k.jsx)(`div`,{className:z.spark,role:`img`,"aria-label":e,children:t.map(e=>(0,k.jsx)(`i`,{style:{height:`${Math.round((n[e]||0)/r*100)}%`},title:`${e}: ${n[e]||0}`},e))})}function ts(){let{t:e}=M(),t=j(),n=A(e=>e.usageDays),r=A(e=>e.progress.usage);return(0,k.jsx)(di,{title:e(`nav.usage`),sub:e(`u.sub`),actions:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Vo,{label:e(`u.period`),value:n,onChange:t.setUsageDays,options:[7,30,90].map(t=>({value:t,label:e(`u.days`,t)}))}),r&&r.done<r.total?(0,k.jsxs)(P,{disabled:!0,children:[(0,k.jsx)(Gn,{}),e(`u.reading`,r.done,r.total)]}):(0,k.jsx)(P,{icon:`refresh`,onClick:t.refreshUsage,children:e(`u.refresh`)})]})})}var ns=(e,t)=>Object.entries(e.count).filter(([e])=>e.startsWith(t)).reduce((e,[,t])=>e+t,0);function rs(){let e=M(),{t,lab:n,relDay:r,fmtNum:i}=e,a=A(e=>e.usageDays),o=A(e=>e.usage?.[e.usageDays]),s=A(e=>e.scan.entries),c=A(e=>e.byId),l=A(e=>e.usageError);if(!o&&l)return(0,k.jsx)(rr,{title:t(`u.error`),children:(0,k.jsx)(`p`,{children:t(`u.errorSub`)})});if(!o)return(0,k.jsx)(rr,{title:t(`u.loading`),children:(0,k.jsx)(`p`,{children:t(`u.loadingSub`)})});if(!o.files)return(0,k.jsx)(rr,{title:t(`u.none`),children:(0,k.jsx)(`p`,{children:t(`u.noneSub`)})});let u=e=>e===`folder`?t(`k.folder`):n(`tipos`,e),d=s.filter(e=>[`plugin`,`skill`,`mcp`].includes(e.source)).map(e=>({e,u:en(e,o,s)||{uses:0,last:null}})),f=d.filter(e=>e.u.uses).sort((e,t)=>t.u.uses-e.u.uses),p=d.filter(e=>!e.u.uses&&tn(e.e)),m=Object.entries(o.count).filter(([e])=>e.startsWith(`agent:`)).sort((e,t)=>t[1]-e[1]).slice(0,8);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(sr,{children:[(0,k.jsx)(cr,{label:t(`u.skills`),value:i(ns(o,`skill:`)+ns(o,`cmd:`))}),(0,k.jsx)(cr,{label:t(`u.mcp`),value:i(ns(o,`mcp:`)+ns(o,`plugin:`))}),(0,k.jsx)(cr,{label:t(`u.agents`),value:i(ns(o,`agent:`))}),(0,k.jsx)(cr,{label:t(`u.idle`),value:p.length})]}),(0,k.jsx)(tr,{children:(0,k.jsx)(es,{label:t(`u.perDay`),days:mt(a),perDay:o.perDay||{}})}),(0,k.jsx)(nr,{title:t(`u.top`),sub:t(`u.topSub`)}),f.length?(0,k.jsx)($o,{rows:f.slice(0,12).map(t=>({key:t.e.key,label:Xt(t.e,s,c,e),sub:u(t.e.kind),value:t.u.uses,when:r(t.u.last)}))}):(0,k.jsx)(rr,{children:(0,k.jsx)(`p`,{children:t(`u.noUse`)})}),(0,k.jsx)(Qo,{idle:p,kindLabel:u}),m.length>0&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(nr,{title:t(`u.agentsTitle`),sub:t(`u.agentsSub`)}),(0,k.jsx)($i,{tt:o,keys:m})]}),(0,k.jsx)(ir,{icon:`shield`,children:t(`u.privacy`)})]})}var is={installed:{Top:bo,Body:So},web:{Top:Ci,Body:ki},discover:{Top:Qa,Body:io},packs:{Top:Eo,Body:Oo},usage:{Top:ts,Body:rs},activity:{Top:ja,Body:Ma},pc:{Top:Bo,Body:U},settings:{Top:Jo,Body:Zo}};function as(){let e=A(e=>e.view),t=(0,l.useRef)(null),{Top:n,Body:r}=is[e];return(0,l.useLayoutEffect)(()=>{t.current&&(t.current.scrollTop=0)},[e]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ia,{}),(0,k.jsxs)(`div`,{className:ui.shell,children:[(0,k.jsx)(Ca,{}),(0,k.jsxs)(`main`,{className:ui.main,children:[(0,k.jsx)(`header`,{className:ui.top,children:(0,k.jsx)(n,{})}),(0,k.jsxs)(`div`,{className:ui.view,ref:t,children:[(0,k.jsx)(V,{}),(0,k.jsx)(r,{})]})]})]})]})}function os(e,t,n){let{get:r,set:i}=e,a=new Set;function o(e){let t=r(),o=t.jobs.findIndex(t=>t.id===e.id),s=o>=0?t.jobs.map(t=>t.id===e.id?e:t):[e,...t.jobs],c=t.pending;for(let t of e.targets)c=Sn(c,t,!1);if(i({jobs:s,pending:c,openJobs:e.state===`waiting`?Sn(t.openJobs,e.id,!0):t.openJobs}),o<0&&n.jobAdded(e),(e.state===`done`||e.state===`error`||e.state===`manual`)&&o>=0&&!a.has(e.id)){a.add(e.id);let{t}=x(r().lang),i=t(e.state===`done`?`toast.done`:e.state===`manual`?`toast.manual`:`toast.error`,e.title);n.toast(i),r().settings.notify&&Vt(`Specialist Agent`,i)}}let s=[t.on(`state`,e=>{n.applyScan(e),n.refreshWeb()}),t.on(`job`,o),t.on(`jobs`,e=>i({jobs:e})),t.on(`progress`,e=>i(t=>e.kind===`usage`&&e.error?{usageError:!0,progress:{...t.progress,usage:null}}:{progress:{...t.progress,[e.kind]:e}})),t.on(`hw`,e=>i({hw:e})),t.on(`usage`,e=>i(t=>({usage:e,progress:{...t.progress,usage:null}}))),t.on(`catalog`,e=>i({catalog:e,byId:bn(e)})),t.on(`feed`,e=>i({feed:e||{}})),t.on(`request`,e=>n.receiveRequest(e,n.openPlan)),t.on(`update`,e=>i({update:e})),t.on(`account`,e=>i({account:e}))],c=()=>void t.accountFocus().catch(()=>void 0);return window.addEventListener(`focus`,c),s.push(()=>window.removeEventListener(`focus`,c)),()=>s.forEach(e=>e())}function ss(){let{t:e}=M(),t=j(),n=A(e=>e.needWindow),r=A(e=>e.needSaved);return n?(0,k.jsx)(er,{tone:`warn`,icon:`shield`,alert:!0,action:(0,k.jsx)(P,{small:!0,variant:`pri`,onClick:()=>void t.askNewWindow(),children:e(`win.open`)}),children:e(r?`win.need`:`win.needRedo`)}):null}function cs(){let e=A(e=>e.settings.theme),t=A(e=>e.lang);(0,l.useEffect)(()=>{let t=document.documentElement;e===`light`||e===`dark`?t.dataset.theme=e:delete t.dataset.theme},[e]),(0,l.useEffect)(()=>{document.documentElement.lang=t===`en`?`en`:`pt-BR`},[t])}function ls(){let e=Mn(),t=j();(0,l.useEffect)(()=>{let n=n=>{if(n.key===`Escape`){let n=e.get();n.modal?t.closeModal():n.drawer&&t.closeDrawer()}else if((n.ctrlKey||n.metaKey)&&n.key.toLowerCase()===`f`){let e=document.querySelector(`main input[data-search]`);e&&(n.preventDefault(),e.focus())}};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t])}function us({initialRequest:e,pendingRequest:t}){let n=Mn(),r=jn(),i=j();return cs(),ls(),(0,l.useEffect)(()=>os(n,r,i),[n,r,i]),(0,l.useEffect)(()=>n.subscribe(()=>{let e=n.get();e.modal||!e.nextRequest||e.needWindow||(n.set({nextRequest:null}),i.openRequest(e.nextRequest,i.openPlan,!0))}),[n,i]),(0,l.useEffect)(()=>{r.webList().then(e=>n.set({web:e||[]}),()=>void 0),e?.ids.length&&i.openRequest(e,i.openPlan),t?.ids.length&&i.receiveRequest(t,i.openPlan)},[r,n,i,e,t]),(0,l.useEffect)(()=>{let e=e=>n.set(t=>({needWindow:!0,needSaved:t.needWindow&&t.needSaved||e.detail?.stored===!0,modal:null}));return window.addEventListener(wt,e),()=>window.removeEventListener(wt,e)},[n]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ss,{}),(0,k.jsx)(as,{}),(0,k.jsx)(Pi,{}),(0,k.jsx)(ra,{}),(0,k.jsx)(Pn,{})]})}async function ds(){return Nt()}var fs={install:`instalar`,code:`codigo`,remove:`remover`,disable:`desligar`,rollback:`voltar`,from:`de`};function ps(e,t){return e.get(t)||e.get(fs[t])||null}var ms=/^[^\x00-\x1f\x7f]{1,200}$/,hs=e=>typeof e==`string`&&ms.test(e),gs=e=>e.split(`,`).map(e=>e.trim()).filter(Boolean).slice(0,200);async function _s(e){let t=new URLSearchParams(location.search),n=ps(t,`install`),r=ps(t,`code`),i=ps(t,`remove`),a=ps(t,`disable`),o=ps(t,`rollback`);if(!n&&!r&&!i&&!a&&!o)return null;if(history.replaceState(null,``,location.pathname),o)return hs(o)?{ids:[o],from:`link`,action:`rollback`}:null;if(i||a){let e=gs(i||a||``);return e.length?{ids:e,from:`site`,action:i?`remove`:`disable`}:null}let s=ps(t,`from`)===`terminal`?`app`:`site`,c=n?gs(n):await e.decode(r||``).catch(()=>null);return!n&&r&&!c?.length?{ids:[r.slice(0,80)],from:s}:c?.length?{ids:c,from:s}:null}var vs={pt:{"no-agent":[`O agente está desligado`,`Abra o Specialist Agent pelo atalho do computador (menu Iniciar, Aplicativos ou Launchpad). Ele liga o agente e abre esta janela.`,`Tentar de novo`],"no-session":[`Entre pelo atalho do Specialist Agent`,`Por segurança, esta janela só funciona quando aberta pelo atalho do computador ou pelo comando abaixo.`,`Tentar de novo`],error:[`Algo deu errado`,`Abra o Specialist Agent de novo pelo atalho do computador.`,`Tentar de novo`],terminal:`No terminal:`},en:{"no-agent":[`The agent is off`,`Open Specialist Agent from your computer shortcut (Start menu, Applications or Launchpad). It starts the agent and opens this window.`,`Try again`],"no-session":[`Open it from the Specialist Agent shortcut`,`For your safety, this window only works when opened from the computer shortcut or with the command below.`,`Try again`],error:[`Something went wrong`,`Open Specialist Agent again from your computer shortcut.`,`Try again`],terminal:`In a terminal:`}};function ys(e,t){let n=vs[(navigator.languages||[navigator.language]).some(e=>/^pt\b/i.test(e))?`pt`:`en`],[r,i,a]=n[t];document.title=`Specialist Agent`,e.replaceChildren();let o=document.createElement(`div`);o.className=`no-agent`;let s=document.createElement(`h1`);s.textContent=r;let c=document.createElement(`p`);c.textContent=i;let l=document.createElement(`p`);l.className=`no-agent-hint`,l.textContent=n.terminal+` `;let u=document.createElement(`code`);u.textContent=`specialist-agent open`,l.appendChild(u);let d=document.createElement(`button`);d.type=`button`,d.textContent=a,d.addEventListener(`click`,()=>location.reload()),o.append(s,c,l,d),e.appendChild(o)}async function bs(){let e=document.getElementById(`root`);document.documentElement.dataset.os=`web`,pa(),_a();let t,n;try{t=await ds(),await Ot(),n=await t.boot()}catch(t){ys(e,t instanceof kt?t.code:`no-agent`);return}let r=await _s(t),i=_n(xn(n));(0,u.createRoot)(e).render((0,k.jsx)(l.StrictMode,{children:(0,k.jsx)(kn,{store:i,api:t,children:(0,k.jsx)(us,{initialRequest:r,pendingRequest:n.request})})}))}bs();