1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MobileMenu-Y2H-1XPG.js","assets/Button-BwZjhK3i.js","assets/index-BFgWBips.js","assets/proxy-oYItDqoK.js","assets/x-P_tNCokn.js","assets/ProductMegaMenu-DjXTlmbH.js","assets/RegistrationModal-k1wA-7fK.js","assets/auth-TavbInMG.js","assets/check-W4byh9kV.js","assets/puzzle-CfoZXn8O.js","assets/arrow-right-DVhnQYRX.js","assets/eye-off-CJvLpffR.js","assets/eye-De3Gfm5h.js","assets/circle-D6PmNIyW.js","assets/SignInModal-TqNBkrIm.js","assets/arrow-left-DcKQw2xx.js","assets/HomePage-3J2B-Ddn.js","assets/usePageMeta-CBKo1K1A.js","assets/useIntersection-DygGy7VS.js","assets/file-text-DUWcHHEG.js","assets/info-DQNLBgd6.js","assets/panels-top-left-mwO98Lyo.js","assets/RecordingSessionMockup-COEXSyBs.js","assets/square-check-big-Bbmp1M7n.js","assets/rotate-ccw-CPdULfG3.js","assets/layout-grid-BTxy7RM5.js","assets/camera-B_kXC-O2.js","assets/mockFaq-BT0-Jwp-.js","assets/paperclip-DrWsE2Qo.js","assets/chevron-right-BfC-ud37.js","assets/monitor-DhJbOyz2.js","assets/sparkles-BuMEs_nH.js","assets/clock-DcalS085.js","assets/user-Bo6wJ3cn.js","assets/search-CorjEp0H.js","assets/SpacesPage-Ezwel35E.js","assets/users-BgHoxpbK.js","assets/list-checks-rw2MR0G_.js","assets/pencil-CL-39IiC.js","assets/download-CFmVEyj2.js","assets/NextStepBanner-Bn914hge.js","assets/TemplatesPage-Db7352du.js","assets/book-open-BkDc4BMp.js","assets/refresh-cw-B2HAkht1.js","assets/RecordingPage-Cp0-FC5t.js","assets/PhoneFrame-8bqRYB4K.js","assets/star-
vendor: 5,236 bytes, lines 1-10
1BdF7YRDO.js","assets/DocsPage-CMTotYhJ.js","assets/history-DJA_UWhv.js","assets/message-square-Bb6JHEOA.js","assets/sliders-horizontal-SnmRVi-c.js","assets/TasksPage-DykddV_d.js","assets/funnel-BjQ-tx-_.js","assets/tag-CpELBlnt.js","assets/PricingPage-DEH_0x2R.js","assets/BlogPage-Cw4ZvjHy.js","assets/mockBlogPosts-CDOGh622.js","assets/BlogPostPage-WQF-X0S4.js","assets/PrivacyPage-RUXr7UbU.js","assets/LegalPageLayout-BrNvpjho.js","assets/TermsPage-pTkgNifH.js","assets/OfferPage-D5wqEF1C.js","assets/RefundPage-BnH7tWqa.js","assets/ExtensionPage-BOGifkX0.js","assets/DownloadPage-QpZ-6uwu.js","assets/NotFoundPage-C-m7MZx8.js"])))=>i.map(i=>d[i]); 2function Pm(o,r){for(var a=0;a<r.length;a++){const s=r[a];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in o)){const c=Object.getOwnPropertyDescriptor(s,l);c&&Object.defineProperty(o,l,c.get?c:{enumerable:!0,get:()=>s[l]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function a(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(l){if(l.ep)return;l.ep=!0;const c=a(l);fetch(l.href,c)}})();const Lm="modulepreload",Nm=function(o){return"/"+o},Fd={},et=function(r,a,s){let l=Promise.resolve();if(a&&a.length>0){let f=function(g){return Promise.all(g.map(v=>Promise.resolve(v).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),m=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));l=f(a.map(g=>{if(g=Nm(g),g in Fd)return;Fd[g]=!0;const v=g.endsWith(".css"),h=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${h}`))return;const k=document.createElement("link");if(k.rel=v?"stylesheet":Lm,v||(k.as="script"),k.crossOrigin="",k.href=g,m&&k.setAttribute("nonce",m),document.head.appendChild(k),v)return new Promise((x,R)=>{k.addEventListener("load",x),k.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return l.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return r().catch(c)})};function Kf(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Ll={exports:{}},ca={},Nl={exports:{}},_e={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var zd;function Dm(){if(zd)return _e;zd=1;var o=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),h=Symbol.iterator;function k(E){return E===null||typeof E!="object"?null:(E=h&&E[h]||E["@@iterator"],typeof E=="function"?E:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,_={};function D(E,M,X){this.props=E,this.context=M,this.refs=_,this.updater=X||x}D.prototype.isReactComponent={},D.prototype.setState=function(E,M){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,M,"setState")},D.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function H(){}H.prototype=D.prototype;function F(E,M,X){this.props=E,this.context=M,this.refs=_,this.updater=X||x}var W=F.prototype=new H;W.constructor=F,R(W,D.prototype),W.isPureReactComponent=!0;var q=Array.isArray,ee=Object.prototype.hasOwnProperty,Se={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function te(E,M,X){var ce,ye={},le=null,Me=null;if(M!=null)for(ce in M.ref!==void 0&&(Me=M.ref),M.key!==void 0&&(le=""+M.key),M)ee.call(M,ce)&&!N.hasOwnProperty(ce)&&(ye[ce]=M[ce]);var De=arguments.length-2;if(De===1)ye.children=X;else if(1<De){for(var ze=Array(De),ot=0;ot<De;ot++)ze[ot]=arguments[ot+2];ye.children=ze}if(E&&E.defaultProps)for(ce in De=E.defaultProps,De)ye[ce]===void 0&&(ye[ce]=De[ce]);return{$$typeof:o,type:E,key:le,ref:Me,props:ye,_owner:Se.current}}function oe(E,M){return{$$typeof:o,type:E.type,key:M,ref:E.ref,props:E.props,_owner:E._owner}}
vendor: 4,665 bytes, line 10
10function de(E){return typeof E=="object"&&E!==null&&E.$$typeof===o}function Re(E){var M={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(X){return M[X]})}var fe=/\/+/g;function ae(E,M){return typeof E=="object"&&E!==null&&E.key!=null?Re(""+E.key):M.toString(36)}function ie(E,M,X,ce,ye){var le=typeof E;(le==="undefined"||le==="boolean")&&(E=null);var Me=!1;if(E===null)Me=!0;else switch(le){case"string":case"number":Me=!0;break;case"object":switch(E.$$typeof){case o:case r:Me=!0}}if(Me)return Me=E,ye=ye(Me),E=ce===""?"."+ae(Me,0):ce,q(ye)?(X="",E!=null&&(X=E.replace(fe,"$&/")+"/"),ie(ye,M,X,"",function(ot){return ot})):ye!=null&&(de(ye)&&(ye=oe(ye,X+(!ye.key||Me&&Me.key===ye.key?"":(""+ye.key).replace(fe,"$&/")+"/")+E)),M.push(ye)),1;if(Me=0,ce=ce===""?".":ce+":",q(E))for(var De=0;De<E.length;De++){le=E[De];var ze=ce+ae(le,De);Me+=ie(le,M,X,ze,ye)}else if(ze=k(E),typeof ze=="function")for(E=ze.call(E),De=0;!(le=E.next()).done;)le=le.value,ze=ce+ae(le,De++),Me+=ie(le,M,X,ze,ye);else if(le==="object")throw M=String(E),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.");return Me}function Ee(E,M,X){if(E==null)return E;var ce=[],ye=0;return ie(E,ce,"","",function(le){return M.call(X,le,ye++)}),ce}function K(E){if(E._status===-1){var M=E._result;M=M(),M.then(function(X){(E._status===0||E._status===-1)&&(E._status=1,E._result=X)},function(X){(E._status===0||E._status===-1)&&(E._status=2,E._result=X)}),E._status===-1&&(E._status=0,E._result=M)}if(E._status===1)return E._result.default;throw E._result}var ne={current:null},j={transition:null},J={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:j,ReactCurrentOwner:Se};function Y(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:Ee,forEach:function(E,M,X){Ee(E,function(){M.apply(this,arguments)},X)},count:function(E){var M=0;return Ee(E,function(){M++}),M},toArray:function(E){return Ee(E,function(M){return M})||[]},only:function(E){if(!de(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},_e.Component=D,_e.Fragment=a,_e.Profiler=l,_e.PureComponent=F,_e.StrictMode=s,_e.Suspense=m,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,_e.act=Y,_e.cloneElement=function(E,M,X){if(E==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+E+".");var ce=R({},E.props),ye=E.key,le=E.ref,Me=E._owner;if(M!=null){if(M.ref!==void 0&&(le=M.ref,Me=Se.current),M.key!==void 0&&(ye=""+M.key),E.type&&E.type.defaultProps)var De=E.type.defaultProps;for(ze in M)ee.call(M,ze)&&!N.hasOwnProperty(ze)&&(ce[ze]=M[ze]===void 0&&De!==void 0?De[ze]:M[ze])}var ze=arguments.length-2;if(ze===1)ce.children=X;else if(1<ze){De=Array(ze);for(var ot=0;ot<ze;ot++)De[ot]=arguments[ot+2];ce.children=De}return{$$typeof:o,type:E.type,key:ye,ref:le,props:ce,_owner:Me}},_e.createContext=function(E){return E={$$typeof:f,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},E.Provider={$$typeof:c,_context:E},E.Consumer=E},_e.createElement=te,_e.createFactory=function(E){var M=te.bind(null,E);return M.type=E,M},_e.createRef=function(){return{current:null}},_e.forwardRef=function(E){return{$$typeof:p,render:E}},_e.isValidElement=de,_e.lazy=function(E){return{$$typeof:v,_payload:{_status:-1,_result:E},_init:K}},_e.memo=function(E,M){return{$$typeof:g,type:E,compare:M===void 0?null:M}},_e.startTransition=function(E){var M=j.transition;j.transition={};try{E()}finally{j.transition=M}},_e.unstable_act=Y,_e.useCallback=function(E,M){return ne.current.useCallback(E,M)},_e.useContext=function(E){return ne.current.useContext(E)},_e.useDebugValue=function(){},_e.useDeferredValue=function(E){return ne.current.useDeferredValue(E)},_e.useEffect=function(E,M){return ne.current.useEffect(E,M)},_e.useId=function(){return ne.current.useId()},_e.useImperativeHandle=function(E,M,X){return ne.current.useImperativeHandle(E,M,X)},_e.useInsertionEffect=function(E,M){return ne.current.useInsertionEffect(E,M)},_e.useLayoutEffect=function(E,M){return ne.current.useLayoutEffect(E,M)},_e.useMemo=function(E,M){return ne.current.useMemo(E,M)},_e.useReducer=function(E,M,X){return ne.current.useReducer(E,M,X)},_e.useRef=function(E){return ne.current.useRef(E)},_e.useState=function(E){return ne.current.useState(E)},_e.useSyncExternalStore=function(E,M,X){return ne.current.useSyncExternalStore(E,M,X)},_e.useTransition=function(){return ne.current.useTransition()}
vendor: 6,908 bytes, lines 10-34
10,_e.version="18.3.1",_e}var Ud;function Hi(){return Ud||(Ud=1,Nl.exports=Dm()),Nl.exports}/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var Bd;function Am(){if(Bd)return ca;Bd=1;var o=Hi(),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(p,m,g){var v,h={},k=null,x=null;g!==void 0&&(k=""+g),m.key!==void 0&&(k=""+m.key),m.ref!==void 0&&(x=m.ref);for(v in m)s.call(m,v)&&!c.hasOwnProperty(v)&&(h[v]=m[v]);if(p&&p.defaultProps)for(v in m=p.defaultProps,m)h[v]===void 0&&(h[v]=m[v]);return{$$typeof:r,type:p,key:k,ref:x,props:h,_owner:l.current}}return ca.Fragment=a,ca.jsx=f,ca.jsxs=f,ca}var $d;function Om(){return $d||($d=1,Ll.exports=Am()),Ll.exports}var U=Om(),Li={},Dl={exports:{}},$t={},Al={exports:{}},Ol={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */var Hd;function _m(){return Hd||(Hd=1,(function(o){function r(j,J){var Y=j.length;j.push(J);e:for(;0<Y;){var E=Y-1>>>1,M=j[E];if(0<l(M,J))j[E]=J,j[Y]=M,Y=E;else break e}}function a(j){return j.length===0?null:j[0]}function s(j){if(j.length===0)return null;var J=j[0],Y=j.pop();if(Y!==J){j[0]=Y;e:for(var E=0,M=j.length,X=M>>>1;E<X;){var ce=2*(E+1)-1,ye=j[ce],le=ce+1,Me=j[le];if(0>l(ye,Y))le<M&&0>l(Me,ye)?(j[E]=Me,j[le]=Y,E=le):(j[E]=ye,j[ce]=Y,E=ce);else if(le<M&&0>l(Me,Y))j[E]=Me,j[le]=Y,E=le;else break e}}return J}function l(j,J){var Y=j.sortIndex-J.sortIndex;return Y!==0?Y:j.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;o.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();o.unstable_now=function(){return f.now()-p}}var m=[],g=[],v=1,h=null,k=3,x=!1,R=!1,_=!1,D=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(j){for(var J=a(g);J!==null;){if(J.callback===null)s(g);else if(J.startTime<=j)s(g),J.sortIndex=J.expirationTime,r(m,J);else break;J=a(g)}}function q(j){if(_=!1,W(j),!R)if(a(m)!==null)R=!0,K(ee);else{var J=a(g);J!==null&&ne(q,J.startTime-j)}}function ee(j,J){R=!1,_&&(_=!1,H(te),te=-1),x=!0;var Y=k;try{for(W(J),h=a(m);h!==null&&(!(h.expirationTime>J)||j&&!Re());){var E=h.callback;if(typeof E=="function"){h.callback=null,k=h.priorityLevel;var M=E(h.expirationTime<=J);J=o.unstable_now(),typeof M=="function"?h.callback=M:h===a(m)&&s(m),W(J)}else s(m);h=a(m)}if(h!==null)var X=!0;else{var ce=a(g);ce!==null&&ne(q,ce.startTime-J),X=!1}return X}finally{h=null,k=Y,x=!1}}var Se=!1,N=null,te=-1,oe=5,de=-1;function Re(){return!(o.unstable_now()-de<oe)}function fe(){if(N!==null){var j=o.unstable_now();de=j;var J=!0;try{J=N(!0,j)}finally{J?ae():(Se=!1,N=null)}}else Se=!1}var ae;if(typeof F=="function")ae=function(){F(fe)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,Ee=ie.port2;ie.port1.onmessage=fe,ae=function(){Ee.postMessage(null)}}else ae=function(){D(fe,0)};function K(j){N=j,Se||(Se=!0,ae())}function ne(j,J){te=D(function(){j(o.unstable_now())},J)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(j){j.callback=null},o.unstable_continueExecution=function(){R||x||(R=!0,K(ee))},o.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<j?Math.floor(1e3/j):5},o.unstable_getCurrentPriorityLevel=function(){return k},o.unstable_getFirstCallbackNode=function(){return a(m)},o.unstable_next=function(j){switch(k){case 1:case 2:case 3:var J=3;break;default:J=k}var Y=k;k=J;try{return j()}finally{k=Y}},o.unstable_pauseExecution=function(){},o.unstable_requestPaint=function(){},o.unstable_runWithPriority=function(j,J){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var Y=k;k=j;try{return J()}finally{k=Y}},o.unstable_scheduleCallback=function(j,J,Y){var E=o.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?E+Y:E):Y=E,j){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=Y+M,j={id:v++,callback:J,priorityLevel:j,startTime:Y,expirationTime:M,sortIndex:-1},Y>E?(j.sortIndex=Y,r(g,j),a(m)===null&&j===a(g)&&(_?(H(te),te=-1):_=!0,ne(q,Y-E))):(j.sortIndex=M,r(m,j),R||x||(R=!0,K(ee))),j},o.unstable_shouldYield=Re,o.unstable_wrapCallback=function(j){var J=k;return function(){var Y=k;k=J;try{return j.apply(this,arguments)}finally{k=Y}}}})(Ol)),Ol}var Wd;function Mm(){return Wd||(Wd=1,Al.exports=_m()),Al.exports}/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var Vd;function Im(){if(Vd)return $t;Vd=1;var o=Hi(),r=Mm();function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var s=new Set,l={};function c(e,t){f(e,t),f(e+"Capture",t)}function f(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,g=/^[: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]*$/,v={},h={};function k(e){return m.call(h,e)?!0:m.call(v,e)?!1:g.test(e)?h[e]=!0:(v[e]=!0,!1)}function x(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function R(e,t,n,i){if(t===null||typeof t>"u"||x(e,t,n,i))return!0;
vendor: 45,047 bytes, lines 34-39
34if(i)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function _(e,t,n,i,u,d,y){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=y}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new _(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new _(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new _(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new _(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){D[e]=new _(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new _(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new _(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new _(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new _(e,5,!1,e.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(H,F);D[t]=new _(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(H,F);D[t]=new _(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(H,F);D[t]=new _(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new _(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new _(e,1,!1,e.toLowerCase(),null,!0,!0)});function W(e,t,n,i){var u=D.hasOwnProperty(t)?D[t]:null;(u!==null?u.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(R(t,n,u,i)&&(n=null),i||u===null?k(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):u.mustUseProperty?e[u.propertyName]=n===null?u.type===3?!1:"":n:(t=u.attributeName,i=u.attributeNamespace,n===null?e.removeAttribute(t):(u=u.type,n=u===3||u===4&&n===!0?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}var q=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ee=Symbol.for("react.element"),Se=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),Re=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),j=Symbol.iterator;function J(e){return e===null||typeof e!="object"?null:(e=j&&e[j]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Object.assign,E;function M(e){if(E===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);E=t&&t[1]||""}return` 35`+E+e}var X=!1;function ce(e,t){if(!e||X)return"";X=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(I){var i=I}Reflect.construct(e,[],t)}else{try{t.call()}catch(I){i=I}e.call(t.prototype)}else{try{throw Error()}catch(I){i=I}e()}}catch(I){if(I&&i&&typeof I.stack=="string"){for(var u=I.stack.split(` 36`),d=i.stack.split(` 37`),y=u.length-1,w=d.length-1;1<=y&&0<=w&&u[y]!==d[w];)w--;for(;1<=y&&0<=w;y--,w--)if(u[y]!==d[w]){if(y!==1||w!==1)do if(y--,w--,0>w||u[y]!==d[w]){var b=` 38`+u[y].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),b}while(1<=y&&0<=w);break}}}finally{X=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function ye(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=ce(e.type,!1),e;case 11:return e=ce(e.type.render,!1),e;case 1:return e=ce(e.type,!0),e;default:return""}}function le(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case N:return"Fragment";case Se:return"Portal";case oe:return"Profiler";case te:return"StrictMode";case ae:return"Suspense";case ie:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Re:return(e.displayName||"Context")+".Consumer";case de:return(e._context.displayName||"Context")+".Provider";case fe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ee:return t=e.displayName||null,t!==null?t:le(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}function Me(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(t);case 8:return t===te?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function De(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ze(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ot(e){var t=ze(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,d=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rr(e){e._valueTracker||(e._valueTracker=ot(e))}function tt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=ze(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Wt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bn(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eo(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=De(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vt(e,t){t=t.checked,t!=null&&W(e,"checked",t,!1)}function hn(e,t){Vt(e,t);var n=De(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Et(e,t.type,n):t.hasOwnProperty("defaultValue")&&Et(e,t.type,De(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dr(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Et(e,t,n){(t!=="number"||Wt(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function Cn(e,t,n,i){if(e=e.options,t){t={};for(var u=0;u<n.length;u++)t["$"+n[u]]=!0;for(n=0;n<e.length;n++)u=t.hasOwnProperty("$"+e[n].value),e[n].selected!==u&&(e[n].selected=u),u&&i&&(e[n].defaultSelected=!0)}else{for(n=""+De(n),t=null,u=0;u<e.length;u++){if(e[u].value===n){e[u].selected=!0,i&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function pt(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(a(91));return Y({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mn(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(a(92));if(Bn(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:De(n)}}function tn(e,t){var n=De(t.value),i=De(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function Rn(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Tn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $n(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Tn(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var St,bt=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(St=St||document.createElement("div"),St.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=St.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Nt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nn=["Webkit","ms","Moz","O"];Object.keys(Pn).forEach(function(e){nn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pn[t]=Pn[e]})});function to(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pn.hasOwnProperty(e)&&Pn[e]?(""+t).trim():t+"px"}function Mt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,u=to(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,u):e[n]=u}}var Ar=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hn(e,t){if(t){if(Ar[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(a(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(a(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(t.style!=null&&typeof t.style!="object")throw Error(a(62))}}function or(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Wn=null;function Dt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ln=null,gn=null,Kt=null;function Or(e){if(e=qo(e)){if(typeof Ln!="function")throw Error(a(280));var t=e.stateNode;t&&(t=Wa(t),Ln(e.stateNode,e.type,t))}}function Pe(e){gn?Kt?Kt.push(e):Kt=[e]:gn=e}function Ge(){if(gn){var e=gn,t=Kt;if(Kt=gn=null,Or(e),t)for(e=0;e<t.length;e++)Or(t[e])}}function nt(e,t){return e(t)}function at(){}var Yt=!1;function Je(e,t,n){if(Yt)return e(t,n);Yt=!0;try{return nt(e,t,n)}finally{Yt=!1,(gn!==null||Kt!==null)&&(at(),Ge())}}function ut(e,t){var n=e.stateNode;if(n===null)return null;var i=Wa(n);if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(a(231,t,typeof n));return n}var Nn=!1;if(p)try{var S={};Object.defineProperty(S,"passive",{get:function(){Nn=!0}}),window.addEventListener("test",S,S),window.removeEventListener("test",S,S)}catch{Nn=!1}function T(e,t,n,i,u,d,y,w,b){var I=Array.prototype.slice.call(arguments,3);try{t.apply(n,I)}catch($){this.onError($)}}var O=!1,z=null,G=!1,ve=null,xe={onError:function(e){O=!0,z=e}};function se(e,t,n,i,u,d,y,w,b){O=!1,z=null,T.apply(xe,arguments)}function pe(e,t,n,i,u,d,y,w,b){if(se.apply(this,arguments),O){if(O){var I=z;O=!1,z=null}else throw Error(a(198));G||(G=!0,ve=I)}}function me(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ne(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 ke(e){if(me(e)!==e)throw Error(a(188))}function Ae(e){var t=e.alternate;if(!t){if(t=me(e),t===null)throw Error(a(188));return t!==e?null:e}for(var n=e,i=t;;){var u=n.return;if(u===null)break;var d=u.alternate;if(d===null){if(i=u.return,i!==null){n=i;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===n)return ke(u),e;if(d===i)return ke(u),t;d=d.sibling}throw Error(a(188))}if(n.return!==i.return)n=u,i=d;else{for(var y=!1,w=u.child;w;){if(w===n){y=!0,n=u,i=d;break}if(w===i){y=!0,i=u,n=d;break}w=w.sibling}if(!y){for(w=d.child;w;){if(w===n){y=!0,n=d,i=u;break}if(w===i){y=!0,i=d,n=u;break}w=w.sibling}if(!y)throw Error(a(189))}}if(n.alternate!==i)throw Error(a(190))}if(n.tag!==3)throw Error(a(188));return n.stateNode.current===n?e:t}function Ie(e){return e=Ae(e),e!==null?ct(e):null}function ct(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ct(e);if(t!==null)return t;e=e.sibling}return null}var it=r.unstable_scheduleCallback,gt=r.unstable_cancelCallback,Be=r.unstable_shouldYield,It=r.unstable_requestPaint,$e=r.unstable_now,_r=r.unstable_getCurrentPriorityLevel,rn=r.unstable_ImmediatePriority,Qt=r.unstable_UserBlockingPriority,ar=r.unstable_NormalPriority,Mr=r.unstable_LowPriority,Dn=r.unstable_IdlePriority,Vn=null,At=null;function je(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Vn,e,void 0,(e.current.flags&128)===128)}catch{}}var We=Math.clz32?Math.clz32:Qe,ir=Math.log,Kn=Math.LN2;function Qe(e){return e>>>=0,e===0?32:31-(ir(e)/Kn|0)|0}var Yn=64,Ir=4194304;function jr(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pa(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,u=e.suspendedLanes,d=e.pingedLanes,y=n&268435455;if(y!==0){var w=y&~u;w!==0?i=jr(w):(d&=y,d!==0&&(i=jr(d)))}else y=n&~u,y!==0?i=jr(y):d!==0&&(i=jr(d));if(i===0)return 0;if(t!==0&&t!==i&&(t&u)===0&&(u=i&-i,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((i&4)!==0&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)n=31-We(t),u=1<<n,i|=e[n],t&=~u;return i}function Yp(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qp(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var y=31-We(d),w=1<<y,b=u[y];b===-1?((w&n)===0||(w&i)!==0)&&(u[y]=Yp(w,t)):b<=t&&(e.expiredLanes|=w),d&=~w}}function Gi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function mu(){var e=Yn;return Yn<<=1,(Yn&4194240)===0&&(Yn=64),e}function Ji(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ao(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-We(t),e[t]=n}function qp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0<n;){var u=31-We(n),d=1<<u;t[u]=0,i[u]=-1,e[u]=-1,n&=~d}}function Xi(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-We(n),u=1<<i;u&t|e[i]&t&&(e[i]|=t),n&=~u}}var He=0;function gu(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var yu,Zi,vu,wu,Su,es=!1,La=[],sr=null,lr=null,ur=null,Oo=new Map,_o=new Map,cr=[],Gp="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 submit".split(" ");function ku(e,t){switch(e){case"focusin":case"focusout":sr=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":Oo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_o.delete(t.pointerId)}}function Mo(e,t,n,i,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:d,targetContainers:[u]},t!==null&&(t=qo(t),t!==null&&Zi(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function Jp(e,t,n,i,u){switch(t){case"focusin":return sr=Mo(sr,e,t,n,i,u),!0;case"dragenter":return lr=Mo(lr,e,t,n,i,u),!0;case"mouseover":return ur=Mo(ur,e,t,n,i,u),!0;case"pointerover":var d=u.pointerId;return Oo.set(d,Mo(Oo.get(d)||null,e,t,n,i,u)),!0;case"gotpointercapture":return d=u.pointerId,_o.set(d,Mo(_o.get(d)||null,e,t,n,i,u)),!0}return!1}function xu(e){var t=Fr(e.target);if(t!==null){var n=me(t);if(n!==null){if(t=n.tag,t===13){if(t=Ne(n),t!==null){e.blockedOn=t,Su(e.priority,function(){vu(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 Na(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ns(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Wn=i,n.target.dispatchEvent(i),Wn=null}else return t=qo(n),t!==null&&Zi(t),e.blockedOn=n,!1;t.shift()}return!0}function Eu(e,t,n){Na(e)&&n.delete(t)}function Xp(){es=!1,sr!==null&&Na(sr)&&(sr=null),lr!==null&&Na(lr)&&(lr=null),ur!==null&&Na(ur)&&(ur=null),Oo.forEach(Eu),_o.forEach(Eu)}function Io(e,t){e.blockedOn===t&&(e.blockedOn=null,es||(es=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Xp)))}function jo(e){function t(u){return Io(u,e)}if(0<La.length){Io(La[0],e);for(var n=1;n<La.length;n++){var i=La[n];i.blockedOn===e&&(i.blockedOn=null)}}for(sr!==null&&Io(sr,e),lr!==null&&Io(lr,e),ur!==null&&Io(ur,e),Oo.forEach(t),_o.forEach(t),n=0;n<cr.length;n++)i=cr[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<cr.length&&(n=cr[0],n.blockedOn===null);)xu(n),n.blockedOn===null&&cr.shift()}var no=q.ReactCurrentBatchConfig,Da=!0;function Zp(e,t,n,i){var u=He,d=no.transition;no.transition=null;try{He=1,ts(e,t,n,i)}finally{He=u,no.transition=d}}function eh(e,t,n,i){var u=He,d=no.transition;no.transition=null;try{He=4,ts(e,t,n,i)}finally{He=u,no.transition=d}}function ts(e,t,n,i){if(Da){var u=ns(e,t,n,i);if(u===null)ws(e,t,i,Aa,n),ku(e,i);else if(Jp(u,e,t,n,i))i.stopPropagation();else if(ku(e,i),t&4&&-1<Gp.indexOf(e)){for(;u!==null;){var d=qo(u);if(d!==null&&yu(d),d=ns(e,t,n,i),d===null&&ws(e,t,i,Aa,n),d===u)break;u=d}u!==null&&i.stopPropagation()}else ws(e,t,i,null,n)}}var Aa=null;function ns(e,t,n,i){if(Aa=null,e=Dt(i),e=Fr(e),e!==null)if(t=me(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ne(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 Aa=e,null}function bu(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_r()){case rn:return 1;case Qt:return 4;case ar:case Mr:return 16;case Dn:return 536870912;default:return 16}default:return 16}}var dr=null,rs=null,Oa=null;function Cu(){if(Oa)return Oa;var e,t=rs,n=t.length,i,u="value"in dr?dr.value:dr.textContent,d=u.length;for(e=0;e<n&&t[e]===u[e];e++);var y=n-e;for(i=1;i<=y&&t[n-i]===u[d-i];i++);return Oa=u.slice(e,1<i?1-i:void 0)}function _a(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 Ma(){return!0}function Ru(){return!1}function qt(e){function t(n,i,u,d,y){this._reactName=n,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(n=e[w],this[w]=n?n(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ma:Ru,this.isPropagationStopped=Ru,this}return Y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ma)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ma)},persist:function(){},isPersistent:Ma}),t}var ro={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},os=qt(ro),Fo=Y({},ro,{view:0,detail:0}),th=qt(Fo),as,is,zo,Ia=Y({},Fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ls,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!==zo&&(zo&&e.type==="mousemove"?(as=e.screenX-zo.screenX,is=e.screenY-zo.screenY):is=as=0,zo=e),as)},movementY:function(e){return"movementY"in e?e.movementY:is}}),Tu=qt(Ia),nh=Y({},Ia,{dataTransfer:0}),rh=qt(nh),oh=Y({},Fo,{relatedTarget:0}),ss=qt(oh),ah=Y({},ro,{animationName:0,elapsedTime:0,pseudoElement:0}),ih=qt(ah),sh=Y({},ro,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),lh=qt(sh),uh=Y({},ro,{data:0}),Pu=qt(uh),ch={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dh={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"},fh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ph(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fh[e])?!!t[e]:!1}function ls(){return ph}var hh=Y({},Fo,{key:function(e){if(e.key){var t=ch[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_a(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ls,charCode:function(e){return e.type==="keypress"?_a(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_a(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mh=qt(hh),gh=Y({},Ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lu=qt(gh),yh=Y({},Fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ls}),vh=qt(yh),wh=Y({},ro,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sh=qt(wh),kh=Y({},Ia,{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}),xh=qt(kh),Eh=[9,13,27,32],us=p&&"CompositionEvent"in window,Uo=null;p&&"documentMode"in document&&(Uo=document.documentMode);var bh=p&&"TextEvent"in window&&!Uo,Nu=p&&(!us||Uo&&8<Uo&&11>=Uo),Du=" ",Au=!1;function Ou(e,t){switch(e){case"keyup":return Eh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _u(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oo=!1;function Ch(e,t){switch(e){case"compositionend":return _u(t);case"keypress":return t.which!==32?null:(Au=!0,Du);case"textInput":return e=t.data,e===Du&&Au?null:e;default:return null}}function Rh(e,t){if(oo)return e==="compositionend"||!us&&Ou(e,t)?(e=Cu(),Oa=rs=dr=null,oo=!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 Nu&&t.locale!=="ko"?null:t.data;default:return null}}var Th={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 Mu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Th[e.type]:t==="textarea"}function Iu(e,t,n,i){Pe(i),t=Ba(t,"onChange"),0<t.length&&(n=new os("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Bo=null,$o=null;function Ph(e){ec(e,0)}function ja(e){var t=uo(e);if(tt(t))return e}function Lh(e,t){if(e==="change")return t}var ju=!1;if(p){var cs;if(p){var ds="oninput"in document;if(!ds){var Fu=document.createElement("div");Fu.setAttribute("oninput","return;"),ds=typeof Fu.oninput=="function"}cs=ds}else cs=!1;ju=cs&&(!document.documentMode||9<document.documentMode)}function zu(){Bo&&(Bo.detachEvent("onpropertychange",Uu),$o=Bo=null)}function Uu(e){if(e.propertyName==="value"&&ja($o)){var t=[];Iu(t,$o,e,Dt(e)),Je(Ph,t)}}function Nh(e,t,n){e==="focusin"?(zu(),Bo=t,$o=n,Bo.attachEvent("onpropertychange",Uu)):e==="focusout"&&zu()}function Dh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ja($o)}function Ah(e,t){if(e==="click")return ja(t)}function Oh(e,t){if(e==="input"||e==="change")return ja(t)}function _h(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yn=typeof Object.is=="function"?Object.is:_h;function Ho(e,t){if(yn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var u=n[i];if(!m.call(t,u)||!yn(e[u],t[u]))return!1}return!0}function Bu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $u(e,t){var n=Bu(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bu(n)}}function Hu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wu(){for(var e=window,t=Wt();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wt(e.document)}return t}function fs(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")}function Mh(e){var t=Wu(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hu(n.ownerDocument.documentElement,n)){if(i!==null&&fs(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=n.textContent.length,d=Math.min(i.start,u);i=i.end===void 0?d:Math.min(i.end,u),!e.extend&&d>i&&(u=i,i=d,d=u),u=$u(n,d);var y=$u(n,i);u&&y&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>i?(e.addRange(t),e.extend(y.node,y.offset)):(t.setEnd(y.node,y.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ih=p&&"documentMode"in document&&11>=document.documentMode,ao=null,ps=null,Wo=null,hs=!1;function Vu(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hs||ao==null||ao!==Wt(i)||(i=ao,"selectionStart"in i&&fs(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Wo&&Ho(Wo,i)||(Wo=i,i=Ba(ps,"onSelect"),0<i.length&&(t=new os("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=ao)))}function Fa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var io={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionend:Fa("Transition","TransitionEnd")},ms={},Ku={};p&&(Ku=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function za(e){if(ms[e])return ms[e];if(!io[e])return e;var t=io[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ku)return ms[e]=t[n];return e}var Yu=za("animationend"),Qu=za("animationiteration"),qu=za("animationstart"),Gu=za("transitionend"),Ju=new Map,Xu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fr(e,t){Ju.set(e,t),c(t,[e])}for(var gs=0;gs<Xu.length;gs++){var ys=Xu[gs],jh=ys.toLowerCase(),Fh=ys[0].toUpperCase()+ys.slice(1);fr(jh,"on"+Fh)}fr(Yu,"onAnimationEnd"),fr(Qu,"onAnimationIteration"),fr(qu,"onAnimationStart"),fr("dblclick","onDoubleClick"),fr("focusin","onFocus"),fr("focusout","onBlur"),fr(Gu,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vo="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(" "),zh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vo));function Zu(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,pe(i,t,void 0,e),e.currentTarget=null}function ec(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],u=i.event;i=i.listeners;e:{var d=void 0;if(t)for(var y=i.length-1;0<=y;y--){var w=i[y],b=w.instance,I=w.currentTarget;if(w=w.listener,b!==d&&u.isPropagationStopped())break e;Zu(u,w,I),d=b}else for(y=0;y<i.length;y++){if(w=i[y],b=w.instance,I=w.currentTarget,w=w.listener,b!==d&&u.isPropagationStopped())break e;Zu(u,w,I),d=b}}}if(G)throw e=ve,G=!1,ve=null,e}function Ke(e,t){var n=t[Cs];n===void 0&&(n=t[Cs]=new Set);var i=e+"__bubble";n.has(i)||(tc(t,e,2,!1),n.add(i))}function vs(e,t,n){var i=0;t&&(i|=4),tc(n,e,i,t)}var Ua="_reactListening"+Math.random().toString(36).slice(2);function Ko(e){if(!e[Ua]){e[Ua]=!0,s.forEach(function(n){n!=="selectionchange"&&(zh.has(n)||vs(n,!1,e),vs(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ua]||(t[Ua]=!0,vs("selectionchange",!1,t))}}function tc(e,t,n,i){switch(bu(t)){case 1:var u=Zp;break;case 4:u=eh;break;default:u=ts}n=u.bind(null,t,n,e),u=void 0,!Nn||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),i?u!==void 0?e.addEventListener(t,n,{capture:!0,passive:u}):e.addEventListener(t,n,!0):u!==void 0?e.addEventListener(t,n,{passive:u}):e.addEventListener(t,n,!1)}function ws(e,t,n,i,u){var d=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var w=i.stateNode.containerInfo;if(w===u||w.nodeType===8&&w.parentNode===u)break;if(y===4)for(y=i.return;y!==null;){var b=y.tag;if((b===3||b===4)&&(b=y.stateNode.containerInfo,b===u||b.nodeType===8&&b.parentNode===u))return;y=y.return}for(;w!==null;){if(y=Fr(w),y===null)return;if(b=y.tag,b===5||b===6){i=d=y;continue e}w=w.parentNode}}i=i.return}Je(function(){var I=d,$=Dt(n),V=[];e:{var B=Ju.get(e);if(B!==void 0){var re=os,he=e;switch(e){case"keypress":if(_a(n)===0)break e;case"keydown":case"keyup":re=mh;break;case"focusin":he="focus",re=ss;break;case"focusout":he="blur",re=ss;break;case"beforeblur":case"afterblur":re=ss;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":re=Tu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=rh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=vh;break;case Yu:case Qu:case qu:re=ih;break;case Gu:re=Sh;break;case"scroll":re=th;break;case"wheel":re=xh;break;case"copy":case"cut":case"paste":re=lh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=Lu}var ge=(t&4)!==0,st=!ge&&e==="scroll",L=ge?B!==null?B+"Capture":null:B;ge=[];for(var P=I,A;P!==null;){A=P;var Q=A.stateNode;if(A.tag===5&&Q!==null&&(A=Q,L!==null&&(Q=ut(P,L),Q!=null&&ge.push(Yo(P,Q,A)))),st)break;P=P.return}0<ge.length&&(B=new re(B,he,null,n,$),V.push({event:B,listeners:ge}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",re=e==="mouseout"||e==="pointerout",B&&n!==Wn&&(he=n.relatedTarget||n.fromElement)&&(Fr(he)||he[Qn]))break e;if((re||B)&&(B=$.window===$?$:(B=$.ownerDocument)?B.defaultView||B.parentWindow:window,re?(he=n.relatedTarget||n.toElement,re=I,he=he?Fr(he):null,he!==null&&(st=me(he),he!==st||he.tag!==5&&he.tag!==6)&&(he=null)):(re=null,he=I),re!==he)){if(ge=Tu,Q="onMouseLeave",L="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ge=Lu,Q="onPointerLeave",L="onPointerEnter",P="pointer"),st=re==null?B:uo(re),A=he==null?B:uo(he),B=new ge(Q,P+"leave",re,n,$),B.target=st,B.relatedTarget=A,Q=null,Fr($)===I&&(ge=new ge(L,P+"enter",he,n,$),ge.target=A,ge.relatedTarget=st,Q=ge),st=Q,re&&he)t:{for(ge=re,L=he,P=0,A=ge;A;A=so(A))P++;for(A=0,Q=L;Q;Q=so(Q))A++;for(;0<P-A;)ge=so(ge),P--;for(;0<A-P;)L=so(L),A--;for(;P--;){if(ge===L||L!==null&&ge===L.alternate)break t;ge=so(ge),L=so(L)}ge=null}else ge=null;re!==null&&nc(V,B,re,ge,!1),he!==null&&st!==null&&nc(V,st,he,ge,!0)}}e:{if(B=I?uo(I):window,re=B.nodeName&&B.nodeName.toLowerCase(),re==="select"||re==="input"&&B.type==="file")var we=Lh;else if(Mu(B))if(ju)we=Oh;else{we=Dh;var be=Nh}else(re=B.nodeName)&&re.toLowerCase()==="input"&&(B.type==="checkbox"||B.type==="radio")&&(we=Ah);if(we&&(we=we(e,I))){Iu(V,we,n,$);break e}be&&be(e,B,I),e==="focusout"&&(be=B._wrapperState)&&be.controlled&&B.type==="number"&&Et(B,"number",B.value)}switch(be=I?uo(I):window,e){case"focusin":(Mu(be)||be.contentEditable==="true")&&(ao=be,ps=I,Wo=null);break;case"focusout":Wo=ps=ao=null;break;case"mousedown":hs=!0;break;case"contextmenu":case"mouseup":case"dragend":hs=!1,Vu(V,n,$);break;case"selectionchange":if(Ih)break;case"keydown":case"keyup":Vu(V,n,$)}var Ce;if(us)e:{switch(e){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else oo?Ou(e,n)&&(Te="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Te="onCompositionStart");Te&&(Nu&&n.locale!=="ko"&&(oo||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&oo&&(Ce=Cu()):(dr=$,rs="value"in dr?dr.value:dr.textContent,oo=!0)),be=Ba(I,Te),0<be.length&&(Te=new Pu(Te,e,null,n,$),V.push({event:Te,listeners:be}),Ce?Te.data=Ce:(Ce=_u(n),Ce!==null&&(Te.data=Ce)))),(Ce=bh?Ch(e,n):Rh(e,n))&&(I=Ba(I,"onBeforeInput"),0<I.length&&($=new Pu("onBeforeInput","beforeinput",null,n,$),V.push({event:$,listeners:I}),$.data=Ce))}ec(V,t)})}function Yo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ba(e,t){for(var n=t+"Capture",i=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=ut(e,n),d!=null&&i.unshift(Yo(e,d,u)),d=ut(e,t),d!=null&&i.push(Yo(e,d,u))),e=e.return}return i}function so(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function nc(e,t,n,i,u){for(var d=t._reactName,y=[];n!==null&&n!==i;){var w=n,b=w.alternate,I=w.stateNode;if(b!==null&&b===i)break;w.tag===5&&I!==null&&(w=I,u?(b=ut(n,d),b!=null&&y.unshift(Yo(n,b,w))):u||(b=ut(n,d),b!=null&&y.push(Yo(n,b,w)))),n=n.return}y.length!==0&&e.push({event:t,listeners:y})}var Uh=/\r\n?/g,Bh=/\u0000|\uFFFD/g;function rc(e){return(typeof e=="string"?e:""+e).replace(Uh,` 39`).replace(Bh,"")}function $a(e,t,n){if(t=rc(t),rc(e)!==t&&n)throw Error(a(425))}function Ha(){}var Ss=null,ks=null;function xs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Es=typeof setTimeout=="function"?setTimeout:void 0,$h=typeof clearTimeout=="function"?clearTimeout:void 0,oc=typeof Promise=="function"?Promise:void 0,Hh=typeof queueMicrotask=="function"?queueMicrotask:typeof oc<"u"?function(e){return oc.resolve(null).then(e).catch(Wh)}:Es;function Wh(e){setTimeout(function(){throw e})}function bs(e,t){var n=t,i=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"){if(i===0){e.removeChild(u),jo(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=u}while(n);jo(t)}function pr(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==="$?")break;if(t==="/$")return null}}return e}function ac(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var lo=Math.random().toString(36).slice(2),An="__reactFiber$"+lo,Qo="__reactProps$"+lo,Qn="__reactContainer$"+lo,Cs="__reactEvents$"+lo,Vh="__reactListeners$"+lo,Kh="__reactHandles$"+lo;function Fr(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qn]||n[An]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ac(e);e!==null;){if(n=e[An])return n;e=ac(e)}return t}e=n,n=e.parentNode}return null}function qo(e){return e=e[An]||e[Qn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function uo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(a(33))}function Wa(e){return e[Qo]||null}var Rs=[],co=-1;function hr(e){return{current:e}}function Ye(e){0>co||(e.current=Rs[co],Rs[co]=null,co--)}function Ve(e,t){co++,Rs[co]=e.current,e.current=t}
vendor: 7,879 bytes, line 39
39var mr={},Ct=hr(mr),jt=hr(!1),zr=mr;function fo(e,t){var n=e.type.contextTypes;if(!n)return mr;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in n)u[d]=t[d];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function Ft(e){return e=e.childContextTypes,e!=null}function Va(){Ye(jt),Ye(Ct)}function ic(e,t,n){if(Ct.current!==mr)throw Error(a(168));Ve(Ct,t),Ve(jt,n)}function sc(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var u in i)if(!(u in t))throw Error(a(108,Me(e)||"Unknown",u));return Y({},n,i)}function Ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,zr=Ct.current,Ve(Ct,e),Ve(jt,jt.current),!0}function lc(e,t,n){var i=e.stateNode;if(!i)throw Error(a(169));n?(e=sc(e,t,zr),i.__reactInternalMemoizedMergedChildContext=e,Ye(jt),Ye(Ct),Ve(Ct,e)):Ye(jt),Ve(jt,n)}var qn=null,Ya=!1,Ts=!1;function uc(e){qn===null?qn=[e]:qn.push(e)}function Yh(e){Ya=!0,uc(e)}function gr(){if(!Ts&&qn!==null){Ts=!0;var e=0,t=He;try{var n=qn;for(He=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}qn=null,Ya=!1}catch(u){throw qn!==null&&(qn=qn.slice(e+1)),it(rn,gr),u}finally{He=t,Ts=!1}}return null}var po=[],ho=0,Qa=null,qa=0,on=[],an=0,Ur=null,Gn=1,Jn="";function Br(e,t){po[ho++]=qa,po[ho++]=Qa,Qa=e,qa=t}function cc(e,t,n){on[an++]=Gn,on[an++]=Jn,on[an++]=Ur,Ur=e;var i=Gn;e=Jn;var u=32-We(i)-1;i&=~(1<<u),n+=1;var d=32-We(t)+u;if(30<d){var y=u-u%5;d=(i&(1<<y)-1).toString(32),i>>=y,u-=y,Gn=1<<32-We(t)+u|n<<u|i,Jn=d+e}else Gn=1<<d|n<<u|i,Jn=e}function Ps(e){e.return!==null&&(Br(e,1),cc(e,1,0))}function Ls(e){for(;e===Qa;)Qa=po[--ho],po[ho]=null,qa=po[--ho],po[ho]=null;for(;e===Ur;)Ur=on[--an],on[an]=null,Jn=on[--an],on[an]=null,Gn=on[--an],on[an]=null}var Gt=null,Jt=null,qe=!1,vn=null;function dc(e,t){var n=cn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function fc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Gt=e,Jt=pr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Gt=e,Jt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ur!==null?{id:Gn,overflow:Jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=cn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Gt=e,Jt=null,!0):!1;default:return!1}}function Ns(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ds(e){if(qe){var t=Jt;if(t){var n=t;if(!fc(e,t)){if(Ns(e))throw Error(a(418));t=pr(n.nextSibling);var i=Gt;t&&fc(e,t)?dc(i,n):(e.flags=e.flags&-4097|2,qe=!1,Gt=e)}}else{if(Ns(e))throw Error(a(418));e.flags=e.flags&-4097|2,qe=!1,Gt=e}}}function pc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Gt=e}function Ga(e){if(e!==Gt)return!1;if(!qe)return pc(e),qe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!xs(e.type,e.memoizedProps)),t&&(t=Jt)){if(Ns(e))throw hc(),Error(a(418));for(;t;)dc(e,t),t=pr(t.nextSibling)}if(pc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Jt=pr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Jt=null}}else Jt=Gt?pr(e.stateNode.nextSibling):null;return!0}function hc(){for(var e=Jt;e;)e=pr(e.nextSibling)}function mo(){Jt=Gt=null,qe=!1}function As(e){vn===null?vn=[e]:vn.push(e)}var Qh=q.ReactCurrentBatchConfig;function Go(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(a(309));var i=n.stateNode}if(!i)throw Error(a(147,e));var u=i,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(y){var w=u.refs;y===null?delete w[d]:w[d]=y},t._stringRef=d,t)}if(typeof e!="string")throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ja(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function mc(e){var t=e._init;return t(e._payload)}function gc(e){function t(L,P){if(e){var A=L.deletions;A===null?(L.deletions=[P],L.flags|=16):A.push(P)}}function n(L,P){if(!e)return null;for(;P!==null;)t(L,P),P=P.sibling;return null}function i(L,P){for(L=new Map;P!==null;)P.key!==null?L.set(P.key,P):L.set(P.index,P),P=P.sibling;return L}function u(L,P){return L=br(L,P),L.index=0,L.sibling=null,L}function d(L,P,A){return L.index=A,e?(A=L.alternate,A!==null?(A=A.index,A<P?(L.flags|=2,P):A):(L.flags|=2,P)):(L.flags|=1048576,P)}function y(L){return e&&L.alternate===null&&(L.flags|=2),L}function w(L,P,A,Q){return P===null||P.tag!==6?(P=El(A,L.mode,Q),P.return=L,P):(P=u(P,A),P.return=L,P)}function b(L,P,A,Q){var we=A.type;return we===N?$(L,P,A.props.children,Q,A.key):P!==null&&(P.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===K&&mc(we)===P.type)?(Q=u(P,A.props),Q.ref=Go(L,P,A),Q.return=L,Q):(Q=ki(A.type,A.key,A.props,null,L.mode,Q),Q.ref=Go(L,P,A),Q.return=L,Q)}function I(L,P,A,Q){return P===null||P.tag!==4||P.stateNode.containerInfo!==A.containerInfo||P.stateNode.implementation!==A.implementation?(P=bl(A,L.mode,Q),P.return=L,P):(P=u(P,A.children||[]),P.return=L,P)}function $(L,P,A,Q,we){return P===null||P.tag!==7?(P=qr(A,L.mode,Q,we),P.return=L,P):(P=u(P,A),P.return=L,P)}function V(L,P,A){if(typeof P=="string"&&P!==""||typeof P=="number")return P=El(""+P,L.mode,A),P.return=L,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case ee:return A=ki(P.type,P.key,P.props,null,L.mode,A),A.ref=Go(L,null,P),A.return=L,A;case Se:return P=bl(P,L.mode,A),P.return=L,P;case K:var Q=P._init;return V(L,Q(P._payload),A)}if(Bn(P)||J(P))return P=qr(P,L.mode,A,null),P.return=L,P;Ja(L,P)}return null}function B(L,P,A,Q){var we=P!==null?P.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return we!==null?null:w(L,P,""+A,Q);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case ee:return A.key===we?b(L,P,A,Q):null;case Se:return A.key===we?I(L,P,A,Q):null;case K:return we=A._init,B(L,P,we(A._payload),Q)}if(Bn(A)||J(A))return we!==null?null:$(L,P,A,Q,null);Ja(L,A)}return null}function re(L,P,A,Q,we){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return L=L.get(A)||null,w(P,L,""+Q,we);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case ee:return L=L.get(Q.key===null?A:Q.key)||null,b(P,L,Q,we);case Se:return L=L.get(Q.key===null?A:Q.key)||null,I(P,L,Q,we);case K:var be=Q._init;return re(L,P,A,be(Q._payload),we)}if(Bn(Q)||J(Q))return L=L.get(A)||null,$(P,L,Q,we,null);Ja(P,Q)}return null}function he(L,P,A,Q){for(var we=null,be=null,Ce=P,Te=P=0,wt=null;Ce!==null&&Te<A.length;Te++){Ce.index>Te?(wt=Ce,Ce=null):wt=Ce.sibling;var Ue=B(L,Ce,A[Te],Q);if(Ue===null){Ce===null&&(Ce=wt);break}e&&Ce&&Ue.alternate===null&&t(L,Ce),P=d(Ue,P,Te),be===null?we=Ue:be.sibling=Ue,be=Ue,Ce=wt}if(Te===A.length)return n(L,Ce),qe&&Br(L,Te),we;if(Ce===null){for(;Te<A.length;Te++)Ce=V(L,A[Te],Q),Ce!==null&&(P=d(Ce,P,Te),be===null?we=Ce:be.sibling=Ce,be=Ce);return qe&&Br(L,Te),we}for(Ce=i(L,Ce);Te<A.length;Te++)wt=re(Ce,L,Te,A[Te],Q),wt!==null&&(e&&wt.alternate!==null&&Ce.delete(wt.key===null?Te:wt.key),P=d(wt,P,Te),be===null?we=wt:be.sibling=wt,be=wt);return e&&Ce.forEach(function(Cr){return t(L,Cr)}),qe&&Br(L,Te),we}function ge(L,P,A,Q){var we=J(A);if(typeof we!="function")throw Error(a(150));if(A=we.call(A),A==null)throw Error(a(151));for(var be=we=null,Ce=P,Te=P=0,wt=null,Ue=A.next();Ce!==null&&!Ue.done;Te++,Ue=A.next()){Ce.index>Te?(wt=Ce,Ce=null):wt=Ce.sibling;
vendor: 7,343 bytes, line 39
39var Cr=B(L,Ce,Ue.value,Q);if(Cr===null){Ce===null&&(Ce=wt);break}e&&Ce&&Cr.alternate===null&&t(L,Ce),P=d(Cr,P,Te),be===null?we=Cr:be.sibling=Cr,be=Cr,Ce=wt}if(Ue.done)return n(L,Ce),qe&&Br(L,Te),we;if(Ce===null){for(;!Ue.done;Te++,Ue=A.next())Ue=V(L,Ue.value,Q),Ue!==null&&(P=d(Ue,P,Te),be===null?we=Ue:be.sibling=Ue,be=Ue);return qe&&Br(L,Te),we}for(Ce=i(L,Ce);!Ue.done;Te++,Ue=A.next())Ue=re(Ce,L,Te,Ue.value,Q),Ue!==null&&(e&&Ue.alternate!==null&&Ce.delete(Ue.key===null?Te:Ue.key),P=d(Ue,P,Te),be===null?we=Ue:be.sibling=Ue,be=Ue);return e&&Ce.forEach(function(Tm){return t(L,Tm)}),qe&&Br(L,Te),we}function st(L,P,A,Q){if(typeof A=="object"&&A!==null&&A.type===N&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case ee:e:{for(var we=A.key,be=P;be!==null;){if(be.key===we){if(we=A.type,we===N){if(be.tag===7){n(L,be.sibling),P=u(be,A.props.children),P.return=L,L=P;break e}}else if(be.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===K&&mc(we)===be.type){n(L,be.sibling),P=u(be,A.props),P.ref=Go(L,be,A),P.return=L,L=P;break e}n(L,be);break}else t(L,be);be=be.sibling}A.type===N?(P=qr(A.props.children,L.mode,Q,A.key),P.return=L,L=P):(Q=ki(A.type,A.key,A.props,null,L.mode,Q),Q.ref=Go(L,P,A),Q.return=L,L=Q)}return y(L);case Se:e:{for(be=A.key;P!==null;){if(P.key===be)if(P.tag===4&&P.stateNode.containerInfo===A.containerInfo&&P.stateNode.implementation===A.implementation){n(L,P.sibling),P=u(P,A.children||[]),P.return=L,L=P;break e}else{n(L,P);break}else t(L,P);P=P.sibling}P=bl(A,L.mode,Q),P.return=L,L=P}return y(L);case K:return be=A._init,st(L,P,be(A._payload),Q)}if(Bn(A))return he(L,P,A,Q);if(J(A))return ge(L,P,A,Q);Ja(L,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,P!==null&&P.tag===6?(n(L,P.sibling),P=u(P,A),P.return=L,L=P):(n(L,P),P=El(A,L.mode,Q),P.return=L,L=P),y(L)):n(L,P)}return st}var go=gc(!0),yc=gc(!1),Xa=hr(null),Za=null,yo=null,Os=null;function _s(){Os=yo=Za=null}function Ms(e){var t=Xa.current;Ye(Xa),e._currentValue=t}function Is(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function vo(e,t){Za=e,Os=yo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(zt=!0),e.firstContext=null)}function sn(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},yo===null){if(Za===null)throw Error(a(308));yo=e,Za.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var $r=null;function js(e){$r===null?$r=[e]:$r.push(e)}function vc(e,t,n,i){var u=t.interleaved;return u===null?(n.next=n,js(t)):(n.next=u.next,u.next=n),t.interleaved=n,Xn(e,i)}function Xn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var yr=!1;function Fs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Zn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vr(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Fe&2)!==0){var u=i.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),i.pending=t,Xn(e,n)}return u=i.interleaved,u===null?(t.next=t,js(i)):(t.next=u.next,u.next=t),i.interleaved=t,Xn(e,n)}function ei(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Xi(e,n)}}function Sc(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var u=null,d=null;if(n=n.firstBaseUpdate,n!==null){do{var y={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};d===null?u=d=y:d=d.next=y,n=n.next}while(n!==null);d===null?u=d=t:d=d.next=t}else u=d=t;n={baseState:i.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ti(e,t,n,i){var u=e.updateQueue;yr=!1;var d=u.firstBaseUpdate,y=u.lastBaseUpdate,w=u.shared.pending;if(w!==null){u.shared.pending=null;var b=w,I=b.next;b.next=null,y===null?d=I:y.next=I,y=b;var $=e.alternate;$!==null&&($=$.updateQueue,w=$.lastBaseUpdate,w!==y&&(w===null?$.firstBaseUpdate=I:w.next=I,$.lastBaseUpdate=b))}if(d!==null){var V=u.baseState;y=0,$=I=b=null,w=d;do{var B=w.lane,re=w.eventTime;if((i&B)===B){$!==null&&($=$.next={eventTime:re,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var he=e,ge=w;switch(B=t,re=n,ge.tag){case 1:if(he=ge.payload,typeof he=="function"){V=he.call(re,V,B);break e}V=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=ge.payload,B=typeof he=="function"?he.call(re,V,B):he,B==null)break e;V=Y({},V,B);break e;case 2:yr=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,B=u.effects,B===null?u.effects=[w]:B.push(w))}else re={eventTime:re,lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},$===null?(I=$=re,b=V):$=$.next=re,y|=B;if(w=w.next,w===null){if(w=u.shared.pending,w===null)break;B=w,w=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);if($===null&&(b=V),u.baseState=b,u.firstBaseUpdate=I,u.lastBaseUpdate=$,t=u.shared.interleaved,t!==null){u=t;do y|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);Vr|=y,e.lanes=y,e.memoizedState=V}}function kc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],u=i.callback;if(u!==null){if(i.callback=null,i=n,typeof u!="function")throw Error(a(191,u));u.call(i)}}}var Jo={},On=hr(Jo),Xo=hr(Jo),Zo=hr(Jo);function Hr(e){if(e===Jo)throw Error(a(174));return e}function zs(e,t){switch(Ve(Zo,t),Ve(Xo,e),Ve(On,Jo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$n(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$n(t,e)}Ye(On),Ve(On,t)}function wo(){Ye(On),Ye(Xo),Ye(Zo)}function xc(e){Hr(Zo.current);var t=Hr(On.current),n=$n(t,e.type);t!==n&&(Ve(Xo,e),Ve(On,n))}function Us(e){Xo.current===e&&(Ye(On),Ye(Xo))}var Xe=hr(0);function ni(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===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 Bs=[];function $s(){for(var e=0;e<Bs.length;e++)Bs[e]._workInProgressVersionPrimary=null;Bs.length=0}var ri=q.ReactCurrentDispatcher,Hs=q.ReactCurrentBatchConfig,Wr=0,Ze=null,ht=null,yt=null,oi=!1,ea=!1,ta=0,qh=0;function Rt(){throw Error(a(321))}function Ws(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yn(e[n],t[n]))return!1;return!0}function Vs(e,t,n,i,u,d){if(Wr=d,Ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ri.current=e===null||e.memoizedState===null?Z
vendor: 4,419 bytes, line 39
39h:em,e=n(i,u),ea){d=0;do{if(ea=!1,ta=0,25<=d)throw Error(a(301));d+=1,yt=ht=null,t.updateQueue=null,ri.current=tm,e=n(i,u)}while(ea)}if(ri.current=si,t=ht!==null&&ht.next!==null,Wr=0,yt=ht=Ze=null,oi=!1,t)throw Error(a(300));return e}function Ks(){var e=ta!==0;return ta=0,e}function _n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?Ze.memoizedState=yt=e:yt=yt.next=e,yt}function ln(){if(ht===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=ht.next;var t=yt===null?Ze.memoizedState:yt.next;if(t!==null)yt=t,ht=e;else{if(e===null)throw Error(a(310));ht=e,e={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},yt===null?Ze.memoizedState=yt=e:yt=yt.next=e}return yt}function na(e,t){return typeof t=="function"?t(e):t}function Ys(e){var t=ln(),n=t.queue;if(n===null)throw Error(a(311));n.lastRenderedReducer=e;var i=ht,u=i.baseQueue,d=n.pending;if(d!==null){if(u!==null){var y=u.next;u.next=d.next,d.next=y}i.baseQueue=u=d,n.pending=null}if(u!==null){d=u.next,i=i.baseState;var w=y=null,b=null,I=d;do{var $=I.lane;if((Wr&$)===$)b!==null&&(b=b.next={lane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),i=I.hasEagerState?I.eagerState:e(i,I.action);else{var V={lane:$,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};b===null?(w=b=V,y=i):b=b.next=V,Ze.lanes|=$,Vr|=$}I=I.next}while(I!==null&&I!==d);b===null?y=i:b.next=w,yn(i,t.memoizedState)||(zt=!0),t.memoizedState=i,t.baseState=y,t.baseQueue=b,n.lastRenderedState=i}if(e=n.interleaved,e!==null){u=e;do d=u.lane,Ze.lanes|=d,Vr|=d,u=u.next;while(u!==e)}else u===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Qs(e){var t=ln(),n=t.queue;if(n===null)throw Error(a(311));n.lastRenderedReducer=e;var i=n.dispatch,u=n.pending,d=t.memoizedState;if(u!==null){n.pending=null;var y=u=u.next;do d=e(d,y.action),y=y.next;while(y!==u);yn(d,t.memoizedState)||(zt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),n.lastRenderedState=d}return[d,i]}function Ec(){}function bc(e,t){var n=Ze,i=ln(),u=t(),d=!yn(i.memoizedState,u);if(d&&(i.memoizedState=u,zt=!0),i=i.queue,qs(Tc.bind(null,n,i,e),[e]),i.getSnapshot!==t||d||yt!==null&&yt.memoizedState.tag&1){if(n.flags|=2048,ra(9,Rc.bind(null,n,i,u,t),void 0,null),vt===null)throw Error(a(349));(Wr&30)!==0||Cc(n,t,u)}return u}function Cc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ze.updateQueue,t===null?(t={lastEffect:null,stores:null},Ze.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Rc(e,t,n,i){t.value=n,t.getSnapshot=i,Pc(t)&&Lc(e)}function Tc(e,t,n){return n(function(){Pc(t)&&Lc(e)})}function Pc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yn(e,n)}catch{return!0}}function Lc(e){var t=Xn(e,1);t!==null&&xn(t,e,1,-1)}function Nc(e){var t=_n();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:e},t.queue=e,e=e.dispatch=Xh.bind(null,Ze,e),[t.memoizedState,e]}function ra(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=Ze.updateQueue,t===null?(t={lastEffect:null,stores:null},Ze.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function Dc(){return ln().memoizedState}function ai(e,t,n,i){var u=_n();Ze.flags|=e,u.memoizedState=ra(1|t,n,void 0,i===void 0?null:i)}function ii(e,t,n,i){var u=ln();i=i===void 0?null:i;var d=void 0;if(ht!==null){var y=ht.memoizedState;if(d=y.destroy,i!==null&&Ws(i,y.deps)){u.memoizedState=ra(t,n,d,i);return}}Ze.flags|=e,u.memoizedState=ra(1|t,n,d,i)}function Ac(e,t){return ai(8390656,8,e,t)}function qs(e,t){return ii(2048,8,e,t)}function Oc(e,t){return ii(4,2,e,t)}function _c(e,t){return ii(4,4,e,t)}function Mc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ic(e,t,n){return n=n!=null?n.concat([e]):null,ii(4,4,Mc.bind(null,t,e),n)}function Gs(){}function jc(e,t){var n=ln();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ws(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Fc(e,t){var n=ln();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ws(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}
vendor: 4,743 bytes, line 39
39function zc(e,t,n){return(Wr&21)===0?(e.baseState&&(e.baseState=!1,zt=!0),e.memoizedState=n):(yn(n,t)||(n=mu(),Ze.lanes|=n,Vr|=n,e.baseState=!0),t)}function Gh(e,t){var n=He;He=n!==0&&4>n?n:4,e(!0);var i=Hs.transition;Hs.transition={};try{e(!1),t()}finally{He=n,Hs.transition=i}}function Uc(){return ln().memoizedState}function Jh(e,t,n){var i=xr(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Bc(e))$c(t,n);else if(n=vc(e,t,n,i),n!==null){var u=_t();xn(n,e,i,u),Hc(n,t,i)}}function Xh(e,t,n){var i=xr(e),u={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bc(e))$c(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,w=d(y,n);if(u.hasEagerState=!0,u.eagerState=w,yn(w,y)){var b=t.interleaved;b===null?(u.next=u,js(t)):(u.next=b.next,b.next=u),t.interleaved=u;return}}catch{}finally{}n=vc(e,t,u,i),n!==null&&(u=_t(),xn(n,e,i,u),Hc(n,t,i))}}function Bc(e){var t=e.alternate;return e===Ze||t!==null&&t===Ze}function $c(e,t){ea=oi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hc(e,t,n){if((n&4194240)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Xi(e,n)}}var si={readContext:sn,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useInsertionEffect:Rt,useLayoutEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useMutableSource:Rt,useSyncExternalStore:Rt,useId:Rt,unstable_isNewReconciler:!1},Zh={readContext:sn,useCallback:function(e,t){return _n().memoizedState=[e,t===void 0?null:t],e},useContext:sn,useEffect:Ac,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ai(4194308,4,Mc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ai(4194308,4,e,t)},useInsertionEffect:function(e,t){return ai(4,2,e,t)},useMemo:function(e,t){var n=_n();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=_n();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=Jh.bind(null,Ze,e),[i.memoizedState,e]},useRef:function(e){var t=_n();return e={current:e},t.memoizedState=e},useState:Nc,useDebugValue:Gs,useDeferredValue:function(e){return _n().memoizedState=e},useTransition:function(){var e=Nc(!1),t=e[0];return e=Gh.bind(null,e[1]),_n().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ze,u=_n();if(qe){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),vt===null)throw Error(a(349));(Wr&30)!==0||Cc(i,t,n)}u.memoizedState=n;var d={value:n,getSnapshot:t};return u.queue=d,Ac(Tc.bind(null,i,d,e),[e]),i.flags|=2048,ra(9,Rc.bind(null,i,d,n,t),void 0,null),n},useId:function(){var e=_n(),t=vt.identifierPrefix;if(qe){var n=Jn,i=Gn;n=(i&~(1<<32-We(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=ta++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=qh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},em={readContext:sn,useCallback:jc,useContext:sn,useEffect:qs,useImperativeHandle:Ic,useInsertionEffect:Oc,useLayoutEffect:_c,useMemo:Fc,useReducer:Ys,useRef:Dc,useState:function(){return Ys(na)},useDebugValue:Gs,useDeferredValue:function(e){var t=ln();return zc(t,ht.memoizedState,e)},useTransition:function(){var e=Ys(na)[0],t=ln().memoizedState;return[e,t]},useMutableSource:Ec,useSyncExternalStore:bc,useId:Uc,unstable_isNewReconciler:!1},tm={readContext:sn,useCallback:jc,useContext:sn,useEffect:qs,useImperativeHandle:Ic,useInsertionEffect:Oc,useLayoutEffect:_c,useMemo:Fc,useReducer:Qs,useRef:Dc,useState:function(){return Qs(na)},useDebugValue:Gs,useDeferredValue:function(e){var t=ln();return ht===null?t.memoizedState=e:zc(t,ht.memoizedState,e)},useTransition:function(){var e=Qs(na)[0],t=ln().memoizedState;return[e,t]},useMutableSource:Ec,useSyncExternalStore:bc,useId:Uc,unstable_isNewReconciler:!1};function wn(e,t){if(e&&e.defaultProps){t=Y({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Js(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:Y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var li={isMounted:function(e){return(e=e._reactInternals)?me(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=_t(),u=xr(e),d=Zn(i,u);d.payload=t,n!=null&&(d.callback=n),t=vr(e,d,u),t!==null&&(xn(t,e,u,i),ei(t,e,u))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=_t(),u=xr(e),d=Zn(i,u);d.tag=1,d.payload=t,n!=null&&(d.callback=n),t=vr(e,d,u),t!==null&&(xn(t,e,u,i),ei(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_t(),i=xr(e),u=Zn(n,i);
vendor: 4,819 bytes, lines 39-41
39u.tag=2,t!=null&&(u.callback=t),t=vr(e,u,i),t!==null&&(xn(t,e,i,n),ei(t,e,i))}};function Wc(e,t,n,i,u,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,d,y):t.prototype&&t.prototype.isPureReactComponent?!Ho(n,i)||!Ho(u,d):!0}function Vc(e,t,n){var i=!1,u=mr,d=t.contextType;return typeof d=="object"&&d!==null?d=sn(d):(u=Ft(t)?zr:Ct.current,i=t.contextTypes,d=(i=i!=null)?fo(e,u):mr),t=new t(n,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=li,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function Kc(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&li.enqueueReplaceState(t,t.state,null)}function Xs(e,t,n,i){var u=e.stateNode;u.props=n,u.state=e.memoizedState,u.refs={},Fs(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=sn(d):(d=Ft(t)?zr:Ct.current,u.context=fo(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Js(e,t,d,n),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&li.enqueueReplaceState(u,u.state,null),ti(e,n,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function So(e,t){try{var n="",i=t;do n+=ye(i),i=i.return;while(i);var u=n}catch(d){u=` 40Error generating stack: `+d.message+` 41`+d.stack}return{value:e,source:t,stack:u,digest:null}}function Zs(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function el(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var nm=typeof WeakMap=="function"?WeakMap:Map;function Yc(e,t,n){n=Zn(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){mi||(mi=!0,ml=i),el(e,t)},n}function Qc(e,t,n){n=Zn(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var u=t.value;n.payload=function(){return i(u)},n.callback=function(){el(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(n.callback=function(){el(e,t),typeof i!="function"&&(Sr===null?Sr=new Set([this]):Sr.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),n}function qc(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new nm;var u=new Set;i.set(t,u)}else u=i.get(t),u===void 0&&(u=new Set,i.set(t,u));u.has(n)||(u.add(n),e=gm.bind(null,e,t,n),t.then(e,e))}function Gc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Jc(e,t,n,i,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Zn(-1,1),t.tag=2,vr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var rm=q.ReactCurrentOwner,zt=!1;function Ot(e,t,n,i){t.child=e===null?yc(t,null,n,i):go(t,e.child,n,i)}function Xc(e,t,n,i,u){n=n.render;var d=t.ref;return vo(t,u),i=Vs(e,t,n,i,d,u),n=Ks(),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,er(e,t,u)):(qe&&n&&Ps(t),t.flags|=1,Ot(e,t,i,u),t.child)}function Zc(e,t,n,i,u){if(e===null){var d=n.type;return typeof d=="function"&&!xl(d)&&d.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=d,ed(e,t,d,i,u)):(e=ki(n.type,null,i,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var y=d.memoizedProps;if(n=n.compare,n=n!==null?n:Ho,n(y,i)&&e.ref===t.ref)return er(e,t,u)}return t.flags|=1,e=br(d,i),e.ref=t.ref,e.return=t,t.child=e}function ed(e,t,n,i,u){if(e!==null){var d=e.memoizedProps;if(Ho(d,i)&&e.ref===t.ref)if(zt=!1,t.pendingProps=i=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(zt=!0);else return t.lanes=e.lanes,er(e,t,u)}return tl(e,t,n,i,u)}function td(e,t,n){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(xo,Xt),Xt|=n;else{if((n&1073741824)===0)return e=d!==null?d.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ve(xo,Xt),Xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=d!==null?d.baseLanes:n,Ve(xo,Xt),Xt|=i}else d!==null?(i=d.baseLanes|n,t.memoizedState=null):i=n,Ve(xo,Xt),Xt|=i;return Ot(e,t,u,n),t.child}
vendor: 38,897 bytes, line 41
41function nd(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function tl(e,t,n,i,u){var d=Ft(n)?zr:Ct.current;return d=fo(t,d),vo(t,u),n=Vs(e,t,n,i,d,u),i=Ks(),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,er(e,t,u)):(qe&&i&&Ps(t),t.flags|=1,Ot(e,t,n,u),t.child)}function rd(e,t,n,i,u){if(Ft(n)){var d=!0;Ka(t)}else d=!1;if(vo(t,u),t.stateNode===null)ci(e,t),Vc(t,n,i),Xs(t,n,i,u),i=!0;else if(e===null){var y=t.stateNode,w=t.memoizedProps;y.props=w;var b=y.context,I=n.contextType;typeof I=="object"&&I!==null?I=sn(I):(I=Ft(n)?zr:Ct.current,I=fo(t,I));var $=n.getDerivedStateFromProps,V=typeof $=="function"||typeof y.getSnapshotBeforeUpdate=="function";V||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==i||b!==I)&&Kc(t,y,i,I),yr=!1;var B=t.memoizedState;y.state=B,ti(t,i,y,u),b=t.memoizedState,w!==i||B!==b||jt.current||yr?(typeof $=="function"&&(Js(t,n,$,i),b=t.memoizedState),(w=yr||Wc(t,n,w,i,B,b,I))?(V||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=b),y.props=i,y.state=b,y.context=I,i=w):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{y=t.stateNode,wc(e,t),w=t.memoizedProps,I=t.type===t.elementType?w:wn(t.type,w),y.props=I,V=t.pendingProps,B=y.context,b=n.contextType,typeof b=="object"&&b!==null?b=sn(b):(b=Ft(n)?zr:Ct.current,b=fo(t,b));var re=n.getDerivedStateFromProps;($=typeof re=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==V||B!==b)&&Kc(t,y,i,b),yr=!1,B=t.memoizedState,y.state=B,ti(t,i,y,u);var he=t.memoizedState;w!==V||B!==he||jt.current||yr?(typeof re=="function"&&(Js(t,n,re,i),he=t.memoizedState),(I=yr||Wc(t,n,I,i,B,he,b)||!1)?($||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(i,he,b),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(i,he,b)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=he),y.props=i,y.state=he,y.context=b,i=I):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),i=!1)}return nl(e,t,n,i,d,u)}function nl(e,t,n,i,u,d){nd(e,t);var y=(t.flags&128)!==0;if(!i&&!y)return u&&lc(t,n,!1),er(e,t,d);i=t.stateNode,rm.current=t;var w=y&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&y?(t.child=go(t,e.child,null,d),t.child=go(t,null,w,d)):Ot(e,t,w,d),t.memoizedState=i.state,u&&lc(t,n,!0),t.child}function od(e){var t=e.stateNode;t.pendingContext?ic(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ic(e,t.context,!1),zs(e,t.containerInfo)}function ad(e,t,n,i,u){return mo(),As(u),t.flags|=256,Ot(e,t,n,i),t.child}var rl={dehydrated:null,treeContext:null,retryLane:0};function ol(e){return{baseLanes:e,cachePool:null,transitions:null}}function id(e,t,n){var i=t.pendingProps,u=Xe.current,d=!1,y=(t.flags&128)!==0,w;if((w=y)||(w=e!==null&&e.memoizedState===null?!1:(u&2)!==0),w?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),Ve(Xe,u&1),e===null)return Ds(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(y=i.children,e=i.fallback,d?(i=t.mode,d=t.child,y={mode:"hidden",children:y},(i&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=y):d=xi(y,i,0,null),e=qr(e,i,n,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=ol(n),t.memoizedState=rl,e):al(t,y));if(u=e.memoizedState,u!==null&&(w=u.dehydrated,w!==null))return om(e,t,y,i,w,u,n);if(d){d=i.fallback,y=t.mode,u=e.child,w=u.sibling;var b={mode:"hidden",children:i.children};return(y&1)===0&&t.child!==u?(i=t.child,i.childLanes=0,i.pendingProps=b,t.deletions=null):(i=br(u,b),i.subtreeFlags=u.subtreeFlags&14680064),w!==null?d=br(w,d):(d=qr(d,y,n,null),d.flags|=2),d.return=t,i.return=t,i.sibling=d,t.child=i,i=d,d=t.child,y=e.child.memoizedState,y=y===null?ol(n):{baseLanes:y.baseLanes|n,cachePool:null,transitions:y.transitions},d.memoizedState=y,d.childLanes=e.childLanes&~n,t.memoizedState=rl,i}return d=e.child,e=d.sibling,i=br(d,{mode:"visible",children:i.children}),(t.mode&1)===0&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function al(e,t){return t=xi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ui(e,t,n,i){return i!==null&&As(i),go(t,e.child,null,n),e=al(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function om(e,t,n,i,u,d,y){if(n)return t.flags&256?(t.flags&=-257,i=Zs(Error(a(422))),ui(e,t,y,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=i.fallback,u=t.mode,i=xi({mode:"visible",children:i.children},u,0,null),d=qr(d,u,y,null),d.flags|=2,i.return=t,d.return=t,i.sibling=d,t.child=i,(t.mode&1)!==0&&go(t,e.child,null,y),t.child.memoizedState=ol(y),t.memoizedState=rl,d);if((t.mode&1)===0)return ui(e,t,y,null);if(u.data==="$!"){if(i=u.nextSibling&&u.nextSibling.dataset,i)var w=i.dgst;return i=w,d=Error(a(419)),i=Zs(d,i,void 0),ui(e,t,y,i)}if(w=(y&e.childLanes)!==0,zt||w){if(i=vt,i!==null){switch(y&-y){case 4:u=2;break;case 16:u=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(i.suspendedLanes|y))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,Xn(e,u),xn(i,e,u,-1))}return kl(),i=Zs(Error(a(421))),ui(e,t,y,i)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=ym.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,Jt=pr(u.nextSibling),Gt=t,qe=!0,vn=null,e!==null&&(on[an++]=Gn,on[an++]=Jn,on[an++]=Ur,Gn=e.id,Jn=e.overflow,Ur=t),t=al(t,i.children),t.flags|=4096,t)}function sd(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Is(e.return,t,n)}function il(e,t,n,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=u)}function ld(e,t,n){var i=t.pendingProps,u=i.revealOrder,d=i.tail;if(Ot(e,t,i.children,n),i=Xe.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sd(e,n,t);else if(e.tag===19)sd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(Ve(Xe,i),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(n=t.child,u=null;n!==null;)e=n.alternate,e!==null&&ni(e)===null&&(u=n),n=n.sibling;n=u,n===null?(u=t.child,t.child=null):(u=n.sibling,n.sibling=null),il(t,!1,u,n,d);break;case"backwards":for(n=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&ni(e)===null){t.child=u;break}e=u.sibling,u.sibling=n,n=u,u=e}il(t,!0,n,null,d);break;case"together":il(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ci(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function er(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vr|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(a(153));if(t.child!==null){for(e=t.child,n=br(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=br(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function am(e,t,n){switch(t.tag){case 3:od(t),mo();break;case 5:xc(t);break;case 1:Ft(t.type)&&Ka(t);break;case 4:zs(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,u=t.memoizedProps.value;Ve(Xa,i._currentValue),i._currentValue=u;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Ve(Xe,Xe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?id(e,t,n):(Ve(Xe,Xe.current&1),e=er(e,t,n),e!==null?e.sibling:null);Ve(Xe,Xe.current&1);break;case 19:if(i=(n&t.childLanes)!==0,(e.flags&128)!==0){if(i)return ld(e,t,n);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Ve(Xe,Xe.current),i)break;return null;case 22:case 23:return t.lanes=0,td(e,t,n)}return er(e,t,n)}var ud,sl,cd,dd;ud=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},sl=function(){},cd=function(e,t,n,i){var u=e.memoizedProps;if(u!==i){e=t.stateNode,Hr(On.current);var d=null;switch(n){case"input":u=bn(e,u),i=bn(e,i),d=[];break;case"select":u=Y({},u,{value:void 0}),i=Y({},i,{value:void 0}),d=[];break;case"textarea":u=pt(e,u),i=pt(e,i),d=[];break;default:typeof u.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=Ha)}Hn(n,i);var y;n=null;for(I in u)if(!i.hasOwnProperty(I)&&u.hasOwnProperty(I)&&u[I]!=null)if(I==="style"){var w=u[I];for(y in w)w.hasOwnProperty(y)&&(n||(n={}),n[y]="")}else I!=="dangerouslySetInnerHTML"&&I!=="children"&&I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(l.hasOwnProperty(I)?d||(d=[]):(d=d||[]).push(I,null));for(I in i){var b=i[I];if(w=u!=null?u[I]:void 0,i.hasOwnProperty(I)&&b!==w&&(b!=null||w!=null))if(I==="style")if(w){for(y in w)!w.hasOwnProperty(y)||b&&b.hasOwnProperty(y)||(n||(n={}),n[y]="");for(y in b)b.hasOwnProperty(y)&&w[y]!==b[y]&&(n||(n={}),n[y]=b[y])}else n||(d||(d=[]),d.push(I,n)),n=b;else I==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,w=w?w.__html:void 0,b!=null&&w!==b&&(d=d||[]).push(I,b)):I==="children"?typeof b!="string"&&typeof b!="number"||(d=d||[]).push(I,""+b):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&(l.hasOwnProperty(I)?(b!=null&&I==="onScroll"&&Ke("scroll",e),d||w===b||(d=[])):(d=d||[]).push(I,b))}n&&(d=d||[]).push("style",n);var I=d;(t.updateQueue=I)&&(t.flags|=4)}},dd=function(e,t,n,i){n!==i&&(t.flags|=4)};function oa(e,t){if(!qe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Tt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,i|=u.subtreeFlags&14680064,i|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)n|=u.lanes|u.childLanes,i|=u.subtreeFlags,i|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function im(e,t,n){var i=t.pendingProps;switch(Ls(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(t),null;case 1:return Ft(t.type)&&Va(),Tt(t),null;case 3:return i=t.stateNode,wo(),Ye(jt),Ye(Ct),$s(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ga(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vn!==null&&(vl(vn),vn=null))),sl(e,t),Tt(t),null;case 5:Us(t);var u=Hr(Zo.current);if(n=t.type,e!==null&&t.stateNode!=null)cd(e,t,n,i,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(a(166));return Tt(t),null}if(e=Hr(On.current),Ga(t)){i=t.stateNode,n=t.type;var d=t.memoizedProps;switch(i[An]=t,i[Qo]=d,e=(t.mode&1)!==0,n){case"dialog":Ke("cancel",i),Ke("close",i);break;case"iframe":case"object":case"embed":Ke("load",i);break;case"video":case"audio":for(u=0;u<Vo.length;u++)Ke(Vo[u],i);break;case"source":Ke("error",i);break;case"img":case"image":case"link":Ke("error",i),Ke("load",i);break;case"details":Ke("toggle",i);break;case"input":eo(i,d),Ke("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!d.multiple},Ke("invalid",i);break;case"textarea":mn(i,d),Ke("invalid",i)}Hn(n,d),u=null;for(var y in d)if(d.hasOwnProperty(y)){var w=d[y];y==="children"?typeof w=="string"?i.textContent!==w&&(d.suppressHydrationWarning!==!0&&$a(i.textContent,w,e),u=["children",w]):typeof w=="number"&&i.textContent!==""+w&&(d.suppressHydrationWarning!==!0&&$a(i.textContent,w,e),u=["children",""+w]):l.hasOwnProperty(y)&&w!=null&&y==="onScroll"&&Ke("scroll",i)}switch(n){case"input":rr(i),Dr(i,d,!0);break;case"textarea":rr(i),Rn(i);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(i.onclick=Ha)}i=u,t.updateQueue=i,i!==null&&(t.flags|=4)}else{y=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Tn(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=y.createElement(n,{is:i.is}):(e=y.createElement(n),n==="select"&&(y=e,i.multiple?y.multiple=!0:i.size&&(y.size=i.size))):e=y.createElementNS(e,n),e[An]=t,e[Qo]=i,ud(e,t,!1,!1),t.stateNode=e;e:{switch(y=or(n,i),n){case"dialog":Ke("cancel",e),Ke("close",e),u=i;break;case"iframe":case"object":case"embed":Ke("load",e),u=i;break;case"video":case"audio":for(u=0;u<Vo.length;u++)Ke(Vo[u],e);u=i;break;case"source":Ke("error",e),u=i;break;case"img":case"image":case"link":Ke("error",e),Ke("load",e),u=i;break;case"details":Ke("toggle",e),u=i;break;case"input":eo(e,i),u=bn(e,i),Ke("invalid",e);break;case"option":u=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},u=Y({},i,{value:void 0}),Ke("invalid",e);break;case"textarea":mn(e,i),u=pt(e,i),Ke("invalid",e);break;default:u=i}Hn(n,u),w=u;for(d in w)if(w.hasOwnProperty(d)){var b=w[d];d==="style"?Mt(e,b):d==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,b!=null&&bt(e,b)):d==="children"?typeof b=="string"?(n!=="textarea"||b!=="")&&Nt(e,b):typeof b=="number"&&Nt(e,""+b):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?b!=null&&d==="onScroll"&&Ke("scroll",e):b!=null&&W(e,d,b,y))}switch(n){case"input":rr(e),Dr(e,i,!1);break;case"textarea":rr(e),Rn(e);break;case"option":i.value!=null&&e.setAttribute("value",""+De(i.value));break;case"select":e.multiple=!!i.multiple,d=i.value,d!=null?Cn(e,!!i.multiple,d,!1):i.defaultValue!=null&&Cn(e,!!i.multiple,i.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Ha)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Tt(t),null;case 6:if(e&&t.stateNode!=null)dd(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(a(166));if(n=Hr(Zo.current),Hr(On.current),Ga(t)){if(i=t.stateNode,n=t.memoizedProps,i[An]=t,(d=i.nodeValue!==n)&&(e=Gt,e!==null))switch(e.tag){case 3:$a(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&$a(i.nodeValue,n,(e.mode&1)!==0)}d&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[An]=t,t.stateNode=i}return Tt(t),null;case 13:if(Ye(Xe),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(qe&&Jt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)hc(),mo(),t.flags|=98560,d=!1;else if(d=Ga(t),i!==null&&i.dehydrated!==null){if(e===null){if(!d)throw Error(a(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(a(317));d[An]=t}else mo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Tt(t),d=!1}else vn!==null&&(vl(vn),vn=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Xe.current&1)!==0?mt===0&&(mt=3):kl())),t.updateQueue!==null&&(t.flags|=4),Tt(t),null);case 4:return wo(),sl(e,t),e===null&&Ko(t.stateNode.containerInfo),Tt(t),null;case 10:return Ms(t.type._context),Tt(t),null;case 17:return Ft(t.type)&&Va(),Tt(t),null;case 19:if(Ye(Xe),d=t.memoizedState,d===null)return Tt(t),null;if(i=(t.flags&128)!==0,y=d.rendering,y===null)if(i)oa(d,!1);else{if(mt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=ni(e),y!==null){for(t.flags|=128,oa(d,!1),i=y.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)d=n,e=i,d.flags&=14680066,y=d.alternate,y===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=y.childLanes,d.lanes=y.lanes,d.child=y.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=y.memoizedProps,d.memoizedState=y.memoizedState,d.updateQueue=y.updateQueue,d.type=y.type,e=y.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ve(Xe,Xe.current&1|2),t.child}e=e.sibling}d.tail!==null&&$e()>Eo&&(t.flags|=128,i=!0,oa(d,!1),t.lanes=4194304)}else{if(!i)if(e=ni(y),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),oa(d,!0),d.tail===null&&d.tailMode==="hidden"&&!y.alternate&&!qe)return Tt(t),null}else 2*$e()-d.renderingStartTime>Eo&&n!==1073741824&&(t.flags|=128,i=!0,oa(d,!1),t.lanes=4194304);d.isBackwards?(y.sibling=t.child,t.child=y):(n=d.last,n!==null?n.sibling=y:t.child=y,d.last=y)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=$e(),t.sibling=null,n=Xe.current,Ve(Xe,i?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return Sl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&(t.mode&1)!==0?(Xt&1073741824)!==0&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error(a(156,t.tag))}function sm(e,t){switch(Ls(t),t.tag){case 1:return Ft(t.type)&&Va(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Ye(jt),Ye(Ct),$s(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Us(t),null;case 13:if(Ye(Xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ye(Xe),null;case 4:return wo(),null;case 10:return Ms(t.type._context),null;case 22:case 23:return Sl(),null;case 24:return null;default:return null}}var di=!1,Pt=!1,lm=typeof WeakSet=="function"?WeakSet:Set,ue=null;function ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){rt(e,t,i)}else n.current=null}function ll(e,t,n){try{n()}catch(i){rt(e,t,i)}}var fd=!1;function um(e,t){if(Ss=Da,e=Wu(),fs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var u=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{n.nodeType,d.nodeType}catch{n=null;break e}var y=0,w=-1,b=-1,I=0,$=0,V=e,B=null;t:for(;;){for(var re;V!==n||u!==0&&V.nodeType!==3||(w=y+u),V!==d||i!==0&&V.nodeType!==3||(b=y+i),V.nodeType===3&&(y+=V.nodeValue.length),(re=V.firstChild)!==null;)B=V,V=re;for(;;){if(V===e)break t;if(B===n&&++I===u&&(w=y),B===d&&++$===i&&(b=y),(re=V.nextSibling)!==null)break;V=B,B=V.parentNode}V=re}n=w===-1||b===-1?null:{start:w,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(ks={focusedElem:e,selectionRange:n},Da=!1,ue=t;ue!==null;)if(t=ue,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ue=e;else for(;ue!==null;){t=ue;try{var he=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(he!==null){var ge=he.memoizedProps,st=he.memoizedState,L=t.stateNode,P=L.getSnapshotBeforeUpdate(t.elementType===t.type?ge:wn(t.type,ge),st);L.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(Q){rt(t,t.return,Q)}if(e=t.sibling,e!==null){e.return=t.return,ue=e;break}ue=t.return}return he=fd,fd=!1,he}function aa(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var u=i=i.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&ll(t,n,d)}u=u.next}while(u!==i)}}function fi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function ul(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function pd(e){var t=e.alternate;t!==null&&(e.alternate=null,pd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[Qo],delete t[Cs],delete t[Vh],delete t[Kh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hd(e){return e.tag===5||e.tag===3||e.tag===4}function md(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hd(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.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 cl(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ha));else if(i!==4&&(e=e.child,e!==null))for(cl(e,t,n),e=e.sibling;e!==null;)cl(e,t,n),e=e.sibling}function dl(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(dl(e,t,n),e=e.sibling;e!==null;)dl(e,t,n),e=e.sibling}var kt=null,Sn=!1;function wr(e,t,n){for(n=n.child;n!==null;)gd(e,t,n),n=n.sibling}function gd(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Vn,n)}catch{}switch(n.tag){case 5:Pt||ko(n,t);case 6:var i=kt,u=Sn;kt=null,wr(e,t,n),kt=i,Sn=u,kt!==null&&(Sn?(e=kt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):kt.removeChild(n.stateNode));break;case 18:kt!==null&&(Sn?(e=kt,n=n.stateNode,e.nodeType===8?bs(e.parentNode,n):e.nodeType===1&&bs(e,n),jo(e)):bs(kt,n.stateNode));break;case 4:i=kt,u=Sn,kt=n.stateNode.containerInfo,Sn=!0,wr(e,t,n),kt=i,Sn=u;break;case 0:case 11:case 14:case 15:if(!Pt&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){u=i=i.next;do{var d=u,y=d.destroy;d=d.tag,y!==void 0&&((d&2)!==0||(d&4)!==0)&&ll(n,t,y),u=u.next}while(u!==i)}wr(e,t,n);break;case 1:if(!Pt&&(ko(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(w){rt(n,t,w)}wr(e,t,n);break;case 21:wr(e,t,n);break;case 22:n.mode&1?(Pt=(i=Pt)||n.memoizedState!==null,wr(e,t,n),Pt=i):wr(e,t,n);break;default:wr(e,t,n)}}function yd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new lm),t.forEach(function(i){var u=vm.bind(null,e,i);n.has(i)||(n.add(i),i.then(u,u))})}}function kn(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var u=n[i];try{var d=e,y=t,w=y;e:for(;w!==null;){switch(w.tag){case 5:kt=w.stateNode,Sn=!1;break e;case 3:kt=w.stateNode.containerInfo,Sn=!0;break e;case 4:kt=w.stateNode.containerInfo,Sn=!0;break e}w=w.return}if(kt===null)throw Error(a(160));gd(d,y,u),kt=null,Sn=!1;var b=u.alternate;b!==null&&(b.return=null),u.return=null}catch(I){rt(u,t,I)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)vd(t,e),t=t.sibling}function vd(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kn(t,e),Mn(e),i&4){try{aa(3,e,e.return),fi(3,e)}catch(ge){rt(e,e.return,ge)}try{aa(5,e,e.return)}catch(ge){rt(e,e.return,ge)}}break;case 1:kn(t,e),Mn(e),i&512&&n!==null&&ko(n,n.return);break;case 5:if(kn(t,e),Mn(e),i&512&&n!==null&&ko(n,n.return),e.flags&32){var u=e.stateNode;try{Nt(u,"")}catch(ge){rt(e,e.return,ge)}}if(i&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,y=n!==null?n.memoizedProps:d,w=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{w==="input"&&d.type==="radio"&&d.name!=null&&Vt(u,d),or(w,y);var I=or(w,d);for(y=0;y<b.length;y+=2){var $=b[y],V=b[y+1];$==="style"?Mt(u,V):$==="dangerouslySetInnerHTML"?bt(u,V):$==="children"?Nt(u,V):W(u,$,V,I)}switch(w){case"input":hn(u,d);break;case"textarea":tn(u,d);break;case"select":var B=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var re=d.value;re!=null?Cn(u,!!d.multiple,re,!1):B!==!!d.multiple&&(d.defaultValue!=null?Cn(u,!!d.multiple,d.defaultValue,!0):Cn(u,!!d.multiple,d.multiple?[]:"",!1))}u[Qo]=d}catch(ge){rt(e,e.return,ge)}}break;case 6:if(kn(t,e),Mn(e),i&4){if(e.stateNode===null)throw Error(a(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(ge){rt(e,e.return,ge)}}break;case 3:if(kn(t,e),Mn(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{jo(t.containerInfo)}catch(ge){rt(e,e.return,ge)}break;case 4:kn(t,e),Mn(e);break;case 13:kn(t,e),Mn(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(hl=$e())),i&4&&yd(e);break;case 22:if($=n!==null&&n.memoizedState!==null,e.mode&1?(Pt=(I=Pt)||$,kn(t,e),Pt=I):kn(t,e),Mn(e),i&8192){if(I=e.memoizedState!==null,(e.stateNode.isHidden=I)&&!$&&(e.mode&1)!==0)for(ue=e,$=e.child;$!==null;){for(V=ue=$;ue!==null;){switch(B=ue,re=B.child,B.tag){case 0:case 11:case 14:case 15:aa(4,B,B.return);break;case 1:ko(B,B.return);var he=B.stateNode;if(typeof he.componentWillUnmount=="function"){i=B,n=B.return;try{t=i,he.props=t.memoizedProps,he.state=t.memoizedState,he.componentWillUnmount()}catch(ge){rt(i,n,ge)}}break;case 5:ko(B,B.return);break;case 22:if(B.memoizedState!==null){kd(V);continue}}re!==null?(re.return=B,ue=re):kd(V)}$=$.sibling}e:for($=null,V=e;;){if(V.tag===5){if($===null){$=V;try{u=V.stateNode,I?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(w=V.stateNode,b=V.memoizedProps.style,y=b!=null&&b.hasOwnProperty("display")?b.display:null,w.style.display=to("display",y))}catch(ge){rt(e,e.return,ge)}}}else if(V.tag===6){if($===null)try{V.stateNode.nodeValue=I?"":V.memoizedProps}catch(ge){rt(e,e.return,ge)}}else if((V.tag!==22&&V.tag!==23||V.memoizedState===null||V===e)&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===e)break e;for(;V.sibling===null;){if(V.return===null||V.return===e)break e;$===V&&($=null),V=V.return}$===V&&($=null),V.sibling.return=V.return,V=V.sibling}}break;case 19:kn(t,e),Mn(e),i&4&&yd(e);break;case 21:break;default:kn(t,e),Mn(e)}}function Mn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(hd(n)){var i=n;break e}n=n.return}throw Error(a(160))}switch(i.tag){case 5:var u=i.stateNode;i.flags&32&&(Nt(u,""),i.flags&=-33);var d=md(e);dl(e,d,u);break;case 3:case 4:var y=i.stateNode.containerInfo,w=md(e);cl(e,w,y);break;default:throw Error(a(161))}}catch(b){rt(e,e.return,b)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function cm(e,t,n){ue=e,wd(e)}function wd(e,t,n){for(var i=(e.mode&1)!==0;ue!==null;){var u=ue,d=u.child;if(u.tag===22&&i){var y=u.memoizedState!==null||di;if(!y){var w=u.alternate,b=w!==null&&w.memoizedState!==null||Pt;w=di;var I=Pt;if(di=y,(Pt=b)&&!I)for(ue=u;ue!==null;)y=ue,b=y.child,y.tag===22&&y.memoizedState!==null?xd(u):b!==null?(b.return=y,ue=b):xd(u);for(;d!==null;)ue=d,wd(d),d=d.sibling;ue=u,di=w,Pt=I}Sd(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,ue=d):Sd(e)}}function Sd(e){for(;ue!==null;){var t=ue;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Pt||fi(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!Pt)if(n===null)i.componentDidMount();else{var u=t.elementType===t.type?n.memoizedProps:wn(t.type,n.memoizedProps);i.componentDidUpdate(u,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&kc(t,d,i);break;case 3:var y=t.updateQueue;if(y!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}kc(t,y,n)}break;case 5:var w=t.stateNode;if(n===null&&t.flags&4){n=w;var b=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":b.autoFocus&&n.focus();break;case"img":b.src&&(n.src=b.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var I=t.alternate;if(I!==null){var $=I.memoizedState;if($!==null){var V=$.dehydrated;V!==null&&jo(V)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}Pt||t.flags&512&&ul(t)}catch(B){rt(t,t.return,B)}}if(t===e){ue=null;break}if(n=t.sibling,n!==null){n.return=t.return,ue=n;break}ue=t.return}}function kd(e){for(;ue!==null;){var t=ue;if(t===e){ue=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ue=n;break}ue=t.return}}function xd(e){for(;ue!==null;){var t=ue;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fi(4,t)}catch(b){rt(t,n,b)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var u=t.return;try{i.componentDidMount()}catch(b){rt(t,u,b)}}var d=t.return;try{ul(t)}catch(b){rt(t,d,b)}break;case 5:var y=t.return;try{ul(t)}catch(b){rt(t,y,b)}}}catch(b){rt(t,t.return,b)}if(t===e){ue=null;break}var w=t.sibling;if(w!==null){w.return=t.return,ue=w;break}ue=t.return}}var dm=Math.ceil,pi=q.ReactCurrentDispatcher,fl=q.ReactCurrentOwner,un=q.ReactCurrentBatchConfig,Fe=0,vt=null,dt=null,xt=0,Xt=0,xo=hr(0),mt=0,ia=null,Vr=0,hi=0,pl=0,sa=null,Ut=null,hl=0,Eo=1/0,tr=null,mi=!1,ml=null,Sr=null,gi=!1,kr=null,yi=0,la=0,gl=null,vi=-1,wi=0;function _t(){return(Fe&6)!==0?$e():vi!==-1?vi:vi=$e()}function xr(e){return(e.mode&1)===0?1:(Fe&2)!==0&&xt!==0?xt&-xt:Qh.transition!==null?(wi===0&&(wi=mu()),wi):(e=He,e!==0||(e=window.event,e=e===void 0?16:bu(e.type)),e)}function xn(e,t,n,i){if(50<la)throw la=0,gl=null,Error(a(185));Ao(e,n,i),((Fe&2)===0||e!==vt)&&(e===vt&&((Fe&2)===0&&(hi|=n),mt===4&&Er(e,xt)),Bt(e,i),n===1&&Fe===0&&(t.mode&1)===0&&(Eo=$e()+500,Ya&&gr()))}function Bt(e,t){var n=e.callbackNode;Qp(e,t);var i=Pa(e,e===vt?xt:0);if(i===0)n!==null&>(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&>(n),t===1)e.tag===0?Yh(bd.bind(null,e)):uc(bd.bind(null,e)),Hh(function(){(Fe&6)===0&&gr()}),n=null;else{switch(gu(i)){case 1:n=rn;break;case 4:n=Qt;break;case 16:n=ar;break;case 536870912:n=Dn;break;default:n=ar}n=Ad(n,Ed.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ed(e,t){if(vi=-1,wi=0,(Fe&6)!==0)throw Error(a(327));var n=e.callbackNode;if(bo()&&e.callbackNode!==n)return null;var i=Pa(e,e===vt?xt:0);if(i===0)return null;if((i&30)!==0||(i&e.expiredLanes)!==0||t)t=Si(e,i);else{t=i;var u=Fe;Fe|=2;var d=Rd();(vt!==e||xt!==t)&&(tr=null,Eo=$e()+500,Yr(e,t));do try{hm();break}catch(w){Cd(e,w)}while(!0);_s(),pi.current=d,Fe=u,dt!==null?t=0:(vt=null,xt=0,t=mt)}if(t!==0){if(t===2&&(u=Gi(e),u!==0&&(i=u,t=yl(e,u))),t===1)throw n=ia,Yr(e,0),Er(e,i),Bt(e,$e()),n;if(t===6)Er(e,i);else{if(u=e.current.alternate,(i&30)===0&&!fm(u)&&(t=Si(e,i),t===2&&(d=Gi(e),d!==0&&(i=d,t=yl(e,d))),t===1))throw n=ia,Yr(e,0),Er(e,i),Bt(e,$e()),n;switch(e.finishedWork=u,e.finishedLanes=i,t){case 0:case 1:throw Error(a(345));case 2:Qr(e,Ut,tr);break;case 3:if(Er(e,i),(i&130023424)===i&&(t=hl+500-$e(),10<t)){if(Pa(e,0)!==0)break;if(u=e.suspendedLanes,(u&i)!==i){_t(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=Es(Qr.bind(null,e,Ut,tr),t);break}Qr(e,Ut,tr);break;case 4:if(Er(e,i),(i&4194240)===i)break;for(t=e.eventTimes,u=-1;0<i;){var y=31-We(i);d=1<<y,y=t[y],y>u&&(u=y),i&=~d}if(i=u,i=$e()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*dm(i/1960))-i,10<i){e.timeoutHandle=Es(Qr.bind(null,e,Ut,tr),i);break}Qr(e,Ut,tr);break;case 5:Qr(e,Ut,tr);break;default:throw Error(a(329))}}}return Bt(e,$e()),e.callbackNode===n?Ed.bind(null,e):null}function yl(e,t){var n=sa;return e.current.memoizedState.isDehydrated&&(Yr(e,t).flags|=256),e=Si(e,t),e!==2&&(t=Ut,Ut=n,t!==null&&vl(t)),e}function vl(e){Ut===null?Ut=e:Ut.push.apply(Ut,e)}function fm(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var u=n[i],d=u.getSnapshot;u=u.value;try{if(!yn(d(),u))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 Er(e,t){for(t&=~pl,t&=~hi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-We(t),i=1<<n;e[n]=-1,t&=~i}}function bd(e){if((Fe&6)!==0)throw Error(a(327));bo();var t=Pa(e,0);if((t&1)===0)return Bt(e,$e()),null;var n=Si(e,t);if(e.tag!==0&&n===2){var i=Gi(e);i!==0&&(t=i,n=yl(e,i))}if(n===1)throw n=ia,Yr(e,0),Er(e,t),Bt(e,$e()),n;if(n===6)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qr(e,Ut,tr),Bt(e,$e()),null}function wl(e,t){var n=Fe;Fe|=1;try{return e(t)}finally{Fe=n,Fe===0&&(Eo=$e()+500,Ya&&gr())}}function Kr(e){kr!==null&&kr.tag===0&&(Fe&6)===0&&bo();var t=Fe;Fe|=1;var n=un.transition,i=He;try{if(un.transition=null,He=1,e)return e()}finally{He=i,un.transition=n,Fe=t,(Fe&6)===0&&gr()}}function Sl(){Xt=xo.current,Ye(xo)}function Yr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,$h(n)),dt!==null)for(n=dt.return;n!==null;){var i=n;switch(Ls(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&Va();break;case 3:wo(),Ye(jt),Ye(Ct),$s();break;case 5:Us(i);break;case 4:wo();break;case 13:Ye(Xe);break;case 19:Ye(Xe);break;case 10:Ms(i.type._context);break;case 22:case 23:Sl()}n=n.return}if(vt=e,dt=e=br(e.current,null),xt=Xt=t,mt=0,ia=null,pl=hi=Vr=0,Ut=sa=null,$r!==null){for(t=0;t<$r.length;t++)if(n=$r[t],i=n.interleaved,i!==null){n.interleaved=null;var u=i.next,d=n.pending;if(d!==null){var y=d.next;d.next=u,i.next=y}n.pending=i}$r=null}return e}function Cd(e,t){do{var n=dt;try{if(_s(),ri.current=si,oi){for(var i=Ze.memoizedState;i!==null;){var u=i.queue;u!==null&&(u.pending=null),i=i.next}oi=!1}if(Wr=0,yt=ht=Ze=null,ea=!1,ta=0,fl.current=null,n===null||n.return===null){mt=1,ia=t,dt=null;break}e:{var d=e,y=n.return,w=n,b=t;if(t=xt,w.flags|=32768,b!==null&&typeof b=="object"&&typeof b.then=="function"){var I=b,$=w,V=$.tag;if(($.mode&1)===0&&(V===0||V===11||V===15)){var B=$.alternate;B?($.updateQueue=B.updateQueue,$.memoizedState=B.memoizedState,$.lanes=B.lanes):($.updateQueue=null,$.memoizedState=null)}var re=Gc(y);if(re!==null){re.flags&=-257,Jc(re,y,w,d,t),re.mode&1&&qc(d,I,t),t=re,b=I;var he=t.updateQueue;if(he===null){var ge=new Set;ge.add(b),t.updateQueue=ge}else he.add(b);break e}else{if((t&1)===0){qc(d,I,t),kl();break e}b=Error(a(426))}}else if(qe&&w.mode&1){var st=Gc(y);if(st!==null){(st.flags&65536)===0&&(st.flags|=256),Jc(st,y,w,d,t),As(So(b,w));break e}}d=b=So(b,w),mt!==4&&(mt=2),sa===null?sa=[d]:sa.push(d),d=y;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var L=Yc(d,b,t);Sc(d,L);break e;case 1:w=b;var P=d.type,A=d.stateNode;if((d.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(Sr===null||!Sr.has(A)))){d.flags|=65536,t&=-t,d.lanes|=t;var Q=Qc(d,w,t);Sc(d,Q);break e}}d=d.return}while(d!==null)}Pd(n)}catch(we){t=we,dt===n&&n!==null&&(dt=n=n.return);continue}break}while(!0)}function Rd(){var e=pi.current;return pi.current=si,e===null?si:e}function kl(){(mt===0||mt===3||mt===2)&&(mt=4),vt===null||(Vr&268435455)===0&&(hi&268435455)===0||Er(vt,xt)}function Si(e,t){var n=Fe;Fe|=2;var i=Rd();(vt!==e||xt!==t)&&(tr=null,Yr(e,t));do try{pm();break}catch(u){Cd(e,u)}while(!0);if(_s(),Fe=n,pi.current=i,dt!==null)throw Error(a(261));return vt=null,xt=0,mt}function pm(){for(;dt!==null;)Td(dt)}function hm(){for(;dt!==null&&!Be();)Td(dt)}function Td(e){var t=Dd(e.alternate,e,Xt);e.memoizedProps=e.pendingProps,t===null?Pd(e):dt=t,fl.current=null}function Pd(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=im(n,t,Xt),n!==null){dt=n;return}}else{if(n=sm(n,t),n!==null){n.flags&=32767,dt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{mt=6,dt=null;return}}if(t=t.sibling,t!==null){dt=t;return}dt=t=e}while(t!==null);mt===0&&(mt=5)}function Qr(e,t,n){var i=He,u=un.transition;try{un.transition=null,He=1,mm(e,t,n,i)}finally{un.transition=u,He=i}return null}function mm(e,t,n,i){do bo();while(kr!==null);if((Fe&6)!==0)throw Error(a(327));n=e.finishedWork;var u=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var d=n.lanes|n.childLanes;if(qp(e,d),e===vt&&(dt=vt=null,xt=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||gi||(gi=!0,Ad(ar,function(){return bo(),null})),d=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||d){d=un.transition,un.transition=null;var y=He;He=1;var w=Fe;Fe|=4,fl.current=null,um(e,n),vd(n,e),Mh(ks),Da=!!Ss,ks=Ss=null,e.current=n,cm(n),It(),Fe=w,He=y,un.transition=d}else e.current=n;if(gi&&(gi=!1,kr=e,yi=u),d=e.pendingLanes,d===0&&(Sr=null),je(n.stateNode),Bt(e,$e()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)u=t[n],i(u.value,{componentStack:u.stack,digest:u.digest});if(mi)throw mi=!1,e=ml,ml=null,e;return(yi&1)!==0&&e.tag!==0&&bo(),d=e.pendingLanes,(d&1)!==0?e===gl?la++:(la=0,gl=e):la=0,gr(),null}function bo(){if(kr!==null){var e=gu(yi),t=un.transition,n=He;try{if(un.transition=null,He=16>e?16:e,kr===null)var i=!1;else{if(e=kr,kr=null,yi=0,(Fe&6)!==0)throw Error(a(331));var u=Fe;for(Fe|=4,ue=e.current;ue!==null;){var d=ue,y=d.child;
vendor: 5,079 bytes, line 41
41if((ue.flags&16)!==0){var w=d.deletions;if(w!==null){for(var b=0;b<w.length;b++){var I=w[b];for(ue=I;ue!==null;){var $=ue;switch($.tag){case 0:case 11:case 15:aa(8,$,d)}var V=$.child;if(V!==null)V.return=$,ue=V;else for(;ue!==null;){$=ue;var B=$.sibling,re=$.return;if(pd($),$===I){ue=null;break}if(B!==null){B.return=re,ue=B;break}ue=re}}}var he=d.alternate;if(he!==null){var ge=he.child;if(ge!==null){he.child=null;do{var st=ge.sibling;ge.sibling=null,ge=st}while(ge!==null)}}ue=d}}if((d.subtreeFlags&2064)!==0&&y!==null)y.return=d,ue=y;else e:for(;ue!==null;){if(d=ue,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:aa(9,d,d.return)}var L=d.sibling;if(L!==null){L.return=d.return,ue=L;break e}ue=d.return}}var P=e.current;for(ue=P;ue!==null;){y=ue;var A=y.child;if((y.subtreeFlags&2064)!==0&&A!==null)A.return=y,ue=A;else e:for(y=P;ue!==null;){if(w=ue,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:fi(9,w)}}catch(we){rt(w,w.return,we)}if(w===y){ue=null;break e}var Q=w.sibling;if(Q!==null){Q.return=w.return,ue=Q;break e}ue=w.return}}if(Fe=u,gr(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Vn,e)}catch{}i=!0}return i}finally{He=n,un.transition=t}}return!1}function Ld(e,t,n){t=So(n,t),t=Yc(e,t,1),e=vr(e,t,1),t=_t(),e!==null&&(Ao(e,1,t),Bt(e,t))}function rt(e,t,n){if(e.tag===3)Ld(e,e,n);else for(;t!==null;){if(t.tag===3){Ld(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Sr===null||!Sr.has(i))){e=So(n,e),e=Qc(t,e,1),t=vr(t,e,1),e=_t(),t!==null&&(Ao(t,1,e),Bt(t,e));break}}t=t.return}}function gm(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=_t(),e.pingedLanes|=e.suspendedLanes&n,vt===e&&(xt&n)===n&&(mt===4||mt===3&&(xt&130023424)===xt&&500>$e()-hl?Yr(e,0):pl|=n),Bt(e,t)}function Nd(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ir,Ir<<=1,(Ir&130023424)===0&&(Ir=4194304)));var n=_t();e=Xn(e,t),e!==null&&(Ao(e,t,n),Bt(e,n))}function ym(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Nd(e,n)}function vm(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,u=e.memoizedState;u!==null&&(n=u.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(a(314))}i!==null&&i.delete(t),Nd(e,n)}var Dd;Dd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||jt.current)zt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return zt=!1,am(e,t,n);zt=(e.flags&131072)!==0}else zt=!1,qe&&(t.flags&1048576)!==0&&cc(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ci(e,t),e=t.pendingProps;var u=fo(t,Ct.current);vo(t,n),u=Vs(null,t,i,e,u,n);var d=Ks();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ft(i)?(d=!0,Ka(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,Fs(t),u.updater=li,t.stateNode=u,u._reactInternals=t,Xs(t,i,e,n),t=nl(null,t,i,!0,d,n)):(t.tag=0,qe&&d&&Ps(t),Ot(null,t,u,n),t=t.child),t;case 16:i=t.elementType;e:{switch(ci(e,t),e=t.pendingProps,u=i._init,i=u(i._payload),t.type=i,u=t.tag=Sm(i),e=wn(i,e),u){case 0:t=tl(null,t,i,e,n);break e;case 1:t=rd(null,t,i,e,n);break e;case 11:t=Xc(null,t,i,e,n);break e;case 14:t=Zc(null,t,i,wn(i.type,e),n);break e}throw Error(a(306,i,""))}return t;case 0:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:wn(i,u),tl(e,t,i,u,n);case 1:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:wn(i,u),rd(e,t,i,u,n);case 3:e:{if(od(t),e===null)throw Error(a(387));i=t.pendingProps,d=t.memoizedState,u=d.element,wc(e,t),ti(t,i,null,n);var y=t.memoizedState;if(i=y.element,d.isDehydrated)if(d={element:i,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=So(Error(a(423)),t),t=ad(e,t,i,n,u);break e}else if(i!==u){u=So(Error(a(424)),t),t=ad(e,t,i,n,u);break e}else for(Jt=pr(t.stateNode.containerInfo.firstChild),Gt=t,qe=!0,vn=null,n=yc(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mo(),i===u){t=er(e,t,n);break e}Ot(e,t,i,n)}t=t.child}return t;case 5:return xc(t),e===null&&Ds(t),i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,y=u.children,xs(i,u)?y=null:d!==null&&xs(i,d)&&(t.flags|=32),nd(e,t),Ot(e,t,y,n),t.child;case 6:return e===null&&Ds(t),null;case 13:return id(e,t,n);case 4:return zs(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=go(t,null,i,n):Ot(e,t,i,n),t.child;case 11:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:wn(i,u),Xc(e,t,i,u,n);case 7:return Ot(e,t,t.pendingProps,n),t.child;case 8:return Ot(e,t,t.pendingProps.children,n),t.child;case 12:return Ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,u=t.pendingProps,d=t.memoizedProps,y=u.value,Ve(Xa,i._currentValue),i._currentValue=y,d!==null)if(yn(d.value,y)){if(d.children===u.children&&!jt.current){t=er(e,t,n);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var w=d.dependencies;if(w!==null){y=d.child;for(var b=w.firstContext;b!==null;
vendor: 10,935 bytes, line 41
41){if(b.context===i){if(d.tag===1){b=Zn(-1,n&-n),b.tag=2;var I=d.updateQueue;if(I!==null){I=I.shared;var $=I.pending;$===null?b.next=b:(b.next=$.next,$.next=b),I.pending=b}}d.lanes|=n,b=d.alternate,b!==null&&(b.lanes|=n),Is(d.return,n,t),w.lanes|=n;break}b=b.next}}else if(d.tag===10)y=d.type===t.type?null:d.child;else if(d.tag===18){if(y=d.return,y===null)throw Error(a(341));y.lanes|=n,w=y.alternate,w!==null&&(w.lanes|=n),Is(y,n,t),y=d.sibling}else y=d.child;if(y!==null)y.return=d;else for(y=d;y!==null;){if(y===t){y=null;break}if(d=y.sibling,d!==null){d.return=y.return,y=d;break}y=y.return}d=y}Ot(e,t,u.children,n),t=t.child}return t;case 9:return u=t.type,i=t.pendingProps.children,vo(t,n),u=sn(u),i=i(u),t.flags|=1,Ot(e,t,i,n),t.child;case 14:return i=t.type,u=wn(i,t.pendingProps),u=wn(i.type,u),Zc(e,t,i,u,n);case 15:return ed(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:wn(i,u),ci(e,t),t.tag=1,Ft(i)?(e=!0,Ka(t)):e=!1,vo(t,n),Vc(t,i,u),Xs(t,i,u,n),nl(null,t,i,!0,e,n);case 19:return ld(e,t,n);case 22:return td(e,t,n)}throw Error(a(156,t.tag))};function Ad(e,t){return it(e,t)}function wm(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function cn(e,t,n,i){return new wm(e,t,n,i)}function xl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sm(e){if(typeof e=="function")return xl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fe)return 11;if(e===Ee)return 14}return 2}function br(e,t){var n=e.alternate;return n===null?(n=cn(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&14680064,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}function ki(e,t,n,i,u,d){var y=2;if(i=e,typeof e=="function")xl(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case N:return qr(n.children,u,d,t);case te:y=8,u|=8;break;case oe:return e=cn(12,n,t,u|2),e.elementType=oe,e.lanes=d,e;case ae:return e=cn(13,n,t,u),e.elementType=ae,e.lanes=d,e;case ie:return e=cn(19,n,t,u),e.elementType=ie,e.lanes=d,e;case ne:return xi(n,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case de:y=10;break e;case Re:y=9;break e;case fe:y=11;break e;case Ee:y=14;break e;case K:y=16,i=null;break e}throw Error(a(130,e==null?e:typeof e,""))}return t=cn(y,n,t,u),t.elementType=e,t.type=i,t.lanes=d,t}function qr(e,t,n,i){return e=cn(7,e,i,t),e.lanes=n,e}function xi(e,t,n,i){return e=cn(22,e,i,t),e.elementType=ne,e.lanes=n,e.stateNode={isHidden:!1},e}function El(e,t,n){return e=cn(6,e,null,t),e.lanes=n,e}function bl(e,t,n){return t=cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function km(e,t,n,i,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ji(0),this.expirationTimes=Ji(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ji(0),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Cl(e,t,n,i,u,d,y,w,b){return e=new km(e,t,n,w,b),t===1?(t=1,d===!0&&(t|=8)):t=0,d=cn(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fs(d),e}function xm(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Se,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function Od(e){if(!e)return mr;e=e._reactInternals;e:{if(me(e)!==e||e.tag!==1)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(a(171))}if(e.tag===1){var n=e.type;if(Ft(n))return sc(e,n,t)}return t}function _d(e,t,n,i,u,d,y,w,b){return e=Cl(n,i,!0,e,u,d,y,w,b),e.context=Od(null),n=e.current,i=_t(),u=xr(n),d=Zn(i,u),d.callback=t??null,vr(n,d,u),e.current.lanes=u,Ao(e,u,i),Bt(e,i),e}function Ei(e,t,n,i){var u=t.current,d=_t(),y=xr(u);return n=Od(n),t.context===null?t.context=n:t.pendingContext=n,t=Zn(d,y),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=vr(u,t,y),e!==null&&(xn(e,u,y,d),ei(e,u,y)),y}function bi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Md(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Rl(e,t){Md(e,t),(e=e.alternate)&&Md(e,t)}function Em(){return null}var Id=typeof reportError=="function"?reportError:function(e){console.error(e)};function Tl(e){this._internalRoot=e}Ci.prototype.render=Tl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(a(409));Ei(e,t,null,null)},Ci.prototype.unmount=Tl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kr(function(){Ei(null,e,null,null)}),t[Qn]=null}};function Ci(e){this._internalRoot=e}Ci.prototype.unstable_scheduleHydration=function(e){if(e){var t=wu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cr.length&&t!==0&&t<cr[n].priority;n++);cr.splice(n,0,e),n===0&&xu(e)}};function Pl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ri(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function jd(){}function bm(e,t,n,i,u){if(u){if(typeof i=="function"){var d=i;i=function(){var I=bi(y);d.call(I)}}var y=_d(t,i,e,0,null,!1,!1,"",jd);return e._reactRootContainer=y,e[Qn]=y.current,Ko(e.nodeType===8?e.parentNode:e),Kr(),y}for(;u=e.lastChild;)e.removeChild(u);if(typeof i=="function"){var w=i;i=function(){var I=bi(b);w.call(I)}}var b=Cl(e,0,!1,null,null,!1,!1,"",jd);return e._reactRootContainer=b,e[Qn]=b.current,Ko(e.nodeType===8?e.parentNode:e),Kr(function(){Ei(t,b,n,i)}),b}function Ti(e,t,n,i,u){var d=n._reactRootContainer;if(d){var y=d;if(typeof u=="function"){var w=u;u=function(){var b=bi(y);w.call(b)}}Ei(t,y,e,u)}else y=bm(n,t,e,u,i);return bi(y)}yu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=jr(t.pendingLanes);n!==0&&(Xi(t,n|1),Bt(t,$e()),(Fe&6)===0&&(Eo=$e()+500,gr()))}break;case 13:Kr(function(){var i=Xn(e,1);if(i!==null){var u=_t();xn(i,e,1,u)}}),Rl(e,1)}},Zi=function(e){if(e.tag===13){var t=Xn(e,134217728);if(t!==null){var n=_t();xn(t,e,134217728,n)}Rl(e,134217728)}},vu=function(e){if(e.tag===13){var t=xr(e),n=Xn(e,t);if(n!==null){var i=_t();xn(n,e,t,i)}Rl(e,t)}},wu=function(){return He},Su=function(e,t){var n=He;try{return He=e,t()}finally{He=n}},Ln=function(e,t,n){switch(t){case"input":if(hn(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var u=Wa(i);if(!u)throw Error(a(90));tt(i),hn(i,u)}}}break;case"textarea":tn(e,n);break;case"select":t=n.value,t!=null&&Cn(e,!!n.multiple,t,!1)}},nt=wl,at=Kr;var Cm={usingClientEntryPoint:!1,Events:[qo,uo,Wa,Pe,Ge,wl]},ua={findFiberByHostInstance:Fr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Rm={bundleType:ua.bundleType,version:ua.version,rendererPackageName:ua.rendererPackageName,rendererConfig:ua.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ie(e),e===null?null:e.stateNode},findFiberByHostInstance:ua.findFiberByHostInstance||Em,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Pi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pi.isDisabled&&Pi.supportsFiber)try{Vn=Pi.inject(Rm),At=Pi}catch{}}return $t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cm,$t.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pl(t))throw Error(a(200));return xm(e,t,null,n)},$t.createRoot=function(e,t){if(!Pl(e))throw Error(a(299));var n=!1,i="",u=Id;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Cl(e,1,!1,null,null,n,!1,i,u),e[Qn]=t.current,Ko(e.nodeType===8?e.parentNode:e),new Tl(t)},$t.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(a(188)):(e=Object.keys(e).join(","),Error(a(268,e)));return e=Ie(t),e=e===null?null:e.stateNode,e},$t.flushSync=function(e){return Kr(e)},$t.hydrate=function(e,t,n){if(!Ri(t))throw Error(a(200));return Ti(null,e,t,!0,n)},$t.hydrateRoot=function(e,t,n){if(!Pl(e))throw Error(a(405));var i=n!=null&&n.hydratedSources||null,u=!1,d="",y=Id;if(n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(d=n.identifierPrefix),n.onRecoverableError!==void 0&&(y=n.onRecoverableError)),t=_d(t,null,e,1,n??null,u,!1,d,y),e[Qn]=t.current,Ko(e),i)for(e=0;e<i.length;e++)n=i[e],u=n._getVersion,u=u(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,u]:t.mutableSourceEagerHydrationData.push(n,u);return new Ci(t)},$t.render=function(e,t,n){if(!Ri(t))throw Error(a(200));return Ti(null,e,t,!1,n)},$t.unmountComponentAtNode=function(e){if(!Ri(e))throw Error(a(40));return e._reactRootContainer?(Kr(function(){Ti(null,null,e,!1,function(){e._reactRootContainer=null,e[Qn]=null})}),!0):!1},$t.unstable_batchedUpdates=wl,$t.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Ri(n))throw Error(a(200));if(e==null||e._reactInternals===void 0)throw Error(a(38));return Ti(e,t,n,!1,i)},$t.version="18.3.1-next-f1338f8080-20240426",$t}var Kd;
41function Yf(){if(Kd)return Dl.exports;Kd=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(r){console.error(r)}}return o(),Dl.exports=Im(),Dl.exports}var Yd;function jm(){if(Yd)return Li;Yd=1;var o=Yf();return Li.createRoot=o.createRoot,Li.hydrateRoot=o.hydrateRoot,Li}var Fm=jm(),C=Hi();const Z=Kf(C),zm=Pm({__proto__:null,default:Z},[C]);/** 42 * react-router v7.13.0 43 * 44 * Copyright (c) Remix Software Inc. 45 * 46 * This source code is licensed under the MIT license found in the 47 * LICENSE.md file in the root directory of this source tree. 48 * 49 * @license MIT 50 */var Qf=o=>{throw TypeError(o)},Um=(o,r,a)=>r.has(o)||Qf("Cannot "+a),_l=(o,r,a)=>(Um(o,r,"read from private field"),a?a.call(o):r.get(o)),Bm=(o,r,a)=>r.has(o)?Qf("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(o):r.set(o,a),Qd="popstate";function $m(o={}){function r(s,l){let{pathname:c,search:f,hash:p}=s.location;return Sa("",{pathname:c,search:f,hash:p},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function a(s,l){return typeof l=="string"?l:Un(l)}return Wm(r,a,null,o)}function Oe(o,r){if(o===!1||o===null||typeof o>"u")throw new Error(r)}function lt(o,r){if(!o){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Hm(){return Math.random().toString(36).substring(2,10)}function qd(o,r){return{usr:o.state,key:o.key,idx:r}}function Sa(o,r,a=null,s){return{pathname:typeof o=="string"?o:o.pathname,search:"",hash:"",...typeof r=="string"?Nr(r):r,state:a,key:r&&r.key||s||Hm()}}function Un({pathname:o="/",search:r="",hash:a=""}){return r&&r!=="?"&&(o+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(o+=a.charAt(0)==="#"?a:"#"+a),o}function Nr(o){let r={};if(o){let a=o.indexOf("#");a>=0&&(r.hash=o.substring(a),o=o.substring(0,a));let s=o.indexOf("?");s>=0&&(r.search=o.substring(s),o=o.substring(0,s)),o&&(r.pathname=o)}return r}function Wm(o,r,a,s={}){let{window:l=document.defaultView,v5Compat:c=!1}=s,f=l.history,p="POP",m=null,g=v();g==null&&(g=0,f.replaceState({...f.state,idx:g},""));function v(){return(f.state||{idx:null}).idx}function h(){p="POP";let D=v(),H=D==null?null:D-g;g=D,m&&m({action:p,location:_.location,delta:H})}function k(D,H){p="PUSH";let F=Sa(_.location,D,H);g=v()+1;let W=qd(F,g),q=_.createHref(F);try{f.pushState(W,"",q)}catch(ee){if(ee instanceof DOMException&&ee.name==="DataCloneError")throw ee;l.location.assign(q)}c&&m&&m({action:p,location:_.location,delta:1})}function x(D,H){p="REPLACE";let F=Sa(_.location,D,H);g=v();let W=qd(F,g),q=_.createHref(F);f.replaceState(W,"",q),c&&m&&m({action:p,location:_.location,delta:0})}function R(D){return qf(D)}let _={get action(){return p},get location(){return o(l,f)},listen(D){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(Qd,h),m=D,()=>{l.removeEventListener(Qd,h),m=null}},createHref(D){return r(l,D)},createURL:R,encodeLocation(D){let H=R(D);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:k,replace:x,go(D){return f.go(D)}};return _}function qf(o,r=!1){let a="http://localhost";
50typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),Oe(a,"No window.location.(origin|href) available to create URL");let s=typeof o=="string"?o:Un(o);return s=s.replace(/ $/,"%20"),!r&&s.startsWith("//")&&(s=a+s),new URL(s,a)}var ma,Gd=class{constructor(o){if(Bm(this,ma,new Map),o)for(let[r,a]of o)this.set(r,a)}get(o){if(_l(this,ma).has(o))return _l(this,ma).get(o);if(o.defaultValue!==void 0)return o.defaultValue;throw new Error("No value found for context")}set(o,r){_l(this,ma).set(o,r)}};ma=new WeakMap;var Vm=new Set(["lazy","caseSensitive","path","id","index","children"]);function Km(o){return Vm.has(o)}var Ym=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Qm(o){return Ym.has(o)}function qm(o){return o.index===!0}function ka(o,r,a=[],s={},l=!1){return o.map((c,f)=>{let p=[...a,String(f)],m=typeof c.id=="string"?c.id:p.join("-");if(Oe(c.index!==!0||!c.children,"Cannot specify children on an index route"),Oe(l||!s[m],`Found a route id collision on i
50d "${m}". Route id's must be globally unique within Data Router usages`),qm(c)){let g={...c,id:m};return s[m]=Jd(g,r(g)),g}else{let g={...c,id:m,children:void 0};return s[m]=Jd(g,r(g)),c.children&&(g.children=ka(c.children,r,p,s,l)),g}})}function Jd(o,r){return Object.assign(o,{...r,...typeof r.lazy=="object"&&r.lazy!=null?{lazy:{...o.lazy,...r.lazy}}:{}})}function Tr(o,r,a="/"){return ga(o,r,a,!1)}function ga(o,r,a,s){let l=typeof r=="string"?Nr(r):r,c=fn(l.pathname||"/",a);if(c==null)return null;let f=Gf(o);Jm(f);let p=null;for(let m=0;p==null&&m<f.length;++m){let g=lg(c);p=ig(f[m],g,s)}return p}function Gm(o,r){let{route:a,pathname:s,params:l}=o;return{id:a.id,pathname:s,params:l,data:r[a.id],loaderData:r[a.id],handle:a.handle}}function Gf(o,r=[],a=[],s="",l=!1){let c=(f,p,m=l,g)=>{let v={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:p,route:f};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(s)&&m)return;Oe(v.relativePath.startsWith(s),`Absolute route path "${v.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(s.length)}let h=zn([s,v.relativePath]),k=a.concat(v);f.children&&f.children.length>0&&(Oe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Gf(f.children,r,k,h,m)),!(f.path==null&&!f.index)&&r.push({path:h,score:og(h,f.index),routesMeta:k})};return o.forEach((f,p)=>{var m;if(f.path===""||!((m=f.path)!=null&&m.includes("?")))c(f,p);else for(let g of Jf(f.path))c(f,p,!0,g)}),r}function Jf(o){let r=o.split("/");if(r.length===0)return[];let[a,...s]=r,l=a.endsWith("?"),c=a.replace(/\?$/,"");if(s.length===0)return l?[c,""]:[c];let f=Jf(s.join("/")),p=[];return p.push(...f.map(m=>m===""?c:[c,m].join("/"))),l&&p.push(...f),p.map(m=>o.startsWith("/")&&m===""?"/":m)}function Jm(o){o.sort((r,a)=>r.score!==a.score?a.score-r.score:ag(r.routesMeta.map(s=>s.childrenIndex),a.routesMeta.map(s=>s.childrenIndex)))}var Xm=/^:[\w-]+$/,Zm=3,eg=2,tg=1,ng=10,rg=-2,Xd=o=>o==="*";function og(o,r){let a=o.split("/"),s=a.length;return a.some(Xd)&&(s+=rg),r&&(s+=eg),a.filter(l=>!Xd(l)).reduce((l,c)=>l+(Xm.test(c)?Zm:c===""?tg:ng),s)}function ag(o,r){return o.length===r.length&&o.slice(0,-1).every((s,l)=>s===r[l])?o[o.length-1]-r[r.length-1]:0}function ig(o,r,a=!1){let{routesMeta:s}=o,l={},c="/",f=[];for(let p=0;p<s.length;++p){let m=s[p],g=p===s.length-1,v=c==="/"?r:r.slice(c.length)||"/",h=zi({path:m.relativePath,caseSensitive:m.caseSensitive,end:g},v),k=m.route;if(!h&&g&&a&&!s[s.length-1].route.index&&(h=zi({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},v)),!h)return null;
50Object.assign(l,h.params),f.push({params:l,pathname:zn([c,h.pathname]),pathnameBase:dg(zn([c,h.pathnameBase])),route:k}),h.pathnameBase!=="/"&&(c=zn([c,h.pathnameBase]))}return f}function zi(o,r){typeof o=="string"&&(o={path:o,caseSensitive:!1,end:!0});let[a,s]=sg(o.path,o.caseSensitive,o.end),l=r.match(a);if(!l)return null;let c=l[0],f=c.replace(/(.)\/+$/,"$1"),p=l.slice(1);return{params:s.reduce((g,{paramName:v,isOptional:h},k)=>{if(v==="*"){let R=p[k]||"";f=c.slice(0,c.length-R.length).replace(/(.)\/+$/,"$1")}const x=p[k];return h&&!x?g[v]=void 0:g[v]=(x||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:f,pattern:o}}function sg(o,r=!1,a=!0){lt(o==="*"||!o.endsWith("*")||o.endsWith("/*"),`Route path "${o}" will be treated as if it were "${o.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${o.replace(/\*$/,"/*")}".`);let s=[],l="^"+o.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,p,m)=>(s.push({paramName:p,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return o.endsWith("*")?(s.push({paramName:"*"}),l+=o==="*"||o==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":o!==""&&o!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),s]}function lg(o){try{return o.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return lt(!1,`The URL path "${o}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),o}}function fn(o,r){if(r==="/")return o;if(!o.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,s=o.charAt(a);return s&&s!=="/"?null:o.slice(a)||"/"}function ug({basename:o,pathname:r}){return r==="/"?o:zn([o,r])}var Xf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nu=o=>Xf.test(o);function cg(o,r="/"){let{pathname:a,search:s="",hash:l=""}=typeof o=="string"?Nr(o):o,c;return a?(a=a.replace(/\/\/+/g,"/"),a.startsWith("/")?c=Zd(a.substring(1),"/"):c=Zd(a,r)):c=r,{pathname:c,search:fg(s),hash:pg(l)}}function Zd(o,r){let a=r.replace(/\/+$/,"").split("/");return o.split("/").forEach(l=>{l===".."?a.length>1&&a.pop():l!=="."&&a.push(l)}),a.length>1?a.join("/"):"/"}function Ml(o,r,a,s){return`Cannot include a '${o}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Zf(o){return o.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function Wi(o){let r=Zf(o);return r.map((a,s)=>s===r.length-1?a.pathname:a.pathnameBase)}function Vi(o,r,a,s=!1){let l;typeof o=="string"?l=Nr(o):(l={...o},Oe(!l.pathname||!l.pathname.includes("?"),Ml("?","pathname","search",l)),Oe(!l.pathname||!l.pathname.includes("#"),Ml("#","pathname","hash",l)),Oe(!l.search||!l.search.includes("#"),Ml("#","search","hash",l)));let c=o===""||l.pathname==="",f=c?"/":l.pathname,p;if(f==null)p=a;else{let h=r.length-1;if(!s&&f.startsWith("..")){let k=f.split("/");for(;k[0]==="..";)k.shift(),h-=1;l.pathname=k.join("/")}p=h>=0?r[h]:"/"}let m=cg(l,p),g=f&&f!=="/"&&f.endsWith("/"),v=(c||f===".")&&a.endsWith("/");return!m.pathname.endsWith("/")&&(g||v)&&(m.pathname+="/"),m}var zn=o=>o.join("/").replace(/\/\/+/g,"/"),dg=o=>o.replace(/\/+$/,"").replace(/^\/*/,"/"),fg=o=>!o||o==="?"?"":o.startsWith("?")?o:"?"+o,pg=o=>!o||o==="#"?"":o.startsWith("#")?o:"#"+o,ba=class{constructor(o,r,a,s=!1){this.status=o,this.statusText=r||"",this.internal=s,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function xa(o){return o!=null&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.internal=="boolean"&&"data"in o}function Ca(o){return o.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var ep=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tp(o,r){let a=o;if(typeof a!="string"||!Xf.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let s=a,l=!1;if(ep)try{let c=new URL(window.location.href),f=a.startsWith("//")?new URL(c.protocol+a):new URL(a),p=fn(f.pathname,r);f.origin===c.origin&&p!=null?a=p+f.search+f.hash:l=!0}catch{lt(!1,`<Link to="${a}">
50 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:l,to:a}}var Lr=Symbol("Uninstrumented");function hg(o,r){let a={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};o.forEach(l=>l({id:r.id,index:r.index,path:r.path,instrument(c){let f=Object.keys(a);for(let p of f)c[p]&&a[p].push(c[p])}}));let s={};if(typeof r.lazy=="function"&&a.lazy.length>0){let l=Ro(a.lazy,r.lazy,()=>{});l&&(s.lazy=l)}if(typeof r.lazy=="object"){let l=r.lazy;["middleware","loader","action"].forEach(c=>{let f=l[c],p=a[`lazy.${c}`];if(typeof f=="function"&&p.length>0){let m=Ro(p,f,()=>{});m&&(s.lazy=Object.assign(s.lazy||{},{[c]:m}))}})}return["loader","action"].forEach(l=>{let c=r[l];if(typeof c=="function"&&a[l].length>0){let f=c[Lr]??c,p=Ro(a[l],f,(...m)=>ef(m[0]));p&&(l==="loader"&&f.hydrate===!0&&(p.hydrate=!0),p[Lr]=f,s[l]=p)}}),r.middleware&&r.middleware.length>0&&a.middleware.length>0&&(s.middleware=r.middleware.map(l=>{let c=l[Lr]??l,f=Ro(a.middleware,c,(...p)=>ef(p[0]));return f?(f[Lr]=c,f):l})),s}function mg(o,r){let a={navigate:[],fetch:[]};if(r.forEach(s=>s({instrument(l){let c=Object.keys(l);for(let f of c)l[f]&&a[f].push(l[f])}})),a.navigate.length>0){let s=o.navigate[Lr]??o.navigate,l=Ro(a.navigate,s,(...c)=>{let[f,p]=c;return{to:typeof f=="number"||typeof f=="string"?f:f?Un(f):".",...tf(o,p??{})}});l&&(l[Lr]=s,o.navigate=l)}if(a.fetch.length>0){let s=o.fetch[Lr]??o.fetch,l=Ro(a.fetch,s,(...c)=>{let[f,,p,m]=c;return{href:p??".",fetcherKey:f,...tf(o,m??{})}});l&&(l[Lr]=s,o.fetch=l)}return o}function Ro(o,r,a){return o.length===0?null:async(...s)=>{let l=await np(o,a(...s),()=>r(...s),o.length-1);if(l.type==="error")throw l.value;return l.value}}async function np(o,r,a,s){let l=o[s],c;if(l){let f,p=async()=>(f?console.error("You cannot call instrumented handlers more than once"):f=np(o,r,a,s-1),c=await f,Oe(c,"Expected a result"),c.type==="error"&&c.value instanceof Error?{status:"error",error:c.value}:{status:"success",error:void 0});try{await l(p,r)}catch(m){console.error("An instrumentation function threw an error:",m)}f||await p(),await f}else try{c={type:"success",value:await a()}}catch(f){c={type:"error",value:f}}return c||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ef(o){let{request:r,context:a,params:s,unstable_pattern:l}=o;return{request:gg(r),params:{...s},unstable_pattern:l,context:yg(a)}}function tf(o,r){return{currentUrl:Un(o.state.location),..."formMethod"in r?{formMethod:r.formMethod}:{},..."formEncType"in r?{formEncType:r.formEncType}:{},..."formData"in r?{formData:r.formData}:{},..."body"in r?{body:r.body}:{}}}function gg(o){return{method:o.method,url:o.url,headers:{get:(...r)=>o.headers.get(...r)}}}function yg(o){if(wg(o)){let r={...o};return Object.freeze(r),r}else return{get:r=>o.get(r)}}var vg=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function wg(o){if(o===null||typeof o!="object")return!1;const r=Object.getPrototypeOf(o);return r===Object.prototype||r===null||Object.getOwnPropertyNames(r).sort().join("\0")===vg}var rp=["POST","PUT","PATCH","DELETE"],Sg=new Set(rp),kg=["GET",...rp],xg=new Set(kg),op=new Set([301,302,303,307,308]),Eg=new Set([307,308]),Il={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},bg={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},da={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Cg=o=>({hasErrorBoundary:!!o.hasErrorBoundary}),ap="remix-router-transitions",ip=Symbol("ResetLoaderData");function Rg(o){const r=o.window?o.window:typeof window<"u"?window:void 0,a=typeof r<"u"&&typeof r.document<"u"&&typeof r.document.createElement<"u";Oe(o.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=o.hydrationRouteProperties||[],l=o.mapRouteProperties||Cg,c=l;if(o.unstable_instrumentations){let S=o.unstable_instrumentations;c=T=>({...l(T),...hg(S.map(O=>
50O.route).filter(Boolean),T)})}let f={},p=ka(o.routes,c,void 0,f),m,g=o.basename||"/";g.startsWith("/")||(g=`/${g}`);let v=o.dataStrategy||Dg,h={...o.future},k=null,x=new Set,R=null,_=null,D=null,H=o.hydrationData!=null,F=Tr(p,o.history.location,g),W=!1,q=null,ee;if(F==null&&!o.patchRoutesOnNavigation){let S=dn(404,{pathname:o.history.location.pathname}),{matches:T,route:O}=Ni(p);ee=!0,F=T,q={[O.id]:S}}else if(F&&!o.hydrationData&&at(F,p,o.history.location.pathname).active&&(F=null),F)if(F.some(S=>S.route.lazy))ee=!1;else if(!F.some(S=>ru(S.route)))ee=!0;else{let S=o.hydrationData?o.hydrationData.loaderData:null,T=o.hydrationData?o.hydrationData.errors:null;if(T){let O=F.findIndex(z=>T[z.route.id]!==void 0);ee=F.slice(0,O+1).every(z=>!Yl(z.route,S,T))}else ee=F.every(O=>!Yl(O.route,S,T))}else{ee=!1,F=[];let S=at(null,p,o.history.location.pathname);S.active&&S.matches&&(W=!0,F=S.matches)}let Se,N={historyAction:o.history.action,location:o.history.location,matches:F,initialized:ee,navigation:Il,restoreScrollPosition:o.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:o.hydrationData&&o.hydrationData.loaderData||{},actionData:o.hydrationData&&o.hydrationData.actionData||null,errors:o.hydrationData&&o.hydrationData.errors||q,fetchers:new Map,blockers:new Map},te="POP",oe=null,de=!1,Re,fe=!1,ae=new Map,ie=null,Ee=!1,K=!1,ne=new Set,j=new Map,J=0,Y=-1,E=new Map,M=new Set,X=new Map,ce=new Map,ye=new Set,le=new Map,Me,De=null;function ze(){if(k=o.history.listen(({action:S,location:T,delta:O})=>{if(Me){Me(),Me=void 0;return}lt(le.size===0||O!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let z=gn({currentLocation:N.location,nextLocation:T,historyAction:S});if(z&&O!=null){let G=new Promise(ve=>{Me=ve});o.history.go(O*-1),Ln(z,{state:"blocked",location:T,proceed(){Ln(z,{state:"proceeding",proceed:void 0,reset:void 0,location:T}),G.then(()=>o.history.go(O))},reset(){let ve=new Map(N.blockers);ve.set(z,da),tt({blockers:ve})}}),oe==null||oe.resolve(),oe=null;return}return Vt(S,T)}),a){qg(r,ae);let S=()=>Gg(r,ae);r.addEventListener("pagehide",S),ie=()=>r.removeEventListener("pagehide",S)}return N.initialized||Vt("POP",N.location,{initialHydration:!0}),Se}function ot(){k&&k(),ie&&ie(),x.clear(),Re&&Re.abort(),N.fetchers.forEach((S,T)=>nn(T)),N.blockers.forEach((S,T)=>Dt(T))}function rr(S){return x.add(S),()=>x.delete(S)}function tt(S,T={}){S.matches&&(S.matches=S.matches.map(G=>{let ve=f[G.route.id],xe=G.route;return xe.element!==ve.element||xe.errorElement!==ve.errorElement||xe.hydrateFallbackElement!==ve.hydrateFallbackElement?{...G,route:ve}:G})),N={...N,...S};let O=[],z=[];N.fetchers.forEach((G,ve)=>{G.state==="idle"&&(ye.has(ve)?O.push(ve):z.push(ve))}),ye.forEach(G=>{!N.fetchers.has(G)&&!j.has(G)&&O.push(G)}),[...x].forEach(G=>G(N,{deletedFetchers:O,newErrors:S.errors??null,viewTransitionOpts:T.viewTransitionOpts,flushSync:T.flushSync===!0})),O.forEach(G=>nn(G)),z.forEach(G=>N.fetchers.delete(G))}function Wt(S,T,{flushSync:O}={}){var Ne,ke;let z=N.actionData!=null&&N.navigation.formMethod!=null&&Lt(N.navigation.formMethod)&&N.navigation.state==="loading"&&((Ne=S.state)==null?void 0:Ne._isRedirect)!==!0,G;T.actionData?Object.keys(T.actionData).length>0?G=T.actionData:G=null:z?G=N.actionData:G=null;let ve=T.loaderData?ff(N.loaderData,T.loaderData,T.matches||[],T.errors):N.loaderData,xe=N.blockers;xe.size>0&&(xe=new Map(xe),xe.forEach((Ae,Ie)=>xe.set(Ie,da)));let se=Ee?!1:nt(S,T.matches||N.matches),pe=de===!0||N.navigation.formMethod!=null&&Lt(N.navigation.formMethod)&&((ke=S.state)==null?void 0:ke._isRedirect)!==!0;m&&(p=m,m=void 0),Ee||te==="POP"||(te==="PUSH"?o.history.push(S,S.state):te==="REPLACE"&&o.history.replace(S,S.state));let me;if(te==="POP"){let Ae=ae.get(N.location.pathname);Ae&&Ae.has(S.pathname)?me={currentLocation:N.location,nextLocation:S}:ae.has(S.pathname)&&(me={currentLocation:S,nextLocation:N.location})}else if(fe){let Ae=ae.get(N.location.pathname);Ae?Ae.add(S.pathname):(Ae=new Set([S.pathname]),ae.set(N.location.pathname,Ae)),me={currentLocation:N.location,nextLocation:S}}tt({...T,actionData:G,loaderData:ve,historyAction:te,location:S,initialized:!0,navigation:Il,revalidation:"idle",restoreScrollPosition:se,preventScrollReset:pe,blockers:xe},{viewTransitionOpts:me,flushSync:O===!0}),te="POP",de=!1,fe=!1,Ee=!1,K=!1,oe==null||oe.resolve(),oe=null,De==null||De.resolve(),De=null}async function bn(S,T){if(oe==null||oe.resolve(),oe=null,typeof S=="number"){oe||(oe=gf());let Ie=oe.promise;return o.history.go(S),Ie}let O=Kl(N.location,N.matches,g,S,T==null?void 0:T.fromRouteId,T==null?void 0:T.relative),{path:z,submission:G,error:ve}=nf(!1,O,T),xe=N.location,se=Sa(N.location,z,T&&T.state);se={...se,...o.history.encodeLocation(se)};let pe=T&&T.replace!=null?T.replace:void 0,me="PUSH";pe===!0?me="REPLACE":pe===!1||G!=null&&Lt(G.formMethod)&&G.formAction===N.location.pathname+N.location.search&&(me="REPLACE");let Ne=T&&"preventScrollReset"in T?T.preventScrollReset===!0:void 0,ke=(T&&T.flushSync)===!0,Ae=gn({currentLocation:xe,nextLocation:se,historyAction:me});if(Ae){Ln(Ae,{state:"blocked",location:se,proceed(){Ln(Ae,{state:"proceeding",proceed:void 0,reset:void 0,location:se}),bn(S,T)},reset(){let Ie=new Map(N.blockers);Ie.set(Ae,da),tt({blockers:Ie})}});return}await Vt(me,se,{submission:G,pendingError:ve,preventScrollReset:Ne,replace:T&&T.replace,enableViewTransition:T&&T.viewTransition,flushSync:ke,callSiteDefaultShouldRevalidate:T&&T.unstable_defaultShouldRevalidate})}function eo(){De||(De=gf()),$n(),tt({revalidation:"loading"});let S=De.promise;return N.navigation.state==="submitting"?S:N.navigation.state==="idle"?(Vt(N.historyAction,N.location,{startUninterruptedRevalidation:!0}
50),S):(Vt(te||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation,enableViewTransition:fe===!0}),S)}async function Vt(S,T,O){Re&&Re.abort(),Re=null,te=S,Ee=(O&&O.startUninterruptedRevalidation)===!0,Ge(N.location,N.matches),de=(O&&O.preventScrollReset)===!0,fe=(O&&O.enableViewTransition)===!0;let z=m||p,G=O&&O.overrideNavigation,ve=O!=null&&O.initialHydration&&N.matches&&N.matches.length>0&&!W?N.matches:Tr(z,T,g),xe=(O&&O.flushSync)===!0;if(ve&&N.initialized&&!K&&zg(N.location,T)&&!(O&&O.submission&&Lt(O.submission.formMethod))){Wt(T,{matches:ve},{flushSync:xe});return}let se=at(ve,z,T.pathname);if(se.active&&se.matches&&(ve=se.matches),!ve){let{error:it,notFoundMatches:gt,route:Be}=Kt(T.pathname);Wt(T,{matches:gt,loaderData:{},errors:{[Be.id]:it}},{flushSync:xe});return}Re=new AbortController;let pe=Co(o.history,T,Re.signal,O&&O.submission),me=o.getContext?await o.getContext():new Gd,Ne;if(O&&O.pendingError)Ne=[Pr(ve).route.id,{type:"error",error:O.pendingError}];else if(O&&O.submission&&Lt(O.submission.formMethod)){let it=await hn(pe,T,O.submission,ve,me,se.active,O&&O.initialHydration===!0,{replace:O.replace,flushSync:xe});if(it.shortCircuited)return;if(it.pendingActionResult){let[gt,Be]=it.pendingActionResult;if(Zt(Be)&&xa(Be.error)&&Be.error.status===404){Re=null,Wt(T,{matches:it.matches,loaderData:{},errors:{[gt]:Be.error}});return}}ve=it.matches||ve,Ne=it.pendingActionResult,G=jl(T,O.submission),xe=!1,se.active=!1,pe=Co(o.history,pe.url,pe.signal)}let{shortCircuited:ke,matches:Ae,loaderData:Ie,errors:ct}=await Dr(pe,T,ve,me,se.active,G,O&&O.submission,O&&O.fetcherSubmission,O&&O.replace,O&&O.initialHydration===!0,xe,Ne,O&&O.callSiteDefaultShouldRevalidate);ke||(Re=null,Wt(T,{matches:Ae||ve,...pf(Ne),loaderData:Ie,errors:ct}))}async function hn(S,T,O,z,G,ve,xe,se={}){$n();let pe=Yg(T,O);if(tt({navigation:pe},{flushSync:se.flushSync===!0}),ve){let ke=await Yt(z,T.pathname,S.signal);if(ke.type==="aborted")return{shortCircuited:!0};if(ke.type==="error"){if(ke.partialMatches.length===0){let{matches:Ie,route:ct}=Ni(p);return{matches:Ie,pendingActionResult:[ct.id,{type:"error",error:ke.error}]}}let Ae=Pr(ke.partialMatches).route.id;return{matches:ke.partialMatches,pendingActionResult:[Ae,{type:"error",error:ke.error}]}}else if(ke.matches)z=ke.matches;else{let{notFoundMatches:Ae,error:Ie,route:ct}=Kt(T.pathname);return{matches:Ae,pendingActionResult:[ct.id,{type:"error",error:Ie}]}}}let me,Ne=Ii(z,T);if(!Ne.route.action&&!Ne.route.lazy)me={type:"error",error:dn(405,{method:S.method,pathname:T.pathname,routeId:Ne.route.id})};else{let ke=To(c,f,S,z,Ne,xe?[]:s,G),Ae=await Rn(S,ke,G,null);if(me=Ae[Ne.route.id],!me){for(let Ie of z)if(Ae[Ie.route.id]){me=Ae[Ie.route.id];break}}if(S.signal.aborted)return{shortCircuited:!0}}if(Jr(me)){let ke;return se&&se.replace!=null?ke=se.replace:ke=uf(me.response.headers.get("Location"),new URL(S.url),g,o.history)===N.location.pathname+N.location.search,await tn(S,me,!0,{submission:O,replace:ke}),{shortCircuited:!0}}if(Zt(me)){let ke=Pr(z,Ne.route.id);return(se&&se.replace)!==!0&&(te="PUSH"),{matches:z,pendingActionResult:[ke.route.id,me,Ne.route.id]}}return{matches:z,pendingActionResult:[Ne.route.id,me]}}async function Dr(S,T,O,z,G,ve,xe,se,pe,me,Ne,ke,Ae){let Ie=ve||jl(T,xe),ct=xe||se||mf(Ie),it=!Ee&&!me;if(G){if(it){let We=Et(ke);tt({navigation:Ie,...We!==void 0?{actionData:We}:{}},{flushSync:Ne})}let je=await Yt(O,T.pathname,S.signal);if(je.type==="aborted")return{shortCircuited:!0};if(je.type==="error"){if(je.partialMatches.length===0){let{matches:ir,route:Kn}=Ni(p);return{matches:ir,loaderData:{},errors:{[Kn.id]:je.error}}}let We=Pr(je.partialMatches).route.id;return{matches:je.partialMatches,loaderData:{},errors:{[We]:je.error}}}else if(je.matches)O=je.matches;else{let{error:We,notFoundMatches:ir,route:Kn}=Kt(T.pathname);return{matches:ir,loaderData:{},errors:{[Kn.id]:We}}}}let gt=m||p,{dsMatches:Be,revalidatingFetchers:It}=rf(S,z,c,f,o.history,N,O,ct,T,me?[]:s,me===!0,K,ne,ye,X,M,gt,g,o.patchRoutesOnNavigation!=null,ke,Ae);if(Y=++J,!o.dataStrategy&&!Be.some(je=>je.shouldLoad)&&!Be.some(je=>je.route.middleware&&je.route.middleware.length>0)&&It.length===0){let je=Hn();return Wt(T,{matches:O,loaderData:{},errors:ke&&Zt(ke[1])?{[ke[0]]:ke[1].error}:null,...pf(ke),...je?{fetchers:new Map(N.fetchers)}:{}},{flushSync:Ne}),{shortCircuited:!0}}if(it){let je={};if(!G){je.navigation=Ie;let We=Et(ke);We!==void 0&&(je.actionData=We)}It.length>0&&(je.fetchers=Bn(It)),tt(je,{flushSync:Ne})}It.forEach(je=>{Mt(je.key),je.controller&&j.set(je.key,je.controller)});let $e=()=>It.forEach(je=>Mt(je.key));Re&&Re.signal.addEventListener("abort",$e);let{loaderResults:_r,fetcherResults:rn}=await Tn(Be,It,S,z);if(S.signal.aborted)return{shortCircuited:!0};Re&&Re.signal.removeEventListener("abort",$e),It.forEach(je=>j.delete(je.key));let Qt=Di(_r);
50if(Qt)return await tn(S,Qt.result,!0,{replace:pe}),{shortCircuited:!0};if(Qt=Di(rn),Qt)return M.add(Qt.key),await tn(S,Qt.result,!0,{replace:pe}),{shortCircuited:!0};let{loaderData:ar,errors:Mr}=df(N,O,_r,ke,It,rn);me&&N.errors&&(Mr={...N.errors,...Mr});let Dn=Hn(),Vn=or(Y),At=Dn||Vn||It.length>0;return{matches:O,loaderData:ar,errors:Mr,...At?{fetchers:new Map(N.fetchers)}:{}}}function Et(S){if(S&&!Zt(S[1]))return{[S[0]]:S[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function Bn(S){return S.forEach(T=>{let O=N.fetchers.get(T.key),z=fa(void 0,O?O.data:void 0);N.fetchers.set(T.key,z)}),new Map(N.fetchers)}async function Cn(S,T,O,z){Mt(S);let G=(z&&z.flushSync)===!0,ve=m||p,xe=Kl(N.location,N.matches,g,O,T,z==null?void 0:z.relative),se=Tr(ve,xe,g),pe=at(se,ve,xe);if(pe.active&&pe.matches&&(se=pe.matches),!se){bt(S,T,dn(404,{pathname:xe}),{flushSync:G});return}let{path:me,submission:Ne,error:ke}=nf(!0,xe,z);if(ke){bt(S,T,ke,{flushSync:G});return}let Ae=o.getContext?await o.getContext():new Gd,Ie=(z&&z.preventScrollReset)===!0;if(Ne&&Lt(Ne.formMethod)){await pt(S,T,me,se,Ae,pe.active,G,Ie,Ne,z&&z.unstable_defaultShouldRevalidate);return}X.set(S,{routeId:T,path:me}),await mn(S,T,me,se,Ae,pe.active,G,Ie,Ne)}async function pt(S,T,O,z,G,ve,xe,se,pe,me){$n(),X.delete(S);let Ne=N.fetchers.get(S);St(S,Qg(pe,Ne),{flushSync:xe});let ke=new AbortController,Ae=Co(o.history,O,ke.signal,pe);if(ve){let Qe=await Yt(z,new URL(Ae.url).pathname,Ae.signal,S);if(Qe.type==="aborted")return;if(Qe.type==="error"){bt(S,T,Qe.error,{flushSync:xe});return}else if(Qe.matches)z=Qe.matches;else{bt(S,T,dn(404,{pathname:O}),{flushSync:xe});return}}let Ie=Ii(z,O);
50if(!Ie.route.action&&!Ie.route.lazy){let Qe=dn(405,{method:pe.formMethod,pathname:O,routeId:T});bt(S,T,Qe,{flushSync:xe});return}j.set(S,ke);let ct=J,it=To(c,f,Ae,z,Ie,s,G),gt=await Rn(Ae,it,G,S),Be=gt[Ie.route.id];if(!Be){for(let Qe of it)if(gt[Qe.route.id]){Be=gt[Qe.route.id];break}}if(Ae.signal.aborted){j.get(S)===ke&&j.delete(S);return}if(ye.has(S)){if(Jr(Be)||Zt(Be)){St(S,nr(void 0));return}}else{if(Jr(Be))if(j.delete(S),Y>ct){St(S,nr(void 0));return}else return M.add(S),St(S,fa(pe)),tn(Ae,Be,!1,{fetcherSubmission:pe,preventScrollReset:se});if(Zt(Be)){bt(S,T,Be.error);return}}let It=N.navigation.location||N.location,$e=Co(o.history,It,ke.signal),_r=m||p,rn=N.navigation.state!=="idle"?Tr(_r,N.navigation.location,g):N.matches;Oe(rn,"Didn't find any matches after fetcher action");let Qt=++J;E.set(S,Qt);let ar=fa(pe,Be.data);N.fetchers.set(S,ar);let{dsMatches:Mr,revalidatingFetchers:Dn}=rf($e,G,c,f,o.history,N,rn,pe,It,s,!1,K,ne,ye,X,M,_r,g,o.patchRoutesOnNavigation!=null,[Ie.route.id,Be],me);Dn.filter(Qe=>Qe.key!==S).forEach(Qe=>{let Yn=Qe.key,Ir=N.fetchers.get(Yn),jr=fa(void 0,Ir?Ir.data:void 0);N.fetchers.set(Yn,jr),Mt(Yn),Qe.controller&&j.set(Yn,Qe.controller)}),tt({fetchers:new Map(N.fetchers)});let Vn=()=>Dn.forEach(Qe=>Mt(Qe.key));ke.signal.addEventListener("abort",Vn);let{loaderResults:At,fetcherResults:je}=await Tn(Mr,Dn,$e,G);if(ke.signal.aborted)return;if(ke.signal.removeEventListener("abort",Vn),E.delete(S),j.delete(S),Dn.forEach(Qe=>j.delete(Qe.key)),N.fetchers.has(S)){let Qe=nr(Be.data);N.fetchers.set(S,Qe)}let We=Di(At);if(We)return tn($e,We.result,!1,{preventScrollReset:se});if(We=Di(je),We)return M.add(We.key),tn($e,We.result,!1,{preventScrollReset:se});let{loaderData:ir,errors:Kn}=df(N,rn,At,void 0,Dn,je);or(Qt),N.navigation.state==="loading"&&Qt>Y?(Oe(te,"Expected pending action"),Re&&Re.abort(),Wt(N.navigation.location,{matches:rn,loaderData:ir,errors:Kn,fetchers:new Map(N.fetchers)})):(tt({errors:Kn,loaderData:ff(N.loaderData,ir,rn,Kn),fetchers:new Map(N.fetchers)}),K=!1)}async function mn(S,T,O,z,G,ve,xe,se,pe){let me=N.fetchers.get(S);St(S,fa(pe,me?me.data:void 0),{flushSync:xe});let Ne=new AbortController,ke=Co(o.history,O,Ne.signal);if(ve){let Be=await Yt(z,new URL(ke.url).pathname,ke.signal,S);if(Be.type==="aborted")return;if(Be.type==="error"){bt(S,T,Be.error,{flushSync:xe});return}else if(Be.matches)z=Be.matches;else{bt(S,T,dn(404,{pathname:O}),{flushSync:xe});return}}let Ae=Ii(z,O);j.set(S,Ne);let Ie=J,ct=To(c,f,ke,z,Ae,s,G),gt=(await Rn(ke,ct,G,S))[Ae.route.id];if(j.get(S)===Ne&&j.delete(S),!ke.signal.aborted){if(ye.has(S)){St(S,nr(void 0));return}if(Jr(gt))if(Y>Ie){St(S,nr(void 0));return}else{M.add(S),await tn(ke,gt,!1,{preventScrollReset:se});return}if(Zt(gt)){bt(S,T,gt.error);return}St(S,nr(gt.data))}}async function tn(S,T,O,{submission:z,fetcherSubmission:G,preventScrollReset:ve,replace:xe}={}){O||(oe==null||oe.resolve(),oe=null),T.response.headers.has("X-Remix-Revalidate")&&(K=!0);let se=T.response.headers.get("Location");Oe(se,"Expected a Location header on the redirect Response"),se=uf(se,new URL(S.url),g,o.history);let pe=Sa(N.location,se,{_isRedirect:!0});if(a){let ct=!1;if(T.response.headers.has("X-Remix-Reload-Document"))ct=!0;else if(nu(se)){const it=qf(se,!0);ct=it.origin!==r.location.origin||fn(it.pathname,g)==null}if(ct){xe?r.location.replace(se):r.location.assign(se);return}}Re=null;let me=xe===!0||T.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ne,formAction:ke,formEncType:Ae}=N.navigation;!z&&!G&&Ne&&ke&&Ae&&(z=mf(N.navigation));let Ie=z||G;if(Eg.has(T.response.status)&&Ie&&Lt(Ie.formMethod))await Vt(me,pe,{submission:{...Ie,formAction:se},preventScrollReset:ve||de,enableViewTransition:O?fe:void 0});else{let ct=jl(pe,z);await Vt(me,pe,{overrideNavigation:ct,fetcherSubmission:G,preventScrollReset:ve||de,enableViewTransition:O?fe:void 0})}}async function Rn(S,T,O,z){var xe;let G,ve={};try{G=await Og(v,S,T,z,O,!1)}catch(se){return T.filter(pe=>pe.shouldLoad).forEach(pe=>{ve[pe.route.id]={type:"error",error:se}}),ve}if(S.signal.aborted)return ve;if(!Lt(S.method))for(let se of T){if(((xe=G[se.route.id])==null?void 0:xe.type)==="error")break;!G.hasOwnProperty(se.route.id)&&!N.loaderData.hasOwnProperty(se.route.id)&&
50(!N.errors||!N.errors.hasOwnProperty(se.route.id))&&se.shouldCallHandler()&&(G[se.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${se.route.id}`)})}for(let[se,pe]of Object.entries(G))if(Hg(pe)){let me=pe.result;ve[se]={type:"redirect",response:jg(me,S,se,T,g)}}else ve[se]=await Ig(pe);return ve}async function Tn(S,T,O,z){let G=Rn(O,S,z,null),ve=Promise.all(T.map(async pe=>{if(pe.matches&&pe.match&&pe.request&&pe.controller){let Ne=(await Rn(pe.request,pe.matches,z,pe.key))[pe.match.route.id];return{[pe.key]:Ne}}else return Promise.resolve({[pe.key]:{type:"error",error:dn(404,{pathname:pe.path})}})})),xe=await G,se=(await ve).reduce((pe,me)=>Object.assign(pe,me),{});return{loaderResults:xe,fetcherResults:se}}function $n(){K=!0,X.forEach((S,T)=>{j.has(T)&&ne.add(T),Mt(T)})}function St(S,T,O={}){N.fetchers.set(S,T),tt({fetchers:new Map(N.fetchers)},{flushSync:(O&&O.flushSync)===!0})}function bt(S,T,O,z={}){let G=Pr(N.matches,T);nn(S),tt({errors:{[G.route.id]:O},fetchers:new Map(N.fetchers)},{flushSync:(z&&z.flushSync)===!0})}function Nt(S){return ce.set(S,(ce.get(S)||0)+1),ye.has(S)&&ye.delete(S),N.fetchers.get(S)||bg}function Pn(S,T){Mt(S,T==null?void 0:T.reason),St(S,nr(null))}function nn(S){let T=N.fetchers.get(S);j.has(S)&&!(T&&T.state==="loading"&&E.has(S))&&Mt(S),X.delete(S),E.delete(S),M.delete(S),ye.delete(S),ne.delete(S),N.fetchers.delete(S)}function to(S){let T=(ce.get(S)||0)-1;T<=0?(ce.delete(S),ye.add(S)):ce.set(S,T),tt({fetchers:new Map(N.fetchers)})}function Mt(S,T){let O=j.get(S);O&&(O.abort(T),j.delete(S))}function Ar(S){for(let T of S){let O=Nt(T),z=nr(O.data);N.fetchers.set(T,z)}}function Hn(){let S=[],T=!1;for(let O of M){let z=N.fetchers.get(O);Oe(z,`Expected fetcher: ${O}`),z.state==="loading"&&(M.delete(O),S.push(O),T=!0)}return Ar(S),T}function or(S){let T=[];for(let[O,z]of E)if(z<S){let G=N.fetchers.get(O);Oe(G,`Expected fetcher: ${O}`),G.state==="loading"&&(Mt(O),E.delete(O),T.push(O))}return Ar(T),T.length>0}function Wn(S,T){let O=N.blockers.get(S)||da;return le.get(S)!==T&&le.set(S,T),O}function Dt(S){N.blockers.delete(S),le.delete(S)}function Ln(S,T){let O=N.blockers.get(S)||da;Oe(O.state==="unblocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="proceeding"||O.state==="blocked"&&T.state==="unblocked"||O.state==="proceeding"&&T.state==="unblocked",`Invalid blocker state transition: ${O.state} -> ${T.state}`);let z=new Map(N.blockers);z.set(S,T),tt({blockers:z})}function gn({currentLocation:S,nextLocation:T,historyAction:O}){if(le.size===0)return;le.size>1&<(!1,"A router only supports one blocker at a time");let z=Array.from(le.entries()),[G,ve]=z[z.length-1],xe=N.blockers.get(G);if(!(xe&&xe.state==="proceeding")&&ve({currentLocation:S,nextLocation:T,historyAction:O}))return G}function Kt(S){let T=dn(404,{pathname:S}),O=m||p,{matches:z,route:G}=Ni(O);return{notFoundMatches:z,route:G,error:T}}function Or(S,T,O){if(R=S,D=T,_=O||null,!H&&N.navigation===Il){H=!0;let z=nt(N.location,N.matches);z!=null&&tt({restoreScrollPosition:z})}return()=>{R=null,D=null,_=null}}function Pe(S,T){return _&&_(S,T.map(z=>Gm(z,N.loaderData)))||S.key}function Ge(S,T){if(R&&D){let O=Pe(S,T);R[O]=D()}}function nt(S,T){if(R){let O=Pe(S,T),z=R[O];if(typeof z=="number")return z}return null}function at(S,T,O){if(o.patchRoutesOnNavigation)if(S){if(Object.keys(S[0].params).length>0)return{active:!0,matches:ga(T,O,g,!0)}}else return{active:!0,matches:ga(T,O,g,!0)||[]};return{active:!1,matches:null}}async function Yt(S,T,O,z){if(!o.patchRoutesOnNavigation)return{type:"success",matches:S};let G=S;for(;;){let ve=m==null,xe=m||p,se=f;try{await o.patchRoutesOnNavigation({signal:O,path:T,matches:G,fetcherKey:z,patch:(Ne,ke)=>{O.aborted||of(Ne,ke,xe,se,c,!1)}})}catch(Ne){return{type:"error",error:Ne,partialMatches:G}}finally{ve&&!O.aborted&&(p=[...p])}if(O.aborted)return{type:"aborted"};let pe=Tr(xe,T,g),me=null;if(pe){if(Object.keys(pe[0].params).length===0)return{type:"success",matches:pe};if(me=ga(xe,T,g,!0),!(me&&G.length<me.length&&Je(G,me.slice(0,G.length))))return{type:"success",matches:pe}}if(me||(me=ga(xe,T,g,!0)),!me||Je(G,me))return{type:"success",matches:null};G=me}}function Je(S,T){return S.length===T.length&&S.every((O,z)=>
50O.route.id===T[z].route.id)}function ut(S){f={},m=ka(S,c,void 0,f)}function Nn(S,T,O=!1){let z=m==null;of(S,T,m||p,f,c,O),z&&(p=[...p],tt({}))}return Se={get basename(){return g},get future(){return h},get state(){return N},get routes(){return p},get window(){return r},initialize:ze,subscribe:rr,enableScrollRestoration:Or,navigate:bn,fetch:Cn,revalidate:eo,createHref:S=>o.history.createHref(S),encodeLocation:S=>o.history.encodeLocation(S),getFetcher:Nt,resetFetcher:Pn,deleteFetcher:to,dispose:ot,getBlocker:Wn,deleteBlocker:Dt,patchRoutes:Nn,_internalFetchControllers:j,_internalSetRoutes:ut,_internalSetStateDoNotUseOrYouWillBreakYourApp(S){tt(S)}},o.unstable_instrumentations&&(Se=mg(Se,o.unstable_instrumentations.map(S=>S.router).filter(Boolean))),Se}function Tg(o){return o!=null&&("formData"in o&&o.formData!=null||"body"in o&&o.body!==void 0)}function Kl(o,r,a,s,l,c){let f,p;if(l){f=[];for(let g of r)if(f.push(g),g.route.id===l){p=g;break}}else f=r,p=r[r.length-1];let m=Vi(s||".",Wi(f),fn(o.pathname,a)||o.pathname,c==="path");if(s==null&&(m.search=o.search,m.hash=o.hash),(s==null||s===""||s===".")&&p){let g=au(m.search);if(p.route.index&&!g)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!p.route.index&&g){let v=new URLSearchParams(m.search),h=v.getAll("index");v.delete("index"),h.filter(x=>x).forEach(x=>v.append("index",x));let k=v.toString();m.search=k?`?${k}`:""}}return a!=="/"&&(m.pathname=ug({basename:a,pathname:m.pathname})),Un(m)}function nf(o,r,a){if(!a||!Tg(a))return{path:r};if(a.formMethod&&!Kg(a.formMethod))return{path:r,error:dn(405,{method:a.formMethod})};let s=()=>({path:r,error:dn(400,{type:"invalid-body"})}),c=(a.formMethod||"get").toUpperCase(),f=fp(r);if(a.body!==void 0){if(a.formEncType==="text/plain"){if(!Lt(c))return s();let h=typeof a.body=="string"?a.body:a.body instanceof FormData||a.body instanceof URLSearchParams?Array.from(a.body.entries()).reduce((k,[x,R])=>`${k}${x}=${R} 51`,""):String(a.body);return{path:r,submission:{formMethod:c,formAction:f,formEncType:a.formEncType,formData:void 0,json:void 0,text:h}}}else if(a.formEncType==="application/json"){if(!Lt(c))return s();try{let h=typeof a.body=="string"?JSON.parse(a.body):a.body;return{path:r,submission:{formMethod:c,formAction:f,formEncType:a.formEncType,formData:void 0,json:h,text:void 0}}}catch{return s()}}}Oe(typeof FormData=="function","FormData is not available in this environment");let p,m;if(a.formData)p=ql(a.formData),m=a.formData;else if(a.body instanceof FormData)p=ql(a.body),m=a.body;else if(a.body instanceof URLSearchParams)p=a.body,m=cf(p);else if(a.body==null)p=new URLSearchParams,m=new FormData;else try{p=new URLSearchParams(a.body),m=cf(p)}catch{return s()}let g={formMethod:c,formAction:f,formEncType:a&&a.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(Lt(g.formMethod))return{path:r,submission:g};let v=Nr(r);return o&&v.search&&au(v.search)&&p.append("index",""),v.search=`?${p}`,{path:Un(v),submission:g}}function rf(o,r,a,s,l,c,f,p,m,g,v,h,k,x,R,_,D,H,F,W,q){var Ee;let ee=W?Zt(W[1])?W[1].error:W[1].data:void 0,Se=l.createURL(c.location),N=l.createURL(m),te;if(v&&c.errors){let K=Object.keys(c.errors)[0];te=f.findIndex(ne=>ne.route.id===K)}else if(W&&Zt(W[1])){let K=W[0];te=f.findIndex(ne=>ne.route.id===K)-1}let oe=W?W[1].statusCode:void 0,de=oe&&oe>=400,Re={currentUrl:Se,currentParams:((Ee=c.matches[0])==null?void 0:Ee.params)||{},nextUrl:N,nextParams:f[0].params,...p,actionResult:ee,actionStatus:oe},fe=Ca(f),ae=f.map((K,ne)=>{let{route:j}=K,J=null;if(te!=null&&ne>te?J=!1:j.lazy?J=!0:ru(j)?v?J=Yl(j,c.loaderData,c.errors):Pg(c.loaderData,c.matches[ne],K)&&(J=!0):J=!1,J!==null)return Ql(a,s,o,fe,K,g,r,J);let Y=!1;typeof q=="boolean"?Y=q:de?Y=!1:(h||Se.pathname+Se.search===N.pathname+N.search||Se.search!==N.search||Lg(c.matches[ne],K))&&(Y=!0);let E={...Re,defaultShouldRevalidate:Y},M=ya(K,E);return Ql(a,s,o,fe,K,g,r,M,E,q)}),ie=[];return R.forEach((K,ne)=>{if(v||!f.some(ye=>ye.route.id===K.routeId)||x.has(ne))return;let j=c.fetchers.get(ne),J=j&&j.state!=="idle"&&j.data===void 0,Y=Tr(D,K.path,H);if(!Y){if(F&&J)return;ie.push({key:ne,routeId:K.routeId,path:K.path,matches:null,match:null,request:null,controller:null});return}if(_.has(ne))return;let E=Ii(Y,K.path),M=new AbortController,X=Co(l,K.path,M.signal),ce=null;if(k.has(ne))k.delete(ne),ce=To(a,s,X,Y,E,g,r);else if(J)h&&(ce=To(a,s,X,Y,E,g,r));else{let ye;
51typeof q=="boolean"?ye=q:de?ye=!1:ye=h;let le={...Re,defaultShouldRevalidate:ye};ya(E,le)&&(ce=To(a,s,X,Y,E,g,r,le))}ce&&ie.push({key:ne,routeId:K.routeId,path:K.path,matches:ce,match:E,request:X,controller:M})}),{dsMatches:ae,revalidatingFetchers:ie}}function ru(o){return o.loader!=null||o.middleware!=null&&o.middleware.length>0}function Yl(o,r,a){if(o.lazy)return!0;if(!ru(o))return!1;let s=r!=null&&o.id in r,l=a!=null&&a[o.id]!==void 0;return!s&&l?!1:typeof o.loader=="function"&&o.loader.hydrate===!0?!0:!s&&!l}function Pg(o,r,a){let s=!r||a.route.id!==r.route.id,l=!o.hasOwnProperty(a.route.id);return s||l}function Lg(o,r){let a=o.route.path;return o.pathname!==r.pathname||a!=null&&a.endsWith("*")&&o.params["*"]!==r.params["*"]}function ya(o,r){if(o.route.shouldRevalidate){let a=o.route.shouldRevalidate(r);if(typeof a=="boolean")return a}return r.defaultShouldRevalidate}function of(o,r,a,s,l,c){let f;if(o){let g=s[o];Oe(g,`No route found to patch children into: routeId = ${o}`),g.children||(g.children=[]),f=g.children}else f=a;let p=[],m=[];if(r.forEach(g=>{let v=f.find(h=>sp(g,h));v?m.push({existingRoute:v,newRoute:g}):p.push(g)}),p.length>0){let g=ka(p,l,[o||"_","patch",String((f==null?void 0:f.length)||"0")],s);f.push(...g)}if(c&&m.length>0)for(let g=0;g<m.length;g++){let{existingRoute:v,newRoute:h}=m[g],k=v,[x]=ka([h],l,[],{},!0);Object.assign(k,{element:x.element?x.element:k.element,errorElement:x.errorElement?x.errorElement:k.errorElement,hydrateFallbackElement:x.hydrateFallbackElement?x.hydrateFallbackElement:k.hydrateFallbackElement})}}function sp(o,r){return"id"in o&&"id"in r&&o.id===r.id?!0:o.index===r.index&&o.path===r.path&&o.caseSensitive===r.caseSensitive?(!o.children||o.children.length===0)&&(!r.children||r.children.length===0)?!0:o.children.every((a,s)=>{var l;return(l=r.children)==null?void 0:l.some(c=>sp(a,c))}):!1}var af=new WeakMap,lp=({key:o,route:r,manifest:a,mapRouteProperties:s})=>{let l=a[r.id];if(Oe(l,"No route found in manifest"),!l.lazy||typeof l.lazy!="object")return;let c=l.lazy[o];if(!c)return;let f=af.get(l);f||(f={},af.set(l,f));let p=f[o];if(p)return p;let m=(async()=>{let g=Km(o),h=l[o]!==void 0&&o!=="hasErrorBoundary";if(g)lt(!g,"Route property "+o+" is not a supported lazy route property. This property will be ignored."),f[o]=Promise.resolve();else if(h)lt(!1,`Route "${l.id}" has a static property "${o}" defined. The lazy property will be ignored.`);else{let k=await c();k!=null&&(Object.assign(l,{[o]:k}),Object.assign(l,s(l)))}typeof l.lazy=="object"&&(l.lazy[o]=void 0,Object.values(l.lazy).every(k=>k===void 0)&&(l.lazy=void 0))})();return f[o]=m,m},sf=new WeakMap;function Ng(o,r,a,s,l){let c=a[o.id];if(Oe(c,"No route found in manifest"),!o.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof o.lazy=="function"){let v=sf.get(c);if(v)return{lazyRoutePromise:v,lazyHandlerPromise:v};let h=(async()=>{Oe(typeof o.lazy=="function","No lazy route function found");let k=await o.lazy(),x={};for(let R in k){let _=k[R];if(_===void 0)continue;let D=Qm(R),F=c[R]!==void 0&&R!=="hasErrorBoundary";D?lt(!D,"Route property "+R+" is not a supported property to be returned from a lazy route function. This property will be ignored."):F?lt(!F,`Route "${c.id}" has a static property "${R}" defined but its lazy function is also returning a value for this property. The lazy route property "${R}" will be ignored.`):x[R]=_}Object.assign(c,x),Object.assign(c,{...s(c),lazy:void 0})})();return sf.set(c,h),h.catch(()=>{}),{lazyRoutePromise:h,lazyHandlerPromise:h}}let f=Object.keys(o.lazy),p=[],m;for(let v of f){if(l&&l.includes(v))continue;let h=lp({key:v,route:o,manifest:a,mapRouteProperties:s});h&&(p.push(h),v===r&&(m=h))}let g=p.length>0?Promise.all(p).then(()=>{}):void 0;return g==null||g.catch(()=>{}),m==null||m.catch(()=>{}),{lazyRoutePromise:g,lazyHandlerPromise:m}}async function lf(o){let r=o.matches.filter(l=>l.shouldLoad),a={};return(await Promise.all(r.map(l=>l.resolve()))).forEach((l,c)=>{a[r[c].route.id]=l}),a}async function Dg(o){return o.matches.some(r=>r.route.middleware)?up(o,()=>lf(o)):lf(o)}function up(o,r){return Ag(o,r,s=>{if(Vg(s))throw s;return s},Bg,a);function a(s,l,c){if(c)return Promise.resolve(Object.assign(c.value,{[l]:{type:"error",result:s}}));{let{matches:f}=o,p=Math.min(Math.max(f.findIndex(g=>g.route.id===l),0),Math.max(f.findIndex(g=>g.shouldCallHandler()),0)),m=Pr(f,f[p].route.id).route.id;return Promise.resolve({[m]:{type:"error",result:s}})}}}async function Ag(o,r,a,s,l){let{matches:c,request:f,params:p,context:m,unstable_pattern:g}=o,v=c.flatMap(k=>k.route.middleware?k.route.middleware.map(x=>[k.route.id,x]):[]);return await cp({request:f,params:p,context:m,unstable_pattern:g},v,r,a,s,l)}async function cp(o,r,a,s,l,c,f=0){let{request:p}=o;if(p.signal.aborted)throw p.signal.reason??new Error(`Request aborted: ${p.method} ${p.url}`);let m=r[f];if(!m)return await a();let[g,v]=m,h,k=async()=>
51{if(h)throw new Error("You may only call `next()` once per middleware");try{return h={value:await cp(o,r,a,s,l,c,f+1)},h.value}catch(x){return h={value:await c(x,g,h)},h.value}};try{let x=await v(o,k),R=x!=null?s(x):void 0;return l(R)?R:h?R??h.value:(h={value:await k()},h.value)}catch(x){return await c(x,g,h)}}function dp(o,r,a,s,l){let c=lp({key:"middleware",route:s.route,manifest:r,mapRouteProperties:o}),f=Ng(s.route,Lt(a.method)?"action":"loader",r,o,l);return{middleware:c,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Ql(o,r,a,s,l,c,f,p,m=null,g){let v=!1,h=dp(o,r,a,l,c);return{...l,_lazyPromises:h,shouldLoad:p,shouldRevalidateArgs:m,shouldCallHandler(k){return v=!0,m?typeof g=="boolean"?ya(l,{...m,defaultShouldRevalidate:g}):typeof k=="boolean"?ya(l,{...m,defaultShouldRevalidate:k}):ya(l,m):p},resolve(k){let{lazy:x,loader:R,middleware:_}=l.route,D=v||p||k&&!Lt(a.method)&&(x||R),H=_&&_.length>0&&!R&&!x;return D&&(Lt(a.method)||!H)?_g({request:a,unstable_pattern:s,match:l,lazyHandlerPromise:h==null?void 0:h.handler,lazyRoutePromise:h==null?void 0:h.route,handlerOverride:k,scopedContext:f}):Promise.resolve({type:"data",result:void 0})}}}function To(o,r,a,s,l,c,f,p=null){return s.map(m=>m.route.id!==l.route.id?{...m,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:dp(o,r,a,m,c),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Ql(o,r,a,Ca(s),m,c,f,!0,p))}async function Og(o,r,a,s,l,c){a.some(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware})&&await Promise.all(a.map(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware}));let f={request:r,unstable_pattern:Ca(a),params:a[0].params,context:l,matches:a},m=await o({...f,fetcherKey:s,runClientMiddleware:g=>{let v=f;return up(v,()=>g({...v,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(a.flatMap(g=>{var v,h;return[(v=g._lazyPromises)==null?void 0:v.handler,(h=g._lazyPromises)==null?void 0:h.route]}))}catch{}return m}async function _g({request:o,unstable_pattern:r,match:a,lazyHandlerPromise:s,lazyRoutePromise:l,handlerOverride:c,scopedContext:f}){let p,m,g=Lt(o.method),v=g?"action":"loader",h=k=>{let x,R=new Promise((H,F)=>x=F);m=()=>x(),o.signal.addEventListener("abort",m);let _=H=>typeof k!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${a.route.id}]`)):k({request:o,unstable_pattern:r,params:a.params,context:f},...H!==void 0?[H]:[]),D=(async()=>{try{return{type:"data",result:await(c?c(F=>_(F)):_())}}catch(H){return{type:"error",result:H}}})();return Promise.race([D,R])};try{let k=g?a.route.action:a.route.loader;if(s||l)if(k){let x,[R]=await Promise.all([h(k).catch(_=>{x=_}),s,l]);if(x!==void 0)throw x;p=R}else{await s;let x=g?a.route.action:a.route.loader;if(x)[p]=await Promise.all([h(x),l]);else if(v==="action"){let R=new URL(o.url),_=R.pathname+R.search;throw dn(405,{method:o.method,pathname:_,routeId:a.route.id})}else return{type:"data",result:void 0}}else if(k)p=await h(k);else{let x=new URL(o.url),R=x.pathname+x.search;throw dn(404,{pathname:R})}}catch(k){return{type:"error",result:k}}finally{m&&o.signal.removeEventListener("abort",m)}return p}async function Mg(o){let r=o.headers.get("Content-Type");return r&&/\bapplication\/json\b/.test(r)?o.body==null?null:o.json():o.text()}async function Ig(o){var s,l,c,f,p;let{result:r,type:a}=o;if(ou(r)){let m;try{m=await Mg(r)}catch(g){return{type:"error",error:g}}return a==="error"?{type:"error",error:new ba(r.status,r.statusText,m),statusCode:r.status,headers:r.headers}:{type:"data",data:m,statusCode:r.status,headers:r.headers}}return a==="error"?hf(r)?r.data instanceof Error?{type:"error",error:r.data,statusCode:(s=r.init)==null?void 0:s.status,headers:(l=r.init)!=null&&l.headers?new Headers(r.init.headers):void 0}:{type:"error",error:Ug(r),statusCode:xa(r)?r.status:void 0,headers:(c=r.init)!=null&&c.headers?new Headers(r.init.headers):void 0}:{type:"error",error:r,statusCode:xa(r)?r.status:void 0}:hf(r)?{type:"data",data:r.data,statusCode:(f=r.init)==null?void 0:f.status,headers:(p=r.init)!=null&&p.headers?new Headers(r.init.headers):void 0}:{type:"data",data:r}}function jg(o,r,a,s,l){let c=o.headers.get("Location");if(Oe(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!nu(c)){let f=s.slice(0,s.findIndex(p=>p.route.id===a)+1);c=Kl(new URL(r.url),f,l,c),o.headers.set("Location",c)}return o}function uf(o,r,a,s){let l=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(nu(o)){let c=o,f=c.startsWith("//")?new URL(r.protocol+c):new URL(c);if(l.includes(f.protocol))throw new Error("Invalid redirect location");let p=fn(f.pathname,a)!=null;if(f.origin===r.origin&&p)return f.pathname+f.search+f.hash}
51try{let c=s.createURL(o);if(l.includes(c.protocol))throw new Error("Invalid redirect location")}catch{}return o}function Co(o,r,a,s){let l=o.createURL(fp(r)).toString(),c={signal:a};if(s&&Lt(s.formMethod)){let{formMethod:f,formEncType:p}=s;c.method=f.toUpperCase(),p==="application/json"?(c.headers=new Headers({"Content-Type":p}),c.body=JSON.stringify(s.json)):p==="text/plain"?c.body=s.text:p==="application/x-www-form-urlencoded"&&s.formData?c.body=ql(s.formData):c.body=s.formData}return new Request(l,c)}function ql(o){let r=new URLSearchParams;for(let[a,s]of o.entries())r.append(a,typeof s=="string"?s:s.name);return r}function cf(o){let r=new FormData;for(let[a,s]of o.entries())r.append(a,s);return r}function Fg(o,r,a,s=!1,l=!1){let c={},f=null,p,m=!1,g={},v=a&&Zt(a[1])?a[1].error:void 0;return o.forEach(h=>{if(!(h.route.id in r))return;let k=h.route.id,x=r[k];if(Oe(!Jr(x),"Cannot handle redirect results in processLoaderData"),Zt(x)){let R=x.error;if(v!==void 0&&(R=v,v=void 0),f=f||{},l)f[k]=R;else{let _=Pr(o,k);f[_.route.id]==null&&(f[_.route.id]=R)}s||(c[k]=ip),m||(m=!0,p=xa(x.error)?x.error.status:500),x.headers&&(g[k]=x.headers)}else c[k]=x.data,x.statusCode&&x.statusCode!==200&&!m&&(p=x.statusCode),x.headers&&(g[k]=x.headers)}),v!==void 0&&a&&(f={[a[0]]:v},a[2]&&(c[a[2]]=void 0)),{loaderData:c,errors:f,statusCode:p||200,loaderHeaders:g}}function df(o,r,a,s,l,c){let{loaderData:f,errors:p}=Fg(r,a,s);return l.filter(m=>!m.matches||m.matches.some(g=>g.shouldLoad)).forEach(m=>{let{key:g,match:v,controller:h}=m;if(h&&h.signal.aborted)return;let k=c[g];if(Oe(k,"Did not find corresponding fetcher result"),Zt(k)){let x=Pr(o.matches,v==null?void 0:v.route.id);p&&p[x.route.id]||(p={...p,[x.route.id]:k.error}),o.fetchers.delete(g)}else if(Jr(k))Oe(!1,"Unhandled fetcher revalidation redirect");else{let x=nr(k.data);o.fetchers.set(g,x)}}),{loaderData:f,errors:p}}function ff(o,r,a,s){let l=Object.entries(r).filter(([,c])=>c!==ip).reduce((c,[f,p])=>(c[f]=p,c),{});for(let c of a){let f=c.route.id;if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&c.route.loader&&(l[f]=o[f]),s&&s.hasOwnProperty(f))break}return l}function pf(o){return o?Zt(o[1])?{actionData:{}}:{actionData:{[o[0]]:o[1].data}}:{}}function Pr(o,r){return(r?o.slice(0,o.findIndex(s=>s.route.id===r)+1):[...o]).reverse().find(s=>s.route.hasErrorBoundary===!0)||o[0]}function Ni(o){let r=o.length===1?o[0]:o.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:r}],route:r}}function dn(o,{pathname:r,routeId:a,method:s,type:l,message:c}={}){let f="Unknown Server Error",p="Unknown @remix-run/router error";return o===400?(f="Bad Request",s&&r&&a?p=`You made a ${s} request to "${r}" but did not provide a \`loader\` for route "${a}", so there is no way to handle the request.`:l==="invalid-body"&&(p="Unable to encode submission body")):o===403?(f="Forbidden",p=`Route "${a}" does not match URL "${r}"`):o===404?(f="Not Found",p=`No route matches URL "${r}"`):o===405&&(f="Method Not Allowed",s&&r&&a?p=`You made a ${s.toUpperCase()} request to "${r}" but did not provide an \`action\` for route "${a}", so there is no way to handle the request.`:s&&(p=`Invalid request method "${s.toUpperCase()}"`)),new ba(o||500,f,new Error(p),!0)}function Di(o){let r=Object.entries(o);for(let a=r.length-1;a>=0;a--){let[s,l]=r[a];if(Jr(l))return{key:s,result:l}}}function fp(o){let r=typeof o=="string"?Nr(o):o;return Un({...r,hash:""})}function zg(o,r){return o.pathname!==r.pathname||o.search!==r.search?!1:o.hash===""?r.hash!=="":o.hash===r.hash?!0:r.hash!==""}function Ug(o){var r,a;return new ba(((r=o.init)==null?void 0:r.status)??500,((a=o.init)==null?void 0:a.statusText)??"Internal Server Error",o.data)}function Bg(o){return o!=null&&typeof o=="object"&&Object.entries(o).every(([r,a])=>typeof r=="string"&&$g(a))}function $g(o){return o!=null&&typeof o=="object"&&"type"in o&&"result"in o&&(o.type==="data"||o.type==="error")}function Hg(o){return ou(o.result)&&op.has(o.result.status)}function Zt(o){return o.type==="error"}function Jr(o){return(o&&o.type)==="redirect"}function hf(o){return typeof o=="object"&&o!=null&&"type"in o&&"data"in o&&"init"in o&&o.type==="DataWithResponseInit"}function ou(o){return o!=null&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.headers=="object"&&typeof o.body<"u"}function Wg(o){return op.has(o)}
51function Vg(o){return ou(o)&&Wg(o.status)&&o.headers.has("Location")}function Kg(o){return xg.has(o.toUpperCase())}function Lt(o){return Sg.has(o.toUpperCase())}function au(o){return new URLSearchParams(o).getAll("index").some(r=>r==="")}function Ii(o,r){let a=typeof r=="string"?Nr(r).search:r.search;if(o[o.length-1].route.index&&au(a||""))return o[o.length-1];let s=Zf(o);return s[s.length-1]}function mf(o){let{formMethod:r,formAction:a,formEncType:s,text:l,formData:c,json:f}=o;if(!(!r||!a||!s)){if(l!=null)return{formMethod:r,formAction:a,formEncType:s,formData:void 0,json:void 0,text:l};if(c!=null)return{formMethod:r,formAction:a,formEncType:s,formData:c,json:void 0,text:void 0};if(f!==void 0)return{formMethod:r,formAction:a,formEncType:s,formData:void 0,json:f,text:void 0}}}function jl(o,r){return r?{state:"loading",location:o,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:"loading",location:o,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Yg(o,r){return{state:"submitting",location:o,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function fa(o,r){return o?{state:"loading",formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text,data:r}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function Qg(o,r){return{state:"submitting",formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text,data:r?r.data:void 0}}function nr(o){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:o}}function qg(o,r){try{let a=o.sessionStorage.getItem(ap);if(a){let s=JSON.parse(a);for(let[l,c]of Object.entries(s||{}))c&&Array.isArray(c)&&r.set(l,new Set(c||[]))}}catch{}}function Gg(o,r){if(r.size>0){let a={};for(let[s,l]of r)a[s]=[...l];try{o.sessionStorage.setItem(ap,JSON.stringify(a))}catch(s){lt(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function gf(){let o,r,a=new Promise((s,l)=>{o=async c=>{s(c);try{await a}catch{}},r=async c=>{l(c);try{await a}catch{}}});return{promise:a,resolve:o,reject:r}}var Zr=C.createContext(null);Zr.displayName="DataRouter";var Ra=C.createContext(null);Ra.displayName="DataRouterState";var pp=C.createContext(!1);function Jg(){return C.useContext(pp)}var iu=C.createContext({isTransitioning:!1});iu.displayName="ViewTransition";var hp=C.createContext(new Map);hp.displayName="Fetchers";var Xg=C.createContext(null);Xg.displayName="Await";var en=C.createContext(null);en.displayName="Navigation";var Ki=C.createContext(null);Ki.displayName="Location";var pn=C.createContext({outlet:null,matches:[],isDataRoute:!1});pn.displayName="Route";var su=C.createContext(null);su.displayName="RouteError";var mp="REACT_ROUTER_ERROR",Zg="REDIRECT",ey="ROUTE_ERROR_RESPONSE";function ty(o){if(o.startsWith(`${mp}:${Zg}:{`))try{let r=JSON.parse(o.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function ny(o){if(o.startsWith(`${mp}:${ey}:{`))try{let r=JSON.parse(o.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new ba(r.status,r.statusText,r.data)}catch{}}function ry(o,{relative:r}={}){Oe(Do(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:s}=C.useContext(en),{hash:l,pathname:c,search:f}=Ta(o,{relative:r}),p=c;return a!=="/"&&(p=c==="/"?a:zn([a,c])),s.createHref({pathname:p,search:f,hash:l})}function Do(){return C.useContext(Ki)!=null}function En(){return Oe(Do(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Ki).location}var gp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function yp(o){C.useContext(en).static||C.useLayoutEffect(o)}function vp(){let{isDataRoute:o}=C.useContext(pn);return o?vy():oy()}function oy(){Oe(Do(),"useNavigate() may be used only in the context of a <Router> component.");
51let o=C.useContext(Zr),{basename:r,navigator:a}=C.useContext(en),{matches:s}=C.useContext(pn),{pathname:l}=En(),c=JSON.stringify(Wi(s)),f=C.useRef(!1);return yp(()=>{f.current=!0}),C.useCallback((m,g={})=>{if(lt(f.current,gp),!f.current)return;if(typeof m=="number"){a.go(m);return}let v=Vi(m,JSON.parse(c),l,g.relative==="path");o==null&&r!=="/"&&(v.pathname=v.pathname==="/"?r:zn([r,v.pathname])),(g.replace?a.replace:a.push)(v,g.state,g)},[r,a,c,l,o])}var ay=C.createContext(null);function iy(o){let r=C.useContext(pn).outlet;return C.useMemo(()=>r&&C.createElement(ay.Provider,{value:o},r),[r,o])}function Xw(){let{matches:o}=C.useContext(pn),r=o[o.length-1];return r?r.params:{}}function Ta(o,{relative:r}={}){let{matches:a}=C.useContext(pn),{pathname:s}=En(),l=JSON.stringify(Wi(a));return C.useMemo(()=>Vi(o,JSON.parse(l),s,r==="path"),[o,l,s,r])}function sy(o,r,a,s,l){Oe(Do(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=C.useContext(en),{matches:f}=C.useContext(pn),p=f[f.length-1],m=p?p.params:{},g=p?p.pathname:"/",v=p?p.pathnameBase:"/",h=p&&p.route;{let F=h&&h.path||"";Sp(g,!h||F.endsWith("*")||F.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${g}" (under <Route path="${F}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 52 53Please change the parent <Route path="${F}"> to <Route path="${F==="/"?"*":`${F}/*`}">.`)}let k=En(),x;x=k;let R=x.pathname||"/",_=R;if(v!=="/"){let F=v.replace(/^\//,"").split("/");_="/"+R.replace(/^\//,"").split("/").slice(F.length).join("/")}let D=Tr(o,{pathname:_});return lt(h||D!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),lt(D==null||D[D.length-1].route.element!==void 0||D[D.length-1].route.Component!==void 0||D[D.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),fy(D&&D.map(F=>Object.assign({},F,{params:Object.assign({},m,F.params),pathname:zn([v,c.encodeLocation?c.encodeLocation(F.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathname]),pathnameBase:F.pathnameBase==="/"?v:zn([v,c.encodeLocation?c.encodeLocation(F.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:F.pathnameBase])})),f,a,s,l)}function ly(){let o=yy(),r=xa(o)?`${o.status} ${o.statusText}`:o instanceof Error?o.message:JSON.stringify(o),a=o instanceof Error?o.stack:null,s="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},f=null;return console.error("Error handled by React Router default ErrorBoundary:",o),f=C.createElement(C.Fragment,null,C.createElement("p",null,"ð¿ Hey developer ð"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:c},"ErrorBoundary")," or"," ",C.createElement("code",{style:c},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},r),a?C.createElement("pre",{style:l},a):null,f)}var uy=C.createElement(ly,null),wp=class extends C.Component{constructor(o){super(o),this.state={location:o.location,revalidation:o.revalidation,error:o.error}}static getDerivedStateFromError(o){return{error:o}}static getDerivedStateFromProps(o,r){return r.location!==o.location||r.revalidation!=="idle"&&o.revalidation==="idle"?{error:o.error,location:o.location,revalidation:o.revalidation}:{error:o.error!==void 0?o.error:r.error,location:r.location,revalidation:o.revalidation||r.revalidation}}componentDidCatch(o,r){this.props.onError?this.props.onError(o,r):console.error("React Router caught the following error during render",o)}render(){let o=this.state.error;if(this.context&&typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){const a=ny(o.digest);a&&(o=a)}let r=o!==void 0?C.createElement(pn.Provider,{value:this.props.routeContext},C.createElement(su.Provider,{value:o,children:this.props.component})):this.props.children;return this.context?C.createElement(cy,{error:o},r):r}};wp.contextType=pp;var Fl=new WeakMap;function cy({children:o,error:r}){let{basename:a}=C.useContext(en);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let s=ty(r.digest);if(s){let l=Fl.get(r);if(l)throw l;let c=tp(s.location,a);if(ep&&!Fl.get(r))if(c.isExternal||s.reloadDocument)window.location.href=c.absoluteURL||
53c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:s.replace}));throw Fl.set(r,f),f}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return o}function dy({routeContext:o,match:r,children:a}){let s=C.useContext(Zr);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),C.createElement(pn.Provider,{value:o},a)}function fy(o,r=[],a=null,s=null,l=null){if(o==null){if(!a)return null;if(a.errors)o=a.matches;else if(r.length===0&&!a.initialized&&a.matches.length>0)o=a.matches;else return null}let c=o,f=a==null?void 0:a.errors;if(f!=null){let v=c.findIndex(h=>h.route.id&&(f==null?void 0:f[h.route.id])!==void 0);Oe(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,v+1))}let p=!1,m=-1;if(a)for(let v=0;v<c.length;v++){let h=c[v];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(m=v),h.route.id){let{loaderData:k,errors:x}=a,R=h.route.loader&&!k.hasOwnProperty(h.route.id)&&(!x||x[h.route.id]===void 0);if(h.route.lazy||R){p=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}let g=a&&s?(v,h)=>{var k,x;s(v,{location:a.location,params:((x=(k=a.matches)==null?void 0:k[0])==null?void 0:x.params)??{},unstable_pattern:Ca(a.matches),errorInfo:h})}:void 0;return c.reduceRight((v,h,k)=>{let x,R=!1,_=null,D=null;a&&(x=f&&h.route.id?f[h.route.id]:void 0,_=h.route.errorElement||uy,p&&(m<0&&k===0?(Sp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,D=null):m===k&&(R=!0,D=h.route.hydrateFallbackElement||null)));let H=r.concat(c.slice(0,k+1)),F=()=>{let W;return x?W=_:R?W=D:h.route.Component?W=C.createElement(h.route.Component,null):h.route.element?W=h.route.element:W=v,C.createElement(dy,{match:h,routeContext:{outlet:v,matches:H,isDataRoute:a!=null},children:W})};return a&&(h.route.ErrorBoundary||h.route.errorElement||k===0)?C.createElement(wp,{location:a.location,revalidation:a.revalidation,component:_,error:x,children:F(),routeContext:{outlet:null,matches:H,isDataRoute:!0},onError:g}):F()},null)}function lu(o){return`${o} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function py(o){let r=C.useContext(Zr);return Oe(r,lu(o)),r}function hy(o){let r=C.useContext(Ra);return Oe(r,lu(o)),r}function my(o){let r=C.useContext(pn);return Oe(r,lu(o)),r}function uu(o){let r=my(o),a=r.matches[r.matches.length-1];return Oe(a.route.id,`${o} can only be used on routes that contain a unique "id"`),a.route.id}function gy(){return uu("useRouteId")}function yy(){var s;let o=C.useContext(su),r=hy("useRouteError"),a=uu("useRouteError");return o!==void 0?o:(s=r.errors)==null?void 0:s[a]}function vy(){let{router:o}=py("useNavigate"),r=uu("useNavigate"),a=C.useRef(!1);return yp(()=>{a.current=!0}),C.useCallback(async(l,c={})=>{lt(a.current,gp),a.current&&(typeof l=="number"?await o.navigate(l):await o.navigate(l,{fromRouteId:r,...c}))},[o,r])}var yf={};function Sp(o,r,a){!r&&!yf[o]&&(yf[o]=!0,lt(!1,a))}var vf={};function wf(o,r){!o&&!vf[r]&&(vf[r]=!0,console.warn(r))}var wy="useOptimistic",Sf=zm[wy],Sy=()=>{};function ky(o){return Sf?Sf(o):[o,Sy]}function xy(o){let r={hasErrorBoundary:o.hasErrorBoundary||o.ErrorBoundary!=null||o.errorElement!=null};return o.Component&&(o.element&<(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(r,{element:C.createElement(o.Component),Component:void 0})),o.HydrateFallback&&(o.hydrateFallbackElement&<(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(r,{hydrateFallbackElement:C.createElement(o.HydrateFallback),HydrateFallback:void 0})),o.ErrorBoundary&&(o.errorElement&<(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(r,{errorElement:C.createElement(o.ErrorBoundary),ErrorBoundary:void 0})),r}var Ey=["HydrateFallback","hydrateFallbackElement"],by=class{constructor(){this.status="pending",this.promise=new Promise((o,r)=>{this.resolve=a=>{this.status==="pending"&&(this.status="resolved",o(a))},this.reject=a=>{this.status==="pending"&&(this.status="rejected",r(a))}})}};function Cy({router:o,flushSync:r,onError:a,unstable_useTransitions:s}){s=Jg()||s;let[c,f]=C.useState(o.state),[p,m]=ky(c),[g,v]=C.useState(),[h,k]=C.useState({isTransitioning:!1}),[x,R]=C.useState(),[_,D]=C.useState(),[H,F]=C.useState(),W=C.useRef(new Map),q=C.useCallback((te,{deletedFetchers:oe,newErrors:de,flushSync:Re,viewTransitionOpts:fe})=>{de&&a&&Object.values(de).forEach(ie=>{var Ee;return a(ie,{location:te.location,params:((Ee=te.matches[0])==null?void 0:Ee.params)??{},unstable_pattern:Ca(te.matches)})}
53),te.fetchers.forEach((ie,Ee)=>{ie.data!==void 0&&W.current.set(Ee,ie.data)}),oe.forEach(ie=>W.current.delete(ie)),wf(Re===!1||r!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ae=o.window!=null&&o.window.document!=null&&typeof o.window.document.startViewTransition=="function";if(wf(fe==null||ae,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!fe||!ae){r&&Re?r(()=>f(te)):s===!1?f(te):C.startTransition(()=>{s===!0&&m(ie=>kf(ie,te)),f(te)});return}if(r&&Re){r(()=>{_&&(x==null||x.resolve(),_.skipTransition()),k({isTransitioning:!0,flushSync:!0,currentLocation:fe.currentLocation,nextLocation:fe.nextLocation})});let ie=o.window.document.startViewTransition(()=>{r(()=>f(te))});ie.finished.finally(()=>{r(()=>{R(void 0),D(void 0),v(void 0),k({isTransitioning:!1})})}),r(()=>D(ie));return}_?(x==null||x.resolve(),_.skipTransition(),F({state:te,currentLocation:fe.currentLocation,nextLocation:fe.nextLocation})):(v(te),k({isTransitioning:!0,flushSync:!1,currentLocation:fe.currentLocation,nextLocation:fe.nextLocation}))},[o.window,r,_,x,s,m,a]);C.useLayoutEffect(()=>o.subscribe(q),[o,q]),C.useEffect(()=>{h.isTransitioning&&!h.flushSync&&R(new by)},[h]),C.useEffect(()=>{if(x&&g&&o.window){let te=g,oe=x.promise,de=o.window.document.startViewTransition(async()=>{s===!1?f(te):C.startTransition(()=>{s===!0&&m(Re=>kf(Re,te)),f(te)}),await oe});de.finished.finally(()=>{R(void 0),D(void 0),v(void 0),k({isTransitioning:!1})}),D(de)}},[g,x,o.window,s,m]),C.useEffect(()=>{x&&g&&p.location.key===g.location.key&&x.resolve()},[x,_,p.location,g]),C.useEffect(()=>{!h.isTransitioning&&H&&(v(H.state),k({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}),F(void 0))},[h.isTransitioning,H]);let ee=C.useMemo(()=>({createHref:o.createHref,encodeLocation:o.encodeLocation,go:te=>o.navigate(te),push:(te,oe,de)=>o.navigate(te,{state:oe,preventScrollReset:de==null?void 0:de.preventScrollReset}),replace:(te,oe,de)=>o.navigate(te,{replace:!0,state:oe,preventScrollReset:de==null?void 0:de.preventScrollReset})}),[o]),Se=o.basename||"/",N=C.useMemo(()=>({router:o,navigator:ee,static:!1,basename:Se,onError:a}),[o,ee,Se,a]);return C.createElement(C.Fragment,null,C.createElement(Zr.Provider,{value:N},C.createElement(Ra.Provider,{value:p},C.createElement(hp.Provider,{value:W.current},C.createElement(iu.Provider,{value:h},C.createElement(Ly,{basename:Se,location:p.location,navigationType:p.historyAction,navigator:ee,unstable_useTransitions:s},C.createElement(Ry,{routes:o.routes,future:o.future,state:p,onError:a})))))),null)}function kf(o,r){return{...o,navigation:r.navigation.state!=="idle"?r.navigation:o.navigation,revalidation:r.revalidation!=="idle"?r.revalidation:o.revalidation,actionData:r.navigation.state!=="submitting"?r.actionData:o.actionData,fetchers:r.fetchers}}var Ry=C.memo(Ty);function Ty({routes:o,future:r,state:a,onError:s}){return sy(o,void 0,a,s,r)}function Zw({to:o,replace:r,state:a,relative:s}){Oe(Do(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=C.useContext(en);lt(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=C.useContext(pn),{pathname:f}=En(),p=vp(),m=Vi(o,Wi(c),f,s==="path"),g=JSON.stringify(m);return C.useEffect(()=>{p(JSON.parse(g),{replace:r,state:a,relative:s})},[p,g,s,r,a]),null}function Py(o){return iy(o.context)}function Ly({basename:o="/",children:r=null,location:a,navigationType:s="POP",navigator:l,static:c=!1,unstable_useTransitions:f}){Oe(!Do(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=o.replace(/^\/*/,"/"),m=C.useMemo(()=>({basename:p,navigator:l,static:c,unstable_useTransitions:f,future:{}}),[p,l,c,f]);
53typeof a=="string"&&(a=Nr(a));let{pathname:g="/",search:v="",hash:h="",state:k=null,key:x="default"}=a,R=C.useMemo(()=>{let _=fn(g,p);return _==null?null:{location:{pathname:_,search:v,hash:h,state:k,key:x},navigationType:s}},[p,g,v,h,k,x,s]);return lt(R!=null,`<Router basename="${p}"> is not able to match the URL "${g}${v}${h}" because it does not start with the basename, so the <Router> won't render anything.`),R==null?null:C.createElement(en.Provider,{value:m},C.createElement(Ki.Provider,{children:r,value:R}))}var ji="get",Fi="application/x-www-form-urlencoded";function Yi(o){return typeof HTMLElement<"u"&&o instanceof HTMLElement}function Ny(o){return Yi(o)&&o.tagName.toLowerCase()==="button"}function Dy(o){return Yi(o)&&o.tagName.toLowerCase()==="form"}function Ay(o){return Yi(o)&&o.tagName.toLowerCase()==="input"}function Oy(o){return!!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)}function _y(o,r){return o.button===0&&(!r||r==="_self")&&!Oy(o)}var Ai=null;function My(){if(Ai===null)try{new FormData(document.createElement("form"),0),Ai=!1}catch{Ai=!0}return Ai}var Iy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function zl(o){return o!=null&&!Iy.has(o)?(lt(!1,`"${o}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fi}"`),null):o}function jy(o,r){let a,s,l,c,f;if(Dy(o)){let p=o.getAttribute("action");s=p?fn(p,r):null,a=o.getAttribute("method")||ji,l=zl(o.getAttribute("enctype"))||Fi,c=new FormData(o)}else if(Ny(o)||Ay(o)&&(o.type==="submit"||o.type==="image")){let p=o.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=o.getAttribute("formaction")||p.getAttribute("action");if(s=m?fn(m,r):null,a=o.getAttribute("formmethod")||p.getAttribute("method")||ji,l=zl(o.getAttribute("formenctype"))||zl(p.getAttribute("enctype"))||Fi,c=new FormData(p,o),!My()){let{name:g,type:v,value:h}=o;if(v==="image"){let k=g?`${g}.`:"";c.append(`${k}x`,"0"),c.append(`${k}y`,"0")}else g&&c.append(g,h)}}else{if(Yi(o))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=ji,s=null,l=Fi,f=o}return c&&l==="text/plain"&&(f=c,c=void 0),{action:s,method:a.toLowerCase(),encType:l,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function cu(o,r){if(o===!1||o===null||typeof o>"u")throw new Error(r)}function Fy(o,r,a,s){let l=typeof o=="string"?new URL(o,typeof window>"u"?"server://singlefetch/":window.location.origin):o;return a?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${s}`:l.pathname=`${l.pathname}.${s}`:l.pathname==="/"?l.pathname=`_root.${s}`:r&&fn(l.pathname,r)==="/"?l.pathname=`${r.replace(/\/$/,"")}/_root.${s}`:l.pathname=`${l.pathname.replace(/\/$/,"")}.${s}`,l}async function zy(o,r){if(o.id in r)return r[o.id];try{let a=await import(o.module);return r[o.id]=a,a}catch(a){return console.error(`Error loading route module \`${o.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Uy(o){return o==null?!1:o.href==null?o.rel==="preload"&&typeof o.imageSrcSet=="string"&&typeof o.imageSizes=="string":typeof o.rel=="string"&&typeof o.href=="string"}async function By(o,r,a){let s=await Promise.all(o.map(async l=>{let c=r.routes[l.route.id];if(c){let f=await zy(c,a);return f.links?f.links():[]}return[]}));return Vy(s.flat(1).filter(Uy).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function xf(o,r,a,s,l,c){let f=(m,g)=>a[g]?m.route.id!==a[g].route.id:!0,p=(m,g)=>{var v;return a[g].pathname!==m.pathname||((v=a[g].route.path)==null?void 0:v.endsWith("*"))&&a[g].params["*"]!==m.params["*"]};return c==="assets"?r.filter((m,g)=>f(m,g)||p(m,g)):c==="data"?r.filter((m,g)=>{var h;let v=s.routes[m.route.id];if(!v||!v.hasLoader)return!1;if(f(m,g)||p(m,g))return!0;if(m.route.shouldRevalidate){let k=m.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParam
53s:((h=a[0])==null?void 0:h.params)||{},nextUrl:new URL(o,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof k=="boolean")return k}return!0}):[]}function $y(o,r,{includeHydrateFallback:a}={}){return Hy(o.map(s=>{let l=r.routes[s.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),a&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function Hy(o){return[...new Set(o)]}function Wy(o){let r={},a=Object.keys(o).sort();for(let s of a)r[s]=o[s];return r}function Vy(o,r){let a=new Set;return new Set(r),o.reduce((s,l)=>{let c=JSON.stringify(Wy(l));return a.has(c)||(a.add(c),s.push({key:c,link:l})),s},[])}function kp(){let o=C.useContext(Zr);return cu(o,"You must render this element inside a <DataRouterContext.Provider> element"),o}function Ky(){let o=C.useContext(Ra);return cu(o,"You must render this element inside a <DataRouterStateContext.Provider> element"),o}var du=C.createContext(void 0);du.displayName="FrameworkContext";function xp(){let o=C.useContext(du);return cu(o,"You must render this element inside a <HydratedRouter> element"),o}function Yy(o,r){let a=C.useContext(du),[s,l]=C.useState(!1),[c,f]=C.useState(!1),{onFocus:p,onBlur:m,onMouseEnter:g,onMouseLeave:v,onTouchStart:h}=r,k=C.useRef(null);C.useEffect(()=>{if(o==="render"&&f(!0),o==="viewport"){let _=H=>{H.forEach(F=>{f(F.isIntersecting)})},D=new IntersectionObserver(_,{threshold:.5});return k.current&&D.observe(k.current),()=>{D.disconnect()}}},[o]),C.useEffect(()=>{if(s){let _=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(_)}}},[s]);let x=()=>{l(!0)},R=()=>{l(!1),f(!1)};return a?o!=="intent"?[c,k,{}]:[c,k,{onFocus:pa(p,x),onBlur:pa(m,R),onMouseEnter:pa(g,x),onMouseLeave:pa(v,R),onTouchStart:pa(h,x)}]:[!1,k,{}]}function pa(o,r){return a=>{o&&o(a),a.defaultPrevented||r(a)}}function Qy({page:o,...r}){let{router:a}=kp(),s=C.useMemo(()=>Tr(a.routes,o,a.basename),[a.routes,o,a.basename]);return s?C.createElement(Gy,{page:o,matches:s,...r}):null}function qy(o){let{manifest:r,routeModules:a}=xp(),[s,l]=C.useState([]);return C.useEffect(()=>{let c=!1;return By(o,r,a).then(f=>{c||l(f)}),()=>{c=!0}},[o,r,a]),s}function Gy({page:o,matches:r,...a}){let s=En(),{future:l,manifest:c,routeModules:f}=xp(),{basename:p}=kp(),{loaderData:m,matches:g}=Ky(),v=C.useMemo(()=>xf(o,r,g,c,s,"data"),[o,r,g,c,s]),h=C.useMemo(()=>xf(o,r,g,c,s,"assets"),[o,r,g,c,s]),k=C.useMemo(()=>{if(o===s.pathname+s.search+s.hash)return[];let _=new Set,D=!1;if(r.forEach(F=>{var q;let W=c.routes[F.route.id];!W||!W.hasLoader||(!v.some(ee=>ee.route.id===F.route.id)&&F.route.id in m&&((q=f[F.route.id])!=null&&q.shouldRevalidate)||W.hasClientLoader?D=!0:_.add(F.route.id))}),_.size===0)return[];let H=Fy(o,p,l.unstable_trailingSlashAwareDataRequests,"data");return D&&_.size>0&&H.searchParams.set("_routes",r.filter(F=>_.has(F.route.id)).map(F=>F.route.id).join(",")),[H.pathname+H.search]},[p,l.unstable_trailingSlashAwareDataRequests,m,s,c,v,r,o,f]),x=C.useMemo(()=>$y(h,c),[h,c]),R=qy(h);return C.createElement(C.Fragment,null,k.map(_=>C.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...a})),x.map(_=>C.createElement("link",{key:_,rel:"modulepreload",href:_,...a})),R.map(({key:_,link:D})=>C.createElement("link",{key:_,nonce:a.nonce,...D,crossOrigin:D.crossOrigin??a.crossOrigin})))}function Jy(...o){return r=>{o.forEach(a=>{typeof a=="function"?a(r):a!=null&&(a.current=r)})}}var Xy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Xy&&(window.__reactRouterVersion="7.13.0")}catch{}function Zy(o,r){return Rg({basename:r==null?void 0:r.basename,getContext:r==null?void 0:r.getContext,future:r==null?void 0:r.future,history:$m({window:r==null?void 0:r.window}),hydrationData:ev(),routes:o,mapRouteProperties:xy,hydrationRouteProperties:Ey,dataStrategy:r==null?void 0:r.dataStrategy,patchRoutesOnNavigation:r==null?void 0:r.patchRoutesOnNavigation,window:r==null?void 0:r.window,unstable_instrumentations:r==null?void 0:r.unstable_instrumentations}).initialize()}function ev(){let o=window==null?void 0:window.__staticRouterHydrationData;
53return o&&o.errors&&(o={...o,errors:tv(o.errors)}),o}function tv(o){if(!o)return null;let r=Object.entries(o),a={};for(let[s,l]of r)if(l&&l.__type==="RouteErrorResponse")a[s]=new ba(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let c=window[l.__subType];if(typeof c=="function")try{let f=new c(l.message);f.stack="",a[s]=f}catch{}}if(a[s]==null){let c=new Error(l.message);c.stack="",a[s]=c}}else a[s]=l;return a}var Ep=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lo=C.forwardRef(function({onClick:r,discover:a="render",prefetch:s="none",relative:l,reloadDocument:c,replace:f,state:p,target:m,to:g,preventScrollReset:v,viewTransition:h,unstable_defaultShouldRevalidate:k,...x},R){let{basename:_,unstable_useTransitions:D}=C.useContext(en),H=typeof g=="string"&&Ep.test(g),F=tp(g,_);g=F.to;let W=ry(g,{relative:l}),[q,ee,Se]=Yy(s,x),N=av(g,{replace:f,state:p,target:m,preventScrollReset:v,relative:l,viewTransition:h,unstable_defaultShouldRevalidate:k,unstable_useTransitions:D});function te(de){r&&r(de),de.defaultPrevented||N(de)}let oe=C.createElement("a",{...x,...Se,href:F.absoluteURL||W,onClick:F.isExternal||c?r:te,ref:Jy(R,ee),target:m,"data-discover":!H&&a==="render"?"true":void 0});return q&&!H?C.createElement(C.Fragment,null,oe,C.createElement(Qy,{page:W})):oe});Lo.displayName="Link";var nv=C.forwardRef(function({"aria-current":r="page",caseSensitive:a=!1,className:s="",end:l=!1,style:c,to:f,viewTransition:p,children:m,...g},v){let h=Ta(f,{relative:g.relative}),k=En(),x=C.useContext(Ra),{navigator:R,basename:_}=C.useContext(en),D=x!=null&&cv(h)&&p===!0,H=R.encodeLocation?R.encodeLocation(h).pathname:h.pathname,F=k.pathname,W=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;a||(F=F.toLowerCase(),W=W?W.toLowerCase():null,H=H.toLowerCase()),W&&_&&(W=fn(W,_)||W);const q=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let ee=F===H||!l&&F.startsWith(H)&&F.charAt(q)==="/",Se=W!=null&&(W===H||!l&&W.startsWith(H)&&W.charAt(H.length)==="/"),N={isActive:ee,isPending:Se,isTransitioning:D},te=ee?r:void 0,oe;typeof s=="function"?oe=s(N):oe=[s,ee?"active":null,Se?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let de=typeof c=="function"?c(N):c;return C.createElement(Lo,{...g,"aria-current":te,className:oe,ref:v,style:de,to:f,viewTransition:p},typeof m=="function"?m(N):m)});nv.displayName="NavLink";var rv=C.forwardRef(({discover:o="render",fetcherKey:r,navigate:a,reloadDocument:s,replace:l,state:c,method:f=ji,action:p,onSubmit:m,relative:g,preventScrollReset:v,viewTransition:h,unstable_defaultShouldRevalidate:k,...x},R)=>{let{unstable_useTransitions:_}=C.useContext(en),D=lv(),H=uv(p,{relative:g}),F=f.toLowerCase()==="get"?"get":"post",W=typeof p=="string"&&Ep.test(p),q=ee=>{if(m&&m(ee),ee.defaultPrevented)return;ee.preventDefault();let Se=ee.nativeEvent.submitter,N=(Se==null?void 0:Se.getAttribute("formmethod"))||f,te=()=>D(Se||ee.currentTarget,{fetcherKey:r,method:N,navigate:a,replace:l,state:c,relative:g,preventScrollReset:v,viewTransition:h,unstable_defaultShouldRevalidate:k});_&&a!==!1?C.startTransition(()=>te()):te()};return C.createElement("form",{ref:R,method:F,action:H,onSubmit:s?m:q,...x,"data-discover":!W&&o==="render"?"true":void 0})});rv.displayName="Form";function ov(o){return`${o} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function bp(o){let r=C.useContext(Zr);return Oe(r,ov(o)),r}function av(o,{target:r,replace:a,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:m}={}){let g=vp(),v=En(),h=Ta(o,{relative:c}
53);return C.useCallback(k=>{if(_y(k,r)){k.preventDefault();let x=a!==void 0?a:Un(v)===Un(h),R=()=>g(o,{replace:x,state:s,preventScrollReset:l,relative:c,viewTransition:f,unstable_defaultShouldRevalidate:p});m?C.startTransition(()=>R()):R()}},[v,g,h,a,s,r,o,l,c,f,p,m])}var iv=0,sv=()=>`__${String(++iv)}__`;function lv(){let{router:o}=bp("useSubmit"),{basename:r}=C.useContext(en),a=gy(),s=o.fetch,l=o.navigate;return C.useCallback(async(c,f={})=>{let{action:p,method:m,encType:g,formData:v,body:h}=jy(c,r);if(f.navigate===!1){let k=f.fetcherKey||sv();await s(k,a,f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:v,body:h,formMethod:f.method||m,formEncType:f.encType||g,flushSync:f.flushSync})}else await l(f.action||p,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:v,body:h,formMethod:f.method||m,formEncType:f.encType||g,replace:f.replace,state:f.state,fromRouteId:a,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,l,r,a])}function uv(o,{relative:r}={}){let{basename:a}=C.useContext(en),s=C.useContext(pn);Oe(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),c={...Ta(o||".",{relative:r})},f=En();if(o==null){c.search=f.search;let p=new URLSearchParams(c.search),m=p.getAll("index");if(m.some(v=>v==="")){p.delete("index"),m.filter(h=>h).forEach(h=>p.append("index",h));let v=p.toString();c.search=v?`?${v}`:""}}return(!o||o===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:zn([a,c.pathname])),Un(c)}function cv(o,{relative:r}={}){let a=C.useContext(iu);Oe(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=bp("useViewTransitionState"),l=Ta(o,{relative:r});if(!a.isTransitioning)return!1;let c=fn(a.currentLocation.pathname,s)||a.currentLocation.pathname,f=fn(a.nextLocation.pathname,s)||a.nextLocation.pathname;return zi(l.pathname,f)!=null||zi(l.pathname,c)!=null}var Ul={};const Le=o=>typeof o=="string",ha=()=>{let o,r;const a=new Promise((s,l)=>{o=s,r=l});return a.resolve=o,a.reject=r,a},Ef=o=>o==null?"":""+o,dv=(o,r,a)=>{o.forEach(s=>{r[s]&&(a[s]=r[s])})},fv=/###/g,bf=o=>o&&o.indexOf("###")>-1?o.replace(fv,"."):o,Cf=o=>!o||Le(o),va=(o,r,a)=>{const s=Le(r)?r.split("."):r;let l=0;for(;l<s.length-1;){if(Cf(o))return{};const c=bf(s[l]);!o[c]&&a&&(o[c]=new a),Object.prototype.hasOwnProperty.call(o,c)?o=o[c]:o={},++l}return Cf(o)?{}:{obj:o,k:bf(s[l])}},Rf=(o,r,a)=>{const{obj:s,k:l}=va(o,r,Object);if(s!==void 0||r.length===1){s[l]=a;return}let c=r[r.length-1],f=r.slice(0,r.length-1),p=va(o,f,Object);for(;p.obj===void 0&&f.length;)c=`${f[f.length-1]}.${c}`,f=f.slice(0,f.length-1),p=va(o,f,Object),p!=null&&p.obj&&typeof p.obj[`${p.k}.${c}`]<"u"&&(p.obj=void 0);p.obj[`${p.k}.${c}`]=a},pv=(o,r,a,s)=>{const{obj:l,k:c}=va(o,r,Object);l[c]=l[c]||[],l[c].push(a)},Ui=(o,r)=>{const{obj:a,k:s}=va(o,r);if(a&&Object.prototype.hasOwnProperty.call(a,s))return a[s]},hv=(o,r,a)=>{const s=Ui(o,a);return s!==void 0?s:Ui(r,a)},Cp=(o,r,a)=>{for(const s in r)s!=="__proto__"&&s!=="constructor"&&(s in o?Le(o[s])||o[s]instanceof String||Le(r[s])||r[s]instanceof String?a&&(o[s]=r[s]):Cp(o[s],r[s],a):o[s]=r[s]);return o},Gr=o=>o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var mv={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const gv=o=>Le(o)?o.replace(/[&<>"'\/]/g,r=>mv[r]):o;class yv{constructor(r){this.capacity=r,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(r){const a=this.regExpMap.get(r);if(a!==void 0)return a;const s=new RegExp(r);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(r,s),this.regExpQueue.push(r),s}}const vv=[" ",",","?","!",";"],wv=new yv(20),Sv=(o,r,a)=>{r=r||"",a=a||"";const s=vv.filter(f=>r.indexOf(f)<0&&a.indexOf(f)<0);if(s.length===0)return!0;const l=wv.getRegExp(`(${s.map(f=>f==="?"?"\\?":f).join("|")})`);let c=!l.test(o);if(!c){const f=o.indexOf(a);f>0&&!l.test(o.substring(0,f))&&(c=!0)}return c},Gl=(o,r,a=".")=>
vendor: 4,880 bytes, line 53
53{if(!o)return;if(o[r])return Object.prototype.hasOwnProperty.call(o,r)?o[r]:void 0;const s=r.split(a);let l=o;for(let c=0;c<s.length;){if(!l||typeof l!="object")return;let f,p="";for(let m=c;m<s.length;++m)if(m!==c&&(p+=a),p+=s[m],f=l[p],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&m<s.length-1)continue;c+=m-c+1;break}l=f}return l},Ea=o=>o==null?void 0:o.replace(/_/g,"-"),kv={type:"logger",log(o){this.output("log",o)},warn(o){this.output("warn",o)},error(o){this.output("error",o)},output(o,r){var a,s;(s=(a=console==null?void 0:console[o])==null?void 0:a.apply)==null||s.call(a,console,r)}};class Bi{constructor(r,a={}){this.init(r,a)}init(r,a={}){this.prefix=a.prefix||"i18next:",this.logger=r||kv,this.options=a,this.debug=a.debug}log(...r){return this.forward(r,"log","",!0)}warn(...r){return this.forward(r,"warn","",!0)}error(...r){return this.forward(r,"error","")}deprecate(...r){return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(r,a,s,l){return l&&!this.debug?null:(Le(r[0])&&(r[0]=`${s}${this.prefix} ${r[0]}`),this.logger[a](r))}create(r){return new Bi(this.logger,{prefix:`${this.prefix}:${r}:`,...this.options})}clone(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new Bi(this.logger,r)}}var Fn=new Bi;class Qi{constructor(){this.observers={}}on(r,a){return r.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const l=this.observers[s].get(a)||0;this.observers[s].set(a,l+1)}),this}off(r,a){if(this.observers[r]){if(!a){delete this.observers[r];return}this.observers[r].delete(a)}}emit(r,...a){this.observers[r]&&Array.from(this.observers[r].entries()).forEach(([l,c])=>{for(let f=0;f<c;f++)l(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([l,c])=>{for(let f=0;f<c;f++)l.apply(l,[r,...a])})}}class Tf extends Qi{constructor(r,a={ns:["translation"],defaultNS:"translation"}){super(),this.data=r||{},this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(r){this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}removeNamespaces(r){const a=this.options.ns.indexOf(r);a>-1&&this.options.ns.splice(a,1)}getResource(r,a,s,l={}){var g,v;const c=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator,f=l.ignoreJSONStructure!==void 0?l.ignoreJSONStructure:this.options.ignoreJSONStructure;let p;r.indexOf(".")>-1?p=r.split("."):(p=[r,a],s&&(Array.isArray(s)?p.push(...s):Le(s)&&c?p.push(...s.split(c)):p.push(s)));const m=Ui(this.data,p);return!m&&!a&&!s&&r.indexOf(".")>-1&&(r=p[0],a=p[1],s=p.slice(2).join(".")),m||!f||!Le(s)?m:Gl((v=(g=this.data)==null?void 0:g[r])==null?void 0:v[a],s,c)}addResource(r,a,s,l,c={silent:!1}){const f=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator;let p=[r,a];s&&(p=p.concat(f?s.split(f):s)),r.indexOf(".")>-1&&(p=r.split("."),l=a,a=p[1]),this.addNamespaces(a),Rf(this.data,p,l),c.silent||this.emit("added",r,a,s,l)}addResources(r,a,s,l={silent:!1}){for(const c in s)(Le(s[c])||Array.isArray(s[c]))&&this.addResource(r,a,c,s[c],{silent:!0});l.silent||this.emit("added",r,a,s)}addResourceBundle(r,a,s,l,c,f={silent:!1,skipCopy:!1}){let p=[r,a];r.indexOf(".")>-1&&(p=r.split("."),l=s,s=a,a=p[1]),this.addNamespaces(a);let m=Ui(this.data,p)||{};f.skipCopy||(s=JSON.parse(JSON.stringify(s))),l?Cp(m,s,c):m={...m,...s},Rf(this.data,p,m),f.silent||this.emit("added",r,a,s)}removeResourceBundle(r,a){this.hasResourceBundle(r,a)&&delete this.data[r][a],this.removeNamespaces(a),this.emit("removed",r,a)}hasResourceBundle(r,a){return this.getResource(r,a)!==void 0}getResourceBundle(r,a){return a||(a=this.options.defaultNS),this.getResource(r,a)}getDataByLanguage(r){return this.data[r]}hasLanguageSomeTranslations(r){const a=this.getDataByLanguage(r);return!!(a&&Object.keys(a)||[]).find(l=>a[l]&&Object.keys(a[l]).length>0)}toJSON(){return this.data}}var Rp={processors:{},addPostProcessor(o){this.processors[o.name]=o},handle(o,r,a,s,l){return o.forEach(c=>{var f;r=((f=this.processors[c])==null?void 0:f.process(r,a,s,l))??r}),r}};const Tp=Symbol("i18next/PATH_KEY");function xv(){const o=[],r=Object.create(null);let a;return r.get=(s,l)=>{var c;return(c=a==null?void 0:a.revoke)==null||c.call(a),l===Tp?o:(o.push(l),a=Proxy.revocable(s,r),a.proxy)},Proxy.revocable(Object.create(null),r).proxy}function Po(o,r){const{[Tp]:a}=o(xv()),s=(r==null?void 0:r.keySeparator)??".",l=(r==null?void 0:r.nsSeparator)??":";if(a.length>1&&l){const c=r==null?void 0:r.ns,f=Array.isArray(c)?c:null;if(f&&f.length>1&&f.slice(1).includes(a[0]))return`${a[0]}${l}${a.slice(1).join(s)}`}return a.join(s)}const Pf={},Bl=o=>!Le(o)&&typeof o!="boolean"&&typeof o!="number";class $i extends Qi{constructor(r,a={}){super(),dv(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
53i18nFormat","utils"],r,this),this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Fn.create("translator")}changeLanguage(r){r&&(this.language=r)}exists(r,a={interpolation:{}}){const s={...a};if(r==null)return!1;const l=this.resolve(r,s);if((l==null?void 0:l.res)===void 0)return!1;const c=Bl(l.res);return!(s.returnObjects===!1&&c)}extractFromKey(r,a){let s=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const l=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let c=a.ns||this.options.defaultNS||[];const f=s&&r.indexOf(s)>-1,p=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!Sv(r,s,l);if(f&&!p){const m=r.match(this.interpolator.nestingRegexp);if(m&&m.length>0)return{key:r,namespaces:Le(c)?[c]:c};const g=r.split(s);(s!==l||s===l&&this.options.ns.indexOf(g[0])>-1)&&(c=g.shift()),r=g.join(l)}return{key:r,namespaces:Le(c)?[c]:c}}translate(r,a,s){let l=typeof a=="object"?{...a}:a;if(typeof l!="object"&&this.options.overloadTranslationOptionHandler&&(l=this.options.overloadTranslationOptionHandler(arguments)),typeof l=="object"&&(l={...l}),l||(l={}),r==null)return"";typeof r=="function"&&(r=Po(r,{...this.options,...l})),Array.isArray(r)||(r=[String(r)]),r=r.map(ae=>typeof ae=="function"?Po(ae,{...this.options,...l}):String(ae));const c=l.returnDetails!==void 0?l.returnDetails:this.options.returnDetails,f=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator,{key:p,namespaces:m}=this.extractFromKey(r[r.length-1],l),g=m[m.length-1];let v=l.nsSeparator!==void 0?l.nsSeparator:this.options.nsSeparator;v===void 0&&(v=":");const h=l.lng||this.language,k=l.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((h==null?void 0:h.toLowerCase())==="cimode")return k?c?{res:`${g}${v}${p}`,usedKey:p,exactUsedKey:p,usedLng:h,usedNS:g,usedParams:this.getUsedParamsDetails(l)}:`${g}${v}${p}`:c?{res:p,usedKey:p,exactUsedKey:p,usedLng:h,usedNS:g,usedParams:this.getUsedParamsDetails(l)}:p;const x=this.resolve(r,l);let R=x==null?void 0:x.res;const _=(x==null?void 0:x.usedKey)||p,D=(x==null?void 0:x.exactUsedKey)||p,H=["[object Number]","[object Function]","[object RegExp]"],F=l.joinArrays!==void 0?l.joinArrays:this.options.joinArrays,W=!this.i18nFormat||this.i18nFormat.handleAsObject,q=l.count!==void 0&&!Le(l.count),ee=$i.hasDefaultValue(l),Se=q?this.pluralResolver.getSuffix(h,l.count,l):"",N=l.ordinal&&q?this.pluralResolver.getSuffix(h,l.count,{ordinal:!1}):"",te=q&&!l.ordinal&&l.count===0,oe=te&&l[`defaultValue${this.options.pluralSeparator}zero`]||l[`defaultValue${Se}`]||l[`defaultValue${N}`]||l.defaultValue;let de=R;W&&!R&&ee&&(de=oe);const Re=Bl(de),fe=Object.prototype.toString.apply(de);if(W&&de&&Re&&H.indexOf(fe)<0&&!(Le(F)&&Array.isArray(de))){if(!l.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ae=this.options.returnedObjectHandler?this.options.returnedObjectHandler(_,de,{...l,ns:m}):`key '${p} (${this.language})' returned an object instead of string.`;return c?(x.res=ae,x.usedParams=this.getUsedParamsDetails(l),x):ae}if(f){const ae=Array.isArray(de),ie=ae?[]:{},Ee=ae?D:_;for(const K in de)if(Object.prototype.hasOwnProperty.call(de,K)){const ne=`${Ee}${f}${K}`;ee&&!R?ie[K]=this.translate(ne,{...l,defaultValue:Bl(oe)?oe[K]:void 0,joinArrays:!1,ns:m}):ie[K]=this.translate(ne,{...l,joinArrays:!1,ns:m}),ie[K]===ne&&(ie[K]=de[K])}R=ie}}else if(W&&Le(F)&&Array.isArray(R))R=R.join(F),R&&(R=this.extendTranslation(R,r,l,s));else{let ae=!1,ie=!1;!this.isValidLookup(R)&&ee&&(ae=!0,R=oe),this.isValidLookup(R)||(ie=!0,R=p);const K=(l.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ie?void 0:R,ne=ee&&oe!==R&&this.options.updateMissing;if(ie||ae||ne){if(this.logger.log(ne?"updateKey":"missingKey",h,g,p,ne?oe:R),f){const E=this.resolve(p,{...l,keySeparator:!1});E&&E.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let j=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,l.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let E=0;E<J.length;E++)j.push(J[E]);else this.options.saveMissingTo==="all"?j=this.languageUtils.toResolveHierarchy(l.lng||this.language):j.push(l.lng||this.language);const Y=(E,M,X)=>{var ye;const ce=ee&&X!==R?X:K;this.options.missingKeyHandler?this.options.missingKeyHandler(E,g,M,ce,ne,l):(ye=this.backendConnector)!=null&&ye.saveMissing&&this.backendConnector.saveMissing(E,g,M,ce,ne,l),this.emit
vendor: 6,749 bytes, line 53
53("missingKey",E,g,M,R)};this.options.saveMissing&&(this.options.saveMissingPlurals&&q?j.forEach(E=>{const M=this.pluralResolver.getSuffixes(E,l);te&&l[`defaultValue${this.options.pluralSeparator}zero`]&&M.indexOf(`${this.options.pluralSeparator}zero`)<0&&M.push(`${this.options.pluralSeparator}zero`),M.forEach(X=>{Y([E],p+X,l[`defaultValue${X}`]||oe)})}):Y(j,p,oe))}R=this.extendTranslation(R,r,l,x,s),ie&&R===p&&this.options.appendNamespaceToMissingKey&&(R=`${g}${v}${p}`),(ie||ae)&&this.options.parseMissingKeyHandler&&(R=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${g}${v}${p}`:p,ae?R:void 0,l))}return c?(x.res=R,x.usedParams=this.getUsedParamsDetails(l),x):R}extendTranslation(r,a,s,l,c){var m,g;if((m=this.i18nFormat)!=null&&m.parse)r=this.i18nFormat.parse(r,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||l.usedLng,l.usedNS,l.usedKey,{resolved:l});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const v=Le(r)&&(((g=s==null?void 0:s.interpolation)==null?void 0:g.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(v){const x=r.match(this.interpolator.nestingRegexp);h=x&&x.length}let k=s.replace&&!Le(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(k={...this.options.interpolation.defaultVariables,...k}),r=this.interpolator.interpolate(r,k,s.lng||this.language||l.usedLng,s),v){const x=r.match(this.interpolator.nestingRegexp),R=x&&x.length;h<R&&(s.nest=!1)}!s.lng&&l&&l.res&&(s.lng=this.language||l.usedLng),s.nest!==!1&&(r=this.interpolator.nest(r,(...x)=>(c==null?void 0:c[0])===x[0]&&!s.context?(this.logger.warn(`It seems you are nesting recursively key: ${x[0]} in key: ${a[0]}`),null):this.translate(...x,a),s)),s.interpolation&&this.interpolator.reset()}const f=s.postProcess||this.options.postProcess,p=Le(f)?[f]:f;return r!=null&&(p!=null&&p.length)&&s.applyPostProcessor!==!1&&(r=Rp.handle(p,r,a,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...l,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),r}resolve(r,a={}){let s,l,c,f,p;return Le(r)&&(r=[r]),Array.isArray(r)&&(r=r.map(m=>typeof m=="function"?Po(m,{...this.options,...a}):m)),r.forEach(m=>{if(this.isValidLookup(s))return;const g=this.extractFromKey(m,a),v=g.key;l=v;let h=g.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const k=a.count!==void 0&&!Le(a.count),x=k&&!a.ordinal&&a.count===0,R=a.context!==void 0&&(Le(a.context)||typeof a.context=="number")&&a.context!=="",_=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);h.forEach(D=>{var H,F;this.isValidLookup(s)||(p=D,!Pf[`${_[0]}-${D}`]&&((H=this.utils)!=null&&H.hasLoadedNamespace)&&!((F=this.utils)!=null&&F.hasLoadedNamespace(p))&&(Pf[`${_[0]}-${D}`]=!0,this.logger.warn(`key "${l}" for languages "${_.join(", ")}" won't get resolved as namespace "${p}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),_.forEach(W=>{var Se;if(this.isValidLookup(s))return;f=W;const q=[v];if((Se=this.i18nFormat)!=null&&Se.addLookupKeys)this.i18nFormat.addLookupKeys(q,v,W,D,a);else{let N;k&&(N=this.pluralResolver.getSuffix(W,a.count,a));const te=`${this.options.pluralSeparator}zero`,oe=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(k&&(a.ordinal&&N.indexOf(oe)===0&&q.push(v+N.replace(oe,this.options.pluralSeparator)),q.push(v+N),x&&q.push(v+te)),R){const de=`${v}${this.options.contextSeparator||"_"}${a.context}`;q.push(de),k&&(a.ordinal&&N.indexOf(oe)===0&&q.push(de+N.replace(oe,this.options.pluralSeparator)),q.push(de+N),x&&q.push(de+te))}}let ee;for(;ee=q.pop();)this.isValidLookup(s)||(c=ee,s=this.getResource(W,D,ee,a))}))})}),{res:s,usedKey:l,exactUsedKey:c,usedLng:f,usedNS:p}}isValidLookup(r){return r!==void 0&&!(!this.options.returnNull&&r===null)&&!(!this.options.returnEmptyString&&r==="")}getResource(r,a,s,l={}){var c;return(c=this.i18nFormat)!=null&&c.getResource?this.i18nFormat.getResource(r,a,s,l):this.resourceStore.getResource(r,a,s,l)}getUsedParamsDetails(r={}){const a=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=r.replace&&!Le(r.replace);let l=s?r.replace:r;if(s&&typeof r.count<"u"&&(l.count=r.count),this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),!s){l={...l};for(const c of a)delete l[c]}return l}static hasDefaultValue(r){const a="defaultValue";for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&a===s.substring(0,a.length)&&r[s]!==void 0)return!0;return!1}}class Lf{constructor(r){this.options=r,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Fn.create("languageUtils")}getScriptPartFromCode(r){if(r=Ea(r),!r||r.indexOf("-")<0)return null;const a=r.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}getLanguagePartFromCode(r){if(r=Ea(r),!r||r.indexOf("-")<0)return r;const a=r.split("-");return this.formatLanguageCode(a[0])}formatLanguageCode(r){if(Le(r)&&r.indexOf("-")>-1){let a;try{a=Intl.getCanonicalLocales(r)[0]}catch{}return a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a||(this.options.lowerCaseLng?r.toLowerCase():r)}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}isSupportedCode(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}getBestMatchFromCodes(r){if(!r)return null;let a;return r.forEach(s=>{if(a)return;const l=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(l))&&(a=l)}),!a&&this.options.supportedLngs&&r.forEach(s=>{if(a)return;const l=this.getScriptPartFromCode(s);if(this.isSupportedCode(l))return a=l;const c=this.getLanguagePartFromCode(s);if(this.isSupportedCode(c))return a=c;a=this.options.supportedLngs.find(f=>{if(f===c)return f;if(!(f.indexOf("-")<0&&c.indexOf("-")<0)&&(f.indexOf("-")>0&&c.indexOf("-")<0&&f.substring(0,f.indexOf("-"))===c||f.indexOf(c)===0&&c.length>1))return f})}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}getFallbackCodes(r,a){if(!r)return[];if(typeof r=="function"&&(r=r(a)),Le(r)&&(r=[r]),Array.isArray(r))return r;if(!a)return r.default||[];let s=r[a];
vendor: 2,025 bytes, line 53
53return s||(s=r[this.getScriptPartFromCode(a)]),s||(s=r[this.formatLanguageCode(a)]),s||(s=r[this.getLanguagePartFromCode(a)]),s||(s=r.default),s||[]}toResolveHierarchy(r,a){const s=this.getFallbackCodes((a===!1?[]:a)||this.options.fallbackLng||[],r),l=[],c=f=>{f&&(this.isSupportedCode(f)?l.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return Le(r)&&(r.indexOf("-")>-1||r.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(r))):Le(r)&&c(this.formatLanguageCode(r)),s.forEach(f=>{l.indexOf(f)<0&&c(this.formatLanguageCode(f))}),l}}const Nf={zero:0,one:1,two:2,few:3,many:4,other:5},Df={select:o=>o===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ev{constructor(r,a={}){this.languageUtils=r,this.options=a,this.logger=Fn.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(r,a={}){const s=Ea(r==="dev"?"en":r),l=a.ordinal?"ordinal":"cardinal",c=JSON.stringify({cleanedCode:s,type:l});if(c in this.pluralRulesCache)return this.pluralRulesCache[c];let f;try{f=new Intl.PluralRules(s,{type:l})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Df;if(!r.match(/-|_/))return Df;const m=this.languageUtils.getLanguagePartFromCode(r);f=this.getRule(m,a)}return this.pluralRulesCache[c]=f,f}needsPlural(r,a={}){let s=this.getRule(r,a);return s||(s=this.getRule("dev",a)),(s==null?void 0:s.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(r,a,s={}){return this.getSuffixes(r,s).map(l=>`${a}${l}`)}getSuffixes(r,a={}){let s=this.getRule(r,a);return s||(s=this.getRule("dev",a)),s?s.resolvedOptions().pluralCategories.sort((l,c)=>Nf[l]-Nf[c]).map(l=>`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${l}`):[]}getSuffix(r,a,s={}
vendor: 14,353 bytes, line 53
53){const l=this.getRule(r,s);return l?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${l.select(a)}`:(this.logger.warn(`no plural rule found for: ${r}`),this.getSuffix("dev",a,s))}}const Af=(o,r,a,s=".",l=!0)=>{let c=hv(o,r,a);return!c&&l&&Le(a)&&(c=Gl(o,a,s),c===void 0&&(c=Gl(r,a,s))),c},$l=o=>o.replace(/\$/g,"$$$$");class Of{constructor(r={}){var a;this.logger=Fn.create("interpolator"),this.options=r,this.format=((a=r==null?void 0:r.interpolation)==null?void 0:a.format)||(s=>s),this.init(r)}init(r={}){r.interpolation||(r.interpolation={escapeValue:!0});const{escape:a,escapeValue:s,useRawValueToEscape:l,prefix:c,prefixEscaped:f,suffix:p,suffixEscaped:m,formatSeparator:g,unescapeSuffix:v,unescapePrefix:h,nestingPrefix:k,nestingPrefixEscaped:x,nestingSuffix:R,nestingSuffixEscaped:_,nestingOptionsSeparator:D,maxReplaces:H,alwaysFormat:F}=r.interpolation;this.escape=a!==void 0?a:gv,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=l!==void 0?l:!1,this.prefix=c?Gr(c):f||"{{",this.suffix=p?Gr(p):m||"}}",this.formatSeparator=g||",",this.unescapePrefix=v?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":v||"",this.nestingPrefix=k?Gr(k):x||Gr("$t("),this.nestingSuffix=R?Gr(R):_||Gr(")"),this.nestingOptionsSeparator=D||",",this.maxReplaces=H||1e3,this.alwaysFormat=F!==void 0?F:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const r=(a,s)=>(a==null?void 0:a.source)===s?(a.lastIndex=0,a):new RegExp(s,"g");this.regexp=r(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=r(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=r(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(r,a,s,l){var x;let c,f,p;const m=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},g=R=>{if(R.indexOf(this.formatSeparator)<0){const F=Af(a,m,R,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(F,void 0,s,{...l,...a,interpolationkey:R}):F}const _=R.split(this.formatSeparator),D=_.shift().trim(),H=_.join(this.formatSeparator).trim();return this.format(Af(a,m,D,this.options.keySeparator,this.options.ignoreJSONStructure),H,s,{...l,...a,interpolationkey:D})};this.resetRegExp();const v=(l==null?void 0:l.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((x=l==null?void 0:l.interpolation)==null?void 0:x.skipOnVariables)!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:R=>$l(R)},{regex:this.regexp,safeValue:R=>this.escapeValue?$l(this.escape(R)):$l(R)}].forEach(R=>{for(p=0;c=R.regex.exec(r);){const _=c[1].trim();if(f=g(_),f===void 0)if(typeof v=="function"){const H=v(r,c,l);f=Le(H)?H:""}else if(l&&Object.prototype.hasOwnProperty.call(l,_))f="";else if(h){f=c[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${r}`),f="";else!Le(f)&&!this.useRawValueToEscape&&(f=Ef(f));const D=R.safeValue(f);if(r=r.replace(c[0],D),h?(R.regex.lastIndex+=f.length,R.regex.lastIndex-=c[0].length):R.regex.lastIndex=0,p++,p>=this.maxReplaces)break}}),r}nest(r,a,s={}){let l,c,f;const p=(m,g)=>{const v=this.nestingOptionsSeparator;if(m.indexOf(v)<0)return m;const h=m.split(new RegExp(`${Gr(v)}[ ]*{`));let k=`{${h[1]}`;m=h[0],k=this.interpolate(k,f);const x=k.match(/'/g),R=k.match(/"/g);(((x==null?void 0:x.length)??0)%2===0&&!R||((R==null?void 0:R.length)??0)%2!==0)&&(k=k.replace(/'/g,'"'));try{f=JSON.parse(k),g&&(f={...g,...f})}catch(_){return this.logger.warn(`failed parsing options string in nesting for key ${m}`,_),`${m}${v}${k}`}return f.defaultValue&&f.defaultValue.indexOf(this.prefix)>-1&&delete f.defaultValue,m};for(;l=this.nestingRegexp.exec(r);){let m=[];f={...s},f=f.replace&&!Le(f.replace)?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;const g=/{.*}/.test(l[1])?l[1].lastIndexOf("}")+1:l[1].indexOf(this.formatSeparator);if(g!==-1&&(m=l[1].slice(g).split(this.formatSeparator).map(v=>v.trim()).filter(Boolean),l[1]=l[1].slice(0,g)),c=a(p.call(this,l[1].trim(),f),f),c&&l[0]===r&&!Le(c))return c;Le(c)||(c=Ef(c)),c||(this.logger.warn(`missed to resolve ${l[1]} for nesting ${r}`),c=""),m.length&&(c=m.reduce((v,h)=>this.format(v,h,s.lng,{...s,interpolationkey:l[1].trim()}),c.trim())),r=r.replace(l[0],c),this.regexp.lastIndex=0}return r}}const bv=o=>{let r=o.toLowerCase().trim();const a={};if(o.indexOf("(")>-1){const s=o.split("(");r=s[0].toLowerCase().trim();const l=s[1].substring(0,s[1].length-1);r==="currency"&&l.indexOf(":")<0?a.currency||(a.currency=l.trim()):r==="relativetime"&&l.indexOf(":")<0?a.range||(a.range=l.trim()):l.split(";").forEach(f=>{if(f){const[p,...m]=f.split(":"),g=m.join(":").trim().replace(/^'+|'+$/g,""),v=p.trim();a[v]||(a[v]=g),g==="false"&&(a[v]=!1),g==="true"&&(a[v]=!0),isNaN(g)||(a[v]=parseInt(g,10))}})}return{formatName:r,formatOptions:a}},_f=o=>{const r={};return(a,s,l)=>{let c=l;l&&l.interpolationkey&&l.formatParams&&l.formatParams[l.interpolationkey]&&l[l.interpolationkey]&&(c={...c,[l.interpolationkey]:void 0});const f=s+JSON.stringify(c);let p=r[f];return p||(p=o(Ea(s),l),r[f]=p),p(a)}},Cv=o=>(r,a,s)=>o(Ea(a),s)(r);class Rv{constructor(r={}){this.logger=Fn.create("formatter"),this.options=r,this.init(r)}init(r,a={interpolation:{}}){this.formatSeparator=a.interpolation.formatSeparator||",";const s=a.cacheInBuiltFormats?_f:Cv;this.formats={number:s((l,c)=>{const f=new Intl.NumberFormat(l,{...c});return p=>f.format(p)}),currency:s((l,c)=>{const f=new Intl.NumberFormat(l,{...c,style:"currency"});return p=>f.format(p)}),datetime:s((l,c)=>{const f=new Intl.DateTimeFormat(l,{...c});return p=>f.format(p)}),relativetime:s((l,c)=>{const f=new Intl.RelativeTimeFormat(l,{...c});return p=>f.format(p,c.range||"day")}),list:s((l,c)=>{const f=new Intl.ListFormat(l,{...c});return p=>f.format(p)})}}add(r,a){this.formats[r.toLowerCase().trim()]=a}addCached(r,a){this.formats[r.toLowerCase().trim()]=_f(a)}format(r,a,s,l={}){const c=a.split(this.formatSeparator);if(c.length>1&&c[0].indexOf("(")>1&&c[0].indexOf(")")<0&&c.find(p=>p.indexOf(")")>-1)){const p=c.findIndex(m=>m.indexOf(")")>-1);c[0]=[c[0],...c.splice(1,p)].join(this.formatSeparator)}return c.reduce((p,m)=>{var h;const{formatName:g,formatOptions:v}=bv(m);if(this.formats[g]){let k=p;try{const x=((h=l==null?void 0:l.formatParams)==null?void 0:h[l.interpolationkey])||{},R=x.locale||x.lng||l.locale||l.lng||s;k=this.formats[g](p,R,{...v,...l,...x})}catch(x){this.logger.warn(x)}return k}else this.logger.warn(`there was no format function for ${g}`);return p},r)}}const Tv=(o,r)=>{o.pending[r]!==void 0&&(delete o.pending[r],o.pendingCount--)};class Pv extends Qi{constructor(r,a,s,l={}){var c,f;super(),this.backend=r,this.store=a,this.services=s,this.languageUtils=s.languageUtils,this.options=l,this.logger=Fn.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=l.maxParallelReads||10,this.readingCalls=0,this.maxRetries=l.maxRetries>=0?l.maxRetries:5,this.retryTimeout=l.retryTimeout>=1?l.retryTimeout:350,this.state={},this.queue=[],(f=(c=this.backend)==null?void 0:c.init)==null||f.call(c,s,l.backend,l)}queueLoad(r,a,s,l){const c={},f={},p={},m={};return r.forEach(g=>{let v=!0;a.forEach(h=>{const k=`${g}|${h}`;!s.reload&&this.store.hasResourceBundle(g,h)?this.state[k]=2:this.state[k]<0||(this.state[k]===1?f[k]===void 0&&(f[k]=!0):(this.state[k]=1,v=!1,f[k]===void 0&&(f[k]=!0),c[k]===void 0&&(c[k]=!0),m[h]===void 0&&(m[h]=!0)))}),v||(p[g]=!0)}),(Object.keys(c).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:l}),{toLoad:Object.keys(c),pending:Object.keys(f),toLoadLanguages:Object.keys(p),toLoadNamespaces:Object.keys(m)}}loaded(r,a,s){const l=r.split("|"),c=l[0],f=l[1];a&&this.emit("failedLoading",c,f,a),!a&&s&&this.store.addResourceBundle(c,f,s,void 0,void 0,{skipCopy:!0}),this.state[r]=a?-1:2,a&&s&&(this.state[r]=0);const p={};this.queue.forEach(m=>{pv(m.loaded,[c],f),Tv(m,r),a&&m.errors.push(a),m.pendingCount===0&&!m.done&&(Object.keys(m.loaded).forEach(g=>{p[g]||(p[g]={});const v=m.loaded[g];v.length&&v.forEach(h=>{p[g][h]===void 0&&(p[g][h]=!0)})}),m.done=!0,m.errors.length?m.callback(m.errors):m.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(m=>!m.done)}read(r,a,s,l=0,c=this.retryTimeout,f){if(!r.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:r,ns:a,fcName:s,tried:l,wait:c,callback:f});return}this.readingCalls++;const p=(g,v)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(g&&v&&l<this.maxRetries){setTimeout(()=>{this.read.call(this,r,a,s,l+1,c*2,f)},c);return}f(g,v)},m=this.backend[s].bind(this.backend);if(m.length===2){try{const g=m(r,a);g&&typeof g.then=="function"?g.then(v=>p(null,v)).catch(p):p(null,g)}catch(g){p(g)}return}return m(r,a,p)}prepareLoading(r,a,s={},l){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();Le(r)&&(r=this.languageUtils.toResolveHierarchy(r)),Le(a)&&(a=[a]);const c=this.queueLoad(r,a,s,l);if(!c.toLoad.length)return c.pending.length||l(),null;c.toLoad.forEach(f=>{this.loadOne(f)})}load(r,a,s){this.prepareLoading(r,a,{},s)}reload(r,a,s){this.prepareLoading(r,a,{reload:!0},s)}loadOne(r,a=""){const s=r.split("|"),l=s[0],c=s[1];this.read(l,c,"read",void 0,void 0,(f,p)=>{f&&this.logger.warn(`${a}loading namespace ${c} for language ${l} failed`,f),!f&&p&&this.logger.log(`${a}loaded namespace ${c} for language ${l}`,p),this.loaded(r,f,p)})}saveMissing(r,a,s,l,c,f={},p=()=>{}){var m,g,v,h,k;if((g=(m=this.services)==null?void 0:m.utils)!=null&&g.hasLoadedNamespace&&!((h=(v=this.services)==null?void 0:v.utils)!=null&&h.hasLoadedNamespace(a))){this.logger.warn(`did not save key "${s}" as the namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if((k=this.backend)!=null&&k.create){const x={...f,isUpdate:c},R=this.backend.create.bind(this.backend);if(R.length<6)try{let _;R.length===5?_=R(r,a,s,l,x):_=R(r,a,s,l),_&&typeof _.then=="function"?_.then(D=>p(null,D)).catch(p):p(null,_)}catch(_){p(_)}else R(r,a,s,l,p,x)}!r||!r[0]||this.store.addResource(r[0],a,s,l)}}}const Hl=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:o=>{let r={};if(typeof o[1]=="object"&&(r=o[1]),Le(o[1])&&(r.defaultValue=o[1]),Le(o[2])&&(r.tDescription=o[2]),typeof o[2]=="object"||typeof o[3]=="object"){const a=o[3]||o[2];Object.keys(a).forEach(s=>{r[s]=a[s]})}return r},interpolation:{escapeValue:!0,format:o=>o,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Mf=o=>{var r,a;return Le(o.ns)&&(o.ns=[o.ns]),Le(o.fallbackLng)&&(o.fallbackLng=[o.fallbackLng]),Le(o.fallbackNS)&&(o.fallbackNS=[o.fallbackNS]),((a=(r=o.supportedLngs)==null?void 0:r.indexOf)==null?void 0:a.call(r,"cimode"))<0&&(o.supportedLngs=o.supportedLngs.concat(["cimode"])),typeof o.initImmediate=="boolean"&&(o.initAsync=o.initImmediate),o},Oi=()=>{},Lv=o=>{Object.getOwnPropertyNames(Object.getPrototypeOf(o)).forEach(a=>{typeof o[a]=="function"&&(o[a]=o[a].bind(o))})},Pp="__i18next_supportNoticeShown",Nv=()=>!!(typeof globalThis<"u"&&globalThis[Pp]||typeof process<"u"&&Ul&&Ul.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&Ul),Dv=()=>{typeof globalThis<"u"&&(globalThis[Pp]=!0)},Av=o=>{var r,a,s,l,c,f,p,m,g,v,h,k,x;return!!(((s=(a=(r=o==null?void 0:o.modules)==null?void 0:r.backend)==null?void 0:a.name)==null?void 0:s.indexOf("Locize"))>0||((p=(f=(c=(l=o==null?void 0:o.modules)==null?void 0:l.backend)==null?void 0:c.constructor)==null?void 0:f.name)==null?void 0:p.indexOf("Locize"))>0||(g=(m=o==null?void 0:o.options)==null?void 0:m.backend)!=null&&g.backends&&o.options.backend.backends.some(R=>{var _,D,H;return((_=R==null?void 0:R.name)==null?void 0:_.indexOf("Locize"))>0||((H=(D=R==null?void 0:R.constructor)==null?void 0:D.name)==null?void 0:H.indexOf("Locize"))>0})||(h=(v=o==null?void 0:o.options)==null?void 0:v.backend)!=null&&h.projectId||(x=(k=o==null?void 0:o.options)==null?void 0:k.backend)!=null&&x.backendOptions&&o.options.backend.backendOptions.some(R=>R==null?void 0:R.projectId))};class wa extends Qi{constructor(r={},a){if(super(),this.options=Mf(r),this.services={},this.logger=Fn,this.modules={external:[]},Lv(this),a&&!this.isInitialized&&!r.isClone){if(!this.options.initAsync)return this.init(r,a),this;setTimeout(()=>{this.init(r,a)},0)}}init(r={},a){this.isInitializing=!0,typeof r=="function"&&(a=r,r={}),r.defaultNS==null&&r.ns&&(Le(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const s=Hl();this.options={...s,...this.options,...Mf(r)},this.options.interpolation={...s.interpolation,...this.options.interpolation},r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=s.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Av(this)&&!Nv()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("ð
53 i18next is made possible by our own product, Locize â consider powering your project with managed localization (AI, CDN, integrations): https://locize.com ð"),Dv());const l=g=>g?typeof g=="function"?new g:g:null;if(!this.options.isClone){this.modules.logger?Fn.init(l(this.modules.logger),this.options):Fn.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:g=Rv;const v=new Lf(this.options);this.store=new Tf(this.options.resources,this.options);const h=this.services;h.logger=Fn,h.resourceStore=this.store,h.languageUtils=v,h.pluralResolver=new Ev(v,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==s.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),g&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=l(g),h.formatter.init&&h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Of(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Pv(l(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",(x,...R)=>{this.emit(x,...R)}),this.modules.languageDetector&&(h.languageDetector=l(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=l(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new $i(this.services,this.options),this.translator.on("*",(x,...R)=>{this.emit(x,...R)}),this.modules.external.forEach(x=>{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Oi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(g=>{this[g]=(...v)=>this.store[g](...v)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=(...v)=>(this.store[g](...v),this)});const p=ha(),m=()=>{const g=(v,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),p.resolve(h),a(v,h)};if(this.languages&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initAsync?m():setTimeout(m,0),p}loadResources(r,a=Oi){var c,f;let s=a;const l=Le(r)?r:this.language;if(typeof r=="function"&&(s=r),!this.options.resources||this.options.partialBundledLanguages){if((l==null?void 0:l.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const p=[],m=g=>{if(!g||g==="cimode")return;this.services.languageUtils.toResolveHierarchy(g).forEach(h=>{h!=="cimode"&&p.indexOf(h)<0&&p.push(h)})};l?m(l):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(v=>m(v)),(f=(c=this.options.preload)==null?void 0:c.forEach)==null||f.call(c,g=>m(g)),this.services.backendConnector.load(p,this.options.ns,g=>{!g&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(g)})}else s(null)}reloadResources(r,a,s){const l=ha();return typeof r=="function"&&(s=r,r=void 0),typeof a=="function"&&(s=a,a=void 0),r||(r=this.languages),a||(a=this.options.ns),s||(s=Oi),this.services.backendConnector.reload(r,a,c=>{l.resolve(),s(c)}),l}use(r){if(!r)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!r.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return r.type==="backend"&&(this.modules.backend=r),(r.type==="logger"||r.log&&r.warn&&r.error)&&(this.modules.logger=r),r.type==="languageDetector"&&(this.modules.languageDetector=r),r.type==="i18nFormat"&&(this.modules.i18nFormat=r),r.type==="postProcessor"&&Rp.addPostProcessor(r),r.type==="formatter"&&(this.modules.formatter=r),r.type==="3rdParty"&&this.modules.external.push(r),this}setResolvedLanguage(r){if(!(!r||!this.languages)&&!(["cimode","dev"].indexOf(r)>-1)){for(let a=0;a<this.languages.length;a++){const s=this.languages[a];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}!this.resolvedLanguage&&this.languages.indexOf(r)<0&&this.store.hasLanguageSomeTranslations(r)&&(this.resolvedLanguage=r,this.languages.unshift(r))}}changeLanguage(r,a){this.isLanguageChangingTo=r;const s=ha();
vendor: 2,191 bytes, line 53
53this.emit("languageChanging",r);const l=p=>{this.language=p,this.languages=this.services.languageUtils.toResolveHierarchy(p),this.resolvedLanguage=void 0,this.setResolvedLanguage(p)},c=(p,m)=>{m?this.isLanguageChangingTo===r&&(l(m),this.translator.changeLanguage(m),this.isLanguageChangingTo=void 0,this.emit("languageChanged",m),this.logger.log("languageChanged",m)):this.isLanguageChangingTo=void 0,s.resolve((...g)=>this.t(...g)),a&&a(p,(...g)=>this.t(...g))},f=p=>{var v,h;!r&&!p&&this.services.languageDetector&&(p=[]);const m=Le(p)?p:p&&p[0],g=this.store.hasLanguageSomeTranslations(m)?m:this.services.languageUtils.getBestMatchFromCodes(Le(p)?[p]:p);g&&(this.language||l(g),this.translator.language||this.translator.changeLanguage(g),(h=(v=this.services.languageDetector)==null?void 0:v.cacheUserLanguage)==null||h.call(v,g)),this.loadResources(g,k=>{c(k,g)})};return!r&&this.services.languageDetector&&!this.services.languageDetector.async?f(this.services.languageDetector.detect()):!r&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(f):this.services.languageDetector.detect(f):f(r),s}getFixedT(r,a,s){const l=(c,f,...p)=>{let m;typeof f!="object"?m=this.options.overloadTranslationOptionHandler([c,f].concat(p)):m={...f},m.lng=m.lng||l.lng,m.lngs=m.lngs||l.lngs,m.ns=m.ns||l.ns,m.keyPrefix!==""&&(m.keyPrefix=m.keyPrefix||s||l.keyPrefix);const g={...this.options,...m};typeof m.keyPrefix=="function"&&(m.keyPrefix=Po(m.keyPrefix,g));const v=this.options.keySeparator||".";let h;return m.keyPrefix&&Array.isArray(c)?h=c.map(k=>(typeof k=="function"&&(k=Po(k,g)),`${m.keyPrefix}${v}${k}`)):(typeof c=="function"&&(c=Po(c,g)),h=m.keyPrefix?`${m.keyPrefix}${v}${c}`:c),this.t(h,m)};return Le(r)?l.lng=r:l.lngs=r,l.ns=a,l.keyPrefix=s,l}t(...r){var a;return(a=this.translator)==null?void 0:a.translate(...r)}exists(...r){var a;return(a=this.translator)==null?void 0:a.exists(...r)}setDefaultNamespace(r){this.options.defaultNS=r}hasLoadedNamespace(r,a={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
vendor: 4,266 bytes, line 53
53if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=a.lng||this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const f=(p,m)=>{const g=this.services.backendConnector.state[`${p}|${m}`];return g===-1||g===0||g===2};if(a.precheck){const p=a.precheck(this,f);if(p!==void 0)return p}return!!(this.hasResourceBundle(s,r)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(s,r)&&(!l||f(c,r)))}loadNamespaces(r,a){const s=ha();return this.options.ns?(Le(r)&&(r=[r]),r.forEach(l=>{this.options.ns.indexOf(l)<0&&this.options.ns.push(l)}),this.loadResources(l=>{s.resolve(),a&&a(l)}),s):(a&&a(),Promise.resolve())}loadLanguages(r,a){const s=ha();Le(r)&&(r=[r]);const l=this.options.preload||[],c=r.filter(f=>l.indexOf(f)<0&&this.services.languageUtils.isSupportedCode(f));return c.length?(this.options.preload=l.concat(c),this.loadResources(f=>{s.resolve(),a&&a(f)}),s):(a&&a(),Promise.resolve())}dir(r){var l,c;if(r||(r=this.resolvedLanguage||(((l=this.languages)==null?void 0:l.length)>0?this.languages[0]:this.language)),!r)return"rtl";try{const f=new Intl.Locale(r);if(f&&f.getTextInfo){const p=f.getTextInfo();if(p&&p.direction)return p.direction}}catch{}const a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=((c=this.services)==null?void 0:c.languageUtils)||new Lf(Hl());return r.toLowerCase().indexOf("-latn")>1?"ltr":a.indexOf(s.getLanguagePartFromCode(r))>-1||r.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(r={},a){const s=new wa(r,a);return s.createInstance=wa.createInstance,s}cloneInstance(r={},a=Oi){const s=r.forkResourceStore;s&&delete r.forkResourceStore;const l={...this.options,...r,isClone:!0},c=new wa(l);if((r.debug!==void 0||r.prefix!==void 0)&&(c.logger=c.logger.clone(r)),["store","services","language"].forEach(p=>{c[p]=this[p]}),c.services={...this.services},c.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},s){const p=Object.keys(this.store.data).reduce((m,g)=>(m[g]={...this.store.data[g]},m[g]=Object.keys(m[g]).reduce((v,h)=>(v[h]={...m[g][h]},v),m[g]),m),{});c.store=new Tf(p,l),c.services.resourceStore=c.store}if(r.interpolation){const m={...Hl().interpolation,...this.options.interpolation,...r.interpolation},g={...l,interpolation:m};c.services.interpolator=new Of(g)}return c.translator=new $i(c.services,l),c.translator.on("*",(p,...m)=>{c.emit(p,...m)}),c.init(l,a),c.translator.options=l,c.translator.backendConnector.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},c}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const ft=wa.createInstance();ft.createInstance;ft.dir;ft.init;ft.loadResources;ft.reloadResources;ft.use;ft.changeLanguage;ft.getFixedT;ft.t;ft.exists;ft.setDefaultNamespace;ft.hasLoadedNamespace;ft.loadNamespaces;ft.loadLanguages;const Ov=(o,r,a,s)=>{var c,f,p,m;const l=[a,{code:r,...s||{}}];if((f=(c=o==null?void 0:o.services)==null?void 0:c.logger)!=null&&f.forward)return o.services.logger.forward(l,"warn","react-i18next::",!0);Xr(l[0])&&(l[0]=`react-i18next:: ${l[0]}`),(m=(p=o==null?void 0:o.services)==null?void 0:p.logger)!=null&&m.warn?o.services.logger.warn(...l):console!=null&&console.warn&&console.warn(...l)},If={},Jl=(o,r,a,s)=>{Xr(a)&&If[a]||(Xr(a)&&(If[a]=new Date),Ov(o,r,a,s))},Lp=(o,r)=>()=>{if(o.isInitialized)r();else{const a=()=>{setTimeout(()=>{o.off("initialized",a)},0),r()};o.on("initialized",a)}},Xl=(o,r,a)=>{o.loadNamespaces(r,Lp(o,a))},jf=(o,r,a,s)=>{if(Xr(a)&&(a=[a]),o.options.preload&&o.options.preload.indexOf(r)>-1)return Xl(o,a,s);a.forEach(l=>{o.options.ns.indexOf(l)<0&&o.options.ns.push(l)}),o.loadLanguages(r,Lp(o,s))},_v=(o,r,a={})=>
53!r.languages||!r.languages.length?(Jl(r,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:r.languages}),!0):r.hasLoadedNamespace(o,{lng:a.lng,precheck:(s,l)=>{if(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!l(s.isLanguageChangingTo,o))return!1}}),Xr=o=>typeof o=="string",Mv=o=>typeof o=="object"&&o!==null,Iv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,jv={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},Fv=o=>jv[o],zv=o=>o.replace(Iv,Fv);let Zl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:zv,transDefaultProps:void 0};const Uv=(o={})=>{Zl={...Zl,...o}},Bv=()=>Zl;let Np;const $v=o=>{Np=o},Hv=()=>Np,Wv={type:"3rdParty",init(o){Uv(o.options.react),$v(o)}},Vv=C.createContext();class Kv{constructor(){this.usedNamespaces={}}addUsedNamespaces(r){r.forEach(a=>{this.usedNamespaces[a]||(this.usedNamespaces[a]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Wl={exports:{}},Vl={};/** 54 * @license React 55 * use-sync-external-store-shim.production.js 56 * 57 * Copyright (c) Meta Platforms, Inc. and affiliates. 58 * 59 * This source code is licensed under the MIT license found in the 60 * LICENSE file in the root directory of this source tree. 61 */var Ff;function Yv(){if(Ff)return Vl;Ff=1;var o=Hi();function r(h,k){return h===k&&(h!==0||1/h===1/k)||h!==h&&k!==k}var a=typeof Object.is=="function"?Object.is:r,s=o.useState,l=o.useEffect,c=o.useLayoutEffect,f=o.useDebugValue;function p(h,k){var x=k(),R=s({inst:{value:x,getSnapshot:k}}),_=R[0].inst,D=R[1];return c(function(){_.value=x,_.getSnapshot=k,m(_)&&D({inst:_})},[h,x,k]),l(function(){return m(_)&&D({inst:_}),h(function(){m(_)&&D({inst:_})})},[h]),f(x),x}function m(h){var k=h.getSnapshot;h=h.value;try{var x=k();return!a(h,x)}catch{return!0}}function g(h,k){return k()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:p;return Vl.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:v,Vl}var zf;function Qv(){return zf||(zf=1,Wl.exports=Yv()),Wl.exports}var qv=Qv();const Gv=(o,r)=>{if(Xr(r))return r;if(Mv(r)&&Xr(r.defaultValue))return r.defaultValue;if(typeof o=="function")return"";if(Array.isArray(o)){const a=o[o.length-1];return typeof a=="function"?"":a}return o},Jv={t:Gv,ready:!1},Xv=()=>()=>{},Zv=(o,r={})=>{var oe,de,Re;const{i18n:a}=r,{i18n:s,defaultNS:l}=C.useContext(Vv)||{},c=a||s||Hv();c&&!c.reportNamespaces&&(c.reportNamespaces=new Kv),c||Jl(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const f=C.useMemo(()=>{var fe;return{...Bv(),...(fe=c==null?void 0:c.options)==null?void 0:fe.react,...r}},[c,r]),{useSuspense:p,keyPrefix:m}=f,g=l||((oe=c==null?void 0:c.options)==null?void 0:oe.defaultNS),v=Xr
61(g)?[g]:g||["translation"],h=C.useMemo(()=>v,v);(Re=(de=c==null?void 0:c.reportNamespaces)==null?void 0:de.addUsedNamespaces)==null||Re.call(de,h);const k=C.useRef(0),x=C.useCallback(fe=>{if(!c)return Xv;const{bindI18n:ae,bindI18nStore:ie}=f,Ee=()=>{k.current+=1,fe()};return ae&&c.on(ae,Ee),ie&&c.store.on(ie,Ee),()=>{ae&&ae.split(" ").forEach(K=>c.off(K,Ee)),ie&&ie.split(" ").forEach(K=>c.store.off(K,Ee))}},[c,f]),R=C.useRef(),_=C.useCallback(()=>{if(!c)return Jv;const fe=!!(c.isInitialized||c.initializedStoreOnce)&&h.every(j=>_v(j,c,f)),ae=r.lng||c.language,ie=k.current,Ee=R.current;if(Ee&&Ee.ready===fe&&Ee.lng===ae&&Ee.keyPrefix===m&&Ee.revision===ie)return Ee;const ne={t:c.getFixedT(ae,f.nsMode==="fallback"?h:h[0],m),ready:fe,lng:ae,keyPrefix:m,revision:ie};return R.current=ne,ne},[c,h,m,f,r.lng]),[D,H]=C.useState(0),{t:F,ready:W}=qv.useSyncExternalStore(x,_,_);C.useEffect(()=>{if(c&&!W&&!p){const fe=()=>H(ae=>ae+1);r.lng?jf(c,r.lng,h,fe):Xl(c,h,fe)}},[c,r.lng,h,W,p,D]);const q=c||{},ee=C.useRef(null),Se=C.useRef(),N=fe=>{const ae=Object.getOwnPropertyDescriptors(fe);ae.__original&&delete ae.__original;const ie=Object.create(Object.getPrototypeOf(fe),ae);if(!Object.prototype.hasOwnProperty.call(ie,"__original"))try{Object.defineProperty(ie,"__original",{value:fe,writable:!1,enumerable:!1,configurable:!1})}catch{}return ie},te=C.useMemo(()=>{const fe=q,ae=fe==null?void 0:fe.language;let ie=fe;fe&&(ee.current&&ee.current.__original===fe?Se.current!==ae?(ie=N(fe),ee.current=ie,Se.current=ae):ie=ee.current:(ie=N(fe),ee.current=ie,Se.current=ae));const Ee=!W&&!p?(...ne)=>(Jl(c,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),F(...ne)):F,K=[Ee,ie,W];return K.t=Ee,K.i18n=ie,K.ready=W,K},[F,q,W,q.resolvedLanguage,q.language,q.languages]);if(c&&p&&!W)throw new Promise(fe=>{const ae=()=>fe();r.lng?jf(c,r.lng,h,ae):Xl(c,h,ae)});return te};function Dp(...o){const r={};for(const a of o)for(const[s,l]of Object.entries(a))typeof l=="object"&&l!==null&&!Array.isArray(l)&&typeof r[s]=="object"&&r[s]!==null&&!Array.isArray(r[s])?r[s]=Dp(r[s],l):r[s]=l;return r}const e0={ru:"Ð ÑÑÑкий",en:"English",kz:"ÒазаÒÑа",switchLabel:"Language"},t0={product:"Product",spaces:"Workspaces",templates:"Templates",recording:"Recording",docs:"Docs",tasks:"Tasks",pricing:"Pricing",blog:"Blog",download:"Download",manifesto:"Manifesto",signIn:"Sign In",startFree:"Start for Free",openApp:"Sign In",megaMenu:{spacesName:"Workspaces",spacesDesc:"A shared workspace for both client and team",docsName:"Docs",docsDesc:"Versioned documents visible to every participant",tasksName:"Tasks",tasksDesc:"Two-sided acceptance. Who, what, when.",templatesName:"Templates",templatesDesc:"Ready-made formats for any type of work",recordingName:"Recording",recordingDesc:"Speak - AI structures it for you",hint:"Speca - the transparency layer between client and team"}},n0={tagline:"Click. Speak. Done.",taglineAlt:"Where agreements become transparent.",columns:{product:"Product",company:"Company",resources:"Resources",legal:"Legal",download:"Download"},links:{spaces:"Workspaces",templates:"Templates",recording:"Recording",docs:"Docs",tasks:"Tasks",pricing:"Pricing",blog:"Blog",desktop:"Desktop app",appMac:"App for Mac",appWindows:"App for Windows",manifesto:"Founder's Manifesto",privacy:"Privacy Policy",terms:"Terms of Service",offer:"Public Offer",refund:"Refund Policy"},copyright:"© 2026 Speca â a product of IDEA LAB, TOO. All rights reserved."},r0={loading:"Loading...",error:"Something went wrong",backHome:"Back to Home",learnMore:"Learn More",startFree:"Start for Free",openApp:"Sign In",signIn:"Sign In",learnPricing:"View Pricing",readMore:"Read More",minutesRead:"{{count}} min read",close:"Close",chunkError:{chunkTitle:"Failed to load page",chunkDesc:"The application has been updated. Reload the page to get the latest version.",genericTitle:"Something went wrong",genericDesc:"An unexpected error occurred while loading the component.",reload:"Reload page"},mockNames:{adlet:{full:"Sarah Mitchell",short:"Sarah M.",init:"SM"},yerlan:{full:"Michael Chen",init:"MC"},esbol:{short:"James R.",init:"JR"},azamat:{short:"David K.",init:"DK"},dinara:{full:"Diana Adams",init:"DA"},aygul:{full:"Emma Walsh",init:"EW"},maria:{full:"Maria Petrova",init:"MP"}},monthsShort:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",n
61ov:"Nov",dec:"Dec"},copied:"Copied!"},o0={prevScreen:"Previous screen",nextScreen:"Next screen",screen:"Screen"},a0={title:"Install the Speca Extension",subtitle:"Record meetings and create documents right from your browser",updateTitle:"Update the Speca Extension",updateSubtitle:"A new version of the extension is available. Chrome will update it automatically within a few hours.",installButton:"Install from Chrome Web Store",updateButton:"Open in Chrome Web Store",updateHint:'To update right now â open chrome://extensions, turn on "Developer mode" and click "Update".',skipToApp:"Skip, go to the app"},i0={title:"Create your Speca account",subtitle:"Create your account with your work email.",name:{label:"Your name",placeholder:"Name"},email:{label:"Work email",placeholder:"[email protected]"},namePlaceholder:"Name",emailPlaceholder:"[email protected]",submit:"Get Access",loading:"Sending...",submitButton:"Get Access",submitting:"Sending...",success:{title:"Welcome, {name}!",subtitle:"Account created. Opening Speca.",cta:"Go to Speca"},successTitle:"Account created!",successMessage:"Welcome to Speca.",errorMessage:"Something went wrong. Please try again.",errors:{nameRequired:"Please enter your name",nameMin:"Name must be at least 2 characters",emailRequired:"Please enter your email",emailInvalid:"Please enter a valid email address",emailExists:"This email is already registered"},code:{title:"Email verification",subtitle:"We sent a 6-digit code to {email}",loading:"Verifying...",resend:"Resend code",resendIn:"Resend in {n}s",codeHint:"Enter the code â we'll continue automatically",errors:{incomplete:"Please enter all 6 digits",invalid:"Invalid or expired code",tooMany:"Too many attempts. Please request a new code"}},password:{title:"Last step",subtitle:"Tell us your name and create a password",label:"Password",confirmLabel:"Confirm password",placeholder:"At least 8 characters",confirmPlaceholder:"Repeat password",submit:"Create account",loading:"Creating account...",errors:{required:"Please enter a password",min:"Password must be at least 8 characters",mismatch:"Passwords do not match"},rules:{minLength:"At least 8 characters",hasLetter:"Contains a letter",hasNumber:"Contains a number"}},privacy:"By submitting, you agree to the privacy policy.",terms:{prefix:"I accept the",offer:"Public Offer",terms:"Terms of Use",and:"and",privacy:"Privacy Policy"}},s0={title:"Welcome back",subtitle:"Sign in to your Speca account",email:"Email",emailPlaceholder:"[email protected]",password:"Password",passwordPlaceholder:"Enter your password",remember:"Remember me",submit:"Sign In",loading:"Signing in...",opening:"Opening Specaâ¦",forgotPassword:"Forgot password?",noAccount:"Don't have an account?",register:"Sign up",or:"or",google:"Continue with Google",forgot:{emailTitle:"Reset password",emailSubtitle:"Enter your email â we'll send a verification code",emailSubmit:"Send code",emailLoading:"Sending...",codeTitle:"Verification code",codeSubtitle:"We sent a 6-digit code to {email}",codeLoading:"Verifying...",codeResend:"Resend code",codeResendIn:"Resend in {n}s",passwordTitle:"New password",passwordSubtitle:"Create a strong new password",passwordLabel:"New password",passwordPlaceholder:"At least 8 characters",confirmLabel:"Confirm password",confirmPlaceholder:"Repeat password",passwordSubmit:"Save password",passwordLoading:"Saving...",successTitle:"Password updated",successSubtitle:"Sign in with your new password",successCta:"Sign In",backToSignIn:"Back to sign in",rules:{minLength:"At least 8 characters",hasLetter:"Contains a letter",hasNumber:"Contains a number"},errors:{mismatch:"Passwords do not match",passwordRequired:"Enter your new password"}}},l0={title:"Page not found",description:"The requested page doesn't exist or has been moved.",backHome:"Back to Home"},u0={templates:{title:"Ready-made templates for any project.",description:"Briefs, specs, acceptance acts, meeting notes - don't start from a blank page. Coming soon."},docs:{title:"Documents visible to all the right parties.",description:"Versioning, comments, approval statuses - all in one place. Coming soon."},tasks:{title:"Tasks with two-sided confirmation.",description:"No task is considered done until both sides confirm. Coming soon."},manifesto:{title:"Why I'm building Speca.",description:"I work in outsourcing. The problem isn't the people - it's that everyone has their own version of reality. Speca is the shared space.",quote:"Trans
61parency is not control. It's respect for both sides.",eyebrow:"Founder's Manifesto",lead:"I work in outsourcing and I know: good teams do good work. The problem isn't the people - it's that words get lost, agreements diverge, and everyone has their own version of reality. But when the space is shared, people start speaking differently. More precisely. More honestly. Speca exists for exactly this.",ch1:{label:"01 - Transparency",title:"Transparency is not surveillance.",p1:"We're not building a surveillance system. We're building a system of shared memory. When a meeting is recorded, when a decision is documented, when a task has a history - no one needs to prove they're right. The facts speak for themselves.",p2:"Transparency protects both sides at the same time. The client sees progress without extra calls. The team is protected from agreements being rewritten in hindsight. This isn't distrust - it's respect for everyone's time and effort.",pull:`"Transparency is not control. It's respect for both sides."`},ch2:{label:"02 - Artificial Intelligence",title:"AI helps you think, but doesn't think for you.",p1:"We use AI where it's genuinely useful: transcribing recordings, structuring what was said, extracting key decisions and tasks. This saves hours - the very hours that used to go into writing up meeting notes by hand after every call.",p2:"But we deliberately keep the final word with humans. AI suggests - you decide. Speca never creates tasks or documents without your involvement. Because accountability cannot be delegated to a neural network.",p3:"Our position is simple: AI should be a transparent tool, not a black box. You can always see what was recognized, what was generated, and where the machine might have made a mistake. The same principle of transparency - applied to the system itself.",pull:`"AI shouldn't hide its work. We show what the machine did - and where it might have been wrong."`},closing:{text:"Speca is not just a tool for meeting notes. It's a stance on how professional communication should work: honestly, symmetrically, and with respect for every participant.",cta:"Try Speca"}}},c0={lang:e0,nav:t0,footer:n0,common:r0,mobile:o0,extension:a0,registration:i0,signInModal:s0,notFound:l0,stub:u0},d0=JSON.parse(`{"meta":{"title":"Click. Speak. Done.","description":"Speca records every decision, tracks every change, and makes every task visible to both client and contractor simultaneously."},"hero":{"label":"CLICK. SPEAK. DONE","titleLine1":"No more misalignment after the meeting.","titleAccent":"One agreed protocol.","titleLine2":"Both sides see the same thing.","emailLabel":"Work email","emailPlaceholder":"[email protected]","emailHint":"Enter your email to create a Speca account.","ctaPrimary":"Get Access","ctaSecondary":"View Product","signInVia":"Or sign in with","industryLabel":"Works for","industry0":"IT Outsourcing","industry1":"Digital Agencies","industry2":"Consulting","industry3":"Product Teams","industry4":"Legal Services","demoCards":{"rings":{"num":"01","title":"Task Rings","rest":" - time in status","desc":"Each ring is one day. Instantly see where a task got stuck the longest.","todo":"To Do","inProgress":"In Progress","review":"In Review","dayUnit":"d","total":"Total: 22 days"},"versioning":{"num":"02","title":"AI Documentation","rest":" from meetings","desc":"Meeting notes, tasks and decisions - AI generates a document right after recording.","cardTitle":"Meeting Notes","date":"Jan 14","participants":"2 participants · Michael speaking","processing":"AI analyzing recording...","structuring":"Structuring the document","done":"Done · 47 min"},"acceptance":{"num":"03","title":"Two-sided acceptance","rest":" of tasks","desc":"A task is considered closed only when both sides have confirmed it.","cardTitle":"Task Acceptance","consumer":"Consumer","controller":"Controller","warningBold":"Note:","warningText":"Task closes only after acceptance.","successText":"Task accepted! Move to Done."}},"agreementCard":{"label":"Meeting outcome sign-off","title":"Document sign-off","participantName":"David K.","addButton":"Add","agreed":"Acknowledged & Agreed","waiting":"Pending","agreeButton":"Acknowledge & Agree"}},"problem":{"title":"This is how disputes start in projects.","tagline":"55% of clients can't track what's actually happening in their project.","taglineSource":"Deloitte Global Outsourcing Survey 2024, p. 12","chatName":"Work Chat","chatMembers":"Client · PM · Team","nameClient":"Client","nameNewPM":"New PM","scene1":{"moment":"Phase completed","quote":"How's the project going? What got done?","reply":"All on track, will share soon ð"},"scene2":{"moment":"PM changed","quote":"\\"Where did this requirement come from?\\"","reply":"\\"No idea, it was before my time.\\""},"scene3":{"moment":"Project delivered","quote":"That's not what we agreed on!","reply":"We discussed that verbally, in the March meeting..."}},"solution":{"eyebrow":"How Speca works","title":"Click. Speak. Done.","recording":{"title":"Recording","description":"Speak and show your screen. Speca captures your voice, actions, and key screenshots."},"docs":{"title":"Documents","description":"Every meeting becomes a document with sign-off from both
61sides, version history, and a share button. No one can say 'I never saw this.'"},"tasks":{"title":"Tasks","description":"A task closes only when both sides agree. The contractor delivers. The client accepts. Nothing to argue about."}},"howItWorks":{"chromeMock":{"search":"Search extensions","breadcrumb0":"Home","breadcrumb1":"Productivity","addBtn":"Add to Chrome","users":"10,000+ users","tag1":"Productivity","tag2":"Free","description":"Record your screen with voice directly in the browser. AI automatically creates structured documents using ready-made templates: meeting notes, bug reports, instructions and agreements.","shot1":"Screen Recording","shot2":"AI Processing","shot3":"Meeting Notes"},"learnMore":"Learn more"},"forWhom":{"title":"One document protects both sides","customer":{"label":"Client · Executive · Manager","title":"You're accepting work","eyebrow":"Control without micromanagement.","b1":"Protocol agreed with all participants","b2":"Nothing gets lost in the flow of discussion","b3":"Accept work, not promises"},"provider":{"label":"Contractor · Employee · Team","title":"You're delivering work","eyebrow":"Protects margin. Builds trust.","b1":"You're not responsible for what you didn't promise","b2":"New participants see how decisions were made","b3":"Your task acceptance is on record"},"footnote":"If one side starts using Speca - the other can no longer work the old way."},"familiar":{"title":"Familiar situations?","subtitle":"Speca Survey: about working with teams and clients","counter":"Recognized: {{count}} / {{total}}
61","recognized":"Familiar","openLabel":"Open","card0Quote":"We discussed everything â but afterwards the client said they'd understood it all differently","card0Source":"PR agency","card1Quote":"We agreed yesterday â and today it's like nothing was ever said","card1Source":"Sales","card2Quote":"My colleague heard what they wanted â not what was actually said","card2Source":"Marketing","card3Quote":"We talked for over an hour. Ended up with 40 tasks â no idea who's responsible for what","card3Source":"Corporation","card4Quote":"WhatsApp had disappearing messages. Where do you even find the agreements now?","card4Source":"Freelancer","card5Quote":"Tasks are piling up. Deadlines keep shifting. No clarity on what's actually in progress","card5Source":"IT agency","finalText":"Real stories. Speca captures agreements â so these situations never happen again."},"aiReports":{"eyebrow":"Artificial intelligence - no illusions","title":"AI captures. You decide.","item1Title":"Transcription","item1Desc":"Voice from the recording becomes text automatically - no human intervention.","item2Title":"Document structure","item2Desc":"AI assembles the document from what was said, using the chosen template.","item3Title":"Task extraction","item3Desc":"From every meeting AI pulls out tasks with assignees and deadlines.","item4Title":"Reports","item4Desc":"Project dynamics, scope changes, delay patterns - one clear snapshot.","kicker":"From recording to tasks - 0 minutes of manual work."},"visualContext":{"eyebrow":"VISUAL CONTEXT","title":"Voice conveys meaning.","titleAccent":"Screen - context.","point1Title":"Automatically","point1Desc":"While recording, Speca automatically takes screenshots.","point2Title":"Not just a gallery","point2Desc":"Screenshots are linked to specific decisions and tasks â not sitting there dead like a video recording.","point3Title":"Context control","point3Desc":"Remove or replace unnecessary screenshots, keep the ones that matter.","mockCaption":"Screenshots attached to protocol","mockTag":"Automatically","mockSub":"every few seconds · zero setup"},"features":{"title":"A history you can't rewrite.","slogan":"Nothing changes silently. Nothing is lost when people change.","sloganNote":"","versioning":{"title":"Document Versioning"},"activityLog":{"title":"Task Activity Log"},"trash":{"title":"Deletion History"},"versionMock":{"current":"Current","restore":"⺠Restore","author1":"Michael Chen","date1":"Mar 3, 2025","change1":"+ Added section «Workspace Roles»","change2":"~ Refined acceptance criterion §3.2","author2":"Emma Walsh","date2":"Mar 1, 2025"},"activityMock":{"dateLabel":"DECEMBER 12, 2025","e1name":"Michael Chen","e1action":"changed status","e1from":"To Do","e1to":"In Progress","e2name":"Diana Adams","e2action":"added a comment","e2quote":"«Clarify deadlines with client»","e3name":"Maria Petrova","e3action":"changed deadline","e3from":"Mar 10","e3to":"Mar 14"},"trashMock":{"i1name":"Sarah Mitchell","i1time":"3 days ago","i1action":"deleted task «Agree contract with client»","i1path":"My project / Inbox","i2name":"Emma Walsh","i2time":"5 days ago","i2action":"deleted document «Meeting notes 15.02»","i2path":"My project","i3name":"Sarah Mitchell","i3time":"Feb 24","i3action":"deleted folder «Q4 Archive Materials»","i3path":"My project","i4name":"Michael Chen","i4time":"Feb 18","i4action":"deleted task «Set up CRM integration»","i4path":"My project / Testing"}},"mobile":{"label":"Mobile-friendly","title":"Actually works on mobile.","description":"Full functionality, no compromises","slide":{"template":"Templates","recording":"Recording settings","recActive":"Recording","ai":"AI processing","documents":"Documents","tasks":"Tasks"},"doc":{"back":"Back","breadcrumb":"My project ⺠Common tasks","title":"Standup notes Jan 8 - Task status and team blockers","lastChange":"Last updated: Sarah M., Dec 8","createdBy":"Created by Sarah Mitchell, Dec 8, 2024","linkedTasks":"Linked tasks (2)","introLabel":"Introduction","introText":"Document contains the team's work plan compiled from the morning standup on Jan 8.","agendaLabel":"Agenda","agenda1":"Current project task status","agenda2":"Team blockers and dependencies","agenda3":"Today's priorities","decisionsLabel":"Decisions","decision1":"â Move task #12 deadline to Jan 15","decision2":"â Unblock API access by end of day","addComment":"Add comment","navBack":"â¹ Back","navForward":"Forward âº"},"tasks":{"search":"Search","path":"My project / All folders","statusInProgress":"In Progress","statusToDo":"To Do","statusInReview":"In Review","tabHome":"Home","tabProjects":"Projects","tabDocs":"Documents","tabTasks":"Tasks","t1":"Fix task display bug","t2":"Add email notifications for new tasks","t3":"Add push notifications for urgent tasks","t4":"Run UI testing of the main page","t5":"Write API tests","t6":"Fix
61«Save» button bug","t7":"Update task card design","dec5":"Dec 5","dec17":"Dec 17","dec20":"Dec 20","jan8":"Jan 8","jan10":"Jan 10"}},"manifesto":{"eyebrow":"Founder's Manifesto","excerpt":"I always protected myself. Screenshots of every conversation, written confirmations of every agreement, notes after every call - every time, on every project. It worked. But it cost energy that should have gone into the actual work.","pull":"Transparency shouldn't be a personal feat. It should be the default.","cta":"Read the manifesto"},"faq":{"title":"Frequently Asked Questions","q1":{"q":"Does Speca replace Jira, Notion, or other tools?","a":"No, Speca works alongside them. Jira and Notion manage tasks within a team. Speca records the agreements between project parties â so later there's no 'that's not what we agreed.'"},"q2":{"q":"How is it different from Otter, Fireflies, Read.ai?","a":"Otter records a meeting as text. Speca turns the meeting into a document with tasks, assignees, deadlines, and sign-off from both sides. Transcription is just one step â not the result."},"q3":{"q":"What if the other side doesn't want to register?","a":"They don't have to. They get an email link, open it in a browser, read the protocol, and click 'agree.' No registration, no app."},"q4":{"q":"Who initiates Speca â the accepting or the delivering side?","a":"Either. Whoever creates the workspace first invites the others by link. The accepting side can invite the delivering side, or the other way around."},"q5":{"q":"How much does it cost?","a":"Free â up to 10 participants. Paid plans start at 14,990 â¸/month. Details on the Pricing page."},"q6":{"q":"Can the AI make mistakes?","a":"Yes. Speca produces a draft â you make the decisions. Any item can be edited, and unnecessary screenshots can be removed."},"q7":{"q":"Does the team need training?","a":"No. Open it, hit record, get a protocol. Invite the team by link, like in Google Docs. First use takes 5 minutes."},"q8":{"q":"What if the PM or developer changes?","a":"Nothing is lost. The full history of meetings, decisions, and confirmations lives in one place. A new person opens the project and sees the entire context from day one."},"q9":{"q":"Why aren't chats and calls enough?","a":"Messengers capture messages â but not structure. Finding an agreement from 3 months ago in WhatsApp is impossible. Speca turns conversation into a document that both sides confirm."},"q10":{"q":"Does Speca work in an agency â contractor chain?","a":"Yes. You can be both the accepting side (for your contractors) and the delivering side (for your client). Each project has its own parties. One account covers both contexts â in outsourcing projects and in team work alike."}},"cta":{"line1":"Every decision - recorded.","line2":"Every change - tracked.","line3":"Every project - shared truth.","button":"Start for Free"},"templatesTeaser":{"eyebrow":"Templates","title":"Professional results - from the very first try.","btn":"Browse template library","p1":"Hints inside each template remind you what to cover - so nothing gets missed","p2":"Higher quality output - fewer edits afterward","p3":"Library grows continuously","p4":"Suggest your own template","p5":"Template builder on the business plan"}}`),f0={home:d0},p0={meta:{title:"Pricing",description:"Simple pricing. One price for your whole team â not per seat."},hero:{title:"Simple pricing. No surprises.",subtitle:"One price for your whole team â not per seat. No hidden feature limits.",cta:"Start for free"},popular:"Popular",labels:{whatsInside:"What's included:",whatsNot:"What's not:",idealIf:"Perfect if:",whatsIncluded:"What's included:",whenToReach:"When to reach out:"},taskManager:{eyebrow:"Free on every plan, including Free",title:"Inside â a full task manager",subtitle:"Speca isn't just AI documents. Inside is a full-featured task manager for tasks and projects â free on every plan.",f1:"Kanban and list â switch as you like",f2:"Subtasks â break big tasks into steps",f3:"Priorities and tags â focus on what matters",f4:"Custom statuses â fit your process",f5:"Two-way acceptance â closed only when both sides confirm",f6:"Filters and grouping â find anything instantly",f7:"Recurring tasks â automate the routine",f8:"Bulk actions â manage many tasks at once",f9:"Comments and attachments â right in the task",f10:"History and undo â nothing gets lost",learnMore:"All 24 task features â"},blurbs:{free:"Try the product for free",freelance:"For personal productivity and freelancers",team:"For teams and agencies up to 20",business:"For companies up to 50"},common:{title:"On all plans",heading:"All of this is included in every plan â even Free",c1:"Recordings up to 2 hours",c2:"AI protocols, auto-tasks, version history",c3:"Unlimited: projects, tasks",c4:"Screen capture* (optional)",c5:"Deep analysis** (optional)",c6:"Word and PDF export",c7:"Public document links"},plans:{free:{name:"Free",price:"$0",priceNote:"forever",tagline:"For those who want to try the product before paying. Also w
61orks for freelancers handling occasional tasks.",f1:"150 credits one-time (~2.7 hours of voice meetings)",f2:"Up to 10 team members",f3:"2 workspaces",f4:"Unlimited: projects, tasks",f5:"Recordings up to 2 hours",f6:"AI protocols, auto-tasks, version history",f7:"Screen capture* (optional)",f8:"Deep analysis** (optional)",f9:"Word and PDF export",f10:"Public document links",not1:"Credit top-ups (only by upgrading to a paid plan)",not2:"Guest access for clients",cta:"Try for free"},freelance:{name:"Freelancer / Solo Entrepreneur",price:"$21",priceNote:"/ mo",tagline:"For self-employed professionals, independent consultants and entrepreneurs. When you work solo but run meetings with clients and need a record of agreements.",f1:"1,500 credits per month (~27 hours of voice meetings)",f2:"1 owner + up to 10 client guests",f3:"5 workspaces",f4:"Unlimited: projects, tasks",f5:"Recordings up to 2 hours",f6:"AI protocols, auto-tasks, version history",f7:"Screen capture* (optional)",f8:"Deep analysis** (optional)",f9:"Word and PDF export",f10:"Public document links",f11:"Email support",ideal1:"You run 10-15 client meetings per month",ideal2:"You need to capture agreements and tasks in one place",ideal3:"You want clients to access protocols themselves",cta:"Start for $21"},team:{name:"Team",price:"$106",priceNote:"/ mo",tagline:"For teams, agencies and product groups up to 20 people. Daily internal and client meetings â with a shared knowledge base.",f1:"4,500 credits/mo (~80 h voice)",f2:"Up to 20 members + up to 20 guests",f3:"Unlimited workspaces",f4:"Unlimited: projects, tasks",f5:"Recordings up to 2 hours",f6:"AI protocols, auto-tasks, version history",f7:"Screen capture* (optional)",f8:"Deep analysis** (optional)",f9:"Word and PDF export",f10:"Public document links",f11:"Priority support (8-hour response)",ideal1:"Team of 5-20 people running daily meetings",ideal2:"Working with clients through regular calls",ideal3:"Need unified records of meetings, tasks and decisions",cta:"Get Team"},business:{name:"Business",price:"$200",priceNote:"/ mo",tagline:"For agencies, outsourcing companies and mid-size businesses up to 50 people. Dozens of clients and projects, formal documentation matters.",f1:"10,000 credits/mo (~178 h voice)",f2:"Up to 50 members + up to 40 guests",f3:"Unlimited workspaces",f4:"Unlimited: projects, tasks",f5:"Recordings up to 2 hours",f6:"AI protocols, auto-tasks, version history",f7:"Screen capture* (optional)",f8:"Deep analysis** (optional)",f9:"Word and PDF export",f10:"Public document links",f11:"Priority support (4-hour response)",ideal1:"Agency with 20-50 people and high client volume",ideal2:"Need formal meeting history for documentation",cta:"Get Business"},enterprise:{name:"Enterprise",price:"from $425",priceNote:"/ mo · custom",tagline:"For companies with corporate support and onboarding needs. Works for organizations of any size â not just large enterprises.",inc1:"White-glove support with 1-hour response",inc2:"We help configure for your processes",inc3:"Custom terms per case",when1:"Need more resources than Business",when2:"Require special integrations",when3:"Specific security or compliance requirements",anchor:"One assistant costs $500-700/month and works 8 hours a day. Speca Enterprise from $425 â works 24/7 across your entire company.",cta:"Talk to sales"}},footnotes:{currency:"Payments are processed by Paddle in US dollars.",star1:"* Screen capture â optional, enabled at recording start. Increases credit usage.",star2:"** Deep analysis â thorough meeting breakdown. Uses credits faster."},credit:{title:"What is a credit",p1:"A credit is a unit of AI generation cost. Short recordings without screen capture are cheaper; long recordings with active screen capture cost more. You see the exact credit count after each protocol is generated.",p2:"Recordings and task management are free on all plans â credits are only spent when AI generates a protocol."},chooser:{title:"Which plan is right for you",subtitle:"Not sure which plan fits?",soloQ:"Working solo? â Freelancer / Solo Entrepreneur",soloA:"Client meetings, task tracking, document export.",teamQ:"Team of 5â20 people? â Team",teamA:"Internal
61calls and client meetings in one place.",bizQ:"Agency or company of 20â50 people? â Business",bizA:"Dozens of clients and projects with shared meeting history and agreements.",entQ:"Corporation with special requirements? â Enterprise",entA:"Custom terms, white-glove support with 1-hour response."},finder:{subtitle:"Answer a couple of questions â we'll suggest a plan",qTeam:"How many people on your team?",teamSolo:"Just me",teamSmall:"2â20",teamMid:"20â50",teamLarge:"50+",qHours:"Hours of meetings per month via AI",creditsNeed:"â {{credits}} credits/mo",recommend:"We recommend",coverage:"{{used}} of {{limit}} credits/mo",enterpriseNote:"Above Business volume â we'll tailor a plan"},faq:{title:"Frequently asked questions",q1:{q:"What is a credit and why do I need it?",a:"A credit is a unit of AI protocol generation cost. Recordings and screen capture are free â credits are only spent when AI processes the recording and creates a protocol. This happens automatically after the recording ends, unless you delete the recording before it finishes."},q2:{q:"What happens if I run out of credits?",a:"Recordings keep saving. Task management works without limits. Only new protocol generation becomes unavailable â top up credits or upgrade to the next plan."},q3:{q:"Can I change plans?",a:"Yes, anytime. An upgrade takes effect immediately; a downgrade applies from the next billing period."},q4:{q:"How does screen capture work?",a:"You choose at recording start whether to enable capture. If enabled, screenshots happen automatically on click and input events. You can pause or turn off anytime. You can also take manual screenshots via the [+] button during recording. Screenshots increase credit usage for image analysis."},q5:{q:"What is deep analysis?",a:"Deep analysis is a mode where AI examines the meeting context more thoroughly. Enabled by default in the «Meeting Protocol» template (can be disabled manually). In other templates â enabled by user. Uses credits faster than standard generation."},q6:{q:"What happens to my data if I cancel?",a:"Data is not deleted. All your recordings and protocols remain accessible for viewing. The task manager keeps working â you can create and manage tasks manually. Only new recordings and AI generation become unavailable. If you decide to come back â pay and everything is restored."},q7:{q:"How does payment work?",a:"You renew the subscription manually each month â we'll remind you a few days before the current period ends. We accept all major credit cards including VISA, Mastercard and American Express. Payments are processed securely through Paddle in US dollars."},q8:{q:"Is my data secure?",a:"All data is encrypted at rest and in transit. Email verification is required at registration. The service is GDPR compliant."}},cta:{title:"Run your first meeting with Speca",subtitle:"150 free credits, no card. Get a ready protocol with tasks today.",button:"Start for free",contact:"Didn't find your answer? Email us:"}},h0={pricing:p0},m0={meta:{title:"Blog",description:"Articles on transparency, outsourcing, and project management."},title:"Speca Blog",subtitle:"Transparency. Outsourcing. Product.",backToAll:"All articles",backToAllBlog:"All blog articles",tryCta:"Try Speca â",posts:{bp2:{title:"Why outsourcing projects lose context when the team changes",excerpt:"Changing PMs is not just a staffing issue. It is a structural risk for the entire project. How to minimize it?"},bp3:{title:"What is a transparency layer and why your project needs one",excerpt:"Most project problems don't come from bad code. They happen because different people have different versions of reality."},bp4:{title:"Scope creep: how to document changes without damaging relationships",excerpt:"Scope creeps silently. How to document every change without ruining the relationship with your client."},bp5:{title:'Two-sided acceptance: why "done" is not always done',excerpt:`A task can be "done" from the team's perspective and "unfinished" from the client's. How to resolve this structurally.`}}},g0={blog:m0},y0={privacy:{meta:{title:"Privacy Policy",description:"Speca platform Privacy Policy: how we
61collect, store and protect your data."},title:"Privacy Policy"},terms:{meta:{title:"Terms of Use",description:"Speca platform Terms of Use: registration rules, user rights and limitations."},title:"Terms of Use"},offer:{meta:{title:"Public Offer",description:"Speca platform Public Offer: pricing, obligations of the parties, refund policy."},title:"Public Offer",refundLink:"Payment & Refund Policy"},refund:{meta:{title:"Refund Policy",description:"Speca platform payment by bank card and refund terms and conditions."},title:"Payment & Refund Policy"}},v0={legal:y0},w0={meta:{title:"Workspaces",description:"Speca workspaces: unlimited workspaces, full context isolation, roles, task acceptance, storage and notifications - each configured independently per project."},hero:{label:"Workspaces",title:"Every workspace is a world of its own.",subtitle:"For each client/contractor - its own isolation, roles, task acceptance, storage and notifications. Everything is configured independently.",ctaPrimary:"Create a workspace",ctaSecondary:"View pricing",fact1:"Unlimited workspaces",fact2:"Full context isolation",fact3:"Billing by members only"},multi:{eyebrow:"Multiple workspaces",title:"As many workspaces as you need.",subtitle:"",moreCard:"Create as many workspaces as you need",billingTitle:"How billing works",billingNote:"The number of workspaces is unlimited. Your plan only regulates the total number of unique members you invite across all your workspaces.",billingFree:"Free plan includes 1 workspace",ws:{outsource:{name:"Client + contractor",desc:"Full transparency for both sides - client and contractor see one project with no retelling.",tag:"Client + Contractor"},personal:{name:"Personal",desc:"Personal tasks and docs. Don't invite anyone - it stays yours alone.",tag:"Just me"},work:{name:"Main work",desc:"Internal projects of your company. Your team only, no external members.",tag:"Internal"}}},identity:{eyebrow:"Context",title:"One account - different contexts.",subtitle:"",person:"Sarah M.",tagRole:"Role",tagSide:"Side",tagPosition:"Position",youLabel:"Same account",mySpaces:"My workspaces",externalSpaces:"External workspaces (I was invited)",spaces:{main:{name:"Main work",role:"Owner",side:"Employee",position:"Director"},client:{name:"Consulting",role:"Owner",side:"Contractor",position:"Consultant"}
61,personal:{name:"Client B",role:"Member",side:"Contractor",position:"Developer"}}},config:{eyebrow:"Independent settings",title:"Everything at the workspace level.",subtitle:""},statuses:{title:"Statuses.",subtitle:"Tailored to your team's workflow. Custom names and order per workspace."},acceptance:{eyebrow:"Task acceptance",title:"Acceptance.",subtitle:"Enable it where needed. Each workspace runs its own mode.",settingsTitle:"Task settings",enabledLabel:"Acceptance enabled",disabledLabel:"Acceptance disabled",enabledDesc:"Client confirms manually",disabledDesc:"Automatic acceptance",ws1:"Client A - website",ws2:"Internal development"},storage:{eyebrow:"Storage",title:"Storage.",subtitle:"One shared limit - you decide how to split it.",totalLabel:"Total on account",freeLabel:"Free",ws1:"Client A",ws2:"Client B",ws3:"Main work",ws4:"Free"},notifications:{eyebrow:"Notifications",title:"Notifications.",subtitle:"Urgent client - everything. Personal project - only what matters.",newTasks:"New tasks",comments:"Comments",statusChanges:"Status changes",ws1:"Client A - urgent",ws2:"Internal tasks"},roles:{eyebrow:"Roles & Sides",title:"Roles & Sides.",subtitle:"Role controls access. Side defines your position in the project.",fullDesc:"Every participant can be assigned a side: employee, client, or contractor. Roles and sides are independent - any combination is valid.",rolesTitle:"Roles",rolesNote:"access level",sidesTitle:"Sides",sidesNote:"relation to project",sideNote:"A client can be an Admin. A contractor can be a Member. Any combination is valid.",role:{owner:{name:"Owner",desc:"Full control over the workspace."},admin:{name:"Admin",desc:"Invites members and edits any content."},member:{name:"Member",desc:"Creates documents and tasks."},guest:{name:"Guest",desc:"Read-only."}},side:{employee:{name:"Employee",desc:"Staff member of the team."},client:{name:"Client",desc:"The project customer."},contractor:{name:"Contractor",desc:"External service provider."}}},mockup:{pageTitle:"Users",pageSubtitle:"Manage team and access permissions",inviteBtn:"Invite user",joinedLabel:"Joined:",rolesLegendTitle:"Role access permissions",settingsTitle:"Settings",sBasic:"GENERAL",sWorkspace:"WORKSPACE",sTeam:"TEAM",sBilling:"BILLING",sSystem:"SYSTEM",sGeneral:"General",sTasks:"Tasks",sTeamNav:"Team",sPricing:"Pricing",sNotifs:"Notifications",sAbout:"About",appName:"Speca",wsName:"Sarah
61- Workspace",wsSlogan:"Click · Speak · Done",navHome:"Home",navProjects:"Projects",navDocs:"Documents",navTasksApp:"Tasks",navArchive:"Archive",navTrash:"Trash",navInvite:"Invite team",navHelp:"Help & support",currentUser:"Sarah Mitchell",users:{u1:{name:"Sarah Mitchell",init:"S"},u2:{name:"Anna Norris",init:"A"},u3:{name:"Eric Beck",init:"E"},u4:{name:"Megan Sanders",init:"M"},u5:{name:"Daniel Taylor",init:"D"}},roleDesc:{owner:"Full access to all features + manage team and settings",admin:"Edit members (except creating other admins), projects, documents and tasks",member:"Create and edit own elements",guest:"Read-only, no editing"}},tree:{eyebrow:"Project structure",title:"One structure - two screens.",subtitle:"Your folder hierarchy is shared across both Documents and Tasks.",items:{dev:"Development",backend:"Backend",apiArch:"API Architecture",authTask:"Task: Authorization",endpointsTask:"Task: Endpoints",techSpec:"Technical Spec",design:"Design",brief:"Brief",mockupsTask:"Task: Mockups",meetings:"Meetings",meeting1:"Meeting notes 12.01",meeting2:"Meeting notes 19.01"},mockup:{projectName:"My project",sectionTitle:"Project structure",newFolder:"+ New folder",systemTag:"system folder",allFolders:"All folders",panelDocs:"Documents",panelTasks:"Project tasks",inbox:"Inbox",general:"General tasks",testing:"Testing",ui:"UI",tab1:"Project",tab2:"Documents",tab3:"Tasks",c1label:"Set the structure once",c1note:"Create folders in project settings",c2label:"Open Documents",c2note:"Structure is already there",c3label:"Open Tasks",c3note:"Same folders - different content type"}},cta:{title:"Create your first workspace.",subtitle:"Free. No card.",button:"Start for free"},nextStep:{title:"Start with a ready-made structure",desc:"Choose a template - meeting notes, user story, bug report. Stop formatting from a blank page.",btn:"Browse templates",stepFrom:"Workspaces",stepTo:"Templates"}},S0={spacesPage:w0},k0={meta:{title:"Templates",description:"Ready-to-use templates for outsourcing projects: meeting protocols, user stories, bug reports, instructions."},hero:{label:"Ready-made templates",title:"Start with the right structure.",subtitle:"Stop wasting time on formatting. Pick a template and get straight to work.",search:"Find a template for your project..."},filters:{recommended:"All",meetings:"Meetings",docs:"Documentation",agile:"Agile",itDev:"IT Development",training:"Training"},bySpeca:"by Speca",partner:{label:"Expert Partnership",title:"Have a template that solves your niche's pain?",subtitle:"We want to add it to the Speca gallery. Hundreds of outsourcing teams and their clients will see your template.",desc:"Whether you're an expert, agency, consultant or team with a unique process - share your template under your name. This is your channel to the Speca audience.",cta:"Submit a template",email:"[email protected]"},whatIncluded:"What's included",tip:"Use voice commands and photos to fill the document quickly. Speca AI automatically structures the information.",tipLabel:"Tip:",descLabel:"Description",selectTemplate:"Use template",templates:{meeting:{title:"Meeting Protocol",tag1:"Meetings",tag2:"Documentation",desc:"Document decisions, participants and tasks from every meeting",i0:"Meeting participants",i1:"Agenda",i2:"Decisions made",i3:"Tasks and responsibilities",i4:"Auto screenshots"},userStory:{title:"User Story",tag1:"Agile",tag2:"Product Management",desc:"Create user stories with acceptance criteria and technical details",i0:"User description",i1:"Goal and value",i2:"Acceptance criteria",i3:"Technical details",i4:"Mockups and screenshots"},bugReport:{title:"Bug Report",tag1:"IT Development",tag2:"Testing",desc:"Quickly capture bugs with description, steps and screenshots",i0:"Problem description",i1:"Steps to reproduce",i2:"Expected result",i3:"Actual result",i4:"Screenshots and logs"},instruction:{title:"Instruction",tag1:"Documentation",tag2:"Training",desc:"Create step-by-step instructions and guides for your team",i0:"Instruction title",i1:"Step-by-step description",i2:"Required materials",i3:"Photo for each step",i4:"Tips and warnings"}}},x0={templatesPage:k0},E0={meta:{title:"Recording",description:"Voice recording and AI structuring in Speca. Speak - AI formats it into a document."},hero:{label:"Recording",title:"Speak. AI structures it.",subtitle:"Start recording - talk, share your screen, take photos. Speca AI transcribes and formats the document using the chosen template.",ctaPrimary:"Try recording",ctaSecondary:"Browse templates"},steps:{title:"How recording works",record:{title:"Hit record",desc:"Choose a template and press record. Speak, show your screen or take photos - everything is captured."},process:{title:"AI processes",desc:"Speca AI transcribes speech, extracts ke
61y points and structures them into the template sections."},result:{title:"Ready document",desc:"The structured document is instantly visible to all workspace members. No more meeting recaps."}},install:{eyebrow:"Step 0 - Install Extension",sectionTitle:"Install the extension - unlock full functionality.",sectionSubtitle:"Speca is a system for creating and managing documents. To record your screen, annotate interfaces and trigger AI directly from the browser, install the Chrome extension. Once installed - the record button is always at hand."},setup:{eyebrow:"Step 1 - Template",sectionTitle:"Set up your route once - use it every time.",sectionSubtitle:"Choose a template, project and folder once. Speca remembers it - next time the route auto-fills.",modalTitle:"Recording setup",routeLabel:"Recording route:",routeWarning:"Select a template, project and folder",routeHint:"Select a template, project and folder",routeMeeting:"Meeting protocol",routeProject:"My project",routeFolder:"General tasks",colType:"Type",colTemplates:"Templates",colProjects:"Projects",colFolders:"Folders",typeScreen:"Voice + Screen",typeVoice:"Voice only",defaultTemplate:"Set as default",defaultProject:"Set as default",defaultFolder:"Set as default",searchPlaceholder:"Search...",startBtn:"Start recording",wsName:"Sarah
61- Workspace",navHome:"Home",navProjects:"Projects",navDocs:"Documents",navTasks:"Tasks",navInvite:"Invite team",navHelp:"Help & support",navArchive:"Archive",navTrash:"Trash",docsTitle:"Documents",allFolders:"All folders (14)",recordBtn:"Record screen",project:"My project",tagAgreement:"Agreement",tagMeeting:"Meeting protocol",tagBug:"Bug",tagStory:"User story",doc1:"Website development agreement Jan 15 - Timeline and cost agreed",doc2:"Service terms agreement Jan 10",doc3:"Project parameters agreement Jan 5 - Final conditions",doc4:"Client meeting notes Jan 12 - Discussion of new requirements",doc5:"Standup protocol Jan 8 - Task status and blockers",doc6:"BUG-2 - Today Tasks shows users without open tasks",doc7:"BUG-1 - Task created by Enter appears at the end",doc8:"US-1 - Email notifications for new task creation",inst1:"Developer onboarding guide",inst2:"Task delivery and acceptance protocol",inst3:"Speca workspace guide for clients",tpl:{meeting:{name:"Meeting protocol",tags:"Meetings ⢠Documentation"},bug:{name:"Bug report",tags:"IT development ⢠Testing"},story:{name:"User Story",tags:"Agile ⢠Product Management"},instruction:{name:"Instruction",tags:"Documentation ⢠Training"},agreement:{name:"Agreement",tags:"Legal ⢠Contracts"}},folder:{inbox:"Inbox",general:"General tasks",testing:"Testing",dev:"Development"}},session:{eyebrow:"Step 2 - Recording",sectionTitle:"Draw, explain, annotate directly on screen.",sectionSubtitle:"Draw over any website or UI right during recording. Show the client or PM which buttons to update, which sections to add. Everything lands as a screenshot inside a User Story.",tabLabel:"Recording state:",tabBasic:"Recording",tabAnnotations:"With annotations",toolsTitle:"Tools",sBasic:"Basic",sShapes:"Shapes",sUI:"UI Elements",sColor:"Color",recording:"Recording...",recordBtn:"Record screen",annot1:"Add dropdown",annot2:"Text â «Try for free»",annot3:"Insert dashboard screenshot",annot4:"Add: Integrations block",tool:{select:"Select",pen:"Pen",eraser:"Eraser",line:"Line",arrow:"Arrow",rect:"Rect",circle:"Circle",button:"Button",field:"Field",checkbox:"Checkbox",radio:"Radio",dropdown:"Dropdown",list:"List",menu:"Menu",text:"Text"},fake:{nav1:"Product",nav2:"Pricing",nav3:"Cases",nav4:"Blog",login:"Log in",startFree:"Get started",badge:"New - AI task generation",heroTitle:"Manage projects. Without chaos.",heroSubtitle:"One workspace for tasks, docs and communication. Team always in context.",heroCta1:"Get started â",heroCta2:"Watch demo",featLabel:"Platform features",feat1title:"Tasks",feat1sub:"Create, assign and track tasks in real time",feat2title:"Documents",feat2sub:"A single knowledge base for your team - always up to date",feat3title:"Analytics",feat3sub:"Project performance and status reports in a few clicks"}},processing:{eyebrow:"Step 3 - Processing",sectionTitle:"Close the dialog and keep working. AI will notify you.",sectionSubtitle:"Processing runs in background - continue work, close the window, switch projects. You'll get notified when the document is ready.",modalTitle:"Processing document",templateLabel:"Meeting protocol",minimizeBtn:"Minimize",cancelBtn:"Cancel",currentStepLabel:"Speech recognition",progress:"49%",step1:"Upload recording",step2:"Speech recognition",step3:"Content analysis",step4:"Document formatting",step5:"Done",note:"You can minimize this window and continue working. We'll notify you when the document is ready.",bg:{expandAll:"Expand all",addTasks:"+ Tasks"}},mobile:{eyebrow:"Mobile web",sectionTitle:"Record from your phone. Anywhere, anytime.",sectionSubtitle:"The site is fully adapted for mobile - same templates and routes. A native app is coming later.",labelSetup:"Recording setup",labelRecording:"Recording...",setupTitle:"Recording setup",typeLabel:"Recording type",voiceOnly:"Voice only",voiceDesc:"Record conversations and take photos",voiceScreen:"Voice + screen recording",voiceScreenDesc:"Show interface and processes",templateLabel:"Template",currentTemplate:"Current template",templateName:"Meeting protocol",projectLabel:"Project",currentProject:"Current project",projectNotSet:"Not selected",folderLabel:"Folder",currentFolder:"Current folder",folderName:"Inbox",startBtn:"Start recording",timerStatus:"Recording...",stopBtn:"Stop",tipText:"Mention all meeting participants",labelProcessing:"Document processing",step1Eyebrow:"Step 1 - Setup",step1Title:"Cho
61ose a template before you start",step1Desc:"Pick recording type - voice only or voice with video. Select a template: meeting protocol, bug report, instruction. Set the project and folder. Speca remembers the route - no need to fill it in again next time.",step2Eyebrow:"Step 2 - Recording",step2Title:"Speak. The phone records.",step2Desc:"Tap Start recording and talk as usual. You can take photos during recording - they'll appear in the document. The timer shows duration. You can pause anytime.",step3Eyebrow:"Step 3 - Processing",step3Title:"Close the app. The document takes care of itself.",step3Desc:"AI transcribes the recording, analyzes the content and formats it using the chosen template. You can close the app - you'll get a notification when the document is ready. Open it and everything is already there."},result:{eyebrow:"Step 4 - Ready Document",sectionTitle:"Document ready. Structured. Visible to everyone.",sectionSubtitle:"AI builds the document from the template right after recording: participants, decisions, tasks - all in place. Visible to both sides in real time.",docsBtn:"See what documents look like",badge:"Done",aiLabel:"Created by AI",docTitle:"Meeting protocol Mar 6 2026",template:"Meeting protocol",s1:"Participants",s2:"Meeting agenda",s3:"Decisions made",s4:"Tasks & next steps",d1:"Launch closed beta testing by March 20",d2:"Approve final design of the main screen",d3:"Agree on pricing with the legal team",t1:"Prepare design mockups for beta version",t2:"Document API for CRM integration",t3:"Conduct code review of the auth module",agenda1:"Mobile app development status",agenda2:"Design and UX - final revisions",agenda3:"Beta launch planning",date:"Mar 6, 2026 23:10",userName:"Sarah Mitchell",userAbbr:"AY",allFolders:"All folders",p1name:"Sarah Mitchell",p1role:"Product",p1abbr:"AY",p2name:"Ian Peters",p2role:"Dev",p2abbr:"IP",p3name:"Anna Smith",p3role:"Design",p3abbr:"AS",p4name:"Mark Nelson",p4role:"Client",p4abbr:"MN"},cta:{title:"Try recording right now.",subtitle:"Free. No card.",button:"Start for free"}},b0={recordingPage:E0},C0={meta:{title:"Documents",description:"Speca documents are the single source of truth between client and contractor. Voice input, AI structuring, tasks from context."},hero:{label:"Documents",title:"Documents both sides trust.",subtitle:"Record by voice or screen - AI structures it. The document becomes the source of truth and the foundation for tasks.",ctaPrimary:"Create document",ctaSecondary:"Go to Tasks"},features:{title:"What you can do with documents",voice:{title:"Fill with voice and AI",desc:"Hit record - speak or share your screen. AI transcribes and structures the document using the template."},templates:{title:"Ready-made templates",desc:"Meeting protocol, bug report, user story, instruction. Don't start from a blank page."},shared:{title:"One document - the whole workspace",desc:"No need to send a link or share a file. Everyone in the workspace sees the document instantly - client, contractor, subcontractor."},history:{title:"Full change history",desc:"Every edit is recorded: who, what, when. Return to any previous version in one click."},acceptance:{title:"Tasks from the document",desc:"Create tasks directly from a document - they link to the context automatically."},signoff:{title:"Document Sign-off",desc:"Participants confirm with one button. No one can say 'I never saw this.'"}},lifecycle:{title:"How a document works in Speca",s1:{label:"Record",desc:"Voice, screen or photo - press record"},s2:{label:"AI structures",desc:"The document is formed from the template automatically"},s3:{label:"Source of truth",desc:"Fixed in the workspace, visible to all members"},s4:{label:"Create tasks",desc:"Tasks are created directly from the document with full context"}},nextStep:{title:"Tasks - the natural next step after a document",desc:"A task created from a document stays linked to it. It's always clear where the task came from and what context it carries.",btn:"Go to Tasks",stepFrom:"Documents",stepTo:"Tasks"},showcase:{title:"See it in action",subtitle:"Six features â one interface. Scroll to explore.",tabs:{signoff:"Document Sign-off",views:"Views & sorting",reading:"Reading mode",tasks:"Tasks from document",versions:"Versioning",editor:"Editor"},signoff:{desc:"No more 'I misunderstood.' Sign-off is recorded â who read it, when, and which version.",addButton:"Add",agreed:"Acknowledged & Agreed",waiting:"Pending",agreeButton:"Acknowledge & Agree"},views:{desc:"List, cards or grouped by type - choose your preferred view. Click the icons above."},reading:{desc:"Clean full-screen reading mode - no sidebars or toolbar, just the document.",section1:"Meeting context",date:"Date:",dateVal:"December 12, 2024",time:"Time:",timeVal:"2:00 PM - 3:30 PM (1.5 hours)",format:"Format:",formatVal:"Online (Google Meet)",body:"The meeting was organized to discu
61ss new client requirements for the notification system. The client expressed the need to expand push notification features.",section2:"Topics discussed",topic1:"Current notification system",topic1desc:"Discussed existing features: mention notifications, task assignments and status changes."},tasks:{desc:"AI extracts tasks from the document - you set assignees, acceptance and deadline.",modalTitle:"Create tasks from document",stepLabel:"Task 1 of 3",taskTitle:"Review document content and define scope of work",statusLabel:"Status & priority",status:"To Do",priority:"Medium",acceptanceLabel:"Task acceptance",consumer:"Consumer",controller:"Controller",select:"Select",cancel:"Cancel",createBtn:"Create 3 tasks"},versions:{desc:"Full change history. Restore any version with one click.",modalTitle:"Version history",totalVersions:"Total versions: 2",restore:"Restore",v2author:"Michael Chen",v2date:"Jan 12, 2025, 10:45",v2change:"Added client to participants list, expanded meeting context",v1author:"Emma Walsh",v1date:"Jan 12, 2025, 14:30",v1change:"Document created from call recording"},editor:{desc:"Full-featured editor with formatting, attachments, comments and change history.",createTasks:"Create tasks",history:"History",lastChange:"Last changed:",lastChangeVal:"Michael Chen, Jan 12 at 4:45 PM",linkedTasks:"Linked tasks (2)",commentPlaceholder:"Add a comment..."},mock:{docsTitle:"Documents",allFolders:"All folders",close:"Close",tasksCount:"tasks",tag:{agreement:"Agreement",meeting:"Meeting notes",bug:"Bug",userstory:"User story"},d1:"Site development agreement Jan 15 - Terms and cost agreed",d2:"Client meeting summary Jan 12 - New notification requirements",d3:"Standup notes Jan 8 - Task status and team blockers",d4:"BUG-2 - Today Tasks shows users without open tasks",author:{d1:"Sarah Mitchell",d2:"Emma Walsh",d3:"Sarah Mitchell",d4:"Emma Walsh"}}},cta:{title:"Start documenting the right way.",subtitle:"Free. No card.",button:"Create first document"},grid:{suptitle:"Features",title:"Everything you need for document management.",subtitle:"Every feature answers a real outsourcing scenario.",docTypes:{title:"Template Library",desc:"Ready-made structures for every task. The library grows constantly - you can suggest your own template."},editor:{title:"Rich-Text Editor",desc:"Headings, lists, text - formatting without extra clicks or settings."},autosave:{title:"Auto-Save",desc:"Content saves automatically. No losses from accidental closes."},readingMode:{title:"Reading Mode",desc:"Clean full-screen view without toolbar or side panels - just the document."},versions:{title:"Version History",desc:"All versions with date, author and change description. Always go back."},restore:{title:"Version Restore",desc:"Restore any previous version in one click - content replaces instantly."},editLog:{title:"Edit Log",desc:"Who and when last made changes - always visible in the document card."},shared:{title:"Visible to All",desc:"Client, contractor, or subcontractor - everyone sees one document without extra steps."},comments:{title:"Comments",desc:"Add, edit and delete comments directly inside the document."},attachments:{title:"Attachments",desc:"Attach files and images with size and upload date."},folders:{title:"Folders",desc:"Organize documents in folders with any nesting depth inside a project."},favorites:{title:"Favorites",desc:"Mark important documents as favorites for quick access."},search:{title:"Search",desc:"Instant document search by name in any view and folder."},filters:{title:"Filtering",desc:"Filter by type, favorites, archive or date - see what you need right away."},views:{title:"Cards & Table",desc:"Switch between card and table view. Sort by date, name or author."},fromDoc:{title:"Tasks from Document",desc:"AI suggests tasks based on document type - you choose and assign."},carousel:{title:"Document Carousel",desc:"Browse documents one by one with arrows - without leaving the list."},export:{title:"Export PDF / Word",desc:"Download the document in the required format with section selection."},bulk:{title:"Bulk Actions",desc:"Move, copy, archive or delete multiple documents at once."},context:{title:"Context Panel",desc:"Project, folder, creator, date - all document context right in the editor."}}},R0={docsPage:C0},T0={meta:{title:"Tasks",description:"Speca Tasks: two-sided acceptance, task rings, activity log, carousel mode and document link."},hero:{label:"Tasks",title:"Tasks that don't get lost.",subtitle:"Every task is recorded, confirmed by both sides and linked to the document it was created from.",ctaPrimary:"Create a task",ctaSecondary:"Go to Workspaces"},features:{title:"Five reasons why tasks in Speca are different",acceptance:{title:"Two-sided acceptance",badgeLabel:"Acceptance",desc:"A task is not done until both Consumer and Controller confirm it."},rings:{title:"Task Rings",desc:"Canvas visualization of the lifecycle: each status is a separate ring with transition date and days count. See where a task got stuck."}
61,log:{title:"Activity log",badgeLabel:"Activity Log",desc:"Everything is recorded: who, when and what changed - status, assignee, priority, deadline. Immutable log with full before/after."},carousel:{title:"Carousel mode",badgeLabel:"Carousel",desc:"Review tasks one by one - without distractions. Open, review, decide, move to the next."},views:{title:"List and Kanban",desc:"Standard views your team is used to. List for detailed breakdown, Kanban for visual progress."},filters:{title:"Filters and sorting",desc:"Quickly find the tasks you need: by status, assignee, priority, deadline. Sort in one click."},docLink:{title:"Link to document",desc:"A task created from a document stays linked to it. Always clear: where the task came from and what context it originated in."}},nextStep:{title:"Everything is stored and managed in Workspaces",desc:"Documents, tasks and members are all in one place. Client and contractor work in a shared workspace - no extra setup or context-switching.",btn:"Go to Workspaces",stepFrom:"Tasks",stepTo:"Workspaces"},showcase:{title:"See how it works",subtitle:"Real interfaces - no marketing screenshots."},cta:{title:"Start working with tasks transparently.",subtitle:"Free. No card.",button:"Try for free"},mocks:{task1:"Fix task display bug",task2:"Add email notifications when creating tasks",allFolders:"All folders",counter:"1/15",journalBtn:"Journal",taskRingsBtn:"Task Rings",hideTaskBtn:"Hide task",createTaskBtn:"Create task",statusPriority:"STATUS & PRIORITY",inProgress:"In Progress",high:"High",dateDeadline:"START DATE & DEADLINE",startDate:"Dec 10, 2025",deadline:"Dec 17 · 14:30",repeat:"RECURRENCE",repeatValue:"Every week",assignees:"ASSIGNEES",assigneesValue:"Diana Adams, Emma Walsh",acceptanceSection:"TASK ACCEPTANCE",consumer:"Consumer",consumerName:"Sarah Mitchell",consumerCheck:"I confirm the task results meet the requirements",controller:"Controller",controllerName:"Michael Chen",controllerCheck:"I confirm the task is fully complete",acceptanceWarning:"Important: Task can only be moved to Done after both Consumer and Controller confirm.",acceptanceSuccess:"Task accepted! You can now move it to Done.",logTitle:"Activity log",log1name:"Diana Adams",log1date:"Dec 10, 2025, 14:30",log1action:"created task from document",log2date:"Dec 11, 2025, 19:20",log2action:"changed status to «In Progress»",log3name:"Michael Chen",log3date:"Dec 12, 2025, 16:15",log3action:"changed assignees",ringsNote:"each ring = 1 day",todo:"To Do",inReview:"In Review",inWork:"In Progress",days:"days",ringsDemo:"demo - no status change history",kanbanTitle:"All folders (15)",kt1:"Check adaptive layout on mobile",kt2:"Add email notifications when creating tasks",kt3:"Update task card design",kt4:"Optimize loading of large lists",kt5:"Create API documentation",kt6:"Fix task display bug",kt7:"UI testing of main page",kt8:"Fix Save button bug",kt9:"Set up CI/CD pipeline",kt10:"Prepare client presentation",listNotice:"Creating (Enter/Tab) and dragging tasks only works inside a folder",expandAll:"Expand all",projectName:"My project",docBreadcrumb:"Client meeting notes Jan 12",docBreadcrumbFull:"Client meeting notes Jan 12 - Discussion of new notification requirements",folderName:"General tasks",taskRef:"Task #1",tagBug:"bug",tagUI:"UI",tagFeature:"feature",tagBackend:"backend",dinaName:"Diana Adams",erlanName:"Michael Chen",adletName:"Sarah Mitchell",aygulName:"Emma Walsh",nit1:"Coordinate contract with legal department",nit2:"Present results to client",nit3:"Prepare invoice for December payment"},grid:{suptitle:"Features",title:"Everything you need for task management.",subtitle:"Every feature answers a real outsourcing scenario.",kanban:{title:"Kanban Board",desc:"Visualize your workflow with status columns. Drag tasks between columns."},list:{title:"List & Grouping",desc:"Flat list with flexible grouping by assignee, priority, tag or deadline."},subtasks:{title:"Subtasks",desc:"Break complex tasks into actionable subtasks of any nesting depth."},statuses:{title:"Custom Statuses",desc:"Define your own workflow: To Do â In Progress â Review â Done."},acceptance:{title:"Two-Sided Acceptance",desc:"A task is done only when both Consumer and Controller confirm it."},rings:{title:"Task Rings",desc:"Canvas lifecycle visualization: each status is a ring with date and days spent."}
61,log:{title:"Activity Log",desc:"Immutable log: who changed what and when - status, assignee, deadline."},bulk:{title:"Bulk Actions",desc:"Select multiple tasks and change status, assignee or priority at once."},filters:{title:"Filters & Sorting",desc:"Filter by priority, assignee, tag, status and date range."},assignees:{title:"Multiple Assignees",desc:"Assign a task to multiple team members at once."},tags:{title:"Tags",desc:"Flexible organization with custom tags for quick filtering."},priority:{title:"Priorities",desc:"High, medium, low - visible instantly in any view without extra clicks."},repeat:{title:"Recurring Tasks",desc:"Set recurrence: daily, weekly, monthly or yearly."},deadline:{title:"Deadline & Time",desc:"Exact deadline date and time. No vague timelines."},comments:{title:"Comments",desc:"Discuss the task right in the card with attachment and media support."},attachments:{title:"Attachments & Media",desc:"Files, images and voice notes directly in the task body."},hotkeys:{title:"Keyboard Shortcuts",desc:"Fast task creation and navigation without leaving the keyboard."},undo:{title:"History & Undo",desc:"Undo any recent action: completion, deletion, status change."},hidden:{title:"Hidden Tasks",desc:"Temporarily remove tasks from view - they won't be lost."},fromDoc:{title:"Tasks from Document",desc:"AI creates tasks directly from a document and links them to context."},inline:{title:"Inline Editing",desc:"Change status, priority and deadline in the list without opening a card."},folders:{title:"Folders",desc:"Organize tasks in folders with any nesting depth inside a project."},grouping:{title:"Grouping",desc:"Group by assignee, priority, tag, deadline or custom status."},search:{title:"Task Search",desc:"Instant search by task title and description in any view."}}},P0={tasksPage:T0},L0={manifesto:{title:"Why I'm building Speca.",description:"I always documented everything. Screenshots, saved chats, written confirmations. It worked - but it cost me energy. Speca is the same protection, without the effort.",quote:"Transparency shouldn't be a personal feat. It should be the default.",eyebrow:"Founder's Manifesto",lead:"I always protected myself. Screenshots of every conversation, written confirmations of every agreement, notes after every call - every time, on every project. It worked. But it cost energy that should have gone into the actual work. I was solving the transparency problem by hand, because there was no other way. Speca is an attempt to finally change that.",ch1:{label:"01 - Transparency",title:"Transparency shouldn't be a personal feat.",p1:"When you document everything yourself, it works - but it's extra work on top of the real work. A screenshot here, a saved email there, a note in a notebook. Small things, but they add up. And the frustrating part is that you're spending this energy not because the work is hard, but because you can't trust the other side's memory.",p2:"Speca removes that effort. The meeting is recorded - the minutes are ready automatically. A decision is made - it's documented and visible to both sides. A task is set - it has a history. Nobody needs to screenshot anything separately. Protection is built into the process.",pull:'"I was spending energy on protection instead of work. Speca changes that by default."'},ch2:{label:"02 - AI Audit",title:"Objective assessment - without an outside expert in the room.",p1:"Everything is documented - agreements, decisions, task history. But there's a question that documentation alone doesn't answer: was the work done well? When that question comes up, the client brings in an outside expert to evaluate and give a verdict. One specialist has to critique another, or vouch for them. It's awkward, subjective, and expensive. And it often resolves nothing - because every expert has their own opinion.",p2:"Speca offers something different. AI doesn't pass judgment - it shows what was and what became. One report, one picture, both sides see it at the same time. This isn't a replacement for the conversation - it's its foundation.",pull:`"One person's verdict is an opinion. A shared picture is a conversation."`},closing:{text:`Work shouldn't need defending. 62It should be visible. 63 64That's why I'm building Speca.`,cta:"Try Speca"}}},N0={stub:L0},D0={hero:{badge:"Desktop app",title:"Record meetings without bots",subtitle:"Captures system audio and your whole screen â no bot in the call. The protocol is ready right after the meeting.",platforms:"Google Meet · Zoom · Microsoft Teams",firstRunNote:"First launch â",firstRunLink:"how to open"},download:{macTitle:"For Mac",mac:"Download for Mac",macHint:"Universal · Intel & Apple Silicon",winTitle:"For Windows",windows:"Download for Windows",winHint:"Windows 10 / 11 · 64-bit",detected:"Looks like you're on {{os}}",version:"Version {{version}}"},features:{badge:"Unlike the browser extension",title:"Full coverage â your whole screen and all the audio",subtitle:"The desktop app records everything on your computer, not just a browser tab.",items:[{title:"No-bot recording",desc:"Any call in one click â nobody joins the meeting."},{title:"Screenshots everywhere",desc:"Any window or app â Figma, your IDE, a deck â not just a browser tab."}
64,{title:"System audio, always",desc:"System sound directly â no drop-outs or tab limitations."},{title:"AI protocol after the call",desc:"Decisions, tasks and key moments in your library right after the meeting."}]},firstRun:{title:"First launch",subtitle:"Installers aren't signed yet â the OS asks for a one-time confirmation.",macTitle:"macOS",macSteps:["Open the .dmg and drag Speca to Applications","Launch Speca from Applications. A dialog says Apple couldn't verify the file â click âDoneâ","Open System Settings â Privacy & Security, scroll down to âSpeca was blockedâ â click âOpen Anywayâ","In the next dialog click âOpen Anywayâ again (Touch ID or password may be required)"],winTitle:"Windows",winSteps:["Run the .exe","SmartScreen â âMore infoâ","âRun anywayâ"]},cta:{title:"Fix your meetings without manual notes",subtitle:"Download Speca for desktop.",mac:"Download for Mac",windows:"Download for Windows"}},A0={desktop:D0},O0=Dp(c0,f0,h0,g0,v0,S0,x0,b0,R0,P0,N0,A0),Ap={LANGUAGE:"speca-language"},eS="Speca",tS="https://speca.app",Op="https://dev.speca.app",Uf=`${Op}/home`,_0="ejkddpodocgfccanhfidfjigjlhmgago",nS=`https://chromewebstore.google.com/detail/${_0}`;function M0(o,r,a,s=!1,l="",c=""){const f=new URLSearchParams({access_token:o,refresh_token:r??"",remember:a?"1":"0"});return s&&f.set("new_user","1"),l&&f.set("invite_hash",l),c&&f.set("lang",c),`${Op}/home#sso?${f.toString()}`}const rS="https://speca.app/og-image.png",_p=["ru","en","kz"],Bf="en",No=_p.includes(Bf)?Bf:"ru";function I0(){const o=typeof window<"u"?window.location.hostname:"";return o==="speca.kz"||o.endsWith(".speca.kz")}function Mp(){const o=typeof window<"u"?window.location.hostname:"";return o==="speca.app"||o.endsWith(".speca.app")?{defaultLang:"en",allowedLangs:["en"]}:o==="speca.kz"||o.endsWith(".speca.kz")?{defaultLang:"ru",allowedLangs:["ru","kz"]}:{defaultLang:No,allowedLangs:["ru","en","kz"]}}const fu={};fu.kz=()=>et(()=>import("./kz-B22xiuAQ.js"),[]).then(o=>o.default);fu.ru=()=>et(()=>import("./ru-D8_XirLs.js"),[]).then(o=>o.default);const _i={};function Ip(o){if(o===No||ft.hasResourceBundle(o,"translation"))return Promise.resolve();const r=fu[o];return r?(_i[o]||(_i[o]=r().then(a=>{if(ft.addResourceBundle(o,"translation",a,!0,!0),ft.language===o)return ft.changeLanguage(o).then(()=>{})}).catch(()=>{delete _i[o]})),_i[o]):Promise.resolve()}function j0(){const{defaultLang:o,allowedLangs:r}=Mp();try{const a=localStorage.getItem(Ap.LANGUAGE);return a&&r.includes(a)?a:o}catch{return o}}const eu=j0();ft.use(Wv).init({resources:{[No]:{translation:O0}},lng:eu,fallbackLng:No,interpolation:{escapeValue:!1}});eu!==No&&Ip(eu);ft.on("languageChanged",o=>{Ip(o)});var F0=Yf();const z0=Kf(F0);function U0(o){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r.appendChild(a),a.styleSheet?a.styleSheet.cssText=o:a.appendChild(document.createTextNode(o))}const B0=o=>{switch(o){case"success":return W0;case"info":return K0;case"warning":return V0;case"error":return Y0;default:return null}},$0=Array(12).fill(0),H0=({visible:o,className:r})=>Z.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":o},Z.createElement("div",{className:"sonner-spinner"},$0.map((a,s)=>Z.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),W0=Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Z.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),V0=Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Z.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),K0=Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Z.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Y0=Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Z.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Q0=Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Z.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Z.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),q0=()=>{const[o,r]=Z.useState(document.hidden);return Z.useEffect(()=>{const a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),o};let tu=1;class G0{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const a=this.subscribers.indexOf(r);this.subscribers.splice(a,1)}),this.publish=r=>
vendor: 4,097 bytes, line 64
64{this.subscribers.forEach(a=>a(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var a;const{message:s,...l}=r,c=typeof(r==null?void 0:r.id)=="number"||((a=r.id)==null?void 0:a.length)>0?r.id:tu++,f=this.toasts.find(m=>m.id===c),p=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(c)&&this.dismissedToasts.delete(c),f?this.toasts=this.toasts.map(m=>m.id===c?(this.publish({...m,...r,id:c,title:s}),{...m,...r,id:c,dismissible:p,title:s}):m):this.addToast({title:s,...l,dismissible:p,id:c}),c},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:r,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(s=>s({id:a.id,dismiss:!0}))}),r),this.message=(r,a)=>this.create({...a,message:r}),this.error=(r,a)=>this.create({...a,message:r,type:"error"}),this.success=(r,a)=>this.create({...a,type:"success",message:r}),this.info=(r,a)=>this.create({...a,type:"info",message:r}),this.warning=(r,a)=>this.create({...a,type:"warning",message:r}),this.loading=(r,a)=>this.create({...a,type:"loading",message:r}),this.promise=(r,a)=>{if(!a)return;let s;a.loading!==void 0&&(s=this.create({...a,promise:r,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const l=Promise.resolve(r instanceof Function?r():r);let c=s!==void 0,f;const p=l.then(async g=>{if(f=["resolve",g],Z.isValidElement(g))c=!1,this.create({id:s,type:"default",message:g});else if(X0(g)&&!g.ok){c=!1;const h=typeof a.error=="function"?await a.error(`HTTP error! status: ${g.status}`):a.error,k=typeof a.description=="function"?await a.description(`HTTP error! status: ${g.status}`):a.description,R=typeof h=="object"&&!Z.isValidElement(h)?h:{message:h};this.create({id:s,type:"error",description:k,...R})}else if(g instanceof Error){c=!1;const h=typeof a.error=="function"?await a.error(g):a.error,k=typeof a.description=="function"?await a.description(g):a.description,R=typeof h=="object"&&!Z.isValidElement(h)?h:{message:h};this.create({id:s,type:"error",description:k,...R})}else if(a.success!==void 0){c=!1;const h=typeof a.success=="function"?await a.success(g):a.success,k=typeof a.description=="function"?await a.description(g):a.description,R=typeof h=="object"&&!Z.isValidElement(h)?h:{message:h};this.create({id:s,type:"success",description:k,...R})}}).catch(async g=>{if(f=["reject",g],a.error!==void 0){c=!1;const v=typeof a.error=="function"?await a.error(g):a.error,h=typeof a.description=="function"?await a.description(g):a.description,x=typeof v=="object"&&!Z.isValidElement(v)?v:{message:v};this.create({id:s,type:"error",description:h,...x})}}).finally(()=>{c&&(this.dismiss(s),s=void 0),a.finally==null||a.finally.call(a)}),m=()=>new Promise((g,v)=>p.then(()=>f[0]==="reject"?v(f[1]):g(f[1])).catch(v));return typeof s!="string"&&typeof s!="number"?{unwrap:m}:Object.assign(s,{unwrap:m})},this.custom=(r,a)=>{const s=(a==null?void 0:a.id)||tu++;return this.create({jsx:r(s),id:s,...a}),s},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ht=new G0,J0=(o,r)=>{const a=(r==null?void 0:r.id)||tu++;return Ht.addToast({title:o,...r,id:a}),a},X0=o=>o&&typeof o=="object"&&"ok"in o&&typeof o.ok=="boolean"&&"status"in o&&typeof o.status=="number",Z0=J0,ew=()=>Ht.toasts,tw=()=>Ht.getActiveToasts();Object.assign(Z0,{success:Ht.success,info:Ht.info,warning:Ht.warning,error:Ht.error,custom:Ht.custom,message:Ht.message,promise:Ht.promise,dismiss:Ht.dismiss,loading:Ht.loading},{getHistory:ew,getToasts:tw});U0("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;
64--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}[data-sonner-toaster][data-lifted=true]{transform:translateY(-8px)
vendor: 13,513 bytes, line 64
64}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
64Mi(o){return o.label!==void 0}const nw=3,rw="24px",ow="16px",$f=4e3,aw=356,iw=14,sw=45,lw=200;
vendor: 4,804 bytes, line 64
64function In(...o){return o.filter(Boolean).join(" ")}function uw(o){const[r,a]=o.split("-"),s=[];return r&&s.push(r),a&&s.push(a),s}const cw=o=>{var r,a,s,l,c,f,p,m,g;const{invert:v,toast:h,unstyled:k,interacting:x,setHeights:R,visibleToasts:_,heights:D,index:H,toasts:F,expanded:W,removeToast:q,defaultRichColors:ee,closeButton:Se,style:N,cancelButtonStyle:te,actionButtonStyle:oe,className:de="",descriptionClassName:Re="",duration:fe,position:ae,gap:ie,expandByDefault:Ee,classNames:K,icons:ne,closeButtonAriaLabel:j="Close toast"}=o,[J,Y]=Z.useState(null),[E,M]=Z.useState(null),[X,ce]=Z.useState(!1),[ye,le]=Z.useState(!1),[Me,De]=Z.useState(!1),[ze,ot]=Z.useState(!1),[rr,tt]=Z.useState(!1),[Wt,bn]=Z.useState(0),[eo,Vt]=Z.useState(0),hn=Z.useRef(h.duration||fe||$f),Dr=Z.useRef(null),Et=Z.useRef(null),Bn=H===0,Cn=H+1<=_,pt=h.type,mn=h.dismissible!==!1,tn=h.className||"",Rn=h.descriptionClassName||"",Tn=Z.useMemo(()=>D.findIndex(Pe=>Pe.toastId===h.id)||0,[D,h.id]),$n=Z.useMemo(()=>{var Pe;return(Pe=h.closeButton)!=null?Pe:Se},[h.closeButton,Se]),St=Z.useMemo(()=>h.duration||fe||$f,[h.duration,fe]),bt=Z.useRef(0),Nt=Z.useRef(0),Pn=Z.useRef(0),nn=Z.useRef(null),[to,Mt]=ae.split("-"),Ar=Z.useMemo(()=>D.reduce((Pe,Ge,nt)=>nt>=Tn?Pe:Pe+Ge.height,0),[D,Tn]),Hn=q0(),or=h.invert||v,Wn=pt==="loading";Nt.current=Z.useMemo(()=>Tn*ie+Ar,[Tn,Ar]),Z.useEffect(()=>{hn.current=St},[St]),Z.useEffect(()=>{ce(!0)},[]),Z.useEffect(()=>{const Pe=Et.current;if(Pe){const Ge=Pe.getBoundingClientRect().height;return Vt(Ge),R(nt=>[{toastId:h.id,height:Ge,position:h.position},...nt]),()=>R(nt=>nt.filter(at=>at.toastId!==h.id))}},[R,h.id]),Z.useLayoutEffect(()=>{if(!X)return;const Pe=Et.current,Ge=Pe.style.height;Pe.style.height="auto";const nt=Pe.getBoundingClientRect().height;Pe.style.height=Ge,Vt(nt),R(at=>at.find(Je=>Je.toastId===h.id)?at.map(Je=>Je.toastId===h.id?{...Je,height:nt}:Je):[{toastId:h.id,height:nt,position:h.position},...at])},[X,h.title,h.description,R,h.id]);const Dt=Z.useCallback(()=>{le(!0),bn(Nt.current),R(Pe=>Pe.filter(Ge=>Ge.toastId!==h.id)),setTimeout(()=>{q(h)},lw)},[h,q,R,Nt]);Z.useEffect(()=>{if(h.promise&&pt==="loading"||h.duration===1/0||h.type==="loading")return;let Pe;return W||x||Hn?(()=>{if(Pn.current<bt.current){const at=new Date().getTime()-bt.current;hn.current=hn.current-at}Pn.current=new Date().getTime()})():(()=>{hn.current!==1/0&&(bt.current=new Date().getTime(),Pe=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),Dt()},hn.current))})(),()=>clearTimeout(Pe)},[W,x,h,pt,Hn,Dt]),Z.useEffect(()=>{h.delete&&Dt()},[Dt,h.delete]);function Ln(){var Pe;if(ne!=null&&ne.loading){var Ge;return Z.createElement("div",{className:In(K==null?void 0:K.loader,h==null||(Ge=h.classNames)==null?void 0:Ge.loader,"sonner-loader"),"data-visible":pt==="loading"},ne.loading)}return Z.createElement(H0,{className:In(K==null?void 0:K.loader,h==null||(Pe=h.classNames)==null?void 0:Pe.loader),visible:pt==="loading"})}const gn=h.icon||(ne==null?void 0:ne[pt])||B0(pt);var Kt,Or;return Z.createElement("li",{tabIndex:0,ref:Et,className:In(de,tn,K==null?void 0:K.toast,h==null||(r=h.classNames)==null?void 0:r.toast,K==null?void 0:K.default,K==null?void 0:K[pt],h==null||(a=h.classNames)==null?void 0:a[pt]),"data-sonner-toast":"","data-rich-colors":(Kt=h.richColors)!=null?Kt:ee,"data-styled":!(h.jsx||h.unstyled||k),"data-mounted":X,"data-promise":!!h.promise,"data-swiped":rr,"data-removed":ye,"data-visible":Cn,"data-y-position":to,"data-x-position":Mt,"data-index":H,"data-front":Bn,"data-swiping":Me,"data-dismissible":mn,"data-type":pt,"data-invert":or,"data-swipe-out":ze,"data-swipe-direction":E,"data-expanded":!!(W||Ee&&X),style:{"--index":H,"--toasts-before":H,"--z-index":F.length-H,"--offset":`${ye?Wt:Nt.current}px`,"--initial-height":Ee?"auto":`${eo}px`,...N,...h.style},onDragEnd:()=>{De(!1),Y(null),nn.current=null},onPointerDown:Pe=>{Wn||!mn||(Dr.current=new Date,bn(Nt.current),Pe.target.setPointerCapture(Pe.pointerId),Pe.target.tagName!=="BUTTON"&&(De(!0),nn.current={x:Pe.clientX,y:Pe.clientY}))},onPointerUp:()=>{var Pe,Ge,nt;if(ze||!mn)return;nn.current=null;const at=Number(((Pe=Et.current)==null?void 0:Pe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Yt=Number(((Ge=Et.current)==null?void 0:Ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Je=new Date().getTime()-((nt=Dr.current)==null?void 0:nt.getTime()),ut=J==="x"?at:Yt,Nn=Math.abs(ut)/Je;if(Math.abs(ut)>=sw||Nn>.11){bn(Nt.current),h.onDismiss==null||h.onDismiss.call(h,h),M(J==="x"?at>0?"right":"left":Yt>0?"down":"up"),Dt(),ot(!0);return}else{var S,T;(S=Et.current)==null||S.style.setProperty("--swipe-amount-x","0px"),(T=Et.current)==null||T.style.setProperty("--swipe-amount-y","0px")}tt(!1),De(!1),Y(null)},onPointerMove:Pe=>{var Ge,nt,at;
vendor: 5,166 bytes, line 64
64if(!nn.current||!mn||((Ge=window.getSelection())==null?void 0:Ge.toString().length)>0)return;const Je=Pe.clientY-nn.current.y,ut=Pe.clientX-nn.current.x;var Nn;const S=(Nn=o.swipeDirections)!=null?Nn:uw(ae);!J&&(Math.abs(ut)>1||Math.abs(Je)>1)&&Y(Math.abs(ut)>Math.abs(Je)?"x":"y");let T={x:0,y:0};const O=z=>1/(1.5+Math.abs(z)/20);if(J==="y"){if(S.includes("top")||S.includes("bottom"))if(S.includes("top")&&Je<0||S.includes("bottom")&&Je>0)T.y=Je;else{const z=Je*O(Je);T.y=Math.abs(z)<Math.abs(Je)?z:Je}}else if(J==="x"&&(S.includes("left")||S.includes("right")))if(S.includes("left")&&ut<0||S.includes("right")&&ut>0)T.x=ut;else{const z=ut*O(ut);T.x=Math.abs(z)<Math.abs(ut)?z:ut}(Math.abs(T.x)>0||Math.abs(T.y)>0)&&tt(!0),(nt=Et.current)==null||nt.style.setProperty("--swipe-amount-x",`${T.x}px`),(at=Et.current)==null||at.style.setProperty("--swipe-amount-y",`${T.y}px`)}},$n&&!h.jsx&&pt!=="loading"?Z.createElement("button",{"aria-label":j,"data-disabled":Wn,"data-close-button":!0,onClick:Wn||!mn?()=>{}:()=>{Dt(),h.onDismiss==null||h.onDismiss.call(h,h)},className:In(K==null?void 0:K.closeButton,h==null||(s=h.classNames)==null?void 0:s.closeButton)},(Or=ne==null?void 0:ne.close)!=null?Or:Q0):null,(pt||h.icon||h.promise)&&h.icon!==null&&((ne==null?void 0:ne[pt])!==null||h.icon)?Z.createElement("div",{"data-icon":"",className:In(K==null?void 0:K.icon,h==null||(l=h.classNames)==null?void 0:l.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Ln():null,h.type!=="loading"?gn:null):null,Z.createElement("div",{"data-content":"",className:In(K==null?void 0:K.content,h==null||(c=h.classNames)==null?void 0:c.content)},Z.createElement("div",{"data-title":"",className:In(K==null?void 0:K.title,h==null||(f=h.classNames)==null?void 0:f.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?Z.createElement("div",{"data-description":"",className:In(Re,Rn,K==null?void 0:K.description,h==null||(p=h.classNames)==null?void 0:p.description)},typeof h.description=="function"?h.description():h.description):null),Z.isValidElement(h.cancel)?h.cancel:h.cancel&&Mi(h.cancel)?Z.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||te,onClick:Pe=>{Mi(h.cancel)&&mn&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,Pe),Dt())},className:In(K==null?void 0:K.cancelButton,h==null||(m=h.classNames)==null?void 0:m.cancelButton)},h.cancel.label):null,Z.isValidElement(h.action)?h.action:h.action&&Mi(h.action)?Z.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||oe,onClick:Pe=>{Mi(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,Pe),!Pe.defaultPrevented&&Dt())},className:In(K==null?void 0:K.actionButton,h==null||(g=h.classNames)==null?void 0:g.actionButton)},h.action.label):null)};function Hf(){if(typeof window>"u"||typeof document>"u")return"ltr";const o=document.documentElement.getAttribute("dir");return o==="auto"||!o?window.getComputedStyle(document.documentElement).direction:o}function dw(o,r){const a={};return[o,r].forEach((s,l)=>{const c=l===1,f=c?"--mobile-offset":"--offset",p=c?ow:rw;function m(g){["top","right","bottom","left"].forEach(v=>{a[`${f}-${v}`]=typeof g=="number"?`${g}px`:g})}typeof s=="number"||typeof s=="string"?m(s):typeof s=="object"?["top","right","bottom","left"].forEach(g=>{s[g]===void 0?a[`${f}-${g}`]=p:a[`${f}-${g}`]=typeof s[g]=="number"?`${s[g]}px`:s[g]}):m(p)}),a}const fw=Z.forwardRef(function(r,a){const{invert:s,position:l="bottom-right",hotkey:c=["altKey","KeyT"],expand:f,closeButton:p,className:m,offset:g,mobileOffset:v,theme:h="light",richColors:k,duration:x,style:R,visibleToasts:_=nw,toastOptions:D,dir:H=Hf(),gap:F=iw,icons:W,containerAriaLabel:q="Notifications"}=r,[ee,Se]=Z.useState([]),N=Z.useMemo(()=>Array.from(new Set([l].concat(ee.filter(E=>E.position).map(E=>E.position)))),[ee,l]),[te,oe]=Z.useState([]),[de,Re]=Z.useState(!1),[fe,ae]=Z.useState(!1),[ie,Ee]=Z.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),K=Z.useRef(null),ne=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=Z.useRef(null),J=Z.useRef(!1),Y=Z.useCallback(E=>{Se(M=>{var X;return(X=M.find(ce=>ce.id===E.id))!=null&&X.delete||Ht.dismiss(E.id),M.filter(({id:ce})=>ce!==E.id)})},[]);return Z.useEffect(()=>Ht.subscribe(E=>{if(E.dismiss){requestAnimationFrame(()=>{Se(M=>M.map(X=>X.id===E.id?{...X,delete:!0}:X))});return}setTimeout(()=>{z0.flushSync(()=>{Se(M=>{const X=M.findIndex(ce=>ce.id===E.id);return X!==-1?[...M.slice(0,X),{...M[X],...E},...M.slice(X+1)]:[E,...M]})})})}),[ee]),Z.useEffect(()=>{if(h!=="system"){Ee(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Ee("dark"):Ee("light")),typeof window>"u")return;const E=window.matchMedia("(prefers-color-scheme: dark)");try{E.addEventListener("change",({matches:M})=>{Ee(M?"dark":"light")})}catch{E.addListener(({matches:X})=>{try{Ee(X?"dark":"light")}catch(ce){console.error(ce)}})}},[h]),Z.useEffect(()=>{ee.length<=1&&Re(!1)},[ee]),Z.useEffect(()=>{const E=M=>{var X;if(c.every(le=>M[le]||M.code===le)){var ye;
vendor: 4,743 bytes, lines 64-94
64Re(!0),(ye=K.current)==null||ye.focus()}M.code==="Escape"&&(document.activeElement===K.current||(X=K.current)!=null&&X.contains(document.activeElement))&&Re(!1)};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[c]),Z.useEffect(()=>{if(K.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,J.current=!1)}},[K.current]),Z.createElement("section",{ref:a,"aria-label":`${q} ${ne}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((E,M)=>{var X;const[ce,ye]=E.split("-");return ee.length?Z.createElement("ol",{key:E,dir:H==="auto"?Hf():H,tabIndex:-1,ref:K,className:m,"data-sonner-toaster":!0,"data-sonner-theme":ie,"data-y-position":ce,"data-lifted":de&&ee.length>1&&!f,"data-x-position":ye,style:{"--front-toast-height":`${((X=te[0])==null?void 0:X.height)||0}px`,"--width":`${aw}px`,"--gap":`${F}px`,...R,...dw(g,v)},onBlur:le=>{J.current&&!le.currentTarget.contains(le.relatedTarget)&&(J.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:le=>{le.target instanceof HTMLElement&&le.target.dataset.dismissible==="false"||J.current||(J.current=!0,j.current=le.relatedTarget)},onMouseEnter:()=>Re(!0),onMouseMove:()=>Re(!0),onMouseLeave:()=>{fe||Re(!1)},onDragEnd:()=>Re(!1),onPointerDown:le=>{le.target instanceof HTMLElement&&le.target.dataset.dismissible==="false"||ae(!0)},onPointerUp:()=>ae(!1)},ee.filter(le=>!le.position&&M===0||le.position===E).map((le,Me)=>{var De,ze;return Z.createElement(cw,{key:le.id,icons:W,index:Me,toast:le,defaultRichColors:k,duration:(De=D==null?void 0:D.duration)!=null?De:x,className:D==null?void 0:D.className,descriptionClassName:D==null?void 0:D.descriptionClassName,invert:s,visibleToasts:_,closeButton:(ze=D==null?void 0:D.closeButton)!=null?ze:p,interacting:fe,position:E,style:D==null?void 0:D.style,unstyled:D==null?void 0:D.unstyled,classNames:D==null?void 0:D.classNames,cancelButtonStyle:D==null?void 0:D.cancelButtonStyle,actionButtonStyle:D==null?void 0:D.actionButtonStyle,closeButtonAriaLabel:D==null?void 0:D.closeButtonAriaLabel,removeToast:Y,toasts:ee.filter(ot=>ot.position==le.position),heights:te.filter(ot=>ot.position==le.position),setHeights:oe,expandByDefault:f,gap:F,expanded:de,swipeDirections:r.swipeDirections})})):null}))});/** 65 * @license lucide-react v0.487.0 - ISC 66 * 67 * This source code is licensed under the ISC license. 68 * See the LICENSE file in the root directory of this source tree. 69 */const pw=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hw=o=>o.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,s)=>s?s.toUpperCase():a.toLowerCase()),Wf=o=>{const r=hw(o);return r.charAt(0).toUpperCase()+r.slice(1)},jp=(...o)=>o.filter((r,a,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===a).join(" ").trim();/** 70 * @license lucide-react v0.487.0 - ISC 71 * 72 * This source code is licensed under the ISC license. 73 * See the LICENSE file in the root directory of this source tree. 74 */var mw={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 75 * @license lucide-react v0.487.0 - ISC 76 * 77 * This source code is licensed under the ISC license. 78 * See the LICENSE file in the root directory of this source tree. 79 */const gw=C.forwardRef(({color:o="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:f,...p},m)=>C.createElement("svg",{ref:m,...mw,width:r,height:r,stroke:o,strokeWidth:s?Number(a)*24/Number(r):a,className:jp("lucide",l),...p},[...f.map(([g,v])=>C.createElement(g,v)),...Array.isArray(c)?c:[c]]));/** 80 * @license lucide-react v0.487.0 - ISC 81 * 82 * This source code is licensed under the ISC license. 83 * See the LICENSE file in the root directory of this source tree. 84 */const Fp=(o,r)=>{const a=C.forwardRef(({className:s,...l},c)=>C.createElement(gw,{ref:c,iconNode:r,className:jp(`lucide-${pw(Wf(o))}`,`lucide-${o}`,s),...l}));return a.displayName=Wf(o),a};/** 85 * @license lucide-react v0.487.0 - ISC 86 * 87 * This source code is licensed under the ISC license. 88 * See the LICENSE file in the root directory of this source tree. 89 */const yw=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],vw=Fp("chevron-down",yw);/** 90 * @license lucide-react v0.487.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const ww=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],Sw=Fp("menu",ww);function zp({mode:o="dark",size:r=40,className:a="",animated:s=!0}
94){const l=o==="dark",c="#4F46E5",f="#818CF8",p=["M 20 16","H 70","L 100 46","V 66","H 50","A 4 4 0 0 0 50 74","H 100","V 115","H 20","V 99","H 70","A 4 4 0 0 0 70 91","H 20","V 16","Z"].join(" ");return U.jsxs("svg",{width:r,height:r,viewBox:"0 0 120 120",fill:"none",className:`${s?"logo-fade-in ":""}${a}`,xmlns:"http://www.w3.org/2000/svg",children:[U.jsx("rect",{x:"20",y:"16",width:"50",height:"6",fill:c}),U.jsx("path",{d:p,fill:c}),U.jsx("path",{d:"M 70 16 V 46 H 100 Z",fill:f})]})}function pu({mode:o="dark",scale:r=1,animated:a=!0}){const l=o==="dark"?"#FFFFFF":"#3730A3",c=48*r,f=48*r;return U.jsxs("div",{className:"flex items-center gap-3",style:{height:c},children:[U.jsx(zp,{mode:o,size:f,animated:a}),U.jsx("span",{className:"font-bold tracking-tighter select-none",style:{color:l,fontSize:`${30*r}px`,lineHeight:1,fontFamily:"'Inter', system-ui, sans-serif"},children:"speca"})]})}pu.displayName="SpecaLogo";zp.displayName="SpecaMark";function kw(){return C.createContext(null)}let Up;Up=kw();const Bp=Up,xw=[["колиÑеÑÑ�ом","колиÑеÑÑвом"],["Ðажд�й","ÐаждÑй"],["ÐÑмен�Ñе","ÐÑмениÑе"],["п�оÑÑÑанÑÑв","пÑоÑÑÑанÑÑв"],["обÑ�кÑÑ","обÑекÑÑ"],["ÑÑлб�Ñ","ÑÑлбаÑ"],["Ñ� говоÑиÑÑ","ÑÑ Ð³Ð¾Ð²Ð¾ÑиÑÑ"],["ÐоÑом� ÑÑо","ÐоÑÐ¾Ð¼Ñ ÑÑо"],["ÐÑедложиÑ� Ñаблон","ÐÑедложиÑÑ Ñаблон"],["докÑменÑ�ÑоваÑÑ","докÑменÑиÑоваÑÑ"],["назна�аеÑе","назнаÑаеÑе"],["пÑивÑзанн�й","пÑивÑзанной"],["опÑеделÑÐµÑ ï¿½Ð¾ÑÑÑп","опÑеделÑÐµÑ Ð´Ð¾ÑÑÑп"],["ÒалпÑна �елÑÑÑÑ","ÒалпÑна келÑÑÑÑ"],["ÐкÑжаÒÑÑ ï¿½Ð°Ð±ÑлдаÑ","ÐкÑжаÒÑÑ ÒабÑлдаÑ"]];function Ew(o){let r=o;for(const[a,s]of xw)r.includes(a)&&(r=r.split(a).join(s));return r}function bw({children:o}){const{t:r,i18n:a}=Zv(),[s,l]=C.useState(a.language||No);C.useEffect(()=>{const p=m=>{_p.includes(m)&&l(m)};return a.on("languageChanged",p),()=>{a.off("languageChanged",p)}},[a]);const c=C.useCallback(p=>{a.changeLanguage(p),localStorage.setItem(Ap.LANGUAGE,p)},[a]),f=C.useCallback((p,m)=>Ew(r(p,m)),[r]);return U.jsx(Bp.Provider,{value:{t:f,language:s,setLanguage:c},children:o})}function qi(){const o=C.useContext(Bp);if(o)return o;throw new Error("useLanguage должен иÑполÑзоваÑÑÑÑ Ð²Ð½ÑÑÑи LanguageProvider")}function Cw(){return C.createContext(null)}let $p;$p=Cw();const Hp=$p,Rw="https://dev.speca.app/api";async function Tw(o,r,a,s){try{const l=await fetch(`${Rw}${r}`,{method:o,headers:{"Content-Type":"application/json",Accept:"application/json",...s},body:a?JSON.stringify(a):void 0}),c=await l.json().catch(()=>({}));return l.ok?{data:c,error:null}:{data:null,error:c.error||`http_${l.status}`}}catch{return{data:null,error:"network_error"}}}function Pw({children:o}){const[r,a]=C.useState(!1),[s,l]=C.useState(""),[c,f]=C.useState(""),[p,m]=C.useState(!1),[g,v]=C.useState(!1),h=C.useCallback(D=>
94{l(typeof D=="string"?D.trim():""),a(!0)},[]),k=C.useCallback(()=>a(!1),[]),x=C.useCallback(()=>m(!0),[]),R=C.useCallback(()=>m(!1),[]);C.useEffect(()=>{const D=new URLSearchParams(window.location.search);if(D.get("register")==="1"){const W=new URL(window.location.href);W.searchParams.delete("register"),window.history.replaceState({},"",W.toString()),h();return}const H=D.get("invite");if(!H)return;const F=new URL(window.location.href);F.searchParams.delete("invite"),window.history.replaceState({},"",F.toString()),Tw("GET",`/invites/${H}`).then(W=>{if(W.error==="invite cancelled"||W.error==="http_410"){v(!0);return}W.error||!W.data||W.data.expired||(f(H),h(W.data.email||void 0))}).catch(()=>{})},[]);const _=C.useCallback(()=>v(!1),[]);return U.jsx(Hp.Provider,{value:{isOpen:r,prefillEmail:s,inviteHash:c,inviteCancelledOpen:g,closeInviteCancelled:_,openModal:h,closeModal:k,isSignInOpen:p,openSignIn:x,closeSignIn:R},children:o})}function Wp(){const o=C.useContext(Hp);if(o)return o;throw new Error("useRegistration должен иÑполÑзоваÑÑÑÑ Ð²Ð½ÑÑÑи RegistrationProvider")}function Lw(o=10){const[r,a]=C.useState(()=>typeof window<"u"&&window.scrollY>o);return C.useEffect(()=>{const s=()=>{const l=window.scrollY>o;a(c=>c===l?c:l)};return window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[o]),{isScrolled:r}}const Nw={primary:"bg-[#4f46e5] text-white hover:bg-[#4338ca] border border-transparent shadow-sm",ghost:"bg-transparent text-[#4f46e5] border-2 border-[#4f46e5] hover:bg-[#EEF2FF]",white:"bg-white text-[#4f46e5] border border-transparent hover:bg-gray-50 shadow-sm","outline-white":"bg-transparent text-white border-2 border-white hover:bg-white hover:text-[#4f46e5]"},Dw={sm:"px-5 py-2 text-sm",md:"px-6 py-3",lg:"px-8 py-4 text-lg"},Vf=C.memo(function({variant:r="primary",size:a="md",children:s,isLoading:l=!1,fullWidth:c=!1,className:f="",disabled:p,...m}){return U.jsx("button",{className:`inline-flex items-center justify-center gap-2 rounded-full transition-all duration-200 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed select-none ${Nw[r]} ${Dw[a]} ${c?"w-full":""} ${f}`,disabled:p||l,...m,children:l?U.jsxs(U.Fragment,{children:[U.jsx("span",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),s]}):s})}),jn={ACCESS:"speca-access-token",REFRESH:"speca-refresh-token"},hu="speca_auth",Vp=".speca.app";function Aw(){document.cookie=`${hu}=1; path=/; domain=${Vp}; SameSite=Lax; Max-Age=31536000`}function Ow(){document.cookie=`${hu}=; path=/; domain=${Vp}; SameSite=Lax; Max-Age=0`}const Rr={setTokens(o,r,a=!0){const s=a?localStorage:sessionStorage;s.setItem(jn.ACCESS,o),r&&s.setItem(jn.REFRESH,r),Aw()},getAccessToken(){return localStorage.getItem(jn.ACCESS)??sessionStorage.getItem(jn.ACCESS)},getRefreshToken(){return localStorage.getItem(jn.REFRESH)??sessionStorage.getItem(jn.REFRESH)},isAuthenticated(){const o=this.getAccessToken();if(!o)return!1;try{const r=JSON.parse(atob(o.split(".")[1]));return typeof r.exp=="number"&&r.exp*1e3>Date.now()}catch{return!1}},isAuthenticatedShared(){return document.cookie.split(";").some(o=>o.trim().startsWith(`${hu}=1`))},clearLocalTokens(){localStorage.removeItem(jn.ACCESS),localStorage.removeItem(jn.REFRESH),sessionStorage.removeItem(jn.ACCESS),sessionStorage.removeItem(jn.REFRESH)},clearAll(){this.clearLocalTokens(),Ow()}},_w=C.lazy(()=>et(()=>import("./MobileMenu-Y2H-1XPG.js"),__vite__mapDeps([0,1,2,3,4])).then(o=>({default:o.MobileMenu}))),Mw=C.lazy(()=>et(()=>import("./ProductMegaMenu-DjXTlmbH.js"),__vite__mapDeps([5,2,3])).then(o=>({default:o.ProductMegaMenu}))),Iw=[{code:"kz",label:"KZ"},{code:"ru",label:"RU"},{code:"en",label:"EN"}],jw=C.memo(function(){const{language:r,setLanguage:a}=qi(),{allowedLangs:s}=Mp(),l=Iw.filter(({code:c})=>s.includes(c));return l.length<=1?null:U.jsx("div",{className:"flex items-center gap-0.5",children:l.map(({code:c,label:f})=>U.jsx("button",{onClick:()=>a(c),className:`px-1.5 py-1 rounded transition-colors cursor-pointer ${r===c?"text-[#4f46e5]":"text-[#9ca3af] hover:text-[#4b5563]"}`,style:{fontSize:"12px",fontWeight:r===c?600:400,letterSpacing:"0.04em"},children:f},c))})}),Fw=C.memo(function(){const{t:r,language:a}=qi(),{openModal:s,openSignIn:l}=Wp(),{isScrolled:c}=Lw(8),f=En(),[p,m]=C.useState(!1),g=C.useCallback(()=>m(!1),[]),[v,h]=C.useState(()=>Rr.isAuthenticated()||Rr.isAuthenticatedShared());C.useEffect(()=>{const q=()=>{const ee=Rr.isAuthenticatedShared();ee||Rr.clearLocalTokens(),h(ee||Rr.isAuthenticated())};return document.addEventListener("visibilitychange",q),window.addEventListener("focus",q),()=>{document.removeEventListener("visibilitychange",q),window.removeEventListener("focus",q)}},[]);const k=(()=>{const q=Rr.getAccessToken();return q&&Rr.isAuthenticated()?M0(q,Rr.getRefreshToken()??void 0,!0,!1,"",a):Uf})(),x=C.useCallback(()=>
94{if(I0()){window.location.href=Uf;return}l()},[l]),[R,_]=C.useState(!1),D=C.useRef(null);C.useEffect(()=>{_(!1)},[f.pathname]),C.useEffect(()=>{if(!R)return;const q=ee=>{var Se;D.current&&!((Se=D.current.closest("header"))!=null&&Se.contains(ee.target))&&_(!1)};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[R]);const H=[{href:"/pricing",key:"nav.pricing"},{href:"/blog",key:"nav.blog"},{href:"/download",key:"nav.download"}],F=C.useCallback(q=>f.pathname===q,[f.pathname]),W=["/spaces","/docs","/tasks","/templates","/recording"].includes(f.pathname);return U.jsxs(U.Fragment,{children:[U.jsxs("header",{className:`fixed top-0 left-0 right-0 z-40 transition-all duration-300 ${c?"bg-white/95 backdrop-blur-md border-b border-[#e5e7eb]":"bg-white"}`,style:{boxShadow:c?"0 1px 12px rgba(0,0,0,0.06)":"none"},children:[U.jsxs("div",{className:"max-w-7xl mx-auto px-4 md:px-8 h-[68px] flex items-center justify-between",children:[U.jsxs("div",{className:"flex items-center gap-6",children:[U.jsx(Lo,{to:"/",className:"flex items-center shrink-0",children:U.jsx(pu,{mode:"light",scale:.7})}),U.jsxs("nav",{className:"hidden lg:flex items-center gap-0",children:[U.jsxs("button",{ref:D,onClick:()=>_(q=>!q),className:`flex items-center gap-1 px-3 py-1.5 rounded-full transition-all duration-200 cursor-pointer ${W||R?"text-[#4f46e5] bg-[#EEF2FF]":"text-[#4b5563] hover:text-[#111827] hover:bg-[#f9fafb]"}`,style:{fontSize:"13px",fontWeight:W||R?600:400},children:[r("nav.product"),U.jsx(vw,{size:13,className:`transition-transform duration-200 ${R?"rotate-180":""}`})]}),H.map(({href:q,key:ee})=>U.jsx(Lo,{to:q,className:`px-3 py-1.5 rounded-full transition-all duration-200 ${F(q)?"text-[#4f46e5] bg-[#EEF2FF]":"text-[#4b5563] hover:text-[#111827] hover:bg-[#f9fafb]"}`,style:{fontSize:"13px",fontWeight:F(q)?600:400},children:r(ee)},q))]})]}),U.jsxs("div",{className:"flex items-center gap-2",children:[U.jsx(jw,{}),v?U.jsx("a",{href:k,className:"hidden lg:block px-4 py-2 text-white bg-[#4f46e5] hover:bg-[#4338ca] rounded-full transition-colors cursor-pointer font-semibold",style:{fontSize:"14px"},children:r("nav.openApp")}):U.jsxs(U.Fragment,{children:[U.jsx("button",{className:"hidden lg:block px-4 py-2 text-[#4b5563] hover:text-[#111827] hover:bg-[#f9fafb] rounded-full transition-colors cursor-pointer",style:{fontSize:"14px"},onClick:x,children:r("nav.signIn")}),U.jsx("div",{className:"hidden lg:flex",children:U.jsx(Vf,{variant:"primary",size:"sm",onClick:s,children:r("nav.startFree")})})]}),v?U.jsx("a",{href:k,className:"flex lg:hidden px-4 py-2 text-white bg-[#4f46e5] hover:bg-[#4338ca] rounded-full transition-colors text-sm font-semibold",children:r("nav.openApp")}):U.jsx(Vf,{variant:"primary",size:"sm",onClick:x,className:"flex lg:hidden",children:r("nav.signIn")}),U.jsx("button",{className:"lg:hidden p-2 rounded-full text-[#4b5563] hover:bg-[#f3f4f6] cursor-pointer",onClick:()=>m(!0),"aria-label":"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ",children:U.jsx(Sw,{size:22})})]})]}),R&&U.jsx(C.Suspense,{fallback:null,children:U.jsx(Mw,{isOpen:R,onLinkClick:()=>_(!1)})})]}),R&&U.jsx("div",{className:"backdrop-fade-in fixed inset-0 top-[68px] z-30 bg-black/35 pointer-events-auto",onClick:()=>_(!1)}),U.jsx(C.Suspense,{fallback:null,children:U.jsx(_w,{isOpen:p,onClose:g})})]})}),zw="/assets/9ae4acc694c7e792d89af262b9b9d7605407d75c-CbWB1HgT.png",Uw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAABsCAMAAAAL3E2gAAAAbFBMVEVHcEwZXpkATY////8ATY8ZXpkcYZsBTY8jZZ0BVZT/pCUASo1olr0fY537/P1LgrDz9/rg6vL/qTD+2qc6dqgWXZnY5e//6Mn/oySMr82qxNrD1uXo7/UsbaNYi7b/9ur/oyP/yHz/ulv/oyEq2ukIAAAACnRSTlMAav//12lT9j8csae/cgAABSdJREFUeNrtnAtzmzgQgFu49q6VEIIiJSsBie3//x9PoDfg2L7BBC7amc7EWIj9tE+JJt++/a/k1z8HkF8fAPz8+wDy4yOAjDU7F5Z9DFDSnUuPbgCQfN+CE0ACSABfAUDi/QnQBwAE2p8U7SMA2e4kAXy6JAskCyQLJAskCyQLJAskCyQLJAskC6QNzX0Axf6keQSAVjsUkg62EsDBAQilhHwygNIglImC7up8RCWgL5um7DEITmdofngrhGifBlBhpUVppYFICdAXcZtLN4Tr7yQuMntCmGWsBB5NK+xwkVMAEECfBUC4hM6fVkZjJdMXYXiGkW5cSwps0DuoSRnDAULlpoRcikH4M2Og6kcVlEYRAO21jqrc0AaZAXi8oVwqrDhQyUyI1HgpBUghnxrEasHMQoZjTfPB5GALq6UYhjdu9bUH6c5MBqZz3/d5C0KFS/tUAAIWoPG+2mo1EVa3u+8HD7KWUStcNGXTDcGgPvnwoaUHVA/nKgj4k9Oo7fRCADAqq2dTu+SjB4HVrhMVVYmUC9ypO9vZbHZCQsmT6wCRTicHwAutNOQTD7JfjL5lrQWd/8A7H98m6J9eyOTseQRrByppsOaoqIIPfRRGJIpgv2fhnwRgFn1cZefTqCfBB7gyFwvTK9sIgMVbDKfmqCQPPagtApqlyl5GBSKTWwAQp+LgI8MFYUKwzcOoHZbT07BF3UBbsg/z7vMt4AF4VBjGp5MyrBKVtYBOUFdKCtjEuzWAdlli1lw7CS/sasIkyXcz7XTsK8u5xAybAFRFBKBDAhlziCz6EsIQxe1iMAlfWfCmADppkD6IYPfJpFRboY00gswieBgotwVwqWVMGlEEB04PrkkN21BcTSJYlzu20F09EaALqqtuHJBNMs4Z7AUiWJQpGxlX7zG/uqhq6KYAgwVME4SJnX7WJ8kuJEC2jTDVewS1NkXdJgC081lPtzKoqyZsPp8QtY+L3EgHBzGxj6MZi2oTgMYDYBTlb7FcU2WfBQgimETnLjfjHb3EugAmEZY0jz0om/SVVBS+IOAggo2hTO5CTG4B4IptBj2K2gTvQbN86CNhTDWmzWYghNrEiwbd3QytClBO/N3lcyau950DgIngzOwxUXZ/M7QqQFQC8slmcnqXK3FqayDYlUN02ALAeuxs1eLNZE6mT3YJytZnlKHJS4DPAPCdfnwcwTFfbv2FjWDmzv7Z/b3EGgA4TOvBNtB1bkM6V7uEAnxap+B37qYGM2FP/n072m8OsHRAMrYHyudRVuDhLIKQVvTBDRhF1Tvc5N1+/NoAvmUgPPYg07MWTdmXXeaTKBXzouW6udvN0MoAYeWB6HABwvO4YFvDbQTjpQ799sHKGgCAlo44483kNFVZg3FLFh2htPc3Q6sCuCZuvpnMg+bBmaKA1g2Dxe7kdjO0DoA96xdLV40SvGfed4YfuuHQk/Z6UNNOaqOZUW4B4F5I4DDkYHqVSCh1hmdF14Nsh9LGe/suI14Te/MmAPniK6alF0+05XKQyp3YLr+dyq+8tdrDSz6SrzvjF3nN+vZnh/LIfzX48/t1b/K7fnsIYH/yEMDLDvU/ugXejw5QH92FvpgFDh8DKQulGEhZKMXAmot/uRw5C73W9flcvx7Xhd7PJyX15bgudDqfT+fT5bAuVCvtT/XpuBuay2k0wXEB3uv/EAMv9b7kPPx7BODtZYeSfgEiASSAuwDyowPwnUt/44+EZWznkmXfPwL46wDy88M/9XcAiTX+F/HW53V+OtRwAAAAAElFTkSuQmCC",Bw=C.memo(function(){const{t:r}=qi(),a=[{key:"product",title:r("footer.columns.product"),links:[{label:r("footer.links.spaces"),href:"/spaces"},{label:r("footer.links.templates"),href:"/templates"},{label:r("footer.links.recording"),href:"/recording"},{label:r("footer.links.docs"),href:"/docs"},{label:r("footer.links.tasks"),href:"/tasks"}]},{key:"company",title:r("footer.columns.company"),links:[{label:r("footer.links.blog"),href:"/blog"},{label:r("footer.links.pricing"),href:"/pricing"}]},{key:"legal",title:r("footer.columns.legal"),links:[{label:r("footer.links.offer"),href:"/legal/offer"},{label:r("footer.links.terms"),href:"/legal/terms"},{label:r("footer.links.privacy"),href:"/legal/privacy"},{label:r("footer.links.refund"),href:"/legal/refund"}]},{key:"download",title:r("footer.columns.download"),links:[{label:r("footer.links.appMac"),href:"/download"},{label:r("footer.links.appWindows"),href:"/download"}]}];return U.jsx("footer",{style:{background:"#0c0a1e"},className:"text-white",children:U.jsxs("div",{className:"max-w-7xl mx-auto px-4 md:px-8 pt-16 pb-10",children:[U.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 ga
94p-10 mb-12",children:[U.jsxs("div",{className:"col-span-2 md:col-span-1",children:[U.jsx(Lo,{to:"/",className:"flex items-center mb-5",children:U.jsx(pu,{mode:"dark",scale:.7})}),U.jsx("p",{className:"text-[#9ca3af] mb-2",style:{fontSize:"14px"},children:r("footer.tagline")}),U.jsx("p",{className:"text-[#6b7280] mb-6",style:{fontSize:"13px"},children:"Where agreements become transparent."}),U.jsxs("div",{className:"flex items-center gap-2",children:[U.jsx("img",{src:zw,alt:"MasterCard",loading:"lazy",style:{height:"28px",width:"auto",borderRadius:"4px",opacity:.85}}),U.jsx("img",{src:Uw,alt:"Visa",loading:"lazy",style:{height:"28px",width:"auto",borderRadius:"4px",opacity:.85}})]})]}),a.map(s=>U.jsxs("div",{children:[U.jsx("p",{className:"text-white mb-5",style:{fontWeight:700,fontSize:"14px",letterSpacing:"0.04em",textTransform:"uppercase"},children:s.title}),U.jsx("ul",{className:"flex flex-col gap-3",children:s.links.map(({label:l,href:c})=>U.jsx("li",{children:U.jsx(Lo,{to:c,className:"text-[#9ca3af] hover:text-white transition-colors",style:{fontSize:"14px"},children:l})},`${c}-${l}`))})]},s.key))]}),U.jsx("div",{className:"border-t border-white/10 pt-6 flex flex-col md:flex-row items-center justify-between gap-3",children:U.jsx("p",{className:"text-[#6b7280]",style:{fontSize:"13px"},children:r("footer.copyright")})})]})})});function $w(){const o=En();return C.useEffect(()=>{},[]),C.useEffect(()=>{},[o]),null}class Hw extends C.Component{constructor(r){super(r),this.handleReload=()=>{this.setState({hasError:!1,isChunkError:!1}),window.location.reload()},this.state={hasError:!1,isChunkError:!1}}static getDerivedStateFromError(r){const a=(r==null?void 0:r.message)??"";return{hasError:!0,isChunkError:a.includes("Failed to fetch dynamically imported module")||a.includes("Loading chunk")||a.includes("Importing a module script failed")||a.includes("dynamically imported module")}}componentDidCatch(r,a){}render(){if(this.state.hasError){const{texts:r}=this.props,{isChunkError:a}=this.state;return U.jsx("div",{className:"min-h-screen flex items-center justify-center px-4",style:{background:"#f9fafb"},children:U.jsxs("div",{className:"max-w-md w-full text-center",children:[U.jsx("div",{className:"w-14 h-14 rounded-2xl mx-auto mb-6 flex items-center justify-center",style:{background:"#EEF2FF"},children:U.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"#4f46e5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[U.jsx("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),U.jsx("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),U.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})}),U.jsx("h2",{className:"text-[#111827] mb-2",style:{fontSize:"20px",fontWeight:800,letterSpacing:"-0.02em"},children:a?r.chunkTitle:r.genericTitle}),U.jsx("p",{className:"text-[#6b7280] mb-6",style:{fontSize:"14px",lineHeight:1.6},children:a?r.chunkDesc:r.genericDesc}),U.jsx("button",{onClick:this.handleReload,className:"inline-flex items-center gap-2 px-6 py-3 rounded-full text-white transition-all hover:opacity-90",style:{background:"#4f46e5",fontSize:"14px",fontWeight:600},children:r.reload})]})})}return this.props.children}}function Ww({children:o}){const{t:r}=qi(),a={chunkTitle:r("common.chunkError.chunkTitle"),chunkDesc:r("common.chunkError.chunkDesc"),genericTitle:r("common.chunkError.genericTitle"),genericDesc:r("common.chunkError.genericDesc"),reload:r("common.chunkError.reload")};return U.jsx(Hw,{texts:a,children:o})}function Kp(){return U.jsx("div",{className:"flex items-center justify-center min-h-screen bg-white",children:U.jsx("div",{className:"w-8 h-8 border-2 border-[#4f46e5] border-t-transparent rounded-full animate-spin"})})}function Vw(){const{pathname:o}=En();return C.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[o]),null}const Kw=C.lazy(()=>et(()=>import("./RegistrationModal-k1wA-7fK.js"),__vite__mapDeps([6,7,1,3,4,2,8,9,10,11,12,13])).then(o=>({default:o.RegistrationModal}))),Yw=C.lazy(()=>et(()=>import("./SignInModal-TqNBkrIm.js"),__vite__mapDeps([14,7,1,3,4,2,11,12,15,13])).then(o=>({default:o.SignInModal})));
94function Qw(){const{isOpen:o,isSignInOpen:r,inviteCancelledOpen:a,closeInviteCancelled:s,openModal:l}=Wp();return U.jsxs(U.Fragment,{children:[U.jsx($w,{}),U.jsx(Vw,{}),U.jsx(fw,{position:"bottom-right",richColors:!0}),U.jsx(Fw,{}),U.jsx(Ww,{children:U.jsx(C.Suspense,{fallback:U.jsx(Kp,{}),children:U.jsx(Py,{})})}),U.jsx(Bw,{}),o&&U.jsx(C.Suspense,{fallback:null,children:U.jsx(Kw,{})}),r&&U.jsx(C.Suspense,{fallback:null,children:U.jsx(Yw,{})}),a&&U.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 px-4",children:U.jsxs("div",{className:"w-full max-w-sm bg-white rounded-2xl shadow-xl p-8 space-y-5 text-center",children:[U.jsx("div",{className:"text-4xl",children:"ð"}),U.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"ÐÑиглаÑение оÑозвано"}),U.jsx("p",{className:"text-sm text-gray-500",children:"СÑÑлка болÑÑе не дейÑÑвÑеÑ. ÐÑ Ð¼Ð¾Ð¶ÐµÑе заÑегиÑÑÑиÑоваÑÑÑÑ ÑамоÑÑоÑÑелÑно."}),U.jsxs("div",{className:"flex flex-col gap-2",children:[U.jsx("button",{onClick:()=>{s(),l()},className:"w-full h-10 rounded-lg bg-indigo-600 text-white text-sm font-medium hover:bg-indigo-700 transition-colors",children:"ÐаÑегиÑÑÑиÑоваÑÑÑÑ"}),U.jsx("button",{onClick:s,className:"w-full h-10 rounded-lg border border-gray-200 text-sm text-gray-600 hover:bg-gray-50 transition-colors",children:"ÐакÑÑÑÑ"})]})]})})]})}const qw=Zy([{path:"/",Component:Qw,HydrateFallback:Kp,children:[{index:!0,lazy:()=>et(()=>import("./HomePage-3J2B-Ddn.js"),__vite__mapDeps([16,17,18,3,19,2,20,21,22,10,13,23,24,25,4,8,26,27,28,15,29,30,31,32,33,34])).then(o=>({Component:o.default}))},{path:"spaces",lazy:()=>et(()=>import("./SpacesPage-Ezwel35E.js"),__vite__mapDeps([35,17,33,3,36,37,12,23,38,39,25,40,10,29])).then(o=>({Component:o.default}))},{path:"templates",lazy:()=>et(()=>import("./TemplatesPage-Db7352du.js"),__vite__mapDeps([41,17,34,3,31,42,43,19,36])).then(o=>({Component:o.default}))},{path:"recording",lazy:()=>et(()=>import("./RecordingPage-Cp0-FC5t.js"),__vite__mapDeps([44,17,4,22,3,10,13,23,24,25,34,19,20,31,45,15,30,26,29,36,32,39,46])).then(o=>({Component:o.default}))},{path:"docs",lazy:()=>et(()=>import("./DocsPage-CMTotYhJ.js"),__vite__mapDeps([47,17,3,21,25,42,48,19,20,24,4,29,40,10,28,49,46,34,50,31,39,37])).then(o=>({Component:o.default}))},{path:"tasks",lazy:()=>et(()=>import("./TasksPage-DykddV_d.js"),__vite__mapDeps([51,17,3,45,40,10,29,25,28,23,13,19,24,37,52,36,53,38,43,32,49,11,50,34])).then(o=>({Component:o.default}))},{path:"pricing",lazy:()=>et(()=>import("./PricingPage-DEH_0x2R.js"),__vite__mapDeps([54,17,18,31,25,37,52,23,49,48,3,8,19,26,39,27,2,10])).then(o=>({Component:o.default}))},{path:"blog",lazy:()=>et(()=>import("./BlogPage-Cw4ZvjHy.js"),__vite__mapDeps([55,17,18,56,3,10,32,53])).then(o=>({Component:o.default}))},{path:"blog/:slug",lazy:()=>et(()=>import("./BlogPostPage-WQF-X0S4.js"),__vite__mapDeps([57,17,56,3,15,53,32])).then(o=>({Component:o.default}))},{path:"legal/privacy",lazy:()=>et(()=>import("./PrivacyPage-RUXr7UbU.js"),__vite__mapDeps([58,17,59,3,15])).then(o=>({Component:o.default}))},{path:"legal/terms",lazy:()=>et(()=>import("./TermsPage-pTkgNifH.js"),__vite__mapDeps([60,17,59,3,15])).then(o=>({Component:o.default}))},{path:"legal/offer",lazy:()=>et(()=>import("./OfferPage-D5wqEF1C.js"),__vite__mapDeps([61,17,59,3,15,10])).then(o=>({Component:o.default}))},{path:"legal/refund",lazy:()=>et(()=>import("./RefundPage-BnH7tWqa.js"),__vite__mapDeps([62,17,59,3,15])).then(o=>({Component:o.default}))},{path:"extension",lazy:()=>et(()=>import("./ExtensionPage-BOGifkX0.js"),__vite__mapDeps([63,43,9])).then(o=>({Component:o.default}))},{path:"download",lazy:()=>et(()=>import("./DownloadPage-QpZ-6uwu.js"),__vite__mapDeps([64,17,30,39])).then(o=>({Component:o.default}))},{path:"*",lazy:()=>et(()=>import("./NotFoundPage-C-m7MZx8.js"),__vite__mapDeps([65,1,15])).then(o=>({Component:o.default}))}]}]),Gw=()=>U.jsx("div",{className:"min-h-screen flex items-center justify-center",children:U.jsx("div",{className:"w-8 h-8 border-4 border-indigo-200 border-t-indigo-600 rounded-full animate-spin"})});function Jw(){return U.jsx(bw,{children:U.jsx(Pw,{children:U.jsx(Cy,{router:qw,fallbackElement:U.jsx(Gw,{})})})})}window.location.pathname==="/"&&et(()=>import("./HomePage-3J2B-Ddn.js"),__vite__mapDeps([16,17,18,3,19,2,20,21,22,10,13,23,24,25,4,8,26,27,28,15,29,30,31,32,33,34]));Fm.createRoot(document.getElementById("root")).render(U.jsx(Jw,{}));export{Uf as A,vw as C,nS as E,Lo as L,Sw as M,Zw as N,rS as O,zm as R,zp as S,Wp as a,Xw as b,Fp as c,Dp as d,Zv as e,En as f,Mp as g,eS as h,I0 as i,U as j,tS as k,Rr as l,zw as m,M0 as n,F0 as o,z0 as p,Ap as q,C as r,Tw as s,qi as u,Uw as v};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.