PageSourceSearch

https://tuik.ai/assets/index-Dvl7nr_i.js

js tuik.ai collected 2026-10-05 14:11:53 UTC 402,515 bytes, 247 lines download raw bytes

vendor: 4,424 bytes, lines 1-17
1var v0=Object.defineProperty;var b0=(a,i,o)=>i in a?v0(a,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[i]=o;var ua=(a,i,o)=>b0(a,typeof i!="symbol"?i+"":i,o);(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function o(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(c){if(c.ep)return;c.ep=!0;const f=o(c);fetch(c.href,f)}})();var pu={exports:{}},Pl={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var tp;function x0(){if(tp)return Pl;tp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(r,c,f){var h=null;if(f!==void 0&&(h=""+f),c.key!==void 0&&(h=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:a,type:r,key:h,ref:c!==void 0?c:null,props:f}}return Pl.Fragment=i,Pl.jsx=o,Pl.jsxs=o,Pl}var np;function w0(){return np||(np=1,pu.exports=x0()),pu.exports}var g=w0(),mu={exports:{}},te={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var ap;function _0(){if(ap)return te;ap=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),z=Symbol.iterator;function O(S){return S===null||typeof S!="object"?null:(S=z&&S[z]||S["@@iterator"],typeof S=="function"?S:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,L={};function $(S,U,q){this.props=S,this.context=U,this.refs=L,this.updater=q||H}$.prototype.isReactComponent={},$.prototype.setState=function(S,U){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,U,"setState")},$.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function K(){}K.prototype=$.prototype;function W(S,U,q){this.props=S,this.context=U,this.refs=L,this.updater=q||H}var le=W.prototype=new K;le.constructor=W,Z(le,$.prototype),le.isPureReactComponent=!0;var oe=Array.isArray;function I(){}var V={H:null,A:null,T:null,S:null},be=Object.prototype.hasOwnProperty;function $e(S,U,q){var X=q.ref;return{$$typeof:a,type:S,key:U,ref:X!==void 0?X:null,props:q}}function St(S,U){return $e(S.type,U,S.props)}function Tt(S){return typeof S=="object"&&S!==null&&S.$$typeof===a}function tt(S){var U={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(q){return U[q]})}var Yt=/\/+/g;function zt(S,U){return typeof S=="object"&&S!==null&&S.key!=null?tt(""+S.key):U.toString(36)}function Ze(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(I,I):(S.status="pending",S.then(function(U){S.status==="pending"&&(S.status="fulfilled",S.value=U)},function(U){S.status==="pending"&&(S.status="rejected",S.reason=U)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function R(S,U,q,X,ne){var se=typeof S;(se==="undefined"||se==="boolean")&&(S=null);var ge=!1;if(S===null)ge=!0;else switch(se){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(S.$$typeof){case a:case i:ge=!0;break;case x:return ge=S._init,R(ge(S._payload),U,q,X,ne)}}
vendor: 18,236 bytes, lines 17-43
17if(ge)return ne=ne(S),ge=X===""?"."+zt(S,0):X,oe(ne)?(q="",ge!=null&&(q=ge.replace(Yt,"$&/")+"/"),R(ne,U,q,"",function(ol){return ol})):ne!=null&&(Tt(ne)&&(ne=St(ne,q+(ne.key==null||S&&S.key===ne.key?"":(""+ne.key).replace(Yt,"$&/")+"/")+ge)),U.push(ne)),1;ge=0;var at=X===""?".":X+":";if(oe(S))for(var De=0;De<S.length;De++)X=S[De],se=at+zt(X,De),ge+=R(X,U,q,se,ne);else if(De=O(S),typeof De=="function")for(S=De.call(S),De=0;!(X=S.next()).done;)X=X.value,se=at+zt(X,De++),ge+=R(X,U,q,se,ne);else if(se==="object"){if(typeof S.then=="function")return R(Ze(S),U,q,X,ne);throw U=String(S),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return ge}function G(S,U,q){if(S==null)return S;var X=[],ne=0;return R(S,X,"","",function(se){return U.call(q,se,ne++)}),X}function P(S){if(S._status===-1){var U=S._result;U=U(),U.then(function(q){(S._status===0||S._status===-1)&&(S._status=1,S._result=q)},function(q){(S._status===0||S._status===-1)&&(S._status=2,S._result=q)}),S._status===-1&&(S._status=0,S._result=U)}if(S._status===1)return S._result.default;throw S._result}var xe=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},ze={map:G,forEach:function(S,U,q){G(S,function(){U.apply(this,arguments)},q)},count:function(S){var U=0;return G(S,function(){U++}),U},toArray:function(S){return G(S,function(U){return U})||[]},only:function(S){if(!Tt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return te.Activity=w,te.Children=ze,te.Component=$,te.Fragment=o,te.Profiler=c,te.PureComponent=W,te.StrictMode=r,te.Suspense=v,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,te.__COMPILER_RUNTIME={__proto__:null,c:function(S){return V.H.useMemoCache(S)}},te.cache=function(S){return function(){return S.apply(null,arguments)}},te.cacheSignal=function(){return null},te.cloneElement=function(S,U,q){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var X=Z({},S.props),ne=S.key;if(U!=null)for(se in U.key!==void 0&&(ne=""+U.key),U)!be.call(U,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&U.ref===void 0||(X[se]=U[se]);var se=arguments.length-2;if(se===1)X.children=q;else if(1<se){for(var ge=Array(se),at=0;at<se;at++)ge[at]=arguments[at+2];X.children=ge}return $e(S.type,ne,X)},te.createContext=function(S){return S={$$typeof:h,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:f,_context:S},S},te.createElement=function(S,U,q){var X,ne={},se=null;if(U!=null)for(X in U.key!==void 0&&(se=""+U.key),U)be.call(U,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(ne[X]=U[X]);var ge=arguments.length-2;if(ge===1)ne.children=q;else if(1<ge){for(var at=Array(ge),De=0;De<ge;De++)at[De]=arguments[De+2];ne.children=at}if(S&&S.defaultProps)for(X in ge=S.defaultProps,ge)ne[X]===void 0&&(ne[X]=ge[X]);return $e(S,se,ne)},te.createRef=function(){return{current:null}},te.forwardRef=function(S){return{$$typeof:m,render:S}},te.isValidElement=Tt,te.lazy=function(S){return{$$typeof:x,_payload:{_status:-1,_result:S},_init:P}},te.memo=function(S,U){return{$$typeof:y,type:S,compare:U===void 0?null:U}},te.startTransition=function(S){var U=V.T,q={};V.T=q;try{var X=S(),ne=V.S;ne!==null&&ne(q,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(I,xe)}catch(se){xe(se)}finally{U!==null&&q.types!==null&&(U.types=q.types),V.T=U}},te.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},te.use=function(S){return V.H.use(S)},te.useActionState=function(S,U,q){return V.H.useActionState(S,U,q)},te.useCallback=function(S,U){return V.H.useCallback(S,U)},te.useContext=function(S){return V.H.useContext(S)},te.useDebugValue=function(){},te.useDeferredValue=function(S,U){return V.H.useDeferredValue(S,U)},te.useEffect=function(S,U){return V.H.useEffect(S,U)},te.useEffectEvent=function(S){return V.H.useEffectEvent(S)},te.useId=function(){return V.H.useId()},te.useImperativeHandle=function(S,U,q){return V.H.useImperativeHandle(S,U,q)},te.useInsertionEffect=function(S,U){return V.H.useInsertionEffect(S,U)},te.useLayoutEffect=function(S,U){return V.H.useLayoutEffect(S,U)},te.useMemo=function(S,U){return V.H.useMemo(S,U)},te.useOptimistic=function(S,U){return V.H.useOptimistic(S,U)},te.useReducer=function(S,U,q){return V.H.useReducer(S,U,q)},te.useRef=function(S){return V.H.useRef(S)},te.useState=function(S){return V.H.useState(S)},te.useSyncExternalStore=function(S,U,q){return V.H.useSyncExternalStore(S,U,q)},te.useTransition=function(){return V.H.useTransition()},te.version="19.2.8",te}var lp;function Du(){return lp||(lp=1,mu.exports=_0()),mu.exports}var N=Du(),gu={exports:{}},ei={},yu={exports:{}},vu={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var ip;function S0(){return ip||(ip=1,(function(a){function i(R,G){var P=R.length;R.push(G);e:for(;0<P;){var xe=P-1>>>1,ze=R[xe];if(0<c(ze,G))R[xe]=G,R[P]=ze,P=xe;else break e}}function o(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var G=R[0],P=R.pop();if(P!==G){R[0]=P;e:for(var xe=0,ze=R.length,S=ze>>>1;xe<S;){var U=2*(xe+1)-1,q=R[U],X=U+1,ne=R[X];if(0>c(q,P))X<ze&&0>c(ne,q)?(R[xe]=ne,R[X]=P,xe=X):(R[xe]=q,R[U]=P,xe=U);else if(X<ze&&0>c(ne,P))R[xe]=ne,R[X]=P,xe=X;else break e}}return G}function c(R,G){var P=R.sortIndex-G.sortIndex;return P!==0?P:R.id-G.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var h=Date,m=h.now();a.unstable_now=function(){return h.now()-m}}var v=[],y=[],x=1,w=null,z=3,O=!1,H=!1,Z=!1,L=!1,$=typeof setTimeout=="function"?setTimeout:null,K=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function le(R){for(var G=o(y);G!==null;){if(G.callback===null)r(y);else if(G.startTime<=R)r(y),G.sortIndex=G.expirationTime,i(v,G);else break;G=o(y)}}function oe(R){if(Z=!1,le(R),!H)if(o(v)!==null)H=!0,I||(I=!0,tt());else{var G=o(y);G!==null&&Ze(oe,G.startTime-R)}}var I=!1,V=-1,be=5,$e=-1;function St(){return L?!0:!(a.unstable_now()-$e<be)}function Tt(){if(L=!1,I){var R=a.unstable_now();$e=R;var G=!0;try{e:{H=!1,Z&&(Z=!1,K(V),V=-1),O=!0;var P=z;try{t:{for(le(R),w=o(v);w!==null&&!(w.expirationTime>R&&St());){var xe=w.callback;if(typeof xe=="function"){w.callback=null,z=w.priorityLevel;var ze=xe(w.expirationTime<=R);if(R=a.unstable_now(),typeof ze=="function"){w.callback=ze,le(R),G=!0;break t}w===o(v)&&r(v),le(R)}else r(v);w=o(v)}if(w!==null)G=!0;else{var S=o(y);S!==null&&Ze(oe,S.startTime-R),G=!1}}break e}finally{w=null,z=P,O=!1}G=void 0}}finally{G?tt():I=!1}}}var tt;if(typeof W=="function")tt=function(){W(Tt)};else if(typeof MessageChannel<"u"){var Yt=new MessageChannel,zt=Yt.port2;Yt.port1.onmessage=Tt,tt=function(){zt.postMessage(null)}}else tt=function(){$(Tt,0)};function Ze(R,G){V=$(function(){R(a.unstable_now())},G)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return z},a.unstable_next=function(R){switch(z){case 1:case 2:case 3:var G=3;break;default:G=z}var P=z;z=G;try{return R()}finally{z=P}},a.unstable_requestPaint=function(){L=!0},a.unstable_runWithPriority=function(R,G){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var P=z;z=R;try{return G()}finally{z=P}},a.unstable_scheduleCallback=function(R,G,P){var xe=a.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?xe+P:xe):P=xe,R){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=P+ze,R={id:x++,callback:G,priorityLevel:R,startTime:P,expirationTime:ze,sortIndex:-1},P>xe?(R.sortIndex=P,i(y,R),o(v)===null&&R===o(y)&&(Z?(K(V),V=-1):Z=!0,Ze(oe,P-xe))):(R.sortIndex=ze,i(v,R),H||O||(H=!0,I||(I=!0,tt()))),R},a.unstable_shouldYield=St,a.unstable_wrapCallback=function(R){var G=z;return function(){var P=z;z=G;try{return R.apply(this,arguments)}finally{z=P}}}})(vu)),vu}var op;function T0(){return op||(op=1,yu.exports=S0()),yu.exports}var bu={exports:{}},nt={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var sp;function z0(){if(sp)return nt;sp=1;var a=Du();function i(v){var y="https://react.dev/errors/"+v;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)y+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+v+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(v,y,x){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:w==null?null:""+w,children:v,containerInfo:y,implementation:x}}var h=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(v,y){if(v==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return nt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,nt.createPortal=function(v,y){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return f(v,y,null,x)},nt.flushSync=function(v){var y=h.T,x=r.p;try{if(h.T=null,r.p=2,v)return v()}finally{h.T=y,r.p=x,r.d.f()}},nt.preconnect=function(v,y){typeof v=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(v,y))},nt.prefetchDNS=function(v){typeof v=="string"&&r.d.D(v)},nt.preinit=function(v,y){if(typeof v=="string"&&y&&typeof y.as=="string"){var x=y.as,w=m(x,y.crossOrigin),z=typeof y.integrity=="string"?y.integrity:void 0,O=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;x==="style"?r.d.S(v,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:w,integrity:z,fetchPriority:O}):x==="script"&&r.d.X(v,{crossOrigin:w,integrity:z,fetchPriority:O,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},nt.preinitModule=function(v,y){if(typeof v=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var x=m(y.as,y.crossOrigin);r.d.M(v,{crossOrigin:x,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(v)},nt.preload=function(v,y){if(typeof v=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var x=y.as,w=m(x,y.crossOrigin);r.d.L(v,x,{crossOrigin:w,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},nt.preloadModule=function(v,y){if(typeof v=="string")if(y){var x=m(y.as,y.crossOrigin);r.d.m(v,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:x,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(v)},nt.requestFormReset=function(v){r.d.r(v)},nt.unstable_batchedUpdates=function(v,y){return v(y)},nt.useFormState=function(v,y,x){return h.H.useFormState(v,y,x)},nt.useFormStatus=function(){return h.H.useHostTransitionStatus()},nt.version="19.2.8",nt}var rp;function E0(){if(rp)return bu.exports;rp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),bu.exports=z0(),bu.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var up;function A0(){if(up)return ei;up=1;var a=T0(),i=Du(),o=E0();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(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 h(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 m(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(f(e)!==e)throw Error(r(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var n=e,l=t;;){var s=n.return;if(s===null)break;var u=s.alternate;if(u===null){if(l=s.return,l!==null){n=l;continue}break}if(s.child===u.child){for(u=s.child;u;){if(u===n)return v(s),e;if(u===l)return v(s),t;u=u.sibling}throw Error(r(188))}if(n.return!==l.return)n=s,l=u;else{for(var d=!1,p=s.child;p;){if(p===n){d=!0,n=s,l=u;break}if(p===l){d=!0,l=s,n=u;break}p=p.sibling}if(!d){for(p=u.child;p;){if(p===n){d=!0,n=u,l=s;break}if(p===l){d=!0,l=u,n=s;break}p=p.sibling}if(!d)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var w=Object.assign,z=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),W=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),$e=Symbol.for("react.activity"),St=Symbol.for("react.memo_cache_sentinel"),Tt=Symbol.iterator;function tt(e){return e===null||typeof e!="object"?null:(e=Tt&&e[Tt]||e["@@iterator"],typeof e=="function"?e:null)}var Yt=Symbol.for("react.client.reference");function zt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Yt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Z:return"Fragment";case $:return"Profiler";case L:return"StrictMode";case oe:return"Suspense";case I:return"SuspenseList";case $e:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case H:return"Portal";case W:return e.displayName||"Context";case K:return(e._context.displayName||"Context")+".Consumer";case le:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return t=e.displayName||null,t!==null?t:zt(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return zt(e(t))}catch{}}return null}var Ze=Array.isArray,R=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},xe=[],ze=-1;function S(e){return{current:e}}function U(e){0>ze||(e.current=xe[ze],xe[ze]=null,ze--)}function q(e,t){ze++,xe[ze]=e.current,e.current=t}var X=S(null),ne=S(null),se=S(null),ge=S(null);function at(e,t){switch(q(se,t),q(ne,e),q(X,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Th(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Th(t),e=zh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(X),q(X,e)}function De(){U(X),U(ne),U(se)}function ol(e){e.memoizedState!==null&&q(ge,e);var t=X.current,n=zh(t,e.type);t!==n&&(q(ne,e),q(X,n))}function fi(e){ne.current===e&&(U(X),U(ne)),ge.current===e&&(U(ge),Kl._currentValue=P)}var Wo,Pu;function Yn(e){if(Wo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Wo=t&&t[1]||"",Pu=-1<n.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+Wo+e+Pu}var Fo=!1;function Io(e,t){if(!e||Fo)return"";Fo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(j){var k=j}Reflect.construct(e,[],D)}else{try{D.call()}catch(j){k=j}e.call(D.prototype)}}else{try{throw Error()}catch(j){k=j}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}
vendor: 9,911 bytes, lines 43-48
43catch(j){if(j&&k&&typeof j.stack=="string")return[j.stack,k.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=l.DetermineComponentFrameRoot(),d=u[0],p=u[1];if(d&&p){var b=d.split(`
44`),A=p.split(`
45`);for(s=l=0;l<b.length&&!b[l].includes("DetermineComponentFrameRoot");)l++;for(;s<A.length&&!A[s].includes("DetermineComponentFrameRoot");)s++;if(l===b.length||s===A.length)for(l=b.length-1,s=A.length-1;1<=l&&0<=s&&b[l]!==A[s];)s--;for(;1<=l&&0<=s;l--,s--)if(b[l]!==A[s]){if(l!==1||s!==1)do if(l--,s--,0>s||b[l]!==A[s]){var C=`
46`+b[l].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),C}while(1<=l&&0<=s);break}}}finally{Fo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Yn(n):""}function Km(e,t){switch(e.tag){case 26:case 27:case 5:return Yn(e.type);case 16:return Yn("Lazy");case 13:return e.child!==t&&t!==null?Yn("Suspense Fallback"):Yn("Suspense");case 19:return Yn("SuspenseList");case 0:case 15:return Io(e.type,!1);case 11:return Io(e.type.render,!1);case 1:return Io(e.type,!0);case 31:return Yn("Activity");default:return""}}function ec(e){try{var t="",n=null;do t+=Km(e,n),n=e,e=e.return;while(e);return t}catch(l){return`
47Error generating stack: `+l.message+`
48`+l.stack}}var Po=Object.prototype.hasOwnProperty,es=a.unstable_scheduleCallback,ts=a.unstable_cancelCallback,Wm=a.unstable_shouldYield,Fm=a.unstable_requestPaint,ht=a.unstable_now,Im=a.unstable_getCurrentPriorityLevel,tc=a.unstable_ImmediatePriority,nc=a.unstable_UserBlockingPriority,di=a.unstable_NormalPriority,Pm=a.unstable_LowPriority,ac=a.unstable_IdlePriority,eg=a.log,tg=a.unstable_setDisableYieldValue,sl=null,pt=null;function gn(e){if(typeof eg=="function"&&tg(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(sl,e)}catch{}}var mt=Math.clz32?Math.clz32:lg,ng=Math.log,ag=Math.LN2;function lg(e){return e>>>=0,e===0?32:31-(ng(e)/ag|0)|0}var hi=256,pi=262144,mi=4194304;function Vn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function gi(e,t,n){var l=e.pendingLanes;if(l===0)return 0;var s=0,u=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var p=l&134217727;return p!==0?(l=p&~u,l!==0?s=Vn(l):(d&=p,d!==0?s=Vn(d):n||(n=p&~e,n!==0&&(s=Vn(n))))):(p=l&~u,p!==0?s=Vn(p):d!==0?s=Vn(d):n||(n=l&~e,n!==0&&(s=Vn(n)))),s===0?0:t!==0&&t!==s&&(t&u)===0&&(u=s&-s,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:s}function rl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ig(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function lc(){var e=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),e}function ns(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ul(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function og(e,t,n,l,s,u){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var p=e.entanglements,b=e.expirationTimes,A=e.hiddenUpdates;for(n=d&~n;0<n;){var C=31-mt(n),D=1<<C;p[C]=0,b[C]=-1;var k=A[C];if(k!==null)for(A[C]=null,C=0;C<k.length;C++){var j=k[C];j!==null&&(j.lane&=-536870913)}n&=~D}l!==0&&ic(e,l,0),u!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function ic(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-mt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|n&261930}function oc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var l=31-mt(n),s=1<<l;s&t|e[l]&t&&(e[l]|=t),n&=~s}}function sc(e,t){var n=t&-t;return n=(n&42)!==0?1:as(n),(n&(e.suspendedLanes|t))!==0?0:n}function as(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ls(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function rc(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:Jh(e.type))}function uc(e,t){var n=G.p;try{return G.p=e,t()}finally{G.p=n}}var yn=Math.random().toString(36).slice(2),Ke="__reactFiber$"+yn,ot="__reactProps$"+yn,ma="__reactContainer$"+yn,is="__reactEvents$"+yn,sg="__reactListeners$"+yn,rg="__reactHandles$"+yn,cc="__reactResources$"+yn,cl="__reactMarker$"+yn;function os(e){delete e[Ke],delete e[ot],delete e[is],delete e[sg],delete e[rg]}function ga(e){var t=e[Ke];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[Ke]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ch(e);e!==null;){if(n=e[Ke])return n;e=Ch(e)}return t}e=n,n=e.parentNode}return null}function ya(e){if(e=e[Ke]||e[ma]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function fl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function va(e){var t=e[cc];return t||(t=e[cc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Qe(e){e[cl]=!0}var fc=new Set,dc={};function Xn(e,t){ba(e,t),ba(e+"Capture",t)}function ba(e,t){for(dc[e]=t,e=0;e<t.length;e++)fc.add(t[e])}var ug=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),hc={},pc={};function cg(e){return Po.call(pc,e)?!0:Po.call(hc,e)?!1:ug.test(e)?pc[e]=!0:(hc[e]=!0,!1)}function yi(e,t,n){if(cg(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function vi(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Wt(e,t,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+l)}}function Et(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fg(e,t,n){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,u=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(d){n=""+d,u.call(this,d)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ss(e){if(!e._valueTracker){var t=mc(e)?"checked":"value";e._valueTracker=fg(e,t,""+e[t])}}function gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),l="";return e&&(l=mc(e)?e.checked?"true":"false":e.value),e=l,e!==n?(t.setValue(e),!0):!1}function bi(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}}var dg=/[\n"\\]/g;function At(e){return e.replace(dg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function rs(e,t,n,l,s,u,d,p){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Et(t)):e.value!==""+Et(t)&&(e.value=""+Et(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?us(e,d,Et(t)):n!=null?us(e,d,Et(n)):l!=null&&e.removeAttribute("value"),s==null&&u!=null&&(e.defaultChecked=!!u),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.name=""+Et(p):e.removeAttribute("name")}function yc(e,t,n,l,s,u,d,p){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){ss(e);return}n=n!=null?""+Et(n):"",t=t!=null?""+Et(t):n,p||t===e.value||(e.value=t),e.defaultValue=t}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=p?e.checked:!!l,e.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),ss(e)}
vendor: 5,070 bytes, line 48
48function us(e,t,n){t==="number"&&bi(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function xa(e,t,n,l){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&l&&(e[n].defaultSelected=!0)}else{for(n=""+Et(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function vc(e,t,n){if(t!=null&&(t=""+Et(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Et(n):""}function bc(e,t,n,l){if(t==null){if(l!=null){if(n!=null)throw Error(r(92));if(Ze(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),t=n}n=Et(t),e.defaultValue=n,l=e.textContent,l===n&&l!==""&&l!==null&&(e.value=l),ss(e)}function wa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var hg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xc(e,t,n){var l=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,n):typeof n!="number"||n===0||hg.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function wc(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var s in t)l=t[s],t.hasOwnProperty(s)&&n[s]!==l&&xc(e,s,l)}else for(var u in t)t.hasOwnProperty(u)&&xc(e,u,t[u])}function cs(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
48-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),mg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xi(e){return mg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ft(){}var fs=null;function ds(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _a=null,Sa=null;function _c(e){var t=ya(e);if(t&&(e=t.stateNode)){var n=e[ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(rs(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+At(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var s=l[ot]||null;if(!s)throw Error(r(90));rs(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)l=n[t],l.form===e.form&&gc(l)}break e;case"textarea":vc(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&xa(e,!!n.multiple,t,!1)}}}var hs=!1;function Sc(e,t,n){if(hs)return e(t,n);hs=!0;try{var l=e(t);return l}finally{if(hs=!1,(_a!==null||Sa!==null)&&(so(),_a&&(t=_a,e=Sa,Sa=_a=null,_c(t),e)))for(t=0;t<e.length;t++)_c(e[t])}}function dl(e,t){var n=e.stateNode;if(n===null)return null;var l=n[ot]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(r(231,t,typeof n));return n}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ps=!1;if(It)try{var hl={};Object.defineProperty(hl,"passive",{get:function(){ps=!0}}),window.addEventListener("test",hl,hl),window.removeEventListener("test",hl,hl)}catch{ps=!1}var vn=null,ms=null,wi=null;function Tc(){if(wi)return wi;var e,t=ms,n=t.length,l,s="value"in vn?vn.value:vn.textContent,u=s.length;for(e=0;e<n&&t[e]===s[e];e++);var d=n-e;for(l=1;l<=d&&t[n-l]===s[u-l];l++);return wi=s.slice(e,1<l?1-l:void 0)}function _i(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 Si(){return!0}function zc(){return!1}function st(e){function t(n,l,s,u,d){this._reactName=n,this._targetInst=s,this.type=l,this.nativeEvent=u,this.target=d,this.currentTarget=null;for(var p in e)e.hasOwnProperty(p)&&(n=e[p],this[p]=n?n(u):u[p]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Si:zc,this.isPropagationStopped=zc,this}return w(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=Si)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var Qn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ti=st(Qn),pl=w({},Qn,{view:0,detail:0}),gg=st(pl),gs,ys,ml,zi=w({},pl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bs,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!==ml&&(ml&&e.type==="mousemove"?(gs=e.screenX-ml.screenX,ys=e.screenY-ml.screenY):ys=gs=0,ml=e),gs)},movementY:function(e){return"movementY"in e?e.movementY:ys}}),Ec=st(zi),yg=w({},zi,{dataTransfer:0}),vg=st(yg),bg=w({},pl,{relatedTarget:0}),vs=st(bg),xg=w({},Qn,{animationName:0,elapsedTime:0,pseudoElement:0}),wg=st(xg),_g=w({},Qn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sg=st(_g),Tg=w({},Qn,{data:0}),Ac=st(Tg),zg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eg={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"},Ag={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ag[e])?!!t[e]:!1}function bs(){return kg}var Ng=w({},pl,{key:function(e){if(e.key){var t=zg[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 48
48return e.type==="keypress"?(e=_i(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Eg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bs,charCode:function(e){return e.type==="keypress"?_i(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_i(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jg=st(Ng),Og=w({},zi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kc=st(Og),Cg=w({},pl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bs}),Rg=st(Cg),Mg=w({},Qn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dg=st(Mg),Ug=w({},zi,{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}),Bg=st(Ug),Zg=w({},Qn,{newState:0,oldState:0}),Hg=st(Zg),Lg=[9,13,27,32],xs=It&&"CompositionEvent"in window,gl=null;It&&"documentMode"in document&&(gl=document.documentMode);var Gg=It&&"TextEvent"in window&&!gl,Nc=It&&(!xs||gl&&8<gl&&11>=gl),jc=" ",Oc=!1;function Cc(e,t){switch(e){case"keyup":return Lg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ta=!1;function qg(e,t){switch(e){case"compositionend":return Rc(t);case"keypress":return t.which!==32?null:(Oc=!0,jc);case"textInput":return e=t.data,e===jc&&Oc?null:e;default:return null}}function $g(e,t){if(Ta)return e==="compositionend"||!xs&&Cc(e,t)?(e=Tc(),wi=ms=vn=null,Ta=!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 Nc&&t.locale!=="ko"?null:t.data;default:return null}}var Yg={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 Mc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Yg[e.type]:t==="textarea"}function Dc(e,t,n,l){_a?Sa?Sa.push(l):Sa=[l]:_a=l,t=mo(t,"onChange"),0<t.length&&(n=new Ti("onChange","change",null,n,l),e.push({event:n,listeners:t}))}var yl=null,vl=null;function Vg(e){vh(e,0)}function Ei(e){var t=fl(e);if(gc(t))return e}function Uc(e,t){if(e==="change")return t}var Bc=!1;if(It){var ws;if(It){var _s="oninput"in document;if(!_s){var Zc=document.createElement("div");Zc.setAttribute("oninput","return;"),_s=typeof Zc.oninput=="function"}ws=_s}else ws=!1;Bc=ws&&(!document.documentMode||9<document.documentMode)}function Hc(){yl&&(yl.detachEvent("onpropertychange",Lc),vl=yl=null)}function Lc(e){if(e.propertyName==="value"&&Ei(vl)){var t=[];Dc(t,vl,e,ds(e)),Sc(Vg,t)}}function Xg(e,t,n){e==="focusin"?(Hc(),yl=t,vl=n,yl.attachEvent("onpropertychange",Lc)):e==="focusout"&&Hc()}function Qg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ei(vl)}function Jg(e,t){if(e==="click")return Ei(t)}function Kg(e,t){if(e==="input"||e==="change")return Ei(t)}function Wg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:Wg;function bl(e,t){if(gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var s=n[l];if(!Po.call(t,s)||!gt(e[s],t[s]))return!1}return!0}function Gc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qc(e,t){var n=Gc(e);e=0;for(var l;n;){if(n.nodeType===3){if(l=e+n.textContent.length,e<=t&&l>=t)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Gc(n)}}function $c(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$c(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=bi(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bi(e.document)}return t}function Ss(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Fg=It&&"documentMode"in document&&11>=document.documentMode,za=null,Ts=null,xl=null,zs=!1;function Vc(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zs||za==null||za!==bi(l)||(l=za,"selectionStart"in l&&Ss(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 18,289 bytes, line 48
48sNode:l.focusNode,focusOffset:l.focusOffset}),xl&&bl(xl,l)||(xl=l,l=mo(Ts,"onSelect"),0<l.length&&(t=new Ti("onSelect","select",null,t,n),e.push({event:t,listeners:l}),t.target=za)))}function Jn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ea={animationend:Jn("Animation","AnimationEnd"),animationiteration:Jn("Animation","AnimationIteration"),animationstart:Jn("Animation","AnimationStart"),transitionrun:Jn("Transition","TransitionRun"),transitionstart:Jn("Transition","TransitionStart"),transitioncancel:Jn("Transition","TransitionCancel"),transitionend:Jn("Transition","TransitionEnd")},Es={},Xc={};It&&(Xc=document.createElement("div").style,"AnimationEvent"in window||(delete Ea.animationend.animation,delete Ea.animationiteration.animation,delete Ea.animationstart.animation),"TransitionEvent"in window||delete Ea.transitionend.transition);function Kn(e){if(Es[e])return Es[e];if(!Ea[e])return e;var t=Ea[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xc)return Es[e]=t[n];return e}var Qc=Kn("animationend"),Jc=Kn("animationiteration"),Kc=Kn("animationstart"),Ig=Kn("transitionrun"),Pg=Kn("transitionstart"),ey=Kn("transitioncancel"),Wc=Kn("transitionend"),Fc=new Map,As="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");As.push("scrollEnd");function Ht(e,t){Fc.set(e,t),Xn(t,[e])}var Ai=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},kt=[],Aa=0,ks=0;function ki(){for(var e=Aa,t=ks=Aa=0;t<e;){var n=kt[t];kt[t++]=null;var l=kt[t];kt[t++]=null;var s=kt[t];kt[t++]=null;var u=kt[t];if(kt[t++]=null,l!==null&&s!==null){var d=l.pending;d===null?s.next=s:(s.next=d.next,d.next=s),l.pending=s}u!==0&&Ic(n,s,u)}}function Ni(e,t,n,l){kt[Aa++]=e,kt[Aa++]=t,kt[Aa++]=n,kt[Aa++]=l,ks|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Ns(e,t,n,l){return Ni(e,t,n,l),ji(e)}function Wn(e,t){return Ni(e,null,null,t),ji(e)}function Ic(e,t,n){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n);for(var s=!1,u=e.return;u!==null;)u.childLanes|=n,l=u.alternate,l!==null&&(l.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(s=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,s&&t!==null&&(s=31-mt(n),e=u.hiddenUpdates,l=e[s],l===null?e[s]=[t]:l.push(t),t.lane=n|536870912),u):null}function ji(e){if(50<ql)throw ql=0,Zr=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ka={};function ty(e,t,n,l){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yt(e,t,n,l){return new ty(e,t,n,l)}function js(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pt(e,t){var n=e.alternate;return n===null?(n=yt(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&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Pc(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Oi(e,t,n,l,s,u){var d=0;if(l=e,typeof e=="function")js(e)&&(d=1);else if(typeof e=="string")d=o0(e,n,X.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case $e:return e=yt(31,n,t,s),e.elementType=$e,e.lanes=u,e;case Z:return Fn(n.children,s,u,t);case L:d=8,s|=24;break;case $:return e=yt(12,n,t,s|2),e.elementType=$,e.lanes=u,e;case oe:return e=yt(13,n,t,s),e.elementType=oe,e.lanes=u,e;case I:return e=yt(19,n,t,s),e.elementType=I,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W:d=10;break e;case K:d=9;break e;case le:d=11;break e;case V:d=14;break e;case be:d=16,l=null;break e}d=29,n=Error(r(130,e===null?"null":typeof e,"")),l=null}return t=yt(d,n,t,s),t.elementType=e,t.type=l,t.lanes=u,t}function Fn(e,t,n,l){return e=yt(7,e,l,t),e.lanes=n,e}function Os(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function ef(e){var t=yt(18,null,null,0);return t.stateNode=e,t}function Cs(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var tf=new WeakMap;function Nt(e,t){if(typeof e=="object"&&e!==null){var n=tf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:ec(t)},tf.set(e,t),t)}return{value:e,source:t,stack:ec(t)}}var Na=[],ja=0,Ci=null,wl=0,jt=[],Ot=0,bn=null,Vt=1,Xt="";function en(e,t){Na[ja++]=wl,Na[ja++]=Ci,Ci=e,wl=t}function nf(e,t,n){jt[Ot++]=Vt,jt[Ot++]=Xt,jt[Ot++]=bn,bn=e;var l=Vt;e=Xt;var s=32-mt(l)-1;l&=~(1<<s),n+=1;var u=32-mt(t)+s;if(30<u){var d=s-s%5;u=(l&(1<<d)-1).toString(32),l>>=d,s-=d,Vt=1<<32-mt(t)+s|n<<s|l,Xt=u+e}else Vt=1<<u|n<<s|l,Xt=e}function Rs(e){e.return!==null&&(en(e,1),nf(e,1,0))}function Ms(e){for(;e===Ci;)Ci=Na[--ja],Na[ja]=null,wl=Na[--ja],Na[ja]=null;for(;e===bn;)bn=jt[--Ot],jt[Ot]=null,Xt=jt[--Ot],jt[Ot]=null,Vt=jt[--Ot],jt[Ot]=null}function af(e,t){jt[Ot++]=Vt,jt[Ot++]=Xt,jt[Ot++]=bn,Vt=t.id,Xt=t.overflow,bn=e}var We=null,Ae=null,de=!1,xn=null,Ct=!1,Ds=Error(r(519));function wn(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _l(Nt(t,e)),Ds}function lf(e){var t=e.stateNode,n=e.type,l=e.memoizedProps;switch(t[Ke]=e,t[ot]=l,n){case"dialog":ue("cancel",t),ue("close",t);break;case"iframe":case"object":case"embed":ue("load",t);break;case"video":case"audio":for(n=0;n<Yl.length;n++)ue(Yl[n],t);break;case"source":ue("error",t);break;case"img":case"image":case"link":ue("error",t),ue("load",t);break;case"details":ue("toggle",t);break;case"input":ue("invalid",t),yc(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ue("invalid",t);break;case"textarea":ue("invalid",t),bc(t,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||l.suppressHydrationWarning===!0||_h(t.textContent,n)?(l.popover!=null&&(ue("beforetoggle",t),ue("toggle",t)),l.onScroll!=null&&ue("scroll",t),l.onScrollEnd!=null&&ue("scrollend",t),l.onClick!=null&&(t.onclick=Ft),t=!0):t=!1,t||wn(e,!0)}function of(e){for(We=e.return;We;)switch(We.tag){case 5:case 31:case 13:Ct=!1;return;case 27:case 3:Ct=!0;return;default:We=We.return}}function Oa(e){if(e!==We)return!1;if(!de)return of(e),de=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Pr(e.type,e.memoizedProps)),n=!n),n&&Ae&&wn(e),of(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ae=Oh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ae=Oh(e)}else t===27?(t=Ae,Dn(e.type)?(e=lu,lu=null,Ae=e):Ae=t):Ae=We?Mt(e.stateNode.nextSibling):null;return!0}function In(){Ae=We=null,de=!1}function Us(){var e=xn;return e!==null&&(ft===null?ft=e:ft.push.apply(ft,e),xn=null),e}function _l(e){xn===null?xn=[e]:xn.push(e)}var Bs=S(null),Pn=null,tn=null;function _n(e,t,n){q(Bs,t._currentValue),t._currentValue=n}function nn(e){e._currentValue=Bs.current,U(Bs)}function Zs(e,t,n){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===n)break;e=e.return}}function Hs(e,t,n,l){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var u=s.dependencies;if(u!==null){var d=s.child;u=u.firstContext;e:for(;u!==null;){var p=u;u=s;for(var b=0;b<t.length;b++)if(p.context===t[b]){u.lanes|=n,p=u.alternate,p!==null&&(p.lanes|=n),Zs(u.return,n,e),l||(d=null);break e}u=p.next}}else if(s.tag===18){if(d=s.return,d===null)throw Error(r(341));d.lanes|=n,u=d.alternate,u!==null&&(u.lanes|=n),Zs(d,n,e),d=null}else d=s.child;if(d!==null)d.return=s;else for(d=s;d!==null;){if(d===e){d=null;break}if(s=d.sibling,s!==null){s.return=d.return,d=s;break}d=d.return}s=d}}function Ca(e,t,n,l){e=null;for(var s=t,u=!1;s!==null;){if(!u){if((s.flags&524288)!==0)u=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var d=s.alternate;if(d===null)throw Error(r(387));if(d=d.memoizedProps,d!==null){var p=s.type;gt(s.pendingProps.value,d.value)||(e!==null?e.push(p):e=[p])}}else if(s===ge.current){if(d=s.alternate,d===null)throw Error(r(387));d.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Kl):e=[Kl])}s=s.return}e!==null&&Hs(t,e,n,l),t.flags|=262144}function Ri(e){for(e=e.firstContext;e!==null;){if(!gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ea(e){Pn=e,tn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Fe(e){return sf(Pn,e)}function Mi(e,t){return Pn===null&&ea(e),sf(e,t)}function sf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},tn===null){if(e===null)throw Error(r(308));tn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else tn=tn.next=t;return n}var ny=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ay=a.unstable_scheduleCallback,ly=a.unstable_NormalPriority,He={$$typeof:W,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ls(){return{controller:new ny,data:new Map,refCount:0}}function Sl(e){e.refCount--,e.refCount===0&&ay(ly,function(){e.controller.abort()})}var Tl=null,Gs=0,Ra=0,Ma=null;function iy(e,t){if(Tl===null){var n=Tl=[];Gs=0,Ra=Yr(),Ma={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Gs++,t.then(rf,rf),t}function rf(){if(--Gs===0&&Tl!==null){Ma!==null&&(Ma.status="fulfilled");var e=Tl;Tl=null,Ra=0,Ma=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function oy(e,t){var n=[],l={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(l.status="rejected",l.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),l}var uf=R.S;R.S=function(e,t){Xd=ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&iy(e,t),uf!==null&&uf(e,t)};var ta=S(null);function qs(){var e=ta.current;return e!==null?e:Ee.pooledCache}function Di(e,t){t===null?q(ta,ta.current):q(ta,t.pool)}function cf(){var e=qs();return e===null?null:{parent:He._currentValue,pool:e}}var Da=Error(r(460)),$s=Error(r(474)),Ui=Error(r(542)),Bi={then:function(){}};function ff(e){return e=e.status,e==="fulfilled"||e==="rejected"}function df(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Ft,Ft),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pf(e),e;default:if(typeof t.status=="string")t.then(Ft,Ft);else{if(e=Ee,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=l}},function(l){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,pf(e),e}throw aa=t,Da}}function na(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(aa=n,Da):n}}var aa=null;function hf(){if(aa===null)throw Error(r(459));var e=aa;return aa=null,e}function pf(e){if(e===Da||e===Ui)throw Error(r(483))}var Ua=null,zl=0;function Zi(e){var t=zl;return zl+=1,Ua===null&&(Ua=[]),df(Ua,e,t)}function El(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Hi(e,t){throw t.$$typeof===z?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function mf(e){function t(T,_){if(e){var E=T.deletions;E===null?(T.deletions=[_],T.flags|=16):E.push(_)}}function n(T,_){if(!e)return null;for(;_!==null;)t(T,_),_=_.sibling;return null}function l(T){for(var _=new Map;T!==null;)T.key!==null?_.set(T.key,T):_.set(T.index,T),T=T.sibling;return _}function s(T,_){return T=Pt(T,_),T.index=0,T.sibling=null,T}function u(T,_,E){return T.index=E,e?(E=T.alternate,E!==null?(E=E.index,E<_?(T.flags|=67108866,_):E):(T.flags|=67108866,_)):(T.flags|=1048576,_)}function d(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function p(T,_,E,M){return _===null||_.tag!==6?(_=Os(E,T.mode,M),_.return=T,_):(_=s(_,E),_.return=T,_)}function b(T,_,E,M){var J=E.type;return J===Z?C(T,_,E.props.children,M,E.key):_!==null&&(_.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===be&&na(J)===_.type)?(_=s(_,E.props),El(_,E),_.return=T,_):(_=Oi(E.type,E.key,E.props,null,T.mode,M),El(_,E),_.return=T,_)}function A(T,_,E,M){return _===null||_.tag!==4||_.stateNode.containerInfo!==E.containerInfo||_.stateNode.implementation!==E.implementation?(_=Cs(E,T.mode,M),_.return=T,_):(_=s(_,E.children||[]),_.return=T,_)}function C(T,_,E,M,J){return _===null||_.tag!==7?(_=Fn(E,T.mode,M,J),_.return=T,_):(_=s(_,E),_.return=T,_)}function D(T,_,E){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Os(""+_,T.mode,E),_.return=T,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case O:return E=Oi(_.type,_.key,_.props,null,T.mode,E),El(E,_),E.return=T,E;case H:return _=Cs(_,T.mode,E),_.return=T,_;case be:return _=na(_),D(T,_,E)}if(Ze(_)||tt(_))return _=Fn(_,T.mode,E,null),_.return=T,_;if(typeof _.then=="function")return D(T,Zi(_),E);if(_.$$typeof===W)return D(T,Mi(T,_),E);Hi(T,_)}return null}function k(T,_,E,M){var J=_!==null?_.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return J!==null?null:p(T,_,""+E,M);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case O:return E.key===J?b(T,_,E,M):null;case H:return E.key===J?A(T,_,E,M):null;case be:return E=na(E),k(T,_,E,M)}if(Ze(E)||tt(E))return J!==null?null:C(T,_,E,M,null);if(typeof E.then=="function")return k(T,_,Zi(E),M);if(E.$$typeof===W)return k(T,_,Mi(T,E),M);Hi(T,E)}return null}function j(T,_,E,M,J){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return T=T.get(E)||null,p(_,T,""+M,J);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case O:return T=T.get(M.key===null?E:M.key)||null,b(_,T,M,J);case H:return T=T.get(M.key===null?E:M.key)||null,A(_,T,M,J);case be:return M=na(M),j(T,_,E,M,J)}if(Ze(M)||tt(M))return T=T.get(E)||null,C(_,T,M,J,null);if(typeof M.then=="function")return j(T,_,E,Zi(M),J);if(M.$$typeof===W)return j(T,_,E,Mi(_,M),J);Hi(_,M)}return null}function Y(T,_,E,M){for(var J=null,he=null,Q=_,ie=_=0,fe=null;Q!==null&&ie<E.length;ie++){Q.index>ie?(fe=Q,Q=null):fe=Q.sibling;var pe=k(T,Q,E[ie],M);if(pe===null){Q===null&&(Q=fe);break}e&&Q&&pe.alternate===null&&t(T,Q),_=u(pe,_,ie),he===null?J=pe:he.sibling=pe,he=pe,Q=fe}if(ie===E.length)return n(T,Q),de&&en(T,ie),J;if(Q===null){for(;ie<E.length;ie++)Q=D(T,E[ie],M),Q!==null&&(_=u(Q,_,ie),he===null?J=Q:he.sibling=Q,he=Q);return de&&en(T,ie),J}for(Q=l(Q);ie<E.length;ie++)fe=j(Q,T,ie,E[ie],M),fe!==null&&(e&&fe.alternate!==null&&Q.delete(fe.key===null?ie:fe.key),_=u(fe,_,ie),he===null?J=fe:he.sibling=fe,he=fe);return e&&Q.forEach(function(Ln){return t(T,Ln)}),de&&en(T,ie),J}function F(T,_,E,M){if(E==null)throw Error(r(151));for(var J=null,he=null,Q=_,ie=_=0,fe=null,pe=E.next();Q!==null&&!pe.done;ie++,pe=E.next()){Q.index>ie?(fe=Q,Q=null):fe=Q.sibling;var Ln=k(T,Q,pe.value,M);if(Ln===null){Q===null&&(Q=fe);break}e&&Q&&Ln.alternate===null&&t(T,Q),_=u(Ln,_,ie),he===null?J=Ln:he.sibling=Ln,he=Ln,Q=fe}if(pe.done)return n(T,Q),de&&en(T,ie),J;if(Q===null){for(;!pe.done;ie++,pe=E.next())pe=D(T,pe.value,M),pe!==null&&(_=u(pe,_,ie),he===null?J=pe:he.sibling=pe,he=pe);return de&&en(T,ie),J}for(Q=l(Q);!pe.done;ie++,pe=E.next())pe=j(Q,T,ie,pe.value,M),pe!==null&&(e&&pe.alternate!==null&&Q.delete(pe.key===null?ie:pe.key),_=u(pe,_,ie),he===null?J=pe:he.sibling=pe,he=pe);return e&&Q.forEach(function(y0){return t(T,y0)}),de&&en(T,ie),J}function Se(T,_,E,M){if(typeof E=="object"&&E!==null&&E.type===Z&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case O:e:{for(var J=E.key;_!==null;){if(_.key===J){if(J=E.type,J===Z){if(_.tag===7){n(T,_.sibling),M=s(_,E.props.children),M.return=T,T=M;break e}}else if(_.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===be&&na(J)===_.type){n(T,_.sibling),M=s(_,E.props),El(M,E),M.return=T,T=M;break e}n(T,_);break}else t(T,_);_=_.sibling}E.type===Z?(M=Fn(E.props.children,T.mode,M,E.key),M.return=T,T=M):(M=Oi(E.t
vendor: 5,502 bytes, line 48
48ype,E.key,E.props,null,T.mode,M),El(M,E),M.return=T,T=M)}return d(T);case H:e:{for(J=E.key;_!==null;){if(_.key===J)if(_.tag===4&&_.stateNode.containerInfo===E.containerInfo&&_.stateNode.implementation===E.implementation){n(T,_.sibling),M=s(_,E.children||[]),M.return=T,T=M;break e}else{n(T,_);break}else t(T,_);_=_.sibling}M=Cs(E,T.mode,M),M.return=T,T=M}return d(T);case be:return E=na(E),Se(T,_,E,M)}if(Ze(E))return Y(T,_,E,M);if(tt(E)){if(J=tt(E),typeof J!="function")throw Error(r(150));return E=J.call(E),F(T,_,E,M)}if(typeof E.then=="function")return Se(T,_,Zi(E),M);if(E.$$typeof===W)return Se(T,_,Mi(T,E),M);Hi(T,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,_!==null&&_.tag===6?(n(T,_.sibling),M=s(_,E),M.return=T,T=M):(n(T,_),M=Os(E,T.mode,M),M.return=T,T=M),d(T)):n(T,_)}return function(T,_,E,M){try{zl=0;var J=Se(T,_,E,M);return Ua=null,J}catch(Q){if(Q===Da||Q===Ui)throw Q;var he=yt(29,Q,null,T.mode);return he.lanes=M,he.return=T,he}finally{}}}var la=mf(!0),gf=mf(!1),Sn=!1;function Ys(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Tn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function zn(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(me&2)!==0){var s=l.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),l.pending=t,t=ji(e),Ic(e,null,n),t}return Ni(e,l,t,n),ji(e)}function Al(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,oc(e,n)}}function Xs(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var s=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?s=u=d:u=u.next=d,n=n.next}while(n!==null);u===null?s=u=t:u=u.next=t}else s=u=t;n={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Qs=!1;function kl(){if(Qs){var e=Ma;if(e!==null)throw e}}function Nl(e,t,n,l){Qs=!1;var s=e.updateQueue;Sn=!1;var u=s.firstBaseUpdate,d=s.lastBaseUpdate,p=s.shared.pending;if(p!==null){s.shared.pending=null;var b=p,A=b.next;b.next=null,d===null?u=A:d.next=A,d=b;var C=e.alternate;C!==null&&(C=C.updateQueue,p=C.lastBaseUpdate,p!==d&&(p===null?C.firstBaseUpdate=A:p.next=A,C.lastBaseUpdate=b))}if(u!==null){var D=s.baseState;d=0,C=A=b=null,p=u;do{var k=p.lane&-536870913,j=k!==p.lane;if(j?(ce&k)===k:(l&k)===k){k!==0&&k===Ra&&(Qs=!0),C!==null&&(C=C.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{var Y=e,F=p;k=t;var Se=n;switch(F.tag){case 1:if(Y=F.payload,typeof Y=="function"){D=Y.call(Se,D,k);break e}D=Y;break e;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=F.payload,k=typeof Y=="function"?Y.call(Se,D,k):Y,k==null)break e;D=w({},D,k);break e;case 2:Sn=!0}}k=p.callback,k!==null&&(e.flags|=64,j&&(e.flags|=8192),j=s.callbacks,j===null?s.callbacks=[k]:j.push(k))}else j={lane:k,tag:p.tag,payload:p.payload,callback:p.callback,next:null},C===null?(A=C=j,b=D):C=C.next=j,d|=k;if(p=p.next,p===null){if(p=s.shared.pending,p===null)break;j=p,p=j.next,j.next=null,s.lastBaseUpdate=j,s.shared.pending=null}}while(!0);C===null&&(b=D),s.baseState=b,s.firstBaseUpdate=A,s.lastBaseUpdate=C,u===null&&(s.shared.lanes=0),jn|=d,e.lanes=d,e.memoizedState=D}}function yf(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function vf(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)yf(n[e],t)}var Ba=S(null),Li=S(0);function bf(e,t){e=dn,q(Li,e),q(Ba,t),dn=e|t.baseLanes}function Js(){q(Li,dn),q(Ba,Ba.current)}function Ks(){dn=Li.current,U(Ba),U(Li)}var vt=S(null),Rt=null;function En(e){var t=e.alternate;q(Ue,Ue.current&1),q(vt,e),Rt===null&&(t===null||Ba.current!==null||t.memoizedState!==null)&&(Rt=e)}function Ws(e){q(Ue,Ue.current),q(vt,e),Rt===null&&(Rt=e)}function xf(e){e.tag===22?(q(Ue,Ue.current),q(vt,e),Rt===null&&(Rt=e)):An()}function An(){q(Ue,Ue.current),q(vt,vt.current)}function bt(e){U(vt),Rt===e&&(Rt=null),U(Ue)}var Ue=S(0);function Gi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||nu(n)||au(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 an=0,ae=null,we=null,Le=null,qi=!1,Za=!1,ia=!1,$i=0,jl=0,Ha=null,sy=0;function Re(){throw Error(r(321))}function Fs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!gt(e[n],t[n]))return!1;return!0}function Is(e,t,n,l,s,u){return an=u,ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?ad:hr,ia=!1,u=n(l,s),ia=!1,Za&&(u=_f(t,n,l,s)),wf(e),u}function wf(e){R.H=Rl;var t=we!==null&&we.next!==null;if(an=0,Le=we=ae=null,qi=!1,jl=0,Ha=null,t)throw Error(r(300));
vendor: 16,290 bytes, line 48
48e===null||Ge||(e=e.dependencies,e!==null&&Ri(e)&&(Ge=!0))}function _f(e,t,n,l){ae=e;var s=0;do{if(Za&&(Ha=null),jl=0,Za=!1,25<=s)throw Error(r(301));if(s+=1,Le=we=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}R.H=ld,u=t(n,l)}while(Za);return u}function ry(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Ol(t):t,e=e.useState()[0],(we!==null?we.memoizedState:null)!==e&&(ae.flags|=1024),t}function Ps(){var e=$i!==0;return $i=0,e}function er(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function tr(e){if(qi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qi=!1}an=0,Le=we=ae=null,Za=!1,jl=$i=0,Ha=null}function lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?ae.memoizedState=Le=e:Le=Le.next=e,Le}function Be(){if(we===null){var e=ae.alternate;e=e!==null?e.memoizedState:null}else e=we.next;var t=Le===null?ae.memoizedState:Le.next;if(t!==null)Le=t,we=e;else{if(e===null)throw ae.alternate===null?Error(r(467)):Error(r(310));we=e,e={memoizedState:we.memoizedState,baseState:we.baseState,baseQueue:we.baseQueue,queue:we.queue,next:null},Le===null?ae.memoizedState=Le=e:Le=Le.next=e}return Le}function Yi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ol(e){var t=jl;return jl+=1,Ha===null&&(Ha=[]),e=df(Ha,e,t),t=ae,(Le===null?t.memoizedState:Le.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?ad:hr),e}function Vi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ol(e);if(e.$$typeof===W)return Fe(e)}throw Error(r(438,String(e)))}function nr(e){var t=null,n=ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var l=ae.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Yi(),ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),l=0;l<e;l++)n[l]=St;return t.index++,n}function ln(e,t){return typeof t=="function"?t(e):t}function Xi(e){var t=Be();return ar(t,we,e)}function ar(e,t,n){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var s=e.baseQueue,u=l.pending;if(u!==null){if(s!==null){var d=s.next;s.next=u.next,u.next=d}t.baseQueue=s=u,l.pending=null}if(u=e.baseState,s===null)e.memoizedState=u;else{t=s.next;var p=d=null,b=null,A=t,C=!1;do{var D=A.lane&-536870913;if(D!==A.lane?(ce&D)===D:(an&D)===D){var k=A.revertLane;if(k===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),D===Ra&&(C=!0);else if((an&k)===k){A=A.next,k===Ra&&(C=!0);continue}else D={lane:0,revertLane:A.revertLane,gesture:null,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},b===null?(p=b=D,d=u):b=b.next=D,ae.lanes|=k,jn|=k;D=A.action,ia&&n(u,D),u=A.hasEagerState?A.eagerState:n(u,D)}else k={lane:D,revertLane:A.revertLane,gesture:A.gesture,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},b===null?(p=b=k,d=u):b=b.next=k,ae.lanes|=D,jn|=D;A=A.next}while(A!==null&&A!==t);if(b===null?d=u:b.next=p,!gt(u,e.memoizedState)&&(Ge=!0,C&&(n=Ma,n!==null)))throw n;e.memoizedState=u,e.baseState=d,e.baseQueue=b,l.lastRenderedState=u}return s===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function lr(e){var t=Be(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var l=n.dispatch,s=n.pending,u=t.memoizedState;if(s!==null){n.pending=null;var d=s=s.next;do u=e(u,d.action),d=d.next;while(d!==s);gt(u,t.memoizedState)||(Ge=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,l]}function Sf(e,t,n){var l=ae,s=Be(),u=de;if(u){if(n===void 0)throw Error(r(407));n=n()}else n=t();var d=!gt((we||s).memoizedState,n);if(d&&(s.memoizedState=n,Ge=!0),s=s.queue,sr(Ef.bind(null,l,s,e),[e]),s.getSnapshot!==t||d||Le!==null&&Le.memoizedState.tag&1){if(l.flags|=2048,La(9,{destroy:void 0},zf.bind(null,l,s,n,t),null),Ee===null)throw Error(r(349));u||(an&127)!==0||Tf(l,t,n)}return n}function Tf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ae.updateQueue,t===null?(t=Yi(),ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function zf(e,t,n,l){t.value=n,t.getSnapshot=l,Af(t)&&kf(e)}function Ef(e,t,n){return n(function(){Af(t)&&kf(e)})}function Af(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gt(e,n)}catch{return!0}}function kf(e){var t=Wn(e,2);t!==null&&dt(t,e,2)}function ir(e){var t=lt();if(typeof e=="function"){var n=e;if(e=n(),ia){gn(!0);try{n()}finally{gn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:e},t}function Nf(e,t,n,l){return e.baseState=n,ar(e,we,typeof l=="function"?l:ln)}function uy(e,t,n,l,s){if(Ki(e))throw Error(r(485));if(e=t.action,e!==null){var u={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){u.listeners.push(d)}};R.T!==null?n(!0):u.isTransition=!1,l(u),n=t.pending,n===null?(u.next=t.pending=u,jf(t,u)):(u.next=n.next,t.pending=n.next=u)}}function jf(e,t){var n=t.action,l=t.payload,s=e.state;if(t.isTransition){var u=R.T,d={};R.T=d;try{var p=n(s,l),b=R.S;b!==null&&b(d,p),Of(e,t,p)}catch(A){or(e,t,A)}finally{u!==null&&d.types!==null&&(u.types=d.types),R.T=u}}else try{u=n(s,l),Of(e,t,u)}catch(A){or(e,t,A)}}function Of(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Cf(e,t,l)},function(l){return or(e,t,l)}):Cf(e,t,n)}function Cf(e,t,n){t.status="fulfilled",t.value=n,Rf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,jf(e,n)))}function or(e,t,n){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=n,Rf(t),t=t.next;while(t!==l)}e.action=null}function Rf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mf(e,t){return t}function Df(e,t){if(de){var n=Ee.formState;if(n!==null){e:{var l=ae;if(de){if(Ae){t:{for(var s=Ae,u=Ct;s.nodeType!==8;){if(!u){s=null;break t}if(s=Mt(s.nextSibling),s===null){s=null;break t}}u=s.data,s=u==="F!"||u==="F"?s:null}if(s){Ae=Mt(s.nextSibling),l=s.data==="F!";break e}}wn(l)}l=!1}l&&(t=n[0])}}return n=lt(),n.memoizedState=n.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mf,lastRenderedState:t},n.queue=l,n=ed.bind(null,ae,l),l.dispatch=n,l=ir(!1),u=dr.bind(null,ae,!1,l.queue),l=lt(),s={state:t,dispatch:null,action:e,pending:null},l.queue=s,n=uy.bind(null,ae,s,u,n),s.dispatch=n,l.memoizedState=e,[t,n,!1]}function Uf(e){var t=Be();return Bf(t,we,e)}function Bf(e,t,n){if(t=ar(e,t,Mf)[0],e=Xi(ln)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Ol(t)}catch(d){throw d===Da?Ui:d}else l=t;t=Be();var s=t.queue,u=s.dispatch;return n!==t.memoizedState&&(ae.flags|=2048,La(9,{destroy:void 0},cy.bind(null,s,n),null)),[l,u,e]}function cy(e,t){e.action=t}function Zf(e){var t=Be(),n=we;if(n!==null)return Bf(t,n,e);Be(),t=t.memoizedState,n=Be();var l=n.queue.dispatch;return n.memoizedState=e,[t,l,!1]}function La(e,t,n,l){return e={tag:e,create:n,deps:l,inst:t,next:null},t=ae.updateQueue,t===null&&(t=Yi(),ae.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(l=n.next,n.next=e,e.next=l,t.lastEffect=e),e}function Hf(){return Be().memoizedState}function Qi(e,t,n,l){var s=lt();ae.flags|=e,s.memoizedState=La(1|t,{destroy:void 0},n,l===void 0?null:l)}function Ji(e,t,n,l){var s=Be();l=l===void 0?null:l;var u=s.memoizedState.inst;we!==null&&l!==null&&Fs(l,we.memoizedState.deps)?s.memoizedState=La(t,u,n,l):(ae.flags|=e,s.memoizedState=La(1|t,u,n,l))}function Lf(e,t){Qi(8390656,8,e,t)}function sr(e,t){Ji(2048,8,e,t)}function fy(e){ae.flags|=4;var t=ae.updateQueue;if(t===null)t=Yi(),ae.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Gf(e){var t=Be().memoizedState;return fy({ref:t,nextImpl:e}),function(){if((me&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function qf(e,t){return Ji(4,2,e,t)}function $f(e,t){return Ji(4,4,e,t)}function Yf(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vf(e,t,n){n=n!=null?n.concat([e]):null,Ji(4,4,Yf.bind(null,t,e),n)}function rr(){}function Xf(e,t){var n=Be();t=t===void 0?null:t;var l=n.memoizedState;return t!==null&&Fs(t,l[1])?l[0]:(n.memoizedState=[e,t],e)}function Qf(e,t){var n=Be();t=t===void 0?null:t;var l=n.memoizedState;if(t!==null&&Fs(t,l[1]))return l[0];if(l=e(),ia){gn(!0);try{e()}finally{gn(!1)}}return n.memoizedState=[l,t],l}function ur(e,t,n){return n===void 0||(an&1073741824)!==0&&(ce&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Jd(),ae.lanes|=e,jn|=e,n)}function Jf(e,t,n,l){return gt(n,t)?n:Ba.current!==null?(e=ur(e,n,l),gt(e,t)||(Ge=!0),e):(an&42)===0||(an&1073741824)!==0&&(ce&261930)===0?(Ge=!0,e.memoizedState=n):(e=Jd(),ae.lanes|=e,jn|=e,t)}function Kf(e,t,n,l,s){var u=G.p;G.p=u!==0&&8>u?u:8;var d=R.T,p={};R.T=p,dr(e,!1,t,n);try{var b=s(),A=R.S;if(A!==null&&A(p,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var C=oy(b,l);Cl(e,t,C,_t(e))}else Cl(e,t,l,_t(e))}catch(D){Cl(e,t,{then:function(){},status:"rejected",reason:D},_t())}finally{G.p=u,d!==null&&p.types!==null&&(d.types=p.types),R.T=d}}function dy(){}function cr(e,t,n,l){if(e.tag!==5)throw Error(r(476));var s=Wf(e).queue;Kf(e,s,t,P,n===null?dy:function(){return Ff(e),n(l)})}function Wf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:P},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ff(e){var t=Wf(e);t.next===null&&(t=e.alternate.memoizedState),Cl(e,t.next.queue,{},_t())}function fr(){return Fe(Kl)}function If(){return Be().memoizedState}function Pf(){return Be().memoizedState}function hy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=_t();e=Tn(n);var l=zn(t,e,n);l!==null&&(dt(l,t,n),Al(l,t,n)),t={cache:Ls()},e.payload=t;return}t=t.return}}function py(e,t,n){var l=_t();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ki(e)?td(t,n):(n=Ns(e,t,n,l),n!==null&&(dt(n,e,l),nd(n,t,l)))}function ed(e,t,n){var l=_t();Cl(e,t,n,l)}function Cl(e,t,n,l){var s={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))td(t,s);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var d=t.lastRenderedState,p=u(d,n);if(s.hasEagerState=!0,s.eagerState=p,gt(p,d))return Ni(e,t,s,0),Ee===null&&ki(),!1}catch{}finally{}if(n=Ns(e,t,s,l),n!==null)return dt(n,e,l),nd(n,t,l),!0}return!1}function dr(e,t,n,l){if(l={lane:2,revertLane:Yr(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ki(e)){if(t)throw Error(r(479))}else t=Ns(e,n,l,2),t!==null&&dt(t,e,2)}function Ki(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function td(e,t){Za=qi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nd(e,t,n){if((n&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,oc(e,n)}}var Rl={readContext:Fe,use:Vi,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useLayoutEffect:Re,useInsertionEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useSyncExternalStore:Re,useId:Re,useHostTransitionStatus:Re,useFormState:Re,useActionState:Re,useOptimistic:Re,useMemoCache:Re,useCacheRefresh:Re};Rl.useEffectEvent=Re;var ad={readContext:Fe,use:Vi,useCallback:function(e,t){return lt().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:Lf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Qi(4194308,4,Yf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qi(4194308,4,e,t)},useInsertionEffect:function(e,t){Qi(4,2,e,t)},useMemo:function(e,t){var n=lt();t=t===void 0?null:t;var l=e();if(ia){gn(!0);try{e()}finally{gn(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=lt();if(n!==void 0){var s=n(t);if(ia){gn(!0);try{n(t)}finally{gn(!1)}}}else s=t;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=py.bind(null,ae,e),[l.memoizedState,e]},useRef:function(e){var t=lt();return e={current:e},t.memoizedState=e},useState:function(e){e=ir(e);var t=e.queue,n=ed.bind(null,ae,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:rr,useDeferredValue:function(e,t){var n=lt();return ur(n,e,t)},useTransition:function(){var e=ir(!1);return e=Kf.bind(null,ae,e.queue,!0,!1),lt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=ae,s=lt();if(de){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Ee===null)throw Error(r(349));(ce&127)!==0||Tf(l,t,n)}s.memoizedState=n;var u={value:n,getSnapshot:t};return s.queue=u,Lf(Ef.bind(null,l,u,e),[e]),l.flags|=2048,La(9,{destroy:void 0},zf.bind(null,l,u,n,t),null),n},useId:function(){var e=lt(),t=Ee.identifierPrefix;if(de){var n=Xt,l=Vt;n=(l&~(1<<32-mt(l)-1)).toString(32)+n,t="_"+t+"R_"+n,n=$i++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=sy++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:fr,useFormState:Df,useActionState:Df,useOptimistic:function(e){var t=lt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=dr.bind(null,ae,!0,n),n.dispatch=t,[e,t]},useMemoCache:nr,useCacheRefresh:function(){return lt().memoizedState=hy.bind(null,ae)},useEffectEvent:function(e){var t=lt(),n={impl:e};return t.memoizedState=n,function(){if((me&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},hr={readContext:Fe,use:Vi,useCallback:Xf,useContext:Fe,useEffect:sr,useImperativeHandle:Vf,useInsertionEffect:qf,useLayoutEffect:$f,useMemo:Qf,useReducer:Xi,useRef:Hf,useState:function(){return Xi(ln)},useDebugValue:rr,useDeferredValue:function(e,t){var n=Be();return Jf(n,we.memoizedState,e,t)},useTransition:function(){var e=Xi(ln)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:Ol(e),t]},useSyncExternalStore:Sf,useId:If,useHostTransitionStatus:fr,useFormState:Uf,useActionState:Uf,useOptimistic:function(e,t){var n=Be();return Nf(n,we,e,t)},useMemoCache:nr,useCacheRefresh:Pf};hr.useEffectEvent=Gf;var ld={readContext:Fe,use:Vi,useCallback:Xf,useContext:Fe,useEffect:sr,useImperativeHandle:Vf,useInsertionEffect:qf,useLayoutEffect:$f,useMemo:Qf,useReducer:lr,useRef:Hf,useState:function(){return lr(ln)},useDebugValue:rr,useDeferredValue:function(e,t){var n=Be();return we===null?ur(n,e,t):Jf(n,we.memoizedState,e,t)},useTransition:function(){var e=lr(ln)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:Ol(e),t]},useSyncExternalStore:Sf,useId:If,useHostTransitionStatus:fr,useFormState:Zf,useActionState:Zf,useOptimistic:function(e,t){var n=Be();return we!==null?Nf(n,we,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:nr,useCacheRefresh:Pf};ld.useEffectEvent=Gf;function pr(e,t,n,l){t=e.memoizedState,n=n(l,t),n=n==null?t:w({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var mr={enqueueSetState:function(e,t,n){e=e._reactInternals;var l=_t(),s=Tn(l);s.payload=t,n!=null&&(s.callback=n),t=zn(e,s,l),t!==null&&(dt(t,e,l),Al(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var l=_t(),s=Tn(l);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=zn(e,s,l),t!==null&&(dt(t,e,l),Al(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_t(),l=Tn(n);l.tag=2,t!=null&&(l.callback=t),t=zn(e,l,n),t!==null&&(dt(t,e,n),Al(t,e,n))}};function id(e,t,n,l,s,u,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,u,d):t.prototype&&t.prototype.isPureReactComponent?!bl(n,l)||!bl(s,u):!0}
vendor: 14,983 bytes, line 48
48function od(e,t,n,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==e&&mr.enqueueReplaceState(t,t.state,null)}function oa(e,t){var n=t;if("ref"in t){n={};for(var l in t)l!=="ref"&&(n[l]=t[l])}if(e=e.defaultProps){n===t&&(n=w({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function sd(e){Ai(e)}function rd(e){console.error(e)}function ud(e){Ai(e)}function Wi(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function cd(e,t,n){try{var l=e.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function gr(e,t,n){return n=Tn(n),n.tag=3,n.payload={element:null},n.callback=function(){Wi(e,t)},n}function fd(e){return e=Tn(e),e.tag=3,e}function dd(e,t,n,l){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var u=l.value;e.payload=function(){return s(u)},e.callback=function(){cd(t,n,l)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){cd(t,n,l),typeof s!="function"&&(On===null?On=new Set([this]):On.add(this));var p=l.stack;this.componentDidCatch(l.value,{componentStack:p!==null?p:""})})}function my(e,t,n,l,s){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=n.alternate,t!==null&&Ca(t,n,s,!0),n=vt.current,n!==null){switch(n.tag){case 31:case 13:return Rt===null?ro():n.alternate===null&&Me===0&&(Me=3),n.flags&=-257,n.flags|=65536,n.lanes=s,l===Bi?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([l]):t.add(l),Gr(e,l,s)),!1;case 22:return n.flags|=65536,l===Bi?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([l]):n.add(l)),Gr(e,l,s)),!1}throw Error(r(435,n.tag))}return Gr(e,l,s),ro(),!1}if(de)return t=vt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,l!==Ds&&(e=Error(r(422),{cause:l}),_l(Nt(e,n)))):(l!==Ds&&(t=Error(r(423),{cause:l}),_l(Nt(t,n))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,l=Nt(l,n),s=gr(e.stateNode,l,s),Xs(e,s),Me!==4&&(Me=2)),!1;var u=Error(r(520),{cause:l});if(u=Nt(u,n),Gl===null?Gl=[u]:Gl.push(u),Me!==4&&(Me=2),t===null)return!0;l=Nt(l,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=gr(n.stateNode,l,e),Xs(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(On===null||!On.has(u))))return n.flags|=65536,s&=-s,n.lanes|=s,s=fd(s),dd(s,e,n,l),Xs(n,s),!1}n=n.return}while(n!==null);return!1}var yr=Error(r(461)),Ge=!1;function Ie(e,t,n,l){t.child=e===null?gf(t,null,n,l):la(t,e.child,n,l)}function hd(e,t,n,l,s){n=n.render;var u=t.ref;if("ref"in l){var d={};for(var p in l)p!=="ref"&&(d[p]=l[p])}else d=l;return ea(t),l=Is(e,t,n,d,u,s),p=Ps(),e!==null&&!Ge?(er(e,t,s),on(e,t,s)):(de&&p&&Rs(t),t.flags|=1,Ie(e,t,l,s),t.child)}function pd(e,t,n,l,s){if(e===null){var u=n.type;return typeof u=="function"&&!js(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,md(e,t,u,l,s)):(e=Oi(n.type,null,l,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!zr(e,s)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:bl,n(d,l)&&e.ref===t.ref)return on(e,t,s)}return t.flags|=1,e=Pt(u,l),e.ref=t.ref,e.return=t,t.child=e}function md(e,t,n,l,s){if(e!==null){var u=e.memoizedProps;if(bl(u,l)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=l=u,zr(e,s))(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,on(e,t,s)}return vr(e,t,n,l,s)}function gd(e,t,n,l){var s=l.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(l=t.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~u}else l=0,t.child=null;return yd(e,t,u,n,l)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Di(t,u!==null?u.cachePool:null),u!==null?bf(t,u):Js(),xf(t);else return l=t.lanes=536870912,yd(e,t,u!==null?u.baseLanes|n:n,n,l)}else u!==null?(Di(t,u.cachePool),bf(t,u),An(),t.memoizedState=null):(e!==null&&Di(t,null),Js(),An());return Ie(e,t,s,n),t.child}function Ml(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function yd(e,t,n,l,s){var u=qs();return u=u===null?null:{parent:He._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Di(t,null),Js(),xf(t),e!==null&&Ca(e,t,l,!0),t.childLanes=s,null}function Fi(e,t){return t=Pi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function vd(e,t,n){return la(t,e.child,null,n),e=Fi(t,t.pendingProps),e.flags|=2,bt(t),t.memoizedState=null,e}function gy(e,t,n){var l=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(de){if(l.mode==="hidden")return e=Fi(t,l),t.lanes=536870912,Ml(null,e);if(Ws(t),(e=Ae)?(e=jh(e,Ct),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bn!==null?{id:Vt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},n=ef(e),n.return=t,t.child=n,We=t,Ae=null)):e=null,e===null)throw wn(t);return t.lanes=536870912,null}return Fi(t,l)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(Ws(t),s)if(t.flags&256)t.flags&=-257,t=vd(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Ge||Ca(e,t,n,!1),s=(n&e.childLanes)!==0,Ge||s){if(l=Ee,l!==null&&(d=sc(l,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Wn(e,d),dt(l,e,d),yr;ro(),t=vd(e,t,n)}else e=u.treeContext,Ae=Mt(d.nextSibling),We=t,de=!0,xn=null,Ct=!1,e!==null&&af(t,e),t=Fi(t,l),t.flags|=4096;return t}return e=Pt(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ii(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function vr(e,t,n,l,s){return ea(t),n=Is(e,t,n,l,void 0,s),l=Ps(),e!==null&&!Ge?(er(e,t,s),on(e,t,s)):(de&&l&&Rs(t),t.flags|=1,Ie(e,t,n,s),t.child)}function bd(e,t,n,l,s,u){return ea(t),t.updateQueue=null,n=_f(t,l,n,s),wf(e),l=Ps(),e!==null&&!Ge?(er(e,t,u),on(e,t,u)):(de&&l&&Rs(t),t.flags|=1,Ie(e,t,n,u),t.child)}function xd(e,t,n,l,s){if(ea(t),t.stateNode===null){var u=ka,d=n.contextType;typeof d=="object"&&d!==null&&(u=Fe(d)),u=new n(l,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=mr,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=l,u.state=t.memoizedState,u.refs={},Ys(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?Fe(d):ka,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(pr(t,n,d,l),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(d=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),d!==u.state&&mr.enqueueReplaceState(u,u.state,null),Nl(t,l,u,s),kl(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){u=t.stateNode;var p=t.memoizedProps,b=oa(n,p);u.props=b;var A=u.context,C=n.contextType;d=ka,typeof C=="object"&&C!==null&&(d=Fe(C));var D=n.getDerivedStateFromProps;C=typeof D=="function"||typeof u.getSnapshotBeforeUpdate=="function",p=t.pendingProps!==p,C||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(p||A!==d)&&od(t,u,l,d),Sn=!1;var k=t.memoizedState;u.state=k,Nl(t,l,u,s),kl(),A=t.memoizedState,p||k!==A||Sn?(typeof D=="function"&&(pr(t,n,D,l),A=t.memoizedState),(b=Sn||id(t,n,b,l,k,A,d))?(C||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=A),u.props=l,u.state=A,u.context=d,l=b):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{u=t.stateNode,Vs(e,t),d=t.memoizedProps,C=oa(n,d),u.props=C,D=t.pendingProps,k=u.context,A=n.contextType,b=ka,typeof A=="object"&&A!==null&&(b=Fe(A)),p=n.getDerivedStateFromProps,(A=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==D||k!==b)&&od(t,u,l,b),Sn=!1,k=t.memoizedState,u.state=k,Nl(t,l,u,s),kl();var j=t.memoizedState;d!==D||k!==j||Sn||e!==null&&e.dependencies!==null&&Ri(e.dependencies)?(typeof p=="function"&&(pr(t,n,p,l),j=t.memoizedState),(C=Sn||id(t,n,C,l,k,j,b)||e!==null&&e.dependencies!==null&&Ri(e.dependencies))?(A||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,j,b),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,j,b)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=j),u.props=l,u.state=j,u.context=b,l=C):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),l=!1)}return u=l,Ii(e,t),l=(t.flags&128)!==0,u||l?(u=t.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&l?(t.child=la(t,e.child,null,s),t.child=la(t,null,n,s)):Ie(e,t,n,s),t.memoizedState=u.state,e=t.child):e=on(e,t,s),e}function wd(e,t,n,l){return In(),t.flags|=256,Ie(e,t,n,l),t.child}var br={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xr(e){return{baseLanes:e,cachePool:cf()}}function wr(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=wt),e}function _d(e,t,n){var l=t.pendingProps,s=!1,u=(t.flags&128)!==0,d;if((d=u)||(d=e!==null&&e.memoizedState===null?!1:(Ue.current&2)!==0),d&&(s=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(de){if(s?En(t):An(),(e=Ae)?(e=jh(e,Ct),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:bn!==null?{id:Vt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},n=ef(e),n.return=t,t.child=n,We=t,Ae=null)):e=null,e===null)throw wn(t);return au(e)?t.lanes=32:t.lanes=536870912,null}var p=l.children;return l=l.fallback,s?(An(),s=t.mode,p=Pi({mode:"hidden",children:p},s),l=Fn(l,s,n,null),p.return=t,l.return=t,p.sibling=l,t.child=p,l=t.child,l.memoizedState=xr(n),l.childLanes=wr(e,d,n),t.memoizedState=br,Ml(null,l)):(En(t),_r(t,p))}var b=e.memoizedState;if(b!==null&&(p=b.dehydrated,p!==null)){if(u)t.flags&256?(En(t),t.flags&=-257,t=Sr(e,t,n)):t.memoizedState!==null?(An(),t.child=e.child,t.flags|=128,t=null):(An(),p=l.fallback,s=t.mode,l=Pi({mode:"visible",children:l.children},s),p=Fn(p,s,n,null),p.flags|=2,l.return=t,p.return=t,l.sibling=p,t.child=l,la(t,e.child,null,n),l=t.child,l.memoizedState=xr(n),l.childLanes=wr(e,d,n),t.memoizedState=br,t=Ml(null,l));else if(En(t),au(p)){if(d=p.nextSibling&&p.nextSibling.dataset,d)var A=d.dgst;d=A,l=Error(r(419)),l.stack="",l.digest=d,_l({value:l,source:null,stack:null}),t=Sr(e,t,n)}else if(Ge||Ca(e,t,n,!1),d=(n&e.childLanes)!==0,Ge||d){if(d=Ee,d!==null&&(l=sc(d,n),l!==0&&l!==b.retryLane))throw b.retryLane=l,Wn(e,l),dt(d,e,l),yr;nu(p)||ro(),t=Sr(e,t,n)}else nu(p)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Ae=Mt(p.nextSibling),We=t,de=!0,xn=null,Ct=!1,e!==null&&af(t,e),t=_r(t,l.children),t.flags|=4096);return t}return s?(An(),p=l.fallback,s=t.mode,b=e.child,A=b.sibling,l=Pt(b,{mode:"hidden",children:l.children}),l.subtreeFlags=b.subtreeFlags&65011712,A!==null?p=Pt(A,p):(p=Fn(p,s,n,null),p.flags|=2),p.return=t,l.return=t,l.sibling=p,t.child=l,Ml(null,l),l=t.child,p=e.child.memoizedState,p===null?p=xr(n):(s=p.cachePool,s!==null?(b=He._currentValue,s=s.parent!==b?{parent:b,pool:b}:s):s=cf(),p={baseLanes:p.baseLanes|n,cachePool:s}),l.memoizedState=p,l.childLanes=wr(e,d,n),t.memoizedState=br,Ml(e.child,l)):(En(t),n=e.child,e=n.sibling,n=Pt(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function _r(e,t){return t=Pi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Pi(e,t){return e=yt(22,e,null,t),e.lanes=0,e}function Sr(e,t,n){return la(t,e.child,null,n),e=_r(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sd(e,t,n){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Zs(e.return,t,n)}function Tr(e,t,n,l,s,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:s,treeForkCount:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=n,d.tailMode=s,d.treeForkCount=u)}function Td(e,t,n){var l=t.pendingProps,s=l.revealOrder,u=l.tail;l=l.children;var d=Ue.current,p=(d&2)!==0;if(p?(d=d&1|2,t.flags|=128):d&=1,q(Ue,d),Ie(e,t,l,n),l=de?wl:0,!p&&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}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Gi(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Tr(t,!1,s,n,u,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Gi(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Tr(t,!0,n,null,u,l);break;case"together":Tr(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function on(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),jn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ca(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));
vendor: 6,014 bytes, line 48
48if(t.child!==null){for(e=t.child,n=Pt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ri(e)))}function yy(e,t,n){switch(t.tag){case 3:at(t,t.stateNode.containerInfo),_n(t,He,e.memoizedState.cache),In();break;case 27:case 5:ol(t);break;case 4:at(t,t.stateNode.containerInfo);break;case 10:_n(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ws(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(En(t),t.flags|=128,null):(n&t.child.childLanes)!==0?_d(e,t,n):(En(t),e=on(e,t,n),e!==null?e.sibling:null);En(t);break;case 19:var s=(e.flags&128)!==0;if(l=(n&t.childLanes)!==0,l||(Ca(e,t,n,!1),l=(n&t.childLanes)!==0),s){if(l)return Td(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),q(Ue,Ue.current),l)break;return null;case 22:return t.lanes=0,gd(e,t,n,t.pendingProps);case 24:_n(t,He,e.memoizedState.cache)}return on(e,t,n)}function zd(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ge=!0;else{if(!zr(e,n)&&(t.flags&128)===0)return Ge=!1,yy(e,t,n);Ge=(e.flags&131072)!==0}else Ge=!1,de&&(t.flags&1048576)!==0&&nf(t,wl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=na(t.elementType),t.type=e,typeof e=="function")js(e)?(l=oa(e,l),t.tag=1,t=xd(null,t,e,l,n)):(t.tag=0,t=vr(null,t,e,l,n));else{if(e!=null){var s=e.$$typeof;if(s===le){t.tag=11,t=hd(null,t,e,l,n);break e}else if(s===V){t.tag=14,t=pd(null,t,e,l,n);break e}}throw t=zt(e)||e,Error(r(306,t,""))}}return t;case 0:return vr(e,t,t.type,t.pendingProps,n);case 1:return l=t.type,s=oa(l,t.pendingProps),xd(e,t,l,s,n);case 3:e:{if(at(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var u=t.memoizedState;s=u.element,Vs(e,t),Nl(t,l,null,n);var d=t.memoizedState;if(l=d.cache,_n(t,He,l),l!==u.cache&&Hs(t,[He],n,!0),kl(),l=d.element,u.isDehydrated)if(u={element:l,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=wd(e,t,l,n);break e}else if(l!==s){s=Nt(Error(r(424)),t),_l(s),t=wd(e,t,l,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ae=Mt(e.firstChild),We=t,de=!0,xn=null,Ct=!0,n=gf(t,null,l,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(In(),l===s){t=on(e,t,n);break e}Ie(e,t,l,n)}t=t.child}return t;case 26:return Ii(e,t),e===null?(n=Uh(t.type,null,t.pendingProps,null))?t.memoizedState=n:de||(n=t.type,e=t.pendingProps,l=go(se.current).createElement(n),l[Ke]=t,l[ot]=e,Pe(l,n,e),Qe(l),t.stateNode=l):t.memoizedState=Uh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ol(t),e===null&&de&&(l=t.stateNode=Rh(t.type,t.pendingProps,se.current),We=t,Ct=!0,s=Ae,Dn(t.type)?(lu=s,Ae=Mt(l.firstChild)):Ae=s),Ie(e,t,t.pendingProps.children,n),Ii(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&de&&((s=l=Ae)&&(l=Qy(l,t.type,t.pendingProps,Ct),l!==null?(t.stateNode=l,We=t,Ae=Mt(l.firstChild),Ct=!1,s=!0):s=!1),s||wn(t)),ol(t),s=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,l=u.children,Pr(s,u)?l=null:d!==null&&Pr(s,d)&&(t.flags|=32),t.memoizedState!==null&&(s=Is(e,t,ry,null,null,n),Kl._currentValue=s),Ii(e,t),Ie(e,t,l,n),t.child;case 6:return e===null&&de&&((e=n=Ae)&&(n=Jy(n,t.pendingProps,Ct),n!==null?(t.stateNode=n,We=t,Ae=null,e=!0):e=!1),e||wn(t)),null;case 13:return _d(e,t,n);case 4:return at(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=la(t,null,l,n):Ie(e,t,l,n),t.child;case 11:return hd(e,t,t.type,t.pendingProps,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:return l=t.pendingProps,_n(t,t.type,l.value),Ie(e,t,l.children,n),t.child;case 9:return s=t.type._context,l=t.pendingProps.children,ea(t),s=Fe(s),l=l(s),t.flags|=1,Ie(e,t,l,n),t.child;case 14:return pd(e,t,t.type,t.pendingProps,n);case 15:return md(e,t,t.type,t.pendingProps,n);case 19:return Td(e,t,n);case 31:return gy(e,t,n);case 22:return gd(e,t,n,t.pendingProps);case 24:return ea(t),l=Fe(He),e===null?(s=qs(),s===null&&(s=Ee,u=Ls(),s.pooledCache=u,u.refCount++,u!==null&&(s.pooledCacheLanes|=n),s=u),t.memoizedState={parent:l,cache:s},Ys(t),_n(t,He,s)):((e.lanes&n)!==0&&(Vs(e,t),Nl(t,null,null,n),kl()),s=e.memoizedState,u=t.memoizedState,s.parent!==l?(s={parent:l,cache:l},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),_n(t,He,l)):(l=u.cache,_n(t,He,l),l!==s.cache&&Hs(t,[He],n,!0))),Ie(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function sn(e){e.flags|=4}function Er(e,t,n,l,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Id())e.flags|=8192;else throw aa=Bi,$s}else e.flags&=-16777217}function Ed(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Gh(t))if(Id())e.flags|=8192;else throw aa=Bi,$s}function eo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?lc():536870912,e.lanes|=t,Ya|=t)}function Dl(e,t){if(!de)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 l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,l=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=n,t}
vendor: 7,794 bytes, line 48
48function vy(e,t,n){var l=t.pendingProps;switch(Ms(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return ke(t),null;case 3:return n=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),nn(He),De(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Oa(t)?sn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Us())),ke(t),null;case 26:var s=t.type,u=t.memoizedState;return e===null?(sn(t),u!==null?(ke(t),Ed(t,u)):(ke(t),Er(t,s,null,l,n))):u?u!==e.memoizedState?(sn(t),ke(t),Ed(t,u)):(ke(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&sn(t),ke(t),Er(t,s,e,l,n)),null;case 27:if(fi(t),n=se.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&sn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}e=X.current,Oa(t)?lf(t):(e=Rh(s,l,n),t.stateNode=e,sn(t))}return ke(t),null;case 5:if(fi(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&sn(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}if(u=X.current,Oa(t))lf(t);else{var d=go(se.current);switch(u){case 1:u=d.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:u=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":u=d.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":u=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":u=d.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?d.createElement(s,{is:l.is}):d.createElement(s)}}u[Ke]=t,u[ot]=l;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)u.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=u;e:switch(Pe(u,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&sn(t)}}return ke(t),Er(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&sn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(e=se.current,Oa(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,s=We,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[Ke]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||_h(e.nodeValue,n)),e||wn(t,!0)}else e=go(e).createTextNode(l),e[Ke]=t,t.stateNode=e}return ke(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(l=Oa(t),n!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[Ke]=t}else In(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),e=!1}else n=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(bt(t),t):(bt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return ke(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Oa(t),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));s[Ke]=t}else In(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),s=!1}else s=Us(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(bt(t),t):(bt(t),null)}return bt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=l!==null,e=e!==null&&e.memoizedState!==null,n&&(l=t.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==s&&(l.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),eo(t,t.updateQueue),ke(t),null);case 4:return De(),e===null&&Jr(t.stateNode.containerInfo),ke(t),null;case 10:return nn(t.type),ke(t),null;case 19:if(U(Ue),l=t.memoizedState,l===null)return ke(t),null;if(s=(t.flags&128)!==0,u=l.rendering,u===null)if(s)Dl(l,!1);else{if(Me!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Gi(e),u!==null){for(t.flags|=128,Dl(l,!1),e=u.updateQueue,t.updateQueue=e,eo(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Pc(n,e),n=n.sibling;return q(Ue,Ue.current&1|2),de&&en(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&ht()>io&&(t.flags|=128,s=!0,Dl(l,!1),t.lanes=4194304)}else{if(!s)if(e=Gi(u),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,eo(t,e),Dl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!de)return ke(t),null}else 2*ht()-l.renderingStartTime>io&&n!==536870912&&(t.flags|=128,s=!0,Dl(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(e=l.last,e!==null?e.sibling=u:t.child=u,l.last=u)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=ht(),e.sibling=null,n=Ue.current,q(Ue,s?n&1|2:n&1),de&&en(t,l.treeForkCount),e):(ke(t),null);case 22:case 23:return bt(t),Ks(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(n&536870912)!==0&&(t.flags&128)===0&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),n=t.updateQueue,n!==null&&eo(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&U(ta),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nn(He),ke(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function by(e,t){switch(Ms(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nn(He),De(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fi(t),null;case 31:if(t.memoizedState!==null){if(bt(t),t.alternate===null)throw Error(r(340));In()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(bt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));In()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(Ue),null;case 4:return De(),null;case 10:return nn(t.type),null;case 22:case 23:return bt(t),Ks(),e!==null&&U(ta),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return nn(He),null;case 25:return null;default:return null}}function Ad(e,t){switch(Ms(t),t.tag){case 3:nn(He),De();break;case 26:case 27:case 5:fi(t);break;case 4:De();break;case 31:t.memoizedState!==null&&bt(t);break;case 13:bt(t);break;case 19:U(Ue);break;case 10:nn(t.type);break;case 22:case 23:bt(t),Ks(),e!==null&&U(ta);break;case 24:nn(He)}}function Ul(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&e)===e){l=void 0;var u=n.create,d=n.inst;l=u(),d.destroy=l}n=n.next}while(n!==s)}}catch(p){ve(t,t.return,p)}}function kn(e,t,n){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var u=s.next;l=u;do{if((l.tag&e)===e){var d=l.inst,p=d.destroy;if(p!==void 0){d.destroy=void 0,s=t;var b=n,A=p;try{A()}catch(C){ve(s,b,C)}}}l=l.next}while(l!==u)}}catch(C){ve(t,t.return,C)}}function kd(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{vf(t,n)}catch(l){ve(e,e.return,l)}}}function Nd(e,t,n){n.props=oa(e.type,e.memoizedProps),n.state=e.memoizedState;
vendor: 16,138 bytes, line 48
48try{n.componentWillUnmount()}catch(l){ve(e,t,l)}}function Bl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof n=="function"?e.refCleanup=n(l):n.current=l}}catch(s){ve(e,t,s)}}function Qt(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(s){ve(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){ve(e,t,s)}else n.current=null}function jd(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(s){ve(e,e.return,s)}}function Ar(e,t,n){try{var l=e.stateNode;Gy(l,e.type,n,t),l[ot]=t}catch(s){ve(e,e.return,s)}}function Od(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Dn(e.type)||e.tag===4}function kr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Od(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Dn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Nr(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ft));else if(l!==4&&(l===27&&Dn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Nr(e,t,n),e=e.sibling;e!==null;)Nr(e,t,n),e=e.sibling}function to(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&(l===27&&Dn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(to(e,t,n),e=e.sibling;e!==null;)to(e,t,n),e=e.sibling}function Cd(e){var t=e.stateNode,n=e.memoizedProps;try{for(var l=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);Pe(t,l,n),t[Ke]=e,t[ot]=n}catch(u){ve(e,e.return,u)}}var rn=!1,qe=!1,jr=!1,Rd=typeof WeakSet=="function"?WeakSet:Set,Je=null;function xy(e,t){if(e=e.containerInfo,Fr=So,e=Yc(e),Ss(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var s=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var d=0,p=-1,b=-1,A=0,C=0,D=e,k=null;t:for(;;){for(var j;D!==n||s!==0&&D.nodeType!==3||(p=d+s),D!==u||l!==0&&D.nodeType!==3||(b=d+l),D.nodeType===3&&(d+=D.nodeValue.length),(j=D.firstChild)!==null;)k=D,D=j;for(;;){if(D===e)break t;if(k===n&&++A===s&&(p=d),k===u&&++C===l&&(b=d),(j=D.nextSibling)!==null)break;D=k,k=D.parentNode}D=j}n=p===-1||b===-1?null:{start:p,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ir={focusedElem:e,selectionRange:n},So=!1,Je=t;Je!==null;)if(t=Je,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Je=e;else for(;Je!==null;){switch(t=Je,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,s=u.memoizedProps,u=u.memoizedState,l=n.stateNode;try{var Y=oa(n.type,s);e=l.getSnapshotBeforeUpdate(Y,u),l.__reactInternalSnapshotBeforeUpdate=e}catch(F){ve(n,n.return,F)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tu(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":tu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,Je=e;break}Je=t.return}}function Md(e,t,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:cn(e,n),l&4&&Ul(5,n);break;case 1:if(cn(e,n),l&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){ve(n,n.return,d)}else{var s=oa(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){ve(n,n.return,d)}}l&64&&kd(n),l&512&&Bl(n,n.return);break;case 3:if(cn(e,n),l&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{vf(e,t)}catch(d){ve(n,n.return,d)}}break;case 27:t===null&&l&4&&Cd(n);case 26:case 5:cn(e,n),t===null&&l&4&&jd(n),l&512&&Bl(n,n.return);break;case 12:cn(e,n);break;case 31:cn(e,n),l&4&&Bd(e,n);break;case 13:cn(e,n),l&4&&Zd(e,n),l&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Ny.bind(null,n),Ky(e,n))));break;case 22:if(l=n.memoizedState!==null||rn,!l){t=t!==null&&t.memoizedState!==null||qe,s=rn;var u=qe;rn=l,(qe=t)&&!u?fn(e,n,(n.subtreeFlags&8772)!==0):cn(e,n),rn=s,qe=u}break;case 30:break;default:cn(e,n)}}function Dd(e){var t=e.alternate;t!==null&&(e.alternate=null,Dd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&os(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ne=null,rt=!1;function un(e,t,n){for(n=n.child;n!==null;)Ud(e,t,n),n=n.sibling}function Ud(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 26:qe||Qt(n,t),un(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:qe||Qt(n,t);var l=Ne,s=rt;Dn(n.type)&&(Ne=n.stateNode,rt=!1),un(e,t,n),Xl(n.stateNode),Ne=l,rt=s;break;case 5:qe||Qt(n,t);case 6:if(l=Ne,s=rt,Ne=null,un(e,t,n),Ne=l,rt=s,Ne!==null)if(rt)try{(Ne.nodeType===9?Ne.body:Ne.nodeName==="HTML"?Ne.ownerDocument.body:Ne).removeChild(n.stateNode)}catch(u){ve(n,t,u)}else try{Ne.removeChild(n.stateNode)}catch(u){ve(n,t,u)}break;case 18:Ne!==null&&(rt?(e=Ne,kh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ia(e)):kh(Ne,n.stateNode));break;case 4:l=Ne,s=rt,Ne=n.stateNode.containerInfo,rt=!0,un(e,t,n),Ne=l,rt=s;break;case 0:case 11:case 14:case 15:kn(2,n,t),qe||kn(4,n,t),un(e,t,n);break;case 1:qe||(Qt(n,t),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Nd(n,t,l)),un(e,t,n);break;case 21:un(e,t,n);break;case 22:qe=(l=qe)||n.memoizedState!==null,un(e,t,n),qe=l;break;default:un(e,t,n)}}function Bd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ia(e)}catch(n){ve(t,t.return,n)}}}function Zd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ia(e)}catch(n){ve(t,t.return,n)}}function wy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Rd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Rd),t;default:throw Error(r(435,e.tag))}}function no(e,t){var n=wy(e);t.forEach(function(l){if(!n.has(l)){n.add(l);var s=jy.bind(null,e,l);l.then(s,s)}})}function ut(e,t){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var s=n[l],u=e,d=t,p=d;e:for(;p!==null;){switch(p.tag){case 27:if(Dn(p.type)){Ne=p.stateNode,rt=!1;break e}break;case 5:Ne=p.stateNode,rt=!1;break e;case 3:case 4:Ne=p.stateNode.containerInfo,rt=!0;break e}p=p.return}if(Ne===null)throw Error(r(160));Ud(u,d,s),Ne=null,rt=!1,u=s.alternate,u!==null&&(u.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Hd(t,e),t=t.sibling}var Lt=null;function Hd(e,t){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ut(t,e),ct(e),l&4&&(kn(3,e,e.return),Ul(3,e),kn(5,e,e.return));break;case 1:ut(t,e),ct(e),l&512&&(qe||n===null||Qt(n,n.return)),l&64&&rn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var s=Lt;if(ut(t,e),ct(e),l&512&&(qe||n===null||Qt(n,n.return)),l&4){var u=n!==null?n.memoizedState:null;if(l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null){e:{l=e.type,n=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":u=s.getElementsByTagName("title")[0],(!u||u[cl]||u[Ke]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=s.createElement(l),s.head.insertBefore(u,s.querySelector("head > title"))),Pe(u,l,n),u[Ke]=e,Qe(u),l=u;break e;case"link":var d=Hh("link","href",s).get(l+(n.href||""));if(d){for(var p=0;p<d.length;p++)if(u=d[p],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(p,1);break t}}u=s.createElement(l),Pe(u,l,n),s.head.appendChild(u);break;case"meta":if(d=Hh("meta","content",s).get(l+(n.content||""))){for(p=0;p<d.length;p++)if(u=d[p],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(p,1);break t}}u=s.createElement(l),Pe(u,l,n),s.head.appendChild(u);break;default:throw Error(r(468,l))}u[Ke]=e,Qe(u),l=u}e.stateNode=l}else Lh(s,e.type,e.stateNode);else e.stateNode=Zh(s,l,e.memoizedProps);else u!==l?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,l===null?Lh(s,e.type,e.stateNode):Zh(s,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Ar(e,e.memoizedProps,n.memoizedProps)}break;case 27:ut(t,e),ct(e),l&512&&(qe||n===null||Qt(n,n.return)),n!==null&&l&4&&Ar(e,e.memoizedProps,n.memoizedProps);break;case 5:if(ut(t,e),ct(e),l&512&&(qe||n===null||Qt(n,n.return)),e.flags&32){s=e.stateNode;try{wa(s,"")}catch(Y){ve(e,e.return,Y)}}l&4&&e.stateNode!=null&&(s=e.memoizedProps,Ar(e,s,n!==null?n.memoizedProps:s)),l&1024&&(jr=!0);break;case 6:if(ut(t,e),ct(e),l&4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,n=e.stateNode;try{n.nodeValue=l}catch(Y){ve(e,e.return,Y)}}break;case 3:if(bo=null,s=Lt,Lt=yo(t.containerInfo),ut(t,e),Lt=s,ct(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{Ia(t.containerInfo)}catch(Y){ve(e,e.return,Y)}jr&&(jr=!1,Ld(e));break;case 4:l=Lt,Lt=yo(e.stateNode.containerInfo),ut(t,e),ct(e),Lt=l;break;case 12:ut(t,e),ct(e);break;case 31:ut(t,e),ct(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,no(e,l)));break;case 13:ut(t,e),ct(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(lo=ht()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,no(e,l)));break;case 22:s=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,A=rn,C=qe;if(rn=A||s,qe=C||b,ut(t,e),qe=C,rn=A,ct(e),l&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(n===null||b||rn||qe||sa(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{if(u=b.stateNode,s)d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{p=b.stateNode;var D=b.memoizedProps.style,k=D!=null&&D.hasOwnProperty("display")?D.display:null;p.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(Y){ve(b,b.return,Y)}}}else if(t.tag===6){if(n===null){b=t;try{b.stateNode.nodeValue=s?"":b.memoizedProps}catch(Y){ve(b,b.return,Y)}}}else if(t.tag===18){if(n===null){b=t;try{var j=b.stateNode;s?Nh(j,!0):Nh(b.stateNode,!1)}catch(Y){ve(b,b.return,Y)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,no(e,n))));break;case 19:ut(t,e),ct(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,no(e,l)));break;case 30:break;case 21:break;default:ut(t,e),ct(e)}}function ct(e){var t=e.flags;if(t&2){try{for(var n,l=e.return;l!==null;){if(Od(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var s=n.stateNode,u=kr(e);to(e,u,s);break;case 5:var d=n.stateNode;n.flags&32&&(wa(d,""),n.flags&=-33);var p=kr(e);to(e,p,d);break;case 3:case 4:var b=n.stateNode.containerInfo,A=kr(e);Nr(e,A,b);break;default:throw Error(r(161))}}catch(C){ve(e,e.return,C)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ld(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ld(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function cn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Md(e,t.alternate,t),t=t.sibling}function sa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:kn(4,t,t.return),sa(t);break;case 1:Qt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Nd(t,t.return,n),sa(t);break;case 27:Xl(t.stateNode);case 26:case 5:Qt(t,t.return),sa(t);break;case 22:t.memoizedState===null&&sa(t);break;case 30:sa(t);break;default:sa(t)}e=e.sibling}}function fn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,s=e,u=t,d=u.flags;switch(u.tag){case 0:case 11:case 15:fn(s,u,n),Ul(4,u);break;case 1:if(fn(s,u,n),l=u,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(A){ve(l,l.return,A)}if(l=u,s=l.updateQueue,s!==null){var p=l.stateNode;try{var b=s.shared.hiddenCallbacks;if(b!==null)for(s.shared.hiddenCallbacks=null,s=0;s<b.length;s++)yf(b[s],p)}catch(A){ve(l,l.return,A)}}n&&d&64&&kd(u),Bl(u,u.return);break;case 27:Cd(u);case 26:case 5:fn(s,u,n),n&&l===null&&d&4&&jd(u),Bl(u,u.return);break;case 12:fn(s,u,n);break;case 31:fn(s,u,n),n&&d&4&&Bd(s,u);break;case 13:fn(s,u,n),n&&d&4&&Zd(s,u);break;case 22:u.memoizedState===null&&fn(s,u,n),Bl(u,u.return);break;case 30:break;default:fn(s,u,n)}t=t.sibling}}function Or(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Sl(n))}function Cr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Sl(e))}function Gt(e,t,n,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Gd(e,t,n,l),t=t.sibling}function Gd(e,t,n,l){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Gt(e,t,n,l),s&2048&&Ul(9,t);break;case 1:Gt(e,t,n,l);break;case 3:Gt(e,t,n,l),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Sl(e)));break;case 12:if(s&2048){Gt(e,t,n,l),e=t.stateNode;try{var u=t.memoizedProps,d=u.id,p=u.onPostCommit;typeof p=="function"&&p(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){ve(t,t.return,b)}}else Gt(e,t,n,l);break;case 31:Gt(e,t,n,l);break;case 13:Gt(e,t,n,l);break;case 23:break;case 22:u=t.stateNode,d=t.alternate,t.memoizedState!==null?u._visibility&2?Gt(e,t,n,l):Zl(e,t):u._visibility&2?Gt(e,t,n,l):(u._visibility|=2,Ga(e,t,n,l,(t.subtreeFlags&10256)!==0||!1)),s&2048&&Or(d,t);break;case 24:Gt(e,t,n,l),s&2048&&Cr(t.alternate,t);break;default:Gt(e,t,n,l)}}function Ga(e,t,n,l,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,d=t,p=n,b=l,A=d.flags;switch(d.tag){case 0:case 11:case 15:Ga(u,d,p,b,s),Ul(8,d);break;case 23:break;case 22:var C=d.stateNode;d.memoizedState!==null?C._visibility&2?Ga(u,d,p,b,s):Zl(u,d):(C._visibility|=2,Ga(u,d,p,b,s)),s&&A&2048&&Or(d.alternate,d);break;case 24:Ga(u,d,p,b,s),s&&A&2048&&Cr(d.alternate,d);break;default:Ga(u,d,p,b,s)}t=t.sibling}}function Zl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,l=t,s=l.flags;switch(l.tag){case 22:Zl(n,l),s&2048&&Or(l.alternate,l);break;case 24:Zl(n,l),s&2048&&Cr(l.alternate,l);break;default:Zl(n,l)}
vendor: 5,242 bytes, line 48
48t=t.sibling}}var Hl=8192;function qa(e,t,n){if(e.subtreeFlags&Hl)for(e=e.child;e!==null;)qd(e,t,n),e=e.sibling}function qd(e,t,n){switch(e.tag){case 26:qa(e,t,n),e.flags&Hl&&e.memoizedState!==null&&s0(n,Lt,e.memoizedState,e.memoizedProps);break;case 5:qa(e,t,n);break;case 3:case 4:var l=Lt;Lt=yo(e.stateNode.containerInfo),qa(e,t,n),Lt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Hl,Hl=16777216,qa(e,t,n),Hl=l):qa(e,t,n));break;default:qa(e,t,n)}}function $d(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ll(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Je=l,Vd(l,e)}$d(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yd(e),e=e.sibling}function Yd(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&kn(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ao(e)):Ll(e);break;default:Ll(e)}}function ao(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Je=l,Vd(l,e)}$d(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:kn(8,t,t.return),ao(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ao(t));break;default:ao(t)}e=e.sibling}}function Vd(e,t){for(;Je!==null;){var n=Je;switch(n.tag){case 0:case 11:case 15:kn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Sl(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Je=l;else e:for(n=e;Je!==null;){l=Je;var s=l.sibling,u=l.return;if(Dd(l),l===n){Je=null;break e}if(s!==null){s.return=u,Je=s;break e}Je=u}}}var _y={getCacheForType:function(e){var t=Fe(He),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Fe(He).controller.signal}},Sy=typeof WeakMap=="function"?WeakMap:Map,me=0,Ee=null,re=null,ce=0,ye=0,xt=null,Nn=!1,$a=!1,Rr=!1,dn=0,Me=0,jn=0,ra=0,Mr=0,wt=0,Ya=0,Gl=null,ft=null,Dr=!1,lo=0,Xd=0,io=1/0,oo=null,On=null,Ye=0,Cn=null,Va=null,hn=0,Ur=0,Br=null,Qd=null,ql=0,Zr=null;function _t(){return(me&2)!==0&&ce!==0?ce&-ce:R.T!==null?Yr():rc()}function Jd(){if(wt===0)if((ce&536870912)===0||de){var e=pi;pi<<=1,(pi&3932160)===0&&(pi=262144),wt=e}else wt=536870912;return e=vt.current,e!==null&&(e.flags|=32),wt}function dt(e,t,n){(e===Ee&&(ye===2||ye===9)||e.cancelPendingCommit!==null)&&(Xa(e,0),Rn(e,ce,wt,!1)),ul(e,n),((me&2)===0||e!==Ee)&&(e===Ee&&((me&2)===0&&(ra|=n),Me===4&&Rn(e,ce,wt,!1)),Jt(e))}function Kd(e,t,n){if((me&6)!==0)throw Error(r(327));var l=!n&&(t&127)===0&&(t&e.expiredLanes)===0||rl(e,t),s=l?Ey(e,t):Lr(e,t,!0),u=l;do{if(s===0){$a&&!l&&Rn(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Ty(n)){s=Lr(e,t,!1),u=!1;continue}if(s===2){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var p=e;s=Gl;var b=p.current.memoizedState.isDehydrated;if(b&&(Xa(p,d).flags|=256),d=Lr(p,d,!1),d!==2){if(Rr&&!b){p.errorRecoveryDisabledLanes|=u,ra|=u,s=4;break e}u=ft,ft=s,u!==null&&(ft===null?ft=u:ft.push.apply(ft,u))}s=d}if(u=!1,s!==2)continue}}if(s===1){Xa(e,0),Rn(e,t,0,!0);break}e:{switch(l=e,u=s,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Rn(l,t,wt,!Nn);break e;case 2:ft=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(s=lo+300-ht(),10<s)){if(Rn(l,t,wt,!Nn),gi(l,0,!0)!==0)break e;hn=t,l.timeoutHandle=Eh(Wd.bind(null,l,n,ft,oo,Dr,t,wt,ra,Ya,Nn,u,"Throttled",-0,0),s);break e}Wd(l,n,ft,oo,Dr,t,wt,ra,Ya,Nn,u,null,-0,0)}}break}while(!0);Jt(e)}function Wd(e,t,n,l,s,u,d,p,b,A,C,D,k,j){if(e.timeoutHandle=-1,D=t.subtreeFlags,D&8192||(D&16785408)===16785408){D={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ft},qd(t,u,D);var Y=(u&62914560)===u?lo-ht():(u&4194048)===u?Xd-ht():0;if(Y=r0(D,Y),Y!==null){hn=u,e.cancelPendingCommit=Y(lh.bind(null,e,t,u,n,l,s,d,p,b,C,D,null,k,j)),Rn(e,u,d,!A);return}}lh(e,t,u,n,l,s,d,p,b)}function Ty(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var s=n[l],u=s.getSnapshot;s=s.value;try{if(!gt(u(),s))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 Rn(e,t,n,l){t&=~Mr,t&=~ra,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var s=t;0<s;){var u=31-mt(s),d=1<<u;l[u]=-1,s&=~d}n!==0&&ic(e,n,t)}function so(){return(me&6)===0?($l(0),!1):!0}function Hr(){if(re!==null){if(ye===0)var e=re.return;else e=re,tn=Pn=null,tr(e),Ua=null,zl=0,e=re;for(;e!==null;)Ad(e.alternate,e),e=e.return;re=null}}function Xa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yy(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),hn=0,Hr
vendor: 4,318 bytes, line 48
48(),Ee=e,re=n=Pt(e.current,null),ce=t,ye=0,xt=null,Nn=!1,$a=rl(e,t),Rr=!1,Ya=wt=Mr=ra=jn=Me=0,ft=Gl=null,Dr=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var s=31-mt(l),u=1<<s;t|=e[s],l&=~u}return dn=t,ki(),n}function Fd(e,t){ae=null,R.H=Rl,t===Da||t===Ui?(t=hf(),ye=3):t===$s?(t=hf(),ye=4):ye=t===yr?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,xt=t,re===null&&(Me=1,Wi(e,Nt(t,e.current)))}function Id(){var e=vt.current;return e===null?!0:(ce&4194048)===ce?Rt===null:(ce&62914560)===ce||(ce&536870912)!==0?e===Rt:!1}function Pd(){var e=R.H;return R.H=Rl,e===null?Rl:e}function eh(){var e=R.A;return R.A=_y,e}function ro(){Me=4,Nn||(ce&4194048)!==ce&&vt.current!==null||($a=!0),(jn&134217727)===0&&(ra&134217727)===0||Ee===null||Rn(Ee,ce,wt,!1)}function Lr(e,t,n){var l=me;me|=2;var s=Pd(),u=eh();(Ee!==e||ce!==t)&&(oo=null,Xa(e,t)),t=!1;var d=Me;e:do try{if(ye!==0&&re!==null){var p=re,b=xt;switch(ye){case 8:Hr(),d=6;break e;case 3:case 2:case 9:case 6:vt.current===null&&(t=!0);var A=ye;if(ye=0,xt=null,Qa(e,p,b,A),n&&$a){d=0;break e}break;default:A=ye,ye=0,xt=null,Qa(e,p,b,A)}}zy(),d=Me;break}catch(C){Fd(e,C)}while(!0);return t&&e.shellSuspendCounter++,tn=Pn=null,me=l,R.H=s,R.A=u,re===null&&(Ee=null,ce=0,ki()),d}function zy(){for(;re!==null;)th(re)}function Ey(e,t){var n=me;me|=2;var l=Pd(),s=eh();Ee!==e||ce!==t?(oo=null,io=ht()+500,Xa(e,t)):$a=rl(e,t);e:do try{if(ye!==0&&re!==null){t=re;var u=xt;t:switch(ye){case 1:ye=0,xt=null,Qa(e,t,u,1);break;case 2:case 9:if(ff(u)){ye=0,xt=null,nh(t);break}t=function(){ye!==2&&ye!==9||Ee!==e||(ye=7),Jt(e)},u.then(t,t);break e;case 3:ye=7;break e;case 4:ye=5;break e;case 7:ff(u)?(ye=0,xt=null,nh(t)):(ye=0,xt=null,Qa(e,t,u,7));break;case 5:var d=null;switch(re.tag){case 26:d=re.memoizedState;case 5:case 27:var p=re;if(d?Gh(d):p.stateNode.complete){ye=0,xt=null;var b=p.sibling;if(b!==null)re=b;else{var A=p.return;A!==null?(re=A,uo(A)):re=null}break t}}ye=0,xt=null,Qa(e,t,u,5);break;case 6:ye=0,xt=null,Qa(e,t,u,6);break;case 8:Hr(),Me=6;break e;default:throw Error(r(462))}}Ay();break}catch(C){Fd(e,C)}while(!0);return tn=Pn=null,R.H=l,R.A=s,me=n,re!==null?0:(Ee=null,ce=0,ki(),Me)}function Ay(){for(;re!==null&&!Wm();)th(re)}function th(e){var t=zd(e.alternate,e,dn);e.memoizedProps=e.pendingProps,t===null?uo(e):re=t}function nh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bd(n,t,t.pendingProps,t.type,void 0,ce);break;case 11:t=bd(n,t,t.pendingProps,t.type.render,t.ref,ce);break;case 5:tr(t);default:Ad(n,t),t=re=Pc(t,dn),t=zd(n,t,dn)}e.memoizedProps=e.pendingProps,t===null?uo(e):re=t}function Qa(e,t,n,l){tn=Pn=null,tr(t),Ua=null,zl=0;var s=t.return;try{if(my(e,s,t,n,ce)){Me=1,Wi(e,Nt(n,e.current)),re=null;return}}catch(u){if(s!==null)throw re=s,u;Me=1,Wi(e,Nt(n,e.current)),re=null;return}t.flags&32768?(de||l===1?e=!0:$a||(ce&536870912)!==0?e=!1:(Nn=e=!0,(l===2||l===9||l===3||l===6)&&(l=vt.current,l!==null&&l.tag===13&&(l.flags|=16384))),ah(t,e)):uo(t)}function uo(e){var t=e;do{if((t.flags&32768)!==0){ah(t,Nn);return}e=t.return;var n=vy(t.alternate,t,dn);if(n!==null){re=n;return}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);Me===0&&(Me=5)}function ah(e,t){do{var n=by(e.alternate,e);if(n!==null){n.flags&=32767,re=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){re=e;return}re=e=n}while(e!==null);Me=6,re=null}function lh(e,t,n,l,s,u,d,p,b){e.cancelPendingCommit=null;do co();while(Ye!==0);if((me&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(u=t.lanes|t.childLanes,u|=ks,og(e,n,u,d,p,b),e===Ee&&(re=Ee=null,ce=0),Va=t,Cn=e,hn=n,Ur=u,Br=s,Qd=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Oy(di,function(){return uh(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=R.T,R.T=null,s=G.p,G.p=2,d=me,me|=4;try{xy(e,t,n)}finally{me=d,G.p=s,R.T=l}}Ye=1,ih(),oh(),sh()}}function ih(){if(Ye===1){Ye=0;var e=Cn,t=Va,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var l=G.p;G.p=2;var s=me;me|=4;try{Hd(t,e);var u=Ir,d=Yc(e.containerInfo),p=u.focusedElem,b=u.selectionRange;if(d!==p&&p&&p.ownerDocument&&$c(p.ownerDocument.documentElement,p)){if
vendor: 17,265 bytes, lines 48-49
48(b!==null&&Ss(p)){var A=b.start,C=b.end;if(C===void 0&&(C=A),"selectionStart"in p)p.selectionStart=A,p.selectionEnd=Math.min(C,p.value.length);else{var D=p.ownerDocument||document,k=D&&D.defaultView||window;if(k.getSelection){var j=k.getSelection(),Y=p.textContent.length,F=Math.min(b.start,Y),Se=b.end===void 0?F:Math.min(b.end,Y);!j.extend&&F>Se&&(d=Se,Se=F,F=d);var T=qc(p,F),_=qc(p,Se);if(T&&_&&(j.rangeCount!==1||j.anchorNode!==T.node||j.anchorOffset!==T.offset||j.focusNode!==_.node||j.focusOffset!==_.offset)){var E=D.createRange();E.setStart(T.node,T.offset),j.removeAllRanges(),F>Se?(j.addRange(E),j.extend(_.node,_.offset)):(E.setEnd(_.node,_.offset),j.addRange(E))}}}}for(D=[],j=p;j=j.parentNode;)j.nodeType===1&&D.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<D.length;p++){var M=D[p];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}So=!!Fr,Ir=Fr=null}finally{me=s,G.p=l,R.T=n}}e.current=t,Ye=2}}function oh(){if(Ye===2){Ye=0;var e=Cn,t=Va,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var l=G.p;G.p=2;var s=me;me|=4;try{Md(e,t.alternate,t)}finally{me=s,G.p=l,R.T=n}}Ye=3}}function sh(){if(Ye===4||Ye===3){Ye=0,Fm();var e=Cn,t=Va,n=hn,l=Qd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ye=5:(Ye=0,Va=Cn=null,rh(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(On=null),ls(n),t=t.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(sl,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=R.T,s=G.p,G.p=2,R.T=null;try{for(var u=e.onRecoverableError,d=0;d<l.length;d++){var p=l[d];u(p.value,{componentStack:p.stack})}}finally{R.T=t,G.p=s}}(hn&3)!==0&&co(),Jt(e),s=e.pendingLanes,(n&261930)!==0&&(s&42)!==0?e===Zr?ql++:(ql=0,Zr=e):ql=0,$l(0)}}function rh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Sl(t)))}function co(){return ih(),oh(),sh(),uh()}function uh(){if(Ye!==5)return!1;var e=Cn,t=Ur;Ur=0;var n=ls(hn),l=R.T,s=G.p;try{G.p=32>n?32:n,R.T=null,n=Br,Br=null;var u=Cn,d=hn;if(Ye=0,Va=Cn=null,hn=0,(me&6)!==0)throw Error(r(331));var p=me;if(me|=4,Yd(u.current),Gd(u,u.current,d,n),me=p,$l(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(sl,u)}catch{}return!0}finally{G.p=s,R.T=l,rh(e,t)}}function ch(e,t,n){t=Nt(n,t),t=gr(e.stateNode,t,2),e=zn(e,t,2),e!==null&&(ul(e,2),Jt(e))}function ve(e,t,n){if(e.tag===3)ch(e,e,n);else for(;t!==null;){if(t.tag===3){ch(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(On===null||!On.has(l))){e=Nt(n,e),n=fd(2),l=zn(t,n,2),l!==null&&(dd(n,l,t,e),ul(l,2),Jt(l));break}}t=t.return}}function Gr(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new Sy;var s=new Set;l.set(t,s)}else s=l.get(t),s===void 0&&(s=new Set,l.set(t,s));s.has(n)||(Rr=!0,s.add(n),e=ky.bind(null,e,t,n),t.then(e,e))}function ky(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ee===e&&(ce&n)===n&&(Me===4||Me===3&&(ce&62914560)===ce&&300>ht()-lo?(me&2)===0&&Xa(e,0):Mr|=n,Ya===ce&&(Ya=0)),Jt(e)}function fh(e,t){t===0&&(t=lc()),e=Wn(e,t),e!==null&&(ul(e,t),Jt(e))}function Ny(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fh(e,n)}function jy(e,t){var n=0;switch(e.tag){case 31:case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(t),fh(e,n)}function Oy(e,t){return es(e,t)}var fo=null,Ja=null,qr=!1,ho=!1,$r=!1,Mn=0;function Jt(e){e!==Ja&&e.next===null&&(Ja===null?fo=Ja=e:Ja=Ja.next=e),ho=!0,qr||(qr=!0,Ry())}function $l(e,t){if(!$r&&ho){$r=!0;do for(var n=!1,l=fo;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var u=0;else{var d=l.suspendedLanes,p=l.pingedLanes;u=(1<<31-mt(42|e)+1)-1,u&=s&~(d&~p),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,mh(l,u))}else u=ce,u=gi(l,l===Ee?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||rl(l,u)||(n=!0,mh(l,u));l=l.next}while(n);$r=!1}}function Cy(){dh()}function dh(){ho=qr=!1;var e=0;Mn!==0&&$y()&&(e=Mn);for(var t=ht(),n=null,l=fo;l!==null;){var s=l.next,u=hh(l,t);u===0?(l.next=null,n===null?fo=s:n.next=s,s===null&&(Ja=n)):(n=l,(e!==0||(u&3)!==0)&&(ho=!0)),l=s}Ye!==0&&Ye!==5||$l(e),Mn!==0&&(Mn=0)}function hh(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-mt(u),p=1<<d,b=s[d];b===-1?((p&n)===0||(p&l)!==0)&&(s[d]=ig(p,t)):b<=t&&(e.expiredLanes|=p),u&=~p}if(t=Ee,n=ce,n=gi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,n===0||e===t&&(ye===2||ye===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&ts(l),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||rl(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(l!==null&&ts(l),ls(n)){case 2:case 8:n=nc;break;case 32:n=di;break;case 268435456:n=ac;break;default:n=di}return l=ph.bind(null,e),n=es(n,l),e.callbackPriority=t,e.callbackNode=n,t}return l!==null&&l!==null&&ts(l),e.callbackPriority=2,e.callbackNode=null,2}function ph(e,t){if(Ye!==0&&Ye!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(co()&&e.callbackNode!==n)return null;var l=ce;return l=gi(e,e===Ee?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Kd(e,l,t),hh(e,ht()),e.callbackNode!=null&&e.callbackNode===n?ph.bind(null,e):null)}function mh(e,t){if(co())return null;Kd(e,t,!0)}function Ry(){Vy(function(){(me&6)!==0?es(tc,Cy):dh()})}function Yr(){if(Mn===0){var e=Ra;e===0&&(e=hi,hi<<=1,(hi&261888)===0&&(hi=256)),Mn=e}return Mn}function gh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:xi(""+e)}function yh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function My(e,t,n,l,s){if(t==="submit"&&n&&n.stateNode===s){var u=gh((s[ot]||null).action),d=l.submitter;d&&(t=(t=d[ot]||null)?gh(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var p=new Ti("action","action",null,l,s);e.push({event:p,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Mn!==0){var b=d?yh(s,d):new FormData(s);cr(n,{pending:!0,data:b,method:s.method,action:u},null,b)}}else typeof u=="function"&&(p.preventDefault(),b=d?yh(s,d):new FormData(s),cr(n,{pending:!0,data:b,method:s.method,action:u},u,b))},currentTarget:s}]})}}for(var Vr=0;Vr<As.length;Vr++){var Xr=As[Vr],Dy=Xr.toLowerCase(),Uy=Xr[0].toUpperCase()+Xr.slice(1);Ht(Dy,"on"+Uy)}Ht(Qc,"onAnimationEnd"),Ht(Jc,"onAnimationIteration"),Ht(Kc,"onAnimationStart"),Ht("dblclick","onDoubleClick"),Ht("focusin","onFocus"),Ht("focusout","onBlur"),Ht(Ig,"onTransitionRun"),Ht(Pg,"onTransitionStart"),Ht(ey,"onTransitionCancel"),Ht(Wc,"onTransitionEnd"),ba("onMouseEnter",["mouseout","mouseover"]),ba("onMouseLeave",["mouseout","mouseover"]),ba("onPointerEnter",["pointerout","pointerover"]),ba("onPointerLeave",["pointerout","pointerover"]),Xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yl="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(" "),By=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yl));function vh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var l=e[n],s=l.event;l=l.listeners;e:{var u=void 0;if(t)for(var d=l.length-1;0<=d;d--){var p=l[d],b=p.instance,A=p.currentTarget;if(p=p.listener,b!==u&&s.isPropagationStopped())break e;u=p,s.currentTarget=A;try{u(s)}catch(C){Ai(C)}s.currentTarget=null,u=b}else for(d=0;d<l.length;d++){if(p=l[d],b=p.instance,A=p.currentTarget,p=p.listener,b!==u&&s.isPropagationStopped())break e;u=p,s.currentTarget=A;try{u(s)}catch(C){Ai(C)}s.currentTarget=null,u=b}}}}function ue(e,t){var n=t[is];n===void 0&&(n=t[is]=new Set);var l=e+"__bubble";n.has(l)||(bh(t,e,2,!1),n.add(l))}function Qr(e,t,n){var l=0;t&&(l|=4),bh(n,e,l,t)}var po="_reactListening"+Math.random().toString(36).slice(2);function Jr(e){if(!e[po]){e[po]=!0,fc.forEach(function(n){n!=="selectionchange"&&(By.has(n)||Qr(n,!1,e),Qr(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[po]||(t[po]=!0,Qr("selectionchange",!1,t))}}function bh(e,t,n,l){switch(Jh(t)){case 2:var s=f0;break;case 8:s=d0;break;default:s=uu}n=s.bind(null,t,n,e),s=void 0,!ps||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Kr(e,t,n,l,s){var u=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var p=l.stateNode.containerInfo;if(p===s)break;if(d===4)for(d=l.return;d!==null;){var b=d.tag;if((b===3||b===4)&&d.stateNode.containerInfo===s)return;d=d.return}for(;p!==null;){if(d=ga(p),d===null)return;if(b=d.tag,b===5||b===6||b===26||b===27){l=u=d;continue e}p=p.parentNode}}l=l.return}Sc(function(){var A=u,C=ds(n),D=[];e:{var k=Fc.get(e);if(k!==void 0){var j=Ti,Y=e;switch(e){case"keypress":if(_i(n)===0)break e;case"keydown":case"keyup":j=jg;break;case"focusin":Y="focus",j=vs;break;case"focusout":Y="blur",j=vs;break;case"beforeblur":case"afterblur":j=vs;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":j=Ec;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=vg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Rg;break;case Qc:case Jc:case Kc:j=wg;break;case Wc:j=Dg;break;case"scroll":case"scrollend":j=gg;break;case"wheel":j=Bg;break;case"copy":case"cut":case"paste":j=Sg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=kc;break;case"toggle":case"beforetoggle":j=Hg}var F=(t&4)!==0,Se=!F&&(e==="scroll"||e==="scrollend"),T=F?k!==null?k+"Capture":null:k;F=[];for(var _=A,E;_!==null;){var M=_;if(E=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||E===null||T===null||(M=dl(_,T),M!=null&&F.push(Vl(_,M,E))),Se)break;_=_.return}0<F.length&&(k=new j(k,Y,null,n,C),D.push({event:k,listeners:F}))}}if((t&7)===0){e:{if(k=e==="mouseover"||e==="pointerover",j=e==="mouseout"||e==="pointerout",k&&n!==fs&&(Y=n.relatedTarget||n.fromElement)&&(ga(Y)||Y[ma]))break e;if((j||k)&&(k=C.window===C?C:(k=C.ownerDocument)?k.defaultView||k.parentWindow:window,j?(Y=n.relatedTarget||n.toElement,j=A,Y=Y?ga(Y):null,Y!==null&&(Se=f(Y),F=Y.tag,Y!==Se||F!==5&&F!==27&&F!==6)&&(Y=null)):(j=null,Y=A),j!==Y)){if(F=Ec,M="onMouseLeave",T="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(F=kc,M="onPointerLeave",T="onPointerEnter",_="pointer"),Se=j==null?k:fl(j),E=Y==null?k:fl(Y),k=new F(M,_+"leave",j,n,C),k.target=Se,k.relatedTarget=E,M=null,ga(C)===A&&(F=new F(T,_+"enter",Y,n,C),F.target=E,F.relatedTarget=Se,M=F),Se=M,j&&Y)t:{for(F=Zy,T=j,_=Y,E=0,M=T;M;M=F(M))E++;M=0;for(var J=_;J;J=F(J))M++;for(;0<E-M;)T=F(T),E--;for(;0<M-E;)_=F(_),M--;for(;E--;){if(T===_||_!==null&&T===_.alternate){F=T;break t}T=F(T),_=F(_)}F=null}else F=null;j!==null&&xh(D,k,j,F,!1),Y!==null&&Se!==null&&xh(D,Se,Y,F,!0)}}e:{if(k=A?fl(A):window,j=k.nodeName&&k.nodeName.toLowerCase(),j==="select"||j==="input"&&k.type==="file")var he=Uc;else if(Mc(k))if(Bc)he=Kg;else{he=Qg;var Q=Xg}else j=k.nodeName,!j||j.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?A&&cs(A.elementType)&&(he=Uc):he=Jg;if(he&&(he=he(e,A))){Dc(D,he,n,C);break e}Q&&Q(e,k,A),e==="focusout"&&A&&k.type==="number"&&A.memoizedProps.value!=null&&us(k,"number",k.value)}switch(Q=A?fl(A):window,e){case"focusin":(Mc(Q)||Q.contentEditable==="true")&&(za=Q,Ts=A,xl=null);break;case"focusout":xl=Ts=za=null;break;case"mousedown":zs=!0;break;case"contextmenu":case"mouseup":case"dragend":zs=!1,Vc(D,n,C);break;case"selectionchange":if(Fg)break;case"keydown":case"keyup":Vc(D,n,C)}var ie;if(xs)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else Ta?Cc(e,n)&&(fe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(fe="onCompositionStart");fe&&(Nc&&n.locale!=="ko"&&(Ta||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&Ta&&(ie=Tc()):(vn=C,ms="value"in vn?vn.value:vn.textContent,Ta=!0)),Q=mo(A,fe),0<Q.length&&(fe=new Ac(fe,e,null,n,C),D.push({event:fe,listeners:Q}),ie?fe.data=ie:(ie=Rc(n),ie!==null&&(fe.data=ie)))),(ie=Gg?qg(e,n):$g(e,n))&&(fe=mo(A,"onBeforeInput"),0<fe.length&&(Q=new Ac("onBeforeInput","beforeinput",null,n,C),D.push({event:Q,listeners:fe}),Q.data=ie)),My(D,e,A,n,C)}vh(D,t)})}function Vl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function mo(e,t){for(var n=t+"Capture",l=[];e!==null;){var s=e,u=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||u===null||(s=dl(e,n),s!=null&&l.unshift(Vl(e,s,u)),s=dl(e,t),s!=null&&l.push(Vl(e,s,u))),e.tag===3)return l;e=e.return}return[]}function Zy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function xh(e,t,n,l,s){for(var u=t._reactName,d=[];n!==null&&n!==l;){var p=n,b=p.alternate,A=p.stateNode;if(p=p.tag,b!==null&&b===l)break;p!==5&&p!==26&&p!==27||A===null||(b=A,s?(A=dl(n,u),A!=null&&d.unshift(Vl(n,A,b))):s||(A=dl(n,u),A!=null&&d.push(Vl(n,A,b)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var Hy=/\r\n?/g,Ly=/\u0000|\uFFFD/g;function wh(e){return(typeof e=="string"?e:""+e).replace(Hy,`
49`).replace(Ly,"")}function _h(e,t){return t=wh(t),wh(e)===t}function _e(e,t,n,l,s,u){switch(n){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||wa(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&wa(e,""+l);break;case"className":vi(e,"class",l);break;case"tabIndex":vi(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":vi(e,n,l);break;case"style":wc(e,l,u);break;case"data":if(t!=="object"){vi(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=xi(""+l),e.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(n==="formAction"?(t!=="input"&&_e(e,t,"name",s.name,s,null),_e(e,t,"formEncType",s.formEncType,s,null),_e(e,t,"formMethod",s.formMethod,s,null),_e(e,t,"formTarget",s.formTarget,s,null)):(_e(e,t,"encType",s.encType,s,null),_e(e,t,"method",s.method,s,null),_e(e,t,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=xi(""+l),e.setAttribute(n,l);break;case"onClick":l!=null&&(e.onclick=Ft);break;case"onScroll":l!=null&&ue("scroll",e);break;case"onScrollEnd":l!=null&&ue("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}n=xi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""+l):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":l===!0?e.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,l):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(n,l):e.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(n):e.setAttribute(n,l);break;case"popover":ue("beforetoggle",e),ue("toggle",e),yi(e,"popover",l);break;case"xlinkActuate":Wt(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Wt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Wt(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Wt(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Wt(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Wt(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Wt(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":yi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=pg.get(n)||n,yi(e,n,l))}}function Wr(e,t,n,l,s,u){switch(n){case"style":wc(e,l,u);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof l=="string"?wa(e,l):(typeof l=="number"||typeof l=="bigint")&&wa(e,""+l);break;case"onScroll":l!=null&&ue("scroll",e);break;case"onScrollEnd":l!=null&&ue("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Ft);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dc.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),u=e[ot]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,s),typeof l=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,l,s);break e}n in e?e[n]=l:l===!0?e.setAttribute(n,""):yi(e,n,l)}}}function Pe(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ue("error",e),ue("load",e);var l=!1,s=!1,u;for(u in n)if(n.hasOwnProperty(u)){var d=n[u];if(d!=null)switch(u){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:_e(e,t,u,d,n,null)}}s&&_e(e,t,"srcSet",n.srcSet,n,null),l&&_e(e,t,"src",n.src,n,null);return;case"input":ue("invalid",e);var p=u=d=s=null,b=null,A=null;for(l in n)if(n.hasOwnProperty(l)){var C=n[l];if(C!=null)switch(l){case"name":s=C;break;case"type":d=C;break;case"checked":b=C;break;case"defaultChecked":A=C;break;case"value":u=C;break;case"defaultValue":p=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(r(137,t));break;default:_e(e,t,l,C,n,null)}}yc(e,u,p,b,A,d,s,!1);return;case"select":ue("invalid",e),l=d=u=null;for(s in n)if(n.hasOwnProperty(s)&&(p=n[s],p!=null))switch(s){case"value":u=p;break;case"defaultValue":d=p;break;case"multiple":l=p;default:_e(e,t,s,p,n,null)}t=u,n=d,e.multiple=!!l,t!=null?xa(e,!!l,t,!1):n!=null&&xa(e,!!l,n,!0);return;case"textarea":ue("invalid",e),u=s=l=null;for(d in n)if(n.hasOwnProperty(d)&&(p=n[d],p!=null))switch(d){case"value":l=p;break;case"defaultValue":s=p;break;case"children":u=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(r(91));break;default:_e(e,t,d,p,n,null)}bc(e,l,s,u);return;case"option":for(b in n)if(n.hasOwnProperty(b)&&(l=n[b],l!=null))switch(b){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:_e(e,t,b,l,n,null)}return;case"dialog":ue("beforetoggle",e),ue("toggle",e),ue("cancel",e),ue("close",e);break;case"iframe":case"object":ue("load",e);break;case"video":case"audio":for(l=0;l<Yl.length;l++)ue(Yl[l],e);break;case"image":ue("error",e),ue("load",e);break;case"details":ue("toggle",e);break;case"embed":case"source":case"link":ue("error",e),ue("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in n)if(n.hasOwnProperty(A)&&(l=n[A],l!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:_e(e,t,A,l,n,null)}return;default:if(cs(t)){for(C in n)n.hasOwnProperty(C)&&(l=n[C],l!==void 0&&Wr(e,t,C,l,n,void 0));return}}
vendor: 5,964 bytes, line 49
49for(p in n)n.hasOwnProperty(p)&&(l=n[p],l!=null&&_e(e,t,p,l,n,null))}function Gy(e,t,n,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,u=null,d=null,p=null,b=null,A=null,C=null;for(j in n){var D=n[j];if(n.hasOwnProperty(j)&&D!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":b=D;default:l.hasOwnProperty(j)||_e(e,t,j,null,l,D)}}for(var k in l){var j=l[k];if(D=n[k],l.hasOwnProperty(k)&&(j!=null||D!=null))switch(k){case"type":u=j;break;case"name":s=j;break;case"checked":A=j;break;case"defaultChecked":C=j;break;case"value":d=j;break;case"defaultValue":p=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,t));break;default:j!==D&&_e(e,t,k,j,l,D)}}rs(e,d,p,b,A,C,u,s);return;case"select":j=d=p=k=null;for(u in n)if(b=n[u],n.hasOwnProperty(u)&&b!=null)switch(u){case"value":break;case"multiple":j=b;default:l.hasOwnProperty(u)||_e(e,t,u,null,l,b)}for(s in l)if(u=l[s],b=n[s],l.hasOwnProperty(s)&&(u!=null||b!=null))switch(s){case"value":k=u;break;case"defaultValue":p=u;break;case"multiple":d=u;default:u!==b&&_e(e,t,s,u,l,b)}t=p,n=d,l=j,k!=null?xa(e,!!n,k,!1):!!l!=!!n&&(t!=null?xa(e,!!n,t,!0):xa(e,!!n,n?[]:"",!1));return;case"textarea":j=k=null;for(p in n)if(s=n[p],n.hasOwnProperty(p)&&s!=null&&!l.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:_e(e,t,p,null,l,s)}for(d in l)if(s=l[d],u=n[d],l.hasOwnProperty(d)&&(s!=null||u!=null))switch(d){case"value":k=s;break;case"defaultValue":j=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:s!==u&&_e(e,t,d,s,l,u)}vc(e,k,j);return;case"option":for(var Y in n)if(k=n[Y],n.hasOwnProperty(Y)&&k!=null&&!l.hasOwnProperty(Y))switch(Y){case"selected":e.selected=!1;break;default:_e(e,t,Y,null,l,k)}for(b in l)if(k=l[b],j=n[b],l.hasOwnProperty(b)&&k!==j&&(k!=null||j!=null))switch(b){case"selected":e.selected=k&&typeof k!="function"&&typeof k!="symbol";break;default:_e(e,t,b,k,l,j)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var F in n)k=n[F],n.hasOwnProperty(F)&&k!=null&&!l.hasOwnProperty(F)&&_e(e,t,F,null,l,k);for(A in l)if(k=l[A],j=n[A],l.hasOwnProperty(A)&&k!==j&&(k!=null||j!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,t));break;default:_e(e,t,A,k,l,j)}return;default:if(cs(t)){for(var Se in n)k=n[Se],n.hasOwnProperty(Se)&&k!==void 0&&!l.hasOwnProperty(Se)&&Wr(e,t,Se,void 0,l,k);for(C in l)k=l[C],j=n[C],!l.hasOwnProperty(C)||k===j||k===void 0&&j===void 0||Wr(e,t,C,k,l,j);return}}for(var T in n)k=n[T],n.hasOwnProperty(T)&&k!=null&&!l.hasOwnProperty(T)&&_e(e,t,T,null,l,k);for(D in l)k=l[D],j=n[D],!l.hasOwnProperty(D)||k===j||k==null&&j==null||_e(e,t,D,k,l,j)}function Sh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function qy(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var s=n[l],u=s.transferSize,d=s.initiatorType,p=s.duration;if(u&&p&&Sh(d)){for(d=0,p=s.responseEnd,l+=1;l<n.length;l++){var b=n[l],A=b.startTime;if(A>p)break;var C=b.transferSize,D=b.initiatorType;C&&Sh(D)&&(b=b.responseEnd,d+=C*(b<p?1:(p-A)/(b-A)))}if(--l,t+=8*(u+d)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Fr=null,Ir=null;function go(e){return e.nodeType===9?e:e.ownerDocument}function Th(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Pr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var eu=null;function $y(){var e=window.event;return e&&e.type==="popstate"?e===eu?!1:(eu=e,!0):(eu=null,!1)}var Eh=typeof setTimeout=="function"?setTimeout:void 0,Yy=typeof clearTimeout=="function"?clearTimeout:void 0,Ah=typeof Promise=="function"?Promise:void 0,Vy=typeof queueMicrotask=="function"?queueMicrotask:typeof Ah<"u"?function(e){return Ah.resolve(null).then(e).catch(Xy)}:Eh;function Xy(e){setTimeout(function(){throw e})}function Dn(e){return e==="head"}function kh(e,t){var n=t,l=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(l===0){e.removeChild(s),Ia(t);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")Xl(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Xl(n);for(var u=n.firstChild;u;){var d=u.nextSibling,p=u.nodeName;u[cl]||p==="SCRIPT"||p==="STYLE"||p==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&Xl(e.ownerDocument.body);n=s}while(n);Ia(t)}function Nh(e,t){var n=e;e=0;do{var l=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=l}while(n)}function tu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":tu(n),os(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Qy(e,t,n,l){for(;
vendor: 10,005 bytes, line 49
49e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[cl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Mt(e.nextSibling),e===null)break}return null}function Jy(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Mt(e.nextSibling),e===null))return null;return e}function jh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Mt(e.nextSibling),e===null))return null;return e}function nu(e){return e.data==="$?"||e.data==="$~"}function au(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Ky(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var l=function(){t(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Mt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var lu=null;function Oh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Mt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Ch(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Rh(e,t,n){switch(t=go(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Xl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);os(e)}var Dt=new Map,Mh=new Set;function yo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var pn=G.d;G.d={f:Wy,r:Fy,D:Iy,C:Py,L:e0,m:t0,X:a0,S:n0,M:l0};function Wy(){var e=pn.f(),t=so();return e||t}function Fy(e){var t=ya(e);t!==null&&t.tag===5&&t.type==="form"?Ff(t):pn.r(e)}var Ka=typeof document>"u"?null:document;function Dh(e,t,n){var l=Ka;if(l&&typeof t=="string"&&t){var s=At(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Mh.has(s)||(Mh.add(s),e={rel:e,crossOrigin:n,href:t},l.querySelector(s)===null&&(t=l.createElement("link"),Pe(t,"link",e),Qe(t),l.head.appendChild(t)))}}function Iy(e){pn.D(e),Dh("dns-prefetch",e,null)}function Py(e,t){pn.C(e,t),Dh("preconnect",e,t)}function e0(e,t,n){pn.L(e,t,n);var l=Ka;if(l&&e&&t){var s='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+At(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+At(n.imageSizes)+'"]')):s+='[href="'+At(e)+'"]';var u=s;switch(t){case"style":u=Wa(e);break;case"script":u=Fa(e)}Dt.has(u)||(e=w({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Dt.set(u,e),l.querySelector(s)!==null||t==="style"&&l.querySelector(Ql(u))||t==="script"&&l.querySelector(Jl(u))||(t=l.createElement("link"),Pe(t,"link",e),Qe(t),l.head.appendChild(t)))}}function t0(e,t){pn.m(e,t);var n=Ka;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+At(l)+'"][href="'+At(e)+'"]',u=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Fa(e)}if(!Dt.has(u)&&(e=w({rel:"modulepreload",href:e},t),Dt.set(u,e),n.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Jl(u)))return}l=n.createElement("link"),Pe(l,"link",e),Qe(l),n.head.appendChild(l)}}}function n0(e,t,n){pn.S(e,t,n);var l=Ka;if(l&&e){var s=va(l).hoistableStyles,u=Wa(e);t=t||"default";var d=s.get(u);if(!d){var p={loading:0,preload:null};if(d=l.querySelector(Ql(u)))p.loading=5;else{e=w({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Dt.get(u))&&iu(e,n);var b=d=l.createElement("link");Qe(b),Pe(b,"link",e),b._p=new Promise(function(A,C){b.onload=A,b.onerror=C}),b.addEventListener("load",function(){p.loading|=1}),b.addEventListener("error",function(){p.loading|=2}),p.loading|=4,vo(d,t,l)}d={type:"stylesheet",instance:d,count:1,state:p},s.set(u,d)}}}function a0(e,t){pn.X(e,t);var n=Ka;if(n&&e){var l=va(n).hoistableScripts,s=Fa(e),u=l.get(s);u||(u=n.querySelector(Jl(s)),u||(e=w({src:e,async:!0},t),(t=Dt.get(s))&&ou(e,t),u=n.createElement("script"),Qe(u),Pe(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(s,u))}}function l0(e,t){pn.M(e,t);var n=Ka;if(n&&e){var l=va(n).hoistableScripts,s=Fa(e),u=l.get(s);u||(u=n.querySelector(Jl(s)),u||(e=w({src:e,async:!0,type:"module"},t),(t=Dt.get(s))&&ou(e,t),u=n.createElement("script"),Qe(u),Pe(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(s,u))}}function Uh(e,t,n,l){var s=(s=se.current)?yo(s):null;if(!s)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Wa(n.href),n=va(s).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Wa(n.href);var u=va(s).hoistableStyles,d=u.get(e);if(d||(s=s.ownerDocument||s,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=s.querySelector(Ql(e)))&&!u._p&&(d.instance=u,d.state.loading=5),Dt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Dt.set(e,n),u||i0(s,e,n,d.state))),t&&l===null)throw Error(r(528,""));return d}if(t&&l!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Fa(n),n=va(s).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Wa(e){return'href="'+At(e)+'"'}function Ql(e){return'link[rel="stylesheet"]['+e+"]"}function Bh(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function i0(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Pe(t,"link",n),Qe(t),e.head.appendChild(t))}function Fa(e){return'[src="'+At(e)+'"]'}function Jl(e){return"script[async]"+e}function Zh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+At(n.href)+'"]');if(l)return t.instance=l,Qe(l),l;var s=w({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Qe(l),Pe(l,"style",s),vo(l,n.precedence,e),t.instance=l;case"stylesheet":s=Wa(n.href);var u=e.querySelector(Ql(s));if(u)return t.state.loading|=4,t.instance=u,Qe(u),u;l=Bh(n),(s=Dt.get(s))&&iu(l,s),u=(e.ownerDocument||e).createElement("link"),Qe(u);var d=u;return d._p=new Promise(function(p,b){d.onload=p,d.onerror=b}),Pe(u,"link",l),t.state.loading|=4,vo(u,n.precedence,e),t.instance=u;case"script":return u=Fa(n.src),(s=e.querySelector(Jl(u)))?(t.instance=s,Qe(s),s):(l=n,(s=Dt.get(u))&&(l=w({},n),ou(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),Qe(s),Pe(s,"link",l),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,vo(l,n.precedence,e));return t.instance}function vo(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,u=s,d=0;d<l.length;d++){var p=l[d];if(p.dataset.precedence===t)u=p;else if(u!==s)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function iu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ou(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var bo=null;function Hh(e,t,n){if(bo===null){var l=new Map,s=bo=new Map;s.set(n,l)}else s=bo,l=s.get(n),l||(l=new Map,s.set(n,l));if(l.has(e))return l;for(l.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var u=n[s];if(!(u[cl]||u[Ke]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var d=u.getAttribute(t)||"";d=e+d;var p=l.get(d);p?p.push(u):l.set(d,[u])}}return l}
vendor: 12,176 bytes, line 49
49function Lh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function o0(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Gh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function s0(e,t,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=Wa(l.href),u=t.querySelector(Ql(s));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=xo.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,Qe(u);return}u=t.ownerDocument||t,l=Bh(l),(s=Dt.get(s))&&iu(l,s),u=u.createElement("link"),Qe(u);var d=u;d._p=new Promise(function(p,b){d.onload=p,d.onerror=b}),Pe(u,"link",l),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=xo.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var su=0;function r0(e,t){return e.stylesheets&&e.count===0&&_o(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var l=setTimeout(function(){if(e.stylesheets&&_o(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&su===0&&(su=62500*qy());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&_o(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>su?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function xo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_o(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wo=null;function _o(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wo=new Map,t.forEach(u0,e),wo=null,xo.call(e))}function u0(e,t){if(!(t.state.loading&4)){var n=wo.get(e);if(n)var l=n.get(null);else{n=new Map,wo.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<s.length;u++){var d=s[u];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),l=d)}l&&n.set(null,l)}s=t.instance,d=s.getAttribute("data-precedence"),u=n.get(d)||l,u===l&&n.set(null,s),n.set(d,s),this.count++,l=xo.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),u?u.parentNode.insertBefore(s,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Kl={$$typeof:W,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function c0(e,t,n,l,s,u,d,p,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ns(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ns(0),this.hiddenUpdates=ns(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=u,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function qh(e,t,n,l,s,u,d,p,b,A,C,D){return e=new c0(e,t,n,d,b,A,C,D,p),t=1,u===!0&&(t|=24),u=yt(3,null,null,t),e.current=u,u.stateNode=e,t=Ls(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:l,isDehydrated:n,cache:t},Ys(u),e}function $h(e){return e?(e=ka,e):ka}function Yh(e,t,n,l,s,u){s=$h(s),l.context===null?l.context=s:l.pendingContext=s,l=Tn(t),l.payload={element:n},u=u===void 0?null:u,u!==null&&(l.callback=u),n=zn(e,l,t),n!==null&&(dt(n,e,t),Al(n,e,t))}function Vh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ru(e,t){Vh(e,t),(e=e.alternate)&&Vh(e,t)}function Xh(e){if(e.tag===13||e.tag===31){var t=Wn(e,67108864);t!==null&&dt(t,e,67108864),ru(e,67108864)}}function Qh(e){if(e.tag===13||e.tag===31){var t=_t();t=as(t);var n=Wn(e,t);n!==null&&dt(n,e,t),ru(e,t)}}var So=!0;function f0(e,t,n,l){var s=R.T;R.T=null;var u=G.p;try{G.p=2,uu(e,t,n,l)}finally{G.p=u,R.T=s}}function d0(e,t,n,l){var s=R.T;R.T=null;var u=G.p;try{G.p=8,uu(e,t,n,l)}finally{G.p=u,R.T=s}}function uu(e,t,n,l){if(So){var s=cu(l);if(s===null)Kr(e,t,l,To,n),Kh(e,l);else if(p0(s,e,t,n,l))l.stopPropagation();else if(Kh(e,l),t&4&&-1<h0.indexOf(e)){for(;s!==null;){var u=ya(s);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var d=Vn(u.pendingLanes);if(d!==0){var p=u;for(p.pendingLanes|=2,p.entangledLanes|=2;d;){var b=1<<31-mt(d);p.entanglements[1]|=b,d&=~b}Jt(u),(me&6)===0&&(io=ht()+500,$l(0))}}break;case 31:case 13:p=Wn(u,2),p!==null&&dt(p,u,2),so(),ru(u,2)}if(u=cu(l),u===null&&Kr(e,t,l,To,n),u===s)break;s=u}s!==null&&l.stopPropagation()}else Kr(e,t,l,null,n)}}function cu(e){return e=ds(e),fu(e)}var To=null;function fu(e){if(To=null,e=ga(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=h(t),e!==null)return e;e=null}else if(n===31){if(e=m(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 To=e,null}function Jh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Im()){case tc:return 2;case nc:return 8;case di:case Pm:return 32;case ac:return 268435456;default:return 32}default:return 32}}var du=!1,Un=null,Bn=null,Zn=null,Wl=new Map,Fl=new Map,Hn=[],h0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Kh(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Bn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":Wl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fl.delete(t.pointerId)}}function Il(e,t,n,l,s,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:u,targetContainers:[s]},t!==null&&(t=ya(t),t!==null&&Xh(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function p0(e,t,n,l,s){switch(t){case"focusin":return Un=Il(Un,e,t,n,l,s),!0;case"dragenter":return Bn=Il(Bn,e,t,n,l,s),!0;case"mouseover":return Zn=Il(Zn,e,t,n,l,s),!0;case"pointerover":var u=s.pointerId;return Wl.set(u,Il(Wl.get(u)||null,e,t,n,l,s)),!0;case"gotpointercapture":return u=s.pointerId,Fl.set(u,Il(Fl.get(u)||null,e,t,n,l,s)),!0}return!1}function Wh(e){var t=ga(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=h(n),t!==null){e.blockedOn=t,uc(e.priority,function(){Qh(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,uc(e.priority,function(){Qh(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 zo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=cu(e.nativeEvent);if(n===null){n=e.nativeEvent;var l=new n.constructor(n.type,n);fs=l,n.target.dispatchEvent(l),fs=null}else return t=ya(n),t!==null&&Xh(t),e.blockedOn=n,!1;t.shift()}return!0}function Fh(e,t,n){zo(e)&&n.delete(t)}function m0(){du=!1,Un!==null&&zo(Un)&&(Un=null),Bn!==null&&zo(Bn)&&(Bn=null),Zn!==null&&zo(Zn)&&(Zn=null),Wl.forEach(Fh),Fl.forEach(Fh)}function Eo(e,t){e.blockedOn===t&&(e.blockedOn=null,du||(du=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,m0)))}var Ao=null;function Ih(e){Ao!==e&&(Ao=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Ao===e&&(Ao=null);for(var t=0;t<e.length;t+=3){var n=e[t],l=e[t+1],s=e[t+2];if(typeof l!="function"){if(fu(l||n)===null)continue;break}var u=ya(n);u!==null&&(e.splice(t,3),t-=3,cr(u,{pending:!0,data:s,method:n.method,action:l},l,s))}}))}function Ia(e){function t(b){return Eo(b,e)}Un!==null&&Eo(Un,e),Bn!==null&&Eo(Bn,e),Zn!==null&&Eo(Zn,e),Wl.forEach(t),Fl.forEach(t);for(var n=0;n<Hn.length;n++){var l=Hn[n];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Hn.length&&(n=Hn[0],n.blockedOn===null);)Wh(n),n.blockedOn===null&&Hn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var s=n[l],u=n[l+1],d=s[ot]||null;if(typeof u=="function")d||Ih(n);else if(d){var p=null;if(u&&u.hasAttribute("formAction")){if(s=u,d=u[ot]||null)p=d.formAction;else if(fu(s)!==null)continue}else p=d.action;typeof p=="function"?n[l+1]=p:(n.splice(l,3),l-=3),Ih(n)}}}function Ph(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(d){return s=d})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function hu(e){this._internalRoot=e}ko.prototype.render=hu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var n=t.current,l=_t();Yh(n,l,e,t,null,null)},ko.prototype.unmount=hu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yh(e.current,2,null,e,null,null),so(),t[ma]=null}};function ko(e){this._internalRoot=e}ko.prototype.unstable_scheduleHydration=function(e){if(e){var t=rc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Hn.length&&t!==0&&t<Hn[n].priority;n++);Hn.splice(n,0,e),n===0&&Wh(e)}};var ep=i.version;if(ep!=="19.2.8")throw Error(r(527,ep,"19.2.8"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=y(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var g0={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.8"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var No=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!No.isDisabled&&No.supportsFiber)try{sl=No.inject(g0),pt=No}catch{}}return ei.createRoot=function(e,t){if(!c(e))throw Error(r(299));var n=!1,l="",s=sd,u=rd,d=ud;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=qh(e,1,!1,null,null,n,l,null,s,u,d,Ph),e[ma]=t.current,Jr(e),new hu(t)},ei.hydrateRoot=function(e,t,n){if(!c(e))throw Error(r(299));var l=!1,s="",u=sd,d=rd,p=ud,b=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError),n.formState!==void 0&&(b=n.formState)),t=qh(e,1,!0,t,n??null,l,s,b,u,d,p,Ph),t.context=$h(null),n=t.current,l=_t(),l=as(l),s=Tn(l),s.callback=null,zn(n,s,l),n=l,t.current.lanes=n,ul(t,n),Jt(t),e[ma]=t.current,Jr(e),new ko(t)},ei.version="19.2.8",ei}var cp;function k0(){if(cp)return gu.exports;cp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),gu.exports=A0(),gu.exports}var fp=k0();/**
50 * react-router v8.3.0
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */const Uu=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Pp=/^[\\/]{2}/;function N0(a,i){return i+a.replace(/\\/g,"/")}/**
59 * react-router v8.3.0
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */const dp="popstate";function hp(a){return typeof a=="object"&&a!=null&&"pathname"in a&&"search"in a&&"hash"in a&&"state"in a&&"key"in a}function j0(a={}){function i(r,c){var y;let f=(y=c.state)==null?void 0:y.masked,{pathname:h,search:m,hash:v}=f||r.location;return Nu("",{pathname:h,search:m,hash:v},c.state&&c.state.usr||null,c.state&&c.state.key||"default",f?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function o(r,c){return typeof c=="string"?c:ii(c)}return C0(i,o,null,a)}function je(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function mn(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function O0(){return Math.random().toString(36).substring(2,10)}function pp(a,i){return{usr:a.state,key:a.key,idx:i,masked:a.mask?{pathname:a.pathname,search:a.search,hash:a.hash}:void 0}}function Nu(a,i,o=null,r,c){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?nl(i):i,state:o,key:i&&i.key||r||O0(),mask:c}}function ii({pathname:a="/",search:i="",hash:o=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(a+=o.charAt(0)==="#"?o:"#"+o),a}function nl(a){let i={};if(a){let o=a.indexOf("#");o>=0&&(i.hash=a.substring(o),a=a.substring(0,o));let r=a.indexOf("?");r>=0&&(i.search=a.substring(r),a=a.substring(0,r)),a&&(i.pathname=a)}return i}function C0(a,i,o,r={}){let{window:c=document.defaultView,v5Compat:f=!1}=r,h=c.history,m="POP",v=null,y=x();y==null&&(y=0,h.replaceState({...h.state,idx:y},""));function x(){return(h.state||{idx:null}).idx}function w(){m="POP";let L=x(),$=L==null?null:L-y;y=L,v&&v({action:m,location:Z.location,delta:$})}function z(L,$){m="PUSH";let K=hp(L)?L:Nu(Z.location,L,$);y=x()+1;let W=pp(K,y),le=Z.createHref(K.mask||K);try{h.pushState(W,"",le)}catch(oe){if(oe instanceof DOMException&&oe.name==="DataCloneError")throw oe;c.location.assign(le)}f&&v&&v({action:m,location:Z.location,delta:1})}function O(L,$){m="REPLACE";let K=hp(L)?L:Nu(Z.location,L,$);y=x();let W=pp(K,y),le=Z.createHref(K.mask||K);h.replaceState(W,"",le),f&&v&&v({action:m,location:Z.location,delta:0})}function H(L){return R0(c,L)}let Z={get action(){return m},get location(){return a(c,h)},listen(L){if(v)throw new Error("A history only accepts one active listener");return c.addEventListener(dp,w),v=L,()=>{c.removeEventListener(dp,w),v=null}},createHref(L){return i(c,L)},createURL:H,encodeLocation(L){let $=H(L);return{pathname:$.pathname,search:$.search,hash:$.hash}},push:z,replace:O,go(L){return h.go(L)}};return Z}function R0(a,i,o=!1){let r="http://localhost";a&&(r=a.location.origin!=="null"?a.location.origin:a.location.href),je(r,"No window.location.(origin|href) available to create URL");let c=typeof i=="string"?i:ii(i);return c=c.replace(/ $/,"%20"),!o&&Pp.test(c)&&(c=r+c),new URL(c,r)}/**
68 * react-router v8.3.0
69 *
70 * Copyright (c) Remix Software Inc.
71 *
72 * This source code is licensed under the MIT license found in the
73 * LICENSE.md file in the root directory of this source tree.
74 *
75 * @license MIT
76 */function em(a,i,o="/"){return M0(a,i,o,!1)}function M0(a,i,o,r,c){let f=Gn((typeof i=="string"?nl(i):i).pathname||"/",o);if(f==null)return null;let h=D0(a),m=null,v=J0(f);for(let y=0;m==null&&y<h.length;++y)m=Q0(h[y],v,r);return m}function D0(a){let i=tm(a);return U0(i),i}function tm(a,i=[],o=[],r="",c=!1){let f=(h,m,v=c,y)=>{let x={relativePath:y===void 0?h.path||"":y,caseSensitive:h.caseSensitive===!0,childrenIndex:m,route:h};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(r)&&v)return;je(x.relativePath.startsWith(r),`Absolute route path "${x.relativePath}" nested under path "${r}
76" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(r.length)}let w=qt([r,x.relativePath]),z=o.concat(x);h.children&&h.children.length>0&&(je(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${w}".`),tm(h.children,i,z,w,v)),!(h.path==null&&!h.index)&&i.push({path:w,score:V0(w,h.index),routesMeta:z.map((O,H)=>{let[Z,L]=lm(O.relativePath,O.caseSensitive,H===z.length-1);return{...O,matcher:Z,compiledParams:L}})})};return a.forEach((h,m)=>{var v;if(h.path===""||!((v=h.path)!=null&&v.includes("?")))f(h,m);else for(let y of nm(h.path))f(h,m,!0,y)}),i}function nm(a){let i=a.split("/");if(i.length===0)return[];let[o,...r]=i,c=o.endsWith("?"),f=o.replace(/\?$/,"");if(r.length===0)return c?[f,""]:[f];let h=nm(r.join("/")),m=[];return m.push(...h.map(v=>v===""?f:[f,v].join("/"))),c&&m.push(...h),m.map(v=>a.startsWith("/")&&v===""?"/":v)}function U0(a){a.sort((i,o)=>i.score!==o.score?o.score-i.score:X0(i.routesMeta.map(r=>r.childrenIndex),o.routesMeta.map(r=>r.childrenIndex)))}const B0=/^:[\w-]+$/,Z0=/^:[\w-]+/,H0=3.5,L0=3,G0=2,q0=1,$0=10,Y0=-2,mp=a=>a==="*";function V0(a,i){let o=a.split("/"),r=o.length;return o.some(mp)&&(r+=Y0),i&&(r+=G0),o.filter(c=>!mp(c)).reduce((c,f)=>c+(B0.test(f)?L0:Z0.test(f)?H0:f===""?q0:$0),r)}function X0(a,i){return a.length===i.length&&a.slice(0,-1).every((o,r)=>o===i[r])?a[a.length-1]-i[i.length-1]:0}function Q0(a,i,o=!1){let{routesMeta:r}=a,c={},f="/",h=[];for(let m=0;m<r.length;++m){let v=r[m],y=m===r.length-1,x=f==="/"?i:i.slice(f.length)||"/",w={path:v.relativePath,caseSensitive:v.caseSensitive,end:y},z=v.matcher&&v.compiledParams?am(w,x,v.matcher,v.compiledParams):Uo(w,x),O=v.route;if(!z&&y&&o&&!r[r.length-1].route.index&&(z=Uo({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},x)),!z)return null;
76Object.assign(c,z.params),h.push({params:c,pathname:qt([f,z.pathname]),pathnameBase:F0(qt([f,z.pathnameBase])),route:O}),z.pathnameBase!=="/"&&(f=qt([f,z.pathnameBase]))}return h}function Uo(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[o,r]=lm(a.path,a.caseSensitive,a.end);return am(a,i,o,r)}function am(a,i,o,r){let c=i.match(o);if(!c)return null;let f=c[0],h=f.replace(/(.)\/+$/,"$1"),m=c.slice(1);return{params:r.reduce((v,{paramName:y,isOptional:x},w)=>{if(y==="*"){let O=m[w]||"";h=f.slice(0,f.length-O.length).replace(/(.)\/+$/,"$1")}const z=m[w];return x&&!z?v[y]=void 0:v[y]=(z||"").replace(/%2F/g,"/"),v},{}),pathname:f,pathnameBase:h,pattern:a}}function lm(a,i=!1,o=!0){mn(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let r=[],c="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,m,v,y)=>{if(r.push({paramName:h,isOptional:m!=null}),m){let x=y.charAt(v+f.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return a.endsWith("*")?(r.push({paramName:"*"}),c+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?c+="\\/*$":a!==""&&a!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,i?void 0:"i"),r]}function J0(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return mn(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function Gn(a,i){if(i==="/")return a;
76if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let o=i.endsWith("/")?i.length-1:i.length,r=a.charAt(o);return r&&r!=="/"?null:a.slice(o)||"/"}function K0(a,i="/"){let{pathname:o,search:r="",hash:c=""}=typeof a=="string"?nl(a):a,f;return o?(o=im(o),o.startsWith("/")?f=gp(o.substring(1),"/"):f=gp(o,i)):f=i,{pathname:f,search:I0(r),hash:P0(c)}}function gp(a,i){let o=om(i).split("/");return a.split("/").forEach(r=>{r===".."?o.length>1&&o.pop():r!=="."&&o.push(r)}),o.length>1?o.join("/"):"/"}function xu(a,i,o,r){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function W0(a){return a.filter((i,o)=>o===0||i.route.path&&i.route.path.length>0)}function Bu(a){let i=W0(a);return i.map((o,r)=>r===i.length-1?o.pathname:o.pathnameBase)}function qo(a,i,o,r=!1){let c;typeof a=="string"?c=nl(a):(c={...a},je(!c.pathname||!c.pathname.includes("?"),xu("?","pathname","search",c)),je(!c.pathname||!c.pathname.includes("#"),xu("#","pathname","hash",c)),je(!c.search||!c.search.includes("#"),xu("#","search","hash",c)));let f=a===""||c.pathname==="",h=f?"/":c.pathname,m;if(h==null)m=o;else{let w=i.length-1;if(!r&&h.startsWith("..")){let z=h.split("/");for(;z[0]==="..";)z.shift(),w-=1;c.pathname=z.join("/")}m=w>=0?i[w]:"/"}let v=K0(c,m),y=h&&h!=="/"&&h.endsWith("/"),x=(f||h===".")&&o.endsWith("/");return!v.pathname.endsWith("/")&&(y||x)&&(v.pathname+="/"),v}const im=a=>a.replace(/[\\/]{2,}/g,"/"),qt=a=>im(a.join("/")),om=a=>a.replace(/\/+$/,""),F0=a=>om(a).replace(/^\/*/,"/"),I0=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,P0=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;var ev=class{constructor(a,i,o,r=!1){ua(this,"status");ua(this,"statusText");ua(this,"data");ua(this,"error");ua(this,"internal");this.status=a,this.statusText=i||"",this.internal=r,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function tv(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function nv(a){return qt(a.map(i=>i.route.path).filter(Boolean))||"/"}const sm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function rm(a,i){let o=a;if(typeof o!="string"||!Uu.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let r=o,c=!1;if(sm)try{let f=new URL(window.location.href),h=Pp.test(o)?new URL(N0(o,f.protocol)):new URL(o),m=Gn(h.pathname,i);h.origin===f.origin&&m!=null?o=m+h.search+h.hash:c=!0}catch{mn(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:c,to:o}}/**
77 * react-router v8.3.0
78 *
79 * Copyright (c) Remix Software Inc.
80 *
81 * This source code is licensed under the MIT license found in the
82 * LICENSE.md file in the root directory of this source tree.
83 *
84 * @license MIT
85 */const um=["POST","PUT","PATCH","DELETE"];new Set(um);const av=["GET",...um];new Set(av);const lv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function iv(a){try{return lv.includes(new URL(a).protocol)}catch{return!1}}/**
86 * react-router v8.3.0
87 *
88 * Copyright (c) Remix Software Inc.
89 *
90 * This source code is licensed under the MIT license found in the
91 * LICENSE.md file in the root directory of this source tree.
92 *
93 * @license MIT
94 */const al=N.createContext(null);al.displayName="DataRouter";const $o=N.createContext(null);$o.displayName="DataRouterState";const cm=N.createContext(!1);function ov(){return N.useContext(cm)}const fm=N.createContext({isTransitioning:!1});fm.displayName="ViewTransition";const sv=N.createContext(new Map);sv.displayName="Fetchers";const rv=N.createContext(null);rv.displayName="Await";const Ut=N.createContext(null);Ut.displayName="Navigation";const ri=N.createContext(null);ri.displayName="Location";const $t=N.createContext({outlet:null,matches:[],isDataRoute:!1});$t.displayName="Route";const Zu=N.createContext(null);Zu.displayName="RouteError";/**
95 * react-router v8.3.0
96 *
97 * Copyright (c) Remix Software Inc.
98 *
99 * This source code is licensed under the MIT license found in the
100 * LICENSE.md file in the root directory of this source tree.
101 *
102 * @license MIT
103 */const dm="REACT_ROUTER_ERROR",uv="REDIRECT",cv="ROUTE_ERROR_RESPONSE";function fv(a){if(a.startsWith(`${dm}:${uv}:{`))try{let i=JSON.parse(a.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="str
103ing"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function dv(a){if(a.startsWith(`${dm}:${cv}:{`))try{let i=JSON.parse(a.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new ev(i.status,i.statusText,i.data)}catch{}}/**
104 * react-router v8.3.0
105 *
106 * Copyright (c) Remix Software Inc.
107 *
108 * This source code is licensed under the MIT license found in the
109 * LICENSE.md file in the root directory of this source tree.
110 *
111 * @license MIT
112 */function hv(a,{relative:i}={}){je(ll(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:r}=N.useContext(Ut),{hash:c,pathname:f,search:h}=ui(a,{relative:i}),m=f;return o!=="/"&&(m=f==="/"?o:qt([o,f])),r.createHref({pathname:m,search:h,hash:c})}function ll(){return N.useContext(ri)!=null}function Bt(){return je(ll(),"useLocation() may be used only in the context of a <Router> component."),N.useContext(ri).location}const hm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function pm(){let{isDataRoute:a}=N.useContext($t);return a?kv():pv()}function pv(){je(ll(),"useNavigate() may be used only in the context of a <Router> component.");let a=N.useContext(al),{basename:i,navigator:o}=N.useContext(Ut),{matches:r}=N.useContext($t),{pathname:c}=Bt(),f=JSON.stringify(Bu(r)),h=N.useRef(!1);return N.useLayoutEffect(()=>{h.current=!0}),N.useCallback((m,v={})=>{if(mn(h.current,hm),!h.current)return;if(typeof m=="number"){o.go(m);return}let y=qo(m,JSON.parse(f),c,v.relative==="path");a==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:qt([i,y.pathname])),(v.replace?o.replace:o.push)(y,v.state,v)},[i,o,f,c,a])}N.createContext(null);function mv(){var i;let{matches:a}=N.useContext($t);return((i=a[a.length-1])==null?void 0:i.params)??{}}function ui(a,{relative:i}={}){let{matches:o}=N.useContext($t),{pathname:r}=Bt(),c=JSON.stringify(Bu(o));return N.useMemo(()=>qo(a,JSON.parse(c),r,i==="path"),[a,c,r,i])}function gv(a,i){return mm(a,i)}function mm(a,i,o){var H;je(ll(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=N.useContext(Ut),{matches:c}=N.useContext($t),f=c[c.length-1],h=f?f.params:{};f&&f.pathname;let m=f?f.pathnameBase:"/";f&&f.route;let v=Bt(),y;if(i){let Z=typeof i=="string"?nl(i):i;je(m==="/"||((H=Z.pathname)==null?void 0:H.startsWith(m)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${Z.pathname}" was given in the \`location\` prop.`),y=Z}else y=v;let x=y.pathname||"/",w=x;if(m!=="/"){let Z=m.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(Z.length).join("/")}let z=o&&o.state.matches.length?o.state.matches.map(Z=>Object.assign(Z,{route:o.manifest[Z.route.id]||Z.route})):em(a,{pathname:w}),O=_v(z&&z.map(Z=>Object.assign({},Z,{params:Object.assign({},h,Z.params),pathname:qt([m,r.encodeLocation?r.encodeLocation(Z.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Z.pathname]),pathnameBase:Z.pathnameBase==="/"?m:qt([m,r.encodeLocation?r.encodeLocation(Z.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Z.pathnameBase])})),c,o);return i&&O?N.createElement(ri.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},O):O}function yv(){let a=Av(),i=tv(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),o=a instanceof Error?a.stack:null;return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},i),o?N.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},o):null,null)}const vv=N.createElement(yv,null);var ku,bv=(ku=class extends N.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){this.props.onError?this.props.onError(a,i):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const o=dv(a.digest);o&&(a=o)}let i=a!==void 0?N.createElement($t.Provider,{value:this.props.routeContext},N.createElement(Zu.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?N.createElement(xv,{error:a},i):i}},ua(ku,"contextType",cm),ku);const wu=new WeakMap;function xv({children:a,error:i}){let{basename:o}=N.useContext(Ut);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let r=fv(i.digest);if(r){let c=wu.get(i);if(c)throw c;let f=rm(r.location,o),h=f.absoluteURL||f.to;if(iv(h))throw new Error("Invalid redirect location");if(sm&&!wu.get(i))if(f.isExternal||r.reloadDocument)window.location.href=h;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:r.replace}));throw wu.set(i,m),m}return N.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return a}function wv({routeContext:a,match:i,children:o}){let r=N.useContext(al);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),N.createElement($t.Provider,{value:a},o)}function _v(a,i=[],o){let r=o==null?void 0:o.state;if(a==null){if(!r)return null;if(r.errors)a=r.matches;else if(i.length===0&&!r.initialized&&r.matches.length>0)a=r.matches;else return null}let c=a,f=r==null?void 0:r.errors;if(f!=null){let x=c.findIndex(w=>w.route.id&&(f==null?void 0:f[w.route.id])!==void 0);je(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),c=c.slice(0,Math.min(c.length,x+1))}let h=!1,m=-1;if(o&&r){h=r.renderFallback;for(let x=0;x<c.length;x++){let w=c[x];if((w.route.HydrateFallback||w.route.hydrateFallbackElement)&&(m=x),w.route.id){let{loaderData:z,errors:O}
112=r,H=w.route.loader&&!z.hasOwnProperty(w.route.id)&&(!O||O[w.route.id]===void 0);if(w.route.lazy||H){o.isStatic&&(h=!0),m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}}let v=o==null?void 0:o.onError,y=r&&v?(x,w)=>{var z,O;v(x,{location:r.location,params:((O=(z=r.matches)==null?void 0:z[0])==null?void 0:O.params)??{},pattern:nv(r.matches),errorInfo:w})}:void 0;return c.reduceRight((x,w,z)=>{let O,H=!1,Z=null,L=null;r&&(O=f&&w.route.id?f[w.route.id]:void 0,Z=w.route.errorElement||vv,h&&(m<0&&z===0?(Nv("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,L=null):m===z&&(H=!0,L=w.route.hydrateFallbackElement||null)));let $=i.concat(c.slice(0,z+1)),K=()=>{let W;return O?W=Z:H?W=L:w.route.Component?W=N.createElement(w.route.Component,null):w.route.element?W=w.route.element:W=x,N.createElement(wv,{match:w,routeContext:{outlet:x,matches:$,isDataRoute:r!=null},children:W})};return r&&(w.route.ErrorBoundary||w.route.errorElement||z===0)?N.createElement(bv,{location:r.location,revalidation:r.revalidation,component:Z,error:O,children:K(),routeC
112ontext:{outlet:null,matches:$,isDataRoute:!0},onError:y}):K()},null)}function Hu(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Sv(a){let i=N.useContext(al);return je(i,Hu(a)),i}function Tv(a){let i=N.useContext($o);return je(i,Hu(a)),i}function zv(a){let i=N.useContext($t);return je(i,Hu(a)),i}function Lu(a){let i=zv(a),o=i.matches[i.matches.length-1];return je(o.route.id,`${a} can only be used on routes that contain a unique "id"`),o.route.id}function Ev(){return Lu("useRouteId")}function Av(){var r;let a=N.useContext(Zu),i=Tv("useRouteError"),o=Lu("useRouteError");return a!==void 0?a:(r=i.errors)==null?void 0:r[o]}function kv(){let{router:a}=Sv("useNavigate"),i=Lu("useNavigate"),o=N.useRef(!1);return N.useLayoutEffect(()=>{o.current=!0}),N.useCallback(async(r,c={})=>{mn(o.current,hm),o.current&&(typeof r=="number"?await a.navigate(r):await a.navigate(r,{fromRouteId:i,...c}))},[a,i])}const yp={};function Nv(a,i,o){yp[a]||(yp[a]=!0,mn(!1,o))}/**
113 * react-router v8.3.0
114 *
115 * Copyright (c) Remix Software Inc.
116 *
117 * This source code is licensed under the MIT license found in the
118 * LICENSE.md file in the root directory of this source tree.
119 *
120 * @license MIT
121 */N.memo(jv);function jv({routes:a,manifest:i,future:o,state:r,isStatic:c,onError:f}){return mm(a,void 0,{manifest:i,state:r,isStatic:c,onError:f})}function Ov({to:a,replace:i,state:o,relative:r}){je(ll(),"<Navigate> may be used only in the context of a <Router> component.");let{static:c}=N.useContext(Ut);mn(!c,"<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:f}=N.useContext($t),{pathname:h}=Bt(),m=pm(),v=qo(a,Bu(f),h,r==="path"),y=JSON.stringify(v);return N.useEffect(()=>{m(JSON.parse(y),{replace:i,state:o,relative:r})},[m,y,r,i,o]),null}function Mo(a){je(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Cv({basename:a="/",children:i=null,location:o,navigationType:r="POP",navigator:c,static:f=!1,useTransitions:h}){je(!ll(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=a.replace(/^\/*/,"/"),v=N.useMemo(()=>({basename:m,navigator:c,static:f,useTransitions:h,future:{}}),[m,c,f,h]);typeof o=="string"&&(o=nl(o));let{pathname:y="/",search:x="",hash:w="",state:z=null,key:O="default",mask:H}=o,Z=N.useMemo(()=>{let L=Gn(y,m);return L==null?null:{location:{pathname:L,search:x,hash:w,state:z,key:O,mask:H},navigationType:r}},[m,y,x,w,z,O,r,H]);return mn(Z!=null,`<Router basename="${m}"> is not able to match the URL "${y}${x}${w}" because it does not start with the basename, so the <Router> won't render anything.`),Z==null?null:N.createElement(Ut.Provider,{value:v},N.createElement(ri.Provider,{children:i,value:Z}))}function Rv({children:a,location:i}){return gv(ju(a),i)}function ju(a,i=[]){let o=[];return N.Children.forEach(a,(r,c)=>{if(!N.isValidElement(r))return;let f=[...i,c];if(r.type===N.Fragment){o.push.apply(o,ju(r.props.children,f));return}je(r.type===Mo,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let h=r.props;je(!h.index||!h.children,"An index route cannot have child routes.");let m={id:h.id||f.join("-"),caseSensitive:h.caseSensitive,element:h.element,Component:h.Component,index:h.index,path:h.path,middleware:h.middleware,loader:h.loader,action:h.action,hydrateFallbackElement:h.hydrateFallbackElement,HydrateFallback:h.HydrateFallback,errorElement:h.errorElement,ErrorBoundary:h.ErrorBoundary,shouldRevalidate:h.shouldRevalidate,handle:h.handle,lazy:h.lazy};h.children&&(m.children=ju(h.children,f)),o.push(m)}),o}/**
122 * react-router v8.3.0
123 *
124 * Copyright (c) Remix Software Inc.
125 *
126 * This source code is licensed under the MIT license found in the
127 * LICENSE.md file in the root directory of this source tree.
128 *
129 * @license MIT
130 */const Do="application/x-www-form-urlencoded";
130function Yo(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function Mv(a){return Yo(a)&&a.tagName.toLowerCase()==="button"}function Dv(a){return Yo(a)&&a.tagName.toLowerCase()==="form"}function Uv(a){return Yo(a)&&a.tagName.toLowerCase()==="input"}function Bv(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function Zv(a,i){return a.button===0&&(!i||i==="_self")&&!Bv(a)}let jo=null;function Hv(){if(jo===null)try{new FormData(document.createElement("form"),0),jo=!1}catch{jo=!0}return jo}const Lv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _u(a){return a!=null&&!Lv.has(a)?(mn(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Do}"`),null):a}function Gv(a,i){let o,r,c,f,h;if(Dv(a)){let m=a.getAttribute("action");r=m?Gn(m,i):null,o=a.getAttribute("method")||"get",c=_u(a.getAttribute("enctype"))||Do,f=new FormData(a)}else if(Mv(a)||Uv(a)&&(a.type==="submit"||a.type==="image")){let m=a.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=a.getAttribute("formaction")||m.getAttribute("action");if(r=v?Gn(v,i):null,o=a.getAttribute("formmethod")||m.getAttribute("method")||"get",c=_u(a.getAttribute("formenctype"))||_u(m.getAttribute("enctype"))||Do,f=new FormData(m,a),!Hv()){let{name:y,type:x,value:w}=a;if(x==="image"){let z=y?`${y}.`:"";f.append(`${z}x`,"0"),f.append(`${z}y`,"0")}else y&&f.append(y,w)}}else{if(Yo(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o="get",r=null,c=Do,h=a}return f&&c==="text/plain"&&(h=f,f=void 0),{action:r,method:o.toLowerCase(),encType:c,formData:f,body:h}}/**
131 * react-router v8.3.0
132 *
133 * Copyright (c) Remix Software Inc.
134 *
135 * This source code is licensed under the MIT license found in the
136 * LICENSE.md file in the root directory of this source tree.
137 *
138 * @license MIT
139 */function Gu(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}/**
140 * react-router v8.3.0
141 *
142 * Copyright (c) Remix Software Inc.
143 *
144 * This source code is licensed under the MIT license found in the
145 * LICENSE.md file in the root directory of this source tree.
146 *
147 * @license MIT
148 */function gm(a,i){let o=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`,o}/**
149 * react-router v8.3.0
150 *
151 * Copyright (c) Remix Software Inc.
152 *
153 * This source code is licensed under the MIT license found in the
154 * LICENSE.md file in the root directory of this source tree.
155 *
156 * @license MIT
157 */async function qv(a,i){if(a.id in i)return i[a.id];try{let o=await import(a.module);return i[a.id]=o,o}catch(o){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
158 * react-router v8.3.0
159 *
160 * Copyright (c) Remix Software Inc.
161 *
162 * This source code is licensed under the MIT license found in the
163 * LICENSE.md file in the root directory of this source tree.
164 *
165 * @license MIT
166 */function $v(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function Yv(a,i,o){return Jv((await Promise.all(a.map(async r=>{let c=i.routes[r.route.id];if(c){let f=await qv(c,o);return f.links?f.links():[]}return[]}))).flat(1).filter($v).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function vp(a,i,o,r,c,f){let h=(v,y)=>o[y]?v.route.id!==o[y].route.id:!0,m=(v,y)=>{var x;return o[y].pathname!==v.pathname||((x=o[y].route.path)==null?void 0:x.endsWith("*"))&&o[y].params["*"]!==v.params["*"]};return f==="assets"?i.filter((v,y)=>h(v,y)||m(v,y)):f==="data"?i.filter((v,y)=>{var w;let x=r.routes[v.route.id];if(!x||!x.hasLoader)return!1;if(h(v,y)||m(v,y))return!0;
166if(v.route.shouldRevalidate){let z=v.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:((w=o[0])==null?void 0:w.params)||{},nextUrl:new URL(a,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof z=="boolean")return z}return!0}):[]}function Vv(a,i,{includeHydrateFallback:o}={}){return Xv(a.map(r=>{let c=i.routes[r.route.id];if(!c)return[];let f=[c.module];return c.clientActionModule&&(f=f.concat(c.clientActionModule)),c.clientLoaderModule&&(f=f.concat(c.clientLoaderModule)),o&&c.hydrateFallbackModule&&(f=f.concat(c.hydrateFallbackModule)),c.imports&&(f=f.concat(c.imports)),f}).flat(1))}function Xv(a){return[...new Set(a)]}function Qv(a){let i={},o=Object.keys(a).sort();for(let r of o)i[r]=a[r];return i}function Jv(a,i){let o=new Set;return new Set(i),a.reduce((r,c)=>{let f=JSON.stringify(Qv(c));return o.has(f)||(o.add(f),r.push({key:f,link:c})),r},[])}/**
167 * react-router v8.3.0
168 *
169 * Copyright (c) Remix Software Inc.
170 *
171 * This source code is licensed under the MIT license found in the
172 * LICENSE.md file in the root directory of this source tree.
173 *
174 * @license MIT
175 */function Kv(){let a=N.useContext(al);return Gu(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Wv(){let a=N.useContext($o);return Gu(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}const qu=N.createContext(void 0);qu.displayName="FrameworkContext";function $u(){let a=N.useContext(qu);return Gu(a,"You must render this element inside a <HydratedRouter> element"),a}function Fv(a,i){let o=N.useContext(qu),[r,c]=N.useState(!1),[f,h]=N.useState(!1),{onFocus:m,onBlur:v,onMouseEnter:y,onMouseLeave:x,onTouchStart:w}=i,z=N.useRef(null);N.useEffect(()=>{if(a==="render"&&h(!0),a==="viewport"){let Z=$=>{$.forEach(K=>{h(K.isIntersecting)})},L=new IntersectionObserver(Z,{threshold:.5});return z.current&&L.observe(z.current),()=>{L.disconnect()}}},[a]),N.useEffect(()=>{if(r){let Z=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(Z)}}},[r]);let O=()=>{c(!0)},H=()=>{c(!1),h(!1)};return o?a!=="intent"?[f,z,{}]:[f,z,{onFocus:ti(m,O),onBlur:ti(v,H),onMouseEnter:ti(y,O),onMouseLeave:ti(x,H),onTouchStart:ti(w,O)}]:[!1,z,{}]}function ti(a,i){return o=>{a&&a(o),o.defaultPrevented||i(o)}}function Iv({page:a,...i}){let o=ov(),{nonce:r}=$u(),{router:c}=Kv(),f=N.useMemo(()=>em(c.routes,a,c.basename),[c.routes,a,c.basename]);return f?(i.nonce==null&&r&&(i={...i,nonce:r}),o?N.createElement(eb,{page:a,matches:f,...i}):N.createElement(tb,{page:a,matches:f,...i})):null}function Pv(a){let{manifest:i,routeModules:o}=$u(),[r,c]=N.useState([]);return N.useEffect(()=>{let f=!1;return Yv(a,i,o).then(h=>{f||c(h)}),()=>{f=!0}},[a,i,o]),r}function eb({page:a,matches:i,...o}){let r=Bt(),c=N.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let f=gm(a,"rsc"),h=!1,m=[];for(let v of i)typeof v.route.shouldRevalidate=="function"?h=!0:m.push(v.route.id);return h&&m.length>0&&f.searchParams.set("_routes",m.join(",")),[f.pathname+f.search]},[a,r,i]);return N.createElement(N.Fragment,null,c.map(f=>N.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...o}
175)))}function tb({page:a,matches:i,...o}){let r=Bt(),{manifest:c,routeModules:f}=$u(),{loaderData:h,matches:m}=Wv(),v=N.useMemo(()=>vp(a,i,m,c,r,"data"),[a,i,m,c,r]),y=N.useMemo(()=>vp(a,i,m,c,r,"assets"),[a,i,m,c,r]),x=N.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let O=new Set,H=!1;if(i.forEach(L=>{var K;let $=c.routes[L.route.id];!$||!$.hasLoader||(!v.some(W=>W.route.id===L.route.id)&&L.route.id in h&&((K=f[L.route.id])!=null&&K.shouldRevalidate)||$.hasClientLoader?H=!0:O.add(L.route.id))}),O.size===0)return[];let Z=gm(a,"data");return H&&O.size>0&&Z.searchParams.set("_routes",i.filter(L=>O.has(L.route.id)).map(L=>L.route.id).join(",")),[Z.pathname+Z.search]},[h,r,c,v,i,a,f]),w=N.useMemo(()=>Vv(y,c),[y,c]),z=Pv(y);return N.createElement(N.Fragment,null,x.map(O=>N.createElement("link",{key:O,rel:"prefetch",as:"fetch",href:O,...o})),w.map(O=>N.createElement("link",{key:O,rel:"modulepreload",href:O,...o})),z.map(({key:O,link:H})=>N.createElement("link",{key:O,nonce:o.nonce,...H,crossOrigin:H.crossOrigin??o.crossOrigin})))}function nb(...a){return i=>{a.forEach(o=>{typeof o=="function"?o(i):o!=null&&(o.current=i)})}}/**
176 * react-router v8.3.0
177 *
178 * Copyright (c) Remix Software Inc.
179 *
180 * This source code is licensed under the MIT license found in the
181 * LICENSE.md file in the root directory of this source tree.
182 *
183 * @license MIT
184 */const ab=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ab&&(window.__reactRouterVersion="8.3.0")}catch{}function lb({basename:a,children:i,useTransitions:o,window:r}){let c=N.useRef(null);c.current==null&&(c.current=j0({window:r,v5Compat:!0}));let f=c.current,[h,m]=N.useState({action:f.action,location:f.location}),v=N.useCallback(y=>{o===!1?m(y):N.startTransition(()=>m(y))},[o]);return N.useLayoutEffect(()=>f.listen(v),[f,v]),N.createElement(Cv,{basename:a,children:i,location:h.location,navigationType:h.action,navigator:f,useTransitions:o})}const fa=N.forwardRef(function({onClick:i,discover:o="render",prefetch:r="none",relative:c,reloadDocument:f,replace:h,mask:m,state:v,target:y,to:x,preventScrollReset:w,viewTransition:z,defaultShouldRevalidate:O,...H},Z){let{basename:L,navigator:$,useTransitions:K}=N.useContext(Ut),W=typeof x=="string"&&Uu.test(x),le=rm(x,L);x=le.to;let oe=hv(x,{relative:c}
vendor: 3,966 bytes, line 184
184),I=Bt(),V=null;if(m){let Ze=qo(m,[],I.mask?I.mask.pathname:"/",!0);L!=="/"&&(Ze.pathname=Ze.pathname==="/"?L:qt([L,Ze.pathname])),V=$.createHref(Ze)}let[be,$e,St]=Fv(r,H),Tt=sb(x,{replace:h,mask:m,state:v,target:y,preventScrollReset:w,relative:c,viewTransition:z,defaultShouldRevalidate:O,useTransitions:K});function tt(Ze){i&&i(Ze),Ze.defaultPrevented||Tt(Ze)}let Yt=!(le.isExternal||f),zt=N.createElement("a",{...H,...St,href:(Yt?V:void 0)||le.absoluteURL||oe,onClick:Yt?tt:i,ref:nb(Z,$e),target:y,"data-discover":!W&&o==="render"?"true":void 0});return be&&!W?N.createElement(N.Fragment,null,zt,N.createElement(Iv,{page:oe})):zt});fa.displayName="Link";const ym=N.forwardRef(function({"aria-current":i="page",caseSensitive:o=!1,className:r="",end:c=!1,style:f,to:h,viewTransition:m,children:v,...y},x){let w=ui(h,{relative:y.relative}),z=Bt(),O=N.useContext($o),{navigator:H,basename:Z}=N.useContext(Ut),L=O!=null&&db(w)&&m===!0,$=H.encodeLocation?H.encodeLocation(w).pathname:w.pathname,K=z.pathname,W=O&&O.navigation&&O.navigation.location?O.navigation.location.pathname:null;o||(K=K.toLowerCase(),W=W?W.toLowerCase():null,$=$.toLowerCase()),W&&Z&&(W=Gn(W,Z)||W);const le=$!=="/"&&$.endsWith("/")?$.length-1:$.length;let oe=K===$||!c&&K.startsWith($)&&K.charAt(le)==="/",I=W!=null&&(W===$||!c&&W.startsWith($)&&W.charAt(le)==="/"),V={isActive:oe,isPending:I,isTransitioning:L},be=oe?i:void 0,$e;typeof r=="function"?$e=r(V):$e=[r,oe?"active":null,I?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let St=typeof f=="function"?f(V):f;return N.createElement(fa,{...y,"aria-current":be,className:$e,ref:x,style:St,to:h,viewTransition:m},typeof v=="function"?v(V):v)});ym.displayName="NavLink";const ib=N.forwardRef(({discover:a="render",fetcherKey:i,navigate:o,reloadDocument:r,replace:c,state:f,method:h="get",action:m,onSubmit:v,relative:y,preventScrollReset:x,viewTransition:w,defaultShouldRevalidate:z,...O},H)=>{let{useTransitions:Z}=N.useContext(Ut),L=cb(),$=fb(m,{relative:y}),K=h.toLowerCase()==="get"?"get":"post",W=typeof m=="string"&&Uu.test(m),le=oe=>{if(v&&v(oe),oe.defaultPrevented)return;oe.preventDefault();let I=oe.nativeEvent.submitter,V=(I==null?void 0:I.getAttribute("formmethod"))||h,be=()=>L(I||oe.currentTarget,{fetcherKey:i,method:V,navigate:o,replace:c,state:f,relative:y,preventScrollReset:x,viewTransition:w,defaultShouldRevalidate:z});Z&&o!==!1?N.startTransition(()=>be()):be()};return N.createElement("form",{ref:H,method:K,action:$,onSubmit:r?v:le,...O,"data-discover":!W&&a==="render"?"true":void 0})});ib.displayName="Form";function ob(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function vm(a){let i=N.useContext(al);return je(i,ob(a)),i}function sb(a,{target:i,replace:o,mask:r,state:c,preventScrollReset:f,relative:h,viewTransition:m,defaultShouldRevalidate:v,useTransitions:y}={}){let x=pm(),w=Bt(),z=ui(a,{relative:h});return N.useCallback(O=>{if(Zv(O,i)){O.preventDefault();let H=o!==void 0?o:ii(w)===ii(z),Z=()=>x(a,{replace:H,mask:r,state:c,preventScrollReset:f,relative:h,viewTransition:m,defaultShouldRevalidate:v});y?N.startTransition(()=>Z()):Z()}},[w,x,z,o,r,c,i,a,f,h,m,v,y])}let rb=0,ub=()=>`__${String(++rb)}__`;function cb(){let{router:a}=vm("useSubmit"),{basename:i}=N.useContext(Ut),o=Ev(),r=a.fetch,c=a.navigate;return N.useCallback(async(f,h={})=>{let{action:m,method:v,encType:y,formData:x,body:w}=Gv(f,i);h.navigate===!1?await r(h.fetcherKey||ub(),o,h.action||m,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:x,body:w,formMethod:h.method||v,formEncType:h.encType||y,flushSync:h.flushSync}):await c(h.action||m,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:x,body:w,formMethod:h.method||v,formEncType:h.encType||y,replace:h.replace,state:h.state,fromRouteId:o,flushSync:h.flushSync,viewTransition:h.viewTransition})}
184,[r,c,i,o])}function fb(a,{relative:i}={}){let{basename:o}=N.useContext(Ut),r=N.useContext($t);je(r,"useFormAction must be used inside a RouteContext");let[c]=r.matches.slice(-1),f={...ui(a||".",{relative:i})},h=Bt();if(a==null){f.search=h.search;let m=new URLSearchParams(f.search),v=m.getAll("index");if(v.some(y=>y==="")){m.delete("index"),v.filter(x=>x).forEach(x=>m.append("index",x));let y=m.toString();f.search=y?`?${y}`:""}}return(!a||a===".")&&c.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(f.pathname=f.pathname==="/"?o:qt([o,f.pathname])),ii(f)}function db(a,{relative:i}={}){let o=N.useContext(fm);je(o!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=vm("useViewTransitionState"),c=ui(a,{relative:i});if(!o.isTransitioning)return!1;let f=Gn(o.currentLocation.pathname,r)||o.currentLocation.pathname,h=Gn(o.nextLocation.pathname,r)||o.nextLocation.pathname;return Uo(c.pathname,h)!=null||Uo(c.pathname,f)!=null}const hb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-52%20-20.5%20317.5%20317.5'%20width='210'%20height='210'%20role='img'%20aria-label='tuik'%3e%3crect%20x='-51.988785'%20y='-20.500008'%20width='317.5'%20height='317.5'%20fill='%239e3b30'/%3e%3cpath%20fill='%23313131'%20d='m%20126.6486,24.542211%20c%20-28.730995,0.678866%20-56.802235,12.972514%20-76.924505,35.512561%20-19.48492,21.826119%20-29.17617,51.076288%20-26.59579,80.212158%201.46885,17.0367%206.90503,32.99626%2015.67863,47.024%20-29.17592,32.55862%20-54.81929,59.8067%20-77.27177,82.7226%20V%20297%20h%2076.92967%20c%2016.06302,-20.17168%2034.4216,-42.08828%2055.50462,-65.81252%2013.314975,4.62941%2027.294315,6.62579%2041.154595,5.84047%2024.70916,-1.40002%2048.93659,-11.29364%2067.73695,-29.47882%2022.69381,-21.93045%2034.47957,-52.50043%2032.35359,-83.86982%20-0.16332,-2.19851%20-1.47415,-4.13798%20-3.42719,-5.11183%20-1.95524,-1.01249%20-4.30811,-0.84048%20-6.13864,0.34778%20l%20-62.21223,40.86314%20c%20-31.72618,-8.97015%20-51.9148,-39.89668%20-47.39659,-72.262255%20l%2062.02982,-40.659534%20c%201.83054,-1.188247%202.9116,-3.302342%202.78691,-5.503023%20-0.12469,-2.20073%20-1.39909,-4.181523%20-3.35433,-5.193999%20C%20161.36293,27.908871%20143.8872,24.134891%20126.6486,24.542211%20Z'/%3e%3cpath%20fill='%23e8e8e8'%20d='M%20115.51049,19.778682%20C%2086.364335,20.469417%2057.887475,32.978001%2037.474455,55.912128%2017.707985,78.119842%207.876695,107.88141%2010.494365,137.52668%20c%201.49007,17.33456%207.00481,33.57315%2015.90518,47.84614%20-29.59751,33.12786%20-55.61142,60.85234%20-78.38832,84.16888%20V%20297%20h%2078.04127%20c%2016.29512,-20.52436%2034.91899,-42.82414%2056.30664,-66.96316%2013.50738,4.71035%2027.688695,6.74163%2041.749275,5.94258%2025.06618,-1.4245%2049.64369,-11.4911%2068.71571,-29.99421%2023.02173,-22.31387%2034.97778,-53.41833%2032.82109,-85.33617%20-0.16568,-2.23694%20-1.49546,-4.21032%20-3.4767,-5.2012%20-1.9835,-1.03019%20-4.37037,-0.85517%20-6.22736,0.35386%20l%20-63.11117,41.57757%20c%20-32.18462,-9.12698%20-52.66495,-40.59421%20-48.08146,-73.525643%20l%2062.92613,-41.370411%20c%201.85699,-1.209021%202.95368,-3.360079%202.82717,-5.599235%20-0.12646,-2.239207%20-1.4193,-4.254631%20-3.40278,-5.284809%20-16.37262,-8.394969%20-34.10088,-12.234932%20-51.58855,-11.82049%20z'/%3e%3c/svg%3e";function Bo({children:a,variant:i="primary",className:o="",...r}){const c=`btn btn--${i} ${o}`.trim();if("href"in r&&r.href!==void 0){const{href:m,...v}=r;return g.jsx("a",{href:m,className:c,...v,children:a})}const{type:f="button",...h}=r;return g.jsx("button",{type:f,className:c,...h,children:a})}function pb(a=!1){const[i,o]=N.useState(a);return{isOpen:i,open:()=>o(!0),close:()=>o(!1),toggle:()=>o(r=>!r)}}const bp=[{label:"Services",href:"#services"},{label:"How we work",href:"#approach"}];function mb(){const{isOpen:a,toggle:i,close:o}=pb(),{pathname:r}=Bt(),c=r==="/";return g.jsxs("header",{className:"sticky top-0 z-40 bg-canvas-white py-5",children:[g.jsxs("div",{className:"page-container grid grid-cols-[1fr_auto_1fr] items-center gap-8 max-panel:flex max-panel:justify-between",children:[g.jsxs(fa,{to:"/",className:"inline-flex items-center gap-3.5 justify-self-start","aria-label":"tuik home",children:[g.jsx("img",{src:hb,alt:"tuik",className:"w-10 h-10 object-cover"}),g.jsx("span",{className:"font-display text-[22px] font-semibold tracking-[-0.03em] leading-none",children:"tuik"})]}),g.jsxs("nav",{className:"inline-flex items-center justify-center gap-7 max-panel:hidden","aria-label":"Primary",children:[bp.map(f=>g.jsx("a",{href:c?f.href:`/${f.href}`,className:"font-display text-[13px] font-bold tracking-[0.08em] uppercase text-gra
184phite transition-colors duration-150 hover:text-accent",children:f.label},f.href)),g.jsx(ym,{to:"/blog",className:({isActive:f})=>`font-display text-[13px] font-bold tracking-[0.08em] uppercase transition-colors duration-150 hover:text-accent ${f?"text-tuik-red":"text-graphite"}`,children:"Blog"})]}),g.jsxs("div",{className:"flex items-center justify-end gap-4 justify-self-end",children:[g.jsx(Bo,{href:c?"#contact":"/#contact",variant:"primary",className:"max-panel:hidden",children:"Book a call"}),g.jsxs("button",{type:"button",className:"hidden max-panel:block w-10 h-10 border-2 border-graphite bg-pure-white px-[11px] py-3 cursor-pointer","aria-label":a?"Close menu":"Open menu","aria-expanded":a,onClick:i,children:[g.jsx("span",{className:"block h-0.5 bg-graphite my-[5px]"}),g.jsx("span",{className:"block h-0.5 bg-graphite my-[5px]"})]})]})]}),a&&g.jsxs("div",{className:"hidden max-panel:flex flex-col gap-4 w-[min(100%-48px,var(--spacing-page-max-width))] mx-auto mt-3 p-5 bg-tuik-red text-canvas-white border-2 border-graphite",children:[bp.map(f=>g.jsx("a",{href:c?f.href:`/${f.href}`,className:"font-display text-sm font-bold tracking-[0.08em] uppercase text-canvas-white",onClick:o,children:f.label},f.href)),g.jsx(fa,{to:"/blog",className:"font-display text-sm font-bold tracking-[0.08em] uppercase text-canvas-white",onClick:o,children:"Blog"}),g.jsx("a",{href:c?"#contact":"/#contact",className:"font-display text-sm font-bold tracking-[0.08em] uppercase text-canvas-white",onClick:o,children:"Book a call"})]})]})}const gb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-52%20-20.5%20317.5%20317.5'%20width='210'%20height='210'%20role='img'%20aria-label='tuik'%3e%3crect%20x='-51.988785'%20y='-20.500008'%20width='317.5'%20height='317.5'%20fill='%23e8e8e8'/%3e%3cpath%20fill='%23313131'%20d='m%20126.6486,24.542211%20c%20-28.730995,0.678866%20-56.802235,12.972514%20-76.924505,35.512561%20-19.48492,21.826119%20-29.17617,51.076288%20-26.59579,80.212158%201.46885,17.0367%206.90503,32.99626%2015.67863,47.024%20-29.17592,32.55862%20-54.81929,59.8067%20-77.27177,82.7226%20V%20297%20h%2076.92967%20c%2016.06302,-20.17168%2034.4216,-42.08828%2055.50462,-65.81252%2013.314975,4.62941%2027.294315,6.62579%2041.154595,5.84047%2024.70916,-1.40002%2048.93659,-11.29364%2067.73695,-29.47882%2022.69381,-21.93045%2034.47957,-52.50043%2032.35359,-83.86982%20-0.16332,-2.19851%20-1.47415,-4.13798%20-3.42719,-5.11183%20-1.95524,-1.01249%20-4.30811,-0.84048%20-6.13864,0.34778%20l%20-62.21223,40.86314%20c%20-31.72618,-8.97015%20-51.9148,-39.89668%20-47.39659,-72.262255%20l%2062.02982,-40.659534%20c%201.83054,-1.188247%202.9116,-3.302342%202.78691,-5.503023%20-0.12469,-2.20073%20-1.39909,-4.181523%20-3.35433,-5.193999%20C%20161.36293,27.908871%20143.8872,24.134891%20126.6486,24.542211%20Z'/%3e%3cpath%20fill='%239e3b30'%20d='M%20115.51049,19.778682%20C%2086.364335,20.469417%2057.887475,32.978001%2037.474455,55.912128%2017.707985,78.119842%207.876695,107.88141%2010.494365,137.52668%20c%201.49007,17.33456%207.00481,33.57315%2015.90518,47.84614%20-29.59751,33.12786%20-55.61142,60.85234%20-78.38832,84.16888%20V%20297%20h%2078.04127%20c%2016.29512,-20.52436%2034.91899,-42.82414%2056.30664,-66.96316%2013.50738,4.71035%2027.688695,6.74163%2041.749275,5.94258%2025.06618,-1.4245%2049.64369,-11.4911%2068.71571,-29.99421%2023.02173,-22.31387%2034.97778,-53.41833%2032.82109,-85.33617%20-0.16568,-2.23694%20-1.49546,-4.21032%20-3.4767,-5.2012%20-1.9835,-1.03019%20-4.37037,-0.85517%20-6.22736,0.35386%20l%20-63.11117,41.57757%20c%20-32.18462,-9.12698%20-52.66495,-40.59421%20-48.08146,-73.525643%20l%2062.92613,-41.370411%20c%201.85699,-1.209021%202.95368,-3.360079%202.82717,-5.599235%20-0.12646,-2.239207%20-1.4193,-4.254631%20-3.40278,-5.284809%20-16.37262,-8.394969%20-34.10088,-12.234932%20-51.58855,-11.82049%20z'/%3e%3c/svg%3e";function yb(){return g.jsx("footer",{className:"py-6 bg-tuik-red text-canvas-white",children:g.jsxs("div",{className:"page-container grid grid-cols-[1fr_auto] max-content:grid-cols-1 max-content:gap-3 items-center",children:[g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("img",{src:gb,alt:"",className:"w-9 h-9 object-cover"}),g.jsxs("div",{children:[g.jsx("p",{className:"m-0 font-display text-lg font-semibold tracking-[-0.02em] text-canvas-white",children:"tuik"}),g.jsx("p",{className:"mt-0.5 mb-0 text-[13px] text-[color-mix(in_srgb,var(--color-canvas-white)_78%,transparent)]",children:"We ship agents faster."})]})]}),g.jsxs("div",{className:"flex items-center gap-5 justify-self-end max-content:justify-self-start",children:[g.jsx("a",{href:"/blog",className:"text-[13px] text-[color-mix(in_srgb,var(--color-canvas-white)_78%,transparent)] hover:text-canvas-white",children:"Blog"}),g.jsxs("p",{className:"m-0 text-[13px] text-[color-mix(in_srgb,var(--color-canvas-white)_78%,transparent)]",children:["© ",g.jsx("span",{className:"font-mono",children:new Date().getFullYear()})," tuik"]})]})]})})}const vb=["Harness Engineering","Generative AI","Engineering","Context","Automation","Second Brain"],ci=[{slug:"gbrain-needs-to-be-tweaked",title:"GBrain needs to be tweaked",excerpt:"The best second brain is the one that is scalable and fits your needs.",category:"Second Brain",date:"2026-09-01",author:"Marco Rodrigues",authorRole:"Founder, tuik",body:[{type:"p",text:"Large Language Models (LLMs) are becoming more intelligent. Agent harnesses like Claude, Codex, and Cursor are becoming more robust, with many different features. Overall, AI is becoming easier to use, with almost no friction to get started and increasing productivity."},{type:"p",text:"However, no major competitor in the field has come up with a reliable second-brain option. People are still using **Obsidian**, **LLM Wiki** from Andrej Karpathy, and **GBrain** from Garry Tan."},{type:"p",text:"There are other solutions out there, but in the end, they all rely on the same technology: either a folder of Markdown files, a vector database, or both."},{type:"p",text:"Take Obsidian and GBrain, for instance. They are both called second brains, but in fact, their purposes are quite different. The first acts more like a notebook, while the second is a retrieval engine."},{type:"p",text:"Many people try to oversell Obsidian, but in the end, it is a text editor with links for Markdown files sitting in a folder. Its primary features are visualization, portability, and searchability through frontmatter. But it is not made for agents."},{type:"p",text:"On the other end, GBrain keeps the Markdown files as the source of truth, but adds a real engine. On every page written, three things happen:"},{type:"ul",items:["**The page is embedded.** Text is chunked and turned into vector embeddings, then stored in the vector database. In addition, it uses HNSW (Hierarchical Navigable Small World) for fast similarity search.","**The page is keyword-indexed.** The full text goes into a column, so BM25 keyword matching works on exact names, code identifiers, and phrases.","**The page is linked into a graph.** References to entities such as people, projects, and tools are extracted and connected through typed relationships, allowing the system to understand how different pieces of knowledge relate to one another."]},{type:"p",text:"Therefore, for anyone looking for a more agentic second brain, GBrain is better suited because it can act faster, more accurately, and spend fewer tokens."},{type:"p",text:"However, there's a problem with GBrain. It was not made for everyone. It was made for Garry Tan, the creator, and that poses an adoption issue."},{type:"p",text:"This piece explores the architecture of GBrain and the kinds of tweaks that can make it work better for different needs, along with the pros and cons of changing the core GitHub repository."},{type:"h1",text:"Markdowns and backlinks are not enough"},{type:"p",text:"Obsidian is a collection of Markdown files that contain links to others."},{type:"p",text:"For example, imagine there is a note about machine learning and another note about chemistry. In the machine-learning note, [[Chemistry]] can be written. Obsidian treats this as a link to the Chemistry note. More specific notes can also be linked, such as [[Neural Networks]] or [[Drug Discovery]]. Over time, these links create a network between the notes."},{type:"p",text:"And the backlink is the other side of that link. If the Machine Learning note contains [[Chemistry]], then the Chemistry note can show that Machine Learning links to it. As more notes link to Chemistry, Obsidian collects those incoming links and shows them as backlinks."},{type:"p",text:"This makes it possible to open the Chemistry note and immediately see which other notes are connected to it. This is great from a visualization point of view, but not as useful for context and information retrieval."},{type:"p",text:"In brief, this works for humans, but not for agents. And as the brain grows, not even humans."},{type:"p",text:"Adding a vector database makes this much more useful because it allows agents to search for concepts rather than relying only on explicit links or exact keywords."},{type:"h1",text:"Meet GBrain and its architecture"},{type:"p",text:"GBrain is an open-source knowledge-graph engine for AI agents built by **Garry Tan**, Y Combinator's CEO. It was originally made for himself but was eventually released for others to use."},{type:"p",text:"Its [GitHub repository](https://github.com/garrytan/gbrain) already has tens of thousands of stars and thousands of forks, showing the level of interest around the project."},{type:"p",text:"In brief, the system is based on a directory of Markdown files, similar to Obsidian, but the files get parsed, embedded, linked, and queried through a Postgres (PGLite) database."},{type:"p",text:"GBrain has its own CLI, so it can also be used without an AI agent. These are the key commands that illustrate how the system works:"},{type:"ul",items:["**gbrain sync** — scans the Markdown repository and imports new or changed pages into the database. It parses the frontmatter and page content, tracks changes incrementally, and, for smaller changesets, can generate embeddings as part of the import process. In other words, this is what keeps the database in sync with the Markdown files.","**gbrain embed** — generates vector embeddings for the chunks of text that don't have them yet. The Markdown content is split into smaller chunks, c
184onverted into embeddings, and stored for semantic search. This is particularly important after a large sync or when pages were imported without embeddings.","**gbrain extract** — builds additional structure from the Markdown. It can extract links between entities and create timeline entries from dated information. These relationships are then stored in GBrain's knowledge graph, allowing the system to understand connections between people, companies, projects, events, and other entities without needing an LLM call.",'**gbrain dream** — runs the background "thinking" or enrichment cycle. Instead of simply storing what is already in the Markdown files, it periodically looks across the brain to synthesize and improve the information: consolidating knowledge, finding patterns, fixing or enriching pages, and surfacing things such as contradictions or missing information. This is what makes GBrain feel more like a continuously evolving memory rather than a static database.',"**gbrain search** — queries the brain using hybrid search rather than relying on a single retrieval method. It combines vector similarity with keyword search (BM25), then applies additional ranking and reranking techniques to find the most relevant pages."]},{type:"p",text:"The system has other nuances that are not mentioned in the list above, but those commands are the core of a functional GBrain. Now, it is worth taking a look at the architecture:"},{type:"ul",items:["**Vector Database:** The default is PGLite, which runs in-process, so there is no server or Docker setup required, and it is recommended for smaller brains, roughly up to 50K pages. For larger setups or multi-machine sync, it can use regular Postgres with pgvector, either through Supabase or a self-hosted instance. Multiple agents can query the same brain.","**Embeddings:** GBrain uses embeddings to represent the meaning of the content and make semantic search possible. The default for new installations is Voyage **voyage-4** with 1024-dimensional embeddings, although GBrain supports several different embedding providers. For reranking, it defaults to Voyage **rerank-2.5**.","**Hybrid search:** Search does not depend on embeddings alone. GBrain combines vector search using HNSW, traditional BM25 keyword search, and reciprocal-rank fusion to combine the results. It then applies a cross-encoder reranker to improve the final ranking. There are three search modes: **conservative**, **balanced**, and **tokenmax**.","**Knowledge graph and schemas:** GBrain adds a type system on top of the graph, so entities can be classified as people, companies, projects, events, and other domain-specific types. There are several schema packs that can be selected.","**Autopilot:** This is a built-in background loop that can continuously work on the brain without requiring an external scheduler. It also includes a durable job queue for running subagents and shell jobs, allowing some of the enrichment and maintenance work to happen in the background.","**CLI and MCP interface:** GBrain has its own CLI for interacting with the brain directly, while also exposing most of the same operations through MCP for AI agents. Some operations remain CLI-only, particularly those that interact directly with the local filesystem."]},{type:"p",text:"Taken together, these components make GBrain more robust than other so-called second brains. Because it can easily scale without compromising retrieval speed and token costs, it can become particularly useful when an agent is involved."},{type:"p",text:"With that being said, should GBrain simply be installed and left alone? It is not so easy, because it may not be tailored to every use case."},{type:"h1",text:"The original GBrain was forked, and you should too"},{type:"p",text:"Now that GBrain's architecture is understood, it becomes easier to explain why changes to the original repository can sometimes be necessary."},{type:"h3",text:"Database: From PGLite to PostgreSQL"},{type:"p",text:"The default GBrain setup uses PGLite, an embedded version of Postgres compiled to WebAssembly. It is a great default because it requires no server, no Docker, and almost no setup. However, it is not as scalable."},{type:"p",text:"That's one of the reasons Garry Tan mentions Supabase for a more scalable approach. Another option is to start with a faster and local approach: PostgreSQL."},{type:"p",text:"These are the two main reasons that can make such a switch useful:"},{type:"ul",items:["**Performance and Speed:** As the brain grows and graph queries become more expensive, PGLite's WebAssembly-based execution can become a bottleneck.","**Concurrency:*
184* GBrain uses multiple processes running at the same time: live sync, email and calendar imports, dream cycles, health checks, and link extraction. But PGLite can only write one process to the database at a time."]},{type:"p",text:"The tradeoff is that this change breaks the **Autopilot** feature of GBrain. That means the automation needs to be rebuilt separately."},{type:"h3",text:"Schema: From generic to custom"},{type:"p",text:"The schema is another important part of GBrain. It tells the system what kinds of things exist in the brain and how they can be connected."},{type:"p",text:"The default **gbrain-base** schema defines 22 page types, including:"},{type:"ul",items:["person","company","deal","project","meeting","email","slack","calendar-event","concept","media","source","writing","analysis","code","image","diary","event","note"]},{type:"p",text:"It also defines typed relationships such as **works_at**, **invested_in**, **founded**, **attended**, and **led_round**."},{type:"p",text:"This is important because it explains the relationships between pages and what they are. The schema can also use frontmatter and language patterns to infer some of these relationships automatically. If a person page has **company: SpaceX**, for example, GBrain can turn that into a **works_at** relationship in the graph."},{type:"p",text:"The 22 types in Garry Tan's schema are generally enough, but a shorter and more tailored list can make sense for specific needs. A custom schema can instead use types such as **finance**, **hiring**, **task**, **idea**, **research**, **personal**, and **household**, along with additional typed relationships."},{type:"p",text:"This change can create conflicts with how the system is built, but those issues can be solved afterward. Such changes may initially appear lighter than they actually are, because modifying the schema can affect other parts of the system."},{type:"h3",text:"Model Strategy: Different Models for different jobs"},{type:"p",text:"The agent harness used with GBrain can be the **Hermes Agent** by the Nous Research team. While Garry Tan appears to favor Claude, an open-source solution can provide a different approach."},{type:"p",text:"Using one model for everything is also not necessarily efficient."},{type:"p",text:"For instance, the dream cycle can run across thousands of pages, so using an expensive reasoning model for every operation can quickly become expensive. A better strategy is to use cheaper models for high-volume tasks and reserve stronger models for work that actually requires more intelligence."},{type:"p",text:"For example:"},{type:"ul",items:["**Embeddings:** OpenAI **text-embedding-3-large**","**Bulk extraction and synthesis:** DeepSeek V4 Pro 0813","**Reasoning-heavy tasks:** Grok 4.6","**Heavy enrichment:** GPT-5.6 Sol"]},{type:"p",text:"In the case of the Hermes Agent, auxiliary models can also be used to save even more tokens in the process."},{type:"h3",text:"Automation: From autopilot to cron jobs"},{type:"p",text:"As mentioned earlier, changing the vector database to PostgreSQL can break the Autopilot mode, which runs synchronization, dreaming, and maintenance in the background."},{type:"p",text:"Instead, the Hermes Agent can be used to run the brain through explicit cron jobs:"},{type:"ul",items:["**Live Markdown:** database sync every 15 minutes","**Gmail and Calendar imports:** every 6 hours","An overnight **dream cycle**","**Link extraction**","**Health checks and automatic remediation**","**Type-drift detection**","**Meeting-note processing**","**Person and company enrichment**","**Graph quality checks**","**Upstream update checks**"]},{type:"p",text:"This method has some benefits because it gives more control over almost every step of the brain's cycle. It becomes possible to decide exactly when something runs, which model it uses, and how much it is allowed to spend."},{type:"h3",text:"Ingestion: From a simple folder to automation"},{type:"p",text:"GBrain is Markdown-first when it comes to data ingestion. Therefore, **gbrain sync** keeps the database synchronized with the Markdown folder."},{type:"p",text:"GBrain also provides ingestion recipes for external sources such as Google Gmail, Calendar and Contacts, meeting transcripts, X, and voice, but these integrations need to be configured separately."},{type:"p",text:"For example, the Google integration can pull Gmail threads, Calendar events, and contacts. Calendar events can be converted into Markdown pages, which are then imported into GBrain and embedded so they become searchable."},{type:"p",text:"Instead of configuring individual integrations whenever they are needed, a more automated brain can continuously ingest information from sources such as:"}
184,{type:"ul",items:["**Google Workspace** — Gmail and Calendar","**Granola** — meeting notes and participants","**Voice notes**","**External enrichment** — web, LinkedIn, X, and other sources"]},{type:"p",text:"These pipelines convert the incoming information into Markdown and write it into **~/brain/**. From there, the normal GBrain pipeline takes over: sync the files, embed the content, extract relationships, and make everything searchable."},{type:"h3",text:"Enrichment: Create Ideal Customer Profiles (ICP)"},{type:"p",text:"Instead of having a person page that contains a name, company, and a few notes, an enrichment pipeline can build a much richer profile covering things like:"},{type:"ul",items:["What they are building","Their motivations and beliefs","Events and presence","Achievements and deals","Network","Trajectory"]},{type:"p",text:"The information can come from multiple sources, including X, LinkedIn, web research, calendar history, and the existing brain."},{type:"p",text:"This update turns a contact stub into a useful profile, making the graph much more valuable for actual decision-making."},{type:"h1",text:"Conclusion"},{type:"p",text:"This piece is not intended to criticize GBrain or any of the other so-called second brains. The main point is to show that:"},{type:"ul",items:["Markdown-only second brains like Obsidian are not made for scale or for agents.","Hybrid second-brain approaches are better for information retrieval.","GBrain may need some configuration to work for specific needs."]},{type:"p",text:"With that being said, GBrain can simply be cloned and connected to a preferred harness, but that by itself may not be enough."},{type:"p",text:"That is why significant changes can be useful:"},{type:"ul",items:["**Create a custom schema** instead of using the generic one.","**Use native PostgreSQL** instead of PGLite, mainly because it can be significantly faster and handle concurrent processes better.","**Automate ingestion** from Gmail, Calendar, meetings, voice notes, and external sources, so the brain grows without relying on someone to manually upload the information.","**Use Hermes as the operator**, handling ingestion, maintenance, health checks, and remediation.","**Add a custom enrichment layer** that turns basic people and company pages into much richer profiles."]},{type:"p",text:"A customized version is not necessarily better than the original one. It is simply a fork made for a specific set of needs."},{type:"p",text:"And that is how people should start looking at second brains."},{type:"p",text:"Similar to how users pick their preferred harness — Claude, Cursor, Codex, or the Hermes Agent — or build a specialized agent, second brains are no different."},{type:"p",text:"The existing options do not need to be treated as fixed. A solution can be taken and adapted to fit the requirements of a specific workflow."}]},{slug:"5-ways-i-use-grok-bot-to-boost-productivity",title:"5 Ways to Use Grok Bot to Boost Productivity",excerpt:"The differences between the Hermes Agent Bot Mode and Grok Bot, and where you should pick one over another.",category:"Automation",date:"2026-09-08",author:"Marco Rodrigues",authorRole:"Founder, tuik",body:[{type:"p",text:"When **Grok Bot** was first launched, paying $200/month for something that could already be done with the **Hermes Agent** seemed a little crazy."},{type:"p",text:"The price is no longer that high, but Grok Bot still requires a subscription, while the Hermes Agent is free."},{type:"p",text:"In the last few months, AI agents running through Telegram and other chat gateways have become increasingly capable. They can perform browser extraction, browser navigation, and many other things that both Grok Bot and the Hermes Agent Bot Mode can do."},{type:"p",text:"In fact, Hermes Agent Bots aren't too different from running multiple agents through Telegram. They simply make it easier for non-technical people to set up agents directly on the Hermes Desktop. Besides, the bots can also talk to each other."},{type:"p",text:"But still, the Bot Mode on the Hermes Agent was never something that seemed particularly necessary. So why pay for Grok Bot?"},{type:"p",text:"After so many people complained about the premium price of Grok Bot, xAI decided to make it available to Cursor Pro+ subscribers, which made it much easier to try."},{type:"p",text:"Once installed and used, Grok Bot turned out to be surprisingly addictive."},{type:"p",text:"In this piece, the focus is on Grok Bot and how it compares with Hermes Agent Bot Mode. It also explores five use cases where Grok Bot can help boost productivity and even make money."},{type:"h1",text:"Grok Bot vs Hermes Agent Bot Mode: Which one is better?"},{type:"p",text:"The Hermes Agent is an open-source agent harness with endless customization options, a wide range of tools, the freedom to choose between models, and almost everything an advanced user could want."},{type:"p",text:"However, it lacks ease of use, especially for people who are not particularly tech-savvy and simply want to start using agents without spending a lot of time on setup."},{type:"p",text:"The **Nous Research** team, the creators of Hermes Agent, understood this, which is why they have been working on Hermes Desktop and recently added Bot Mode."},{type:"p",text:"Now, creating a Hermes agent, also known as a profile, is a one-click process, making it much easier for more people to start using the harness."},{type:"p",text:"Besides, these are the perks of the Hermes Agent Bot Mode:"},{type:"ul",items:["Every bot is a Hermes profile, meaning it can run on Hermes Desktop but also on other gateways, so agents can live almost anywhere.","Browser actions can be performed on a local machine or remote machines, depending on where the repository is installed.","Group chats can be created so profiles can communicate with each other.","Users can switch between Large Language Models (LLMs), inference providers, or even use local AI.","The skills, tools, and SOUL.md of the bots can be customized."]},{type:"p",text:"The Hermes Agent has built-in browser action tools, but providers like **Browser Use** or **Browserbase** can also be used. However, these are not always enough when logging in, bypassing CAPTCHAs, or accessing Cloudflare-protected websites."},{type:"p",text:"And this is actually one of the downsides of Hermes Agent Bot Mode. There are essentially two options:"},{type:"ul",items:["Run browser actions from a local computer, knowing that they consume a lot of RAM and may limit the ability to work on other things while the agent is running. The machine also needs to stay turned on.","Run browser actions from a VPS or remote machine, but use a VNC connection to approve things when necessary."]},{type:"p",text:"Knowing this, the big advantage of Grok Bot becomes clear:"},{type:"ul",items:["It runs on a **persistent cloud computer**. This is a Linux virtual machine living on xAI's servers, with its own browser, filesystem, and terminal. When a task is assigned, the bot opens a browser on that remote machine."]},{type:"p",text:"Like Hermes Agent Bot Mode, Grok Bot can also perform browser actions from a local computer, but that probably won't be necessary for most tasks. The remote environment makes it possible to keep working without relying on the local machine, while credentials can be stored so there is less need to constantly approve actions, bypass CAPTCHAs, or log in."},{type:"p",text:"Besides that, Grok Bot also allows users to:"},{type:"ul",items:["Make bots interact with each other.","Connect to multiple integrations, such as Gmail, Notion, Calendly, HubSpot, and Slack.","Create routines, or cron jobs, for repeated tasks.","Create templates for bots or use existing ones."]},{type:"p",text:"What users don't get with Grok Bot:"}
184,{type:"ul",items:["**Privacy:** A significant amount of privacy is given up with Grok Bot, as data and activity are handled by xAI.","**Customization:** Grok Bot doesn't offer anywhere near the same level of customization as Hermes Agent. Users can't even choose which model to run.","**Flexibility:** Grok bots are tied to the platform. They cannot simply be taken elsewhere and run on other gateways."]},{type:"p",text:"With that being said, the biggest advantage of Grok Bot is really the ease of use and speed, because almost everything else can also be done with Hermes Agent."},{type:"p",text:"The browser interaction is the real differentiator. For tasks where an API is already available, there is probably little reason to use Grok Bot."},{type:"p",text:"The following use cases show where Grok Bot can be particularly useful and how browser automation can improve productivity and even create new business opportunities."},{type:"h1",text:"Grok Bot for finding and messaging leads on Upwork"},{type:"p",text:"Freelancers often rely heavily on Upwork to find clients. Agencies also need to apply for jobs on behalf of the freelancers working with them."},{type:"p",text:"Applying for jobs is time-consuming and frustrating. It can be especially difficult for a new agency that needs to start actively searching for opportunities again."},{type:"p",text:"The good part is that this process no longer needs to be entirely manual. A Grok Bot agent can be created specifically for this purpose and configured to perform the following tasks every day:"},{type:"ul",items:["**Searches for positions that the team can deliver:** Agent development, AI influencers, workflows, automation, Hermes Agent, Cursor, Claude, and chat assistants.","**Applies filters:** Only positions that pay above $45/h and accept agencies.","**Lists & drafts:** The top 10 positions are collected every day, and each position is matched with the most appropriate freelancers on the team. The agent then writes a draft as if the freelancer were applying.","**Sends proposals:** The agent checks how many **Connects** the agency has and whether the opportunity is worth bidding on before applying for the position."]},{type:"p",text:"The final step doesn't necessarily need to be fully automated because the drafts can sometimes be poor and look too much like AI-generated content, which is the last thing a potential client wants to see."},{type:"p",text:"A human can therefore spend a few minutes optimizing the drafts, while the rest of the process is handled automatically."},{type:"p",text:"Upwork does have a developer API, but access is not always available, making browser automation a useful alternative for this type of workflow."},{type:"h1",text:"Grok Bot to collect data from Facebook Marketplaces"},{type:"p",text:"Facebook remains widely used in many countries, especially for real estate and second-hand products."},{type:"p",text:"Many countries have their own real estate and second-hand websites, but not everything is listed there, and the prices are not necessarily the best available."},{type:"p",text:"Meta does not have a publicly available API for individual developers, small businesses, or general public use, while scraping Facebook can be extremely difficult and tedious."},{type:"p",text:"Grok Bot changes that by allowing an agent to collect data while the user is away from the computer, using remote servers to perform the work."},{type:"p",text:"The possibilities with Facebook Marketplace are extensive, but some examples include:"},{type:"ul",items:["**Web scraping:** Data can be collected that isn't available on traditional e-commerce websites.","**Data enrichment:** Products already listed on other marketplaces can be enriched with additional information from Facebook. For example, a house found on Idealista could also be found on Facebook, allowing information from both sources to be combined for additional insights about the property.","**New marketplaces:** There may not be dedicated websites for certain niches, such as container houses, while Facebook may contain many listings. A new marketplace could be created using listings collected from Facebook.","**Newsletter:** Instead of building and managing a marketplace, the collected listings could be turned into a newsletter with new opportunities published every day or week."]},{type:"p",text:"Essentially, Grok Bot removes a significant barr
184ier to collecting data from Facebook and other social media platforms."},{type:"p",text:"It isn't particularly fast because it relies on browser automation, and running it at full speed could put an account at risk. But it can still be useful for extracting information from niche markets and finding products or listings that would otherwise be difficult to crawl."},{type:"h1",text:"Grok Bot for automated QA"},{type:"p",text:"One of the things **tuik** can do is build agents that run on Slack, WhatsApp, Telegram, or custom chat interfaces."},{type:"p",text:"The problem is that every time an agent is shipped, it needs to be tested extensively to make sure it is properly sandboxed."},{type:"p",text:"Grok Bot can make this testing process much faster by providing it with a prompt containing detailed information about what needs to be tested."},{type:"p",text:"For example, Grok Bot can run daily checks on chat assistants in production to look for vulnerabilities. When it finds one, it can open a ticket directly on the relevant platform or send a text message."},{type:"p",text:"This implementation can dramatically reduce the amount of time spent on testing, while also helping customers reduce costs and ship agents faster."},{type:"p",text:"Again, Grok Bot is not a full replacement for QA testing because there are still many things that only humans have the sensitivity to detect."},{type:"p",text:"However, it can reduce a significant amount of repetitive work."},{type:"h1",text:"Grok Bot for funneling information"},{type:"p",text:"One of the hardest things about being a freelancer is having to adapt to all sorts of environments and technology stacks that clients use."},{type:"ul",items:["For project management, some may use Asana, while others use Notion or ClickUp.","For communication, some use Microsoft Teams, while others use Slack.","For taking meeting notes, some use Google Meet, while others use Fireflies.","For Git, some use GitHub, while others use GitLab."]},{type:"p",text:"The list goes on and on, and freelancers often need to adapt to whatever tools their clients use."},{type:"p",text:"This can take a significant amount of time, especially when working with multiple clients at the same time."},{type:"p",text:"Grok Bot can eliminate a big part of this problem."},{type:"p",text:"For example, tabs containing Asana tasks, Fireflies transcripts, and conversations on Teams can be left open while the agent accesses them, collects the relevant information, and condenses it into the tasks and information actually needed in Notion or another project management tool."},{type:"p",text:"AI is increasingly good at information retrieval, and most of the time, it is fairly accurate."},{type:"p",text:"The same cannot always be said about delivering information. AI-generated documents and articles can still be difficult to read and understand."},{type:"p",text:"That's why using Grok Bot to funnel information from multiple clients' platforms can be so useful. Instead of spending so much time researching, switching between tools, and trying to piece everything together, more time can be spent actually delivering the work."},{type:"h1",text:"Grok Bot for automating my accounting"},{type:"p",text:"For an agency working with multiple freelancers, the person managing the agency may also need to handle accounting and executive-assistant work."},{type:"p",text:"Grok Bot can be used to pull invoices and the hours worked by each freelancer and generate a report showing how much each freelancer should be paid, in whatever currency they use."},{type:"p",text:"This is something that could otherwise take at least an hour, depending on the number of freelancers involved."},{type:"p",text:"The process requires calculating the hours, applying the Upwork commission, applying the agency commission, checking the currency exchange rate, and finally writing a report explaining what is being paid and why."},{type:"p",text:"For someone who has never handled this type of work before, having an agent perform most of the process can eliminate the need to hire someone specifically for it."},{type:"p",text:"But the accounting process doesn't end there."},{type:"p",text:"Invoices may then need to be submitted through the Portuguese finance website, which can be another time-consuming step."},{type:"p",text:"Grok Bot can also handle this process using the PDFs stored on Upwork that contain the relevant information from clients."},{type:"h1",text:"Conclusion"},{type:"p",text:"As these use cases show, most of the practical applications of Grok Bot are related to browser automation."},{type:"p",text:"And that is where the real potential of these agents with limited customization can be found."},{type:"p",text:"They are not designed to be highly customizable agents. Users don't get the same level of control over models, tools, or workflows that they get with something like Hermes Agent."},{type:"p",text:"This is a good example of how highly robust agents are not always necessary to improve productivity, optimize processes, or even make money."},{type:"p",text:"Grok Bot stands out because of its browser interaction capabilities and, more specifically, the remote machine provided by xAI."}
184,{type:"p",text:"That is what makes it different from other agent harnesses and makes it possible to spend more time on important work while reducing repetitive tasks."},{type:"p",text:"Hermes Agent is still a better choice for other kinds of use cases and whenever more control over agents is required, especially when creating and posting rather than simply reading and collecting information."},{type:"p",text:"Grok Bot is also cheaper now than when it was first released, so if someone is already paying for people or software to handle some of these tasks, it may be worth considering whether an agent could replace part of that work."},{type:"p",text:"But there is an important tradeoff: using Grok Bot means potentially exposing a significant amount of information to xAI."},{type:"p",text:"For those who are comfortable with that tradeoff, Grok Bot can be a powerful way to automate repetitive work and delegate tasks that would otherwise require a significant amount of manual effort."}]},{slug:"ai-engineering-vs-harness-engineering",title:"The difference between AI Engineering and Harness Engineering.",excerpt:"The reason why Harness Engineering is the key to ship agents faster without paying an AI Engineer salary.",category:"Harness Engineering",date:"2026-08-22",author:"Marco Rodrigues",authorRole:"Founder, tuik",body:[{type:"p",text:"There are common misconceptions about:"},{type:"ul",items:["An **agent** and a **harness**","An **agent** and a **workflow**","An **agent** and a **bot**"]},{type:"h2",text:"Bots"},{type:"p",text:"Consider those chat assistants on insurance websites that are supposed to help before a customer speaks with a human. Most of them are **bots**, not agents."},{type:"p",text:"Traditionally, these systems have been based on keywords, decision trees, and predefined options rather than understanding context and taking actions autonomously."},{type:"p",text:"Even if they use an **LLM**, that alone doesn't automatically turn them into agents. An LLM-powered chatbot can still be just a chatbot."},{type:"h2",text:"Workflows"},{type:"p",text:"Automation platforms like **Make** and **n8n** existed long before the recent rise of AI agents. They allow users to create pipelines for tasks such as:"},{type:"ul",items:["Sending emails","Posting on social media","Moving data between applications","And much more"]},{type:"p",text:"These workflows may or may not include LLMs in the process. Still, that doesn't make them agents."},{type:"p",text:"An agent can indeed be a bot, just as an agent can trigger workflows. But **not all bots are agents**, and **not all workflows require agents**."},{type:"h2",text:"Agent harnesses"},{type:"p",text:"Then there are **agent harnesses**, such as:"},{type:"ul",items:["**Claude**","**Cursor**","**Codex**","**OpenClaw**","**Hermes Agent**"]},{type:"p",text:"These are environments built around agents: they provide the tools, interfaces, execution layers, and infrastructure needed to build and run agents without having to assemble everything through raw **SDKs** (Software Development Kits)."},{type:"p",text:"So, when someone pays for a product like Claude, they are not simply paying for a “Claude agent.” They are paying for a complete product that combines **models**, a **harness**, **infrastructure**, and a **user experience** that makes working with agents much easier."},{type:"p",text:"However, not every agent harness will allow someone to build the agents and workflows they are aiming for."},{type:"p",text:"The **right harness** needs to be chosen for the job, and open-source solutions can often offer significantly more customization and flexibility."},{type:"p",text:"This piece starts by breaking down the differences between an agent and a harness. It then explains the role of a **Harness Engineer** and how this emerging specialization can, in some cases, reduce the need for traditional AI engineering work when it comes to building and deploying agents."},{type:"h1",text:"Claude, Cursor, and Codex are not agents"},{type:"p",text:"Imagine a chat assistant where a question produces a poor output. Even after switching to a better model, the system continues hallucinating. What should be done?"},{type:"h3",text:"What is an agent?"},{type:"p",text:"To put it simply, an **agent** is a **model combined with a loop**."},{type:"p",text:"In other words, it is a script where a task is given to an LLM. The model “**decides, acts, observes, repeats**” until it reaches a goal. This cycle is what is often called the **agentic process**."},{type:"p",text:"That loop is the seed of everything. But without a “**shell**” and more logic around it, it cannot do much. It is similar to a brain left alone, without protection or connections to the rest of the body."},{type:"h3",text:"What is a harness?"},{type:"p",text:"The **harness** is everything around the model that makes it safe, reliable, and functional. It is the operating environment, the exoskeleton, the scaffolding."},{type:"p",text:"Among other things, a harness includes:"},{type:"ul",items:["**Tools:** Running a command, reading a file, calling an API, scraping a website, searching the web. All of these, and more, are considered tools. They make interaction with the “external” world possible.","**Memory:** Without it, the agent is amnesiac and keeps repeating itself. Different harnesses provide different memory layers.","**Permissions:*
184* What the agent is allowed to do on its own, and what requires a human to approve first.","**Sandboxing:** Protecting API keys, internal information, and other sensitive resources, along with many other guardrails depending on the use case.","**Context management:** Helping the model actually fit the problem into its context window, compressing old turns, deciding what matters, and bringing the right information back when needed.","**Evaluation:** How it is determined, before letting the agent loose, that it does the right thing more often than not.","**The loop itself:** How the decide-act-observe cycle is structured."]},{type:"p",text:"Very often, the problem is **not the LLM** given to the agent, but the **harness around it**. The same model can deliver very different results when running inside two different harnesses."},{type:"p",text:"The model should therefore not automatically be blamed, especially when it performs well on agentic benchmarks. **The harness should be examined, too.**"},{type:"h3",text:"Some examples of harnesses"},{type:"p",text:"There are several options, although most users probably only need one."},{type:"p",text:"Take **Claude**. There is:"},{type:"ul",items:["Claude Code","Claude Desktop","Claude Cowork","Claude Dispatch","And so on"]},{type:"p",text:"Anthropic has frontier models, but that's not what makes Claude so popular. If Kimi ran inside Claude Desktop tomorrow, not many people would probably notice."},{type:"p",text:"What makes it special is the ease of use, the design, and how well it handles planning, presentations, and creating artifacts."},{type:"p",text:"Now, **Cursor** behaves differently. It started as a fork of VS Code and slowly became “**the harness for developers**.” Now, users can do almost everything the agentic way without even having to look at the code."},{type:"p",text:"**Hermes Agent** is another notable example. It is a fully **open-source harness**, like OpenClaw, that allows users to do, well, almost anything."},{type:"p",text:"It is not as simple to get started with as Claude, and it is not as polished for coding as Cursor. But it offers almost unlimited customization. Users can:"},{type:"ul",items:["Connect to multiple gateways","Use countless inference providers","Run local models","Connect to home devices","Create enterprise applications"]},{type:"p",text:"With Claude and Cursor, there is relatively little harness engineering that can be done because they are **closed environments**. With Hermes, there are far fewer limits."},{type:"h1",text:"Don't hire AI engineers to build agents"},{type:"p",text:"Many companies are hiring **AI Engineers** to build agents."},{type:"p",text:"The stack often includes **LangChain** agents or Google's **ADK** (Agent Development Kit), along with expertise in **RAG** (Retrieval-Augmented Generation) systems."},{type:"p",text:"It's great that the market is still looking for these specialists. But does building agents from scratch really require AI Engineers?"},{type:"p",text:"The difficulty of building an agent nowadays isn't necessarily in mastering Python libraries and SDKs. Tools like Claude and Cursor can handle a significant amount of that implementation work (yes, vibe coding!)."},{type:"p",text:"The real challenge is often building the harness around the agent:"},{type:"ul",items:["Tools","Memory layers","Sessions","Guardrails","Execution","Permissions"]},{type:"p",text:"This is where **Harness Engineering** comes in."},{type:"p",text:"**Harness Engineering** is an emerging specialization within AI Engineering. Harness Engineers can either build tailored harnesses around agents or configure and extend existing ones."},{type:"h3",text:"AI Engineering"},{type:"p",text:"An **AI engineer** is the person who turns an LLM into something a company can actually use."},{type:"p",text:"Some AI engineers come from backend development or data science, since the field involves data manipulation, statistics, and machine learning."},{type:"p",text:"However, deep expertise in machine learning or deep learning is not necessarily required to work as an AI engineer. The role is often focused on:"},{type:"ul",items:["RAG pipelines","LLM integration","AI agents","Function calling","Vector databases"]},{type:"p",text:"The most popular programming language among AI engineers is **Python**, and the stack often includes LangChain, LangGraph, LlamaIndex, agent SDKs, LLM APIs, and some DevOps knowledge."},{type:"p",text:"It's also one of the fastest-growing jobs in the US right now. LinkedIn ranks it number one, with **143% more postings** than a year ago."},{type:"p",text:"The job can consist of the following:"},{type:"ul",items:["Wiring an LLM into a product or pipeline, often using **Prompt Engineering**, or more recently, **Context Engineering**.","Using multimodal LLM solutions for data enrichment, video creation, image generation, audio integration, and more.","Creating **RAG** systems by breaking documents into chunks, embedding them, storing those embeddings in a vector database, and retrieving the relevant information when someone asks a question.","Building AI agents using frameworks such as LangChain, Google's ADK, and other agent libraries. This also increasingly requires an understanding of agent harnesses."]},{type:"p",text:"The list can go on. These are just a few examples, and as the field continues to grow, new sub-roles and specializations are emerging, such as **Loop Engineering** and **Context Engineering**."},{type:"p",text:"Even Harness Engineering can be viewed as a specialization within AI Engineering. However, while many AI engineers can perform this type of work, **the opposite isn't necessarily true**."},{type:"h3",text:"Harness Engineering"},{type:"p",text:"A **Harness Engineer** does **not** build the agent from scratch."},{type:"p",text:"Instead, they **configure, extend, and deploy** agents inside an existing harness. Companies are already hiring for this exact title, sometimes listed as “Software Engineer, Agent Harness,” “Agent Infrastru
184cture,” or even “AI Engineer.”"},{type:"p",text:"The job descriptions typically involve experience with:"},{type:"ul",items:["Execution runtimes","Guardrails","Model routing","Memory systems","Session management","Tool integrations","**MCP** (Model Context Protocol)"]},{type:"p",text:"In other words, it's everything that surrounds the agent and allows it to actually do useful work."},{type:"p",text:"Anyone using Claude, Codex, or Cursor is probably already doing a bit of harness engineering."},{type:"p",text:"But things get more complicated when more specific use cases are required, often achievable with open-source harnesses like the **Hermes Agent** or **OpenClaw**."},{type:"p",text:"Harness Engineering can be separated into three tiers:"},{type:"ul",items:["**Tier 1:** Creates skills, integrations, and small modifications to existing open-source or closed-source harnesses.","**Tier 2:** Takes an existing open-source harness and uses it to build a custom agent for a specific use case.","**Tier 3:** Builds the agent harness itself, including the underlying runtime, tooling, memory, routing, permissions, and other infrastructure."]},{type:"p",text:"Right now, **Tier 2** engineers can build all sorts of specialized agents without necessarily having the skills required in Tier 3."},{type:"p",text:"That can make them extremely valuable to companies because they can **ship custom agents faster**."},{type:"p",text:"Instead of reinventing the infrastructure, Tier 2 specialists can master existing open-source harnesses and adapt them to customer needs."},{type:"h1",text:"Conclusion"},{type:"p",text:"The differences between **AI Engineering** and **Harness Engineering** highlight two closely related but distinct areas of work."},{type:"p",text:"While Harness Engineering can fit within AI Engineering, it also encompasses many areas traditionally associated with **Software Engineering**."},{type:"p",text:"The rise of open-source harnesses has made it possible to build all kinds of agents without being as constrained by the limitations of a particular commercial harness, as can happen with products such as Claude, Cursor, and Codex."},{type:"p",text:"People are already building agents to:"},{type:"ul",items:["Automate their personal and professional lives","Create social media content","Scrape information from the web","Deliver daily briefings","Control home devices","Run outreach campaigns","Work with local or less-restricted models"]},{type:"p",text:"Some of these things can be done with Claude, Cursor, or Codex. But there are limits to how much the underlying system can be customized."},{type:"p",text:"This is where Harness Engineers can add value. They can:"},{type:"ul",items:["Identify the **right harness** for a particular use case","**Customize and extend** it","Ship a working agent much faster than building the entire infrastructure from scratch with raw SDKs"]},{type:"p",text:"Building agents now takes **days, not months**."}]},{slug:"nina-mom-ai",title:"How to build an AI Influencer? Meet Nina Mom AI.",excerpt:"The mother who makes a living from conscious motherhood.",category:"Generative AI",date:"2026-07-23",author:"Karen Gallegos",authorRole:"tuik",body:[{type:"p",text:"A month ago, Nina didn't exist. Today, she has an [Instagram account](https://www.instagram.com/ninamomai/) where she talks about **BLW**, **breastfeeding**, **respectful parenting**, and **conscious motherhood**, and posts content constantly, just like any human creator."},{type:"p",text:"The difference is that Nina has never lost sleep over a night feed or filmed a reel with her baby crying in the background."},{type:"p",text:"Nina is **100% artificial intelligence**, and this is how she was built."},{type:"h1",text:"AI as a motherhood influencer"},{type:"p",text:"A specific niche was deliberately chosen: the world of motherhood."},{type:"p",text:"Right now, AI influencer content is dominated by superficiality and sexualization, categories the digital space already has more than enough of. So the idea was to create an **AI mother** who cares, who is conscious, and who shares content that accompanies and genuinely helps during a stage that, thanks to social media, is now known to be both exhausting and vulnerable."},{type:"h1",text:"The script: the one part no AI solves alone"},{type:"p",text:"Nina has a script, and that script isn't written freely by artificial intelligence. It is written and shaped by the person behind the character, who understands exactly what Nina needs to say and how she should say it."},{type:"p",text:"This is arguably the hardest part of the whole process: getting a character to “sound” like herself every time, with nuance, without slipping into something generic or robotic, is far harder to get right than it might seem."},{type:"p",text:"To properly use AI for this part, a very detailed **character profile** was first created, including:"},{type:"ul",items:["Context","Values","Nina's way of seeing parenting"]},{type:"p",text:"More importantly, **original reference texts** were used so that any script suggestion would get closer to how Nina actually writes, rather than falling into a generic “AI influencer” tone."},{type:"p",text:"Every piece of text Nina publishes goes through **manual review and adjustment**, even after all that groundwork."},{type:"p",text:"Technology helps get closer to the right tone, but the final decision about what Nina says and how she says it remains entirely human."},{type:"h1",text:"From a face to a consistent character"},{type:"p",text:"The first technical challenge of any AI influencer is **consistency**: making the same person look the same across different photos and videos, under different lighting, angles, and scenes."},{type:"p",text:"To achieve this, a custom model (a **LoRA**) was trained on top of **Flux 2**, one of the most advanced image-generation models available today."},{type:"p",text:"That training is the part that matters most. It is literally what makes Nina Nina, rather than a generic, randomly generated face."},{type:"p",text:"Once the model is trained, generating a new image of Nina takes just a few seconds and costs cents on the dollar."},{type:"p",text:"That's what makes iteration possible. Instead of a single, expensive, unrepeatable photo shoot, ten variations of a scene 
184can be generated and the best one selected, something that would be difficult to imagine in traditional production."},{type:"h1",text:"Bringing her to life"},{type:"p",text:"Going from a still image to video is a huge leap."},{type:"p",text:"Different video-generation engines are used depending on the type of shot:"},{type:"ul",items:["**Close-ups** of Nina talking to the camera: **HeyGen Avatar IV**. The avatar engine takes the approved photo and the already-generated audio and returns a clip with the mouth synchronized in the same step.","**“Casual vlog”** style shots, with a phone held in hand: **Veo 3.1**, one of the more solid video models on the market today in terms of physically believable motion."]},{type:"p",text:"Each video clip takes anywhere from one to several minutes to generate, depending on the length and complexity of the scene. The cost ranges from cents to a few dollars depending on the engine and duration."},{type:"p",text:"One important discovery from working with these tools is that the newest video models have **safety filters** that can sometimes block perfectly innocent content simply because they detect a photorealistic face in a particular framing."},{type:"p",text:"This was the case with **Seedance 2.0**, which was initially considered before the final stack was selected."},{type:"p",text:"Choosing the right engines therefore wasn't automatic. Several alternatives had to be tested, with particular attention paid to how well Nina's identity held up from shot to shot."},{type:"p",text:"A face that warps or a body that changes proportions halfway through a clip breaks the illusion completely."},{type:"h1",text:"The voice"}
184,{type:"p",text:"Nina's voice is generated with **ElevenLabs**, currently one of the most widely used voice-synthesis providers in AI content production."},{type:"p",text:"The speaking pace was adjusted so that it would sound natural in the context of someone talking to a baby, rather than like a narrator reading a script."},{type:"p",text:"Generating the audio for a full script takes between thirty seconds and a couple of minutes."},{type:"p",text:"For shots where Nina talks directly to the camera, voice and video are resolved in the same step. The avatar engine takes the approved photo and the already-generated audio and returns a clip where the mouth moves in sync with what she is saying."},{type:"p",text:"In Nina's world, however, not every shot needs this."},{type:"p",text:"In B-roll-style shots, for example, Nina might be rocking her baby while looking out the window as the audience “hears what she's thinking.” In those cases, the audio can simply be mixed directly onto the video without touching the mouth."},{type:"h1",text:"The detail no one notices"},{type:"p",text:"**Ambient sound** is the last link that makes a video feel real."},{type:"ul",items:["The rustle of fabric","The echo of a kitchen","The air in a room"]}
184,{type:"p",text:"That ambient sound is generated with a dedicated audio model, applied to the silent video before the voice is added. This is necessary because these models replace any existing audio rather than mixing with it."},{type:"p",text:"It is a step that costs only fractions of a cent per second, but it demands technical care."},{type:"p",text:"If the model “sees” a mouth moving in the video, it can sometimes hallucinate a voice that was never requested."},{type:"p",text:"Solving this requires, once again, a considerable amount of trial and error."},{type:"h1",text:"Nothing gets published without human review"},{type:"p",text:"This is perhaps the most important point in the whole process."},{type:"p",text:"Every image, every video clip, and every audio file goes through an approval stage before moving on to the next step."},{type:"p",text:"This isn't a pipeline that runs end-to-end on its own without review. It is a work queue where a person reviews, approves, requests a regeneration, or rejects each piece."},{type:"p",text:"**AI generates; human judgment decides.**"},{type:"p",text:"That discipline is what keeps Nina from publishing something that looks “off” or breaks character."},{type:"h1",text:"The final edit"},{type:"p",text:"Once the image, video, voice, lip sync, and ambient sound have been approved, **DaVinci Resolve** is used for the cuts, captions, and pacing."},{type:"p",text:"This is the same tool used by film and TV editors."},{type:"p",text:"It is currently the only step handled entirely by hand, because it provides every piece with a final quality check that no model can replace yet."},{type:"h1",text:"Translating it into numbers"},{type:"p",text:"Without revealing every gear in the system, the impact can still be expressed in numbers."},{type:"ul",items:["An **image** of Nina costs cents and takes seconds to generate.","A finished **video clip**, with voice and, where relevant, lip sync already included, costs anywhere from a dollar to a couple of dollars depending on the type of shot and its length.","**Ambient sound** is nearly free, costing fractions of a cent per second."]},{type:"p",text:"From idea to approved final piece, a complete piece of content — image or video, with voice and ambient sound — can come together in a matter of **hours rather than days**, without depending on talent availability, location, or weather."},{type:"p",text:"That doesn't simply mean “cheaper, and that's it.”"},{type:"p",text:"It means that the same budget that once covered one content shoot per month can now support **daily publishing**, multiple variations, and the ability to discard what doesn't work without the same level of financial waste."},{type:"h1",text:"Proof of concept"},{type:"p",text:"In today's digital competition, constant, coherent content and a recognizable voice matter enormously. Those are exactly the qualities a human influencer offers."},{type:"p",text:"Now, the same model is also possible with an AI influencer, but without the same limitations around schedules, mood, or availability."},{type:"p",text:"This isn't about replacing authenticity. It's about **scaling it**."},{type:"p",text:"A well-built character, backed by a disciplined production process and human review at every step, can sustain content creation at a pace and cost that no human team could match on its own."}]}];function bm(a){return ci.find(i=>i.slug===a)}function xm(a){const i=new Date(`${a}T00:00:00Z`);return new Intl.DateTimeFormat("en-US",{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}).format(i)}const wm=[{title:"Custom AI agents",body:"An assistant trained on your business works. It lives in Slack, pulls information from multiple integrations, generates reports and answers like a teammate.",example:"Answers customers emails, assigns tasks like a project manager, and delivers briefs on a Slack channel."},{title:"Workflows & pipelines",body:"Automations that move data between your apps and handle the boring steps, without a Zapier, Make or n8n bill that grows with every task.",example:"New lead fills a form, gets scored, lands in your CRM and your team is notified."},{title:"Replace paid licences",body:"Engineering solutions to replace softw
184are you're paying too much for. Whether that's through an AI agent or a tailored tool built from scratch.",example:"A custom reporting dashboard instead of a per-user analytics subscription."},{title:"Agent training",body:"We train your team to build custom agents the way we do, from the first brief to a working agent.",example:"A hands-on session where we build one together, so your team can build the next."}],bb="tuik | Custom AI agents that reduce costs",xb="Custom AI agents and automated workflows that replace Zapier, Make, n8n and costly software licences. Delivered in days. Book a free call.",xp="Plain-language notes on AI agents, automation and replacing costly tools, from the tuik team.",wb={"@context":"https://schema.org","@type":"ProfessionalService",name:"tuik",alternateName:"Tuik",url:"https://tuik.ai/",logo:"https://tuik.ai/favicon.png",image:"https://tuik.ai/og-image.png",description:"tuik builds custom AI agents, automated workflows and pipelines that cut costs and time, replacing tools like Zapier, Make and n8n and costly software licences.",slogan:"We ship agents faster.",email:"[email protected]",foun
184der:{"@type":"Person",name:"Marco Rodrigues",url:"https://www.upwork.com/freelancers/~01185447baa36a1b77"},areaServed:"Worldwide",serviceType:["AI agent development","AI automation","Workflow automation","Custom software"],knowsAbout:["AI agents","Workflow automation","Zapier alternatives","n8n alternatives","Make alternatives","Data pipelines","Dashboards and reporting"],hasOfferCatalog:{"@type":"OfferCatalog",name:"What we build",itemListElement:wm.map(a=>({"@type":"Offer",itemOffered:{"@type":"Service",name:a.title,description:a.body}}))},sameAs:["https://www.linkedin.com/in/dadhalfdev","https://github.com/dadhalfdev","https://x.com/dadhalfdev","https://www.upwork.com/freelancers/~01185447baa36a1b77"]},_b={title:bb,description:xb,canonical:"https://tuik.ai/",jsonLd:[wb]};function Sb(a){const i=a.split("?")[0].replace(/\/$/,"")||"/";if(i==="/blog")return{title:"Blog | tuik",description:xp,canonical:"https://tuik.ai/blog",jsonLd:[{"@context":"https://schema.org","@type":"Blog",name:"tuik blog",url:"https://tuik.ai/blog",description:xp,publisher:{"@type":"Organization",name:"tuik",url:"https://tuik.ai/"},blogPost:ci.map(o=>({"@type":"BlogPosting",headline:o.title,url:`https://tuik.ai/blog/${o.slug}`,datePublished:o.date,author:{"@type":"Person",name:o.author}}))}]};if(i.startsWith("/blog/")){const o=i.slice(6),r=bm(o);if(r)return{title:`${r.title} | tuik`,description:r.excerpt,canonical:`https://tuik.ai/blog/${r.slug}`,jsonLd:[{"@context":"https://schema.org","@type":"BlogPosting",headline:r.title,description:r.excerpt,datePublished:r.date,author:{"@type":"Person",name:r.author},publisher:{"@type":"Organization",name:"tuik",url:"https://tuik.ai/"},mainEntityOfPage:`https://tuik.ai/blog/${r.slug}`}]}}return _b}function Pa(a,i,o="name"){let r=document.head.querySelector(`meta[${o}="${a}"]`);r||(r=document.createElement("meta"),r.setAttribute(o,a),document.head.appendChild(r)),r.setAttribute("content",i)}function Tb(){const{pathname:a}=Bt();return N.useEffect(()=>{const i=Sb(a);document.title=i.title,Pa("description",i.description),Pa("og:title",i.title,"property"),Pa("og:description",i.description,"property"),Pa("og:url",i.canonical,"property"),Pa("twitter:title",i.title),Pa("twitter:description",i.description);const o=document.head.querySelector('link[rel="canonical"]');o&&o.setAttribute("href",i.canonical)},[a]),null}function _m(a,i,o=340){const[r,c]=N.useState(i);return N.useLayoutEffect(()=>{const f=a.current;if(!f)return;const h=()=>{const v=f.clientWidth,y=f.clientHeight;if(v<2||y<2)return;const x=o*y/v;c(w=>Math.abs(w-x)<.5?w:x)};h();const m=new ResizeObserver(h);return m.observe(f),()=>m.disconnect()},[i,o]),r}const wp=348,_p=828,Sp=780*12,Ou=12e3,Tp=2e3,Su=Ou,zb=340,ni=24,Eb=42,Tu=30;function ca(a){return`$${a.toLocaleString("en-US")}`}const Ab=[{label:"Make",value:wp,display:ca(wp),tip:"Make Teams, $29/month",tone:"slow",x:72},{label:"Zapier",value:_p,display:`${ca(_p)}+`,tip:"Zapier Business, $69+/month",tone:"slow",x:124},{label:"n8n",value:Sp,display:`~${ca(Sp)}`,tip:"n8n Business, $780/month",tone:"slow",x:176},{label:"Licenses",value:Ou,display:`+${ca(Ou)}`,tone:"slow",x:228},{label:"tuik",value:Tp,display:`<${ca(Tp)}`,tone:"fast",x:284}];function kb(){const a=N.useRef(null),i=_m(a,178),o=i-Eb,r=o-ni,[c,f]=N.useState(null);function h(m,v){const y=m.currentTarget.closest(".cost__chart"),x=m.currentTarget.querySelector("rect");if(!y||!x)return;const w=y.getBoundingClientRect(),z=x.getBoundingClientRect();f({text:v,left:z.left-w.left+z.width/2,top:z.top-w.top})}return g.jsxs("aside",{className:"cost","aria-label":"Annual cost: Make $348, Zapier $828 or more, n8n about $9,360, other third-party licences +$12,000. tuik is a one-time setup under $2,000.",children:[g.jsx("header",{className:"cost__header",children:g.jsx("p",{className:"cost__title",children:"Annual cost vs one-time setup"})}),g.jsxs("div",{className:"cost__chart",ref:a,children:[g.jsxs("svg",{viewBox:`0 0 ${zb} ${i}`,className:"cost__svg",fill:"none",children:[g.jsx("path",{className:"cost__grid",d:`M64 ${ni}H328M64 ${ni+r/2}H328M64 ${o}H328`}),g.jsx("text",{x:"58",y:ni+4,textAnchor:"end",className:"cost__axis",children:ca(Su)}),g.jsx("text",{x:"58",y:ni+r/2+4,textAnchor:"end",className:"cost__axis",children:ca(Su/2)}),g.jsx("text",{x:"58",y:o+4,textAnchor:"end",className:"cost__axis",children:"$0"}),Ab.map(m=>{const v=m.value/Su*r,y=m.tip?{tabIndex:0,className:"has-tip",onMouseEnter:x=>h(x,m.tip),onMouseLeave:()=>f(null),onFocus:x=>h(x,m.tip),onBlur:()=>f(null)}:{};return g.jsxs("g",{...y,children:[g.jsx("rect",{className:`cost__bar cost__bar--${m.tone}`,x:m.x,y:o-v,width:Tu,height:v}),g.jsx("text",{x:m.x+Tu/2,y:o-v-8,className:`cost__callout cost__callout--${m.tone}`,textAnchor:"middle",children:m.display}),g.jsx("text",{x:m.x+Tu/2,y:o+16,className:"cost__tick",textAnchor:"middle",children:m.label})]},m.label)})]}),c?g.jsx("span",{className:"cost__tip",style:{left:c.left,top:c.top},children:c.text}):null]}),g.jsxs("div",{className:"cost__legend",children:[g.jsxs("div",{className:"cost__legend-item",children:[g.jsx("i",{className:"cost__swatch cost__swatch--slow"}),g.jsx("span",{children:"Third-party tools"})]}),g.jsxs("div",{className:"cost__legend-item",children:[g.jsx("i",{className:"cost__swatch cost__swatch--fast"}),g.jsx("span",{children:"tuik, one-time setup"})]})]})]})}const Nb=340,zp=24,jb=152,Ep=24,Ob=18,Cb="M48 152 C 90 148, 120 140, 148 120 S 210 90, 248 64 S 3
18400 36, 320 28",Rb="M48 152 C 58 110, 66 50, 78 28";function ai(a,i){const o=i-Ob,r=(a-zp)/(jb-zp);return Ep+r*(o-Ep)}function Ap(a,i){const o=a.match(/[A-Za-z]|-?\d*\.?\d+/g);if(!o)return a;const r={M:1,L:1,T:1,S:2,Q:2,C:3};let c=0,f="";for(;c<o.length;){const h=o[c++];f+=h;const m=r[h.toUpperCase()]??0;for(let v=0;v<m;v++){const y=o[c++],x=ai(Number(o[c++]),i);f+=` ${y} ${x.toFixed(1)}`}}return f}function Mb(){const a=N.useRef(null),i=_m(a,170),o=[24,56,88,120,152].map(c=>ai(c,i)),r=ai(28,i);return g.jsxs("aside",{className:"speed","aria-label":"We ship agents faster: from scratch takes weeks, our approach takes days.",children:[g.jsx("header",{className:"speed__header",children:g.jsx("p",{className:"speed__title",children:"We ship agents faster"})}),g.jsx("div",{ref:a,className:"speed__chart",role:"img","aria-label":"Line chart: from scratch takes weeks, our approach takes days",children:g.jsxs("svg",{viewBox:`0 0 ${Nb} ${i}`,className:"speed__svg",fill:"none",children:[g.jsx("path",{className:"speed__grid",d:o.map(c=>`M48 ${c}H320`).join("")}),g.jsx("text",{x:"4",y:o[0]+4,className:"speed__axis",children:"100%"}),g.jsx("text",{x:"10",y:o[1]+4,className:"speed__axis",children:"75%"}),g.jsx("text",{x:"10",y:o[2]+4,className:"speed__axis",children:"50%"}),g.jsx("text",{x:"10",y:o[3]+4,className:"speed__axis",children:"25%"}),g.jsx("text",{x:"16",y:o[4]+4,className:"speed__axis",children:"0%"}),g.jsx("path",{className:"speed__line speed__line--slow",d:Ap(Cb,i)}),g.jsx("path",{className:"speed__line speed__line--fast",d:Ap(Rb,i)}),g.jsx("circle",{cx:"320",cy:ai(28,i),r:"4",className:"speed__dot speed__dot--slow"}),g.jsx("circle",{cx:"78",cy:r,r:"4",className:"speed__dot speed__dot--fast"}),g.jsx("text",{x:"86",y:r-8,className:"speed__callout speed__callout--fast",children:"Days"}),g.jsx("text",{x:"292",y:ai(28,i)+30,className:"speed__callout speed__callout--slow",children:"Weeks"})]})}),g.jsxs("div",{className:"speed__legend",children:[g.jsxs("div",{className:"speed__legend-item",children:[g.jsx("i",{className:"speed__swatch speed__swatch--slow"}),g.jsx("span",{children:"From scratch"})]}),g.jsxs("div",{className:"speed__legend-item",children:[g.jsx("i",{className:"speed__swatch speed__swatch--fast"}),g.jsx("span",{children:"Our approach"})]})]})]})}const Db=[{id:"cost",label:"Cost"},{id:"time",label:"Time"}];function Ub(){const[a,i]=N.useState("cost");return g.jsxs("div",{className:"chart-tabs",children:[g.jsx("div",{className:"chart-tabs__list",role:"tablist","aria-label":"Hero charts",children:Db.map(o=>g.jsx("button",{type:"button",role:"tab","aria-selected":a===o.id,className:a===o.id?"is-active":"",onClick:()=>i(o.id),children:o.label},o.id))}),g.jsx("div",{className:"chart-tabs__panel",role:"tabpanel",children:a==="cost"?g.jsx(kb,{}):g.jsx(Mb,{})})]})}function Yu(){return typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Sm(a=.3){const i=N.useRef(null),[o,r]=N.useState(!1);return N.useEffect(()=>{const c=i.current;if(!c)return;if(!("IntersectionObserver"in window)){r(!0);return}const f=new IntersectionObserver(([h])=>{h.isIntersecting&&(r(!0),f.disconnect())},{threshold:a,rootMargin:"0px 0px -8% 0px"});return f.observe(c),()=>f.disconnect()},[a]),[i,o]}function Bb(){const a=document.querySelectorAll("[data-reveal]:not([data-visible])");if(!("IntersectionObserver"in window)||Yu()){a.forEach(o=>o.dataset.visible="true");return}const i=new IntersectionObserver(o=>{for(const r of o)r.isIntersecting&&(r.target.dataset.visible="true",i.unobserve(r.target))},{threshold:.15,rootMargin:"0px 0px -6% 0px"});a.forEach(o=>i.observe(o))}function Tm(a,i,o=1400){const[r,c]=N.useState(a),[f,h]=N.useState(!1);return N.useEffect(()=>{Yu()||(c(0),h(!0))},[a]),N.useEffect(()=>{if(!f||!i)return;let m=0;const v=performance.now(),y=x=>{const w=Math.min(1,(x-v)/o);c(a*(1-Math.pow(1-w,3))),w<1&&(m=requestAnimationFrame(y))};return m=requestAnimationFrame(y),()=>cancelAnimationFrame(m)},[f,i,a,o]),r}const Zb=50;function Hb({start:a}){const i=Tm(Zb,a,1400);return g.jsxs(g.Fragment,{children:["+",Math.round(i)]})}
184function Lb(){const[a,i]=Sm(.35);return g.jsxs("ul",{ref:a,"data-reveal":!0,"aria-label":"Why clients trust us",className:`trust-stats list-none m-0 p-0${i?" is-in":""}`,children:[g.jsxs("li",{className:"trust-stats__cell",children:[g.jsxs("p",{className:"trust-stats__value",children:[g.jsx("span",{className:"trust-stats__stars","aria-hidden":"true",children:[0,1,2,3,4].map(o=>g.jsx("span",{style:{"--i":o},children:"★"},o))}),g.jsx("span",{className:"sr-only",children:"5 stars"})]}),g.jsx("p",{className:"trust-stats__label",children:"5-star client reviews"})]}),g.jsxs("li",{className:"trust-stats__cell",children:[g.jsx("p",{className:"trust-stats__value tabular-nums",children:g.jsx(Hb,{start:i})}),g.jsx("p",{className:"trust-stats__label",children:"projects delivered"})]}),g.jsxs("li",{className:"trust-stats__cell",children:[g.jsx("p",{className:"trust-stats__value",children:"1–2 days"}),g.jsx("p",{className:"trust-stats__label",children:"to hear back from us"})]})]})}function Gb(a,i=2200){const[o,r]=N.useState(0),[c,f]=N.useState(!0),h=N.useRef(!1),m=[...a,a[0]];N.useEffect(()=>{if(Yu())return;const y=window.setInterval(()=>{f(!0),r(x=>x+1)},i);return()=>window.clearInterval(y)},[i]);function v(){o<a.length||h.current||(h.current=!0,f(!1),r(0),requestAnimationFrame(()=>{requestAnimationFrame(()=>{f(!0),h.current=!1})}))}return{items:m,index:o,animate:c,handleTransitionEnd:v}}function qb({words:a}){const{items:i,index:o,animate:r,handleTransitionEnd:c}=Gb(a),f=a.reduce((h,m)=>m.length>h.length?m:h,"");return g.jsxs("span",{className:"word-switch",children:[g.jsx("span",{className:"sr-only",children:a[0]}),g.jsxs("span",{className:"word-switch__viewport","aria-hidden":"true",children:[g.jsx("span",{className:"word-switch__sizer",children:f}),g.jsx("span",{className:`word-switch__track${r?" is-animating":""}`,style:{transform:`translate3d(0, calc(${o} * -1 * var(--switch-line)), 0)`},onTransitionEnd:c,children:i.map((h,m)=>g.jsx("span",{className:`word-switch__item${m===o?" is-current":""}`,children:h},`${h}-${m}`))})]})]})}const $b=["costs","time"],Yb="We build AI assistants and automations tailored to your business, replacing tools like Zapier, Make, n8n or software licenses you're overpaying for.";function Vb(){return g.jsxs("section",{className:"section--white pt-14 pb-16 max-content:pt-16",id:"top",children:[g.jsxs("div",{className:"page-container grid grid-cols-[1.05fr_0.95fr] max-[720px]:grid-cols-1 gap-x-12 gap-y-7 max-[720px]:gap-8 items-start min-w-0",children:[g.jsx("p",{className:"eyebrow reveal col-start-1 m-0 max-[720px]:col-start-auto max-[720px]:order-1 max-[720px]:text-center",children:"Custom AI agents & workflows"}),g.jsxs("h1",{className:"display hero-title reveal col-start-1 max-content:text-[clamp(36px,10vw,52px)] max-content:leading-[1.02] max-[720px]:col-start-auto max-[720px]:order-2 max-[720px]:mx-auto max-[720px]:text-center",children:["Reduce ",g.jsx(qb,{words:$b})," by up to"," ",g.jsx("span",{className:"hero-claim",children:"10x"})," with custom AI agents."]}),g.jsx("p",{className:"subheading reveal reveal-delay-1 col-start-1 max-w-[50ch] text-[19px] leading-[1.45] max-content:text-[17px] max-[720px]:col-start-auto max-[720px]:order-3 max-[720px]:mx-auto max-[720px]:text-center",children:Yb}),g.jsxs("div",{className:"reveal reveal-delay-2 col-start-1 flex flex-wrap gap-3 m-0 max-[720px]:col-start-auto max-[720px]:order-4 max-[720px]:flex-nowrap max-[720px]:justify-center max-[720px]:gap-2",children:[g.jsx(Bo,{href:"#contact",variant:"primary",children:"Book a free call"}),g.jsx(Bo,{href:"#services",variant:"ghost",children:"See what we automate"})]}),g.jsx("div",{className:"reveal reveal-delay-2 col-start-2 row-start-2 row-span-3 flex h-0 min-h-full min-w-0 w-full max-w-full max-[720px]:col-start-auto max-[720px]:row-start-auto max-[720px]:row-span-1 max-[720px]:block max-[720px]:h-auto max-[720px]:min-h-0 max-[720px]:order-5",children:g.jsx(Ub,{})})]}),g.jsx("div",{className:"page-container mt-14 max-[720px]:mt-10",children:g.jsx(Lb,{})})]})}const Xb=[{title:"AI influencer & UGC pipelines",tagLabel:"AI influencer content",body:"Content systems that generate, review, and ship on a 
184schedule, without constant babysitting.",href:"https://www.instagram.com/ninamomai/"},{title:"Data analytics & dashboards",tagLabel:"Dashboards & reports",body:"Pipelines and dashboards that turn messy operational data into decisions you can trust."},{title:"Data science",tagLabel:"Data science",body:"Modeling, experimentation, and analysis that turn data into reliable product decisions."},{title:"Web development",tagLabel:"Websites & web apps",body:"Product surfaces and internal tools that sit cleanly next to your agent stack.",href:"https://blw.kareninatech.com/"},{title:"Generative AI",tagLabel:"AI images, video & text",body:"Generation systems for text, image, and multimodal workflows built for real product use."}];function Qb(){return g.jsx("section",{className:"section section--red",id:"services",children:g.jsxs("div",{className:"page-container grid gap-12 max-content:gap-9",children:[g.jsxs("header",{"data-reveal":!0,className:"max-w-[56ch]",children:[g.jsx("p",{className:"eyebrow",children:"What we build"}),g.jsx("h2",{className:"heading-lg m-0 text-canvas-white",children:"Custom AI agents and workflows, built around how you work."}),g.jsx("p",{className:"subheading mt-5 m-0",children:"We use the latest AI technology and SOTA tools to build exactly what your team needs, and hand you the keys."})]}),g.jsx("ul",{className:"list-none m-0 p-0 grid grid-cols-2 max-panel:grid-cols-1 gap-5",children:wm.map((a,i)=>g.jsxs("li",{"data-reveal":!0,style:{"--i":i},className:"card-press relative flex flex-col gap-3 p-6 border-2 border-graphite shadow-[4px_4px_0_var(--color-graphite)] bg-pure-white",children:[g.jsxs("span",{className:"font-mono text-[13px] font-bold text-tuik-red","aria-hidden":"true",children:["0",i+1]}),g.jsx("h3",{className:"heading m-0 text-[clamp(22px,2.4vw,26px)] tracking-[-0.02em] leading-[1.15] text-graphite",children:a.title}),g.jsx("p",{className:"m-0 text-[15.5px] leading-[1.5] max-w-[46ch] text-steel",children:a.body}),g.jsxs("p",{className:"mt-auto pt-1 m-0 text-[14px] leading-[1.45] text-graphite",children:[g.jsxs("span",{className:"font-mono text-[12px] font-bold tracking-[0.02em] text-tuik-red",children:["Example:"," "]}),a.example]})]},a.title))}),g.jsxs("div",{"data-reveal":!0,className:"grid grid-cols-[160px_1fr] max-panel:grid-cols-1 gap-6 max-panel:gap-3.5 items-center",children:[g.jsx("p",{className:"m-0 font-display text-[13px] font-medium tracking-[0.08em] uppercase text-[color-mix(in_srgb,var(--color-canvas-white)_70%,transparent)]",children:"We also do"}),g.jsx("ul",{className:"list-none m-0 p-0 flex flex-wrap gap-2.5",children:Xb.map(a=>g.jsx("li",{className:"py-2.5 px-3.5 bg-canvas-white shadow-[4px_4px_0_var(--color-graphite)] font-mono text-[15px] font-medium tracking-normal text-gra
184phite",children:a.tagLabel},a.tagLabel))})]})]})})}const Jb=[{name:"n8n",plan:"Business",monthlyUsd:780},{name:"Zapier",plan:"Business",monthlyUsd:69},{name:"Make",plan:"Teams",monthlyUsd:29}],Kb=Jb.reduce((a,i)=>a+i.monthlyUsd,0),Wb=Kb*12,Fb=["Zapier","Make","n8n","Per-seat software licences","Manual work"];function Ib(a){return`$${Math.round(a).toLocaleString("en-US")}`}function Pb(){const[a,i]=Sm(.35),o=Tm(Wb,i,1600);return g.jsx("section",{className:"section section--white",id:"replace",children:g.jsxs("div",{className:"page-container grid gap-12 max-content:gap-9",children:[g.jsxs("header",{"data-reveal":!0,className:"max-w-[64ch]",children:[g.jsx("p",{className:"eyebrow",children:"Replace your tool stack"}),g.jsx("h2",{className:"heading-lg m-0",children:"Stop renting multiple tools. Own one system."}),g.jsx("p",{className:"subheading mt-5 m-0",children:"Many teams rely on paid automation tools and per-seat software, which can limit their ability to scale and innovate. We replace those expensive third-party providers with a single system built around your processes."})]}),g.jsxs("div",{ref:a,className:`stack-swap${i?" is-active":""}`,children:[g.jsxs("div",{className:"stack-swap__before",children:[g.jsx("p",{className:"stack-swap__caption",children:"What you pay for today"}),g.jsx("ul",{className:"stack-swap__list",children:Fb.map((r,c)=>g.jsx("li",{className:"stack-swap__chip",style:{"--i":c},children:r},r))}),g.jsxs("p",{className:"stack-swap__price",children:[g.jsx("span",{className:"tabular-nums",children:Ib(o)}),g.jsx("small",{children:" / year"})]})]}),g.jsx("div",{className:"stack-swap__arrow","aria-hidden":"true",children:g.jsx("svg",{viewBox:"0 0 64 24",fill:"none",children:g.jsx("path",{pathLength:"100",d:"M2 12H58M48 3L60 12L48 21"})})}),g.jsxs("div",{className:"stack-swap__after",children:[g.jsx("p",{className:"stack-swap__caption",children:"What you get with tuik"}),g.jsxs("div",{className:"stack-swap__system",children:[g.jsx("p",{className:"stack-swap__system-title",children:"One custom system"}),g.jsxs("ul",{className:"stack-swap__perks",children:[g.jsx("li",{children:"Built around your process"}),g.jsx("li",{children:"No per-task or per-seat fees"}),g.jsx("li",{children:"Yours to keep and change"})]})]}),g.jsx("p",{className:"stack-swap__price stack-swap__price--fast",children:"One-time setup"})]})]})]})})}const e1=[{quote:"Marco has helped us successfully deliver our first MVP. He's done a great job, is flexible and super easy to communicate with. Would definitely recommend!",name:"Virginie Duverlie",role:"Head of Tech, Sundogs Creative",rating:5},{quote:"I had a great experience working with Marco. He is honest, very efficient and clearly an expert in his field. Communications was smooth, deadlines were always met and the quality of his work exceeded expectations.",name:"Tom Coene",role:"Founder",rating:5},{quote:"Marco has been a key element in setting up our AI and analytics architecture. He has delivered great results, from automating reports to designing insightful dashboards.",name:"Jemma Ratnage",role:"Co-founder, Modal Systems",rating:5}],t1="/assets/marco-Xc6RkUAn.webp",n1=5,kp="https://www.upwork.com/freelancers/~01185447baa36a1b77";function a1({rating:a,labelId:i}){return g.jsxs("div",{className:"flex gap-1",role:"img","aria-labelledby":i,children:[g.jsxs("span",{id:i,className:"sr-only",children:[a," out of 5 stars"]}),Array.from({length:5},(o,r)=>{const c=r<a;return g.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",className:`size-[18px] ${c?"text-tuik-red":"text-mist"}`,children:g.jsx("path",{fill:"currentColor",d:"M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.6l1.2-6.5L2.5 9.5l6.6-.9L12 2.5z"})},r)})]})}function l1({item:a,labelId:i,ariaHidden:o}){const r=a.rating??n1;return g.jsxs("article",{"aria-hidden":o||void 0,className:"flex flex-col justify-between gap-8 shrink-0 w-[min(420px,85vw)] min-h-[280px] px-6 py-7 bg-pure-white border-2 border-graphite shadow-[4px_4px_0_var(--color-graphite)]",children:[g.jsxs("div",{className:"flex flex-col gap-5",children:[g.jsx(a1,{rating:r,labelId:i}),g.jsxs("p",{className:"m-0 font-display text-[clamp(18px,2vw,22px)] font-medium leading-[1.35] tracking-[-0.02em] text-gra
184phite",children:[g.jsx("span",{className:"text-tuik-red","aria-hidden":"true",children:"“"}),a.quote,g.jsx("span",{className:"text-tuik-red","aria-hidden":"true",children:"”"})]})]}),g.jsxs("div",{className:"flex flex-col gap-1",children:[g.jsx("p",{className:"m-0 font-display text-[15px] font-bold tracking-[-0.02em] text-graphite",children:a.name}),g.jsx("p",{className:"m-0 font-mono text-[13px] font-medium text-steel",children:a.role})]})]})}function i1(){const a=N.useId();return g.jsxs("section",{className:"section",id:"testimonials",children:[g.jsx("div",{className:"page-container grid gap-12 max-[640px]:gap-8",children:g.jsxs("div",{"data-reveal":!0,className:"flex flex-wrap items-start justify-between gap-10 max-[640px]:gap-6",children:[g.jsxs("div",{className:"max-w-[50ch]",children:[g.jsx("p",{className:"eyebrow",children:"Testimonials"}),g.jsx("h2",{className:"heading-lg m-0",children:"Clients who'd hire us again."}),g.jsxs("p",{className:"subheading mt-5 m-0",children:["Tuik was founded by Marco Rodrigues, a Top Rated freelancer on Upwork with a background in data science and AI. Every review is public on his Upwork"," ",g.jsx("a",{href:kp,target:"_blank",rel:"noopener noreferrer",className:"text-tuik-red underline underline-offset-2 hover:opacity-80",children:"profile"}),"."]})]}),g.jsxs("a",{href:kp,target:"_blank",rel:"noopener noreferrer",className:"group relative shrink-0 ml-auto max-[879px]:hidden","aria-label":"Marco on Upwork",children:[g.jsx("img",{src:t1,alt:"Marco Rodrigues, founder of tuik",width:200,height:200,loading:"lazy",decoding:"async",className:"size-[200px] rounded-full object-cover bg-graphite border-2 border-graphite transition-transform duration-300 group-hover:-rotate-3"}),g.jsx("span",{className:"absolute -bottom-2 left-1/2 -translate-x-1/2 whitespace-nowrap px-3 py-1.5 bg-tuik-red text-canvas-white border-2 border-graphite shadow-[3px_3px_0_var(--color-graphite)] font-mono text-[12px] font-bold",children:"Top Rated Plus"})]})]})}),g.jsx("div",{className:"testimonials-marquee mt-12 max-[640px]:mt-8","aria-label":"Client testimonials",children:g.jsx("div",{className:"testimonials-marquee__track",children:[!1,!0].map(i=>g.jsx("div",{className:"testimonials-marquee__group","aria-hidden":i||void 0,children:e1.map((o,r)=>g.jsx(l1,{item:o,labelId:`${a}-${i?"duplicate-":""}${r}`,ariaHidden:i},`${o.name}-${r}`))},String(i)))})})]})}const zu=[{title:"Free intro call",body:"Tell us what slows your team down. We'll point out what's worth automating, and what isn't."},{title:"Clear quote",body:"You get a fixed scope and an estimate of hours before any work starts. No surprises."},{title:"Weekly demos",body:"We build in a safe test space, so nothing live breaks. Every week you see progress and can try it yourself."},{title:"Launch & handover",body:"Your system goes live, tested on real cases, with docs and training so your team owns it."}],o1=4800;function s1(){const[a,i]=N.useState(0),o=N.useRef(!1),r=N.useId(),c=zu[a];return N.useEffect(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const h=window.setInterval(()=>{o.current||i(m=>(m+1)%zu.length)},o1);return()=>window.clearInterval(h)},[]),g.jsx("section",{className:"section section--red",id:"approach",children:g.jsxs("div",{className:"page-container grid gap-12 max-[640px]:gap-8",children:[g.jsxs("div",{"data-reveal":!0,className:"max-w-[52ch]",children:[g.jsx("p",{className:"eyebrow",children:"How we work"}),g.jsxs("div",{className:"flex flex-col gap-7",children:[g.jsxs("h2",{className:"heading-lg m-0",children:["From first call to a"," ",g.jsx("em",{className:"not-italic font-medium text-[color-mix(in_srgb,var(--color-canvas-white)_82%,transparent)]",children:"working system."})]}),g.jsx("p",{className:"subheading m-0",children:"Four simple steps, a clear price before we start, and progress you can see every week."})]})]}),g.jsxs("div",{"data-reveal":!0,className:"approach-stage",onMouseEnter:()=>{o.current=!0},onMouseLeave:()=>{o.current=!1},onFocusCapture:()=>{o.current=!0},onBlurCapture:f=>{f.currentTarget.contains(f.relatedTarget)||(o.current=!1)},children:[g.jsx("ol",{className:"approach-rail","aria-label":"Engagement steps",children:zu.map((f,h)=>{const m=h===a,v=`${r}-tab-${h}`,y=`${r}-panel`;return g.jsx("li",{className:"approach-rail__item",children:g.jsxs("button",{type:"button",id:v,role:"tab","aria-selected":m,"aria-controls":y,className:`approach-rail__btn${m?" is-active":""}`,onClick:()=>i(h),children:[g.jsxs("span",{className:"approach-rail__num","aria-hidden":"true",children:["0",h+1]}),g.jsx("span",{className:"approach-rail__title",children:f.title})]})},f.title)})}),g.jsxs("article",{id:`${r}-panel`,role:"tabpanel","aria-labelledby":`${r}-tab-${a}`,className:"approach-panel",children:[g.jsxs("p",{className:"approach-panel__eyebrow","aria-hidden":"true",children:["Step 0",a+1]}),g.jsx("h3",{className:"approach-panel__heading",children:c.title}),g.jsx("p",{className:"approach-panel__body",children:c.body})]},c.title)]})]})})}var Np;function B(a,i,o){function r(m,v){if(m._zod||Object.defineProperty(m,"_zod",{value:{def:v,constr:h,traits:new Set},enumerable:!1}),m._zod.traits.has(a))return;m._zod.traits.add(a),i(m,v);const y=h.prototype,x=Object.keys(y);for(let w=0;w<x.length;w++){const z=x[w];z in m||(m[z]=y[z].bind(m))}}const c=(o==null?void 0:o.Parent)??Object;class f extends c{}
vendor: 4,192 bytes, line 184
184Object.defineProperty(f,"name",{value:a});function h(m){var v;const y=o!=null&&o.Parent?new f:this;r(y,m),(v=y._zod).deferred??(v.deferred=[]);for(const x of y._zod.deferred)x();return y}return Object.defineProperty(h,"init",{value:r}),Object.defineProperty(h,Symbol.hasInstance,{value:m=>{var v,y;return o!=null&&o.Parent&&m instanceof o.Parent?!0:(y=(v=m==null?void 0:m._zod)==null?void 0:v.traits)==null?void 0:y.has(a)}}),Object.defineProperty(h,"name",{value:a}),h}class tl extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class zm extends Error{constructor(i){super(`Encountered unidirectional transform during encode: ${i}`),this.name="ZodEncodeError"}}(Np=globalThis).__zod_globalConfig??(Np.__zod_globalConfig={});const Vu=globalThis.__zod_globalConfig;function da(a){return Vu}function Em(a){const i=Object.values(a).filter(r=>typeof r=="number");return Object.entries(a).filter(([r,c])=>i.indexOf(+r)===-1).map(([r,c])=>c)}function Cu(a,i){return typeof i=="bigint"?i.toString():i}function Xu(a){return{get value(){{const i=a();return Object.defineProperty(this,"value",{value:i}),i}}}}function Qu(a){return a==null}function Ju(a){const i=a.startsWith("^")?1:0,o=a.endsWith("$")?a.length-1:a.length;return a.slice(i,o)}const jp=Symbol("evaluating");function Te(a,i,o){let r;Object.defineProperty(a,i,{get(){if(r!==jp)return r===void 0&&(r=jp,r=o()),r},set(c){Object.defineProperty(a,i,{value:c})},configurable:!0})}function pa(a,i,o){Object.defineProperty(a,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}function qn(...a){const i={};for(const o of a){const r=Object.getOwnPropertyDescriptors(o);Object.assign(i,r)}return Object.defineProperties({},i)}function Op(a){return JSON.stringify(a)}function r1(a){return a.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Am="captureStackTrace"in Error?Error.captureStackTrace:(...a)=>{};function Zo(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}const u1=Xu(()=>{var a;if(Vu.jitless||typeof navigator<"u"&&((a=navigator==null?void 0:navigator.userAgent)!=null&&a.includes("Cloudflare")))return!1;try{const i=Function;return new i(""),!0}catch{return!1}});function oi(a){if(Zo(a)===!1)return!1;const i=a.constructor;if(i===void 0||typeof i!="function")return!0;const o=i.prototype;return!(Zo(o)===!1||Object.prototype.hasOwnProperty.call(o,"isPrototypeOf")===!1)}function km(a){return oi(a)?{...a}:Array.isArray(a)?[...a]:a instanceof Map?new Map(a):a instanceof Set?new Set(a):a}const c1=new Set(["string","number","symbol"]);function Vo(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $n(a,i,o){const r=new a._zod.constr(i??a._zod.def);return(!i||o!=null&&o.parent)&&(r._zod.parent=a),r}function ee(a){const i=a;if(!i)return{};if(typeof i=="string")return{error:()=>i};if((i==null?void 0:i.message)!==void 0){if((i==null?void 0:i.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");i.error=i.message}return delete i.message,typeof i.error=="string"?{...i,error:()=>i.error}:i}function f1(a){return Object.keys(a).filter(i=>a[i]._zod.optin==="optional"&&a[i]._zod.optout==="optional")}function d1(a,i){const o=a._zod.def,r=o.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const f=qn(a._zod.def,{get shape(){const h={};for(const m in i){if(!(m in o.shape))throw new Error(`Unrecognized key: "${m}"`);i[m]&&(h[m]=o.shape[m])}return pa(this,"shape",h),h},checks:[]});return $n(a,f)}function h1(a,i){const o=a._zod.def,r=o.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const f=qn(a._zod.def,{get shape(){const h={...a._zod.def.shape};for(const m in i){if(!(m in o.shape))throw new Error(`Unrecognized key: "${m}"`);i[m]&&delete h[m]}return pa(this,"shape",h),h},checks:[]});return $n(a,f)}function p1(a,i){if(!oi(i))throw new Error("Invalid input to extend: expected a plain object");const o=a._zod.def.checks;if(o&&o.length>0){const f=a._zod.def.shape;for(const h in i)if(Object.getOwnPropertyDescriptor(f,h)!==void 0)throw new Error("Cannot over
184write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const c=qn(a._zod.def,{get shape(){const f={...a._zod.def.shape,...i};return pa(this,"shape",f),f}});return $n(a,c)}function m1(a,i){if(!oi(i))throw new Error("Invalid input to safeExtend: expected a plain object");const o=qn(a._zod.def,{get shape(){const r={...a._zod.def.shape,...i};return pa(this,"shape",r),r}});return $n(a,o)}function g1(a,i){var r;if((r=a._zod.def.checks)!=null&&r.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const o=qn(a._zod.def,{get shape(){const c={...a._zod.def.shape,...i._zod.def.shape};return pa(this,"shape",c),c},get catchall(){return i._zod.def.catchall},checks:i._zod.def.checks??[]});return $n(a,o)}function y1(a,i,o){const c=i._zod.def.checks;if(c&&c.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const h=qn(i._zod.def,{get shape(){const m=i._zod.def.shape,v={...m};if(o)for(const y in o){if(!(y in m))throw new Error(`Unrecognized key: "${y}"`);o[y]&&(v[y]=a?new a({type:"optional",innerType:m[y]}):m[y])}else for(const y in m)v[y]=a?new a({type:"optional",innerType:m[y]}):m[y];return pa(this,"shape",v),v},checks:[]});return $n(i,h)}function v1(a,i,o){const r=qn(i._zod.def,{get shape(){const c=i._zod.def.shape,f={...c};if(o)for(const h in o){if(!(h in f))throw new Error(`Unrecognized key: "${h}"`);o[h]&&(f[h]=new a({type:"nonoptional",innerType:c[h]}))}else for(const h in c)f[h]=new a({type:"nonoptional",innerType:c[h]});return pa(this,"shape",f),f}});return $n(i,r)}function el(a,i=0){var o;if(a.aborted===!0)return!0;for(let r=i;r<a.issues.length;r++)if(((o=a.issues[r])==null?void 0:o.continue)!==!0)return!0;return!1}function b1(a,i=0){var o;if(a.aborted===!0)return!0;for(let r=i;r<a.issues.length;r++)if(((o=a.issues[r])==null?void 0:o.continue)===!1)return!0;return!1}function Nm(a,i){return i.map(o=>{var r;return(r=o).path??(r.path=[]),o.path.unshift(a),o})}function Oo(a){return typeof a=="string"?a:a==null?void 0:a.message}function ha(a,i,o){var v,y,x,w,z,O;const r=a.message?a.message:Oo((x=(y=(v=a.inst)==null?void 0:v._zod.def)==null?void 0:y.error)==null?void 0:x.call(y,a))??Oo((w=i==null?void 0:i.error)==null?void 0:w.call(i,a))??Oo((z=o.customError)==null?void 0:z.call(o,a))??Oo((O=o.localeError)==null?void 0:O.call(o,a))??"Invalid input",{inst:c,continue:f,input:h,...m}=a;return m.path??(m.path=[]),m.message=r,i!=null&&i.reportInput&&(m.input=h),m}function Ku(a){return Array.isArray(a)?"array":typeof a=="string"?"string":"unknown"}function si(...a){const[i,o,r]=a;return typeof i=="string"?{message:i,code:"custom",input:o,inst:r}:{...i}}const jm=(a,i)=>{a.name="$ZodError",Object.defineProperty(a,"_zod",{value:a._zod,enumerable:!1}),Object.defineProperty(a,"issues",{value:i,enumerable:!1}),a.message=JSON.stringify(i,Cu,2),Object.defineProperty(a,"toString",{value:()=>a.message,enumerable:!1})},Om=B("$ZodError",jm),Cm=B("$ZodError",jm,{Parent:Error});function x1(a,i=o=>o.message){const o={},r=[];for(const c of a.issues)c.path.length>0?(o[c.path[0]]=o[c.path[0]]||[],o[c.path[0]].push(i(c))):r.push(i(c));return{formErrors:r,fieldErrors:o}}function w1(a,i=o=>o.message){const o={_errors:[]},r=(c,f=[])=>{for(const h of c.issues)if(h.code==="invalid_union"&&h.errors.length)h.errors.map(m=>r({issues:m},[...f,...h.path]));else if(h.code==="invalid_key")r({issues:h.issues},[...f,...h.path]);else if(h.code==="invalid_element")r({issues:h.issues},[...f,...h.path]);else{const m=[...f,...h.path];if(m.length===0)o._errors.push(i(h));else{let v=o,y=0;for(;y<m.length;){const x=m[y];y===m.length-1?(v[x]=v[x]||{_errors:[]},v[x]._errors.push(i(h))):v[x]=v[x]||{_errors:[]},v=v[x],y++}}}};return r(a),o}const Wu=a=>(i,o,r,c)=>{const f=r?{...r,async:!1}:{async:!1},h=i._zod.run({value:o,issues:[]},f);if(h instanceof Promise)throw new tl;if(h.issues.length){const m=new((c==null?void 0:c.Err)??a)(h.issues.map(v=>ha(v,f,da())));throw Am(m,c==null?void 0:c.callee),m}return h.value},Fu=a=>async(i,o,r,c)=>{const f=r?{...r,async:!0}:{async:!0};let h=i._zod.run({value:o,issues:[]},f);if(h instanceof Promise&&(h=await h),h.issues.length){const m=new((c==null?void 0:c.Err)??a)(h.issues.map(v=>ha(v,f,da())));throw Am(m,c==null?void 0:c.callee),m}return h.value},Xo=a=>(i,o,r)=>{const c=r?{...r,async:!1}:{async:!1},f=i._zod.run({value:o,issues:[]},c);if(f instanceof Promise)throw new tl;return f.issues.length?{success:!1,error:new(a??Om)(f.issues.map(h=>ha(h,c,da())))}:{success:!0,data:f.value}},_1=Xo(Cm),Qo=a=>async(i,o,r)=>{const c=r?{...r,async:!0}:{async:!0};let f=i._zod.run({value:o,issues:[]},c);return f instanceof Promise&&(f=await f),f.issues.length?{success:!1,error:new a(f.issues.map(h=>ha(h,c,da())))}:{success:!0,data:f.value}},S1=Qo(Cm),T1=a=>(i,o,r)=>{const c=r?{...r,direction:"backward"}:{direction:"backward"};return Wu(a)(i,o,c)},z1=a=>(i,o,r)=>Wu(a)(i,o,r),E1=a=>async(i,o,r)=>{const c=r?{...r,direction:"backward"}:{direction:"backward"};return Fu(a)(i,o,c)},A1=a=>async(i,o,r)=>Fu(a)(i,o,r),k1=a=>(i,o,r)=>{const c=r?{...r,direction:"backward"}:{direction:"backward"};return Xo(a)(i,o,c)},N1=a=>(i,o,r)=>Xo(a)(i,o,r),j1=a=>async(i,o,r)=>{const c=r?{...r,direction:"backward"}:{direction:"backward"};return Qo(a)(i,o,c)},O1=a=>async(i,o,r)=>Qo(a)(i,o,r),C1=/^[cC][0-9a-z]{6,}
vendor: 5,383 bytes, line 184
184$/,R1=/^[0-9a-z]+$/,M1=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,D1=/^[0-9a-vA-V]{20}$/,U1=/^[A-Za-z0-9]{27}$/,B1=/^[a-zA-Z0-9_-]{21}$/,Z1=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,H1=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Cp=a=>a?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${a}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,L1=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,G1="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function q1(){return new RegExp(G1,"u")}const $1=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Y1=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,V1=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,X1=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Q1=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Rm=/^[A-Za-z0-9_-]*$/,J1=/^https?$/,K1=/^\+[1-9]\d{6,14}$/,Mm="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",W1=new RegExp(`^${Mm}$`);function Dm(a){const i="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof a.precision=="number"?a.precision===-1?`${i}`:a.precision===0?`${i}:[0-5]\\d`:`${i}:[0-5]\\d\\.\\d{${a.precision}}`:`${i}(?::[0-5]\\d(?:\\.\\d+)?)?`}function F1(a){return new RegExp(`^${Dm(a)}$`)}function I1(a){const i=Dm({precision:a.precision}),o=["Z"];a.local&&o.push(""),a.offset&&o.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${i}(?:${o.join("|")})`;return new RegExp(`^${Mm}T(?:${r})$`)}const P1=a=>{const i=a?`[\\s\\S]{${(a==null?void 0:a.minimum)??0},${(a==null?void 0:a.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${i}$`)},e2=/^[^A-Z]*$/,t2=/^[^a-z]*$/,Kt=B("$ZodCheck",(a,i)=>{var o;a._zod??(a._zod={}),a._zod.def=i,(o=a._zod).onattach??(o.onattach=[])}),n2=B("$ZodCheckMaxLength",(a,i)=>{var o;Kt.init(a,i),(o=a._zod.def).when??(o.when=r=>{const c=r.value;return!Qu(c)&&c.length!==void 0}),a._zod.onattach.push(r=>{const c=r._zod.bag.maximum??Number.POSITIVE_INFINITY;i.maximum<c&&(r._zod.bag.maximum=i.maximum)}),a._zod.check=r=>{const c=r.value;if(c.length<=i.maximum)return;const h=Ku(c);r.issues.push({origin:h,code:"too_big",maximum:i.maximum,inclusive:!0,input:c,inst:a,continue:!i.abort})}}),a2=B("$ZodCheckMinLength",(a,i)=>{var o;Kt.init(a,i),(o=a._zod.def).when??(o.when=r=>{const c=r.value;return!Qu(c)&&c.length!==void 0}),a._zod.onattach.push(r=>{const c=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;i.minimum>c&&(r._zod.bag.minimum=i.minimum)}),a._zod.check=r=>{const c=r.value;if(c.length>=i.minimum)return;const h=Ku(c);r.issues.push({origin:h,code:"too_small",minimum:i.minimum,inclusive:!0,input:c,inst:a,continue:!i.abort})}}),l2=B("$ZodCheckLengthEquals",(a,i)=>{var o;Kt.init(a,i),(o=a._zod.def).when??(o.when=r=>{const c=r.value;return!Qu(c)&&c.length!==void 0}),a._zod.onattach.push(r=>{const c=r._zod.bag;c.minimum=i.length,c.maximum=i.length,c.length=i.length}),a._zod.check=r=>{const c=r.value,f=c.length;if(f===i.length)return;const h=Ku(c),m=f>i.length;r.issues.push({origin:h,...m?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},inclusive:!0,exact:!0,input:r.value,inst:a,continue:!i.abort})}}),Jo=B("$ZodCheckStringFormat",(a,i)=>{var o,r;Kt.init(a,i),a._zod.onattach.push(c=>{const f=c._zod.bag;f.format=i.format,i.pattern&&(f.patterns??(f.patterns=new Set),f.patterns.add(i.pattern))}),i.pattern?(o=a._zod).check??(o.check=c=>{i.pattern.lastIndex=0,!i.pattern.test(c.value)&&c.issues.push({origin:"string",code:"invalid_format",format:i.format,input:c.value,...i.pattern?{pattern:i.pattern.toString()}:{},inst:a,continue:!i.abort})}):(r=a._zod).check??(r.check=()=>{})}),i2=B("$ZodCheckRegex",(a,i)=>{Jo.init(a,i),a._zod.check=o=>{i.pattern.lastIndex=0,!i.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:"regex",input:o.value,pattern:i.pattern.toString(),inst:a,continue:!i.abort})}}),o2=B("$ZodCheckLowerCase",(a,i)=>{i.pattern??(i.pattern=e2),Jo.init(a,i)}),s2=B("$ZodCheckUpperCase",(a,i)=>{i.pattern??(i.pattern=t2),Jo.init(a,i)}),r2=B("$ZodCheckIncludes",(a,i)=>{Kt.init(a,i);const o=Vo(i.includes),r=new RegExp(typeof i.position=="number"?`^.{${i.position}}${o}`:o);i.pattern=r,a._zod.onattach.push(c=>{const f=c._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(r)}),a._zod.check=c=>{c.value.includes(i.includes,i.position)||c.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:i.includes,input
vendor: 34,997 bytes, lines 184-247
184:c.value,inst:a,continue:!i.abort})}}),u2=B("$ZodCheckStartsWith",(a,i)=>{Kt.init(a,i);const o=new RegExp(`^${Vo(i.prefix)}.*`);i.pattern??(i.pattern=o),a._zod.onattach.push(r=>{const c=r._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(o)}),a._zod.check=r=>{r.value.startsWith(i.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:i.prefix,input:r.value,inst:a,continue:!i.abort})}}),c2=B("$ZodCheckEndsWith",(a,i)=>{Kt.init(a,i);const o=new RegExp(`.*${Vo(i.suffix)}$`);i.pattern??(i.pattern=o),a._zod.onattach.push(r=>{const c=r._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(o)}),a._zod.check=r=>{r.value.endsWith(i.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:i.suffix,input:r.value,inst:a,continue:!i.abort})}}),f2=B("$ZodCheckOverwrite",(a,i)=>{Kt.init(a,i),a._zod.check=o=>{o.value=i.tx(o.value)}});class d2{constructor(i=[]){this.content=[],this.indent=0,this&&(this.args=i)}indented(i){this.indent+=1,i(this),this.indent-=1}write(i){if(typeof i=="function"){i(this,{execution:"sync"}),i(this,{execution:"async"});return}const r=i.split(`
185`).filter(h=>h),c=Math.min(...r.map(h=>h.length-h.trimStart().length)),f=r.map(h=>h.slice(c)).map(h=>" ".repeat(this.indent*2)+h);for(const h of f)this.content.push(h)}compile(){const i=Function,o=this==null?void 0:this.args,c=[...((this==null?void 0:this.content)??[""]).map(f=>`  ${f}`)];return new i(...o,c.join(`
186`))}}const h2={major:4,minor:4,patch:3},Ve=B("$ZodType",(a,i)=>{var c;var o;a??(a={}),a._zod.def=i,a._zod.bag=a._zod.bag||{},a._zod.version=h2;const r=[...a._zod.def.checks??[]];a._zod.traits.has("$ZodCheck")&&r.unshift(a);for(const f of r)for(const h of f._zod.onattach)h(a);if(r.length===0)(o=a._zod).deferred??(o.deferred=[]),(c=a._zod.deferred)==null||c.push(()=>{a._zod.run=a._zod.parse});else{const f=(m,v,y)=>{let x=el(m),w;for(const z of v){if(z._zod.def.when){if(b1(m)||!z._zod.def.when(m))continue}else if(x)continue;const O=m.issues.length,H=z._zod.check(m);if(H instanceof Promise&&(y==null?void 0:y.async)===!1)throw new tl;if(w||H instanceof Promise)w=(w??Promise.resolve()).then(async()=>{await H,m.issues.length!==O&&(x||(x=el(m,O)))});else{if(m.issues.length===O)continue;x||(x=el(m,O))}}return w?w.then(()=>m):m},h=(m,v,y)=>{if(el(m))return m.aborted=!0,m;const x=f(v,r,y);if(x instanceof Promise){if(y.async===!1)throw new tl;return x.then(w=>a._zod.parse(w,y))}return a._zod.parse(x,y)};a._zod.run=(m,v)=>{if(v.skipChecks)return a._zod.parse(m,v);if(v.direction==="backward"){const x=a._zod.parse({value:m.value,issues:[]},{...v,skipChecks:!0});return x instanceof Promise?x.then(w=>h(w,m,v)):h(x,m,v)}const y=a._zod.parse(m,v);if(y instanceof Promise){if(v.async===!1)throw new tl;return y.then(x=>f(x,r,v))}return f(y,r,v)}}Te(a,"~standard",()=>({validate:f=>{var h;try{const m=_1(a,f);return m.success?{value:m.data}:{issues:(h=m.error)==null?void 0:h.issues}}catch{return S1(a,f).then(v=>{var y;return v.success?{value:v.data}:{issues:(y=v.error)==null?void 0:y.issues}})}},vendor:"zod",version:1}))}),Iu=B("$ZodString",(a,i)=>{var o;Ve.init(a,i),a._zod.pattern=[...((o=a==null?void 0:a._zod.bag)==null?void 0:o.patterns)??[]].pop()??P1(a._zod.bag),a._zod.parse=(r,c)=>{if(i.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:a}),r}}),Oe=B("$ZodStringFormat",(a,i)=>{Jo.init(a,i),Iu.init(a,i)}),p2=B("$ZodGUID",(a,i)=>{i.pattern??(i.pattern=H1),Oe.init(a,i)}),m2=B("$ZodUUID",(a,i)=>{if(i.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[i.version];if(r===void 0)throw new Error(`Invalid UUID version: "${i.version}"`);i.pattern??(i.pattern=Cp(r))}else i.pattern??(i.pattern=Cp());Oe.init(a,i)}),g2=B("$ZodEmail",(a,i)=>{i.pattern??(i.pattern=L1),Oe.init(a,i)}),y2=B("$ZodURL",(a,i)=>{Oe.init(a,i),a._zod.check=o=>{var r;try{const c=o.value.trim();if(!i.normalize&&((r=i.protocol)==null?void 0:r.source)===J1.source&&!/^https?:\/\//i.test(c)){o.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:o.value,inst:a,continue:!i.abort});return}const f=new URL(c);i.hostname&&(i.hostname.lastIndex=0,i.hostname.test(f.hostname)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:i.hostname.source,input:o.value,inst:a,continue:!i.abort})),i.protocol&&(i.protocol.lastIndex=0,i.protocol.test(f.protocol.endsWith(":")?f.protocol.slice(0,-1):f.protocol)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:i.protocol.source,input:o.value,inst:a,continue:!i.abort})),i.normalize?o.value=f.href:o.value=c;return}catch{o.issues.push({code:"invalid_format",format:"url",input:o.value,inst:a,continue:!i.abort})}}}),v2=B("$ZodEmoji",(a,i)=>{i.pattern??(i.pattern=q1()),Oe.init(a,i)}),b2=B("$ZodNanoID",(a,i)=>{i.pattern??(i.pattern=B1),Oe.init(a,i)}),x2=B("$ZodCUID",(a,i)=>{i.pattern??(i.pattern=C1),Oe.init(a,i)}),w2=B("$ZodCUID2",(a,i)=>{i.pattern??(i.pattern=R1),Oe.init(a,i)}),_2=B("$ZodULID",(a,i)=>{i.pattern??(i.pattern=M1),Oe.init(a,i)}),S2=B("$ZodXID",(a,i)=>{i.pattern??(i.pattern=D1),Oe.init(a,i)}),T2=B("$ZodKSUID",(a,i)=>{i.pattern??(i.pattern=U1),Oe.init(a,i)}),z2=B("$ZodISODateTime",(a,i)=>{i.pattern??(i.pattern=I1(i)),Oe.init(a,i)}),E2=B("$ZodISODate",(a,i)=>{i.pattern??(i.pattern=W1),Oe.init(a,i)}),A2=B("$ZodISOTime",(a,i)=>{i.pattern??(i.pattern=F1(i)),Oe.init(a,i)}),k2=B("$ZodISODuration",(a,i)=>{i.pattern??(i.pattern=Z1),Oe.init(a,i)}),N2=B("$ZodIPv4",(a,i)=>{i.pattern??(i.pattern=$1),Oe.init(a,i),a._zod.bag.format="ipv4"}),j2=B("$ZodIPv6",(a,i)=>{i.pattern??(i.pattern=Y1),Oe.init(a,i),a._zod.bag.format="ipv6",a._zod.check=o=>{try{new URL(`http://[${o.value}]`)}catch{o.issues.push({code:"invalid_format",format:"ipv6",input:o.value,inst:a,continue:!i.abort})}}}),O2=B("$ZodCIDRv4",(a,i)=>{i.pattern??(i.pattern=V1),Oe.init(a,i)}),C2=B("$ZodCIDRv6",(a,i)=>{i.pattern??(i.pattern=X1),Oe.init(a,i),a._zod.check=o=>{const r=o.value.split("/");try{if(r.length!==2)throw new Error;const[c,f]=r;if(!f)throw new Error;const h=Number(f);if(`${h}`!==f)throw new Error;if(h<0||h>128)throw new Error;new URL(`http://[${c}]`)}catch{o.issues.push({code:"invalid_format",format:"cidrv6",input:o.value,inst:a,continue:!i.abort})}}});function Um(a){if(a==="")return!0;if(/\s/.test(a)||a.length%4!==0)return!1;try{return atob(a),!0}catch{return!1}}const R2=B("$ZodBase64",(a,i)=>{i.pattern??(i.pattern=Q1),Oe.init(a,i),a._zod.bag.contentEncoding="base64",a._zod.check=o=>{Um(o.value)||o.issues.push({code:"invalid_format",format:"base64",input:o.value,inst:a,continue:!i.abort})}});function M2(a){if(!Rm.test(a))return!1;const i=a.replace(/[-_]/g,r=>r==="-"?"+":"/"),o=i.padEnd(Math.ceil(i.length/4)*4,"=");return Um(o)}const D2=B("$ZodBase64URL",(a,i)=>{i.pattern??(i.pattern=Rm),Oe.init(a,i),a._zod.bag.contentEncoding="base64url",a._zod.check=o=>{M2(o.value)||o.issues.push({code:"invalid_format",format:"base64url",input:o.value,inst:a,continue:!i.abort})}}),U2=B("$ZodE164",(a,i)=>{i.pattern??(i.pattern=K1),Oe.init(a,i)});function B2(a,i=null){try{const o=a.split(".");if(o.length!==3)return!1;const[r]=o;if(!r)return!1;const c=JSON.parse(atob(r));return!("typ"in c&&(c==null?void 0:c.typ)!=="JWT"||!c.alg||i&&(!("alg"in c)||c.alg!==i))}catch{return!1}}const Z2=B("$ZodJWT",(a,i)=>{Oe.init(a,i),a._zod.check=o=>{B2(o.value,i.alg)||o.issues.push({code:"invalid_format",format:"jwt",input:o.value,inst:a,continue:!i.abort})}}),H2=B("$ZodUnknown",(a,i)=>{Ve.init(a,i),a._zod.parse=o=>o}),L2=B("$ZodNever",(a,i)=>{Ve.init(a,i),a._zod.parse=(o,r)=>(o.issues.push({expected:"never",code:"invalid_type",input:o.value,inst:a}),o)});function Rp(a,i,o){a.issues.length&&i.issues.push(...Nm(o,a.issues)),i.value[o]=a.value}const G2=B("$ZodArray",(a,i)=>{Ve.init(a,i),a._zod.parse=(o,r)=>{const c=o.value;if(!Array.isArray(c))return o.issues.push({expected:"array",code:"invalid_type",input:c,inst:a}),o;o.value=Array(c.length);const f=[];for(let h=0;h<c.length;h++){const m=c[h],v=i.element._zod.run({value:m,issues:[]},r);v instanceof Promise?f.push(v.then(y=>Rp(y,o,h))):Rp(v,o,h)}return f.length?Promise.all(f).then(()=>o):o}});function Ho(a,i,o,r,c,f){const h=o in r;if(a.issues.length){if(c&&f&&!h)return;i.issues.push(...Nm(o,a.issues))}if(!h&&!c){a.issues.length||i.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[o]});return}a.value===void 0?h&&(i.value[o]=void 0):i.value[o]=a.value}function Bm(a){var r,c,f,h;const i=Object.keys(a.shape);for(const m of i)if(!((h=(f=(c=(r=a.shape)==null?void 0:r[m])==null?void 0:c._zod)==null?void 0:f.traits)!=null&&h.has("$ZodType")))throw new Error(`Invalid element at key "${m}": expected a Zod schema`);const o=f1(a.shape);return{...a,keys:i,keySet:new Set(i),numKeys:i.length,optionalKeys:new Set(o)}}function Zm(a,i,o,r,c,f){const h=[],m=c.keySet,v=c.catchall._zod,y=v.def.type,x=v.optin==="optional",w=v.optout==="optional";for(const z in i){if(z==="__proto__"||m.has(z))continue;if(y==="never"){h.push(z);continue}const O=v.run({value:i[z],issues:[]},r);O instanceof Promise?a.push(O.then(H=>Ho(H,o,z,i,x,w))):Ho(O,o,z,i,x,w)}return h.length&&o.issues.push({code:"unrecognized_keys",keys:h,input:i,inst:f}),a.length?Promise.all(a).then(()=>o):o}const q2=B("$ZodObject",(a,i)=>{Ve.init(a,i);const o=Object.getOwnPropertyDescriptor(i,"shape");if(!(o!=null&&o.get)){const m=i.shape;Object.defineProperty(i,"shape",{get:()=>{const v={...m};return Object.defineProperty(i,"shape",{value:v}),v}})}const r=Xu(()=>Bm(i));Te(a._zod,"propValues",()=>{const m=i.shape,v={};for(const y in m){const x=m[y]._zod;if(x.values){v[y]??(v[y]=new Set);for(const w of x.values)v[y].add(w)}}return v});const c=Zo,f=i.catchall;let h;a._zod.parse=(m,v)=>{h??(h=r.value);const y=m.value;if(!c(y))return m.issues.push({expected:"object",code:"invalid_type",input:y,inst:a}),m;m.value={};const x=[],w=h.shape;for(const z of h.keys){const O=w[z],H=O._zod.optin==="optional",Z=O._zod.optout==="optional",L=O._zod.run({value:y[z],issues:[]},v);L instanceof Promise?x.push(L.then($=>Ho($,m,z,y,H,Z))):Ho(L,m,z,y,H,Z)}return f?Zm(x,y,m,v,r.value,a):x.length?Promise.all(x).then(()=>m):m}}),$2=B("$ZodObjectJIT",(a,i)=>{q2.init(a,i);const o=a._zod.parse,r=Xu(()=>Bm(i)),c=z=>{var W,le;const O=new d2(["shape","payload","ctx"]),H=r.value,Z=oe=>{const I=Op(oe);return`shape[${I}]._zod.run({ value: input[${I}], issues: [] }, ctx)`};O.write("const input = payload.value;");const L=Object.create(null);let $=0;for(const oe of H.keys)L[oe]=`key_${$++}`;O.write("const newResult = {};");for(const oe of H.keys){const I=L[oe],V=Op(oe),be=z[oe],$e=((W=be==null?void 0:be._zod)==null?void 0:W.optin)==="optional",St=((le=be==null?void 0:be._zod)==null?void 0:le.optout)==="optional";O.write(`const ${I} = ${Z(oe)};`),$e&&St?O.write(`
187        if (${I}.issues.length) {
188          if (${V} in input) {
189            payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
190              ...iss,
191              path: iss.path ? [${V}, ...iss.path] : [${V}]
192            })));
193          }
194        }
195        
196        if (${I}.value === undefined) {
197          if (${V} in input) {
198            newResult[${V}] = undefined;
199          }
200        } else {
201          newResult[${V}] = ${I}.value;
202        }
203        
204      `):$e?O.write(`
205        if (${I}.issues.length) {
206          payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
207            ...iss,
208            path: iss.path ? [${V}, ...iss.path] : [${V}]
209          })));
210        }
211        
212        if (${I}.value === undefined) {
213          if (${V} in input) {
214            newResult[${V}] = undefined;
215          }
216        } else {
217          newResult[${V}] = ${I}.value;
218        }
219        
220      `):O.write(`
221        const ${I}_present = ${V} in input;
222        if (${I}.issues.length) {
223          payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
224            ...iss,
225            path: iss.path ? [${V}, ...iss.path] : [${V}]
226          })));
227        }
228        if (!${I}_present && !${I}.issues.length) {
229          payload.issues.push({
230            code: "invalid_type",
231            expected: "nonoptional",
232            input: undefined,
233            path: [${V}]
234          });
235        }
236
237        if (${I}_present) {
238          if (${I}.value === undefined) {
239            newResult[${V}] = undefined;
240          } else {
241            newResult[${V}] = ${I}.value;
242          }
243        }
244
245      `)}O.write("payload.value = newResult;"),O.write("return payload;");const K=O.compile();return(oe,I)=>K(z,oe,I)};let f;const h=Zo,m=!Vu.jitless,y=m&&u1.value,x=i.catchall;let w;a._zod.parse=(z,O)=>{w??(w=r.value);const H=z.value;return h(H)?m&&y&&(O==null?void 0:O.async)===!1&&O.jitless!==!0?(f||(f=c(i.shape)),z=f(z,O),x?Zm([],H,z,O,w,a):z):o(z,O):(z.issues.push({expected:"object",code:"invalid_type",input:H,inst:a}),z)}});function Mp(a,i,o,r){for(const f of a)if(f.issues.length===0)return i.value=f.value,i;const c=a.filter(f=>!el(f));return c.length===1?(i.value=c[0].value,c[0]):(i.issues.push({code:"invalid_union",input:i.value,inst:o,errors:a.map(f=>f.issues.map(h=>ha(h,r,da())))}),i)}const Y2=B("$ZodUnion",(a,i)=>{Ve.init(a,i),Te(a._zod,"optin",()=>i.options.some(r=>r._zod.optin==="optional")?"optional":void 0),Te(a._zod,"optout",()=>i.options.some(r=>r._zod.optout==="optional")?"optional":void 0),Te(a._zod,"values",()=>{if(i.options.every(r=>r._zod.values))return new Set(i.options.flatMap(r=>Array.from(r._zod.values)))}),Te(a._zod,"pattern",()=>{if(i.options.every(r=>r._zod.pattern)){const r=i.options.map(c=>c._zod.pattern);return new RegExp(`^(${r.map(c=>Ju(c.source)).join("|")})$`)}});const o=i.options.length===1?i.options[0]._zod.run:null;a._zod.parse=(r,c)=>{if(o)return o(r,c);let f=!1;const h=[];for(const m of i.options){const v=m._zod.run({value:r.value,issues:[]},c);if(v instanceof Promise)h.push(v),f=!0;else{if(v.issues.length===0)return v;h.push(v)}}return f?Promise.all(h).then(m=>Mp(m,r,a,c)):Mp(h,r,a,c)}}),V2=B("$ZodIntersection",(a,i)=>{Ve.init(a,i),a._zod.parse=(o,r)=>{const c=o.value,f=i.left._zod.run({value:c,issues:[]},r),h=i.right._zod.run({value:c,issues:[]},r);return f instanceof Promise||h instanceof Promise?Promise.all([f,h]).then(([v,y])=>Dp(o,v,y)):Dp(o,f,h)}});function Ru(a,i){if(a===i)return{valid:!0,data:a};if(a instanceof Date&&i instanceof Date&&+a==+i)return{valid:!0,data:a};if(oi(a)&&oi(i)){const o=Object.keys(i),r=Object.keys(a).filter(f=>o.indexOf(f)!==-1),c={...a,...i};for(const f of r){const h=Ru(a[f],i[f]);if(!h.valid)return{valid:!1,mergeErrorPath:[f,...h.mergeErrorPath]};c[f]=h.data}return{valid:!0,data:c}}if(Array.isArray(a)&&Array.isArray(i)){if(a.length!==i.length)return{valid:!1,mergeErrorPath:[]};const o=[];for(let r=0;r<a.length;r++){const c=a[r],f=i[r],h=Ru(c,f);if(!h.valid)return{valid:!1,mergeErrorPath:[r,...h.mergeErrorPath]};o.push(h.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}function Dp(a,i,o){const r=new Map;let c;for(const m of i.issues)if(m.code==="unrecognized_keys"){c??(c=m);for(const v of m.keys)r.has(v)||r.set(v,{}),r.get(v).l=!0}else a.issues.push(m);for(const m of o.issues)if(m.code==="unrecognized_keys")for(const v of m.keys)r.has(v)||r.set(v,{}),r.get(v).r=!0;else a.issues.push(m);const f=[...r].filter(([,m])=>m.l&&m.r).map(([m])=>m);if(f.length&&c&&a.issues.push({...c,keys:f}),el(a))return a;const h=Ru(i.value,o.value);if(!h.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(h.mergeErrorPath)}`);return a.value=h.data,a}const X2=B("$ZodEnum",(a,i)=>{Ve.init(a,i);const o=Em(i.entries),r=new Set(o);a._zod.values=r,a._zod.pattern=new RegExp(`^(${o.filter(c=>c1.has(typeof c)).map(c=>typeof c=="string"?Vo(c):c.toString()).join("|")})$`),a._zod.parse=(c,f)=>{const h=c.value;return r.has(h)||c.issues.push({code:"invalid_value",values:o,input:h,inst:a}),c}}),Q2=B("$ZodTransform",(a,i)=>{Ve.init(a,i),a._zod.optin="optional",a._zod.parse=(o,r)=>{if(r.direction==="backward")throw new zm(a.constructor.name);const c=i.transform(o.value,o);if(r.async)return(c instanceof Promise?c:Promise.resolve(c)).then(h=>(o.value=h,o.fallback=!0,o));if(c instanceof Promise)throw new tl;return o.value=c,o.fallback=!0,o}});function Up(a,i){return i===void 0&&(a.issues.length||a.fallback)?{issues:[],value:void 0}:a}const Hm=B("$ZodOptional",(a,i)=>{Ve.init(a,i),a._zod.optin="optional",a._zod.optout="optional",Te(a._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,void 0]):void 0),Te(a._zod,"pattern",()=>{const o=i.innerType._zod.pattern;return o?new RegExp(`^(${Ju(o.source)})?$`):void 0}),a._zod.parse=(o,r)=>{if(i.innerType._zod.optin==="optional"){const c=o.value,f=i.innerType._zod.run(o,r);return f instanceof Promise?f.then(h=>Up(h,c)):Up(f,c)}return o.value===void 0?o:i.innerType._zod.run(o,r)}}),J2=B("$ZodExactOptional",(a,i)=>{Hm.init(a,i),Te(a._zod,"values",()=>i.innerType._zod.values),Te(a._zod,"pattern",()=>i.innerType._zod.pattern),a._zod.parse=(o,r)=>i.innerType._zod.run(o,r)}),K2=B("$ZodNullable",(a,i)=>{Ve.init(a,i),Te(a._zod,"optin",()=>i.innerType._zod.optin),Te(a._zod,"optout",()=>i.innerType._zod.optout),Te(a._zod,"pattern",()=>{const o=i.innerType._zod.pattern;return o?new RegExp(`^(${Ju(o.source)}|null)$`):void 0}),Te(a._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,null]):void 0),a._zod.parse=(o,r)=>o.value===null?o:i.innerType._zod.run(o,r)}),W2=B("$ZodDefault",(a,i)=>{Ve.init(a,i),a._zod.optin="optional",Te(a._zod,"values",()=>i.innerType._zod.values),a._zod.parse=(o,r)=>{if(r.direction==="backward")return i.innerType._zod.run(o,r);if(o.value===void 0)return o.value=i.defaultValue,o;const c=i.innerType._zod.run(o,r);return c instanceof Promise?c.then(f=>Bp(f,i)):Bp(c,i)}});function Bp(a,i){return a.value===void 0&&(a.value=i.defaultValue),a}const F2=B("$ZodPrefault",(a,i)=>{Ve.init(a,i),a._zod.optin="optional",Te(a._zod,"values",()=>i.innerType._zod.values),a._zod.parse=(o,r)=>(r.direction==="backward"||o.value===void 0&&(o.value=i.defaultValue),i.innerType._zod.run(o,r))}),I2=B("$ZodNonOptional",(a,i)=>{Ve.init(a,i),Te(a._zod,"values",()=>{const o=i.innerType._zod.values;return o?new Set([...o].filter(r=>r!==void 0)):void 0}),a._zod.parse=(o,r)=>{const c=i.innerType._zod.run(o,r);return c instanceof Promise?c.then(f=>Zp(f,a)):Zp(c,a)}});function Zp(a,i){return!a.issues.length&&a.value===void 0&&a.issues.push({code:"invalid_type",expected:"nonoptional",input:a.value,inst:i}),a}const P2=B("$ZodCatch",(a,i)=>{Ve.init(a,i),a._zod.optin="optional",Te(a._zod,"optout",()=>i.innerType._zod.optout),Te(a._zod,"values",()=>i.innerType._zod.values),a._zod.parse=(o,r)=>{if(r.direction==="backward")return i.innerType._zod.run(o,r);const c=i.innerType._zod.run(o,r);return c instanceof Promise?c.then(f=>(o.value=f.value,f.issues.length&&(o.value=i.catchValue({...o,error:{issues:f.issues.map(h=>ha(h,r,da()))},input:o.value}),o.issues=[],o.fallback=!0),o)):(o.value=c.value,c.issues.length&&(o.value=i.catchValue({...o,error:{issues:c.issues.map(f=>ha(f,r,da()))},input:o.value}),o.issues=[],o.fallback=!0),o)}}),ex=B("$ZodPipe",(a,i)=>{Ve.init(a,i),Te(a._zod,"values",()=>i.in._zod.values),Te(a._zod,"optin",()=>i.in._zod.optin),Te(a._zod,"optout",()=>i.out._zod.optout),Te(a._zod,"propValues",()=>i.in._zod.propValues),a._zod.parse=(o,r)=>{if(r.direction==="backward"){const f=i.out._zod.run(o,r);return f instanceof Promise?f.then(h=>Co(h,i.in,r)):Co(f,i.in,r)}const c=i.in._zod.run(o,r);return c instanceof Promise?c.then(f=>Co(f,i.out,r)):Co(c,i.out,r)}});function Co(a,i,o){return a.issues.length?(a.aborted=!0,a):i._zod.run({value:a.value,issues:a.issues,fallback:a.fallback},o)}const tx=B("$ZodReadonly",(a,i)=>{Ve.init(a,i),Te(a._zod,"propValues",()=>i.innerType._zod.propValues),Te(a._zod,"values",()=>i.innerType._zod.values),Te(a._zod,"optin",()=>{var o,r;return(r=(o=i.innerType)==null?void 0:o._zod)==null?void 0:r.optin}),Te(a._zod,"optout",()=>{var o,r;return(r=(o=i.innerType)==null?void 0:o._zod)==null?void 0:r.optout}),a._zod.parse=(o,r)=>{if(r.direction==="backward")return i.innerType._zod.run(o,r);const c=i.innerType._zod.run(o,r);return c instanceof Promise?c.then(Hp):Hp(c)}});function Hp(a){return a.value=Object.freeze(a.value),a}const nx=B("$ZodCustom",(a,i)=>{Kt.init(a,i),Ve.init(a,i),a._zod.parse=(o,r)=>o,a._zod.check=o=>{const r=o.value,c=i.fn(r);if(c instanceof Promise)return c.then(f=>Lp(f,o,r,a));Lp(c,o,r,a)}});function Lp(a,i,o,r){if(!a){const c={code:"custom",input:o,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(c.params=r._zod.def.params),i.issues.push(si(c))}}var Gp;class ax{constructor(){this._map=new WeakMap,this._idmap=new Map}add(i,...o){const r=o[0];return this._map.set(i,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,i),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(i){const o=this._map.get(i);return o&&typeof o=="object"&&"id"in o&&this._idmap.delete(o.id),this._map.delete(i),this}get(i){const o=i._zod.parent;if(o){const r={...this.get(o)??{}};delete r.id;const c={...r,...this._map.get(i)};return Object.keys(c).length?c:void 0}return this._map.get(i)}has(i){return this._map.has(i)}}function lx(){return new ax}(Gp=globalThis).__zod_globalRegistry??(Gp.__zod_globalRegistry=lx());const li=globalThis.__zod_globalRegistry;function ix(a,i){return new a({type:"string",...ee(i)})}function ox(a,i){return new a({type:"string",format:"email",check:"string_format",abort:!1,...ee(i)})}function qp(a,i){return new a({type:"string",format:"guid",check:"string_format",abort:!1,...ee(i)})}function sx(a,i){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,...ee(i)})}function rx(a,i){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ee(i)})}function ux(a,i){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ee(i)})}function cx(a,i){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ee(i)})}function fx(a,i){return new a({type:"string",format:"url",check:"string_format",abort:!1,...ee(i)})}function dx(a,i){return new a({type:"string",format:"emoji",check:"string_format",abort:!1,...ee(i)})}function hx(a,i){return new a({type:"string",format:"nanoid",check:"string_format",abort:!1,...ee(i)})}function px(a,i){return new a({type:"string",format:"cuid",check:"string_format",abort:!1,...ee(i)})}function mx(a,i){return new a({type:"string",format:"cuid2",check:"string_format",abort:!1,...ee(i)})}function gx(a,i){return new a({type:"string",format:"ulid",check:"string_format",abort:!1,...ee(i)})}function yx(a,i){return new a({type:"string",format:"xid",check:"string_format",abort:!1,...ee(i)})}function vx(a,i){return new a({type:"string",format:"ksuid",check:"string_format",abort:!1,...ee(i)})}function bx(a,i){return new a({type:"string",format:"ipv4",check:"string_format",abort:!1,...ee(i)})}function xx(a,i){return new a({type:"string",format:"ipv6",check:"string_format",abort:!1,...ee(i)})}function wx(a,i){return new a({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ee(i)})}function _x(a,i){return new a({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ee(i)})}function Sx(a,i){return new a({type:"string",format:"base64",check:"string_format",abort:!1,...ee(i)})}function Tx(a,i){return new a({type:"string",format:"base64url",check:"string_format",abort:!1,...ee(i)})}function zx(a,i){return new a({type:"string",format:"e164",check:"string_format",abort:!1,...ee(i)})}function Ex(a,i){return new a({type:"string",format:"jwt",check:"string_format",abort:!1,...ee(i)})}function Ax(a,i){return new a({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ee(i)})}function kx(a,i){return new a({type:"string",format:"date",check:"string_format",...ee(i)})}function Nx(a,i){return new a({type:"string",format:"time",check:"string_format",precision:null,...ee(i)})}function jx(a,i){return new a({type:"string",format:"duration",check:"string_format",...ee(i)})}function Ox(a){return new a({type:"unknown"})}function Cx(a,i){return new a({type:"never",...ee(i)})}function Lm(a,i){return new n2({check:"max_length",...ee(i),maximum:a})}function Lo(a,i){return new a2({check:"min_length",...ee(i),minimum:a})}function Gm(a,i){return new l2({check:"length_equals",...ee(i),length:a})}function Rx(a,i){return new i2({check:"string_format",format:"regex",...ee(i),pattern:a})}function Mx(a){return new o2({check:"string_format",format:"lowercase",...ee(a)})}function Dx(a){return new s2({check:"string_format",format:"uppercase",...ee(a)})}function Ux(a,i){return new r2({check:"string_format",format:"includes",...ee(i),includes:a})}function Bx(a,i){return new u2({check:"string_format",format:"starts_with",...ee(i),prefix:a})}function Zx(a,i){return new c2({check:"string_format",format:"ends_with",...ee(i),suffix:a})}function il(a){return new f2({check:"overwrite",tx:a})}function Hx(a){return il(i=>i.normalize(a))}function Lx(){return il(a=>a.trim())}function Gx(){return il(a=>a.toLowerCase())}function qx(){return il(a=>a.toUpperCase())}function $x(){return il(a=>r1(a))}function Yx(a,i,o){return new a({type:"array",element:i,...ee(o)})}function Vx(a,i,o){return new a({type:"custom",check:"custom",fn:i,...ee(o)})}function Xx(a,i){const o=Qx(r=>(r.addIssue=c=>{if(typeof c=="string")r.issues.push(si(c,r.value,o._zod.def));else{const f=c;f.fatal&&(f.continue=!1),f.code??(f.code="custom"),f.input??(f.input=r.value),f.inst??(f.inst=o),f.continue??(f.continue=!o._zod.def.abort),r.issues.push(si(f))}},a(r.value,r)),i);return o}function Qx(a,i){const o=new Kt({check:"custom",...ee(i)});return o._zod.check=a,o}function qm(a){let i=(a==null?void 0:a.target)??"draft-2020-12";return i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),{processors:a.processors??{},metadataRegistry:(a==null?void 0:a.metadata)??li,target:i,unrepresentable:(a==null?void 0:a.unrepresentable)??"throw",override:(a==null?void 0:a.override)??(()=>{}),io:(a==null?void 0:a.io)??"output",counter:0,seen:new Map,cycles:(a==null?void 0:a.cycles)??"ref",reused:(a==null?void 0:a.reused)??"inline",external:(a==null?void 0:a.external)??void 0}}function et(a,i,o={path:[],schemaPath:[]}){var x,w;var r;const c=a._zod.def,f=i.seen.get(a);if(f)return f.count++,o.schemaPath.includes(a)&&(f.cycle=o.path),f.schema;const h={schema:{},count:1,cycle:void 0,path:o.path};i.seen.set(a,h);const m=(w=(x=a._zod).toJSONSchema)==null?void 0:w.call(x);if(m)h.schema=m;else{const z={...o,schemaPath:[...o.schemaPath,a],path:o.path};if(a._zod.processJSONSchema)a._zod.processJSONSchema(i,h.schema,z);else{const H=h.schema,Z=i.processors[c.type];if(!Z)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${c.type}`);Z(a,i,H,z)}const O=a._zod.parent;O&&(h.ref||(h.ref=O),et(O,i,z),i.seen.get(O).isParent=!0)}const v=i.metadataRegistry.get(a);return v&&Object.assign(h.schema,v),i.io==="input"&&it(a)&&(delete h.schema.examples,delete h.schema.default),i.io==="input"&&"_prefault"in h.schema&&((r=h.schema).default??(r.default=h.schema._prefault)),delete h.schema._prefault,i.seen.get(a).schema}function $m(a,i){var h,m,v,y;const o=a.seen.get(i);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const x of a.seen.entries()){const w=(h=a.metadataRegistry.get(x[0]))==null?void 0:h.id;if(w){const z=r.get(w);if(z&&z!==x[0])throw new Error(`Duplicate schema id "${w}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(w,x[0])}}const c=x=>{var Z;const w=a.target==="draft-2020-12"?"$defs":"definitions";if(a.external){const L=(Z=a.external.registry.get(x[0]))==null?void 0:Z.id,$=a.external.uri??(W=>W);if(L)return{ref:$(L)};const K=x[1].defId??x[1].schema.id??`schema${a.counter++}`;return x[1].defId=K,{defId:K,ref:`${$("__shared")}#/${w}/${K}`}}if(x[1]===o)return{ref:"#"};const O=`#/${w}/`,H=x[1].schema.id??`__schema${a.counter++}`;return{defId:H,ref:O+H}},f=x=>{if(x[1].schema.$ref)return;const w=x[1],{ref:z,defId:O}=c(x);w.def={...w.schema},O&&(w.defId=O);const H=w.schema;for(const Z in H)delete H[Z];H.$ref=z};if(a.cycles==="throw")for(const x of a.seen.entries()){const w=x[1];if(w.cycle)throw new Error(`Cycle detected: #/${(m=w.cycle)==null?void 0:m.join("/")}/<root>
246
247Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const x of a.seen.entries()){const w=x[1];if(i===x[0]){f(x);continue}if(a.external){const O=(v=a.external.registry.get(x[0]))==null?void 0:v.id;if(i!==x[0]&&O){f(x);continue}}if((y=a.metadataRegistry.get(x[0]))==null?void 0:y.id){f(x);continue}if(w.cycle){f(x);continue}if(w.count>1&&a.reused==="ref"){f(x);continue}}}function Ym(a,i){var m,v,y,x;const o=a.seen.get(i);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=w=>{const z=a.seen.get(w);if(z.ref===null)return;const O=z.def??z.schema,H={...O},Z=z.ref;if(z.ref=null,Z){r(Z);const $=a.seen.get(Z),K=$.schema;if(K.$ref&&(a.target==="draft-07"||a.target==="draft-04"||a.target==="openapi-3.0")?(O.allOf=O.allOf??[],O.allOf.push(K)):Object.assign(O,K),Object.assign(O,H),w._zod.parent===Z)for(const le in O)le==="$ref"||le==="allOf"||le in H||delete O[le];if(K.$ref&&$.def)for(const le in O)le==="$ref"||le==="allOf"||le in $.def&&JSON.stringify(O[le])===JSON.stringify($.def[le])&&delete O[le]}const L=w._zod.parent;if(L&&L!==Z){r(L);const $=a.seen.get(L);if($!=null&&$.schema.$ref&&(O.$ref=$.schema.$ref,$.def))for(const K in O)K==="$ref"||K==="allOf"||K in $.def&&JSON.stringify(O[K])===JSON.stringify($.def[K])&&delete O[K]}a.override({zodSchema:w,jsonSchema:O,path:z.path??[]})};for(const w of[...a.seen.entries()].reverse())r(w[0]);const c={};if(a.target==="draft-2020-12"?c.$schema="https://json-schema.org/draft/2020-12/schema":a.target==="draft-07"?c.$schema="http://json-schema.org/draft-07/schema#":a.target==="draft-04"?c.$schema="http://json-schema.org/draft-04/schema#":a.target,(m=a.external)!=null&&m.uri){const w=(v=a.external.registry.get(i))==null?void 0:v.id;if(!w)throw new Error("Schema is missing an `id` property");c.$id=a.external.uri(w)}Object.assign(c,o.def??o.schema);const f=(y=a.metadataRegistry.get(i))==null?void 0:y.id;f!==void 0&&c.id===f&&delete c.id;const h=((x=a.external)==null?void 0:x.defs)??{};for(const w of a.seen.entries()){const z=w[1];z.def&&z.defId&&(z.def.id===z.defId&&delete z.def.id,h[z.defId]=z.def)}a.external||Object.keys(h).length>0&&(a.target==="draft-2020-12"?c.$defs=h:c.definitions=h);try{const w=JSON.parse(JSON.stringify(c));return Object.defineProperty(w,"~standard",{value:{...i["~standard"],jsonSchema:{input:Go(i,"input",a.processors),output:Go(i,"output",a.processors)}},enumerable:!1,writable:!1}),w}catch{throw new Error("Error converting schema to JSON.")}}function it(a,i){const o=i??{seen:new Set};if(o.seen.has(a))return!1;o.seen.add(a);const r=a._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return it(r.element,o);if(r.type==="set")return it(r.valueType,o);if(r.type==="lazy")return it(r.getter(),o);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return it(r.innerType,o);if(r.type==="intersection")return it(r.left,o)||it(r.right,o);if(r.type==="record"||r.type==="map")return it(r.keyType,o)||it(r.valueType,o);if(r.type==="pipe")return a._zod.traits.has("$ZodCodec")?!0:it(r.in,o)||it(r.out,o);if(r.type==="object"){for(const c in r.shape)if(it(r.shape[c],o))return!0;return!1}if(r.type==="union"){for(const c of r.options)if(it(c,o))return!0;return!1}if(r.type==="tuple"){for(const c of r.items)if(it(c,o))return!0;return!!(r.rest&&it(r.rest,o))}return!1}const Jx=(a,i={})=>o=>{const r=qm({...o,processors:i});return et(a,r),$m(r,a),Ym(r,a)},Go=(a,i,o={})=>r=>{const{libraryOptions:c,target:f}=r??{},h=qm({...c??{},target:f,io:i,processors:o});return et(a,h),$m(h,a),Ym(h,a)},Kx={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Wx=(a,i,o,r)=>{const c=o;c.type="string";const{minimum:f,maximum:h,format:m,patterns:v,contentEncoding:y}=a._zod.bag;if(typeof f=="number"&&(c.minLength=f),typeof h=="number"&&(c.maxLength=h),m&&(c.format=Kx[m]??m,c.format===""&&delete c.format,m==="time"&&delete c.format),y&&(c.contentEncoding=y),v&&v.size>0){const x=[...v];x.length===1?c.pattern=x[0].source:x.length>1&&(c.allOf=[...x.map(w=>({...i.target==="draft-07"||i.target==="draft-04"||i.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},Fx=(a,i,o,r)=>{o.not={}},Ix=(a,i,o,r)=>{},Px=(a,i,o,r)=>{const c=a._zod.def,f=Em(c.entries);f.every(h=>typeof h=="number")&&(o.type="number"),f.every(h=>typeof h=="string")&&(o.type="string"),o.enum=f},ew=(a,i,o,r)=>{if(i.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},tw=(a,i,o,r)=>{if(i.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},nw=(a,i,o,r)=>{const c=o,f=a._zod.def,{minimum:h,maximum:m}=a._zod.bag;typeof h=="number"&&(c.minItems=h),typeof m=="number"&&(c.maxItems=m),c.type="array",c.items=et(f.element,i,{...r,path:[...r.path,"items"]})},aw=(a,i,o,r)=>{var y;const c=o,f=a._zod.def;c.type="object",c.properties={};const h=f.shape;for(const x in h)c.properties[x]=et(h[x],i,{...r,path:[...r.path,"properties",x]});const m=new Set(Object.keys(h)),v=new Set([...m].filter(x=>{const w=f.shape[x]._zod;return i.io==="input"?w.optin===void 0:w.optout===void 0}));v.size>0&&(c.required=Array.from(v)),((y=f.catchall)==null?void 0:y._zod.def.type)==="never"?c.additionalProperties=!1:f.catchall?f.catchall&&(c.additionalProperties=et(f.catchall,i,{...r,path:[...r.path,"additionalProperties"]})):i.io==="output"&&(c.additionalProperties=!1)},lw=(a,i,o,r)=>{const c=a._zod.def,f=c.inclusive===!1,h=c.options.map((m,v)=>et(m,i,{...r,path:[...r.path,f?"oneOf":"anyOf",v]}));f?o.oneOf=h:o.anyOf=h},iw=(a,i,o,r)=>{const c=a._zod.def,f=et(c.left,i,{...r,path:[...r.path,"allOf",0]}),h=et(c.right,i,{...r,path:[...r.path,"allOf",1]}),m=y=>"allOf"in y&&Object.keys(y).length===1,v=[...m(f)?f.allOf:[f],...m(h)?h.allOf:[h]];o.allOf=v},ow=(a,i,o,r)=>{const c=a._zod.def,f=et(c.innerType,i,r),h=i.seen.get(a);i.target==="openapi-3.0"?(h.ref=c.innerType,o.nullable=!0):o.anyOf=[f,{type:"null"}]},sw=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType},rw=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType,o.default=JSON.parse(JSON.stringify(c.defaultValue))},uw=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType,i.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(c.defaultValue)))},cw=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType;let h;
vendor: 4,627 bytes, line 247
247try{h=c.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=h},fw=(a,i,o,r)=>{const c=a._zod.def,f=c.in._zod.traits.has("$ZodTransform"),h=i.io==="input"?f?c.out:c.in:c.out;et(h,i,r);const m=i.seen.get(a);m.ref=h},dw=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType,o.readOnly=!0},Vm=(a,i,o,r)=>{const c=a._zod.def;et(c.innerType,i,r);const f=i.seen.get(a);f.ref=c.innerType},hw=B("ZodISODateTime",(a,i)=>{z2.init(a,i),Ce.init(a,i)});function pw(a){return Ax(hw,a)}const mw=B("ZodISODate",(a,i)=>{E2.init(a,i),Ce.init(a,i)});function gw(a){return kx(mw,a)}const yw=B("ZodISOTime",(a,i)=>{A2.init(a,i),Ce.init(a,i)});function vw(a){return Nx(yw,a)}const bw=B("ZodISODuration",(a,i)=>{k2.init(a,i),Ce.init(a,i)});function xw(a){return jx(bw,a)}const ww=(a,i)=>{Om.init(a,i),a.name="ZodError",Object.defineProperties(a,{format:{value:o=>w1(a,o)},flatten:{value:o=>x1(a,o)},addIssue:{value:o=>{a.issues.push(o),a.message=JSON.stringify(a.issues,Cu,2)}},addIssues:{value:o=>{a.issues.push(...o),a.message=JSON.stringify(a.issues,Cu,2)}},isEmpty:{get(){return a.issues.length===0}}})},Zt=B("ZodError",ww,{Parent:Error}),_w=Wu(Zt),Sw=Fu(Zt),Tw=Xo(Zt),zw=Qo(Zt),Ew=T1(Zt),Aw=z1(Zt),kw=E1(Zt),Nw=A1(Zt),jw=k1(Zt),Ow=N1(Zt),Cw=j1(Zt),Rw=O1(Zt),$p=new WeakMap;function Ko(a,i,o){const r=Object.getPrototypeOf(a);let c=$p.get(r);if(c||(c=new Set,$p.set(r,c)),!c.has(i)){c.add(i);for(const f in o){const h=o[f];Object.defineProperty(r,f,{configurable:!0,enumerable:!1,get(){const m=h.bind(this);return Object.defineProperty(this,f,{configurable:!0,writable:!0,enumerable:!0,value:m}),m},set(m){Object.defineProperty(this,f,{configurable:!0,writable:!0,enumerable:!0,value:m})}})}}}const Xe=B("ZodType",(a,i)=>(Ve.init(a,i),Object.assign(a["~standard"],{jsonSchema:{input:Go(a,"input"),output:Go(a,"output")}}),a.toJSONSchema=Jx(a,{}),a.def=i,a.type=i.type,Object.defineProperty(a,"_def",{value:i}),a.parse=(o,r)=>_w(a,o,r,{callee:a.parse}),a.safeParse=(o,r)=>Tw(a,o,r),a.parseAsync=async(o,r)=>Sw(a,o,r,{callee:a.parseAsync}),a.safeParseAsync=async(o,r)=>zw(a,o,r),a.spa=a.safeParseAsync,a.encode=(o,r)=>Ew(a,o,r),a.decode=(o,r)=>Aw(a,o,r),a.encodeAsync=async(o,r)=>kw(a,o,r),a.decodeAsync=async(o,r)=>Nw(a,o,r),a.safeEncode=(o,r)=>jw(a,o,r),a.safeDecode=(o,r)=>Ow(a,o,r),a.safeEncodeAsync=async(o,r)=>Cw(a,o,r),a.safeDecodeAsync=async(o,r)=>Rw(a,o,r),Ko(a,"ZodType",{check(...o){const r=this.def;return this.clone(qn(r,{checks:[...r.checks??[],...o.map(c=>typeof c=="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]}),{parent:!0})},with(...o){return this.check(...o)},clone(o,r){return $n(this,o,r)},brand(){return this},register(o,r){return o.add(this,r),this},refine(o,r){return this.check(E_(o,r))},superRefine(o,r){return this.check(A_(o,r))},overwrite(o){return this.check(il(o))},optional(){return Xp(this)},exactOptional(){return h_(this)},nullable(){return Qp(this)},nullish(){return Xp(Qp(this))},nonoptional(o){return b_(this,o)},array(){return n_(this)},or(o){return o_([this,o])},and(o){return r_(this,o)},transform(o){return Jp(this,f_(o))},default(o){return g_(this,o)},prefault(o){return v_(this,o)},catch(o){return w_(this,o)},pipe(o){return Jp(this,o)},readonly(){return T_(this)},describe(o){const r=this.clone();return li.add(r,{description:o}),r},meta(...o){if(o.length===0)return li.get(this);const r=this.clone();return li.add(r,o[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(o){return o(this)}}),Object.defineProperty(a,"description",{get(){var o;return(o=li.get(a))==null?void 0:o.description},configurable:!0}),a)),Xm=B("_ZodString",(a,i)=>{Iu.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(r,c,f)=>Wx(a,r,c);const o=a._zod.bag;a.format=o.format??null,a.minLength=o.minimum??null,a.maxLength=o.maximum??null,Ko(a,"_ZodString",{regex(...r){return this.check(Rx(...r))},includes(...r){return this.check(Ux(...r))},startsWith(...r){return this.check(Bx(...r))},endsWith(...r){return this.check(Zx(...r))},min(...r){return this.check(Lo(...r))},max(...r){return this.check(Lm(...r))},length(...r){return this.check(Gm(...r))},nonempty(...r){return this.check(Lo(1,...r))},lowercase(r){return this.check(Mx(r))},uppercase(r){return this.check(Dx(r))},trim(){return this.check(Lx())},normalize(...r){return this.check(Hx(...r))},toLowerCase(){return this.check(Gx())},toUpperCase(){return this.check(qx())},slugify(){return this.check($x())}})}),Mw=B("ZodString",(a,i)=>{Iu.init(a,i),Xm.init(a,i),a.email=o=>a.check(ox(Dw,o)),a.url=o=>
247a.check(fx(Uw,o)),a.jwt=o=>a.check(Ex(Fw,o)),a.emoji=o=>a.check(dx(Bw,o)),a.guid=o=>a.check(qp(Yp,o)),a.uuid=o=>a.check(sx(Ro,o)),a.uuidv4=o=>a.check(rx(Ro,o)),a.uuidv6=o=>a.check(ux(Ro,o)),a.uuidv7=o=>a.check(cx(Ro,o)),a.nanoid=o=>a.check(hx(Zw,o)),a.guid=o=>a.check(qp(Yp,o)),a.cuid=o=>a.check(px(Hw,o)),a.cuid2=o=>a.check(mx(Lw,o)),a.ulid=o=>a.check(gx(Gw,o)),a.base64=o=>a.check(Sx(Jw,o)),a.base64url=o=>a.check(Tx(Kw,o)),a.xid=o=>a.check(yx(qw,o)),a.ksuid=o=>a.check(vx($w,o)),a.ipv4=o=>a.check(bx(Yw,o)),a.ipv6=o=>a.check(xx(Vw,o)),a.cidrv4=o=>a.check(wx(Xw,o)),a.cidrv6=o=>a.check(_x(Qw,o)),a.e164=o=>a.check(zx(Ww,o)),a.datetime=o=>a.check(pw(o)),a.date=o=>a.check(gw(o)),a.time=o=>a.check(vw(o)),a.duration=o=>a.check(xw(o))});function Eu(a){return ix(Mw,a)}const Ce=B("ZodStringFormat",(a,i)=>{Oe.init(a,i),Xm.init(a,i)}),Dw=B("ZodEmail",(a,i)=>{g2.init(a,i),Ce.init(a,i)}),Yp=B("ZodGUID",(a,i)=>{p2.init(a,i),Ce.init(a,i)}),Ro=B("ZodUUID",(a,i)=>{m2.init(a,i),Ce.init(a,i)}),Uw=B("ZodURL",(a,i)=>{y2.init(a,i),Ce.init(a,i)}),Bw=B("ZodEmoji",(a,i)=>{v2.init(a,i),Ce.init(a,i)}),Zw=B("ZodNanoID",(a,i)=>{b2.init(a,i),Ce.init(a,i)}),Hw=B("ZodCUID",(a,i)=>{x2.init(a,i),Ce.init(a,i)}),Lw=B("ZodCUID2",(a,i)=>{w2.init(a,i),Ce.init(a,i)}),Gw=B("ZodULID",(a,i)=>{_2.init(a,i),Ce.init(a,i)}),qw=B("ZodXID",(a,i)=>{S2.init(a,i),Ce.init(a,i)}),$w=B("ZodKSUID",(a,i)=>{T2.init(a,i),Ce.init(a,i)}),Yw=B("ZodIPv4",(a,i)=>{N2.init(a,i),Ce.init(a,i)}),Vw=B("ZodIPv6",(a,i)=>{j2.init(a,i),Ce.init(a,i)}),Xw=B("ZodCIDRv4",(a,i)=>{O2.init(a,i),Ce.init(a,i)}),Qw=B("ZodCIDRv6",(a,i)=>{C2.init(a,i),Ce.init(a,i)}),Jw=B("ZodBase64",(a,i)=>{R2.init(a,i),Ce.init(a,i)}),Kw=B("ZodBase64URL",(a,i)=>{D2.init(a,i),Ce.init(a,i)}),Ww=B("ZodE164",(a,i)=>{U2.init(a,i),Ce.init(a,i)}),Fw=B("ZodJWT",(a,i)=>{Z2.init(a,i),Ce.init(a,i)}),Iw=B("ZodUnknown",(a,i)=>{H2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>Ix()});function Vp(){return Ox(Iw)}const Pw=B("ZodNever",(a,i)=>{L2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>Fx(a,o,r)});function e_(a){return Cx(Pw,a)}const t_=B("ZodArray",(a,i)=>{G2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>nw(a,o,r,c),a.element=i.element,Ko(a,"ZodArray",{min(o,r){return this.check(Lo(o,r))},nonempty(o){return this.check(Lo(1,o))},max(o,r){return this.check(Lm(o,r))},length(o,r){return this.check(Gm(o,r))},unwrap(){return this.element}})});function n_(a,i){return Yx(t_,a,i)}const a_=B("ZodObject",(a,i)=>{$2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>aw(a,o,r,c),Te(a,"shape",()=>i.shape),Ko(a,"ZodObject",{keyof(){return u_(Object.keys(this._zod.def.shape))},catchall(o){return this.clone({...this._zod.def,catchall:o})},passthrough(){return this.clone({...this._zod.def,catchall:Vp()})},loose(){return this.clone({...this._zod.def,catchall:Vp()})},strict(){return this.clone({...this._zod.def,catchall:e_()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(o){return p1(this,o)},safeExtend(o){return m1(this,o)},merge(o){return g1(this,o)},pick(o){return d1(this,o)},omit(o){return h1(this,o)},partial(...o){return y1(Qm,this,o[0])},required(...o){return v1(Jm,this,o[0])}})});function l_(a,i){const o={type:"object",shape:a??{},...ee(i)};return new a_(o)}const i_=B("ZodUnion",(a,i)=>{Y2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>lw(a,o,r,c),a.options=i.options});function o_(a,i){return new i_({type:"union",options:a,...ee(i)})}const s_=B("ZodIntersection",(a,i)=>{V2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>iw(a,o,r,c)});function r_(a,i){return new s_({type:"intersection",left:a,right:i})}const Mu=B("ZodEnum",(a,i)=>{X2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(r,c,f)=>Px(a,r,c),a.enum=i.entries,a.options=Object.values(i.entries);const o=new Set(Object.keys(i.entries));a.extract=(r,c)=>{const f={};for(const h of r)if(o.has(h))f[h]=i.entries[h];else throw new Error(`Key ${h} not found in enum`);return new Mu({...i,checks:[],...ee(c),entries:f})},a.exclude=(r,c)=>{const f={...i.entries};for(const h of r)if(o.has(h))delete f[h];else throw new Error(`Key ${h} not found in enum`);return new Mu({...i,checks:[],...ee(c),entries:f})}});function u_(a,i){const o=Array.isArray(a)?Object.fromEntries(a.map(r=>[r,r])):a;return new Mu({type:"enum",entries:o,...ee(i)})}const c_=B("ZodTransform",(a,i)=>{Q2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>tw(a,o),a._zod.parse=(o,r)=>{if(r.direction==="backward")throw new zm(a.constructor.name);o.addIssue=f=>{if(typeof f=="string")o.issues.push(si(f,o.value,i));else{const h=f;h.fatal&&(h.continue=!1),h.code??(h.code="custom"),h.input??(h.input=o.value),h.inst??(h.inst=a),o.issues.push(si(h))}};const c=i.transform(o.value,o);return c instanceof Promise?c.then(f=>(o.value=f,o.fallback=!0,o)):(o.value=c,o.fallback=!0,o)}});function f_(a){return new c_({type:"transform",transform:a})}const Qm=B("ZodOptional",(a,i)=>{Hm.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>Vm(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function Xp(a){return new Qm({type:"optional",innerType:a})}const d_=B("ZodExactOptional",(a,i)=>{J2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>Vm(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function h_(a){return new d_({type:"optional",innerType:a})}const p_=B("ZodNullable",(a,i)=>{K2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>ow(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function Qp(a){return new p_({type:"nullable",innerType:a})}const m_=B("ZodDefault",(a,i)=>{W2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>rw(a,o,r,c),a.unwrap=()=>a._zod.def.innerType,a.removeDefault=a.unwrap});function g_(a,i){return new m_({type:"default",innerType:a,get defaultValue(){return typeof i=="function"?i():km(i)}})}const y_=B("ZodPrefault",(a,i)=>{F2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>uw(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function v_(a,i){return new y_({type:"prefault",innerType:a,get defaultValue(){return typeof i=="function"?i():km(i)}})}const Jm=B("ZodNonOptional",(a,i)=>{I2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>sw(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function b_(a,i){return new Jm({type:"nonoptional",innerType:a,...ee(i)})}const x_=B("ZodCatch",(a,i)=>{P2.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>cw(a,o,r,c),a.unwrap=()=>a._zod.def.innerType,a.removeCatch=a.unwrap});function w_(a,i){return new x_({type:"catch",innerType:a,catchValue:typeof i=="function"?i:()=>i})}const __=B("ZodPipe",(a,i)=>{ex.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>fw(a,o,r,c),a.in=i.in,a.out=i.out});function Jp(a,i){return new __({type:"pipe",in:a,out:i})}const S_=B("ZodReadonly",(a,i)=>
247{tx.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>dw(a,o,r,c),a.unwrap=()=>a._zod.def.innerType});function T_(a){return new S_({type:"readonly",innerType:a})}const z_=B("ZodCustom",(a,i)=>{nx.init(a,i),Xe.init(a,i),a._zod.processJSONSchema=(o,r,c)=>ew(a,o)});function E_(a,i={}){return Vx(z_,a,i)}function A_(a,i){return Xx(a,i)}const k_=l_({name:Eu().trim().min(1,"Enter your name."),email:Eu().trim().min(1,"Enter your email.").email("Enter a valid email address."),message:Eu().trim().min(10,"Tell us a bit more (at least 10 characters).")});async function N_(a,i){const o=await fetch(a,{headers:{"Content-Type":"application/json"},...i}),r=await o.json();if(!o.ok)throw new Error(r.error||"Something went wrong");return r}function j_(a,i){return N_("/api/brief",{method:"POST",body:JSON.stringify({...a,hp_website:i})})}const Kp={name:"",email:"",message:""};function O_(){const[a,i]=N.useState(Kp),[o,r]=N.useState({}),[c,f]=N.useState({type:"idle",message:""});function h(v){const{name:y,value:x}=v.target;i(w=>({...w,[y]:x})),r(w=>({...w,[y]:void 0}))}async function m(v){v.preventDefault();const y=v.currentTarget;if(!y.checkValidity()){y.reportValidity();return}const x=String(new FormData(y).get("hp_website")??""),w=k_.safeParse(a);if(!w.success){const z={};for(const O of w.error.issues){const H=O.path[0];z[H]||(z[H]=O.message)}r(z);return}r({}),f({type:"loading",message:""});try{const z=await j_(w.data,x);i(Kp),f({type:"success",message:z.message})}catch(z){f({type:"error",message:z instanceof Error?z.message:"Could not send brief. Try again."})}}return{form:a,errors:o,status:c,onChange:h,onSubmit:m}}const C_="https://calendar.app.google/XWWgDaqCU3Ec2Mfs9";function R_({className:a=""}){return g.jsxs("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round",children:[g.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"1"}),g.jsx("path",{d:"M3 10h18M8 3v4M16 3v4"})]})}function M_(){const{form:a,errors:i,status:o,onChange:r,onSubmit:c}=O_();return g.jsx("section",{className:"section section--white",id:"contact",children:g.jsxs("div",{className:"page-container grid grid-cols-2 max-panel:grid-cols-1 gap-12 max-panel:gap-7 items-start",children:[g.jsxs("div",{"data-reveal":!0,children:[g.jsx("p",{className:"eyebrow",children:"Start a project"}),g.jsx("h2",{className:"heading-lg",children:"Tell us where your team is losing time/money."}),g.jsx("p",{className:"subheading mt-5 max-w-[40ch]",children:"Book a call or send us a brief overview of your project, and we'll get back to you within 1–2 business days."}),g.jsxs("ul",{className:"list-none mt-6 mb-0 p-0 grid gap-2 font-mono text-[14px] text-steel",children:[g.jsx("li",{children:"✓ Free, no-commitment call"}),g.jsx("li",{children:"✓ Clear price before any work"}),g.jsx("li",{children:"✓ You own everything we build"})]}),g.jsxs("a",{href:C_,target:"_blank",rel:"noopener noreferrer",className:"group mt-8 inline-flex items-center gap-3.5 max-w-full px-5 py-3.5 bg-pure-white border-2 border-graphite shadow-[4px_4px_0_var(--color-graphite)] font-display text-[15px] font-medium tracking-[-0.02em] leading-none text-gra
247phite transition-[transform,box-shadow,background] duration-150 hover:bg-fog hover:translate-x-px hover:translate-y-px hover:shadow-[3px_3px_0_var(--color-graphite)]",children:[g.jsx(R_,{className:"size-5 shrink-0 text-graphite"}),g.jsx("span",{className:"text-left",children:"Book a free call with Marco"}),g.jsx("span",{"aria-hidden":"true",className:"ml-0.5 text-steel transition-transform duration-150 group-hover:translate-x-0.5 group-hover:-translate-y-0.5",children:"↗"})]})]}),g.jsxs("form",{"data-reveal":!0,className:"grid gap-4.5 bg-tuik-red text-canvas-white border-2 border-graphite p-10 max-panel:p-7 shadow-[4px_4px_0_var(--color-graphite)]",onSubmit:c,children:[g.jsxs("div",{"aria-hidden":"true",className:"absolute left-[-9999px] top-0 w-px h-px overflow-hidden",children:[g.jsx("label",{htmlFor:"hp-website",children:"Leave this field blank"}),g.jsx("input",{id:"hp-website",name:"hp_website",type:"text",tabIndex:-1,autoComplete:"off"})]}),g.jsxs("label",{className:"grid gap-2",children:[g.jsx("span",{className:"font-display text-sm font-medium tracking-[-0.02em] text-[color-mix(in_srgb,var(--color-canvas-white)_85%,var(--color-tuik-red))]",children:"Name"}),g.jsx("input",{name:"name",value:a.name,onChange:r,required:!0,autoComplete:"name",placeholder:"Your name","aria-invalid":!!i.name,"aria-describedby":i.name?"name-error":void 0,className:"w-full border-2 border-graphite bg-canvas-white text-graphite px-3.5 py-3 outline-none focus:shadow-[2px_2px_0_var(--color-graphite)]"}),i.name&&g.jsx("p",{id:"name-error",className:"m-0 text-sm text-[#ffe0dc]",children:i.name})]}),g.jsxs("label",{className:"grid gap-2",children:[g.jsx("span",{className:"font-display text-sm font-medium tracking-[-0.02em] text-[color-mix(in_srgb,var(--color-canvas-white)_85%,var(--color-tuik-red))]",children:"Email"}),g.jsx("input",{type:"email",name:"email",value:a.email,onChange:r,required:!0,inputMode:"email",autoComplete:"email",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,placeholder:"[email protected]",pattern:"[^@\\s]+@[^@\\s]+\\.[^@\\s]+",title:"Enter a valid email address","aria-invalid":!!i.email,"aria-describedby":i.email?"email-error":void 0,className:"w-full border-2 border-graphite bg-canvas-white text-graphite px-3.5 py-3 outline-none focus:shadow-[2px_2px_0_var(--color-graphite)]"}),i.email&&g.jsx("p",{id:"email-error",className:"m-0 text-sm text-[#ffe0dc]",children:i.email})]}),g.jsxs("label",{className:"grid gap-2",children:[g.jsx("span",{className:"font-display text-sm font-medium tracking-[-0.02em] text-[color-mix(in_srgb,var(--color-canvas-white)_85%,var(--color-tuik-red))]",children:"What should we take off your plate?"}),g.jsx("textarea",{name:"message",value:a.message,onChange:r,required:!0,rows:5,placeholder:"Which task would you love to stop doing by hand? Which tools do you pay for today?","aria-invalid":!!i.message,"aria-describedby":i.message?"message-error":void 0,className:"w-full border-2 border-graphite bg-canvas-white text-graphite px-3.5 py-3 outline-none resize-y focus:shadow-[2px_2px_0_var(--color-graphite)]"}),i.message&&g.jsx("p",{id:"message-error",className:"m-0 text-sm text-[#ffe0dc]",children:i.message})]}),g.jsxs("div",{className:"flex flex-wrap items-center gap-4 mt-1",children:[g.jsx(Bo,{type:"submit",variant:"ghost",disabled:o.type==="loading",className:"text-canvas-white border-canvas-white hover:bg-canvas-white hover:text-tuik-red",children:o.type==="loading"?"Sending…":"Send message"}),o.message&&g.jsx("p",{className:`m-0 text-sm ${o.type==="error"?"text-[#ffe0dc]":"text-canvas-white"}`,role:"status",children:o.message})]})]})]})})}function D_(){return N.useEffect(()=>{Bb()},[]),g.jsxs(g.Fragment,{children:[g.jsx(Vb,{}),g.jsx(Qb,{}),g.jsx(Pb,{}),g.jsx(i1,{}),g.jsx(s1,{}),g.jsx(M_,{})]})}const U_=["All posts",...vb.filter(a=>ci.some(i=>i.category===a))];function B_(){const[a,i]=N.useState(""),[o,r]=N.useState("All posts"),c=N.useMemo(()=>{const f=a.trim().toLowerCase();return ci.filter(h=>o==="All posts"||h.category===o?f?h.title.toLowerCase().includes(f)||h.excerpt.toLowerCase().includes(f)||h.category.toLowerCase().includes(f):!0:!1)},[o,a]);return g.jsx("section",{className:"section section--white pt-10 pb-20",children:g.jsxs("div",{className:"page-container",children:[g.jsxs("header",{className:"mb-10",children:[g.jsx("h1",{className:"display mb-5",children:"Blog"}),g.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_minmax(220px,28rem)] max-panel:grid-cols-1 gap-6 max-panel:gap-4 items-center",children:[g.jsx("p",{className:"subheading m-0 max-w-[40ch]",children:"Notes on harness engineering, shipping agents, and the tools we master."}),g.jsxs("label",{className:"block w-full min-w-0",children:[g.jsx("span",{className:"sr-only",children:"Search blog posts"}),g.jsxs("span",{className:"flex items-center gap-3 border-2 border-graphite bg-pure-white px-4 py-3 shadow-[4px_4px_0_var(--color-graphite)]",children:[g.jsxs("svg",{viewBox:"0 0 24 24",className:"w-5 h-5 shrink-0 text-steel",f
247ill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:[g.jsx("circle",{cx:"11",cy:"11",r:"7"}),g.jsx("path",{d:"M20 20l-3.5-3.5"})]}),g.jsx("input",{type:"search",value:a,onChange:f=>i(f.target.value),placeholder:"Search blog posts...",className:"w-full bg-transparent outline-none text-graphite placeholder:text-slate"})]})]})]})]}),g.jsx("div",{className:"flex flex-wrap gap-2 mb-10",role:"tablist","aria-label":"Post categories",children:U_.map(f=>{const h=f===o;return g.jsx("button",{type:"button",role:"tab","aria-selected":h,onClick:()=>r(f),className:`font-display text-[13px] font-bold tracking-[0.08em] uppercase px-3.5 py-2.5 border-2 border-graphite cursor-pointer ${h?"bg-tuik-red text-canvas-white":"bg-pure-white text-graphite hover:bg-fog"}`,children:f},f)})}),c.length===0?g.jsx("p",{className:"body",children:"No posts match that search."}):g.jsx("ul",{className:"list-none m-0 p-0 grid grid-cols-2 max-panel:grid-cols-1 gap-4",children:c.map(f=>g.jsx("li",{children:g.jsxs(fa,{to:`/blog/${f.slug}`,className:"flex flex-col gap-3 h-full p-5 border-2 border-graphite bg-pure-white shadow-[4px_4px_0_var(--color-graphite)] transition-[transform,box-shadow] duration-150 hover:translate-x-px hover:translate-y-px hover:shadow-[3px_3px_0_var(--color-graphite)]",children:[g.jsx("span",{className:"self-start font-mono text-[11px] font-medium px-2 py-0.5 bg-canvas-white text-graphite border border-graphite",children:f.category}),g.jsx("h2",{className:"heading m-0 text-[clamp(20px,2.2vw,26px)] tracking-[-0.02em]",children:f.title}),g.jsx("p",{className:"body m-0 flex-1 text-[15px] leading-[1.45]",children:f.excerpt}),g.jsxs("p",{className:"m-0 text-[13px] text-steel",children:[f.author,g.jsxs("span",{className:"text-slate",children:[" · ",xm(f.date)]})]})]})},f.slug))})]})})}function Wp(a){return a.split(/(\*\*[^*]+\*\*|\[[^\]]+\]\([^)]+\))/g).map((o,r)=>
247{if(o.startsWith("**")&&o.endsWith("**"))return g.jsx("strong",{className:"font-semibold text-graphite",children:o.slice(2,-2)},r);const c=o.match(/^\[([^\]]+)\]\(([^)]+)\)$/);return c?g.jsx("a",{href:c[2],target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-tuik-red underline underline-offset-2 decoration-tuik-red/40 hover:decoration-tuik-red",children:c[1]},r):g.jsx("span",{children:o},r)})}function Z_(){const{slug:a=""}=mv(),i=bm(a);if(!i)return g.jsx(Ov,{to:"/blog",replace:!0});const o=ci.filter(r=>r.slug!==i.slug);return g.jsx("article",{className:"section section--white pt-10 pb-20",children:g.jsxs("div",{className:"page-container",children:[g.jsx("p",{className:"m-0 mb-10 text-center",children:g.jsx(fa,{to:"/blog",className:"font-display text-[13px] font-bold tracking-[0.08em] uppercase text-tuik-red hover:text-graphite",children:"← All posts"})}),g.jsxs("header",{className:"blog-prose mb-12 text-center",children:[g.jsx("p",{className:"eyebrow mb-4",children:i.category}),g.jsx("h1",{className:"heading-lg text-balance",children:i.title}),g.jsx("p",{className:"subheading mt-5 mx-auto max-w-[42ch]",children:i.excerpt}),g.jsxs("p",{className:"m-0 mt-6 text-[15px] text-steel",children:[i.author,g.jsxs("span",{className:"text-slate",children:[" · ",xm(i.date)]})]})]}),g.jsx("div",{className:"blog-prose grid gap-5",children:i.body.map((r,c)=>r.type==="h1"?g.jsx("h2",{className:"heading mt-14 pt-10 border-t border-tuik-red text-left",children:r.text},c):r.type==="h2"?g.jsx("h3",{className:"m-0 mt-8 font-display text-[clamp(18px,2vw,22px)] font-medium tracking-[-0.02em] leading-[1.25] text-left",children:r.text},c):r.type==="h3"?g.jsx("h4",{className:"m-0 mt-3 font-display text-[clamp(18px,2vw,22px)] font-medium tracking-[-0.02em] leading-[1.25] text-left",children:r.text},c):r.type==="ul"?g.jsx("ul",{className:"m-0 pl-[1.15rem] grid gap-2.5 text-[17px] leading-[1.7] text-steel text-left list-disc marker:text-tuik-red",children:r.items.map(f=>g.jsx("li",{className:"pl-1",children:Wp(f)},f))},c):g.jsx("p",{className:"m-0 text-[17px] leading-[1.7] text-steel text-justify",children:Wp(r.text)},c))}),o.length>0&&g.jsxs("div",{className:"blog-prose mt-16 pt-10 border-t-2 border-graphite",children:[g.jsx("p",{className:"eyebrow",children:"More posts"}),g.jsx("ul",{className:"list-none m-0 p-0 grid grid-cols-1 gap-4",children:o.map(r=>g.jsx("li",{children:g.jsxs(fa,{to:`/blog/${r.slug}`,className:"flex flex-col gap-2.5 h-full p-5 border-2 border-graphite bg-pure-white shadow-[4px_4px_0_var(--color-graphite)]",children:[g.jsx("span",{className:"font-mono text-[11px]",children:r.category}),g.jsx("h2",{className:"heading m-0 text-[clamp(18px,2vw,22px)]",children:r.title})]})},r.slug))})]})]})})}function H_(){return g.jsxs("div",{className:"page",children:[g.jsx(Tb,{}),g.jsx(mb,{}),g.jsx("main",{children:g.jsxs(Rv,{children:[g.jsx(Mo,{path:"/",element:g.jsx(D_,{})}),g.jsx(Mo,{path:"/blog",element:g.jsx(B_,{})}),g.jsx(Mo,{path:"/blog/:slug",element:g.jsx(Z_,{})})]})}),g.jsx(yb,{})]})}const Fp="G-G2MCZ70GVM";function L_(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",Fp);const a=document.createElement("script");a.async=!0,a.src=`https://www.googletagmanager.com/gtag/js?id=${Fp}`,document.head.appendChild(a)}L_();document.documentElement.classList.add("js");const Au=document.getElementById("root"),Ip=g.jsx(N.StrictMode,{children:g.jsx(lb,{children:g.jsx(H_,{})})});Au.hasChildNodes()?fp.hydrateRoot(Au,Ip):fp.createRoot(Au).render(Ip);

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.